:root{font-family:"Microsoft YaHei","PingFang SC",sans-serif;color:#4b2d1e;background:#fff0e2;font-synthesis:none;--orange:#b94c12;--muted:#856b5c;--line:#eedbc9;--paper:#fffaf5}
*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button,a,input,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer;min-height:48px}button:disabled{opacity:.55;cursor:wait}button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #f59a58;outline-offset:3px}button{border:0;border-radius:14px}h1,h2,p{margin:0}.phone-shell{max-width:440px;min-height:100dvh;background:var(--paper);margin:auto;box-shadow:0 0 70px #9d55201a;display:flex;flex-direction:column}.test-banner{font-size:11px;text-align:center;letter-spacing:1px;background:#fff0df;color:#8d5a37;padding:10px 8px}.brand{display:flex;align-items:center;gap:11px;padding:22px 24px 18px;border-bottom:1px solid var(--line)}.brand-icon{background:var(--orange);color:#fff;width:40px;height:40px;display:grid;place-items:center;border-radius:12px;font-size:23px;font-family:serif}.brand strong{font-size:16px;display:block;letter-spacing:1px}.brand div>span{font-size:10px;color:var(--muted);display:block;margin-top:4px}.version{margin-left:auto;font-size:10px;color:var(--muted);letter-spacing:1px;border:1px solid #efd7c2;border-radius:20px;padding:5px 8px}main{padding:24px;flex:1}footer{text-align:center;color:#9a8070;font-size:10px;padding:28px 12px 22px}.eyebrow{font-size:11px;letter-spacing:2px;color:#b26b39;margin-bottom:19px}.entry{padding-top:18px}.entry h1{font-family:"Noto Serif CJK SC","Songti SC","SimSun",serif;font-size:34px;font-weight:600;line-height:1.55;letter-spacing:1px}.intro{color:var(--muted);font-size:13px;line-height:1.9;margin-top:18px}.entry-card{background:#fff;border:1px solid var(--line);border-radius:22px;padding:22px;margin-top:30px}.entry-card h2{font-size:16px}.entry-card p{font-size:12px;color:var(--muted);line-height:1.9;margin:10px 0 22px}.primary,.secondary{display:flex;align-items:center;justify-content:center;gap:10px;width:100%;font-size:14px;font-weight:600;padding:14px 16px}.primary{background:var(--orange);color:#fff}.primary span,.secondary span{margin-left:auto}.secondary{background:#fff0df;color:var(--orange);margin-top:10px}.entry-note{font-size:11px;line-height:1.8;color:var(--muted);margin:18px 6px 0}.toolbar{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px}.toolbar p{font-size:12px;color:var(--muted)}.text-button{min-height:36px;padding:4px 8px;background:transparent;color:var(--orange);font-size:12px}.heading{display:flex;align-items:center;justify-content:space-between;margin:0 0 22px}.heading h1{font-size:26px;letter-spacing:-.5px}.heading p{font-size:12px;color:var(--muted);margin-top:8px}.add-button{background:var(--orange);color:white;padding:0 15px;font-size:13px;border-radius:13px}.search{position:relative;margin-bottom:18px}.search label{position:absolute;left:14px;top:15px;color:var(--muted);font-size:13px}.search input{width:100%;height:46px;padding:0 14px 0 40px;border:1px solid var(--line);border-radius:13px;background:#fff;font-size:13px}.list{display:grid;gap:10px}.student-card{display:flex;align-items:center;width:100%;background:#fff;border:1px solid var(--line);padding:17px 15px;text-align:left;gap:13px;border-radius:17px;color:inherit}.avatar{width:42px;height:42px;border-radius:14px;background:#ffe8d2;color:var(--orange);display:grid;place-items:center;font-size:18px;flex:none}.student-main{min-width:0;flex:1}.student-name{display:block;font-size:15px;overflow-wrap:anywhere;line-height:1.6}.student-sub{display:flex;gap:9px;align-items:center;margin-top:5px;color:var(--muted);font-size:11px}.tag{padding:3px 7px;border-radius:6px;background:#fff0db;color:#9b5b28}.chevron{font-size:20px;color:#be845a}.empty{padding:43px 20px;background:#fff;border:1px dashed #eecdb1;border-radius:19px;text-align:center}.empty-symbol{font-size:32px;color:#d7a279;margin-bottom:13px}.empty h2{font-size:16px}.empty p{font-size:12px;color:var(--muted);line-height:1.9;margin-top:10px}.empty button{margin-top:22px}.back{background:transparent;padding:0;min-height:36px;color:var(--orange);font-size:13px;margin-bottom:16px}.page-title{font-size:25px;margin-bottom:8px}.page-sub{font-size:12px;color:var(--muted);line-height:1.8;margin-bottom:26px}.field{display:block;margin-bottom:20px}.field>span{display:block;font-size:13px;font-weight:600;margin-bottom:9px}.field input,.field select{width:100%;height:49px;border:1px solid #eed7c3;border-radius:12px;background:#fff;color:#4b2d1e;padding:0 13px;min-width:0}.field input::placeholder{color:#aa8b76;font-size:12px}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:14px}fieldset{border:0;padding:0;margin:0 0 20px}legend{font-size:13px;font-weight:600;margin-bottom:10px}.care-options{display:grid;grid-template-columns:repeat(3,1fr);gap:9px}.care-options label{position:relative}.care-options input{position:absolute;opacity:0}.care-options span{display:block;text-align:center;padding:15px 0;background:white;border:1px solid #eed7c3;border-radius:12px;font-size:14px}.care-options input:checked+span{border-color:var(--orange);background:#ffecd9;color:var(--orange);font-weight:600}.care-options input:focus-visible+span{outline:3px solid #f59a58}.hint{font-size:11px;color:var(--muted);margin-top:9px;line-height:1.8}.actions{margin-top:27px;display:grid;gap:6px}.detail-card{background:#fff;border:1px solid var(--line);border-radius:20px;padding:6px 19px}.detail-row{display:grid;grid-template-columns:92px 1fr;gap:14px;padding:17px 0;border-bottom:1px solid #f6e6d8;font-size:14px}.detail-row:last-child{border:0}.detail-row dt{color:var(--muted);font-size:12px}.detail-row dd{margin:0;overflow-wrap:anywhere}.meta{font-size:10px;line-height:2;color:var(--muted);margin:17px 2px 0;overflow-wrap:anywhere}#notice{margin:16px 24px 0;padding:12px 14px;border-radius:11px;background:#fff0dc;color:#8b4c23;font-size:12px;line-height:1.7}#notice.error{background:#fbe9e1;color:#9a3c24}.loading{font-size:13px;color:var(--muted);padding:30px 0}.load-more{margin-top:15px}.counter{font-size:11px;color:var(--muted);margin-bottom:12px}@media(min-width:600px){body{padding:28px 0}.phone-shell{min-height:calc(100dvh - 56px);border:1px solid #efd9c6;border-radius:26px;overflow:hidden}}@media(max-width:360px){main{padding:20px}.brand{padding-left:20px;padding-right:20px}.entry h1{font-size:30px}.heading h1{font-size:23px}.add-button{padding:0 12px}}

