:root{--bg:#f5f8f8;--surface:#fff;--ink:#182c36;--muted:#74858d;--border:#e8eff0;--accent:#167f69;--accent2:#1fab82;--mint:#e7f6ef;--nav:#15323d;--navlight:#23434e;--shadow:0 8px 30px rgba(17,47,55,.05);--radius:18px}
*{box-sizing:border-box}html,body{margin:0;min-height:100%;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;color:var(--ink);background:var(--bg)}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.5}button,input,textarea,select{outline-offset:2px}a{color:var(--accent)}svg{flex-shrink:0}.app-shell{display:flex;min-height:100vh}.sidebar{width:248px;background:var(--nav);color:#dce9e8;position:fixed;left:0;top:0;bottom:0;z-index:50;display:flex;flex-direction:column;padding:30px 16px 19px}.brand{display:flex;gap:12px;align-items:center;padding:0 15px 29px;border-bottom:1px solid rgba(255,255,255,.09)}.brand-mark{width:40px;height:40px;background:linear-gradient(145deg,#31c599,#177d69);border-radius:13px;display:grid;place-items:center;color:#fff;font-size:27px;font-weight:700}.brand h1{margin:0;font-size:20px;letter-spacing:-.7px;color:white}.brand small{font-size:10px;letter-spacing:1.8px;color:#8aa7af;display:block;font-weight:700;margin-top:2px}.nav-label{font-size:10px;color:#7996a0;letter-spacing:1.8px;font-weight:800;margin:27px 16px 10px}.nav{display:flex;flex-direction:column;gap:4px;overflow:auto}.nav-btn{border:0;background:transparent;color:#a9c1c6;border-radius:11px;display:flex;align-items:center;gap:12px;text-align:left;width:100%;padding:11px 15px;font-size:13px;font-weight:600;transition:.15s}.nav-btn:hover{background:#244854;color:white}.nav-btn.active{background:#2a515a;color:#a6f1d7}.nav-btn svg{width:18px;height:18px}.nav-btn .badge{margin-left:auto;background:#f1b564;color:#2e291b;padding:2px 7px;border-radius:99px;font-size:10px}.sidebar-bottom{margin-top:auto;padding:20px 11px 0;border-top:1px solid rgba(255,255,255,.1)}.user-dot{width:36px;height:36px;border-radius:11px;background:#386b72;color:#fff;display:grid;place-items:center;font-weight:800}.profile-mini{display:flex;gap:11px;align-items:center}.profile-mini strong{display:block;color:#fff;font-size:13px}.profile-mini small{font-size:11px;color:#91afb6}.content-shell{margin-left:248px;width:calc(100% - 248px);min-width:0}.topbar{position:sticky;top:0;z-index:25;background:rgba(255,255,255,.94);backdrop-filter:blur(12px);border-bottom:1px solid var(--border);min-height:78px;padding:15px clamp(18px,3vw,44px);display:flex;justify-content:space-between;align-items:center;gap:14px}.crumb{font-size:11px;color:var(--accent);text-transform:uppercase;letter-spacing:1.35px;font-weight:800}.topbar h2{margin:5px 0 0;font-size:22px;letter-spacing:-.8px}.top-actions{display:flex;align-items:center;gap:10px}.today-chip{font-size:12px;color:var(--muted);border:1px solid var(--border);padding:10px 14px;border-radius:10px;background:#fff;white-space:nowrap}.mobile-menu{display:none}.main{padding:clamp(19px,2.6vw,36px) clamp(18px,3vw,44px) 80px;max-width:1570px;margin:auto}.main>*{animation:fadein .2s ease}@keyframes fadein{from{opacity:.4;transform:translateY(3px)}to{opacity:1;transform:none}}.page-head{display:flex;justify-content:space-between;align-items:start;gap:12px;margin-bottom:23px}.page-head h3{margin:0;font-size:25px;letter-spacing:-1px}.page-head p{margin:7px 0 0;color:var(--muted);font-size:13px;line-height:1.5}.button-row{display:flex;gap:9px;flex-wrap:wrap;align-items:center}.btn{border:1px solid transparent;border-radius:11px;padding:10px 15px;display:inline-flex;align-items:center;justify-content:center;gap:8px;font-weight:750;font-size:12px;transition:.15s;white-space:nowrap;min-height:39px}.btn svg{height:16px;width:16px}.btn-primary{background:var(--accent);color:#fff}.btn-primary:hover{background:#096854}.btn-subtle{background:white;border-color:#dfe9e9;color:#425c62}.btn-subtle:hover{background:#f2f7f6}.btn-dark{background:var(--nav);color:#fff}.btn-danger{background:#fff2f1;color:#ad4845;border-color:#ffe3df}.btn-sm{padding:7px 10px;min-height:31px;font-size:11px}.btn-link{padding:0;background:none;border:0;color:var(--accent);font-size:12px;font-weight:800}.grid{display:grid;gap:18px}.cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.split{grid-template-columns:minmax(0,1.55fr) minmax(280px,1fr)}.card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow);min-width:0}.card-pad{padding:22px}.card-head{padding:21px 23px 0;display:flex;justify-content:space-between;align-items:center;gap:12px}.card-head h4,.card h4{font-size:15px;letter-spacing:-.3px;margin:0}.card-body{padding:15px 23px 23px}.card-head small,.subtle{font-size:12px;color:var(--muted)}.stat-card{padding:21px 23px;position:relative;min-height:132px}.stat-top{display:flex;align-items:center;justify-content:space-between;color:#7a8f96;font-size:12px;font-weight:750}.stat-icon{height:36px;width:36px;background:#edf7f3;color:#168168;border-radius:10px;display:grid;place-items:center}.stat-icon svg{width:18px;height:18px}.stat-number{font-size:31px;font-weight:820;letter-spacing:-1.2px;margin:13px 0 3px}.stat-foot{color:#88999e;font-size:11px}.hero{background:linear-gradient(112deg,#173b45,#1b5b5a 72%,#2e8273);border-radius:20px;min-height:204px;padding:29px 34px;display:flex;justify-content:space-between;align-items:center;overflow:hidden;color:white;position:relative}.hero:before,.hero:after{content:"";position:absolute;border:1px solid rgba(255,255,255,.11);border-radius:50%;width:280px;height:280px;right:-75px;top:-135px}.hero:after{width:210px;height:210px;right:90px;top:40px}.hero h3{font-size:26px;line-height:1.17;letter-spacing:-1px;margin:11px 0}.hero p{color:#b5d4d3;font-size:13px;max-width:430px;line-height:1.6;margin:0 0 19px}.hero-label{font-size:10px;letter-spacing:2px;text-transform:uppercase;color:#91ded0;font-weight:800}.hero-art{position:relative;z-index:1;border-radius:50%;background:rgba(255,255,255,.09);height:150px;width:150px;display:grid;place-items:center;font-size:100px;color:#a4e8cc;transform:rotate(-12deg);margin-right:24px}.hero .btn{background:#fff;color:#1b5b50}.section-space{margin-top:22px}.table-wrap{overflow-x:auto}.data-table{width:100%;border-collapse:collapse;font-size:12px;white-space:nowrap}.data-table th{text-align:left;text-transform:uppercase;letter-spacing:1px;font-size:10px;color:#8a9da2;font-weight:800;background:#fbfdfd;padding:13px 20px;border-bottom:1px solid var(--border)}.data-table td{padding:14px 20px;border-bottom:1px solid #edf2f2;vertical-align:middle}.data-table tr:last-child td{border-bottom:0}.data-table tr:hover td{background:#fafdfc}.person{display:flex;align-items:center;gap:11px;min-width:145px}.avatar{width:36px;height:36px;border-radius:12px;display:grid;place-items:center;font-weight:800;font-size:12px;flex:0 0 auto}.avatar.lg{width:66px;height:66px;border-radius:19px;font-size:22px}.person strong{display:block;font-size:12px}.person span{font-size:11px;color:var(--muted)}.pill{font-size:10px;font-weight:800;display:inline-block;padding:5px 9px;border-radius:99px;background:#edf5f4;color:#54746f}.pill.green{background:#e3f6eb;color:#16825f}.pill.amber{background:#fff2dc;color:#a66b19}.pill.red{background:#ffebeb;color:#b45656}.pill.gray{background:#eff2f3;color:#72838a}.pill.blue{background:#e9f0ff;color:#456fbe}.row-actions{display:flex;gap:7px;align-items:center}.icon-btn{border:1px solid var(--border);background:white;border-radius:9px;width:32px;height:32px;display:grid;place-items:center;color:#547077}.icon-btn:hover{color:var(--accent);background:#f4f9f6}.icon-btn svg{width:15px;height:15px}.list-line{display:flex;align-items:center;gap:11px;padding:12px 0;border-bottom:1px solid var(--border)}.list-line:last-child{border:0}.list-line .body{flex:1;min-width:0}.list-line strong{font-size:12px;display:block}.list-line p{color:var(--muted);font-size:11px;margin:5px 0 0;line-height:1.5}.line-icon{height:34px;width:34px;border-radius:10px;background:#e7f6ef;display:grid;place-items:center;color:var(--accent)}.line-icon svg{width:17px;height:17px}.date-box{width:41px;min-width:41px;text-align:center;background:#eaf5f1;border-radius:10px;padding:7px 4px;color:var(--accent)}.date-box strong{font-size:17px;display:block}.date-box small{font-size:9px;text-transform:uppercase;font-weight:800}.empty{padding:45px 20px;text-align:center;color:#799096}.empty-icon{display:grid;place-items:center;margin:0 auto 12px;border-radius:16px;background:#ebf6f2;color:#2b9578;width:57px;height:57px}.empty-icon svg{width:25px;height:25px}.empty h4{color:var(--ink);font-size:15px;margin:0 0 8px}.empty p{font-size:12px;margin:0 auto 18px;max-width:345px;line-height:1.6}.input,.select,.textarea{border:1px solid #dfe8e8;background:white;border-radius:10px;padding:11px 12px;font-size:12px;color:var(--ink);width:100%;min-height:41px}.input:focus,.select:focus,.textarea:focus{border-color:#44ad8c;outline:3px solid #e7f8ef}.textarea{resize:vertical;min-height:86px;line-height:1.55}.field label{font-size:11px;color:#4e6570;font-weight:800;display:block;margin-bottom:7px}.field small{color:var(--muted);display:block;margin-top:5px;font-size:10px}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.form-grid .full{grid-column:1/-1}.form-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:21px;flex-wrap:wrap}.searchbar{position:relative;max-width:340px;min-width:230px}.searchbar input{padding-left:39px}.searchbar svg{position:absolute;left:12px;top:12px;width:17px;height:17px;color:#8ca1a4}.filter-row{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-bottom:16px}.student-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.student-card{padding:21px;transition:.15s}.student-card:hover{box-shadow:0 10px 32px rgba(11,66,60,.10);transform:translateY(-2px)}.student-card .top{display:flex;align-items:center;gap:12px}.student-card h4{font-size:15px;margin-bottom:4px}.student-card .meta{font-size:11px;color:var(--muted)}.student-card .details{border-top:1px solid var(--border);padding:17px 0;display:flex;justify-content:space-between;gap:6px;margin-top:18px}.student-card .detail small{display:block;color:var(--muted);font-size:10px;margin-bottom:5px}.student-card .detail strong{font-size:12px}.student-card .foot{display:flex;align-items:center;gap:8px}.student-card .foot .btn{flex:1}.student-detail-top{padding:25px;display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:14px}.student-name{display:flex;gap:16px;align-items:center}.student-name h3{font-size:24px;margin:0 0 6px}.student-name p{margin:0;color:var(--muted);font-size:12px}.tabs{display:flex;gap:4px;border-bottom:1px solid var(--border);padding:0 20px;overflow-x:auto}.tab{padding:14px 16px;background:none;border:0;border-bottom:3px solid transparent;color:#7b8d91;font-weight:750;font-size:12px;white-space:nowrap}.tab.active{border-bottom-color:var(--accent2);color:#12694f}.tab:hover{color:var(--accent)}.detail-body{padding:23px}.detail-facts{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.fact{background:#f7faf9;padding:15px;border-radius:12px}.fact small{color:#81979b;font-size:10px;display:block;margin-bottom:6px}.fact strong{font-size:13px;overflow-wrap:anywhere}.timeline{position:relative;padding-left:22px;margin-left:8px;border-left:2px solid #dcece6}.timeline-item{position:relative;padding:0 0 24px 20px}.timeline-item:before{content:"";position:absolute;top:5px;left:-29px;width:12px;height:12px;border-radius:50%;background:#1da780;border:4px solid #e6f6ee}.timeline-item:last-child{padding-bottom:0}.timeline-date{font-size:10px;letter-spacing:.8px;color:#8a9b9e;font-weight:800;text-transform:uppercase;margin:0 0 8px}.lesson-card{border:1px solid var(--border);border-radius:13px;padding:17px}.lesson-card h4{font-size:13px;margin:0 0 8px}.lesson-card p{font-size:12px;line-height:1.6;color:#586e73;margin:7px 0}.lesson-card .lesson-label{font-size:10px;font-weight:800;color:#1b866e;text-transform:uppercase;letter-spacing:.4px}.lesson-card .foot{border-top:1px solid var(--border);padding-top:12px;margin-top:12px;display:flex;justify-content:space-between;gap:10px;align-items:center}.note{border-left:3px solid #2aaf83;background:#f0f9f5;padding:11px 13px;border-radius:0 9px 9px 0;font-size:12px;color:#496f63;line-height:1.6}.task-row{display:flex;align-items:center;gap:12px;padding:14px;border-bottom:1px solid var(--border)}.task-row:last-child{border:0}.task-row input[type=checkbox]{height:17px;width:17px;accent-color:var(--accent);cursor:pointer}.task-row.done strong{text-decoration:line-through;color:#99a5a8}.task-row strong{font-size:12px}.task-row small{font-size:11px;color:var(--muted);display:block;margin-top:5px}.task-row .grow{flex:1;min-width:0}.progress-row{margin:15px 0}.progress-title{display:flex;justify-content:space-between;gap:10px;font-size:12px;font-weight:700;margin-bottom:8px}.progress-title span:last-child{color:var(--accent)}.progress-track{height:8px;border-radius:20px;background:#e9f1ef;overflow:hidden}.progress-fill{height:100%;background:linear-gradient(90deg,#31bd91,#118469);border-radius:20px}.month-chart{display:flex;gap:13px;align-items:end;height:180px;padding:15px 6px 0}.bar-col{flex:1;display:flex;flex-direction:column;justify-content:end;align-items:center;gap:10px;height:100%}.bar-col .bar{width:min(100%,45px);background:linear-gradient(180deg,#31bd91,#16836d);border-radius:7px 7px 0 0;min-height:3px}.bar-col small{font-size:10px;color:#819398}.bar-col strong{font-size:10px;color:#64827a}.tip{padding:13px 16px;border:1px solid #d7ece4;border-radius:11px;background:#f1faf6;color:#54746c;font-size:12px;line-height:1.6}.toolbar{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px}.segment{display:inline-flex;background:#f0f5f4;border:1px solid var(--border);border-radius:11px;padding:4px;gap:2px}.segment button{border:0;background:transparent;padding:9px 13px;border-radius:8px;font-size:11px;font-weight:800;color:#748c91}.segment button.active{background:white;color:#126e58;box-shadow:0 2px 8px #1d3b3b14}.tool-menu{display:flex;gap:9px;flex-wrap:wrap;margin-bottom:19px}.tool-tab{border:1px solid var(--border);background:#fff;color:#6e8186;border-radius:11px;padding:13px 17px;font-size:12px;font-weight:800;display:flex;align-items:center;gap:9px}.tool-tab.active{color:#0e7e5d;border-color:#9adac2;background:#edf9f3}.tool-tab svg{height:17px;width:17px}.tool-container{max-width:900px;margin:auto}.metro-display{display:flex;flex-direction:column;align-items:center;text-align:center;padding:32px}.metro-number{font-size:80px;letter-spacing:-4px;font-weight:850;line-height:1}.metro-sub{font-size:12px;color:var(--muted);font-weight:700;margin:5px 0 23px}.beats{display:flex;gap:11px;margin:20px 0 26px}.beat{height:19px;width:19px;border-radius:50%;background:#dce9e6;transition:background .07s,transform .07s}.beat.current{background:#18a77c;transform:scale(1.25)}.beat.first{border:2px solid #57bfa1}.range{width:min(100%,440px);accent-color:#1d9d79}.control-grid{display:flex;gap:15px;align-items:end;justify-content:center;flex-wrap:wrap}.control-grid .field{width:145px}.piano{display:flex;position:relative;user-select:none;width:max-content;margin:20px auto;touch-action:manipulation}.piano-outer{overflow-x:auto;padding:0 0 15px}.white-key{width:48px;height:190px;background:linear-gradient(180deg,#fff,#ebf0ed);border:1px solid #a5b3b3;border-radius:0 0 8px 8px;position:relative;display:flex;align-items:end;justify-content:center;padding-bottom:15px;color:#708387;font-size:10px;font-weight:800;cursor:pointer}.white-key:active,.white-key.playing{background:#b0edcf}.black-key{position:absolute;top:0;width:30px;height:115px;background:linear-gradient(180deg,#274049,#0e1e25);border-radius:0 0 6px 6px;z-index:2;cursor:pointer;box-shadow:1px 3px 3px #0002}.black-key:active,.black-key.playing{background:#22956f}.scale-notes{display:flex;gap:8px;flex-wrap:wrap;margin:18px 0}.scale-note{border:1px solid #cce9de;color:#177658;background:#f1faf6;border-radius:10px;padding:13px 17px;font-weight:800;font-size:14px}.tuner-note{font-size:80px;letter-spacing:-3px;font-weight:850;color:#168167;text-align:center}.tuner-meter{height:20px;border-radius:50px;background:linear-gradient(90deg,#e7a3a3 0%,#edd7a2 25%,#9fdfbc 45%,#9fdfbc 55%,#edd7a2 75%,#e7a3a3);position:relative;margin:22px auto 12px;max-width:500px}.tuner-needle{position:absolute;top:-10px;height:40px;width:4px;border-radius:4px;background:#192c35;left:50%;transition:left .1s}.tuner-help{text-align:center;font-size:12px;color:var(--muted)}.timer-time{font-size:68px;font-weight:850;text-align:center;letter-spacing:-2px}.material-tile{padding:18px;display:flex;align-items:flex-start;gap:13px}.material-tile .grow{min-width:0;flex:1}.material-tile h4{margin:0 0 8px}.material-tile p{margin:0;color:var(--muted);font-size:11px;line-height:1.55}.material-icon{height:41px;width:41px;border-radius:12px;background:#e5f3ed;display:grid;place-items:center;color:#168469}.material-icon svg{height:20px;width:20px}.material-link{display:inline-block;margin-top:10px;font-size:11px;font-weight:800;overflow-wrap:anywhere}.report-insight{padding:17px;background:#f7faf9;border-radius:13px;margin:10px 0;font-size:12px;line-height:1.6}.report-insight strong{display:block;color:#2a5c51;margin-bottom:5px}.report-insight p{margin:0;color:#627a7c}.modal-overlay{position:fixed;inset:0;z-index:200;background:#09232bbb;backdrop-filter:blur(4px);display:flex;align-items:center;justify-content:center;padding:15px}.modal{width:min(100%,640px);max-height:min(92vh,920px);overflow:auto;background:#fff;border-radius:20px;box-shadow:0 24px 80px #091a2255}.modal.wide{width:min(100%,770px)}.modal-head{padding:22px 27px 16px;border-bottom:1px solid var(--border);display:flex;justify-content:space-between;align-items:center;gap:12px}.modal-head h3{margin:0;font-size:19px}.modal-content{padding:23px 27px 27px}.close-btn{border:0;background:#f2f6f6;width:32px;height:32px;border-radius:9px;font-size:22px;color:#688087}.toast{position:fixed;right:24px;bottom:22px;z-index:500;background:#153941;color:white;border-radius:11px;padding:12px 17px;box-shadow:0 12px 35px #132b3150;font-size:12px;max-width:330px;transition:.25s}.toast.hide{opacity:0;transform:translateY(15px);pointer-events:none}.banner{border:1px solid #dbe9e6;background:#ecf8f1;color:#35725e;padding:12px 17px;border-radius:12px;font-size:12px;margin-bottom:18px;display:flex;justify-content:space-between;align-items:center;gap:13px}.banner p{margin:0;line-height:1.5}.footnote{color:#8ba0a3;font-size:11px;margin-top:12px;line-height:1.6}.hint-label{font-size:10px;color:#8da1a5;font-weight:850;letter-spacing:1.3px;text-transform:uppercase}.info-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:15px}.small-box{padding:17px;background:#f7faf9;border:1px solid var(--border);border-radius:13px}.small-box h4{margin:0 0 8px}.small-box p{margin:0;color:#687e82;font-size:12px;line-height:1.6}.inline-help{color:#789196;font-size:11px;line-height:1.5}.hidden{display:none!important}[hidden]{display:none!important}.no-results{display:none;padding:15px;color:#819497;text-align:center;font-size:12px}#toast{pointer-events:none}.danger-zone{border:1px solid #f4d9d6;background:#fffafa;padding:17px;border-radius:13px}.danger-zone h4{color:#a64d47}.danger-zone p{font-size:12px;color:#8c7776}.print-only{display:none}
@media(max-width:1250px){.cols-4{grid-template-columns:repeat(2,1fr)}.student-grid{grid-template-columns:repeat(2,1fr)}.split{grid-template-columns:1fr}}
@media(max-width:820px){.sidebar{transform:translateX(-100%);transition:transform .2s}.sidebar.open{transform:translateX(0)}.content-shell{width:100%;margin-left:0}.mobile-menu{display:grid}.today-chip{display:none}.hero-art{display:none}.main{padding:20px 16px 65px}.topbar{padding:13px 16px}.topbar h2{font-size:18px}.page-head{align-items:start}.page-head h3{font-size:22px}.student-grid{grid-template-columns:repeat(2,1fr)}.mobile-shade{position:fixed;inset:0;background:#0008;z-index:40}.top-actions .btn{padding:9px}.top-actions .btn span{display:none}}
@media(max-width:570px){.cols-4,.cols-3,.cols-2,.split,.student-grid{grid-template-columns:1fr}.card-pad{padding:18px}.hero{min-height:210px;padding:25px}.hero h3{font-size:23px}.stat-card{min-height:110px}.form-grid,.info-grid,.detail-facts{grid-template-columns:1fr}.modal-content{padding:19px}.modal-head{padding:19px}.page-head{flex-direction:column}.button-row{width:100%}.button-row .btn{flex:1}.searchbar{width:100%;max-width:none}.date-box{width:36px;min-width:36px}.student-detail-top{padding:17px}.student-name h3{font-size:20px}.student-name .avatar{height:49px;width:49px}.tool-tab{padding:11px}.metro-number{font-size:65px}.card-head{padding:18px 17px 0}.card-body{padding:15px 17px 18px}}
@media print{.sidebar,.topbar,.page-head .button-row,.btn,.tabs,.banner,.icon-btn,.tool-menu{display:none!important}.content-shell{margin:0;width:100%}.main{padding:0}.card{border:1px solid #ddd;box-shadow:none;break-inside:avoid}.print-only{display:block}}

.icon-btn.mobile-menu{display:none}
@media(max-width:820px){.icon-btn.mobile-menu{display:grid}}

/* Cloud sync panel */
.cloud-status {display:flex;gap:12px;align-items:center;}
.cloud-status strong{display:block;font-weight:700;color:#153941;}
.cloud-status small{display:block;font-size:12px;color:#647980;margin-top:2px;}
.cloud-dot{width:12px;height:12px;border-radius:50%;background:#b5c2c6;flex:none;box-shadow:0 0 0 4px #eef3f4;}
.cloud-dot.online{background:#2e9876;box-shadow:0 0 0 4px #e1f5ec;}
.cloud-dot.saving,.cloud-dot.checking{background:#d1a23a;box-shadow:0 0 0 4px #fff1d8;}
.cloud-dot.offline,.cloud-dot.conflict,.cloud-dot.auth,.cloud-dot.setup,.cloud-dot.initial{background:#ca704f;box-shadow:0 0 0 4px #faebe5;}

/* Login private v3 — public assets may load, but the API stays authenticated. */
body.app-locked #app,body.app-locked #modal-root,body.app-locked #toast{display:none !important}
#auth-root:empty{display:none}
#auth-root:not(:empty){position:fixed;inset:0;z-index:9999;overflow:auto;display:flex;align-items:center;justify-content:center;background:linear-gradient(140deg,#eef4f3,#dceae8);padding:22px}
.auth-panel{background:white;border:1px solid #dae6e6;border-radius:20px;box-shadow:0 25px 80px #14323e22;padding:28px;max-width:410px;width:100%;color:#14333d}
.auth-panel .auth-logo{display:flex;align-items:center;justify-content:center;background:#14333d;color:white;width:50px;height:50px;border-radius:14px;font-size:30px;margin-bottom:15px}
.auth-panel h1{font-size:23px;margin:0 0 4px;font-weight:780}
.auth-panel h2{font-size:17px;margin:0 0 19px;font-weight:650}
.auth-panel p{line-height:1.55;color:#5e7278;font-size:14px}
.auth-panel label{display:block;font-size:14px;font-weight:650;margin:20px 0 7px}
.auth-panel .auth-note{border-top:1px solid #e7eded;padding-top:14px;margin:22px 0 0;font-size:12px}
.auth-panel .footnote{font-size:12px}
