
/* Layout: one column, phone-first; a goal band under each screen title; forms built from a schema. */
:root{
  --bg:#f5f3ee; --paper:#e7ecef; --ink:#1e2a2b; --muted:#5f6b6b; --line:#d9d5cc; --field:#e7ecef;
  --accent:#0f6e66; --accent-ink:#ffffff; --accent-soft:#dcefec;
  --goal-bg:#d6e6f5; --goal-ink:#1b365d; --goal-line:#4a7fb8;
  --good:#2f7d32; --good-bg:#e1f1df; --bad:#b4412f; --bad-bg:#fbe3df; --warn:#9a6a00; --warn-bg:#fff0c2;
  --font-body:"Atkinson Hyperlegible","Segoe UI",system-ui,sans-serif; --font-head:Rubik,"Segoe UI",system-ui,sans-serif;
}
@media (prefers-color-scheme: dark){ :root:not([data-theme="light"]){
  --bg:#171a1a; --paper:#222626; --ink:#eef0ec; --muted:#a7b0ad; --line:#3a4140; --field:#1c2020;
  --accent:#4fb8ae; --accent-ink:#0d1f1d; --accent-soft:#163a37;
  --goal-bg:#1e3350; --goal-ink:#d6e6f5; --goal-line:#6ea2dc;
  --good:#8fd48f; --good-bg:#1f3a1f; --bad:#ff9d8a; --bad-bg:#4a221c; --warn:#ffd36b; --warn-bg:#4a3a0f; color-scheme:dark } }
:root[data-theme="dark"]{
  --bg:#171a1a; --paper:#222626; --ink:#eef0ec; --muted:#a7b0ad; --line:#3a4140; --field:#1c2020;
  --accent:#4fb8ae; --accent-ink:#0d1f1d; --accent-soft:#163a37;
  --goal-bg:#1e3350; --goal-ink:#d6e6f5; --goal-line:#6ea2dc;
  --good:#8fd48f; --good-bg:#1f3a1f; --bad:#ff9d8a; --bad-bg:#4a221c; --warn:#ffd36b; --warn-bg:#4a3a0f; color-scheme:dark }
*{box-sizing:border-box}
body{background:var(--bg);color:var(--ink);font-family:var(--font-body);font-size:17px;line-height:1.4;margin:0;padding-block:0 40px;padding-left:max(16px,env(safe-area-inset-left,0px));padding-right:max(16px,env(safe-area-inset-right,0px))}
.wrap{max-width:560px;margin:0 auto}
h1,h2,h3{font-family:var(--font-head);text-wrap:balance;margin:0}
h1{font-size:28px;font-weight:700;letter-spacing:-.01em}
h2{font-size:22px;font-weight:700}
.top{position:sticky;top:env(safe-area-inset-top,0px);z-index:5;background:var(--bg);display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px 0 8px;border-bottom:1px solid var(--line);margin-bottom:12px}
.brand{display:flex;align-items:baseline;gap:8px}
.brand .mark{font-family:var(--font-head);font-weight:700;font-size:22px;color:var(--accent)}
.brand .sub{font-size:13px;color:var(--muted)}
.who{font-size:14px;color:var(--muted);text-align:right}
.banner{border-radius:10px;padding:10px 12px;font-size:14px;margin-bottom:12px;background:var(--warn-bg);color:var(--warn);border:1px solid color-mix(in srgb,var(--warn) 40%,transparent)}
.banner b{display:block;font-size:15px}
.banner.live{background:var(--good-bg);color:var(--good);border-color:color-mix(in srgb,var(--good) 40%,transparent)}
.banner.off{background:var(--bad-bg);color:var(--bad);border-color:color-mix(in srgb,var(--bad) 40%,transparent)}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;font:inherit;font-weight:700;border-radius:12px;padding:13px 16px;border:2px solid var(--line);background:var(--paper);color:var(--ink);cursor:pointer;min-height:48px}
.btn.primary{background:var(--accent);border-color:var(--accent);color:var(--accent-ink)}
.btn.danger{color:var(--bad);border-color:color-mix(in srgb,var(--bad) 50%,transparent)}
.btn.small{padding:8px 12px;min-height:38px;font-size:15px;border-radius:10px}
.btn.wide{width:100%}
.btn:focus-visible,.cell:focus-visible,.seg button:focus-visible,.chip:focus-visible{outline:3px solid var(--goal-line);outline-offset:2px}
.btn[disabled]{opacity:.5;cursor:default}
.back{background:none;border:0;color:var(--accent);font:inherit;font-weight:700;padding:6px 0;cursor:pointer}
.cards{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.card{display:flex;flex-direction:column;gap:4px;text-align:left;background:var(--paper);border:2px solid var(--line);border-left:6px solid var(--c,var(--accent));border-radius:12px;padding:12px 12px 12px 14px;cursor:pointer;font:inherit;color:var(--ink);min-height:92px}
.card .t{font-family:var(--font-head);font-weight:700;font-size:17px;line-height:1.2}
.card .d{font-size:13px;color:var(--muted)}
.card .n{font-size:13px;color:var(--c,var(--accent));font-weight:700;margin-top:auto}
.goal{background:var(--goal-bg);color:var(--goal-ink);border-left:5px solid var(--goal-line);border-radius:8px;padding:10px 12px;font-size:14px;line-height:1.35;margin:10px 0 14px}
.goal b{display:block;margin-bottom:2px}
.lbl{display:block;font-size:14px;font-weight:700;color:var(--muted);letter-spacing:.02em;margin:16px 0 6px;text-transform:uppercase}
.lbl .opt{font-weight:400;text-transform:none;letter-spacing:0}
.lbl .req{color:var(--bad);font-size:12px;margin-left:6px}
.help{font-size:13px;color:var(--muted);margin-top:4px}
input[type=password],input[type=text],input[type=date],input[type=time],input[type=number],input[type=url],select,textarea{font:inherit;font-size:18px;color:var(--ink);background:var(--field);border:2px solid var(--line);border-radius:10px;padding:11px 12px;width:100%;min-height:50px}
textarea{min-height:76px;resize:vertical}
input:focus,select:focus,textarea:focus{outline:none;border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-soft)}
.row{display:flex;gap:10px}.row>*{flex:1;min-width:0}
.seg{display:flex;flex-wrap:wrap;gap:6px}
.seg button{flex:1 1 auto;font:inherit;font-weight:700;font-size:15px;padding:10px 8px;border:2px solid var(--line);border-radius:10px;background:var(--paper);color:var(--muted);cursor:pointer;min-height:46px}
.seg button.on{background:var(--accent);border-color:var(--accent);color:var(--accent-ink)}
.chips{display:flex;flex-wrap:wrap;gap:6px}
.chip{font:inherit;font-size:15px;padding:7px 12px;border-radius:999px;border:2px solid var(--line);background:var(--paper);color:var(--ink);cursor:pointer}
.chip.on{background:var(--accent-soft);border-color:var(--accent);color:var(--ink);font-weight:700}
.count{display:flex;align-items:center;gap:10px}
.count input{width:76px;text-align:center;font-size:24px;font-weight:700;padding:6px}
.count .of{color:var(--muted);font-size:15px}
.count .pct{margin-left:auto;font-weight:700;font-size:20px;color:var(--good);font-variant-numeric:tabular-nums}
.count .pct.bad{color:var(--bad)}
.words{display:flex;flex-wrap:wrap;gap:6px;border:2px solid var(--line);border-radius:10px;padding:8px;background:var(--field);min-height:50px;align-items:center}
.words .w{background:var(--bad-bg);color:var(--bad);border-radius:999px;padding:3px 10px;font-weight:700;font-size:15px;display:inline-flex;gap:6px;align-items:center}
.words .w button{border:0;background:none;color:inherit;font:inherit;cursor:pointer;padding:0 2px;font-size:17px}
.words input{border:0;background:transparent;min-height:32px;padding:4px 6px;flex:1;min-width:120px;font-size:17px}
.words input:focus{box-shadow:none}
.actions{display:flex;flex-direction:column;gap:10px;margin-top:22px}
.toast{position:fixed;left:50%;bottom:calc(24px + env(safe-area-inset-bottom,0px));transform:translateX(-50%);background:var(--ink);color:var(--bg);padding:12px 18px;border-radius:12px;font-weight:700;z-index:20;max-width:90vw}
.err{background:var(--bad-bg);color:var(--bad);border-radius:10px;padding:10px 12px;font-weight:700;margin-top:12px}
.filters{display:flex;flex-wrap:wrap;gap:6px;margin:10px 0 14px}
.list{display:flex;flex-direction:column;gap:10px}
.entry{background:var(--paper);border:2px solid var(--line);border-left:6px solid var(--c,var(--accent));border-radius:12px;padding:12px 14px;cursor:pointer}
.entry .h{display:flex;justify-content:space-between;gap:8px;font-size:14px;color:var(--muted)}
.entry .h b{color:var(--c,var(--accent))}
.entry .s{margin-top:4px;font-size:16px}
.entry .tag{display:inline-block;font-size:12px;font-weight:700;background:var(--warn-bg);color:var(--warn);border-radius:6px;padding:1px 6px;margin-left:6px;vertical-align:middle}
.detail{margin-top:10px;border-top:1px solid var(--line);padding-top:10px;font-size:15px;display:grid;grid-template-columns:1fr;gap:4px}
.detail div b{color:var(--muted);font-weight:700;font-size:13px;text-transform:uppercase;letter-spacing:.02em;display:block}
.detail .acts{display:flex;gap:8px;margin-top:8px}
.empty{color:var(--muted);padding:24px 8px;text-align:center;font-size:16px}
.settings{margin-top:28px;border-top:1px solid var(--line);padding-top:14px;font-size:14px;color:var(--muted)}
.settings .btns{display:flex;flex-wrap:wrap;gap:8px;margin-top:8px}
.lock{max-width:420px;margin:30px auto;text-align:center}.lock p{color:var(--muted)}
.btn.busy{opacity:.6;pointer-events:none}
@media (max-width:420px){.cards{grid-template-columns:1fr 1fr}.card{min-height:84px}}
@media (prefers-reduced-motion:no-preference){.toast{animation:pop .2s ease-out}@keyframes pop{from{opacity:0;transform:translate(-50%,8px)}}}

/* Visual-only candidate; all live field definitions and behavior are retained. */
:root{--bg:#f4f6fa;--paper:#e7ecef;--ink:#17263e;--muted:#58677d;--line:#dce3ec;--field:#e7ecef;--accent:#176759;--accent-ink:#fff;--accent-soft:#e7f3ee;--goal-bg:#eef3fb;--goal-ink:#29486e;--goal-line:#7698c6;--font-body:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;--font-head:var(--font-body);--warn:#775218;--warn-bg:#fff6df}
body{font-size:16px;line-height:1.55;padding:0 24px 48px;background:var(--bg);color:var(--ink)}
.app-shell{max-width:1440px;margin:auto;display:grid;grid-template-columns:216px minmax(0,1fr);gap:44px;align-items:start}
.workspace-nav{position:sticky;top:0;min-height:100vh;padding:36px 0 24px;display:flex;flex-direction:column;gap:32px}
.nav-brand{font-size:23px;line-height:1.15;letter-spacing:-.8px;font-weight:800;color:var(--ink);display:flex;align-items:center;gap:11px}
.nav-brand svg{width:34px;height:34px;color:#496d9d;flex-shrink:0}.nav-kicker{font-size:11px;letter-spacing:.12em;font-weight:700;text-transform:uppercase;color:var(--muted);margin:0 0 8px 12px}
.workspace-nav nav{display:flex;flex-direction:column;gap:7px}.nav-item{background:transparent;border:0;border-radius:12px;text-align:left;color:#56647b;font:inherit;font-size:15px;font-weight:650;min-height:48px;padding:10px 14px;cursor:pointer;display:flex;align-items:center;gap:11px}.nav-item svg{width:20px;height:20px;flex-shrink:0}.nav-item.active{background:#e7edf7;color:#274c7e}.nav-bottom{margin-top:auto;border:1px solid var(--line);border-radius:14px;padding:16px;font-size:13px;color:var(--muted);background:rgba(231,236,239,.6)}.nav-bottom strong{display:block;color:var(--ink);margin-bottom:5px}
.wrap{width:100%;max-width:none;min-width:0;padding:22px 0 0}.top{background:var(--bg);padding:10px 0 18px;border:0;margin:0 0 16px;min-height:62px}.brand{display:block}.brand .mark{display:none}.brand .sub{font-size:15px;color:#41536d;font-weight:650;letter-spacing:-.1px}.who .btn{border:1px solid var(--line);box-shadow:0 1px 2px #192b4210;background:#e7ecef;min-height:44px;padding:8px 15px}
.banner{display:flex;align-items:center;gap:16px;margin-bottom:36px;padding:12px 18px;border:1px solid #eadbb4;border-radius:12px;font-size:13px;background:#fff9e9;color:#705018;flex-wrap:wrap}.banner b{font-size:13px;white-space:nowrap}.banner p{margin:0;color:inherit;font-size:12px;flex:1 1 260px}.banner.live{background:#edf7f3;border-color:#cce5d9;color:#27634c}
h1{font-size:clamp(27px,2.4vw,36px);font-weight:750;letter-spacing:-1.1px;line-height:1.2;text-wrap:pretty}h2{letter-spacing:-.4px}.help{font-size:14px;line-height:1.55;color:var(--muted)}
.cards{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-top:28px}.card{position:relative;min-height:184px;border:1px solid var(--line);border-left:1px solid var(--line);border-radius:18px;padding:25px 22px 21px;box-shadow:0 3px 8px #1d345504;gap:10px;transition:transform .15s,box-shadow .15s,border-color .15s}.card::before{content:"";width:27px;height:5px;border-radius:8px;background:var(--c);display:block;margin-bottom:6px}.card .t{font-size:18px;font-weight:700;letter-spacing:-.25px}.card .d{font-size:13px;line-height:1.55;max-width:25ch;color:#5b697d;flex:1}.card .n{font-size:12px;font-weight:650;color:#53637a;margin-top:3px}.card:hover{border-color:#9eb6d1;box-shadow:0 8px 24px #243c6011;transform:translateY(-2px)}
.actions{gap:12px;margin-top:24px}.btn{border-width:1px;border-radius:11px;min-height:48px;font-size:15px;font-weight:650;padding:12px 18px;box-shadow:0 2px 3px #21385205}.btn.primary{box-shadow:0 3px 8px #17675920;background:#176759;border-color:#176759}.btn.wide{width:auto}.actions>.btn{width:100%}.btn.small{min-height:44px}.back{font-size:14px;min-height:44px;margin-bottom:12px;padding:0 3px;font-weight:650}.goal{border:1px solid #dce6f4;border-left:3px solid #92acd1;border-radius:12px;background:#edf3fc;margin:18px 0 24px;padding:15px 18px;font-size:14px;max-width:840px}.goal b{font-size:13px;color:#315680;margin-bottom:4px}
#entry{max-width:840px;background:var(--paper);border:1px solid var(--line);border-radius:18px;padding:8px 28px 28px;box-shadow:0 4px 15px #1d345504}label.lbl{font-size:13px;color:#485c75;text-transform:none;letter-spacing:0;font-weight:650;margin:20px 0 7px}.lbl .req{font-size:10px;letter-spacing:.05em;color:#846237;margin-left:8px}.lbl .opt{font-size:12px}.fld{min-width:0}.row{gap:24px}input[type=password],input[type=text],input[type=date],input[type=time],input[type=number],input[type=url],select,textarea{border:1px solid #cbd6e4;border-radius:10px;font-size:16px;min-height:48px;padding:11px 13px;line-height:1.45}textarea{min-height:122px}input:focus,select:focus,textarea:focus{border-color:#517bae;box-shadow:0 0 0 3px #5d89c321}.seg button,.chip{border-width:1px;min-height:44px}.seg button{font-size:14px;font-weight:600}.chip{font-size:13px;padding:8px 15px}.filters{margin:22px 0 22px;gap:8px}.list{max-width:900px;gap:15px}.entry{border-width:1px;border-left-width:4px;border-radius:14px;padding:20px 22px;box-shadow:0 3px 8px #1d345504}.entry .h{font-size:13px}.entry .s{font-size:16px;line-height:1.6;margin-top:9px;overflow-wrap:anywhere}.detail{padding-top:18px;margin-top:18px;gap:10px}.detail>input{max-width:420px}.detail>.btn{justify-self:start}.detail>details{border-top:1px solid var(--line);padding-top:16px;margin-top:10px}.detail div b{text-transform:none;letter-spacing:0;font-size:13px}.detail summary{min-height:44px;cursor:pointer;padding:8px 0;font-weight:650}.detail .goal{max-width:100%}.settings{max-width:900px;font-size:12px;line-height:1.6;margin-top:32px;border-top-color:#e0e6ef}.lock{max-width:480px;background:#e7ecef;border:1px solid var(--line);padding:34px;border-radius:22px;box-shadow:0 12px 40px #253b5810;margin:35px auto}.lock h1{font-size:29px}.lock p{font-size:14px}.lock .actions .btn{width:100%}
body[data-screen="home"] #screen>.actions{max-width:260px}body[data-screen="home"] #screen>.help{margin-top:10px!important}.preview-strip{position:fixed;bottom:0;left:0;right:0;background:#283e60;color:#fff;text-align:center;font-size:11px;letter-spacing:.02em;padding:6px 12px;z-index:50}.preview-strip b{font-weight:700}
:focus-visible{outline:3px solid #4f75ac;outline-offset:3px}
@media(min-width:1100px){#entry{display:grid;grid-template-columns:1fr 1fr;column-gap:28px}#entry>.fld:has(textarea),#entry>.fld:has(.seg),#entry>.fld:has(.chips),#entry>.err,#entry>.actions,#entry>.row,#entry>label,#entry>input{grid-column:1/-1}#entry>.actions{flex-direction:row;justify-content:flex-end}#entry>.actions .btn{width:auto;min-width:144px}#entry>.actions .primary{order:2}body[data-screen="home"] .cards .card:last-child{grid-column:auto}}
@media(max-width:1150px){.app-shell{grid-template-columns:184px minmax(0,1fr);gap:26px}.cards{grid-template-columns:repeat(2,minmax(0,1fr))}.card{min-height:166px}.nav-brand{font-size:21px}.workspace-nav{padding-top:30px}}
@media(max-width:1000px){body{padding-left:24px;padding-right:24px}.app-shell{display:block}.workspace-nav{min-height:0;position:static;padding:24px 0 0;display:grid;grid-template-columns:1fr auto;gap:16px;align-items:center}.nav-brand{font-size:22px}.nav-kicker,.nav-bottom{display:none}.workspace-nav nav{flex-direction:row;gap:6px}.nav-item{font-size:13px;min-height:44px;padding:8px 12px}.wrap{padding-top:8px}.top{margin-bottom:8px}.banner{margin-bottom:27px}.cards{margin-top:24px;gap:16px}.card{min-height:160px}h1{font-size:30px}}
@media(max-width:520px){body{padding-left:18px;padding-right:18px;padding-bottom:60px}.workspace-nav{padding-top:20px;grid-template-columns:1fr}.workspace-nav nav{border-bottom:1px solid var(--line);padding-bottom:10px}.nav-item{flex:1;justify-content:center;font-size:14px}.nav-brand svg{width:29px;height:29px}.top{position:static;min-height:54px;padding:4px 0 14px}.brand .sub{font-size:13px}.who .btn{font-size:13px;min-height:44px}.banner{padding:12px 14px;gap:3px;font-size:12px;margin-bottom:25px}.banner p{font-size:11px;line-height:1.6}.cards{grid-template-columns:1fr;gap:13px}.card{min-height:132px;padding:19px 20px;gap:5px}.card::before{margin-bottom:6px;width:24px;height:4px}.card .t{font-size:18px}.card .d{font-size:14px;max-width:none}.card .n{font-size:12px}.card:hover{transform:none}h1{font-size:29px;letter-spacing:-.8px}#entry{padding:4px 18px 22px;border-radius:15px}.row{flex-direction:column;gap:0}.row>*{width:100%}.goal{font-size:13px;padding:13px 15px}.entry{padding:17px 16px}.entry .h{flex-wrap:wrap;gap:3px}.entry .s{font-size:15px}.lock{margin:20px auto;padding:26px 20px}.count{gap:7px}.count input{width:65px}.count .pct{font-size:18px}.preview-strip{font-size:10px}.filters{gap:6px}.chip{padding:7px 12px}.actions .btn{min-height:50px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{transition:none!important;animation:none!important}}

.words .w button{min-width:44px;min-height:44px;display:inline-flex;align-items:center;justify-content:center}
.entry .h b{color:var(--ink)}
input::placeholder,textarea::placeholder{color:#64748b;opacity:1}

/* Second visual direction: ocean rail, editorial hierarchy, considered details. */
:root{--bg:#f7f9fb;--ink:#1d3043;--muted:#5c6d7b;--line:#dfe7ec;--accent:#226e66;--accent-soft:#e7f3ee;--goal-bg:#eef4f8;--goal-ink:#34556e;--goal-line:#9ab5c7;--font-body:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;--font-head:var(--font-body)}
body{padding:0 38px 48px 0;background:#f7f9fb;color:var(--ink);font-size:15px;line-height:1.6}.app-shell{max-width:1800px;grid-template-columns:238px minmax(0,1fr);gap:42px;margin:0 auto;min-height:100vh}.workspace-nav{background:#193d49;color:#fff;padding:39px 20px 24px;gap:44px;top:0;min-height:100vh;border-radius:0 0 22px 0}.nav-brand{color:#f9fcfd;font-size:23px;font-weight:720;letter-spacing:-.8px;gap:10px;padding:0 9px}.nav-brand svg{width:31px;height:31px;color:#d3e7e5}.nav-brand svg rect{fill:#31565e}.nav-brand svg path:last-child{stroke:#a6d7c2}.nav-kicker{color:#b2c7cc;font-size:10px;letter-spacing:.14em;margin:0 0 13px 13px}.workspace-nav nav{gap:8px}.nav-item{color:#cadce0;font-size:14px;min-height:47px;padding:11px 14px;gap:12px;font-weight:560}.nav-item.active{color:white;background:#315860;box-shadow:inset 3px 0 #8ccec0}.nav-item svg{width:19px;height:19px}.nav-bottom{display:flex;align-items:center;gap:10px;padding:18px 7px 3px;background:transparent;border:0;border-radius:0;border-top:1px solid #3b5c65;color:#c2d5d9;font-size:11px}.nav-bottom strong{font-size:12px;font-weight:600;color:#f0f7f8;margin:0;line-height:1.6}.nav-bottom span{font-size:10px}.workspace-avatar{height:33px;width:33px;flex-shrink:0;background:#d9e6e1;color:#315b50;border-radius:11px;display:grid;place-items:center;font-size:13px!important;font-weight:750}.workspace-dots{margin-left:auto;font-size:20px!important;color:#b9d0d5;letter-spacing:1px}.wrap{padding-top:22px;max-width:1240px}.top{padding:0 0 22px;margin:0;min-height:67px;border-bottom:1px solid #e0e7ed;gap:18px;position:static;background:transparent}.top-context{display:flex;flex-direction:column;gap:2px}.top-context span{font-size:10px;letter-spacing:.04em;color:#73828e}.top-context strong{font-size:13px;font-weight:650;color:#2f495c}.brand{margin-left:auto}.brand .sub{font-weight:550;font-size:11px;color:#566b78;display:flex;align-items:center;gap:8px}.brand .sub::before{content:"";width:7px;height:7px;background:#7fae9b;border-radius:50%;display:inline-block}.who .btn{font-size:12px;min-height:39px;padding:7px 13px;border-color:#d7e1e7;border-radius:9px;box-shadow:none;color:#4d6575}.banner{font-size:11px;border:0;border-radius:8px;background:#eef1f6;color:#5a6173;margin:16px 0 23px;padding:9px 12px;gap:10px;line-height:1.5}.banner b{font-size:11px}.banner p{font-size:10px;flex-basis:220px}.banner.live{background:#eaf3ee;color:#3e6555}.welcome{min-height:316px;display:grid;grid-template-columns:1.16fr .84fr;align-items:center;margin:0 0 37px;padding:36px 42px 31px;border:1px solid #e2e9ed;border-radius:22px;background:#eef4f4;overflow:hidden;position:relative}.welcome-copy{position:relative;z-index:2}.eyebrow{font-size:9px;font-weight:700;color:#607786;letter-spacing:.15em;line-height:1.4;margin:0 0 13px}.welcome .eyebrow{display:flex;align-items:center;gap:7px;color:#46776f;font-size:9px}.welcome .eyebrow span{width:5px;height:5px;border-radius:50%;background:#74a893}.welcome h1{font-size:clamp(32px,3.05vw,46px);font-weight:650;letter-spacing:-1.9px;line-height:1.12;color:#244651;margin:0 0 17px}.welcome h1 em{font-family:ui-serif,Georgia,serif;font-size:1.07em;font-weight:450;font-style:italic;letter-spacing:-1.7px;color:#527f76}.welcome-description{color:#516d74;font-size:12px;line-height:1.8;margin:0}.welcome-caption{display:flex;align-items:center;gap:10px;color:#6d8388;font-size:9px;letter-spacing:.02em;margin-top:24px}.caption-line{width:26px;height:1px;background:#9ebbb3}.welcome-art{position:relative;align-self:stretch;min-height:245px}.art-orbit{position:absolute;border:1px solid #d2e2df;border-radius:50%;left:43%;top:48%;transform:translate(-50%,-50%)}.orbit-one{width:235px;height:235px}.orbit-two{width:295px;height:295px}.art-dot{position:absolute;width:9px;height:9px;border-radius:50%;background:#85b8a7}.dot-a{left:9%;top:37%}.dot-b{right:4%;bottom:28%;background:#ab9ec5;width:7px;height:7px}.art-card{position:absolute;background:#e7ecef;border:1px solid #e0e8e8;border-radius:15px;padding:19px;box-shadow:0 14px 30px #325a6411}.art-back{width:152px;height:174px;top:20px;left:8%;transform:rotate(-12deg);background:#f6f5fa;border-color:#e6e2ed}.art-tab{display:block;height:21px;width:25px;border-radius:7px;background:#d5cee5;margin:0 0 21px}.art-front{width:183px;height:207px;left:33%;top:33px;transform:rotate(7deg);padding:19px 20px}.art-check{color:#548773;background:#e9f3ed;width:29px;height:29px;display:grid;place-items:center;border-radius:10px;margin-bottom:13px}.art-check svg{width:20px;height:20px}.art-front b{font-size:11px;display:block;color:#38535c;margin-bottom:12px;font-weight:650}.art-line{height:4px;width:75%;background:#e3e9eb;border-radius:5px;margin-bottom:8px}.art-line.long{width:93%}.art-line.short{width:51%}.art-chip{display:flex;align-items:center;gap:5px;font-size:8px;color:#638073;margin-top:16px}.art-chip i{width:4px;height:4px;background:#7eaa92;border-radius:50%}.art-mini{position:absolute;white-space:nowrap;font-size:8px;font-weight:550;bottom:-7px;left:20%;color:#617f85;display:flex;align-items:center;gap:6px;background:#f9fcfb;border:1px solid #dce8e4;border-radius:99px;padding:8px 13px;transform:rotate(-4deg);box-shadow:0 4px 10px #31546108}.art-mini span{font-size:13px;color:#9486b2}.section-heading{display:flex;justify-content:space-between;align-items:end;gap:18px;margin-bottom:18px}.section-heading .eyebrow{font-size:8px;margin-bottom:6px;color:#758793}.section-heading h2{font-size:21px;letter-spacing:-.65px;line-height:1.3;font-weight:660;color:#263f53}.section-note{font-size:10px;color:#788a96;padding-bottom:3px}.record-section{margin-bottom:38px}.cards{grid-template-columns:repeat(3,minmax(0,1fr));gap:13px;margin:0}.card{min-height:171px;padding:20px 20px 15px;border:1px solid #e0e7ed;border-radius:15px;background:#e7ecef;gap:6px;box-shadow:0 2px 4px #223f5903;transition:box-shadow .18s,transform .18s,border-color .18s}.card::before{display:none}.card-top{display:flex;align-items:center;justify-content:space-between;width:100%;margin-bottom:7px}.goal-icon{height:33px;width:33px;background:color-mix(in srgb,var(--c) 10%,white);color:var(--c);border-radius:10px;display:grid;place-items:center}.goal-icon svg{width:21px;height:21px;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}.card-arrow{font-size:17px;color:#9babb6;line-height:1}.card .t{font-size:14px;line-height:1.35;letter-spacing:-.2px;font-weight:680;color:#30465a}.card .d{font-size:10px;line-height:1.65;color:#697b88;max-width:30ch;flex:none}.card .n{margin-top:auto;padding-top:13px;font-size:8px;color:#6d8290;font-weight:500;display:flex;align-items:center;gap:5px}.card .n i{height:4px;width:4px;border-radius:50%;background:#a4b4be}.card:hover{transform:translateY(-3px);border-color:#aac0c6;box-shadow:0 10px 23px #28495d0d}.card[data-go=note]{--c:#7b68a3!important;grid-column:span 2;background:#f7f5fb;border-color:#e5deef}.card[data-go=note] .goal-icon{background:#ebe6f3}.card[data-go=agenda]{--c:#52768c!important}.card[data-go=spelling]{--c:#4b8377!important}.card[data-go=writing]{--c:#537ba1!important}.card[data-go=selfmgmt]{--c:#6e75a0!important}.card[data-go=emotion]{--c:#81739a!important}.card[data-go=planner]{--c:#467b7a!important;grid-column:span 2}.card[data-go=note] .t{font-size:17px}.card[data-go=note] .d{font-size:11px;max-width:none}.recent-section{margin-bottom:24px}.text-link{display:flex;align-items:center;gap:13px;border:0;background:none;font:inherit;font-weight:600;color:#386b6d;cursor:pointer;font-size:11px;padding:0 0 2px;min-height:44px}.text-link span{font-size:17px}.recent-list{display:grid;grid-template-columns:1fr 1fr;gap:13px}.recent-item{display:flex;align-items:center;text-align:left;min-width:0;gap:13px;padding:16px;border:1px solid #e2e9ee;border-radius:13px;background:#e7ecef;color:inherit;cursor:pointer;font:inherit}.date-tile{width:39px;height:44px;flex-shrink:0;background:#f0f4f7;border:1px solid #e5ebef;border-radius:9px;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#526d7d}.date-tile b{font-size:14px;font-weight:650;line-height:1.1}.date-tile small{font-size:8px;text-transform:uppercase;letter-spacing:.06em}.recent-copy{min-width:0;flex:1;display:flex;flex-direction:column;gap:3px}.recent-copy strong{font-size:11px;font-weight:650;color:#3e5667}.recent-copy>span{font-size:9px;color:#728591;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.recent-arrow{color:#9baeb8;font-size:15px}.settings{margin-top:26px;font-size:10px;color:#7b8c97;padding-top:18px;max-width:none}.preview-strip{font-size:9px;padding:5px 10px;background:#294b57;letter-spacing:.03em}#screen>h1{font-size:34px;letter-spacing:-1.2px;font-weight:650;margin-bottom:10px}.back{color:#577887;font-size:12px}.goal{border-color:#dce6eb;border-left-color:#8ba9b3;background:#eef4f7;margin:19px 0 23px;font-size:13px;padding:15px 19px;border-radius:12px;max-width:920px}.goal b{font-size:11px;color:#486e80}#entry{max-width:920px;box-shadow:0 6px 24px #253d5005;border-radius:17px;border-color:#dce5eb;padding:8px 29px 29px}label.lbl{font-size:12px;color:#435e70;font-weight:650;margin:23px 0 7px}input[type=password],input[type=text],input[type=date],input[type=time],input[type=number],input[type=url],select,textarea{font-size:15px;border-color:#a6b5c1;min-height:49px;background:#fcfdfe;border-radius:9px;padding:12px 13px}textarea{min-height:135px}input:focus,select:focus,textarea:focus{border-color:#447c84;box-shadow:0 0 0 3px #cce2e34a;background:#e7ecef}.btn{border-radius:9px;border-color:#cbd9e1;font-size:13px;min-height:48px;font-weight:620}.btn.primary{background:#286c66;border-color:#286c66;box-shadow:0 4px 9px #286c6617}.actions{gap:10px}.chip{font-size:12px;min-height:44px}.seg button{font-size:13px}.filters{gap:7px}.entry{border-color:#dce6ed;border-left-width:3px;border-radius:13px;box-shadow:0 3px 9px #253f5203}.entry .h{font-size:12px}.entry .s{font-size:14px;line-height:1.8}.entry .h b{color:#385367}.detail div b{font-size:12px}.detail{font-size:13px}.lock{border-radius:20px;border-color:#dfe8eb;box-shadow:0 12px 45px #32576b0a;padding:40px}.lock p{font-size:13px}.lock h1{font-size:29px;color:#2b4f5c}.help{font-size:12px}
@media(min-width:1600px){.app-shell{gap:58px}.welcome{min-height:350px}.welcome h1{font-size:49px}.welcome-art{max-width:370px}.cards{gap:17px}.card{min-height:185px}}
@media(max-width:1200px){body{padding-right:26px}.app-shell{grid-template-columns:205px minmax(0,1fr);gap:28px}.workspace-nav{padding-left:14px;padding-right:14px}.nav-brand{font-size:21px}.welcome{padding:30px 30px;grid-template-columns:1.1fr .9fr}.welcome h1{font-size:37px}.welcome-art{transform:scale(.88);transform-origin:center}.art-front{left:28%}.cards{grid-template-columns:repeat(2,minmax(0,1fr))}.card[data-go=note],.card[data-go=planner]{grid-column:auto}.card[data-go=note]{grid-column:span 2}.card[data-go=note] .t{font-size:15px}.recent-list{grid-template-columns:1fr}}
@media(max-width:1000px){body{padding:0 28px 48px}.app-shell{display:block;min-height:0}.workspace-nav{position:static;min-height:0;background:transparent;padding:25px 0 9px;border-radius:0;display:flex;flex-direction:row;align-items:center;justify-content:space-between;gap:20px}.nav-brand{padding:0;color:#234956;font-size:23px}.nav-brand svg rect{fill:#e1eceb}.nav-brand svg{color:#4e7a7c}.nav-brand svg path:last-child{stroke:#5a9883}.nav-kicker,.nav-bottom{display:none}.workspace-nav nav{flex-direction:row;gap:6px}.nav-item{color:#637c8c;font-size:12px;min-height:44px;padding:9px 13px}.nav-item.active{color:#315e66;background:#e8eff2;box-shadow:none}.wrap{padding-top:6px}.top{padding:10px 0 17px;min-height:63px}.top-context strong{font-size:12px}.banner{margin:15px 0 24px}.welcome{min-height:310px;padding:35px 35px;margin-bottom:33px;grid-template-columns:1.1fr .9fr}.welcome h1{font-size:41px}.welcome-art{transform:scale(.92)}.cards{grid-template-columns:repeat(3,minmax(0,1fr))}.card[data-go=note],.card[data-go=planner]{grid-column:span 2}.card{min-height:177px}.section-heading h2{font-size:23px}.recent-list{grid-template-columns:1fr 1fr}}
@media(max-width:700px){.cards{grid-template-columns:repeat(2,minmax(0,1fr))}.card[data-go=planner]{grid-column:auto}.recent-list{grid-template-columns:1fr}.welcome{grid-template-columns:1fr .6fr;padding:27px;min-height:280px}.welcome h1{font-size:35px}.welcome-art{transform:scale(.7);transform-origin:left center}.art-back{left:0}.art-front{left:15%}.welcome-description{font-size:11px}.section-note{display:none}.top-context{display:none}.brand{margin-left:0}.top{justify-content:space-between}.card[data-go=note]{grid-column:span 2}}
@media(max-width:520px){body{padding:0 19px 54px}.workspace-nav{padding:22px 0 15px;gap:14px;display:block;border-bottom:1px solid #e1e8ed}.nav-brand{font-size:24px;letter-spacing:-.9px}.nav-brand svg{width:30px;height:30px}.workspace-nav nav{margin-top:20px;padding:0;border:0;gap:9px}.nav-item{font-size:13px;min-height:44px;flex:1;border:1px solid transparent;justify-content:center;border-radius:9px}.nav-item.active{background:#e8eff1;border-color:#dce6e9}.top{padding:14px 0 15px;border-bottom:0;min-height:61px}.brand .sub{font-size:10px}.who .btn{min-height:44px;font-size:11px;padding:7px 12px}.banner{font-size:10px;padding:10px 12px;margin:4px 0 21px;gap:4px;border-radius:9px}.banner b{font-size:10px}.banner p{font-size:9px}.welcome{display:block;padding:27px 24px 28px;min-height:0;margin-bottom:31px;border-radius:17px;background:#edf4f2}.welcome-art{display:none}.welcome .eyebrow{font-size:8px;margin-bottom:13px}.welcome h1{font-size:38px;line-height:1.09;letter-spacing:-1.5px;margin-bottom:15px}.welcome h1 em{letter-spacing:-1.3px}.welcome-description{font-size:12px;line-height:1.7}.welcome-caption{font-size:9px;margin-top:19px}.section-heading{margin-bottom:15px}.section-heading .eyebrow{font-size:8px;margin-bottom:6px}.section-heading h2{font-size:22px;letter-spacing:-.6px}.record-section{margin-bottom:30px}.cards{grid-template-columns:1fr;gap:11px}.card[data-go=note],.card[data-go=planner]{grid-column:auto}.card{min-height:0;padding:18px 18px 16px;border-radius:13px;display:grid;grid-template-columns:36px minmax(0,1fr) 15px;column-gap:13px;row-gap:3px;align-items:start}.card .card-top{grid-column:1;grid-row:1/4;display:block;margin:0}.goal-icon{width:36px;height:36px;border-radius:11px}.goal-icon svg{width:21px;height:21px}.card-arrow{position:absolute;right:17px;top:22px;font-size:17px}.card .t,.card[data-go=note] .t{grid-column:2;grid-row:1;font-size:15px;letter-spacing:-.25px}.card .d,.card[data-go=note] .d{grid-column:2;grid-row:2;font-size:10px;line-height:1.6;max-width:none}.card .n{grid-column:2;grid-row:3;font-size:8px;padding-top:7px;margin:0}.card:hover{transform:none}.recent-list{gap:10px}.recent-item{padding:15px 13px;gap:11px;border-radius:11px}.recent-copy strong{font-size:12px}.recent-copy>span{font-size:10px}.date-tile{width:39px;height:43px}.section-heading .text-link{font-size:10px;gap:8px}.settings{font-size:9px;line-height:1.8;margin-top:23px}.preview-strip{font-size:8px;line-height:1.5;padding:5px 8px}.back{min-height:44px;font-size:12px;margin-bottom:11px}#screen>h1{font-size:30px;letter-spacing:-1px}.goal{font-size:12px;padding:15px;border-radius:11px;margin:17px 0 22px}.goal b{font-size:11px}#entry{padding:4px 18px 24px;border-radius:14px}.lbl{font-size:12px}.help{font-size:11px}input[type=password],input[type=text],input[type=date],input[type=time],input[type=number],input[type=url],select,textarea{font-size:16px;min-height:50px;padding:12px;border-radius:9px}textarea{min-height:135px}.btn,.actions .btn{min-height:50px;font-size:14px}.entry{padding:18px 16px}.entry .h{font-size:11px}.entry .s{font-size:14px}.chip{font-size:12px;min-height:44px;padding:8px 12px}.count{gap:7px}.count input{width:65px}.count .of{font-size:13px}.count .pct{font-size:17px}.seg button{font-size:12px;min-height:44px}.words .w button{min-height:44px;min-width:44px}.lock{padding:30px 22px;margin:20px 0}.lock p{font-size:13px}.lock h1{font-size:28px}}


/* Readability pass after first rendered review. */
.card .t{font-size:16px}.card .d{font-size:13px;color:#586d7b;line-height:1.6}.card .n{font-size:10px;color:#5e7280}.section-note{font-size:12px;color:#5e7280}.welcome-description{font-size:14px}.welcome-caption{font-size:11px;color:#526e74}.section-heading .eyebrow{font-size:10px;color:#5e7280}.recent-copy strong{font-size:14px}.recent-copy>span{font-size:12px;color:#5e7280}.text-link{font-size:13px}.date-tile small{font-size:10px}.date-tile b{font-size:16px}.top-context span{font-size:11px}.brand .sub{font-size:12px}.banner,.banner b{font-size:12px}.banner p{font-size:11px}.settings{font-size:11px;color:#5e7280}label.lbl{font-size:13px}input[type=password],input[type=text],input[type=date],input[type=time],input[type=number],input[type=url],select,textarea{font-size:16px}.entry .s{font-size:16px}.entry .h{font-size:13px}.detail{font-size:14px}.help{font-size:13px}
@media(min-width:1001px){.welcome{min-height:267px;padding-top:25px;padding-bottom:25px;margin-bottom:28px}.welcome h1{font-size:43px}.welcome-art{min-height:215px;transform:scale(.87);transform-origin:center}.card{min-height:166px}}
@media(max-width:520px){.card .t,.card[data-go=note] .t{font-size:16px}.card .d,.card[data-go=note] .d{font-size:12px}.card .n{font-size:10px}.welcome-description{font-size:13px}.welcome-caption{font-size:10px}.brand .sub{font-size:11px}.banner,.banner b{font-size:11px}.banner p{font-size:10px}.recent-copy strong{font-size:13px}.recent-copy>span{font-size:11px}.settings{font-size:10px}.section-heading .eyebrow{font-size:9px}}

.preview-strip{position:relative;left:auto;right:auto;bottom:auto;margin-top:22px}
@media(min-width:1201px){body[data-screen="home"] .cards .card:last-child{grid-column:span 2}}
@media(max-width:520px){.welcome{padding:23px 23px 25px}.welcome-caption,.welcome-extra,.welcome-break{display:none}.welcome-description{margin:0;font-size:12px}.welcome h1{margin-bottom:13px}.welcome .eyebrow{margin-bottom:12px}}

/* Reference-inspired category navigation: bold panels, layered states, shared color. */
:root{--explorer-note:#66548f;--explorer-agenda:#3d6d87;--explorer-spelling:#2c7d76;--explorer-writing:#48679d;--explorer-selfmgmt:#5f6c97;--explorer-emotion:#7f5895;--explorer-planner:#327889}
body{--selected-goal:#66548f}body[data-goal=agenda]{--selected-goal:#3d6d87}body[data-goal=spelling]{--selected-goal:#2c7d76}body[data-goal=writing]{--selected-goal:#48679d}body[data-goal=selfmgmt]{--selected-goal:#5f6c97}body[data-goal=emotion]{--selected-goal:#7f5895}body[data-goal=planner]{--selected-goal:#327889}
.welcome{background:#ecf2f7;border-color:#dce6ed;min-height:235px!important;padding-top:24px!important;padding-bottom:24px!important}.welcome h1{font-size:42px}.welcome h1 em{color:#5b6e9b}.welcome .eyebrow{color:#4b6482}.welcome-art .art-back{background:#efedf8;transform:rotate(-13deg) translateY(-3px)}.welcome-art .art-front{transform:rotate(7deg);border-color:#d4e1e8}.welcome-art .art-check{background:#e7eef8;color:#587eae}.welcome-art .art-mini{color:#586c91}.welcome-caption{color:#586e84}.section-heading{align-items:center}.layout-switch{display:flex;gap:3px;padding:4px;border:1px solid #dce5eb;border-radius:11px;background:#edf2f6}.layout-switch button{min-height:42px;border:0;border-radius:8px;padding:8px 12px;display:flex;align-items:center;gap:7px;background:transparent;color:#536a7d;font:inherit;font-size:12px;font-weight:600;cursor:pointer}.layout-switch button svg{height:17px;width:17px;stroke:currentColor;stroke-width:1.4}.layout-switch button[aria-pressed=true]{background:#e7ecef;color:#294f70;box-shadow:0 2px 5px #2a4f6b12}
.cards{gap:15px;perspective:1200px}.card,.card[data-go=note]{position:relative;overflow:hidden;isolation:isolate;min-height:180px;grid-column:auto!important;padding:23px 23px 19px;border-radius:17px;border:1px solid #ffffff30;background:linear-gradient(132deg,var(--tile-start),var(--tile-end));color:#fff;box-shadow:0 8px 18px #18334d13;transform:translateY(0) rotateX(0deg);transition:transform .24s cubic-bezier(.2,.8,.2,1),box-shadow .24s,border-color .2s}.card[data-go=note]{--tile-start:#705f96;--tile-end:#514173}.card[data-go=agenda]{--tile-start:#386f89;--tile-end:#2c5675}.card[data-go=spelling]{--tile-start:#26746c;--tile-end:#205c64}.card[data-go=writing]{--tile-start:#4a699e;--tile-end:#3d5a8e}.card[data-go=selfmgmt]{--tile-start:#586794;--tile-end:#475782}.card[data-go=emotion]{--tile-start:#815994;--tile-end:#6b477f}.card[data-go=planner]{--tile-start:#24727e;--tile-end:#286775}
.card::after{content:"";position:absolute;z-index:-1;width:195px;height:195px;right:-54px;top:-46px;border:1px solid #ffffff20;border-radius:50%;box-shadow:0 0 0 22px #ffffff05,0 0 0 44px #ffffff04;pointer-events:none;transition:transform .35s}.card::before{display:block;content:"";position:absolute;z-index:-1;inset:auto -20% -70% 12%;height:150%;border-radius:50%;background:linear-gradient(140deg,#ffffff00,#ffffff0e);transform:rotate(-22deg);width:auto;margin:0}.goal-icon,.card[data-go=note] .goal-icon{background:#e7ecef18;border:1px solid #ffffff17;color:white;backdrop-filter:blur(2px);width:39px;height:39px;border-radius:12px}.goal-icon svg{width:23px;height:23px;stroke-width:1.5}.card-top{margin-bottom:16px}.card-arrow{color:#fff;opacity:.85;transform:translate(0,0);transition:transform .2s,opacity .2s}.card .t,.card[data-go=note] .t{font-size:18px;color:#fff;font-weight:650;letter-spacing:-.25px}.card .d,.card[data-go=note] .d{font-size:12px;color:#fff;opacity:1;max-width:none}.card .n{font-size:10px;color:#fff;opacity:1;padding-top:17px}.card .n i{background:#e7ecef;opacity:.75}.card:is(:hover,:focus-visible){transform:translateY(-6px) rotateX(2deg);box-shadow:0 15px 28px #21334c25;border-color:#ffffffa0;z-index:3}.card:is(:hover,:focus-visible)::after{transform:translate(-10px,9px) scale(1.08)}.card:is(:hover,:focus-visible) .card-arrow{transform:translate(3px,-3px);opacity:1}.card:focus-visible{outline:3px solid #284f78;outline-offset:4px}.card:active{transform:translateY(-2px) scale(.985);transition-duration:.08s}.card:last-child{grid-column:auto!important}.cards .card:nth-child(7){grid-column:span 3!important;min-height:140px;display:grid;grid-template-columns:auto minmax(0,1fr) auto;column-gap:17px;align-items:center}.cards .card:nth-child(7) .card-top{grid-column:1;grid-row:1/4;margin:0}.cards .card:nth-child(7) .card-arrow{position:absolute;right:25px;top:25px}.cards .card:nth-child(7) .t,.cards .card:nth-child(7) .d,.cards .card:nth-child(7) .n{grid-column:2}.cards .card:nth-child(7) .n{padding-top:5px}
.record-section[data-layout=stack] .cards{display:flex;flex-direction:column;gap:0;padding-top:3px;perspective:1500px}.record-section[data-layout=stack] .card{display:grid;grid-template-columns:44px minmax(0,1fr) auto;gap:3px 18px;min-height:115px;margin-top:-10px;transform:translateX(0);border-radius:14px;box-shadow:0 -3px 8px #1e324b0b;padding:23px 26px 21px}.record-section[data-layout=stack] .card:first-child{margin-top:0}.record-section[data-layout=stack] .card-top{grid-column:1;grid-row:1/4;display:block;margin:0}.record-section[data-layout=stack] .card-arrow{position:absolute;right:25px;top:28px}.record-section[data-layout=stack] .card .t,.record-section[data-layout=stack] .card .d,.record-section[data-layout=stack] .card .n{grid-column:2}.record-section[data-layout=stack] .card .n{padding-top:4px}.record-section[data-layout=stack] .card:is(:hover,:focus-visible){transform:translateX(12px);z-index:4;box-shadow:0 9px 24px #22374d22}.record-section[data-layout=stack] .card:nth-child(2n){margin-left:8px}.record-section[data-layout=stack] .card:nth-child(3n){margin-left:16px}
.all-goals-toggle{display:flex;align-items:center;gap:7px;border:1px solid #d8e2e8;background:#e7ecef;color:#395c75;border-radius:9px;min-height:44px;padding:8px 11px;font:inherit;font-size:12px;font-weight:600;cursor:pointer}.all-goals-toggle svg{width:18px;height:18px}.all-goals-toggle:hover{background:#eef3f8}.all-goals-toggle[hidden]{display:none}.top{gap:12px}.who .btn{min-height:44px}.top-context{margin-right:auto}.brand{margin-left:0}#goal-dialog{border:1px solid #e0e7ed;border-radius:23px;padding:26px;width:min(520px,calc(100vw - 30px));max-height:85vh;color:#233c51;box-shadow:0 28px 80px #152f4b40;background:#e7ecef}#goal-dialog::backdrop{background:#102c4566;backdrop-filter:blur(5px)}.goal-dialog-top{display:flex;align-items:start;justify-content:space-between;gap:15px;margin-bottom:23px}.goal-dialog-top h2{font-size:24px;letter-spacing:-.6px}.goal-dialog-top .eyebrow{font-size:10px}.goal-dialog-top>button{border:1px solid #d8e3eb;background:#f3f6f9;border-radius:50%;width:44px;height:44px;flex-shrink:0;font-size:24px;color:#395e77;cursor:pointer}#goal-dialog-options{display:grid;gap:7px}.dialog-goal{display:flex;align-items:center;gap:12px;min-height:57px;border:1px solid #dde6ed;border-radius:12px;padding:9px 13px;background:#f8fafc;font:inherit;font-size:14px;color:#2e4e66;font-weight:600;cursor:pointer;text-align:left}.dialog-goal>span:last-child{margin-left:auto;color:#536f86}.dialog-goal:hover,.dialog-goal:focus-visible{background:#eaf1f8;border-color:#8ba9c3}.dialog-goal-icon{width:31px;height:31px;display:grid;place-items:center;border-radius:9px;background:#e6edf6;color:#557798}.dialog-goal-icon svg{width:20px;height:20px;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}.dialog-hint{font-size:11px;color:#61798b;margin:18px 0 0}
body[data-screen=form] #screen>h1{color:var(--selected-goal);border-bottom:3px solid color-mix(in srgb,var(--selected-goal) 25%,white);padding:0 0 18px;max-width:920px}body[data-screen=form] .goal{background:color-mix(in srgb,var(--selected-goal) 8%,white);border-color:color-mix(in srgb,var(--selected-goal) 18%,white);border-left-color:var(--selected-goal)}body[data-screen=form] .goal b{color:var(--selected-goal)}body[data-screen=form] .btn.primary{background:var(--selected-goal);border-color:var(--selected-goal)}body[data-screen=form] input:focus,body[data-screen=form] textarea:focus,body[data-screen=form] select:focus{border-color:var(--selected-goal);box-shadow:0 0 0 3px color-mix(in srgb,var(--selected-goal) 15%,transparent)}::view-transition-old(root){animation:goal-leave .12s ease-out both}::view-transition-new(root){animation:goal-arrive .2s ease-out both}@keyframes goal-leave{to{opacity:0;transform:translateY(-4px)}}@keyframes goal-arrive{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:1200px) and (min-width:1001px){.cards{grid-template-columns:repeat(2,minmax(0,1fr))}.cards .card:nth-child(7){grid-column:span 2!important}}
@media(max-width:1000px){.welcome{min-height:275px!important}.cards{grid-template-columns:repeat(2,minmax(0,1fr))}.cards .card:nth-child(7){grid-column:span 2!important}.card{min-height:180px}}
@media(max-width:700px){.top-context{display:none}.brand{margin-right:auto}.welcome-art{display:none}.welcome{display:block;min-height:0!important}.welcome h1{font-size:38px}.layout-switch button{font-size:11px;padding:8px 10px}.all-goals-toggle{font-size:11px}.cards{grid-template-columns:repeat(2,minmax(0,1fr))}.card .t,.card[data-go=note] .t{font-size:16px}.card{padding:19px}}
@media(max-width:520px){.top{gap:7px}.brand .sub{font-size:10px}.all-goals-toggle{padding:7px 9px;min-width:44px}.all-goals-toggle span{display:none}.all-goals-toggle svg{width:19px;height:19px}.welcome{padding:23px 22px!important;margin-bottom:27px;border-radius:16px}.welcome h1{font-size:35px;line-height:1.1}.welcome h1 em{letter-spacing:-1.2px}.welcome-description{font-size:12px}.section-heading h2{font-size:20px}.section-heading .eyebrow{font-size:9px}.layout-switch{padding:3px;gap:0}.layout-switch button{min-height:44px;padding:7px 9px;font-size:10px;gap:5px}.layout-switch svg{width:14px;height:14px}.cards{grid-template-columns:1fr;gap:11px}.card,.card[data-go=note],.cards .card:nth-child(7){display:grid!important;grid-template-columns:39px minmax(0,1fr) 8px;gap:4px 13px;min-height:128px;grid-column:auto!important;padding:20px 18px 17px;border-radius:14px}.card .card-top,.cards .card:nth-child(7) .card-top{grid-column:1;grid-row:1/4;margin:0;display:block}.goal-icon{width:36px;height:36px;border-radius:11px}.card .t,.card[data-go=note] .t{font-size:17px;grid-column:2}.card .d,.card[data-go=note] .d{font-size:12px;grid-column:2;line-height:1.6}.card .n{grid-column:2;font-size:10px;padding-top:8px}.card-arrow,.cards .card:nth-child(7) .card-arrow{position:absolute;right:16px;top:21px;font-size:17px}.record-section[data-layout=stack] .card{grid-template-columns:39px minmax(0,1fr) 8px;min-height:128px;margin-top:-11px;padding:22px 18px 18px;border-radius:12px}.record-section[data-layout=stack] .card:nth-child(2n){margin-left:6px}.record-section[data-layout=stack] .card:nth-child(3n){margin-left:11px}.record-section[data-layout=stack] .card:is(:hover,:focus-visible){transform:translateX(5px)}.card:is(:hover,:focus-visible){transform:translateY(-3px)}#goal-dialog{padding:21px}.goal-dialog-top h2{font-size:22px}.dialog-goal{min-height:58px}}
@media(prefers-reduced-motion:reduce){.card,.card::after,.card-arrow{transition:none!important}.card:is(:hover,:focus-visible),.record-section[data-layout=stack] .card:is(:hover,:focus-visible){transform:none!important}::view-transition-old(root),::view-transition-new(root){animation:none!important}}


.evidence{border:1px solid #c9dbe5;border-radius:16px;padding:20px;min-width:0;margin:22px 0;background:#f7fafc}.evidence legend{font-size:17px;font-weight:650;color:#284b68;padding:0 6px}.evidence .req{display:inline-block;margin-left:8px}.evidence-methods{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:15px 0 9px}.evidence-methods .btn{white-space:normal;min-height:48px;padding:10px;font-size:13px}.evidence-methods .selected{background:#284b68;color:white;border-color:#284b68}.evidence-panel{margin-top:17px}.evidence input[type=file]{width:100%;font-size:13px;min-height:48px;padding:9px;background:#e7ecef}.evidence input[type=file]::file-selector-button{min-height:36px;border:1px solid #bdd0de;border-radius:7px;margin-right:10px;background:#ecf2f7;color:#284b68;padding:6px 10px}.evidence-preview{border:1px solid #c7d8e3;border-radius:12px;background:#e7ecef;padding:15px;margin:13px 0;overflow-wrap:anywhere}.evidence-preview p{margin:7px 0}.evidence-image,#evidence-camera{display:block;width:100%;max-height:340px;object-fit:contain;background:#edf2f7;border-radius:8px;margin:12px 0}.evidence-image[hidden]{display:none}.evidence-actions{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}.evidence-actions .btn{min-height:48px;white-space:normal}.evidence-open{display:inline-block;padding:10px 0;color:#21546f;min-height:44px}.evidence-demo{margin:15px 0;font-size:13px}.evidence-demo summary{padding:10px 0;cursor:pointer}.evidence textarea{min-height:85px}@media(max-width:520px){.evidence{padding:15px}.evidence-methods{grid-template-columns:1fr}.evidence-actions .btn{width:100%}.evidence legend{font-size:16px}.evidence .req{font-size:9px}}

.goal-guidance h2{font-size:18px;margin:0 0 8px}.goal-guidance blockquote,.goal-overview blockquote{margin:14px 0;padding:0;border:0;font-size:14px;line-height:1.7;color:#2c4355}.attainment-status{border-top:1px solid #cfdee7;padding-top:13px;margin-top:13px}.attainment-status b{display:block}.attainment-status p{font-size:13px;margin:3px 0 11px}.goal-overview{border:1px solid #cfdee7;border-radius:12px;padding:12px 15px;background:#f8fafc;margin:10px 0}.goal-overview summary{cursor:pointer;min-height:44px}.goal-overview summary strong{font-size:14px}.goal-overview summary span{display:block;font-size:11px;color:#516b7d;margin:4px 0}.goal-overview p{font-size:13px;margin:9px 0}.goal-overview>.btn{margin:10px 0 0;min-height:44px}.goal-overview-support{margin-top:20px}#goal-dialog{width:min(700px,calc(100vw - 30px))}.table-filters{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px;margin:22px 0}.table-filters label{font-size:12px;font-weight:600;color:#34536b;min-width:0}.table-filters input,.table-filters select{display:block;width:100%;margin-top:5px;min-height:46px}.table-filters label:first-child{grid-column:span 2}.table-filters .table-trash-toggle{display:flex;align-items:center;gap:8px;font-size:12px}.table-filters .table-trash-toggle input{width:20px;height:20px;min-height:20px;margin:0}.table-filters .btn{align-self:end;min-height:46px}.data-table-wrap{overflow:auto;border:1px solid #cddde7;border-radius:12px;max-width:100%;max-height:72vh;background:#e7ecef}.data-table{border-collapse:separate;border-spacing:0;width:100%;font-size:12px}.data-table caption{text-align:left;padding:13px;color:#4b667b;background:#f4f8fb;font-size:12px}.data-table th{background:#eaf1f7;text-align:left;position:sticky;top:0;z-index:1;border-bottom:1px solid #c9d9e5}.data-table th button{font:inherit;font-weight:650;min-height:46px;padding:10px 14px;white-space:nowrap;border:0;background:transparent;color:#284b68;cursor:pointer}.data-table td{padding:13px 14px;vertical-align:top;border-bottom:1px solid #e1e9ef;min-width:100px;max-width:240px;overflow-wrap:anywhere}.data-table td:first-child,.data-table th:first-child{position:sticky;left:0;background:#f2f7fb}.data-table th:first-child{z-index:2}.data-table tbody tr:nth-child(even) td{background:#f8fafc}.table-detail{min-width:170px}.table-detail summary{cursor:pointer;min-height:44px;color:#235b79}.table-detail dl{margin:12px 0}.table-detail dt{font-weight:650;margin-top:9px}.table-detail dd{margin:3px 0;overflow-wrap:anywhere}.table-result{font-size:13px;margin-bottom:10px;color:#3d5f76}.table-detail .evidence-preview{padding:9px}.table-detail .evidence-image{max-height:150px}.nav-item[data-nav=data]{margin-top:4px}@media(max-width:700px){.table-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.table-filters label:first-child{grid-column:span 2}.table-filters label,.table-filters input,.table-filters select{font-size:13px}.data-table td{min-width:110px}.data-table-wrap{max-height:70vh}.table-filters .table-trash-toggle{grid-column:span 2}.goal-guidance blockquote{font-size:13px}.workspace-nav nav{flex-wrap:wrap}.nav-item[data-nav=data]{margin-top:0}}

/* Amy’s lighter distinct colors and non-overlapping inverted staircase. */
.cards .card[data-go=note]{--tile-start:#e2f0f2;--tile-end:#bfdbe5;--tile-ink:#62477d;--step:0;color:#263e51}body[data-goal=note]{--selected-goal:#62477d}
.cards .card[data-go=agenda]{--tile-start:#e5ecf7;--tile-end:#c1d0e9;--tile-ink:#315f7b;--step:1;color:#263e51}body[data-goal=agenda]{--selected-goal:#315f7b}
.cards .card[data-go=spelling]{--tile-start:#ddf1eb;--tile-end:#b9d9d0;--tile-ink:#2c654c;--step:2;color:#263e51}body[data-goal=spelling]{--selected-goal:#2c654c}
.cards .card[data-go=writing]{--tile-start:#f5f2e8;--tile-end:#dbd5bf;--tile-ink:#80502c;--step:3;color:#263e51}body[data-goal=writing]{--selected-goal:#80502c}
.cards .card[data-go=selfmgmt]{--tile-start:#e6f0db;--tile-end:#c8dec8;--tile-ink:#4b5689;--step:4;color:#263e51}body[data-goal=selfmgmt]{--selected-goal:#4b5689}
.cards .card[data-go=emotion]{--tile-start:#f5e7db;--tile-end:#e3c7b5;--tile-ink:#834a61;--step:5;color:#263e51}body[data-goal=emotion]{--selected-goal:#834a61}
.cards .card[data-go=planner]{--tile-start:#fbf8c8;--tile-end:#e8df91;--tile-ink:#696128;--step:6;color:#263e51}body[data-goal=planner]{--selected-goal:#696128}
.cards .card .t,.cards .card[data-go=note] .t{color:#263e51}.cards .card .d,.cards .card[data-go=note] .d,.cards .card .n{color:#31495c;opacity:1}.cards .card .n i{background:#476274}.cards .card .card-arrow{color:#31495c}.cards .card .goal-icon,.cards .card[data-go=note] .goal-icon{color:var(--tile-ink);background:#e7ecef70;border-color:#ffffff70}.cards .card::after{border-color:#ffffff80;box-shadow:0 0 0 22px #ffffff13,0 0 0 44px #ffffff0d}.cards .card::before{background:linear-gradient(140deg,#ffffff00,#ffffff28)}.record-section[data-layout=stack] .cards{gap:10px;display:flex;flex-direction:column;perspective:none}.record-section[data-layout=stack] .cards .card{width:calc(100% - var(--step)*5%);margin:0!important;min-height:112px;transform:none;border-radius:13px;box-shadow:0 5px 13px #1f3d5310;align-self:flex-start;flex-shrink:0}.record-section[data-layout=stack] .cards .card:is(:hover,:focus-visible){transform:translateY(-3px);box-shadow:0 9px 19px #1f3d5320}.record-section[data-layout=stack] .cards .card .t,.record-section[data-layout=stack] .cards .card .d,.record-section[data-layout=stack] .cards .card .n{min-width:0;overflow-wrap:break-word}.layout-switch button{min-height:44px}@media(max-width:520px){.layout-switch button{padding:7px 8px}.record-section[data-layout=stack] .cards{gap:9px}.record-section[data-layout=stack] .cards .card{width:calc(100% - var(--step)*4%);min-height:132px;grid-template-columns:30px minmax(0,1fr);column-gap:10px;padding:20px 15px}.record-section[data-layout=stack] .cards .card .goal-icon{width:29px;height:29px;border-radius:9px}.record-section[data-layout=stack] .cards .card .goal-icon svg{width:20px;height:20px}.record-section[data-layout=stack] .cards .card .t{font-size:15px;padding-right:9px}.record-section[data-layout=stack] .cards .card .d{font-size:11px}.record-section[data-layout=stack] .cards .card .n{font-size:10px}.record-section[data-layout=stack] .cards .card .card-arrow{right:12px;top:20px;font-size:15px}}@media(prefers-reduced-motion:reduce){.record-section[data-layout=stack] .cards .card:is(:hover,:focus-visible){transform:none!important}}

.goal-criteria{padding-left:22px;margin:12px 0 18px}.goal-criteria li{margin:10px 0;font-size:13px;line-height:1.7}.goal-source{font-size:12px;margin:10px 0 16px}.goal-source summary{min-height:32px;color:#315b76;cursor:pointer}.goal-source .source-revision{overflow-wrap:anywhere;font-size:10px}.goal-source a{color:#245879}

.goal-criteria li{white-space:pre-line}.goal-criteria.unnumbered{padding-left:0}.source-caution,.collection-gap{padding:11px 13px;border:1px solid #d9cdad;border-radius:8px;background:#faf5e7;color:#605335;font-size:12px;line-height:1.6}.goal-guidance .collection-gap strong{display:inline}.goal-guidance .goal-source{margin-bottom:0}

/* IncludED Consultants private preview: original supplied logo and brand palette. */
body{background:radial-gradient(ellipse at 82% 0%,#29365355,transparent 50%),radial-gradient(ellipse at 12% 70%,#15465333,transparent 50%),#10232f;background-attachment:fixed}.workspace-nav{background:#0b1c27e8;color:#edf6fc;border:1px solid #afcbd80c;box-shadow:12px 0 45px #00000012}.nav-brand{display:flex;flex-direction:column;align-items:flex-start;gap:14px;font-size:23px;color:#edf6fc;letter-spacing:-.7px}.company-logo-plaque{background:#fdfdfe;border:1px solid #ffffff80;border-radius:11px;padding:11px 10px;max-width:100%;box-shadow:0 4px 16px #020b121a}.company-logo-plaque img{display:block;width:185px;max-width:100%;height:auto;object-fit:contain}.top{border-bottom-color:#b6d1df29}.top-context>span{color:#acc7d7}.top-context>strong{color:#edf5fa}.brand .sub{color:#c1d4df}.nav-bottom{border-top-color:#a0c4d128}.nav-bottom span,.nav-bottom strong{color:#dcebf3}.nav-item{color:#b9cedb}.nav-item.active{background:#38505e;color:white}.nav-kicker{color:#9cb8ca}.banner,.banner b{color:#e6f0f6}.banner{background:#203946;border:1px solid #afcbd818}.banner .help{color:#bfd2dd}.top .all-goals-toggle,.top .btn{box-shadow:0 4px 12px #020d1412}.top .brand .mark{color:#eaf3f8}body[data-screen=home] #screen{padding:0;color:#e6f0f6;background:transparent}body:not([data-screen=home]) #screen{padding:27px 29px;background:#f8fafc;color:#263f52;border:1px solid #d6e3ec;border-radius:18px;box-shadow:0 15px 35px #020e1712}body[data-screen=home] .section-heading h2{color:#edf5fa}body[data-screen=home] .section-heading .eyebrow{color:#b2cbda}body[data-screen=home] .record-section{padding-top:4px}body[data-screen=home] .text-link{color:#b8d7e5}body[data-screen=home] .settings{color:#b3cbd9;border-top-color:#aac6d526}.layout-switch{background:#223b4a;border-color:#9cb5c335}.layout-switch button{color:#c1d4e0}.layout-switch button[aria-pressed=true]{background:#f0f5f8;color:#284a63}.recent-item{box-shadow:0 5px 16px #0718250f}.cards .card{box-shadow:0 8px 19px #0000001f;border-color:#ffffff38}.cards .card .t,.cards .card[data-go=note] .t{color:#152e40}.cards .card .d,.cards .card[data-go=note] .d,.cards .card .n,.cards .card .card-arrow{color:#203746}.cards .card::after{opacity:.3;box-shadow:none}.cards .card::before{opacity:.25}.company-footer{text-align:center;color:#c4d7e3;font-size:12px;line-height:1.7;padding:20px 18px 24px;border-top:1px solid #adc5d51f;margin-top:14px}.preview-strip{background:#17323f;color:#cddfe9;border:1px solid #abc6d51a}#goal-dialog::backdrop{background:#04121cc2;backdrop-filter:blur(5px)}
.cards .card[data-go=note]{--tile-start:#f1e9fa;--tile-end:#b8a2ce}
.cards .card[data-go=selfmgmt]{--tile-start:#e9eafa;--tile-end:#a3add5}
.cards .card[data-go=planner]{--tile-start:#faf4d6;--tile-end:#cebb73}
.cards .card[data-go=emotion]{--tile-start:#f6e3ee;--tile-end:#cf9db7}
.cards .card[data-go=agenda]{--tile-start:#e6f1fa;--tile-end:#8bb2d2}
.cards .card[data-go=spelling]{--tile-start:#e2f4e8;--tile-end:#8dbda6}
.cards .card[data-go=writing]{--tile-start:#f7e5d7;--tile-end:#d9a17b}
.record-section[data-layout=stack] .cards .card:nth-child(1){--step:0}
.record-section[data-layout=stack] .cards .card:nth-child(2){--step:1}
.record-section[data-layout=stack] .cards .card:nth-child(3){--step:2}
.record-section[data-layout=stack] .cards .card:nth-child(4){--step:3}
.record-section[data-layout=stack] .cards .card:nth-child(5){--step:4}
.record-section[data-layout=stack] .cards .card:nth-child(6){--step:5}
.record-section[data-layout=stack] .cards .card:nth-child(7){--step:6}
@media(max-width:1000px){.workspace-nav{border:0;background:transparent;box-shadow:none;border-bottom:1px solid #a4c4d326}.workspace-nav .nav-brand{flex-direction:row;align-items:center;gap:14px}.company-logo-plaque{padding:8px 9px}.company-logo-plaque img{width:160px}.workspace-nav .nav-item.active{background:#365262}.workspace-nav .nav-item{color:#d1e2ed}}@media(max-width:520px){.workspace-nav{padding-top:19px}.workspace-nav .nav-brand{font-size:19px;gap:12px}.company-logo-plaque img{width:145px}.company-logo-plaque{border-radius:8px;padding:8px}.top .brand .sub{font-size:10px}body:not([data-screen=home]) #screen{padding:21px 16px;border-radius:14px}.company-footer{font-size:11px;padding-top:17px}.section-heading h2{font-size:21px}.top{padding-top:15px}}

.record-section .section-heading h1{font-size:27px;line-height:1.25;letter-spacing:-.7px;color:#edf5fa;margin:0}@media(max-width:520px){.record-section .section-heading h1{font-size:21px;line-height:1.25}}

.planner-section{padding:18px 20px;border:1px solid #d3dfe7;border-radius:13px;background:#f4f8fb;min-width:0;margin:20px 0}.planner-section legend{font-size:16px;font-weight:650;color:#294a61;padding:0 6px}.planner-maintenance,.planner-scope-note{padding:11px 14px;background:#f8f3e4;color:#625936;border:1px solid #e2d7b6;border-radius:9px;font-size:13px;margin:13px 0}.planner-goal-source{margin:15px 0 24px}.planner-goal-source>summary{min-height:44px;cursor:pointer;color:#345b73;font-size:13px;padding:10px 0}.planner-section .fld{margin:18px 0}.planner-section .chips{gap:9px}.planner-section .chip{min-height:44px;white-space:normal}.planner-count-state,.planner-high-count{padding:13px;background:#e7ecef;border:1px solid #cadbe6;border-radius:9px;font-size:13px}.planner-high-count p{margin-bottom:10px}.planner-review dl{display:grid;grid-template-columns:minmax(150px,1fr) 2fr;gap:8px 18px;margin:12px 0}.planner-review dt{font-weight:650}.planner-review dd{margin:0;white-space:pre-wrap;overflow-wrap:anywhere}.planner-section [aria-invalid=true]{border-color:#b53f3c}.planner-section .err{margin:8px 0 0;font-size:13px}#planner-supportComments,#planner-promptPurposeOther{min-height:88px}@media(max-width:520px){.planner-section{padding:15px 13px}.planner-section legend{font-size:15px}.planner-review dl{grid-template-columns:1fr;gap:4px}.planner-review dd{margin-bottom:10px}}

/* Mac-first readable typography; no external fonts or licensing dependencies. */
:root{--ui-font:ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;--heading-font:ui-rounded,"Avenir Next",-apple-system,BlinkMacSystemFont,sans-serif}body{font-family:var(--ui-font);font-size:18px;line-height:1.6}h1,h2,h3,.card .t,.nav-brand{font-family:var(--heading-font)}.lbl{font-size:17px;line-height:1.5;margin-bottom:8px}.help{font-size:16px;line-height:1.6}.opt,.req{font-size:14px}.btn,.chip,.seg button{font-size:17px;min-height:48px;line-height:1.4}input:not([type=checkbox]):not([type=radio]),select,textarea{font-size:18px;line-height:1.5;min-height:52px}.fld{margin-bottom:22px}.row{gap:22px}.goal,.goal-guidance{font-size:17px;line-height:1.65}.goal-guidance h2{font-size:22px}.goal-guidance blockquote,.goal-overview blockquote,.goal-criteria li,.goal-overview p{font-size:17px;line-height:1.65}.attainment-status p{font-size:16px}.goal-overview summary strong{font-size:20px}.goal-overview summary span,.goal-source,.goal-source summary,.goal-source p,.goal-source .source-revision{font-size:14px}.goal-overview summary{padding:6px 0}.goal-criteria{padding-left:28px}.source-caution,.collection-gap{font-size:16px}.planner-section legend{font-size:20px}.planner-section .chip,.planner-count-state,.planner-high-count,.planner-section .err,.planner-maintenance,.planner-scope-note,.planner-goal-source>summary{font-size:17px}.planner-review dt,.planner-review dd{font-size:17px}.planner-section{padding:22px}.planner-section .fld{margin:22px 0}.planner-section textarea{min-height:110px}.cards .card .t,.cards .card[data-go=note] .t{font-size:24px;line-height:1.3;font-weight:700;letter-spacing:-.5px}.cards .card .d,.cards .card[data-go=note] .d{font-size:16px;line-height:1.5}.cards .card .n{font-size:14px}.cards .card{min-height:222px;padding:24px}.cards .card:nth-child(7){min-height:175px}.record-section[data-layout=stack] .cards .card{min-height:150px;padding:25px 27px}.record-section[data-layout=stack] .cards .card .t{font-size:24px}.record-section[data-layout=stack] .cards .card .d{font-size:16px}.record-section[data-layout=stack] .cards .card .n{font-size:14px}.record-section .section-heading h1{font-size:32px}.section-heading h2{font-size:28px}.eyebrow,.section-heading .eyebrow{font-size:14px}.layout-switch button{font-size:16px;min-height:48px}.nav-item{font-size:18px;min-height:52px}.top-context>span,.top-context>strong,.brand .sub,.all-goals-toggle{font-size:16px}.banner,.banner .help{font-size:15px}.nav-bottom strong,.nav-bottom span,.nav-kicker{font-size:14px}.recent-copy strong{font-size:18px}.recent-copy>span,.recent-arrow,.text-link{font-size:16px}.date-tile b{font-size:20px}.date-tile small,.settings,.preview-strip,.company-footer{font-size:14px}.table-filters label{font-size:17px}.table-filters input,.table-filters select{font-size:18px;min-height:52px}.table-filters .table-trash-toggle,.table-result{font-size:16px}.data-table{font-size:17px;line-height:1.5}.data-table caption{font-size:16px}.data-table th button{font-size:17px;line-height:1.4;white-space:normal;text-align:left;max-width:240px;min-height:56px}.data-table td{font-size:17px;min-width:145px;max-width:280px;padding:16px}.table-detail summary,.table-detail dl{font-size:16px}.table-detail{min-width:190px}.export-controls{border:1px solid #ccdae5;border-radius:13px;padding:18px 20px;margin:23px 0;background:#eef4f8;min-width:0}.export-controls legend{font-size:20px;font-weight:650;padding:0 6px}.export-controls>label{font-size:17px;font-weight:600}.export-controls select{display:block;margin:8px 0 12px;width:min(100%,500px)}.export-controls .help,.export-controls [role=status]{font-size:16px}.evidence legend{font-size:20px}.evidence-methods .btn{font-size:17px;min-height:52px}.evidence .help,.evidence input[type=file],.evidence-demo{font-size:16px}.evidence .req{font-size:14px}.evidence-actions .btn{font-size:17px}.entry .h,.entry .s,.entry .detail{font-size:17px}.lock p{font-size:17px}@media(max-width:700px){body{font-size:17px}.cards .card .t,.cards .card[data-go=note] .t,.record-section[data-layout=stack] .cards .card .t{font-size:20px}.cards .card .d,.cards .card[data-go=note] .d,.record-section[data-layout=stack] .cards .card .d{font-size:15px}.cards .card .n,.record-section[data-layout=stack] .cards .card .n{font-size:13px}.record-section[data-layout=stack] .cards .card{min-height:164px;padding:21px 15px}.record-section .section-heading h1{font-size:25px}.layout-switch button{font-size:13px;padding:8px}.table-filters label,.table-filters input,.table-filters select{font-size:16px}.planner-section{padding:17px 13px}.export-controls{padding:15px}.goal-overview summary strong{font-size:18px}.goal-guidance blockquote,.goal-criteria li,.goal-overview p{font-size:16px}}

/* Keep the close control outside the scrolling goal content. */
#goal-dialog{padding:0;overflow:hidden}
#goal-dialog[open]{display:flex;flex-direction:column}
#goal-dialog .goal-dialog-top{flex:0 0 auto;margin:0;padding:20px 22px 16px;background:#e7ecef;border-bottom:1px solid #e0e7ed}
#goal-dialog-options{display:block;overflow-y:auto;overscroll-behavior:contain;min-height:0;padding:0 22px;scroll-padding-top:12px}
#goal-dialog .dialog-hint{flex:0 0 auto;margin:0;padding:12px 22px;background:#e7ecef}
#close-goals:focus-visible{outline:3px solid #395e77;outline-offset:3px}
@media(max-width:520px){#goal-dialog .goal-dialog-top{padding:16px}#goal-dialog-options{padding:0 16px}#goal-dialog .dialog-hint{padding:10px 16px}}

#goal-dialog{width:min(1060px,calc(100vw - 30px))}.complete-goal-source,.source-page,.source-page-text{margin:20px 0;padding:15px;border:1px solid #c4d3e0;border-radius:10px}.complete-goal-source>summary,.source-page>summary{font-size:18px;font-weight:650;cursor:pointer;padding:8px 0}.source-page-scroll{overflow:auto;max-width:100%;max-height:75vh;background:#e7ecef;border:1px solid #c4d3e0}.source-page-scroll img{display:block;width:100%;height:auto;max-width:none}.source-page-zoom{display:flex;align-items:center;gap:12px;margin:15px 0;font-size:17px}.source-page-zoom input{width:22px;height:22px}.source-page:has(>.source-page-zoom>input:checked)>.source-page-scroll img{width:1224px}.source-page-text pre{white-space:pre-wrap;overflow-wrap:anywhere;font:17px/1.7 var(--ui-font);color:#22394c}.source-page-text>summary{min-height:48px;cursor:pointer}
label.lbl{font-size:17px;line-height:1.5}.lbl .req,.lbl .opt{font-size:14px}
.source-sections{margin:24px 0}.source-section{border-top:2px solid #ced9e5;padding:20px 0;margin:16px 0}.source-section h3,.goal-overview>h3{font-size:22px;line-height:1.4;margin:8px 0 14px;color:#233c53}.source-section h4{font-size:19px;line-height:1.5;margin:22px 0 10px;color:#233c53}.source-section .source-section-text{white-space:pre-wrap;font-size:17px;line-height:1.75;color:#233c53;margin:12px 0}.source-section .source-section-page{font-size:14px;color:#516b7d}
.sm-tallies{border:1px solid #b9cad9;border-radius:12px;padding:22px;margin:25px 0}.sm-tallies legend{font-size:22px;font-weight:650}.sm-derived{font-size:18px}.sm-review dt{font-weight:700;margin-top:18px}.sm-review dd{margin:6px 0;font-size:17px}.sm-review li{margin:10px 0}
.company-logo-plaque{background:transparent;border:0;box-shadow:none;padding:0}.company-logo-plaque img{width:62px;height:auto;max-width:100%;object-fit:contain}.company-brand-row{display:flex;align-items:center;gap:12px}.company-name{font:650 18px/1.35 var(--ui-font);letter-spacing:0;color:#f3f5ff}.brand-copyright{font:15px/1.5 var(--ui-font);color:#e7eaf4;margin:12px 0 20px;max-width:230px}.company-footer{font:600 16px/1.6 var(--ui-font);color:#f1f3fa;background:#152238;padding:20px 18px;margin-top:16px}@media(max-width:700px){.workspace-nav .nav-brand{flex-direction:column;align-items:flex-start;gap:9px}.company-name{font-size:17px}.company-logo-plaque img{width:48px}.brand-copyright{font-size:14px;max-width:100%;margin:10px 0 16px}.company-footer{font-size:15px}}
#entry.planner-entry,#entry.sm-entry{display:block;max-width:none;width:100%;box-sizing:border-box}.planner-check-columns{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:24px;align-items:start}.planner-check-columns .planner-section{margin:22px 0 0;min-width:0;box-sizing:border-box}.planner-initial{background:linear-gradient(135deg,#edf3fa,#e8edf9);border:2px solid #879fc6}.planner-support{background:linear-gradient(135deg,#f4edf8,#eee6f4);border:2px solid #aa8dbc}.planner-check-columns .planner-section legend{color:#283c58;font-size:20px}.planner-check-columns .planner-section .help{color:#344b65}.planner-support-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 18px}.planner-support-fields>.fld,.planner-support-fields>.planner-count-state{min-width:0}.planner-support-fields>[data-planner-field=promptPurposes],.planner-support-fields>[data-planner-field=promptTypes],.planner-support-fields>[data-planner-field=promptPurposeOther],.planner-support-fields>[data-planner-field=highCountConfirmation],.planner-support-fields>[data-planner-field=supportComments],.planner-support-fields>[data-planner-field=supportedCorrection],.planner-support-fields>.planner-count-state{grid-column:1/-1}.planner-support-fields .chips{display:flex;flex-wrap:wrap}.planner-support-fields .chip{flex:1 1 155px;text-align:left;line-height:1.5}.planner-support-fields input,.planner-support-fields select{max-width:100%}.planner-check-columns legend{max-width:100%;white-space:normal}#entry.planner-entry>.fld{margin-top:25px}@media(max-width:1100px){.planner-check-columns{grid-template-columns:1fr}.planner-support-fields{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:560px){.planner-support-fields{display:block}.planner-check-columns{gap:10px}}
.planner-check-columns{grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch}.planner-support-details{background:linear-gradient(135deg,#f5f0f8,#eee9f5);border:2px solid #aa8dbc;margin-top:24px}.planner-detail-columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:26px}.planner-detail-columns>div{min-width:0}.planner-support-details .chips{display:flex;flex-wrap:wrap}.planner-support-details .chip{flex:1 1 155px;line-height:1.5;white-space:normal;text-align:left}.planner-detail-columns textarea{width:100%;box-sizing:border-box}.planner-support>.fld>select{width:100%}@media(max-width:1100px){.planner-check-columns{grid-template-columns:1fr}}@media(max-width:700px){.planner-detail-columns{grid-template-columns:1fr;gap:0}}
#entry.sectioned-entry{display:block;max-width:none;width:100%;box-sizing:border-box}.app-section,.sm-tallies{border:2px solid #8fa7c6;border-radius:14px;padding:22px;margin:24px 0;min-width:0}.app-section legend,.sm-tallies legend{font-size:21px;font-weight:700;color:#2d405c;padding:0 8px}.section-tone-blue,.sm-tallies{background:linear-gradient(135deg,#edf3fa,#e8edf9);border-color:#879fc6}.section-tone-lilac{background:linear-gradient(135deg,#f4edf8,#eee6f4);border-color:#aa8dbc}.section-tone-green{background:linear-gradient(135deg,#edf6f1,#e6f1ec);border-color:#89ad9a}.section-tone-gold,.export-controls{background:linear-gradient(135deg,#faf5e6,#f3eddb);border-color:#b8a56d}.app-section .lbl{color:#344961}.app-section .help{color:#43576e}.app-section .row{max-width:100%;min-width:0}.compact-number-group{display:grid;grid-template-columns:repeat(auto-fit,minmax(145px,190px));gap:14px 22px;align-items:start;justify-content:start}.compact-number-group .fld{min-width:0;margin-top:14px}.compact-number-group input,.numeric-field input{width:100%;max-width:170px;min-height:52px}.compact-number-group label{min-height:52px}.app-section .row:has(.numeric-field){grid-template-columns:repeat(2,minmax(145px,190px));justify-content:start}.entry{border:2px solid #9cafcd;border-radius:14px;background:#edf2fa;margin:18px 0}.entry:nth-child(even){border-color:#ae96bc;background:#f1ebf6}.entry .detail{background:#fafbfe;border-top:1px solid #9cafcd}.filters{padding:18px;border:2px solid #b29bc4;border-radius:13px;background:#f2edf7}.goal-overview{border:2px solid #91a6c4;background:#edf3fa}.goal-overview:nth-of-type(even){border-color:#b49ac5;background:#f3edf7}.source-section{padding:18px;border:2px solid #a4b8cf;border-radius:12px;background:#f4f7fc}.source-section:nth-child(even){border-color:#b49ac5;background:#f5f0f8}.record-section .card{border:2px solid #c5c3da}.lock{border:2px solid #9eb1cd!important;background:linear-gradient(135deg,#edf3fa,#f2edf8)!important}.preview-admin-badge{font:700 14px/1.4 var(--ui-font);letter-spacing:0;padding:7px 9px;background:#e9d7fa;border:1px solid #bd94db;border-radius:8px;color:#482568}.export-controls{border:2px solid #b8a56d}.table-filters{margin:0}.sm-tallies{background:linear-gradient(135deg,#f4edf8,#eee6f4);border-color:#aa8dbc}@media(max-width:700px){.app-section,.sm-tallies{padding:17px 13px}.compact-number-group{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.compact-number-group input{max-width:155px}.compact-number-group label{min-height:76px}.app-section .row:has(.numeric-field){grid-template-columns:repeat(2,minmax(0,1fr))}}
fieldset.evidence{border:2px solid #b8a56d;background:linear-gradient(135deg,#faf5e6,#f3eddb);border-radius:12px;padding:20px}fieldset.evidence legend{font-size:20px;font-weight:700;color:#344961}
:root{--included-blue:#033249;--included-cream:#EFEDE8;--included-yellow:#F9F972}html,body{background:#033249;color:#EFEDE8}.workspace-nav{background:#032d42;border-color:#426473;padding:25px 20px 22px;gap:20px}.workspace-nav .nav-brand{gap:10px;color:#EFEDE8}.company-brand-row{display:block;width:100%}.company-logo-plaque{background:transparent;border:0;padding:0;box-shadow:none}.company-logo-plaque img{display:block;width:196px;max-width:100%;height:auto;object-fit:contain}.brand-attribution{font:15px/1.5 var(--ui-font);color:#EFEDE8;margin:0 0 6px;max-width:100%}.company-footer{background:#033249;color:#EFEDE8;font:600 16px/1.6 var(--ui-font);border-top:1px solid #6b8997}.nav-item{color:#EFEDE8}.nav-item.active{background:#d8e7ee;color:#033249;border-color:#aac4d0}.nav-item:hover{background:#1d5066;color:#EFEDE8}.nav-item.active:hover{background:#dde9ef;color:#033249}.nav-kicker,.nav-bottom strong,.nav-bottom span{color:#EFEDE8}.preview-admin-badge{background:#d3dfeb;color:#033249;border-color:#a5bdcb}.record-section .section-heading h1,.record-section .section-heading h2,.record-section .eyebrow,.record-section .section-heading .eyebrow{color:#EFEDE8}.cards .card[data-go=note]{--tile-start:#e2f0f2;--tile-end:#bfdbe5}.cards .card[data-go=selfmgmt]{--tile-start:#e6f0db;--tile-end:#c8dec8}.cards .card[data-go=planner]{--tile-start:#fbf8c8;--tile-end:#e8df91}.cards .card[data-go=emotion]{--tile-start:#f5e7db;--tile-end:#e3c7b5}.cards .card[data-go=agenda]{--tile-start:#e5ecf7;--tile-end:#c1d0e9}.cards .card[data-go=spelling]{--tile-start:#ddf1eb;--tile-end:#b9d9d0}.cards .card[data-go=writing]{--tile-start:#f5f2e8;--tile-end:#dbd5bf}.cards .card{border-color:#c9d8d6}.cards .card .t,.cards .card .d,.cards .card .n,.cards .card .card-arrow{color:#033249}.cards .card .goal-icon{background:#e7ecef66;border-color:#ffffff99;color:#033249}.cards .card .n i{background:#033249}.layout-switch button[aria-pressed=true]{background:#d8e7ee;color:#033249}.btn.primary{background:#033249;color:#EFEDE8;border-color:#033249}.chip.on{background:#1d5066;color:#EFEDE8;border-color:#1d5066}.section-heading .text-link,.recent-arrow{color:#EFEDE8}.top-context>span,.top-context>strong{color:#EFEDE8}.workspace-main .preview-strip{color:#e5e9e5}.record-section[data-layout=stack] .cards .card{border-color:#a8c1cb}.app-section legend,.planner-section legend,.source-section h3,.source-section h4{color:#033249}@media(max-width:1000px){.workspace-nav{background:#033249;padding:24px 0 18px;gap:14px}.workspace-nav .nav-brand{display:flex;flex-direction:row;align-items:center;flex-wrap:wrap;gap:14px}.company-logo-plaque img{width:190px}.brand-attribution{margin:8px 0 14px}}@media(max-height:760px) and (min-width:1001px){.workspace-nav{padding-top:18px;gap:14px}.company-logo-plaque img{width:170px}.workspace-nav .nav-brand{gap:7px}.brand-attribution{font-size:14px;line-height:1.45}}@media(max-width:520px){.company-logo-plaque img{width:170px}.workspace-nav .nav-brand{gap:12px}.brand-attribution{font-size:15px}.company-footer{font-size:15px}}
/* Optional static water preview. Remove this block for a solid blue background. */:root{--included-water-texture:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI3MjAiIGhlaWdodD0iNDgwIiB2aWV3Qm94PSIwIDAgNzIwIDQ4MCI+PGcgZmlsbD0ibm9uZSIgc3Ryb2tlPSIjYzhkZGU1IiBzdHJva2Utd2lkdGg9IjEuMiIgc3Ryb2tlLW9wYWNpdHk9IjAuMTQiPjxwYXRoIGQ9Ik0tMTgwIDk0IFEwIDI4IDE4MCA5NCBUNTQwIDk0IFQ5MDAgOTQiLz48cGF0aCBkPSJNLTkwIDI1MCBROTAgMTg4IDI3MCAyNTAgVDYzMCAyNTAgVDk5MCAyNTAiLz48cGF0aCBkPSJNLTI0MCA0MDYgUS02MCAzNDYgMTIwIDQwNiBUNDgwIDQwNiBUODQwIDQwNiIvPjwvZz48ZWxsaXBzZSBjeD0iNjM1IiBjeT0iMzAwIiByeD0iMjUwIiByeT0iMTEwIiBmaWxsPSJub25lIiBzdHJva2U9IiNjOGRkZTUiIHN0cm9rZS13aWR0aD0iMS4yIiBzdHJva2Utb3BhY2l0eT0iMC4wNjUiLz48L3N2Zz4=")}body{background-image:var(--included-water-texture);background-repeat:repeat;background-size:720px 480px;background-attachment:fixed}.workspace-nav{background-image:var(--included-water-texture);background-repeat:repeat;background-size:720px 480px}
.preview-admin-badge{display:block;background:transparent;border:0;border-radius:0;padding:0;box-shadow:none;text-shadow:none;color:#e8df91;font:500 16px/1.5 var(--ui-font)}.layout-switch button{background:transparent;color:#d8e3eb;border:1px solid transparent;box-shadow:none}.layout-switch button[aria-pressed=true]{background:#d8e7ee;color:#033249;border-color:#adc2ce;box-shadow:none}.layout-switch button:hover{background:#2b5267;color:#eef3f7}.layout-switch button[aria-pressed=true]:hover{background:#d1e1e9;color:#033249}.layout-switch button:focus-visible,.nav-item:focus-visible,.cards .card:focus-visible{outline:3px solid #91b2c4;outline-offset:3px;box-shadow:none}#lock-session{background:#F9F972;color:#033249;border:1px solid #e6e665;font-weight:700;text-transform:uppercase}#lock-session:hover{background:#eeee6a;color:#033249}#lock-session:active{background:#e4e463;color:#033249}#lock-session:focus-visible{outline:3px solid #d9e8f1;outline-offset:4px;background:#F9F972;color:#033249}
.app-title{font-family:var(--heading-font);font-size:30px;font-weight:700;line-height:1.2;white-space:nowrap}.top{flex-wrap:wrap}.top-context{margin-left:8px}.entry-goal-reference{margin:12px 0 22px;padding:12px 16px;border-left:3px solid #a7bacb;background:#f2f6f9;border-radius:8px}.entry-goal-reference>span{font-weight:650}.entry-goal-reference .help{margin:6px 0}.emotion-contact{border:1px solid #a7b8cb;border-radius:10px;padding:18px;margin:20px 0;min-width:0}.emotion-review dt{font-weight:700;margin-top:16px}.emotion-review dd{margin:0;overflow-wrap:anywhere;white-space:pre-wrap}.emotion-review pre{white-space:pre-wrap;overflow-wrap:anywhere}.emotion-entry .chip{white-space:normal;text-align:left}.emotion-entry .chips{flex-wrap:wrap}.emotion-entry select,.emotion-entry textarea,.emotion-contact input{max-width:100%;box-sizing:border-box}.goal-overview[open]{scroll-margin-top:20px}@media(max-width:700px){.app-title{font-size:26px;flex-basis:100%}.top-context{display:none}.emotion-contact{padding:12px}.emotion-contact .row{display:block}.emotion-entry .compact-number-group{grid-template-columns:repeat(2,minmax(0,1fr))}}
#permissions-dialog{width:min(600px,calc(100vw - 32px));max-height:85vh;overflow:auto;background:#e7ecef;color:#033249;border:1px solid #a5bdcb;border-radius:18px;padding:22px;font:18px/1.6 system-ui,sans-serif}#permissions-dialog::backdrop{background:#102c4566}.permissions-head{display:flex;align-items:start;gap:16px;justify-content:space-between}.permissions-head h2{font-size:23px;margin:0}.permissions-head button{min-width:44px;min-height:44px;font-size:24px}.company-footer p{max-width:780px;margin:8px auto}.company-footer button{font:inherit;min-height:44px}.company-footer{padding:20px;font-size:13px}
.ag-number{max-width:190px}.ag-repeat-row{border:1px solid #b8cad5;border-radius:12px;margin:12px 0;padding:14px}.ag-repeat-row .fld{margin:12px 0}.ag-record pre{white-space:pre-wrap;overflow-wrap:anywhere;font-size:13px}.ag-admin-home{padding:20px;margin-top:24px;border:1px solid #b8cad5;border-radius:14px}.ag-admin-home .btn{min-height:48px}#entry .ag-repeat{min-width:0}
.spell-word-section{border:1px solid #b8cad5;border-radius:14px;padding:18px;margin:20px 0;min-width:0}.spell-word-row{padding:15px 0;border-top:1px solid #cddde7}.spell-word-pair{display:grid;grid-template-columns:1fr 1fr;gap:14px}.spell-word-row label{display:block;margin:12px 0}.spell-word-row input,.spell-word-row select{max-width:100%;box-sizing:border-box}.spell-word-row button{min-height:44px}.spell-suggestion{background:#f4f7fa;border-radius:10px;padding:12px;margin:12px 0}.spell-acquisition-choice{display:flex!important;align-items:center;gap:12px}.spell-acquisition-choice input{width:22px;height:22px}.spell-history{white-space:pre-wrap;overflow-wrap:anywhere;font-size:13px}@media(max-width:520px){.spell-word-pair{grid-template-columns:1fr}.spell-word-section{padding:12px}}
#sm-target-manager{width:min(640px,calc(100vw - 32px));max-height:85vh;overflow:auto;padding:20px;border-radius:16px;background:#e7ecef;color:#033249}.smt-row{margin:14px 0;padding:14px;border:1px solid #b8cad5;border-radius:10px}.smt-row input,.smt-row select{width:100%;max-width:100%;box-sizing:border-box;min-height:44px}.smt-row label{display:block;margin:8px 0}
.draft-notice{padding:16px;margin:14px 0;border:1px solid #b5c9d8;border-radius:12px;background:#edf3f8;color:#033249;font-size:15px}.draft-notice p{font-size:13px;margin:5px 0 10px}.draft-notice-row{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:9px 0}.draft-notice-row>span{flex:1;min-width:180px}.draft-notice .btn{min-height:44px}
#discard-draft-dialog{width:min(520px,calc(100vw - 32px));border:1px solid #b5c9d8;border-radius:16px;background:#e7ecef;color:#033249;padding:22px}#discard-draft-dialog::backdrop{background:#102c4566}
.milk-title-trial{display:block;width:171px;height:auto;max-width:100%}.milk-tile-heading{display:block;max-width:100%;width:var(--milk-width)}.milk-tile-heading img{display:block;width:100%;height:auto;object-fit:contain}.card .t{overflow:visible}@media(max-width:700px){.milk-tile-heading{width:var(--milk-compact-width)}}@media(max-width:520px){.milk-title-trial{width:148px}.card .t{min-height:0}}
.cards .admin-goal-card{grid-column:auto!important}.admin-goal-card .goal-icon{font-size:18px;font-weight:650;color:#033249}.record-section[data-layout=stack] .cards .admin-goal-card{--step:6;width:calc(100% - 30%)}@media(max-width:520px){.record-section[data-layout=stack] .cards .admin-goal-card{width:76%}.admin-goal-card .t{overflow-wrap:normal}}
.ag-fast-choices{display:flex;flex-wrap:wrap;gap:8px}.ag-fast-choices button{min-height:48px;min-width:64px;padding:9px 12px;font:inherit;border:1px solid #91acbe;border-radius:9px;background:#e7ecef;color:#033249}.ag-fast-choices button[aria-checked=true]{background:#d3e5ef;border:2px solid #295775}.ag-fast-choices button:focus-visible{outline:3px solid #496d88;outline-offset:2px}.ag-row{padding:12px;margin:12px 0;border:1px solid #b8cad5;border-radius:12px}.ag-row .fld{margin:12px 0}
#entry.ag-entry{display:block;max-width:none;width:100%;box-sizing:border-box}#entry.ag-entry>.app-section,#entry.ag-entry .ag-repeat,#entry.ag-entry .ag-row{display:block;width:100%;box-sizing:border-box;min-width:0}#entry.ag-entry .ag-number{width:190px;max-width:100%}
:root{--paper:#e7ecef;--field:#e7ecef}.ag-fast-choices button,.spell-word-row input,.spell-word-row select,#role-ag-form input,#role-ag-form select,#role-ag-form textarea,.smt-row input,.smt-row select{background-color:#e7ecef}.ag-fast-choices button[aria-checked=true]{background-color:#cbdde8}.draft-notice-row .btn{background-color:#dfe7ec}
.top{justify-content:flex-start;gap:12px}.top>.brand{margin-left:auto;margin-right:0}.top>.all-goals-toggle{margin-left:auto}.top>.who{margin-left:0}@media(min-width:981px){.workspace-nav>.nav-brand+div{margin-top:12px}}

.top{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:12px;min-height:78px}.top>.app-title{grid-column:2;grid-row:1;justify-self:center}.top>.brand{grid-column:1;grid-row:1;margin:0;justify-self:start}.header-controls{grid-column:3;grid-row:1;display:flex;align-items:center;justify-content:flex-end;gap:12px;justify-self:end}.header-controls .all-goals-toggle,.header-controls .who{margin:0}.milk-title-effect{display:block;width:217px;height:auto;aspect-ratio:171/43;background:linear-gradient(115deg,#bceaf1 10%,#c8ddf4 53%,#dac8f2 92%);-webkit-mask-image:url("milk-trial-title.png");mask-image:url("milk-trial-title.png");-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:contain;mask-size:contain;filter:drop-shadow(0 2px 0 #001c2a99)}.milk-title-effect .milk-title-trial{width:100%;height:auto;opacity:0}.milk-tile-heading{width:calc(var(--milk-width) * 1.2)}.record-section h1{font-family:system-ui,-apple-system,"Segoe UI",sans-serif;font-weight:650;letter-spacing:-.6px}
@media(max-width:1280px){.milk-tile-heading{width:calc(var(--milk-compact-width) * 1.2)}}
@media(max-width:760px){.top{grid-template-columns:1fr;row-gap:8px}.top>.app-title{grid-column:1;grid-row:1}.top>.brand{display:none}.header-controls{grid-column:1;grid-row:2;justify-self:center}.milk-title-effect{width:205px}}
@media(max-width:520px){.milk-tile-heading{width:calc(var(--milk-compact-width) * 1.1)}}
input,select,textarea{background-color:#e4e9ed!important}


/* Home navigation only: equal grid cells, progressively narrower staircase. */
.record-section .cards .card,.record-section .cards .card:nth-child(7){display:flex!important;flex-direction:column;align-items:center;justify-content:flex-start;grid-column:auto!important;min-height:280px;padding:24px 15px;text-align:center;gap:9px}
.record-section .cards .card .card-top,.record-section .cards .card:nth-child(7) .card-top{display:flex;justify-content:center;align-items:center;margin:0 0 2px;grid-column:auto;grid-row:auto}
.record-section .cards .card .t,.record-section .cards .card .d,.record-section .cards .card .n{grid-column:auto;grid-row:auto;padding-right:0;max-width:100%;align-self:center;justify-content:center}
.record-section .cards .card .t{display:flex;justify-content:center;width:100%;min-height:0}
.record-section .cards .card .n{margin-top:auto;padding-top:12px}
.goal-number{display:block;font:650 15px/1.4 var(--ui-font);color:#30465a;text-align:center;max-width:100%}
.record-section .cards .card .milk-tile-heading{width:calc(var(--milk-width)*1.5);max-width:100%;margin:0 auto}
.record-section .cards .card .milk-tile-heading img{width:100%;height:auto}
.cards .card[data-go=writing]{--tile-start:#e8e0ed;--tile-end:#cdbdd9;--tile-ink:#635073;--c:#635073!important}
.record-section[data-layout=stack] .cards .card{width:calc(100% - var(--step)*5%);min-height:280px}
.record-section[data-layout=stack] .cards .card:nth-child(8){--step:7}
.record-section[data-layout=stack] .cards .card:nth-child(9){--step:8}
.record-section[data-layout=stack] .cards .card:nth-child(10){--step:9}
.record-section[data-layout=stack] .cards .card:nth-child(11){--step:10}
.section-heading h1::after,.section-heading h2::after{content:"";display:block;width:74px;height:3px;margin-top:9px;border-radius:2px;background:linear-gradient(90deg,#bceaf1,#dac8f2)}
/* White input surfaces stay inside existing colored entry sections. */
#entry{--paper:#fff;--field:#fff}
#entry input,#entry select,#entry textarea,.smt-row input,.smt-row select{background-color:#fff!important}
#entry .btn:not(.primary):not(.danger):not(.on):not(.selected):not([aria-pressed=true]),#entry .chip:not(.on):not(.selected):not([aria-pressed=true]),#entry .seg button:not(.on):not(.selected):not([aria-pressed=true]),#entry .ag-fast-choices button:not([aria-checked=true]),#entry .evidence-preview{background-color:#fff}
@media(max-width:1600px){.record-section .cards .card .milk-tile-heading{width:calc(var(--milk-compact-width)*1.5)}}
@media(max-width:520px){.record-section .cards .card,.record-section .cards .card:nth-child(7){min-height:270px;padding:22px 15px}.record-section .cards .card .milk-tile-heading{width:calc(var(--milk-phone-width)*1.4)}.record-section[data-layout=stack] .cards .card{width:calc(100% - var(--step)*4%)}.goal-number{font-size:14px}}


.record-section .cards .card .card-top,.record-section .cards .card:nth-child(7) .card-top{justify-content:flex-start;align-self:stretch;width:100%}
.record-section .cards .card .goal-number{font-size:42px;line-height:1.15;font-weight:800;color:#033249;background:linear-gradient(135deg,#033249 10%,#385777 48%,#67466f 90%);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;margin:0 0 2px}
/* All tile fills use their existing approved static tonal gradients. */
.record-section .cards .card[data-go=note],.record-section .cards .card[data-go=agenda],.record-section .cards .card[data-go=selfmgmt],.record-section .cards .card[data-go=planner],.record-section .cards .card[data-go=emotion],.record-section .cards .card[data-go=spelling],.record-section .cards .card[data-go=writing]{background-image:linear-gradient(132deg,var(--tile-start),var(--tile-end))}

@media(max-width:520px){.record-section .cards .card .goal-number{font-size:38px}}
@media(prefers-reduced-motion:reduce){.record-section .cards .card,.record-section .cards .card .goal-number{animation:none;transition:none}}


#entry{--paper:#edf2f7;background:#edf2f7;border:2px solid #91aabd}
#entry .evidence-preview{background:#eef4f8;border-color:#91aabd}
#entry input,#entry select,#entry textarea{background-color:#fff!important}

.video-log{color:#033249}.video-log h2{font-size:28px}.video-log .app-section{padding:20px;border:2px solid #8fa7c6;border-radius:13px;margin:22px 0;min-width:0}.video-log .section-tone-blue{background:linear-gradient(135deg,#edf3fa,#e8edf9)}.video-log .section-tone-green{background:linear-gradient(135deg,#edf6f1,#e6f1ec);border-color:#89ad9a}.video-log-filters{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:14px}.video-log label{display:flex;flex-direction:column;gap:6px;font-size:17px}.video-log input,.video-log select{background:#fff!important;color:#033249;max-width:100%;min-width:0;width:100%;min-height:48px;font:inherit}.video-log button,.data-view-choice button{min-height:48px;padding:10px 14px;background:#fff;border:1px solid #8fa7c6;border-radius:9px;color:#033249;font:inherit;cursor:pointer}.data-view-choice{display:flex;gap:10px;flex-wrap:wrap;margin:16px 0}.data-view-choice button[aria-pressed=true]{background:#cbdde8;border:2px solid #295775}.video-log-scroll{overflow:auto;max-width:100%}.video-log table{width:100%;min-width:1000px;border-collapse:collapse}.video-log td,.video-log th{padding:12px;border-bottom:1px solid #adc2ce;text-align:left;vertical-align:top;max-width:280px;overflow-wrap:anywhere}.video-log a{color:#164e72;text-decoration:underline}.video-log button:focus-visible{outline:3px solid #67466f;outline-offset:3px}
#video-upload-preview{width:min(680px,calc(100vw - 30px));max-height:85vh;overflow:auto;padding:24px;background:#edf3fa;color:#033249;border:2px solid #879fc6;border-radius:14px;font:17px/1.6 system-ui}#video-upload-preview::backdrop{background:#102c4566}#video-upload-preview button{min-height:48px;padding:10px 14px;font:inherit}#video-upload-preview input{max-width:100%;background:#fff}#video-upload-preview dt{font-weight:700}

.record-section .cards .card,.record-section .cards .card:nth-child(7){position:relative;justify-content:center!important;align-items:center;gap:0}
.record-section .cards .card .card-top,.record-section .cards .card:nth-child(7) .card-top{position:absolute;top:20px;left:15px;width:auto!important;align-self:auto;margin:0;justify-content:flex-start}
.record-section .cards .card .tile-center-group{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:9px;width:100%;min-width:0;text-align:center}
.record-section .cards .card .tile-center-group .goal-number,.record-section .cards .card .tile-center-group .t{margin:0;padding:0;text-align:center}
.record-section .cards .card .tile-center-group .t{width:100%;display:flex;align-items:center;justify-content:center}


.record-section[data-layout=stack] .cards .card,.record-section[data-layout=stack] .cards .card:nth-child(7){min-height:140px;padding:18px 60px}
.record-section[data-layout=stack] .cards .card .card-top{top:50%;left:15px;transform:translateY(-50%)}
.record-section[data-layout=stack] .cards .card .tile-center-group{gap:0}
.record-section[data-layout=stack] .cards .card .goal-number{position:absolute;right:15px;top:50%;transform:translateY(-50%);font-size:42px}
@media(max-width:520px){
 .record-section[data-layout=stack] .cards .card,.record-section[data-layout=stack] .cards .card:nth-child(7){min-height:180px;padding:18px 15px}
 .record-section[data-layout=stack] .cards .card .card-top{top:14px;transform:none}
 .record-section[data-layout=stack] .cards .card .goal-number{top:10px;right:15px;transform:none;font-size:32px}
 .record-section[data-layout=stack] .cards .card .milk-tile-heading{width:calc(var(--milk-phone-width)*1.2)}
}


.record-section .cards .card[data-go=note]{--ombre-top:#e2f0f2;--ombre-bottom:#8fbccf;background-image:linear-gradient(145deg,var(--ombre-top) 0%,var(--ombre-bottom) 100%)!important}
.record-section .cards .card[data-go=agenda]{--ombre-top:#e5ecf7;--ombre-bottom:#91acd5;background-image:linear-gradient(145deg,var(--ombre-top) 0%,var(--ombre-bottom) 100%)!important}
.record-section .cards .card[data-go=selfmgmt]{--ombre-top:#e6f0db;--ombre-bottom:#9dc39b;background-image:linear-gradient(145deg,var(--ombre-top) 0%,var(--ombre-bottom) 100%)!important}
.record-section .cards .card[data-go=planner]{--ombre-top:#fbf8c8;--ombre-bottom:#d8c96e;background-image:linear-gradient(145deg,var(--ombre-top) 0%,var(--ombre-bottom) 100%)!important}
.record-section .cards .card[data-go=emotion]{--ombre-top:#f5e7db;--ombre-bottom:#cdac94;background-image:linear-gradient(145deg,var(--ombre-top) 0%,var(--ombre-bottom) 100%)!important}
.record-section .cards .card[data-go=spelling]{--ombre-top:#ddf1eb;--ombre-bottom:#89bcae;background-image:linear-gradient(145deg,var(--ombre-top) 0%,var(--ombre-bottom) 100%)!important}
.record-section .cards .card[data-go=writing]{--ombre-top:#eee7f4;--ombre-bottom:#b49ac8;background-image:linear-gradient(145deg,var(--ombre-top) 0%,var(--ombre-bottom) 100%)!important}
.record-section .cards .card[data-go=socialcues]{--ombre-top:#e0edf1;--ombre-bottom:#92b4c4;background-image:linear-gradient(145deg,var(--ombre-top) 0%,var(--ombre-bottom) 100%)!important}
.record-section .cards .card[data-go=peercompromise]{--ombre-top:#f0e4e9;--ombre-bottom:#c39bae;background-image:linear-gradient(145deg,var(--ombre-top) 0%,var(--ombre-bottom) 100%)!important}
.record-section .cards .card[data-go=relationships]{--ombre-top:#e9e6f4;--ombre-bottom:#aa9fcc;background-image:linear-gradient(145deg,var(--ombre-top) 0%,var(--ombre-bottom) 100%)!important}
.record-section .cards .card[data-go=taskplanning]{--ombre-top:#edf0db;--ombre-bottom:#b7c58c;background-image:linear-gradient(145deg,var(--ombre-top) 0%,var(--ombre-bottom) 100%)!important}
.record-section .cards .card::before{opacity:.35}
.record-section .cards .card .goal-number{background-image:linear-gradient(180deg,#035366 5%,#842f83 95%)}
.top .milk-title-effect{width:300px;background-image:linear-gradient(110deg,#64d8e5 4%,#a4b9ef 48%,#d38fe6 96%)}
@media(max-width:1100px) and (min-width:761px){.top .milk-title-effect{width:270px}}
@media(max-width:760px){.top .milk-title-effect{width:245px;max-width:76vw}}


/* Reversible trial: remove this block to restore untouched navy PNG glyphs. */
@supports (mask-image:url("milk-trial-writing.png")){
 .record-section .cards .milk-tile-heading{background-image:linear-gradient(145deg,#035366 4%,#842f83 96%);mask-image:var(--tile-title-mask);-webkit-mask-image:var(--tile-title-mask);mask-size:100% 100%;-webkit-mask-size:100% 100%;mask-repeat:no-repeat;-webkit-mask-repeat:no-repeat;mask-position:center;-webkit-mask-position:center}
 .record-section .cards .milk-tile-heading img{opacity:0}
 @media(max-width:1600px){.record-section .cards .milk-tile-heading{mask-image:var(--tile-title-mask-compact);-webkit-mask-image:var(--tile-title-mask-compact)}}
 @media(max-width:520px){.record-section .cards .milk-tile-heading{mask-image:var(--tile-title-mask-phone);-webkit-mask-image:var(--tile-title-mask-phone)}}
}

.spell-bubbles{display:flex;flex-wrap:wrap;gap:10px;margin:18px 0}.spell-bubbles button{display:flex;flex-direction:column;align-items:center;min-height:48px;max-width:100%;padding:10px 18px;border:1px solid #8daabd;border-radius:28px;background:#fff;color:#033249;font:inherit;overflow-wrap:anywhere;cursor:pointer}.spell-bubbles button small{font-size:12px}.spell-bubbles button[aria-current=true]{background:#cbdde8;border:2px solid #295775}.spell-bubble-editor{background:#eef4f8;border:2px solid #91aabd;border-radius:13px;padding:18px;margin:18px 0}.spell-bubble-editor h3{font-size:23px;line-height:1.5;overflow-wrap:anywhere}.spell-bubble-editor .spell-word-row{border:0;margin:0;padding:0}.spell-bubble-section>textarea{min-height:85px}.spell-bubble-editor .evidence-actions{flex-wrap:wrap}.spell-bubble-editor button,.spell-bubble-section>button{min-height:48px;font:inherit}.spell-bubble-editor .spell-word-pair{display:block}.spell-bubble-editor input,.spell-bubble-editor select{width:100%;max-width:100%}#spell-word-remove-dialog{width:min(540px,calc(100vw - 30px));max-height:85vh;overflow:auto;padding:22px;background:#edf3fa;color:#033249;border:2px solid #91aabd;border-radius:14px;font:18px/1.6 system-ui}#spell-word-remove-dialog::backdrop{background:#102c4566}#spell-word-remove-dialog button{min-height:48px;font:inherit;padding:10px 16px}@media(max-width:520px){.spell-bubble-editor{padding:12px}.spell-bubble-editor .evidence-actions button{flex:1}}
.spell-bubble-section button{min-height:48px;padding:9px 14px;border:1px solid #8daabd;border-radius:10px;background:#fff;color:#033249;font:inherit;cursor:pointer}.spell-bubble-section button:focus-visible{outline:3px solid #67466f;outline-offset:3px}.spell-bubble-section button:disabled{opacity:.55;cursor:default}.spell-bubbles button{border-radius:28px}.spell-bubble-editor .spell-acquisition-choice{display:flex!important;justify-content:flex-start;align-items:center;gap:12px}.spell-bubble-editor input[type=checkbox]{width:22px!important;min-height:22px!important;flex:0 0 22px;margin:0}
#spell-acquisition-controls{background:#edf6f1;border:2px solid #89ad9a}#spell-acquisition-controls .spell-acquisition-source{padding:12px 16px;border:1px solid #a7c7b4;border-radius:10px;margin:12px 0;min-width:0}#spell-acquisition-controls .spell-acquisition-choice{display:flex!important;justify-content:flex-start;align-items:center;gap:12px;margin:12px 0;overflow-wrap:anywhere}#spell-acquisition-controls input[type=checkbox]{width:22px!important;min-height:22px!important;flex:0 0 22px;margin:0}#spell-acquisition-controls>button{min-height:48px;padding:10px 16px;background:#fff;color:#033249;border:1px solid #8daabd;border-radius:10px;font:inherit;cursor:pointer}
#entry .row:has(>[data-fid=materialsNeeded]){display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1fr);gap:16px;align-items:start}#entry [data-fid=materialsNeeded] .lbl,#entry [data-fid=materialsLocation] .lbl{font-size:15px;font-weight:550}#entry [data-fid=materialsNeeded] .help{font-size:13px;line-height:1.5;margin-top:6px}#entry [data-fid=materialsNeeded] input,#entry [data-fid=materialsLocation] select{width:100%;min-width:0;box-sizing:border-box}@media(max-width:700px){#entry .row:has(>[data-fid=materialsNeeded]){grid-template-columns:minmax(0,1fr);gap:4px}}
.evidence-gallery-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr));gap:16px}.evidence-gallery-card{min-width:0;background:#fff;border:1px solid #8daabd;border-radius:12px;padding:14px;overflow-wrap:anywhere}.evidence-gallery-card img{display:block;width:100%;height:160px;object-fit:contain;margin:12px 0}.evidence-gallery-card .evidence-actions{flex-wrap:wrap}
.saved-bonus-counter{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin:12px 0 22px;padding:14px 18px;border:2px solid #89ad9a;border-radius:12px;background:#edf6f1;color:#033249}.saved-bonus-counter>strong{font-size:23px}.saved-bonus-counter details{flex-basis:100%;font-size:15px}#bonus-reset-dialog{max-width:540px;width:calc(100% - 36px);box-sizing:border-box;padding:24px;border-radius:14px}#bonus-reset-dialog button{min-height:48px}#bonus-reset-dialog::backdrop{background:#102c4566}
.safety-action-choices{display:flex;flex-wrap:wrap;gap:10px}.safety-action-choices button{min-height:48px}.safety-action-card{margin:18px 0}.safety-action-card input,.safety-action-card select{max-width:100%;width:100%;box-sizing:border-box}@media(max-width:700px){.safety-action-card .row{display:block}.safety-action-choices button{width:100%}}
/* Keep full containers visibly tinted; reserve white for editable controls. */
body[data-goal=spelling] #screen #entry .spell-bubble-section{background:#dfede7;border:2px solid #89ad9a}
body[data-goal=spelling] #screen #entry .spell-bubble-editor{background:#e6ddef;border:2px solid #aa8dbc}
body[data-goal=spelling] #screen #entry .spell-word-row{background:transparent}
body[data-goal=spelling] #screen #entry #spell-acquisition-controls{background:#dfede7;border:2px solid #89ad9a}
body[data-goal=spelling] #screen #entry .spell-acquisition-source{background:#d3e5db;border:1px solid #89ad9a}
body[data-goal=spelling] #screen #entry .spell-suggestion{background:#dce9f2;border:1px solid #91aabd}
body[data-goal=spelling] #screen #entry .spell-word-section button:not(.primary):not([aria-current=true]){background:#d9e6eb;color:#033249;border-color:#8daabd}
body[data-goal=spelling] #screen #entry .spell-word-section input,body[data-goal=spelling] #screen #entry .spell-word-section select,body[data-goal=spelling] #screen #entry .spell-word-section textarea{background:#fff;color:#033249}
body[data-goal=spelling] #screen #entry .evidence-gallery-card{background:#dce9f2;border-color:#91aabd}

/* One tinted band per main section; inner groups use titles, space and thin dividers. */
body #screen #entry.sectioned-entry{border:0;box-shadow:none;background:transparent;padding:0;max-width:1000px}
body #screen #entry.sectioned-entry>.app-section{border:0;border-top:2px solid #91aabd;border-radius:0;box-shadow:none;padding:18px 22px 22px;margin:24px 0;background:#edf3fa}
body #screen #entry.sectioned-entry>.section-tone-lilac{border-top-color:#aa8dbc;background:#f0e9f5}
body #screen #entry.sectioned-entry>.section-tone-green{border-top-color:#89ad9a;background:#e9f3ee}
body #screen #entry.sectioned-entry>.section-tone-gold{border-top-color:#b8a56d;background:#f6f0df}
body #screen #entry.sectioned-entry fieldset>legend{float:left;width:100%;box-sizing:border-box;padding:0;margin:0 0 15px;font-size:21px;line-height:1.45;font-weight:650;color:#033249}
body #screen #entry.sectioned-entry fieldset>legend+*{clear:both}
body #screen #entry.sectioned-entry fieldset:after{content:"";display:block;clear:both}
body #screen #entry.sectioned-entry fieldset fieldset,body #screen #entry.sectioned-entry .emotion-contact,body #screen #entry.sectioned-entry .ag-row,body #screen #entry.sectioned-entry .ag-repeat{border:0;border-top:1px solid #b5c8d4;border-radius:0;background:transparent;box-shadow:none;margin:20px 0 0;padding:17px 0 0}
body #screen #entry.sectioned-entry fieldset fieldset>legend{font-size:18px;font-weight:600}
body[data-goal=spelling] #screen #entry .spell-bubble-section,body[data-goal=spelling] #screen #entry .spell-bubble-editor,body[data-goal=spelling] #screen #entry #spell-acquisition-controls,body[data-goal=spelling] #screen #entry .spell-acquisition-source,body[data-goal=spelling] #screen #entry .spell-suggestion{border:0;border-top:1px solid #b7a8c3;border-radius:0;background:transparent;box-shadow:none;padding:18px 0;margin:20px 0 0}
body[data-goal=spelling] #screen #entry .spell-word-row{border:0;padding:0;background:transparent}
body #screen #entry.sectioned-entry .evidence-preview{border:0;border-top:1px solid #b5c8d4;border-radius:0;box-shadow:none;background:transparent;padding:16px 0}
body #screen #entry.sectioned-entry .evidence-gallery-card{border:0;border-left:2px solid #91aabd;border-radius:0;background:transparent;box-shadow:none;padding:8px 16px}
body #screen #entry.sectioned-entry input:not([type=checkbox]):not([type=radio]),body #screen #entry.sectioned-entry select,body #screen #entry.sectioned-entry textarea{background:#fff;color:#033249}
body #screen #entry .safety-action-choices{gap:8px}
@media(max-width:700px){body #screen #entry.sectioned-entry>.app-section{padding:15px 13px;margin:20px 0}body #screen #entry.sectioned-entry fieldset>legend{font-size:20px}.evidence-gallery-grid{grid-template-columns:minmax(0,1fr)}}

#saved-bonus-counter.saved-bonus-counter{display:flex;flex-direction:column;align-items:flex-start;width:fit-content;max-width:min(100%,320px);box-sizing:border-box;gap:4px;padding:13px 18px;margin:16px 0 22px;border:1px solid #b7a86c;border-left:4px solid #c6a83d;border-radius:15px;background:linear-gradient(135deg,#faf1cf,#e5f2ec);color:#033249;box-shadow:none}.bonus-callout-main{display:flex;align-items:center;gap:13px}.bonus-star{font-size:36px;line-height:1;color:#8b6d14}.bonus-label{display:block;font-size:15px;font-weight:650}.bonus-value{display:block;font-size:42px;line-height:1.1;font-weight:750}.bonus-period{font-size:12px;color:#385866}#saved-bonus-counter #bonus-reset-open{min-height:44px;padding:6px 0;border:0;background:transparent;text-decoration:underline;font-size:12px;box-shadow:none;color:#385866}#saved-bonus-counter details{width:100%;font-size:12px}#saved-bonus-counter summary{min-height:32px;cursor:pointer}@media(max-width:520px){#saved-bonus-counter.saved-bonus-counter{max-width:100%;padding:12px 16px}.bonus-value{font-size:38px}}
#saved-bonus-counter.saved-bonus-counter{display:grid;grid-template-columns:auto auto;gap:2px 12px;padding:10px 14px}.bonus-callout-main{grid-column:1;grid-row:1/3}.bonus-period{grid-column:2;align-self:end}#saved-bonus-counter #bonus-reset-open{grid-column:2;align-self:start}#saved-bonus-counter details{grid-column:1/-1}#saved-bonus-counter summary{min-height:24px}

/* Scoped Video Log visual trial. No record, access or behavioral changes. */
body:not([data-screen=home]) #screen:has(>.video-log){color:#eff8fa;border:1px solid #537e8a;background-color:#174c60;background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22960%22%20height%3D%22640%22%20viewBox%3D%220%200%20960%20640%22%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22%23b8e2e8%22%20stroke-opacity%3D%22.075%22%20stroke-width%3D%221.2%22%3E%3Cpath%20d%3D%22M-130%2090C160-80%20420%20240%201060%2040M-120%20115C170-55%20430%20265%201070%2065M-170%20390C140%20180%20500%20590%201080%20330M-150%20420C160%20210%20520%20620%201100%20360M-150%20575C210%20375%20650%20780%201100%20570%22%2F%3E%3Cellipse%20cx%3D%22780%22%20cy%3D%22190%22%20rx%3D%22250%22%20ry%3D%22105%22%20transform%3D%22rotate%28-15%20780%20190%29%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E"),linear-gradient(140deg,#123653 0%,#185368 48%,#236b6b 100%);background-size:960px 640px,100% 100%;box-shadow:0 12px 28px #051c2822}
#screen:has(>.video-log)>.demo-intro,#screen:has(>.video-log)>.demo-intro h1,#screen:has(>.video-log)>h1{color:#f4fbfc}
#screen:has(>.video-log) .video-log{color:#edf7f9}
#screen:has(>.video-log) .video-log>p,#screen:has(>.video-log) .demo-storage-note{color:#d5e9ed}
#screen:has(>.video-log) .video-log .app-section{border:1px solid #75a1aa;background:#0c304c66;box-shadow:none}
#screen:has(>.video-log) .video-log .section-tone-green{background:#123f4866;border-color:#7faead}
#screen:has(>.video-log) .video-log legend{color:#f2fafb}
#screen:has(>.video-log) .video-log label{color:#eaf6f8}
#screen:has(>.video-log) .video-log-scroll{background:#f8fcfd;color:#14384a;border:1px solid #b6d2d8;border-radius:10px}
#screen:has(>.video-log) .video-log table{background:#f8fcfd;color:#14384a}
#screen:has(>.video-log) .video-log thead{background:#dcebf0;color:#12394d}
#screen:has(>.video-log) .video-log tbody tr:nth-child(even){background:#edf5f6}
#screen:has(>.video-log) .video-log th button{color:#12394d}
#screen:has(>.video-log) .video-log input,#screen:has(>.video-log) .video-log select{background:#fff!important;color:#14384a;border:1px solid #a7c5ce}
#screen:has(>.video-log) .video-log a{color:#135675}

/* Private midpoint palette: painted teal kelp, deep left, sunlit right, static water. Anglerfish frozen. */
html{background:#051c30}
body{isolation:isolate;position:relative;background-color:#103e55;background-image:radial-gradient(ellipse at 4% 100%,#01102055,transparent 55%),radial-gradient(ellipse at 100% -8%,#b5f1e040,transparent 58%),linear-gradient(108deg,#04182c 0%,#072e46 29%,#104b61 66%,#287a83 100%);background-repeat:no-repeat;background-size:100% 100%;background-attachment:scroll}
body::before{content:"";position:absolute;inset:0;min-height:100vh;z-index:-1;pointer-events:none;background-image:url("included-logo-fish-school.svg"),url("ocean-midpoint-water.svg"),url("illustrated-kelp-midpoint-v3.png");background-size:100% auto,100% 100%,100% 100%;background-position:center 30px,center top,center bottom;background-repeat:no-repeat;opacity:.48}
.app-shell{position:relative;z-index:1}
.workspace-nav{background-image:linear-gradient(180deg,#03182def,#05263bdd);background-color:transparent;border-color:#80b5c126;box-shadow:12px 0 30px #00122018}
.top{border-bottom-color:#b8e1df3b}
/* More water between home tiles; original titles and click targets stay large. */
.record-section .cards{gap:26px}
.record-section .cards .card,.record-section .cards .card:nth-child(7){min-height:252px;padding:20px 15px}
.record-section[data-layout=stack] .cards{gap:22px}
.record-section[data-layout=stack] .cards .card{margin-top:0}
.record-section{position:relative;padding-bottom:126px}
.record-section::after{content:"";position:absolute;left:0;bottom:0;width:184px;aspect-ratio:768/456;pointer-events:none;opacity:.74;background-image:url("realistic-anglerfish-poses-v2.png");background-size:200% 224.5614%;background-position:0 0;filter:brightness(.8)}
@media(max-width:1000px){.workspace-nav{background-image:linear-gradient(100deg,#041c30e0,#123c50a6);border-radius:0 0 14px 14px;padding-left:15px;padding-right:15px}.record-section .cards{gap:23px}}
@media(max-width:520px){body::before{background-size:150% auto,auto 100%,auto 100%;background-position:80% 100px,62% top,57% bottom}.workspace-nav{background-image:linear-gradient(105deg,#041c30ef,#123c50bf)}.record-section .cards{gap:22px}.record-section .cards .card,.record-section .cards .card:nth-child(7){min-height:224px;padding:18px 15px}.record-section::after{width:150px}.record-section{padding-bottom:108px}}

/* Raster poses depict a turn, forward approach and closing jaw. Lock is already complete. */
.lock-chomp-overlay{position:fixed;inset:0;z-index:10000;overflow:hidden;pointer-events:none;background:#041b2c;opacity:1;animation:chomp-reveal 2.2s ease-in-out forwards;contain:strict}
.chomp-fish{position:absolute;width:min(76vw,800px);aspect-ratio:1.5;left:15%;top:85%;transform:translate(-50%,-50%) scale(.28);transform-origin:50% 65%;animation:angler-approach 2.2s cubic-bezier(.35,.15,.3,1) forwards;will-change:transform,left,top}
.chomp-pose{position:absolute;inset:0;opacity:0;animation-duration:2.2s;animation-timing-function:steps(1,end);animation-fill-mode:forwards}
.chomp-pose svg{display:block;width:100%;height:100%}.chomp-pose img{display:block;position:absolute;left:0;top:50%;width:100%;height:auto;transform:translateY(-50%)}
.chomp-side{animation-name:angler-side}
.chomp-turn{animation-name:angler-turn}
.chomp-front{animation-name:angler-front}
.chomp-close{animation-name:angler-close}
@keyframes angler-approach{0%{left:15%;top:85%;transform:translate(-50%,-50%) scale(.28)}22%{left:28%;top:68%;transform:translate(-50%,-50%) scale(.58)}43%{left:45%;top:53%;transform:translate(-50%,-50%) scale(.9)}57%{left:50%;top:50%;transform:translate(-50%,-50%) scale(1.2)}78%,100%{left:50%;top:50%;transform:translate(-50%,-50%) scale(2.65)}}
@keyframes angler-side{0%,24.99%{opacity:1}25%,100%{opacity:0}}
@keyframes angler-turn{0%,24.99%{opacity:0}25%,42.99%{opacity:1}43%,100%{opacity:0}}
@keyframes angler-front{0%,42.99%{opacity:0}43%,73.99%{opacity:1}74%,100%{opacity:0}}
@keyframes angler-close{0%,73.99%{opacity:0}74%,100%{opacity:1}}
@keyframes chomp-reveal{0%,83%{opacity:1}100%{opacity:0}}
.lock-chomp-overlay.reduced-motion{animation:chomp-reduced-fade .3s ease-out forwards}
.lock-chomp-overlay.reduced-motion .chomp-fish{left:50%;top:50%;width:240px;transform:translate(-50%,-50%);animation:none}
.lock-chomp-overlay.reduced-motion .chomp-pose{animation:none;opacity:0}
.lock-chomp-overlay.reduced-motion .chomp-side{opacity:1}
@keyframes chomp-reduced-fade{from{opacity:.9}to{opacity:0}}
@media(prefers-reduced-motion:reduce){.lock-chomp-overlay{animation:chomp-reduced-fade .3s ease-out forwards}.chomp-fish{left:50%;top:50%;width:240px;transform:translate(-50%,-50%);animation:none}.chomp-pose{animation:none;opacity:0}.chomp-side{opacity:1}}

@media(max-width:520px){.record-section .section-heading{align-items:flex-start;flex-direction:column;gap:15px}.record-section .section-heading>div:first-child{width:100%}.record-section .section-heading h1{font-size:28px!important}.record-section .section-heading .view-picker{align-self:flex-end}}
/* Ocean remains visible around smaller readable field sections. */
body #screen:has(#entry){background:transparent!important;border:0!important;box-shadow:none!important;padding:16px 0!important}
body #screen:has(#entry)>h1,body #screen:has(#entry)>p.help,body #screen:has(#entry)>.back{color:#f4f7f6}
body #screen #entry{background:transparent!important;border:0!important;box-shadow:none!important}
body #screen #entry>.app-section,body #screen #entry>.sm-tallies{background:#e5efef;border:0;border-top:2px solid #a3c2c7;border-radius:13px;padding:18px 20px;margin:20px 0}
body #screen #entry>.section-tone-lilac{background:#eee4f0}body #screen #entry>.section-tone-green{background:#deeee6}body #screen #entry>.section-tone-gold{background:#f0ead9}
body #screen #entry input:not([type=checkbox]):not([type=radio]),body #screen #entry select,body #screen #entry textarea{background:#fff!important;color:#033249}
.sm-ocean-layout{display:grid;grid-template-columns:minmax(0,1fr) 250px;gap:28px;align-items:start}.sm-ocean-layout #entry{min-width:0;width:100%;display:block}
.sm-visual-panel h2{font-size:24px;color:#063a4a;margin-top:0}.sm-visual-sample{padding:16px 0;margin:14px 0;border:0;border-top:1px solid #9bbeb1}.sm-visual-sample>legend{font-size:18px!important;font-weight:650;line-height:1.5}.sm-visual-sample>label{display:block;margin:12px 0;color:#063a4a}.sm-visual-sample input,.sm-visual-sample select{display:block;max-width:100%;width:100%;box-sizing:border-box;min-height:48px;margin-top:6px}.sm-mark-bubbles{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:16px 0}.sm-mark-choice{min-width:0}.sm-mark-bubble{width:100%;min-height:138px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;border-radius:24px;border:2px solid #77a799;background:linear-gradient(145deg,#fff,#d4e9df);color:#063a4a;font-size:15px;cursor:pointer}.sm-mark-bubble:disabled{opacity:.65;cursor:default}.sm-mark-bubble[aria-expanded=true]{outline:3px solid #245d76;outline-offset:2px}.sm-mark-symbol{font-family:Georgia,serif;font-size:36px;line-height:1;width:46px;height:46px;display:grid;place-items:center}.circled-mark .sm-mark-symbol{border:2px solid currentColor;border-radius:50%}.sm-mark-quantity{display:block;font-size:14px;margin-top:14px}.sm-mark-quantity small{display:block;margin-top:8px;line-height:1.4}
/* Sunset lettering is confined to bonus-point content. */
#saved-bonus-counter.saved-bonus-counter{background:linear-gradient(135deg,#052c3b,#0c3d40);border:1px solid #80b6a5;color:#f7f4e7}#saved-bonus-counter .bonus-period,#saved-bonus-counter #bonus-reset-open{color:#f7f4e7}.bonus-label,.bonus-value{font-family:'Trebuchet MS','Avenir Next',sans-serif;font-style:italic;font-weight:800}.bonus-label,.bonus-value{color:#ffab65;background:linear-gradient(110deg,#ffb64d 0%,#ff8fb2 52%,#ff7766 100%);background-clip:text;-webkit-background-clip:text;-webkit-text-fill-color:transparent}
.sm-turtle-bonus{position:sticky;top:26px;width:250px;height:240px;box-sizing:border-box;display:grid;place-items:center;isolation:isolate;pointer-events:none;margin-top:30px;color:#f7f4e7}.turtle-shell{position:relative;width:192px;height:176px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;background:linear-gradient(135deg,#06323f,#0c3d40);border:3px solid #92be98;border-radius:48%;box-shadow:inset 0 0 0 6px #407f6f;z-index:1}.turtle-shell:before{content:'';position:absolute;z-index:-1;width:46px;height:43px;border-radius:55%;background:#69a38a;right:-40px;top:47px;border:2px solid #a6c8a7}.sm-turtle-bonus:before,.sm-turtle-bonus:after{content:'';position:absolute;z-index:0;width:190px;height:44px;background:#639a86;border:2px solid #98baa1;border-radius:80% 20% 80% 20%;transform:rotate(-27deg);left:20px;top:40px}.sm-turtle-bonus:after{top:auto;bottom:34px;transform:rotate(27deg);border-radius:20% 80% 20% 80%}.sm-turtle-bonus .bonus-label{font-size:21px}.sm-turtle-bonus .bonus-value{font-size:50px;line-height:1.05}.sm-turtle-bonus small{font-size:13px}.sm-turtle-bonus .bonus-label,.sm-turtle-bonus .bonus-value{text-align:center}
@media(max-width:1150px){.sm-ocean-layout{grid-template-columns:minmax(0,1fr)}.sm-turtle-bonus{position:relative;top:0;grid-row:1;justify-self:end;margin:0;width:230px;height:215px}.sm-ocean-layout #entry{grid-row:2}}
@media(max-width:520px){.sm-mark-bubbles{gap:8px}.sm-mark-bubble{font-size:13px;min-height:124px;border-radius:18px}.sm-mark-symbol{font-size:30px;width:38px;height:38px}.sm-turtle-bonus{justify-self:center}.sm-ocean-layout{gap:8px}body #screen #entry>.app-section,body #screen #entry>.sm-tallies{padding:16px 13px}}

.octopus-lock-overlay{position:fixed;inset:0;z-index:10000;overflow:hidden;pointer-events:none;background:linear-gradient(110deg,#051e33,#154c62);contain:strict;animation:octopus-lock-reveal 4.6s ease-in-out forwards}
.octopus-glass{position:absolute;inset:0;background:linear-gradient(116deg,transparent 15%,#c6f8ed0a 16%,transparent 19%,transparent 63%,#e0faff0a 64%,transparent 67%);border:1px solid #d6f9f31c}
.octopus-replica-stairs{position:absolute;left:17%;right:8%;top:16%;height:72%}
.octopus-replica-bar{position:absolute;left:calc(var(--step)*3%);top:calc(var(--step)*12%);width:calc(96% - var(--step)*6%);height:10%;min-height:28px;border:1px solid #e7faf355;border-radius:14px;box-shadow:0 8px 20px #00172226;animation:octopus-sweep-bar 1.4s ease-in forwards;animation-delay:calc(.4s + var(--step)*.38s);transform-origin:10% 50%}
.octopus-glass-animal{position:absolute;inset:0;width:100%;height:100%;filter:drop-shadow(0 6px 7px #00121d44)}
.octopus-arm-canvas{display:block;width:100%;height:100%}
@keyframes octopus-sweep-bar{0%,12%{opacity:1;transform:translate(0,0) rotate(0)}65%{opacity:.85;transform:translate(18%,60vh) rotate(15deg)}100%{opacity:0;transform:translate(35%,100vh) rotate(24deg)}}
@keyframes octopus-lock-reveal{0%,88%{opacity:1}100%{opacity:0}}
.octopus-lock-overlay.reduced-motion{animation:octopus-reduced-fade .3s ease-out forwards}.octopus-lock-overlay.reduced-motion .octopus-replica-stairs{display:none}.octopus-lock-overlay.reduced-motion .octopus-glass-animal{inset:0;width:100%;height:100%;transform:none;animation:none}
@keyframes octopus-reduced-fade{from{opacity:.9}to{opacity:0}}
@media(prefers-reduced-motion:reduce){.octopus-lock-overlay{animation:octopus-reduced-fade .3s ease-out forwards}.octopus-replica-stairs{display:none}.octopus-glass-animal{inset:0;width:100%;height:100%;transform:none;animation:none}}
@media(max-width:520px){.octopus-replica-stairs{left:6%;right:6%;top:24%;height:65%}.octopus-glass-animal{width:100%}}

.security-sea-crew{position:relative;margin:-126px 0 20px 214px;min-height:126px;max-width:calc(100% - 214px);color:#e2f3f2}.security-sea-crew>p{margin:0 0 4px;font-size:12px;line-height:1.4}.security-crew-controls{display:flex;gap:18px;align-items:end;flex-wrap:wrap}.security-creature-control{display:flex;flex-direction:column;align-items:center;justify-content:end;gap:3px;width:168px;min-height:106px;padding:3px 8px;border:1px solid transparent;border-radius:13px;background:transparent;color:#edf9f4;font:600 13px/1.4 'Trebuchet MS',sans-serif;cursor:pointer;box-sizing:border-box}.security-creature-control img{height:72px;max-width:140px;object-fit:contain}.security-creature-control span{display:block;min-height:32px;text-decoration:underline;text-underline-offset:3px}.security-creature-control:hover{background:#133f5080;border-color:#a6d9d270}.security-creature-control:focus-visible{outline:3px solid #f9f972;outline-offset:3px}.security-creature-control img{animation:none!important}
/* Curtains use the same frame-by-frame contact coordinates as the pincer tips. */
.crab-lock-overlay{position:fixed;inset:0;z-index:10000;overflow:hidden;pointer-events:none;background:linear-gradient(110deg,#051e33,#154c62);contain:strict;animation:crab-lock-reveal 5.2s linear forwards}
.crab-kelp-curtain{position:absolute;top:0;bottom:0;background-image:url("illustrated-kelp-midpoint-v3.png"),linear-gradient(100deg,#063647ee,#115b62e8);background-size:auto 100%,100% 100%;background-repeat:no-repeat}
.curtain-left{left:0;width:var(--left-curtain-width,12%);background-position:left bottom,center;border-right:2px solid #8eb29566}
.curtain-right{right:0;width:var(--right-curtain-width,12%);background-position:right bottom,center;border-left:2px solid #8eb29566}
.crab-contact-canvas{position:absolute;inset:0;width:100%;height:100%;filter:drop-shadow(0 6px 5px #00172244)}
@keyframes crab-lock-reveal{0%,91%{opacity:1}100%{opacity:0}}
.crab-lock-overlay.reduced-motion{animation:crab-reduced-fade .3s ease-out forwards}.crab-lock-overlay.reduced-motion .crab-kelp-curtain{display:none}
@keyframes crab-reduced-fade{from{opacity:.9}to{opacity:0}}
@media(prefers-reduced-motion:reduce){.crab-lock-overlay{animation:crab-reduced-fade .3s ease-out forwards}.crab-kelp-curtain{display:none}}
@media(max-width:760px){.security-sea-crew{margin:14px 0 24px;max-width:100%;min-height:0}.security-crew-controls{justify-content:center;gap:8px}.security-creature-control{width:calc(50% - 4px);min-width:130px}.security-creature-control img{height:82px}}

.octopus-arm-canvas{display:block;width:100%;height:auto}
/* New original resting artwork only; the separate chomp atlas/animation stays unchanged. */
.record-section:has(>.resting-angler-control){padding-bottom:172px}.record-section:has(>.resting-angler-control)::after{opacity:0}
.resting-angler-control{position:absolute;left:0;bottom:0;scroll-margin-top:42px;width:184px;height:140px;padding:0;margin:0;border:0;border-radius:12px;background:transparent;color:#edf9f4;cursor:pointer;z-index:1;box-shadow:none;overflow:visible;font:600 12px/1.4 'Trebuchet MS',sans-serif}
.resting-angler-character{display:block;width:100%;height:100%;max-width:100%;object-fit:contain;pointer-events:none;filter:drop-shadow(0 4px 4px #001a2440)}
.resting-angler-control:hover{background:transparent;box-shadow:none}.resting-angler-control:focus-visible{outline:3px solid #f9f972;outline-offset:4px}
.angler-lock-label{position:absolute;left:0;top:calc(100% + 3px);width:100%;min-height:22px;text-align:center;text-decoration:underline;text-underline-offset:3px;white-space:nowrap}
@media(max-width:760px){.record-section:has(>.resting-angler-control)+.security-sea-crew{margin-top:40px}}
@media(max-width:520px){.record-section:has(>.resting-angler-control){padding-bottom:142px}.resting-angler-control{width:150px;height:114px}}

.vampire-squid-lock-overlay{position:fixed;inset:0;z-index:10000;overflow:hidden;pointer-events:none;contain:strict;background:#082d46;animation:vampire-squid-reveal 5.8s linear forwards}.vampire-squid-canvas{display:block;width:100%;height:100%}
@keyframes vampire-squid-reveal{0%,88%{opacity:1}100%{opacity:0}}
.vampire-squid-lock-overlay.reduced-motion{animation:vampire-squid-gentle .4s ease-out forwards}@keyframes vampire-squid-gentle{from{opacity:.82}to{opacity:0}}
@media(prefers-reduced-motion:reduce){.vampire-squid-lock-overlay{animation:vampire-squid-gentle .4s ease-out forwards}}

/* Readable form sections and contained titles over the existing ocean theme. */
body #screen #entry{min-width:0;color:#173d4a}
body #screen #entry>:is(.row,.fld,.entry-meta,.sm-meta,.ag-meta){background:#eef4f5;border:1px solid #afc5ce;border-radius:13px;padding:18px 20px;margin:18px 0;min-width:0;box-sizing:border-box}
body #screen #entry fieldset{min-width:0;max-width:100%;box-sizing:border-box;color:#173d4a}
body #screen #entry fieldset>legend{float:left;display:block;width:100%;max-width:100%;box-sizing:border-box;padding:0;margin:0 0 14px;color:#173d4a;font-size:19px;line-height:1.4;font-weight:700;white-space:normal;overflow-wrap:anywhere}
body #screen #entry fieldset>legend+*{clear:both}
body #screen #entry fieldset::after{content:'';display:block;clear:both}
body #screen #entry :is(h2,h3,.lbl,label,legend,summary){max-width:100%;white-space:normal;overflow-wrap:anywhere;line-height:1.4}
body #screen #entry :is(.lbl,legend,h2,h3){color:#173d4a}
body #screen #entry .req{color:#785322;margin-left:7px;display:inline-block}
body #screen #entry :is(.help,.opt){color:#395965}
body #screen #entry .planner-check-columns{gap:22px;min-width:0}
body #screen #entry .planner-check-columns>.planner-section{height:auto;align-self:stretch}
body #screen #entry :is(.planner-section,.app-section,.sm-tallies){overflow:visible}
body #screen #entry :is(.planner-review,.planner-count-state,.planner-high-count){color:#173d4a;background:#e6eff2}
body #screen #entry :is(.chip,.btn){white-space:normal;overflow-wrap:anywhere;max-width:100%;line-height:1.4}
body #screen #entry .chip{color:#173d4a;background:#f8fbfc;border-color:#6c8d9c}
body #screen #entry .chip.on,body #screen #entry .chip[aria-pressed=true]{background:#c9dfe8;border-color:#315a73;color:#102f42}
body #screen #entry :is(input,select,textarea){min-width:0;max-width:100%;box-sizing:border-box}
body #screen #entry :is(.row,.planner-detail-columns,.planner-support-fields)>*{min-width:0}
body #screen #entry>p.help{color:#f3f7f8;background:#12384b;padding:12px 16px;border-radius:9px}
body #screen :is(.data-sheet,.video-log-panel) :is(h2,h3,legend){white-space:normal;overflow-wrap:anywhere;max-width:100%;line-height:1.4}
@media(max-width:650px){body #screen #entry .planner-check-columns,body #screen #entry .planner-detail-columns,body #screen #entry .planner-support-fields{grid-template-columns:minmax(0,1fr)}body #screen #entry>:is(.row,.fld,.entry-meta,.sm-meta,.ag-meta){padding:16px 13px}body #screen #entry fieldset>legend{font-size:17px}body #screen #entry .row{display:grid;grid-template-columns:minmax(0,1fr)}}

/* Reuse the approved turtle art for the existing shared saved-total counter. */
body #saved-bonus-counter.saved-bonus-counter{display:flex;flex-direction:row;align-items:center;gap:28px;flex-wrap:wrap;width:100%;height:auto;background:transparent!important;border:0;box-shadow:none;padding:8px 16px 12px;margin:8px 0 14px;max-width:100%;color:#f4f8f8}
#saved-bonus-counter .shared-top-turtle.sm-turtle-bonus{position:relative;top:0;grid-row:auto;justify-self:auto;width:210px;height:183px;flex:0 0 210px;margin:0;pointer-events:none}
#saved-bonus-counter .shared-top-turtle .turtle-shell{width:155px;height:139px;gap:5px}
#saved-bonus-counter .shared-top-turtle .turtle-shell:before{width:36px;height:35px;right:-31px;top:39px}
#saved-bonus-counter .shared-top-turtle:before,#saved-bonus-counter .shared-top-turtle:after{width:153px;height:34px;left:20px;top:30px}
#saved-bonus-counter .shared-top-turtle:after{top:auto;bottom:27px}
#saved-bonus-counter .shared-top-turtle .bonus-label{font-size:18px}
#saved-bonus-counter .shared-top-turtle .bonus-value{font-size:39px;line-height:1.1}
#saved-bonus-counter .shared-top-turtle small{font-size:12px}
#saved-bonus-counter .bonus-counter-controls{flex:1 1 260px;max-width:620px;min-width:0;color:#f3f7f8}
#saved-bonus-counter .bonus-counter-controls details{color:#f3f7f8;font-size:13px;line-height:1.6;max-width:100%;flex-basis:auto}
#saved-bonus-counter .bonus-counter-controls summary{min-height:44px;display:list-item;padding:10px 0;cursor:pointer}
#saved-bonus-counter .bonus-counter-controls #bonus-reset-open{background:#edf4f5;color:#153c4b;border:1px solid #afc7ce}
.sm-ocean-layout>.sm-turtle-bonus{display:none}.sm-ocean-layout{grid-template-columns:minmax(0,1fr)}
@media(max-width:520px){body #saved-bonus-counter.saved-bonus-counter{gap:2px;justify-content:center;padding:4px 0 10px}#saved-bonus-counter .bonus-counter-controls{flex-basis:100%;text-align:center}#saved-bonus-counter .bonus-counter-controls details{text-align:left}}

/* Existing actions are moved intact into circles, distinct from Record's tiles. */
.admin-tools-view{max-width:1000px;margin:0 auto;min-width:0}
.admin-tools-view>h1{color:#173d4a;font-size:30px;line-height:1.25;margin:18px 0 12px}
.admin-tools-intro{color:#173d4a;font-size:18px;line-height:1.5;margin-bottom:24px}
.admin-tools-view>.back{font-size:18px;color:#173d4a}
.admin-tools-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;max-width:700px;margin:28px auto 32px;align-items:start}
.admin-tool-card{min-width:0;text-align:center;padding:10px 12px 12px;color:#173d4a}
.admin-tool-button-slot{display:flex;justify-content:center;min-width:0}
.admin-tools-grid button.admin-tool-circle{display:grid;place-items:center;width:128px;height:128px;min-height:128px;min-width:128px;aspect-ratio:1;border:2px solid #779fa9;border-radius:50%;padding:0;margin:0;box-sizing:border-box;background:linear-gradient(145deg,#e2f0f2,#bfdbe5);color:#033249;box-shadow:0 6px 14px #03324916;cursor:pointer;transition:transform .16s,box-shadow .16s}
.admin-tools-grid button.admin-tool-circle-targets{background:linear-gradient(145deg,#ddf1eb,#b9d9d0);border-color:#7daba0}
.admin-tools-grid button.admin-tool-circle:hover{transform:translateY(-3px);box-shadow:0 10px 18px #03324922}
.admin-tools-grid button.admin-tool-circle:active{transform:translateY(0)}
.admin-tools-grid button.admin-tool-circle:focus-visible{outline:3px solid #033249;outline-offset:5px}
.admin-tool-circle svg{display:block;width:52px;height:52px;fill:none;stroke:currentColor;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round;pointer-events:none}
.admin-tool-card h2{font-family:var(--ui-font,-apple-system,system-ui,sans-serif);font-size:22px;line-height:1.35;color:#173d4a;margin:18px auto 8px;max-width:250px;overflow-wrap:normal;word-break:normal}
.admin-tool-card p{font-size:17px;line-height:1.5;margin:0 auto;max-width:260px}
.admin-tools-history{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;align-items:start}
.admin-tool-panel{margin:0;padding:20px;border:2px solid #a8c1cb;border-radius:14px;background:#EFEDE8;color:#033249;min-width:0}
.admin-tool-panel h2{font-size:23px;line-height:1.3;color:#033249;margin:0 0 12px}
.admin-tool-panel p,.admin-tool-panel summary{font-size:18px;line-height:1.5}
.admin-tool-panel .bonus-counter-controls{display:flex;flex-wrap:wrap;gap:14px;align-items:center;padding:0;margin:0;color:#033249}
.admin-tool-panel .bonus-counter-controls>details{flex-basis:100%;max-width:100%}
.admin-tool-panel details{margin:0;overflow-wrap:anywhere}
.admin-tool-panel pre{max-width:100%;white-space:pre-wrap;overflow-wrap:anywhere}
.admin-tools-history .ag-admin-home>h2{display:none}
#admin-tools-nav{white-space:normal}
@media(max-width:700px){.admin-tools-history{grid-template-columns:1fr}.admin-tool-panel{padding:20px 16px}.admin-tools-view>h1{font-size:28px}.admin-tool-card{padding:8px 0}.admin-tool-card h2{font-size:20px}.admin-tools-grid{gap:20px}.admin-tools-grid button.admin-tool-circle{width:112px;height:112px;min-width:112px;min-height:112px}.admin-tool-card p{font-size:16px}.admin-tool-circle svg{width:46px;height:46px}}
@media(max-width:340px){.admin-tools-grid{grid-template-columns:1fr;gap:30px}.admin-tool-card h2,.admin-tool-card p{max-width:240px}}
@media(prefers-reduced-motion:reduce){.admin-tools-grid button.admin-tool-circle{transition:none}.admin-tools-grid button.admin-tool-circle:hover{transform:none}}

/* Align the actual content column to the sidebar, without centering it inside spare grid space. */
body .app-shell{gap:28px;grid-template-columns:238px minmax(0,1fr)}
body .app-shell>.wrap{width:100%;max-width:none;min-width:0;margin:0;box-sizing:border-box;padding-top:14px}
body .wrap>.top{display:grid;grid-template-columns:150px minmax(0,1fr) auto;grid-template-areas:'turtle title controls' 'turtle subtitle controls';grid-template-rows:auto auto;gap:2px 18px;align-items:center;min-height:140px;padding:0 0 12px;margin:0;box-sizing:border-box}
body .top>.app-title{grid-area:title;justify-self:center;align-self:end;max-width:100%;min-width:0;margin:0}
body .top>.brand{grid-area:subtitle;justify-self:center;align-self:start;min-width:0;margin:0;text-align:center}
body .top>.header-controls{grid-area:controls;justify-self:end;min-width:0;display:flex;gap:12px}
body .top>#saved-bonus-counter.saved-bonus-counter{grid-area:turtle;display:block;width:150px;height:132px;min-width:0;margin:0;padding:0;align-self:center}
body .top #saved-bonus-counter .shared-top-turtle.sm-turtle-bonus{width:150px;height:132px;margin:0}
body .top #saved-bonus-counter .shared-top-turtle .turtle-shell{width:118px;height:105px;gap:2px;box-shadow:inset 0 0 0 4px #407f6f}
body .top #saved-bonus-counter .shared-top-turtle .turtle-shell:before{width:27px;height:27px;right:-25px;top:30px}
body .top #saved-bonus-counter .shared-top-turtle:before,body .top #saved-bonus-counter .shared-top-turtle:after{width:116px;height:25px;left:13px;top:20px}
body .top #saved-bonus-counter .shared-top-turtle:after{top:auto;bottom:20px}
body .top #saved-bonus-counter .shared-top-turtle .bonus-label{font-size:14px;line-height:1.3}
body .top #saved-bonus-counter .shared-top-turtle .bonus-value{font-size:31px;line-height:1.1}
body .top #saved-bonus-counter .shared-top-turtle small{font-size:11px}
body .wrap>.banner{box-sizing:border-box;width:100%;max-width:100%;min-width:0;white-space:normal;flex-wrap:wrap;gap:5px 10px;margin:12px 0 18px;padding:10px 13px;overflow-wrap:anywhere}
body .wrap>.banner>*{min-width:0;max-width:100%;white-space:normal;overflow-wrap:anywhere}
body #screen{min-width:0;max-width:100%;box-sizing:border-box}
body #screen>.back{margin-top:0}
body #screen>h1{margin-top:10px;margin-bottom:12px;max-width:100%;overflow-wrap:anywhere}
body .workspace-nav .nav-item.active{background:#d7e7ed;color:#12394b}
@media(max-width:980px){body .app-shell{display:block}body .app-shell>.wrap{padding-top:12px}body .workspace-nav{min-height:0;padding:14px 15px 12px}body .workspace-nav .nav-brand img{max-width:140px;height:auto}body .workspace-nav nav{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px}body .workspace-nav .nav-item{width:auto;min-width:0;flex:none;justify-content:center;padding:9px 4px;gap:5px;font-size:13px;min-height:44px}body .workspace-nav .nav-item svg{width:16px;height:16px;flex-shrink:0}}
@media(max-width:650px){body .wrap>.top{grid-template-columns:150px minmax(0,1fr);grid-template-areas:'title title' 'turtle controls';gap:4px 8px;min-height:0;padding-bottom:6px}body .top>.app-title{align-self:center;justify-self:center;width:245px}body .top>.brand{display:none}body .top>.header-controls{justify-self:center;gap:12px}body .wrap>.banner{font-size:12px;line-height:1.5;margin:8px 0 12px;padding:9px 11px}body #screen>h1{font-size:26px;line-height:1.3;margin-top:8px}body .workspace-nav .nav-item{font-size:12px}body .workspace-nav .nav-item svg{display:none}}

body #screen:has(#entry){padding:8px 0!important}body #screen:has(#entry)>.back{min-height:36px;margin-bottom:4px}body #screen:has(#entry)>h1{font-size:28px;line-height:1.3;padding-bottom:10px;margin:4px 0 8px}body #screen:has(#entry)>p.help{font-size:14px;line-height:1.5;margin:4px 0 8px}body #screen #entry{padding:0!important}body #screen .entry-goal-reference{margin:10px 0 14px;padding:10px 14px}body #screen .entry-goal-reference .help{font-size:13px;line-height:1.45;margin:4px 0 8px}body #screen .planner-maintenance{font-size:13px;line-height:1.45;margin:8px 0;padding:9px 12px}
@media(min-width:800px){body #screen .entry-goal-reference{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:4px 18px;align-items:center}body #screen .entry-goal-reference>span{grid-column:1;font-size:16px}body #screen .entry-goal-reference>p{grid-column:1;margin:0}body #screen .entry-goal-reference>.btn{grid-column:2;grid-row:1/3;max-width:220px;white-space:normal}}

@media(max-width:650px){body .workspace-nav{gap:8px;padding:10px 13px}body .workspace-nav .nav-brand{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:0}body .workspace-nav .nav-brand img{width:95px;max-width:95px;height:auto}body .workspace-nav nav{margin:0}body .wrap>.top{grid-template-columns:150px minmax(0,1fr);grid-template-areas:'turtle title' 'turtle controls';gap:2px 8px;min-height:132px}body .top>.app-title{width:190px;max-width:100%;align-self:end}body .top>.header-controls{align-self:start}body .wrap>.banner{display:block;font-size:12px;line-height:1.45}body .wrap>.banner b{font-size:12px;margin-right:7px}body .wrap>.banner p{display:inline;font-size:12px;line-height:1.45;margin:0}body #screen .entry-goal-reference{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:8px;align-items:center;padding:9px 12px;margin:8px 0 12px}body #screen .entry-goal-reference>span{font-size:14px;line-height:1.4}body #screen .entry-goal-reference>p.help{display:none}body #screen .entry-goal-reference>.btn{font-size:12px;padding:7px 8px;min-height:44px;white-space:normal}}

body .top>.app-title .milk-title-effect,body .top>.app-title .milk-title-trial{display:block;width:100%;max-width:100%;height:auto}

/* One observation-entry design, using the existing full-form sections and typography. */
.benchmark-ui{max-width:100%;min-width:0;margin:20px 0;color:#033249}
.benchmark-ui>h1{font-family:var(--heading-font,-apple-system,system-ui,sans-serif);font-size:30px;line-height:1.3;margin:18px 0;color:#173d4a}
.benchmark-ui>.back{font-size:18px;color:#173d4a;margin-bottom:8px}
.benchmark-ui form.sectioned-entry{display:block;max-width:none;width:100%;box-sizing:border-box}
.benchmark-ui .app-section{border:2px solid #879fc6;border-radius:14px;padding:22px;margin:24px 0;min-width:0;background:linear-gradient(135deg,#edf3fa,#e8edf9)}
.benchmark-ui .section-tone-green{background:linear-gradient(135deg,#edf6f1,#e6f1ec);border-color:#89ad9a}
.benchmark-ui .section-tone-lilac{background:linear-gradient(135deg,#f4edf8,#eee6f4);border-color:#aa8dbc}
.benchmark-ui fieldset{min-width:0;box-sizing:border-box}
.benchmark-ui .app-section>legend{font-size:21px;font-weight:700;line-height:1.4;color:#033249;padding:0 8px;max-width:100%;white-space:normal;overflow-wrap:anywhere;float:none;width:auto;margin:0}
.benchmark-ui label{display:flex;flex-direction:column;gap:6px;min-width:0;font-size:17px;line-height:1.5;margin:14px 0;color:#344961}
.benchmark-ui input,.benchmark-ui select,.benchmark-ui textarea{width:100%;max-width:100%;min-height:52px;background:#fff!important;color:#033249;font:18px/1.5 var(--ui-font,-apple-system,system-ui,sans-serif);padding:10px 12px;border:1px solid #8fa7c6;border-radius:8px;box-sizing:border-box}
.benchmark-ui textarea{min-height:110px}
.benchmark-ui .bm-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 22px;align-items:start}
.benchmark-ui .bm-buttons,.benchmark-ui .actions{display:flex;flex-wrap:wrap;gap:12px}
.benchmark-ui article{background:#edf6f1;border:2px solid #89ad9a;border-radius:14px;padding:20px;margin:20px 0;min-width:0}
.benchmark-ui pre{white-space:pre-wrap;overflow-wrap:anywhere;font:15px/1.5 ui-monospace,monospace}
.benchmark-ui .btn{font-size:18px;min-height:48px;white-space:normal;max-width:100%}
.benchmark-ui .help{font-size:16px;line-height:1.6;color:#43576e}
.benchmark-ui .err{color:#8a2531}
.benchmark-ui button:focus-visible,.benchmark-ui input:focus-visible,.benchmark-ui select:focus-visible,.benchmark-ui textarea:focus-visible{outline:3px solid #67466f;outline-offset:3px}
.observation-source-reference{font-size:16px;line-height:1.5;margin:16px 0;overflow-wrap:anywhere;color:#43576e}
.observation-source-reference>summary{cursor:pointer;font-weight:600}
.benchmark-ui .entry-goal-reference{margin:18px 0 24px}
.bm-unassigned{font-size:14px;font-weight:600;color:#435d6d;margin:8px 0}
@media(max-width:700px){.benchmark-ui .bm-grid{grid-template-columns:minmax(0,1fr)}.benchmark-ui .app-section{padding:17px 13px}.benchmark-ui>h1{font-size:28px}.benchmark-ui .bm-buttons .btn,.benchmark-ui .actions .btn{width:100%}}

/* Home goal picker only; data-entry and results cards retain their sizing. */
body .record-section:not([data-layout=stack]) .cards{grid-template-columns:repeat(4,minmax(0,1fr));gap:24px}
body .record-section:not([data-layout=stack]) .cards .card:nth-child(n){height:176px;min-height:176px;max-height:176px;padding:14px 12px;grid-column:auto!important;min-width:0;box-sizing:border-box}
body .record-section:not([data-layout=stack]) .tile-center-group{gap:5px;max-width:100%;height:100%;max-height:100%;min-height:0;padding:0 8px;box-sizing:border-box}
body .record-section:not([data-layout=stack]) .goal-number{font-size:44px;line-height:1.05;flex:0 0 auto}
body .record-section:not([data-layout=stack]) .milk-tile-heading{display:block;width:min(100%,calc(var(--milk-compact-width)*1.08));max-width:100%;height:100%;max-height:100%;min-height:0;margin:auto;mask-size:contain;-webkit-mask-size:contain}
body .record-section:not([data-layout=stack]) .milk-tile-heading img{display:block;width:100%;max-width:100%;height:100%;max-height:100%;object-fit:contain}
body .record-section:not([data-layout=stack]) .card .goal-icon{width:28px;height:28px}
body .record-section[data-layout=stack] .cards .card{min-height:108px;padding:12px 16px}
.benchmark-home-tools{margin:22px 0;padding:12px 0;border-top:1px solid #8aafb8;color:#f3f8f8;display:flex;gap:14px;align-items:center;flex-wrap:wrap}.benchmark-home-tools p{margin:0;font-size:14px;line-height:1.5}
@media(max-width:1450px){body .record-section:not([data-layout=stack]) .cards{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:800px){body .record-section:not([data-layout=stack]) .cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}body .record-section:not([data-layout=stack]) .cards .card:nth-child(n){height:166px;min-height:166px;max-height:166px;padding:12px 9px}body .record-section:not([data-layout=stack]) .goal-number{font-size:38px}}
@media(max-width:520px){body .record-section:not([data-layout=stack]) .cards{gap:14px}body .record-section:not([data-layout=stack]) .cards .card:nth-child(n){height:154px;min-height:154px;max-height:154px;padding:10px 7px}body .record-section:not([data-layout=stack]) .tile-center-group{padding:0 2px;gap:5px}body .record-section:not([data-layout=stack]) .milk-tile-heading{width:min(100%,var(--milk-phone-width));max-width:100%}body .record-section:not([data-layout=stack]) .goal-number{font-size:34px}body .record-section:not([data-layout=stack]) .card .goal-icon{width:24px;height:24px}body .record-section[data-layout=stack] .cards .card{min-height:126px;padding:12px 13px}}

body .record-section:not([data-layout=stack]) .tile-center-group>.t{flex:1 1 auto;min-height:0;width:100%}

.fast-minute{background:#edf6f1;color:#173d4a;border:2px solid #89ad9a;border-radius:16px;padding:20px;margin:18px 0;min-width:0;box-sizing:border-box}.fast-minute h2{margin:0 0 10px;font-size:25px}.fast-minute h3{margin:0;font-size:23px}.fast-minute h3 span{font-size:17px;font-weight:500}.fast-minute h4{margin:0 0 10px;font-size:21px}.fast-minute .fm-help,.fast-minute .fm-key{color:#354e59;font-size:15px;line-height:1.5}.fm-minutes{display:grid;grid-template-columns:repeat(10,minmax(0,1fr));gap:8px;margin:18px 0}.fm-minute{background:#fff;border:2px solid #9bb2bd;border-radius:10px;color:#173d4a;min-height:64px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;cursor:pointer}.fm-minute strong{font-size:22px}.fm-minute span{font-size:12px;white-space:nowrap}.fm-minute[aria-pressed=true]{background:#224e61;border-color:#224e61;color:#fff;outline:3px solid #7d608c;outline-offset:2px}.fm-selection{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.fm-controls{display:flex;flex-wrap:wrap;gap:8px}.fm-controls .btn{margin:0}.fm-events{display:flex;gap:8px;flex-wrap:wrap;padding:12px 0}.fm-event{background:#fff;border:2px solid #8b769f;color:#173d4a;border-radius:10px;min-height:52px;padding:9px 12px;max-width:100%;text-align:left;cursor:pointer}.fm-event strong,.fm-event span{display:block;overflow-wrap:anywhere}.fm-event span{font-size:13px;margin-top:3px}.fm-empty{margin:5px 0;color:#435d6d}.fm-pad{display:grid;grid-template-columns:36px repeat(4,minmax(0,1fr));gap:8px;align-items:center}.fm-pad>span{text-align:center;font-size:14px}.fm-pad-label{text-align:center}.fm-pad button{min-height:66px;background:#fff;border:2px solid #547c87;border-radius:12px;color:#173d4a;font-size:26px;font-weight:700;cursor:pointer}.fm-pad button[data-fm-result='-']{background:#fff1e6;border-color:#ae714d}.fm-pad button small{display:block;font-size:14px;font-weight:600}.fm-extras{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}.fm-extras .btn{margin:0;background:#fff;color:#173d4a;border:1px solid #7896a0}.fm-feedback{min-height:24px;font-size:15px;color:#224e61;margin:10px 0}.fm-rule{background:#fff3d8;color:#67461b;border:1px solid #b79659;border-radius:8px;padding:10px;font-size:15px}.fm-editor{background:#f4eff9;border:1px solid #9c86b0;padding:14px;border-radius:12px}.fm-edit-grid{display:grid;grid-template-columns:2fr 1fr;gap:12px}.fm-prompt-types{display:flex;gap:12px;flex-wrap:wrap}.benchmark-ui .fm-prompt-types label{display:flex;flex-direction:row;align-items:center;gap:6px;margin:5px 0}.benchmark-ui .fm-prompt-types input{width:24px;min-height:24px;height:24px}.fast-minute summary{cursor:pointer;padding:12px 0;font-weight:600}.fast-minute button:focus-visible,.fast-minute summary:focus-visible{outline:3px solid #7d608c;outline-offset:3px}.fast-minute button:disabled{opacity:.6;cursor:default}@media(max-width:700px){.fast-minute{padding:12px}.fm-minutes{grid-template-columns:repeat(5,minmax(0,1fr));gap:7px}.fm-minute{min-height:60px}.fm-pad{grid-template-columns:22px repeat(4,minmax(0,1fr));gap:5px}.fm-pad>span{font-size:12px}.fm-pad button{min-height:64px;padding:5px 2px}.fm-pad button small{font-size:12px}.fm-extras{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.fm-extras .btn{padding:9px 6px;font-size:14px;min-width:0}.fm-edit-grid{grid-template-columns:1fr}.fast-minute h2{font-size:23px}.fm-controls .btn{padding:10px}.fm-event{width:100%}}

/* Keep references in the existing number-above-name location. */
body .record-section .activity-card .goal-number.activity-reference{font-family:var(--heading-font);font-size:21px;line-height:1.15;letter-spacing:0;max-width:100%;white-space:normal;text-align:center;font-weight:800}
body .record-section .activity-card .milk-tile-heading.activity-title{max-height:100%;width:min(100%,calc(var(--milk-compact-width)*1.08))}
@media(max-width:800px){body .record-section .activity-card .goal-number.activity-reference{font-size:18px}}
@media(max-width:520px){body .record-section .activity-card .goal-number.activity-reference{font-size:16px}body .record-section .activity-card .milk-tile-heading.activity-title{width:min(100%,var(--milk-phone-width))}}

body .record-section .activity-card .goal-number.activity-reference-detail{font-size:21px}@media(max-width:800px){body .record-section .activity-card .goal-number.activity-reference-detail{font-size:18px}}@media(max-width:520px){body .record-section .activity-card .goal-number.activity-reference-detail{font-size:16px}}

/* Full-form social session; cue-type changes do not create another session. */
.social-session{max-width:100%;min-width:0}.social-session .ss-source-types,.social-session .ss-shortcuts,.social-session .ss-results{display:flex;flex-wrap:wrap;gap:10px;margin:16px 0}.social-session .ss-source-types .btn{flex:1 1 180px;white-space:normal;line-height:1.4}.social-session .ss-source-types [aria-pressed=true]{background:#1d5066;color:#EFEDE8;border-color:#1d5066}.social-session .ss-shortcuts .btn{min-width:70px;min-height:48px}.social-session .ss-results .btn{flex:1 1 140px;min-height:60px;font-size:18px;white-space:normal}.social-session .ss-minute{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;font-size:24px}.social-session .ss-types{display:flex;gap:16px;flex-wrap:wrap}.social-session .ss-types label{display:flex;flex-direction:row;align-items:center;gap:7px}.social-session .ss-types input{width:24px;height:24px;min-height:24px}.social-session .ss-event{border:2px solid #89ad9a;border-radius:14px;background:linear-gradient(135deg,#edf6f1,#e6f1ec);padding:20px;margin:18px 0;overflow-wrap:anywhere}.social-session .ss-event h3{font-size:21px;line-height:1.4;color:#033249}.social-session .ss-event p{font-size:18px;line-height:1.5}.social-session .btn:focus-visible{outline:3px solid #67466f;outline-offset:3px}@media(max-width:700px){.social-session .ss-source-types .btn{flex-basis:100%}.social-session .ss-results{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.social-session .ss-event{padding:17px 13px}.social-session .ss-results .btn{font-size:17px;min-width:0}.social-session .ss-minute{font-size:22px}}
.social-session .ss-minute-grid{display:grid;grid-template-columns:repeat(10,minmax(0,1fr));gap:8px;margin:18px 0}.social-session .ss-minute-grid .btn{min-width:0;padding:8px 4px;min-height:48px}.social-session .ss-minute-grid [aria-pressed=true]{background:#1d5066;color:#EFEDE8}.social-session .ss-one-tap{display:grid;grid-template-columns:24px repeat(4,minmax(0,1fr));gap:10px;align-items:center;margin:22px 0;text-align:center}.social-session .ss-one-tap .btn{min-height:70px;padding:8px 4px;min-width:0;font-size:20px}@media(max-width:700px){.social-session .ss-minute-grid{grid-template-columns:repeat(5,minmax(0,1fr))}.social-session .ss-one-tap{gap:6px;grid-template-columns:20px repeat(4,minmax(0,1fr))}.social-session .ss-one-tap .btn{font-size:17px;min-height:64px;padding:7px 2px}}

.goal-benchmark-letter{display:inline-flex;align-items:center;justify-content:center;min-width:1.55em;min-height:1.55em;margin:0 .5em .15em 0;border:1px solid currentColor;border-radius:50%;font-size:.9em;font-weight:800;line-height:1.2;vertical-align:baseline;color:#175268;background:#e3f3fa}.goal-benchmark-letter-1{color:#4e366a;background:#f0eafa}.goal-benchmark-letter-2{color:#285039;background:#e6f2e8}.goal-benchmark-letter-3{color:#70401e;background:#fbefdf}

.cue-minute-preview{margin:20px 0;padding:18px;border:1px solid #a1c1bb;border-radius:15px;background:linear-gradient(135deg,#f0f8f4,#e8f2f5)}.cue-minute-preview h2{font-size:22px;margin:0 0 10px}.cue-grid-scroll{overflow:auto;border:1px solid #aac5ce;border-radius:10px;background:#fff;max-width:100%}.cue-minute-grid{border-collapse:separate;border-spacing:0;width:100%;min-width:770px;table-layout:fixed;color:#163d4a}.cue-minute-grid th,.cue-minute-grid td{border-right:1px solid #d1e0e4;border-bottom:1px solid #d1e0e4;padding:8px 5px;vertical-align:top;text-align:center}.cue-minute-grid thead th{background:#dcecf0;font-size:14px;white-space:nowrap}.cue-minute-grid th:first-child{width:105px;background:#eaf3f4;text-align:left;font-size:14px}.cue-minute-grid td{height:80px;overflow-wrap:anywhere}.cue-minute-grid .cue-grid-current,.cue-minute-grid th[aria-current=true]{background:#fff2d9}.cue-grid-token{display:inline-flex;align-items:center;justify-content:center;font:700 17px/1.2 ui-sans-serif,sans-serif;min-height:34px;min-width:32px;padding:5px;margin:2px;border:1px solid #799ca5;border-radius:7px;background:#e9f5f0;color:#174d3c;cursor:pointer}.cue-grid-token:hover,.cue-grid-token:focus-visible{outline:2px solid #4a526e;outline-offset:1px}.cue-grid-token.cue-grid-selected{background:#4a526e;color:white}.cue-grid-key{font-size:14px!important;line-height:1.5!important}.cue-grid-selected-entry{padding:12px;border:1px solid #b6a4c4;border-radius:10px;background:#f5eef9;margin:12px 0}.cue-grid-selected-entry .btn{min-height:44px}@media(max-width:700px){.cue-minute-preview{padding:12px 8px}.cue-minute-grid{min-width:770px}}

/* Bind the existing ocean shell to the durable local collection interface. */
body>header{display:none}.wrap{min-width:0}.wrap>main{max-width:none;margin:0;padding:14px 0 45px;overflow-wrap:anywhere}.wrap .local-notice{margin:10px 0;max-width:none;padding:12px 16px;background:#dcefed;border:1px solid #9dc5c2;border-radius:12px;color:#244e5b}.wrap #message{margin:12px 0}.nav-brand .local-owner-badge{color:#c9e8e8;font:600 14px/1.5 var(--ui-font);margin-top:12px}.workspace-nav .local-tools{display:grid;gap:12px}.workspace-nav .local-tools a,.workspace-nav .local-tools button,.workspace-nav .local-tools label{font-size:14px;line-height:1.5;padding:9px 12px;border-radius:9px;min-height:44px}.workspace-nav .local-tools input{font-size:12px;width:100%;max-width:190px}.workspace-nav .nav-bottom{margin-top:auto}.wrap #app>h1{color:#e1f2f3}.wrap #app>p.help,.wrap #app>p{color:#d5e9e9}.wrap fieldset{border-radius:17px;border-width:2px;background:#dce8ee;border-color:#759cac}.wrap fieldset:nth-of-type(2){background:#e1ecdf;border-color:#87a98b}.wrap fieldset:nth-of-type(3){background:#e9e0ed;border-color:#a58aaf}.wrap button{box-shadow:none}.wrap .history-item{background:#e2edf0;border:2px solid #759cac}.wrap .field-grid label{color:#254e60}.wrap .cue-minute-preview{color:#163d4a}.wrap .cue-minute-preview .help{color:#49636e}.local-social-goals button{background:#e3eef0}.wrap .actions .help{color:#e2f2f2}@media(max-width:800px){.workspace-nav .local-tools{display:flex;flex-wrap:wrap}.workspace-nav .local-tools input{max-width:160px}.wrap>main{padding-top:6px}.wrap #app>h1{font-size:27px}}
.wrap fieldset legend{color:#254e60;background:#e5edef;border:1px solid #8caab5;border-radius:8px;padding:3px 10px}.wrap fieldset label,.wrap fieldset h2,.wrap fieldset h3,.wrap fieldset p,.wrap fieldset .help{color:#254e60}.wrap #message{color:#174b3c}.wrap #message.error{color:#7d2822}.workspace-nav .local-tools a{color:#e4f2f3;border:1px solid #7da4b2;text-decoration:none;background:#15384c}.wrap fieldset input,.wrap fieldset select,.wrap fieldset textarea{background:#f9fcfc;color:#173e56}
/* Compact written marks beside each cue row; no large interval cells. */
.wrap .compact-minutes{display:flex;flex-wrap:wrap;gap:8px 12px}.wrap .compact-minute{display:inline-flex;align-items:baseline;gap:3px;min-width:52px;min-height:30px;padding:2px 0;border:0;border-radius:0;background:transparent;color:#254e60}.wrap .compact-minute>b{font-size:12px;font-weight:650;color:#49636e;white-space:nowrap}.wrap .compact-minute button{display:inline-block;min-width:22px;min-height:30px;padding:2px;margin:0;border:0;border-bottom:1px dotted #7597a1;border-radius:2px;background:transparent;color:#174d3c;font-size:18px;font-weight:800;line-height:1.35}.wrap .compact-minute button:hover,.wrap .compact-minute button:focus-visible{background:#d3e8df;outline:2px solid #4a526e;outline-offset:1px}@media(max-width:650px){.wrap .compact-minute button{min-width:36px;min-height:40px}}
.local-source-text{white-space:pre-wrap;font:inherit;line-height:1.65;overflow-wrap:anywhere}.goal-overview blockquote{white-space:pre-wrap}.goal-overview h3,.goal-overview h4{color:#254e60}
#local-screen-cover{position:fixed;inset:0;z-index:90;display:grid;place-items:center;background:#071d2e;color:#e4f2f4;padding:24px}#local-screen-cover[hidden]{display:none}.local-screen-panel{max-width:540px;text-align:center}.local-screen-panel .help{color:#c9e1e7}.local-screen-panel h1{color:#e4f2f4}#goal-dialog .goal-overview,#goal-dialog>p{color:#254e60}

/* Restore the original compact right-aligned Tiles / Staircase switch.
   The restored switch is a direct section child, so it must not stretch as a block. */
body .record-section>.layout-switch{width:max-content;max-width:100%;margin-left:auto;margin-right:0;flex:0 0 auto}

/* Scoped parity refinement: background metadata only; observation controls retain their sizing. */
.background-info .background-field{font-size:15px;line-height:1.3;margin-block:4px}
.background-info .background-field :is(input,select){min-height:44px;padding:8px 10px;font-size:16px;margin-block:4px;box-sizing:border-box;width:100%}
.background-info>.field-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.background-info .row:has(.background-field){gap:10px;margin-block:2px}
.shared-observation-fields{margin-block:12px;padding:12px 16px}
.shared-observation-fields textarea{min-height:70px}
@media(max-width:600px){.background-info>.field-grid{grid-template-columns:1fr}.background-info .row:has(.background-field){display:grid;grid-template-columns:1fr}}

/* Shared cue-style index-card sections; content nodes remain intact when folded. */
.wrap #app .folder-panel{position:relative;border:2px solid #759cac;border-radius:0 17px 17px 17px;background:#dce8ee;padding:16px;margin:25px 0 18px;min-width:0}
.wrap #app .folder-panel:nth-of-type(3n+2){background:#e1ecdf;border-color:#87a98b}
.wrap #app .folder-panel:nth-of-type(3n){background:#e9e0ed;border-color:#a58aaf}
.wrap #app .folder-panel>legend{padding:0;border:0;border-radius:12px 12px 0 0;background:inherit;max-width:100%;color:#254e60}
.wrap #app .folder-tab-toggle{display:flex;align-items:center;gap:10px;min-height:44px;max-width:100%;padding:8px 14px;margin:0;border:2px solid #759cac;border-bottom:0;border-radius:12px 12px 0 0;background:inherit;color:#254e60;font:700 16px/1.35 var(--ui-font);text-align:left;white-space:normal;cursor:pointer}
.wrap #app .folder-tab-toggle::after{content:'⌃';margin-left:auto;font-size:20px;line-height:1}
.wrap #app .folder-tab-toggle[aria-expanded=false]::after{content:'⌄'}
.wrap #app .folder-tab-toggle:focus-visible{outline:3px solid #67466f;outline-offset:3px}
.wrap #app .folder-panel-body[hidden]{display:none!important}
.wrap #app .background-info>.folder-panel-body>.field-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
@media(max-width:600px){.wrap #app .background-info>.folder-panel-body>.field-grid{grid-template-columns:1fr}.wrap #app .folder-panel{padding:12px}.wrap #app .folder-tab-toggle{font-size:15px}}

.wrap #app .background-metadata-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;align-items:start}.wrap #app .background-metadata-grid>.background-field{min-width:0;margin:0}.wrap #app .background-metadata-grid .lbl{font-size:15px;line-height:1.3}.wrap #app .background-metadata-grid :is(input,select){min-height:44px;padding:8px 10px;font-size:16px;box-sizing:border-box;width:100%}@media(max-width:600px){.wrap #app .background-metadata-grid{grid-template-columns:1fr}}

.wrap #app [data-local-invalid]{border:3px solid #a22e2b!important;outline:1px solid #a22e2b}.wrap #app .local-field-error{color:#8c2320;font-weight:700;font-size:15px;margin:5px 0 12px}.wrap #app .folder-error-indicator{font-size:12px;border:1px solid #a22e2b;color:#8c2320;background:#fff3ef;border-radius:5px;padding:3px 6px}.local-save-feedback.error{border:2px solid #a22e2b;background:#fff1ee;color:#8c2320;padding:12px;border-radius:10px;width:100%}.local-save-feedback.error>p{color:#8c2320!important;font-weight:800;font-size:18px}.local-save-feedback ul{margin:8px 0;padding-left:22px}.local-save-feedback .local-error-link{background:transparent!important;color:#8c2320!important;border:0;text-decoration:underline;text-align:left;min-height:44px;padding:5px;font-size:16px}.local-save-feedback[data-save-state=saved]{color:#194f3b;background:#e3f4e8;padding:10px;border-radius:8px}

/* The consolidated forms live in #app; only remove the outer paper backing. */
.wrap #app #entry{background:transparent;border:0;box-shadow:none;padding:0}

/* Shared metadata baseline: headings and controls use identical spacing. */
.wrap #app .background-metadata-grid>.background-field{display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;gap:6px;margin:0;min-width:0}
.wrap #app .background-metadata-grid .background-field-heading{display:block;margin:0!important;padding:0;min-height:1.3em;font-size:15px;line-height:1.3;font-weight:650;text-transform:none;letter-spacing:0}
.wrap #app .background-metadata-grid .background-field-heading .req{display:inline;margin-left:6px;white-space:nowrap}
.wrap #app .background-metadata-grid .background-field-control{display:block;margin:0!important;height:44px;min-height:44px;width:100%;box-sizing:border-box;line-height:1.3}

.wrap #app .recorder-other-field{display:block;margin-top:6px}.wrap #app .recorder-other-field[hidden]{display:none!important}.wrap #app .recorder-other-label{display:block;font-size:14px;line-height:1.3;margin-bottom:4px}.wrap #app .recorder-other-field input{min-height:44px;margin-top:0}
