:root{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#f1f5fa;background:#101c2b;font-size:16px;--panel:0.32;--line:#d8ecff30;--muted:#c0cddc;--accent:#c8e8ea;--ease:cubic-bezier(.2,.9,.25,1.18)}
*{box-sizing:border-box}body{margin:0;min-height:100svh}button,input,textarea,select{font:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer;color:inherit;border:1px solid var(--line);border-radius:30px;padding:12px 20px;min-height:44px;background:#dcecff0c;transition:transform .3s var(--ease),background .3s,box-shadow .3s}button:hover{background:#dcecff22;box-shadow:0 8px 25px #0002}button:active{transform:scale(.96)}button:disabled{opacity:.4;cursor:default}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,[tabindex]:focus-visible{outline:2px solid #d9f7ff;outline-offset:4px}input,textarea,select{width:100%;color:#f4f8ff;background:#0c192b60;border:1px solid #d8ecff3d;border-radius:15px;padding:13px 15px;min-height:46px}input[type=range]{padding:0;accent-color:#c2e6eb}input[type=checkbox]{width:23px;min-height:23px;accent-color:#c6e8e6;flex-shrink:0}select option{background:#152538}textarea{min-height:130px;resize:vertical;line-height:1.6}label{display:block;color:#cedbe7;font-size:.9rem;margin:18px 0 6px}h1,h2,h3,p{margin-top:0}h1{font-weight:350;font-size:clamp(3rem,6.2vw,6rem);line-height:1.02;letter-spacing:-.055em;margin-bottom:20px}h2{font-size:1.65rem;font-weight:450;letter-spacing:-.035em}h3{font-weight:500;font-size:1.1rem}p{line-height:1.6}small,.muted{color:var(--muted)}small{font-size:.85rem}.scenery{position:fixed;inset:-4vh -3vw;z-index:-3;background:#132a42 url('assets/aether-bg.png') center/cover no-repeat;transform:translateY(var(--parallax,0px)) scale(1.04);transition:filter 1.2s,background-image 1s;will-change:transform}.veil{position:fixed;inset:0;z-index:-2;background:linear-gradient(90deg,#07142470,transparent 65%),linear-gradient(0deg,#050f20c9,transparent 70%,#08122140);pointer-events:none}body[data-env=alpine] .scenery{filter:saturate(.45) brightness(1.15)}body[data-env=obsidian] .scenery{filter:saturate(.15) brightness(.6)}body[data-env=cosmos] .scenery{filter:hue-rotate(35deg) saturate(.8)}.glass,.card{border:1px solid var(--line);background:linear-gradient(130deg,#e6f0ff0e,transparent 50%,#dbefff06),rgba(25,43,64,var(--panel));backdrop-filter:blur(26px) saturate(110%);-webkit-backdrop-filter:blur(26px) saturate(110%);box-shadow:inset 0 1px 0 #ffffff1c,0 16px 48px #03102020}.topbar{position:sticky;top:max(18px,env(safe-area-inset-top));z-index:20;margin:20px 3vw 0;display:flex;align-items:center;padding:9px 12px 9px 20px;gap:24px;border-radius:60px}.brand{display:flex;align-items:center;gap:10px;font-size:.85rem;letter-spacing:.13em;font-weight:650;white-space:nowrap}.brand small{display:block;font-size:.56rem;letter-spacing:.2em;margin-top:3px;color:#c8d6e5}.brandmark{font-size:2.2rem;font-weight:200;line-height:1}nav{display:flex;gap:3px;overflow:auto;scrollbar-width:none;flex:1;justify-content:center}nav button{white-space:nowrap;border-color:transparent;font-size:.84rem;padding:10px 13px;color:#c4d0df}nav button.active{color:white;border-color:#e6f6ff40;background:linear-gradient(130deg,#f0faff2e,#e1f2ff12);box-shadow:inset 0 1px 0 #fff4}.icon-button{border-radius:50%;width:44px;height:44px;padding:0;display:inline-grid;place-items:center;flex-shrink:0;font-size:1.3rem}.primary{background:#d7ecec;color:#132b3b;border-color:#e5ffff90;font-weight:600}.primary:hover{background:#efffff}.danger{color:#ffbec5;border-color:#f6b9c43b}.eyebrow{font-size:.73rem;letter-spacing:.21em;text-transform:uppercase;color:#c6d8e7;margin-bottom:18px}.page{max-width:1500px;margin:auto;padding:60px 5vw 48px;animation:enter .65s var(--ease) both}.page-head{display:flex;justify-content:space-between;gap:24px;align-items:flex-end;margin-bottom:35px}.page-head p{max-width:580px;color:#c4d4e2;margin-bottom:0}.page-head h1{font-size:clamp(3rem,5vw,4.5rem)}.hero-head{margin-bottom:44px;display:flex;align-items:flex-end;justify-content:space-between;gap:25px}.hero-head .intro{max-width:660px}.hero-head p{color:#d3dfec}.date-chip{border:1px solid #d9ecff40;background:#abc1e510;border-radius:50px;padding:11px 18px;font-size:.86rem;white-space:nowrap;backdrop-filter:blur(15px)}.home-grid{display:grid;grid-template-columns:1.1fr 1.3fr .85fr;grid-template-rows:auto auto;gap:22px;align-items:stretch}.card{border-radius:30px;padding:26px;min-width:0;position:relative;overflow:hidden}.card-header{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:25px}.card-header h2,.card-header h3{margin:0}.card-header .eyebrow{margin:0}.metric{font-size:3.5rem;font-weight:250;letter-spacing:-.065em;line-height:1;margin:20px 0 10px}.focus-card{grid-row:span 2;min-height:455px;display:flex;flex-direction:column;justify-content:space-between}.focus-card h2{font-size:2.6rem;font-weight:350;max-width:250px}.orb{position:relative;border-radius:50%;border:1px solid #f0fcff70;background:radial-gradient(circle at 28% 21%,#fff9,transparent 17%),radial-gradient(circle at 75% 80%,#bfeaff44,transparent 40%),radial-gradient(circle at 35% 32%,#bbdfe322,transparent 60%,#c2e5ff60);box-shadow:inset -15px -8px 28px #bbdfff20,inset 3px 3px 15px #e5ffff20,0 30px 70px #07152566;display:grid;place-items:center}.hero-orb{width:160px;height:160px;margin:18px auto 28px;animation:float 9s ease-in-out infinite;transform:rotate(-15deg)}.hero-orb:before,.hero-orb:after{content:'';position:absolute;inset:22%;border:1px solid #e4ffff90;border-radius:50%;transform:rotate(40deg) scaleX(.42)}.hero-orb:after{transform:rotate(-40deg) scaleX(.42)}.hero-orb span{font-size:3rem;color:#ecffff;font-weight:200}.focus-card .primary{align-self:flex-start}.daily-card{min-height:245px}.row{display:flex;align-items:center;gap:14px;padding:13px 0;border-bottom:1px solid #ecf6ff12}.row:last-child{border:0}.row .grow{flex:1;min-width:0}.row-title{display:block;overflow-wrap:anywhere;line-height:1.5}.row button{padding:8px 13px;font-size:.85rem}.check{width:28px;height:28px;min-height:28px;padding:0;border-radius:50%;flex-shrink:0;display:grid;place-items:center}.check.done{background:#c9e8e3;color:#193542}.done-text{text-decoration:line-through;opacity:.6}.workspace-card{grid-column:2;min-height:210px;background:linear-gradient(130deg,#506a8829,#40415d20),rgba(25,43,64,var(--panel));cursor:pointer}.workspace-card h2{font-size:2rem}.mini-orbs{position:absolute;right:8%;bottom:20%;width:170px;height:120px;pointer-events:none}.mini-orbs .orb{position:absolute;width:72px;height:72px;left:0;top:0}.mini-orbs .orb:nth-child(2){left:90px;top:35px;width:58px;height:58px}.mini-orbs .orb:nth-child(3){left:40px;top:80px;width:36px;height:36px}.knight-card{grid-column:3;grid-row:span 2;display:flex;flex-direction:column;justify-content:space-between;min-height:430px}.knight-emblem{font-size:5rem;text-align:center;line-height:1.5;font-weight:200;color:#d5e9f6;text-shadow:0 10px 30px #90c9ff55}.knight-card h2{font-size:2rem}.home-bottom{display:flex;justify-content:space-between;align-items:center;margin:28px 4px 0;color:#bdcddd;font-size:.85rem}.text-button{background:transparent;border:0;padding:0;min-height:44px;color:#d6e5f0;text-align:left}.empty{padding:24px 0;color:#c3d1df;line-height:1.7}.empty strong{display:block;color:#ebf5fb;font-weight:450;margin-bottom:6px}.grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.record{min-height:200px;display:flex;flex-direction:column;align-items:flex-start;gap:16px}.record .card-header{width:100%;margin:0}.record h2{margin:0;overflow-wrap:anywhere}.record p{white-space:pre-wrap;overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden;color:#cedbe6;margin:0}.record .record-bottom{margin-top:auto;width:100%;display:flex;justify-content:space-between;align-items:center;gap:10px}.pill{font-size:.8rem;padding:6px 12px;border:1px solid #daeaff35;border-radius:30px;color:#d4e6ef;white-space:nowrap}.progress{width:100%;height:4px;border-radius:6px;background:#efffff16;overflow:hidden}.progress i{display:block;height:100%;background:#c8e5ed;border-radius:6px}.week{display:flex;gap:8px;margin-top:8px}.day{width:32px;height:32px;min-height:32px;border-radius:50%;padding:0;font-size:.75rem}.day.checked{background:#d1e8e7;color:#163043}.day.today{border-color:#fff9}.columns{display:grid;grid-template-columns:1fr 1.8fr;gap:24px}.stack{display:flex;flex-direction:column;gap:22px}.agenda-list{display:flex;flex-direction:column;gap:15px}.agenda-item{display:flex;align-items:center;gap:24px}.agenda-date{text-align:center;min-width:65px;border-right:1px solid var(--line);padding-right:20px}.agenda-date b{display:block;font-weight:300;font-size:2.3rem}.agenda-date small{text-transform:uppercase}.program-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px;margin:24px 0 34px}.program{padding:22px 16px;min-height:145px;text-align:left;display:flex;flex-direction:column;justify-content:space-between;gap:20px;border-radius:24px}.program.active{border-color:#d1edff99;background:#c8e7ff25}.program span{font-size:1.6rem;font-weight:250}.program b{font-size:.79rem;letter-spacing:.08em;line-height:1.5}.knight-banner{display:grid;grid-template-columns:1fr auto;gap:24px;align-items:center}.rank-orb{width:95px;height:95px;font-size:2.5rem;font-weight:250}.program-content{min-height:270px}.video-slot{border:1px dashed #d9edff40;border-radius:18px;padding:20px;color:#c1d0dd;margin-top:20px}.field-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 18px}.dialog-head{display:flex;justify-content:space-between;align-items:center}.dialog-head p{margin:0}dialog{color:#f2f6ff;border-radius:30px;width:min(620px,calc(100% - 28px));max-height:calc(100svh - 40px);padding:28px;background-color:#1a2b40ef!important}dialog::backdrop{background:#020c1c7a;backdrop-filter:blur(7px)}dialog h2{margin:15px 0 24px}.dialog-actions{display:flex;justify-content:flex-end;gap:12px;margin-top:26px}.dialog-actions .danger{margin-right:auto}.exercise-line{display:grid;grid-template-columns:1fr 60px 60px 70px 44px;gap:6px;margin:9px 0}.exercise-line input{padding:9px;min-width:0}.exercise-line button{padding:0}.task-line{display:flex;gap:10px;align-items:center;margin:10px 0}.task-line input[type=text]{flex:1;min-width:0}.task-line button{padding:0;width:44px}.settings-section{margin-bottom:25px}.setting{padding:18px 0;border-bottom:1px solid #e9f6ff16}.setting:first-child{padding-top:0}.setting label{margin:0 0 12px}.switch-row{display:flex;gap:18px;align-items:center;justify-content:space-between}.switch-row label{margin:0}.settings-actions{display:flex;gap:12px;flex-wrap:wrap}.guide{line-height:1.8;color:#c3d5e3}.guide li{padding:7px 0}.statusbar{padding:10px 5vw 20px;display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap;font-size:.65rem;letter-spacing:.12em;color:#b5cad9}.statusbar #storage-status,.statusbar #network-status{letter-spacing:.02em;font-size:.75rem}#toast{position:fixed;bottom:max(28px,env(safe-area-inset-bottom));left:50%;transform:translate(-50%,25px);opacity:0;pointer-events:none;z-index:100;background:#d9eded;color:#183144;box-shadow:0 10px 50px #0005;padding:16px 25px;border-radius:24px;max-width:90%;transition:all .35s var(--ease)}#toast.visible{opacity:1;transform:translate(-50%,0)}.workspace-page{padding-bottom:20px}.workspace-page .page-head{margin-bottom:22px}.board{height:calc(100svh - 330px);min-height:430px;position:relative;overflow:hidden;border:1px solid var(--line);border-radius:32px;touch-action:none;background:radial-gradient(ellipse at 60% 20%,#a7b1f31a,transparent 70%),#07172b20;box-shadow:inset 0 0 100px #03102530;isolation:isolate}.board:before{content:'';position:absolute;inset:0;background-image:radial-gradient(#e9ffff40 .6px,transparent .9px);background-size:28px 28px;pointer-events:none;opacity:.5}.world{position:absolute;left:50%;top:50%;width:0;height:0;transform-origin:0 0;transition:transform .7s var(--ease)}.world.moving{transition:none}.bubble{position:absolute;transform:translate(-50%,-50%);width:190px;height:150px;border:1px solid #ebffff60;border-radius:50px;background:radial-gradient(ellipse at 18% 0,#f1ffff2f,transparent 60%),linear-gradient(130deg,#c6e8ff1c,#c9d3ff08);backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);box-shadow:inset 0 1px 3px #fff6,inset 0 -5px 12px #d0e9ff14,0 25px 45px #01102233;display:flex;flex-direction:column;justify-content:space-between;padding:23px;cursor:grab;user-select:none;transition:width .55s var(--ease),height .55s var(--ease),border-radius .55s,opacity .4s}.bubble b{font-size:1.25rem;font-weight:450;overflow-wrap:anywhere}.bubble small{font-size:.76rem}.bubble .symbol{font-size:1.5rem;color:#dcf5ff}.bubble.open{width:440px;height:365px;border-radius:30px;background:#20334be8;cursor:default;padding:25px}.bubble.open p{white-space:pre-wrap;overflow:auto;user-select:text;line-height:1.7;margin:12px 0;flex:1;touch-action:pan-y}.bubble.dim{opacity:.07;pointer-events:none}.board-controls{position:absolute;bottom:18px;left:18px;display:flex;align-items:center;gap:6px;padding:5px;border-radius:50px;z-index:3}.board-controls button{border:0;min-width:44px;padding:10px}.board-controls span{min-width:60px;text-align:center;font-size:.8rem}.board-hint{position:absolute;right:20px;top:18px;font-size:.75rem;color:#c4d6e4;max-width:60%;text-align:right;pointer-events:none}.board-empty{position:absolute;inset:0;display:grid;place-content:center;text-align:center;pointer-events:none;padding:28px}.board-caption{display:flex;justify-content:space-between;gap:16px;font-size:.8rem;color:#c5d5e4;padding:15px 6px}.bubble-controls{display:flex;gap:10px}.bubble-controls button{padding:10px 15px;font-size:.85rem}.zoom-label{margin:0 10px}.notice{border-left:2px solid #cbe5ec70;padding:0 0 0 18px;line-height:1.6;color:#c3d5e3}.error-banner{position:sticky;top:100px;z-index:30;background:#762e46;padding:16px;text-align:center}.reveal{animation:enter .7s var(--ease) both}.reveal:nth-child(2){animation-delay:.05s}.reveal:nth-child(3){animation-delay:.1s}@keyframes enter{from{opacity:0;transform:translateY(18px) scale(.985)}to{opacity:1;transform:none}}@keyframes float{50%{transform:translateY(-12px) rotate(10deg)}}body.no-motion *,body.no-motion *:before,body.no-motion *:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}body.no-motion .scenery{transform:none;will-change:auto}@media(prefers-reduced-motion:reduce){body:not(.motion-on) *,body:not(.motion-on) *:before,body:not(.motion-on) *:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}body:not(.motion-on) .scenery{transform:none;will-change:auto}}@media(min-width:1500px){.page{padding-top:75px}.home-grid{gap:28px}.card{padding:32px}}
@media(max-width:1150px){.topbar{gap:10px;margin:18px 2vw 0;padding-left:15px}.brand{font-size:.7rem}.brandmark{font-size:1.8rem}nav{justify-content:flex-start}nav button{padding:10px;font-size:.79rem}.home-grid{grid-template-columns:1fr 1.2fr}.knight-card{grid-column:auto;grid-row:auto;min-height:260px}.workspace-card{grid-column:auto}.focus-card{grid-row:span 2}.grid{grid-template-columns:repeat(2,minmax(0,1fr))}.program-grid{grid-template-columns:repeat(5,minmax(0,1fr))}.program{padding:18px 12px}.program b{font-size:.7rem}.hero-head h1{font-size:4.4rem}.date-chip{font-size:.75rem}.columns{grid-template-columns:1fr 1.4fr}.page{padding:45px 4vw 35px}}
@media(max-width:850px){.topbar{flex-wrap:wrap;border-radius:28px;gap:6px;padding:10px 12px;top:max(10px,env(safe-area-inset-top))}.brand{flex:1;padding-left:8px}.brand small{display:inline;margin-left:7px}.topbar>.icon-button{order:1}nav{order:2;flex-basis:100%;justify-content:flex-start;border-top:1px solid #dcefff12;padding-top:5px}.hero-head{align-items:flex-start;flex-direction:column;gap:8px}.hero-head h1{font-size:4rem}.hero-head .eyebrow{margin-bottom:15px}.hero-head p{margin-bottom:10px}.home-grid{gap:16px;grid-template-columns:1fr 1.1fr}.focus-card{min-height:460px}.knight-card{min-height:270px}.card{padding:24px;border-radius:26px}.mini-orbs{transform:scale(.75);right:0;bottom:14%}.columns{grid-template-columns:1fr}.program-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.page-head{gap:14px;align-items:flex-start;flex-direction:column}.page-head h1{font-size:3.5rem}.board{height:calc(100svh - 385px);min-height:440px}.statusbar{font-size:.6rem}.board-hint{font-size:.65rem}.home-bottom{align-items:flex-start;gap:10px}.knight-card .knight-emblem{font-size:3rem;position:absolute;right:20px;top:75px}.knight-card h2{max-width:180px}.record{min-height:220px}}
@media(max-width:560px){.page{padding:35px 5vw 25px}.hero-head h1{font-size:3.5rem}.home-grid,.grid{grid-template-columns:1fr}.focus-card{grid-row:auto;min-height:340px}.hero-orb{position:absolute;right:25px;top:90px;width:120px;height:120px;opacity:.8}.focus-card h2{max-width:170px;font-size:2.1rem}.workspace-card{min-height:205px}.knight-card{min-height:250px}.program-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.home-bottom{flex-direction:column}.date-chip{white-space:normal}.field-grid{grid-template-columns:1fr}.exercise-line{grid-template-columns:1fr 1fr 1fr 44px}.exercise-line input:first-child{grid-column:1/-1}.exercise-line button{grid-column:4;grid-row:2}.board-caption{flex-direction:column;gap:5px}.board-hint{max-width:85%}.page-head h1{font-size:2.7rem}.statusbar>span:first-child{display:none}dialog{padding:22px}.bubble.open{width:330px}.knight-banner{gap:12px}.rank-orb{width:70px;height:70px}.agenda-item{gap:15px}.agenda-date{min-width:55px;padding-right:12px}}
