:root{font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;color:#1c2831;background:#eef0f2;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;--white:#fff;--ink:#1c2831;--muted:#81909b;--line:#e9edf0;--violet:#5364b6;--navy:#21354b;--mint:#e8f7f0;--red:#bc5353;--shadow:0 4px 22px rgba(27,41,56,.035)}*{box-sizing:border-box}body{margin:0;overscroll-behavior-y:none}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{opacity:.5;cursor:not-allowed}.app{width:min(100%,560px);min-height:100dvh;margin:auto;background:#f6f7f8;position:relative}.topbar{height:84px;padding:22px 22px 14px;display:flex;align-items:center;justify-content:space-between;background:#f6f7f8;position:sticky;top:0;z-index:5}.brand{display:flex;align-items:center;gap:11px}.brandmark{width:42px;height:42px;border-radius:14px;background:#253a51;color:white;display:grid;place-items:center;font-size:23px;font-weight:750;letter-spacing:-1px}.brandname{font-size:17px;letter-spacing:-.45px;font-weight:750}.brandcaption{font-size:11px;color:var(--muted);margin-top:3px;letter-spacing:.01em}.icon-button{border:1px solid var(--line);border-radius:15px;width:44px;height:44px;display:grid;place-items:center;background:white;color:#506173;position:relative}.icon-button svg{width:22px;height:22px}.pending-dot{position:absolute;right:7px;top:7px;width:7px;height:7px;background:#dc8250;border-radius:50%;border:1px solid white}.sync-button.busy svg{animation:turn 1.4s linear infinite}@keyframes turn{to{transform:rotate(360deg)}}.content{padding:15px 20px calc(112px + env(safe-area-inset-bottom,0px));min-height:calc(100dvh - 170px)}.eyebrow{font-size:11px;text-transform:uppercase;letter-spacing:.14em;color:#89969f;font-weight:780;margin:0 0 10px}.section-header{display:flex;justify-content:space-between;align-items:center;gap:8px;margin:26px 0 13px}.section-title{font-size:17px;font-weight:760;letter-spacing:-.6px;margin:0}.section-hint{font-size:12px;color:#97a3a9}.hero{background:#21384e;color:white;border-radius:25px;padding:23px 24px;position:relative;overflow:hidden;box-shadow:0 9px 30px #233b5320}.hero:after{content:"";position:absolute;right:-48px;top:-55px;width:220px;height:220px;border-radius:50%;background:radial-gradient(circle,#93aed62b 0%,transparent 66%);pointer-events:none}.hero-label{font-size:12px;color:#c5d1dd;font-weight:550}.hero-value{font-size:60px;font-weight:730;letter-spacing:-3px;line-height:1.22;margin:8px 0 4px}.hero-value span{font-size:17px;color:#bfcbd7;font-weight:450;letter-spacing:0}.hero-footer{border-top:1px solid #ffffff22;padding-top:18px;margin-top:19px;display:flex;gap:20px;justify-content:space-between}.metric .number{font-weight:750;font-size:21px}.metric .text{font-size:11px;color:#bbcad7;margin-top:4px}.mini-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;margin-top:12px}.stat{border:1px solid #edf0f1;background:white;border-radius:17px;padding:15px 13px;min-width:0}.stat .num{font-weight:760;font-size:24px;letter-spacing:-.6px}.stat .label{font-size:11px;color:#93a0a9;margin-top:5px}.notice{border-radius:16px;background:#eff1f8;color:#56638c;padding:12px 14px;font-size:12px;display:flex;align-items:center;gap:10px;line-height:1.5;margin-bottom:16px}.notice.warn{background:#fff0e6;color:#9b603c}.notice.ok{background:#eaf6f0;color:#46705b}.notice svg{width:18px;flex:0 0 18px}.students{display:flex;flex-direction:column;gap:8px}.student{border:1px solid var(--line);border-radius:18px;background:white;padding:14px 14px 14px 16px;display:flex;align-items:center;gap:13px;text-align:left;width:100%;color:inherit}.student:active,.record:active{background:#f1f4f6}.avatar{width:43px;height:43px;border-radius:14px;display:grid;place-items:center;color:#44566d;font-weight:720;font-size:17px;background:#eef2f7;flex-shrink:0}.avatar.a1{background:#e6f3f0;color:#4b8075}.avatar.a2{background:#edeafa;color:#7566a5}.avatar.a3{background:#faf0e8;color:#a87852}.avatar.a4{background:#e9f1fc;color:#557caa}.avatar.a5{background:#faeaf0;color:#a7637c}.student-info{min-width:0;flex:1}.student-name{font-size:14px;font-weight:710}.student-sub{font-size:11px;color:#91a0aa;margin-top:5px}.student-right{text-align:right}.student-count{font-size:24px;letter-spacing:-1px;font-weight:740}.student-count.low{color:#ba7555}.student-count.zero{color:#b34f55}.student-caption{font-size:10px;color:#a4adb3;margin-top:3px}.action-row{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:16px}.primary{background:#263c54;color:white;border:0;border-radius:15px;padding:14px 16px;font-weight:700;font-size:13px;min-height:48px}.secondary{background:#fff;color:#314558;border:1px solid #e5e9ee;border-radius:15px;padding:13px 15px;font-weight:690;font-size:13px;min-height:48px}.btn-inline{border:0;background:none;color:#6378ba;font-weight:730;font-size:12px;padding:5px 0}.primary:active{background:#304d6a}.bottom-nav{position:fixed;bottom:0;left:50%;transform:translateX(-50%);width:min(100%,560px);background:#fff;border-top:1px solid #ebeff2;display:flex;justify-content:space-around;padding:10px 8px calc(10px + env(safe-area-inset-bottom,0px));z-index:10;box-shadow:0 -6px 30px #1c2e3a09}.nav-item{background:none;border:none;min-width:0;flex:1;display:flex;flex-direction:column;align-items:center;gap:5px;color:#9ba5ae;padding:3px 0;font-size:10px;font-weight:600;white-space:nowrap}.nav-item svg{height:22px;width:22px;fill:none;stroke:currentColor;stroke-width:1.75;stroke-linecap:round;stroke-linejoin:round}.nav-item.active{color:#344c69}.nav-item.active svg{stroke-width:2.25}.page-title{font-size:26px;letter-spacing:-1.05px;font-weight:750;margin:1px 0 5px}.page-subtitle{font-size:12px;color:#8e9da8;line-height:1.6;margin:0 0 20px}.filter-row{display:flex;gap:8px;overflow-x:auto;scrollbar-width:none;padding:2px 0 11px}.chip{white-space:nowrap;background:white;border:1px solid #e6eaee;color:#7c8994;font-size:12px;border-radius:12px;padding:10px 14px}.chip.selected{color:white;border-color:#304960;background:#304960}.records{display:flex;flex-direction:column;gap:9px}.record{border-radius:17px;border:1px solid #e9edf0;background:white;display:flex;align-items:center;padding:14px 15px;gap:11px;width:100%;text-align:left;color:inherit}.record-main{min-width:0;flex:1}.record-top{display:flex;align-items:center;gap:8px;min-width:0}.record-title{font-size:14px;font-weight:720}.record-date{font-size:11px;color:#9aa7ae;margin-left:auto;white-space:nowrap}.record-caption{font-size:12px;color:#8d9aa5;margin-top:6px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.tag{display:inline-block;white-space:nowrap;padding:4px 7px;border-radius:7px;background:#e9f4ef;color:#48755d;font-size:10px;font-weight:700}.tag.no-show{background:#faece6;color:#ac674a}.tag.planned{background:#eef1ff;color:#6577b8}.tag.cancel{background:#f0f0f0;color:#8a949b}.pay-dot{width:39px;height:39px;border-radius:13px;background:#e7f3ee;color:#49806a;display:grid;place-items:center;font-size:20px;font-weight:500}.pay-value{font-size:20px;font-weight:780;color:#3f7e65}.pill{display:inline-flex;align-items:center;gap:6px;background:#f3f5f6;color:#647483;border-radius:12px;padding:7px 10px;font-size:11px;font-weight:670}.badge-pending{background:#fff4df;color:#ae783e}.empty{background:white;border:1px dashed #dce3e8;border-radius:22px;text-align:center;padding:40px 25px;color:#8795a0;font-size:13px;line-height:1.7}.empty-icon{font-size:33px;margin-bottom:12px;opacity:.55}.card{border-radius:19px;background:white;border:1px solid #e9edf0;padding:17px}.card h3{font-size:15px;margin:0 0 11px}.card p{font-size:12px;color:#84949e;line-height:1.8;margin:0}.setting-input,label.form-label{font-size:12px;color:#657786;font-weight:680;display:block;margin:0 0 7px}.field{width:100%;border-radius:14px;background:#f6f8f9;border:1px solid #e6ebef;color:#263a4a;min-height:47px;padding:12px 13px;outline:none;font-size:15px;appearance:none}.field:focus{border-color:#6c83b8;box-shadow:0 0 0 3px #718ac51f}textarea.field{min-height:84px;resize:vertical}select.field{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%23919da8' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 12px center;padding-right:35px}.form-group{margin-bottom:16px}.sheet-backdrop{position:fixed;inset:0;background:#1b2a3880;z-index:20;display:flex;align-items:flex-end;justify-content:center}.sheet{background:white;border-radius:25px 25px 0 0;width:min(100%,560px);max-height:94dvh;overflow-y:auto;padding:12px 22px calc(28px + env(safe-area-inset-bottom,0px));box-shadow:0 -15px 40px #0001}.sheet-handle{width:38px;height:4px;background:#dde3e7;border-radius:6px;margin:0 auto 16px}.sheet-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:19px}.sheet-header h2{font-size:21px;margin:0;font-weight:760;letter-spacing:-.6px}.close{border:0;background:#f3f5f6;width:33px;height:33px;border-radius:10px;color:#74828b;font-size:23px;line-height:1}.form-actions{display:flex;gap:10px;margin-top:22px}.form-actions button:first-child{flex:1}.delete{border:none;background:none;color:#be6560;font-size:13px;font-weight:700;padding:14px 9px}.sync-bar{display:flex;gap:10px;align-items:center;justify-content:space-between;padding:12px 14px;border-radius:14px;background:#eef2f6;color:#51667d;font-size:12px;margin-bottom:18px}.sync-bar .primary{min-height:37px;border-radius:11px;padding:7px 11px;white-space:nowrap;font-size:11px}.help-text{color:#8b99a4;line-height:1.6;font-size:11px;margin:9px 0}.steps{padding-left:20px;margin:0;color:#697984;font-size:12px;line-height:1.9}.steps li{margin:7px 0}a{color:#556cac;text-decoration:none}#toast{position:fixed;bottom:calc(88px + env(safe-area-inset-bottom,0px));left:50%;transform:translate(-50%,20px);width:max-content;max-width:min(90vw,480px);padding:12px 18px;background:#263848;color:white;border-radius:13px;box-shadow:0 7px 30px #0003;font-size:12px;opacity:0;pointer-events:none;transition:.2s;z-index:50;line-height:1.4}#toast.show{transform:translate(-50%,0);opacity:1}.loading{display:flex;align-items:center;justify-content:center;gap:10px;color:#94a1a8;font-size:12px;padding:65px 0}.spinner{width:18px;height:18px;border:2px solid #d1d9e2;border-top-color:#526781;border-radius:50%;animation:turn .7s linear infinite}.footnote{margin-top:17px;color:#a3afb6;font-size:10px;line-height:1.7}.centered{display:grid;place-items:center;min-height:55vh;text-align:center}.centered .card{width:100%;padding:28px 22px}.centered .large-emoji{font-size:42px;margin:0 0 15px}.centered h2{font-size:22px;margin:0 0 10px;letter-spacing:-.6px}.centered p{color:#84939f;font-size:13px;line-height:1.7}.danger{color:#be5b56}.fine{border-top:1px solid var(--line);margin-top:14px;padding-top:14px}.offline-mark{display:inline-block;width:7px;height:7px;background:#d28a59;border-radius:50%;vertical-align:middle;margin-right:6px}.skeleton{background:linear-gradient(90deg,#e8edf0 20%,#f8fafb 45%,#e8edf0 70%);background-size:200% 100%;animation:shimmer 1.5s infinite;border-radius:8px}@keyframes shimmer{to{background-position-x:-200%}}@media(min-width:560px){.app{border-left:1px solid #e8ebee;border-right:1px solid #e8ebee;box-shadow:0 0 100px #1d2c3510}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.001ms!important;transition-duration:.001ms!important}}
