:root{--accent:#7560dc;--ink:#242534;--muted:#858593;--line:#eaeaf0;--surface:#f8f9fc;--radius:18px;--font:'DM Sans',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;--heading:'Manrope',var(--font)}
*{box-sizing:border-box}body{margin:0;background:var(--surface);color:var(--ink);font-family:var(--font);font-size:14px;-webkit-font-smoothing:antialiased}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer;color:inherit}button,a{touch-action:manipulation}button{border:0;background:none}a{color:inherit;text-decoration:none}button:disabled{cursor:not-allowed;opacity:.5}button:focus-visible,a:focus-visible{outline:3px solid #ad9beb;outline-offset:4px}input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #e2dafa;outline-offset:1px;border-color:var(--accent)}::selection{background:#dcd4fc}h1,h2,h3,h4,p{margin:0}h1,h2,h3,h4{font-family:var(--heading);letter-spacing:-.035em}h1{font-size:34px;font-weight:750;line-height:1.23}h2{font-size:20px;font-weight:750}h3{font-size:17px;font-weight:750}small{font-size:12px}svg{flex-shrink:0}p{line-height:1.65}strong{font-weight:650}button{transition:background .18s,color .18s,box-shadow .2s,transform .22s cubic-bezier(.2,.8,.2,1)}button:active:not(:disabled){transform:scale(.97)}.brand{display:inline-flex;align-items:center;font-family:var(--heading);font-size:27px;font-weight:800;letter-spacing:-1.3px;white-space:nowrap;color:#272637}.brand-mark{width:35px;height:35px;display:grid;place-items:center;background:var(--accent);border-radius:11px;margin-right:9px;transform:rotate(-3deg);box-shadow:0 3px 0 #0000000b}.brand-mark svg{width:25px;height:25px;stroke:#fff;stroke-width:3.7;stroke-linejoin:round;stroke-linecap:round;fill:none}.brand-dot{color:var(--accent)}.btn{min-height:42px;padding:11px 17px;border-radius:10px;display:inline-flex;align-items:center;justify-content:center;gap:8px;font-size:12px;font-weight:650;white-space:nowrap;border:1px solid transparent;line-height:1.35;transition:all .2s}.btn:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 1px 4px #17212a12}.btn.primary{background:var(--accent);color:white;box-shadow:0 3px 8px #7560dc20}.btn.primary:hover{filter:brightness(1.05)}.btn.secondary{border-color:#e3e2eb;background:#fff;color:#53505f}.btn.ghost{background:transparent;color:#696477}.btn.dark{background:#2c293e;color:#fff}.btn.danger{color:#bd4e5b;background:#fff0f1;border-color:#f7d9de}.full-width{width:100%}.icon-button{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;min-width:32px;border-radius:8px;color:#8b8997}.icon-button:hover{background:#efedf6;color:var(--accent)}.text-link{display:inline-flex;gap:6px;align-items:center;color:var(--accent);font-weight:600;font-size:12px;padding:4px 0}.text-link:hover{color:#4d3e99}.centered{display:flex;margin:14px auto 0}.eyebrow{font-size:10px;letter-spacing:1.8px;color:#8b819f;font-weight:700;display:inline-flex;align-items:center;gap:7px}.status-dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:#71b293;box-shadow:0 0 0 3px #72b29410;flex-shrink:0}.status-dot.offline{background:#d89550}.avatar{width:36px;height:36px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;font-size:12px;letter-spacing:-.3px;font-weight:700;flex-shrink:0}.avatar.small{width:28px;height:28px;font-size:10px}.avatar-stack{display:flex;padding-right:7px}.avatar-stack .avatar{border:2px solid white;margin-right:-7px}.pill{display:inline-flex;align-items:center;gap:5px;font-size:10px;padding:5px 9px;border-radius:7px;background:#f0eef6;color:#81798e;font-weight:600;white-space:nowrap;line-height:1.35}.pill.green{color:#52856b;background:#edf6ef}.pill.amber{color:#a98245;background:#fff5e5}.circle-icon,.stat-icon,.share-card-icon{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0}.lavender{background:#eee9fb;color:#8066d4}.green{background:#edf4e7;color:#7c9b62}.peach{background:#fff0e4;color:#d59261}.spin{animation:spin 1s linear infinite}.loading-screen{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:22px;min-height:100dvh;text-align:center;padding:30px}.loading-screen>.spin{color:var(--accent)}.loading-screen p{color:var(--muted)}.toast{position:fixed;bottom:26px;left:50%;transform:translateX(-50%);z-index:1000;background:#29263b;color:white;padding:15px 22px;box-shadow:0 2px 8px #17212a14;border:1px solid #ffffff10;border-radius:14px;display:flex;align-items:center;gap:10px;max-width:calc(100vw - 28px);font-size:13px;animation:toastIn .35s cubic-bezier(.2,.8,.2,1)}.toast svg{color:#c7e99e}.confetti{position:fixed;inset:0;pointer-events:none;z-index:2000;overflow:hidden}.confetti i{position:absolute;top:-15px;width:9px;height:16px;border-radius:3px;animation:confettiFall 2s ease-in forwards}.print-only,.mobile-only{display:none}
/* A little more organized, together. */
.landing{min-height:100vh;background:#f9f9f5}.visual-top{display:flex;justify-content:space-between;align-items:center}.visual-top>.eyebrow{font-size:8px;letter-spacing:1.6px;color:#9a8caf}.visual-top>span:last-child{font-size:26px;color:#9686b5}.sample-swap{border:1px solid #ffffffcc;background:#ffffffbd;padding:18px;border-radius:15px;position:relative;animation:float 7s 2s ease-in-out infinite}.sample-swap-top{display:flex;align-items:center;gap:10px}.sample-swap-top .circle-icon{height:35px;width:35px;border-radius:10px}.sample-swap-top strong{font-size:12px;display:block}.sample-swap-top small{display:block;font-size:10px;color:#96909f;margin-top:4px}.swap-mini{display:flex;align-items:center;justify-content:space-between;padding-top:17px;color:#a39baa}.swap-mini>span{font-size:8px;letter-spacing:1px}.swap-mini strong{display:block;font-size:11px;letter-spacing:0;margin-top:5px;color:#675e78;font-weight:550}
/* Light, tactile planner illustration, entirely drawn in CSS. */
.planner-art{width:370px;height:260px;position:relative;isolation:isolate}.orbit{position:absolute;border:1px solid #ada0d129;border-radius:50%;left:36px;top:3px;width:270px;height:270px;transform:rotate(-16deg)}.orbit-two{width:360px;height:360px;left:-7px;top:-41px;border-style:dashed;border-color:#b1a4d81c;animation:slowSpin 55s linear infinite}.paper-card{position:absolute;box-shadow:0 2px 8px #17212a14;border-radius:15px;background:#fff}.paper-card.back{left:60px;top:25px;width:142px;height:182px;transform:rotate(-13deg);padding:19px;background:#f8f5ff;animation:backFloat 7s ease-in-out infinite}.paper-card.back>span{font-size:10px;letter-spacing:2px;color:#b2a5c9;font-weight:700}.paper-card.back>strong{display:block;font-family:var(--heading);font-size:53px;color:#a997c7;margin-top:0}.tiny-line{width:64px;height:5px;border-radius:9px;background:#e3dced;margin-top:13px}.tiny-line.short{width:46px;margin-top:8px}.paper-card.front{left:115px;top:75px;width:232px;padding:17px;transform:rotate(7deg);animation:frontFloat 7s ease-in-out infinite}.paper-top{display:flex;align-items:center;justify-content:space-between;font-size:7px;letter-spacing:1.1px;color:#b9b2c1;font-weight:700}.mini-dot{height:5px;width:5px;border-radius:50%;background:#aecf92}.paper-subject{display:flex;align-items:center;gap:11px;padding:17px 0}.math-icon{height:42px;width:42px;border-radius:11px;display:grid;place-items:center;background:#efeafa;color:#8b6fc9;font-family:Georgia,serif;font-size:23px}.paper-subject strong{font-size:12px}.paper-subject small{display:block;margin-top:6px;color:#aaa2b6;font-size:8px}.paper-bottom{border-top:1px solid #f1eef4;padding-top:10px;display:flex;justify-content:space-between;align-items:center;color:#a89bb7}.paper-bottom>span{display:flex;align-items:center;gap:5px;font-size:8px;color:#929589}.paper-bottom>span svg{color:#8eaa79}.float-sticker{position:absolute;bottom:11px;left:80px;background:#eff7e6;box-shadow:0 1px 4px #17212a12;border:1px solid #dae8c7;padding:9px 12px;border-radius:9px;display:flex;align-items:center;gap:6px;font-size:9px;color:#849766;transform:rotate(-5deg);animation:float 6s 1s ease-in-out infinite}.art-spark{position:absolute;color:#a597c5}.art-spark.one{font-size:44px;right:2px;top:21px;animation:spark 6s ease-in-out infinite}.art-spark.two{font-size:30px;left:21px;bottom:17px;animation:spark 6s 2s ease-in-out infinite}
/* Workspace */
.app-shell{display:flex;min-height:100dvh}.sidebar{width:224px;position:fixed;inset:0 auto 0 0;display:flex;flex-direction:column;background:#fff;border-right:1px solid var(--line);padding:28px 19px 0;z-index:30}.sidebar-brand{margin:0 8px 30px;display:flex;justify-content:space-between;align-items:center}.sidebar-brand>button{padding:0}.group-switch{display:flex;align-items:center;gap:9px;border:1px solid var(--line);border-radius:11px;padding:11px 9px;margin-bottom:29px;background:#fdfdfd}.group-symbol{width:34px;height:34px;border-radius:9px;display:grid;place-items:center;color:#fff;font-size:19px;flex-shrink:0}.group-switch label{min-width:0;flex:1}.group-switch small{font-size:7px;font-weight:650;letter-spacing:1.2px;color:#aaa2b5;display:block;margin-bottom:4px}.group-switch select{appearance:none;border:0;background:none;padding:0;font-size:12px;color:#524d60;font-weight:650;outline:0;width:100%;text-overflow:ellipsis;cursor:pointer}.group-switch>svg{color:#a19aa9}.nav-label{font-size:8px;letter-spacing:1.5px;font-weight:700;color:#b2abba;margin:0 12px 10px}.sidebar nav{display:grid;gap:5px;margin-bottom:27px}.sidebar nav>button,.subject-nav>button,.sidebar-bottom>button{display:flex;align-items:center;gap:12px;font-size:12px;text-align:left;font-weight:500;color:#8e879a;width:100%;border-radius:9px;padding:12px 13px;min-height:41px}.sidebar nav>button:hover,.subject-nav>button:hover,.sidebar-bottom>button:hover{background:#f8f6fc;color:var(--accent)}.sidebar nav>button.active{background:#eee9fa;color:var(--accent);font-weight:650}.sidebar nav>button svg{stroke-width:1.7px}.nav-badge{margin-left:auto;background:#ded5f6;border-radius:5px;min-width:20px;height:18px;display:grid;place-items:center;font-size:9px}.label-with-action{display:flex;align-items:center;justify-content:space-between;margin-bottom:4px}.label-with-action .icon-button{width:23px;height:23px;min-width:23px}.subject-nav{display:grid;gap:3px;overflow:auto;max-height:27vh;flex-shrink:0}.subject-nav>button{padding:10px 13px;font-size:11px;gap:10px;min-height:35px}.subject-nav>button>span{width:7px;height:7px;flex-shrink:0;border-radius:2px}.subject-nav>button>svg{margin-left:auto;opacity:0}.subject-nav>button:hover>svg,.subject-nav>button.selected>svg{opacity:1}.subject-nav>button.selected{color:var(--accent);background:#f6f3fc}.subject-nav>small{padding:9px 12px;font-size:10px;color:#bab2c3}.sidebar-bottom{margin-top:auto;padding-top:22px}.sidebar-note{background:#f8f8f3;border:1px solid #efefe6;border-radius:12px;padding:16px;margin:0 3px 17px;position:relative;overflow:hidden}.sidebar-note>span{position:absolute;right:7px;top:6px;font-size:35px;color:#d8d8be;transform:rotate(13deg)}.sidebar-note strong{display:block;font-size:10px;position:relative;font-weight:600}.sidebar-note p{font-size:10px;line-height:1.7;color:#aaa697;margin-top:7px}.sidebar-bottom>button{font-size:11px;padding:9px 13px;min-height:35px}.profile{display:flex;align-items:center;gap:9px;border-top:1px solid var(--line);margin-top:15px;padding:19px 0}.profile>div{flex:1;min-width:0}.profile strong{font-size:11px;display:block;text-overflow:ellipsis;overflow:hidden}.profile small{font-size:9px;color:#b2a9be;display:block;margin-top:3px}.workspace{margin-left:224px;min-width:0;flex:1}.app-header{height:76px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 38px;background:#ffffffab;gap:16px}.app-header>div{display:flex;align-items:center;gap:13px;font-size:11px}.app-header strong{font-size:11px;color:#6c6579;font-weight:550}.breadcrumb{color:#aaa3b1}.app-header>div>svg{color:#c0b9c9}.header-right{gap:20px!important}.sync{font-size:9px;color:#a0a697;display:flex;align-items:center;gap:7px}.notification-button{position:relative}.notification-button i{position:absolute;height:4px;width:4px;border-radius:50%;background:#d8a57c;right:5px;top:4px}.main-content{max-width:1500px;margin:auto;padding:35px 38px 0;animation:enter .38s ease both}.page-title{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:25px}.page-title .eyebrow{font-size:8px;letter-spacing:1.45px;color:#b1a6be;margin-bottom:12px}.page-title h1{font-size:27px;letter-spacing:-1.1px}.page-title p{font-size:11px;color:#aaa1b4;margin-top:8px;line-height:1.7}.wave{font-size:27px;display:inline-block;margin-left:9px;vertical-align:middle;color:#c7be8d;animation:gentleTurn 8s ease-in-out infinite}.title-dot{color:var(--accent)}.dashboard-hero{background:#ece7f8;border:1px solid #e6e0f4;position:relative;display:flex;min-height:241px;align-items:center;justify-content:space-between;border-radius:8px;padding:27px 34px;overflow:hidden}.dashboard-hero:after{content:'';position:absolute;width:320px;height:320px;right:-70px;top:-150px;background:#ffffff17;border-radius:50%;pointer-events:none}.dashboard-hero>div:first-child{z-index:1;max-width:56%}.dashboard-hero h2{font-size:31px;line-height:1.25;font-weight:750;letter-spacing:-1px;margin:11px 0;color:#534367}.dashboard-hero p{font-size:10px;line-height:1.9;color:#a092b3;max-width:288px;margin-bottom:16px}.dashboard-hero .btn{min-height:35px;padding:9px 12px;font-size:9px;border-radius:8px;background:#5c4b78}.dashboard-hero .planner-art{margin:-20px -5px -20px -30px;transform:scale(.87);transform-origin:right center;flex-shrink:0}.stats-row{display:grid;grid-template-columns:repeat(3,1fr);margin:23px 0 32px;gap:16px}.stats-row>div{background:#fff;border:1px solid var(--line);border-radius:12px;padding:18px;display:flex;align-items:center;gap:12px;min-width:0}.stat-icon{height:43px;width:43px;border-radius:12px}.stats-row strong{display:block;font-family:var(--heading);font-size:23px;font-weight:750;line-height:1.05;letter-spacing:-1px}.stats-row>div>div>span{display:block;font-size:9px;color:#ada4b7;margin-top:7px}.stat-caption{font-size:8px;color:#c1bac8;margin-left:auto;align-self:flex-end;padding-bottom:2px}.dashboard-columns{display:grid;grid-template-columns:minmax(0,1fr) 242px;gap:24px}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:17px}.section-heading h2{font-size:16px;font-weight:750;display:flex;align-items:center;gap:9px}.section-heading h3{font-size:13px}.count{font-family:var(--font);font-size:8px;font-weight:600;color:#a89bbd;background:#f0ecf8;min-width:18px;height:17px;border-radius:5px;display:inline-flex;align-items:center;justify-content:center}.section-heading .text-link{font-size:9px}.class-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.class-card{background:#fff;border:1px solid var(--line);border-radius:13px;padding:19px;text-align:left;min-width:0;animation:enter .5s both;position:relative;overflow:hidden}.class-card:before{content:'';position:absolute;left:0;top:0;height:3px;width:100%;background:var(--class-color);opacity:0;transition:opacity .2s}.class-card:hover{transform:translateY(-4px);box-shadow:0 2px 8px #17212a14;border-color:#d9d0ee}.class-card:hover:before{opacity:1}.class-card-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}.class-card-top>svg{color:#c1b8cf}.subject-icon{width:38px;height:38px;border-radius:11px;display:inline-flex;align-items:center;justify-content:center;font-family:var(--heading);font-size:16px;font-weight:750;flex-shrink:0}.subject-icon.large{height:52px;width:52px;font-size:22px;border-radius:14px}.class-card h3{font-size:14px;margin-bottom:6px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;letter-spacing:-.3px}.class-card>p{font-size:8px;color:#b1a9ba;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.class-next{margin:17px 0 13px;color:#a39baa;font-size:9px;display:flex;align-items:center;gap:6px}.class-next>svg{color:#b8afc4}.progress-track{height:4px;border-radius:5px;background:#f3f1f6;overflow:hidden}.progress-track>span{height:100%;display:block;border-radius:5px;animation:progressGrow .7s ease both;transform-origin:left;opacity:.65;transition:width .4s}.class-card-bottom{display:flex;justify-content:space-between;font-size:8px;color:#b8aec2;margin-top:8px;gap:5px}.class-card-bottom>span:last-child{color:var(--class-color);font-size:8px}.class-card-bottom strong{color:#a397b4}.swap-highlight{background:#f6efdf;border:1px solid #eee6d5;border-radius:14px;padding:23px 21px;position:relative;overflow:hidden}.swap-highlight:after{content:'';position:absolute;font-size:110px;top:-36px;right:-30px;color:#e9debf;opacity:.3;animation:slowSpin 40s linear infinite}.swap-highlight>.circle-icon{width:39px;height:39px;background:#fbf7ed;border:1px solid #ede5d1;border-radius:12px;color:#bda774;margin-bottom:19px}.swap-highlight>.eyebrow{display:block;font-size:7px;color:#b9a880;letter-spacing:1.3px;margin-bottom:9px}.swap-highlight h3{font-size:19px;line-height:1.4;letter-spacing:-.7px;color:#786645}.swap-highlight>p{color:#b2a182;font-size:10px;line-height:1.85;margin:11px 0 22px}.swap-highlight>button{display:flex;align-items:center;justify-content:space-between;width:100%;background:#fcf8ef;border:1px solid #e6ddc8;color:#a5926d;border-radius:8px;font-size:9px;padding:10px 11px;gap:5px}.swap-highlight>button>span{background:#eae1ca;color:#a38c63;min-width:20px;height:19px;border-radius:4px;display:grid;place-items:center;font-size:9px}.upcoming-heading{margin-top:28px}.upcoming-list{background:#fff;border:1px solid var(--line);border-radius:13px;overflow:hidden}.upcoming-item{padding:14px 17px;width:100%;display:flex;align-items:center;gap:14px;border-bottom:1px solid #f3f0f6;text-align:left}.upcoming-item:last-child{border:0}.upcoming-item:hover{background:#faf8fd}.date-badge{border:1px solid #eee8f6;border-radius:8px;width:40px;height:44px;display:flex;align-items:center;justify-content:center;flex-direction:column;background:#faf8fd}.date-badge>span{text-transform:uppercase;font-size:7px;color:#a99abe;letter-spacing:1px}.date-badge strong{font-size:17px;font-family:var(--heading);font-weight:700;color:#8b78a8;margin-top:2px}.upcoming-item>div:nth-child(2){flex:1}.upcoming-item>div:nth-child(2)>strong{font-size:11px}.upcoming-item small{display:block;font-size:8px;color:#b8afc0;margin-top:5px}.upcoming-item>svg{color:#c3bace}.upcoming-avatars{display:flex;padding-right:6px}.upcoming-avatars>.avatar{border:2px solid white;margin-right:-6px;width:25px;height:25px;font-size:8px}.activity-card{padding:24px 2px 0}.activity-card .section-heading{margin-bottom:18px}.activity-item{display:flex;gap:11px;position:relative;padding-bottom:19px}.activity-item:not(:last-child):before{content:'';position:absolute;left:4px;top:13px;width:1px;bottom:3px;background:#ebe6f2}.activity-dot{width:9px;height:9px;flex-shrink:0;margin-top:4px;border-radius:50%;background:#e4dcf2;border:2px solid #f8f9fc}.tone-1{background:#e8d7c3}.tone-2{background:#d5dfc7}.activity-item p{font-size:9px;line-height:1.65;color:#a299ae;max-width:190px}.activity-item small{display:block;font-size:7px;color:#c0b6cb;margin-top:5px}.kind-note{display:flex;gap:12px;align-items:center;padding:13px 0 0;border-top:1px dashed #e4dfec;margin-top:2px}.kind-note>span{font-size:24px;color:#c7b488}.kind-note p{font-size:8px;line-height:1.9;color:#b2a8bb}.kind-note strong{font-weight:500;color:#aaa0b3}.workspace-footer{display:flex;align-items:center;justify-content:space-between;gap:20px;color:#c1b9c9;font-size:8px;padding:29px 0 21px;margin-top:30px;border-top:1px solid #eeeaf3}.workspace-footer>span:last-child{display:flex;align-items:center;gap:8px}.workspace-footer>span:last-child>span{font-size:17px;color:#c7b8d8}.demo-banner,.connection-banner{padding:10px 38px;display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:10px;border-bottom:1px solid #e6dfef;background:#f2eef9;color:#9b8bb0}.demo-banner>span{display:flex;align-items:center;gap:7px}.demo-banner button{color:var(--accent);font-weight:650;font-size:10px;display:flex;align-items:center;gap:6px;padding:3px}.connection-banner{background:#fff5e3;color:#a5814c}.connection-banner>button{text-decoration:underline}.first-group{position:relative;min-height:60vh;padding:45px 15px}.first-group h1{font-size:45px;line-height:1.25;margin:20px 0;color:#55486b}.first-group p{font-size:14px;color:#aaa0b6;max-width:370px;margin-bottom:25px}.first-group>.planner-art{position:absolute;right:0;top:75px}
/* Schedules, requests and group controls. */
.card{background:#fff;border:1px solid var(--line);border-radius:15px}.class-tabs{display:flex;gap:8px;margin:9px 0 24px;padding-bottom:5px;overflow-x:auto}.class-tabs>button{display:flex;align-items:center;gap:7px;padding:10px 15px;border-radius:9px;border:1px solid transparent;color:#a095ae;font-size:11px;white-space:nowrap}.class-tabs>button>span{width:6px;height:6px;border-radius:2px}.class-tabs>button.active{color:var(--accent);background:#fff;border-color:#e7e1f0;box-shadow:0 3px 8px #64558307}.class-tabs>button:hover{background:#f1edf7}.schedule-head{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:23px}.subject-heading{display:flex;align-items:center;gap:14px}.subject-heading h2{font-size:20px;letter-spacing:-.6px}.subject-heading p{font-size:10px;color:#aca1b8;margin-top:7px}.subject-heading small{display:block;font-size:11px;line-height:1.65;margin-top:10px;color:#a295ae;max-width:530px;white-space:pre-wrap}.action-row{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.schedule-tools{margin:24px 0 19px;display:flex;align-items:center;justify-content:space-between;gap:14px}.search-field{display:flex;align-items:center;gap:9px;background:#fff;border:1px solid var(--line);border-radius:9px;padding:0 12px;min-width:160px;max-width:270px;flex:1;min-height:39px;color:#baafc8}.search-field input{width:100%;min-width:0;border:0;outline:none;background:transparent;font-size:11px;height:38px;color:#78688d}.search-field:focus-within{border-color:#b4a2d4}.search-field input:focus-visible{outline:0}.search-field input::placeholder{color:#b6aabe}.filter-toggle{border:1px solid #eae5f1;color:#ac9dba;background:#fff;font-size:10px;border-radius:7px;padding:10px;white-space:nowrap}.filter-toggle.active{background:#ede6f9;color:var(--accent);border-color:#d7caef}.schedule-tools .btn{font-size:10px;min-height:35px;padding:8px}.segmented{display:flex;gap:3px;padding:4px;background:#eeebf3;border-radius:8px;flex-shrink:0}.segmented button{width:29px;height:26px;display:grid;place-items:center;color:#b2a6bf;border-radius:5px}.segmented button.active{background:#fff;color:#8c79a4;box-shadow:0 2px 4px #8c7aa50d}.date-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(245px,1fr));gap:17px;align-items:start}.date-card{background:#fff;border:1px solid var(--line);border-radius:14px;padding:18px;animation:enter .45s both;overflow:hidden}.date-card-header{display:flex;align-items:center;justify-content:space-between;gap:10px;padding-bottom:14px}.date-card-header .eyebrow{font-size:8px;letter-spacing:1.1px;color:#b3a4c2}.date-card-header h3{font-size:17px;margin-top:7px}.date-card-header h3>span{font-family:var(--font);font-size:10px;font-weight:500;letter-spacing:0;color:#b3a5c1;margin-left:8px}.date-card-header>svg{color:#c0b1ce}.date-capacity{display:flex;justify-content:space-between;font-size:8px;color:#bcb0c7;border-top:1px solid #f2edf7;padding:13px 0}.date-capacity .available{color:#91a683}.date-capacity .filled{color:#ab9bbd}.slot-list{display:grid;gap:8px}.slot{width:100%;display:flex;align-items:center;gap:9px;text-align:left;padding:12px 10px;border-radius:9px;border:1px solid #f0ebf5;background:#faf9fc;min-height:58px;color:#a795b9}.slot:hover:not(:disabled){border-color:#cfc1e5;background:#f4eefb;transform:translateX(2px)}.slot.open{background:#fcfdfb;border:1px dashed #deded2}.slot.open:hover{background:#f3f6ed;border-color:#b6c4a8}.slot.mine{border-color:#d2c3ec;background:#f4eefc;box-shadow:inset 3px 0 var(--accent)}.slot.dimmed{opacity:.28}.slot-number{font-family:var(--heading);font-size:9px;letter-spacing:-.3px;color:#c5bace;font-weight:700;min-width:13px}.slot-name{font-size:10px;color:#9b88af;font-weight:500;flex:1;overflow:hidden;text-overflow:ellipsis}.slot-name small{display:block;font-size:7px;color:#c1b4ce;line-height:1.5;margin-top:4px;font-weight:400}.slot .avatar{width:27px;height:27px;font-size:8px}.slot.open .slot-name{color:#a5ad95}.slot.open .slot-name small{color:#c1c4b9}.slot>svg{color:#c2b4cf}.empty-avatar{width:27px;height:27px;display:grid;place-items:center;border-radius:50%;background:#f0f3e9;color:#b1baa1;flex-shrink:0}.your-tag{font-size:7px;background:#e7ddf7;color:var(--accent);border-radius:4px;padding:3px 5px;display:inline-flex;font-weight:600;white-space:nowrap;margin-left:5px}.calendar-link{display:flex;align-items:center;gap:6px;color:#a38cb9;font-size:9px;margin:15px auto 0}.add-date-card{border:1px dashed #ded7e9;background:#f8f6fc;border-radius:14px;min-height:183px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:10px;padding:24px;color:#b4a5c6;transition:all .2s}.add-date-card:hover{background:#f0eafa;border-color:#c7b4df}.add-date-card>span{border:1px solid #e5dcef;width:42px;height:42px;border-radius:13px;display:grid;place-items:center;background:#fff8}.add-date-card strong{font-size:11px;font-weight:500}.add-date-card small{font-size:8px;color:#c1b6cc}.date-grid.list-view{grid-template-columns:1fr}.list-view .date-card{display:grid;grid-template-columns:155px 1fr;column-gap:22px}.list-view .date-card-header{grid-column:1;grid-row:1;border:0;padding:0}.list-view .date-capacity{grid-column:1;grid-row:2;align-self:start;font-size:7px;border:0;padding:0;gap:4px}.list-view .slot-list{grid-column:2;grid-row:1/4;grid-template-columns:repeat(auto-fit,minmax(190px,1fr))}.list-view .add-date-card{min-height:100px;flex-direction:row}.list-view .calendar-link{grid-column:1;font-size:8px;align-self:start;margin-top:15px}.schedule-footnote{display:flex;align-items:center;gap:7px;margin-top:23px;font-size:9px;color:#b7a8c6;line-height:1.7;flex-wrap:wrap}.schedule-footnote>span{margin-left:auto;font-size:8px}.quiet-empty{padding:26px;color:#b4a5c6;font-size:11px;display:flex;align-items:center;justify-content:center;gap:10px;text-align:center;line-height:1.8}.empty{padding:50px 22px;text-align:center;background:#fff;border:1px solid var(--line);border-radius:15px}.empty-icon{display:inline-flex;align-items:center;justify-content:center;width:64px;height:64px;border-radius:10px;background:#f2edf9;color:#b2a0cb;margin-bottom:20px;transform:rotate(-4deg)}.empty-icon svg{width:28px;height:28px}.empty h3{font-size:20px;letter-spacing:-.5px;color:#88779c}.empty p{font-size:12px;line-height:1.9;color:#b4a6c2;max-width:390px;margin:12px auto 21px}.empty .btn{font-size:11px}.swap-explainer{padding:22px 25px;display:flex;align-items:center;gap:18px;border:1px solid #f0e4d9;background:#fcf5ed;border-radius:14px;margin-bottom:30px}.swap-explainer .circle-icon{width:46px;height:46px;border-radius:14px;flex-shrink:0;background:#f8e8d8}.swap-explainer strong{font-size:12px;color:#a5896f}.swap-explainer p{font-size:11px;color:#b8a491;margin-top:5px;line-height:1.8;max-width:640px}.swap-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(310px,1fr));gap:20px;align-items:start}.swap-card{background:#fff;border:1px solid var(--line);border-radius:15px;padding:22px;max-width:620px}.swap-card.resolved{opacity:.72}.swap-card-heading{display:flex;align-items:center;justify-content:space-between;gap:8px}.student-cell{display:flex;align-items:center;gap:10px}.student-cell strong{font-size:12px;color:#8c799f}.student-cell small{display:block;font-size:9px;color:#b8a6c8;margin-top:4px}.swap-route{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:18px;background:#f8f5fc;border:1px solid #f0e8f6;border-radius:10px;margin:22px 0;color:#b6a2c9}.swap-route>div{flex:1}.swap-route>div:last-child{text-align:right}.swap-route>div>span{font-size:8px;color:#baacc7;letter-spacing:.4px}.swap-route strong{font-family:var(--heading);font-size:20px;font-weight:650;display:block;color:#a08ab5;letter-spacing:-.5px;margin-top:7px}.swap-route small{display:block;font-size:8px;color:#b9a8c9;margin-top:5px}.swap-arrows{display:grid;place-items:center;width:31px;height:31px;border:1px solid #e9dff1;border-radius:50%;color:#b29dc5;background:#fff}.swap-card blockquote{font-size:11px;line-height:1.9;color:#a694b8;background:#fffefb;border-left:2px solid #e8ddc6;margin:0;padding:9px 13px;white-space:pre-wrap;overflow-wrap:anywhere}.swap-card-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:20px}.swap-card-footer>small{font-size:9px;color:#c0b0cf}.swap-card-footer .btn{font-size:10px;padding:8px 12px;min-height:35px}.read-only-note{display:flex;gap:4px;align-items:center;font-size:8px;color:#b9a8c8}.roster-search{margin:10px 0 25px;max-width:330px}.roster-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(245px,1fr));gap:13px}.student-card{display:flex;align-items:center;gap:12px;border:1px solid var(--line);border-radius:12px;background:#fff;padding:18px;transition:transform .2s}.student-card:hover{transform:translateY(-2px)}.student-card>div{flex:1;min-width:0}.student-card strong{font-size:11px;color:#917da5}.student-card small{display:block;font-size:9px;color:#bfaed0;margin-top:5px}.share-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px}.share-card{padding:29px;background:#fff;border:1px solid var(--line);border-radius:8px}.share-card-icon{height:50px;width:50px;border-radius:15px;margin-bottom:23px}.share-card h2{font-size:22px;color:#88729f;letter-spacing:-.6px}.share-card>p{font-size:12px;color:#b09bc3;line-height:1.85;margin:12px 0 24px;max-width:400px}.share-card .field{font-size:10px}.group-code{background:#f6f1fc;border:1px solid #e9e0f4;border-radius:10px;padding:16px 18px;font-family:var(--heading);font-size:26px;font-weight:700;letter-spacing:4px;color:var(--accent);display:flex;align-items:center;justify-content:space-between;margin:8px 0}.group-code .icon-button{letter-spacing:0}.link-box{display:flex;align-items:center;gap:8px;background:#fbf9fd;border:1px solid #eee6f5;border-radius:9px;padding:11px;color:#c3b1d3;margin:16px 0}.link-box input{border:0;background:none;outline:0;width:100%;min-width:0;font-size:10px;color:#b4a0c6;text-overflow:ellipsis}.share-card .btn{font-size:11px}.teacher-preview{border:1px solid #eae8df;border-radius:9px;padding:0 15px;margin:19px 0 26px;background:#fdfdfa}.teacher-preview>div{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:12px 0;font-size:9px;color:#a0a08d;border-bottom:1px solid #efeee6}.teacher-preview>div:first-child{font-size:7px;letter-spacing:1px;color:#b7b5a6}.teacher-preview>div:last-child{border:0}.teacher-preview>div>span:first-child{display:flex;align-items:center;gap:6px}.email-link{font-size:10px;color:#a18fb3;display:inline-flex;align-items:center;gap:6px;margin-top:20px}.email-link:hover{color:var(--accent)}.share-privacy{font-size:9px;line-height:1.8;color:#b9abbd;display:block;margin-top:19px}.print-card{display:flex;align-items:center;gap:24px;margin-top:25px;padding:28px;background:#f1f1e9;border:1px solid #e6e6d8;border-radius:15px}.print-illustration{color:#aaa98b;height:70px;width:70px;border:1px solid #ddddc6;border-radius:15px;background:#fafaf4;display:grid;place-items:center;transform:rotate(-5deg);flex-shrink:0}.print-card>div:first-of-type{flex:1}.print-card h2{font-size:20px;color:#8f8d6f}.print-card p{font-size:11px;color:#b4b09b;margin-top:8px}.print-card .btn{font-size:10px;min-height:37px}.settings-form{padding:28px;max-width:720px;margin-bottom:22px}.settings-form h2{font-size:16px;color:#947fa9;margin-bottom:24px}.settings-form p{font-size:12px;line-height:1.9;color:#b1a0be;margin-bottom:20px}.settings-form>.two-col{margin-bottom:5px}.settings-form h2:not(:first-child){margin-top:20px;padding-top:24px;border-top:1px solid #f0e9f6}.danger-zone{border-color:#f1dfe4}.danger-zone h2{color:#c794a0}
/* Focused dialogs. */
.modal{border:1px solid #f3edf9;border-radius:10px;box-shadow:0 2px 8px #17212a14;padding:0;width:min(480px,calc(100vw - 32px));max-height:90dvh;overflow:auto;color:var(--ink);background:#fff;animation:modalIn .26s cubic-bezier(.2,.8,.2,1);margin:auto}.modal.wide{width:min(580px,calc(100vw - 32px))}.modal::backdrop{background:#2921355c;animation:fadeIn .2s}.modal-head{display:flex;align-items:flex-start;justify-content:space-between;gap:15px;padding:25px 27px 19px;border-bottom:1px solid #f1ebf7}.modal-head h2{font-size:21px;line-height:1.45;letter-spacing:-.7px;color:#79638f}.modal-head p{font-size:12px;color:#b4a4c4;margin-top:8px}.modal-head>.icon-button{margin-top:0;flex-shrink:0}.modal-form{padding:25px 27px}.modal-form>p{font-size:12px;line-height:1.9;color:#a18cae;margin-bottom:22px}.modal-form .form-intro{font-size:12px;color:#b09abd;line-height:1.9;margin-bottom:23px}.field{display:block;margin-bottom:19px;font-size:11px;color:#9880aa;font-weight:550}.field>span:first-child,.field-label{display:block;font-size:11px;color:#9b85ad;margin-bottom:8px;font-weight:550}.field input,.field textarea,.field select,.modal-form>textarea{display:block;width:100%;border:1px solid #e6dbee;background:#fdfbff;color:#88719c;border-radius:9px;padding:11px 12px;min-height:41px;font-size:12px;font-weight:400;line-height:1.5;transition:border-color .2s;appearance:auto}.field input::placeholder,.field textarea::placeholder{color:#c1afcc;font-size:11px}.field input[type='color']{padding:5px;width:80px;height:42px;cursor:pointer}.field textarea{resize:vertical;min-height:90px}.field small{display:block;font-size:9px;color:#bba6c8;line-height:1.75;margin-top:7px;font-weight:400}.two-col{display:grid;grid-template-columns:1fr 1fr;gap:15px}.modal-actions{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-top:24px;padding-top:20px;border-top:1px solid #f0e7f7}.modal-actions>span{font-size:9px;color:#c1abcf}.form-error{font-size:12px!important;color:#b7637d!important;background:#fff2f6;border:1px solid #f1d6e0;border-radius:8px;padding:11px 13px;margin:12px 0 17px;line-height:1.7}.form-error button{text-decoration:underline;color:inherit;font-size:inherit}.auth-switch{font-size:10px;color:#b9a1c6;text-align:center;margin-top:22px;padding-top:17px;border-top:1px solid #f0e6f6;line-height:1.8}.auth-switch button{font-size:10px;color:var(--accent);padding:0;font-weight:600}.soft-note{display:flex;gap:9px;align-items:flex-start;border:1px solid #eae1f0;background:#f8f3fc;border-radius:9px;padding:13px;font-size:10px;line-height:1.8;color:#b39abf;margin-top:20px}.soft-note svg{margin-top:1px}.booking-preview{display:flex;align-items:center;gap:14px;background:#f6f0fc;border:1px solid #eaddf5;border-radius:12px;padding:18px;margin-bottom:22px;color:#a384bb}.booking-preview h3{font-size:16px}.booking-preview p{font-size:11px;color:#b39bc3;margin-top:6px}.subtle{font-size:10px!important;color:#bba8c9!important;line-height:1.9;margin:15px 0}.recovery-code{display:block;white-space:normal;overflow-wrap:anywhere;font-size:13px;line-height:1.8;background:#f3edf8;border:1px solid #e8dcf0;padding:18px;border-radius:10px;margin:20px 0;color:#9b7ab1}.help-content>div:not(.soft-note){display:flex;gap:15px;margin-bottom:25px}.help-content>div>span{width:32px;height:32px;background:#f2e9fa;border:1px solid #e7d9f1;display:grid;place-items:center;flex-shrink:0;font-size:10px;border-radius:10px;color:#ae92c3}.help-content h3{font-size:14px;color:#9c7fb0}.help-content section p{font-size:11px;color:#b89ec6;line-height:1.9;margin-top:7px}.wizard{padding:24px 30px 29px}.step-track{display:flex;gap:10px;justify-content:space-between;margin-bottom:28px}.step-track>div{font-size:9px;color:#c4b3cf;display:flex;align-items:center;gap:6px;white-space:nowrap}.step-track>div>span{width:21px;height:21px;display:grid;place-items:center;border-radius:50%;background:#f3edf7;font-size:8px;flex-shrink:0}.step-track>div.active{color:var(--accent)}.step-track>div.active>span{background:#e8dbf6}.wizard-icon{width:44px;height:44px;border-radius:13px;display:grid;place-items:center;background:#eee2f8;color:#b091c5;margin-bottom:15px;transform:rotate(-5deg)}.wizard>h3{font-size:22px;line-height:1.5;color:#9877ad}.wizard>p{font-size:12px;line-height:1.9;color:#b9a0c6;margin:10px 0 23px}.group-preview{border:1px solid;border-radius:12px;padding:16px;display:flex;gap:13px;align-items:center;margin:22px 0}.group-preview>span{width:40px;height:40px;border-radius:11px;display:grid;place-items:center;font-size:20px;color:#fff;transition:all .3s}.group-preview strong{font-size:14px;color:#a384b7}.group-preview small{font-size:10px;display:block;margin-top:5px;color:#b9a0c8}.swatches{display:flex;gap:5px;flex-wrap:wrap}.swatches>button{width:26px;height:26px;border-radius:50%;border:3px solid #fff;color:white;display:grid;place-items:center;padding:0}.swatches>button[aria-pressed='true']{box-shadow:0 0 0 1px #d7bfec}.emoji-row{display:flex;gap:3px;flex-wrap:wrap}.emoji-row>button{width:28px;height:28px;display:grid;place-items:center;border-radius:7px;font-size:16px}.emoji-row>button.selected{background:#f0e1fc;box-shadow:0 0 0 1px #d5bbe9}.setup-summary{background:#f8f2fc;border-radius:12px;border:1px solid #eee0f6;padding:7px 16px;margin:22px 0 0}.setup-summary>div{display:flex;justify-content:space-between;gap:20px;padding:13px 0;border-bottom:1px solid #eaddf2;font-size:11px}.setup-summary>div:last-child{border:0}.setup-summary span{color:#b69ac7}.setup-summary strong{font-weight:500;color:#a082b4;text-align:right}.check-label{display:flex;align-items:center;gap:8px;font-size:11px;color:#b296c4;margin-top:21px}.check-label input{accent-color:var(--accent)}
/* Teacher view and paper. */
.teacher-shell{max-width:1060px;margin:auto;padding:0 35px}.teacher-shell>header{display:flex;align-items:center;justify-content:space-between;padding:25px 0;border-bottom:1px solid var(--line)}.teacher-shell>main{padding:40px 0}.teacher-title{display:flex;align-items:center;justify-content:space-between;gap:25px;margin-bottom:30px}.teacher-title .eyebrow{font-size:9px;margin-bottom:13px}.teacher-title h1{font-size:36px;color:#78618e}.teacher-title p{font-size:12px;color:#b09abd;margin-top:9px}.teacher-toolbar{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:24px}.teacher-toolbar label{display:flex;align-items:center;gap:12px;font-size:11px;color:#ad95bd}.teacher-toolbar select{border:1px solid #e7daee;background:white;color:#a487b7;border-radius:8px;padding:10px;font-size:11px;max-width:230px}.teacher-toolbar>span{display:flex;gap:7px;align-items:center;font-size:9px;color:#baa6c8}.teacher-class{padding:25px;margin:20px 0}.teacher-class .section-heading{margin-bottom:20px}.teacher-topic{font-size:12px;line-height:1.9;white-space:pre-wrap;color:#b496c5;background:#faf6fd;border-radius:8px;padding:12px;margin:10px 0 20px}.table-scroll{overflow-x:auto}.schedule-table{width:100%;border-collapse:collapse;white-space:nowrap;text-align:left}.schedule-table th{font-size:8px;text-transform:uppercase;letter-spacing:1px;color:#c1a9ce;font-weight:500;padding:13px 11px;border-bottom:1px solid #eee2f4;background:#fcfaff}.schedule-table td{padding:14px 11px;border-bottom:1px solid #f3eaf7;font-size:11px;color:#ad8cbf}.schedule-table tbody tr:last-child td{border-bottom:0}.schedule-table .avatar{width:24px;height:24px;font-size:8px}.order-number{color:#ba9bc9;font-size:10px;background:#f7effb;width:24px;height:24px;display:grid;place-items:center;border-radius:7px}.teacher-footer{display:flex;align-items:center;justify-content:center;gap:7px;font-size:10px;line-height:1.8;color:#b69ac5;margin:28px 0 0}.teacher-class .empty{border:0;padding:30px 15px}
/* Responsive rhythm */
@media(min-width:1500px){.main-content{padding:40px 50px 0}.app-header{padding:0 50px}.dashboard-columns{grid-template-columns:minmax(0,1fr) 285px;gap:27px}.class-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.dashboard-hero{padding:34px 40px}.dashboard-hero .planner-art{margin-right:100px;transform:scale(1)}.dashboard-hero h2{font-size:37px}.dashboard-hero p{font-size:12px;max-width:350px}.dashboard-hero .btn{font-size:11px}.class-card{padding:23px}.class-card h3{font-size:16px}.class-card>p{font-size:10px}.class-next{font-size:10px}.class-card-bottom{font-size:9px}.upcoming-item{padding:18px}.swap-highlight{padding:28px}.swap-highlight h3{font-size:22px}.activity-item p{font-size:11px;max-width:240px}.activity-item small{font-size:9px}.kind-note p{font-size:10px}.page-title h1{font-size:32px}.page-title p{font-size:13px}}
@media(max-width:1150px){.sidebar{width:207px;padding-left:14px;padding-right:14px}.workspace{margin-left:207px}.main-content{padding:28px 25px 0}.app-header{padding:0 25px}.dashboard-columns{grid-template-columns:minmax(0,1fr) 215px;gap:18px}.dashboard-hero{padding:25px}.dashboard-hero h2{font-size:28px}.dashboard-hero .planner-art{margin-right:-35px;transform:scale(.78);margin-left:-100px}.dashboard-hero p{max-width:250px}.stat-caption{display:none}.stats-row>div{padding:15px;gap:10px}.class-card{padding:15px}.share-card{padding:23px}.share-card h2{font-size:20px}.print-card{flex-wrap:wrap}.print-card>.action-row{margin-left:94px}.first-group>.planner-art{transform:scale(.8);transform-origin:right;right:-10px;opacity:.7}.first-group p{max-width:290px}.page-title h1{font-size:25px}}
@media(max-width:930px){.sidebar{width:188px;padding:24px 12px 0}.workspace{margin-left:188px}.sidebar .brand{font-size:25px}.group-switch{padding:10px 7px;gap:7px}.group-symbol{width:29px;height:29px;border-radius:8px;font-size:17px}.group-switch select{font-size:10px}.group-switch small{font-size:6px}.sidebar nav>button{font-size:11px;padding:11px 10px;gap:9px}.sidebar-note{padding:12px}.sidebar-note strong{font-size:9px}.sidebar-note p{font-size:9px}.sidebar-brand{margin-left:5px}.dashboard-columns{grid-template-columns:1fr}.side-column{display:grid;grid-template-columns:1fr 1fr;gap:20px}.side-column>.kind-note{display:none}.swap-highlight{padding:22px}.activity-card{padding:14px 8px}.dashboard-hero .planner-art{margin-right:-55px;transform:scale(.69);margin-left:-135px}.dashboard-hero h2{font-size:25px}.dashboard-hero>div:first-child{max-width:60%}.dashboard-hero p{font-size:9px;max-width:200px}.dashboard-hero{min-height:230px;padding:22px}.stats-row{gap:10px}.stats-row>div{padding:13px 10px;gap:8px}.stat-icon{height:34px;width:34px;border-radius:10px}.stat-icon svg{width:16px;height:16px}.stats-row strong{font-size:20px}.stats-row>div>div>span{font-size:8px}.page-title{align-items:flex-start}.page-title h1{font-size:23px}.page-title>.btn{font-size:10px;padding:10px;min-height:36px}.page-title .eyebrow{font-size:7px}.header-right{gap:10px!important}.sync{font-size:8px}.app-header{padding:0 22px;height:67px}.main-content{padding:25px 22px 0}.demo-banner{padding:10px 22px;font-size:9px}.demo-banner button{font-size:9px;white-space:nowrap}.schedule-head{padding:20px;flex-wrap:wrap}.schedule-head>.action-row{width:100%;border-top:1px solid #f2ebf7;padding-top:16px;justify-content:flex-end}.schedule-tools{flex-wrap:wrap;gap:12px}.search-field{max-width:none}.schedule-tools>.action-row{margin-left:auto}.share-grid{grid-template-columns:1fr}.share-card{padding:27px}.share-card>p{max-width:none}.print-card>.action-row{margin-left:0}.teacher-preview{max-width:none}.sample-swap{padding:13px}.sample-swap-top strong{font-size:10px}.sample-swap-top small{font-size:8px}.swap-mini strong{font-size:9px}.first-group>.planner-art{position:relative;top:auto;right:auto;margin-top:30px;transform:scale(.85);transform-origin:left}.first-group{padding:35px 5px}.first-group h1{font-size:37px}.first-group p{max-width:400px}}
@media(max-width:700px){.mobile-only{display:inline-flex}.sidebar{transform:translateX(-100%);transition:transform .3s cubic-bezier(.2,.8,.2,1);width:250px;padding:25px 20px 0;box-shadow:0 2px 8px #17212a14}.sidebar.mobile-open{transform:translateX(0)}.sidebar-scrim{position:fixed;inset:0;background:#30214355;z-index:25;animation:fadeIn .25s}.sidebar .brand{font-size:28px}.sidebar-brand{margin-bottom:27px}.sidebar nav>button{font-size:12px;padding:12px;gap:12px}.sidebar .group-switch{padding:11px}.group-switch select{font-size:12px}.group-switch small{font-size:8px}.group-symbol{width:35px;height:35px;font-size:20px}.sidebar-note strong{font-size:11px}.sidebar-note p{font-size:10px}.workspace{margin-left:0}.app-header{height:64px;padding:0 17px;position:sticky;top:0;z-index:15;background:#ffffffef}.app-header>div{gap:8px;font-size:10px}.app-header strong{font-size:10px}.header-right{gap:8px!important}.sync{display:none}.main-content{padding:26px 20px 0}.page-title{gap:15px;margin-bottom:23px}.page-title h1{font-size:24px;line-height:1.35}.page-title .eyebrow{font-size:7px;letter-spacing:1.2px}.page-title p{font-size:11px;max-width:320px}.page-title>.btn{font-size:0;gap:0;padding:10px;min-width:37px;margin-top:28px}.page-title>.btn>svg{width:17px;height:17px}.page-title h1 .wave{font-size:22px;margin-left:6px}.dashboard-hero{padding:25px;min-height:245px}.dashboard-hero h2{font-size:28px}.dashboard-hero p{font-size:10px;max-width:225px}.dashboard-hero>div:first-child{max-width:65%}.dashboard-hero .planner-art{transform:scale(.72);margin-left:-160px;margin-right:-50px}.dashboard-hero .btn{font-size:10px;padding:10px 12px}.stats-row{margin:19px 0 28px;gap:9px}.stats-row>div{padding:13px 10px;gap:9px}.stats-row strong{font-size:22px}.stats-row>div>div>span{font-size:8px;margin-top:6px}.stat-icon{height:33px;width:33px}.dashboard-columns{gap:27px}.class-card{padding:19px}.class-card h3{font-size:16px}.class-card>p{font-size:9px}.class-next{font-size:9px}.class-card-bottom{font-size:8px}.class-card-top{margin-bottom:16px}.class-card .subject-icon{width:41px;height:41px}.section-heading h2{font-size:17px}.section-heading .text-link{font-size:10px}.upcoming-item{padding:16px}.upcoming-item>div:nth-child(2)>strong{font-size:12px}.upcoming-item small{font-size:9px}.activity-item p{font-size:10px}.activity-item small{font-size:8px}.demo-banner{padding:10px 20px;font-size:9px;align-items:flex-start}.demo-banner>span{max-width:70%;align-items:flex-start;line-height:1.65}.demo-banner button{padding-top:3px}.demo-banner svg{margin-top:1px}.connection-banner{padding:12px 20px;font-size:10px}.workspace-footer{font-size:8px;gap:15px;line-height:1.6;align-items:flex-start}.workspace-footer>span{max-width:48%}.workspace-footer>span:last-child>span{display:none}.class-tabs{margin-top:0;gap:4px;margin-bottom:18px}.class-tabs>button{font-size:11px;padding:10px 12px}.schedule-head{padding:19px;gap:17px}.subject-heading h2{font-size:22px}.schedule-tools{margin:21px 0 17px}.schedule-tools>.search-field{flex-basis:100%}.schedule-tools>.action-row{width:100%;justify-content:flex-end}.date-grid{grid-template-columns:repeat(auto-fill,minmax(255px,1fr))}.date-card{padding:20px}.date-card-header h3{font-size:20px}.date-card-header .eyebrow{font-size:9px}.date-capacity{font-size:9px}.slot{padding:13px 12px;min-height:63px}.slot-name{font-size:12px}.slot-name small{font-size:9px}.slot-number{font-size:10px;min-width:16px}.slot .avatar{width:31px;height:31px;font-size:10px}.empty-avatar{height:31px;width:31px}.slot.mine .your-tag{font-size:9px}.calendar-link{font-size:11px}.add-date-card{min-height:145px}.schedule-footnote{font-size:9px;align-items:flex-start}.schedule-footnote>span{margin:0 0 0 22px}.list-view .date-card{display:block}.list-view .date-card-header{padding-bottom:14px}.list-view .date-capacity{padding-bottom:13px}.list-view .slot-list{grid-template-columns:1fr}.swap-explainer{padding:19px;gap:13px}.swap-explainer p{font-size:10px}.swap-explainer strong{font-size:12px}.swap-explainer .circle-icon{height:40px;width:40px}.swap-cards{grid-template-columns:1fr}.swap-card{padding:21px}.swap-card blockquote{font-size:12px}.swap-route strong{font-size:23px}.swap-route small{font-size:9px}.swap-card-heading .student-cell strong{font-size:12px}.swap-card-heading .student-cell small{font-size:9px}.share-card{padding:25px}.share-card h2{font-size:24px}.share-card>p{font-size:12px}.share-card .btn{font-size:12px}.share-card .soft-note{font-size:11px}.share-privacy{font-size:10px}.print-card{gap:17px;padding:24px;align-items:flex-start}.print-illustration{height:53px;width:53px}.print-illustration svg{height:26px;width:26px}.print-card h2{font-size:20px}.print-card p{font-size:11px}.print-card>.action-row{width:100%;justify-content:flex-end;padding-top:5px}.settings-form{padding:23px}.settings-form h2{font-size:19px}.roster-grid{grid-template-columns:repeat(auto-fill,minmax(240px,1fr))}.student-card strong{font-size:13px}.student-card small{font-size:10px}.teacher-shell{padding:0 20px}.teacher-shell>header{padding:22px 0}.teacher-shell>header .brand{font-size:25px}.teacher-shell>header .pill{font-size:8px}.teacher-shell>main{padding:29px 0}.teacher-title{align-items:flex-start;flex-wrap:wrap;gap:20px}.teacher-title h1{font-size:31px}.teacher-title>.action-row{width:100%;justify-content:flex-end}.teacher-toolbar{align-items:flex-start;flex-wrap:wrap;gap:17px}.teacher-toolbar>span{font-size:8px}.teacher-class{padding:18px}.teacher-class .subject-heading h2{font-size:20px}.teacher-class .subject-heading p{font-size:10px}.teacher-class .pill{font-size:8px}.teacher-footer{font-size:9px;align-items:flex-start}.sample-swap{padding:18px}.sample-swap-top strong{font-size:12px}.sample-swap-top small{font-size:10px}.swap-mini strong{font-size:11px}.first-group{padding:23px 8px}.first-group h1{font-size:39px}.first-group p{font-size:13px}.first-group>.planner-art{transform:scale(.9);margin-top:37px}}
@media(max-width:420px){.main-content{padding:24px 16px 0}.page-title h1{font-size:22px}.dashboard-hero{padding:21px;min-height:238px}.dashboard-hero h2{font-size:26px}.dashboard-hero>div:first-child{max-width:75%}.dashboard-hero p{font-size:9px;max-width:190px}.dashboard-hero .planner-art{transform:scale(.6);margin-left:-200px;margin-right:-80px;opacity:.8}.dashboard-hero>.planner-art .float-sticker{display:none}.stats-row{gap:8px}.stats-row>div{display:block;padding:13px}.stat-icon{width:28px;height:28px;border-radius:9px;margin-bottom:10px}.stat-icon svg{width:14px;height:14px}.stats-row strong{font-size:24px}.stats-row>div>div>span{font-size:9px}.class-card{padding:15px}.class-card h3{font-size:14px}.class-card>p{font-size:8px}.class-next{font-size:8px;gap:4px;white-space:nowrap;overflow:hidden}.class-next>svg{width:12px}.class-card-bottom{font-size:7px}.class-card-bottom>span:last-child{font-size:7px}.class-grid{gap:11px}.side-column{grid-template-columns:1fr}.activity-card{padding:9px 8px}.activity-item p{max-width:none}.swap-highlight{padding:23px}.swap-highlight h3{font-size:22px}.swap-highlight>p{font-size:12px;max-width:260px}.swap-highlight>button{font-size:11px;padding:12px}.step-track>div{font-size:7px;gap:4px}.step-track{gap:5px}.wizard{padding:22px}.wizard>h3{font-size:21px}.modal-head{padding:21px 23px 17px}.modal-head h2{font-size:20px}.modal-form{padding:23px}.modal .two-col{gap:10px}.field input,.field select{font-size:13px}.swatches>button{width:22px;height:22px;border:2px solid white}.emoji-row>button{width:23px;height:23px;font-size:13px}.page-title>.btn{margin-top:25px}.breadcrumb{max-width:92px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.teacher-shell>header .pill{font-size:7px}.teacher-shell>header{gap:10px}.teacher-shell{padding:0 16px}.teacher-toolbar select{max-width:170px}.print-card{padding:20px}.print-card h2{font-size:18px}.print-card>.action-row{justify-content:space-between}.print-card .btn{font-size:10px;padding:10px}.first-group h1{font-size:35px}.first-group .planner-art{transform:scale(.8)}.sample-swap-top strong{font-size:10px}.sample-swap-top small{font-size:9px}.swap-mini strong{font-size:10px}}
/* Crisp, accessible contrast on the quiet background. */
.page-title p,.class-card>p,.class-next,.class-card-bottom,.activity-item p,.upcoming-item small,.stats-row>div>div>span,.schedule-footnote,.workspace-footer{color:#8d819b}.class-card-bottom strong{color:#7e6c90}.field>span:first-child,.field-label{color:#786185}.field input,.field textarea,.field select{color:#655174}.field input::placeholder,.field textarea::placeholder{color:#a694b4}.field small,.modal-form>p,.modal-form .form-intro,.wizard>p,.share-card>p,.settings-form p{color:#8f799f}.modal-head h2,.wizard>h3,.group-preview strong,.settings-form h2{color:#685275}.step-track>div{color:#9b85ae}.slot-name{color:#7d6590}.slot-name small{color:#a38bb4}.slot.open .slot-name{color:#788363}.slot.open .slot-name small{color:#99a489}.date-card-header h3>span,.date-capacity{color:#9b87ab}.class-tabs>button,.search-field input,.filter-toggle,.teacher-toolbar label,.teacher-toolbar select{color:#8b739d}.search-field input::placeholder{color:#a793b6}.swap-explainer strong{color:#917052}.swap-explainer p{color:#a18a73}.swap-card blockquote{color:#8b719e}.swap-route strong{color:#86649c}.swap-route small{color:#a285b4}.swap-route>div>span{color:#a38bb4}.student-cell strong,.student-card strong,.share-card h2{color:#7e6093}.student-card small{color:#a68bb8}.share-privacy,.soft-note,.teacher-footer{color:#9b7fae}.teacher-title h1,.subject-heading h2{color:#695578}.teacher-title p,.teacher-topic,.schedule-table td{color:#8f71a3}.schedule-table th{color:#a88cba}.sidebar nav>button,.subject-nav>button,.sidebar-bottom>button{color:#8b7c97}.dashboard-hero p{color:#9584a7}.swap-highlight>p{color:#a18e6d}.wizard .field-label,.group-preview small,.setup-summary span{color:#a389b5}.setup-summary strong{color:#886b9a}.check-label{color:#9477a6}.empty h3{color:#876c9c}.empty p,.quiet-empty{color:#a28bb3}.teacher-preview>div{color:#939278}
@keyframes spin{to{transform:rotate(360deg)}}@keyframes slowSpin{to{transform:rotate(360deg)}}@keyframes enter{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}@keyframes fadeIn{from{opacity:0}to{opacity:1}}@keyframes modalIn{from{opacity:0;transform:translateY(16px) scale(.98)}to{opacity:1;transform:translateY(0) scale(1)}}@keyframes toastIn{from{opacity:0;transform:translate(-50%,15px)}to{opacity:1;transform:translate(-50%,0)}}@keyframes float{0%,100%{transform:translateY(0) rotate(-3deg)}50%{transform:translateY(-8px) rotate(-1deg)}}@keyframes frontFloat{0%,100%{transform:translateY(0) rotate(7deg)}50%{transform:translateY(-10px) rotate(5deg)}}@keyframes backFloat{0%,100%{transform:translateY(0) rotate(-13deg)}50%{transform:translateY(4px) rotate(-16deg)}}@keyframes gentleTurn{0%,80%,100%{transform:rotate(0)}85%{transform:rotate(18deg)}90%{transform:rotate(-12deg)}95%{transform:rotate(8deg)}}@keyframes spark{0%,100%{transform:rotate(0) scale(1);opacity:.7}50%{transform:rotate(30deg) scale(.85);opacity:.4}}@keyframes progressGrow{from{transform:scaleX(0)}to{transform:scaleX(1)}}@keyframes confettiFall{0%{top:-10%;opacity:1;rotate:0deg}100%{top:105%;opacity:0;rotate:560deg}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}.confetti{display:none}}
@media print{@page{size:A4;margin:15mm}body{background:white!important;color:#222!important;font-family:Arial,sans-serif;font-size:10pt}.app-shell,.teacher-shell,.landing,.toast,.confetti,.modal{display:none!important}.print-only{display:block!important;color:#111!important}.print-heading{display:flex;align-items:center;justify-content:space-between;border-bottom:2px solid #333;padding-bottom:12px;margin-bottom:24px}.print-heading .brand{font-size:23px;color:#111}.print-heading .brand-mark{background:#333;print-color-adjust:exact;width:29px;height:29px}.print-heading>span{font-size:9pt;color:#555}.print-only h1{font-size:24pt;margin:0 0 8px}.print-only>p{font-size:10pt;color:#555}.print-only section{margin-top:28px}.print-only h2{font-size:15pt;margin:0 0 8px;break-after:avoid}.print-only section>p{font-size:9pt;color:#555;margin-bottom:12px;break-after:avoid;white-space:pre-wrap}.print-only table{width:100%;border-collapse:collapse;font-size:10pt}.print-only th{text-align:left;padding:10px 8px;background:#f0f0f0!important;color:#222;border-bottom:1px solid #aaa;print-color-adjust:exact}.print-only td{padding:10px 8px;border-bottom:1px solid #ddd}.print-only tr{break-inside:avoid}.print-only thead{display:table-header-group}.print-only footer{margin-top:25px;font-size:8pt;color:#888}.print-only .brand-dot{color:#333}}
/* Readability takes precedence over decorative quietness. */
.page-title .eyebrow,.nav-label{font-size:9px;color:#8c7d9b}.page-title p{font-size:13px;color:#80738e}.sidebar nav>button,.subject-nav>button,.sidebar-bottom>button{color:#746681}.class-card>p,.class-next,.class-card-bottom{font-size:11px;color:#8a789c}.class-card-bottom>span:last-child{font-size:10px}.stats-row>div>div>span{font-size:11px;color:#897695}.class-card h3{font-size:17px}.class-card{padding:20px}.section-heading .text-link{font-size:11px}.class-card-top{margin-bottom:15px}.activity-item p{font-size:11px;color:#8b759a}.activity-item small{font-size:9px;color:#ab96bb}.upcoming-item>div:nth-child(2)>strong{font-size:13px}.upcoming-item small{font-size:10px;color:#9c88ac}.class-next{margin-top:18px}.dashboard-hero p{font-size:12px;line-height:1.75;color:#897397}.dashboard-hero .btn{font-size:11px}.swap-highlight>p{font-size:12px;color:#917c5d}.swap-highlight>button{font-size:11px}.swap-highlight>.eyebrow{font-size:8px;color:#9e875b}.date-capacity{font-size:10px}.slot-name{font-size:12px;color:#775c8b}.slot-name small{font-size:10px;color:#9c82af}.slot-number{font-size:10px}.class-tabs>button{font-size:12px}.date-card-header .eyebrow{font-size:9px}.date-card-header h3>span{font-size:11px}.schedule-footnote{font-size:11px;color:#987fab}.schedule-footnote>span{font-size:10px}.teacher-toolbar>span{font-size:11px;color:#a088b2}.schedule-table th{font-size:10px}.schedule-table td{font-size:13px;color:#826396}.student-card strong{font-size:13px}.student-card small{font-size:11px}.teacher-title p{font-size:14px}.pill{font-size:11px}.field,.field>span:first-child,.field-label{font-size:12px}.field small{font-size:11px}.field input,.field textarea,.field select{font-size:14px;min-height:44px}.field input::placeholder,.field textarea::placeholder{font-size:12px}.modal-form>p,.modal-form .form-intro,.wizard>p{font-size:13px}.check-label{font-size:12px}.soft-note{font-size:11px}.group-preview small{font-size:11px}.step-track>div{font-size:10px}.auth-switch,.auth-switch button{font-size:12px}.swap-route>div>span{font-size:10px}.swap-route small{font-size:11px}.swap-card blockquote{font-size:13px}.swap-card-heading .student-cell strong{font-size:13px}.swap-card-heading .student-cell small{font-size:11px}.swap-card-footer>small{font-size:10px}.read-only-note{font-size:10px}.swap-card-footer .btn{font-size:11px}.help-content section p{font-size:13px}.help-content h3{font-size:16px}.share-card>p{font-size:13px}.share-privacy{font-size:11px}.settings-form p{font-size:13px}.subtle{font-size:11px!important}.toast{line-height:1.6}.calendar-link{font-size:11px}.group-code{font-size:26px}.settings-form h2{font-size:19px}.share-card .field{font-size:12px}.workspace-footer{font-size:10px}.subject-heading p{font-size:12px}.subject-heading small{font-size:12px}.sidebar-note strong{font-size:11px}.sidebar-note p{font-size:11px}.profile strong{font-size:12px}.profile small{font-size:10px}.group-switch small{font-size:8px}.group-switch select{font-size:12px}.breadcrumb,.app-header strong{font-size:12px}.sync{font-size:10px}.btn{font-size:12px}
@media(max-width:1150px){.stat-caption{display:none}.dashboard-hero .planner-art{opacity:.8}.class-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.class-card>p,.class-next{font-size:10px}.class-card-bottom{font-size:9px}.class-card-bottom>span:last-child{font-size:9px}.class-card{padding:17px}.stats-row>div>div>span{font-size:10px}.class-card h3{font-size:16px}.sidebar-note{display:none}}
@media(max-width:930px){.dashboard-hero p{font-size:11px}.dashboard-hero .btn{font-size:10px}.sidebar .group-switch select{font-size:11px}.sidebar .group-switch small{font-size:7px}.class-card h3{font-size:16px}.sync{font-size:9px}}
@media(max-width:700px){.field input,.field textarea,.field select{font-size:16px}.page-title p{font-size:12px}.workspace-footer{font-size:9px}.breadcrumb,.app-header strong{font-size:10px}.class-card-bottom{font-size:9px}.class-card>p{font-size:10px}.class-next{font-size:10px}.stats-row>div>div>span{font-size:10px}.slot-name{font-size:13px}.slot-name small{font-size:11px}.slot-number{font-size:11px}.teacher-toolbar>span{font-size:10px}.step-track>div{font-size:9px}.teacher-shell>header .pill{font-size:9px}.sidebar-note{display:block}.dashboard-hero p{font-size:11px;max-width:215px}.dashboard-hero .planner-art{opacity:.65}.share-card .btn{font-size:12px}}
@media(max-width:420px){.class-grid{grid-template-columns:1fr}.class-card{padding:21px}.class-card h3{font-size:18px}.class-card>p{font-size:12px}.class-next{font-size:12px}.class-card-bottom,.class-card-bottom>span:last-child{font-size:11px}.class-next>svg{width:14px}.stats-row>div{padding:13px 10px}.stats-row>div>div>span{font-size:10px}.dashboard-hero p{font-size:11px;max-width:200px}.dashboard-hero .planner-art{opacity:.55}.step-track>div{font-size:8px}.field-label{font-size:11px}.modal-head h2{font-size:21px}.page-title h1{font-size:24px}.page-title p{font-size:12px}.swap-card-footer .btn{font-size:11px}.read-only-note{font-size:9px}}
/* NextUp Studio: a small, living scheduling system. */.original-date{animation:originalFade 12s infinite}.new-date{animation:newHighlight 12s infinite}.bubble-scan{width:38px;height:38px;left:11px;top:49px;color:#a58cc2;animation:nodeFloat 7s ease-in-out infinite}.bubble-star{width:32px;height:32px;right:17px;top:28px;color:#c4a665;animation:nodeFloat 9s 2s ease-in-out infinite}.bubble-person{width:42px;height:42px;right:8px;bottom:22px;animation:nodeFloat 8s 1s ease-in-out infinite}.bubble-person>span{width:30px;height:30px;background:#e9eedb;color:#a2ad85;border-radius:50%;display:grid;place-items:center;font-size:9px;font-weight:650}.bubble-person i{position:absolute;right:3px;bottom:3px;width:7px;height:7px;background:#a6be88;border-radius:50%;border:2px solid white}.launch-scene{position:relative;width:240px;height:200px;isolation:isolate;margin-bottom:5px}.launch-symbol{position:absolute;left:89px;top:65px;width:64px;height:64px;border-radius:8px;background:var(--accent);box-shadow:0 2px 8px #17212a14;display:grid;place-items:center;animation:launchLevitate 3s ease-in-out infinite}.launch-symbol svg{width:43px;fill:none;stroke:white;stroke-width:3.3;stroke-linecap:round;stroke-linejoin:round}.launch-ring{position:absolute;width:170px;height:170px;border:1px solid #ddcef0;border-radius:50%;top:13px;left:36px;transform:rotateX(55deg) rotateZ(-20deg);animation:launchRing 7s linear infinite}.launch-ring.ring-two{width:210px;height:210px;top:-6px;left:16px;border-style:dashed;animation-duration:13s;animation-direction:reverse}.launch-token{position:absolute;left:105px;top:82px;width:30px;height:32px;border:1px solid #ffffff;background:#ece2f8;box-shadow:0 1px 4px #17212a12;display:grid;place-items:center;color:#a887bb;border-radius:9px;font-size:14px;animation:launchOrbit 5s infinite;--a:0deg}.launch-token.token-1{--a:60deg;animation-delay:-.8s;background:#f6e8d7;color:#b69a77}.launch-token.token-2{--a:120deg;animation-delay:-1.6s;background:#e6f0dc;color:#9fae85}.launch-token.token-3{--a:180deg;animation-delay:-2.4s}.launch-token.token-4{--a:240deg;animation-delay:-3.2s;background:#e5eef8;color:#8ca3bd}.launch-token.token-5{--a:300deg;animation-delay:-4s}.loading-screen>p{font-size:12px;color:#ad98bb}.main-content>*{animation:sectionRise .5s both}.main-content>*:nth-child(2){animation-delay:.045s}.main-content>*:nth-child(3){animation-delay:.09s}.main-content>*:nth-child(4){animation-delay:.13s}.main-content>*:nth-child(5){animation-delay:.17s}.class-card:hover .subject-icon{transform:rotate(-7deg) scale(1.08);transition:transform .35s cubic-bezier(.2,.8,.2,1)}.slot.mine{animation:bookingLand .5s cubic-bezier(.2,.8,.2,1)}.nav-badge{animation:badgeBloom .4s cubic-bezier(.2,1.8,.4,1)}.btn.primary{position:relative;overflow:hidden}.btn.primary:after{content:'';position:absolute;inset:-80% auto -80% -60%;width:30%;transform:rotate(25deg);background:linear-gradient(90deg,transparent,#fff2,transparent);transition:left .55s;pointer-events:none}.btn.primary:hover:after{left:150%}.smart-import-banner{display:flex;align-items:center;gap:19px;width:100%;text-align:left;border:1px solid #e1d5f0;background:linear-gradient(120deg,#f1eafa,#f8f6ed);border-radius:15px;padding:22px 24px;margin:-5px 0 29px;position:relative;overflow:hidden}.smart-import-banner:before{content:'';width:180px;height:180px;border-radius:50%;position:absolute;right:30px;top:-70px;border:1px solid #d6c7e533;box-shadow:0 2px 8px #17212a14;transition:transform .7s}.smart-import-banner:hover:before{transform:scale(1.35)}.smart-import-banner:hover{transform:translateY(-3px);box-shadow:0 2px 8px #17212a14;border-color:#c7b1e0}.smart-import-icon{display:grid;place-items:center;width:53px;height:59px;border-radius:13px;background:#fffc;border:1px solid #fff;color:#b596cb;transform:rotate(-6deg);position:relative;overflow:hidden;flex-shrink:0;box-shadow:0 1px 4px #17212a12}.smart-import-icon i{position:absolute;height:1px;left:0;right:0;top:10px;background:#b092d3;box-shadow:0 0 8px #a57bdc;animation:miniScan 4s ease-in-out infinite}.smart-import-banner>span:nth-child(2){flex:1}.smart-import-banner .eyebrow{font-size:8px;margin-bottom:7px;color:#a184b3}.smart-import-banner strong{font-family:var(--heading);font-size:16px;letter-spacing:-.3px;display:block;color:#806192}.smart-import-banner small{display:block;font-size:11px;line-height:1.7;color:#a08aac;margin-top:5px}.import-banner-arrow{width:35px;height:35px;border:1px solid #dbcee7;background:#fff8;border-radius:50%;display:grid;place-items:center;color:#a78dbd;transition:transform .3s}.smart-import-banner:hover .import-banner-arrow{transform:rotate(45deg)}.sidebar-import{display:flex;align-items:center;gap:8px;font-size:11px;padding:11px 12px;color:#9b7aaf;border:1px dashed #e4d5ef;border-radius:9px;margin:-13px 0 23px;background:#fcf9ff}.sidebar-import:hover{background:#f0e7fa}.new-tag{font-size:6px;letter-spacing:.6px;background:#ede1f8;padding:3px 4px;border-radius:4px;color:#a583bc;margin-left:auto}
/* Picture-to-plan studio */
.modal.import-modal{width:min(1030px,calc(100vw - 34px));max-height:93dvh}.import-loading{padding:55px;display:flex;align-items:center;justify-content:center;gap:12px;color:#ae91c1}.timetable-import{padding:26px 30px 29px}.import-steps{display:flex;justify-content:space-between;gap:12px;border-bottom:1px solid #eee3f5;padding-bottom:23px;margin-bottom:27px}.import-steps>span{display:flex;align-items:center;gap:7px;font-size:11px;color:#bfa9cb}.import-steps i{font-style:normal;width:24px;height:24px;display:grid;place-items:center;background:#f4edf9;border:1px solid #eadff2;border-radius:50%;font-size:10px}.import-steps .active{color:#9472ad}.import-steps .active i{background:#ece1f8;border-color:#d8c3eb;color:#9b78b3}.upload-zone{min-height:345px;border:1.5px dashed #d9c8e8;background:radial-gradient(ellipse at 50% 5%,#eee4fb70,transparent 70%),#fdfaff;border-radius:8px;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:38px 24px;transition:background .2s,transform .2s,border-color .2s}.upload-zone.dragging{border-color:var(--accent);background:#efe4ff;transform:scale(1.008)}.upload-icon-stack{position:relative;width:80px;height:90px;margin-bottom:21px;display:grid;place-items:center;isolation:isolate;color:#b998d1}.upload-icon-stack>span{position:absolute;inset:10px 8px;background:#eee4f8;border:1px solid #e3d4ef;border-radius:14px;transform:rotate(-13deg);z-index:-1;animation:uploadFan 5s ease-in-out infinite}.upload-icon-stack>span:nth-child(2){background:#fffd;border-color:#fff;transform:rotate(8deg);animation-delay:-2s;box-shadow:0 1px 4px #17212a12}.upload-zone h3{font-size:24px;letter-spacing:-.8px;color:#88619e}.upload-zone p{font-size:13px;line-height:1.9;color:#a888bc;margin:13px 0 25px}.upload-zone>small{font-size:10px;color:#b69ac7;display:block;margin-top:15px;line-height:1.8}.upload-zone .btn{font-size:12px}.import-privacy{display:flex;align-items:flex-start;gap:9px;color:#a089ae;margin:20px 0}.import-privacy>svg{margin-top:2px;flex-shrink:0}.import-privacy p{font-size:11px;line-height:1.8}.scan-document{width:115px;height:130px;border:1px solid #ddcbea;background:#fff;border-radius:8px;box-shadow:0 2px 8px #17212a14;padding:20px 13px;position:relative;overflow:hidden;margin-bottom:21px;transform:rotate(-4deg);animation:scanSway 5s ease-in-out infinite}.scan-doc-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:6px}.scan-doc-grid span{height:11px;border-radius:3px;background:#efe3f8}.scan-doc-grid span:nth-child(3n){background:#e4edda}.scan-document>svg{position:absolute;bottom:14px;left:44px;color:#bfa5d2}.scan-laser{height:2px;left:0;right:0;top:15px;background:#b088d3;box-shadow:0 1px 4px #17212a12;position:absolute;animation:scanPass 2s ease-in-out infinite}.scan-progress{width:220px;height:5px;border-radius:7px;background:#ebdef4;overflow:hidden;margin-bottom:7px}.scan-progress>span{display:block;height:100%;background:linear-gradient(90deg,#c1a3dd,#9573b3);border-radius:7px;transition:width .3s}.scan-percent{font-variant-numeric:tabular-nums;font-size:11px;color:#ae8fc4}.upload-zone.scanning{min-height:375px}.upload-zone.scanning p{margin-bottom:21px}.upload-zone.scanning .btn{margin-top:13px}.import-intro{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:22px}.import-intro .eyebrow{font-size:9px;color:#b695c9;margin-bottom:10px}.import-intro h3{font-size:26px;color:#87609e;letter-spacing:-.8px}.import-intro p{font-size:12px;color:#a789b9;line-height:1.8;margin-top:9px;max-width:670px}.review-split{display:grid;grid-template-columns:1fr;gap:20px}.timetable-reference{border:1px solid #e7d9f0;border-radius:12px;overflow:hidden;background:#faf7fe;position:relative;padding:13px}.timetable-reference>img{max-width:100%;max-height:270px;object-fit:contain;margin:auto;display:block;border-radius:4px}.timetable-reference>div:not(.rescan-overlay){display:flex;align-items:center;justify-content:space-between;gap:15px;padding-top:12px;font-size:10px;color:#b293c4}.timetable-reference .text-link{font-size:10px}.rescan-overlay{position:absolute;inset:0;background:#fffd;display:flex;align-items:center;justify-content:center;gap:10px;color:#b295c6}.lesson-editor{border:1px solid #eadbf3;border-radius:12px;overflow:hidden}.lesson-editor-heading{display:flex;align-items:center;justify-content:space-between;padding:10px 17px;background:#faf6fd;border-bottom:1px solid #eee2f5;color:#ae8dc1;font-size:12px}.lesson-editor-heading .btn{font-size:11px;padding:6px;min-height:30px}.lesson-rows{max-height:380px;overflow:auto;padding:4px 15px}.lesson-row{display:grid;grid-template-columns:22px minmax(140px,1fr) 88px 107px 107px 30px;align-items:end;gap:9px;padding:13px 0;border-bottom:1px solid #f1e7f7}.lesson-row:last-child{border:0}.lesson-index{font-family:var(--heading);font-size:10px;color:#c4abd3;align-self:center;margin-top:17px}.lesson-row label>span{display:block;font-size:9px;color:#b298c4;margin-bottom:6px}.lesson-row input,.lesson-row select{display:block;width:100%;height:37px;border:1px solid #e5d6ef;border-radius:7px;padding:7px 9px;background:#fff;color:#9672ae;font-size:12px;min-width:0}.lesson-row.incomplete input[type=time]:invalid{border-color:#e4c6a2;background:#fffaf1}.lesson-row>.icon-button{margin-bottom:3px}.ocr-details{margin:18px 0;border:1px solid #eddef5;border-radius:10px;padding:14px 16px;background:#fdfaff}.ocr-details summary{cursor:pointer;font-size:11px;color:#ad8fc0;list-style:none;display:flex;align-items:center;gap:7px}.ocr-details summary:after{content:'+';margin-left:auto;font-size:16px}.ocr-details[open] summary:after{content:'−'}.ocr-details p{font-size:11px;color:#b295c1;line-height:1.85;margin:13px 0 0}.ocr-details textarea{width:100%;margin:15px 0;resize:vertical;border:1px solid #e5d1f1;border-radius:7px;padding:12px;font-size:12px;color:#9976ae;background:#fffd;line-height:1.8}.ocr-details .btn{font-size:11px}.review-confirm{display:flex;align-items:center;gap:10px;font-size:12px;color:#9c7daf;margin-top:22px;padding:15px;background:#f2ecf7;border:1px solid #e5d8ee;border-radius:10px}.review-confirm input,.coverage-check input,.teacher-rule-title input,.import-date-preview input{accent-color:var(--accent);width:16px;height:16px;flex-shrink:0}.planner-range{background:#faf6fd;border:1px solid #e9dbf1;border-radius:13px;padding:20px;display:grid;grid-template-columns:1fr 1fr;gap:0 20px;margin-bottom:24px}.planner-range .field{margin-bottom:17px}.coverage-check{grid-column:1/-1;display:flex;align-items:center;gap:10px;border-top:1px solid #eee1f5;padding-top:15px}.coverage-check strong{font-size:12px;font-weight:600;color:#a082b2;display:block}.coverage-check small{font-size:10px;line-height:1.8;color:#b299c2;display:block;margin-top:4px}.teacher-rule-list{display:grid;gap:16px;margin-bottom:25px}.teacher-rule{border:1px solid #e5d7ed;border-radius:13px;background:#fff;padding:18px 20px}.teacher-rule.disabled-rule{background:#fbf8fd}.teacher-rule-title{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:18px}.disabled-rule .teacher-rule-title{margin:0;opacity:.7}.teacher-rule-title>label{display:flex;align-items:center;gap:11px;color:#9876ad;font-size:15px}.rule-subject-icon{width:33px;height:33px;display:grid;place-items:center;border-radius:9px;font-size:12px;font-weight:650;color:#a182b6}.teacher-rule-title>span{font-size:10px;color:#b397c5}.rule-fields{display:grid;grid-template-columns:1fr 1fr 1.3fr;gap:0 15px}.rule-fields .field{margin-bottom:10px}.rule-fields .field>span:first-child{font-size:11px;line-height:1.6;min-height:18px}.rule-fields .field select,.rule-fields .field input{font-size:12px;min-height:40px}.slot-timing-settings{border-top:1px solid #f0e4f7;padding-top:13px;margin-top:8px}.slot-timing-settings summary{list-style:none;display:flex;align-items:center;gap:6px;color:#b294c4;font-size:10px;cursor:pointer}.slot-timing-settings p{font-size:11px;color:#b399c3;line-height:1.8;margin:13px 0}.slot-timing-settings .field{max-width:410px}.slot-timing-settings .field>input{max-width:160px}.plan-summary-strip{display:flex;align-items:center;gap:25px;border:1px solid #ddd3eb;background:linear-gradient(115deg,#f0e8fa,#f0f5e9);border-radius:12px;padding:19px 22px;color:#a287b5;flex-wrap:wrap}.plan-summary-strip>span{display:flex;align-items:center;gap:7px;font-size:12px}.plan-summary-strip strong{font-size:22px;font-family:var(--heading);letter-spacing:-.8px;font-weight:650}.plan-summary-strip small{margin-left:auto;font-size:10px;color:#b09bbe}.plan-warning{display:flex;align-items:flex-start;gap:7px;font-size:11px;color:#a38865;background:#fbf5e9;border:1px solid #eee1c8;border-radius:9px;padding:12px 15px;line-height:1.8;margin-top:13px}.plan-warning>svg{margin-top:2px}.import-date-preview{max-height:420px;overflow:auto;border:1px solid #eadcf2;border-radius:13px;padding:3px 17px}.import-date-preview>label{display:flex;align-items:center;gap:14px;padding:15px 0;border-bottom:1px solid #f0e6f6;cursor:pointer;transition:opacity .2s}.import-date-preview>label:last-child{border:0}.import-date-preview>label.unchecked{opacity:.5}.capacity-pill{display:flex;gap:5px;align-items:center;font-size:10px;background:#f5eefb;color:#b49ac6;padding:6px 9px;border-radius:7px;white-space:nowrap}.qr-invite{display:flex;align-items:center;gap:20px;background:#fbf8fe;border:1px solid #eee3f6;border-radius:13px;padding:18px;margin:22px 0 0;flex-wrap:wrap}.qr-picture{position:relative;width:178px;height:178px;background:#fff;border-radius:9px;display:grid;place-items:center;flex-shrink:0;color:#b9a0ca}.qr-picture>img{width:172px;height:172px;display:block;image-rendering:pixelated}.qr-picture>button{display:flex;align-items:center;gap:6px;font-size:11px}.qr-corner{width:17px;height:17px;position:absolute;border:2px solid #c8b1dc}.qr-corner.tl{left:-1px;top:-1px;border-right:0;border-bottom:0;border-radius:8px 0 0 0}.qr-corner.tr{right:-1px;top:-1px;border-left:0;border-bottom:0;border-radius:0 8px 0 0}.qr-corner.bl{left:-1px;bottom:-1px;border-right:0;border-top:0;border-radius:0 0 0 8px}.qr-corner.br{right:-1px;bottom:-1px;border-left:0;border-top:0;border-radius:0 0 8px 0}.qr-copy{flex:1;min-width:170px}.qr-copy .eyebrow{font-size:7px;letter-spacing:1px;color:#b799ca;line-height:1.8}.qr-copy h3{font-size:22px;color:#9b7ab0;margin-top:9px}.qr-copy>p{font-size:11px;color:#b195c3;line-height:1.8;margin:10px 0 13px;max-width:250px}.qr-copy>small{display:block;color:#bca2ce;font-size:9px;margin-top:10px}.qr-copy .btn{font-size:10px}.modal .qr-invite{justify-content:center;text-align:center}.modal .qr-copy>p{margin-left:auto;margin-right:auto}.modal .qr-copy{min-width:100%}.share-card .qr-invite{justify-content:center;text-align:center}.share-card .qr-copy>p{margin-left:auto;margin-right:auto}.share-card .qr-copy{min-width:100%}.calendar-event-preview{display:flex;gap:15px;align-items:flex-start;border:1px solid #e4d7ed;border-radius:13px;background:#faf7fd;padding:19px;margin-bottom:24px}.google-calendar-mark{width:48px;height:48px;background:conic-gradient(#4285f4 0 25%,#34a853 25% 50%,#fbbc05 50% 75%,#4285f4 75%);display:grid;place-items:center;border-radius:8px;flex-shrink:0}.google-calendar-mark>span{background:#fff;width:29px;height:29px;display:grid;place-items:center;font-size:18px;font-weight:650;color:#4285f4;border-radius:2px}.calendar-event-preview .eyebrow{font-size:7px;letter-spacing:1px;color:#b296c5}.calendar-event-preview h3{font-size:17px;color:#9270a9;margin-top:7px;line-height:1.4}.calendar-event-preview p{font-size:12px;color:#a389b4;margin-top:10px;line-height:1.7}.calendar-event-preview small{display:block;font-size:10px;color:#b69cc8;margin-top:6px}.calendar-save-hint{font-size:10px!important;color:#b29ac3!important;text-align:center;margin:9px 0 20px!important}.timetable-import .field small{font-size:10px}.timetable-import input:focus,.timetable-import select:focus,.timetable-import textarea:focus{outline:2px solid #d5bfea;outline-offset:1px}.import-steps>span,.import-intro p,.import-privacy p,.upload-zone p,.ocr-details p,.review-confirm,.coverage-check small,.slot-timing-settings p,.qr-copy>p{color:#9778a9}.teacher-rule-title>label,.import-intro h3,.upload-zone h3,.qr-copy h3,.calendar-event-preview h3{color:#82608f}.lesson-row input,.lesson-row select{color:#80618d}.teacher-rule-title>span{color:#a080b1}
@keyframes auraBreathe{0%,100%{transform:scale(.95) rotate(-5deg);opacity:.6}50%{transform:scale(1.1) rotate(5deg);opacity:1}}@keyframes orbitPrecess{0%{transform:rotate(-24deg)}100%{transform:rotate(336deg)}}@keyframes threadFlow{to{stroke-dashoffset:-200}}@keyframes timetableSway{0%,100%{transform:rotate(-12deg) translate3d(0,0,8px)}35%{transform:rotate(-8deg) translate3d(-4px,-6px,8px)}70%{transform:rotate(-14deg) translate3d(2px,3px,8px)}}@keyframes cellArrive{0%,5%{opacity:.5;transform:scale(.88)}13%,100%{opacity:1;transform:scale(1)}}@keyframes cellBooked{0%,30%{background:#eee5f6;transform:scale(.85)}37%,90%{background:#d5c2ec;transform:scale(1)}95%,100%{background:#eee5f6;transform:scale(.85)}}@keyframes timetableScan{0%{top:20%;opacity:0}5%{opacity:.7}27%{top:90%;opacity:0}100%{opacity:0}}@keyframes focusCardFloat{0%,100%{transform:rotate(7deg) translate3d(0,0,40px)}30%{transform:rotate(4deg) translate3d(-3px,-7px,50px)}68%{transform:rotate(8deg) translate3d(1px,-2px,40px)}85%{transform:rotate(5deg) translate3d(-2px,-6px,45px)}}@keyframes checkPop{0%,57%,100%{opacity:0;transform:scale(.5)}66%,91%{opacity:1;transform:scale(1)}}@keyframes swapTurn{0%,35%,100%{transform:rotate(0);opacity:.5}50%,90%{transform:rotate(180deg);opacity:1}}@keyframes originalFade{0%,30%,100%{opacity:1}55%,90%{opacity:.4}}@keyframes newHighlight{0%,30%,100%{opacity:.5;transform:translateY(1px)}58%,90%{opacity:1;transform:translateY(0)}}@keyframes stateOne{0%,25%,100%{opacity:1;transform:translateY(0)}30%,95%{opacity:0;transform:translateY(-5px)}}@keyframes stateTwo{0%,27%,62%,100%{opacity:0;transform:translateY(5px)}34%,57%{opacity:1;transform:translateY(0)}}@keyframes stateThree{0%,59%,100%{opacity:0;transform:translateY(5px)}67%,92%{opacity:1;transform:translateY(0)}}@keyframes nodeFloat{0%,100%{transform:translateY(0) rotate(-3deg) translateZ(55px)}50%{transform:translateY(-9px) rotate(4deg) translateZ(55px)}}@keyframes successArrive{0%,63%,100%{opacity:0;transform:translate3d(0,12px,25px) rotate(-5deg) scale(.96)}73%,91%{opacity:1;transform:translate3d(0,0,25px) rotate(-5deg) scale(1)}}@keyframes starTwinkle{0%,100%{opacity:.1;transform:scale(.7)}50%{opacity:.65;transform:scale(1.25)}}@keyframes launchLevitate{0%,100%{transform:translateY(0) rotate(-6deg)}50%{transform:translateY(-7px) rotate(3deg)}}@keyframes launchRing{to{transform:rotateX(55deg) rotateZ(340deg)}}@keyframes launchOrbit{0%{transform:rotate(var(--a)) translateX(87px) rotate(calc(-1 * var(--a)));opacity:.35}50%{opacity:1}100%{transform:rotate(calc(var(--a) + 360deg)) translateX(87px) rotate(calc(-1 * var(--a) - 360deg));opacity:.35}}@keyframes sectionRise{from{opacity:0;transform:translateY(17px)}to{opacity:1;transform:translateY(0)}}@keyframes bookingLand{0%{transform:scale(.96);box-shadow:0 0 0 5px #cfb7ef44}100%{transform:scale(1);box-shadow:inset 3px 0 var(--accent)}}@keyframes badgeBloom{from{transform:scale(.3);opacity:0}to{transform:scale(1);opacity:1}}@keyframes miniScan{0%,100%{top:13px;opacity:0}30%{opacity:.8}65%{top:48px;opacity:0}}@keyframes uploadFan{0%,100%{transform:rotate(-13deg) translateY(0)}50%{transform:rotate(-18deg) translateY(-4px)}}@keyframes scanSway{0%,100%{transform:rotate(-4deg) translateY(0)}50%{transform:rotate(3deg) translateY(-4px)}}@keyframes scanPass{0%,100%{top:17px;opacity:.4}50%{top:100px;opacity:1}}
@media(max-width:930px){.smart-import-banner{padding:19px;gap:15px}.smart-import-banner strong{font-size:15px}.smart-import-banner small{font-size:10px}.rule-fields{grid-template-columns:1fr 1fr}.rule-fields>.field:nth-child(3){grid-column:1/-1}.sidebar-import{font-size:10px;gap:6px;padding:10px 9px}.new-tag{font-size:5px}.modal.import-modal{width:calc(100vw - 28px)}.timetable-import{padding:23px}.lesson-row{grid-template-columns:18px minmax(110px,1fr) 76px 96px 96px 27px;gap:7px}.lesson-row input,.lesson-row select{font-size:11px;padding:7px}}
@media(max-width:700px){.page-title>.action-row{gap:6px;justify-content:flex-end}.page-title>.action-row .btn{font-size:10px;padding:9px 10px;min-height:36px}.page-title:has(>.action-row){flex-wrap:wrap}.page-title>.action-row{width:100%}.smart-import-banner{padding:19px 17px;gap:12px;margin-top:0}.smart-import-banner strong{font-size:14px;line-height:1.5}.smart-import-banner small{font-size:11px}.smart-import-icon{width:43px;height:51px}.import-banner-arrow{width:29px;height:29px;flex-shrink:0}.smart-import-banner .eyebrow{font-size:7px}.timetable-import{padding:22px 19px}.import-steps{gap:5px;margin-bottom:22px;padding-bottom:19px}.import-steps>span{font-size:9px;gap:5px}.import-steps i{width:21px;height:21px;font-size:9px}.upload-zone{min-height:325px;padding:26px 17px}.upload-zone h3{font-size:22px;line-height:1.4}.upload-zone p{font-size:12px}.upload-zone>small{font-size:9px}.import-intro{align-items:flex-start;gap:12px}.import-intro .eyebrow{font-size:8px}.import-intro h3{font-size:23px;line-height:1.3}.import-intro p{font-size:12px}.import-intro>.btn{font-size:9px;padding:8px;min-height:34px}.lesson-row{grid-template-columns:17px 1fr 1fr 29px;gap:8px;align-items:center;padding:15px 0}.lesson-index{grid-column:1;grid-row:1/3;align-self:start;margin-top:24px}.lesson-row .lesson-subject{grid-column:2/4;grid-row:1}.lesson-row label:nth-of-type(2){grid-column:2;grid-row:2}.lesson-row label:nth-of-type(3){grid-column:3;grid-row:2}.lesson-row label:nth-of-type(4){grid-column:3;grid-row:3}.lesson-row>.icon-button{grid-column:4;grid-row:1;align-self:end}.lesson-row label>span{font-size:10px}.lesson-row input,.lesson-row select{font-size:16px;min-height:40px;width:100%;padding:8px 7px}.lesson-row label:nth-of-type(2){align-self:start}.lesson-editor-heading{padding:12px 14px}.lesson-editor-heading strong{font-size:12px}.lesson-rows{padding:0 12px}.lesson-row label:nth-of-type(3):before{display:none}.planner-range{padding:17px;gap:0 12px}.planner-range input{font-size:16px;padding:10px 8px;min-width:0}.planner-range .field{min-width:0}.teacher-rule{padding:17px 15px}.teacher-rule-title{gap:10px}.teacher-rule-title>label{font-size:14px;gap:8px}.teacher-rule-title>span{font-size:9px}.rule-fields{grid-template-columns:1fr 1fr;gap:4px 12px}.rule-fields>.field:first-child{grid-column:1/-1}.rule-fields>.field:nth-child(3){grid-column:1/-1}.rule-fields input,.rule-fields select{font-size:16px!important}.rule-fields .field>span:first-child{font-size:11px}.teacher-rule-title .rule-subject-icon{width:28px;height:28px;font-size:10px}.coverage-check{align-items:flex-start}.coverage-check small{font-size:10px}.timetable-import .field small{font-size:11px}.import-date-preview{padding:2px 12px;max-height:390px}.import-date-preview>label{gap:10px;flex-wrap:wrap}.capacity-pill{margin-left:auto;font-size:9px}.plan-summary-strip{padding:15px;gap:15px}.plan-summary-strip>span{font-size:11px}.plan-summary-strip strong{font-size:23px}.plan-summary-strip small{width:100%;margin:0}.timetable-import .modal-actions .btn{font-size:11px;padding:11px 13px}.timetable-reference>img{max-height:215px}.timetable-reference>div:not(.rescan-overlay)>span{max-width:48%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.qr-copy>p{font-size:12px}.qr-copy .btn{font-size:11px}.sidebar-import{font-size:12px;padding:12px}.new-tag{font-size:7px}.slot .calendar-link{font-size:11px}.launch-scene{transform:scale(.9)}.modal.import-modal{max-height:94dvh}}
@media(max-width:420px){.smart-import-banner{gap:10px}.smart-import-icon{width:39px;height:47px}.smart-import-banner strong{font-size:13px}.smart-import-banner small{font-size:10px}.smart-import-banner .import-banner-arrow{display:none}.import-steps>span{font-size:8px;gap:3px}.import-steps i{width:19px;height:19px;font-size:8px}.timetable-import{padding:20px 16px}.teacher-rule-title>span{font-size:8px;max-width:64px;text-align:right;line-height:1.5}.teacher-rule-title>label{font-size:13px}.teacher-rule-title .rule-subject-icon{display:none}.upload-zone h3{font-size:20px}.import-intro h3{font-size:22px}.capacity-pill{margin-left:73px}.planner-range{gap:0 9px}.planner-range input{font-size:14px}}
@media(prefers-reduced-motion:reduce){.scan-laser,.smart-import-icon i{display:none}.launch-token{animation:none!important;transform:rotate(var(--a)) translateX(87px) rotate(calc(-1 * var(--a)))}.main-content>*{animation:none!important}}

/* Timetable import preview retains its existing layout. */
.preview-counter{padding:15px 22px;text-align:center;background:#f0f5e9;border:1px solid #e2ead6;border-radius:12px;flex-shrink:0;color:#9ba983}.preview-counter>strong{font-family:var(--heading);font-size:31px;line-height:1;display:block;font-weight:700;letter-spacing:-1px}.preview-counter>span{font-size:10px;display:block;margin-top:6px}.preview-date{width:42px;height:47px;display:flex;flex-direction:column;align-items:center;justify-content:center;border:1px solid #e9daf3;border-radius:9px;background:#fbf6ff;color:#ad8bbf;flex-shrink:0}.preview-date strong{font-family:var(--heading);font-size:19px;line-height:1}.preview-date small{font-size:8px;text-transform:uppercase;letter-spacing:.8px;margin-top:4px}.preview-session-name{flex:1}.preview-session-name>strong{font-size:13px;color:#9b77b0}.preview-session-name>small{display:block;font-size:10px;color:#b196c3;margin-top:5px}.preview-session-name>strong{color:#82608f}.preview-session-name>small{color:#a080b1}
@media(max-width:700px){.preview-counter{padding:11px 13px}}
@media(max-width:700px){.preview-counter>strong{font-size:25px}}
@media(max-width:700px){.preview-counter>span{font-size:8px}}
@media(max-width:700px){.preview-session-name{min-width:120px}}
@media(max-width:700px){.preview-session-name strong{font-size:13px}}
@media(max-width:700px){.preview-date{width:38px;height:43px}}
/* Numbered queues and shared question notes. */
.sortable-names{list-style:none;padding:0;display:grid;gap:8px;max-height:52vh;overflow:auto;overscroll-behavior:contain}.sortable-names li{display:flex;align-items:center;gap:5px;padding:8px;border:1px solid var(--border,#d9dfea);border-radius:12px;background:var(--surface,#fff)}.sortable-names li>strong,.sortable-names li>input{flex:1;min-width:0;overflow-wrap:anywhere}.sortable-names input{width:80px}.queue-grip{touch-action:none;cursor:grab;display:grid;place-items:center;min-width:32px;min-height:44px;border:0;background:transparent;color:inherit}.queue-grip:active{cursor:grabbing}.sortable-names .icon-button{flex-shrink:0;min-width:30px}.roster-import{display:grid;gap:12px;padding-block:12px}.roster-import textarea{width:100%}.question-board{margin-top:24px;padding:20px;border:1px solid var(--border,#d9dfea);border-radius:18px;background:var(--surface,#fff)}.question-board .section-heading{flex-wrap:wrap;gap:12px}.question-notes{list-style:none;padding:0;display:grid;gap:12px;max-height:65vh;overflow:auto}.question-notes li{padding:14px;background:var(--bg,#f5f6f8);border-radius:12px}.question-notes small{margin-left:12px}.question-notes p{white-space:pre-wrap;overflow-wrap:anywhere}.roster-review{padding:12px;border:1px solid var(--border,#d9dfea);border-radius:12px}@media(max-width:420px){.sortable-names li{gap:2px;padding:5px}.sortable-names .roster-position{min-width:23px}.sortable-names .icon-button{width:27px;min-width:27px;padding:3px}.question-board{padding:14px}}

.teacher-class-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));gap:16px}.teacher-class-link{text-align:left;display:flex;align-items:flex-start;flex-direction:column;gap:10px;padding:24px;color:inherit;cursor:pointer}.teacher-class-link:hover{border-color:var(--group-color,#3454d1)}.teacher-class-link h2,.teacher-class-link p{margin:0}.teacher-class-link>span:last-child{display:flex;align-items:center;gap:8px;margin-top:10px;color:var(--group-color,#3454d1);font-weight:600}

.primary-window-action{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.primary-window-action>.window-action-menu{width:auto;flex:0 1 auto}.primary-window-action>.window-action-menu>summary{min-height:42px}

.school-import>form{display:flex;flex-direction:column;gap:18px}.school-import>form>.btn{align-self:flex-start}.school-import>form>.text-link{align-self:flex-start;white-space:normal;text-align:left;line-height:1.5}.school-import .form-error{color:var(--ink);overflow-wrap:anywhere}
.school-picker-dropdown{margin-top:6px;border:1px solid var(--nu-line,var(--line));border-radius:12px;background:var(--nu-panel,#fff);color:var(--nu-text,var(--ink));box-shadow:0 8px 24px #00000014;overflow:hidden}.school-picker-dropdown [role=listbox]{max-height:min(280px,35dvh);overflow-y:auto;overscroll-behavior:contain;scroll-padding:4px}.school-picker-dropdown [role=option]{display:block;width:100%;min-height:48px;padding:12px 14px;text-align:left;font-size:14px;line-height:1.45;white-space:normal;overflow-wrap:anywhere;border-bottom:1px solid var(--nu-line,var(--line));border-radius:0;color:inherit}.school-picker-dropdown [role=option]:last-child{border-bottom:0}.school-picker-dropdown [role=option]:hover,.school-picker-dropdown [role=option].is-active{background:var(--nu-brand-soft,#eeeafa);color:var(--nu-brand-text,#3454d1)}.school-picker-dropdown p{padding:12px 14px;font-size:14px}

.teacher-tour{position:fixed;inset:0;width:100vw;height:100dvh;max-width:none;max-height:none;margin:0;padding:0;border:0;background:transparent;color:var(--ink);overflow:hidden}.teacher-tour::backdrop{background:#101b2b55}.teacher-tour-focus{position:fixed;border:3px solid #77b7ff;border-radius:16px;box-shadow:0 0 0 100vmax #07152877;pointer-events:none}.teacher-tour-card{position:fixed;left:50%;transform:translateX(-50%);width:min(380px,calc(100vw - 32px));padding:22px;background:var(--surface);color:var(--ink);border:1px solid var(--line);border-radius:18px;box-shadow:0 12px 40px #0004}.teacher-tour-card small{color:var(--muted)}.teacher-tour-card h2{font-size:21px;margin:8px 0}.teacher-tour-card p{line-height:1.6;margin-bottom:18px}.teacher-tour-card>div{display:flex;align-items:center;gap:20px}

.grade-selector{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:24px}.grade-selector button{min-width:48px;min-height:44px;padding:10px 16px;border:1px solid var(--line);border-radius:10px;background:var(--surface);font-size:17px;font-weight:600}.grade-selector button[aria-pressed=true]{background:var(--accent);border-color:var(--accent);color:#fff}.teacher-letter-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(90px,1fr));gap:12px;max-width:760px}.teacher-letter-grid .teacher-letter{min-height:90px;padding:20px;align-items:center;justify-content:center}.teacher-letter strong{font-size:27px}.grade-school{margin-bottom:24px}.grade-school>h2{font-size:16px;margin-bottom:14px}

/* Applied from the Refero Notion DESIGN.md saved in docs/references/. */
@font-face{font-family:Inter;src:url('/fonts/inter-400.woff') format('woff');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:Inter;src:url('/fonts/inter-500.woff') format('woff');font-weight:500;font-style:normal;font-display:swap}
@font-face{font-family:Inter;src:url('/fonts/inter-600.woff') format('woff');font-weight:600;font-style:normal;font-display:swap}
@font-face{font-family:Inter;src:url('/fonts/inter-700.woff') format('woff');font-weight:700;font-style:normal;font-display:swap}
@media screen {
:root{--font:Inter,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;--heading:var(--font);--ink:#111;--muted:#757575;--line:#00000014;--surface:#f6f5f4;--accent:#0075de;--radius:12px}
body{background:#f6f5f4;color:#111;font-size:14px;line-height:1.5}
h1,h2,h3,h4{font-weight:600;letter-spacing:-.03em;text-wrap:balance}
strong{font-weight:600}
button{transition:background .2s ease,color .2s ease,border-color .2s ease,transform .2s ease}
button:focus-visible,a:focus-visible{outline:2px solid #0075de;outline-offset:3px}
input:focus-visible,textarea:focus-visible,select:focus-visible{outline:2px solid #0075de;outline-offset:2px;border-color:#0075de}
::selection{background:#d6eafb}
.brand{font-family:Inter,sans-serif;font-weight:700;font-size:25px;letter-spacing:-1.3px;color:#111}
.brand-mark{background:#111;width:30px;height:30px;border-radius:6px;transform:none;box-shadow:none;margin-right:9px}
.brand-mark svg{width:24px;height:24px;stroke-width:3.2}
.brand-dot{display:none}
.btn{min-height:40px;padding:9px 14px;gap:7px;font-weight:500;font-size:13px;border-radius:8px;box-shadow:none;letter-spacing:0;transition:background .2s,color .2s,border-color .2s}
.btn:hover:not(:disabled){transform:none;box-shadow:none}
.btn.primary{background:#0075de;color:#fff;box-shadow:none;border:1px solid #006bcc}
.btn.primary:hover{background:#0064bd;filter:none}
.btn.primary:after{display:none}
.btn.secondary{color:#37352f;background:#fff;border:1px solid #00000024}
.btn.secondary:hover{background:#f4f4f2}
.btn.tinted{background:#e6f3fe;color:#0065be;border:1px solid transparent}
.btn.tinted:hover{background:#d8edff}
.btn.ghost{color:#615d59;background:transparent}
.btn.ghost:hover{background:#00000006}
.btn.dark{color:#37352f;background:#fff;border:1px solid #00000024}
.btn.dark:hover{background:#f0f0ee}
.btn.danger{background:#fff5f4;color:#b42318;border:1px solid #f3c5bf}
.icon-button{color:#615d59;border-radius:5px}
.icon-button:hover{background:#00000008;color:#37352f}
.text-link{font-size:13px;color:#615d59;font-weight:500}
.text-link:hover{color:#0075de}
.avatar{font-family:Inter,sans-serif;border-radius:50%;font-size:11px;font-weight:500}
.eyebrow{color:#757575;font-weight:500;letter-spacing:.4px;font-size:11px}
.status-dot{background:#739474;box-shadow:none;width:6px;height:6px}
.pill{font-size:11px;font-weight:500;border-radius:5px;padding:4px 7px;background:#efefed;color:#615d59}
.pill.green{background:#e6f1e8;color:#3f6a48}
.pill.amber{background:#fcf0cf;color:#89621e}
.lavender{color:#0075de;background:#e6f3fe}.green{color:#487653;background:#e8f1e9}.peach{color:#a16b47;background:#fbecdf}
.count{font-size:11px;color:#615d59;background:#efefed;border-radius:4px;font-family:var(--font);font-weight:400}
.toast{background:#fff;border:1px solid #dededb;color:#37352f;box-shadow:0 1px 4px #17212a12;border-radius:8px;font-size:13px}
.toast svg{color:#50764a}

/* Public page: centered headline and a real, explorable schedule. */
.product-preview{display:grid;grid-template-columns:184px minmax(0,1fr);background:#fff;border:1px solid #00000018;border-radius:12px;box-shadow:0 4px 12px #0000000d;overflow:hidden;min-height:449px;animation:pageAppear .55s .08s ease both}
.feature-number{position:absolute;right:24px;top:26px;color:#00000055;font-size:12px}

/* Workspace: content precedes decoration. */
.sidebar{width:224px;padding:23px 13px 0;background:#f6f5f4;border-right:1px solid #0000000d;color:#37352f;box-shadow:none}
.sidebar-brand{margin:0 9px 27px}
.sidebar .brand{font-size:24px;color:#111}
.sidebar .brand-mark{background:#111;width:29px;height:29px;border-radius:5px}
.group-switch{background:transparent;border:0;padding:7px 8px;border-radius:5px;margin-bottom:25px;gap:9px}
.group-switch:hover{background:#00000005}
.group-symbol{width:28px;height:28px;border-radius:5px;font-size:19px}
.group-switch small{font-size:10px;font-weight:400;letter-spacing:0;color:#615d59;margin-bottom:2px}
.group-switch select{font-size:13px;color:#37352f;font-weight:500}
.group-switch>svg{color:#615d59;width:12px}
.nav-label{font-size:11px;font-weight:500;letter-spacing:0;color:#615d59;margin:0 11px 8px}
.sidebar nav{gap:2px;margin-bottom:16px}
.sidebar nav>button,.subject-nav>button,.sidebar-bottom>button{font-size:13px;color:#615d59;font-weight:400;padding:9px 11px;border-radius:5px;min-height:35px;gap:10px}
.sidebar nav>button svg{width:17px;height:17px;stroke-width:1.6}
.sidebar nav>button:hover,.subject-nav>button:hover,.sidebar-bottom>button:hover{background:#00000006;color:#37352f}
.sidebar nav>button.active{background:#eae9e6;color:#37352f;font-weight:500}
.nav-badge{background:#dcdad5;color:#615d59;font-weight:500;font-size:10px;border-radius:4px}
.subject-nav>button{font-size:12px;min-height:33px;padding:8px 11px;gap:10px}
.subject-nav>button>span{width:6px;height:6px;border-radius:2px}
.subject-nav>button.selected{background:#eae9e6;color:#37352f}
.subject-nav>small{color:#615d59;font-size:11px;padding:7px 11px}
.sidebar-import{display:flex;align-items:center;gap:9px;color:#615d59;background:none;border:1px solid #dedcd7;border-radius:6px;padding:9px 10px;margin:2px 4px 25px;font-size:11px;box-shadow:none}
.sidebar-import:hover{background:#fff;border-color:#bbb9b3;color:#37352f;transform:none}
.import-nav-arrow{margin-left:auto;width:12px;color:#615d59}
.label-with-action .icon-button{color:#615d59}
.sidebar-bottom{padding-top:24px}
.sidebar-bottom>button{font-size:12px;min-height:33px}
.sidebar-bottom>button.selected{background:#eae9e6;color:#37352f}
.profile{padding:18px 3px;border-color:#00000010;gap:9px;margin-top:15px}
.profile strong{font-size:12px;font-weight:500;color:#37352f}
.profile small{font-size:10px;color:#615d59;margin-top:3px}
.profile .avatar{width:29px;height:29px;font-size:10px}
.workspace{margin-left:224px;background:#fff;min-height:100dvh}
.app-header{height:55px;padding:0 34px;background:#fff;border-color:#0000000a}
.app-header>div{gap:9px;font-size:12px}
.app-header strong{font-size:12px;color:#37352f;font-weight:400}
.breadcrumb{font-size:12px;color:#615d59}
.app-header>div>svg{color:#757575;width:12px}
.header-right{gap:16px!important}
.sync{color:#615d59;font-size:10px}
.main-content{max-width:1250px;padding:38px 48px 0;animation:pageAppear .2s ease both}
.main-content>*{animation:none}
.page-title{align-items:flex-end;margin-bottom:26px;gap:20px}
.page-title .eyebrow{display:none}
.workspace-page-icon{display:flex;margin-bottom:17px;line-height:1}
.page-title h1{font-size:32px;line-height:1.2;color:#111;font-weight:600;letter-spacing:-1.1px}
.page-title p{font-size:13px;color:#615d59;margin-top:10px;line-height:1.65}
.page-title .btn{font-size:12px}
.workspace-summary{display:flex;align-items:center;gap:22px;padding:0 0 23px;margin-bottom:27px;border-bottom:1px solid #00000014;color:#615d59;font-size:12px;flex-wrap:wrap}
.workspace-summary>span{display:flex;align-items:center;gap:6px;white-space:nowrap}
.workspace-summary strong{font-weight:500;color:#615d59}
.workspace-summary svg{color:#615d59;stroke-width:1.5}
.workspace-summary>button{display:flex;align-items:center;gap:7px;margin-left:auto;font-size:12px;color:#615d59;padding:0}
.workspace-summary>button:hover{color:#0075de}
.smart-import-banner{background:#f6f5f4;border:1px solid #00000008;border-radius:8px;padding:17px 20px;gap:14px;margin:0 0 32px;box-shadow:none;transition:background .2s}
.smart-import-banner:before{display:none}
.smart-import-banner:hover{background:#eeeeeb;border-color:#00000014;box-shadow:none;transform:none}
.smart-import-icon{width:35px;height:37px;transform:none;background:#fff;border:1px solid #e0ded8;color:#757575;border-radius:6px;box-shadow:none}
.smart-import-icon>svg{width:20px}
.smart-import-icon i{display:none}
.smart-import-banner strong{font-size:13px;font-weight:500;letter-spacing:0;color:#37352f}
.smart-import-banner small{font-size:12px;color:#615d59;margin-top:3px}
.import-banner-arrow{background:none;border:0;border-radius:0;color:#757575;width:20px;height:20px}
.smart-import-banner:hover .import-banner-arrow{transform:translateX(2px)}
.dashboard-columns{grid-template-columns:minmax(0,1fr) 214px;gap:35px}
.section-heading{margin-bottom:14px}
.section-heading h2{font-size:16px;font-weight:500;letter-spacing:-.2px;color:#37352f}
.section-heading h3{font-size:13px;font-weight:500;color:#37352f}
.section-heading .text-link{font-size:12px;color:#615d59}
.class-directory{border-top:1px solid #e9e7e2}
.class-directory-head,.class-row{display:grid;grid-template-columns:minmax(140px,1.7fr) minmax(95px,1fr) 74px 14px;gap:14px;align-items:center;width:100%;text-align:left;padding:13px 8px;border-bottom:1px solid #eeece7}
.class-directory-head{color:#615d59;font-size:10px;font-weight:400;padding-top:10px;padding-bottom:10px}
.class-row{background:#fff;min-height:85px;transition:background .2s}
.class-row:hover{background:#faf9f6;transform:none}
.class-row-subject{display:flex;align-items:center;gap:12px;min-width:0}
.class-row-subject>.subject-icon{width:32px;height:34px;font-size:16px;border-radius:5px;flex-shrink:0}
.class-row-subject>span:last-child{min-width:0}
.class-row-subject strong{display:block;color:#37352f;font-size:13px;font-weight:500;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}
.class-row-subject small{display:block;color:#615d59;font-size:10px;margin-top:4px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}
.class-row-date{font-size:11px;color:#37352f}
.class-row-date small{display:block;font-size:10px;margin-top:4px;color:#615d59}
.class-row-availability{display:flex;align-items:center;gap:5px;font-size:10px;color:#615d59;white-space:nowrap}
.class-row-availability>span{width:5px;height:5px;border-radius:50%;background:#98ad89}
.class-row-availability.locked{color:#615d59}
.class-row>svg{color:#757575;width:13px}
.subject-icon{font-family:var(--font);font-weight:500;border-radius:6px}
.upcoming-heading{margin-top:33px}
.upcoming-list{border:1px solid #00000014;border-radius:8px;box-shadow:none;background:#fff}
.upcoming-item{padding:15px 17px;border-color:#eeece8;gap:13px}
.upcoming-item:hover{background:#f9f9f7;transform:none}
.upcoming-item>div:nth-child(2)>strong{font-size:13px;font-weight:500;color:#37352f}
.upcoming-item small{font-size:11px;color:#615d59;margin-top:4px}
.upcoming-item>svg{color:#757575}
.date-badge{background:#f4f3ef;border:0;border-radius:5px;width:36px;height:41px;color:#615d59}
.date-badge>span{font-size:8px;color:#615d59}
.date-badge>strong{font-size:18px;font-weight:500;color:#615d59}
.quiet-empty{color:#615d59;font-size:12px;background:#fafaf8;line-height:1.7;padding:24px}
.quiet-empty svg{color:#615d59}
.side-column{padding-top:4px}
.swap-highlight{padding:21px 18px;background:#f6f5f4;border:1px solid #00000008;border-radius:8px;box-shadow:none}
.swap-highlight>.circle-icon{width:27px;height:28px;background:transparent;color:#615d59;margin-bottom:15px;border-radius:0}
.swap-highlight>.circle-icon svg{width:22px;height:22px;stroke-width:1.5}
.swap-highlight h3{font-size:15px;font-weight:500;letter-spacing:-.2px;color:#37352f;line-height:1.4;margin:0 0 10px}
.swap-highlight>p{font-size:12px;color:#615d59;line-height:1.8}
.swap-highlight>button{border-color:#e0ddd6;color:#37352f;font-size:11px;font-weight:400;margin-top:20px;padding-top:14px}
.swap-highlight>button>span{background:transparent;color:#615d59;border:0}
.activity-card{padding:29px 3px 0}
.activity-card .section-heading{margin-bottom:22px}
.activity-item{gap:10px;padding-bottom:20px}
.activity-item p{font-size:11px;color:#615d59;line-height:1.75;max-width:none}
.activity-item small{font-size:10px;color:#757575}
.activity-dot,.activity-dot.tone-1,.activity-dot.tone-2{background:#c8c2b7;border:2px solid #fff;width:8px;height:8px}
.activity-item:not(:last-child):before{background:#e9e5de;left:3px}
.workspace-footer{border-color:#efede8;font-size:10px;color:#757575;margin-top:43px;padding-top:20px;padding-bottom:23px}
.demo-banner{background:#e6f3fe;color:#615d59;font-size:11px;padding:10px 34px;border-color:#d8e9f6}
.demo-banner button{color:#757575;font-size:11px;font-weight:500}

/* App screens and shared controls. */
.card,.date-card,.swap-card,.student-card,.share-card{background:#fff;border:1px solid #00000014;border-radius:12px;box-shadow:none}
.class-tabs{border-bottom:1px solid #e8e6e1;padding-bottom:0;margin:4px 0 24px;gap:18px}
.class-tabs>button{border:0;border-bottom:2px solid transparent;border-radius:0;padding:10px 0 14px;font-size:13px;color:#615d59;background:transparent;box-shadow:none}
.class-tabs>button.active{background:transparent;border-color:#37352f;color:#37352f;box-shadow:none}
.class-tabs>button:hover{background:transparent;color:#37352f}
.schedule-head{padding:22px 24px;background:#f9f9f7;border-radius:8px;border-color:#eceae5;box-shadow:none}
.subject-heading h2{font-size:23px;font-weight:600;color:#37352f;letter-spacing:-.6px}
.subject-heading p,.subject-heading small{font-size:12px;color:#615d59}
.subject-icon.large{width:45px;height:45px;border-radius:7px;font-size:23px}
.search-field{background:#fff;border-color:#dedbd5;border-radius:6px;color:#615d59}
.search-field input{font-size:12px;color:#615d59}
.search-field input::placeholder{color:#615d59}
.filter-toggle{font-size:12px;color:#615d59;border-radius:5px}
.filter-toggle.active{color:#0065be;background:#e6f3fe;border-color:#c9e2f7}
.segmented{background:#f5f4f1;border-color:#e3dfd7;border-radius:6px}
.segmented button{color:#615d59;border-radius:4px}
.segmented button.active{color:#615d59;background:#fff;box-shadow:none}
.date-grid{gap:18px}
.date-card{padding:21px;border-radius:8px;animation:pageAppear .2s both}
.date-card-header{padding-bottom:15px}
.date-card-header .eyebrow{font-size:11px;font-weight:400;letter-spacing:0;color:#615d59}
.date-card-header h3{font-size:20px;font-weight:500;letter-spacing:-.4px;color:#37352f;margin-top:7px}
.date-card-header h3>span{font-size:11px;color:#615d59;margin-left:8px}
.date-card-header>svg{color:#757575}
.date-capacity{color:#757575;font-size:11px}
.date-capacity .available{color:#615d59}
.date-capacity .filled{color:#615d59}
.slot{min-height:61px;border-radius:6px;padding:12px 11px;gap:9px;transition:background .2s,border-color .2s}
.slot.booked{background:#faf9f6;border-color:#e9e5dd}
.slot.open{background:#fff;border:1px dashed #d5cfc3}
.slot:hover:not(:disabled){transform:none;border-color:#b7afa0;background:#f7f7f3}
.slot.mine{background:#edf6fd;border-color:#bfddf2;box-shadow:inset 2px 0 #0075de;animation:none}
.slot.mine:hover{background:#e4f1fb}
.slot-number{font-size:10px;color:#757575;min-width:16px;font-weight:400}
.slot-name{font-size:12px;font-weight:500;color:#615d59}
.slot-name small{font-size:10px;color:#757575;font-weight:400}
.slot .avatar.small{width:27px;height:27px;font-size:9px}
.empty-avatar{width:27px;height:27px;background:#f3f1eb;color:#757575;border:0}
.slot>svg{color:#757575}
.your-tag{background:#dcebfa;color:#615d59;font-size:9px;font-weight:500;border-radius:4px}
.calendar-link{font-size:11px;color:#757575;line-height:1.6}
.add-date-card{border:1px dashed #d9d2c5;background:#fdfcf9;border-radius:8px;color:#615d59}
.add-date-card:hover{background:#f7f5f0;border-color:#bdb29b}
.add-date-card>span{background:#f1eee6;color:#615d59;border-radius:6px;width:36px;height:36px}
.add-date-card strong{font-size:13px;font-weight:500;color:#615d59}
.add-date-card small{font-size:11px;color:#757575}
.schedule-footnote,.schedule-footnote>span{font-size:11px;color:#615d59;line-height:1.7}
.swap-explainer{background:#f6f5f2;border-color:#e6e1d8;border-radius:8px}
.swap-explainer strong{font-size:13px;font-weight:500;color:#37352f}
.swap-explainer p{font-size:12px;color:#615d59}
.swap-explainer .circle-icon{background:transparent;color:#757575}
.swap-card{padding:24px;border-radius:12px}
.swap-card-heading .student-cell strong{font-size:13px;font-weight:500;color:#615d59}
.swap-card-heading .student-cell small{font-size:11px;color:#757575}
.swap-route{background:#f7f6f2;border-color:#e6e1d6;border-radius:8px}
.swap-route strong{font-size:23px;font-weight:500;color:#37352f}
.swap-route>div>span{font-size:10px;color:#757575}
.swap-route small{font-size:11px;color:#615d59}
.swap-arrows{background:transparent;color:#757575}
.swap-card blockquote{font-size:13px;color:#615d59;background:#faf9f5;border-color:#ded5c4;font-weight:400;line-height:1.8}
.swap-card-footer>small,.read-only-note{font-size:11px;color:#757575}
.swap-card-footer .btn{font-size:12px}
.student-card{padding:18px 20px;border-radius:8px;gap:12px}
.student-card strong{color:#615d59;font-size:13px;font-weight:500}
.student-card small{color:#757575;font-size:11px}
.share-card{padding:27px;border-radius:12px}
.share-card-icon{background:#f3f2ed;color:#615d59;border-radius:8px;width:43px;height:43px}
.share-card h2{font-size:22px;font-weight:600;color:#37352f;letter-spacing:-.6px}
.share-card>p,.share-privacy,.print-card p,.settings-form p{font-size:13px;color:#615d59;line-height:1.8}
.share-card .soft-note{font-size:11px}
.group-code{color:#615d59;background:#f8f7f3;border-color:#e6dfd1;font-size:25px;letter-spacing:2px;border-radius:6px}
.link-box{background:#faf9f6;border-color:#e6dfd2;border-radius:6px;color:#757575}
.link-box input{color:#615d59;font-size:11px}
.teacher-share{background:#fff}
.teacher-preview{background:#faf9f5;border-color:#e8e1d4;border-radius:7px}
.teacher-preview>div{border-color:#eee8dd;color:#615d59;font-size:10px}
.teacher-preview>div:first-child{color:#757575;font-size:9px}
.email-link{color:#757575;font-size:12px}
.print-card{background:#f6f5f4;border-color:#e6e1d9;border-radius:12px;padding:27px}
.print-card h2{font-size:22px;font-weight:600;color:#615d59}
.print-illustration{background:#fff;border:1px solid #e4dccd;color:#615d59;border-radius:8px}
.settings-form{padding:26px;margin-bottom:24px}
.settings-form h2{color:#615d59;font-size:19px;font-weight:600}
.danger-zone{border-color:#ead5cf;background:#fffdfc}.danger-zone h2{color:#615d59}
.first-group{padding:60px 20px;max-width:560px;text-align:left;margin:0 auto}
.first-group-icon{display:flex;color:#615d59;margin-bottom:23px}
.first-group h1{font-size:34px;line-height:1.2;letter-spacing:-1px;color:#111}
.first-group p{font-size:14px;color:#615d59;margin:18px 0 24px}
.empty{padding:45px 20px}
.empty-icon{background:#f6f5f2;color:#757575;border-radius:8px}
.empty h3{font-size:18px;color:#615d59;font-weight:500}
.empty p{color:#615d59;font-size:13px;max-width:420px}

/* Dialogs use the same reference, including the screenshot import wizard. */
.modal{color:#37352f;background:#fff;border-radius:12px;border:1px solid #dedbd5;box-shadow:0 2px 8px #17212a14;animation:dialogAppear .2s ease both}
.modal::backdrop{background:#00000040;animation:none}
.modal-head{background:#fff;padding:25px 27px 20px;border-color:#eeeae4}
.modal-head h2{font-size:22px;font-weight:600;letter-spacing:-.5px;color:#37352f;line-height:1.35}
.modal-head p,.modal-form>p,.modal-form .form-intro,.wizard>p{font-size:13px;color:#615d59;line-height:1.8}
.field,.field>span:first-child,.field-label{font-size:12px;color:#37352f;font-weight:500}
.field input,.field textarea,.field select,.modal-form>textarea{font-size:14px;color:#615d59;min-height:42px;border:1px solid #dcd6ca;background:#fff;border-radius:6px;padding:10px 12px;box-shadow:none}
.field input::placeholder,.field textarea::placeholder{font-size:12px;color:#757575}
.field small{font-size:11px;color:#615d59;line-height:1.8;font-weight:400}
.field input:focus,.field select:focus,.field textarea:focus{outline:2px solid #c8e5fa;border-color:#70b6e9;box-shadow:none}
.modal-actions{border-color:#eee7db;gap:14px}
.modal-actions>span{color:#615d59;font-size:11px}
.soft-note{background:#f7f6f2;border:1px solid #eae3d6;color:#615d59;border-radius:6px;font-size:12px;line-height:1.8}
.soft-note>svg{color:#615d59}
.auth-switch,.auth-switch button,.check-label{font-size:12px;color:#615d59}
.auth-switch button{color:#0075de}
.form-error{background:#fff5f4;color:#b42318;border:1px solid #f4cfca;font-size:12px;border-radius:6px}
.wizard h3{color:#37352f;font-size:24px;font-weight:600;letter-spacing:-.6px}
.wizard-icon{background:#f5f4ef;color:#615d59;border-radius:8px}
.step-track>div{font-size:10px;letter-spacing:0;color:#757575}
.step-track>div.active{color:#0075de}
.step-track>div>span{background:#f2eee5;color:#757575;border-radius:50%}
.step-track>div.active>span{color:#fff;background:#0075de}
.group-preview{border-radius:8px}
.group-preview>span{border-radius:6px}
.group-preview strong{color:#615d59;font-weight:500}
.group-preview small{color:#615d59;font-size:11px}
.swatches button{box-shadow:none;border-radius:5px}
.emoji-row button{border-radius:5px;background:#f7f5ef}
.emoji-row button.selected{background:#e6f3fe;border-color:#0075de}
.setup-summary{background:#f8f6ef;border-color:#e8dfcf;border-radius:8px}
.setup-summary span{color:#615d59}.setup-summary strong{color:#615d59}
.recovery-code{background:#f6f5f0;border-color:#e6deca;color:#615d59;border-radius:6px}
.booking-preview{background:#f6f8f9;border-color:#dce6ec;border-radius:8px;color:#615d59}
.booking-preview h3{color:#615d59;font-size:17px}.booking-preview p{color:#757575;font-size:12px}
.import-steps{border-color:#e6e2d9}
.import-steps>span{font-size:11px;color:#757575}
.import-steps>span.active{color:#0075de}
.import-steps i{background:#f1eee7;color:#757575;border-radius:5px}
.import-steps>span.active i{background:#0075de;color:#fff}
.upload-zone{background:#faf9f6;border:1px dashed #cfc5b3;border-radius:8px}
.upload-zone.dragging{background:#edf6fd;border-color:#0075de}
.upload-icon-stack{color:#615d59}
.upload-icon-stack>span{background:#fff;border-color:#ddd3bf;border-radius:6px}
.upload-zone h3,.import-intro h3{font-size:24px;letter-spacing:-.6px;color:#615d59}
.upload-zone p,.upload-zone>small,.import-intro p,.import-privacy p,.ocr-details p,.review-confirm,.coverage-check small,.slot-timing-settings p{color:#615d59;font-size:12px}
.upload-zone>small{font-size:11px}
.import-privacy svg{color:#615d59}
.import-intro .eyebrow{font-size:9px;letter-spacing:.6px;color:#757575}
.lesson-editor,.lesson-editor-heading,.timetable-reference,.teacher-rule,.planner-range,.ocr-details,.import-date-preview{border-color:#e3dac9;border-radius:8px}
.lesson-editor-heading,.planner-range,.ocr-details,.timetable-reference{background:#f9f7f2}
.lesson-editor-heading{color:#615d59;font-size:12px}
.lesson-row label>span{color:#757575;font-size:10px}
.lesson-index{color:#757575}
.lesson-row input,.lesson-row select,.ocr-details textarea{color:#615d59;border-color:#d9cbaa;background:#fff;border-radius:5px}
.lesson-row{border-color:#ebe2ce}
.teacher-rule-title>label{color:#615d59;font-size:14px}
.teacher-rule-title>span{color:#615d59;font-size:11px}
.rule-fields .field>span:first-child{color:#615d59;font-size:12px}
.coverage-check strong,.ocr-details summary,.slot-timing-settings summary{color:#615d59;font-size:12px}
.review-confirm{background:#f8f5ed;border-color:#e6dcc4;border-radius:6px}
.plan-summary-strip{background:#f5f7f8;border-color:#dce4e9;color:#615d59;border-radius:8px;box-shadow:none}
.plan-summary-strip strong{font-size:24px;font-weight:500}
.plan-summary-strip small{color:#757575}
.plan-warning{color:#615d59;background:#fff8e9;border-color:#eedeae;border-radius:6px}
.capacity-pill{background:#f4efe2;color:#615d59;border-radius:4px}
.qr-invite{background:#faf9f5;border-color:#e7dfce;border-radius:8px}
.qr-copy .eyebrow{color:#757575;font-size:8px;letter-spacing:.6px}
.qr-copy h3{color:#615d59;font-size:22px;font-weight:600}
.qr-copy>p{color:#615d59;font-size:12px}
.qr-copy>small{color:#757575;font-size:11px}
.qr-corner{border-color:#b7a37c}
.calendar-event-preview{background:#f5f8fa;border-color:#dce6ed;border-radius:8px}
.calendar-event-preview h3{color:#615d59;font-size:18px;font-weight:500}
.calendar-event-preview p,.calendar-event-preview small{color:#757575;font-size:12px}
.calendar-save-hint{color:#7993a8!important;font-size:11px!important}
.help-content h3{font-size:17px;color:#615d59;font-weight:500}
.help-content section p{font-size:13px;color:#615d59}
.teacher-shell{background:#f6f5f4;min-height:100dvh}
.teacher-shell>header{border-color:#ded7c9}
.teacher-title h1{font-size:36px;letter-spacing:-1px;font-weight:600;color:#37352f}
.teacher-title p{font-size:14px;color:#615d59}
.teacher-toolbar{border-color:#e2d8c6;color:#615d59}
.teacher-toolbar select{color:#615d59;border-color:#e1d3b5;background:#fff;border-radius:5px}
.teacher-toolbar>span,.teacher-footer{font-size:11px;color:#615d59}
.schedule-table th{font-size:11px;font-weight:500;color:#615d59;background:#f8f5ed;border-color:#e7dcc6}
.schedule-table td{font-size:13px;color:#615d59;border-color:#ebe1cf}
.order-number{color:#757575;background:#f5efdf;border-radius:4px}
.loading-screen{background:#f6f5f4}.loading-screen>p{color:#757575;font-size:13px}
.launch-track{border-color:#e0ded8}.launch-grid .launch-symbol{background:#111;box-shadow:none;border-radius:8px}
.launch-subject{background:#efeeea;border-color:#d9d5cb;color:#615d59;border-radius:5px}.launch-progress{background:#e6e3dc}.launch-progress span{background:#0075de}
.launch-grid{position:relative;width:240px;height:160px;isolation:isolate}.launch-grid .launch-symbol{position:absolute;left:91px;top:46px;width:58px;height:58px;display:grid;place-items:center;z-index:2;animation:logoSettle 3s ease-in-out infinite}.launch-track{position:absolute;left:15px;right:15px;top:67px;height:20px;border-top:1px solid #deddd8;border-bottom:1px solid #deddd8}.launch-subject{position:absolute;left:12px;top:59px;width:36px;height:36px;display:grid;place-items:center;border:1px solid #d9d5cb;font-size:13px;animation:launchQueue 3s calc(var(--i) * -1s) ease-in-out infinite}.launch-progress{position:absolute;left:91px;top:128px;width:58px;height:3px;border-radius:3px;overflow:hidden}.launch-progress span{display:block;width:32%;height:100%;animation:loadSweep 1.5s ease-in-out infinite}
@keyframes logoSettle{0%,100%{transform:translateY(0)}50%{transform:translateY(-3px)}}
@keyframes launchQueue{0%{transform:translateX(0) scale(.85);opacity:0}15%{opacity:1}42%{transform:translateX(66px) scale(.95);opacity:1}60%{transform:translateX(122px) scale(.95);opacity:1}85%,100%{transform:translateX(183px) scale(.85);opacity:0}}
@keyframes loadSweep{0%{transform:translateX(-100%)}100%{transform:translateX(320%)}}
@keyframes pageAppear{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}
@keyframes dialogAppear{from{opacity:0;transform:translateY(8px) scale(.99)}to{opacity:1;transform:translateY(0) scale(1)}}

@media(min-width:1500px){.main-content{padding:44px 55px 0}.dashboard-columns{grid-template-columns:minmax(0,1fr) 245px;gap:45px}.app-header{padding:0 45px}}
@media(max-width:1150px){.main-content{padding:33px 30px 0}.sidebar{width:208px}.workspace{margin-left:208px}.dashboard-columns{grid-template-columns:minmax(0,1fr) 190px;gap:25px}.class-directory-head,.class-row{gap:10px;grid-template-columns:minmax(130px,1.5fr) 92px 63px 12px}.class-row-subject{gap:9px}.class-row-subject strong{font-size:12px}.class-row-subject>.subject-icon{width:28px;height:30px;font-size:14px}.workspace-summary{gap:15px}.workspace-summary>button{margin-left:0}}
@media(max-width:930px){.sidebar{width:190px;padding-left:10px;padding-right:10px}.workspace{margin-left:190px}.sidebar .brand{font-size:23px}.main-content{padding:30px 28px 0}.dashboard-columns{grid-template-columns:1fr;gap:28px}.side-column{display:grid;grid-template-columns:1fr 1fr;gap:24px;padding:0}.activity-card{padding:0 4px}.swap-highlight{max-width:none}.class-directory-head,.class-row{grid-template-columns:minmax(150px,1.6fr) 120px 82px 14px;gap:15px}.class-row-subject strong{font-size:13px}.workspace-summary{gap:19px}.product-preview{grid-template-columns:150px minmax(0,1fr)}}
@media(max-width:700px){.product-preview{display:block;border-radius:9px;min-height:0}
.sidebar{width:246px;padding:24px 15px 0;background:#f6f5f4;box-shadow:0 2px 8px #17212a14}.sidebar nav>button{font-size:13px;padding:10px 11px}.sidebar .brand{font-size:25px}.sidebar .group-switch{padding:7px 8px}.sidebar .group-switch select{font-size:13px}.sidebar .group-switch small{font-size:10px}.group-symbol{width:28px;height:28px;font-size:18px}.sidebar-import{font-size:12px;padding:11px 10px}.workspace{margin-left:0}.app-header{height:55px;padding:0 17px;background:#fffffff5}.app-header>div{gap:8px}.breadcrumb,.app-header strong{font-size:11px}.main-content{padding:29px 23px 0}.page-title{margin-bottom:25px;align-items:flex-end;gap:14px;flex-wrap:wrap}.page-title h1{font-size:31px;letter-spacing:-1px;line-height:1.2}.page-title p{font-size:12px;margin-top:9px}.workspace-page-icon{margin-bottom:16px}.workspace-page-icon svg{width:30px;height:30px}.page-title>.btn{font-size:11px;gap:7px;min-height:36px;margin:0;padding:8px 12px}.page-title>.action-row{justify-content:flex-start;margin-top:0}.page-title>.action-row .btn{font-size:11px;min-height:37px;padding:9px 11px}.workspace-summary{gap:11px 17px;padding-bottom:22px;margin-bottom:23px;font-size:11px}.workspace-summary>button{font-size:11px;margin-left:0}.workspace-summary svg{width:13px}.smart-import-banner{padding:16px;gap:12px;margin-bottom:29px}.smart-import-banner strong{font-size:13px}.smart-import-banner small{font-size:11px;max-width:245px}.smart-import-icon{width:32px;height:34px}.import-banner-arrow{width:14px}.dashboard-columns{gap:29px}.section-heading h2{font-size:16px}.section-heading .text-link{font-size:11px}.class-directory-head,.class-row{grid-template-columns:minmax(115px,1.5fr) minmax(74px,1fr) 61px;gap:10px;padding-left:1px;padding-right:1px}.class-directory-head>span:last-child,.class-row>svg{display:none}.class-directory-head{font-size:9px}.class-row{min-height:81px}.class-row-subject{gap:8px}.class-row-subject>.subject-icon{width:28px;height:30px;font-size:14px}.class-row-subject strong{font-size:12px}.class-row-subject small{font-size:9px}.class-row-date{font-size:10px}.class-row-date small{font-size:9px}.class-row-availability{font-size:9px;gap:4px}.upcoming-heading{margin-top:29px}.upcoming-item{padding:15px}.upcoming-item>div:nth-child(2)>strong{font-size:13px}.upcoming-item small{font-size:10px}.side-column{grid-template-columns:1fr 1fr;gap:20px}.swap-highlight{padding:20px 17px}.swap-highlight h3{font-size:15px}.swap-highlight p{font-size:11px}.swap-highlight>button{font-size:10px}.activity-card{padding-top:2px}.activity-item p{font-size:11px}.activity-item small{font-size:9px}.workspace-footer{font-size:9px;gap:15px;margin-top:31px}.workspace-footer>span{max-width:none}.class-tabs{gap:18px;margin-bottom:20px}.class-tabs>button{font-size:12px;padding:10px 0 12px}.schedule-head{padding:19px;gap:16px}.subject-heading h2{font-size:22px}.subject-heading p{font-size:11px}.subject-icon.large{height:40px;width:40px;font-size:22px}.date-grid{grid-template-columns:1fr;gap:17px}.date-card{padding:21px}.date-card-header h3{font-size:22px}.date-card-header .eyebrow{font-size:11px}.date-capacity{font-size:11px}.slot{padding:13px 11px;min-height:65px}.slot-name{font-size:13px}.slot-name small{font-size:11px}.slot-number{font-size:11px}.slot .avatar.small{width:30px;height:30px;font-size:10px}.empty-avatar{width:30px;height:30px}.your-tag{font-size:10px}.search-field input{font-size:16px}.schedule-footnote,.schedule-footnote>span{font-size:10px}.swap-explainer strong{font-size:13px}.swap-explainer p{font-size:12px}.swap-card{padding:22px}.swap-card-footer .btn{font-size:12px}.share-card{padding:25px}.share-card h2{font-size:23px}.share-card>p{font-size:13px}.settings-form{padding:24px}.modal-head h2{font-size:21px}.field input,.field textarea,.field select{font-size:16px;min-height:44px}.field small{font-size:11px}.field>span:first-child{font-size:12px}.modal-form>p,.wizard>p{font-size:13px}.import-steps>span{font-size:9px}.upload-zone h3,.import-intro h3{font-size:22px}.rule-fields input,.rule-fields select,.lesson-row input,.lesson-row select{font-size:16px!important}.import-intro .eyebrow{font-size:8px}.teacher-rule-title>label{font-size:14px}.teacher-rule-title>span{font-size:10px}.qr-copy .eyebrow{font-size:8px}.teacher-title h1{font-size:31px}.teacher-toolbar>span{font-size:11px}.teacher-class .subject-heading p{font-size:11px}.teacher-class .pill{font-size:10px}.teacher-footer{font-size:11px}.first-group{padding:35px 0}.first-group h1{font-size:31px}.first-group p{font-size:13px}
}
@media(max-width:390px){.main-content{padding:26px 18px 0}.page-title h1{font-size:29px}.side-column{grid-template-columns:1fr}.activity-card{padding-top:6px}.smart-import-icon{display:none}.class-row-subject>.subject-icon{width:25px;height:27px;font-size:13px}.class-directory-head,.class-row{grid-template-columns:minmax(112px,1.6fr) 75px 59px;gap:8px}.import-steps>span{font-size:8px}}
@media(prefers-reduced-motion:reduce){.product-preview,.date-card,.modal{animation:none}.launch-subject{animation:none;opacity:1;transform:translateX(calc(var(--i) * 93px))}.launch-subject:nth-of-type(2){opacity:0}.launch-symbol{animation:none}.launch-progress span{animation:none;width:100%}}
}

/* Timetable import preview retains its existing layout. */

@media screen {
.preview-session-name>strong{color:#615d59;font-size:14px}
}
@media screen {
.preview-session-name>small{color:#615d59;font-size:11px}
}
@media screen {
.preview-counter{background:#e6f3fe;border-color:#cde3f5;color:#757575;border-radius:6px}
}
@media screen {
.preview-counter strong{font-weight:500}
}
@media screen {
.preview-date{background:#f7f6f0;border-color:#ddd3ba;color:#615d59;border-radius:5px}
}
@media screen {
.preview-date strong{font-weight:500}
}
@media screen {
@media(max-width:700px){.preview-session-name>strong{font-size:13px}
}
}
@media screen {
@media(max-width:700px){.preview-session-name>small{font-size:11px}
}
}
/* Calendar follows the project's Refero-derived neutral surfaces and blue controls. */
.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}
@media screen {
.schedule-display-tabs{display:flex;align-items:center;gap:24px;border-bottom:1px solid #e9e8e5;margin:0 0 24px}
.schedule-display-tabs>button{display:flex;align-items:center;gap:7px;padding:0 0 13px;border-bottom:2px solid transparent;font-size:13px;color:#757575;margin-bottom:-1px}
.schedule-display-tabs>button.active{color:#37352f;border-bottom-color:#37352f}
.assessment-calendar{min-width:0;color:#37352f}
.cal-toolbar,.cal-period,.cal-arrows,.cal-filters,.cal-filter-actions{display:flex;align-items:center;gap:10px}
.cal-toolbar{justify-content:space-between;gap:16px;margin-bottom:17px;flex-wrap:wrap}
.cal-period{gap:12px;flex-wrap:wrap}
.cal-period h2{font-size:21px;letter-spacing:-.65px;line-height:1.4;color:#37352f;margin:0}
.cal-period>.btn{min-height:32px;padding:5px 10px;font-size:12px}
.cal-arrows{gap:2px;margin-left:-7px}
.cal-arrows>.icon-button{width:29px;height:32px}
.cal-view-switch{display:flex;padding:3px;background:#f5f5f3;border:1px solid #ececea;border-radius:7px;gap:2px}
.cal-view-switch button{padding:5px 12px;border-radius:4px;font-size:12px;color:#757575}
.cal-view-switch button.active{background:#fff;color:#37352f;box-shadow:0 1px 3px #0000000c}
.cal-filters{flex-wrap:wrap;padding-bottom:18px;gap:10px}
.cal-subject-select{max-width:210px;min-width:135px}
.cal-subject-select select{display:block;max-width:100%;min-height:35px;border:1px solid #e5e4e1;background:#fff;border-radius:6px;padding:7px 25px 7px 10px;font-family:inherit;font-size:12px;color:#37352f}
.cal-date-jump{display:flex;align-items:center;gap:6px;border:1px solid #e5e4e1;border-radius:6px;padding:4px 8px;color:#757575;min-height:35px}
.cal-date-jump input{font-family:inherit;font-size:12px;color:#615d59;background:transparent;border:0;min-width:0;max-width:119px;padding:0}
.cal-filter-actions{margin-left:auto;flex-wrap:wrap;gap:7px}
.cal-filter-actions .btn{min-height:35px;padding:7px 10px;font-size:12px}
.cal-check{display:flex;align-items:center;gap:7px;font-size:12px;color:#615d59;cursor:pointer;min-height:32px}
.cal-check input{accent-color:#0075de;width:15px;height:15px;flex-shrink:0;cursor:pointer}
.cal-check:has(input:disabled){opacity:.55;cursor:default}
.cal-content{border:1px solid #e6e5e2;border-radius:9px;background:#fff;overflow:hidden;animation:calendarEnter .2s ease both}
.cal-week-table{width:100%;table-layout:fixed;border-collapse:collapse;vertical-align:top}
.cal-week-table th,.cal-week-table td{border-bottom:1px solid #eae9e6;border-right:1px solid #eae9e6;vertical-align:top}
.cal-week-table tr>:last-child{border-right:0}.cal-week-table tbody tr:last-child>*{border-bottom:0}
.cal-week-table th{font-weight:400;text-align:center;background:#fcfcfb}
.cal-week-table thead th{height:78px;padding:10px 5px 11px}
.cal-week-table .cal-time-heading,.cal-week-table .cal-time-label{width:56px;font-size:10px;color:#757575;padding:16px 5px;background:#fcfcfb;font-variant-numeric:tabular-nums}
.cal-week-table .cal-time-heading{vertical-align:bottom;padding-bottom:14px;text-transform:uppercase;letter-spacing:.5px}
.cal-week-table th>button{display:flex;flex-direction:column;gap:5px;align-items:center;margin:auto;color:#615d59;width:100%;font-size:10px}
.cal-week-table th>button>strong{font-size:21px;font-weight:500;width:33px;height:33px;display:grid;place-items:center;border-radius:50%;color:#37352f;line-height:1}
.cal-week-table th.cal-today>button>strong{background:#0075de;color:#fff}
.cal-week-table td{padding:7px 5px 6px;height:150px}
.cal-week-table td.cal-today{background:#f8fbfe}
.cal-cell-events{display:grid;gap:7px}
.cal-event{display:block;width:100%;text-align:left;border:1px solid #e6e5e2;border-left:3px solid var(--subject,#0075de);background:#fafaf9;border-radius:5px;padding:9px 7px;color:#37352f;min-width:0;cursor:pointer;transition:background .15s,border-color .15s}
.cal-event:hover{background:#f1f3f5;border-color:#b8c8d4;border-left-color:var(--subject)}
.cal-event:focus-visible{position:relative;z-index:2;outline-offset:1px}
.cal-event-time{display:flex;align-items:center;gap:5px;flex-wrap:wrap;font-size:10px;font-weight:500;color:#615d59;font-variant-numeric:tabular-nums;line-height:1.4}
.cal-event-time>span{background:#dceefd;color:#0065be;border-radius:3px;padding:0 4px;font-size:9px;line-height:1.5}
.cal-event>strong{display:block;font-size:12px;font-weight:600;line-height:1.35;letter-spacing:-.2px;margin:6px 0 3px;overflow-wrap:anywhere}
.cal-event-room{display:block;color:#757575;font-size:10px;line-height:1.5;overflow-wrap:anywhere}
.cal-event-students{display:flex;flex-direction:column;gap:5px;border-top:1px solid #0000000c;padding-top:7px;margin-top:8px}
.cal-event-students>span{display:flex;gap:4px;font-size:10px;line-height:1.4;align-items:baseline;overflow-wrap:anywhere}
.cal-event-students>span>i{font-style:normal;color:#8c8983;font-variant-numeric:tabular-nums;flex-shrink:0;font-size:9px}
.cal-event-students>span>span{min-width:0}
.cal-event-students>span>small{font-size:9px;color:#757575;white-space:nowrap;margin-left:auto}
.cal-event-students>.is-you{color:#0065be;font-weight:500}
.cal-event-students>.cal-open-spots{color:#757575;align-items:center;font-size:9px}
.cal-event-students>.cal-event-more{font-size:9px;color:#757575}
.cal-event-mine{background:#f1f8fe;border-color:#d3e5f5;border-left-color:var(--subject)}
.cal-cell-add{display:flex;align-items:center;justify-content:center;min-height:24px;width:100%;margin-top:5px;border-radius:4px;color:#9d9a95;opacity:.25}
.cal-cell-add:hover,.cal-cell-add:focus-visible,.cal-week-table td:hover>.cal-cell-add{opacity:1;background:#00000004;color:#0075de}
.cal-week-mobile{display:none}
.cal-summary{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-top:13px;font-size:11px;color:#757575;line-height:1.6}
.cal-summary strong{font-weight:500;color:#615d59}
.cal-summary>span:last-child{font-size:10px}
.cal-empty-note{display:flex;justify-content:center;align-items:center;gap:15px;padding:18px;font-size:12px;color:#757575;flex-wrap:wrap}
.cal-empty-note button{color:#0075de;display:flex;align-items:center;gap:4px;font-size:12px}
.cal-month-weekdays,.cal-month-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr))}
.cal-month-weekdays{background:#fcfcfb;border-bottom:1px solid #e6e5e2}
.cal-month-weekdays>span{padding:12px;text-align:center;font-size:11px;color:#757575}
.cal-month-cell{min-height:135px;min-width:0;border-right:1px solid #eae9e6;border-bottom:1px solid #eae9e6;padding:8px 5px}
.cal-month-cell:nth-child(7n){border-right:0}.cal-month-cell:nth-last-child(-n+7){border-bottom:0}
.cal-month-cell.outside-month{background:#fafaf9}.cal-month-cell.outside-month .cal-month-date{color:#a3a19a}
.cal-month-date{display:grid;place-items:center;width:26px;height:26px;margin:0 0 7px auto;color:#615d59;font-size:12px;border-radius:50%}
.cal-month-date:hover{background:#efefed;color:#111}
.cal-today>.cal-month-date{background:#0075de;color:#fff}
.cal-month-events{display:grid;gap:4px}
.cal-event-compact{padding:5px 6px;background:#f5f5f3;border-top:0;border-right:0;border-bottom:0;border-radius:3px}
.cal-event-compact>strong{font-size:10px;line-height:1.3;font-weight:500;margin:2px 0 0;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}
.cal-event-compact>.cal-event-time{font-size:9px}
.cal-month-more{font-size:10px;color:#757575;padding:5px 3px 0;text-align:left}
.cal-agenda{padding:22px 25px 25px;min-height:320px}
.cal-agenda-heading{display:flex;justify-content:space-between;gap:12px;margin-bottom:24px;align-items:baseline}
.cal-agenda-heading h3{font-size:17px;color:#37352f}.cal-agenda-heading>span{font-size:11px;color:#757575;white-space:nowrap}
.cal-agenda-row{display:grid;grid-template-columns:57px minmax(0,1fr);align-items:start;gap:15px;padding-bottom:15px}
.cal-agenda-row>time{font-size:12px;color:#757575;padding-top:13px;font-variant-numeric:tabular-nums}
.cal-agenda-row>.cal-event{padding:13px 16px;background:#fcfcfb}
.cal-agenda .cal-event>strong{font-size:15px}.cal-agenda .cal-event-time{font-size:11px}.cal-agenda .cal-event-room{font-size:11px}
.cal-agenda .cal-event-students{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 20px;padding-top:12px;margin-top:11px}
.cal-agenda .cal-event-students>span{font-size:12px}.cal-agenda .cal-event-students>span>i{font-size:11px}.cal-agenda .cal-event-students>span>small{font-size:10px}
.cal-agenda>.btn{margin:4px 0 0 67px}
.cal-quiet{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:9px;padding:40px 15px 50px;color:#929088}
.cal-quiet>strong{font-size:14px;color:#615d59;font-weight:500}.cal-quiet>span{font-size:12px;line-height:1.6}
.session-details{padding:25px 27px;color:#37352f}
.session-detail-title{display:flex;align-items:center;gap:12px}.session-detail-title>div{min-width:0;flex:1}
.session-subject-dot{width:9px;height:34px;border-radius:3px;flex-shrink:0}
.session-detail-title h3{font-size:23px;line-height:1.3;overflow-wrap:anywhere}
.session-detail-title p{font-size:12px;color:#757575;margin-top:6px}
.session-detail-title>.pill{flex-shrink:0}
.session-facts{display:flex;align-items:center;gap:12px 17px;flex-wrap:wrap;padding:19px 0;font-size:12px;color:#615d59}
.session-facts>span{display:flex;gap:6px;align-items:center}
.session-topic{font-size:12px;color:#615d59;line-height:1.6;margin-bottom:20px;padding:12px;background:#fafaf9;border-radius:6px;white-space:pre-wrap}
.session-roster-label{display:flex;align-items:center;justify-content:space-between;gap:12px;border-top:1px solid #e9e8e5;padding:17px 0 10px;font-size:12px}.session-roster-label>span{color:#757575;font-size:11px}
.session-roster{list-style:none;margin:0;padding:0;display:grid;gap:5px}
.session-roster>li>button{display:flex;align-items:center;text-align:left;gap:10px;padding:11px 9px;width:100%;border:1px solid #eae9e6;border-radius:6px;color:#37352f;background:#fff}
.session-roster>li>button:disabled{opacity:1;cursor:default}.session-roster>li>button:not(:disabled):hover{border-color:#b9d3e9;background:#f7fbff}
.session-roster>li>button.is-you{background:#f3f9fe;border-color:#dceaf6}
.session-order{font-size:10px;color:#929088;font-variant-numeric:tabular-nums}
.session-open-avatar{width:27px;height:27px;border:1px dashed #c7c5be;border-radius:50%;display:grid;place-items:center;color:#929088;flex-shrink:0}
.session-student{flex:1;min-width:0}.session-student>strong{display:flex;align-items:center;gap:7px;font-size:12px;font-weight:500;overflow-wrap:anywhere}.session-student>strong>small{font-size:9px;border-radius:3px;background:#deeffe;color:#0065be;padding:1px 4px;font-weight:500}.session-student>span{font-size:10px;color:#757575;margin-top:3px;display:block}
.session-slot-action{display:flex;gap:2px;align-items:center;font-size:10px;color:#757575;white-space:nowrap}
.session-timing-note{font-size:11px;color:#757575;line-height:1.7;margin-top:16px}
.session-detail-actions{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin-top:22px}.session-detail-actions .btn{font-size:11px;padding:9px 10px}
.share-schedule-options{display:flex;flex-wrap:wrap;gap:20px;margin:-6px 0 14px}
.share-session-scope{display:flex;align-items:center;gap:12px;font-size:11px;color:#757575;flex-wrap:wrap;padding-bottom:15px}.share-session-scope button{font-size:11px;color:#0075de}
.share-preview-label{display:flex;justify-content:space-between;align-items:center;font-size:12px;margin-bottom:9px;color:#37352f}.share-preview-label>span{font-size:11px;color:#757575}
.share-schedule>.share-schedule-preview{font-size:12px;line-height:1.65;background:#fafaf9;color:#37352f;border-color:#e4e2de;padding:15px;resize:vertical;min-height:190px;max-height:440px;font-family:inherit;white-space:pre-wrap}
.share-schedule-primary{display:flex;gap:8px;flex-wrap:wrap;margin-top:17px}.share-schedule-primary .btn{font-size:12px;padding:9px 12px}
.share-compose-links{display:flex;align-items:center;gap:18px;flex-wrap:wrap;border-top:1px solid #ecebe8;padding-top:17px;margin-top:20px}
.share-compose-links>a{display:flex;align-items:center;gap:6px;font-size:12px;color:#615d59}.share-compose-links>a:hover{color:#0075de}.share-compose-links>span{font-size:10px;color:#757575}
.share-schedule>.share-schedule-status{font-size:11px;color:#615d59;line-height:1.7;margin:15px 0 0}
.share-schedule>.share-snapshot-note{font-size:10px;color:#757575;line-height:1.7;margin:10px 0 0}
@keyframes calendarEnter{from{opacity:.35;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:1120px){
  .cal-week-desktop{display:none}.cal-week-mobile{display:block}
  .cal-day-strip{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px;padding:12px;border-bottom:1px solid #eae9e6;background:#fcfcfb}
  .cal-day-strip>button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;padding:9px 2px 6px;border-radius:6px;font-size:10px;color:#757575;border:1px solid transparent}
  .cal-day-strip>button>strong{font-size:20px;color:#37352f;font-weight:500}.cal-day-strip>button>i{width:4px;height:4px;border-radius:50%;background:transparent}.cal-day-strip>button>i.has-sessions{background:#929088}
  .cal-day-strip>button.selected{background:#eaf4fd;border-color:#d4e6f6}.cal-day-strip>button.selected>strong,.cal-day-strip>button.selected>span{color:#0065be}.cal-day-strip>button.is-today>strong{color:#0075de}.cal-day-strip>button.selected>i.has-sessions{background:#0075de}
  .cal-toolbar{gap:12px}.cal-period h2{font-size:19px}.cal-month-cell{min-height:119px}
}
@media(max-width:600px){
  .schedule-display-tabs{margin-bottom:20px;gap:22px}.schedule-display-tabs>button{font-size:12px}
  .cal-toolbar{align-items:flex-start;margin-bottom:14px}.cal-period{gap:7px;width:100%}.cal-period h2{font-size:17px;letter-spacing:-.4px;flex:1}.cal-period>.btn{min-height:30px;padding:5px 8px;font-size:11px}.cal-arrows{gap:0;margin-left:-6px}.cal-arrows>.icon-button{width:25px}
  .cal-view-switch{width:100%}.cal-view-switch button{flex:1;padding:6px 9px}
  .cal-filters{gap:9px}.cal-subject-select{min-width:0;max-width:none;flex:1}.cal-subject-select select{width:100%;font-size:12px}.cal-date-jump{padding:4px 7px}.cal-date-jump input{font-size:11px;max-width:108px}.cal-filter-actions{width:100%;margin-left:0;justify-content:flex-end}.cal-filter-actions .btn{font-size:11px}.cal-filters>.cal-check{width:100%}
  .cal-month-weekdays>span{font-size:9px;padding:10px 1px}.cal-month-cell{min-height:102px;padding:5px 2px}.cal-month-date{width:22px;height:22px;font-size:11px;margin:0 auto 5px}.cal-event-compact{padding:4px 2px;border-left-width:2px}.cal-event-compact>strong{font-size:8px}.cal-event-compact>.cal-event-time{font-size:8px;gap:2px}.cal-event-compact .cal-event-time>svg{display:none}.cal-event-time>span{font-size:8px;padding:0 2px}.cal-month-more{font-size:8px;padding:4px 1px 0}
  .cal-day-strip{gap:2px;padding:8px 6px}.cal-day-strip>button{font-size:9px}.cal-day-strip>button>strong{font-size:19px}
  .cal-agenda{padding:20px 12px;min-height:280px}.cal-agenda-heading{margin-bottom:20px;gap:8px}.cal-agenda-heading h3{font-size:15px}.cal-agenda-heading>span{font-size:10px}.cal-agenda-row{grid-template-columns:38px minmax(0,1fr);gap:9px}.cal-agenda-row>time{font-size:10px}.cal-agenda-row>.cal-event{padding:12px 10px}.cal-agenda .cal-event>strong{font-size:14px}.cal-agenda .cal-event-students{grid-template-columns:1fr;gap:7px}.cal-agenda .cal-event-students>span{font-size:11px}.cal-agenda>.btn{margin-left:38px;font-size:11px}.cal-summary{gap:4px;font-size:10px}.cal-summary>span:last-child{font-size:9px}
  .session-details{padding:21px 19px}.session-detail-title h3{font-size:21px}.session-detail-title p{font-size:11px}.session-facts{font-size:11px}.session-roster>li>button{gap:8px;padding:10px 7px}.session-slot-action{font-size:9px}.session-student>strong{font-size:11px}
  .share-schedule-options{gap:8px 20px}.share-schedule-primary .btn{font-size:11px;padding:9px 10px}.share-compose-links{gap:13px}.share-compose-links>span{width:100%}.share-schedule>.share-schedule-preview{font-size:11px;padding:12px}
}
@media(prefers-reduced-motion:reduce){.cal-content{animation:none}.cal-event{transition:none}}
}

/* A quieter layout: clear sections, descriptive labels, and readable schedules. */
@media screen {
  .main-content{padding-bottom:28px}
  .page-title p{max-width:660px;font-size:14px}
  .product-preview{display:block;box-shadow:none;border-radius:8px}
  .workspace-guide{border-top:1px solid #deddd8;border-bottom:1px solid #deddd8;padding:24px 0;margin:0 0 32px;display:flex;gap:24px;align-items:center;justify-content:space-between}
  .workspace-summary{border-bottom:0;padding-bottom:0;margin-bottom:20px}
  .workspace-guide>div{min-width:0;max-width:730px}
  .workspace-guide .guide-label{color:#0065be;font-size:10px;letter-spacing:1px;font-weight:600}
  .workspace-guide h2{font-size:22px;line-height:1.3;margin:7px 0}
  .workspace-guide p{font-size:14px;color:#615d59;line-height:1.6}
  .workspace-guide>.btn{flex-shrink:0}
  .setup-progress{display:flex;gap:20px;list-style:none;padding:0;margin:16px 0 0;flex-wrap:wrap;font-size:12px;color:#77736b}
  .setup-progress .current{color:#0065be;font-weight:600}.setup-progress .complete{color:#387246}
  .dashboard-columns{display:block}
  .dashboard-columns .side-column{padding-top:25px}
  .activity-disclosure{border-top:1px solid #e5e4e0;padding:18px 0}
  .activity-disclosure summary{cursor:pointer;font-weight:500;font-size:14px;color:#37352f}
  .activity-disclosure summary>span{font-weight:400;color:#77736b;font-size:12px;margin-left:10px}
  .activity-disclosure .activity-item{padding:14px 0;border-bottom:1px solid #eee}
  .class-row-subject strong{font-size:14px}.class-row-subject small,.class-row-date small,.class-row-availability,.class-directory-head{font-size:12px}.class-row-date{font-size:13px}
  .class-directory-head,.class-row{grid-template-columns:minmax(160px,1.5fr) minmax(130px,1fr) 100px 16px}
  .upcoming-list{border:0;border-radius:0;border-top:1px solid #e5e4e0}
  .upcoming-item{padding:18px 0;gap:16px}
  .upcoming-names{flex:1;max-width:50%;text-align:right;line-height:1.6;font-size:13px;color:#37352f;overflow-wrap:anywhere}
  .upcoming-names small{display:block;color:#77736b}
  .calendar-reading-guide{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin:4px 0 18px}
  .calendar-reading-guide p{margin:0;max-width:630px;font-size:13px;line-height:1.6;color:#615d59}
  .calendar-reading-guide p strong{display:block;color:#37352f;font-size:14px;margin-bottom:3px}
  .calendar-key{display:flex;gap:7px 14px;flex-wrap:wrap;justify-content:flex-end;max-width:260px;color:#615d59;font-size:11px;padding-top:2px}
  .calendar-key>span{display:flex;align-items:center;gap:5px}
  .calendar-key i{width:7px;height:7px;border-radius:50%;display:inline-block}.key-open{background:#54805f}.key-mine{background:#0075de}
  .cal-subject-select,.cal-date-jump{display:flex;flex-direction:column;align-items:stretch;gap:5px}
  .filter-label{font-size:11px;font-weight:500;color:#615d59}
  .cal-date-jump{border:0;padding:0}.cal-date-jump input{padding:7px 8px;border:1px solid #e5e4e1;border-radius:6px;min-height:35px;max-width:145px;background:#fff}
  .cal-filters{align-items:flex-end}.cal-check{margin-bottom:2px}
  .cal-event{border-top:0;border-right:0;border-bottom:0;border-radius:2px;background:#f4f5f3;padding:10px 8px}
  .cal-event-time,.cal-event-room{font-size:11px}.cal-event>strong{font-size:13px}
  .cal-event-students>span{font-size:12px}.cal-event-students>.cal-open-spots{font-size:11px;color:#3b7148}
  .cal-event-compact>strong{white-space:normal;overflow-wrap:anywhere}.cal-compact-detail{display:block;font-size:11px;line-height:1.5;color:#615d59;overflow-wrap:anywhere;margin-top:4px}
  .cal-compact-detail small{display:block;font-size:10px;color:#3b7148;margin-top:3px}
  .share-grid{display:block}
  .share-card,.print-card,.settings-form.card{background:transparent;border:0;border-radius:0;box-shadow:none;border-top:1px solid #dddcd7;padding:26px 0;margin:0}
  .share-card{max-width:820px}.share-card p{max-width:650px;line-height:1.7;font-size:14px}.share-card-icon{display:none}
  .share-card h2,.print-card h2{font-size:22px}.share-card .link-box{max-width:630px}.share-card .group-code{max-width:350px}
  .teacher-share-explanation{padding:0 0 12px}.teacher-share-explanation strong{color:#37352f}
  .swap-explainer{background:transparent;border:0;border-radius:0;padding:4px 0 24px;border-bottom:1px solid #dddcd7}
  .swap-cards{display:block}.swap-card{border:0;border-radius:0;box-shadow:none;background:transparent;border-bottom:1px solid #dddcd7;padding:24px 0;max-width:850px}
  .swap-card .swap-route{background:#f7f7f5;border-radius:4px}
  .session-facts{background:transparent;border-radius:0;padding-left:0;padding-right:0}
  .session-roster{border-radius:0}.session-roster button{border-radius:0}
  @media(max-width:900px){.calendar-reading-guide{display:block}.calendar-key{justify-content:flex-start;max-width:none;margin-top:10px}.workspace-guide{align-items:flex-start}.cal-filter-actions{margin-left:0}}
  @media(max-width:640px){.workspace-guide{flex-direction:column;gap:16px;padding:20px 0}.workspace-guide h2{font-size:21px}.workspace-guide p{font-size:13px}.setup-progress{gap:10px 16px}.class-directory-head{display:none}.class-row{grid-template-columns:minmax(0,1fr) 100px 16px;gap:10px}.class-row-subject{grid-column:1;grid-row:1 / 3}.class-row-date{grid-column:2;grid-row:1}.class-row-availability{grid-column:2;grid-row:2}.class-row>svg{display:block;grid-column:3;grid-row:1 / 3}.class-row-subject strong,.class-row-subject small{white-space:normal;overflow:visible}.upcoming-item{display:grid;grid-template-columns:38px 1fr 16px}.upcoming-names{grid-column:2;max-width:none;text-align:left;font-size:12px}.upcoming-item>svg{grid-column:3;grid-row:1 / 3}.cal-compact-detail{font-size:9px}.cal-compact-detail small{font-size:9px}.cal-month-cell{padding:5px 2px}.cal-event-compact{padding:6px 3px}.cal-event-compact>strong{font-size:10px}.cal-event-compact .cal-event-time{font-size:9px}.print-card{flex-wrap:wrap;gap:16px}.print-illustration{display:none}.share-card .action-row{flex-wrap:wrap}}
}

@media screen {
  html{scroll-padding-top:80px}body{overflow-wrap:break-word}.app-main,.main-column,.teacher-shell main,.page-title>div,.cal-period,.share-schedule{min-width:0}
  .export-options{border-top:1px solid #dce2e7;margin-top:24px;padding-top:18px}.export-options summary{font-weight:650;cursor:pointer;padding:12px 0}.export-option{display:flex;align-items:center;gap:20px;justify-content:space-between;padding:16px 0;border-bottom:1px solid #e5e9ec}.export-option p{margin:4px 0 0!important;font-size:13px;line-height:1.55;color:#53616d}.export-option>.btn{flex-shrink:0}.share-schedule .share-preview-label{flex-wrap:wrap;gap:8px}.share-schedule-preview{line-height:1.65!important}.share-card.teacher-share>.btn{margin:12px 0}
  button,a,input,select,textarea{touch-action:manipulation}button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid #0075de;outline-offset:3px}.btn{white-space:normal}.link-box input{min-width:0}.teacher-toolbar{flex-wrap:wrap;gap:12px}.teacher-toolbar select{max-width:100%}.teacher-title{gap:16px}.schedule-table th{white-space:nowrap}.schedule-table td{min-width:85px}.schedule-table .student-cell{min-width:150px}
  @media(min-width:641px) and (max-width:1100px){.page-title{flex-wrap:wrap;gap:16px}.page-title .action-row{flex-wrap:wrap}.modal.wide{max-width:calc(100vw - 48px)}.cal-filters{flex-wrap:wrap}.class-directory-head,.class-row{grid-template-columns:minmax(170px,1.5fr) minmax(110px,1fr) minmax(90px,.7fr) 20px}}
  @media(max-width:640px){
    input,select,textarea{font-size:16px!important}.btn,.icon-button,.cal-view-switch button,.filter-toggle,.cal-month-date{min-height:44px}.icon-button{min-width:44px}.cal-arrows>.icon-button{width:44px}.cal-period{flex-wrap:wrap}.cal-period h2{font-size:18px;min-width:150px}.cal-period>.btn{min-height:44px;font-size:13px}.cal-view-switch button{font-size:14px}.cal-filters{align-items:stretch}.cal-date-jump{min-height:44px;flex:1}.cal-date-jump input{max-width:none;width:100%}.cal-filter-actions{flex-wrap:wrap}.cal-filter-actions .btn{flex:1;font-size:13px}.cal-subject-select{flex-basis:100%}
    .modal{width:calc(100vw - 20px)!important;max-height:calc(100dvh - 24px);margin:auto;border-radius:8px}.modal-form,.session-details{padding:20px!important}.modal-actions{flex-wrap:wrap;gap:12px}.modal-actions>.btn{flex:1}.two-col{grid-template-columns:1fr!important}.page-title,.teacher-title{flex-direction:column;align-items:flex-start}.page-title .action-row,.teacher-title .action-row{width:100%;flex-wrap:wrap}.action-row .btn{flex:1;min-width:120px}.page-title h1{font-size:28px}.teacher-shell main{padding:20px 14px}.table-scroll{overflow:auto;-webkit-overflow-scrolling:touch}.teacher-toolbar label{width:100%;display:grid;gap:8px}.teacher-toolbar select{width:100%}
    .cal-agenda-row{grid-template-columns:45px minmax(0,1fr)}.cal-agenda-row>time,.cal-agenda .cal-event-students>span{font-size:13px}.cal-agenda .cal-event>strong{font-size:16px}.cal-event-room{font-size:12px}.session-student>strong{font-size:15px}.session-slot-action{font-size:12px}.session-roster>li>button{min-height:62px}.cal-check{min-height:44px;font-size:14px}.cal-check input{width:18px;height:18px}.share-schedule-primary{display:flex;flex-direction:column}.share-schedule-primary .btn{font-size:14px;width:100%}.export-option{align-items:flex-start;gap:12px}.export-option p{font-size:13px}.export-option>.btn{min-width:88px}.share-schedule-preview{font-size:14px!important}.workspace-guide h2{font-size:22px}.workspace-guide p{font-size:15px;line-height:1.6}
    .cal-month-grid{min-width:650px}.cal-content{overflow-x:auto}.cal-month-weekdays{min-width:650px}.cal-month-cell{padding:7px;min-height:125px}.cal-event-compact>strong,.cal-event-compact>.cal-event-time,.cal-compact-detail{font-size:11px!important}.cal-month-date{width:100%}.cal-month-more{font-size:12px}.cal-month-weekdays>span{font-size:12px}.cal-summary{font-size:12px}.cal-summary>span:last-child{font-size:11px}.step-track{gap:8px;font-size:11px}.recovery-code{overflow-wrap:anywhere;word-break:break-all}
  }
}
@media screen{
 .sharing-simple{max-width:800px}.sharing-destination{display:grid;grid-template-columns:32px minmax(0,1fr) auto;align-items:center;gap:22px;padding:32px 0;border-bottom:1px solid #dce2e7}.sharing-destination>svg{color:#5a6c7a}.sharing-destination h2{font-size:23px;margin:0 0 7px;letter-spacing:-.5px}.sharing-destination p{font-size:15px;color:#53616d;line-height:1.6;margin:0;max-width:430px}.sharing-destination>.btn{min-width:175px}.sharing-more{margin-top:24px}.sharing-more>summary{cursor:pointer;list-style:none;font-size:14px;font-weight:600;color:#526471;padding:14px 0;display:flex;align-items:center;gap:10px}.sharing-more>summary::before{content:'+';font-size:20px;font-weight:400}.sharing-more[open]>summary::before{content:'−'}.sharing-more>summary::-webkit-details-marker{display:none}.sharing-extra-row{display:flex;justify-content:space-between;align-items:center;gap:24px;padding:20px 0;border-top:1px solid #e5e9ec}.sharing-extra-row p{font-size:13px;color:#53616d;margin:5px 0;line-height:1.5}.sharing-extra-row .btn{flex-shrink:0}.share-simple .share-selection-summary{display:flex;justify-content:space-between;gap:12px;font-size:13px;color:#526471;margin:4px 0 20px}.share-simple-send{margin-top:18px}.share-simple-send small{display:block;font-size:12px;color:#62707c;line-height:1.5;text-align:center;margin-top:9px}.share-simple>.sharing-more{border-top:1px solid #e2e7eb;margin-top:20px}.share-advanced{padding:10px 0}.share-advanced>.share-schedule-options{display:grid;gap:4px;margin-bottom:16px}.share-download{border-top:1px solid #e2e7eb;padding-top:20px;margin-top:24px}.invite-simple>.btn{margin-top:20px}.invite-simple .qr-invite{margin-top:8px}.share-simple .share-schedule-preview{max-height:245px;font-size:13px!important}
 @media(max-width:640px){.sharing-destination{grid-template-columns:26px minmax(0,1fr);gap:12px 16px;padding:25px 0}.sharing-destination>.btn{grid-column:2;width:100%;margin-top:6px}.sharing-destination h2{font-size:22px}.sharing-destination p{font-size:14px}.sharing-extra-row{flex-direction:column;align-items:stretch;gap:8px}.sharing-extra-row .btn{width:100%}.share-simple .share-selection-summary{flex-wrap:wrap}.share-advanced .btn{width:100%}.sharing-more>summary{min-height:48px}.share-simple .share-schedule-preview{font-size:14px!important;min-height:165px}}
}

.day-flow{max-width:1120px;margin:auto}.day-flow .page-title h1{font-size:36px;letter-spacing:-1.2px}.day-subjects{display:flex;gap:8px;overflow-x:auto;padding:0 0 22px}.day-subjects button{display:flex;align-items:center;gap:8px;white-space:nowrap;border:1px solid #dedbd8;border-radius:8px;padding:10px 14px;background:#fff;min-height:44px;font-weight:500}.day-subjects button.selected{border-color:#0075de;background:#e6f3fe;color:#005cad}.day-subjects i{width:8px;height:8px;border-radius:50%}.day-flow-toolbar{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:20px}.day-flow-toolbar h2{font-size:20px}.day-flow-toolbar p,.day-hint{font-size:13px;color:#615d59;margin:5px 0}.day-personal{display:flex;align-items:center;gap:12px;padding:16px;background:#f0efed;border-radius:8px;margin-bottom:14px}.day-personal.assigned{background:#e9f4eb;color:#245c38}.day-personal strong,.day-personal span{display:block}.day-personal span{font-size:13px;margin-top:4px}.day-hint{margin:0 0 18px}.day-list{border-top:1px solid #dedbd8}.day-row{display:grid;grid-template-columns:155px 1fr auto;gap:24px;align-items:center;padding:22px 0;border-bottom:1px solid #dedbd8}.day-row.mine{border-left:3px solid #438d78;padding-left:13px}.day-when span,.day-when strong,.day-when small{display:block}.day-when span{text-transform:capitalize;color:#615d59;font-size:12px}.day-when strong{font-size:18px;margin:3px 0 6px}.day-when small{font-size:12px;color:#615d59}.day-row-label{color:#615d59;font-size:11px;display:block;margin-bottom:7px}.day-who p{font-size:14px;color:#615d59;margin:0}.day-names{display:flex;gap:6px;flex-wrap:wrap}.day-names>span{font-size:13px;border-radius:5px;background:#eeedeb;padding:6px 8px}.day-names>span.is-me{background:#e9f4eb;color:#245c38;font-weight:600}.day-answer>div{display:flex;gap:6px}.day-answer button{display:flex;align-items:center;justify-content:center;gap:5px;background:white;border:1px solid #d8d6d3;border-radius:7px;min-height:44px;padding:10px 13px;font-size:14px}.day-answer button.yes.selected{background:#e9f4eb;color:#245c38;border-color:#438d78}.day-answer button.no.selected{background:#fbeceb;color:#993a35;border-color:#b85c53}.day-answer button:disabled{opacity:.5;cursor:default}.day-answer small{display:block;color:#615d59;text-align:right;margin-top:5px;font-size:11px}.day-responses{font-size:12px;margin-top:10px;color:#615d59}.day-responses summary{cursor:pointer}.day-responses p{font-size:12px;margin-top:6px}.day-unassigned{padding:24px 0}.day-unassigned h3{font-size:16px}.day-unassigned>p{font-size:13px;color:#615d59;margin:8px 0 16px}.day-unassigned>div{display:flex;flex-direction:column;gap:4px;margin:12px 0;font-size:13px}.day-unassigned>div strong{font-size:12px;color:#615d59;font-weight:500}.day-extra{margin-top:24px;padding-top:16px;border-top:1px solid #dedbd8}.day-picker{border:0;padding:0;margin:0;min-width:0}.day-picker legend{font-size:13px;font-weight:500;margin-bottom:8px}.day-picker-head{display:flex;align-items:center;justify-content:space-between}.day-picker-head button{width:44px;height:44px;display:grid;place-items:center;background:transparent;border:0;border-radius:7px}.day-picker-head strong{font-size:14px;text-transform:capitalize}.day-picker-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:3px}.day-picker-grid>span{text-align:center;font-size:12px;color:#615d59;padding:8px 0}.day-picker-grid button{height:44px;border:1px solid transparent;border-radius:7px;background:#f6f5f4;font-size:14px}.day-picker-grid button:disabled{opacity:.3}.day-picker-grid button[aria-pressed=true]{background:#0075de;color:white}.selected-days{display:flex;flex-wrap:wrap;gap:6px}.selected-days button{display:flex;align-items:center;gap:5px;border:0;background:#e6f3fe;color:#005cad;border-radius:6px;padding:8px;font-size:12px;min-height:36px}.day-time{font-size:13px}.day-time summary{cursor:pointer;color:#615d59}.day-time .field{margin-top:10px}.day-flow button:focus-visible,.day-setup button:focus-visible{outline:3px solid #0075de;outline-offset:3px}.quick-group h3{font-size:22px}.quick-group details{font-size:13px}.quick-group details>.field{margin-top:14px}
@media(max-width:700px){.day-flow .page-title h1{font-size:30px}.day-flow .page-title{gap:16px}.day-flow .page-title .action-row{width:100%}.day-flow .page-title .action-row .btn{flex:1}.day-flow-toolbar{align-items:flex-start;flex-direction:column;gap:12px}.day-row{grid-template-columns:105px 1fr;gap:14px;padding:18px 0}.day-when strong{font-size:16px}.day-answer{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;flex-direction:row-reverse}.day-answer small{text-align:left;margin:0}.day-answer button{min-width:112px}.day-row>.btn{grid-column:2;justify-self:end}.day-picker-grid{gap:2px}.day-picker-grid button{height:44px}.day-unassigned{padding:20px 0}.day-subjects{margin-right:-8px}.day-flow .page-title p{font-size:14px}}

/* Three primary destinations stay within one tap, including on iPhones. */
@media screen{
 .app-shell .workspace{padding-bottom:calc(94px + env(safe-area-inset-bottom,0px))}
 .app-bottom-footer{position:fixed;bottom:0;left:224px;right:0;z-index:35;border-top:1px solid #e3e2df;background:#fff;padding:5px 16px calc(5px + env(safe-area-inset-bottom,0px))}
 .app-bottom-navigation{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));max-width:650px;margin:auto;gap:6px}
 .app-bottom-navigation>button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;min-height:64px;background:none;border:0;color:#615d59;border-radius:10px;font-size:12px;font-weight:500;padding:7px 8px;cursor:pointer}
 .app-bottom-navigation>button[aria-current=page]{color:#006dcc;background:#eef6fe}
 .app-bottom-navigation>button:hover{background:#f3f5f7}
 .app-bottom-navigation>button:focus-visible{outline:3px solid #0075de;outline-offset:-3px}
 .bottom-tab-icon{position:relative;display:flex;align-items:center;justify-content:center}
 .bottom-tab-badge{position:absolute;top:-6px;left:15px;background:#bf3b35;color:#fff;border:2px solid #fff;border-radius:12px;min-width:19px;height:19px;padding:0 4px;display:grid;place-items:center;font-size:10px;font-weight:700}
 .notifications-page{max-width:1000px;margin:auto}.notification-action{display:flex;align-items:center;gap:16px;padding:20px;background:#eef6fe;border-radius:10px;margin-bottom:30px}.notification-action>div{flex:1;min-width:0}.notification-action h2{font-size:16px}.notification-action p{font-size:13px;line-height:1.6;color:#615d59;margin-top:5px}.notification-symbol{display:flex;align-items:center;justify-content:center;width:36px;height:36px;flex-shrink:0;border-radius:9px;background:#f1f0ee;color:#615d59}.notification-action>.notification-symbol{color:#006dcc;background:#dceefe}.notifications-section-title{font-size:17px;margin-bottom:18px}.notifications-list{list-style:none;margin:0;padding:0}.notifications-list li>h3{font-size:12px;text-transform:capitalize;color:#615d59;padding:20px 0 8px;font-weight:500}.notifications-list li:first-child>h3{padding-top:0}.notification-item{display:flex;gap:14px;padding:17px 0;border-bottom:1px solid #e8e6e3}.notification-item p{font-size:14px;line-height:1.6;margin:0}.notification-item time{display:block;font-size:11px;margin-top:5px;color:#615d59}.notifications-note{color:#615d59;font-size:12px;margin-top:28px;line-height:1.6}
 @media(max-width:1150px){.app-bottom-footer{left:208px}}
 @media(max-width:930px){.app-bottom-footer{left:190px}}
 @media(max-width:700px){.app-bottom-footer{left:0;padding-left:8px;padding-right:8px}.app-bottom-navigation{gap:2px}.app-bottom-navigation>button{font-size:11px;min-height:62px}.notification-action{flex-wrap:wrap;padding:17px;gap:12px}.notification-action>.btn{width:100%}.notification-action>.notification-symbol{align-self:flex-start}.notification-action>div{flex-basis:calc(100% - 60px)}.notification-item p{font-size:14px}}
}
@media print{.app-bottom-footer{display:none!important}}

.simple-timetable{--tt-bg:#1d2a3a;--tt-panel:#263547;--tt-cell:#324154;--tt-text:#cfdae5;--tt-accent:#677aff;background:var(--tt-bg);color:var(--tt-text);border-radius:8px;padding:22px;max-width:1020px;margin:auto;min-width:0}.timetable-header{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:13px}.timetable-header h1{font-size:29px;text-transform:capitalize;color:var(--tt-text);margin:3px 0 0;letter-spacing:-.8px}.timetable-group{font-size:12px;color:#a9bbce}.timetable-actions{display:flex;gap:5px;align-items:center}.timetable-icon{background:none;color:var(--tt-accent);border:0;width:42px;height:44px;display:grid;place-items:center;border-radius:9px;flex-shrink:0}.timetable-icon:hover{background:#ffffff0c}.timetable-more{position:relative}.timetable-more>summary{display:grid;place-items:center;width:42px;height:44px;cursor:pointer;list-style:none;color:var(--tt-accent)}.timetable-more>summary::-webkit-details-marker{display:none}.timetable-more>div{position:absolute;z-index:20;right:0;top:46px;width:220px;background:#fff;color:#17212a;box-shadow:0 2px 8px #17212a14;border-radius:10px;padding:15px;display:grid;gap:12px}.timetable-more label{font-size:12px;display:grid;gap:7px}.timetable-more select{max-width:100%;width:100%;font-size:14px;min-height:44px;border:1px solid #ddd;border-radius:7px;padding:7px}.timetable-more button{display:flex;align-items:center;gap:6px;text-align:left;background:none;border:0;padding:10px 0;font-size:14px;color:#17212a}.timetable-date-picker{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:13px;margin:10px 0}.timetable-date-picker input{font-size:16px;min-height:44px;border:1px solid #53617a;background:var(--tt-panel);color:var(--tt-text);padding:7px;border-radius:7px;color-scheme:dark;max-width:180px}.timetable-week-controls{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}.timetable-week-label{background:none;color:var(--tt-text);border:0;text-align:center;line-height:1.4;font-size:13px;padding:4px}.timetable-week-label small{display:block;color:var(--tt-accent);font-size:11px}.timetable-sheet{background:var(--tt-panel);border:1px solid #ffffff09;border-radius:13px;overflow:hidden;padding:0 7px 8px}.timetable-sheet table{width:100%;table-layout:fixed;border-collapse:separate;border-spacing:6px 8px}.timetable-sheet th{font-weight:500;padding:0;text-align:center}.timetable-sheet thead th{height:61px;vertical-align:middle;border-top:3px solid transparent}.timetable-sheet thead th:first-child{width:44px}.timetable-sheet thead th>span{display:block;text-transform:uppercase;font-size:12px;color:var(--tt-text)}.timetable-sheet thead th>strong{display:block;font-size:20px;line-height:1.4}.timetable-sheet thead th.is-today{border-top-color:var(--tt-accent)}.timetable-sheet thead th.is-today>span,.timetable-sheet thead th.is-today>strong{color:var(--tt-accent)}.timetable-sheet tbody th{text-align:left;vertical-align:top;padding-top:6px;color:var(--tt-text)}.timetable-sheet tbody th>strong{display:block;font-size:21px;overflow-wrap:normal}.timetable-sheet tbody th>small{font-size:11px;color:#a9bbce}.timetable-sheet td{vertical-align:top;padding:0;min-width:0;height:104px}.timetable-block,.timetable-empty-cell{width:100%;min-height:104px;border-radius:10px}.timetable-empty-cell{background:var(--tt-cell)}.timetable-block{display:flex;flex-direction:column;align-items:flex-start;text-align:left;gap:8px;background:color-mix(in srgb,var(--lesson-color) 65%,#07323e);color:#fff;border:0;padding:10px 9px;cursor:pointer;margin-bottom:4px;overflow:hidden}.timetable-block:last-child{margin-bottom:0}.timetable-block>strong{width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-size:17px;line-height:1.25;letter-spacing:-.3px}.timetable-block>span{color:#e4ebf1;font-weight:500;font-size:13px}.timetable-block>small{font-size:11px;display:flex;gap:5px;align-items:center;color:#fff;margin-top:auto}.exam-dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:#ffde85}.timetable-block.is-mine{box-shadow:inset 0 0 0 2px #ffdf86}.simple-timetable button:focus-visible,.simple-timetable summary:focus-visible{outline:3px solid #b4beff;outline-offset:2px}.timetable-empty{display:flex;gap:12px;flex-wrap:wrap;align-items:center;justify-content:center;padding:20px 0 0;font-size:13px}.timetable-empty p{color:var(--tt-text);width:100%;text-align:center}.timetable-empty .text-link{color:#b4beff;min-height:44px}.timetable-weekend{padding-top:15px;font-size:13px}.timetable-weekend>summary{cursor:pointer;min-height:44px}.timetable-weekend>div{display:grid;grid-template-columns:1fr 120px;gap:12px;align-items:center;margin-top:8px}.compact-sharing{gap:16px}.share-recipient{display:grid;grid-template-columns:1fr 1fr;gap:4px;background:#f2f1ef;padding:4px;border-radius:9px}.share-recipient button{background:none;border:0;border-radius:6px;min-height:44px;padding:10px;color:#615d59;font-size:14px}.share-recipient button[aria-pressed=true]{background:#fff;color:#006dcc;box-shadow:0 1px 3px #0001;font-weight:600}.compact-share-summary{color:#615d59;font-size:13px;margin:0!important}.compact-preview>summary{font-size:13px;cursor:pointer;min-height:44px;display:flex;align-items:center;color:#615d59}.compact-preview textarea{margin-top:8px}.simple-sharing-hub{max-width:650px;margin:auto}.share-destination-button{display:flex;align-items:center;gap:16px;width:100%;min-height:90px;background:#fff;border:0;border-bottom:1px solid #e8e6e3;text-align:left;padding:18px 0;color:#17212a}.share-destination-button>span{flex:1}.share-destination-button strong{display:block;font-size:16px}.share-destination-button small{display:block;font-size:13px;color:#615d59;margin-top:5px}.simple-sharing-hub .sharing-more>.btn{margin:8px 8px 8px 0}
@media(max-width:700px){.simple-timetable{padding:14px 8px;border-radius:13px;margin:0 -8px}.timetable-header{padding:0 5px}.timetable-header h1{font-size:27px}.timetable-actions{gap:0}.timetable-icon,.timetable-more>summary{width:37px;min-height:44px}.timetable-group{font-size:11px}.timetable-sheet{padding:0 2px 5px}.timetable-sheet table{border-spacing:4px 7px}.timetable-sheet thead th:first-child{width:28px}.timetable-sheet thead th>span{font-size:10px}.timetable-sheet thead th>strong{font-size:18px}.timetable-sheet tbody th>strong{font-size:19px}.timetable-sheet tbody th>small{font-size:10px}.timetable-sheet td,.timetable-block,.timetable-empty-cell{min-height:83px;height:83px}.timetable-block{padding:8px 5px;gap:6px;border-radius:8px}.timetable-empty-cell{border-radius:8px}.timetable-block>strong{font-size:14px}.timetable-block>span{font-size:12px}.timetable-block>small{font-size:10px}.timetable-week-controls{margin-bottom:8px}.timetable-week-label{font-size:11px}.timetable-week-label small{font-size:10px}}
@media print{.simple-timetable{background:white;color:black}.timetable-header,.timetable-week-controls,.timetable-more{display:none}.timetable-block{color:black;background:white;border:1px solid #999}}
/* NextUp colors; only the timetable structure follows the supplied reference. */
.simple-timetable{--tt-bg:#fff;--tt-panel:#f6f5f4;--tt-cell:#eeedeb;--tt-text:#252422;--tt-accent:#0075de;border:1px solid #e6e4e1}.timetable-group,.timetable-sheet tbody th>small{color:#615d59}.timetable-sheet{border-color:#e6e4e1}.timetable-icon:hover{background:#e6f3fe}.timetable-date-picker input{background:white;color:#252422;border-color:#ddd;color-scheme:light}.timetable-block{background:color-mix(in srgb,var(--lesson-color) 12%,#fff);color:#252422;border-left:3px solid var(--lesson-color)}.timetable-block>span,.timetable-block>small{color:#48433e}.exam-dot{background:#0075de}.timetable-block.is-mine{box-shadow:inset 0 0 0 2px #0075de}.simple-timetable button:focus-visible,.simple-timetable summary:focus-visible{outline-color:#0075de}.timetable-empty .text-link{color:#0075de}.timetable-cell-create{border:0;color:#a1a09b;display:grid;place-items:center;cursor:pointer}.timetable-cell-create>svg{opacity:0}.timetable-cell-create:hover,.timetable-cell-create:focus-visible{background:#e6f3fe;color:#0075de}.timetable-cell-create:hover>svg,.timetable-cell-create:focus-visible>svg{opacity:1}.repeat-options{display:grid;gap:16px;padding:17px;background:#f6f5f4;border-radius:10px}.repeat-interval{display:grid;grid-template-columns:100px 1fr;gap:12px}.repeat-weekdays{border:0;padding:0;margin:0;display:flex;gap:5px}.repeat-weekdays legend{font-size:13px;margin-bottom:9px;font-weight:500}.repeat-weekdays button{flex:1;min-height:42px;border:1px solid #dedbd8;border-radius:50%;background:#fff;color:#615d59;font-size:12px}.repeat-weekdays button[aria-pressed=true]{background:#0075de;color:#fff;border-color:#0075de}.repeat-preview{display:flex;gap:8px;font-size:12px;line-height:1.6;color:#615d59;margin:0}.repeat-preview svg{flex-shrink:0;margin-top:3px}.assessment-editor .field input,.assessment-editor .field select{width:100%}

/* Purposeful movement: route continuity, selection feedback and successful saves. */
@keyframes nextup-screen-in{from{opacity:0;transform:translate3d(0,12px,0)}to{opacity:1;transform:translate3d(0,0,0)}}
@keyframes nextup-item-in{from{opacity:0;transform:translate3d(0,9px,0)}to{opacity:1;transform:translate3d(0,0,0)}}
@keyframes nextup-confirm{0%{opacity:0;transform:translate3d(-50%,10px,0) scale(.94)}65%{opacity:1;transform:translate3d(-50%,-2px,0) scale(1.02)}100%{opacity:1;transform:translate3d(-50%,0,0) scale(1)}}
@keyframes nextup-check{0%{transform:scale(.45) rotate(-30deg)}65%{transform:scale(1.2) rotate(5deg)}100%{transform:scale(1) rotate(0)}}
@keyframes nextup-progress{from{transform:translateX(-110%)}to{transform:translateX(360%)}}
@keyframes nextup-qr-in{from{opacity:0;transform:scale(.94)}to{opacity:1;transform:scale(1)}}
@keyframes nextup-old-page{to{opacity:0;transform:translate3d(-14px,0,0)}}
@keyframes nextup-new-page{from{opacity:0;transform:translate3d(18px,0,0)}to{opacity:1;transform:translate3d(0,0,0)}}
@media screen and (prefers-reduced-motion:no-preference){
 .app-shell .main-content{animation:none;view-transition-name:none}
 .day-list>.day-row,.notifications-list>li,.roster-grid>.student-card{animation:nextup-item-in .32s cubic-bezier(.16,1,.3,1) both}
 .day-list>.day-row:nth-child(2),.notifications-list>li:nth-child(2),.roster-grid>.student-card:nth-child(2){animation-delay:35ms}
 .day-list>.day-row:nth-child(3),.notifications-list>li:nth-child(3),.roster-grid>.student-card:nth-child(3){animation-delay:65ms}
 .day-list>.day-row:nth-child(4),.notifications-list>li:nth-child(4),.roster-grid>.student-card:nth-child(4){animation-delay:95ms}
 .day-list>.day-row:nth-child(n+5){animation-delay:120ms}
 .timetable-sheet{animation:nextup-screen-in .28s cubic-bezier(.16,1,.3,1) both}
 .toast{animation:nextup-confirm .34s cubic-bezier(.16,1,.3,1) both}.toast>svg{animation:nextup-check .4s cubic-bezier(.16,1,.3,1)}
 .qr-ready>img{animation:nextup-qr-in .38s cubic-bezier(.16,1,.3,1) both}
 .app-bottom-navigation button[aria-current=page] .bottom-tab-icon{animation:nextup-check .3s cubic-bezier(.16,1,.3,1)}
 .day-answer button,.day-subjects button,.repeat-weekdays button{transition:background-color .2s,border-color .2s,color .2s,transform .16s}
 .day-answer button:active,.btn:active,.icon-button:active,.timetable-block:active{transform:scale(.96)}
 .day-answer button[aria-pressed=true]>svg{animation:nextup-check .24s cubic-bezier(.16,1,.3,1)}
 ::view-transition-old(root),::view-transition-new(root){animation:none}
 ::view-transition-old(nextup-content){animation:none}
 ::view-transition-new(nextup-content){animation:none}
 html[data-motion-direction=back]::view-transition-old(nextup-content){animation-direction:reverse}
 html:active-view-transition .main-content{animation:none}
}
.app-header{position:relative}.app-header::after{content:'';position:absolute;bottom:0;left:0;width:28%;height:2px;background:#0075de;opacity:0;pointer-events:none}html[data-saving=true] .app-header::after{opacity:1;animation:nextup-progress 1.1s ease-in-out infinite}
.app-bottom-navigation{position:relative}.app-bottom-navigation::before{content:'';position:absolute;inset:0 auto 0 0;width:calc(100% / 3);border-radius:10px;background:#eef6fe;opacity:var(--tab-visible,1);transform:translateX(calc(var(--active-tab,0) * 100%));transition:transform .3s cubic-bezier(.16,1,.3,1),opacity .15s;pointer-events:none}.app-bottom-navigation>button{position:relative;z-index:1}.app-bottom-navigation>button[aria-current=page]{background:transparent}.app-bottom-navigation>button:hover{background:#0075de06}
.qr-primary.qr-invite{display:flex;flex-direction:column;align-items:center;text-align:center;gap:0;max-width:420px;margin:0 auto;padding:0;border:0;background:none}.qr-primary>h3{font-size:22px;margin:0 0 7px;line-height:1.3}.qr-primary>p{font-size:14px;line-height:1.6;margin:0 0 18px;color:#615d59}.qr-primary .qr-picture{background:#fff;border:1px solid #e6e4e1;border-radius:8px;width:280px;height:280px;max-width:100%;display:grid;place-items:center;padding:0;overflow:hidden;flex-shrink:0;box-shadow:0 1px 4px #17212a12}.qr-primary .qr-picture img{width:100%;height:100%;max-width:280px;object-fit:contain;display:block;image-rendering:auto}.qr-primary .qr-picture>button{display:flex;gap:8px;align-items:center;border:0;background:none;color:#006dcc;min-height:44px;font-size:13px}.qr-code-below{width:100%;max-width:320px;margin:18px auto 0}.qr-code-below>label{display:block;font-size:11px;text-transform:uppercase;letter-spacing:1px;color:#615d59;margin-bottom:6px}.qr-code-below>div{display:flex;align-items:center;justify-content:center;gap:6px;background:#f6f5f4;border-radius:10px;padding:6px 8px}.qr-code-below input{background:none;border:0;min-width:0;max-width:235px;width:100%;text-align:center;font:700 28px/1.2 ui-monospace,monospace;letter-spacing:3px;color:#17212a;padding:8px 0}.qr-code-below>small{display:block;font-size:12px;color:#615d59;line-height:1.6;margin:10px 0 0}.qr-primary-actions{display:grid;gap:6px;width:100%;max-width:320px;margin-top:20px}.qr-link-fallback{font-size:12px;color:#615d59;width:100%;max-width:320px}.qr-link-fallback summary{padding:10px;cursor:pointer}.qr-link-fallback input{width:100%;min-width:0;font-size:13px;min-height:44px;border:1px solid #ddd;border-radius:7px;padding:8px}.qr-primary .qr-privacy{font-size:11px;color:#76716c;margin-top:12px}.qr-primary .qr-status{margin:8px 0 0;color:#006dcc;font-size:13px}.qr-loading{display:flex;align-items:center;justify-content:center;gap:10px;min-height:280px;color:#615d59;font-size:14px}.qr-schedule-sharing{margin-top:26px;border-top:1px solid #e6e4e1}.invite-simple .qr-primary{margin-top:0}
.pwa-network-banner,.pwa-update-banner{position:fixed;z-index:90;left:50%;transform:translateX(-50%);top:calc(8px + env(safe-area-inset-top,0px));display:flex;align-items:center;gap:9px;width:max-content;max-width:calc(100vw - 24px);padding:11px 15px;border-radius:10px;box-shadow:0 1px 4px #17212a12;background:#fff5dc;color:#61480b;font-size:12px}.pwa-update-banner{background:#e6f3fe;color:#005cad}.pwa-update-banner button{border:0;background:#0075de;color:#fff;display:flex;align-items:center;gap:5px;padding:8px;border-radius:6px;white-space:nowrap;min-height:36px}.install-app-sheet{align-items:center;text-align:center}.install-app-sheet>img{border-radius:8px;box-shadow:0 1px 4px #17212a12}.install-app-sheet>.brand{margin-top:2px}.install-app-sheet ol{list-style:none;margin:0;padding:0;display:grid;gap:16px;width:100%;text-align:left}.install-app-sheet li{display:flex;gap:12px;align-items:center;font-size:14px;line-height:1.6}.install-app-sheet li>svg,.install-step-number{flex-shrink:0;color:#0075de;width:22px;text-align:center;font-weight:700}.install-app-trigger{white-space:nowrap}.install-app-sheet>p{font-size:14px;color:#615d59}
@media(display-mode:standalone){html{overscroll-behavior-y:none}.app-header{min-height:calc(55px + env(safe-area-inset-top,0px));padding-top:env(safe-area-inset-top,0px)}.sidebar{padding-top:calc(23px + env(safe-area-inset-top,0px))}.install-app-trigger{display:none}}
@media(max-width:700px){.qr-primary .qr-picture{width:252px;height:252px}.qr-code-below input{font-size:27px}.qr-primary>h3{font-size:20px}.simple-sharing-hub .page-title{margin-bottom:22px}.pwa-update-banner{align-items:flex-start}.qr-primary-actions{margin-top:16px}.install-app-trigger.icon-button{min-width:40px;width:40px}}
@media(prefers-reduced-motion:reduce){.app-shell .main-content,.day-list>.day-row,.notifications-list>li,.roster-grid>.student-card,.timetable-sheet,.toast,.qr-ready>img,.app-bottom-navigation .bottom-tab-icon{animation:none!important;transform:none!important}.app-bottom-navigation::before{transition:none!important}.app-header::after{animation:none!important;width:100%}::view-transition-old(*),::view-transition-new(*){animation:none!important}}
@media print{.pwa-network-banner,.pwa-update-banner,.install-app-trigger,.install-app-sheet{display:none!important}}

.toast{bottom:calc(88px + env(safe-area-inset-bottom,0px))}
@media(prefers-reduced-motion:reduce){.toast{transform:translateX(-50%)!important}}

/* Keep navigation, weekday headings and lessons in one natural scroll flow.
   Independent sticky offsets displaced the table header over lesson rows on iOS. */
.main-content:focus{outline:none}
.simple-timetable{padding:18px}
.timetable-navigation{position:relative;top:auto;z-index:2;background:#fff;padding:0;margin-top:0}
.timetable-header{margin-bottom:10px}.timetable-header h1{font-size:25px}
.timetable-view-switch,.assessment-kind{display:flex;gap:4px;background:#f1f0ee;padding:4px;border-radius:10px}
.timetable-view-switch{max-width:230px;margin-bottom:6px}
.timetable-view-switch button,.assessment-kind button{flex:1;border:0;min-height:38px;border-radius:7px;background:transparent;color:#615d59;font-size:13px}
.timetable-view-switch button[aria-pressed=true],.assessment-kind button[aria-pressed=true]{background:white;color:#0075de;box-shadow:0 1px 4px #0001;font-weight:600}
.timetable-week-controls{gap:6px;margin-bottom:0;padding-bottom:8px}
.timetable-range{flex:1;font-size:13px;text-align:center;font-weight:500;text-transform:capitalize}
.timetable-today{border:1px solid #dedbd8;border-radius:8px;min-height:36px;padding:6px 10px;background:white;color:#006dcc;font-size:12px}
.timetable-swipe-surface{touch-action:pan-y pinch-zoom}
.timetable-sheet{overflow:visible;padding:0 5px 5px}
.timetable-sheet thead th{position:static;top:auto;z-index:auto;background:#f6f5f4;height:55px}
.timetable-sheet thead th:first-child{width:44px}
.timetable-sheet thead th>button{width:100%;min-height:48px;padding:3px 0;background:none;border:0;color:#252422;border-radius:7px}
.timetable-sheet thead th>button>span{display:block;text-transform:uppercase;font-size:11px;font-weight:400}
.timetable-sheet thead th>button>strong{display:block;font-size:19px;line-height:1.5}
.timetable-sheet thead th.is-today>button{color:#0075de;background:#e8f4fe}
.timetable-sheet td,.timetable-block,.timetable-empty-cell{height:auto;min-height:72px}
.timetable-block{padding:9px 7px;gap:5px}
.timetable-sheet tbody th.clock-row>strong{font-size:12px;letter-spacing:-.4px;padding-top:4px;white-space:nowrap}
.timetable-block.is-test{border-left-color:#b2700d;background:#fff3d9}
.timetable-block.is-test>small{font-weight:600;color:#845007}
.timetable-gesture-hint{font-size:11px;color:#76716b;text-align:center;line-height:1.6;margin:14px 0 0}
.daily-week-strip{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px;padding-bottom:10px}
.daily-week-strip button{border:0;border-radius:9px;min-height:55px;color:#615d59;background:#f6f5f4;padding:5px 0}
.daily-week-strip button>span{display:block;font-size:10px;text-transform:uppercase}
.daily-week-strip button>strong{display:block;font-size:18px;line-height:1.5}
.daily-week-strip button[aria-pressed=true]{background:#0075de;color:white}
.daily-agenda{padding:12px 0;display:grid;gap:12px;min-height:200px;align-content:start}
.daily-agenda-row{display:grid;grid-template-columns:65px minmax(0,1fr);align-items:start;gap:12px}
.daily-period{padding-top:14px;font-size:13px;color:#615d59;font-weight:500}
.daily-agenda .timetable-block{height:auto;min-height:88px;padding:14px;gap:6px}
.daily-agenda .timetable-block>strong{font-size:17px;white-space:normal}
.daily-agenda .timetable-block .daily-description{font-size:12px;font-weight:400;color:#615d59}
.test-detail-heading{display:flex;gap:10px;align-items:center;color:#95600e;font-size:13px;margin-bottom:18px}.test-topic{padding:16px;background:#fff3d9;border-radius:9px;font-size:16px}
.home-agenda{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin:0 0 32px}.home-agenda-column{min-width:0;background:#faf9f8;border:1px solid #e6e4e1;border-radius:12px;padding:17px}
.home-section-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px}.home-section-heading h2{font-size:16px;margin:0}.home-section-heading .text-link{font-size:12px;min-height:40px;white-space:nowrap}.home-section-heading p{font-size:12px;color:#615d59;margin:8px 0}
.home-event{width:100%;display:flex;gap:12px;align-items:center;text-align:left;padding:12px 0;border:0;border-top:1px solid #e6e4e1;background:none;color:#252422;min-height:76px}.home-event>span:nth-child(2){flex:1;min-width:0}.home-event strong{display:block;font-size:14px}.home-event small{display:block;font-size:12px;color:#615d59;line-height:1.6}.home-event>svg{flex-shrink:0;color:#8a847d}.home-date{width:43px;flex-shrink:0;text-align:center;background:#e8f4fe;border-radius:8px;padding:6px 2px}.home-date strong{font-size:21px;line-height:1.2;color:#006dcc}.home-date small{font-size:10px}.home-test .home-date{background:#fff0d1}.home-test .home-date strong{color:#94600c}.home-empty{color:#76716b;font-size:13px;padding:15px 0;line-height:1.6}.home-availability-heading{border-top:1px solid #e6e4e1;padding-top:24px}
.day-unassigned>summary{cursor:pointer;min-height:44px;padding:8px 0;font-weight:600;font-size:14px}.day-list+.btn{margin:8px 0 18px}.day-flow .page-title>.action-row{flex-wrap:nowrap}.day-flow .day-subjects{scrollbar-width:thin}
.pwa-install-banner{position:fixed;z-index:65;bottom:calc(84px + env(safe-area-inset-bottom,0px));left:50%;transform:translateX(-50%);width:calc(100% - 24px);max-width:540px;display:flex;align-items:center;gap:10px;background:#fff;border:1px solid #dbe9f5;border-radius:13px;padding:12px;box-shadow:0 1px 4px #17212a12;color:#252422}
.pwa-install-banner>img{border-radius:10px;flex-shrink:0}.pwa-install-banner>div{flex:1;min-width:0}.pwa-install-banner strong{display:block;font-size:13px}.pwa-install-banner span{display:block;font-size:11px;color:#615d59;margin-top:4px}.pwa-install-cta{background:#0075de;border:0;border-radius:8px;min-height:42px;padding:10px 12px;color:#fff;font-size:13px;font-weight:600}.pwa-install-dismiss{display:grid;place-items:center;min-width:32px;min-height:44px;border:0;background:none;color:#76716b;padding:4px}.pwa-install-offer .main-content{padding-bottom:170px}
@media(max-width:700px){.simple-timetable{padding:12px 6px}.timetable-header h1{font-size:22px}.timetable-header{padding:0 3px}.timetable-view-switch{max-width:190px}.timetable-sheet table{border-spacing:4px 5px}.timetable-sheet{padding:0 2px 5px}.timetable-sheet thead th:first-child{width:35px}.timetable-sheet thead th{height:50px}.timetable-sheet td,.timetable-block,.timetable-empty-cell{min-height:58px;height:auto}.timetable-block{padding:7px 4px;gap:4px;border-radius:7px}.timetable-block>strong{font-size:13px}.timetable-block>span{font-size:11px}.timetable-block>small{font-size:10px}.timetable-sheet tbody th>strong{font-size:18px}.timetable-sheet tbody th.clock-row>strong{font-size:11px}.timetable-range{font-size:12px}.timetable-today{padding:6px 8px}.home-agenda{grid-template-columns:1fr;gap:12px;margin-bottom:22px}.home-agenda-column{padding:12px 15px}.home-event{min-height:68px;padding:10px 0}.home-section-heading{margin-bottom:2px}.home-section-heading h2{font-size:15px}.pwa-install-banner{gap:8px;padding:10px}.pwa-install-banner>img{width:34px;height:34px}.pwa-install-banner strong{font-size:12px}.pwa-install-dismiss{min-width:28px}.timetable-navigation{padding-top:0;margin-top:0}}
@media print{.pwa-install-banner,.timetable-navigation,.timetable-gesture-hint{display:none!important}.timetable-sheet thead th{position:static}.home-agenda{break-inside:avoid}}

.pwa-install-banner{top:auto!important;bottom:calc(8px + env(safe-area-inset-bottom,0px))!important;max-width:520px;padding:8px 10px;border-radius:7px;box-shadow:0 1px 7px #17212a14}.pwa-install-banner>img{width:30px;height:30px;border-radius:5px}.pwa-install-banner span{display:none}.pwa-install-banner .pwa-install-cta{min-height:36px;padding:8px 12px;border-radius:5px}.pwa-install-offer .app-bottom-bar{bottom:66px}.pwa-install-offer .app-bottom-footer{bottom:calc(60px + env(safe-area-inset-bottom,0px));padding-bottom:5px}.pwa-install-offer .app-bottom-navigation{margin-bottom:0}.pwa-install-offer .main-content{padding-bottom:170px}
.class-weekdays{border:0;padding:0;margin:0}.class-weekdays legend{font-size:14px;font-weight:600}.class-weekdays>p{font-size:12px;color:#68635d;margin:8px 0 12px}.class-weekdays>div{display:grid;gap:6px}.class-weekdays button{min-height:45px;display:flex;justify-content:space-between;align-items:center;border:1px solid #dedbd8;border-radius:6px;background:#fff;padding:10px 13px;font-size:14px;color:#37352f}.class-weekdays button[aria-pressed=true]{background:#edf6ff;border-color:#0075de;color:#006dcc}.class-weekdays button>span{font-size:17px}.volunteer-home{display:flex;align-items:center;justify-content:space-between;gap:18px;background:#edf6ff;border-left:3px solid #0075de;border-radius:5px;padding:21px;margin:0 0 24px}.volunteer-home h2{font-size:17px;margin:0 0 7px}.volunteer-home p{font-size:13px;color:#615d59;margin:0}.volunteer-home .btn{font-size:14px;min-height:48px}.volunteer-dates{border:0;margin:0;padding:0;display:grid;gap:8px}.volunteer-dates legend{font-size:13px;font-weight:600;margin-bottom:10px}.volunteer-dates label{display:flex;gap:11px;align-items:center;border:1px solid #dedbd8;padding:13px;border-radius:6px;cursor:pointer;min-height:62px}.volunteer-dates label.selected{background:#edf6ff;border-color:#0075de}.volunteer-dates label.full{opacity:.55;cursor:default}.volunteer-dates label>span{flex:1}.volunteer-dates label strong{display:block;font-size:14px;text-transform:capitalize}.volunteer-dates label small{display:block;font-size:11px;color:#68635d;margin-top:4px}.volunteer-dates input{accent-color:#0075de;width:18px;height:18px}.volunteer-existing{display:flex;gap:12px;background:#edf6ff;padding:15px;border-radius:6px}.volunteer-existing>svg{flex-shrink:0;color:#0075de}.volunteer-existing strong{font-size:14px}.volunteer-existing p{font-size:13px}.volunteer-existing small{color:#68635d;line-height:1.6}.volunteer-form>.btn{width:100%;min-height:48px}.volunteer-instruction{font-size:14px;line-height:1.7}
@media(max-width:700px){.volunteer-home{flex-direction:column;align-items:stretch;padding:17px;gap:14px}.volunteer-home .btn{justify-content:center}.volunteer-dates label{padding:12px}.pwa-install-banner{max-width:calc(100% - 16px)}}
.email-security h2{display:flex;align-items:center;gap:10px}.email-security>p{font-size:13px;line-height:1.7}.email-service-notice{padding:12px;border-left:3px solid #c98b26;background:#fff7e6;color:#785517}.email-verified{display:flex;gap:8px;align-items:center;color:#29765a;font-size:12px}.email-code-form>svg{color:#0075de}.email-code-form input[autocomplete=one-time-code]{font-size:26px;letter-spacing:8px;text-align:center}.email-security .check-label{font-size:12px;line-height:1.6}

.volunteer-empty{border:1px solid var(--nu-line);background:var(--nu-panel-soft);padding:17px;border-radius:12px;display:grid;gap:12px}.volunteer-empty h3{font-size:17px;line-height:1.4;margin:0}.volunteer-empty p{font-size:13px;line-height:1.7;margin:0;color:var(--nu-muted)}.volunteer-empty>strong{font-size:12px;margin-top:5px}.volunteer-dates label>small{max-width:45%;white-space:normal;overflow-wrap:anywhere;line-height:1.6}.volunteer-dates label>span{min-width:0}.volunteer-form{overflow-wrap:anywhere}

.student-card:has(.classmate-access){flex-wrap:wrap}.student-card .classmate-access{flex:1 0 100%;display:grid;gap:6px;padding-top:10px;border-top:1px solid var(--nu-line)}.classmate-access small{display:block}.classmate-access button{justify-self:start}

/* The same vector lockup is used in the public page and the app shell. */
.brand>img{display:block;height:1.28em;width:auto;max-width:none;object-fit:contain}

.theme-toggle{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-width:40px;min-height:40px;border:1px solid #dfe5eb;border-radius:8px;background:#fff;color:#435365;padding:9px;font-size:12px}.theme-toggle:hover{background:#edf4fa}.theme-toggle.with-label{padding:9px 12px}.brand>.brand-dark{display:none}
.next-turn-card{background:#e9f3ff;border:1px solid #b9d5f3;border-left:4px solid #0075de;border-radius:12px;padding:22px 24px;margin-bottom:22px}.next-turn-top{display:flex;justify-content:space-between;align-items:center;gap:14px;margin-bottom:15px}.next-turn-top>span{display:flex;align-items:center;gap:8px;color:#23578b;font-size:13px;font-weight:500}.next-turn-top>strong{color:#0069c4;background:#fff;border:1px solid #c4d9ef;border-radius:6px;padding:5px 9px;font-size:11px;white-space:nowrap}.next-turn-card h2{font-size:28px;color:#193d61;margin:0 0 7px}.next-turn-card>p{color:#355c80;font-size:15px;text-transform:capitalize}.next-turn-card>button{display:flex;align-items:center;gap:7px;color:#0069c4;font-size:13px;font-weight:600;min-height:40px;margin-top:14px;padding:5px 0}.demo-actors{display:flex;gap:16px;align-items:center;flex-wrap:wrap}.demo-actors label{display:flex;align-items:center;gap:8px;font-size:11px}.demo-actors select{max-width:200px;border:1px solid #c4d4e0;border-radius:6px;padding:7px;background:#fff;font-size:12px;min-height:36px}.demo-actors>button{display:flex;gap:6px;align-items:center;min-height:36px;font-size:11px}.demo-banner{gap:13px;flex-wrap:wrap}
html[data-theme=dark]{color-scheme:dark;--ink:#edf3fa;--muted:#aab7c6;--line:#2a3847;--surface:#111923;--accent:#60b4ff}html[data-theme=dark] body{background:#111923;color:#edf3fa}html[data-theme=dark] :is(.app-shell,.workspace,.main-content,.teacher-shell){background:#111923;color:#edf3fa}html[data-theme=dark] :is(.sidebar,.app-header,.card,.modal,.timetable-navigation,.app-bottom-footer,.app-bottom-navigation,.home-agenda-column,.first-group,.settings-form,.notification-action,.swap-card,.student-card,.schedule-class,.pwa-install-banner){background:#182330;color:#edf3fa;border-color:#2e3d4e}html[data-theme=dark] :is(.sidebar nav button,.subject-nav button,.sidebar-bottom>button,.profile strong,.app-header strong,.page-title h1,.page-title h2,.section-heading h2,.home-section-heading h2,.home-event strong,.session-detail-title h3,.session-student strong,.day-flow-toolbar h2,.settings-form h2,.notification-item p,.notifications-page h2,.swap-card strong,.student-card strong,.teacher-title h1,.modal-head h2,.empty h3){color:#edf3fa}html[data-theme=dark] :is(.page-title p,.page-title .eyebrow,.breadcrumb,.sync,.profile small,.nav-label,.subject-nav small,.subtle,.field>span,.field>small,.form-intro,.home-empty,.home-event small,.home-date small,.day-when small,.day-when span,.day-hint,.day-row-label,.day-flow-toolbar p,.day-responses,.session-facts,.session-topic,.session-roster-label,.session-timing-note,.session-detail-title p,.session-student>span,.notifications-note,.notification-item time,.notification-action p,.teacher-title p,.compact-share-summary,.compact-preview,.swap-route span,.swap-route small,.swap-card-footer small,.student-card small,.settings-form p,.empty p,.session-details,.modal p){color:#aab7c6}html[data-theme=dark] :is(.sidebar nav button.active,.subject-nav button.selected,.sidebar nav button:hover,.sidebar-bottom>button:hover,.group-switch,.volunteer-home,.day-personal,.home-date,.swap-explainer,.notification-symbol,.share-recipient,.repeat-options,.day-names>span,.session-open-avatar,.session-order,.quiet-empty,.schedule-display-tabs,.timetable-view-switch,.assessment-kind){background:#213347;border-color:#344c65;color:#c6e5ff}html[data-theme=dark] :is(.volunteer-home h2,.day-personal strong,.day-when strong,.volunteer-home p,.day-names>span,.session-open-avatar,.session-order){color:#dcebf9}html[data-theme=dark] :is(.btn.secondary,.btn.ghost,.btn.dark,.day-subjects button,.day-answer button,.theme-toggle,.timetable-today,.repeat-weekdays button,.share-recipient button,.day-picker-grid button,.demo-actors select){background:#1c2c3c;color:#d5e5f5;border-color:#35495f}html[data-theme=dark] :is(.btn.primary,.school-landing .btn.primary){background:#006fce;color:#fff;border-color:#006fce}html[data-theme=dark] :is(input,select,textarea){background:#111d2a;color:#edf3fa;border-color:#40536a}html[data-theme=dark] :is(.text-link,.school-text-button,.timetable-icon,.icon-button,.theme-toggle){color:#7bc4ff}html[data-theme=dark] .timetable-more>div{background:#1c2c3c;color:#edf3fa;border:1px solid #35495f}html[data-theme=dark] .simple-timetable{--tt-bg:#182330;--tt-panel:#162130;--tt-cell:#223142;--tt-text:#edf3fa;--tt-accent:#71baff;background:#182330;border-color:#2e3d4e;color:#edf3fa}html[data-theme=dark] .timetable-block{background:color-mix(in srgb,var(--lesson-color) 24%,#152433);color:#fff}html[data-theme=dark] .timetable-block>strong{color:#f1f6fd}html[data-theme=dark] .timetable-block :is(span,small){color:#d4e2f1}html[data-theme=dark] :is(.timetable-sheet,.day-row,.day-list,.home-event,.sidebar-bottom,.app-header,.school-footer,.session-roster>li,.session-roster>li>button,.teacher-class,.notification-item,.modal-head){border-color:#2e3d4e}html[data-theme=dark] :is(.session-roster>li>button,.session-detail-title,.home-event,.daily-week-strip button,.timetable-view-switch button,.assessment-kind button){color:#edf3fa}html[data-theme=dark] :is(.day-subjects button.selected,.share-recipient button[aria-pressed=true],.timetable-view-switch button[aria-pressed=true],.assessment-kind button[aria-pressed=true],.daily-week-strip button[aria-pressed=true]){background:#23466b;color:#a9d8ff}html[data-theme=dark] :is(.day-personal.assigned,.day-names>span.is-me,.day-answer button.yes.selected){background:#1e3e32;color:#b7e5cd;border-color:#4a8767}html[data-theme=dark] .day-answer button.no.selected{background:#492c33;color:#f1bec7;border-color:#9c6875}html[data-theme=dark] .next-turn-card{background:#183554;border-color:#365d87;border-left-color:#60b4ff}html[data-theme=dark] .next-turn-card h2{color:#edf6ff}html[data-theme=dark] .next-turn-card :is(p,.next-turn-top>span){color:#bad6f0}html[data-theme=dark] .next-turn-top>strong{background:#274969;color:#d9edff;border-color:#466787}html[data-theme=dark] .next-turn-card>button{color:#92ceff}html[data-theme=dark] .demo-banner{background:#1c334a;color:#d2eaff;border-color:#344f69}html[data-theme=dark] .swap-card blockquote{background:#213142;color:#d3deeb}html[data-theme=dark] .brand>.brand-light{display:none}html[data-theme=dark] .brand>.brand-dark{display:block}html[data-theme=dark] .pill{background:#293c52;color:#c4dbf0}html[data-theme=dark] .pill.amber{background:#4a3b22;color:#f1d09c}html[data-theme=dark] .pill.green{background:#244334;color:#bbdfc6}
html[data-theme=dark] .school-landing{--school-ink:#edf3fa;--school-muted:#adbbca;--school-line:#2c3b4c;background:#111923;color:#edf3fa}html[data-theme=dark] :is(.school-intro h1,.school-product-copy h2,.school-feature-copy h2,.school-section-heading h2,.school-why h2,.school-questions h2,.school-join h2){color:#edf3fa}html[data-theme=dark] :is(.school-product-banner,.school-join){background:#1b2d40}html[data-theme=dark] .school-phone-stage{background:#16283b}html[data-theme=dark] .school-phone-stage:before{background:linear-gradient(90deg,#1b2d40,transparent)}html[data-theme=dark] :is(.school-product-copy>p:not(.school-preview-note),.school-preview-note,.school-feature-copy li,.school-instructions li>p,.school-visual-caption,.school-join p,.showcase-zoom-note){color:#adbbca}html[data-theme=dark] :is(.school-feature-visual,.school-visual-caption,.school-instructions){background:#192737}html[data-theme=dark] .roster-visual,html[data-theme=dark] .roster-visual .school-visual-caption{background:#1c302b}html[data-theme=dark] .school-calendar-switch{background:#293c50}html[data-theme=dark] .school-calendar-switch>button{color:#b3c5d8}html[data-theme=dark] .school-calendar-switch>button[aria-pressed=true]{background:#385879;color:#e5f3ff}html[data-theme=dark] :is(.school-label,.school-text-button,.school-visual-caption>button){color:#80c6ff}html[data-theme=dark] .school-explore-button{background:#e2effc;color:#16283b}html[data-theme=dark] .school-instructions li>span{background:#263f59;color:#a8d6ff}html[data-theme=dark] .showcase-zoom-viewport{background:#111923}
@media(max-width:640px){.next-turn-card{padding:18px 17px;margin-bottom:19px}.next-turn-card h2{font-size:26px}.next-turn-card>p{font-size:14px}.next-turn-top{gap:8px}.next-turn-top>span{font-size:11px}.next-turn-top>strong{font-size:10px}.demo-actors{gap:9px}.demo-actors label{font-size:10px}.demo-banner>span{font-size:10px}.school-nav .theme-toggle{display:none}html[data-theme=dark] .school-phone-stage:before{background:linear-gradient(#1b2d40,transparent)}}
html[data-theme=dark] .app-bottom-navigation::before{background:#263f59}html[data-theme=dark] .app-bottom-navigation>button{color:#aab7c6}html[data-theme=dark] .app-bottom-navigation>button[aria-current=page]{color:#b1ddff}html[data-theme=dark] :is(.notifications-section-title,.notifications-list h3,.session-roster-label>strong,.day-flow .home-availability-heading h2){color:#d7e7f5}

/* Keep dark dialog surfaces and roster text in the same palette. */
html[data-theme=dark] :is(.modal-head,.session-topic,.session-roster>li>button){background:#182330;color:#edf3fa;border-color:#35495f}
html[data-theme=dark] .session-roster>li>button.is-you{background:#213b54;border-color:#466786}
html[data-theme=dark] .session-roster>li>button:not(:disabled):hover{background:#263c52;border-color:#6488a9}
html[data-theme=dark] :is(.session-slot-action,.session-roster-label>span){color:#b6c8d9}
html[data-theme=dark] .session-student>strong>small{background:#294d70;color:#c0e3ff}

html[data-theme=dark] .timetable-sheet thead th{background:#162130;color:#edf3fa}
html[data-theme=dark] .timetable-sheet thead th>button{color:#edf3fa}
html[data-theme=dark] .timetable-sheet thead th.is-today>button{background:#23466b;color:#a9d8ff}
html[data-theme=dark] :is(.wizard,.help-content,.modal-form,.install-app-sheet){color:#edf3fa}
html[data-theme=dark] :is(.wizard>h3,.help-content h3,.field>span:first-child,.field-label,.check-label,.auth-switch,.auth-switch button){color:#d4e2f1}
html[data-theme=dark] :is(.soft-note,.booking-preview,.group-preview,.setup-summary,.recovery-code,.email-service-notice,.email-verified){background:#213347;color:#c8dcef;border-color:#405771}
html[data-theme=dark] :is(.wizard>p,.field small,.help-content section p,.modal-form .form-intro,.modal-form>p){color:#b4c5d6}
html[data-theme=dark] :is(.form-error,.modal-form>.form-error){background:#492c33;color:#ffd1d9;border-color:#9c6875}
.profile-open{display:flex;gap:10px;align-items:center;flex:1;min-width:0;text-align:left;min-height:48px;padding:0;background:transparent}.profile-open>span:last-child{min-width:0}.profile-open strong,.profile-open small{display:block}.profile-avatar-button{border-radius:50%;padding:0;min-width:36px;min-height:36px;display:grid;place-items:center}.account-profile{padding:22px 25px}.account-profile-summary{display:flex;align-items:center;gap:12px;margin-bottom:18px}.account-profile-summary>div{flex:1}.account-profile-summary>div>strong,.account-profile-summary>div>span{display:block}.account-profile-summary strong{font-size:16px}.account-profile-summary>div>span{font-size:12px;color:#687380;margin-top:4px}.account-profile h3{font-size:15px;display:flex;gap:8px;align-items:center;margin-bottom:18px}.profile-note,.profile-session>p,.profile-delete>p{font-size:12px;color:#687380;line-height:1.8;margin:0 0 17px}.profile-password>summary{font-size:13px;min-height:44px;cursor:pointer}.profile-session,.profile-delete,.account-profile .email-security{margin-top:25px;padding-top:22px;border-top:1px solid #e4e8ed}.profile-session>p{margin:10px 0 0}.profile-delete-trigger{display:inline-flex;gap:7px;align-items:center;min-height:44px;color:#b92e45;font-size:13px}.profile-delete-actions{display:flex;justify-content:space-between;gap:16px;align-items:center}.profile-delete-actions>button:first-child{min-height:44px;font-size:13px}.account-profile .destructive{background:#b92e45;color:#fff;border-color:#b92e45}.account-profile .email-security{padding:22px 0 0;border-radius:0;box-shadow:none;border-left:0;border-right:0;border-bottom:0}.account-profile .email-security .modal-form{padding:16px 0 0}.account-profile .email-security h2{font-size:15px}.account-profile .email-security>p{font-size:12px}.profile-open:focus-visible,.profile-avatar-button:focus-visible{outline:2px solid #0075de;outline-offset:3px}html[data-theme=dark] .profile-open{color:#edf3fa}html[data-theme=dark] :is(.profile-note,.profile-session>p,.profile-delete>p,.account-profile-summary>div>span){color:#b4c5d6}html[data-theme=dark] :is(.profile-session,.profile-delete,.account-profile .email-security){border-color:#35495f}html[data-theme=dark] .profile-delete-trigger{color:#ffacba}html[data-theme=dark] .account-profile .destructive{background:#a82942;color:#fff}
html[data-theme=dark] :is(.daily-week-strip button,.class-weekdays button,.volunteer-dates label,.volunteer-existing){background:#1c2c3c;color:#e0ecf7;border-color:#405771}html[data-theme=dark] :is(.daily-week-strip button[aria-pressed=true],.class-weekdays button[aria-pressed=true],.volunteer-dates label.selected){background:#23466b;color:#c7e6ff;border-color:#6488a9}html[data-theme=dark] :is(.class-weekdays>p,.volunteer-dates label small,.volunteer-existing small){color:#b4c5d6}
/* Programmatic view changes must settle before the next tap. */
html{scroll-behavior:auto}

.today-dashboard{background:#edf5ff;border:1px solid #c4d9f0;border-radius:14px;padding:24px;margin-bottom:24px}.today-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:20px}.today-kicker{display:block;text-transform:uppercase;letter-spacing:.7px;color:#38648b;font-size:10px;font-weight:650;margin-bottom:8px}.today-heading h2{font-size:25px;line-height:1.3;letter-spacing:-.6px;margin:0 0 8px;color:#193d61}.today-heading p{font-size:13px;line-height:1.7;color:#4a6782;margin:0}.today-heading>.text-link{font-size:12px;min-height:40px;white-space:nowrap;display:flex;align-items:center;gap:5px}.today-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:12px;margin-top:20px}.today-card{display:flex;flex-direction:column;text-align:left;background:#fff;border:1px solid #d0dce8;border-top:4px solid var(--today-subject);border-radius:9px;padding:17px;gap:9px;min-height:180px;color:#243f59;transition:transform 140ms ease,box-shadow 140ms ease}.today-card:hover{transform:translateY(-2px);box-shadow:0 5px 15px #1737500d}.today-card-kind{display:flex;align-items:center;gap:7px;font-size:11px;color:#586b7d;font-weight:550}.today-card>strong{font-size:23px;line-height:1.25;overflow-wrap:anywhere}.today-card-topic{font-size:12px;line-height:1.6;color:#576d81}.today-card-footer{display:flex;gap:5px;align-items:center;font-size:11px;margin-top:auto;padding-top:9px;border-top:1px solid #e3eaf0}.today-card-footer>svg{margin-left:auto}.today-test .today-card-kind{color:#9c443d}.today-lessons{margin-top:19px;padding-top:17px;border-top:1px solid #cbdceb}.today-lessons>span{display:flex;gap:7px;align-items:center;font-size:11px;color:#4a6782;margin-bottom:10px}.today-lessons>div{display:flex;gap:7px;overflow-x:auto;scrollbar-width:thin;padding-bottom:3px}.today-lessons button{display:flex;align-items:center;gap:7px;white-space:nowrap;background:#ffffffb0;border:1px solid #d0dce8;border-radius:6px;padding:8px 10px;min-height:36px;font-size:12px;color:#2d506f}.today-lessons i{width:7px;height:7px;border-radius:50%}.timetable-swipe-surface{overflow:clip;touch-action:pan-y;will-change:transform}.timetable-change-status{height:27px;display:flex;align-items:center;justify-content:center;font-size:11px;color:#0069c4}.timetable-change-status>span{display:block;border-radius:5px;background:#e8f3ff;padding:4px 10px;animation:weekFeedback .2s ease-out}.timetable-range{border-radius:7px;padding:5px 8px}.school-free-note{font-size:12px;color:#5e6d7a;margin-top:12px;text-align:center}@keyframes weekFeedback{from{opacity:.5;transform:translateY(3px)}to{opacity:1;transform:translateY(0)}}html[data-theme=dark] .today-dashboard{background:#162d44;border-color:#365675}html[data-theme=dark] .today-heading h2{color:#edf5ff}html[data-theme=dark] :is(.today-kicker,.today-heading p,.today-lessons>span){color:#b1cce4}html[data-theme=dark] .today-card{background:#1d334a;border-color:#3b526a;color:#edf5ff;border-top-color:var(--today-subject)}html[data-theme=dark] :is(.today-card-topic,.today-card-kind,.today-card-footer){color:#c0d4e6}html[data-theme=dark] .today-test .today-card-kind{color:#ffc9bd}html[data-theme=dark] .today-card-footer,html[data-theme=dark] .today-lessons{border-color:#3b526a}html[data-theme=dark] .today-lessons button{background:#213b54;border-color:#46627d;color:#d6eaff}html[data-theme=dark] .timetable-change-status{color:#c4e5ff}html[data-theme=dark] .timetable-change-status>span{background:#23466b}html[data-theme=dark] .simple-timetable{--tt-feedback:#23466b}
@media(max-width:700px){.today-dashboard{padding:18px 16px;border-radius:11px;margin-bottom:18px}.today-heading{display:block}.today-heading h2{font-size:23px}.today-heading>.text-link{margin-top:8px}.today-cards{display:flex;overflow-x:auto;scroll-snap-type:x proximity;gap:10px;padding-bottom:6px;margin-top:12px}.today-card{flex:0 0 min(82%,270px);scroll-snap-align:start;min-height:175px}.today-card>strong{font-size:23px}.today-heading p{font-size:12px}.today-lessons{margin-top:12px;padding-top:13px}.timetable-change-status{font-size:10px;height:27px}}
@media(prefers-reduced-motion:reduce){.today-card{transition:none}.timetable-change-status>span{animation:none}.timetable-swipe-surface{will-change:auto}}

.push-opt-in-symbol{display:grid;place-items:center;width:56px;height:56px;border-radius:14px;background:#e6f3ff;color:#0075de;margin-bottom:18px}.push-opt-in h3{font-size:23px;line-height:1.3;margin:0 0 13px}.push-opt-in .modal-form>.btn{width:100%;justify-content:center}html[data-theme=dark] .push-opt-in-symbol{background:#244361;color:#b2ddff}

@media(max-width:700px){.today-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));overflow:visible}.today-card{min-width:0;min-height:175px;padding:13px}.today-card:only-child{grid-column:1/-1}.today-card>strong{font-size:20px}.today-card-topic{font-size:11px}.today-card-kind{font-size:10px}}
@media(max-width:700px){.app-header{gap:8px;padding-left:12px;padding-right:12px}.app-header>div:first-child{flex:1;min-width:0;overflow:hidden}.app-header>div:first-child .breadcrumb{display:none}.app-header>div:first-child>svg{display:none}.app-header>div:first-child>strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.app-header .header-right{flex:none;gap:6px!important}.app-header .header-right .install-app-trigger{display:none}.app-header .header-right .sync{display:none}}

/* NextUp / Common Ground. Shared semantic tokens, consumed by the app and showcase. */
:root{
 --nu-cobalt:#3454d1;--nu-ink:#1d2b41;--nu-paper:#f5f6f8;--nu-white:#fff;
 --nu-brand:#3454d1;--nu-brand-hover:#2843b5;--nu-brand-soft:#eaf0ff;--nu-brand-text:#2948b6;
 --nu-bg:#f5f6f8;--nu-panel:#fff;--nu-panel-soft:#f0f2f6;--nu-text:#1d2b41;--nu-muted:#56657a;--nu-line:#dce2eb;
 --nu-success:#15745b;--nu-success-soft:#e5f4ed;--nu-warning:#8a5309;--nu-warning-soft:#fff3dc;--nu-danger:#b63346;--nu-danger-soft:#ffedf0;
 --nu-radius:16px;--nu-control:10px;--nu-shadow:0 4px 18px #1d2b4108;--nu-dialog-shadow:0 24px 80px #101c3633;
 --nu-s1:4px;--nu-s2:8px;--nu-s3:12px;--nu-s4:16px;--nu-s5:24px;--nu-s6:32px;
 --ink:var(--nu-text);--muted:var(--nu-muted);--line:var(--nu-line);--surface:var(--nu-bg);--accent:var(--nu-brand);
}
html[data-theme=dark]{
 --nu-brand:#a8b9ff;--nu-brand-hover:#bcc9ff;--nu-brand-soft:#28375b;--nu-brand-text:#bac9ff;
 --nu-bg:#111a29;--nu-panel:#1a2639;--nu-panel-soft:#223048;--nu-text:#f0f3fa;--nu-muted:#b1bdd0;--nu-line:#384760;
 --nu-success:#8cddbe;--nu-success-soft:#183e35;--nu-warning:#ffd292;--nu-warning-soft:#43341e;--nu-danger:#ffb0bd;--nu-danger-soft:#492632;
 --ink:var(--nu-text);--muted:var(--nu-muted);--line:var(--nu-line);--surface:var(--nu-bg);--accent:var(--nu-brand);
}
html:root body{background:var(--nu-bg);color:var(--nu-text)}
::selection{background:var(--nu-brand-soft);color:var(--nu-brand-text)}
:is(button,a,input,select,textarea,summary):focus-visible{outline:3px solid var(--nu-brand);outline-offset:3px}
html:root :is(.app-shell,.workspace,.main-content,.teacher-shell){background:var(--nu-bg);color:var(--nu-text)}
html:root .main-content{padding-top:30px}
html:root :is(.sidebar,.app-header,.app-bottom-navigation,.app-bottom-footer){background:var(--nu-panel);border-color:var(--nu-line);color:var(--nu-text)}
html:root .app-header{height:64px;box-shadow:0 1px 0 var(--nu-line)}
html:root .sidebar{padding-top:28px}
html:root .sidebar .brand img{max-width:142px;height:auto}
html:root .group-switch{border:1px solid var(--nu-line);background:var(--nu-panel-soft);border-radius:var(--nu-control)}
html:root .group-symbol{background:var(--nu-brand-soft);color:var(--nu-brand-text);border-radius:9px}
html:root :is(.sidebar nav>button,.subject-nav button,.sidebar-bottom>button){border-radius:var(--nu-control);color:var(--nu-muted);min-height:44px;font-size:13px}
html:root :is(.sidebar nav>button.active,.sidebar nav>button:hover,.subject-nav button.selected){background:var(--nu-brand-soft);color:var(--nu-brand-text)}
html:root .sidebar nav>button.active{font-weight:650;box-shadow:inset 3px 0 var(--nu-brand)}
html:root :is(.app-header strong,.profile strong,.section-heading h2,.home-section-heading h2,.day-flow-toolbar h2,.notifications-page h2,.modal-head h2){color:var(--nu-text)}
html:root :is(.breadcrumb,.profile small,.nav-label,.subtle,.field>small,.form-intro,.page-title p,.day-flow-toolbar p){color:var(--nu-muted)}
html:root .day-flow .page-title h1{font-size:clamp(28px,3.8vw,38px);font-weight:700;letter-spacing:-1.25px;line-height:1.15;color:var(--nu-text)}
html:root .page-title{margin-bottom:24px}
html:root .page-title .eyebrow{font-size:10px;letter-spacing:1px;color:var(--nu-muted)}
html:root .page-title p{font-size:13px;line-height:1.6;margin-top:9px}
html:root :is(.btn,.school-landing .btn){border-radius:var(--nu-control);min-height:44px;font-size:13px;font-weight:600;padding:11px 17px;transition:background .14s ease,transform .14s ease,box-shadow .14s ease}
html:root :is(.btn.primary,.btn.dark,.school-landing .btn.primary){background:var(--nu-cobalt);border:1px solid var(--nu-cobalt);color:#fff;box-shadow:0 2px 3px #1d2b4110}
html:root :is(.btn.primary,.btn.dark):hover:not(:disabled){background:#2843b5;border-color:#2843b5;box-shadow:0 4px 10px #3454d124}
html:root .btn:active:not(:disabled){transform:scale(.98)}
html:root :is(.btn.secondary,.btn.ghost){background:var(--nu-panel);color:var(--nu-text);border:1px solid var(--nu-line);box-shadow:none}
html:root :is(.btn.secondary,.btn.ghost):hover:not(:disabled){background:var(--nu-panel-soft);border-color:var(--nu-muted)}
html:root .btn:disabled{opacity:.5;cursor:not-allowed;box-shadow:none}
html:root :is(.btn.danger,.account-profile .btn.destructive){background:var(--nu-danger-soft);color:var(--nu-danger);border:1px solid var(--nu-danger)}
html:root :is(.text-link,.icon-button,.timetable-icon,.school-text-button,.school-label){color:var(--nu-brand-text)}
html:root :is(.theme-toggle,.timetable-today){border:1px solid var(--nu-line);border-radius:var(--nu-control);background:var(--nu-panel);color:var(--nu-text);min-height:40px}
html:root :is(.card,.settings-form,.swap-card,.student-card,.share-card,.notification-action,.home-agenda-column){background:var(--nu-panel);border:1px solid var(--nu-line);border-radius:var(--nu-radius);box-shadow:var(--nu-shadow);color:var(--nu-text)}
html:root .today-dashboard{position:relative;background:var(--nu-panel);border:1px solid var(--nu-line);border-radius:var(--nu-radius);padding:24px;box-shadow:var(--nu-shadow)}
html:root .today-kicker{display:flex;align-items:center;gap:7px;color:var(--nu-muted);font-size:10px;letter-spacing:1px}
html:root .today-kicker:before{content:'';width:7px;height:7px;border-radius:50%;background:var(--nu-brand);box-shadow:0 0 0 3px var(--nu-brand-soft)}
html:root .today-heading h2{color:var(--nu-text);font-size:26px;letter-spacing:-.7px;font-weight:700}
html:root .today-heading p{color:var(--nu-muted);font-size:13px;line-height:1.6}
html:root .today-heading>.text-link{color:var(--nu-brand-text);font-weight:600}
html:root .today-cards{gap:12px;margin-top:20px}
html:root .today-card{background:var(--nu-panel-soft);color:var(--nu-text);border:1px solid var(--nu-line);border-top:3px solid var(--today-subject);border-radius:12px;min-height:160px;padding:17px;box-shadow:none}
html:root .today-card:hover{border-color:var(--nu-brand);box-shadow:0 4px 12px #1d2b4110;transform:translateY(-2px)}
html:root .today-card>strong{font-size:24px;letter-spacing:-.6px;color:var(--nu-text)}
html:root .today-card-kind{align-self:flex-start;font-weight:600;border-radius:6px;padding:5px 7px;font-size:11px}
html:root .today-test .today-card-kind{background:var(--nu-warning-soft);color:var(--nu-warning)}
html:root .today-oral .today-card-kind{background:var(--nu-success-soft);color:var(--nu-success)}
html:root .today-card-topic{color:var(--nu-muted);font-size:12px}
html:root .today-card-footer{color:var(--nu-muted);border-color:var(--nu-line);font-size:11px}
html:root .today-lessons{border-color:var(--nu-line);margin-top:20px}
html:root .today-lessons>span{color:var(--nu-muted)}
html:root .today-lessons button{background:var(--nu-panel);border-color:var(--nu-line);color:var(--nu-text);border-radius:8px}
html:root .next-turn-card{background:var(--nu-brand-soft);border:1px solid color-mix(in srgb,var(--nu-brand) 25%,var(--nu-line));border-left:4px solid var(--nu-brand);border-radius:var(--nu-radius);padding:24px}
html:root .next-turn-card h2{color:var(--nu-text);font-size:28px;letter-spacing:-.7px}
html:root .next-turn-card :is(p,.next-turn-top>span){color:var(--nu-brand-text)}
html:root .next-turn-top>strong{background:var(--nu-panel);color:var(--nu-brand-text);border:0;border-radius:7px;padding:7px 10px;font-size:11px}
html:root .next-turn-card>button{color:var(--nu-brand-text);font-weight:650}
html:root .volunteer-home{background:var(--nu-panel);border:1px solid var(--nu-line);border-radius:var(--nu-radius);padding:20px 24px}
html:root .volunteer-home h2{color:var(--nu-text);font-size:18px;letter-spacing:-.4px}
html:root .volunteer-home p{color:var(--nu-muted);font-size:12px}
html:root .home-agenda{gap:16px}
html:root .home-agenda-column{padding:20px}
html:root .home-section-heading h2{font-size:17px;letter-spacing:-.35px}
html:root .home-event{background:transparent;border-color:var(--nu-line);color:var(--nu-text);min-height:80px}
html:root .home-event strong{color:var(--nu-text)}
html:root .home-event :is(small,svg){color:var(--nu-muted)}
html:root .home-date{background:var(--nu-brand-soft);color:var(--nu-brand-text);border-radius:9px;border:0}
html:root .home-date strong,html:root .home-date small{color:var(--nu-brand-text)}
html:root .home-test .home-date{background:var(--nu-warning-soft)}
html:root .home-test .home-date :is(strong,small){color:var(--nu-warning)}
html:root .home-empty{color:var(--nu-muted);font-size:13px}
html:root :is(.day-subjects button,.day-answer button,.class-weekdays button,.repeat-weekdays button){background:var(--nu-panel);border-color:var(--nu-line);color:var(--nu-muted);border-radius:9px;min-height:40px}
html:root :is(.day-subjects button.selected,.class-weekdays button[aria-pressed=true],.repeat-weekdays button[aria-pressed=true]){background:var(--nu-brand-soft);color:var(--nu-brand-text);border-color:var(--nu-brand);box-shadow:inset 0 0 0 1px var(--nu-brand)}
html:root :is(.day-personal.assigned,.day-names>span.is-me,.day-answer button.yes.selected,.pill.green){background:var(--nu-success-soft);color:var(--nu-success);border-color:var(--nu-success)}
html:root .day-answer button.no.selected{background:var(--nu-danger-soft);color:var(--nu-danger);border-color:var(--nu-danger)}
html:root :is(.day-personal.assigned strong,.day-personal.assigned span){color:var(--nu-success)}
html:root :is(.day-personal,.day-names>span,.pill){background:var(--nu-panel-soft);color:var(--nu-muted);border-color:var(--nu-line)}
html:root .day-row{border-color:var(--nu-line)}
html:root :is(.day-when strong,.day-flow-toolbar h2){color:var(--nu-text)}
html:root :is(.day-when span,.day-when small,.day-hint,.day-responses,.day-row-label){color:var(--nu-muted)}
html:root .pill.amber{background:var(--nu-warning-soft);color:var(--nu-warning)}
html:root .simple-timetable{--tt-bg:var(--nu-panel);--tt-panel:var(--nu-bg);--tt-cell:var(--nu-panel-soft);--tt-text:var(--nu-text);--tt-accent:var(--nu-brand-text);--tt-feedback:var(--nu-brand-soft);background:var(--nu-panel);color:var(--nu-text);border:1px solid var(--nu-line);border-radius:var(--nu-radius);box-shadow:var(--nu-shadow);padding:24px}
html:root .timetable-navigation{background:var(--nu-panel)}
html:root .timetable-sheet{background:var(--nu-bg);border:1px solid var(--nu-line);border-radius:12px}
html:root .timetable-sheet thead th{background:var(--nu-bg);color:var(--nu-muted)}
html:root .timetable-sheet thead th>button{color:var(--nu-text)}
html:root :is(.timetable-sheet thead th.is-today>button,.daily-week-strip button[aria-pressed=true]){background:var(--nu-brand);color:var(--nu-panel);border-radius:8px}
html:root .timetable-block{border-radius:9px;border-left:3px solid var(--lesson-color);background:color-mix(in srgb,var(--lesson-color) 11%,var(--nu-panel));color:var(--nu-text)}
html:root .timetable-block>strong{color:var(--nu-text);font-weight:700}
html:root .timetable-block :is(span,small){color:var(--nu-muted)}
html:root .timetable-block.is-mine{outline:2px solid var(--nu-brand);outline-offset:-2px}
html:root .timetable-block .timetable-you{background:var(--nu-brand);color:var(--nu-panel)}
html:root .timetable-empty-cell{background:var(--nu-panel-soft);border-radius:9px}
html:root :is(.timetable-group,.timetable-gesture-hint,.timetable-empty){color:var(--nu-muted)}
html:root :is(.timetable-view-switch,.schedule-display-tabs,.assessment-kind){background:var(--nu-panel-soft);border:1px solid var(--nu-line);border-radius:10px;padding:4px}
html:root :is(.timetable-view-switch button,.schedule-display-tabs button,.assessment-kind button){border-radius:7px;color:var(--nu-muted);min-height:36px}
html:root :is(.timetable-view-switch button[aria-pressed=true],.schedule-display-tabs button[aria-pressed=true],.assessment-kind button[aria-pressed=true]){background:var(--nu-panel);color:var(--nu-brand-text);box-shadow:0 1px 4px #1d2b4114;font-weight:650}
html:root .timetable-change-status{color:var(--nu-brand-text)}
html:root .timetable-change-status>span{background:var(--nu-brand-soft)}
html:root .app-bottom-navigation{padding:6px;border-top:1px solid var(--nu-line);box-shadow:0 -4px 20px #1d2b4106}
html:root .app-bottom-navigation>button{color:var(--nu-muted);font-size:11px;font-weight:500;min-height:54px;border-radius:10px}
html:root .app-bottom-navigation>button[aria-current=page]{color:var(--nu-brand-text);font-weight:700}
html:root .app-bottom-navigation::before{background:var(--nu-brand-soft);border-radius:10px}
html:root .modal{background:var(--nu-panel);color:var(--nu-text);border:1px solid var(--nu-line);border-radius:20px;box-shadow:var(--nu-dialog-shadow)}
html:root .modal::backdrop{background:#101c3666;backdrop-filter:blur(4px)}
html:root .modal-head{background:var(--nu-panel);border-color:var(--nu-line);padding:23px 25px 19px}
html:root .modal-head h2{font-size:21px;letter-spacing:-.5px}
html:root :is(.modal p,.field>span,.check-label,.auth-switch,.session-details){color:var(--nu-muted)}
html:root :is(.field input,.field select,.field textarea,.timetable-date-picker input,.timetable-more select){background:var(--nu-panel);border:1px solid var(--nu-line);color:var(--nu-text);border-radius:var(--nu-control);min-height:44px;box-shadow:none;font-size:16px}
html:root :is(.field input,.field select,.field textarea):focus{border-color:var(--nu-brand);box-shadow:0 0 0 3px var(--nu-brand-soft)}
html:root :is(.session-roster>li,.notification-item,.profile-session,.profile-delete){border-color:var(--nu-line)}
html:root :is(.session-roster>li>button,.session-topic,.timetable-more>div){background:var(--nu-panel);color:var(--nu-text);border-color:var(--nu-line)}
html:root .session-roster>li>button.is-you{background:var(--nu-brand-soft)}
html:root .session-roster>li>button:not(:disabled):hover{background:var(--nu-panel-soft)}
html:root :is(.session-student strong,.session-detail-title h3,.student-card strong,.swap-card strong,.notifications-list h3){color:var(--nu-text)}
html:root :is(.session-order,.session-open-avatar,.notification-symbol,.share-recipient,.soft-note,.swap-explainer,.booking-preview){background:var(--nu-brand-soft);color:var(--nu-brand-text);border-color:var(--nu-line)}
html:root :is(.session-student strong small,.count){background:var(--nu-brand-soft);color:var(--nu-brand-text);border-radius:5px}
html:root :is(.session-slot-action,.session-facts,.session-student>span,.session-roster-label,.session-timing-note,.notifications-note,.notification-item time,.swap-route small,.swap-route span){color:var(--nu-muted)}
html:root .test-detail-heading{color:var(--nu-warning);background:var(--nu-warning-soft);padding:10px 12px;border-radius:9px}
html:root .swap-card blockquote{background:var(--nu-panel-soft);color:var(--nu-text);border-radius:10px}
html:root :is(.form-error,.modal-form>.form-error){background:var(--nu-danger-soft);color:var(--nu-danger);border-color:var(--nu-danger);border-radius:var(--nu-control)}
html:root .toast{background:var(--nu-ink);color:#fff;border-radius:12px;box-shadow:var(--nu-dialog-shadow)}
html:root .demo-banner{background:var(--nu-brand-soft);border-color:var(--nu-line);color:var(--nu-brand-text)}
html:root .demo-banner button{color:var(--nu-brand-text)}
html:root .demo-actors select{background:var(--nu-panel);border-color:var(--nu-line);color:var(--nu-text)}
html:root .pwa-install-banner{background:var(--nu-panel);border:1px solid var(--nu-line);color:var(--nu-text);border-radius:12px;box-shadow:0 4px 20px #1d2b4114}
html:root .pwa-install-banner>.pwa-install-cta{background:var(--nu-cobalt);color:#fff;border-radius:8px}
html:root .school-landing{--school-ink:var(--nu-text);--school-muted:var(--nu-muted);--school-line:var(--nu-line);background:var(--nu-panel);color:var(--nu-text)}
html:root :is(.school-intro h1,.school-product-copy h2,.school-feature-copy h2,.school-section-heading h2,.school-why h2,.school-questions h2,.school-join h2){color:var(--nu-text)}
html:root :is(.school-product-banner,.school-join,.school-instructions){background:var(--nu-brand-soft);border-radius:20px}
html:root .school-phone-stage{background:var(--nu-panel-soft)}
html:root .school-phone-stage:before{display:none}
html:root .school-instructions li>span{background:var(--nu-panel);color:var(--nu-brand-text);border:1px solid var(--nu-line);border-radius:10px}
html:root .school-free-note{color:var(--nu-muted)}
@media(min-width:1100px){html:root .day-flow{max-width:1040px}html:root .main-content{padding:36px 36px 0}}
@media(max-width:700px){
 html:root .main-content{padding:24px 16px 0}html:root .app-header{height:58px}
 html:root .today-dashboard{padding:20px 16px}html:root .today-heading h2{font-size:24px}html:root .today-heading p{font-size:12px}
 html:root .today-card{min-height:150px;padding:13px}html:root .today-card>strong{font-size:21px}html:root .today-card-kind{font-size:10px}
 html:root .next-turn-card{padding:20px}html:root .next-turn-card h2{font-size:26px}
 html:root .volunteer-home{padding:20px}html:root .volunteer-home .btn{width:100%;justify-content:center}
 html:root .home-agenda-column{padding:17px}html:root .simple-timetable{padding:15px 10px}
 html:root .modal{border-radius:18px}html:root .modal-head{padding:21px 22px 17px}
}
@media(prefers-reduced-motion:reduce){html:root .btn{transition:none}html:root .btn:active{transform:none}}
@media print{html:root body{background:#fff;color:#111}}
html:root .avatar[data-tone="0"]{background:var(--nu-brand-soft);color:var(--nu-brand-text)}
html:root .avatar[data-tone="1"]{background:var(--nu-success-soft);color:var(--nu-success)}
html:root .avatar[data-tone="2"]{background:var(--nu-warning-soft);color:var(--nu-warning)}
html:root .timetable-block.is-test>small{color:var(--nu-warning);background:var(--nu-warning-soft);border-radius:5px;padding:3px 4px;align-self:flex-start;width:fit-content}
html:root .timetable-block.is-mine>small{color:var(--nu-brand-text);font-weight:700}
html:root .timetable-block.is-mine .exam-dot{background:var(--nu-brand)}

html:root .pwa-install-banner>.pwa-install-dismiss{background:transparent;color:var(--nu-muted);border-radius:8px}
html:root .session-details h3{color:var(--nu-text);font-size:24px;letter-spacing:-.5px}
html:root .session-details .test-topic{background:var(--nu-warning-soft);color:var(--nu-warning);border:1px solid color-mix(in srgb,var(--nu-warning) 25%,var(--nu-line));border-radius:10px}
html:root :is(.volunteer-dates label,.volunteer-existing,.daily-week-strip button,.day-picker-grid button){background:var(--nu-panel);color:var(--nu-text);border-color:var(--nu-line)}
html:root :is(.volunteer-dates label.selected,.day-picker-grid button.selected){background:var(--nu-brand-soft);color:var(--nu-brand-text);border-color:var(--nu-brand)}
@media(prefers-reduced-motion:reduce){html:root .today-card:hover{transform:none}}
.name-roster{margin:20px 0;padding:17px;border:1px solid var(--nu-line);border-radius:12px;background:var(--nu-panel)}.name-roster-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;color:var(--nu-text);font-size:14px}.name-roster-heading>span{font-size:11px;color:var(--nu-muted)}.name-roster>p{font-size:12px;line-height:1.7;margin:10px 0}.name-roster-add{display:flex;gap:8px}.name-roster input:not([type=checkbox]){min-width:0;width:100%;min-height:44px;border:1px solid var(--nu-line);border-radius:8px;background:var(--nu-panel);color:var(--nu-text);font-size:16px;padding:10px}.name-roster-tools{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}.name-roster-tools .btn{font-size:11px;padding:9px 11px}.name-roster-list{padding:0;margin:15px 0 0;list-style:none;max-height:270px;overflow:auto}.name-roster-list li{display:flex;align-items:center;gap:10px;border-top:1px solid var(--nu-line);min-height:44px;font-size:12px}.name-roster-list li>span{color:var(--nu-muted);min-width:22px}.name-roster-list li>strong{flex:1;color:var(--nu-text);overflow-wrap:anywhere}.name-roster-list .icon-button{flex:none}.name-roster-import{background:var(--nu-panel-soft);border:1px solid var(--nu-line);border-radius:9px;padding:12px}.name-roster-options{max-height:210px;overflow:auto;margin-top:8px}.name-roster-options label{display:flex;align-items:center;gap:9px;min-height:42px;font-size:13px;color:var(--nu-text)}.name-roster-options input{width:17px;height:17px;accent-color:var(--nu-cobalt)}
.draggable-phone-stage{touch-action:pan-y;cursor:grab;user-select:none;-webkit-user-select:none}.draggable-phone-stage[data-dragging=true]{cursor:grabbing}.draggable-phone-stage .showcase-phone-select{cursor:inherit;touch-action:pan-y}.draggable-phone-stage[data-dragging=true] .showcase-phone{transition:none!important}.phone-drag-hint{display:flex;align-items:center;justify-content:center;gap:10px;color:var(--nu-muted);font-size:12px;margin:0 0 14px}.phone-drag-hint>span{font-size:20px;color:var(--nu-brand-text)}

/* Empty states use the same surfaces and contrast in both themes. */
html:root .empty{background:var(--nu-panel);border:1px solid var(--nu-line);color:var(--nu-text);border-radius:var(--nu-radius)}
html:root .empty h3{color:var(--nu-text)}
html:root .empty p{color:var(--nu-muted)}
html:root .empty-icon{background:var(--nu-brand-soft);color:var(--nu-brand-text);transform:none}

/* The header has one navigation trigger and one home destination. */
html:root :is(.school-nav.compact-header,.app-header.compact-header){display:flex;justify-content:flex-start;align-items:center;gap:16px;min-height:64px;height:64px;flex-wrap:nowrap;padding:0 28px}
html:root .school-nav.compact-header{max-width:1240px;margin:auto;height:76px}
.compact-header .header-menu{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;width:44px;height:44px;padding:10px;border-radius:10px;color:var(--nu-text)}
.compact-header .header-home{display:inline-flex;align-items:center;padding:8px 0}
.compact-header .brand{display:flex;font-size:24px}
.compact-header .brand img{height:30px;width:auto;max-width:140px}
.header-menu:hover{background:var(--nu-brand-soft)}
html:has(.navigation-drawer[open]){overflow:hidden}
.navigation-drawer{position:fixed;inset:0 auto 0 0;margin:0;padding:0;width:min(320px,calc(100vw - 40px));max-width:none;height:100dvh;max-height:100dvh;border:0;border-right:1px solid var(--nu-line);border-radius:0;background:var(--nu-panel);color:var(--nu-text);box-shadow:12px 0 50px #101d3526;overflow:auto;overscroll-behavior:contain}
.navigation-drawer::backdrop{background:#10203d66}
.navigation-drawer:not([open]){display:none}
.navigation-drawer[open]{display:flex;flex-direction:column}
.public-drawer-head{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:26px 22px;border-bottom:1px solid var(--nu-line)}
.public-drawer-head .brand{font-size:24px}
.public-drawer-links{display:grid;gap:6px;padding:24px 16px}
.public-drawer-links>:is(button,a){display:flex;align-items:center;min-height:48px;text-align:left;padding:12px 16px;border-radius:10px;line-height:1.6;font-size:14px;color:var(--nu-text)}
.public-drawer-links>:is(button,a):hover{background:var(--nu-brand-soft);color:var(--nu-brand-text)}
.drawer-preferences{display:flex;align-items:center;flex-wrap:wrap;gap:12px;padding:20px 22px;margin-top:auto;border-top:1px solid var(--nu-line)}
.drawer-preferences .theme-toggle{display:inline-flex;max-width:100%}
.navigation-drawer :is(button,a):focus-visible{outline:2px solid var(--nu-brand);outline-offset:2px}
/* The same drawer works for signed-in students and organizers at every width. */
html:root .navigation-drawer .sidebar{position:static;inset:auto;transform:none;visibility:visible;width:100%;height:auto;min-height:100%;padding:24px 16px 12px;border:0;overflow:visible;box-shadow:none;transition:none}
.navigation-drawer .sidebar-brand .mobile-only{display:inline-flex}
.navigation-drawer .sidebar .drawer-preferences{margin:16px -4px 0;padding:18px 8px}
.navigation-drawer .sidebar .sidebar-bottom{padding-top:18px}
html:root .app-shell>.workspace{margin-left:0}
.sidebar-sync{font-size:11px;line-height:1.7;color:var(--nu-muted);padding:10px 12px 0}
.setup-flow{gap:20px}
.setup-flow>h3{font-size:25px;line-height:1.35;margin:0;color:var(--nu-text)}
.setup-flow>p{margin:0;line-height:1.8}
.setup-flow>form{display:grid;gap:16px}
.setup-progress{margin:0 0 10px}
.setup-progress>div:first-child{display:flex;justify-content:space-between;gap:16px;font-size:11px;line-height:1.6;color:var(--nu-muted);margin-bottom:12px}
.setup-progress strong{font-weight:550;color:var(--nu-text)}
.setup-progress [role=progressbar]{height:5px;border-radius:8px;background:var(--nu-line);overflow:hidden}
.setup-progress [role=progressbar]>span{display:block;height:100%;background:var(--nu-brand);border-radius:inherit;transition:width 220ms ease}
.setup-back,.setup-skip{display:flex;align-items:center;gap:8px;font-size:12px;color:var(--nu-brand-text);min-height:40px;text-align:left}
.setup-code-progress{padding:26px 28px 0}
.setup-code-progress .setup-progress{margin-bottom:8px}
.setup-skip{margin:0 28px 24px}
.setup-password{display:flex;align-items:center;gap:4px;border:1px solid var(--nu-line);border-radius:var(--nu-control);background:var(--nu-panel)}
.setup-password:focus-within{outline:2px solid var(--nu-brand);outline-offset:2px}
.setup-password input{flex:1;min-width:0;border:0;box-shadow:none!important;outline:none}
.setup-password>button{display:grid;place-items:center;width:44px;min-height:44px;flex-shrink:0;color:var(--nu-muted)}
@media(prefers-reduced-motion:reduce){.setup-progress [role=progressbar]>span{transition:none}}
.welcome-class{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:clamp(32px,6vw,80px);align-items:center;max-width:1000px;margin:clamp(12px,4vw,48px) auto 48px;padding:clamp(24px,4vw,48px);border:1px solid var(--nu-line);border-radius:24px;background:var(--nu-panel);color:var(--nu-text)}
.welcome-eyebrow{display:inline-block;color:var(--nu-brand-text);font-size:12px;font-weight:600;margin-bottom:20px}
.welcome-class h1{color:var(--nu-text);font-size:clamp(28px,3vw,39px);line-height:1.25;letter-spacing:-1px;margin:0 0 22px}
.welcome-class-copy>p{font-size:15px;line-height:1.9;color:var(--nu-muted);margin:0 0 28px;max-width:430px}
.welcome-class-copy>small{display:block;font-size:11px;line-height:1.8;color:var(--nu-muted);margin-top:18px;max-width:340px}
.welcome-class-steps{padding:28px;border-radius:18px;background:var(--nu-panel-soft)}
.welcome-class-steps h2{font-size:15px;font-weight:600;line-height:1.6;color:var(--nu-text);margin:0 0 26px}
.welcome-class-steps ol{list-style:none;padding:0;margin:0;display:grid;gap:26px}
.welcome-class-steps li{display:flex;align-items:flex-start;gap:14px}
.welcome-class-steps li>span{display:grid;place-items:center;flex-shrink:0;width:40px;height:40px;border-radius:12px;color:var(--nu-brand-text);background:var(--nu-brand-soft)}
.welcome-class-steps strong{display:block;font-size:13px;line-height:1.6;color:var(--nu-text)}
.welcome-class-steps li p{font-size:12px;line-height:1.8;color:var(--nu-muted);margin:5px 0 0}
.welcome-class-note{font-size:11px;color:var(--nu-muted);padding-top:24px;margin:26px 0 0;border-top:1px solid var(--nu-line);line-height:1.8}
@media(max-width:700px){.welcome-class{grid-template-columns:1fr;padding:28px 24px;gap:32px;margin:8px 0 36px;border-radius:18px}.welcome-class h1{font-size:30px;line-height:1.3}.welcome-class-copy>p{font-size:14px}.welcome-class-steps{padding:24px 20px}.welcome-class-copy>.btn{width:100%}}
@media(max-width:640px){
 html:root :is(.school-nav.compact-header,.app-header.compact-header){padding:0 16px;gap:12px;height:64px;min-height:64px}
 .compact-header .brand img{height:28px}
}
.upload-zone .paste-timetable{width:min(100%,420px);min-height:66px;resize:vertical;background:var(--nu-panel);border:1px dashed var(--nu-line);border-radius:10px;padding:12px;color:var(--nu-text);font:inherit;font-size:12px;line-height:1.6;margin-top:12px}
.upload-zone .btn.secondary{margin-top:10px}
html:root .timetable-more>div button{color:var(--nu-text);min-height:44px;width:100%;text-align:left;display:flex;align-items:center;gap:8px}
html:root .timetable-more>div button:hover{background:var(--nu-panel-soft)}
html:root .timetable-import :is(h3,strong,.import-steps .active,.teacher-rule-title){color:var(--nu-text)}
html:root .timetable-import :is(.lesson-editor-heading,.teacher-rule,.planner-range,.plan-summary-strip,.import-date-preview>label,.upload-zone){background:var(--nu-panel-soft);color:var(--nu-text);border-color:var(--nu-line)}
html:root .timetable-import :is(.lesson-row input,.lesson-row select,.ocr-details textarea){background:var(--nu-panel);color:var(--nu-text);border-color:var(--nu-line)}
html:root .timetable-import :is(.lesson-row label>span,.import-intro p,.upload-zone p,.upload-zone small,.import-privacy,.review-confirm,.teacher-rule-title>span){color:var(--nu-muted)}
html:root .timetable-import :is(.review-confirm,.ocr-details,.timetable-reference>div,.rescan-overlay){background:var(--nu-panel-soft);border-color:var(--nu-line);color:var(--nu-text)}
html:root .timetable-import :is(.review-confirm>span,.ocr-details summary){color:var(--nu-text)}
html:root .timetable-import .timetable-reference .text-link{color:var(--nu-brand-text)}

html:root .app-bottom-navigation{grid-template-columns:repeat(4,minmax(0,1fr))}
html:root .app-bottom-navigation::before{width:25%}
.class-chat{max-width:880px;margin:0 auto;color:var(--nu-text)}
.chat-heading{display:flex;align-items:center;gap:14px;margin:8px 0 24px}.chat-heading h1{font-size:28px;letter-spacing:-.7px;margin:0 0 5px}.chat-heading p{color:var(--nu-muted);font-size:14px;margin:0}.chat-heading-icon{display:grid;place-items:center;background:var(--nu-brand-soft);color:var(--nu-brand-text);border-radius:15px;width:48px;height:48px;flex-shrink:0}.chat-members{margin-left:auto;font-size:11px;color:var(--nu-muted)}
.chat-surface{position:relative;border:1px solid var(--nu-line);border-radius:22px;background:var(--nu-panel);overflow:hidden}.chat-messages{height:min(54dvh,560px);min-height:220px;overflow-y:auto;overscroll-behavior:contain;padding:20px;scrollbar-gutter:stable}.chat-message{display:flex;align-items:flex-end;gap:9px;margin:12px 0}.chat-message>.avatar{flex-shrink:0;width:30px;height:30px;font-size:11px}.chat-bubble{max-width:80%;padding:12px 15px;border-radius:17px 17px 17px 4px;background:var(--nu-panel-soft);border:1px solid var(--nu-line);min-width:100px}.chat-message.mine{flex-direction:row-reverse}.chat-message.mine .chat-bubble{background:var(--nu-brand-soft);border-color:var(--nu-line);border-radius:17px 17px 4px 17px}.chat-author{font-size:12px;font-weight:650;color:var(--nu-brand-text);display:flex;gap:8px;flex-wrap:wrap}.chat-author small{font-size:10px;font-weight:400;color:var(--nu-muted)}.chat-bubble p{white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px;line-height:1.6;margin:5px 0;color:var(--nu-text)}.chat-bubble time{display:block;text-align:right;font-size:10px;color:var(--nu-muted)}.chat-date{text-align:center;color:var(--nu-muted);font-size:11px;margin:16px 0}.chat-empty{display:flex;align-items:center;justify-content:center;flex-direction:column;min-height:210px;text-align:center;color:var(--nu-muted);max-width:330px;margin:auto}.chat-empty svg{color:var(--nu-brand-text);margin:16px}.chat-empty h2{font-size:20px;color:var(--nu-text);margin:0 0 10px}.chat-empty p{font-size:14px;line-height:1.7;margin:0}.chat-composer{display:grid;grid-template-columns:1fr auto;align-items:center;gap:8px 12px;border-top:1px solid var(--nu-line);padding:16px}.chat-composer textarea{width:100%;resize:vertical;min-height:50px;max-height:140px;background:var(--nu-panel-soft);color:var(--nu-text);border:1px solid var(--nu-line);border-radius:12px;padding:12px;font:inherit;font-size:14px}.chat-composer textarea:focus{outline:2px solid var(--nu-brand-text);outline-offset:2px}.chat-composer small{grid-column:1/-1;color:var(--nu-muted);font-size:10px}.chat-error{padding:10px 16px;color:var(--nu-text);border-top:1px solid var(--nu-line);font-size:13px}.chat-status{text-align:center;color:var(--nu-muted);padding:30px}.chat-new{position:absolute;bottom:140px;left:50%;transform:translateX(-50%);background:var(--nu-brand-text);color:var(--nu-panel);border:0;border-radius:20px;padding:10px 16px;display:flex;gap:6px;white-space:nowrap;box-shadow:0 3px 15px #0002}
@media(max-width:600px){.chat-members{display:none}.chat-heading h1{font-size:24px}.chat-heading{margin-bottom:16px}.chat-messages{padding:12px;height:48dvh}.chat-surface{border-radius:17px}.chat-composer{padding:12px;gap:8px}.chat-composer .btn{padding:12px}.chat-composer .btn span{display:none}.chat-bubble{max-width:86%}html:root .app-bottom-navigation>button{font-size:10px}}

.iphone-lock{height:100dvh;overflow:hidden;position:relative;background:radial-gradient(ellipse at 85% 0%,#e1c5f4 0,transparent 55%),radial-gradient(ellipse at 15% 100%,#4a97c9,transparent 65%),linear-gradient(155deg,#9cb6e2,#376b9a 60%,#303e76);color:#fff;font-family:-apple-system,BlinkMacSystemFont,Inter,'Segoe UI',sans-serif}.iphone-lock:before{content:'';position:absolute;inset:-30% -40%;border:90px solid #c7ddf929;transform:rotate(-37deg);border-radius:43%;pointer-events:none}.iphone-lock-status{position:relative;display:flex;align-items:center;justify-content:space-between;height:48px;padding:15px 23px 0;font-size:11px;font-weight:600}.iphone-lock-status>div{display:flex;align-items:center;gap:4px}.iphone-lock-clock{position:absolute;top:59px;left:0;right:0;display:flex;flex-direction:column;align-items:center;text-shadow:0 1px 6px #10294312}.iphone-lock-clock>p{font-size:17px;font-weight:500;margin:12px 0 0;text-transform:capitalize}.iphone-lock-clock>strong{font-size:92px;line-height:1.12;letter-spacing:-5px;font-weight:600;margin-top:2px;font-variant-numeric:tabular-nums}.iphone-notifications{position:absolute;left:10px;right:10px;bottom:127px;display:grid;gap:8px}.iphone-notification{display:flex;align-items:flex-start;gap:10px;background:#f5f7ffb8;color:#10141b;padding:12px 12px;border:1px solid #ffffff4d;border-radius:19px;backdrop-filter:blur(22px) saturate(160%);box-shadow:0 3px 8px #1629490c}.iphone-notification>img,.iphone-app-icon{width:33px;height:33px;flex-shrink:0;border-radius:8px;margin-top:2px}.iphone-notification>div{flex:1;min-width:0}.iphone-notification header{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:3px}.iphone-notification header>strong{font-size:11px;font-weight:600;letter-spacing:0}.iphone-notification header>span{font-size:9px;color:#454d5b}.iphone-notification h2{font-family:inherit;font-size:13px;line-height:1.35;font-weight:600;letter-spacing:-.1px;text-wrap:wrap;margin:0}.iphone-notification p{font-family:inherit;font-size:11px;line-height:1.4;margin:3px 0 0;color:#18202b}.nextup-notification{background:#f4f9ffdf;box-shadow:0 4px 15px #112b4b15}.nextup-notification h2{font-size:15px}.iphone-app-icon{display:grid;place-items:center}.iphone-app-icon svg{width:30px;height:30px}.snapchat-icon{background:#fffc00}.tiktok-icon{background:#090a0c}.iphone-lock-shortcuts{position:absolute;left:32px;right:32px;bottom:43px;display:flex;align-items:center;justify-content:space-between}.iphone-lock-shortcuts>span{display:grid;place-items:center;width:42px;height:42px;border-radius:50%;background:#17253555;border:1px solid #ffffff20;backdrop-filter:blur(10px)}.iphone-lock-home{position:absolute;bottom:9px;left:calc(50% - 48px);width:96px;height:4px;background:white;border-radius:5px}html[data-theme=dark] .iphone-lock{background:radial-gradient(ellipse at 85% 0%,#685087 0,transparent 55%),radial-gradient(ellipse at 15% 100%,#173e5e,transparent 65%),linear-gradient(155deg,#263951,#0a1828 60%,#17203b)}html[data-theme=dark] .iphone-notification{background:#303542c7;border-color:#ffffff1a;color:#f5f7fc}html[data-theme=dark] .iphone-notification :is(p,header>span){color:#e1e5ed}html[data-theme=dark] .nextup-notification{background:#354354e8}

/* NextUp / Common Ground. Preserve the original blue palette and clearer lists. */
@font-face{font-family:Manrope;src:url('/fonts/manrope-variable.ttf') format('truetype');font-weight:200 800;font-display:swap}
:root{
 --nu-cobalt:#3454d1;--nu-ink:#1d2b41;--nu-paper:#f5f6f8;--nu-white:#fff;
 --nu-brand:#3454d1;--nu-brand-hover:#2843b5;--nu-brand-soft:#eaf0ff;--nu-brand-text:#2948b6;
 --nu-bg:#f5f6f8;--nu-panel:#fff;--nu-panel-soft:#f0f2f6;--nu-text:#1d2b41;--nu-muted:#56657a;--nu-line:#dce2eb;
 --nu-success:#15745b;--nu-success-soft:#e5f4ed;--nu-warning:#8a5309;--nu-warning-soft:#fff3dc;--nu-danger:#b63346;--nu-danger-soft:#ffedf0;
 --nu-radius:16px;--nu-control:10px;--nu-shadow:0 4px 18px #1d2b4108;--nu-dialog-shadow:0 24px 80px #101c3633;
 --nu-s1:4px;--nu-s2:8px;--nu-s3:12px;--nu-s4:16px;--nu-s5:24px;--nu-s6:32px;
 --ink:var(--nu-text);--muted:var(--nu-muted);--line:var(--nu-line);--surface:var(--nu-bg);--accent:var(--nu-brand);
 --nu-marker:#eaf0ff;--nu-marker-text:#1d2b41;--brand-mark-ink:#ffffff;
}
html[data-theme=dark]{
 --nu-brand:#a8b9ff;--nu-brand-hover:#bcc9ff;--nu-brand-soft:#28375b;--nu-brand-text:#bac9ff;
 --nu-bg:#111a29;--nu-panel:#1a2639;--nu-panel-soft:#223048;--nu-text:#f0f3fa;--nu-muted:#b1bdd0;--nu-line:#384760;
 --nu-success:#8cddbe;--nu-success-soft:#183e35;--nu-warning:#ffd292;--nu-warning-soft:#43341e;--nu-danger:#ffb0bd;--nu-danger-soft:#492632;
 --ink:var(--nu-text);--muted:var(--nu-muted);--line:var(--nu-line);--surface:var(--nu-bg);--accent:var(--nu-brand);
 --nu-cobalt:#3454d1;--nu-marker:#28375b;--nu-marker-text:#f0f3fa;--brand-mark-ink:#1d2b41;
}
html:root body,html:root button,html:root input,html:root select,html:root textarea{font-family:Manrope,Arial,sans-serif}
html:root h1,html:root h2,html:root h3{font-family:Manrope,Arial,sans-serif;letter-spacing:-.045em;line-height:1.18;color:var(--nu-text)}
html:root p{line-height:1.7}html:root .main-content{max-width:1180px;margin:auto;width:100%;padding-top:28px}
html:root :is(.eyebrow,.school-label,.nav-label){font-weight:650;letter-spacing:.025em;color:var(--nu-muted)}
html:root .brand.nextup-brand{display:inline-flex;align-items:center;gap:9px;color:var(--nu-brand-text);white-space:nowrap;height:36px}
html:root .brand-symbol{width:34px;height:34px;flex-shrink:0}.brand-word{color:var(--nu-text);font-size:25px;font-weight:800;letter-spacing:-1.4px;line-height:1}.brand-word>span{color:var(--nu-brand-text)}
html:root :is(.btn.primary,.btn.dark,.school-landing .btn.primary){background:var(--nu-cobalt);color:#fffef9;border-color:var(--nu-cobalt);box-shadow:none;font-weight:750}
html[data-theme=dark]:root :is(.btn.primary,.btn.dark,.school-landing .btn.primary){color:#fff}
html:root .btn.secondary{background:var(--nu-panel);border:1px solid var(--nu-line);color:var(--nu-text);box-shadow:none}
html:root .btn.ghost,html:root .text-link{color:var(--nu-brand-text)}
html:root .btn.danger,html:root .withdrawal-confirm{color:var(--nu-danger);background:var(--nu-danger-soft);border-color:var(--nu-line)}
html:root .btn{min-height:46px;border-radius:var(--nu-control);letter-spacing:0;transition:background .15s,transform .15s}.btn:active{transform:translateY(1px)}
html:root :is(.modal,.card,.settings-form,.welcome-class-card,.first-group,.home-agenda-column,.day-row,.session-roster>li>button,.name-roster-import,.notification-action){background:var(--nu-panel);border-color:var(--nu-line);color:var(--nu-text);box-shadow:none}
html:root :is(.modal-form input,.modal-form select,.modal-form textarea,.search-field input,.field input,.field select,.field textarea,.name-roster input){background:var(--nu-panel);color:var(--nu-text);border-color:var(--nu-line);border-radius:9px;font-size:15px;min-height:46px}
html:root .modal{border-radius:20px;box-shadow:var(--nu-dialog-shadow)}html:root .modal-head{background:var(--nu-panel);border-bottom-color:var(--nu-line)}html:root .modal h2{font-size:24px}
html:root .app-bottom-navigation>button[aria-current=page]{color:var(--nu-brand-text)}html:root .app-bottom-navigation::before{background:var(--nu-brand-soft);border-radius:8px}
html:root .app-header{border-bottom-color:var(--nu-line);background:var(--nu-panel)}
html:root .next-turn-card{background:var(--nu-marker);color:var(--nu-marker-text);border:1px solid var(--nu-line);border-radius:18px;padding:25px 28px;box-shadow:0 4px 0 transparent;margin-bottom:24px;position:relative}
html:root .next-turn-card :is(h2,p,span,strong,button){color:var(--nu-marker-text)}html:root .next-turn-card h2{font-size:32px;margin-top:12px}html:root .next-turn-top{font-size:12px;font-weight:700}.next-turn-card::after{content:'';width:54px;height:54px;background:currentColor;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 17 17 7M7 7h10v10' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;position:absolute;right:28px;top:52px;font-size:54px;font-weight:400;opacity:.4}
html:root .today-dashboard{background:var(--nu-panel);border:1px solid var(--nu-line);border-radius:16px;padding:22px}.today-heading h2{font-size:23px}
html:root .today-kicker{color:var(--nu-muted);letter-spacing:.04em;font-size:10px}.today-kicker::before{background:var(--nu-brand-text);box-shadow:none}
html:root .today-card{background:var(--nu-panel-soft);border:1px solid var(--nu-line);border-radius:10px;border-top:3px solid var(--nu-brand-text)}html:root .today-card :is(strong,span){color:var(--nu-text)}html:root .today-card-kind{color:var(--nu-brand-text);background:transparent;font-size:11px}
html:root .home-section-heading h2{font-size:19px}.home-agenda{gap:18px}html:root .volunteer-home{background:var(--nu-panel-soft);border:1px solid var(--nu-line);border-radius:14px}
html:root .day-subjects button{background:var(--nu-panel);color:var(--nu-muted);border:1px solid var(--nu-line);border-radius:7px}html:root .day-subjects button.selected{background:var(--nu-brand);color:var(--nu-panel)}
html:root .day-list{gap:14px}html:root .day-row{border:1px solid var(--nu-line);border-radius:14px;padding:22px;gap:24px;align-items:start}html:root .day-row.mine{border:2px solid var(--nu-brand-text);background:var(--nu-panel)}
html:root .day-when strong{font-size:21px;color:var(--nu-text)}html:root .day-when span{text-transform:none;color:var(--nu-muted)}html:root .day-row-label{color:var(--nu-muted);font-size:10px;letter-spacing:.07em}
html:root .day-names{display:grid;gap:7px;margin:9px 0 0;list-style:none;padding:0;min-width:200px}
html:root .day-names>li{display:flex;align-items:center;gap:10px;background:var(--nu-panel-soft);border:0;border-radius:7px;padding:9px 12px;color:var(--nu-text);font-size:14px}
html:root .day-names>li.is-me{background:var(--nu-marker);color:var(--nu-marker-text)}.day-names small{margin-left:auto;font-size:10px;font-weight:750}.roster-position{font-variant-numeric:tabular-nums;color:var(--nu-muted);font-size:12px;font-weight:650;min-width:24px}.is-me .roster-position{color:var(--nu-marker-text)}
html:root .day-answer button{border:1px solid var(--nu-line);background:var(--nu-panel);color:var(--nu-text)}html:root .day-answer .yes.selected{background:var(--nu-success-soft);color:var(--nu-success);border-color:var(--nu-success)}html:root .day-answer .no.selected{background:var(--nu-danger-soft);color:var(--nu-danger);border-color:var(--nu-danger)}
html:root .session-roster{display:grid;gap:10px;padding:0;list-style:none}.session-roster>li{list-style:none}html:root .session-roster>li>button{border:1px solid var(--nu-line);border-radius:10px;min-height:78px;padding:15px;gap:12px}
html:root .session-roster>li>button.is-you{background:var(--nu-marker);border:1px solid var(--nu-line);color:var(--nu-marker-text)}html:root .session-roster>li>button.is-you :is(strong,span,small){color:var(--nu-marker-text)}html:root .session-student strong{font-size:16px;font-weight:750;color:var(--nu-text)}html:root .session-slot-action{font-size:11px;color:var(--nu-brand-text);font-weight:700}.session-order{font-variant-numeric:tabular-nums;font-weight:700}html:root .session-timing-note{font-size:12px;color:var(--nu-muted)}
html:root .name-roster-list{display:grid;gap:7px;padding:0;list-style:none}.name-roster-list li{display:flex;align-items:center;gap:12px;min-height:58px;padding:10px 14px;background:var(--nu-panel-soft);border:1px solid var(--nu-line);border-radius:8px}.name-roster-list strong{flex:1;font-size:15px;color:var(--nu-text)}.name-roster-tools{display:flex;gap:9px;flex-wrap:wrap;margin:15px 0}.name-roster .roster-shuffle{min-width:190px}.name-roster-heading strong{font-size:17px}.name-roster-add{margin-top:16px}
html:root .timetable-navigation{background:transparent;border:0;padding:0 0 20px}.timetable-month h1{font-size:30px}html:root .timetable-grid{border:1px solid var(--nu-line);background:var(--nu-panel);border-radius:14px;padding:5px}.timetable-grid table{border-spacing:0}html:root .timetable-empty-cell{background:transparent;border-radius:0;border-bottom:1px solid var(--nu-line)}
html:root .timetable-event{border-radius:7px;border:1px solid var(--nu-line);border-left:3px solid var(--nu-brand-text);background:var(--nu-panel-soft)!important;color:var(--nu-text)!important;box-shadow:none}html:root .timetable-event :is(strong,span,small){color:var(--nu-text)!important}html:root .timetable-event.is-mine{background:var(--nu-marker)!important;border-color:var(--nu-brand-text);color:var(--nu-marker-text)!important}.timetable-event.is-mine :is(strong,span,small){color:var(--nu-marker-text)!important}
html:root .timetable-days button{border-radius:8px}.timetable-days button[aria-current=date]{background:var(--nu-brand-soft);color:var(--nu-brand-text)}
html:root .timetable-view-switch{border:1px solid var(--nu-line);background:var(--nu-panel);border-radius:9px}html:root .timetable-view-switch button[aria-pressed=true]{background:var(--nu-brand);color:var(--nu-panel)}
html:root .school-landing{background:var(--nu-bg);color:var(--nu-text)}html:root .school-nav{background:var(--nu-panel);border-color:var(--nu-line)}
html:root .original-hero{display:grid;grid-template-columns:1.12fr 1fr;gap:70px;align-items:center;max-width:1140px;padding:70px 30px 64px;margin:auto;text-align:left}
html:root .original-hero h1{font-size:clamp(40px,5.4vw,70px);letter-spacing:-.07em;line-height:1.06;max-width:none;color:var(--nu-text);margin:21px 0}.original-hero h1>span{color:var(--nu-brand-text)}html:root .school-lead{font-size:17px;line-height:1.75;color:var(--nu-muted);max-width:450px;margin:0 0 26px}.school-actions{justify-content:flex-start}.hero-three{display:flex;flex-wrap:wrap;gap:15px;font-size:11px;margin-top:34px;color:var(--nu-muted)}.hero-three span{display:flex;align-items:center;gap:7px}.hero-three i{font-style:normal;display:grid;place-items:center;width:21px;height:21px;border-radius:50%;border:1px solid var(--nu-line);font-weight:750;color:var(--nu-text)}
.hero-turn-board{background:var(--nu-panel);border:1px solid var(--nu-line);border-radius:18px;box-shadow:9px 10px 0 var(--nu-panel-soft);padding:25px;position:relative;transform:rotate(1deg)}.turn-board-top{display:flex;align-items:center;justify-content:space-between;font-size:10px;color:var(--nu-muted);gap:10px}.turn-board-live{background:var(--nu-success-soft);color:var(--nu-success);border-radius:20px;padding:5px 9px;font-weight:700}.hero-turn-board>p{font-size:10px;letter-spacing:.08em;color:var(--nu-muted);margin:30px 0 13px}.turn-board-event{display:flex;gap:16px;align-items:center;margin-bottom:25px}.board-date{display:flex;flex-direction:column;align-items:center;justify-content:center;background:var(--nu-panel-soft);border-radius:8px;padding:10px 14px;font-size:9px;color:var(--nu-muted)}.board-date strong{font-size:30px;line-height:1.1;color:var(--nu-text)}.turn-board-event h2{font-size:25px;margin:0 0 6px}.turn-board-event>div>span{font-size:12px;color:var(--nu-muted)}.hero-turn-board ol{list-style:none;display:grid;gap:7px;padding:0;margin:0}.hero-turn-board li{display:flex;align-items:center;gap:12px;padding:13px 10px;border-bottom:1px solid var(--nu-line);font-size:12px}.hero-turn-board li>span{font-variant-numeric:tabular-nums;font-size:10px;color:var(--nu-muted)}.hero-turn-board li strong{flex:1;font-size:13px}.hero-turn-board li small{font-size:9px;color:var(--nu-muted)}.hero-turn-board li i{font-size:9px;font-style:normal;margin-left:5px}.hero-turn-board .board-its-you{background:var(--nu-marker);color:var(--nu-marker-text);border-radius:7px;border-color:transparent}.hero-turn-board .board-its-you :is(small,span){color:var(--nu-marker-text)}.hero-turn-board>button{display:flex;gap:8px;align-items:center;color:var(--nu-brand-text);font-size:12px;font-weight:700;margin-top:20px;min-height:35px}.board-paper-tab{position:absolute;right:-20px;bottom:-24px;background:var(--nu-marker);color:var(--nu-marker-text);padding:10px 17px;transform:rotate(-7deg);font-size:9px;letter-spacing:.02em;font-weight:800;border:1px solid var(--nu-line);box-shadow:0 2px 2px #0001}
html:root .school-product-banner{background:var(--nu-panel-soft);border:1px solid var(--nu-line);border-radius:22px;box-shadow:none}.school-product-copy h2{font-size:42px}.school-product-copy p{color:var(--nu-muted)}html:root .school-explore-button{background:var(--nu-brand);color:var(--nu-panel);border-radius:9px}.school-feature-visual{background:var(--nu-panel-soft)!important;border:1px solid var(--nu-line)}html:root .school-feature-copy h2,html:root .school-instructions h2{font-size:36px;color:var(--nu-text)}html:root .school-feature-copy p{color:var(--nu-muted)}.school-text-button{color:var(--nu-brand-text)!important}html:root .school-instructions li>span{background:var(--nu-marker);color:var(--nu-marker-text)}html:root .school-questions details{border-color:var(--nu-line)}html:root .school-questions p{color:var(--nu-muted)}html:root .school-join{background:var(--nu-brand-soft);color:var(--nu-text);border-radius:16px}html:root .school-footer{border-color:var(--nu-line)}
.plus-landing{max-width:1080px;margin:60px auto 90px;display:flex;justify-content:space-between;align-items:center;gap:50px;border-top:1px solid var(--nu-line);border-bottom:1px solid var(--nu-line);padding:40px 25px}.plus-landing h2{font-size:32px;margin:12px 0}.plus-landing p{max-width:530px;color:var(--nu-muted);font-size:14px}.plus-label{font-size:10px;letter-spacing:.08em;background:var(--nu-brand-soft);color:var(--nu-brand-text);padding:6px 10px;border-radius:5px;font-weight:800}.plus-landing .btn{flex-shrink:0;display:flex;align-items:center;gap:9px}
.auth-step{display:block;font-size:11px;color:var(--nu-brand-text);font-weight:750;margin:0 0 20px}.verify-step{margin:22px 28px 0}.signup-verify-modal .modal-head>.icon-button{display:none}.verify-alternatives{display:flex;justify-content:space-between;gap:12px;padding:0 28px 24px}.verify-alternatives button{color:var(--nu-brand-text);font-size:12px;text-decoration:underline;min-height:40px}.email-code-form input[inputmode=numeric]{font-variant-numeric:tabular-nums;letter-spacing:8px;font-size:27px;font-weight:700;text-align:center}.email-code-form>small{font-size:12px;line-height:1.7}.setup-password{position:relative}.setup-password>input{width:100%;padding-right:46px}.setup-password>button{position:absolute;right:12px;top:12px;color:var(--nu-muted)}
.withdrawal-tag,.confirmed-label{display:flex;gap:7px;align-items:center;font-size:12px;font-weight:750;color:var(--nu-success)}.withdrawal-explanation{background:var(--nu-panel-soft);padding:17px;border-radius:10px;font-size:13px;line-height:1.7;color:var(--nu-muted);margin:20px 0}.withdrawal .btn{width:100%;justify-content:center;margin-top:8px}.my-booking .btn{width:100%;justify-content:center}.booking-position{background:var(--nu-marker);padding:16px;border-radius:9px;color:var(--nu-marker-text)!important}.booking-position strong{font-size:27px;margin-left:8px;font-variant-numeric:tabular-nums}
@media(max-width:760px){html:root .original-hero{grid-template-columns:1fr;gap:40px;padding:35px 24px 55px}.original-hero h1{font-size:48px!important}.hero-turn-board{max-width:430px;width:100%;margin:0 auto;padding:20px}.hero-three{gap:10px;font-size:10px;margin-top:24px}.board-paper-tab{right:-9px}.original-hero .school-actions{align-items:flex-start}.original-hero .school-lead{font-size:15px}.plus-landing{flex-direction:column;align-items:flex-start;margin:35px 20px 50px;padding:28px 4px;gap:15px}.plus-landing h2{font-size:29px}.school-product-copy h2{font-size:32px}html:root .school-feature-copy h2,html:root .school-instructions h2{font-size:29px}html:root .day-row{grid-template-columns:1fr;gap:16px;padding:18px}.day-names{width:100%}.day-who{min-width:0}.day-answer{justify-self:start}.day-when strong{font-size:20px}.session-roster>li>button .avatar{display:none}html:root .session-roster>li>button{padding:12px 10px;gap:9px}.session-slot-action{max-width:76px;text-align:right}.name-roster-tools .roster-shuffle{width:100%;justify-content:center}.next-turn-card::after{right:20px;top:62px;font-size:38px}.next-turn-card h2{font-size:27px!important}.day-names>li{padding:10px!important}.verify-alternatives{flex-direction:column;gap:0}.nextup-brand .brand-word{font-size:23px}}
@media(prefers-reduced-motion:reduce){.hero-turn-board{transform:none}.btn{transition:none!important}}
.plus-panel{max-width:650px;margin:auto}.plus-panel>h2{font-size:31px;margin:18px 0 12px}.plus-panel>p{color:var(--nu-muted);font-size:14px}.plus-benefits{list-style:none;padding:0;margin:27px 0;display:grid;gap:18px}.plus-benefits>li{display:flex;gap:14px;align-items:flex-start}.plus-benefits svg{color:var(--nu-brand-text);flex-shrink:0;margin-top:3px}.plus-benefits strong{display:block;color:var(--nu-text);font-size:14px}.plus-benefits span{display:block;margin-top:5px;color:var(--nu-muted);font-size:12px;line-height:1.7}.plus-state{display:flex;align-items:center;gap:8px;padding:15px;border:1px solid var(--nu-line);border-radius:9px;background:var(--nu-panel-soft)}.plus-price{padding:20px 0}.plus-price>strong{font-size:35px}.plus-price p{font-size:11px;color:var(--nu-muted);margin-top:12px}.plus-tools{border-top:1px solid var(--nu-line);padding-top:20px}.plus-tools fieldset{border:0;margin:25px 0 12px;padding:0;display:flex;gap:8px;flex-wrap:wrap}.plus-tools legend{font-size:13px;font-weight:750;margin-bottom:12px}.accent-choice{display:flex;gap:7px;align-items:center;border:1px solid var(--nu-line);padding:11px 13px;border-radius:8px;font-size:12px;background:var(--nu-panel)}.accent-choice[aria-pressed=true]{border:2px solid var(--nu-brand-text)}.accent-choice i{width:13px;height:13px;border-radius:50%;background:#3454d1}.accent-choice.accent-terracotta i{background:#9e482e}.accent-choice.accent-plum i{background:#6b4566}
.app-shell.accent-terracotta{--nu-cobalt:#93462f;--nu-brand:#93462f;--nu-brand-text:#93462f;--nu-brand-soft:#f5e9de;--nu-marker:#ffcf9a;--nu-marker-text:#452c18}.app-shell.accent-plum{--nu-cobalt:#674462;--nu-brand:#674462;--nu-brand-text:#674462;--nu-brand-soft:#eee6ed;--nu-marker:#e5c3ed;--nu-marker-text:#3c2544}
html[data-theme=dark] .app-shell.accent-terracotta{--nu-cobalt:#ffd1a6;--nu-brand:#ffd1a6;--nu-brand-text:#ffd1a6;--nu-brand-soft:#49362c;--nu-marker:#ffcf9a;--nu-marker-text:#452c18}html[data-theme=dark] .app-shell.accent-plum{--nu-cobalt:#e2c5e8;--nu-brand:#e2c5e8;--nu-brand-text:#e2c5e8;--nu-brand-soft:#403344;--nu-marker:#e5c3ed;--nu-marker-text:#3c2544}
html:root .school-landing .school-label{color:var(--nu-brand-text)}
html:root .timetable-sheet{border:1px solid var(--nu-line);background:var(--nu-panel);border-radius:14px;padding:6px}
html:root .daily-agenda-row{background:var(--nu-panel);border-bottom:1px solid var(--nu-line);border-radius:0;padding:18px 14px}
html:root .daily-period{font-variant-numeric:tabular-nums;color:var(--nu-muted)}
html:root .timetable-block{background:var(--nu-panel-soft);border:1px solid var(--nu-line);border-left:2px solid var(--nu-brand-text);border-radius:7px;color:var(--nu-text);box-shadow:none}
html:root .timetable-block>strong{color:var(--nu-text);font-size:15px;font-weight:750}html:root .timetable-block :is(span,small){color:var(--nu-muted)}
html:root .timetable-block.is-mine{background:var(--nu-marker);border-color:var(--nu-brand-text);outline:0;box-shadow:none}html:root .timetable-block.is-mine :is(strong,span,small){color:var(--nu-marker-text)}
html:root .timetable-block.is-test{border-left:2px solid var(--nu-warning)}html:root .timetable-sheet thead th{background:var(--nu-panel)}
html:root .timetable-sheet :is(td,tbody th){border-bottom:1px solid var(--nu-line)}

/* Override legacy compound dark selectors with the same semantic surfaces. */
html:root .modal .modal-head,html:root .modal .session-topic{background:var(--nu-panel);color:var(--nu-text);border-color:var(--nu-line)}
html:root body .app-header.app-header,html:root body .app-bottom-navigation.app-bottom-navigation,html:root body .sidebar.sidebar{background:var(--nu-panel);color:var(--nu-text);border-color:var(--nu-line)}
html:root body .today-lessons.today-lessons{border-color:var(--nu-line)}html:root body .today-lessons.today-lessons>span{color:var(--nu-muted)}html:root body .today-lessons.today-lessons button{background:var(--nu-panel-soft);color:var(--nu-text);border-color:var(--nu-line)}
html:root body .session-roster.session-roster>li>button{background:var(--nu-panel);color:var(--nu-text);border-color:var(--nu-line)}
html:root body .session-roster.session-roster>li>button.is-you{background:var(--nu-marker);color:var(--nu-marker-text);border-color:var(--nu-brand-text)}
html:root .timetable-change-status>span{background:var(--nu-brand-soft);color:var(--nu-brand-text)}

/* Your turn keeps its original blue emphasis in both themes. */
html:root .next-turn-card{border-color:var(--nu-line);box-shadow:none}html:root .session-roster .is-you .session-student>strong>small{background:var(--nu-panel);color:var(--nu-brand-text)}

/* Motion follows input. No looping decoration and no hidden content dependency. */
html:root{--nu-motion-ease:cubic-bezier(.16,1,.3,1)}
.school-phone-stage .showcase-phone{will-change:auto}
.school-phone-stage[data-motion=settling] .showcase-phone,.school-phone-stage[data-dragging=true] .showcase-phone{will-change:transform,opacity}
html:root .school-explore-button:active,html:root .school-text-button:active,html:root .icon-button:active{transform:scale(.97)}
html:root .timetable-sheet{animation:none}
html:root .app-bottom-navigation::before{transition:transform 240ms var(--nu-motion-ease),opacity 120ms ease}
@media(hover:hover) and (prefers-reduced-motion:no-preference){
 html:root .hero-turn-board{transition:transform 380ms var(--nu-motion-ease),box-shadow 380ms var(--nu-motion-ease)}
 html:root .hero-turn-board:hover{transform:rotate(0deg) translate3d(0,-3px,0);box-shadow:5px 8px 0 var(--nu-panel-soft)}
 html:root .btn.secondary:hover,html:root .day-names>li:hover{border-color:var(--nu-brand-text)}
}
@media(prefers-reduced-motion:reduce){
 html:root .app-bottom-navigation::before{transition:none}
 html:root .hero-turn-board,html:root .btn:active,html:root .icon-button:active,html:root .school-text-button:active,html:root .school-explore-button:active{transform:none}
 .school-phone-stage .showcase-phone{will-change:auto!important}
}
html[data-theme=dark]:root :is(.accent-terracotta,.accent-plum) :is(.btn.primary,.btn.dark){color:#1d2b41}
/* Scrubbed 3D scenes use nested layers so dragging and scrolling stay independent. */
html:root .quiet-phones .school-phone-deck{transform:translate(-50%,-50%) translate3d(0,calc(var(--scroll-phase,0)*-34px),0) perspective(1600px) rotateX(calc(var(--scroll-phase,0)*9deg)) rotateY(calc(var(--scroll-phase,0)*-24deg)) rotateZ(calc(var(--scroll-phase,0)*7deg)) scale(var(--deck-scale,.5));transition:none}
html:root .laptop-device{transform:perspective(1800px) translate3d(0,calc(var(--scroll-phase,0)*-22px),0) rotateX(calc(3deg + var(--scroll-phase,0)*-9deg)) rotateY(calc(-4deg + var(--scroll-phase,0)*14deg));transition:none}
html:root .laptop-stage:hover .laptop-device{transform:perspective(1800px) translate3d(0,calc(var(--scroll-phase,0)*-22px),0) rotateX(calc(3deg + var(--scroll-phase,0)*-9deg)) rotateY(calc(-4deg + var(--scroll-phase,0)*14deg))}
html:root .laptop-companion{animation:none;filter:none}
.companion-scroll{height:100%;width:100%;transform:perspective(1400px) translate3d(calc(var(--scroll-phase,0)*-30px),calc(var(--scroll-phase,0)*-45px),90px) rotateY(calc(var(--scroll-phase,0)*-72deg)) rotateZ(calc(var(--scroll-phase,0)*-72deg));transform-origin:50% 55%;filter:drop-shadow(0 14px 17px #07101d20)}
.companion-content{height:100%;width:100%;animation:phone-scene-change 500ms cubic-bezier(.22,1,.36,1) both}
@keyframes phone-scene-change{from{transform:translate3d(8px,8px,0) rotate(2deg) scale(.975)}to{transform:translate3d(0,0,0) rotate(0) scale(1)}}
[data-scroll-moving=true] .school-phone-deck,[data-scroll-moving=true] .companion-scroll,[data-scroll-moving=true] .laptop-device{will-change:transform}
html:root .laptop-display iframe{transition:opacity 420ms cubic-bezier(.22,1,.36,1);visibility:visible}
html:root :is(.btn,.icon-button,.school-text-button,.organizer-subject,.laptop-scene-tabs>button){transition:transform 220ms cubic-bezier(.22,1,.36,1),background-color 220ms ease,border-color 220ms ease,color 220ms ease}
@media(max-width:600px){html:root .quiet-phones .school-phone-deck{transform:translate(-50%,-50%) translate3d(0,calc(var(--scroll-phase,0)*-20px),0) perspective(1400px) rotateY(calc(var(--scroll-phase,0)*-18deg)) rotateZ(calc(var(--scroll-phase,0)*5deg)) scale(var(--deck-scale,.5))}.companion-scroll{transform:perspective(1400px) translate3d(calc(var(--scroll-phase,0)*-15px),calc(var(--scroll-phase,0)*-20px),0) rotateY(calc(var(--scroll-phase,0)*-52deg)) rotateZ(calc(var(--scroll-phase,0)*-26deg))}}
@media(prefers-reduced-motion:reduce){html:root .quiet-phones .school-phone-deck{transform:translate(-50%,-50%) scale(var(--deck-scale,.5))}.companion-scroll{transform:none!important}.companion-content{animation:none!important}html:root .laptop-device,html:root .laptop-stage:hover .laptop-device{transform:none!important}html:root .laptop-display iframe,html:root :is(.btn,.icon-button,.school-text-button,.organizer-subject,.laptop-scene-tabs>button){transition:none!important}[data-scroll-scene] *{will-change:auto!important}}

/* A compact calendar strip must never stretch to fill the schedule. */
html:root .daily-week-strip{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:5px;height:68px;min-height:68px;align-items:start;align-content:start;padding:0 0 8px;flex:none}
html:root .daily-week-strip>button{height:60px;min-height:60px;max-height:60px;min-width:0;padding:7px 1px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;border-radius:10px;align-self:start}
html:root .daily-week-strip>button>span{font-size:10px;line-height:14px;white-space:nowrap}
html:root .daily-week-strip>button>strong{font-size:19px;line-height:24px}
html:root .app-bottom-navigation{grid-template-columns:repeat(4,minmax(0,1fr));align-items:stretch}
html:root .app-bottom-navigation>button{min-width:0;white-space:nowrap}
/* Restore the original logo lockup in both themes. */
html:root .brand>img{height:1.28em;width:auto;max-width:100%}
.quiet-hero{display:grid;grid-template-columns:1fr 1.2fr;grid-template-rows:auto 1fr;column-gap:28px;align-items:center;padding:56px 0 42px}
.quiet-hero h1{font-size:clamp(38px,5vw,66px);font-weight:650;line-height:1.08;letter-spacing:-2.5px;max-width:470px;align-self:end;margin:0 0 26px;color:var(--nu-text)}
.quiet-phones{grid-column:2;grid-row:1/3;min-width:0}
.quiet-phones .school-phone-stage{aspect-ratio:640/560}
.quiet-phone-caption{display:flex;justify-content:space-between;gap:12px;font-size:12px;color:var(--nu-muted);margin:14px 18px 0}
.quiet-phone-caption>span:first-child{color:var(--nu-text)}
.quiet-hero-copy{align-self:start}
.quiet-hero-copy>p{font-size:19px;line-height:1.65;color:var(--nu-muted);margin:0 0 26px}
.quiet-hero-copy .school-actions{display:flex;align-items:flex-start;flex-direction:column;gap:15px}
.quiet-demo-link{display:inline-flex;gap:9px;align-items:center;color:var(--nu-muted);font-size:13px;margin-top:24px;min-height:40px;text-align:left}
.quiet-demo-link:hover{color:var(--nu-brand-text)}
.quiet-schedule{border-top:1px solid var(--nu-line);display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:80px;padding:70px 0}
.quiet-schedule-copy{max-width:340px}
.quiet-schedule h2,.quiet-about h2{font-size:32px;font-weight:600;letter-spacing:-1px;line-height:1.22;margin:0 0 20px;color:var(--nu-text)}
.quiet-schedule p,.quiet-about p{font-size:16px;color:var(--nu-muted);line-height:1.85;margin:0 0 22px}
html:root .quiet-schedule .school-feature-visual{border:0;background:transparent!important;max-width:420px;width:100%;justify-self:center}
.quiet-about{border-top:1px solid var(--nu-line);padding:65px 0;display:grid;grid-template-columns:1.3fr 1fr;gap:90px}
.quiet-about>div{max-width:470px}.quiet-about h3{font-size:18px;margin:0 0 20px;color:var(--nu-text)}
.quiet-about p{font-size:15px}
html:root .school-footer{padding-bottom:40px}.school-footer>button{min-height:44px}
@media(max-width:700px){
 .quiet-hero{display:flex;flex-direction:column;align-items:stretch;padding:30px 0 40px;gap:0}
 .quiet-hero h1{font-size:38px;letter-spacing:-1.7px;max-width:330px;margin:0 auto 12px;text-align:center;align-self:auto}
 .quiet-phones{margin:0 -12px}.quiet-phones .school-phone-stage{aspect-ratio:640/610}
 .quiet-phone-caption{font-size:11px;margin:0 20px 28px}
 .quiet-hero-copy>p{font-size:17px;margin-bottom:22px;text-align:center}
 .quiet-hero-copy .school-actions{align-items:center;gap:14px}.quiet-demo-link{display:flex;justify-content:center;margin:18px auto 0}
 .quiet-schedule{grid-template-columns:1fr;gap:28px;padding:40px 0}.quiet-schedule-copy{max-width:none}
 .quiet-schedule h2,.quiet-about h2{font-size:27px;letter-spacing:-.7px;margin-bottom:14px}
 .quiet-schedule p,.quiet-about p{font-size:14px;line-height:1.8}
 .quiet-about{grid-template-columns:1fr;gap:22px;padding:38px 0 20px}
 .quiet-about p{margin-bottom:16px}.quiet-about h3{margin-bottom:10px}
 html:root .school-footer{margin:12px 20px 0;padding:20px 0 28px;flex-wrap:wrap}
 html:root .daily-week-strip{gap:3px}
}
html:root .quiet-phones .school-phone-stage{background:transparent;border:0;border-radius:0}
.organizer-upcoming{display:grid;gap:10px}.organizer-upcoming.as-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.organizer-subject{background:var(--nu-panel-soft);color:var(--nu-text);border:1px solid var(--nu-line);border-radius:12px;padding:16px;min-width:0;display:grid;text-align:left;gap:12px;align-items:center}.organizer-subject>strong{font-size:13px;letter-spacing:.5px;overflow-wrap:anywhere}.organizer-subject>span{font-size:12px;color:var(--nu-muted)}.organizer-subject small{display:block;margin-top:4px}.organizer-subject>svg{display:none}.organizer-count{white-space:nowrap}.as-lines .organizer-subject{grid-template-columns:minmax(0,1fr) minmax(85px,.8fr) auto 16px;gap:14px;border:0;border-bottom:1px solid var(--nu-line);border-radius:0;background:transparent;padding:16px 0}.as-lines .organizer-subject>svg{display:block;color:var(--nu-muted)}.organizer-subject:hover{background:var(--nu-brand-soft)}
@media(max-width:600px){.as-lines .organizer-subject{grid-template-columns:minmax(0,1fr) auto;gap:5px 12px}.as-lines .organizer-subject>strong{grid-column:1;grid-row:1}.as-lines .organizer-subject>span:not(.organizer-count){grid-column:1;grid-row:2;display:flex;gap:7px;align-items:baseline}.as-lines .organizer-subject small{margin:0}.as-lines .organizer-count{grid-column:2;grid-row:1/3}.as-lines .organizer-subject>svg{display:none}}
html:root .simple-timetable:has(.daily-week-strip) .timetable-navigation{padding-bottom:4px}
html:root .simple-timetable:has(.daily-week-strip) .daily-agenda{padding-top:4px}

html:root .daily-agenda .timetable-block .daily-description{color:var(--nu-muted)}
/* The demo is identified once, next to the person switcher. */
html:root .app-header .demo-header-controls{display:grid;gap:2px;margin-left:auto;flex:0 1 180px;min-width:0;max-width:180px;color:var(--nu-muted);font-size:10px;line-height:1.3}
.demo-header-controls>span{padding-left:10px}
html:root .demo-header-controls>select{display:block;width:100%;min-width:0;min-height:34px;padding:6px 8px;border:1px solid var(--nu-line);border-radius:8px;background:var(--nu-panel-soft);color:var(--nu-text);font:inherit;font-size:12px;line-height:1.3;text-overflow:ellipsis}
.demo-drawer-actions{display:grid;gap:4px;margin-bottom:12px;padding-bottom:12px;border-bottom:1px solid var(--nu-line)}
.demo-drawer-actions>button{display:flex;align-items:center;gap:8px;min-height:44px;padding:10px 12px;text-align:left;font-size:13px;color:var(--nu-text);border-radius:8px}.demo-drawer-actions>button:hover{background:var(--nu-brand-soft)}
@media(max-width:640px){html:root .app-header:has(.demo-header-controls){gap:8px;padding:0 12px}.app-header:has(.demo-header-controls) .header-menu{width:36px;padding:8px}.app-header:has(.demo-header-controls) .brand img{height:24px}.app-header:has(.demo-header-controls) .header-home{flex-shrink:0}html:root .app-header .demo-header-controls{max-width:160px;flex-basis:160px}.demo-header-controls>span{font-size:9px}}
html:root .swap-explainer{background:var(--nu-panel-soft);color:var(--nu-text);border-color:var(--nu-line)}html:root .swap-explainer :is(strong,p){color:var(--nu-text)}html:root .swap-explainer .circle-icon{background:var(--nu-brand-soft);color:var(--nu-brand-text)}
@media(max-width:420px){html:root .day-row{grid-template-columns:minmax(0,1fr)}html:root .day-row>*{min-width:0}}
@media(max-width:420px){html:root .day-answer{width:100%;flex-direction:column;align-items:stretch;gap:6px}html:root .day-answer>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}html:root .day-answer button{width:100%;min-width:0;padding-inline:8px}}
/* A shared stage connects the desktop overview to the personal mobile view. */
html:root .laptop-section{display:block;padding:84px 0 70px}
.laptop-story-heading{display:grid;grid-template-columns:1fr 1fr;align-items:end;gap:14px 60px;margin-bottom:42px}
.laptop-eyebrow{grid-column:1/-1;color:var(--nu-brand-text);font-size:10px;letter-spacing:1.6px;font-weight:650}
.laptop-story-heading h2{font-size:clamp(36px,4.4vw,56px);letter-spacing:-2px;line-height:1.08;margin:0}
.laptop-story-heading>p{font-size:17px;line-height:1.7;margin:0 0 3px;justify-self:end}
.laptop-stage{position:relative;padding:28px 115px 40px 20px;isolation:isolate}
.laptop-stage:before{content:'';position:absolute;inset:0 0 36px;background:var(--nu-panel-soft);border-radius:24px;z-index:-1}
.laptop-device{position:relative;transform:perspective(1800px) rotateY(-4deg) rotateX(3deg);transform-origin:center;transition:transform .7s cubic-bezier(.16,1,.3,1)}
.laptop-stage:hover .laptop-device{transform:perspective(1800px) rotateY(0) rotateX(0)}
.laptop-lid{padding:17px 9px 9px;border:1px solid #718095;border-radius:16px 16px 5px 5px;background:#17212e;box-shadow:inset 0 0 0 2px #293647,0 22px 35px #07101d24;position:relative}
.laptop-camera{position:absolute;top:6px;left:50%;width:4px;height:4px;border-radius:50%;background:#526075}
.laptop-browser{height:27px;display:flex;align-items:center;justify-content:space-between;background:var(--nu-panel);border-radius:5px 5px 0 0;padding:0 12px;font-size:9px;color:var(--nu-muted);border-bottom:1px solid var(--nu-line)}
.laptop-browser>span:first-child{display:flex;gap:4px}.laptop-browser i{width:5px;height:5px;border:1px solid var(--nu-muted);border-radius:50%;opacity:.5}
.laptop-display{aspect-ratio:1100/690;position:relative;overflow:hidden;background:var(--nu-bg);border-radius:0 0 3px 3px}
.laptop-display iframe{position:absolute;inset:0;width:1100px;height:690px;border:0;transform:scale(var(--screen-scale,.7));transform-origin:top left;opacity:0;transition:opacity .25s ease;pointer-events:none;visibility:hidden}
.laptop-display iframe.is-visible{opacity:1;visibility:visible}
.laptop-base{height:14px;margin:0 -22px;border-radius:2px 2px 50% 50% / 2px 2px 11px 11px;background:linear-gradient(#d7dfe9,#8794a6 65%,#5a687c);box-shadow:0 12px 14px #07101d20;position:relative}.laptop-base>span{display:block;width:17%;height:5px;margin:auto;background:#788697;border-radius:0 0 9px 9px}
.laptop-companion{position:absolute;right:0;bottom:7px;width:190px;height:398px;filter:drop-shadow(0 14px 17px #07101d20);animation:companion-arrive .4s cubic-bezier(.16,1,.3,1) both}
.laptop-companion .showcase-phone{top:0;left:0;transform:rotate(5deg) scale(.53);transform-origin:top left}
.laptop-story-bottom{display:grid;grid-template-columns:1fr 1fr;gap:60px;margin-top:22px}
.laptop-scene-tabs{display:flex;flex-direction:column;align-items:stretch;max-width:350px;gap:2px}
.laptop-scene-tabs>button{display:flex;align-items:center;gap:15px;padding:14px 5px;text-align:left;border-bottom:1px solid var(--nu-line);font-size:14px;color:var(--nu-muted);transition:color .2s,padding-left .25s}
.laptop-scene-tabs>button>span{font-size:11px;min-width:22px;display:grid;place-items:center;height:22px;border-radius:50%}
.laptop-scene-tabs>button[aria-selected=true]{color:var(--nu-text);padding-left:12px}.laptop-scene-tabs>button[aria-selected=true]>span{background:var(--nu-brand-soft);color:var(--nu-brand-text)}
.laptop-scene-copy{padding-top:10px;min-height:170px}.laptop-scene-copy h3{font-size:23px;letter-spacing:-.6px;margin:0 0 10px}.laptop-scene-copy p{font-size:15px;line-height:1.8;max-width:400px;margin:0 0 8px}.laptop-scene-copy .school-text-button{font-size:13px}
@keyframes companion-arrive{from{transform:translate3d(12px,6px,0)}to{transform:translate3d(0,0,0)}}
@media(min-width:1100px){.quiet-hero{min-height:650px;padding-block:60px 80px;column-gap:55px}.quiet-hero h1{font-size:72px;max-width:450px}.quiet-hero-copy>p{font-size:20px}.quiet-phones .school-phone-stage{aspect-ratio:640/610}}
@media(max-width:850px){.laptop-stage{padding:22px 80px 30px 16px}.laptop-companion{width:142px;height:300px;right:0}.laptop-companion .showcase-phone{transform:rotate(5deg) scale(.4)}.laptop-story-heading{gap:14px 30px}.laptop-story-heading>p{font-size:14px}.laptop-story-bottom{gap:30px}}
@media(max-width:600px){html:root .laptop-section{padding:40px 0}.laptop-story-heading{grid-template-columns:1fr;gap:14px;margin-bottom:26px}.laptop-story-heading h2{font-size:36px;letter-spacing:-1.2px}.laptop-story-heading>p{justify-self:start;font-size:14px}.laptop-eyebrow{font-size:9px;letter-spacing:1.2px}.laptop-stage{padding:14px 0 24px;min-height:225px}.laptop-stage:before{inset:0 -10px 18px;border-radius:14px}.laptop-device{width:100%;transform:none}.laptop-lid{padding:12px 4px 4px;border-radius:9px 9px 3px 3px}.laptop-camera{top:4px;width:3px;height:3px}.laptop-browser{height:18px;font-size:7px;padding-inline:7px}.laptop-browser i{width:3px;height:3px}.laptop-base{margin-inline:-5px;height:8px}.laptop-base>span{height:3px}.laptop-companion{display:none}.laptop-story-bottom{grid-template-columns:1fr;gap:18px;margin-top:0}.laptop-scene-tabs{flex-direction:row;max-width:none;gap:12px}.laptop-scene-tabs>button{flex:1;display:flex;flex-direction:column;align-items:flex-start;gap:8px;padding:10px 0;font-size:11px;line-height:1.4}.laptop-scene-tabs>button[aria-selected=true]{padding-left:0;border-color:var(--nu-brand-text)}.laptop-scene-copy{padding:0;min-height:160px}.laptop-scene-copy h3{font-size:22px}.laptop-scene-copy p{font-size:14px}}
@media(prefers-reduced-motion:reduce){.laptop-device,.laptop-display iframe,.laptop-scene-tabs>button{transition:none}.laptop-companion{animation:none}.laptop-device{transform:none}}
@media(max-width:600px){.laptop-stage{height:425px;padding:0}.laptop-device{display:none}.laptop-stage:before{inset:12px -10px 10px}.laptop-companion{display:block;right:auto;left:50%;bottom:10px;width:190px;height:398px;transform:translateX(-50%);animation:none}.laptop-companion .showcase-phone{transform:rotate(-3deg) scale(.55)}}
@media(min-width:601px){.laptop-stage{max-width:1000px;box-sizing:border-box;margin-inline:auto}}

/* Organizer sees the upcoming list first, with room for every row. */
html:root .home-agenda.owner-agenda{grid-template-columns:1fr;margin-bottom:24px}
.owner-agenda .home-agenda-column:first-child{width:100%;min-width:0}
.owner-agenda .organizer-upcoming.as-grid:has(.organizer-subject:only-child){grid-template-columns:1fr}
@media(min-width:701px){.owner-agenda .organizer-upcoming.as-grid{max-width:760px}.owner-agenda .organizer-upcoming.as-lines .organizer-subject{grid-template-columns:minmax(0,1.5fr) minmax(110px,1fr) auto 16px}}

.laptop-preview .main-content{padding-top:20px!important}.laptop-preview .simple-timetable{max-width:100%}.laptop-preview .workspace{min-height:100dvh!important}.laptop-preview .preview-dialog{max-width:560px}.laptop-preview .preview-modal-shade{inset:0} html,body{height:100%;overflow:hidden}body{background:#f6f5f4}.preview-status{height:48px;background:#fff;display:flex;align-items:center;justify-content:space-between;padding:14px 20px 0;font-size:11px;font-weight:600}.preview-status span:last-child{display:flex;align-items:center;gap:4px}.preview-status svg{display:block}.preview-shell>.workspace{min-height:calc(100dvh - 48px)}.preview-shell .app-header{position:relative;top:auto}.preview-shell .main-content{animation:none!important;padding-bottom:100px}.preview-shell .app-bottom-footer{bottom:0}.preview-modal-shade{position:fixed;inset:48px 0 0;background:#17212a45;z-index:50}.preview-dialog{scrollbar-width:none;position:fixed;inset:0;z-index:60;margin:auto!important;max-height:calc(100dvh - 65px)}html:root .preview-status{background:var(--nu-panel);color:var(--nu-text)}*{animation:none!important;pointer-events:none!important}