/* ─────────────────────────────────────────────────────────────
   Tabler(.ti-*) 클래스를 Google Material Symbols 아이콘으로 매핑.
   디스커버리 익스페디션과 동일 계열(Material Icons, MUI) 라인형 스타일.
   ★ HTML 무수정 — 기존 <i class="ti ti-home"> 그대로 두고 CSS만으로 교체.
   ★ 폰트 강제는 아래 88종 ::before 에만 적용 → 매핑 안 된 Tabler 아이콘
     (관리자가 직접 입력한 도구 아이콘 등)은 Tabler 폰트 그대로 정상 표시.
   폰트(Material Symbols Outlined)는 index.html / admin.html 에서 로드.
   ───────────────────────────────────────────────────────────── */

/* 매핑된 88종만 Material Symbols 폰트 + ligature 적용 */
.ti-activity::before, .ti-adjustments::before, .ti-alert-circle::before,
.ti-alert-triangle::before, .ti-arrow-left::before, .ti-arrow-right::before,
.ti-arrows-exchange::before, .ti-baby-carriage::before, .ti-bell::before,
.ti-bolt::before, .ti-book::before, .ti-brand-google-drive::before,
.ti-building::before, .ti-calendar::before, .ti-camera::before,
.ti-camera-bolt::before, .ti-chart-bar::before, .ti-chart-radar::before,
.ti-check::before, .ti-check-circle::before, .ti-checks::before,
.ti-chevron-down::before, .ti-chevron-left::before, .ti-chevron-right::before,
.ti-clipboard::before, .ti-clock::before, .ti-cloud::before,
.ti-copy::before, .ti-crown::before, .ti-database::before,
.ti-device-desktop::before, .ti-device-desktop-share::before, .ti-device-floppy::before,
.ti-device-mobile::before, .ti-dots::before, .ti-download::before,
.ti-eye::before, .ti-file-import::before, .ti-file-report::before,
.ti-folder::before, .ti-folder-open::before, .ti-help::before,
.ti-home::before, .ti-home-2::before, .ti-info-circle::before,
.ti-key::before, .ti-layout-dashboard::before, .ti-layout-grid::before,
.ti-link::before, .ti-list-check::before, .ti-lock::before,
.ti-login::before, .ti-logout::before, .ti-message::before,
.ti-message-circle::before, .ti-mood-kid::before, .ti-news::before,
.ti-palette::before, .ti-pencil::before, .ti-photo::before,
.ti-photo-off::before, .ti-pill::before, .ti-player-skip-forward::before,
.ti-plus::before, .ti-printer::before, .ti-qrcode::before,
.ti-question-mark::before, .ti-refresh::before, .ti-school::before,
.ti-search::before, .ti-search-off::before, .ti-settings::before,
.ti-share::before, .ti-shield-check::before, .ti-sparkles::before,
.ti-speakerphone::before, .ti-tag::before, .ti-tags::before,
.ti-tool::before, .ti-tools::before, .ti-trash::before,
.ti-upload::before, .ti-user::before, .ti-user-circle::before,
.ti-user-plus::before, .ti-users::before, .ti-users-group::before,
.ti-award::before, .ti-book-2::before, .ti-building-estate::before,
.ti-calendar-event::before, .ti-clipboard-text::before, .ti-confetti::before,
.ti-file::before, .ti-gift::before, .ti-id-badge-2::before,
.ti-layout::before, .ti-layout-columns::before, .ti-mail::before,
.ti-message-dots::before, .ti-phone::before, .ti-photo-edit::before,
.ti-server::before, .ti-wand::before, .ti-cake::before, .ti-help-circle::before,
.ti-x::before {
  font-family: 'Material Symbols Outlined' !important;
  font-weight: normal !important;
  font-style: normal !important;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -webkit-font-feature-settings: 'liga';
  font-feature-settings: 'liga';
  -webkit-font-smoothing: antialiased;
  /* 디스커버리 익스페디션처럼 아주 가는 선굵기 (wght 100 = Thin) */
  font-variation-settings: 'FILL' 0, 'wght' 100, 'GRAD' 0, 'opsz' 24;
}

