/* Jan Slides — chrome re-skinned to Jan Software "Ink & Iris" brand tokens v1.0 (2026-11-02).
   Token values copied from the canonical brand tokens; each product keeps its own copy.
   NOTE: the deck-editor slide THEMES (in inc/bootstrap.php $THEMES / PPTX output) are user
   content and are deliberately NOT styled by this file. */
:root{
  /* Ink & Iris — light */
  --bg:#FAFAF9; --bg2:#F2F1ED;
  --surface:#FFFFFF; --surface2:#F6F5F1;
  --ink:#0B0C0F; --ink2:#3C4048; --muted:#6F7278;
  --line:#E7E5DF;
  /* Jan Slides accent = Iris — CONFIRMED by Ratified Color System v1.0 (2026-11-02) */
  --accent:#5A48F2; --accent2:#9D4CF2; --accent-soft:#EDEAFF; --on-accent:#FFFFFF;
  --success:#08734F; --warning:#8A5700; --error:#B42318; --info:#245CC5; --money-in:#08734F; --money-out:#3C4048; --border-functional:#686C75; --text-secondary-dark:#BDC2CC; --surface-2-dark:#17191F; --iris:#5A48F2; --iris-bright:#8B7CFF; --iris-deep:#4639BF; --focus:#5A48F2;
  --shadow:0 1px 2px rgba(11,12,15,.05),0 12px 32px -12px rgba(11,12,15,.12);
  --glow:0 10px 28px -10px rgba(90,72,242,.5);
  --font-display:'Space Grotesk','Noto Sans Ethiopic',sans-serif;
  --font-body:'Inter','Noto Sans Ethiopic',system-ui,-apple-system,"Segoe UI",sans-serif;
  /* legacy aliases (old chrome variable names → new tokens) */
  --green:var(--accent); --mut:var(--muted); --card:var(--surface);
}
[data-theme="dark"]{
  /* Ink & Iris — dark */
  --bg:#08090C; --bg2:#0C0D11;
  --surface:#101116; --surface2:#17181F;
  --ink:#F5F4F0; --ink2:#C7C9CF; --muted:#8E9199;
  --line:#23242C;
  /* Slides dark accent = Iris Bright — Ratified Color System v1.0 */
  --accent:#8B7CFF; --accent2:#C39BFF; --accent-soft:#1C1932; --on-accent:#0B0C0F;
  --success:#35C991; --warning:#F2B84B; --error:#FF8F99; --info:#8BB8FF; --money-in:#35C991; --money-out:#BDC2CC; --border-functional:#686C75; --focus:#8B7CFF;
  --shadow:0 1px 2px rgba(0,0,0,.4),0 12px 32px -12px rgba(0,0,0,.55);
  --glow:0 10px 28px -10px rgba(139,124,255,.45);
}
* { box-sizing: border-box; }
body { margin: 0; font-family: var(--font-body); background: var(--bg); color: var(--ink); transition: background .35s, color .35s; }
a { color: var(--accent); }
.wrap { max-width: 720px; margin: 0 auto; padding: 16px 14px 40px; }
.top { display: flex; align-items: center; gap: 12px; padding: 10px 14px; background: var(--surface); color: var(--ink); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 10; }
.brand { color: var(--ink); text-decoration: none; display: inline-flex; align-items: center; gap: 10px; }
.brand .mark { width: 32px; height: 32px; border-radius: 8px; display: block; }
.brand .wm { display: flex; flex-direction: column; line-height: 1.1; }
.brand .wm b { font-family: var(--font-display); font-weight: 700; font-size: 17px; letter-spacing: -.01em; }
.brand .wm small { font-size: 9.5px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.mark-paper { display: none !important; }
[data-theme="dark"] .mark-ink { display: none !important; }
[data-theme="dark"] .mark-paper { display: block !important; }
.topacts { margin-left: auto; display: flex; gap: 10px; align-items: center; font-size: 14px; }
.topacts a { color: var(--ink2); text-decoration: none; }
.topacts a:hover { color: var(--accent); }
.tuser { color: var(--accent); font-weight: 600; }
.ttoggle { width: 34px; height: 34px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); color: var(--ink2); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; padding: 0; }
.ttoggle svg { width: 17px; height: 17px; }
[data-theme="light"] .ic-sun { display: none; }
[data-theme="dark"] .ic-moon { display: none; }
.foot { text-align: center; color: var(--muted); font-size: 13px; padding: 18px; }
.foot .fbrand { display: inline-flex; align-items: center; gap: 7px; color: var(--ink2); font-family: var(--font-display); font-weight: 600; }
.foot .fbrand .mark { width: 18px; height: 18px; border-radius: 5px; }
h1, h2 { font-family: var(--font-display); letter-spacing: -.02em; }
h1 { font-size: 26px; margin: 14px 0; }
h2 { font-size: 20px; margin: 26px 0 12px; }
.muted { color: var(--muted); } .small { font-size: 13px; } .rsp { flex: 1; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 16px; margin: 12px 0; box-shadow: var(--shadow); }
input[type=text], input[type=tel], input[type=password], textarea, select {
  width: 100%; padding: 12px; font-size: 16px; border: 1px solid var(--line);
  border-radius: 10px; margin: 6px 0; font-family: inherit; background: var(--surface); color: var(--ink); }
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
textarea { resize: vertical; }
.row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.btn { display: inline-block; padding: 11px 20px; border-radius: 10px; border: 1px solid var(--line);
  background: var(--surface); color: var(--ink); font-size: 16px; cursor: pointer; text-decoration: none; font-family: inherit; }
