@font-face{font-family:Inter;src:url(assets/inter-regular.ttf) format("truetype");font-weight:400;font-display:swap}@font-face{font-family:Inter;src:url(assets/inter-bold.ttf) format("truetype");font-weight:700;font-display:swap}
*{box-sizing:border-box}body{margin:0;background:#201f1e;color:#fff;font-family:-apple-system,BlinkMacSystemFont,'SF Pro Text','SF Pro Display',Inter,'Helvetica Neue',Arial,sans-serif}button,select{font:inherit}button{cursor:pointer;color:inherit}button:focus-visible,select:focus-visible,a:focus-visible{outline:3px solid #ffcd00;outline-offset:5px}button{border:0;background:transparent;padding:0}p,h1,h2{margin:0}.viewport{width:1088px;height:1088px;margin:auto;position:relative}.screen{width:1088px;height:1088px;transform-origin:top left;position:relative;overflow:hidden;background:#292826;border-radius:120px}.view{position:absolute;inset:0}.view[hidden]{display:none}.home-art{position:absolute;left:0;top:185px;width:1104px;height:662px;object-fit:cover}.clock{position:absolute;font-size:24px;line-height:29px;font-weight:400;white-space:nowrap}.home-clock{left:825px;top:95px}.room-clock{left:817px;top:96px}.alarm{position:absolute;width:48px;height:48px}.alarm>img:first-child{width:48px;height:48px;object-fit:contain}.home-alarm{left:953px;top:83px}.room-alarm{left:945px;top:84px}.badge{position:absolute;left:28px;top:6px}.room-alarm .badge{left:30px;top:0}.round{position:absolute;width:80px;height:80px;border-radius:50%}.round:hover{filter:brightness(1.2)}.circle{position:absolute;inset:0}.icon{position:absolute;left:16px;top:16px;width:48px;height:48px;object-fit:contain}.learning{left:913px;top:847px}.settings{left:913px;top:957px}.back{left:70px;top:68px}.room-target{position:absolute;left:160px;top:405px;width:290px;height:195px;transform:rotate(35deg);border-radius:45%;}.room-target span{display:none;position:absolute;left:0;top:25px;padding:12px 18px;background:#181816ee;white-space:nowrap;border-radius:12px;font-size:22px;transform:rotate(-35deg)}.room-target:hover{background:#ffffff0b;box-shadow:0 0 45px #ffcc0025}.room-target:hover span,.room-target:focus-visible span{display:block}h1{position:absolute;left:198px;top:88px;font-size:32px;line-height:39px;font-weight:400}.room-scene{position:absolute;inset:0;pointer-events:none}.room-art{position:absolute;left:-21px;top:231px;width:769px;height:594px;object-fit:cover}.marker{position:absolute;width:40px;height:40px;border-radius:50%;pointer-events:auto}.marker.motion{left:130px;top:477px}.marker.camera{left:324px;top:544px}.marker.fall{left:445px;top:596px}.marker:hover{box-shadow:0 0 0 6px #ffce0035}.marker span{display:none;position:absolute;bottom:50px;left:50%;transform:translateX(-50%);background:#171715;padding:10px 15px;border-radius:10px;white-space:nowrap;font-size:20px}.marker:hover span,.marker:focus-visible span{display:block}.marker.paused{opacity:.4}.devices{position:absolute;left:110px;top:857px;display:grid;gap:8px}.devices button{display:flex;gap:50px;align-items:center;text-align:left;font-size:32px;line-height:39px;border-radius:8px}.devices button:hover{color:#ffce00}.devices b{min-width:43px}.devices b.off{font-size:26px;color:#b5b4ae}.history{position:absolute;left:702px;top:195px;width:332px;height:827px;border-radius:60px;background:#ffffff0d;overflow:hidden;border:1px solid #ffffff30;box-shadow:inset 2px 2px 17px #0002}.history h2{text-align:center;font-size:24px;font-weight:400;line-height:29px;margin-top:39px}.filter-wrap{position:absolute;left:31px;top:83px;width:265px;height:36px}.filter-wrap select{appearance:none;width:100%;height:100%;border:0;border-radius:12px;color:#fff;background:#535353;text-align:center;text-align-last:center;font-size:20px;padding-right:25px;cursor:pointer}.filter-wrap img{position:absolute;left:197px;top:6px;width:24px;height:24px;pointer-events:none}.feed{position:absolute;left:30px;right:33px;top:150px;bottom:0;overflow:auto;scrollbar-width:none;padding-bottom:25px}.feed::-webkit-scrollbar{display:none}.day-title{font-size:20px;line-height:24px;font-weight:400;margin:0 0 16px}.event{height:74px;position:relative}.event strong{font-size:20px;line-height:24px}.event time{position:absolute;left:193px;top:3px;font-size:16px;line-height:19px;white-space:nowrap}.event p{position:absolute;left:0;top:30px;font-size:16px;line-height:19px;white-space:nowrap}.event button{position:absolute;left:0;top:55px;font-size:16px;line-height:19px;color:#78bcff}.event button:hover{text-decoration:underline}.separator{display:block;margin:16px 0}.day-divider{display:block;margin:28px 0 25px;position:relative;left:-6px}.empty{font-size:18px;line-height:1.5;padding:12px 0;color:#ccc}dialog{width:min(560px,calc(100vw - 32px));max-height:85vh;overflow:auto;border:1px solid #77766f;border-radius:30px;background:#353430;color:#fff;padding:30px;box-shadow:0 20px 90px #0008}dialog::backdrop{background:#0008;backdrop-filter:blur(7px)}.dialog-heading{display:flex;gap:20px;align-items:center;justify-content:space-between;margin-bottom:24px}.dialog-heading h2{font-size:27px;font-weight:500}.dialog-heading button{font-size:32px;min-width:44px;min-height:44px}.dialog-body, #dialog-body{font-size:18px;line-height:1.6}#dialog-body p{margin:14px 0}#dialog-body h3{font-size:19px;margin:20px 0 6px}.muted{color:#c2c0b9;font-size:15px}.primary,.secondary{padding:13px 18px;border-radius:12px;margin-top:12px;font-size:17px}.primary{background:#e9e5d7;color:#292826}.secondary{border:1px solid #95938a}.choice{display:block;width:100%;text-align:left;margin-top:12px;border:1px solid #77766f;padding:12px;border-radius:12px}.feedback{padding:12px;background:#ffffff0a;border-radius:12px}.switch-row{display:flex;align-items:center;justify-content:space-between;gap:20px}.toggle{min-width:75px;background:#e9e5d7;color:#292826;border-radius:20px;padding:9px 15px}.toggle[aria-checked=false]{background:#5b5953;color:white}@media(prefers-reduced-motion:no-preference){button{transition:filter .16s,box-shadow .16s,color .16s}}
.camera-alarm{left:972px;top:84px}.camera-alarm .badge{left:42px;top:0}.access-panel{position:absolute;left:70px;top:199px;width:455px;height:810px;border-radius:60px;background:#ffffff0d;border:1px solid #ffffff30;box-shadow:inset 2px 2px 17px #0002;overflow:hidden}.access-panel[hidden]{display:none}.access-panel header{position:absolute;left:34px;top:39px;width:396px;display:flex;justify-content:space-between;align-items:start}.access-panel h2{font-size:24px;line-height:29px;font-weight:400}.access-panel header button,.access-panel header img{width:32px;height:32px}.access-person{position:absolute;left:33px;width:397px;height:80px;display:flex;gap:17px;align-items:start}.access-person>img{width:80px;height:80px;flex-shrink:0;border-radius:50%;object-fit:cover}.person-info{width:288px;height:80px;display:flex;flex-direction:column;justify-content:space-between}.person-info .person-head{display:flex;align-items:start;justify-content:space-between;gap:4px}.person-title{display:flex;gap:9px;align-items:center;white-space:nowrap}.person-title strong{font-size:20px;line-height:24px}.access-badge{font-size:12px;line-height:15px;border-radius:12px;background:#4d4d4d;padding:2px 8px;white-space:nowrap}.manage-person{font-size:16px;line-height:20px;color:#78bcff}.manage-person:hover{text-decoration:underline}.person-info p{font-size:16px;line-height:19px;width:221px;white-space:pre-line}.access-divider{position:absolute;left:33px}.access-divider.main{left:24px;top:495px}.quick-settings{position:absolute;left:601px;top:199px;width:413px}.quick-settings h2{font-size:28px;line-height:34px;font-weight:400;margin-bottom:25px}.setting-options{display:flex;flex-direction:column;gap:12px}.setting-row{display:flex;align-items:center;justify-content:space-between;font-size:24px;line-height:34px;height:34px}.binary-control{display:flex;align-items:center;gap:15px}.binary-control button{font-size:24px;line-height:34px;font-weight:400}.binary-control button[aria-pressed=true]{color:#3b9ef7;font-weight:700}.binary-control span{font-size:28px;line-height:34px}.manage-panel{background:#292928}.manage-panel h2{position:absolute;left:34px;top:39px}.manage-panel #manage-close{position:absolute;left:397px;top:34px;width:44px;height:44px;display:grid;place-items:center}.manage-avatar{position:absolute;left:34px;top:106px;width:124px;height:124px;border-radius:50%;object-fit:cover}.manage-name{position:absolute;left:183px;top:106px;font-size:20px;line-height:24px}.manage-badge{position:absolute;left:181px;top:136px;font-size:16px;line-height:19px}.added-date{position:absolute;left:183px;top:211px;font-size:16px;line-height:19px}.permission-options{position:absolute;left:34px;top:325px;width:396px}.turn-all-off{position:absolute;left:34px;top:686px;width:396px;color:#ea3f3f;font-size:24px;line-height:29px}.turn-all-off:hover{text-decoration:underline}.access-form label{display:block;margin:15px 0}.access-form input{font:inherit;width:100%;padding:12px;background:#292826;color:white;border:1px solid #888;border-radius:10px}.camera-illustration{position:absolute;left:575px;top:455px;width:455px;height:455px;object-fit:contain}
#access-panel{overflow-y:auto;scrollbar-width:none}.avatar-placeholder{display:grid;place-items:center;width:80px;height:80px;flex-shrink:0;border-radius:50%;background:#535353;font-size:30px}

.access-person:nth-child(-n+3) .person-info{height:61px}.access-person:first-child .person-info{height:auto;gap:14px}

/* Fit the square presentation without rearranging its Figma layout. */

/* Sensor targets: preserve the Figma center and add a generous hit area. */
.marker{width:64px;height:64px;transform:translate(-12px,-12px);display:grid;place-items:center;isolation:isolate;touch-action:manipulation;outline-offset:2px}
.marker>img{position:relative;z-index:2;pointer-events:none;filter:drop-shadow(0 2px 6px #0007);transition:transform .18s,filter .18s}
.marker::before,.marker::after{content:"";position:absolute;inset:12px;border-radius:50%;pointer-events:none}
.marker::before{background:#ffcf0024;box-shadow:0 0 22px #ffcf0040;z-index:0}
.marker::after{border:2px solid #ffd400;opacity:0;z-index:1}
.marker:hover{box-shadow:none}.marker:hover::before,.marker:focus-visible::before{inset:6px;background:#ffcf0030;box-shadow:0 0 26px #ffcf0055}
.marker:hover>img,.marker:focus-visible>img{transform:scale(1.13);filter:drop-shadow(0 0 8px #ffd40080)}
.marker:active>img{transform:scale(.9)}
.marker span{bottom:68px;padding:12px 16px;box-shadow:0 5px 20px #0005;line-height:1.35;text-align:center;pointer-events:none}
.marker span::after{content:"";display:block;color:#ddd8bc;font-size:14px;font-weight:400;margin-top:3px}
.marker.paused::after{animation:none}.marker.paused:hover,.marker.paused:focus-visible{opacity:.8}
@media(prefers-reduced-motion:no-preference){.marker::after{animation:sensor-ping 2.8s ease-out infinite}.marker.camera::after{animation-delay:.55s}.marker.fall::after{animation-delay:1.1s}@keyframes sensor-ping{0%{transform:scale(.85);opacity:.7}65%,100%{transform:scale(1.65);opacity:0}}}
@media(prefers-reduced-motion:reduce){.marker>img{transition:none}}
.model-host{position:absolute;overflow:hidden;touch-action:none;pointer-events:auto}.model-host canvas{display:block;cursor:grab;touch-action:none}.model-host canvas:focus-visible{outline:2px solid #ffd400;outline-offset:-3px}#home-model{left:0;top:170px;width:1088px;height:680px}#room-model{left:0;top:200px;width:702px;height:630px}.model-tools{position:absolute;left:105px;top:865px;display:flex;align-items:center;gap:24px;font-size:18px;color:#c4c1b9}.model-tools button,.room-model-reset{padding:10px 14px;border:1px solid #ffffff35;border-radius:12px;color:#ddd9ce;background:#ffffff08;font-size:18px}.model-tools button:hover,.room-model-reset:hover{background:#ffffff18}.room-model-reset{position:absolute;left:110px;top:775px;pointer-events:auto}.model-loading{padding:240px 40px;text-align:center;color:#c4c1b9;font-size:22px}
#model-hint{display:none}

/* Updated Figma home layout (183:1047). */
#home-model{left:26px;top:199px;width:1104px;height:662px}.settings{left:80px;top:931px}.learning{left:200px;top:931px}.model-tools{display:none}.floor-selector{position:absolute;left:984px;top:856px;display:flex;flex-direction:column;gap:7px;width:60px}.floor-selector button{font-size:32px;line-height:39px;height:48px;font-weight:400;border-radius:10px}.floor-selector button[aria-pressed=true]{color:#3b9ef7;font-weight:700}.floor-selector button:hover{background:#ffffff0b}#basement-note{position:absolute;left:200px;top:510px;width:688px;text-align:center;color:#c4c1b9;font-size:24px;pointer-events:none}

/* Quiet motion supports navigation without changing the square layout. */
@media(prefers-reduced-motion:no-preference){
 dialog[open]{animation:popup-enter .22s cubic-bezier(.22,1,.36,1)}
 dialog[open]::backdrop{animation:backdrop-enter .2s ease-out}
 .round,.manage-person,.binary-control button,.floor-selector button{transition:color .16s,background-color .16s,filter .16s,scale .16s}
 .round:active,.floor-selector button:active{scale:.95}
 .manage-person:active,.binary-control button:active{scale:.94}
 @keyframes popup-enter{from{opacity:0;translate:0 10px}to{opacity:1;translate:0 0}}
 @keyframes backdrop-enter{from{opacity:0}to{opacity:1}}
}

/* Education: the same square canvas, type and cards as the revised Figma frames. */
.education h1{left:174px;top:78px;line-height:1.35;width:650px}
.education-back{left:60px;top:60px}.education-exit{position:absolute;left:858px;top:88px;width:170px;text-align:left;font-size:20px;line-height:1.35;color:#c4c4ba}
.education[data-step="1"] .education-exit{left:962px;width:auto;top:87px}
.edu-progress{position:absolute;left:70px;top:202px;font-size:21px;line-height:1.35;font-weight:700;color:#3b9ef7}
.education[data-step="0"] .edu-progress{left:60px}
#education-model{left:279px;top:260px;width:530px;height:409px}
.education[data-step="1"] #education-model{left:25px;top:336px}
#education-model[hidden]{display:none}
.education h2{font-size:28px;line-height:1.35;font-weight:700}
.edu-entry-copy{position:absolute;left:279px;top:699px;width:530px}
.edu-entry-copy p{font-size:23px;line-height:1.35;color:#c4c4ba;margin-top:16px}
.edu-entry-action{position:absolute;left:352px;top:878px;width:384px}
.edu-primary{display:block;width:100%;height:64px;flex-shrink:0;border-radius:18px;background:#ebe8db;color:#292929;font-size:22px;font-weight:700;line-height:1.35}
.edu-primary:hover{background:#fffbee}.edu-primary:disabled{opacity:.4;cursor:default}
.edu-situation{position:absolute;left:70px;top:840px;width:440px}
.edu-panel{position:absolute;left:580px;top:190px;width:448px;height:764px;padding:30px 31px;display:flex;flex-direction:column;justify-content:space-between;gap:14px;border:1px solid #6e6e6e;border-radius:54px;background:#3b3b37}
.edu-panel>h2{font-size:32px;line-height:1.35;flex-shrink:0}
.edu-card{padding:14px 18px;background:#444;border-radius:18px;text-align:left;width:100%;position:relative;flex-shrink:0}
.edu-card h3{margin:0;font-size:23px;line-height:1.35;font-weight:400}
.edu-card p{margin-top:7px;color:#c4c4ba;font-size:20px;line-height:1.35;white-space:pre-line}
.edu-context{position:absolute;left:70px;top:340px;width:440px}
.edu-context h2{font-size:36px;margin-bottom:28px}
.edu-context p{font-size:25px;line-height:1.5;color:#c4c4ba}
.edu-context strong{font-weight:400;color:white}
.edu-options{display:grid;gap:18px}
.edu-preference,.edu-select{border:2px solid transparent}
.edu-preference[aria-pressed="true"],.edu-select[aria-checked="true"],.edu-match-card[aria-pressed="true"]{border-color:#3b9ef7;background:#3d4a53}
.edu-select{padding-right:48px;padding-top:12px;padding-bottom:12px}
.edu-check{position:absolute;right:15px;top:17px;font-size:21px;color:#3b9ef7}
.edu-note{font-size:20px;line-height:1.4;color:#c4c4ba}
.edu-match-intro{position:absolute;left:70px;top:260px;width:948px}
.edu-match-intro h2{font-size:32px}
.edu-match-intro p{font-size:22px;line-height:1.35;color:#c4c4ba;margin-top:14px;width:860px}
.edu-match{position:absolute;left:84px;top:405px;width:920px;height:430px;display:flex;justify-content:space-between}
.edu-data-column,.edu-source-column{width:360px;display:flex;flex-direction:column;gap:16px;z-index:1}
.edu-source-column{gap:36px;padding-top:10px}
.edu-match-card{width:360px;height:96px;padding:15px 22px;display:flex;flex-direction:column;justify-content:center;text-align:left;border:2px solid #6e6e6e;border-radius:22px;background:#3b3b37;font-size:24px}
.edu-data-column{gap:10px}.edu-match-card strong{font-size:23px;font-weight:400}.edu-match-card span{font-size:18px;color:#c4c4ba;margin-top:8px}
.edu-match-card:disabled{opacity:.65;cursor:default}
.edu-links{position:absolute;inset:0;width:920px;height:430px;pointer-events:none;overflow:visible}
.edu-links path{fill:none;stroke:#3b9ef7;stroke-width:3}
.edu-match-status{position:absolute;left:84px;top:858px;width:920px;font-size:21px;line-height:1.4;color:#c4c4ba}
.edu-match-action{position:absolute;left:620px;top:930px;width:384px}
.edu-review{gap:18px}.edu-explanation{font-size:22px;line-height:1.4;color:#c4c4ba}
.edu-results{overflow:auto;min-height:0;display:grid;gap:12px;scrollbar-width:thin}.edu-results .edu-card{flex-shrink:initial}
.edu-source-feedback{font-size:19px;line-height:1.4;color:#a6d3ff}
.edu-finish-actions{position:absolute;left:70px;top:990px;width:948px;display:flex;justify-content:space-between;color:#c4c4ba;font-size:20px}
.edu-finish-actions button{color:#a6d3ff}.edu-finish-actions button:hover{text-decoration:underline}
@media(prefers-reduced-motion:no-preference){.edu-card,.edu-primary,.edu-match-card{transition:background-color .16s,border-color .16s,scale .16s}.edu-primary:active:not(:disabled){scale:.98}.edu-links path{animation:backdrop-enter .2s ease-out}}

/* Apple HomeView (Wall Mounted): 5.73 in square body, 1088 × 1088 display at 220 ppi, so 86 px of bezel on each side. */
html,body{height:100%}
body{display:grid;place-items:center;min-height:100svh;padding:0;overflow:hidden;background:radial-gradient(120% 90% at 50% 18%,#fbfbfd 0%,#e9e9ee 100%);-webkit-font-smoothing:antialiased;letter-spacing:-.003em}
.stage{position:relative;flex:none}
.device{position:absolute;left:0;top:0;width:1260px;height:1260px;padding:86px;border-radius:206px;background:#050506;transform:scale(var(--demo-scale,1));transform-origin:top left;box-shadow:0 0 0 1px #00000040,0 0 0 4px #d4d5d9,0 0 0 5px #a9abb1,0 2px 3px 5px #ffffffb0 inset,0 50px 90px -24px #0000004d,0 18px 36px -12px #00000033}
.viewport,#screen{width:1088px;height:1088px;margin:0}
.screen{transform:none!important;border-radius:120px;isolation:isolate}
#screen::after{content:"";position:absolute;inset:0;z-index:40;background:#0000;pointer-events:none;transition:background .32s ease,backdrop-filter .32s ease}
#screen.dimmed::after{background:#00000066;backdrop-filter:blur(14px) saturate(1.2)}
.stage,.device{user-select:none;-webkit-user-select:none}
/* Crisp icons */
.round svg.icon{position:absolute;left:16px;top:16px;width:48px;height:48px;color:#cfcfca}
.round .circle{transition:opacity .2s}
.round,.alarm,.floor-selector button,.manage-person,.binary-control button,#add-access,#manage-close,.turn-all-off,.education-exit,.event button,.edu-primary,.edu-card,.edu-match-card,.devices button{transition:transform .18s cubic-bezier(.22,1,.36,1),opacity .18s,color .2s,background-color .2s,border-color .2s}
.round:hover{filter:none}.round:hover svg.icon{color:#fff}
.round:active,.alarm:active,#add-access:active,#manage-close:active{transform:scale(.92)}
.alarm svg.bell{display:block;width:48px;height:48px;color:#a8a8a4}
.alarm .badge{transform-origin:center;animation:badge-in .5s cubic-bezier(.34,1.56,.64,1) both}
.alarm:hover svg.bell{animation:bell-ring .7s ease-in-out}
#add-access svg{width:32px;height:32px;color:#3b9ef7}
#manage-close svg{width:28px;height:28px;color:#b5b5b0}
#add-access{display:grid;place-items:center}#manage-close{display:grid;place-items:center}
@keyframes bell-ring{0%,100%{transform:rotate(0)}20%{transform:rotate(11deg)}45%{transform:rotate(-9deg)}70%{transform:rotate(5deg)}}
@keyframes badge-in{from{transform:scale(0)}}
/* Glass panels, as in Figma */
.history,.access-panel,.edu-panel{background:linear-gradient(160deg,#ffffff12,#ffffff08);border:1px solid #ffffff2e;box-shadow:inset 0 1px 0 #ffffff14,inset 2px 2px 17px #0002}
.manage-panel{background:#2d2c2a}
/* Sensor markers breathe from dim to shiny */
.marker{width:40px;height:40px;background:none;border-radius:50%;box-shadow:none}
.marker>img{display:none}
.marker::before,.marker::after{content:"";position:absolute;border-radius:50%;box-shadow:none;background:none;animation:none}
.marker::before{inset:8px;background:radial-gradient(circle at 36% 30%,#fff2a8 0%,#ffd21e 42%,#ffc800 100%);animation:marker-breathe 2.8s ease-in-out infinite}
.marker::after{inset:0;border:2px solid #ffc800;animation:marker-halo 2.8s ease-in-out infinite}
.marker.camera::before,.marker.camera::after{animation-delay:.9s}
.marker.fall::before,.marker.fall::after{animation-delay:1.8s}
@keyframes marker-breathe{0%,100%{opacity:.5;transform:scale(.9);box-shadow:0 0 3px 0 #ffc80040}50%{opacity:1;transform:scale(1.03);box-shadow:0 0 18px 5px #ffc800cc,0 0 42px 10px #ffc80055}}
@keyframes marker-halo{0%,100%{opacity:.28;transform:scale(.94)}50%{opacity:1;transform:scale(1.08)}}
.marker:hover::before{animation-play-state:paused;opacity:1;box-shadow:0 0 22px 7px #ffc800dd}
.marker:hover::after{animation-play-state:paused;opacity:1}
.marker.paused::before{background:#8c8c88;animation:none;opacity:.8;box-shadow:none}
.marker.paused::after{border-color:#8c8c88;animation:none;opacity:.5}
.marker span{transition:opacity .2s}
/* Floors */
.floor-selector button{transition:color .25s,transform .18s cubic-bezier(.22,1,.36,1)}
.floor-selector button:active{transform:scale(.9)}
#home.room-open .floor-selector,#home.room-open .learning,#home.room-open .settings,#home.room-open .home-clock,#home.room-open .home-alarm{opacity:0;pointer-events:none}
.floor-selector,.learning,.settings,.home-clock,.home-alarm{transition:opacity .3s}
#room-name[hidden],#room-back[hidden]{display:none}
#room-back,#room-name{animation:fade-in .4s ease both}
@keyframes fade-in{from{opacity:0}}
/* ON / OFF */
.binary-control button[aria-pressed=true]{color:#3b9ef7;font-weight:600}
.binary-control button:active{transform:scale(.94)}
/* Dialog: stays inside the screen */
dialog{transform:scale(var(--demo-scale,1));transform-origin:center;border-radius:36px;background:#3a3936f2;border:1px solid #ffffff24;box-shadow:0 30px 80px #0007}
dialog::backdrop{background:transparent;backdrop-filter:none;-webkit-backdrop-filter:none}
dialog[open]{animation:sheet-up .42s cubic-bezier(.22,1,.36,1)}
@keyframes sheet-up{from{opacity:0;translate:0 18px;scale:.97}}
.manage-panel{animation:panel-in .36s cubic-bezier(.22,1,.36,1)}
@keyframes panel-in{from{opacity:0;translate:18px 0}}
.edu-primary{border-radius:18px;font-weight:600}
.edu-primary:active:not(:disabled){transform:scale(.97)}
.edu-card:active,.edu-match-card:active:not(:disabled){transform:scale(.985)}
h2,strong,b{font-weight:600}
@media(prefers-reduced-motion:reduce){.marker::before,.marker::after{animation:none;opacity:1}.alarm svg.bell,dialog[open],.manage-panel,.alarm .badge,#room-back,#room-name{animation:none}}

.hairline{position:absolute;left:34px;width:397px;height:1px;background:#ffffff24}
.hairline.main{left:25px;background:#ffffff52}
.room-model-reset{display:none}
.camera-illustration{object-fit:contain;filter:drop-shadow(0 26px 30px #0007)}

.education .education-exit{left:auto;right:78px;width:auto;top:88px;text-align:right}
.education[data-step] .education-exit{left:auto;right:78px;width:auto}

/* Pale model, floating glass controls. */
:root{--ink:#1d1d1f;--ink-2:#6e6e73;--line:#0000000f;--accent:#0a84ff;--glass:#ffffffb8;--glass-edge:#ffffffd9}
body{color:var(--ink)}
.device{border-radius:206px}
@supports (corner-shape:squircle){.device{corner-shape:squircle;border-radius:300px}.screen{corner-shape:squircle}}
.lens{position:absolute;left:50%;top:38px;width:13px;height:13px;margin-left:-6.5px;border-radius:50%;background:radial-gradient(circle at 40% 36%,#39424f,#10131a 62%);box-shadow:0 0 0 2px #17181c}
.screen{background:radial-gradient(90% 80% at 50% 38%,#fbfcfd 0%,#eef1f5 60%,#e3e8ee 100%);color:var(--ink)}
.model-host canvas{background:transparent}
.view h1{font-size:30px;font-weight:600;letter-spacing:-.018em;color:var(--ink)}
.glass,.round,.floor-selector,.history,.access-panel,.quick-settings,.edu-panel,.home-pill{background:var(--glass);-webkit-backdrop-filter:blur(26px) saturate(1.7);backdrop-filter:blur(26px) saturate(1.7);border:0;box-shadow:0 10px 34px #27354a14,0 1px 2px #27354a0f,inset 0 0 0 1px var(--glass-edge)}
.round{border-radius:50%;width:72px;height:72px}
.round .circle{display:none}.round svg.icon{left:15px;top:15px;width:42px;height:42px;color:#3a3a3c}
.round:hover{background:#ffffffe6}.round:hover svg.icon{color:#000}
.back,.education-back{left:58px;top:56px}
.learning{left:150px!important;top:968px}.settings{left:58px!important;top:968px}
.clock{color:var(--ink);font-weight:500;font-size:24px;letter-spacing:-.01em}
.home-clock,.room-clock{left:auto;right:128px;top:75px}
.alarm{width:44px;height:44px;left:auto!important;right:58px;top:66px}
.alarm svg.bell{width:44px;height:44px;color:#3a3a3c}
.alarm .badge{left:27px!important;top:4px!important;width:11px;height:11px}
/* Floors */
.floor-selector{position:absolute;right:58px;bottom:48px;left:auto;top:auto;width:72px;height:auto;display:flex;flex-direction:column;gap:2px;padding:6px;border-radius:36px}
.floor-selector button{position:static;width:60px;height:60px;border-radius:50%;font-size:22px;font-weight:500;line-height:1;color:var(--ink);left:auto;top:auto}
.floor-selector button[aria-pressed=true]{background:#fff;color:var(--accent);font-weight:600;box-shadow:0 2px 8px #27354a1f}
#home.room-open .floor-selector,#home.room-open .learning,#home.room-open .settings,#home.room-open .home-clock,#home.room-open .home-alarm{opacity:0;pointer-events:none}
#home.intro .floor-selector,#home.intro .learning,#home.intro .settings,#home.intro #home-markers{opacity:0}
.floor-selector,.learning,.settings,#home-markers{transition:opacity .6s ease}
#home-model{inset:0;width:auto;height:auto}
#home-markers{position:absolute;inset:0;pointer-events:none;z-index:3}
#basement-note{color:var(--ink-2);font-size:22px}
#home .round,.floor-selector,.home-clock,.home-alarm{z-index:4}
/* Device markers */
.marker{position:absolute;width:44px;height:44px;border-radius:50%;background:#fff;color:#1d1d1f;display:grid;place-items:center;pointer-events:auto;box-shadow:0 6px 16px #27354a2e,0 1px 2px #27354a26;transition:transform .2s cubic-bezier(.22,1,.36,1),background-color .25s,color .25s}
.marker::before,.marker::after{content:none;display:none}
.marker>svg{width:24px;height:24px;display:block}
.marker>img{display:none}
.marker{animation:device-breathe 3.6s ease-in-out infinite;animation-delay:var(--delay,0s)}
.marker.camera{--delay:.8s}.marker.fall{--delay:1.6s}
@keyframes device-breathe{0%,100%{box-shadow:0 6px 16px #27354a2e,0 0 0 0 #ff8a3000}50%{box-shadow:0 6px 16px #27354a2e,0 0 0 7px #ff8a3029,0 0 26px 8px #ff8a3047}}
.marker:hover{transform:scale(1.1)}.marker:active{transform:scale(.94)}
.marker.paused{color:#aeaeb2;background:#ffffffb0;animation:none}
.marker span{background:#1d1d1fe6;color:#fff;font-size:17px;font-weight:500;padding:7px 12px;border-radius:12px;bottom:54px}
/* Family room */
.room-model-reset{display:none}
.room-scene{inset:0}
#room-model{left:30px;top:150px;width:680px;height:690px}
.devices{left:58px;top:858px;width:640px;display:flex;gap:12px}
.devices button{position:static;flex:1;height:158px;display:flex;flex-direction:column;justify-content:flex-end;align-items:flex-start;padding:18px 20px;border-radius:30px;background:var(--glass);box-shadow:0 10px 34px #27354a14,inset 0 0 0 1px var(--glass-edge);-webkit-backdrop-filter:blur(26px);backdrop-filter:blur(26px);transition:transform .2s cubic-bezier(.22,1,.36,1),background-color .2s}
.devices button:hover{background:#ffffffe6}.devices button:active{transform:scale(.97)}
.devices b{order:2;position:static;font-size:17px;font-weight:500;color:#248a3d;width:auto}
.devices b.off{color:var(--ink-2)}
.devices span{position:static;font-size:20px;font-weight:600;color:var(--ink);line-height:1.2;width:auto}
.history{left:724px;top:150px;width:306px;height:866px;padding:24px 22px 0;border-radius:40px}
.history h2{position:static;font-size:24px;font-weight:600;color:var(--ink);text-align:left;margin:0 0 12px;transform:none;width:auto}
.filter-wrap{position:static;width:auto;height:auto;left:auto;top:auto;margin-bottom:6px;background:none}
.filter-wrap img{display:none}
#filter{width:100%;height:40px;padding:0 12px;border:0;border-radius:20px;background:#0000000d;color:var(--ink);font-size:17px;text-align:left;appearance:auto}
#filter option{color:#000}
.feed{position:absolute;left:0;right:0;top:118px;bottom:0;width:auto;height:auto;padding:0 22px 34px;overflow:auto;scrollbar-width:none;-webkit-mask-image:linear-gradient(#000 92%,transparent)}
.day-title{position:static;font-size:16px;font-weight:600;color:var(--ink-2);margin:14px 0 4px}
.separator,.day-divider{display:none}
.event{position:relative;left:auto;top:auto;width:auto;height:auto;padding:11px 0;color:var(--ink);display:block}
.event + .event{border-top:1px solid var(--line)}
.event strong{position:static;display:block;font-size:18px;font-weight:600;color:var(--ink)}
.event time{position:absolute;left:auto;right:0;top:13px;font-size:15px;color:var(--ink-2)}
.event p{position:static;width:auto;font-size:16px;color:var(--ink-2);margin:2px 0}
.event button{position:static;font-size:16px;color:var(--accent);min-height:0}
/* Camera */
.access-panel{left:58px;top:150px;width:470px;height:866px;border-radius:40px;overflow:hidden}
.access-panel header{left:32px;top:30px;width:406px}
.access-panel h2,.manage-panel h2{font-size:24px;font-weight:600;color:var(--ink)}
.access-person{left:32px;width:406px;color:var(--ink)}
.person-info{width:310px}.person-info p{color:var(--ink-2);width:250px}
.person-title strong{color:var(--ink);font-weight:600}
.access-badge{background:#0000000d;color:var(--ink-2);font-weight:500}
.manage-person{color:var(--accent)}
.hairline{left:32px;width:406px;background:var(--line)}.hairline.main{left:32px;background:#00000021}
#add-access svg{color:var(--accent)}#manage-close svg{color:var(--ink-2)}
.manage-panel{background:var(--glass)}.manage-panel #manage-close{left:auto;right:24px;top:24px}
.manage-name{color:var(--ink);font-weight:600}.added-date{color:var(--ink-2)}
.setting-options{gap:0}
.setting-row{height:60px;font-size:21px;line-height:1.2;color:var(--ink);border-top:1px solid var(--line)}
.setting-row:first-child{border-top:0}
.switch{position:relative;flex:none;width:58px;height:34px;border-radius:17px;background:#e4e4e9;box-shadow:inset 0 0 0 1px #0000000a;transition:background-color .22s}
.switch i{position:absolute;left:2px;top:2px;width:30px;height:30px;border-radius:50%;background:#fff;box-shadow:0 2px 6px #0003,0 0 1px #0003;transition:transform .26s cubic-bezier(.34,1.3,.64,1)}
.switch[aria-checked=true]{background:#34c759}
.switch[aria-checked=true] i{transform:translateX(24px)}
.turn-all-off{color:#ff3b30}
.quick-settings{left:548px;top:150px;width:482px;height:auto;padding:26px 30px 12px;border-radius:40px}
.quick-settings h2{position:static;font-size:24px;font-weight:600;line-height:1.2;margin:0 0 8px;color:var(--ink)}
.camera-illustration{left:600px;top:470px;width:380px;height:520px;object-fit:contain;filter:drop-shadow(0 28px 30px #27354a2e)}
/* Popups */
#screen.dimmed::after{background:#27354a26;backdrop-filter:blur(14px) saturate(1.4)}
dialog{background:#fffffff2;color:var(--ink);border:0;border-radius:36px;box-shadow:0 30px 80px #27354a33}
dialog h2,dialog h3,dialog p{color:var(--ink)}dialog .muted{color:var(--ink-2)}
#close{color:var(--ink-2)}
dialog .primary{background:var(--accent);color:#fff;border-radius:16px}
dialog .secondary{background:#0000000a;color:var(--ink);border-radius:16px;border:0}
dialog input{background:#0000000a;color:var(--ink);border:0}
.switch-row strong{color:var(--ink)}
.toggle{background:#34c75926;color:#248a3d;border-radius:14px;padding:6px 16px;border:0}
.toggle[aria-checked=false]{background:#0000000d;color:var(--ink-2)}
/* Practice */
.education h1{left:150px;top:72px;width:640px}
.education[data-step] .education-exit{top:78px;right:64px;left:auto;width:auto;color:var(--ink-2);font-size:20px}
.edu-progress{color:var(--accent)}
.education h2,.edu-context h2{color:var(--ink);font-weight:600}
.edu-context p,.edu-entry-copy p,.edu-match-intro p,.edu-note,.edu-explanation,.edu-match-status{color:var(--ink-2)}
.edu-context strong{color:var(--ink);font-weight:600}
.edu-panel{border-radius:40px;justify-content:flex-start;gap:14px}
.edu-panel>.edu-primary{margin-top:auto;flex:none}
.edu-card{background:#ffffffb0;color:var(--ink);border-radius:24px;border:2px solid transparent}
.edu-card h3{color:var(--ink);font-weight:600}.edu-card p{color:var(--ink-2)}
button.edu-card:hover{background:#fff}
.edu-preference[aria-pressed=true],.edu-select[aria-checked=true]{background:#fff;border-color:var(--accent);box-shadow:none}
.edu-check{border-color:#c7c7cc;border-radius:50%}
.edu-select[aria-checked=true] .edu-check{background:var(--accent);border-color:var(--accent);color:#fff}
.edu-primary{background:var(--accent);color:#fff;border-radius:20px;font-weight:600}
.edu-primary:hover:not(:disabled){background:#0071e3;color:#fff;filter:none}
.edu-primary:disabled{background:#0000000f;color:#aeaeb2}
.edu-match-card{background:var(--glass);border:2px solid transparent;color:var(--ink);border-radius:24px;box-shadow:inset 0 0 0 1px var(--glass-edge)}
.edu-match-card span{color:var(--ink-2)}
.edu-match-card[aria-pressed=true]{border-color:var(--accent)}
.edu-links path{stroke:var(--accent)}
.edu-source-feedback{color:var(--accent)}
.edu-finish-actions{color:var(--ink-2)}.edu-finish-actions button{color:var(--accent)}
.education[data-step="6"] .edu-panel{height:800px}
.education[data-step="6"] .edu-finish-actions{left:580px;width:448px;top:976px}
@media(prefers-reduced-motion:reduce){.marker{animation:none}}

.view h1{left:150px;top:72px;line-height:40px;margin:0}
.home-clock,.room-clock{top:78px}
.camera-alarm,.alarm{top:70px}
.devices{top:888px}
.devices button{height:128px;justify-content:center;gap:6px;border-radius:28px}
.devices span{margin:0}.devices b{margin:0}
#room-model{-webkit-mask-image:radial-gradient(closest-side,#000 82%,transparent);mask-image:radial-gradient(closest-side,#000 82%,transparent)}
#room-model{height:720px}

#education-model{-webkit-mask-image:radial-gradient(closest-side,#000 80%,transparent);mask-image:radial-gradient(closest-side,#000 80%,transparent);overflow:visible}
.edu-card{background:#f1f3f6}
button.edu-card:hover{background:#e9ecf1}
.edu-preference[aria-pressed=true],.edu-select[aria-checked=true]{background:#e8f2ff}
.avatar-placeholder{width:80px;height:80px;flex:none;display:grid;place-items:center;border-radius:50%;background:#e4e8ee;color:#6e6e73;font-size:30px;font-weight:600}

/* One 3D stage behind every page. */
#stage-3d,#stage-markers{position:absolute;inset:0;width:1088px;height:1088px;transition:opacity .4s ease}
#stage-3d canvas{display:block;width:1088px!important;height:1088px!important;outline:0}#stage-3d canvas:focus-visible{outline:2px solid #ffd400;outline-offset:-3px}
#stage-3d.off,#stage-markers.off{opacity:0;pointer-events:none}
#stage-3d.off canvas{pointer-events:none}
#stage-markers{pointer-events:none;z-index:1}
#stage-markers.off .marker{pointer-events:none}
.view{z-index:2;pointer-events:none}
.view>*{pointer-events:auto}
.view>h1,#education-content{pointer-events:none}
#education-content>*>*{pointer-events:auto}
#home,#room,#education{background:transparent}
#screen:has(#home.intro) #stage-markers{opacity:0}
#room-name{position:absolute}
.marker{--halo:#34c759;animation:device-breathe 3.6s ease-in-out infinite;animation-delay:var(--delay,0s)}
@keyframes device-breathe{0%,100%{box-shadow:0 6px 16px #27354a2e,0 0 0 0 transparent}50%{box-shadow:0 6px 16px #27354a2e,0 0 0 7px color-mix(in srgb,var(--halo) 22%,transparent),0 0 26px 8px color-mix(in srgb,var(--halo) 36%,transparent)}}
/* Practice */
.education h1{left:150px;top:72px}
#education-content{position:absolute;inset:0}
.learn-side{position:absolute;left:560px;top:150px;width:470px;display:flex;flex-direction:column;gap:14px;color:var(--ink);font-size:21px;line-height:1.35}
.learn-side h2{font-size:34px;line-height:1.15;font-weight:700;letter-spacing:-.022em;color:var(--ink);margin:0}
.learn-side .learn-hero{font-size:52px;line-height:1.06}
.learn-side p{color:#48484c;margin:0}
.learn-side strong{color:var(--ink);font-weight:600}
.learn-tag{color:var(--accent)!important;font-size:18px;font-weight:600}
.learn-primary{min-height:62px;border:0;border-radius:20px;padding:0 24px;background:var(--accent);color:#fff;font-size:21px;font-weight:600;transition:background-color .2s,transform .18s cubic-bezier(.22,1,.36,1)}
.learn-primary:hover:not(:disabled){background:#0071e3}.learn-primary:active:not(:disabled){transform:scale(.975)}
.learn-primary:disabled{background:#0000000f;color:#aeaeb2;cursor:default}
.learn-text{min-height:48px;color:var(--accent);font-size:19px;font-weight:500}
.learn-row{display:flex;justify-content:space-between;align-items:center;gap:14px}.learn-row .learn-primary{flex:1}
.learn-list,.learn-options{display:flex;flex-direction:column;gap:9px}
.learn-device{display:grid;grid-template-columns:44px 1fr;gap:14px;align-items:center;min-height:76px;padding:12px 18px;border-radius:22px;background:#fff;text-align:left;box-shadow:0 8px 26px #27354a12;transition:transform .18s cubic-bezier(.22,1,.36,1)}
.learn-device:active{transform:scale(.98)}
.learn-device svg{width:30px;height:30px;color:#6e6e73;justify-self:center}
.learn-device.open svg{color:var(--accent)}
.learn-device b{display:block;font-size:20px;font-weight:600}.learn-device small{display:block;margin-top:3px;font-size:18px;line-height:1.3;color:#48484c}
.learn-guess b{display:block;font-size:20px;font-weight:600;margin-bottom:9px}
.learn-guess div{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.learn-guess button{min-height:54px;border-radius:18px;background:#fff;font-size:20px;font-weight:600;border:2px solid transparent;box-shadow:0 8px 26px #27354a0f}
.learn-guess button[aria-pressed=true]{border-color:var(--accent);background:#f0f7ff;color:var(--accent)}
.learn-result{padding:16px 18px;border-radius:20px;background:#fff;box-shadow:0 8px 26px #27354a0f}.learn-result b{display:block;font-size:20px;font-weight:600;margin-bottom:4px}
.learn-verdict{padding:13px 18px;border-radius:18px;font-size:19px;font-weight:600}
.learn-verdict.same{background:#e5f7ea;color:#1c7a35}.learn-verdict.more{background:#fff1e0;color:#b25d00}.learn-verdict.less{background:#eef1f5;color:#48484c}
.learn-switch{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:11px 18px;border-radius:20px;background:#fff;box-shadow:0 8px 26px #27354a0f}
.learn-switch b{display:block;font-size:19px;font-weight:600}.learn-switch small{font-size:16px;color:var(--ink-2)}
.learn-left{position:absolute;left:58px;top:150px;width:470px;height:866px;display:grid;place-items:center}
.phone{width:344px;height:708px;padding:12px;border-radius:62px;background:#0b0b0d;box-shadow:0 34px 60px #27354a38,0 0 0 2px #3a3a3e;pointer-events:none}
.ph-screen{position:relative;height:100%;display:flex;flex-direction:column;gap:12px;padding:68px 18px 20px;border-radius:50px;background:#f2f2f7;overflow:hidden;color:#1d1d1f}
.ph-island{position:absolute;left:50%;top:13px;width:104px;height:30px;margin-left:-52px;border-radius:15px;background:#0b0b0d}
.ph-title{font-size:30px;font-weight:700;letter-spacing:-.02em;margin:0 2px 6px;color:#1d1d1f}
.ph-card{padding:16px 18px;border-radius:22px;background:#fff;animation:ph-in .46s cubic-bezier(.22,1,.36,1)}
.ph-card b{display:block;font-size:20px;font-weight:600}.ph-card p{font-size:17px;color:var(--ink-2);margin:2px 0 0}
.ph-card ul{list-style:none;margin:10px 0 0;padding:0}.ph-card li{display:flex;justify-content:space-between;gap:10px;padding:9px 0;border-top:1px solid var(--line);font-size:17px;color:var(--ink-2)}.ph-card li span{color:var(--ink);font-weight:500}
.ph-card.ok{display:flex;flex-direction:column;align-items:center;gap:12px;padding:36px 18px;text-align:center}
.ph-card.ok i{display:grid;place-items:center;width:70px;height:70px;border-radius:50%;background:#34c759;color:#fff;font-style:normal;font-size:38px;font-weight:700}
.ph-empty,.ph-hidden{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;flex:1;text-align:center;color:var(--ink-2);font-size:20px}
.ph-hidden b{display:grid;place-items:center;width:92px;height:92px;border-radius:50%;background:#e4e4ea;color:#8e8e93;font-size:48px;font-weight:600}
.ph-chat{display:flex;flex-direction:column;gap:6px;margin-top:8px}.ph-name{font-size:15px;color:var(--ink-2);margin-left:12px}
.ph-chat p{padding:13px 16px;border-radius:22px;background:#e5e5ea;font-size:20px;line-height:1.3;color:#1d1d1f;margin:0;animation:ph-in .5s cubic-bezier(.22,1,.36,1)}
.ph-video{position:relative;border-radius:22px;overflow:hidden;animation:ph-in .46s cubic-bezier(.22,1,.36,1)}.ph-video svg{display:block;width:100%}
.ph-video em{position:absolute;left:12px;top:12px;padding:3px 9px;border-radius:9px;background:#ff3b30;color:#fff;font-size:14px;font-style:normal;font-weight:700}
.ph-card.fall{margin-top:auto}
@keyframes ph-in{from{opacity:0;translate:0 12px;scale:.98}}
.education[data-step="0"] .learn-side{top:300px}
@media(prefers-reduced-motion:reduce){.ph-card,.ph-chat p,.ph-video{animation:none}}
.marker[hidden]{display:none}
.devices b.off{font-size:17px;font-weight:500;color:var(--ink-2)}
.marker span::after{content:none!important;display:none!important}

.no-devices{flex:1;height:128px;display:flex;flex-direction:column;justify-content:center;gap:4px;margin:0;padding:18px 24px;border-radius:28px;background:var(--glass);box-shadow:0 10px 34px #27354a14,inset 0 0 0 1px var(--glass-edge);font-size:18px;color:var(--ink-2)}
.no-devices strong{font-size:20px;font-weight:600;color:var(--ink)}
.feed .empty{color:var(--ink-2);font-size:17px}

/* Sizes for the real 4.95-inch screen: 24px is about 8pt, 28px about 9pt. Touch targets are at least 60px, about 7 mm. */
.round{width:88px;height:88px}.round svg.icon{left:20px;top:20px;width:48px;height:48px}
.back,.education-back{left:50px;top:44px}
.settings{left:50px!important;top:950px}.learning{left:154px!important;top:950px}
.view h1{left:156px;top:64px;font-size:37px;line-height:44px;width:auto;letter-spacing:-.02em}
.clock{font-size:30px}
.home-clock,.room-clock{right:136px;top:70px}
.alarm{width:76px;height:76px;right:48px;top:50px;display:grid;place-items:center}
.alarm svg.bell{width:52px;height:52px}
.alarm .badge{left:44px!important;top:12px!important;width:14px;height:14px}
.floor-selector{right:50px;bottom:40px;width:96px;padding:6px}
.floor-selector button{width:84px;height:84px;font-size:30px}
#basement-note{font-size:30px}
#stage-markers .marker{width:62px;height:62px}
#stage-markers .marker>svg{width:34px;height:34px}
#stage-markers .marker span{font-size:24px;bottom:72px}
/* Family room */
.devices{left:50px;top:862px;width:600px;gap:12px}
.devices button{height:170px;padding:16px 20px;gap:6px;border-radius:32px}
.devices span{font-size:27px;line-height:1.14}
.devices b,.devices b.off{font-size:25px}
.no-devices{height:170px;font-size:26px;border-radius:32px}.no-devices strong{font-size:27px}
.history{left:664px;top:150px;width:374px;height:882px;padding:26px 24px 0}
.history h2{font-size:31px;margin-bottom:14px}
#filter{height:62px;border-radius:31px;font-size:25px;padding:0 16px}
.feed{top:158px;padding:0 24px 40px}
.day-title{font-size:25px;margin:16px 0 4px}
.event{position:relative;padding:15px 0}
.event strong{font-size:27px}
.event time{font-size:24px;top:17px}
.event p{font-size:24px;line-height:1.2;margin-top:4px}
.event button{position:absolute;inset:0;width:100%;font-size:0;color:transparent;background:none}
.event button:active{background:#0000000a}
.feed .empty{font-size:25px}
/* Camera */
.access-panel{left:50px;top:150px;width:524px;height:882px;overflow:hidden}
.access-panel header{left:32px;top:24px;width:460px}
.access-panel h2,.manage-panel h2{font-size:31px}
#add-access{width:72px;height:72px;margin-top:-16px;margin-right:-10px}#add-access svg{width:38px;height:38px}
#access-people{position:absolute;left:0;right:0;top:100px;bottom:0;overflow:auto;padding:0 32px 30px;scrollbar-width:none;-webkit-mask-image:linear-gradient(#000 92%,transparent)}
#access-people>div,.hairline{display:none}
.access-person{position:relative!important;top:auto!important;left:auto;width:auto;height:auto;gap:16px;padding:18px 0;border-top:1px solid var(--line);align-items:center}
.access-person:first-child{border-top:0}
.access-person>img,.avatar-placeholder{width:80px;height:80px;flex:none}
.person-info{flex:1;width:auto;height:auto!important;min-width:0;display:block}
.person-info .person-head{align-items:flex-start;justify-content:space-between}
.person-title{flex-direction:column;align-items:flex-start;gap:2px;white-space:normal}
.person-title strong{font-size:27px;line-height:32px}
.access-badge{background:none;padding:0;font-size:24px;line-height:28px;color:var(--ink-2);border-radius:0}
.person-info p{width:auto;font-size:24px;line-height:29px;margin-top:2px}
.manage-person{font-size:25px;min-height:60px;min-width:96px;margin-top:-12px;text-align:right}
.quick-settings{left:590px;top:150px;width:448px;padding:26px 30px 10px}
.quick-settings h2{font-size:31px}
.setting-row{height:80px;font-size:27px}
.switch{width:78px;height:46px;border-radius:23px}.switch i{width:42px;height:42px}.switch[aria-checked=true] i{transform:translateX(32px)}
.camera-illustration{left:640px;top:510px;width:350px;height:490px}
/* Manage */
.manage-panel{display:flex;flex-direction:column;align-items:flex-start;padding:26px 32px;overflow:auto;scrollbar-width:none}
.manage-panel>*{position:static!important;width:auto;left:auto;top:auto}
.manage-panel>#manage-close{position:absolute!important;right:22px;top:16px;left:auto;width:72px;height:72px}
#manage-close svg{width:34px;height:34px}
.manage-avatar{width:92px;height:92px;margin-top:14px;border-radius:50%;object-fit:cover}
.manage-name{font-size:30px;margin-top:8px}
.manage-badge,.added-date{font-size:24px;line-height:30px}
.permission-options{align-self:stretch;margin-top:8px}
.manage-panel .setting-row{height:78px;font-size:26px}
.turn-all-off{min-height:64px;font-size:26px;margin-top:6px}
/* Popups */
dialog{position:fixed;left:50%;top:50%;margin:0;width:880px;max-width:none;max-height:none;padding:36px 44px 40px;transform:translate(-50%,-50%) scale(var(--demo-scale,1));border-radius:48px}
dialog h2,#dialog-title{font-size:36px}
dialog h3{font-size:27px;margin:20px 0 4px}
dialog p,#dialog-body p{font-size:27px;line-height:1.3}
dialog .muted{font-size:24px}
dialog .primary,dialog .secondary{min-height:76px;font-size:27px;margin-top:22px;width:100%}
#close{width:72px;height:72px;font-size:40px}
.switch-row strong{font-size:27px}
.toggle{min-height:62px;min-width:96px;font-size:26px}
dialog input{min-height:72px;font-size:27px;width:100%}dialog label{font-size:27px}
/* Practice */
.education h1{left:156px;top:64px}
.education[data-step] .education-exit{top:50px;right:48px;min-height:76px;font-size:27px}
.learn-side{left:530px;top:148px;width:510px;gap:12px;font-size:26px;line-height:1.28}
.learn-side h2{font-size:38px}.learn-side .learn-hero{font-size:60px}
.learn-tag{font-size:24px}
.learn-primary{min-height:76px;font-size:27px}
.learn-text{min-height:64px;font-size:26px}
.learn-device{min-height:92px}.learn-device b{font-size:27px}.learn-device small{font-size:24px}
.learn-guess b{font-size:26px}.learn-guess button{min-height:66px;font-size:27px}
.learn-result b{font-size:26px}.learn-verdict{font-size:25px}
.learn-switch b{font-size:25px}.learn-switch small{display:none}
.learn-left{left:30px;width:480px}
.education[data-step="0"] .learn-side{left:530px}
#dialog-body h3,dialog h3{font-size:27px!important;font-weight:600}
.education[data-step] .education-exit{min-width:80px;text-align:right}
.switch{position:relative}.switch::after{content:"";position:absolute;inset:-12px -4px}
.event p{white-space:normal;width:auto;max-width:100%;padding-right:2px}
#stage-markers .marker{width:56px;height:56px}#stage-markers .marker>svg{width:31px;height:31px}
#screen:has(#room:not([hidden])) #stage-markers .marker{width:68px;height:68px}
#screen:has(#room:not([hidden])) #stage-markers .marker>svg{width:37px;height:37px}
.manage-avatar{margin-top:22px}.manage-name{margin-top:12px;line-height:38px}

/* Gloria's playground picks */
dialog[open]{animation:none}
.round,.alarm,#add-access,#manage-close,.manage-person,.turn-all-off,.floor-selector button,.devices button,.event button,.learn-primary,.learn-device,.learn-guess button,dialog button,.education-exit{transition:transform .16s ease-out,background-color .2s,color .2s}
.round:active,.alarm:active,#add-access:active,#manage-close:active,.floor-selector button:active,.learn-primary:active:not(:disabled),dialog button:active{transform:scale(.92)}
.devices button:active,.learn-device:active{transform:scale(.96)}
.switch i{transition:transform .26s cubic-bezier(.3,.8,.4,1),width .16s}
.switch:active i{width:50px}.switch[aria-checked=true]:active i{transform:translateX(24px)}
#stage-markers .marker,#screen:has(#room:not([hidden])) #stage-markers .marker{display:inline-flex;align-items:center;justify-content:center;width:auto;min-width:56px;height:56px;padding:0 12px;border-radius:28px;white-space:nowrap;color:#fff;background:linear-gradient(150deg,color-mix(in srgb,var(--halo) 74%,#fff),var(--halo) 70%);transition:transform .16s ease-out,opacity .24s,background .4s}
#screen:has(#room:not([hidden])) #stage-markers .marker{min-width:68px;height:68px;padding:0 15px;border-radius:34px}
#stage-markers .marker:hover{transform:none}#stage-markers .marker:active{transform:scale(.92)}
@keyframes device-breathe{0%,100%{box-shadow:inset 0 1px 0 #ffffff70,0 5px 14px color-mix(in srgb,var(--halo) 40%,transparent)}50%{box-shadow:inset 0 1px 0 #ffffff70,0 5px 14px color-mix(in srgb,var(--halo) 40%,transparent),0 0 0 8px color-mix(in srgb,var(--halo) 20%,transparent),0 0 28px 8px color-mix(in srgb,var(--halo) 34%,transparent)}}
#stage-markers .marker span{display:block;position:static;max-width:0;overflow:hidden;padding:0;background:none;color:inherit;font-size:24px;font-weight:600;opacity:0;transform:none;border-radius:0;transition:max-width .34s cubic-bezier(.34,1.3,.64,1),opacity .24s,margin .34s}
#stage-markers .marker.named span{max-width:240px;opacity:1;margin-left:8px}
#stage-markers .marker.paused{color:#fff;background:#c3c8d0;animation:none;box-shadow:0 3px 8px #27354a1f}
#stage-markers .marker.group{font-size:28px;font-weight:700}
#stage-markers .marker.tucked,#stage-markers .marker.group.spread{opacity:0;transform:scale(.4);pointer-events:none}
#stage-markers.fanning .marker{transition:left .42s cubic-bezier(.34,1.3,.64,1),top .42s cubic-bezier(.34,1.3,.64,1),opacity .24s,transform .3s}
.floor-ghost{position:absolute;inset:0;width:1088px;height:1088px;pointer-events:none}
#stage-markers .marker.paused{background:#c3c8d0!important;color:#fff!important;opacity:1;animation:none}
#stage-markers .marker:not(.tucked):not(.spread){transform:none}
#stage-markers .marker:not(.tucked):not(.spread):active{transform:scale(.92)}

/* White device icons with a colored ring */
#stage-markers .marker:not(.paused),#screen:has(#room:not([hidden])) #stage-markers .marker:not(.paused){color:#1d1d1f;background:#fff;box-shadow:0 0 0 4px var(--halo),0 6px 14px #27354a2e;animation-name:ring-breathe}
@keyframes ring-breathe{0%,100%{box-shadow:0 0 0 4px var(--halo),0 6px 14px #27354a2e}50%{box-shadow:0 0 0 4px var(--halo),0 6px 14px #27354a2e,0 0 26px 12px color-mix(in srgb,var(--halo) 40%,transparent)}}
/* Rooms with more than three devices */
.devices:has(.ic){flex-wrap:wrap;height:170px;align-content:center;gap:10px}
.devices button.ic{flex:none;width:auto;height:80px;min-width:84px;flex-direction:row;justify-content:center;align-items:center;gap:0;padding:0 22px;border-radius:40px;color:var(--accent)}
.ic svg{width:38px;height:38px;flex:none}.ic b{display:none}
.ic span{max-width:0;overflow:hidden;white-space:nowrap;font-size:25px;transition:max-width .32s,margin .32s}
.ic.named span{max-width:220px;margin-left:10px}
.ic:has(b.off){color:#aeaeb2}
/* Device name tag: one clean pill, no inner shadow */
#stage-markers .marker span{box-shadow:none;text-align:left;line-height:1.2;pointer-events:none}
/* Device cards keep one standard size, however many a room has */
.devices button:not(.ic){flex:0 0 192px;width:192px}
.no-devices{flex:0 0 auto;width:auto}
#stage-markers .marker.named{z-index:3}

/* Sensors are plain white */
#stage-markers .marker:not(.paused),#screen:has(#room:not([hidden])) #stage-markers .marker:not(.paused){color:#1d1d1f;background:#fff;box-shadow:0 4px 14px #27354a33,0 0 0 1px #27354a0d;animation:none}
#stage-markers .marker.group:not(.paused){color:#1d1d1f}
/* Every device uses the camera page's structure */
#device-title.long{font-size:30px}
.device-side{position:absolute;left:590px;top:150px;width:448px;height:882px;display:flex;flex-direction:column;gap:14px}
.device-side .quick-settings{position:static;left:auto;top:auto;width:auto;flex:none;padding:24px 30px 12px;border-radius:40px}
.device-art{flex:1;min-height:0;display:grid;place-items:center}
.device-art [hidden]{display:none}
.device-art .camera-illustration{position:static;left:auto;top:auto;width:100%;height:100%;min-height:0;object-fit:contain}
.device-icon{display:grid;place-items:center;width:132px;height:132px;border-radius:50%;background:#fff;color:#1d1d1f;box-shadow:0 14px 34px #27354a24}
.device-icon svg{width:72px;height:72px}

/* One settings card; history sits with the people */
.device-side .quick-settings{padding:24px 30px 14px}
.collected{list-style:none;margin:0;padding:0 0 12px}
.collected li{position:relative;padding:3px 0 3px 26px;font-size:25px;line-height:1.26;color:var(--ink-2)}
.collected li::before{content:"";position:absolute;left:6px;top:15px;width:7px;height:7px;border-radius:50%;background:currentColor}
.sub-settings{border-top:1px solid var(--line)}
#quick-options.paused .collected,#quick-options.paused .sub-settings{opacity:.4;pointer-events:none}
.collected,.sub-settings{transition:opacity .25s}
#access-panel #access-people{bottom:102px}
.device-history{position:absolute;left:32px;right:32px;bottom:22px;min-height:68px;border-radius:24px;background:#0a84ff14;font-size:26px;font-weight:600;color:var(--accent);transition:transform .16s ease-out}
.device-history:active{transform:scale(.97)}
#access-panel #access-people{top:82px;-webkit-mask-image:none;mask-image:none}
#access-panel .access-person{padding:12px 0}

/* Spacing system on an 8px grid: screen margin 56, gap between cards 32, related items 16, card padding 32.
   Corners are concentric: inner radius = outer radius - padding. */
.round.back,.education-back{left:56px;top:48px}
.view h1,.education h1{left:168px;top:70px}
.settings{left:56px!important;top:944px}.learning{left:160px!important;top:944px}
.floor-selector{right:56px;bottom:56px}
.alarm{right:44px}.home-clock,.room-clock{right:132px}
.education[data-step] .education-exit{right:56px}
/* Family room */
.devices{left:56px;top:872px;width:584px;gap:16px}
.devices button{height:160px;border-radius:32px}
.devices button:not(.ic){flex:0 0 184px;width:184px}
.devices:has(.ic){height:160px}
.no-devices{height:160px;border-radius:32px}
.history{left:672px;top:168px;width:360px;height:864px;padding:28px 32px 0;border-radius:40px}
.feed{top:160px;padding:0 32px 40px}
#filter{border-radius:31px}
/* Device pages */
.access-panel{left:56px;top:168px;width:476px;height:864px}
.access-panel header{left:32px;top:28px;width:412px}
#access-panel #access-people{top:88px;bottom:108px}
#access-panel .access-person{padding:9px 0}
.device-history{left:24px;right:24px;bottom:24px;min-height:68px;border-radius:16px}
.device-side{left:564px;top:168px;width:468px;height:864px;gap:32px}
.device-side .quick-settings{padding:28px 32px 16px}
.device-art .camera-illustration{filter:drop-shadow(0 24px 28px #27354a33)}
.manage-panel{padding:28px 32px}
/* Practice */
.learn-left{left:56px;top:168px;width:452px;height:864px}
.learn-side{left:540px;top:168px;width:492px}
.education[data-step="0"] .learn-side{left:540px}

/* One card system for the whole demo: same title, same row, same divider.
   Title 30px, row text 27 and 24, rows at least 92px tall, dividers start at the text. */
:root{--card-pad:32px;--row:92px}
.access-panel,.quick-settings,.history{border-radius:40px}
.access-panel h2,.manage-panel h2,.quick-settings h2,.history h2{font-size:30px;line-height:36px;font-weight:600;margin:0}
.access-panel header{left:var(--card-pad);right:var(--card-pad);top:28px;width:auto;height:36px;align-items:center}
#add-access{margin:0 -14px 0 0;width:64px;height:64px}
#access-panel #access-people{top:76px;bottom:116px;padding:0 var(--card-pad);-webkit-mask-image:none;mask-image:none;overflow:auto;scrollbar-width:none}
.list-label{margin:18px 0 2px;font-size:24px;line-height:30px;font-weight:600;color:var(--ink-2)}
#access-people .access-person,#access-people .access-person:first-child{position:relative!important;display:grid;grid-template-columns:64px minmax(0,1fr) 24px;gap:20px;align-items:center;width:100%;height:var(--row);min-height:var(--row);padding:0;border:0;background:none;text-align:left;color:var(--ink)}
#access-people .access-person:active{opacity:.55}
#access-people .access-person>img,#access-people .avatar-placeholder{width:64px;height:64px;border-radius:50%;object-fit:cover;font-size:26px}
#access-people .access-person + .access-person::before{content:"";position:absolute;left:84px;right:0;top:0;height:1px;background:var(--line)}
.person-text{display:flex;flex-direction:column;gap:2px;min-width:0}
.person-text strong{font-size:27px;line-height:32px;font-weight:600;color:var(--ink)}
.person-text small{font-size:24px;line-height:28px;color:var(--ink-2);overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}
.chev{width:24px;height:24px;color:#c4c6cc}
.device-history{left:var(--card-pad);right:var(--card-pad);bottom:12px;min-height:var(--row);height:var(--row);display:flex;align-items:center;justify-content:space-between;padding:0;border-radius:0;background:none;border-top:1px solid var(--line);color:var(--ink);font-size:27px;font-weight:400}
.device-history svg{width:24px;height:24px;color:#c4c6cc}
.device-history:active{transform:none;opacity:.55}
.device-side .quick-settings{padding:28px var(--card-pad) 8px}
.quick-settings h2{margin-bottom:8px}
.setting-row,.manage-panel .setting-row{height:var(--row);font-size:27px;border-top:0;position:relative}
.setting-row + .setting-row::before,.sub-settings .setting-row::before{content:"";position:absolute;left:0;right:0;top:0;height:1px;background:var(--line)}
.sub-settings{border-top:0}
.collected{padding:0 0 18px;margin-top:-12px}
.collected li{font-size:24px;line-height:32px;padding:0 0 0 22px}
.collected li::before{left:4px;top:13px;width:6px;height:6px}
.device-art{position:relative;min-height:0}
.device-art canvas{position:absolute;inset:0;display:block;outline:0}
/* Manage shares the same layout */
.manage-panel{display:grid;grid-template-columns:80px minmax(0,1fr);column-gap:20px;align-content:start;padding:28px var(--card-pad) 16px;overflow:auto}
.manage-panel>h2{grid-column:1/-1;margin-bottom:20px;padding-right:56px}
.manage-panel>#manage-close{right:16px;top:12px}
.manage-panel>.manage-avatar{grid-row:span 3;width:80px;height:80px;margin:0}
.manage-panel>.manage-name{font-size:27px;line-height:32px;margin:0}
.manage-panel>.manage-badge,.manage-panel>.added-date{font-size:24px;line-height:28px;background:none;padding:0;margin:0;color:var(--ink-2);border-radius:0}
.manage-panel>.permission-options,.manage-panel>.turn-all-off{grid-column:1/-1}
.manage-panel>.permission-options{margin-top:20px}
.manage-panel>.turn-all-off{justify-self:start;min-height:var(--row);margin:0;font-size:27px}
/* History card follows the same rhythm */
.history{padding:28px var(--card-pad) 0}
.history h2{margin-bottom:16px}
.device-art canvas{filter:drop-shadow(0 18px 22px #27354a2e)}

/* Icons move with subpixel precision and stay put through a room change */
#stage-markers .marker{will-change:translate;transition:transform .16s ease-out,opacity .3s ease,background .4s,min-width .5s cubic-bezier(.32,.72,0,1),height .5s cubic-bezier(.32,.72,0,1)}
#screen:has(#room:not([hidden])) #stage-markers .marker{transition:transform .16s ease-out,opacity .3s ease,background .4s,min-width .5s cubic-bezier(.32,.72,0,1),height .5s cubic-bezier(.32,.72,0,1)}
#stage-markers .marker.away{opacity:0;pointer-events:none}
#stage-markers.fanning .marker{transition:translate .42s cubic-bezier(.32,.72,0,1),opacity .24s,transform .3s}

/* Polish: even numbers, quieter layers, and motion with two personalities.
   Direct actions follow the finger. Confirming actions spring. */
:root{--spring:cubic-bezier(.34,1.56,.64,1)}
body{font-variant-numeric:tabular-nums}
.access-panel,.quick-settings,.history,.pane,.devices button,.no-devices{background:#ffffffc7;border:0;box-shadow:0 1px 2px #27354a0a,0 10px 30px #27354a0d;-webkit-backdrop-filter:none;backdrop-filter:none}
.switch i{transition:transform .32s var(--spring),width .16s}
.badge.gone{display:none}
/* Home additions */
.people-btn{left:264px!important;top:944px}
#home.intro .people-btn{opacity:0}
.round.people-btn{transition:opacity .6s ease,transform .16s ease-out}
/* Two-pane pages share the device page's cards */
.pane{position:absolute;top:168px;height:864px;padding:28px var(--card-pad);border-radius:40px;overflow:auto;scrollbar-width:none}
.pane-left{left:56px;width:476px}.pane-right{left:564px;width:468px}.pane-short{height:auto}
.pane h2{font-size:30px;line-height:36px;font-weight:600;margin:0 0 8px;color:var(--ink)}
.pane .setting-row{height:var(--row);font-size:27px}
.pane-note{font-size:24px;color:var(--ink-2);margin:0 0 4px}
.list-row,.plain-row{position:relative;display:grid;grid-template-columns:64px minmax(0,1fr) 24px;gap:20px;align-items:center;width:calc(100% + 32px);min-height:var(--row);margin:0 -16px;padding:6px 16px;border-radius:20px;text-align:left;color:var(--ink);transition:background-color .2s}
.plain-row{grid-template-columns:minmax(0,1fr) 24px;gap:12px}
.list-row:active,.plain-row:active{background:#0000000a}
.list-row.on{background:#0a84ff14}
.list-row>img,.list-row .avatar-placeholder,.detail-head>img,.detail-head .avatar-placeholder{width:64px;height:64px;border-radius:50%;object-fit:cover;font-size:26px}
.plain-row + .plain-row::before{content:"";position:absolute;left:16px;right:16px;top:0;height:1px;background:var(--line)}
.plain-row.danger{color:#ff3b30;font-size:27px;grid-template-columns:1fr}
.detail-head{display:grid;grid-template-columns:64px minmax(0,1fr);gap:20px;align-items:center;margin-bottom:16px}
.pane .collected{margin:0;padding-bottom:10px}
.pane .list-label{margin-top:16px}
.decide{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:20px}
.decide button{min-height:76px;border-radius:24px;font-size:27px;font-weight:600;transition:transform .32s var(--spring)}
.decide button:active{transform:scale(.94);transition-duration:.08s}
.decide-yes{background:var(--accent);color:#fff}.decide-no{background:#0000000d;color:var(--ink)}
.facts{margin:0}.facts div{padding:14px 0;border-top:1px solid var(--line)}.facts div:first-child{border-top:0}
.facts dt{font-size:24px;color:var(--ink-2)}.facts dd{margin:2px 0 0;font-size:27px;color:var(--ink)}
/* Live preview beside Manage */
.preview-side{display:none;position:absolute;left:564px;top:168px;width:468px;height:864px;padding-top:28px;flex-direction:column;align-items:center;gap:32px}
.preview-side h2{font-size:30px;font-weight:600;margin:0;color:var(--ink)}
.managing .preview-side{display:flex}.managing .device-side{display:none}
#preview-screen .phone{height:796px;zoom:.82}
.ph-model{position:relative;flex:none;height:154px;border-radius:22px;background:#fff;overflow:hidden;animation:ph-in .46s cubic-bezier(.22,1,.36,1)}
.ph-model img{display:block;width:100%;height:100%;object-fit:cover}
.ph-model em{position:absolute;left:12px;top:12px;padding:3px 9px;border-radius:9px;background:#ff3b30;color:#fff;font-size:14px;font-style:normal;font-weight:700}
@media(prefers-reduced-motion:reduce){.ph-model{animation:none}}
.ph-model .ph-note{position:absolute;left:12px;right:12px;bottom:9px;color:#fff;font-size:15px;font-weight:500}
.ph-state{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;background:#0d1628;color:#fff;text-align:center}
.ph-state svg{width:36px;height:36px;margin-bottom:4px;color:#a9d6ff}.ph-state b{font-size:26px;font-weight:600}.ph-state span{font-size:15px;color:#c7d3e4}
.ph-clock{position:absolute;left:36px;top:17px;font-size:18px;font-weight:600}
.ph-screen .ph-sub{margin:-12px 2px 6px;font-size:18px;color:var(--ink-2)}
#preview-screen{display:flex;flex-direction:column;align-items:center;width:100%;min-height:0}
.as-data #preview-screen{align-items:stretch}
#preview-screen .ph-card li{font-size:19px;color:var(--ink)}
#preview-screen .ph-card li span{font-size:19px;font-weight:400;color:var(--ink-2);white-space:nowrap}
.preview-side.as-data{align-items:flex-start}
.preview-side.as-data h2{margin-left:4px}
.db-note{margin:-26px 4px 16px;font-size:20px;color:var(--ink-2)}
.db-table{margin-bottom:14px;padding:14px 16px;border-radius:16px;background:#fff;box-shadow:0 1px 2px #27354a14;overflow:hidden;animation:ph-in .46s cubic-bezier(.22,1,.36,1)}
.db-table h3{margin:0 0 8px;font:600 16px ui-monospace,SFMono-Regular,Menlo,monospace;color:var(--ink)}
.db-table table{width:100%;border-collapse:collapse;font:14px ui-monospace,SFMono-Regular,Menlo,monospace;color:var(--ink);white-space:nowrap}
.db-table th{padding:6px 12px 6px 0;border-bottom:1px solid var(--line);font-weight:500;text-align:left;color:var(--ink-2)}
.db-table td{padding:6px 12px 6px 0;border-bottom:1px solid var(--line)}
.db-table tr:last-child td{border-bottom:0}
.db-table :is(th,td):last-child{padding-right:0}
.db-empty{margin:0;padding:28px 20px;border-radius:16px;background:#fff;font:15px ui-monospace,SFMono-Regular,Menlo,monospace;color:var(--ink-2);text-align:center}
@media(prefers-reduced-motion:reduce){.db-table{animation:none}}
/* Add someone */
.access-form label{font-size:27px;font-weight:600;gap:8px}
#add-perms{margin-bottom:8px}
dialog .setting-row{height:80px;font-size:27px}
/* Practice additions */
.learn-side{gap:14px}
.learn-q{font-size:40px!important;line-height:1.12;font-weight:700;letter-spacing:-.024em;color:var(--accent)!important}
.learn-results{display:grid;gap:10px}
.learn-result.no b{color:var(--ink-2)}
.ph-chat{margin-top:auto;display:flex;flex-direction:column;gap:7px}
.ph-bubble{align-self:flex-start;max-width:92%;margin:0;padding:12px 15px;border-radius:22px;background:#e5e5ea;color:#1d1d1f;font-size:19px;line-height:1.28;animation:ph-in .5s cubic-bezier(.32,.72,0,1)}
.ph-bubble.me{align-self:flex-end;background:var(--accent);color:#fff}
.ph-name{margin-left:12px}
.education[data-step="2"] .learn-side{left:564px;width:468px}
.education[data-step="0"] .learn-side,.education[data-step="5"] .learn-side,.education[data-step="8"] .learn-side,.education[data-step="9"] .learn-side{left:196px;width:696px}

/* The history filter matches the rest of the screen, at every window size */
.filter-wrap{position:relative;margin-bottom:6px;overflow:visible}
.history{overflow:visible}
#filter-btn{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;height:62px;padding:0 20px 0 22px;border-radius:31px;background:#0000000a;color:var(--ink);font-size:25px;text-align:left;transition:background-color .2s}
#filter-btn:active{background:#00000014}
#filter-btn span{min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#filter-btn svg{flex:none;width:22px;height:22px;color:var(--ink-2);transform:rotate(90deg);transition:transform .24s cubic-bezier(.32,.72,0,1)}
#filter-btn[aria-expanded=true] svg{transform:rotate(-90deg)}
#filter-menu{position:absolute;left:0;right:0;top:70px;z-index:6;padding:8px;border-radius:32px;background:#fff;box-shadow:0 2px 6px #27354a14,0 18px 44px #27354a2e;transform-origin:top center}
#filter-menu[hidden]{display:none}
#filter-menu button{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;min-height:68px;padding:0 16px;border-radius:24px;color:var(--ink);font-size:25px;text-align:left}
#filter-menu button:active{background:#0000000a}
#filter-menu svg{flex:none;width:24px;height:24px;color:var(--accent);opacity:0}
#filter-menu [aria-selected=true]{font-weight:600}#filter-menu [aria-selected=true] svg{opacity:1}

dialog{background:#fff}
dialog input,#access-name{background:#0000000a;color:var(--ink);border:0;border-radius:18px;padding:0 20px}
#notice-list>.list-label:first-child{margin-top:0}
.pane .plain-row strong{font-weight:400}
#settings-page .plain-row{border-top:1px solid var(--line);border-radius:0;width:100%;margin:0;padding:6px 0}
#settings-page .pane-short{padding-bottom:12px}
#settings-page .pane-short .plain-row{border-top:0;color:var(--accent)}
.education[data-step="5"] .learn-side,.education[data-step="8"] .learn-side,.education[data-step="9"] .learn-side{top:300px;gap:24px}

/* Made for a touch screen on the wall: nothing selectable, no pointer cues, no typing. */
#screen,#screen *{-webkit-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent;cursor:default}
button:focus{outline:0}button:focus-visible{outline:3px solid #7dbdff;outline-offset:3px}
/* In-screen sheet */
#screen.dimmed::after{display:none}
#scrim{position:absolute;inset:0;z-index:30;width:100%;background:#1c243066}
#scrim[hidden]{display:none}
.sheet-panel{position:absolute;inset:0;z-index:31;width:880px;height:fit-content;max-height:960px;margin:auto;padding:36px 44px 44px;border-radius:64px;background:#fff;color:var(--ink);box-shadow:0 30px 80px #1c243040;overflow:auto;scrollbar-width:none}
.sheet-panel[hidden]{display:none}
.sheet-head{display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:76px;margin-bottom:12px}
.sheet-head h2{margin:0;font-size:36px;line-height:44px;font-weight:600;letter-spacing:-.018em}
#close{flex:none;display:grid;place-items:center;width:76px;height:76px;border-radius:50%;background:#0000000a;color:var(--ink-2);transition:transform .16s ease-out}
#close:active{transform:scale(.92)}#close svg{width:30px;height:30px}
.sheet-panel .facts{margin-bottom:8px}
.sheet-panel .primary{display:block;width:100%;min-height:84px;margin-top:24px;border-radius:28px;background:var(--accent);color:#fff;font-size:28px;font-weight:600;transition:transform .32s var(--spring)}
.sheet-panel .primary:active{transform:scale(.97);transition-duration:.08s}
.sheet-panel .setting-row{height:var(--row);font-size:27px}
.sheet-note{font-size:27px;color:var(--ink-2);margin:0 0 12px}
.contact-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.contact-grid button{display:flex;flex-direction:column;align-items:center;gap:6px;padding:28px 12px 24px;border-radius:40px;background:#0000000a;transition:transform .16s ease-out}
.contact-grid button:active{transform:scale(.96)}
.contact-grid i{display:grid;place-items:center;width:124px;height:124px;margin-bottom:8px;border-radius:50%;background:#dfe7f1;color:#5b7088;font-style:normal;font-size:50px;font-weight:600}
.contact-grid b{font-size:28px;font-weight:600}.contact-grid small{font-size:24px;color:var(--ink-2)}
/* History chips */
#filter-chips{display:flex;gap:10px;overflow-x:auto;scrollbar-width:none;margin:0 calc(var(--card-pad)*-1);padding:2px var(--card-pad)}
#filter-chips[hidden]{display:none}
#filter-chips button{flex:none;display:flex;align-items:center;justify-content:center;gap:8px;min-width:72px;height:68px;padding:0 18px;border-radius:34px;background:#0000000a;color:var(--ink);font-size:25px;transition:background-color .2s,color .2s}
#filter-chips svg{width:32px;height:32px;flex:none}
#filter-chips [data-filter]:not([data-filter="All devices"]) span{display:none}
#filter-chips [aria-checked=true]:not([data-filter="All devices"]) span{display:block;white-space:nowrap}
#filter-chips [aria-checked=true]{background:#1d1d1f;color:#fff;font-weight:600}
.feed{top:170px}.history.no-filter .feed{top:84px}
.filter-wrap{margin-bottom:0}
/* Device tiles carry the map's icon */
.devices button:not(.ic){display:grid;grid-template-columns:1fr auto;grid-template-rows:auto 1fr;align-items:start;gap:0;padding:20px 20px 18px;text-align:left}
.devices button:not(.ic) svg{grid-column:1;grid-row:1;width:44px;height:44px;color:#1d1d1f}
.devices button:not(.ic) b{grid-column:2;grid-row:1;line-height:44px;font-size:25px}
.devices button:not(.ic) span{grid-column:1/-1;grid-row:2;align-self:end;font-size:25px;line-height:29px}
.devices button:has(b.off) svg{color:#aeaeb2}
.row-icon{width:44px;height:44px;color:#1d1d1f}
#people-detail .plain-row:has(.row-icon){grid-template-columns:44px minmax(0,1fr) 24px;gap:20px}
/* Practice: same frame on every step, with the action in one fixed place */
.education h1{width:760px}
.learn-side,.education[data-step] .learn-side{position:absolute;left:556px;top:168px;width:476px;height:864px;gap:20px;font-size:28px;line-height:1.28}
.learn-side h2{font-size:40px;line-height:1.12}
.learn-side p{margin:0;color:#48484c}
.learn-primary{flex:none;min-height:88px;margin-top:auto;border-radius:28px;font-size:29px}
.learn-primary:disabled{background:#0000000a;color:#aeaeb2}
.learn-dots{display:flex;gap:8px;flex:none;height:10px;margin-bottom:8px}
.learn-dots i{flex:1;border-radius:5px;background:#0000000f;transition:background-color .3s}.learn-dots i.on{background:var(--accent)}
.learn-left{left:56px;top:168px;width:468px;height:864px;display:grid;place-items:center}
.learn-big{display:grid;place-items:center;width:280px;height:280px;border-radius:50%;background:#fff;color:var(--accent);box-shadow:0 20px 50px #27354a1f}.learn-big svg{width:150px;height:150px}
.learn-face{width:280px;height:280px;border-radius:50%;object-fit:cover;box-shadow:0 20px 50px #27354a1f}
.learn-ask{font-size:32px!important;line-height:1.2;font-weight:600;color:var(--ink)!important}
.learn-q{font-size:44px!important;line-height:1.1;font-weight:700;letter-spacing:-.026em;color:var(--accent)!important}
.learn-yn{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.learn-yn button{min-height:108px;border-radius:32px;background:#fff;font-size:30px;font-weight:600;box-shadow:0 8px 26px #27354a10;transition:transform .32s var(--spring),background-color .2s,color .2s}
.learn-yn button:active{transform:scale(.95);transition-duration:.08s}
.learn-yn [aria-pressed=true]{background:var(--accent);color:#fff}.learn-device{min-height:92px;display:flex;align-items:center;gap:16px;padding:12px 24px;border-radius:28px;text-align:left}
.learn-device svg{flex:none;width:44px;height:44px;color:#1d1d1f}.learn-device span{min-width:0}
.learn-device b{font-size:27px;font-weight:600}.learn-device small{display:block;font-size:24px;line-height:1.2;color:#48484c;animation:ph-in .4s ease}
.learn-list,.learn-options{gap:12px}
.ph-card li{justify-content:flex-start}
.ph-screen .ph-hidden b{width:110px;height:110px;font-size:56px}
.ph-card ul li span{font-size:22px}
.ph-bubble{font-size:21px}
/* Lesson path */
.learn-hero-side{position:absolute;left:56px;top:330px;width:468px}
.learn-hero-side .learn-hero{font-size:62px;line-height:1.05;font-weight:700;letter-spacing:-.028em;margin:0}
.learn-hero-side p{margin:20px 0 0;font-size:28px;line-height:1.28;color:#48484c}
.learn-intro{position:absolute;left:172px;top:168px;width:696px;margin:0}
.learn-path{position:absolute;left:172px;top:296px;width:696px;display:flex;flex-direction:column;gap:24px}.learn-device{justify-content:space-between;box-shadow:0 1px 2px #27354a14,0 8px 22px #27354a14}
.learn-device span{flex:1}
.learn-device em{flex:none;display:grid;place-items:center;width:44px;height:44px;border-radius:50%;background:#0a84ff14;color:var(--accent);font-style:normal}
.learn-device em svg{width:24px;height:24px;color:inherit}
.learn-device.seen em{background:#34c759;color:#fff}
.learn-device.seen{box-shadow:none;background:#ffffffa6}
.flashcard{display:block;width:100%;height:320px;padding:0;border:0;border-radius:32px;background:none;perspective:1400px}
.flashcard:active{transform:scale(.98)}
.fc-inner{position:relative;display:block;width:100%;height:100%;transform-style:preserve-3d;transition:transform .5s cubic-bezier(.32,.72,0,1)}
.flashcard.flipped .fc-inner{transform:rotateY(180deg)}
.fc-face{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;padding:28px;border-radius:32px;background:#fff;box-shadow:0 1px 2px #27354a14,0 12px 30px #27354a1f;text-align:center;-webkit-backface-visibility:hidden;backface-visibility:hidden}
.fc-face svg{width:84px;height:84px;color:#1d1d1f}
.fc-face b{font-size:32px;line-height:1.2;font-weight:600;color:var(--ink)}
.fc-face small{font-size:24px;line-height:1.2;color:var(--ink-2)}
.fc-front small{color:var(--accent);font-weight:600}
.fc-back{transform:rotateY(180deg);background:var(--accent)}
.fc-back b{color:#fff}.fc-back small{color:#ffffffd9}
@media(prefers-reduced-motion:reduce){.fc-inner{transition:none}}

/* New person */
.contact-grid{grid-template-columns:repeat(auto-fit,minmax(180px,1fr))}
.contact-grid i.plus{background:#0a84ff1f;color:var(--accent)}.contact-grid i.plus svg{width:52px;height:52px}
.name-field{display:flex;align-items:center;gap:3px;height:84px;padding:0 28px;border-radius:28px;background:#0000000a;font-size:32px;color:var(--ink)}
.name-field em{order:2;font-style:normal;color:#8e8e93;margin-left:2px}
.name-field u{width:3px;height:40px;border-radius:2px;background:var(--accent);text-decoration:none;animation:caret 1.1s steps(2) infinite}
@keyframes caret{50%{opacity:0}}
.name-note{min-height:32px;margin:8px 0 8px 4px;font-size:24px;line-height:32px;color:#b25d00}
.keys{display:flex;flex-direction:column;gap:8px}
.keys>div{display:flex;justify-content:center;gap:6px}
.keys button{flex:0 1 72px;min-width:0;height:68px;border-radius:16px;background:#0000000d;font-size:27px;font-weight:500;color:var(--ink);transition:background-color .1s,transform .12s}
.keys button:active{background:#00000026;transform:scale(.95)}
.keys button.wide{flex-basis:112px}.keys button.space{flex:0 1 420px}
.sheet-panel .primary:disabled{background:#0000000a;color:#aeaeb2}

/* HomeView system keyboard, measured from the HomeView software: docked, full width, about 45% of the screen */
#name-page{position:absolute;inset:0;z-index:33;background:#f2f2f7}
#name-page[hidden]{display:none}
.kb-top{position:absolute;left:60px;right:60px;top:60px;display:flex;align-items:center;gap:20px}
.kb-field{flex:1;display:flex;align-items:center;gap:14px;height:104px;padding:0 32px;border-radius:52px;background:#ffffffb0;box-shadow:inset 0 0 0 1px #0000000f,0 1px 2px #0000000a}
.kb-glyph{flex:none;width:36px;height:36px;color:#3a3a3c}
#name-field{flex:1;display:flex;align-items:center;min-width:0;font-size:38px;color:var(--ink);white-space:pre}
#name-field u{flex:none;width:4px;height:46px;margin:0 2px;border-radius:2px;background:#007aff;text-decoration:none;animation:caret 1.1s steps(2) infinite}
#name-field em{font-style:normal;color:#aeaeb2}
#name-close{flex:none;display:grid;place-items:center;width:104px;height:104px;border-radius:50%;background:#ffffffb0;box-shadow:inset 0 0 0 1px #0000000f;color:#1d1d1f;transition:transform .16s ease-out}
#name-close:active{transform:scale(.92)}#name-close svg{width:38px;height:38px}
.kb-note{position:absolute;left:96px;top:176px;margin:0;font-size:24px;line-height:32px;color:#b25d00}
#name-suggest{position:absolute;left:92px;right:92px;top:236px}
#name-suggest p{margin:0 0 16px;font-size:26px;color:#8e8e93}
#name-suggest>div{display:flex;gap:64px}
#name-suggest button{display:flex;flex-direction:column;align-items:center;gap:12px;font-size:26px;color:#6e6e73;transition:transform .16s ease-out}
#name-suggest button:active{transform:scale(.95)}
#name-suggest i{display:grid;place-items:center;width:150px;height:150px;border-radius:50%;background:#dfe7f1;color:#5b7088;font-style:normal;font-size:60px;font-weight:600}
.kb-panel{position:absolute;left:0;right:0;bottom:0;height:488px;padding:18px 48px 0;border-radius:48px 48px 120px 120px;background:#e0e1e7;box-shadow:inset 0 1px 0 #ffffff99}
.kb-bar{position:relative;display:flex;justify-content:center;align-items:center;height:56px;margin-bottom:14px}
.kb-emoji{position:absolute;left:12px;top:10px;width:36px;height:36px;color:#1d1d1f}.kb-emoji svg{display:block;width:36px;height:36px}
.kb-hints{display:flex;width:596px;height:56px;border-radius:28px;background:#ffffff59}
.kb-hints button{flex:1;font-size:25px;color:#3a3a3c}
.kb-hints button + button{border-left:1px solid #0000001a}
.kb-hints button:active{background:#0000000f}
.kb-row{display:flex;justify-content:center;gap:15px;margin-bottom:13px}
.kb-key{flex:none;display:grid;place-items:center;width:86px;height:68px;border-radius:16px;background:#fff;color:#1d1d1f;font-size:34px;box-shadow:0 1px 1px #00000026;transition:background-color .08s}
.kb-key:active{background:#c8cad1}
.kb-side{width:116px}.kb-side svg{width:34px;height:30px}
.kb-row:has(.kb-side) .kb-key:not(.kb-side):first-of-type{margin-left:17px}
.kb-row:has(.kb-side) .kb-side:last-child{margin-left:17px}
.kb-last{justify-content:space-between;gap:13px}
.kb-wide{width:238px;font-size:28px}.kb-space{flex:1}
.kb-return{background:#007aff;color:#fff;font-weight:500}
.kb-return:active{background:#0062cc}
.kb-return:disabled{background:#fff;color:#aeaeb2;cursor:default}
/* Lesson visuals carry the teaching */
.ph-card li.hi{margin:0 -10px;padding:9px 10px;border-top-color:transparent;border-radius:12px;background:#ff8a1f26}
.ph-card li.hi span{color:#b25d00;font-weight:600}
.ph-card li{align-items:center;justify-content:space-between}
.ph-card li small{font-size:17px;font-weight:600;color:#b25d00}
.kb-hints:empty{background:none}

/* The loop: same four steps every round */
.learn-path{position:absolute;left:172px;top:296px;width:696px;display:flex;flex-direction:column;gap:24px}
.check-q{margin:16px 0 0;font-size:34px;line-height:1.12;font-weight:700;letter-spacing:-.02em;color:var(--accent)}
.list-row .avatar-placeholder .row-icon{width:36px;height:36px;color:var(--accent)}

/* Manage header: the picture always holds its column, and each line stays on one row */
.manage-panel>.manage-avatar,.manage-panel>.manage-initial{grid-column:1;grid-row:2/span 3;width:80px;height:80px;margin:0;font-size:32px}
.manage-panel>.manage-initial[hidden],.manage-panel>.manage-avatar[hidden]{display:none}
.manage-panel>.manage-name,.manage-panel>.manage-badge,.manage-panel>.added-date{grid-column:2;width:auto;white-space:nowrap}

/* Practice: plain and quiet */
.choose-list{margin-top:16px;border-radius:24px;background:#fff;overflow:hidden}
.choose-list button{display:flex;align-items:center;justify-content:space-between;gap:16px;width:100%;min-height:82px;padding:0 24px;border:0;background:none;font-size:27px;line-height:1.2;text-align:left;color:var(--ink)}
.choose-list button+button{border-top:1px solid var(--line)}
.choose-list button:active{background:#0000000a}
.choose-list [aria-checked=true]{font-weight:600}
.choose-list svg{flex:none;width:30px;height:30px;color:var(--accent)}

/* One continuous lesson */
.education:not([data-kind=hub]) .education-back,.education[data-kind=hub] .education-exit{display:none}
.education:not([data-kind=hub]) h1{left:60px}
.learn-bar{position:absolute;left:60px;right:60px;top:140px;height:4px;border-radius:2px;background:#0000000f;overflow:hidden}
.learn-bar i{display:block;height:100%;background:var(--accent);transition:width .4s cubic-bezier(.32,.72,0,1)}
.learn-path .learn-primary{margin:0}
.learn-nav{display:grid;grid-template-columns:auto 1fr;gap:12px;margin-top:auto}
.learn-nav .learn-primary{margin:0}
.learn-back{min-height:88px;padding:0 36px;border:0;border-radius:28px;background:#fff;color:var(--ink);font-size:29px;font-weight:500}
.learn-back:active{background:#f2f2f7}
.learn-nav .learn-yn{gap:12px}
.learn-nav .learn-yn button{min-height:88px;border-radius:28px;font-size:29px;box-shadow:none}
.choose-list button:focus-visible{background:#0000000a}

/* A day of APEX Care: the sensor feeds their chart, and your phone stays quiet */
.learn-left:has(.tl-side){place-items:start}
.tl-side{width:468px}
.flow{--node:108px;--link:72px;display:grid;grid-template-columns:var(--node) var(--link) minmax(0,1fr);height:588px;margin-top:16px}
.flow-node{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;font-size:20px;text-align:center}
.flow-node i{display:grid;place-items:center;width:76px;height:76px;border-radius:50%;background:#fff}
.flow-node svg{width:42px;height:42px;color:#1d1d1f}
.flow-node b{font-weight:500;color:var(--ink);line-height:1.15}
.flow-lines{width:100%;height:100%;overflow:visible}
.flow-lines path{fill:none;stroke:#d1d4da;stroke-width:3;vector-effect:non-scaling-stroke}
.flow.off .to-you{stroke-dasharray:3 9;stroke-linecap:round}
.flow.on .to-them{stroke:var(--accent);stroke-width:6;stroke-linecap:round;stroke-dasharray:.1 14;animation:flow-go .7s linear infinite}
@keyframes flow-go{to{stroke-dashoffset:-14.1}}
.flow-ends{display:flex;flex-direction:column;gap:16px;min-width:0}
.flow-end{padding:0 22px;border-radius:24px;background:#fff}
.flow-end.you{position:relative;display:flex;flex-direction:column;align-items:center;height:256px;padding-top:16px;overflow:hidden}
.flow-title{align-self:flex-start;font-size:23px;font-weight:600;color:var(--ink)}
.mini-phone{flex:none;width:300px;height:300px;margin-top:10px;padding:10px 10px 0;border-radius:54px 54px 0 0;background:#0b0b0d}
/* Small phones are the top of a real phone, cropped at the bottom, so the island and corners keep real proportions. */
.mini-screen{position:relative;height:100%;padding:0 18px;border-radius:44px 44px 0 0;background:#f2f2f7;color:#1d1d1f}
.mini-screen .ph-island{top:11px;width:90px;height:26px;margin-left:-45px;border-radius:13px}
.mini-screen .app-status{height:40px;margin:0 -18px;padding:6px 22px 0;font-size:14px}
.mini-screen .app-status svg{width:44px;height:12px}
.mini-title{margin:0;font-size:24px;line-height:1.2;font-weight:700;letter-spacing:-.02em}
.mini-empty{display:flex;flex-direction:column;align-items:center;gap:6px;margin-top:14px;font-size:19px;color:var(--ink-2)}
.mini-empty svg{width:34px;height:34px;color:#c7c7cc}
.flow-end.them{height:316px;padding-top:18px}
.tl-head{display:flex;align-items:baseline;justify-content:space-between;gap:12px;font-size:23px;color:var(--ink-2);white-space:nowrap}
.tl-head b{font-weight:600;color:var(--ink)}
.day-chart{position:relative}
.day-bars{display:flex;align-items:flex-end;gap:2px;height:140px;border-bottom:1px solid var(--line)}
.day-bars i{flex:1;min-width:0;border-radius:4px 4px 0 0;background:#0a84ff5c;transform-origin:bottom;animation:tl-in .35s both cubic-bezier(.32,.72,0,1)}
.day-bars i.hot{background:var(--accent)}
.day-bars i.none{background:#d1d4da}
.day-axis{display:grid;grid-template-columns:repeat(4,1fr);margin-top:8px;font-size:20px;text-align:center;color:var(--ink-2)}
.day-cap{margin:6px 0 0;font-size:18px;color:var(--ink-2)}
@keyframes tl-in{from{transform:scaleY(0)}}
.tl-side .flow{--node:64px;--link:44px;margin:0}
.tl-side .flow-node b{display:none}
.tl-side .flow-node i{width:60px;height:60px}
.tl-side .flow-node svg{width:34px;height:34px}
.tl-side .flow-end{padding-left:18px;padding-right:18px}
.tl-side .tl-head,.tl-side .flow-title{font-size:21px}
.tl-side .mini-phone{width:270px;padding:9px 9px 0;border-radius:49px 49px 0 0}
.tl-side .mini-screen{border-radius:40px 40px 0 0}
.tl-side .mini-screen .ph-island{top:10px;width:82px;height:24px;margin-left:-41px;border-radius:12px}
.tl-side .day-axis{font-size:17px}
.tl-side .day-cap{font-size:16px}
.education[data-kind=keep] .learn-side{left:120px;width:848px}
.education[data-kind=keep] .flow{--node:128px;--link:92px}
@media(prefers-reduced-motion:reduce){.day-bars i,.flow.on .to-them{animation:none}}

/* The guide */
.guide{display:flex;align-items:center;gap:20px}
.guide-art{flex:none;width:104px;height:104px}
.guide p{flex:1;margin:0;padding:18px 24px;border-radius:24px;background:#fff;font-size:27px;line-height:1.25;color:var(--ink)!important}
.win-guide{display:block;width:170px;height:170px}
.win-guide .guide-art{width:100%;height:100%}
.guide-art .eye{transform-box:fill-box;transform-origin:center;animation:blink 4.6s infinite}
@keyframes blink{0%,94%,100%{transform:scaleY(1)}97%{transform:scaleY(.08)}}
@media(prefers-reduced-motion:reduce){.guide-art .eye{animation:none}}
