@font-face {
  font-family: "AIReport Sans";
  src: url("/ai65/AIReport65/Fonts/NotoSansKR-VariableFont_wght.ttf") format("truetype");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --shell-ink: #172b43;
  --shell-muted: #728095;
  --shell-blue: #3264ed;
  --shell-line: #e6ebf2;
  --shell-canvas: #f4f7fb;
  --shell-header-height: 76px;
  --shell-sidebar-width: 264px;
}

body {
  font-family: "AIReport Sans", "SUIT", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

#header.shell-header, #sidebar.shell-sidebar, .shell-footer {
  font-family: "AIReport Sans", "SUIT", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--shell-ink);
  letter-spacing: -.025em;
}

#header.shell-header *, #sidebar.shell-sidebar *, .shell-footer * { box-sizing: border-box; }
#header.shell-header a, #sidebar.shell-sidebar a, .shell-footer a { text-decoration: none; }
#header.shell-header button, #sidebar.shell-sidebar button, #sidebar.shell-sidebar input { font: inherit; }
#header.shell-header :focus-visible, #sidebar.shell-sidebar :focus-visible, .shell-footer :focus-visible, .back-to-top:focus-visible {
  outline: 3px solid #8daaff;
  outline-offset: 3px;
}

#header.shell-header {
  height: var(--shell-header-height);
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 0 26px 0 18px;
  background: rgba(255, 255, 255, .97);
  border-bottom: 1px solid var(--shell-line);
  box-shadow: 0 2px 12px rgba(28, 48, 79, .025);
  z-index: 1030;
  backdrop-filter: blur(16px);
}
.shell-brand-area { display: flex; align-items: center; flex-shrink: 0; gap: 12px; }
#header .shell-sidebar-toggle, #sidebar .shell-sidebar-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 9px;
  color: #6d7f94;
  background: transparent;
  font-size: 20px;
  cursor: pointer;
}
#header .shell-sidebar-toggle:hover, #sidebar .shell-sidebar-close:hover { background: #edf2fc; color: var(--shell-blue); }
#header .shell-product-switch { display: flex; align-items: center; padding: 4px; background: #f0f3f8; border: 1px solid #e7ebf1; border-radius: 12px; }
#header .shell-product-link { height: 36px; padding: 0 11px; display: flex; align-items: center; gap: 7px; white-space: nowrap; border-radius: 8px; font-size: 14px; font-weight: 750; color: #718096; }
#header .shell-product-link:hover { color: var(--shell-blue); background: #e6edf9; }
#header .shell-product-link.is-current { color: var(--shell-ink); background: #fff; box-shadow: 0 2px 5px rgba(23, 43, 67, .08); }
#header #logo-image { display: block; width: 83px; height: auto; max-height: 28px; object-fit: contain; }
#header #logo-text { font-size: 14px; letter-spacing: -.03em; }
#header #logo-text::before { display: none; }
.shell-product-mark { display: flex; align-items: center; color: var(--shell-blue); font-size: 18px; }
#header .header-nav ul { list-style: none; padding: 0; }
#header .main-nav { margin-left: 0; }
#header .main-nav > ul { gap: 3px; }
#header .main-nav .nav-item { margin: 0; }
#header .main-nav .nav-link { color: #56677d; font-size: 13px; font-weight: 650; padding: 12px 11px; line-height: 1.5; letter-spacing: -.02em; border-radius: 9px; white-space: nowrap; text-transform: none; }
#header .main-nav .nav-link::after { display: none; }
#header .main-nav .nav-link:hover, #header .main-nav .nav-link.show { color: var(--shell-blue); background: #f0f4fc; }
#header .dropdown-menu { border: 1px solid var(--shell-line); border-radius: 14px; padding: 8px; box-shadow: 0 16px 50px rgba(23, 43, 67, .13); margin-top: 10px !important; }
#header .custom-dropdown-menu { min-width: 195px; list-style: none; }
#header .main-nav .custom-dropdown-menu { top: 100%; left: 0; margin-top: 0 !important; }
#header .main-nav .dropdown:hover > .custom-dropdown-menu, #header .main-nav .dropdown:focus-within > .custom-dropdown-menu { display: block; }
#header .dropdown-item { display: flex; align-items: center; gap: 9px; border-radius: 8px; color: #44566e; font-size: 13px; font-weight: 550; padding: 10px 12px; }
#header .dropdown-item:hover, #header .dropdown-item:focus { color: var(--shell-blue); background: #eff4ff; }
#header .dropdown-item::before { display: none; }
#header .dropdown-item i { width: 18px; font-size: 17px; color: #738399; }
#header .mobile-dropdown-nav { display: none; margin: 0; }
#header .mobile-dropdown-nav .btn-menu { display: flex; align-items: center; gap: 7px; border: 1px solid var(--shell-line); background: #fff; color: #56677d; padding: 10px 12px; border-radius: 9px; font-size: 12px; font-weight: 650; }
#header .mobile-dropdown-nav .dropdown-menu { min-width: 250px; max-height: min(650px, calc(100dvh - 144px)); overflow-y: auto; }
#header .dropdown-submenu > a { font-weight: 750; }
#header .dropdown-submenu > .dropdown-menu { position: static; display: none; transform: none; margin: 0 0 4px 12px !important; padding: 2px 0 2px 8px; min-width: 0; border: 0; border-left: 1px solid var(--shell-line); border-radius: 0; box-shadow: none; background: transparent; overflow: visible; }
#header .dropdown-submenu.is-open > .dropdown-menu { display: block; }
#header .shell-actions { margin-left: auto; }
#header .shell-actions > ul { gap: 8px; }
#header .shell-actions .nav-item { margin: 0; }
#header #license, #header #remote { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 38px; padding: 9px 13px; border: 1px solid transparent; border-radius: 9px; box-shadow: none; font-size: 12px; font-weight: 700; line-height: 1.4; letter-spacing: -.02em; white-space: nowrap; cursor: pointer; transition: background .18s ease, border-color .18s ease; }
#header #license { color: #fff; background: var(--shell-blue); }
#header #license:hover { background: #2555d9; }
#header #remote { color: #52677f; background: #fff; border-color: #dce4ee; }
#header #remote:hover { color: var(--shell-blue); border-color: #b9caf7; background: #f5f8ff; }
#header #license::after, #header #remote::after { display: none; }
#header #license i, #header #remote i { font-size: 15px; }
#header .shell-actions .nav-icon { display: flex; align-items: center; justify-content: center; width: 36px; height: 38px; padding: 0; border-radius: 9px; font-size: 19px; color: #7c8ca0; }
#header .shell-actions .nav-icon:hover { color: var(--shell-blue); background: #f0f4fc; }
#header .nav-profile { gap: 8px; min-height: 38px; padding: 3px 10px 3px 5px; border: 1px solid #dfe6ef; border-radius: 10px; background: #fff; }
#header .nav-profile:hover { background: #f6f8fc; }
#header .nav-profile img, #header .shell-avatar { display: flex; align-items: center; justify-content: center; width: 29px; height: 29px; border-radius: 8px; object-fit: cover; color: #647a96; background: #edf2f8; border: 0; box-shadow: none; font-size: 18px; }
#header .nav-profile .shell-account-name { color: #3d526d; font-size: 12px; font-weight: 700; max-width: 110px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#header .shell-account-name::after { margin-left: 7px; vertical-align: .15em; color: #93a0b1; }
#header .shell-actions .dropdown-menu { min-width: 245px; }
#header .shell-actions .dropdown-menu.messages { width: 340px; max-width: calc(100vw - 24px); }
#header .dropdown-header { padding: 10px 12px; white-space: normal; }
#header .dropdown-header h6 { color: var(--shell-ink); font-family: inherit; font-size: 14px; font-weight: 750; margin: 0 0 4px; }
#header .dropdown-header span { font-size: 12px; color: var(--shell-muted); }
#header .dropdown-header .badge { font-size: 10px; color: #fff; }
#header .messages .message-item { padding: 9px 12px; }
#header .messages .message-item > a { margin: 0; padding: 0; }
#header .messages .message-item h4 { font-family: inherit; font-size: 13px; font-weight: 750; margin: 0 0 7px; }
#header .messages .message-item p { font-size: 12px; line-height: 1.7; margin: 0 0 6px; color: #718096; }
#header .dropdown-footer { padding: 8px; font-size: 12px; }
#header .dropdown-divider { margin: 5px 4px; border-color: #edf0f5; }

