:root{--cream:#fbf6ec;--cream-deep:#f2e9d8;--ink:#1f2a37;--blue-dark:#2f5680;--blue-darker:#213f60;--blue-light:#dde9f5;--blue-mid:#9cc2e6;--blue-line:#cbdcec;--bg:var(--cream);--brown:#8a5a33;--brown-light:#f4e6d4;--text:#1f2a37;--muted:#6b7380;--border:#ece3d2;--white:#fff;--danger:#b3261e;--danger-bg:#fbe4e1;--ok:#2c6b45;--ok-bg:#e2f1e6;--tile-blue:#c9def3;--tile-yellow:#f7dd8a;--tile-green:#c6d79f;--tile-pink:#f5c3cf;--tile-lilac:#d3cdf3;--tile-peach:#f8cfae;--tile-mint:#b5e0d1;--radius:22px;--shadow:0 1px 2px #1f2a370a, 0 6px 18px #1f2a370f;color:var(--text);background:var(--bg);-webkit-font-smoothing:antialiased;font-family:Onest,Arimo,Arial,sans-serif;line-height:1.45}*{box-sizing:border-box}body{min-height:100vh;margin:0}button,input,textarea,select{font:inherit;color:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.6}a{color:var(--blue-dark)}a:hover{color:var(--blue-darker)}button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,a:focus-visible{outline:2px solid var(--blue-dark);outline-offset:2px}h1,h2,h3{margin:0;font-weight:700}.card{background:var(--white);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow)}.btn{border:1.5px solid #0000;border-radius:999px;justify-content:center;align-items:center;gap:8px;min-height:44px;padding:0 20px;font-size:15px;font-weight:700;text-decoration:none;transition:transform .12s,background .15s;display:inline-flex}.btn:active{transform:scale(.97)}.btn-pri{background:var(--ink);color:var(--white)}.btn-pri:hover{color:var(--white);background:#2d3b4c}.btn-sec{background:var(--white);color:var(--ink);border-color:var(--border)}.btn-sec:hover{background:var(--cream);color:var(--ink)}.btn-soft{background:var(--blue-light);color:var(--blue-dark)}.btn-blue{background:var(--blue-dark);color:var(--white)}.btn-blue:hover{background:var(--blue-darker);color:var(--white)}.field{border:1.5px solid var(--border);background:var(--white);border-radius:14px;width:100%;min-height:44px;padding:10px 14px;font-size:16px}.lbl{letter-spacing:.06em;text-transform:uppercase;color:var(--muted);font-size:12px;font-weight:700}.muted{color:var(--muted)}.note{border-radius:16px;padding:12px 16px;font-size:14px;font-weight:700}.note-info{background:var(--blue-light);color:var(--blue-dark)}.note-error{background:var(--danger-bg);color:var(--danger)}.note-ok{background:var(--ok-bg);color:var(--ok)}.stack{flex-direction:column;gap:12px;display:flex}.row{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.center-screen{justify-content:center;align-items:center;min-height:100vh;padding:24px 16px;display:flex}.center-card{width:100%;max-width:420px;padding:28px 24px}.brand{color:var(--ink);letter-spacing:-.03em;font-size:24px;font-weight:800}.student-shell{flex-direction:column;gap:16px;max-width:560px;min-height:100vh;margin:0 auto;padding:18px 16px 32px;display:flex}.hello{letter-spacing:-.035em;font-size:34px;font-weight:800;line-height:1.05}.hello em{letter-spacing:-.02em;font-style:italic;font-weight:400}.student-top{justify-content:space-between;align-items:center;gap:12px;display:flex}.icon-btn{background:var(--white);border:1px solid var(--border);width:44px;height:44px;color:var(--ink);cursor:pointer;border-radius:50%;justify-content:center;align-items:center;text-decoration:none;display:inline-flex}.icon-btn:hover{background:var(--cream-deep);color:var(--ink)}.icon-btn.active{background:var(--ink);color:#fff}.panel{border-radius:28px;flex-direction:column;gap:10px;padding:18px;display:flex}.panel-row{color:var(--ink);background:#ffffff8c;border-radius:999px;align-items:center;gap:12px;padding:12px 14px;font-weight:600;text-decoration:none;display:flex}.panel-row:hover{color:var(--ink);background:#ffffffd9}.panel-row .chev{background:var(--white);border-radius:50%;justify-content:center;align-items:center;width:28px;height:28px;margin-left:auto;font-weight:700;display:inline-flex}.admin-shell{flex-wrap:wrap;align-items:stretch;min-height:100vh;display:flex}.admin-nav{background:var(--white);min-width:210px;max-width:270px;box-shadow:var(--shadow);border-radius:0 28px 28px 0;flex-direction:column;flex:240px;gap:6px;padding:22px 14px;display:flex}.admin-nav a{color:var(--ink);border-radius:999px;align-items:center;gap:10px;padding:8px 10px;font-size:15px;font-weight:600;text-decoration:none;display:flex}.admin-nav a:hover{background:var(--cream);color:var(--ink)}.admin-nav a.active{background:var(--ink);color:#fff}.admin-nav .nav-chip{border-radius:50%;flex:none;justify-content:center;align-items:center;width:32px;height:32px;font-size:15px;display:inline-flex}.admin-main{flex-direction:column;flex:999 640px;gap:20px;min-width:0;max-width:1200px;padding:30px clamp(16px,3vw,44px) 48px;display:flex}@media (width<=700px){.admin-nav{border-radius:0 0 28px 28px;flex-flow:wrap;max-width:none;padding:16px}.admin-nav a{flex:140px}}.paste-zone{border:2px dashed var(--blue-line);cursor:text;caret-color:#0000;background:#fff;border-radius:10px;justify-content:center;align-items:center;min-height:64px;padding:12px;font-size:14px;font-weight:700;display:flex}.paste-zone:empty:before{content:attr(data-placeholder);color:var(--muted)}.paste-zone:focus{border-color:var(--blue-dark);background:var(--blue-light)}.bottom-nav{left:50%;bottom:calc(14px + env(safe-area-inset-bottom));background:var(--white);border:1px solid var(--border);z-index:10;border-radius:999px;grid-template-columns:repeat(5,minmax(0,1fr));align-items:center;width:min(420px,100% - 28px);padding:8px;display:grid;position:fixed;transform:translate(-50%);box-shadow:0 12px 30px #1f2a371f}.bottom-nav a{height:48px;color:var(--muted);border-radius:999px;justify-content:center;align-items:center;text-decoration:none;display:flex;position:relative}.bottom-nav a .nav-label{clip:rect(0 0 0 0);width:1px;height:1px;position:absolute;overflow:hidden}.bottom-nav a:hover{color:var(--ink);background:var(--cream)}.bottom-nav a.active{color:var(--ink);background:var(--tile-yellow)}.bottom-nav a.nav-center{height:48px}.bottom-nav a.nav-center .nav-bubble{background:var(--tile-blue);width:62px;height:62px;color:var(--ink);border:5px solid var(--cream);border-radius:50%;justify-content:center;align-items:center;margin-top:-34px;display:flex;box-shadow:0 6px 16px #1f2a372e}.bottom-nav a.nav-center.active{background:0 0}.bottom-nav a.nav-center.active .nav-bubble{background:var(--tile-yellow)}.student-wave{width:100%;height:16px;color:var(--border);margin-top:6px;display:block}.tile{color:var(--ink);border-radius:26px;flex-direction:column;gap:8px;padding:18px;text-decoration:none;transition:transform .15s;display:flex;position:relative;overflow:hidden}a.tile:hover{color:var(--ink);transform:translateY(-2px)}.tile-blue{background:var(--tile-blue)}.tile-yellow{background:var(--tile-yellow)}.tile-green{background:var(--tile-green)}.tile-pink{background:var(--tile-pink)}.tile-lilac{background:var(--tile-lilac)}.tile-peach{background:var(--tile-peach)}.tile-mint{background:var(--tile-mint)}.tile .tile-head{justify-content:space-between;align-items:center;gap:8px;display:flex}.tile .tile-title{font-size:16px;font-weight:700}.tile .tile-icon{background:#ffffffa6;border-radius:50%;flex:none;justify-content:center;align-items:center;width:36px;height:36px;font-size:16px;display:inline-flex}.tile .tile-big{letter-spacing:-.04em;font-size:40px;font-weight:800;line-height:1}.tile .tile-sub{opacity:.72;font-size:13px}.tile .tile-go{justify-content:space-between;align-items:center;margin-top:auto;font-size:14px;font-weight:700;display:flex}.tiles{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.tiles .tile-wide{grid-column:1/-1}.stacked{padding-top:22px;position:relative}.stacked:before,.stacked:after{content:"";z-index:0;border-radius:24px 24px 0 0;height:40px;position:absolute;left:18px;right:18px}.stacked:before{background:var(--tile-pink);top:0;left:30px;right:30px}.stacked:after{background:var(--tile-blue);top:10px}.stacked>*{z-index:1;position:relative}.week-strip{grid-template-columns:repeat(7,minmax(0,1fr));gap:6px;display:grid}.week-day{aspect-ratio:1;background:var(--white);border:1px solid var(--border);width:100%;max-width:52px;color:var(--muted);border-radius:50%;flex-direction:column;justify-content:center;justify-self:center;align-items:center;font-size:10px;font-weight:700;line-height:1.1;display:flex}.week-day strong{color:var(--ink);font-size:15px}.week-day.is-done{background:var(--tile-pink);border-color:#0000}.week-day.is-today{background:var(--ink);border-color:var(--ink);color:#ffffffbf}.week-day.is-today strong{color:#fff}.ring{--p:0;background:conic-gradient(var(--ink) calc(var(--p) * 1%), #fff9 0);border-radius:50%;flex:none;place-items:center;width:96px;height:96px;display:grid}.ring>span{background:var(--tile-lilac);border-radius:50%;place-items:center;width:74px;height:74px;font-size:18px;font-weight:800;display:grid}@media (width>=900px){.student-shell{max-width:760px;padding:28px 32px 40px}.student-shell.with-nav{max-width:1120px;padding-left:132px}.bottom-nav{border-radius:40px;grid-template-columns:1fr;grid-auto-rows:60px;width:76px;padding:10px 8px;top:50%;bottom:auto;left:24px;transform:translateY(-50%)}.bottom-nav a{height:56px}.bottom-nav a.nav-center .nav-bubble{border-width:0;width:56px;height:56px;margin:0}.today-grid{grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);align-items:start;gap:22px;display:grid}.tiles{gap:14px}.hello{font-size:44px}}.slide-frame{touch-action:pan-y;border-radius:18px;overflow:hidden}.slide-in{animation:.32s cubic-bezier(.2,.8,.2,1) slide-in}.slide-in.from-left{animation-name:slide-in-left}@keyframes slide-in{0%{opacity:0;transform:translate(40px)scale(.98)}to{opacity:1;transform:none}}@keyframes slide-in-left{0%{opacity:0;transform:translate(-40px)scale(.98)}to{opacity:1;transform:none}}@media (prefers-reduced-motion:reduce){.slide-in{animation:none}}.modal-backdrop{z-index:50;background:#1f2a3773;justify-content:center;align-items:flex-end;padding:12px;animation:.2s fade-in;display:flex;position:fixed;inset:0}.modal{background:var(--cream);border-radius:32px;width:100%;max-width:460px;max-height:calc(100vh - 24px);padding:22px;animation:.28s cubic-bezier(.2,.8,.2,1) rise;overflow:auto;box-shadow:0 20px 50px #1f2a374d}@media (width>=700px){.modal-backdrop{align-items:center}}@keyframes fade-in{0%{opacity:0}to{opacity:1}}@keyframes rise{0%{opacity:0;transform:translateY(30px)}to{opacity:1;transform:none}}.today-grid{flex-direction:column;gap:14px;display:flex}@media (width>=900px){.today-grid{display:grid}}
