/* Cartoon-pop shell. Reading surfaces deliberately use lighter borders. */
:root{--ink:#293947;--pop-mint:#bee9d5;--pop-lilac:#dfd1f5;--pop-yellow:#ffe59b;--pop-line:#293947;--pop-shadow:#293947;color:var(--ink)}
body{background-color:#f5f3fc;background-image:radial-gradient(#cfc6e4 1px,transparent 1px);background-size:22px 22px}
body.dark{--pop-line:#9db5c4;--pop-shadow:#10202a;background-color:#1d2d3a;background-image:radial-gradient(#354857 1px,transparent 1px);background-size:22px 22px}
aside{border:3px solid var(--pop-line);border-left:0;border-radius:0 28px 28px 0;box-shadow:5px 0 0 var(--pop-shadow);background:#ccebdc;padding-top:30px}
.brand{gap:10px;line-height:1.2}.brand strong{font-weight:900;letter-spacing:-.6px}.seal{flex-shrink:0;border:3px solid var(--ink);box-shadow:3px 3px 0 var(--ink);transform:rotate(-8deg)}
nav{gap:13px}nav button{border:2px solid transparent;padding:10px 9px;font-weight:800}nav button.active{border:3px solid var(--ink);background:#fff9de;box-shadow:4px 4px 0 var(--ink);transform:rotate(-1deg)}nav button:hover{border-color:var(--ink);background:#f7fff8;box-shadow:3px 3px 0 var(--ink);transform:translate(-1px,-2px)}
header{border-bottom:3px solid var(--pop-line)}header button{border:2px solid var(--pop-line);box-shadow:3px 3px 0 var(--pop-shadow)}
.notice{font-size:12px}.heading h1{font-size:36px;font-weight:900;letter-spacing:-1px}.cutie-welcome{position:relative;background:var(--pop-mint);border:3px solid var(--ink);border-radius:28px 28px 28px 9px;box-shadow:7px 7px 0 var(--ink);padding:25px 30px;margin-bottom:36px;overflow:visible}.cutie-welcome h2{font-size:clamp(25px,3vw,38px);line-height:1.12;letter-spacing:-1px;font-weight:900;max-width:18ch}.cutie-welcome .tag{background:#fff9de;border:2px solid var(--ink);box-shadow:3px 3px 0 var(--ink);transform:rotate(-3deg);padding:6px 12px}.cutie-welcome p{font-weight:550;line-height:1.7}.mascot{flex-basis:205px;animation:pop-float 4s ease-in-out 3}.mascot img{width:205px;height:170px;filter:drop-shadow(4px 5px 0 #29394730)}.mascot span{background:white;border:3px solid var(--ink);box-shadow:4px 4px 0 var(--ink);padding:8px 12px;transform:rotate(7deg);font-size:13px;color:var(--ink)}.mascot.hello{animation:pop-hello .8s cubic-bezier(.3,.1,.3,1)}
body[data-section="home"] .heading h1{font-size:clamp(38px,4.5vw,56px);color:var(--ink);text-shadow:2px 3px 0 #d8c6f0;letter-spacing:-2px}body.dark[data-section="home"] .heading h1{color:#f4edf9;text-shadow:3px 3px 0 #6f598d}
body[data-section="home"] .panel{border:3px solid var(--pop-line);box-shadow:5px 5px 0 var(--pop-shadow);border-radius:20px}body[data-section="home"] .panel h2{font-size:22px;font-weight:900}body[data-section="home"] .number{border:2px solid var(--ink);box-shadow:2px 2px 0 var(--ink);font-weight:900}body[data-section="home"] .tag{border:1px solid #9db5a7}body[data-section="home"] .primary{border:2px solid var(--ink);box-shadow:4px 4px 0 var(--ink);background:#6fae8e;color:#122e23}
body[data-section="team"] .office-grid .panel{border:2px solid var(--pop-line);box-shadow:3px 3px 0 var(--pop-shadow)}
/* Calm reading mode: no decorative outlines around every field or moving controls. */
body[data-section="documents"] .panel,body[data-section="audit"] .panel,body[data-section="resources"] .panel{border:1px solid var(--line);box-shadow:0 2px 0 #29394709;border-radius:14px}
body[data-section="documents"] .row,body[data-section="audit"] .check{border-bottom:1px solid var(--line);padding-block:22px}body[data-section="documents"] h3,body[data-section="audit"] summary{line-height:1.6;letter-spacing:0}body[data-section="audit"] .check p{max-width:75ch;font-size:16px;line-height:1.75}body[data-section="audit"] .summary{border:2px solid var(--line);box-shadow:none;line-height:1.7;font-weight:650}
body[data-section="audit"] button:hover,body[data-section="documents"] button:hover,body[data-section="documents"] .button:hover,body[data-section="audit"] .button:hover{transform:none;box-shadow:none}body[data-section="audit"] .ratings button{min-width:48px;min-height:48px;border-radius:10px}body[data-section="audit"] input,body[data-section="audit"] textarea,body[data-section="documents"] textarea{border-width:1px;line-height:1.6}body[data-section="audit"] textarea{min-height:90px}
body.dark .cutie-welcome{background:#34564e;border-color:#9dbbad;box-shadow:7px 7px 0 #10202a;color:#eff7f2}body.dark .cutie-welcome .tag{color:var(--ink)}body.dark nav button.active{border-color:#b7d5c7;box-shadow:4px 4px 0 #10202a;transform:rotate(-1deg)}body.dark nav button:hover{border-color:#b7d5c7;background:#49685e;box-shadow:3px 3px 0 #10202a}body.dark aside{border-color:#7ea797;box-shadow:5px 0 0 #10202a}
@keyframes pop-float{0%,100%{transform:translateY(0) rotate(-3deg)}50%{transform:translateY(-9px) rotate(3deg)}}@keyframes pop-hello{0%,100%{transform:rotate(0) scale(1)}25%{transform:rotate(-12deg) scale(1.08)}60%{transform:rotate(10deg) scale(1.08)}}
@media(max-width:700px){aside{border:2px solid var(--pop-line);border-bottom:0;border-radius:20px 20px 0 0;box-shadow:0 -3px 0 #29394718;padding:5px;height:78px}nav{gap:3px}nav button{padding:4px 2px;border-width:1px;font-size:10px}nav button.active{border-width:2px;box-shadow:2px 2px 0 var(--ink);transform:none}.workspace{padding-bottom:85px}.heading h1{font-size:30px}.cutie-welcome{padding:22px 18px;gap:5px;box-shadow:4px 4px 0 var(--ink);border-radius:22px 22px 22px 8px}.cutie-welcome h2{font-size:27px}.cutie-welcome p{font-size:13px}.cutie-welcome .tag{font-size:10px}.mascot{flex-basis:105px;margin-top:35px}.mascot img{width:105px;height:105px}.mascot span{font-size:9px;padding:5px 7px;border-width:2px;box-shadow:2px 2px 0 var(--ink)}body[data-section="home"] .panel{box-shadow:3px 3px 0 var(--pop-shadow)}body.dark aside{box-shadow:0 -3px 0 #10202a}}
@media(prefers-reduced-motion:reduce){*,.mascot,.mascot.hello{animation:none!important;transition:none!important;transform:none!important}}
@media print{body,body.dark{background:white!important;color:black}aside{display:none}body .panel{border:1px solid #aaa!important;box-shadow:none!important}body .heading h1{text-shadow:none!important;color:black!important}.cutie-welcome{display:none}}
/* Long office names must shrink with phone form columns. */
.grid>*,.split>*,.office-grid>*,.step details{min-width:0}.split select,.split input,.split textarea{width:100%;min-width:0}body[data-section="audit"] .panel{min-width:0}body[data-section="documents"] h3{overflow-wrap:anywhere}
/* White-dominant light theme: color lives in small accents. */
body:not(.dark){background:#fff;--surface:#fff;--bg:#fafbfc;--line:#dde4e9}
body:not(.dark) aside{background:#fff;border-color:#354653;box-shadow:4px 0 0 #e5e9ec}
body:not(.dark) header{background:#fff}
body:not(.dark) .notice{background:#f7f8fa;color:#53616e;border-color:#e4e8ec}
body:not(.dark) .cutie-welcome{background:#fff;border-color:#354653;box-shadow:6px 6px 0 #e4e9ed}
body:not(.dark) .cutie-welcome .tag{background:#e5f4ec;box-shadow:2px 2px 0 #b8c9c0}
body:not(.dark) .mascot span{background:#fff;box-shadow:3px 3px 0 #d9e3df}
body:not(.dark)[data-section="home"] .heading h1{color:#293947;text-shadow:2px 2px 0 #eee9f6}
body:not(.dark)[data-section="home"] .panel{background:#fff;box-shadow:4px 4px 0 #e4e9ed}
body:not(.dark) nav button.active{background:#edf7f1;box-shadow:3px 3px 0 #d7e6dd}
body:not(.dark) nav button:hover{background:#f7faf8;box-shadow:2px 2px 0 #d7e6dd}
body:not(.dark) .office-grid .panel{box-shadow:3px 3px 0 #e4e9ed}
body:not(.dark) .primary{background:#e0f0e7;color:#244c3c;box-shadow:3px 3px 0 #c4d9cd}
@media(max-width:700px){body:not(.dark) aside{box-shadow:0 -2px 0 #edf0f2}body:not(.dark) nav button.active{box-shadow:2px 2px 0 #d7e6dd}}
