/* THEME_CLASSIC_V28_14 — 검증된 표준 팔레트 12종 (밝은 6 · 어두운 6)
   GitHub Primer · IBM Carbon · Microsoft Fluent 2 · Solarized · Nord · Catppuccin · Atom One Dark · Dracula
   - 배경은 단색(파스텔 그라데이션 없음), 강조색은 각 팔레트의 공식 색
   - 어두운 테마 보정은 data-theme-mode="dark" 기준 (테마 id 나열 불필요) */

html[data-dashboard-theme="github_light"]{
  color-scheme:light!important;
  --theme-page:#f6f8fa;--theme-page-2:#f6f8fa;--theme-page-3:#f6f8fa;
  --theme-surface:#ffffff;--theme-surface-soft:#f6f8fa;
  --theme-sidebar-1:#ffffff;--theme-sidebar-2:#ffffff;--theme-sidebar-3:#ffffff;
  --theme-text:#1f2328;--theme-heading:#1f2328;--theme-muted:#59636e;
  --theme-line:#d1d9e0;--theme-line-strong:#b7c0c9;
  --theme-primary:#0969da;--theme-primary-strong:#0550ae;--theme-primary-soft:#ddf4ff;
  --theme-accent:#8250df;--theme-accent-soft:#fbefff;
  --theme-success:#1a7f37;--theme-success-soft:#dafbe1;
  --theme-warning:#9a6700;--theme-warning-soft:#fff8c5;
  --theme-danger:#d1242f;--theme-danger-soft:#ffebe9;
  --theme-nav-hover:#eff2f5;--theme-nav-active-1:#ddf4ff;--theme-nav-active-2:#ddf4ff;--theme-icon-bg:#f6f8fa;
  --theme-code-bg:#f6f8fa;
  --theme-shadow:rgba(31,35,40,0.1);--theme-shadow-soft:rgba(31,35,40,0.06);
  --theme-focus:color-mix(in srgb,#0969da 30%,transparent);--theme-selection:#b6e3ff;
  --theme-gradient:linear-gradient(180deg,#f6f8fa,#f6f8fa);
  --theme-brand-gradient:linear-gradient(135deg,#0969da,#0550ae);
  --theme-button-gradient:linear-gradient(180deg,#0969da,#0969da);
  --theme-robot-face-1:#0969da;--theme-robot-face-2:#0550ae;--theme-robot-body-1:#8250df;--theme-robot-body-2:#8250df;
}

html[data-dashboard-theme="carbon_white"]{
  color-scheme:light!important;
  --theme-page:#f4f4f4;--theme-page-2:#f4f4f4;--theme-page-3:#f4f4f4;
  --theme-surface:#ffffff;--theme-surface-soft:#f4f4f4;
  --theme-sidebar-1:#ffffff;--theme-sidebar-2:#ffffff;--theme-sidebar-3:#ffffff;
  --theme-text:#161616;--theme-heading:#161616;--theme-muted:#525252;
  --theme-line:#e0e0e0;--theme-line-strong:#c6c6c6;
  --theme-primary:#0f62fe;--theme-primary-strong:#0043ce;--theme-primary-soft:#edf5ff;
  --theme-accent:#8a3ffc;--theme-accent-soft:#f6f2ff;
  --theme-success:#198038;--theme-success-soft:#defbe6;
  --theme-warning:#8e6a00;--theme-warning-soft:#fcf4d6;
  --theme-danger:#da1e28;--theme-danger-soft:#fff1f1;
  --theme-nav-hover:#e8e8e8;--theme-nav-active-1:#edf5ff;--theme-nav-active-2:#edf5ff;--theme-icon-bg:#f4f4f4;
  --theme-code-bg:#f4f4f4;
  --theme-shadow:rgba(22,22,22,0.1);--theme-shadow-soft:rgba(22,22,22,0.06);
  --theme-focus:color-mix(in srgb,#0f62fe 30%,transparent);--theme-selection:#d0e2ff;
  --theme-gradient:linear-gradient(180deg,#f4f4f4,#f4f4f4);
  --theme-brand-gradient:linear-gradient(135deg,#0f62fe,#0043ce);
  --theme-button-gradient:linear-gradient(180deg,#0f62fe,#0f62fe);
  --theme-robot-face-1:#0f62fe;--theme-robot-face-2:#0043ce;--theme-robot-body-1:#8a3ffc;--theme-robot-body-2:#8a3ffc;
}

html[data-dashboard-theme="fluent_light"]{
  color-scheme:light!important;
  --theme-page:#f5f5f5;--theme-page-2:#f5f5f5;--theme-page-3:#f5f5f5;
  --theme-surface:#ffffff;--theme-surface-soft:#fafafa;
  --theme-sidebar-1:#ffffff;--theme-sidebar-2:#ffffff;--theme-sidebar-3:#ffffff;
  --theme-text:#242424;--theme-heading:#242424;--theme-muted:#616161;
  --theme-line:#e0e0e0;--theme-line-strong:#d1d1d1;
  --theme-primary:#0f6cbd;--theme-primary-strong:#115ea3;--theme-primary-soft:#ebf3fc;
  --theme-accent:#5b5fc7;--theme-accent-soft:#e8ebfa;
  --theme-success:#107c10;--theme-success-soft:#f1faf1;
  --theme-warning:#bc4b09;--theme-warning-soft:#fff9f5;
  --theme-danger:#c50f1f;--theme-danger-soft:#fdf3f4;
  --theme-nav-hover:#f0f0f0;--theme-nav-active-1:#ebf3fc;--theme-nav-active-2:#ebf3fc;--theme-icon-bg:#fafafa;
  --theme-code-bg:#f5f5f5;
  --theme-shadow:rgba(0,0,0,0.1);--theme-shadow-soft:rgba(0,0,0,0.06);
  --theme-focus:color-mix(in srgb,#0f6cbd 30%,transparent);--theme-selection:#cfe4fa;
  --theme-gradient:linear-gradient(180deg,#f5f5f5,#f5f5f5);
  --theme-brand-gradient:linear-gradient(135deg,#0f6cbd,#115ea3);
  --theme-button-gradient:linear-gradient(180deg,#0f6cbd,#0f6cbd);
  --theme-robot-face-1:#0f6cbd;--theme-robot-face-2:#115ea3;--theme-robot-body-1:#5b5fc7;--theme-robot-body-2:#5b5fc7;
}

html[data-dashboard-theme="solarized_light"]{
  color-scheme:light!important;
  --theme-page:#eee8d5;--theme-page-2:#eee8d5;--theme-page-3:#eee8d5;
  --theme-surface:#fdf6e3;--theme-surface-soft:#f6efdb;
  --theme-sidebar-1:#fdf6e3;--theme-sidebar-2:#fdf6e3;--theme-sidebar-3:#fdf6e3;
  --theme-text:#586e75;--theme-heading:#073642;--theme-muted:#657b83;
  --theme-line:#e4dcc6;--theme-line-strong:#d3c9ad;
  --theme-primary:#268bd2;--theme-primary-strong:#1b6ea8;--theme-primary-soft:#e1ecef;
  --theme-accent:#d33682;--theme-accent-soft:#f7e3e6;
  --theme-success:#677600;--theme-success-soft:#eef0d2;
  --theme-warning:#8a6900;--theme-warning-soft:#f6ebcd;
  --theme-danger:#dc322f;--theme-danger-soft:#f9e2d8;
  --theme-nav-hover:#f3ecd8;--theme-nav-active-1:#e5eaea;--theme-nav-active-2:#e5eaea;--theme-icon-bg:#f6efdb;
  --theme-code-bg:#eee8d5;
  --theme-shadow:rgba(88,110,117,0.1);--theme-shadow-soft:rgba(88,110,117,0.06);
  --theme-focus:color-mix(in srgb,#268bd2 30%,transparent);--theme-selection:#e2dbc4;
  --theme-gradient:linear-gradient(180deg,#eee8d5,#eee8d5);
  --theme-brand-gradient:linear-gradient(135deg,#268bd2,#1b6ea8);
  --theme-button-gradient:linear-gradient(180deg,#268bd2,#268bd2);
  --theme-robot-face-1:#268bd2;--theme-robot-face-2:#1b6ea8;--theme-robot-body-1:#d33682;--theme-robot-body-2:#d33682;
}

html[data-dashboard-theme="nord_light"]{
  color-scheme:light!important;
  --theme-page:#e5e9f0;--theme-page-2:#e5e9f0;--theme-page-3:#e5e9f0;
  --theme-surface:#eceff4;--theme-surface-soft:#e8ecf2;
  --theme-sidebar-1:#eceff4;--theme-sidebar-2:#eceff4;--theme-sidebar-3:#eceff4;
  --theme-text:#2e3440;--theme-heading:#2e3440;--theme-muted:#4c566a;
  --theme-line:#d8dee9;--theme-line-strong:#c2cad8;
  --theme-primary:#5e81ac;--theme-primary-strong:#4c6a91;--theme-primary-soft:#dde5ef;
  --theme-accent:#8c6b86;--theme-accent-soft:#ece3ea;
  --theme-success:#5f7d47;--theme-success-soft:#e3ebdc;
  --theme-warning:#a77b2e;--theme-warning-soft:#f4ebd7;
  --theme-danger:#bf616a;--theme-danger-soft:#f3e0e2;
  --theme-nav-hover:#e2e7ef;--theme-nav-active-1:#dde5ef;--theme-nav-active-2:#dde5ef;--theme-icon-bg:#e8ecf2;
  --theme-code-bg:#e5e9f0;
  --theme-shadow:rgba(46,52,64,0.1);--theme-shadow-soft:rgba(46,52,64,0.06);
  --theme-focus:color-mix(in srgb,#5e81ac 30%,transparent);--theme-selection:#d0dae7;
  --theme-gradient:linear-gradient(180deg,#e5e9f0,#e5e9f0);
  --theme-brand-gradient:linear-gradient(135deg,#5e81ac,#4c6a91);
  --theme-button-gradient:linear-gradient(180deg,#5e81ac,#5e81ac);
  --theme-robot-face-1:#5e81ac;--theme-robot-face-2:#4c6a91;--theme-robot-body-1:#8c6b86;--theme-robot-body-2:#8c6b86;
}

html[data-dashboard-theme="catppuccin_latte"]{
  color-scheme:light!important;
  --theme-page:#e6e9ef;--theme-page-2:#e6e9ef;--theme-page-3:#e6e9ef;
  --theme-surface:#eff1f5;--theme-surface-soft:#e9ecf1;
  --theme-sidebar-1:#eff1f5;--theme-sidebar-2:#eff1f5;--theme-sidebar-3:#eff1f5;
  --theme-text:#4c4f69;--theme-heading:#3c3f57;--theme-muted:#6c6f85;
  --theme-line:#ccd0da;--theme-line-strong:#bcc0cc;
  --theme-primary:#8839ef;--theme-primary-strong:#7028d4;--theme-primary-soft:#ebe1fc;
  --theme-accent:#1e66f5;--theme-accent-soft:#dfe8fd;
  --theme-success:#2f7d1f;--theme-success-soft:#e3f1df;
  --theme-warning:#a3620a;--theme-warning-soft:#fbefdc;
  --theme-danger:#d20f39;--theme-danger-soft:#f9dde3;
  --theme-nav-hover:#e4e7ed;--theme-nav-active-1:#ebe1fc;--theme-nav-active-2:#ebe1fc;--theme-icon-bg:#e9ecf1;
  --theme-code-bg:#e6e9ef;
  --theme-shadow:rgba(76,79,105,0.1);--theme-shadow-soft:rgba(76,79,105,0.06);
  --theme-focus:color-mix(in srgb,#8839ef 30%,transparent);--theme-selection:#d4c7f5;
  --theme-gradient:linear-gradient(180deg,#e6e9ef,#e6e9ef);
  --theme-brand-gradient:linear-gradient(135deg,#8839ef,#7028d4);
  --theme-button-gradient:linear-gradient(180deg,#8839ef,#8839ef);
  --theme-robot-face-1:#8839ef;--theme-robot-face-2:#7028d4;--theme-robot-body-1:#1e66f5;--theme-robot-body-2:#1e66f5;
}

html[data-dashboard-theme="github_dark"]{
  color-scheme:dark!important;
  --theme-page:#0d1117;--theme-page-2:#0d1117;--theme-page-3:#0d1117;
  --theme-surface:#161b22;--theme-surface-soft:#1c2128;
  --theme-sidebar-1:#010409;--theme-sidebar-2:#010409;--theme-sidebar-3:#010409;
  --theme-text:#e6edf3;--theme-heading:#f0f6fc;--theme-muted:#9198a1;
  --theme-line:#30363d;--theme-line-strong:#3d444d;
  --theme-primary:#4493f8;--theme-primary-strong:#79b8ff;--theme-primary-soft:#121d2f;
  --theme-accent:#ab7df8;--theme-accent-soft:#231a35;
  --theme-success:#3fb950;--theme-success-soft:#12261e;
  --theme-warning:#d29922;--theme-warning-soft:#272115;
  --theme-danger:#f85149;--theme-danger-soft:#2d1619;
  --theme-nav-hover:#1c2128;--theme-nav-active-1:#121d2f;--theme-nav-active-2:#121d2f;--theme-icon-bg:#1c2128;
  --theme-code-bg:#0d1117;
  --theme-shadow:rgba(1,4,9,0.45);--theme-shadow-soft:rgba(1,4,9,0.3);
  --theme-focus:color-mix(in srgb,#4493f8 40%,transparent);--theme-selection:#1f3b61;
  --theme-gradient:linear-gradient(180deg,#0d1117,#0d1117);
  --theme-brand-gradient:linear-gradient(135deg,#4493f8,#79b8ff);
  --theme-button-gradient:linear-gradient(180deg,#4493f8,#4493f8);
  --theme-robot-face-1:#4493f8;--theme-robot-face-2:#79b8ff;--theme-robot-body-1:#ab7df8;--theme-robot-body-2:#ab7df8;
}

html[data-dashboard-theme="one_dark"]{
  color-scheme:dark!important;
  --theme-page:#21252b;--theme-page-2:#21252b;--theme-page-3:#21252b;
  --theme-surface:#282c34;--theme-surface-soft:#2c313a;
  --theme-sidebar-1:#1e2227;--theme-sidebar-2:#1e2227;--theme-sidebar-3:#1e2227;
  --theme-text:#abb2bf;--theme-heading:#dcdfe4;--theme-muted:#7f848e;
  --theme-line:#3a3f4b;--theme-line-strong:#4b5263;
  --theme-primary:#61afef;--theme-primary-strong:#8cc4f3;--theme-primary-soft:#24303f;
  --theme-accent:#c678dd;--theme-accent-soft:#33293b;
  --theme-success:#98c379;--theme-success-soft:#2a3326;
  --theme-warning:#e5c07b;--theme-warning-soft:#373226;
  --theme-danger:#e06c75;--theme-danger-soft:#3a2a2e;
  --theme-nav-hover:#2c313a;--theme-nav-active-1:#24303f;--theme-nav-active-2:#24303f;--theme-icon-bg:#2c313a;
  --theme-code-bg:#21252b;
  --theme-shadow:rgba(0,0,0,0.45);--theme-shadow-soft:rgba(0,0,0,0.3);
  --theme-focus:color-mix(in srgb,#61afef 40%,transparent);--theme-selection:#3e4451;
  --theme-gradient:linear-gradient(180deg,#21252b,#21252b);
  --theme-brand-gradient:linear-gradient(135deg,#61afef,#8cc4f3);
  --theme-button-gradient:linear-gradient(180deg,#61afef,#61afef);
  --theme-robot-face-1:#61afef;--theme-robot-face-2:#8cc4f3;--theme-robot-body-1:#c678dd;--theme-robot-body-2:#c678dd;
}

html[data-dashboard-theme="dracula"]{
  color-scheme:dark!important;
  --theme-page:#21222c;--theme-page-2:#21222c;--theme-page-3:#21222c;
  --theme-surface:#282a36;--theme-surface-soft:#303241;
  --theme-sidebar-1:#1b1c24;--theme-sidebar-2:#1b1c24;--theme-sidebar-3:#1b1c24;
  --theme-text:#f8f8f2;--theme-heading:#ffffff;--theme-muted:#a4abd0;
  --theme-line:#3c3f52;--theme-line-strong:#4f5370;
  --theme-primary:#bd93f9;--theme-primary-strong:#d4b8fb;--theme-primary-soft:#3a3352;
  --theme-accent:#ff79c6;--theme-accent-soft:#47304a;
  --theme-success:#50fa7b;--theme-success-soft:#22402d;
  --theme-warning:#f1fa8c;--theme-warning-soft:#3d402b;
  --theme-danger:#ff5555;--theme-danger-soft:#462a31;
  --theme-nav-hover:#303241;--theme-nav-active-1:#3a3352;--theme-nav-active-2:#3a3352;--theme-icon-bg:#303241;
  --theme-code-bg:#21222c;
  --theme-shadow:rgba(0,0,0,0.45);--theme-shadow-soft:rgba(0,0,0,0.3);
  --theme-focus:color-mix(in srgb,#bd93f9 40%,transparent);--theme-selection:#44475a;
  --theme-gradient:linear-gradient(180deg,#21222c,#21222c);
  --theme-brand-gradient:linear-gradient(135deg,#bd93f9,#d4b8fb);
  --theme-button-gradient:linear-gradient(180deg,#bd93f9,#bd93f9);
  --theme-robot-face-1:#bd93f9;--theme-robot-face-2:#d4b8fb;--theme-robot-body-1:#ff79c6;--theme-robot-body-2:#ff79c6;
}

html[data-dashboard-theme="nord"]{
  color-scheme:dark!important;
  --theme-page:#2e3440;--theme-page-2:#2e3440;--theme-page-3:#2e3440;
  --theme-surface:#3b4252;--theme-surface-soft:#434c5e;
  --theme-sidebar-1:#2a2f3a;--theme-sidebar-2:#2a2f3a;--theme-sidebar-3:#2a2f3a;
  --theme-text:#d8dee9;--theme-heading:#eceff4;--theme-muted:#a3adc2;
  --theme-line:#434c5e;--theme-line-strong:#4c566a;
  --theme-primary:#88c0d0;--theme-primary-strong:#a8d4e0;--theme-primary-soft:#36495a;
  --theme-accent:#b48ead;--theme-accent-soft:#463e4f;
  --theme-success:#a3be8c;--theme-success-soft:#3b4a3e;
  --theme-warning:#ebcb8b;--theme-warning-soft:#4b4636;
  --theme-danger:#d57d86;--theme-danger-soft:#4a3940;
  --theme-nav-hover:#434c5e;--theme-nav-active-1:#36495a;--theme-nav-active-2:#36495a;--theme-icon-bg:#434c5e;
  --theme-code-bg:#2e3440;
  --theme-shadow:rgba(15,18,24,0.45);--theme-shadow-soft:rgba(15,18,24,0.3);
  --theme-focus:color-mix(in srgb,#88c0d0 40%,transparent);--theme-selection:#4c566a;
  --theme-gradient:linear-gradient(180deg,#2e3440,#2e3440);
  --theme-brand-gradient:linear-gradient(135deg,#88c0d0,#a8d4e0);
  --theme-button-gradient:linear-gradient(180deg,#88c0d0,#88c0d0);
  --theme-robot-face-1:#88c0d0;--theme-robot-face-2:#a8d4e0;--theme-robot-body-1:#b48ead;--theme-robot-body-2:#b48ead;
}

html[data-dashboard-theme="solarized_dark"]{
  color-scheme:dark!important;
  --theme-page:#002b36;--theme-page-2:#002b36;--theme-page-3:#002b36;
  --theme-surface:#073642;--theme-surface-soft:#0b3e4b;
  --theme-sidebar-1:#00252e;--theme-sidebar-2:#00252e;--theme-sidebar-3:#00252e;
  --theme-text:#93a1a1;--theme-heading:#eee8d5;--theme-muted:#839496;
  --theme-line:#0f4553;--theme-line-strong:#245a68;
  --theme-primary:#268bd2;--theme-primary-strong:#53a6e2;--theme-primary-soft:#0b3b55;
  --theme-accent:#7f84d6;--theme-accent-soft:#1c3655;
  --theme-success:#859900;--theme-success-soft:#1b3c25;
  --theme-warning:#b58900;--theme-warning-soft:#2b3a1d;
  --theme-danger:#dc322f;--theme-danger-soft:#38282a;
  --theme-nav-hover:#0b3e4b;--theme-nav-active-1:#0b3b55;--theme-nav-active-2:#0b3b55;--theme-icon-bg:#0b3e4b;
  --theme-code-bg:#002b36;
  --theme-shadow:rgba(0,10,14,0.45);--theme-shadow-soft:rgba(0,10,14,0.3);
  --theme-focus:color-mix(in srgb,#268bd2 40%,transparent);--theme-selection:#0e4a59;
  --theme-gradient:linear-gradient(180deg,#002b36,#002b36);
  --theme-brand-gradient:linear-gradient(135deg,#268bd2,#53a6e2);
  --theme-button-gradient:linear-gradient(180deg,#268bd2,#268bd2);
  --theme-robot-face-1:#268bd2;--theme-robot-face-2:#53a6e2;--theme-robot-body-1:#7f84d6;--theme-robot-body-2:#7f84d6;
}

html[data-dashboard-theme="catppuccin_mocha"]{
  color-scheme:dark!important;
  --theme-page:#181825;--theme-page-2:#181825;--theme-page-3:#181825;
  --theme-surface:#1e1e2e;--theme-surface-soft:#262637;
  --theme-sidebar-1:#11111b;--theme-sidebar-2:#11111b;--theme-sidebar-3:#11111b;
  --theme-text:#cdd6f4;--theme-heading:#e4e9fb;--theme-muted:#a6adc8;
  --theme-line:#313244;--theme-line-strong:#45475a;
  --theme-primary:#cba6f7;--theme-primary-strong:#dcc3fa;--theme-primary-soft:#352f4e;
  --theme-accent:#89b4fa;--theme-accent-soft:#273450;
  --theme-success:#a6e3a1;--theme-success-soft:#263b30;
  --theme-warning:#f9e2af;--theme-warning-soft:#3d392c;
  --theme-danger:#f38ba8;--theme-danger-soft:#45293a;
  --theme-nav-hover:#262637;--theme-nav-active-1:#352f4e;--theme-nav-active-2:#352f4e;--theme-icon-bg:#262637;
  --theme-code-bg:#181825;
  --theme-shadow:rgba(0,0,0,0.45);--theme-shadow-soft:rgba(0,0,0,0.3);
  --theme-focus:color-mix(in srgb,#cba6f7 40%,transparent);--theme-selection:#45475a;
  --theme-gradient:linear-gradient(180deg,#181825,#181825);
  --theme-brand-gradient:linear-gradient(135deg,#cba6f7,#dcc3fa);
  --theme-button-gradient:linear-gradient(180deg,#cba6f7,#cba6f7);
  --theme-robot-face-1:#cba6f7;--theme-robot-face-2:#dcc3fa;--theme-robot-body-1:#89b4fa;--theme-robot-body-2:#89b4fa;
}

/* 어두운 모드 공통 보정 (기존 v22·v25 규칙을 모드 기준으로 일반화) */
html[data-theme-mode="dark"] .theme-choice-card{color:var(--theme-text)!important}
/* Dark collection readability guard: override legacy fixed ink colors from older UI layers. */ html[data-theme-mode="dark"] :is(h1,h2,h3,h4,h5,h6,strong,b,legend,label,dt,th,.card-title,.panel-title,.metric-value,.stat-value){color:var(--theme-heading)!important}
html[data-theme-mode="dark"] :is(body,p,li,dd,td,span,code,pre,.panel,.card,.metric-card,.result-card){color:var(--theme-text)!important}
html[data-theme-mode="dark"] :is(small,.muted,.help-text,.subtext,.description,.caption){color:var(--theme-muted)!important}
html[data-theme-mode="dark"] :is(code,pre,.code,.log-view,.source-view,.hex-view){background:var(--theme-code-bg)!important;border-color:var(--theme-line)!important;color:var(--theme-text)!important}
html[data-theme-mode="dark"]{--theme-code-text:#f7f9ff;
  --theme-code-muted:#b8c2d8;
  --theme-code-selection:color-mix(in srgb,var(--theme-primary) 42%,var(--theme-code-bg));}

/* 테마 선택 카드 미리보기: 카드마다 인라인 변수(--tp-*)로 색을 지정 */
.theme-choice-preview.tp{background:var(--tp-page)!important}
.theme-choice-preview.tp::before{background:var(--tp-side)!important;border-right-color:var(--tp-line)!important}
.theme-choice-preview.tp::after,.theme-choice-preview.tp i{background:var(--tp-surface)!important;box-shadow:0 0 0 1px var(--tp-line) inset!important}
.theme-choice-preview.tp i:nth-child(3){background:var(--tp-primary)!important;opacity:.25}
.theme-choice-preview.tp b{background:var(--tp-primary)!important}
.theme-choice-copy small{white-space:normal}

/* 예전 파스텔 테마에 고정돼 있던 장식·글자 색을 현재 테마 색으로 (모든 테마 공통) */
html[data-dashboard-theme] .panel--hero::after{background:none!important}
html[data-dashboard-theme] .nav__icon{box-shadow:0 0 0 1px var(--theme-line) inset!important}
html[data-dashboard-theme] .topbar-auth__avatar{box-shadow:0 4px 12px color-mix(in srgb,var(--theme-primary) 28%,transparent)!important}
html[data-dashboard-theme] .summary-card::after{background-color:color-mix(in srgb,var(--theme-primary) 6%,transparent)!important}
html[data-dashboard-theme] body .brand__copy small{color:var(--theme-muted)!important}
html[data-dashboard-theme] body .btn--success{color:var(--theme-success)!important}
html[data-dashboard-theme] body .topbar-auth__button strong small{color:var(--theme-muted)!important}
html[data-dashboard-theme] body .ip-summary-card span{color:var(--theme-muted)!important}
html[data-theme-mode="dark"][data-dashboard-theme] body .log-panel :is(h2,h3){color:var(--theme-heading)!important}
/* 실시간 로그 제목 옆 '자동 갱신' 배지: 고정 파랑/연파랑 → 테마 주색 */
html[data-dashboard-theme] body .monitor-layout .log-panel h2::after{color:var(--theme-primary)!important;background:var(--theme-primary-soft)!important;border-color:color-mix(in srgb,var(--theme-primary) 30%,transparent)!important}
/* 실시간 로그 창: 어두운 테마에서는 그 테마의 코드 배경·글자색 사용 (밝은 테마는 터미널처럼 어두운 창 유지) */
html[data-theme-mode="dark"][data-dashboard-theme] body :is(.monitor-layout,.page,.panel) .log-box.log-box.log-box.log-box{background:var(--theme-code-bg)!important;color:var(--theme-text)!important;border-color:var(--theme-line)!important}