/* 88종 매핑 (Tabler 이름 → Material Symbols ligature) */
.ti-activity::before              { content: 'monitoring' !important; }
.ti-adjustments::before           { content: 'tune' !important; }
.ti-alert-circle::before          { content: 'error' !important; }
.ti-alert-triangle::before        { content: 'warning' !important; }
.ti-arrow-left::before            { content: 'arrow_back' !important; }
.ti-arrow-right::before           { content: 'arrow_forward' !important; }
.ti-arrows-exchange::before       { content: 'swap_horiz' !important; }
.ti-baby-carriage::before         { content: 'stroller' !important; }
.ti-bell::before                  { content: 'notifications' !important; }
.ti-bolt::before                  { content: 'bolt' !important; }
.ti-book::before                  { content: 'menu_book' !important; }
.ti-brand-google-drive::before    { content: 'add_to_drive' !important; }
.ti-building::before              { content: 'apartment' !important; }
.ti-calendar::before              { content: 'calendar_today' !important; }
.ti-camera::before                { content: 'photo_camera' !important; }
.ti-camera-bolt::before           { content: 'flash_on' !important; }
.ti-chart-bar::before             { content: 'bar_chart' !important; }
.ti-chart-radar::before           { content: 'radar' !important; }
.ti-check::before                 { content: 'check' !important; }
.ti-check-circle::before          { content: 'check_circle' !important; }
.ti-checks::before                { content: 'done_all' !important; }
.ti-chevron-down::before          { content: 'keyboard_arrow_down' !important; }
.ti-chevron-left::before          { content: 'chevron_left' !important; }
.ti-chevron-right::before         { content: 'chevron_right' !important; }
.ti-clipboard::before             { content: 'content_paste' !important; }
.ti-clock::before                 { content: 'schedule' !important; }
.ti-cloud::before                 { content: 'cloud' !important; }
.ti-copy::before                  { content: 'content_copy' !important; }
.ti-crown::before                 { content: 'workspace_premium' !important; }
.ti-database::before              { content: 'database' !important; }
.ti-device-desktop::before        { content: 'desktop_windows' !important; }
.ti-device-desktop-share::before  { content: 'screen_share' !important; }
.ti-device-floppy::before         { content: 'save' !important; }
.ti-device-mobile::before         { content: 'smartphone' !important; }
.ti-dots::before                  { content: 'more_horiz' !important; }
.ti-download::before              { content: 'download' !important; }
.ti-eye::before                   { content: 'visibility' !important; }
.ti-file-import::before           { content: 'upload_file' !important; }
.ti-file-report::before           { content: 'summarize' !important; }
.ti-folder::before                { content: 'folder' !important; }
.ti-folder-open::before           { content: 'folder_open' !important; }
.ti-help::before                  { content: 'help' !important; }
.ti-home::before                  { content: 'home' !important; }
.ti-home-2::before                { content: 'house' !important; }
.ti-info-circle::before           { content: 'info' !important; }
.ti-key::before                   { content: 'key' !important; }
.ti-layout-dashboard::before      { content: 'dashboard' !important; }
.ti-layout-grid::before           { content: 'grid_view' !important; }
.ti-link::before                  { content: 'link' !important; }
.ti-list-check::before            { content: 'checklist' !important; }
.ti-lock::before                  { content: 'lock' !important; }
.ti-login::before                 { content: 'login' !important; }
.ti-logout::before                { content: 'logout' !important; }
.ti-message::before               { content: 'chat' !important; }
.ti-message-circle::before        { content: 'chat_bubble' !important; }
.ti-mood-kid::before              { content: 'sentiment_satisfied' !important; }
.ti-news::before                  { content: 'newspaper' !important; }
.ti-palette::before               { content: 'palette' !important; }
.ti-pencil::before                { content: 'edit' !important; }
.ti-photo::before                 { content: 'image' !important; }
.ti-photo-off::before             { content: 'hide_image' !important; }
.ti-pill::before                  { content: 'medication' !important; }
.ti-player-skip-forward::before   { content: 'skip_next' !important; }
.ti-plus::before                  { content: 'add' !important; }
.ti-printer::before               { content: 'print' !important; }
.ti-qrcode::before                { content: 'qr_code_2' !important; }
.ti-question-mark::before         { content: 'question_mark' !important; }
.ti-refresh::before               { content: 'refresh' !important; }
.ti-school::before                { content: 'school' !important; }
.ti-search::before                { content: 'search' !important; }
.ti-search-off::before            { content: 'search_off' !important; }
.ti-settings::before              { content: 'settings' !important; }
.ti-share::before                 { content: 'share' !important; }
.ti-shield-check::before          { content: 'verified_user' !important; }
.ti-sparkles::before              { content: 'auto_awesome' !important; }
.ti-speakerphone::before          { content: 'campaign' !important; }
.ti-tag::before                   { content: 'label' !important; }
.ti-tags::before                  { content: 'sell' !important; }
.ti-tool::before                  { content: 'build' !important; }
.ti-tools::before                 { content: 'construction' !important; }
.ti-trash::before                 { content: 'delete' !important; }
.ti-upload::before                { content: 'upload' !important; }
.ti-user::before                  { content: 'person' !important; }
.ti-user-circle::before           { content: 'account_circle' !important; }
.ti-user-plus::before             { content: 'person_add' !important; }
.ti-users::before                 { content: 'group' !important; }
.ti-users-group::before           { content: 'groups' !important; }
.ti-x::before                     { content: 'close' !important; }