.btn:hover { border-color: var(--accent); color: var(--accent); }
.btn.primary { background: var(--accent); color: var(--on-accent); border-color: var(--accent); font-weight: 700; }
.btn.primary:hover { color: var(--on-accent); box-shadow: var(--glow); }
.btn.big { font-size: 18px; padding: 13px 26px; }
.btn.small { padding: 7px 13px; font-size: 14px; }
.btn.danger { color: #a00; }
/* Semantic/state colors below are the product's EXISTING values, kept exactly as-is per brand adjustment 2026-11-02 — do not map to brand tokens. */
.error { color: var(--error); background: #fdecec; border: 1px solid #f5c6c6; padding: 10px 14px; border-radius: 10px; }
.okmsg { color: var(--success); background: #E3F2EA; border: 1px solid #c8e6c9; padding: 10px 14px; border-radius: 10px; }
.hero { text-align: center; padding: 26px 0 10px; }
.hero h1 { font-size: 40px; margin-bottom: 6px; display: flex; align-items: center; justify-content: center; gap: 14px; }
.hero-mark { width: 52px; height: 52px; border-radius: 13px; }
.lede { font-size: 21px; font-weight: 700; font-family: var(--font-display); letter-spacing: -.01em; }
.heroform { display: flex; gap: 8px; }
.heroform input { margin: 0; }
.steps { display: grid; gap: 10px; }
.step { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 13px 15px; }
.step b { color: var(--accent); }
.cards { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.bcard { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 14px; display: flex; flex-direction: column; gap: 6px; }
.bcard span { color: var(--muted); font-size: 14px; }
.cta { text-align: center; margin: 30px 0; }
/* editor */
.edtools { margin-bottom: 12px; }
.scard { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 12px; margin: 10px 0; }
.shead { display: flex; align-items: center; gap: 6px; margin-bottom: 6px; }
.snum { background: var(--accent-soft); color: var(--accent); font-weight: 800; border-radius: 999px; width: 30px; height: 30px; display: flex; align-items: center; justify-content: center; font-size: 13px; }
.mini { border: 1px solid var(--line); background: var(--surface); color: var(--ink); border-radius: 8px; padding: 5px 10px; cursor: pointer; font-size: 14px; }
.mini.danger { color: #a00; }
/* deck list */
.decklist { display: grid; gap: 10px; }
.dcard { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 14px; display: flex; flex-direction: column; gap: 8px; }
@media (max-width: 480px) { .heroform { flex-direction: column; } .cards { grid-template-columns: 1fr; } }
