/* Default design tokens extracted unchanged from style.css.
 * Functional layout, breakpoints, editor, dialogs and print remain shared there.
 * These defaults apply to classic and print; other designs override only on screen.
 */
:root{
  color-scheme:light;
  --bg:#f6f7fb;--panel:#fff;--panel-soft:#f8fafc;--text:#172033;--muted:#667085;--line:#e4e7ec;
  --accent:#315efb;--accent2:#10b981;--code:#101828;--tree-hover:#eef3ff;--shadow:0 18px 50px rgba(16,24,40,.06);
  --font-body:"RIDIBatang",ui-serif,serif;
  --surface-radius:22px;--list-radius:18px;
  --row-padding:18px 22px;--row-padding-mobile:16px;--prose-leading:1.82;
}
html.dark{
  color-scheme:dark;
  --bg:#0c111d;--panel:#111827;--panel-soft:#151f2f;--text:#e5e7eb;--muted:#9ca3af;--line:#273244;
  --accent:#8ab4ff;--accent2:#34d399;--code:#050816;--tree-hover:#18263d;--shadow:0 18px 50px rgba(0,0,0,.22);
}

/* One native, labelled selector: keyboard, touch and OS accessibility included.
 * No new header control and no custom popup overflowing a 320px viewport.
 */
@media screen{
  .design-theme-picker{min-width:0;margin:14px 0 4px;padding:12px 0 0;border-top:1px solid var(--line);font-family:system-ui,-apple-system,"Segoe UI",sans-serif}
  .design-theme-picker label{display:block;margin:0 0 7px;color:var(--muted);font-size:12px;font-weight:650}
  .design-theme-picker select{display:block;width:100%;max-width:100%;min-width:0;min-height:44px;padding:9px 10px;border:1px solid var(--line);border-radius:10px;background:var(--panel-soft);color:var(--text);font:inherit;font-size:14px;cursor:pointer}
  .design-theme-picker select:hover{border-color:var(--accent)}
  .design-theme-picker select:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
  .design-theme-picker p{margin:6px 0 0;font-size:11px;line-height:1.5;color:var(--muted)}
}
