/* Shared ScreenOff brand layer — family surfaces remain warmer and more playful. */
:root{--so-navy:#0b2d5b;--so-green:#16aa68;--so-green-strong:#07965a;--so-sky:#38bdf8;--so-lavender:#c4b5fd;--so-canvas:#f8fafc;--so-card:#fff;--so-text:#0f172a;--so-muted:#64748b;--so-border:#dfe9f1;--so-radius:18px;--so-shadow:0 14px 38px rgba(11,45,91,.08)}
body{color:var(--so-text);background:var(--so-canvas);-webkit-font-smoothing:antialiased}
button,input,select{min-height:42px}button{touch-action:manipulation}.brand{width:210px;min-height:64px;display:block;background:url('brand/screenoff-wordmark-master.png') center/contain no-repeat!important;background:image-set(url('brand/screenoff-wordmark-master.webp') type('image/webp'),url('brand/screenoff-wordmark-master.png') type('image/png')) center/contain no-repeat!important;overflow:hidden}.brand>span,.brand>i,.brand>b,.brand>small{display:none!important}.side-brand,.child-brand,.auth-brand{width:184px}.staff-sidebar .brand{background-color:#fff!important;border-radius:10px}.topbar{min-height:86px;background:#fff;border-bottom:1px solid var(--so-border);box-shadow:0 8px 28px rgba(11,45,91,.05)}.topbar nav button{font-size:12px;font-weight:700}.top-actions button{min-height:42px}
.family-switch button{width:44px;min-width:44px;height:44px;padding:0;display:grid;place-items:center}
.primary{background:linear-gradient(135deg,#16b970,#0ea765);box-shadow:0 9px 24px rgba(22,170,104,.18)}.secondary,.quiet{border-color:#bcd9e9;background:#fff}
.story-card,.focus-card,.quick-card,.day-path,.weekly-mini,.profile-grid article,.usage-hero,.usage-chart,.app-breakdown,.routine-list article,.category-grid article,.safety-grid article{border-color:var(--so-border)!important;box-shadow:var(--so-shadow)!important}
.parent-sidebar{background:linear-gradient(180deg,#fff,#f3f9fc)}.parent-sidebar nav button{min-height:45px;font-size:12px}.parent-sidebar nav button.active{background:#e4f7ed;color:var(--so-green-strong)}
.workspace-head p,.panel-toolbar p,.child-identity small,.device-state,.routine-list p,.category-grid p{font-size:11px;line-height:1.45}.section-label,.child-kicker{font-size:10px;letter-spacing:.1em}
.quick-grid button,.app-dock button,.adventure-grid button{min-height:88px}.toggle{min-height:auto}
.child-shell{background:linear-gradient(180deg,#eef9ff 0,#fff 62%)}.child-shell header{border-bottom:1px solid var(--so-border)}.child-primary{background:linear-gradient(135deg,#16b970,#0ea765)}
.auth-card label{font-size:12px}.auth-card input{font-size:15px}.role-picker label{min-height:66px}.test-session button{min-height:32px}
@media(max-width:760px){.topbar{min-height:72px;padding-inline:14px}.orbit-hero{padding-inline:18px}.hero-actions{display:grid;grid-template-columns:1fr}.hero-actions button{width:100%}.parent-workspace{padding-inline:14px}.workspace-head{padding-top:18px}.quick-grid{grid-template-columns:1fr 1fr}.app-dock{grid-template-columns:repeat(2,1fr)}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.locale-select select{min-height:38px;border:1px solid var(--so-border);border-radius:10px;background:#fff;color:var(--so-navy);font-weight:700;padding:0 8px}.brand-splash{position:fixed;inset:0;z-index:9999;display:grid;place-items:center;background:#fff;transition:opacity .35s ease,visibility .35s ease}.brand-splash.done{opacity:0;visibility:hidden;pointer-events:none}.brand-splash img{width:min(560px,82vw);height:auto;animation:brandPulse .65s ease-in-out infinite alternate}@keyframes brandPulse{from{opacity:.72;transform:scale(.985)}to{opacity:1;transform:scale(1)}}@media(prefers-reduced-motion:reduce){.brand-splash img{animation:none}.brand-splash{transition:none}}
.live-empty{min-height:320px;display:grid;place-content:center;justify-items:center;text-align:center;background:#fff;border:1px solid var(--so-border);border-radius:20px;padding:32px;box-shadow:var(--so-shadow)}.live-empty>span{font-size:42px;color:var(--so-sky)}.live-empty h2{margin:12px 0 6px;color:var(--so-navy)}.live-empty p{max-width:520px;color:var(--so-muted);line-height:1.6}.child-preview-nav[hidden]{display:none!important}
.how-steps article>span svg{width:26px;height:26px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.app-dock{grid-template-columns:repeat(7,1fr)!important}.app-dock .alarm{background:#ff8a4c}.app-dock .timer{background:#20b7b0}.time-tool-modal{position:fixed;inset:0;z-index:100;display:grid;place-items:center}.time-tool-modal[hidden]{display:none}.time-tool-modal>.modal-shade{position:absolute;inset:0;width:100%;height:100%;border:0;background:rgba(7,28,56,.58);backdrop-filter:blur(6px)}.time-tool-modal>section{position:relative;z-index:1;width:min(420px,calc(100% - 32px));background:#fff;border-radius:24px;padding:30px;box-shadow:0 28px 80px rgba(7,28,56,.25);text-align:center}.close-time-tool{position:absolute;right:14px;top:10px;border:0;background:none;font-size:26px;color:var(--so-muted)}.time-tool-icon{display:grid;place-items:center;width:62px;height:62px;margin:auto;border-radius:18px;background:#e9f8ff;color:#1683be;font-size:30px}.time-tool-modal h2{margin:12px 0 5px;color:var(--so-navy)}.time-tool-modal p{color:var(--so-muted)}.timer-presets{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:18px 0}.timer-presets button{border:1px solid var(--so-border);border-radius:12px;background:#f8fbfd;color:var(--so-navy);font-weight:800}.timer-presets button.selected{background:#e4f8ee;border-color:#7bd7aa;color:#087b4b}.time-tool-modal label{display:grid;gap:7px;text-align:left;color:var(--so-navy);font-weight:800;margin:18px 0}.time-tool-modal input{border:1px solid var(--so-border);border-radius:12px;padding:10px}.time-tool-status{display:block;min-height:24px;margin-top:12px;color:#087b4b}
@media(max-width:1050px){.menu-open .top-actions{flex-wrap:wrap}.menu-open .locale-select{flex:1 1 42%}.menu-open .locale-select select{width:100%}}
@media(max-width:700px){.topbar{height:86px;min-height:86px}.brand{width:205px;height:64px}.orbit-hero{padding-top:24px!important}.hero-world{margin-top:10px!important}.app-dock{grid-template-columns:1fr 1fr!important}.app-dock button:last-child{grid-column:auto!important}}

/* Professional icon, portrait and preferences system */
.settings-button,.nav-settings{display:inline-flex!important;align-items:center;justify-content:center;gap:7px;border:1px solid var(--so-border);border-radius:10px;background:#fff;color:var(--so-navy);font-weight:800;padding:10px 12px}.settings-button svg,.nav-settings svg,.pro-icon svg,.nav-icon svg,.preferences-icon svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.nav-settings{display:none!important}.mini-avatar,.kid-avatar.portrait{display:block;object-fit:cover;object-position:center 30%;border-radius:50%;background:#eaf8ff}.mini-avatar{width:42px;height:42px;flex:0 0 42px}.kid-avatar.portrait{width:48px;height:48px}.kid-avatar.portrait.large{width:82px;height:82px;margin-inline:auto}.pro-icon{width:54px;height:54px;display:grid!important;place-items:center;border-radius:16px;background:linear-gradient(145deg,#e6f8f1,#e9f6ff);color:#087ac1}.pro-icon svg{width:27px;height:27px}.nav-icon{display:grid!important;place-items:center}.nav-icon svg{width:20px;height:20px}.parent-sidebar nav button.active .nav-icon{color:#fff}
.preferences-modal[hidden]{display:none}.preferences-modal{position:fixed;inset:0;z-index:1000;display:grid;place-items:center;padding:18px}.preferences-modal>.modal-shade{position:absolute;inset:0;border:0;background:rgba(7,31,67,.58);backdrop-filter:blur(7px)}.preferences-card{position:relative;width:min(520px,100%);max-height:min(720px,calc(100vh - 36px));overflow-y:auto;background:#fff;border:1px solid #dbe8f1;border-radius:24px;box-shadow:0 28px 90px rgba(11,45,91,.3)}.preferences-card>header{height:auto;display:grid;grid-template-columns:auto 1fr auto;gap:14px;align-items:start;padding:24px 24px 18px;background:linear-gradient(135deg,#eefbff,#effcf6);border-bottom:1px solid #dfeaf1}.preferences-card>header h2{margin:3px 0 7px;font:800 22px/1.15 'Manrope';color:var(--so-navy)}.preferences-card>header p{margin:0;color:#5c7188;font-size:13px;line-height:1.45}.preferences-card>header small{font-weight:800;letter-spacing:.12em;color:#1182bb}.preferences-card>header>button{border:0;background:#fff;width:38px;height:38px;border-radius:12px;color:var(--so-navy);font-size:24px}.preferences-icon{width:48px;height:48px;display:grid;place-items:center;border-radius:14px;background:#fff;color:#0d8ac8;box-shadow:0 8px 24px rgba(11,45,91,.08)}.preferences-card form{display:grid;gap:16px;padding:22px 24px 26px}.preferences-card label{display:grid;gap:7px;font-weight:800;color:var(--so-navy);font-size:13px}.preferences-card select{width:100%;min-height:50px;border:1px solid #cfe0ec;border-radius:13px;background:#fff;color:var(--so-navy);padding:0 13px;font-weight:700}.preference-price{display:grid;gap:4px;padding:17px;border:1px solid #ccebdc;border-radius:16px;background:#f0fcf6}.preference-price span{font-size:11px;color:#37715a;font-weight:800;text-transform:uppercase;letter-spacing:.08em}.preference-price strong{font:800 23px 'Manrope';color:#087b4c}.preference-price small{color:#5e776d}.preferences-status{min-height:18px;margin:0;text-align:center;color:#087b4c;font-size:12px;font-weight:800}.preferences-status.error{color:#b42318}
@media(max-width:1050px){.nav-settings{display:flex!important}.menu-open .top-actions{top:356px}.menu-open .top-actions .settings-button{display:none!important}.menu-open .topbar nav{max-height:250px;overflow-y:auto}.menu-open:after{inset:82px 0 0}.topbar nav svg{pointer-events:none}}
@media(max-width:700px){.preferences-modal{padding:8px}.preferences-card{max-height:calc(100vh - 16px);border-radius:20px}.preferences-card>header{padding:19px 17px 15px}.preferences-card form{padding:18px 17px 22px}.preferences-card>header h2{font-size:19px}.kid-avatar.portrait{width:54px;height:54px}.people-grid .pro-icon{width:48px;height:48px}.menu-open .top-actions{top:356px}}
/* Emotion-led childhood system: picture-first, readable and bandwidth-aware. */
.orbit-hero{background:radial-gradient(circle at 12% 12%,#eafff2 0,transparent 32%),linear-gradient(135deg,#fff 0,#f3fbff 56%,#eefcf5 100%)}
.hero-message{position:relative;z-index:2}.hero-message h1{font-size:clamp(48px,5.7vw,84px);line-height:.98;letter-spacing:-.055em}.hero-message h1 em{color:#0aa65f}.hero-message>p{max-width:650px;font-size:clamp(17px,1.4vw,21px);line-height:1.55;color:#3d5570}.pill-label{background:#e7f9ef;color:#08784a}.hero-world{border-radius:36px;box-shadow:0 28px 70px rgba(11,45,91,.18);min-height:610px}.hero-world:after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,rgba(6,25,52,.12),transparent 35%);pointer-events:none}.hero-world img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center}.hero-trust span{display:flex;align-items:center;gap:7px}.hero-trust b{display:grid;place-items:center;width:28px;height:28px;border-radius:9px;background:#fff;box-shadow:0 5px 14px rgba(11,45,91,.09);font-size:15px}
.emotion-section{max-width:1320px;margin:0 auto 90px;padding:0 4vw;display:grid;grid-template-columns:1.08fr .92fr;gap:42px;align-items:center}.emotion-picture{border-radius:32px;overflow:hidden;box-shadow:0 24px 65px rgba(11,45,91,.15);background:#dff4ff;aspect-ratio:1.5}.emotion-picture img{width:100%;height:100%;object-fit:cover}.emotion-copy h2{font:800 clamp(36px,4vw,58px)/1.05 'Manrope',system-ui,sans-serif;letter-spacing:-.04em;color:var(--so-navy);margin:12px 0 18px}.emotion-copy>p{font-size:18px;line-height:1.6;color:#52677f;max-width:600px}.people-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:24px}.people-grid article{display:flex;align-items:center;gap:12px;min-height:82px;background:#fff;border:1px solid var(--so-border);border-radius:18px;padding:13px;box-shadow:0 10px 25px rgba(11,45,91,.06)}.people-grid article>span{display:grid;place-items:center;min-width:50px;height:50px;border-radius:15px;background:linear-gradient(135deg,#e8fbf0,#e8f5ff);font-size:27px}.people-grid b,.people-grid small{display:block}.people-grid b{color:var(--so-navy);font-size:14px}.people-grid small{color:var(--so-muted);font-size:11px;margin-top:3px}.play-ribbon{max-width:1320px;margin:-50px auto 80px;padding:15px 20px;display:flex;gap:10px;justify-content:center;flex-wrap:wrap}.play-ribbon span{background:#fff;border:1px solid var(--so-border);border-radius:999px;padding:9px 14px;color:var(--so-navy);font-weight:800;font-size:12px;box-shadow:0 7px 18px rgba(11,45,91,.05)}
.story-card.child-story .mini-child-world img{object-position:center 45%}.child-hero:after{background:linear-gradient(90deg,rgba(6,28,57,.74),rgba(6,28,57,.06) 58%)}
@media(max-width:1050px){.hero-world{min-height:500px}.emotion-section{grid-template-columns:1fr;max-width:850px}.emotion-picture{order:2}.emotion-copy{order:1}.play-ribbon{margin-top:-35px}}
@media(max-width:700px){.orbit-hero{display:flex!important;flex-direction:column;padding-top:12px!important}.hero-world{order:-1;min-height:300px!important;margin-top:0!important;border-radius:26px}.hero-world img{object-position:center center}.hero-message{padding-top:24px}.hero-message h1{font-size:49px}.hero-message>p{font-size:16px}.hero-trust{display:flex!important;flex-wrap:wrap;gap:8px}.hero-trust span{font-size:10px}.emotion-section{padding:0 18px;margin-bottom:60px}.emotion-picture{aspect-ratio:.92;border-radius:24px}.emotion-picture img{object-position:center center}.emotion-copy h2{font-size:39px}.emotion-copy>p{font-size:16px}.people-grid{grid-template-columns:1fr}.people-grid article{min-height:72px}.play-ribbon{justify-content:flex-start;overflow-x:auto;flex-wrap:nowrap;margin:-35px 0 60px;padding-inline:18px}.play-ribbon span{white-space:nowrap}.child-hero img{object-position:center center}}
.action-sheet{opacity:0!important;visibility:hidden!important;pointer-events:none!important;transform:translateY(24px)!important}.action-sheet.show{opacity:1!important;visibility:visible!important;pointer-events:auto!important;transform:translateY(0)!important}.action-sheet p{font-size:10px!important}.child-row>button{min-width:42px;min-height:42px}.close-auth,.close-time-tool{min-width:44px;min-height:44px}.auth-card label{font-size:12px}.parent-view small,.child-view small{font-size:max(10px,.72rem)}
.home-view small{font-size:max(10px,.7rem)}.investor-view small,.investor-view .demo-badge,.investor-view .proof-tags span,.investor-view .demo-controls>button,.investor-view .demo-controls>div span{font-size:max(10px,.7rem)}

/* WebP picture wrappers: preserve original image box geometry */
.hero-world picture,.mini-child-world picture,.emotion-picture picture,.problem-visual>div picture,.child-hero picture{display:block;position:absolute;inset:0;width:100%;height:100%}
.emotion-picture{position:relative}