/* Persistent navigation; core data storage is independent of this replaceable UI. */
.entry-card a.primary{display:grid;place-items:center;min-height:48px;border-radius:14px;text-decoration:none;font-size:14px;font-weight:700}
.phone-shell{padding-bottom:calc(61px + env(safe-area-inset-bottom,0px));overflow-x:clip}
.bottom-nav{position:fixed;z-index:20;bottom:0;left:50%;transform:translateX(-50%);width:min(100%,440px);display:grid;grid-template-columns:repeat(4,1fr);align-items:end;padding:3px 8px calc(3px + env(safe-area-inset-bottom,0px));background:#fff;border-top:1px solid #efd7c2;box-shadow:0 -5px 18px #9d552014}
@media(max-width:599px){.phone-shell{max-width:none}.bottom-nav{width:100%}}
.bottom-nav a{height:44px;min-height:44px;padding:4px 0;border-radius:13px;background:transparent;color:#856b5c;display:flex;align-items:center;justify-content:center;font-size:13px;font-weight:600;text-decoration:none;cursor:pointer;transition:transform .24s ease,height .24s ease,background-color .24s ease,color .24s ease,box-shadow .24s ease}
.bottom-nav a[aria-current="page"]{height:52px;min-height:52px;transform:translateY(-8px);background:#a6400d;color:#fff;font-weight:700;box-shadow:0 5px 12px #9d552030}
.bottom-nav a:focus-visible{outline:3px solid #f59a58;outline-offset:3px}
@media(prefers-reduced-motion:reduce){.bottom-nav a{transition:none}}
.section-placeholder{padding:12px 0}.section-placeholder h1{font-size:25px;margin-bottom:10px}.section-placeholder p{font-size:13px;color:var(--muted);line-height:1.8}
.phone-shell:not([data-home-page="true"]) .brand{display:none}
.brand-icon{flex:none;overflow:hidden}.brand-icon img{width:100%;height:100%;object-fit:contain;background:white}.brand-copy{min-width:0;flex:1}.brand-copy strong,.brand-copy>span{overflow-wrap:anywhere}.brand .version{flex:none}.logo-setting{padding:18px;border:1px solid var(--line);border-radius:18px;background:#fff}.field-title{font-size:13px;font-weight:600}.logo-preview{display:grid;place-items:center;width:64px;height:64px;margin:14px 0 20px;background:var(--orange);color:#fff;border-radius:16px;font-size:28px;overflow:hidden}.logo-preview img{width:100%;height:100%;object-fit:contain;background:white}.field small{display:block;color:var(--muted);font-size:11px;line-height:1.8;margin-top:8px}.field input[type=file]{height:auto;min-height:48px;padding:12px 8px;max-width:100%;font-size:11px}.logo-setting .field{margin-bottom:16px}

.reminder-heading{display:flex;align-items:center;justify-content:space-between;margin:0 0 10px}.reminder-heading h1{font-size:16px;line-height:1.4}
.reminder-menu{position:relative;z-index:5}.reminder-menu summary{display:grid;place-items:center;list-style:none;width:34px;height:34px;border-radius:50%;background:#fff;border:1px solid var(--line);color:var(--orange);font-size:19px;line-height:1;cursor:pointer}.reminder-menu summary::-webkit-details-marker{display:none}.reminder-menu summary:focus-visible{outline:3px solid #f59a58}
.reminder-menu-items{position:absolute;right:0;top:37px;width:130px;padding:5px;background:#fff;border:1px solid var(--line);border-radius:12px;box-shadow:0 10px 24px #71390925}
.reminder-menu-items a{display:block;padding:11px 9px;color:#4b2d1e;text-decoration:none;font-size:13px;border-radius:8px}.reminder-menu-items a:focus-visible,.reminder-menu-items a:hover{background:#fff0df;outline:none}
.reminder-scroll{min-height:100px;overflow-y:auto;overscroll-behavior:contain;display:grid;align-content:start;gap:8px;padding:6px;background:#fff;border:1px solid var(--line);border-radius:18px;scrollbar-width:thin;scrollbar-color:#d9a985 transparent}
.reminder-scroll.reminder-stack{height:104px}.reminder-scroll.reminder-stack[data-card-count="2"]{height:124px}.reminder-scroll.reminder-stack[data-card-count="3"],.reminder-scroll.reminder-stack[data-card-count="4"]{height:145px}.reminder-scroll.reminder-stack.has-expanded{height:166px}
.reminder-scroll.reminder-stack{position:relative;display:block;overflow:hidden;isolation:isolate;touch-action:pan-y}.reminder-stack:focus-visible{outline:3px solid #f59a58;outline-offset:3px}
.reminder-empty{padding:22px 16px;text-align:center;color:var(--muted);font-size:13px;line-height:1.8}
.reminder-card{height:76px;min-height:76px;display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:8px;padding:10px 11px;border:1px solid #eadacb;border-radius:14px;background:#fff;color:#4b2d1e}
.reminder-card.expanded{height:auto;min-height:76px;align-items:start}
.reminder-card.attendance-alert{height:94px;min-height:94px;grid-template-columns:minmax(0,1fr) auto auto;grid-template-rows:auto auto;gap:2px 7px;padding:8px 10px}.attendance-alert .reminder-title{grid-column:1/-1;font-size:13px}.attendance-alert .reminder-badge{justify-self:start}.attendance-alert .reminder-complete{min-width:42px;min-height:32px;padding:3px 7px}
.reminder-stack .reminder-card{position:absolute;top:8px;left:7px;right:7px;transform-origin:top center;box-shadow:0 8px 18px #6d341018;transition:transform .3s cubic-bezier(.2,.7,.2,1),opacity .3s ease,filter .3s ease}
.reminder-stack .reminder-card[data-stack-depth="0"]{opacity:1;transform:translateY(0) scale(1);pointer-events:auto;touch-action:none}
.reminder-stack .reminder-card[data-stack-depth="1"]{opacity:.64;transform:translateY(22px) scale(.95);filter:saturate(.55);pointer-events:none}
.reminder-stack .reminder-card[data-stack-depth="2"]{opacity:.39;transform:translateY(36px) scale(.9);filter:saturate(.4);pointer-events:none}
.reminder-stack .reminder-card[data-stack-depth="3"]{opacity:.22;transform:translateY(48px) scale(.85);filter:saturate(.3);pointer-events:none}
.reminder-stack .reminder-card[data-stack-depth="hidden"]{opacity:0;visibility:hidden;transform:translateY(54px) scale(.8);pointer-events:none}
.reminder-stack .reminder-card.expanded{max-height:144px;overflow-y:auto;overscroll-behavior:contain;touch-action:pan-y}.reminder-stack .reminder-card.expanded [data-title-key]{min-height:0}
.reminder-card.approaching{background:#ffead5;border-color:#efcaac}.reminder-card.urgent{background:#eda264;border-color:#d6823d;color:#3c1e0b}.reminder-card.overdue{background:#a92626;border-color:#a92626;color:#fff}
.reminder-title{display:block;min-width:0;overflow:hidden;white-space:nowrap;text-overflow:clip;font-size:14px;line-height:1.5}.reminder-title.truncated{mask-image:linear-gradient(to right,#000 0%,#000 74%,transparent 100%);-webkit-mask-image:linear-gradient(to right,#000 0%,#000 74%,transparent 100%)}
.reminder-card [data-title-key]{width:100%;padding:0;min-height:48px;text-align:left;background:transparent;border:0;border-radius:4px;color:inherit;font-weight:700}.reminder-card.expanded [data-title-key]{white-space:normal;overflow-wrap:anywhere;mask-image:none;-webkit-mask-image:none}
.reminder-complete{min-width:44px;min-height:40px;padding:5px 7px;border:1px solid #d6a27d;border-radius:9px;background:#fffaf5;color:#8d410f;font-size:12px;font-weight:700}.reminder-complete:disabled{opacity:.5}
.reminder-view{display:grid;place-items:center;text-decoration:none}
.reminder-badge{max-width:106px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;padding:7px 5px;border-radius:8px;background:#ffffffb8;color:inherit;font-size:11px;font-weight:700;font-variant-numeric:tabular-nums}.reminder-card.overdue .reminder-badge{color:#842020}.reminder-card.overdue .reminder-complete{color:#842020}
.student-summary{margin-top:25px}.student-summary-list{display:grid}.student-summary-card{display:grid;grid-template-columns:1fr 1fr;min-height:108px;background:#fff;border:1px solid var(--line);border-radius:18px;box-shadow:0 8px 22px #9d552010;overflow:hidden}.summary-cell{min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;padding:12px 8px;text-align:center}.summary-cell+.summary-cell{border-left:1px solid #eadacb}.summary-label{font-size:17px;line-height:1.2;color:#786b62}.summary-count{font-size:30px;line-height:1;font-weight:700;color:var(--orange);font-variant-numeric:tabular-nums}.summary-count.unavailable{color:#9d8e82}.course-switch{position:relative;display:flex;align-items:center;justify-content:center;gap:6px;min-width:110px;min-height:44px;padding:0 12px;border-radius:8px;background:transparent}.course-switch-arrow{color:var(--orange);font-size:22px;line-height:1}
.reminder-manage h2{font-size:16px;margin:24px 0 11px}.manage-list{display:grid;gap:9px}.manage-reminder{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:9px;padding:12px;background:#fff;border:1px solid var(--line);border-radius:12px}.manage-reminder.historical{background:#f4f1ef;color:#70645d}.manage-reminder span{font-size:11px;color:var(--muted)}.manage-reminder a,.manage-reminder button{min-height:36px;padding:7px 9px;border-radius:8px;background:#fff0df;color:var(--orange);text-decoration:none;font-size:12px;font-weight:600}
.reminder-page-header{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:44px;margin-bottom:20px}.reminder-page-header .back,.reminder-page-header .page-title{margin:0}.reminder-page-header .back{flex:none}.reminder-manage h2:first-of-type{margin-top:0}
.manage-reminder.pending{grid-template-columns:minmax(0,1fr) auto}.manage-actions{grid-column:1/-1;display:flex;justify-content:flex-end;gap:8px}.application-card,.application-source{padding:13px;background:#fff;border:1px solid var(--line);border-radius:12px}.application-card strong,.application-source strong{display:block;font-size:14px;overflow-wrap:anywhere}.application-card p{margin:8px 0;line-height:1.55}.application-card small,.application-source small,.application-source span{display:block;color:var(--muted);font-size:11px}.application-source{margin:0 0 19px}.application-source strong{margin:6px 0}.reminder-editor select{width:100%;min-height:44px;padding:9px 12px;border:1px solid var(--line);border-radius:10px;background:#fff;color:#4b2d1e}
.deadline-field{padding:0}.deadline-field legend{font-size:13px}.no-deadline{display:flex;align-items:center;gap:9px;min-height:42px;font-size:13px}.no-deadline input{width:19px;height:19px;accent-color:var(--orange)}
#deadline-wheels.disabled{opacity:.4;pointer-events:none}.wheel-label{font-size:12px;color:var(--muted);margin:12px 0 7px}.wheel-row{display:grid;gap:8px}.date-wheels{grid-template-columns:repeat(3,minmax(0,1fr))}.time-wheels{grid-template-columns:repeat(2,minmax(0,1fr))}
.wheel{height:132px;overflow-y:auto;padding:44px 0;overscroll-behavior:contain;scroll-snap-type:y mandatory;border:1px solid var(--line);border-radius:12px;background:#fff;scrollbar-width:none;text-align:center;user-select:none;-webkit-user-select:none}.wheel::-webkit-scrollbar{display:none}.wheel button{display:block;width:100%;height:44px;min-height:44px;scroll-snap-align:center;border-radius:0;background:transparent;color:#9b8576;font-size:14px}.wheel button.selected{background:#fff0df;color:var(--orange);font-weight:700}
.reminder-editor .actions{margin-top:20px}
@media(max-width:360px){.reminder-card{gap:5px;padding:8px}.reminder-title{font-size:13px}.reminder-badge{font-size:10px;max-width:86px}.reminder-complete{min-width:40px;padding:5px}}
@media(prefers-reduced-motion:reduce){.reminder-stack .reminder-card{transition:none}}

.student-list-page{margin-top:-10px}.student-list-page .heading{gap:12px;margin-bottom:16px}.student-list-page .heading h1{font-size:20px;line-height:1.3;letter-spacing:0}.student-list-page .add-button{min-height:40px;padding:0 13px;border-radius:11px;font-size:12px;white-space:nowrap}
.student-list-page .heading .back{margin:0;white-space:nowrap}.student-list-page .list-add-button{width:100%;margin-bottom:16px}.schedule-page>.reminder-page-header{margin:0 11px 16px}.lb-heading>.back{margin:0;white-space:nowrap;flex:none}
.student-filters{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-bottom:12px}.student-filters select{width:100%;min-width:0;height:44px;padding:0 11px;border:1px solid var(--line);border-radius:12px;background:#fff;color:#5d4637;font-size:13px}

.summary-attendance{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;min-height:84px;width:100%;background:transparent;color:inherit}.summary-attendance small{font-size:10px;color:var(--orange)}
.attendance-tabs{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin:0 0 16px}.attendance-tabs button{background:#fff;border:1px solid var(--line);color:var(--muted);font-size:13px;font-weight:600}.attendance-tabs button[aria-pressed="true"]{background:#a6400d;color:white;border-color:#a6400d}
.attendance-roster{display:grid;gap:11px}.attendance-student,.attendance-day{padding:14px;background:#fff;border:1px solid var(--line);border-radius:15px}.attendance-student-head,.attendance-day-head{display:flex;align-items:baseline;justify-content:space-between;gap:10px}.attendance-student-head strong,.attendance-day-head strong{font-size:15px}.attendance-student-head span,.attendance-day-head span{font-size:11px;color:var(--muted);text-align:right}.attendance-state{margin:9px 0;color:var(--orange);font-size:13px;font-weight:600}.attendance-buttons{display:flex;gap:9px}.attendance-buttons button{width:auto;flex:1;min-height:42px;margin:0;padding:7px 12px}.history-summary{margin:0 0 14px;color:var(--muted);font-size:12px;line-height:1.6}
.attendance-history{margin-top:27px}.attendance-history-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:14px}.attendance-history-head h2{font-size:17px}.attendance-history-head input{min-height:40px;min-width:0;width:145px;padding:5px 7px;border:1px solid var(--line);border-radius:10px;background:#fff;color:inherit;font-size:12px}.attendance-day{margin-bottom:10px}.attendance-day p{font-size:12px;line-height:1.7;margin-top:9px}.attendance-day-slot{border-top:1px solid #f1e3d5;margin-top:9px}.attendance-day-slot small{display:block;color:var(--muted);line-height:1.6;margin:5px 0;font-size:10px}.attendance-day-slot .text-button{margin-top:3px}
.attendance-correction{margin-top:10px;padding:12px;border-radius:12px;background:#fff4e8;border:1px solid #f0cfad}.attendance-correction label{display:block;font-size:12px}.attendance-correction select{display:block;width:100%;height:42px;margin-top:7px;padding:0 9px;border:1px solid var(--line);border-radius:9px;background:#fff}.attendance-correction>div{display:flex;align-items:center;gap:8px;margin-top:10px}.attendance-correction .secondary{width:auto;flex:1;margin:0;min-height:42px;padding:8px;font-size:12px}.attendance-correction .text-button{flex:none}
.attendance-course-picker{display:flex;align-items:center;gap:12px;margin:0 0 12px;font-size:13px;color:var(--muted)}.attendance-course-picker select{width:146px;min-height:42px;padding:7px 10px;border:1px solid var(--line);border-radius:10px;background:#fff;color:#4b2d1e;font-size:13px}
.attendance-date-row{display:flex;align-items:end;justify-content:space-between;gap:12px;margin-bottom:17px}.attendance-date-row label{display:flex;align-items:center;gap:12px;font-size:13px;color:var(--muted)}.attendance-date-row input{min-height:42px;width:148px;padding:6px 9px;border:1px solid var(--line);border-radius:10px;background:#fff;color:#4b2d1e;font-size:13px}
.attendance-more{position:relative;z-index:4}.attendance-more summary{display:grid;place-items:center;width:42px;height:42px;list-style:none;border:1px solid var(--line);border-radius:10px;background:#fff;color:var(--orange);font-size:20px;cursor:pointer}.attendance-more summary::-webkit-details-marker{display:none}.attendance-more summary:focus-visible{outline:3px solid #f59a58}.attendance-more-items{position:absolute;right:0;top:46px;min-width:116px;padding:5px;border:1px solid var(--line);border-radius:10px;background:#fff;box-shadow:0 8px 18px #6d341018}.attendance-more-items button{width:100%;min-height:38px;padding:6px 9px;background:transparent;color:#4b2d1e;text-align:left;font-size:13px}
.attendance-sick-panel{margin:0 0 15px;padding:13px;border:1px solid #eac9ad;border-radius:13px;background:#fff8f1}.attendance-sick-panel[hidden]{display:none}.attendance-sick-panel label{display:block;font-size:12px;color:#6b4d3a}.attendance-sick-panel select{display:block;width:100%;height:42px;margin:7px 0 11px;padding:0 10px;border:1px solid var(--line);border-radius:9px;background:#fff}.attendance-sick-panel>div{display:flex;align-items:center;gap:8px}.attendance-sick-panel .secondary{width:auto;flex:1;margin:0;min-height:40px;padding:7px 10px}.attendance-sick-panel .text-button{flex:none}
.attendance-sick-panel input[type="date"]{display:block;width:100%;height:42px;margin:7px 0 11px;padding:0 10px;border:1px solid var(--line);border-radius:9px;background:#fff}.attendance-sick-panel form>div{display:flex;align-items:center;gap:8px}.attendance-sick-panel form .secondary{width:auto;flex:1;margin:0;min-height:40px;padding:7px 10px}.attendance-sick-panel form .text-button{flex:none}
.attendance-page.is-class-editing .attendance-course-picker,.attendance-page.is-class-editing .attendance-date-row,.attendance-page.is-class-editing #attendance-roster{display:none}.attendance-page.is-class-editing #attendance-class-panel{margin-top:4px}
.attendance-simple-card{padding:13px 14px}.attendance-simple-card small{display:block;margin-top:7px;font-size:11px;color:var(--muted)}.attendance-toggle-row{display:flex;align-items:center;justify-content:space-between;margin-top:9px;font-size:13px;font-weight:600}.attendance-toggle{position:relative;width:58px;height:32px;min-height:32px;padding:0;border-radius:20px;background:#b03935;transition:background .18s ease}.attendance-toggle.is-on{background:#218653}.attendance-toggle-knob{position:absolute;top:4px;left:4px;width:24px;height:24px;border-radius:50%;background:#fff;box-shadow:0 1px 3px #0003;transition:transform .18s ease}.attendance-toggle.is-on .attendance-toggle-knob{transform:translateX(26px)}.attendance-toggle:disabled{opacity:.55;cursor:default}.attendance-toggle:focus-visible{outline:3px solid #f59a58;outline-offset:3px}
@media(prefers-reduced-motion:reduce){.attendance-toggle,.attendance-toggle-knob{transition:none}}
.attendance-settings{margin-top:34px;padding-top:25px;border-top:1px solid var(--line)}.attendance-settings h2{font-size:18px}.attendance-settings .hint{margin:8px 0 20px}.attendance-weekdays{margin-bottom:20px}.attendance-weekdays>div{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}.attendance-weekdays label{display:flex;align-items:center;gap:4px;padding:8px 5px;background:#fff;border:1px solid var(--line);border-radius:9px;font-size:11px}.attendance-weekdays input{width:15px;height:15px;accent-color:var(--orange)}.attendance-settings .primary{width:100%}
@media(max-width:360px){.attendance-weekdays>div{grid-template-columns:repeat(3,minmax(0,1fr))}.attendance-date-row input{width:138px}}

.mine-page{margin-top:-8px}.mine-page>.page-title{margin-bottom:17px}.settings-card{background:#fff;border:1px solid var(--line);border-radius:18px;padding:17px;margin-bottom:13px;box-shadow:0 5px 17px #9d55200b}.settings-kicker{display:block;color:var(--muted);font-size:11px;margin-bottom:5px}.account-card{display:flex;align-items:center;justify-content:space-between;gap:10px}.account-card strong{display:block;font-size:16px}.account-card small,.system-settings small{display:block;font-size:11px;color:var(--muted);margin-top:5px}.account-card .text-button{white-space:nowrap}.mine-page .attendance-settings{margin-top:0;padding-top:17px;border-top:1px solid var(--line)}.settings-card-head h2{font-size:17px}.mine-page .attendance-settings .hint{margin:8px 0 16px}.settings-status{margin:-4px 0 14px;padding:9px 11px;border-radius:9px;background:#fff4e7;color:#965326;font-size:12px}.attendance-weekdays.is-inactive{opacity:.58}.attendance-weekdays.is-inactive legend::after{content:'（设置截止时间后生效）';font-weight:400;color:var(--muted);font-size:11px}.system-settings{padding:0;overflow:hidden}.system-settings summary{list-style:none;display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:74px;padding:16px 17px;cursor:pointer}.system-settings summary::-webkit-details-marker{display:none}.system-settings summary strong{display:block;font-size:16px}.system-settings summary>span:last-child{color:var(--orange);font-size:20px;transition:transform .18s}.system-settings[open] summary>span:last-child{transform:rotate(180deg)}.system-settings summary:focus-visible{outline:3px solid #f59a58;outline-offset:-3px}.system-settings form{padding:15px 17px 20px;border-top:1px solid var(--line)}

.schedule-page{margin:-8px -11px 0}.schedule-page>.page-title{margin:0 11px 16px;font-size:22px}.schedule-week-nav{display:flex;align-items:center;justify-content:space-between;gap:10px;text-align:center;margin-bottom:15px}.schedule-week-nav button{min-width:42px;min-height:42px;background:transparent;color:#573a28;font-size:29px;padding:0}.schedule-week-nav strong{display:block;font-size:17px}.schedule-week-nav small{display:block;margin-top:3px;color:var(--muted);font-size:11px}.schedule-tools{display:flex;align-items:center;justify-content:space-between;gap:5px;margin-bottom:12px}.schedule-tools button{min-height:38px;padding:0 9px;border:1px solid var(--line);background:#fff;border-radius:20px;color:#965326;font-size:12px;white-space:nowrap}.schedule-tools .schedule-add{background:#fff0df;border-color:#fff0df;color:var(--orange);font-weight:700}.schedule-tools .schedule-add:disabled{opacity:.62;cursor:default}.schedule-tools label{display:flex;align-items:center;gap:3px;color:var(--muted);font-size:11px;white-space:nowrap}.schedule-tools input{width:17px;height:17px;margin:0;accent-color:var(--orange)}.schedule-grid{display:grid;grid-template-columns:53px repeat(7,minmax(0,1fr));border-top:1px solid #e8d7c8;border-left:1px solid #e8d7c8;background:#fffaf6}.schedule-corner,.schedule-day,.schedule-time,.schedule-cell{min-width:0;border-right:1px solid #e8d7c8;border-bottom:1px solid #e8d7c8}.schedule-corner,.schedule-day{height:48px}.schedule-day{display:flex;flex-direction:column;align-items:center;justify-content:center;font-size:10px;line-height:1.3;color:#514237}.schedule-day strong{font-size:10px}.schedule-day span{color:var(--muted)}.schedule-day.is-today{background:#fff0df;color:var(--orange)}.schedule-day.is-today span{color:var(--orange)}.schedule-time,.schedule-cell{height:65px}.schedule-time{display:flex;align-items:flex-start;justify-content:center;padding-top:8px;color:#8c8179;font-size:10px;font-variant-numeric:tabular-nums}.schedule-cell{background:#fffaf6}.schedule-legend{margin-top:16px;color:var(--muted);font-size:12px}.schedule-legend summary{cursor:pointer;min-height:36px}.schedule-legend p{line-height:1.7;padding:8px 0 14px}.schedule-legend summary:focus-visible{outline:3px solid #f59a58}@media(max-width:360px){.schedule-page{margin-left:-14px;margin-right:-14px}.schedule-grid{grid-template-columns:45px repeat(7,minmax(0,1fr))}.schedule-tools label{font-size:10px}.schedule-tools button{padding:0 7px;font-size:11px}}

.account-actions{display:flex;flex-direction:column;align-items:flex-end;gap:3px}.account-actions a{display:grid;place-items:center;min-height:36px;padding:4px 9px;background:#fff0df;border-radius:9px;color:var(--orange);font-size:12px;font-weight:700;text-decoration:none}.account-actions a:focus-visible{outline:3px solid #f59a58}.teacher-profile-page .profile-safety{margin:0 0 18px;padding:11px 13px;border:1px solid #edcaa8;border-radius:10px;background:#fff1e3;color:#8c4722;font-size:12px;line-height:1.7}.teacher-profile-page textarea{display:block;width:100%;min-height:80px;padding:12px 13px;resize:vertical;border:1px solid #eed7c3;border-radius:12px;background:#fff;color:#4b2d1e;font:inherit;font-size:13px}.teacher-profile-page textarea:focus-visible{outline:3px solid #f59a58}.profile-photos{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:0 0 22px}.document-upload{display:flex;flex-direction:column;gap:8px;min-width:0;padding:12px;background:#fff;border:1px solid var(--line);border-radius:13px}.document-upload strong{font-size:12px}.document-preview{display:grid;place-items:center;width:100%;height:95px;background:#fff8f0;border:1px dashed #e6c9b1;border-radius:9px;color:var(--muted);font-size:11px;overflow:hidden}.document-preview img{width:100%;height:100%;object-fit:contain}.document-upload input{width:100%;min-width:0;font-size:10px}.document-upload small{color:var(--muted);font-size:10px;line-height:1.5}@media(max-width:360px){.profile-photos{grid-template-columns:1fr}.document-preview{height:130px}}
.quick-links{margin-top:20px}.quick-links h2{font-size:16px;margin:0 0 10px}.quick-links-grid{display:grid;gap:9px}.quick-links-grid.layout-3,.quick-links-grid.layout-6{grid-template-columns:repeat(3,minmax(0,1fr))}.quick-links-grid.layout-4{grid-template-columns:repeat(2,minmax(0,1fr))}.quick-link{display:grid;place-items:center;min-width:0;min-height:68px;padding:8px;text-align:center;text-decoration:none;color:#7d431e;background:#fff;border:1px solid #edcfb5;border-radius:14px;font-size:13px;font-weight:700}.quick-link.is-empty{background:#fff8f1;border-style:dashed}.quick-link:focus-visible{outline:3px solid #f59a58;outline-offset:2px}.quick-settings .hint{margin:8px 0 15px}.quick-layouts{margin-bottom:15px}.quick-layouts>div{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.quick-layouts label{position:relative}.quick-layouts input{position:absolute;opacity:0}.quick-layouts label span{display:grid;place-items:center;min-height:48px;padding:6px 3px;border:1px solid #eed7c3;border-radius:10px;text-align:center;font-size:11px}.quick-layouts input:checked+span{border-color:var(--orange);background:#ffecd9;color:var(--orange);font-weight:700}.quick-layouts input:focus-visible+span{outline:3px solid #f59a58}.quick-position-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-bottom:16px}.quick-position{min-width:0;font-size:12px}.quick-position span{display:block;margin-bottom:5px}.quick-position select{width:100%;height:42px;padding:0 8px;border:1px solid #eed7c3;border-radius:9px;background:#fff;color:#4b2d1e}
.mine-page .attendance-settings.system-settings{padding:0}
.student-detail-header{display:flex;align-items:flex-start;justify-content:space-between;gap:8px;margin:-7px 0 18px}.student-detail-identity{display:flex;align-items:center;gap:10px;min-width:0;flex:1}.student-detail-identity .student-avatar-large{width:58px;height:58px;border-radius:16px;flex:none;font-size:23px}.student-detail-identity>div{min-width:0}.student-detail-identity .page-title{font-size:21px;line-height:1.3;margin:0;overflow-wrap:anywhere}.student-detail-identity .page-sub{font-size:11px;margin:3px 0 0}.student-detail-actions{display:flex;align-items:center;gap:4px;flex:none}.student-detail-actions .back{margin:0;min-height:42px;padding:0 5px;white-space:nowrap}.student-more{position:relative}.student-more>summary{list-style:none;display:grid;place-items:center;width:42px;height:42px;border-radius:11px;color:var(--orange);font-size:26px;font-weight:700;cursor:pointer}.student-more>summary::-webkit-details-marker{display:none}.student-more>summary:focus-visible{outline:3px solid #f59a58}.student-more-menu{position:absolute;right:0;top:45px;z-index:5;min-width:156px;padding:5px;background:#fff;border:1px solid var(--line);border-radius:12px;box-shadow:0 8px 24px #6b3d2226}.student-more-menu button{width:100%;min-height:42px;padding:7px 9px;background:#fff4e8;color:#8c4721;text-align:left;font-size:13px}.student-detail-disable,.student-detail-attendance{padding:15px;margin:0 0 16px;background:#fff;border:1px solid var(--line);border-radius:15px}.student-detail-disable[hidden],.student-detail-attendance[hidden],.student-detail-disable .field[hidden]{display:none}.student-detail-disable h2,.student-detail-attendance h2{font-size:16px}.student-detail-disable .hint,.student-detail-attendance .hint{margin:6px 0 14px}.student-detail-disable .field{margin-bottom:12px}.student-disable-actions{display:flex;align-items:center;gap:8px}.student-disable-actions .secondary{width:auto;min-height:43px;margin:0}.student-disable-actions .text-button{min-height:43px}
.performance-history{margin-top:27px;padding:16px 12px;background:#fff;border:1px solid var(--line);border-radius:19px}.performance-month-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:15px}.performance-month-head h2{font-size:17px;white-space:nowrap}.performance-month-head>div{display:flex;align-items:center;gap:2px}.performance-month-head strong{font-size:13px;white-space:nowrap;padding:8px 3px}.performance-month-head button{width:34px;min-height:36px;background:#fff3e8;color:var(--orange);font-size:24px;border-radius:10px}.performance-month-head button:disabled{opacity:.35;cursor:default}.performance-weekdays,.performance-calendar{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:2px}.performance-weekdays span{text-align:center;color:var(--muted);font-size:11px;padding:3px 0 7px}.performance-day{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:3px;min-width:0;min-height:66px;padding:5px 0;border-radius:11px;background:transparent;color:#4b2d1e}.performance-day>span{font-size:12px;line-height:1.2}.performance-day.is-selected{background:#ffeddf}.performance-day:disabled{opacity:.38;cursor:default}.performance-calendar-empty{min-height:66px}.performance-rings{width:min(100%,42px);height:42px;overflow:visible;fill:none;stroke-width:4}.performance-rings .ring-track{stroke:#e9e5e1}.performance-rings .ring-signin{stroke:#ee792d}.performance-rings .ring-points{stroke:#f27062;stroke-linecap:round}.performance-rings .ring-badge{stroke:#e7b923}.performance-legend{display:grid;gap:7px;margin:12px 2px 0;padding:12px 4px 0;border-top:1px solid #f0e4da}.performance-legend span{display:flex;align-items:center;gap:7px;color:#74584a;font-size:11px;line-height:1.4}.performance-legend i{display:inline-block;width:12px;height:12px;border:3px solid;border-radius:50%;flex:none}.performance-legend .legend-signin{border-color:#ee792d}.performance-legend .legend-points{border-color:#f27062}.performance-legend .legend-badge{border-color:#e7b923}.performance-day-record{margin-top:14px;padding:15px 13px;background:#fffaf6;border:1px solid #f0e1d4;border-radius:15px}.performance-day-record h3{font-size:15px;margin:0}.performance-day-summary{color:var(--muted);font-size:11px;margin:6px 0 12px}.performance-events{list-style:none;margin:0;padding:0}.performance-events li{display:flex;align-items:flex-start;gap:10px;padding:10px 0;border-top:1px solid #f0e5dc}.performance-events time{min-width:55px;color:#8d7060;font-size:11px;line-height:1.5}.performance-events li>div{display:grid;gap:2px;min-width:0}.performance-events strong{font-size:12px;line-height:1.5}.performance-events small{font-size:10px;color:var(--muted);overflow-wrap:anywhere}.performance-events .is-attendance strong{color:#c55f1f}.performance-events .is-points strong{color:#ce6157}.performance-events .is-badge strong{color:#9b761b}.student-detail-attendance #history-results{margin-bottom:10px}.student-detail-attendance .attendance-day{background:#fffaf6}
.strong-task-banner{margin:12px 20px;padding:16px;border:2px solid #bc2d1e;border-radius:16px;background:#fff0ec;color:#8b2118}.strong-task-banner[hidden]{display:none}.strong-task-banner p{margin:8px 0}.strong-task-banner a{font-weight:700;color:#8b2118}.strong-task{border:2px solid #bc2d1e!important;background:#fff0ec!important}.fee-receipt{width:110px;height:110px;object-fit:cover;border-radius:12px;margin:6px}.member-config{margin-top:12px}
.brand-icon,.logo-preview{background:#fff}

.face-consent-row{display:flex;align-items:flex-start;gap:12px;margin:8px 0 12px;font-size:13px;line-height:24px}.face-consent-row label{display:flex;align-items:center;gap:6px;white-space:nowrap}.face-consent-row input{width:16px;height:16px;margin:0;flex:none}.face-consent-row details{min-width:0}.face-consent-row summary{cursor:pointer;color:var(--orange)}.face-consent-row details p{font-size:12px;line-height:1.6;margin:6px 0}

.face-enroll-fixed{height:calc(100dvh - 125px);min-height:300px;display:flex;flex-direction:column;overflow:hidden}.face-enroll-fixed .face-enroll-preview{flex:none;height:clamp(160px,38dvh,300px);aspect-ratio:auto!important}.face-enroll-controls{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding-top:12px;padding-bottom:16px}.face-enroll-controls .lb-heading h1{font-size:20px}.face-enroll-controls .lb-heading{margin-bottom:10px}

.face-enroll-preview{position:relative;isolation:isolate}.face-enroll-preview video,.face-enroll-preview canvas{position:absolute;inset:0;display:block;max-width:100%;max-height:100%;transform-origin:center}.face-enroll-preview [hidden]{display:none!important}.face-enroll-controls{position:relative;z-index:1;background:var(--bg,#fffaf5);flex:1 1 0}.face-enroll-controls .lb-heading{display:flex;align-items:center;gap:8px}.face-enroll-controls .lb-heading h1{flex:1}.face-enroll-controls .lb-heading .student-more{flex:none}

.face-camera-overlay{position:fixed;z-index:40;inset:0 0 calc(70px + env(safe-area-inset-bottom,0px));background:#171717;overflow:hidden}.face-camera-overlay[hidden]{display:none!important}.face-camera-overlay>div:first-child{position:absolute;inset:0;width:100%!important;height:100%!important;aspect-ratio:auto!important;border-radius:0!important}.face-camera-overlay video,.face-camera-overlay canvas{position:absolute;inset:0;width:100%!important;height:100%!important;object-fit:contain!important}.face-camera-overlay [hidden]{display:none!important}.face-camera-close{position:absolute;top:12px;left:12px;z-index:2;width:auto;padding:8px 14px;background:#0008;color:#fff}.face-camera-actions{position:absolute;bottom:0;left:0;right:0;z-index:2;display:grid;grid-template-columns:1fr 1fr;gap:1px;padding:10px 12px;background:#0008}.face-camera-actions button{margin:0;border-radius:0;background:transparent;color:#fff;min-height:50px}.face-camera-actions button:disabled{opacity:.5}

.face-camera-hint{position:absolute;bottom:80px;left:12px;right:12px;z-index:2;background:#0008;color:#fff;padding:8px;font-size:12px;border-radius:8px}

.face-camera-slot{position:absolute;top:12px;right:12px;z-index:2;width:auto;max-width:110px;background:#0008;color:white;border:0;padding:10px;border-radius:8px}.face-camera-overlay #face-result{position:absolute;left:12px;right:12px;bottom:140px;z-index:2}.face-camera-overlay #face-result .settings-card{background:#000b;color:#fff}

.face-camera-close{left:auto;right:12px}.face-camera-slot{top:60px;right:12px}.face-camera-overlay #face-result{top:12px;left:12px;right:100px;bottom:auto;pointer-events:none}.face-success-notice{display:inline-block;max-width:100%;padding:9px 12px;border-radius:10px;background:#ffffffdd;color:#23643d;font-size:14px;line-height:1.5;overflow-wrap:anywhere;box-shadow:0 2px 8px #0002}

.face-camera-overlay #face-result{z-index:5;max-width:calc(100% - 120px)}.face-success-notice{background:#fff;color:#23643d;border:1px solid #d7ebdc;font-weight:600;opacity:1}

.attendance-toggle-row .single-face-entry{flex:1;text-align:center;font-size:13px;padding:8px;margin:0 10px}.attendance-toggle-row .attendance-toggle{flex:none}

.batch-attendance-item{display:flex;align-items:center;gap:12px;margin:10px 0}.batch-attendance-item input{width:20px;height:20px;flex:none}
.wh-toolbar{display:flex;gap:10px;flex-wrap:wrap;margin:18px 0}.wh-toolbar a,.wh-toolbar button{width:auto;flex:1 1 140px;text-align:center}.wh-product{display:flex;gap:16px;text-decoration:none;color:inherit}.wh-thumb{width:72px;height:72px;object-fit:contain;border-radius:12px;background:#fff}.wh-cover{width:100%;height:200px;object-fit:contain;background:white;border-radius:20px}.wh-order-line{display:block;border-bottom:1px solid #eddccc;padding:12px 0;color:inherit;text-decoration:none}.wh-prices{display:grid;grid-template-columns:1fr 1fr;gap:12px}.wh-prices[hidden]{display:none}.wh-choice>label:first-child{display:flex;gap:10px;align-items:center}.wh-choice input[type=checkbox]{width:22px;height:22px;flex-shrink:0}.wh-variant-form{min-width:0}.wh-variant-form legend{font-weight:700}.wh-variant-form input[type=checkbox]{width:auto}
/* Expense cash and cost views keep long labels inside mobile cards. */
.ex-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:14px 0}
.ex-summary .settings-card{padding:12px 8px;margin:0;min-width:0}
.ex-summary strong{display:block;font-size:18px;overflow-wrap:anywhere;margin-top:7px}
.ex-row{display:block;overflow-wrap:anywhere}
.ex-line,.ex-allocation p{display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap}
.ex-allocation{padding:12px;background:#fff5e8;border-radius:14px;margin:10px 0}
.ex-grant label{display:block;margin:14px 0}
.ex-paid{border-color:#a3c9ad}

.ex-table-wrap{overflow-x:auto}.ex-month-table{width:100%;border-collapse:collapse}.ex-month-table td,.ex-month-table th{padding:10px 5px;text-align:left;border-bottom:1px solid #eaded2}.ex-month-table small{display:block}

dialog.settings-card{width:min(92vw,500px);max-height:85dvh;overflow:auto;border:1px solid #eaded2;border-radius:20px}dialog::backdrop{background:rgba(35,25,15,.45)}.settings-card textarea{box-sizing:border-box;width:100%;max-width:100%;padding:12px;border:1px solid #eaded2;border-radius:12px;font:inherit}.fx-grant label{display:block;margin:14px 0}

.people-tabs,.people-counts{display:flex;gap:12px;margin:12px 0}.people-tabs>a{flex:1;text-align:center}.people-counts>a{flex:1;text-align:center}.people-counts strong{display:block;color:#b84c08}.people-student{display:block;color:inherit;text-decoration:none}.people-count-row{display:flex;justify-content:space-between;padding:16px 0;border-bottom:1px solid #eadbce}.people-compare{width:100%;table-layout:fixed;border-collapse:collapse}.people-compare td,.people-compare th{padding:10px 4px;word-break:break-word;border-bottom:1px solid #eadbce}.people-course{padding:12px 0;border-top:1px solid #eadbce}
.connection-search{margin:16px 0}.connection-search .field{margin:0}.connection-search-actions{display:flex;align-items:center;gap:8px;margin-top:8px}.connection-search-actions .secondary{margin:0;flex:1}.connection-search-actions .text-button{flex:none;min-height:44px}.connection-option{flex-direction:column;gap:4px;text-align:center;overflow-wrap:anywhere}.connection-option small{font-weight:400;font-size:12px;color:var(--muted)}.connection-local-error{margin:12px 0;padding:10px 12px;border-radius:10px;background:#fff2f1;color:#932d28;font-size:13px;line-height:1.6;overflow-wrap:anywhere}.connection-local-error[hidden]{display:none}.people-service-status{font-size:13px;line-height:1.8;margin:10px 0 16px;overflow-wrap:anywhere}.people-service-card>.hint{margin-bottom:14px}
#people-links .field>span{display:flex;align-items:center;gap:10px;margin:0}#people-links input[type=checkbox]{width:20px;height:20px;flex:none;padding:0}

.people-count-row,.people-counts a,.people-teacher a{color:inherit;text-decoration:none}.people-count-row strong{color:#a64008}.people-tabs a{text-decoration:none}

.campus-home-label{display:flex;justify-content:flex-end;margin-bottom:12px;color:#92745f}.campus-overlay{position:fixed;inset:0;background:#0008;z-index:120;display:flex;align-items:center;justify-content:center;padding:20px}.campus-overlay>section{width:100%;max-width:440px;max-height:85vh;overflow:auto}

.bill-course-mode-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px}

.bill-price-card{padding:18px;background:#fcf7ef;border-radius:14px;margin-bottom:20px}.bill-price-card h3{margin:0 0 16px;font-size:20px}.bill-price-columns{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px}.bill-price-columns span{display:block;color:var(--muted);font-size:13px;margin-bottom:8px}.bill-price-columns strong{display:block;font-size:22px;overflow-wrap:anywhere}.bill-price-columns>div+div{border-left:1px solid var(--line);padding-left:16px}.bill-price-columns>div+div strong{color:var(--orange)}.bill-payment-row{display:grid;grid-template-columns:minmax(0,1fr) 90px;gap:12px;align-items:end}.bill-payment-row .field{margin-bottom:0}.bill-payment-row .primary{margin:0;min-height:49px;width:100%}
.bill-payment-row .primary{height:49px;padding:0 12px}

.help-search-entry{display:block;border:1px solid var(--line);background:#fff;border-radius:14px;padding:15px;margin:0 0 18px;color:var(--muted);text-decoration:none}.help-result h2{font-size:17px;margin-bottom:8px}.help-actions{display:flex;gap:14px;align-items:center}.help-actions .secondary{width:auto}.help-steps{padding-left:24px;line-height:1.8}.help-steps li{margin-bottom:14px}.help-image{display:block;width:100%;height:auto;border:1px solid var(--line);border-radius:10px}figure{margin:18px 0}figcaption{font-size:12px;color:var(--muted);margin-top:8px}

/* V0.1.71: shared visual refresh; business-specific state classes remain intact. */
:root{--orange:#b94a0a;--ink:#242321;--muted:#6f6b65;--line:#e6e2dd;--surface:#fff;--canvas:#f5f3ef;--danger:#bd302c;--success:#287849}
body{background:var(--canvas);color:var(--ink)}.phone-shell{background:var(--canvas);border-color:var(--line);padding-bottom:calc(84px + env(safe-area-inset-bottom,0px))}.brand{background:#fff;border-bottom:1px solid var(--line);padding:18px 20px}.brand-copy strong{color:var(--ink)}.brand-copy span{color:var(--muted)}.brand-icon{border-radius:12px}.version{color:var(--muted);border-color:var(--line);background:#fff}main{padding:22px 18px 28px}h1,h2,h3,.page-title,.student-name{color:var(--ink)}.page-title{font-size:23px;line-height:1.35}.heading h1{font-size:24px}
button,a,input,select,summary{-webkit-tap-highlight-color:transparent}button:not(:disabled),a,summary{touch-action:manipulation}button:not(:disabled):active,.quick-link:active,.student-card:active{transform:scale(.985)}button:disabled{cursor:default}button:focus-visible,a:focus-visible,summary:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #e2a472;outline-offset:3px}
.primary,.add-button{background:var(--orange);color:white;border-radius:12px;box-shadow:none}.secondary{background:#fff;border:1px solid var(--line);color:var(--orange);border-radius:12px}.back,.text-button{color:var(--orange)}.field input,.field select,.field textarea,.search,.student-filters select{border-color:var(--line);background:#fff;border-radius:12px;color:var(--ink)}.field>span{color:var(--ink);font-weight:600}.hint,.meta{color:var(--muted)}.detail-card,.settings-card,.student-card,.attendance-student,.attendance-day,.points-entry,.performance-history,.entry-card{border-color:var(--line);background:#fff;border-radius:14px;box-shadow:0 2px 10px #24232103}.detail-row,.attendance-day-slot{border-color:var(--line)}.settings-card{margin-top:14px}.points-entry{background:#fff}.student-card{padding:16px;min-height:90px}.tag{background:#f6eee6;color:#844019}.student-more-menu,.attendance-more-items,.reminder-menu-items{border-color:var(--line);border-radius:12px;box-shadow:0 8px 24px #24232117;background:#fff}.student-more-menu button,.attendance-more-items button{color:var(--ink);min-height:44px}.student-detail-header{align-items:flex-start}.student-detail-identity{min-width:0}.student-detail-identity .page-title{font-size:23px;overflow-wrap:anywhere}.student-detail-actions{flex-shrink:0}.performance-calendar{gap:5px}.performance-day{border-radius:10px}.performance-day.is-selected{border-color:var(--orange);background:#fff7f1}.performance-day-record,.attendance-correction{border-color:var(--line);background:#fff}.ring-signin{stroke:#287849}.ring-points{stroke:#d5671e}.ring-badge{stroke:#d59b27}.ring-track{stroke:#e2e4e7}
.bottom-nav{height:auto;align-items:center;background:#fff;border-top:1px solid var(--line);box-shadow:0 -3px 15px #24232104;padding:6px 8px calc(6px + env(safe-area-inset-bottom,0px))}.bottom-nav a,.bottom-nav a[aria-current="page"]{height:56px;min-height:56px;transform:none;box-shadow:none;background:transparent;border-radius:10px;color:var(--muted);flex-direction:column;gap:4px;font-size:12px;line-height:1.3}.bottom-nav a[aria-current="page"]{color:var(--orange);background:#fff7f1}.nav-icon{width:22px;height:22px;stroke:currentColor;stroke-width:1.8;fill:none;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}
.reminders{background:#fff;border:1px solid var(--line);border-radius:14px;padding:16px}.reminder-heading{margin-bottom:13px;gap:10px}.reminder-heading h1{font-size:23px;display:flex;align-items:center;gap:9px;margin-right:auto}.todo-count{display:inline-grid;place-items:center;min-width:26px;height:26px;padding:0 6px;border-radius:50px;background:var(--danger);color:#fff;font-size:13px}.todo-all{color:var(--muted);font-size:12px;text-decoration:none;white-space:nowrap}.reminder-menu summary{width:32px}.todo-list.reminder-scroll{display:grid;gap:10px;height:auto;max-height:470px;overflow:auto;overscroll-behavior:auto;padding:0;scrollbar-width:thin}.todo-list .reminder-card{position:relative!important;display:flex;flex-wrap:wrap;align-items:center;gap:8px;width:100%;height:auto;min-height:76px;padding:13px;border:1px solid var(--line);border-radius:11px;transform:none!important;opacity:1!important;pointer-events:auto!important;box-shadow:none}.todo-list .reminder-title{flex:1 1 100%;white-space:normal;overflow-wrap:anywhere;color:var(--ink);font-size:14px;line-height:1.6;max-height:none;overflow:visible;text-overflow:clip}.todo-list .reminder-title::after{display:none}.todo-list .reminder-badge{position:static!important;font-size:11px;max-width:none;padding:3px 7px}.todo-list .reminder-complete{position:static!important;margin:0 0 0 auto;min-height:36px;padding:7px 10px;width:auto;border-radius:8px;font-size:12px;background:#fff;color:var(--orange);border:1px solid var(--line)}.todo-list .strong-task,.todo-list .attendance-alert{background:#fff2f1;border-color:#edc5c2;border-left:4px solid var(--danger)}.todo-list .strong-task .reminder-title,.todo-list .attendance-alert .reminder-title{color:#932d28}.todo-list .direct-sign,.todo-list [data-alert-sign]{background:var(--danger);color:#fff;border-color:var(--danger)}.todo-list .overdue{color:#932d28}.todo-list .reminder-empty{font-size:13px;padding:16px 2px;color:var(--muted)}
.quick-link{background:#fff;color:var(--ink);border:1px solid var(--line);border-radius:12px;min-height:76px;font-weight:600;gap:8px}.quick-icon{font-size:22px;font-weight:400;color:var(--orange)}.quick-links h2{font-size:20px}.student-summary-card{background:#fff;border-color:var(--line);border-radius:14px}.campus-home-label{margin:0 0 14px;text-align:right;color:var(--muted)}.campus-home-label small{font-size:12px}
#notice{background:#eaf4ee;color:#24603b;border:1px solid #cbe2d4;margin:14px 18px 0}#notice.error{background:#fff2f1;color:#932d28;border-color:#edc5c2}.account-card{background:#fff}.account-card strong{color:var(--ink)}.points-settings-link{color:var(--ink)}.schedule-week-nav{background:#fff;border:1px solid var(--line);border-radius:12px;padding:12px}.schedule-day.is-today{background:#fff0e3;color:var(--orange)}.schedule-grid{border-color:var(--line);background:white;border-radius:12px}.schedule-cell,.schedule-day,.schedule-time{border-color:var(--line)}.attendance-course-picker select,.attendance-date-row input{color:var(--ink);border-color:var(--line)}.attendance-tabs button[aria-pressed=true]{background:var(--orange);border-color:var(--orange)}.attendance-toggle.is-on{background:var(--success)}.attendance-toggle.is-off{background:var(--danger)}.attendance-simple-card .attendance-toggle-row{gap:10px}.attendance-toggle-row .single-face-entry{margin-left:auto;white-space:nowrap;border:1px solid var(--line);border-radius:8px;padding:8px}.attendance-simple-card .attendance-toggle-row>span{font-size:13px;color:var(--muted)}.bill-price-columns{background:#f7f6f3;border-radius:12px}.bill-price-columns strong{color:var(--orange)}
.checkin-dialog{position:fixed;inset:auto 0 0;max-width:440px;width:calc(100% - 20px);max-height:85dvh;margin:0 auto 10px;padding:22px;border:1px solid var(--line);border-radius:20px;background:#fff;color:var(--ink);box-shadow:0 -6px 30px #24232120;overflow:auto;animation:checkin-enter .18s ease-out}.checkin-dialog::backdrop{background:#24232166}.dialog-heading{display:flex;align-items:center;justify-content:space-between;gap:10px}.dialog-heading h2{font-size:22px}.dialog-heading button{font-size:24px}.checkin-student{font-size:18px;font-weight:700;margin:18px 0 6px}.checkin-dialog form>p{line-height:1.6}.checkin-dialog .field{margin-top:20px}.dialog-actions{display:flex;gap:12px;margin-top:22px}.dialog-actions button{flex:1;margin:0;min-height:46px}.dialog-error{background:#fff2f1;color:#932d28;padding:10px;border-radius:10px}.dialog-error[hidden]{display:none}@keyframes checkin-enter{from{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:360px){main{padding:18px 12px}.reminders{padding:12px}.todo-all{font-size:11px}.student-detail-actions{gap:5px}.page-title,.student-detail-identity .page-title{font-size:20px}.bill-price-columns strong{font-size:20px}.reminder-page-header{gap:8px}.back{font-size:12px}}
@media(prefers-reduced-motion:reduce){.checkin-dialog,button,a,.bottom-nav a{animation:none!important;transition:none!important}}
.attendance-state-label{font-size:12px;white-space:nowrap;color:var(--ink)}.single-face-entry{font-size:12px}.reminder-page-header{align-items:center}.account-card,.settings-card.account-card{background:#fff;border-color:var(--line)}
body{font-family:system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI','Microsoft YaHei',sans-serif}.performance-rings .ring-signin{stroke:#287849}.performance-rings .ring-points{stroke:#d5671e}.performance-rings .ring-badge{stroke:#d59b27}.performance-rings .ring-track{stroke:#e2e4e7}.performance-legend .legend-signin{border-color:#287849}.performance-legend .legend-points{border-color:#d5671e}.performance-legend .legend-badge{border-color:#d59b27}.points-entry{background:#fff;border-color:var(--line)}.student-detail-attendance{background:#fff;border:1px solid var(--line);border-radius:14px;padding:16px;margin-top:14px}.attendance-day{background:#fff}.attendance-day-slot p{font-size:13px}.quick-links-grid{gap:12px}.performance-legend{border-color:var(--line)}
main a:not(.primary):not(.secondary):not(.quick-link){color:var(--orange)}.account-actions{flex-wrap:wrap}.reminder-heading h1{white-space:nowrap}.performance-legend .legend-signin{border-color:#287849}
.attendance-submit-state{font-size:13px;line-height:1.6;color:var(--ink);margin:8px 0 12px;padding:10px 12px;background:#fff;border-radius:10px;border:1px solid var(--line)}button.attendance-toggle:disabled{opacity:1;cursor:default}

/* V0.1.75: approved card layouts, on the existing functional DOM and routes. */
:root{--orange:#e65309;--ink:#171c26;--muted:#777f8d;--line:#e8ebef;--paper:#f5f7f9;--danger:#d92630;--success:#27a75b;color:var(--ink);background:#edf0f4}
body{color:var(--ink);letter-spacing:0}
.phone-shell{position:relative;background:var(--paper);box-shadow:0 10px 60px #24314b12}
main{padding:18px 16px 24px}
.ui-icon{width:24px;height:24px;flex:none;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;vertical-align:middle}
.phone-shell[data-primary-page="true"] .brand{display:flex}
.brand{border:0;padding:22px 16px 16px;gap:9px;min-height:72px;align-items:center}
.brand-icon{width:30px;height:30px;border-radius:8px;background:white;flex:none}
.brand-icon:empty{display:none}
.brand strong{font-size:24px;line-height:1.2;letter-spacing:0;color:var(--orange)}
.brand .version{display:none}
.brand #brand-subtitle{display:block;margin-top:6px;font-size:12px;line-height:1.6;color:var(--muted);overflow-wrap:anywhere}
.phone-shell[data-home-page="true"] .brand-copy{max-width:calc(100% - 125px)}
.campus-home-label{position:absolute;right:16px;top:23px;margin:0;padding:0;color:var(--ink);font-size:12px}
.campus-home-label small,.campus-home-label .text-button{font-size:12px;color:var(--ink);font-weight:500;min-height:30px}
.page-title,.heading h1{font-size:22px;line-height:1.4;color:var(--ink);margin:0;letter-spacing:0}
h2{font-size:18px;line-height:1.45;color:var(--ink)}
.heading,.reminder-page-header{margin-bottom:16px;gap:12px;align-items:center}
.reminder-page-header .page-title{min-width:0;overflow-wrap:anywhere}
.back{flex:none;font-size:12px;line-height:1.4;margin:0;min-height:36px}
.primary,.add-button{background:var(--orange);border-radius:10px;color:#fff;box-shadow:none;font-weight:600}
.secondary{background:#fff;color:var(--orange);border:1px solid #ef986d;border-radius:10px;box-shadow:none}
.field input,.field select,.field textarea{color:var(--ink);border:1px solid #dfe4ea;background:#fff;border-radius:10px;font-size:14px}
.field input::placeholder{color:#949caa}
.settings-card,.detail-card,.performance-history,.student-profile-card,.reminders{background:white;border:1px solid var(--line);border-radius:14px;box-shadow:0 3px 16px #24314b05}
.settings-card{padding:16px;margin-bottom:14px;color:var(--ink)}
.hint{color:var(--muted);font-size:12px}
.app-build{color:var(--muted);font-size:11px;text-align:center;padding:8px 0 2px}
.bottom-nav{padding:7px 8px calc(7px + env(safe-area-inset-bottom,0px));border-color:var(--line);box-shadow:0 -3px 18px #24314b06;background:#fff}
.bottom-nav a,.bottom-nav a[aria-current="page"]{height:50px;min-height:50px;display:flex;flex-direction:column;gap:3px;background:transparent;transform:none;box-shadow:none;font-size:12px;font-weight:500;color:#838a96}
.bottom-nav a[aria-current="page"]{color:var(--orange);font-weight:600}
.bottom-nav a[aria-current="page"] .nav-icon{fill:currentColor;stroke:currentColor}
.bottom-nav a[data-page="daily"][aria-current="page"] .nav-icon{fill:#fff6ef;stroke:var(--orange)}
.nav-icon{height:24px;width:24px;stroke-width:1.8}
button:focus-visible,a:focus-visible{outline:3px solid #ec9c6f;outline-offset:3px}
button:active:not(:disabled),.quick-link:active,.student-card:active{filter:brightness(.96)}

/* Folding never hides the total or the count of strong reminders. */
.reminders{padding:15px;margin-top:0}
.reminder-heading{display:flex;align-items:center;gap:8px;flex-wrap:nowrap;margin-bottom:12px}
.reminder-heading h1{display:flex;align-items:center;gap:9px;font-size:24px;line-height:1.3;margin:0}
.todo-count{height:29px;min-width:29px;padding:0 7px;display:inline-grid;place-items:center;border-radius:50%;color:white;background:var(--danger);font-size:16px}
main .todo-all{color:#586272!important;font-size:12px;white-space:nowrap;margin-left:auto}
.reminder-menu{margin:0;position:relative}
.reminder-menu summary{font-size:23px;line-height:1;min-width:25px;padding:3px;color:#656e7c}
.todo-strong-count{display:inline-block;background:#fff0f1;color:#bd1c29;border-radius:6px;font-weight:600;font-size:12px;padding:4px 8px;margin:0 0 10px}
.todo-strong-count[hidden],#todo-expand[hidden]{display:none}
.todo-list.reminder-scroll{display:grid;gap:10px;max-height:none;overflow:visible;margin:0;padding:0}
.todo-list .reminder-card{position:relative;display:flex;flex-wrap:wrap;align-items:center;gap:8px;min-height:80px;margin:0;padding:13px;background:white;border:1px solid var(--line);border-radius:10px}
.todo-list .reminder-title{flex:1 1 100%;min-width:0;padding:0;font-size:14px;line-height:1.6;text-align:left;color:var(--ink);white-space:normal;overflow-wrap:anywhere;max-height:none;background:none}
.todo-list button.reminder-title{min-height:0}
.todo-list .reminder-badge{font-size:11px;border-radius:6px;background:#f2f4f7;color:#626c7a;padding:4px 6px;line-height:1.2;margin:0;min-height:0}
.todo-list .reminder-complete{font-size:12px;font-weight:600;margin:0 0 0 auto;border:1px solid #ed976d;padding:8px 12px;border-radius:8px;min-height:36px;color:var(--orange)!important;background:white;line-height:1.3;text-decoration:none}
.todo-list .strong-task,.todo-list .attendance-alert{background:#fff4f4!important;border:1px solid #f4dcde!important;border-left:4px solid var(--danger)!important}
.todo-alert-title{display:flex;align-items:center;gap:7px;flex:1 1 100%;color:var(--danger);font-size:14px;font-weight:700;line-height:1.5;padding-right:62px}
.todo-alert-title .ui-icon{width:20px;height:20px}
.todo-list .strong-task .reminder-badge,.todo-list .attendance-alert .reminder-badge{position:absolute!important;top:14px;right:12px;background:var(--danger);color:#fff;font-size:10px}
.todo-list .strong-task .reminder-complete,.todo-list .attendance-alert .reminder-complete{background:var(--danger);border-color:var(--danger);color:#fff!important}
#todo-expand{display:block;width:100%;margin-top:12px;min-height:38px;background:#f8f9fb;border-radius:8px;color:#586272;font-size:13px;border:1px solid var(--line)}
.student-summary{margin:14px 0 20px}
.student-summary-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}
.course-stat{min-width:0;width:100%;padding:13px 5px 11px;background:white;border:1px solid var(--line);border-radius:12px;box-shadow:0 3px 16px #24314b05;display:flex;flex-direction:column;align-items:center;color:var(--ink);gap:7px}
.course-stat-title{display:flex;align-items:center;justify-content:center;gap:6px;font-size:14px;font-weight:500;line-height:1.4}
.course-stat-title .ui-icon{width:24px;height:24px}
.course-stat.is-sun .ui-icon{stroke:#f59a11;fill:#ffbf41}
.course-stat.is-moon .ui-icon{stroke:#8d81ea;fill:#a298ff}
.course-stat.is-students .ui-icon{stroke:#41b36b;fill:#a2eac0}
.course-stat .summary-count{font-size:25px;font-weight:700;line-height:1.2;color:var(--ink)}
.course-stat .summary-count span{font-size:20px;color:var(--ink)}
.course-stat small{font-size:10px;color:var(--muted);font-weight:400}
.quick-links{margin-top:0}.quick-links h2{font-size:22px;margin-bottom:12px}
.quick-links-grid{gap:10px}.quick-link{display:flex;align-items:center;justify-content:center;flex-direction:row;gap:13px;min-height:80px;padding:14px 10px;background:white;color:var(--ink);border:1px solid var(--line);border-radius:12px;box-shadow:0 3px 16px #24314b05;font-size:15px;font-weight:600;text-decoration:none;min-width:0}
.quick-icon{color:var(--ink);line-height:1;font-size:0}.quick-icon .ui-icon{height:30px;width:30px;stroke-width:1.8}
.quick-links-grid.layout-3 .quick-link,.quick-links-grid.layout-6 .quick-link{flex-direction:column;gap:8px;font-size:13px}

/* Lists and archives reuse the actual avatars and records. */
.student-list-page .heading{margin-bottom:14px}.add-button{min-height:38px;font-size:12px;padding:8px 12px}
.student-list-page .search{margin:12px 0}.search input{height:44px;background:#f0f2f5;border:1px solid var(--line);border-radius:10px;color:var(--ink);font-size:14px}
.search label{top:11px;left:13px;font-size:0}.search .ui-icon{height:20px;width:20px;color:#8d96a4}
.student-filters{display:block;margin:12px 0 16px}.student-filters select{width:100%;height:42px;border-color:var(--line);border-radius:9px;color:var(--ink);background:#fff}
.course-filter-tabs{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}
.course-filter-tabs button{min-height:36px;border:1px solid #dfe4ea;border-radius:9px;background:white;font-size:13px;color:#667181}
.course-filter-tabs button[aria-pressed="true"]{color:var(--orange);border-color:var(--orange);background:#fff4ec;font-weight:600}
.student-card{border:1px solid var(--line);border-radius:12px;padding:15px 13px;box-shadow:0 3px 16px #24314b05;min-height:88px}
.avatar{height:48px;width:48px;border-radius:50%;background:#fce9dc;color:#b6521c;overflow:hidden;font-weight:600}
.avatar img{height:100%;width:100%;object-fit:cover}.student-name{font-size:17px}.student-sub{font-size:12px;margin-top:3px;gap:8px}
.tag{padding:0;background:transparent;color:#737e8d;font-size:12px}.chevron{color:#9aa2af}
.people-tabs{gap:8px;margin:0 0 12px}.people-tabs .secondary{min-height:34px;font-size:12px;padding:7px 10px;margin:0}
.student-detail-header{display:flex;align-items:center;gap:10px;justify-content:space-between;margin-bottom:16px}
.student-detail-header>.page-title{font-size:19px;line-height:1.4;min-width:0;overflow-wrap:anywhere;margin:0;flex:1}
.student-detail-actions{display:flex;align-items:center;gap:10px;flex:none}.student-more summary{color:var(--ink);font-size:24px;min-height:34px;padding:2px 5px}
.student-more-menu{border-color:var(--line);box-shadow:0 8px 28px #24314b22;color:var(--ink);z-index:25}
.student-profile-card{display:flex;align-items:flex-start;gap:13px;padding:18px 14px;margin-bottom:14px}
.student-avatar{flex:none;padding-top:3px}.student-avatar .avatar{width:68px;height:68px;font-size:26px}
.student-profile-info{flex:1;min-width:0}.student-profile-info h2{font-size:22px;margin-bottom:8px}
.student-profile-info .detail-card{border:0;border-radius:0;padding:0;margin:0;box-shadow:none}
.student-profile-info .detail-row{grid-template-columns:91px minmax(0,1fr);gap:7px;padding:4px 0;border:0;font-size:13px;line-height:1.6}
.student-profile-info .detail-row dt{font-size:12px;white-space:nowrap}.student-profile-info .detail-row dd{color:var(--ink)}
#student-teachers h2{font-size:16px;margin-bottom:8px}#student-teachers p{padding:7px 0;border-bottom:1px solid #f0f2f6;color:var(--ink);font-size:14px}#student-teachers a{display:block;padding-top:10px;font-size:12px}
.points-entry{display:flex;align-items:center;gap:12px;padding:16px 14px;border:1px solid var(--line);border-radius:13px;margin:0 0 14px}
.points-entry>div{flex:1}.points-entry>div>span{font-size:12px;color:var(--muted)}.points-entry strong{font-size:28px;color:var(--orange);line-height:1.3}
.points-coin{width:45px;height:45px;border-radius:50%;display:grid;place-items:center;background:#ffcc72;color:#dd810e;border:5px solid #ffe1a7}.points-coin .ui-icon{fill:#fff1c1;stroke:#dd810e}
.points-entry .secondary{width:auto;min-height:37px;padding:8px 11px;margin:0;font-size:12px;flex:none}
.performance-history{padding:15px;margin:0 0 14px}.performance-month-head{gap:8px;align-items:center;margin-bottom:14px}
.performance-month-head h2{font-size:17px}.performance-month-head>div{gap:8px;align-items:center}.performance-month-head strong{font-size:13px;white-space:nowrap;color:var(--ink)}
.performance-month-head button{min-height:32px;min-width:27px;border:0;background:transparent;font-size:24px;color:#84909e;padding:0}
.performance-weekdays{color:#8590a0;font-size:12px;margin-bottom:7px}.performance-calendar{gap:5px}
.performance-day,.performance-calendar-empty{border:1px solid transparent;background:#f1f4f7;border-radius:8px;min-height:54px;padding:3px 1px;gap:0}
.performance-day>span{font-size:11px;font-weight:500}.performance-day.is-selected{border:1px solid var(--orange);background:#fff9f5;box-shadow:none;color:var(--orange)}
.performance-day:disabled{opacity:1;cursor:default}.performance-rings{height:33px;width:33px}.performance-rings .ring-signin{stroke:#28bb49}.performance-rings .ring-points{stroke:#ff8a10}.performance-rings .ring-badge{stroke:#f5b130}.performance-rings .ring-track{stroke:#d4dbe3}
.performance-legend{display:flex;justify-content:center;gap:15px;padding:13px 0 0;margin-top:10px;border:0;font-size:11px;color:var(--muted)}
.performance-legend .legend-signin{border-color:#28bb49}.performance-legend .legend-points{border-color:#ff8a10}.performance-legend .legend-badge{border-color:#f5b130}
.performance-day-record{margin:16px -15px -15px;padding:15px;background:#fff;border-top:1px solid var(--line);border-radius:0 0 14px 14px}
.performance-day-record h3{font-size:16px;margin:0 0 12px}.performance-day-summary{display:flex;flex-wrap:wrap;gap:10px;font-size:11px;color:#737f90;margin:0 0 12px;padding-bottom:12px;border-bottom:1px solid var(--line)}
.performance-day-summary>span{display:flex;align-items:center;gap:4px}.performance-day-summary .ui-icon{width:20px;height:20px;color:var(--orange)}.performance-day-summary .day-signin .ui-icon{color:var(--success)}.performance-day-summary b{color:var(--orange);font-size:14px}
.performance-events{padding:0;margin:0;list-style:none}.performance-events li{display:flex;align-items:center;gap:12px;padding:10px 0;border:0}.performance-events time{color:#8290a2;font-size:12px;min-width:44px}.performance-events strong{font-size:13px}.performance-events small{font-size:11px;color:var(--muted)}
.student-detail-attendance{margin:0 0 14px;border-radius:14px;padding:15px}.student-detail-attendance h2{font-size:17px}.attendance-day{padding:0;border-color:var(--line)}.attendance-day-slot{background:#f9fafc;border-radius:8px;padding:10px;margin-top:8px}.attendance-day-head{font-size:12px}.attendance-day-slot p{font-size:13px;line-height:1.7}.attendance-day-slot small{color:var(--muted);font-size:11px}.attendance-day-slot button{border:1px solid #ef986d;color:var(--orange);border-radius:8px;min-height:34px;padding:6px 10px;margin-top:8px}
.meta{font-size:10px;line-height:1.8;margin:5px 2px;color:#8792a2}

/* Current and cutoff counts retain their different meanings. */
.attendance-course-picker{margin:0 0 12px;padding:0;border:0;display:flex;align-items:center;gap:10px;justify-content:flex-end}.attendance-course-picker select{width:auto;min-width:138px;border-radius:9px;background:#fff;height:38px;font-size:13px}
.attendance-date-row{gap:10px;margin:0 0 12px}.attendance-date-row input{height:38px;font-size:13px;border-radius:9px;background:#fff}.attendance-date-row label{align-items:center;gap:8px}
.attendance-overview{background:#fff;border:1px solid var(--line);border-radius:12px;padding:14px 16px;margin:12px 0}
.attendance-metrics{display:grid;grid-template-columns:repeat(3,1fr);text-align:center}.attendance-metric{border-right:1px solid var(--line)}.attendance-metric:last-child{border:0}.attendance-metric span{display:block;font-size:12px;color:var(--muted)}.attendance-metric strong{display:block;font-size:27px;margin-top:5px}
.success-text{color:var(--success)}.danger-text{color:var(--danger)}.attendance-progress{height:5px;border-radius:5px;background:#f0f2f5;margin-top:16px;overflow:hidden}.attendance-progress>span{height:100%;background:var(--orange);display:block;border-radius:5px;min-width:0}
.history-summary{font-size:12px;color:#788596;line-height:1.7}.attendance-submit-state{font-size:12px;background:#fff8f1;border-color:#f6dfcc;line-height:1.6;margin:8px 0 12px}
.attendance-roster{gap:0;border:1px solid var(--line);border-radius:12px;background:#fff;overflow:hidden}
.attendance-simple-card{display:grid;grid-template-columns:38px minmax(0,1fr);column-gap:10px;padding:14px 12px;border:0;border-bottom:1px solid var(--line);border-radius:0;margin:0;box-shadow:none;background:#fff}
.attendance-simple-card:last-child{border-bottom:0}.attendance-avatar{grid-column:1;grid-row:1 / span 2}.attendance-avatar .avatar{width:38px;height:38px;font-size:16px}
.attendance-simple-card>.attendance-correction{grid-column:1 / -1;min-width:0;width:auto}.attendance-simple-card>.attendance-correction .secondary{min-width:0}.attendance-simple-card>.attendance-correction .text-button{white-space:nowrap}
.attendance-student-head{grid-column:2;display:flex;align-items:baseline;gap:6px;flex-wrap:wrap}.attendance-student-head strong{font-size:15px}.attendance-student-head>span{font-size:11px;color:var(--muted)}
.attendance-simple-card .attendance-toggle-row{grid-column:2;display:flex;align-items:center;gap:9px;margin:7px 0 0}.attendance-simple-card .attendance-toggle-row>span:first-child{display:none}
.attendance-simple-card .single-face-entry{margin:0 auto 0 0;min-height:31px;padding:5px 7px;font-size:11px;background:#fff4ec;border:1px solid #f6d8c3;border-radius:7px;color:var(--orange)}
.attendance-simple-card .attendance-toggle{flex:none;width:48px;height:28px;min-height:28px;border-radius:20px;padding:3px;box-shadow:none}.attendance-toggle .attendance-toggle-knob{height:22px;width:22px}.attendance-toggle.is-on .attendance-toggle-knob{transform:translateX(20px)}
.attendance-simple-card>small,.attendance-simple-card>.hint,.attendance-simple-card>.text-button{grid-column:2;color:var(--muted);font-size:11px;line-height:1.6;margin-top:5px}.attendance-simple-card>.text-button{justify-self:start;color:var(--orange)}
.attendance-shortcuts{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:16px}.attendance-shortcuts a{display:flex;flex-direction:column;gap:8px;align-items:center;padding:13px 3px;border-radius:10px;background:#fff;border:1px solid var(--line);font-size:12px;color:var(--ink)!important;text-decoration:none}
.attendance-shortcuts .ui-icon{width:26px;height:26px}

/* One grouped panel, with all existing role checks and form nodes retained. */
.mine-page>.page-title{font-size:19px;margin-bottom:12px}.account-card{display:flex;align-items:center;flex-wrap:wrap;gap:12px;padding:16px;background:#fff;border-radius:14px}
.account-avatar{width:48px;height:48px;border-radius:50%;display:grid;place-items:center;background:#fff0e5;color:var(--orange);flex:none}.account-avatar .ui-icon{height:31px;width:31px}
.account-identity{flex:1}.account-identity strong{font-size:20px;display:block;color:var(--ink)}.account-identity small{font-size:12px;display:block;margin-top:3px;color:var(--muted)}
.account-card .account-actions{display:flex;flex-direction:row;justify-content:flex-end;gap:4px;width:100%;border-top:1px solid var(--line);padding-top:7px}.account-actions .text-button{font-size:11px;color:#788596;min-height:28px}
.help-search-entry{background:#eef1f5;border:1px solid var(--line);border-radius:10px;min-height:45px;margin:12px 0 18px;padding:10px 13px;display:flex;align-items:center;gap:9px;color:#818b9a!important;text-decoration:none;font-size:13px}
.help-search-entry .ui-icon{width:20px;height:20px;color:#929cad}
.mine-group{background:white;border:1px solid var(--line);border-radius:13px;overflow:hidden;margin-bottom:15px;box-shadow:0 3px 16px #24314b05}
.mine-group>.settings-card{border:0;border-bottom:1px solid var(--line);border-radius:0;margin:0;box-shadow:none;padding:14px 15px;background:#fff;color:var(--ink)!important;min-height:57px}
.mine-group>.settings-card:last-child{border-bottom:0}.mine-group>a{display:flex;align-items:center;gap:13px;text-decoration:none;font-size:14px}
.mine-group>a strong{font-size:14px;font-weight:500;color:var(--ink)}.mine-group>a small,.mine-group .settings-kicker{display:none}.mine-group>a>span:not(.mine-row-icon){margin:0;flex:1;min-width:0}.mine-group>a>span:last-child[aria-hidden]{flex:none}.mine-group>a .mine-row-label{color:var(--ink)}.mine-group>a .mine-row-arrow{color:#929baa}
.mine-row-icon{display:grid;place-items:center;flex:none;width:25px;height:25px;color:#687484}.mine-row-icon .ui-icon{width:23px;height:23px}
.mine-group details>summary{gap:12px;min-height:50px;padding:0}.mine-group details>summary strong{font-size:14px;font-weight:500;color:var(--ink)}.mine-group details>summary small{font-size:11px;color:var(--muted);margin-top:2px}.mine-group details[open]{padding-bottom:16px}
.mine-group details form{margin-top:17px;border-top:1px solid var(--line);padding-top:15px}

/* Direct receipts, real selected files, same upload and booking process. */
.billing-student-card{display:flex;align-items:center;gap:12px;padding:14px;background:#fff;border:1px solid var(--line);border-radius:12px;margin-bottom:16px}
.billing-student-card strong{display:block;font-size:18px}.billing-student-card small{display:block;font-size:12px;color:var(--muted);margin-top:4px}
#new-bill{padding:18px 15px;border-radius:14px;margin-top:10px}#new-bill h2{font-size:21px;margin-bottom:19px}
.bill-course-mode-row{gap:12px}.bill-course-mode-row>.field{margin-bottom:16px}.bill-price-card{margin:4px 0 21px;border:1px solid var(--line);background:#f7f9fb;border-radius:12px;padding:15px}
.bill-price-card h3{font-size:17px;margin:0 0 11px}.bill-price-columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;background:transparent;padding:0;margin:0}.bill-price-columns>div{padding:0}.bill-price-columns span{display:block;font-size:12px;color:var(--muted)}.bill-price-columns strong{font-size:25px;color:var(--orange);margin-top:3px;display:block;font-weight:600}
.billing-receipts{position:relative;display:flex;align-items:flex-start;flex-wrap:wrap;gap:9px;margin:0 0 20px}.billing-receipts legend{font-size:14px;margin-bottom:12px}.billing-receipts legend small{color:var(--muted);font-size:11px;font-weight:400;margin-left:7px}
.receipt-preview-grid{display:contents}.receipt-add,.receipt-preview-item{height:74px;width:74px;border-radius:9px;border:1px solid var(--line);position:relative;flex:none}
.receipt-add{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;background:#f7f9fb;color:#7b8798;font-size:11px;cursor:pointer}.receipt-add>span:first-child{font-size:25px;line-height:1}
.receipt-add input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer;padding:0}
.receipt-add:focus-within{outline:3px solid #ec9c6f;outline-offset:2px}.receipt-preview-item img{height:100%;width:100%;object-fit:cover;border-radius:9px}.receipt-preview-item button{position:absolute;right:-6px;top:-6px;height:22px;min-height:22px;width:22px;border-radius:50%;background:#7c8593;color:#fff;font-size:17px;line-height:1;padding:0;border:2px solid white}
.bill-payment-row{gap:12px;align-items:end}.bill-payment-row .field{flex:1;min-width:0;margin:0}.bill-payment-row .field>span{font-size:13px}.bill-payment-row>button{width:98px;min-height:49px;border-radius:10px;font-size:16px;flex:none;margin:0}
.schedule-week-nav{border-radius:12px;border-color:var(--line);padding:10px;background:white}.schedule-week-nav strong{font-size:15px}.schedule-week-nav small{font-size:11px;color:var(--muted)}.schedule-week-nav button{color:#8690a0;background:#f5f7fa;min-height:34px;height:34px;width:34px;border-radius:8px}
.schedule-tools{font-size:12px;gap:8px;margin:12px 0}.schedule-tools button{min-height:34px;font-size:12px;border-radius:8px}.schedule-grid{border-radius:11px;border-color:var(--line);background:#fff}.schedule-day.is-today{background:#fff2e8;color:var(--orange)}.schedule-time{color:#94a0af;font-size:9px}.schedule-cell{border-color:#eef1f5}.schedule-day{color:#6a7485;font-size:11px}.schedule-day strong{font-size:11px}
@media(max-width:360px){main{padding:14px 11px 24px}.brand{padding:20px 12px 14px}.brand strong{font-size:21px}.campus-home-label{right:12px;top:21px}.reminders{padding:12px}.reminder-heading h1{font-size:21px}.todo-all{font-size:11px}.course-stat .summary-count{font-size:22px}.course-stat .summary-count span{font-size:18px}.course-stat-title{font-size:13px;gap:3px}.course-stat-title .ui-icon{width:20px;height:20px}.quick-link{font-size:13px;gap:9px;padding:11px 8px;min-height:73px}.quick-icon .ui-icon{width:26px;height:26px}.student-profile-card{gap:9px;padding:15px 11px}.student-avatar .avatar{height:54px;width:54px;font-size:23px}.student-profile-info .detail-row{grid-template-columns:83px minmax(0,1fr);gap:5px;font-size:12px}.student-profile-info .detail-row dt{font-size:11px}.student-detail-header>.page-title{font-size:17px}.student-detail-actions{gap:5px}.performance-history{padding:12px}.performance-month-head>div{gap:4px}.performance-month-head strong{font-size:12px}.performance-month-head h2{font-size:16px}.performance-day-record{margin:13px -12px -12px;padding:12px}.performance-calendar{gap:4px}.performance-day,.performance-calendar-empty{min-height:48px}.performance-rings{width:29px;height:29px}.performance-day-summary{gap:7px}.performance-day-summary .ui-icon{width:18px;height:18px}.points-entry{gap:8px;padding:13px 11px}.points-coin{height:37px;width:37px;border-width:4px}.points-entry .secondary{font-size:11px;padding:7px 8px}.bill-price-columns strong{font-size:22px}.bill-payment-row>button{width:78px}.attendance-simple-card{padding:12px 10px;column-gap:8px}}
.performance-history{padding:0;border:0;background:transparent;box-shadow:none}.performance-calendar-card{padding:15px;border:1px solid var(--line);background:white;border-radius:14px;box-shadow:0 3px 16px #24314b05}.performance-day-record{margin:14px 0 0;padding:15px;border:1px solid var(--line);border-radius:14px}
#student-teachers p{display:flex;align-items:center;gap:10px}.linked-teacher-icon{height:32px;width:32px;border-radius:50%;display:grid;place-items:center;background:#fff2e8;color:#bf672d}.linked-teacher-icon .ui-icon{width:21px;height:21px}
.attendance-record-head,.attendance-record-row{display:grid;grid-template-columns:.75fr 1.2fr 1fr;font-size:12px;line-height:1.5;align-items:center}.attendance-record-head{border:1px solid var(--line);border-radius:8px 8px 0 0;background:#f5f7fa;color:var(--muted);margin-top:9px}.attendance-record-head>span,.attendance-record-row>span{padding:9px 8px;min-width:0}.attendance-record-head>span+span,.attendance-record-row>span+span{border-left:1px solid var(--line)}.attendance-day-slot{padding:0;margin:0;border:0;border-radius:0;background:#fff}.attendance-record-row{border:1px solid var(--line);border-top:0;background:white}.record-status{display:flex;gap:4px;align-items:center;color:var(--danger)}.record-status.is-signed{color:var(--success)}.record-status.is-sick_leave{color:#7c8290}.record-status .ui-icon{width:16px;height:16px}.attendance-event-history{padding:8px 0;font-size:11px;color:var(--muted)}.attendance-event-history summary{cursor:pointer;color:#8b95a4}.attendance-event-history small{display:block;line-height:1.6;padding:3px 0}.student-detail-attendance .attendance-day{background:white;padding:0;border:0;margin-top:12px}.attendance-day-head{display:none}.student-detail-attendance .attendance-day-slot button{margin:8px 4px 10px 0}.student-detail-attendance #close-attendance{font-size:11px;color:#8993a1;margin-top:9px}
.mine-page .mine-group>details.system-settings{margin:0;padding:12px 15px;border-top:0}.mine-group details>summary>span:nth-child(2){flex:1;min-width:0}.mine-group details>summary .mine-row-icon{color:#687484;font-size:0;transform:none}.mine-group details>summary{min-height:40px}.mine-group details>summary>span:last-child{font-size:17px;color:#949caa}
.todo-list .strong-task .reminder-title{color:var(--ink);font-size:15px}.todo-task-context{font-size:11px;color:#85909f;line-height:1.6;flex:1 1 100%}
.schedule-cell,.schedule-time{background:#fff}
@media(max-width:360px){.performance-calendar-card,.performance-day-record{padding:12px}.attendance-record-head>span,.attendance-record-row>span{padding:8px 5px;font-size:11px}}

/* Batch correction: independent, touchable roster rows. */
.batch-correction-select{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin:4px 0 12px}
.batch-correction-select>label{display:flex;align-items:center;gap:8px;min-height:44px;font-size:14px}
.batch-correction-select input,.batch-correction-student input{width:20px;height:20px;margin:0;flex:none;accent-color:var(--orange)}
.batch-correction-select p{font-size:12px;color:var(--muted)}
.batch-correction-list{display:grid;gap:8px;margin-bottom:20px}
.batch-correction-list>.batch-correction-student{display:flex;align-items:center;gap:10px;width:100%;min-height:56px;margin:0;padding:12px;border-radius:10px;cursor:pointer}
.batch-correction-name{min-width:0;flex:1;overflow-wrap:anywhere;font-size:14px;line-height:1.5}
.batch-correction-state{flex:none;font-size:12px;color:var(--muted)}
.batch-correction-student.is-disabled{background:#f6f7f9;color:var(--muted);cursor:default}
#brief-content{white-space:pre-wrap;overflow-wrap:anywhere;font:inherit;line-height:1.6}

/* Attendance filters and school adjustments share stable mobile form rows. */
.attendance-filters{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px;margin:0 0 12px;align-items:end}
.attendance-filters .attendance-course-picker,.attendance-filters .attendance-date-row{margin:0;min-width:0;display:flex;align-items:end;gap:8px;padding:0}
.attendance-filters .attendance-course-picker{display:block;text-align:left}.attendance-filters .attendance-course-picker>span,.attendance-filters .attendance-date-row label>span{display:block;color:var(--muted);font-size:12px;margin-bottom:6px}
.attendance-filters .attendance-date-row label{display:block;flex:1;min-width:0}.attendance-filters select,.attendance-filters input{width:100%;min-width:0;height:42px;min-height:42px;box-sizing:border-box;font-size:13px;border-radius:9px}
.attendance-filters .attendance-more{flex:none}.attendance-filters .attendance-more>summary{width:36px;height:42px;min-height:42px;padding:0;display:flex;align-items:center;justify-content:center}
#school-adjustment .form-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}#school-adjustment .field{min-width:0}#school-adjustment input[type=date]{min-width:0;width:100%;box-sizing:border-box}
#school-adjustment .school-student-list{display:grid;grid-template-columns:minmax(0,1fr);gap:8px;margin:14px 0}
#school-adjustment .school-student-option{display:flex;position:static;float:none;align-items:center;gap:10px;margin:0;padding:12px;min-width:0;min-height:48px;height:auto;box-sizing:border-box;border:1px solid var(--line);border-radius:10px;background:#fff}
#school-adjustment .school-student-option input{width:20px;height:20px;min-height:20px;flex:none;margin:0;accent-color:var(--orange)}#school-adjustment .school-student-option span{flex:1;min-width:0;overflow-wrap:anywhere}#school-adjustment .school-student-option small{flex:none;color:var(--muted)}

/* Visual review 0.1.98: shared layout, no business or authorization changes. */
#app{--control-height:46px;line-height:1.6;overflow-wrap:anywhere}
#app a.settings-card{display:block;width:100%;min-width:0;position:relative;text-decoration:none;color:var(--ink);float:none;height:auto}
#app .record-card,#wh-record-list>a.settings-card{display:block;margin:0 0 12px;padding:16px;clear:both;overflow-wrap:anywhere}
#app .record-card p,#wh-record-list>a p{margin:4px 0;font-size:13px;line-height:1.6}
#app input[type=checkbox],#app input[type=radio]{width:20px;height:20px;min-height:20px;max-width:20px;padding:0;margin:0 8px 0 0;vertical-align:middle;accent-color:var(--orange);flex:0 0 20px}
#app .care-options input{position:absolute;opacity:0}
#app .visual-choice:not(.care-options label),#app .batch-select-all{display:flex;align-items:center;gap:8px;min-height:44px;line-height:1.5;text-align:left}
#app .visual-choice>input{margin:0;align-self:center}
#app .visual-choice>span{min-width:0}
#app .field:has(>input[type=checkbox]){display:flex;align-items:center;gap:8px}
#app .field:has(>input[type=checkbox])>span{display:inline;margin:0}
#app .reminder-page-header,#app .lb-heading,#app .heading{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:44px;margin:0 0 16px;text-align:left}
#app h1,#app .page-title{font-size:23px;line-height:1.4;letter-spacing:0;text-align:left;min-width:0;overflow-wrap:anywhere}
#app .reminder-page-header h1,#app .lb-heading h1,#app .heading h1{margin:0;flex:1}
#app .back{margin:0;flex:none;max-width:38%;min-height:44px;line-height:1.4;font-size:12px}
#app .lb-page,#app .points-page{padding:0 0 16px}
#app .form-row{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:12px}
#app .field{min-width:0;margin-bottom:16px}
#app .field>span{font-size:13px;line-height:1.5;margin-bottom:7px}
#app .field input:not([type=checkbox]):not([type=radio]):not([type=file]),#app .field select{min-height:var(--control-height);height:var(--control-height);min-width:0;width:100%;font-size:14px}
#app textarea{font:inherit;line-height:1.6;max-width:100%;border-radius:10px}
#app .hint,#app .page-sub{font-size:12px;line-height:1.7;color:var(--muted)}
#app .settings-card,#app .lb-panel,#app .point-panel{border-radius:14px;padding:16px;margin-bottom:14px;min-width:0}
#app .settings-card h2,#app .lb-panel h2{font-size:17px;line-height:1.5;margin-bottom:8px}
#app .primary,#app .secondary{min-height:46px;border-radius:10px;line-height:1.5;text-decoration:none}
#app .wh-toolbar{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;align-items:stretch}
#app .wh-toolbar>a,#app .wh-toolbar>button{width:100%;margin:0;min-height:48px;padding:11px 8px;display:flex;align-items:center;justify-content:center}
#app input[type=file]{display:block;width:100%;max-width:100%;padding:10px;border:1px dashed var(--line);border-radius:10px;background:#fafbfc;font-size:12px;min-width:0}
#app input[type=file]::file-selector-button{border:1px solid var(--line);border-radius:7px;padding:7px 10px;margin-right:8px;background:white;color:var(--orange);font:inherit}
#app .profile-photos{gap:10px}#app .profile-photos>div{min-width:0}
#app .batch-select-all{margin:12px 0;padding:10px 12px;background:#fff;border:1px solid var(--line);border-radius:10px}
#app .batch-attendance-item{width:100%;min-height:56px;margin:0 0 8px;padding:12px;gap:10px}
#app .batch-attendance-item>span{min-width:0;flex:1}
#batch-confirm,#batch-correction-submit{position:sticky;bottom:calc(76px + env(safe-area-inset-bottom));z-index:3;box-shadow:0 3px 14px #24314b20}
#batch-confirm:disabled{opacity:1;background:#f1c3a6;color:#6b3c22;box-shadow:0 0 0 5px #f5f6f8}
#app .todo-list .reminder-card{padding:10px 12px;gap:5px;min-height:76px}
#app .todo-list .strong-task,#app .todo-list .attendance-alert{background:#fff!important;border-color:var(--line)!important;border-left:3px solid var(--danger)!important}
#app .todo-alert-title{font-size:11px;line-height:1.4;padding-right:65px;gap:5px}
#app .todo-alert-title .ui-icon{width:14px;height:14px}
#app .todo-list .reminder-title{font-size:14px;line-height:1.5;flex:1 1 60%}
#app .todo-list .reminder-complete{min-height:40px;padding:8px 10px;font-size:12px;margin-left:auto}
#app .todo-task-context{font-size:11px;flex-basis:100%}
#app .todo-list .strong-task .reminder-badge,#app .todo-list .attendance-alert .reminder-badge{top:10px;background:#fff0f1;color:var(--danger)}
#app .visual-create-panel>summary{cursor:pointer;font-weight:700;font-size:17px;min-height:44px}
#app .visual-create-panel[open]>summary{margin-bottom:12px}
#app .lb-showcase-podium{grid-template-columns:repeat(3,minmax(0,1fr))}
#app .lb-showcase-winner>strong{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;line-height:1.4;min-height:2.8em;max-height:2.8em;overflow-wrap:anywhere}
#app .ex-month-table{font-size:12px;table-layout:fixed}#app .ex-month-table td,#app .ex-month-table th{vertical-align:top;overflow-wrap:anywhere;padding:10px 4px}
#app .ex-month-table td:nth-child(2){font-variant-numeric:tabular-nums}
#app .point-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
#app .points-action-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;align-items:start}
#app .points-action-grid>a{margin:0;display:flex;align-items:center;justify-content:center;text-align:center;min-height:48px;padding:10px}
#app a.wh-product{display:flex;align-items:center;gap:12px}
#app .mine-group>a.settings-card{display:flex;align-items:center;gap:13px}
#app .visual-month-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) 44px;gap:8px;align-items:center;margin:10px 0}
#app .visual-month-row input{width:100%;min-width:0;height:46px;border:1px solid var(--line);border-radius:10px;padding:8px;font:inherit;font-size:13px}
#app .visual-more-tools{padding:12px 0;margin-bottom:12px}#app .visual-more-tools>summary{min-height:44px;color:var(--orange);cursor:pointer}
#app .visual-selection-summary{position:sticky;top:0;z-index:2;margin:10px 0;padding:10px 12px;background:#fff8ee;border:1px solid var(--line);border-radius:10px;font-size:13px}
#app .visual-empty{margin:20px 0;padding:22px 16px;border:1px dashed var(--line);border-radius:12px;color:var(--muted);font-size:13px}
#app .visual-section{background:#fff;border:1px solid var(--line);border-radius:12px;padding:12px;margin-bottom:14px;min-width:0}
#app .visual-section>summary{min-height:44px;display:list-item;cursor:pointer;font-size:14px;font-weight:600;padding:10px 4px;line-height:1.6}
#app .visual-section[open]>summary{margin-bottom:12px}
#app .visual-section>.settings-card{border:0;padding:0;box-shadow:none;margin-bottom:0}
#app .schedule-grid{min-width:600px}#app .visual-section:has(.schedule-grid){overflow:auto}
#app .lb-pick-list,#app .batch-points-students{max-height:none;overflow:visible}
#app .settings-card>p{line-height:1.7}
#app .ex-summary strong{font-variant-numeric:tabular-nums}
#app #teacher-handover .primary,#app #wh-reverse{background:#ad3434;color:#fff}
#app .point-action>summary{min-height:48px;display:flex;align-items:center;justify-content:center;line-height:1.5}
#app .point-action[open]{grid-column:1/-1}
#app [hidden]{display:none!important}
.face-camera-overlay .face-camera-hint{bottom:190px!important;max-height:calc(100dvh - 300px);overflow:auto;line-height:1.7;padding:12px;background:#000b;border-radius:10px}
.face-camera-overlay .face-camera-actions{bottom:calc(24px + env(safe-area-inset-bottom));gap:10px;flex-wrap:wrap}
@media(max-width:360px){#app h1,#app .page-title{font-size:20px}#app .settings-card,#app .lb-panel{padding:12px}#app .back{max-width:35%;font-size:11px}#app .wh-toolbar{gap:8px}}
