:root{font-family:Inter,"Segoe UI",system-ui,sans-serif;color:#302e35;background:#f8f6f2;font-synthesis:none;--wine:#882d40;--muted:#706e76;--line:#e9e4de;--green:#24634e;--orange:#896022;--surface:#fff;line-height:1.5;-webkit-tap-highlight-color:transparent}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a{touch-action:manipulation}button{cursor:pointer}button:disabled{opacity:.55;cursor:wait}button,a,input,select{outline-offset:4px}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #b5657a}a{color:var(--wine);text-decoration:none}button{color:inherit}svg{width:22px;height:22px;flex-shrink:0}h1,h2,h3,p{margin:0}h1{font-size:30px;line-height:1.18;letter-spacing:-1px;font-weight:750}h2{font-size:19px;letter-spacing:-.4px}h3{font-size:17px;line-height:1.35}p{color:var(--muted)}small{font-size:12px}strong{font-weight:700}.app-shell{min-height:100dvh;max-width:620px;margin:auto;padding:env(safe-area-inset-top) 0 110px}.topbar{padding:22px 24px 10px;display:flex;justify-content:space-between;align-items:center;gap:12px}.school-brand{display:flex;align-items:center;gap:10px}.school-brand img{width:34px;height:34px;border-radius:11px}.school-brand strong{font-size:15px;letter-spacing:-.4px}.school-brand small{display:block;font-size:10px;letter-spacing:.5px;color:var(--muted)}.icon-button{min-width:44px;height:44px;display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--line);background:#fff;border-radius:50%;position:relative}.top-actions{display:flex;gap:8px}.avatar{width:42px;height:42px;background:#ece5df;color:#5f434b;border:0;border-radius:50%;font-size:13px;font-weight:750}.content{padding:20px 24px 12px;animation:appear .18s ease-out}.greeting{display:flex;justify-content:space-between;align-items:end;margin-bottom:22px;gap:10px}.greeting p{font-size:13px;margin-bottom:4px}.greeting .date{font-size:12px;color:var(--muted);max-width:72px;text-align:right}.subtitle{margin-top:8px;font-size:14px}.context{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:20px}.context label{display:flex;align-items:center;gap:8px;border:1px solid var(--line);background:#fff;padding:4px 10px;border-radius:12px;max-width:100%;font-size:12px;color:var(--muted)}.context select{background:transparent;border:0;min-height:36px;max-width:100%;min-width:0;font-size:13px;color:#3d3540;font-weight:650}.context label>span{white-space:nowrap}.hero{background:var(--wine);border-radius:24px;padding:23px;color:#fff;position:relative;overflow:hidden}.hero:after{content:'';position:absolute;width:170px;height:170px;right:-73px;top:-34px;border:1px solid #ffffff24;border-radius:50%;box-shadow:0 0 0 28px #ffffff08,0 0 0 56px #ffffff05;pointer-events:none}.hero>*{position:relative;z-index:1}.eyebrow{font-size:10px;font-weight:750;letter-spacing:1.8px;text-transform:uppercase}.hero .eyebrow{color:#f1d4d3;display:flex;align-items:center;gap:7px}.hero .eyebrow:before{content:'';width:6px;height:6px;background:#e8bc9e;border-radius:50%}.hero h2{font-size:28px;letter-spacing:-.6px;margin-top:16px;line-height:1.2}.hero p{color:#f1dddf;font-size:13px;margin-top:6px}.hero-info{display:flex;gap:10px;align-items:center;margin:18px 0}.hero-info svg{width:18px;height:18px;color:#edcbd0}.hero-info span{font-size:13px}.hero .primary{background:#fff5e9;color:#692536;box-shadow:none;width:100%;margin-top:12px;justify-content:space-between}.primary,.secondary{display:inline-flex;min-height:48px;border-radius:14px;padding:12px 17px;align-items:center;justify-content:center;gap:9px;font-weight:700;font-size:14px;border:0;text-decoration:none}.primary{background:var(--wine);color:white}.secondary{background:#f0ece6;color:#53474f}.full{width:100%}.text-button{background:none;border:0;color:var(--wine);font-size:13px;font-weight:700;min-height:44px;padding:8px 0;display:inline-flex;align-items:center;gap:4px}.text-button svg{width:16px}.section-heading{display:flex;align-items:center;justify-content:space-between;margin:26px 0 12px;gap:8px}.section-heading h2{font-size:18px}.shortcuts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:22px -3px 0}.shortcut{background:none;border:0;display:flex;align-items:center;flex-direction:column;gap:8px;padding:0;min-height:84px;font-size:11px;font-weight:650}.shortcut span{width:51px;height:51px;display:grid;place-items:center;border-radius:18px;background:#ece7f2;color:#675881}.shortcut:nth-child(2) span{background:#f4e9dc;color:#98713f}.shortcut:nth-child(3) span{background:#e3eeea;color:#3e7361}.shortcut:nth-child(4) span{background:#efe4e8;color:#945368}.card{background:#fff;border:1px solid var(--line);border-radius:20px;padding:18px;margin-bottom:12px}.lesson-card{display:flex;align-items:center;gap:14px;text-align:left;width:100%;color:inherit}.day-block{width:52px;min-width:52px;min-height:60px;border-radius:13px;background:#f5f1ea;display:flex;align-items:center;justify-content:center;flex-direction:column}.day-block b{font-size:23px;line-height:1.15;letter-spacing:-.5px}.day-block span{font-size:10px;text-transform:uppercase;color:#746660;font-weight:700}.lesson-card .grow{min-width:0;flex:1}.lesson-card h3{font-size:15px}.lesson-card p{font-size:12px;margin-top:3px}.chevron{width:17px;color:#92818a}.pill{display:inline-flex;align-items:center;gap:4px;font-size:10px;font-weight:700;border-radius:7px;padding:4px 8px;background:#f1ede7;color:#716457;white-space:nowrap}.pill.good{background:#e8f3ed;color:var(--green)}.pill.warn{background:#fff1dd;color:var(--orange)}.pill.cancelled{background:#efeced;color:#73696e}.cancelled-card{opacity:.75}.balance{display:flex;align-items:center;gap:13px}.balance-icon{width:44px;height:44px;border-radius:13px;display:grid;place-items:center;background:#f9eedf;color:#927040;flex-shrink:0}.balance .grow{flex:1}.balance strong{display:block;font-size:15px}.balance p{font-size:12px}.balance .money{font-size:20px;letter-spacing:-.5px}.muted{color:var(--muted)}.fine{font-size:12px;line-height:1.55}.notice{padding:18px 20px;border-radius:18px;background:#efede7;margin-bottom:12px}.notice h3{font-size:15px;margin:7px 0}.notice p{font-size:13px}.notice small{color:#736656}.navigation{position:fixed;bottom:0;left:50%;transform:translateX(-50%);width:100%;max-width:620px;z-index:10;border-top:1px solid var(--line);background:#fffdfaf5;backdrop-filter:blur(16px);display:grid;grid-template-columns:repeat(5,minmax(0,1fr));padding:9px 12px max(10px,env(safe-area-inset-bottom));box-shadow:0 -5px 20px #40343205}.navigation button{background:none;border:0;color:#7b7379;min-height:53px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;font-size:10px;font-weight:650}.navigation button svg{width:21px;height:21px}.navigation button[aria-current=page]{color:var(--wine)}.nav-icon{padding:3px 17px;border-radius:12px;height:30px}.navigation button[aria-current=page] .nav-icon{background:#f3e3e5}.empty{padding:36px 20px;text-align:center;display:grid;justify-items:center;gap:10px;background:#fff;border:1px dashed #ddd6cf;border-radius:20px}.empty>svg{width:32px;height:32px;color:#ad99a1}.empty p{font-size:13px;max-width:320px}.empty h2{font-size:17px}.loading-screen{min-height:75dvh;padding:36px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:20px;text-align:center;max-width:540px;margin:auto}.loading-screen h1{font-size:25px}.loader{width:26px;height:26px;border:3px solid #eadce0;border-top-color:var(--wine);border-radius:50%;animation:spin .8s linear infinite}.loading-inline{padding:80px 0;display:grid;justify-items:center;gap:16px;color:var(--muted)}.welcome{padding:34px 26px;display:flex;min-height:90dvh;flex-direction:column;justify-content:center;gap:22px;max-width:460px;margin:auto}.welcome .welcome-mark{width:78px;height:78px;border-radius:24px;margin-bottom:14px}.welcome h1{font-size:42px;line-height:1.12;letter-spacing:-1.8px}.welcome h1 em{font-style:normal;color:var(--wine)}.welcome>p{font-size:16px;line-height:1.7}.welcome-actions{display:grid;gap:11px;margin-top:10px}.welcome footer{font-size:12px;color:var(--muted);margin-top:30px}.welcome .eyebrow{color:var(--wine)}.segmented{display:flex;gap:5px;padding:4px;background:#ede9e3;border-radius:14px;margin:20px 0}.segmented button{border:0;background:none;flex:1;padding:10px;min-height:42px;border-radius:10px;color:#6a5d64;font-weight:650;font-size:13px}.segmented button[aria-pressed=true]{background:#fff;color:var(--wine);box-shadow:0 2px 5px #38212a09}.charge-heading{display:flex;justify-content:space-between;align-items:start;gap:12px}.charge-heading h3{font-size:15px}.charge-heading p{font-size:12px;margin-top:4px}.charge-amount{font-size:25px;letter-spacing:-.7px;font-weight:750;margin:17px 0}.charge-footer{display:flex;align-items:center;gap:8px;font-size:12px;color:var(--muted);padding-top:13px;border-top:1px solid #f1ece6}.charge-footer svg{width:15px}.charge-card .primary{margin-top:16px;width:100%}.stat-card{border-radius:21px;padding:22px;background:#ebece5;margin-top:20px}.stat-card p{font-size:12px;color:#5e6756}.stat-card strong{font-size:29px;letter-spacing:-1px;display:block;color:#344a3f;margin:6px 0}.stat-card span{font-size:12px;color:#54674f}.material-card .cover{width:56px;height:70px;border-radius:6px 13px 13px 6px;display:grid;place-items:center;background:#e9e2f0;color:#736183;border-left:5px solid #d3c5df;box-shadow:3px 3px 0 #f1eef4}.material-heading{display:flex;align-items:center;gap:16px;margin-bottom:15px}.material-heading h3{font-size:17px}.material-card p{font-size:13px;line-height:1.7;margin:12px 0}.material-card .pill{margin:4px 5px 4px 0}.pagination{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:25px 0;font-size:12px;color:var(--muted)}.pagination button{min-height:44px}.person{display:flex;align-items:center;gap:13px}.person .grow{flex:1;min-width:0}.person strong{font-size:14px}.person p{font-size:12px}.person .avatar{display:grid;place-items:center;flex-shrink:0}.search{display:flex;gap:8px;margin:20px 0}.search input{flex:1;min-width:0;border:1px solid var(--line);border-radius:14px;background:white;padding:13px 14px;font-size:16px}.search button{width:48px;flex-shrink:0}.account-hero{display:flex;align-items:center;gap:15px;padding:24px 0}.account-hero .avatar{width:64px;height:64px;font-size:19px}.account-hero h1{font-size:24px}.account-hero p{font-size:13px;margin-top:5px}.account-group{padding:0;overflow:hidden}.account-row{display:flex;align-items:center;gap:13px;padding:17px 18px;min-height:64px;border:0;border-bottom:1px solid var(--line);background:#fff;width:100%;text-align:left;color:inherit;font-size:14px;font-weight:650}.account-row:last-child{border:0}.account-row>span{flex:1}.account-row small{display:block;font-weight:400;color:var(--muted);margin-top:3px}.account-row>svg:first-child{color:#96707b}.account-row.danger{color:#a03040}.profile-label{font-size:12px;color:var(--muted);display:block;padding:16px 18px}.profile-label select{display:block;width:100%;border:1px solid var(--line);border-radius:12px;padding:12px;margin-top:8px;background:#faf8f5;color:inherit;font-size:16px}.status-banner{padding:12px 20px;background:#fff0d8;color:#75551d;font-size:12px;margin:10px 24px;border-radius:12px;display:flex;align-items:center;gap:8px}.status-banner svg{width:17px}.status-banner.error{background:#fae9ec;color:#8f2d41}.status-banner button{border:0;background:none;color:inherit;text-decoration:underline;font-size:inherit;min-height:32px}.status-line{text-align:center;font-size:11px;color:#93888e;padding:15px 0}.skip{position:fixed;top:-80px;z-index:100;background:white;padding:15px}.skip:focus{top:0}#feedback{position:fixed;bottom:max(94px,calc(env(safe-area-inset-bottom) + 84px));left:50%;transform:translateX(-50%);width:calc(100% - 40px);max-width:530px;border-radius:14px;background:#333137;color:white;font-size:13px;padding:14px 18px;box-shadow:0 8px 32px #30252e22;z-index:30}#feedback:empty{display:none}dialog{border:0;padding:0;border-radius:26px 26px 0 0;margin:auto auto 0;width:100%;max-width:620px;max-height:92dvh;color:inherit;background:#f8f6f2;box-shadow:0 -12px 70px #38273230;overscroll-behavior:contain}dialog::backdrop{background:#241f2b80;backdrop-filter:blur(3px)}.sheet-header{position:sticky;top:0;background:#f8f6f2;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:20px 23px;z-index:2;border-bottom:1px solid var(--line)}.sheet-header h2{font-size:19px}.sheet-body{padding:20px 23px max(28px,env(safe-area-inset-bottom))}.detail-title{font-size:27px;letter-spacing:-.7px;margin-bottom:18px}.detail-line{display:flex;gap:12px;margin:15px 0;color:#61545c;font-size:14px;align-items:start}.detail-line svg{color:#977280;width:19px}.sheet-body .section-heading{margin-top:25px}.attendance-person{background:white;border:1px solid var(--line);border-radius:17px;padding:16px;margin:12px 0}.attendance-person b{font-size:14px}.attendance-options{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;margin-top:12px}.attendance-options button{min-height:44px;border:1px solid var(--line);background:#faf8f5;border-radius:10px;font-size:12px}.attendance-options button[aria-pressed=true]{background:#f0e0e5;color:var(--wine);border-color:#dcb6c3;font-weight:750}.sheet-body label{font-size:13px;display:block;color:#6a5b62;margin:15px 0}.sheet-body input,.sheet-body textarea{display:block;width:100%;font-size:16px;padding:14px;border:1px solid #dcd2d8;border-radius:12px;background:white;margin-top:7px}.sheet-error{background:#f7e7e9;color:#933346;padding:13px;border-radius:12px;margin:14px 0;font-size:13px}.install-steps{padding-left:21px;font-size:14px;color:#625960;line-height:1.9}.install-steps li{padding:7px 0}.test-label{font-size:11px;color:#835f26;margin-top:8px;text-align:center}.sheet-body .fine{margin-top:12px}.back-heading{display:flex;align-items:center;gap:10px;margin-bottom:20px}.back-heading h1{font-size:27px}@media(min-width:700px){body{background:#eae7e2}.app-shell{background:#f8f6f2;box-shadow:0 0 70px #31222c0a;min-height:100dvh}.navigation{border-radius:18px 18px 0 0}.welcome{min-height:95dvh}dialog{margin:auto;border-radius:26px}}@media(max-width:360px){.topbar{padding:18px 17px 8px}.content{padding:18px 17px}.school-brand strong{font-size:13px}.school-brand small{font-size:9px}h1{font-size:27px}.hero{padding:20px}.navigation{padding-left:3px;padding-right:3px}.nav-icon{padding:3px 13px}.shortcut{font-size:10px}.context label>span{display:none}.attendance-options button{font-size:11px}.welcome h1{font-size:36px}}@media(prefers-reduced-motion:reduce){*{animation:none!important;scroll-behavior:auto!important}}@keyframes spin{to{transform:rotate(360deg)}}@keyframes appear{from{opacity:.5;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}
.agenda-day{margin:25px 0 10px}.agenda-day-heading{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin:0 0 12px}.agenda-day-heading h2{font-size:16px;max-width:80%;text-transform:capitalize}.agenda-day-heading>span{font-size:12px;color:var(--muted);white-space:nowrap}.attendance-badge{margin-top:8px;white-space:normal}.attendance-summary{padding:18px;border:1px solid #dce8df;background:#eef4ef;border-radius:18px}.attendance-summary>strong{font-size:16px;color:#344d3f}.attendance-summary progress{display:block;width:100%;height:8px;margin:13px 0;border:0;border-radius:8px;overflow:hidden;accent-color:var(--green)}.attendance-summary progress::-webkit-progress-bar{background:#d6e3d9;border-radius:8px}.attendance-summary progress::-webkit-progress-value{background:var(--green);border-radius:8px}.attendance-summary progress::-moz-progress-bar{background:var(--green);border-radius:8px}.attendance-totals{display:flex;flex-wrap:wrap;gap:8px 14px;font-size:12px;color:#476350}.attendance-name{display:flex;justify-content:space-between;align-items:center;gap:12px}.attendance-name b{overflow-wrap:anywhere;min-width:0}.attendance-filters{margin:16px 0}.attendance-empty{padding:25px 15px;text-align:center;border:1px dashed var(--line);border-radius:16px;margin:12px 0}.attendance-empty p{font-size:13px;margin-top:8px}.attendance-saving,.attendance-saved{padding:13px 15px;border-radius:12px;font-size:13px;margin-bottom:15px}.attendance-saving{background:#eee9f3;color:#5a4971}.attendance-saved{background:#e5f1e8;color:#23523a}.sheet-body .attendance-search{margin:20px 0 0}.sheet-body [data-action=attendance-agenda]{margin-top:20px}.sheet-body .attendance-options button{font-size:13px}.lesson-card .pill{max-width:100%;overflow-wrap:anywhere}body:has(dialog[open]){overflow:hidden}
.attendance-qr{padding:18px;border:1px solid var(--line);border-radius:18px;background:#fff;margin-bottom:18px}.attendance-qr h3{font-size:16px}.qr-actions{display:flex;flex-wrap:wrap;gap:9px;margin-top:16px}.qr-actions button{flex:1;min-width:130px;font-size:13px}.qr-display{display:flex;align-items:center;flex-direction:column;margin:16px 0;gap:10px}.qr-display img{width:240px;max-width:100%;height:auto;aspect-ratio:1;background:#fff}.qr-display>strong{font-size:13px;color:var(--green)}
.arrival-lesson{margin-top:18px}.arrival-lesson p{font-size:13px;margin-top:9px}.arrival-lesson .primary,.arrival-lesson .pill{margin-top:16px}.arrival-success{text-align:center;display:grid;justify-items:center;gap:15px;padding:24px 0 30px}.arrival-success>svg{width:58px;height:58px;padding:14px;background:#e5f1e8;color:var(--green);border-radius:50%}.arrival-success p{font-size:15px;line-height:1.7}
.sheet-body .attendance-qr{margin-top:24px}