#sidebar.shell-sidebar {
  top: var(--shell-header-height);
  bottom: 0;
  left: 0;
  width: var(--shell-sidebar-width);
  padding: 24px 17px 20px;
  background: #fff;
  border-right: 1px solid var(--shell-line);
  box-shadow: none;
  z-index: 1020;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: #d7dfeb transparent;
  transition: transform .24s ease;
}
#sidebar .shell-sidebar-heading { display: flex; align-items: center; justify-content: space-between; padding: 0 5px 22px; }
#sidebar .shell-workspace-link { display: flex; align-items: center; gap: 11px; color: var(--shell-ink); }
#sidebar .shell-workspace-icon { width: 35px; height: 35px; border: 1px solid #e2eafb; border-radius: 10px; color: var(--shell-blue); background: #f1f5ff; display: flex; align-items: center; justify-content: center; font-size: 16px; }
#sidebar .shell-workspace-link strong { display: block; font-size: 14px; font-weight: 750; }
#sidebar .shell-workspace-link small { display: block; font-size: 10px; font-weight: 500; color: #93a0b1; margin-top: 3px; }
#sidebar .shell-sidebar-close { display: none; width: 28px; height: 30px; font-size: 15px; }
#sidebar .shell-nav-search { height: 37px; display: flex; gap: 8px; align-items: center; padding: 0 10px; border: 1px solid #e5ebf2; border-radius: 8px; background: #f9fafc; margin: 0 3px 16px; color: #9aa6b6; }
#sidebar .shell-nav-search input { width: 100%; min-width: 0; padding: 0; border: 0; outline: 0; background: transparent; color: #3c526d; font-size: 11px; font-weight: 500; }
#sidebar .shell-nav-search:focus-within { border-color: #adc2f7; box-shadow: 0 0 0 3px #edf2ff; }
#sidebar .shell-nav-search input:focus-visible { outline: none; }
#sidebar .shell-nav-search input::placeholder { color: #8f9aad; }
#sidebar .shell-nav-search kbd { padding: 0 4px; background: #fff; border: 1px solid #e2e7ee; border-radius: 4px; color: #9aa6b6; font-size: 10px; box-shadow: none; }
#sidebar .shell-search-empty { font-size: 12px; color: #738399; padding: 8px; }
#sidebar .sidebar-nav { margin: 0; padding: 0; list-style: none; }
#sidebar .sidebar-nav li { list-style: none; padding: 0; }
#sidebar .sidebar-nav .nav-item { margin: 3px 0; }
#sidebar .sidebar-nav .nav-heading { display: flex; align-items: center; justify-content: space-between; margin: 24px 10px 9px; font-size: 10px; font-weight: 750; line-height: 1.5; color: #738399; letter-spacing: .015em; text-transform: none; }
#sidebar .nav-heading span { font-size: 9px; color: #a3afbf; font-weight: 550; letter-spacing: .015em; }
#sidebar .sidebar-nav .nav-link { display: flex; align-items: center; gap: 10px; padding: 11px 11px; margin: 0; min-height: 42px; color: #445b75; background: transparent; border: 0; border-radius: 8px; font-size: 12px; font-weight: 600; line-height: 1.55; box-shadow: none; letter-spacing: -.025em; }
#sidebar .sidebar-nav .nav-link > i { color: #8192a9; font-size: 16px; width: 18px; margin: 0; flex-shrink: 0; }
#sidebar .sidebar-nav .nav-link > .bi-chevron-down { width: auto; font-size: 10px; color: #a4afbe; margin-left: auto; }
#sidebar .sidebar-nav .nav-link:hover { background: #f5f7fb; color: #224eac; }
#sidebar .sidebar-nav .nav-link:hover > i { color: var(--shell-blue); }
#sidebar .sidebar-nav .nav-link.active, #sidebar .sidebar-nav .nav-link:not(.collapsed):not(.shell-home-item .nav-link) { background: #edf3ff; color: #2c5ddd; font-weight: 750; }
#sidebar .sidebar-nav .nav-link.active > i, #sidebar .sidebar-nav .nav-link:not(.collapsed) > i { color: #3264ed; }
#sidebar .shell-home-label { margin-left: auto; font-size: 8px; letter-spacing: .07em; font-weight: 650; color: #92a7d7; }
#sidebar .sidebar-nav .nav-content { padding: 4px 0 5px 29px; margin: 0; }
#sidebar .sidebar-nav .nav-content li { position: relative; }
#sidebar .sidebar-nav .nav-content li::before { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 1px; background: #e8edf5; }
#sidebar .sidebar-nav .nav-content a { display: flex; align-items: center; gap: 6px; min-height: 35px; padding: 8px 10px 8px 14px; margin: 1px 0 1px 5px; color: #718096; font-size: 11px; font-weight: 500; line-height: 1.6; border-radius: 7px; background: transparent; }
#sidebar .sidebar-nav .nav-content a:hover { color: var(--shell-blue); background: #f6f8fc; }
#sidebar .sidebar-nav .nav-content a.active { color: #2c5ddd; background: #eff4ff; font-weight: 750; }
#sidebar .sidebar-nav .nav-content a i { font-size: 13px; width: 15px; }
#sidebar .sidebar-nav [hidden] { display: none !important; }
#sidebar .shell-sidebar-support { display: flex; align-items: center; gap: 10px; margin: 24px 3px 0; padding: 13px 10px; border-top: 1px solid var(--shell-line); }
#sidebar .shell-support-icon { width: 30px; height: 30px; display: flex; align-items: center; justify-content: center; color: #7c8ea6; background: #f3f6fa; border-radius: 9px; }
#sidebar .shell-sidebar-support strong { display: block; color: #74859b; font-size: 10px; font-weight: 500; }
#sidebar .shell-sidebar-support a { display: block; color: #455e7d; font-size: 11px; font-weight: 650; margin-top: 5px; }
#sidebar .sidebar-nav > .nav-item > .nav-link { font-size: 13px; }
#sidebar .sidebar-nav .nav-content a { font-size: 12px; }
#sidebar .sidebar-nav .nav-heading { font-size: 11px; }
#sidebar .shell-nav-search input { font-size: 12px; }
.shell-sidebar-backdrop { display: none; }
body:has(#header.shell-header) #main { margin-top: var(--shell-header-height); }
/* Legacy Tiles views have an extra wrapper; JS removes it after parsing. */
#sidebar:not(.shell-sidebar):has(> #sidebar.shell-sidebar) { display: contents; }
.back-to-top { border-radius: 12px; background: #3264ed; box-shadow: 0 5px 20px #3264ed26; }

.shell-footer { background: #fff; border-top: 1px solid var(--shell-line); padding: 34px 42px 20px; }
.shell-footer-grid { display: grid; grid-template-columns: .9fr .7fr 1.8fr .9fr; gap: 32px; max-width: 1500px; margin: 0 auto; }
.shell-footer-logo { display: block; width: 104px; max-height: 40px; object-fit: contain; margin-bottom: 13px; }
.shell-footer-tagline { font-size: 10px; color: #8d99aa; line-height: 1.8; margin: 0 0 14px; }
.shell-footer-blog { display: inline-flex; align-items: center; gap: 7px; color: #718096; font-size: 10px; }
.shell-footer-blog img { width: 21px; height: 21px; border-radius: 5px; }
.shell-footer h2 { font: 700 11px/1.6 "AIReport Sans", sans-serif; margin: 0 0 14px; color: #3d526d; letter-spacing: .02em; }
.shell-footer ul { list-style: none; padding: 0; margin: 0; }
.shell-footer li { color: #8794a7; font-size: 10px; line-height: 1.9; margin-bottom: 5px; word-break: keep-all; overflow-wrap: anywhere; }
.shell-footer li a { color: #6d7f97; }
.shell-footer a:hover { color: var(--shell-blue); }
.shell-footer li i { font-size: 8px; margin-left: 4px; color: #99a7b9; }
.shell-footer li { font-size: 12px; color: #6c7c91; }
.shell-footer-bottom { max-width: 1500px; margin: 27px auto 0; padding-top: 15px; border-top: 1px solid #eff2f6; display: flex; justify-content: space-between; gap: 12px; font-size: 9px; letter-spacing: .02em; color: #a3aebd; }

@media (min-width: 1200px) {
  body:has(#sidebar.shell-sidebar) #main, body:has(#sidebar.shell-sidebar) #footer { margin-left: var(--shell-sidebar-width); }
  body.toggle-sidebar #sidebar.shell-sidebar { transform: translateX(-100%); left: 0; }
  body.toggle-sidebar:has(#sidebar.shell-sidebar) #main, body.toggle-sidebar:has(#sidebar.shell-sidebar) #footer { margin-left: 0; }
}
@media (max-width: 1399px) {
  #header.shell-header { gap: 16px; }
  #header .main-nav { display: none; }
  #header .mobile-dropdown-nav { display: block; }
}
@media (max-width: 1199px) {
  #sidebar.shell-sidebar { transform: translateX(-100%); width: 282px; }
  body.toggle-sidebar #sidebar.shell-sidebar { transform: translateX(0); }
  body:has(#sidebar.shell-sidebar) #main, body:has(#sidebar.shell-sidebar) #footer { margin-left: 0; }
  #sidebar .shell-sidebar-close { display: flex; }
  .shell-sidebar-backdrop:not([hidden]) { display: block; position: fixed; inset: var(--shell-header-height) 0 0; z-index: 1015; background: rgba(19, 37, 62, .34); border: 0; backdrop-filter: blur(2px); }
  body.shell-drawer-open { overflow: hidden; }
  .shell-footer { padding: 30px 28px 20px; }
}
@media (max-width: 767px) {
  :root { --shell-header-height: 112px; }
  #header.shell-header { padding: 9px 12px; gap: 6px 8px; flex-wrap: wrap; align-content: center; }
  #header .shell-brand-area { gap: 6px; flex: 1; }
  #header .shell-sidebar-toggle { width: 27px; font-size: 19px; }
  #header .shell-product-link { height: 30px; padding: 0 9px; font-size: 12px; gap: 5px; }
  #header #logo-text { font-size: 12px; }
  #header #logo-image { width: 65px; }
  #header .shell-product-mark { font-size: 15px; }
  #header .shell-product-switch { border-radius: 10px; padding: 3px; }
  #header .mobile-dropdown-nav { margin-left: auto; }
  #header .mobile-dropdown-nav .btn-menu { font-size: 10px; padding: 9px 8px; gap: 5px; }
  #header .mobile-dropdown-nav > .dropdown > .dropdown-menu { position: fixed !important; left: auto !important; right: 12px; top: 48px !important; transform: none !important; }
  #header .shell-actions { width: 100%; margin-left: 0; }
  #header .shell-actions > ul { justify-content: flex-end; gap: 6px; }
  #header #license, #header #remote { min-height: 33px; padding: 7px 10px; font-size: 10px; gap: 5px; border-radius: 8px; }
  #header #license i, #header #remote i { font-size: 13px; }
  #header .shell-actions .nav-icon { width: 31px; height: 33px; font-size: 17px; }
  #header .nav-profile { gap: 6px; min-height: 33px; border-radius: 8px; padding: 3px 8px 3px 4px; }
  #header .nav-profile img, #header .shell-avatar { width: 24px; height: 24px; font-size: 15px; border-radius: 6px; }
  #header .nav-profile .shell-account-name { font-size: 10px; max-width: 75px; }
  #header .shell-actions .dropdown-menu.messages { position: fixed !important; top: 104px !important; right: 12px !important; left: 12px !important; transform: none !important; width: auto; }
  #sidebar.shell-sidebar { padding-top: 20px; }
  #sidebar .sidebar-nav .nav-link { font-size: 13px; min-height: 44px; }
  #sidebar .sidebar-nav .nav-content a { font-size: 12px; }
  #sidebar .shell-nav-search input { font-size: 12px; }
  .shell-footer { padding: 27px 22px 20px; }
  .shell-footer-grid { grid-template-columns: 1fr 1fr; gap: 26px 20px; }
  .shell-footer li { font-size: 12px; }
  .shell-footer-bottom { font-size: 8px; flex-wrap: wrap; }
}
@media (max-width: 359px) {
  #header #logo-image { width: 58px; }
  #header .shell-product-link { padding-left: 7px; padding-right: 7px; }
  #header .mobile-dropdown-nav .btn-menu { padding-left: 6px; padding-right: 6px; }
  #header #license i, #header #remote i { display: none; }
  #header .shell-actions > ul { gap: 5px; }
}
@media (prefers-reduced-motion: reduce) {
  #sidebar.shell-sidebar, #header.shell-header *, .shell-footer * { transition: none !important; }
}