/* 도구·콘텐츠 레지스트리 아이콘 (홈 '수업 자료 만들기' / 모바일 더보기) */
.ti-award::before                 { content: 'military_tech' !important; }
.ti-book-2::before                { content: 'photo_album' !important; }
.ti-building-estate::before       { content: 'location_city' !important; }
.ti-calendar-event::before        { content: 'event' !important; }
.ti-clipboard-text::before        { content: 'assignment' !important; }
.ti-confetti::before              { content: 'celebration' !important; }
.ti-file::before                  { content: 'description' !important; }
.ti-gift::before                  { content: 'card_giftcard' !important; }
.ti-id-badge-2::before            { content: 'badge' !important; }
.ti-layout::before                { content: 'space_dashboard' !important; }
.ti-layout-columns::before        { content: 'view_column' !important; }
.ti-mail::before                  { content: 'mail' !important; }
.ti-message-dots::before          { content: 'sms' !important; }
.ti-phone::before                 { content: 'call' !important; }
.ti-photo-edit::before            { content: 'photo_filter' !important; }
.ti-server::before                { content: 'dns' !important; }
.ti-wand::before                  { content: 'auto_fix_high' !important; }
.ti-cake::before                  { content: 'cake' !important; }
.ti-help-circle::before           { content: 'help' !important; }

/* 이모지 대체용 추가 아이콘 (반/원아/학부모/폴더 등 아이콘 자리 이모지 → 라인 아이콘) */
.ti-inbox::before, .ti-books::before, .ti-package::before, .ti-device-gamepad-2::before,
.ti-pin::before, .ti-paw::before, .ti-plug::before, .ti-building-hospital::before,
.ti-wifi::before, .ti-world::before, .ti-stethoscope::before, .ti-paperclip::before,
.ti-circle-check::before, .ti-note::before, .ti-masks-theater::before, .ti-bulb::before,
.ti-photo-up::before, .ti-folders::before, .ti-files::before, .ti-clock-hour-4::before,
.ti-hourglass::before, .ti-friends::before, .ti-school::before, .ti-diamond::before {
  font-family: 'Material Symbols Outlined' !important;
  font-weight: normal !important; font-style: normal !important;
  line-height: 1; letter-spacing: normal; text-transform: none; white-space: nowrap; direction: ltr;
  font-feature-settings: 'liga' !important; -webkit-font-feature-settings: 'liga' !important;
  -webkit-font-smoothing: antialiased;
  font-variation-settings: 'FILL' 0, 'wght' 100, 'GRAD' 0, 'opsz' 24;
}
.ti-inbox::before                 { content: 'inbox' !important; }
.ti-books::before                 { content: 'library_books' !important; }
.ti-package::before               { content: 'inventory_2' !important; }
.ti-device-gamepad-2::before      { content: 'sports_esports' !important; }
.ti-pin::before                   { content: 'push_pin' !important; }
.ti-paw::before                   { content: 'pets' !important; }
.ti-plug::before                  { content: 'power' !important; }
.ti-building-hospital::before     { content: 'local_hospital' !important; }
.ti-wifi::before                  { content: 'wifi' !important; }
.ti-world::before                 { content: 'public' !important; }
.ti-stethoscope::before           { content: 'stethoscope' !important; }
.ti-paperclip::before             { content: 'attach_file' !important; }
.ti-circle-check::before          { content: 'check_circle' !important; }
.ti-note::before                  { content: 'edit_note' !important; }
.ti-masks-theater::before         { content: 'theater_comedy' !important; }
.ti-bulb::before                  { content: 'lightbulb' !important; }
.ti-photo-up::before              { content: 'add_photo_alternate' !important; }
.ti-folders::before               { content: 'folder_copy' !important; }
.ti-files::before                 { content: 'description' !important; }
.ti-clock-hour-4::before          { content: 'schedule' !important; }
.ti-hourglass::before             { content: 'hourglass_empty' !important; }
.ti-friends::before               { content: 'diversity_1' !important; }
.ti-diamond::before               { content: 'diamond' !important; }
.ti-school::before                { content: 'school' !important; }
