/* Shared preference controls; colors inherit the current design tokens. */
.theme-preferences { display: grid; gap: 8px; padding: 10px 0; color: var(--muted); font-size: 13px; }
.theme-preference-options { display: flex; gap: 4px; }
.theme-preference-options > button { flex: 1; min-width: 0; min-height: 36px; padding: 8px 6px; border: 1px solid var(--line); border-radius: 6px; background: var(--surface); color: var(--muted); font-size: 13px; white-space: nowrap; }
.theme-preference-options > button:hover { background: var(--surface-2); color: var(--ink); }
.theme-preference-options > button[aria-pressed=true] { background: var(--accent-soft); border-color: var(--brand); color: var(--brand); font-weight: 600; }
.figma-login .theme-preferences { padding: 0; }
.account-application .theme-preferences { margin-bottom: 16px; }
.figma-service #notification-toggle > svg { color: var(--ink); }
.figma-service #notification-toggle.has-unread > svg { display: block; }
.figma-service #notification-toggle.has-unread::before { content: none; }
.figma-service #notification-toggle.has-unread::after { content: ''; position: absolute; top: 7px; right: 8px; width: 6px; height: 6px; border: 2px solid var(--surface); border-radius: 50%; background: var(--danger); }
.figma-service .topbar .gnav a[data-nav-kind=notice]::before, .figma-super-admin [data-admin-icon=notice] .admin-nav-icon { background: light-dark(#767b86,#8b94a0); mask: url('../../images/icons/megaphone.svg') center / contain no-repeat; filter: none; }
.figma-service .topbar .gnav a[data-nav-kind=notice][aria-current=page]::before, .figma-super-admin [data-admin-icon=notice][aria-current=page] .admin-nav-icon { background: var(--brand); }
.figma-service [data-s=req], .figma-service [data-status=REQUESTED] { --status-surface: light-dark(#fdefec,color-mix(in srgb,var(--s-req) 12%,var(--surface))); --status-border: light-dark(#fcdfd9,color-mix(in srgb,var(--s-req) 35%,var(--surface))); }
.figma-service [data-s=recv], .figma-service [data-status=RECEIVED] { --status-surface: light-dark(#eaf6ec,color-mix(in srgb,var(--s-recv) 12%,var(--surface))); --status-border: light-dark(#d8eedd,color-mix(in srgb,var(--s-recv) 35%,var(--surface))); }
.figma-service [data-s=prog], .figma-service [data-status=IN_PROGRESS] { --status-surface: light-dark(#e7f4fe,color-mix(in srgb,var(--s-prog) 12%,var(--surface))); --status-border: light-dark(#d3ebfd,color-mix(in srgb,var(--s-prog) 35%,var(--surface))); }
.figma-service [data-s=long], .figma-service [data-status=LONG_TERM] { --status-surface: light-dark(#fff3db,color-mix(in srgb,var(--s-long) 12%,var(--surface))); --status-border: light-dark(#ffe0a3,color-mix(in srgb,var(--s-long) 35%,var(--surface))); }
.figma-service [data-s=review], .figma-service [data-status=REVIEWING] { --status-surface: light-dark(#f4f0ff,color-mix(in srgb,var(--s-review) 12%,var(--surface))); --status-border: light-dark(#e5e0f3,color-mix(in srgb,var(--s-review) 35%,var(--surface))); }
.figma-service [data-s=done], .figma-service [data-status=COMPLETED] { --status-surface: light-dark(#f4f5f6,color-mix(in srgb,var(--s-done) 12%,var(--surface))); --status-border: light-dark(#e6e8ea,color-mix(in srgb,var(--s-done) 35%,var(--surface))); }

.figma-login { background-image: linear-gradient(light-dark(transparent,rgb(16 16 18 / .92)),light-dark(transparent,rgb(16 16 18 / .92))), url('../../images/figma/7ca69.png'); }
.figma-login .login-side { background-image: linear-gradient(light-dark(transparent,rgb(27 45 70 / .9)),light-dark(transparent,rgb(27 45 70 / .9))), url('../../images/figma/login-flow-progressive.png'); }

/* Keep the original header menu geometry and status hues in both schemes. */
.figma-service .theme-menu > summary { display: flex; align-items: center; justify-content: center; color: var(--ink); }
.figma-service .theme-options > button { color: var(--ink); }
.figma-service .theme-options > button:hover { background: var(--surface-2); color: var(--ink); }
.figma-service .theme-options > button[aria-pressed=true] { color: var(--brand); }
.figma-super-admin { --r-admin: light-dark(#1f385a,#a9c9f4); --r-answer: light-dark(#096ab3,#80caff); --r-writer: light-dark(#268097,#8dd8e8); }
.figma-super-admin .role-badge { color: light-dark(#fff,#15191f); }
.figma-service .status-history > summary::before { background: currentColor; mask: var(--status-clock) center / contain no-repeat; }
.figma-service .status-history > summary::after { background: currentColor; mask: var(--status-arrow) center / contain no-repeat; }
:root { --theme-neutral-icon-filter: none; }
:root[data-theme=dark] { --theme-neutral-icon-filter: brightness(0) invert(.78); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme=light]):not([data-theme=dark]) { --theme-neutral-icon-filter: brightness(0) invert(.78); }
}
.figma-service .gnav a:not([aria-current=page])::before, .figma-service .user-menu .user-chip::after, .figma-service .user-menu .avatar, .figma-service .detail-filter-toggle::before, .figma-service .home-section-heading > a::after { filter: var(--theme-neutral-icon-filter); }
.figma-service .panel-icon-button::before, .figma-service .expand-post::before, .figma-service .close-panel::before, .figma-service .figma-list-button::before,
.figma-service .request-separator, .figma-service .figma-secret-icon, .figma-service .post-link.is-secret::after,
.figma-service .conversation-heading::before, .figma-service .upload-dropzone::before, .figma-service .notification-item-separator,
.figma-service .notice-band > a::before, .figma-service .notice-band button::before { filter: var(--theme-neutral-icon-filter); }
.figma-super-admin .admin-pagination img, .figma-super-admin .code-order img { filter: var(--theme-neutral-icon-filter); }
@media (min-width: 1200px) {
  .figma-service:not(.figma-super-admin) .topbar .wrap { grid-template-columns: auto minmax(0,1fr) auto; }
  .figma-service .topbar .gnav { min-width: 0; overflow-x: auto; }
  .figma-service .topbar .gnav ul { width: max-content; }
}
/* Keep native select behavior while matching the search field's visual system. */
.figma-service .admin-account-search .advanced-filters { grid-template-columns: minmax(180px,1fr) minmax(180px,1fr) auto; align-items: end; gap: 16px; }
.figma-service .admin-account-search .advanced-filters > div { min-width: 0; }
.figma-service .admin-account-search .advanced-filters label { display: block; margin: 0 0 8px; color: var(--ink); font-size: 14px; line-height: 20px; }
.figma-service .admin-account-search .advanced-filters select { width: 100%; height: 48px; min-height: 48px; padding: 0 16px; border: 1px solid var(--line); border-radius: 6px; background-color: var(--surface); color: var(--ink); font-size: 15px; }
.figma-service .admin-account-search .advanced-filters > a { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 16px; border: 1px solid var(--line); border-radius: 6px; background: var(--surface); color: var(--muted); white-space: nowrap; }
.figma-service .admin-account-search .advanced-filters > a:hover { color: var(--brand); background: var(--accent-soft); }
@media (max-width: 759px) { .figma-service .admin-account-search .advanced-filters { grid-template-columns: minmax(0,1fr); } .figma-service .admin-account-search .advanced-filters > a { justify-self: end; } }
@supports (appearance: base-select) {
  .figma-service .admin-account-search select:not([data-account-search-target]), .figma-service .admin-account-search select:not([data-account-search-target])::picker(select) { appearance: base-select; }
  .figma-service .admin-account-search select:not([data-account-search-target]) { display: inline-flex; align-items: center; justify-content: space-between; gap: 12px; padding-inline: 16px; background-image: none; }
  .figma-service .admin-account-search select:not([data-account-search-target])::picker-icon { content: ''; width: 7px; height: 7px; margin: -3px 2px 0 0; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); }
  .figma-service .admin-account-search select:not([data-account-search-target])::picker(select) { min-width: anchor-size(width); margin-block: 6px; padding: 4px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); color: var(--ink); box-shadow: var(--shadow); }
  .figma-service .admin-account-search select:not([data-account-search-target]) option { display: flex; align-items: center; gap: 12px; min-height: 36px; padding: 8px 12px; border-radius: 6px; background: var(--surface); color: var(--ink); font-size: 15px; line-height: 20px; }
  .figma-service .admin-account-search select:not([data-account-search-target]) option:hover { background: var(--surface-2); }
  .figma-service .admin-account-search select:not([data-account-search-target]) option:checked { background: var(--accent-soft); color: var(--brand); }
  .figma-service .admin-account-search select:not([data-account-search-target]) option::checkmark { order: 1; margin-left: auto; color: var(--brand); }
  .figma-service .board-search .search-input-wrap { anchor-name: --search-field; }
  .figma-service .board-search .search-input-wrap:focus-within { border-color: var(--brand); box-shadow: 0 0 0 2px var(--accent-soft); }
  .figma-service .board-search :is(#searchTarget, [data-account-search-target]), .figma-service .board-search :is(#searchTarget, [data-account-search-target])::picker(select) { appearance: base-select; }
  .figma-service .board-search :is(#searchTarget, [data-account-search-target]) { align-items: center; justify-content: space-between; gap: 8px; padding-right: 8px; background-image: none; }
  .figma-service .board-search :is(#searchTarget, [data-account-search-target]):focus { outline: none; border-color: transparent; box-shadow: none; background-color: transparent; }
  .figma-service .board-search :is(#searchTarget, [data-account-search-target])::picker-icon { content: ''; width: 7px; height: 7px; margin-right: 3px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; color: var(--ink); transform: rotate(45deg); }
  .figma-service .board-search :is(#searchTarget, [data-account-search-target])::picker(select) { position-anchor: --search-field; inset: auto; top: anchor(bottom); left: anchor(left); min-width: 160px; max-height: min(360px,60dvh); margin: 6px 0 0; padding: 4px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); color: var(--ink); box-shadow: 0 6px 18px light-dark(rgb(35 48 59 / .14),rgb(0 0 0 / .4)); }
  .figma-service .board-search :is(#searchTarget, [data-account-search-target]) option { display: flex; align-items: center; gap: 12px; min-height: 36px; padding: 8px 12px; border-radius: 6px; background: var(--surface); color: var(--ink); font-size: 15px; font-weight: 400; line-height: 20px; }
  .figma-service .board-search :is(#searchTarget, [data-account-search-target]) option:hover, .figma-service .board-search :is(#searchTarget, [data-account-search-target]) option:focus-visible { outline: none; background: var(--surface-2); }
  .figma-service .board-search :is(#searchTarget, [data-account-search-target]) option:checked { background: var(--accent-soft); color: var(--brand); font-weight: 500; }
  .figma-service .board-search :is(#searchTarget, [data-account-search-target]) option::checkmark { order: 1; margin-left: auto; color: var(--brand); }
}

.topbar .brand .company-logo.busan-symbol { width: 40px; height: 40px; max-height: none; padding: 0; object-fit: contain; object-position: center; filter: none; mix-blend-mode: normal; background: transparent; border-radius: 0; }
