/* Adoria gallery and family-space typography, colors, and shapes. */
:root{--ink:#343039;--muted:#756b7d;--line:#eee9f2;--lavender:#faf8fc;--plum:#6b587b;font-family:Arial,Helvetica,sans-serif;color:var(--ink);background:#fff;font-synthesis:none}
*{box-sizing:border-box}body{margin:0;font-size:14px;line-height:1.6}a{color:inherit;text-decoration:none;text-underline-offset:4px}a:hover{text-decoration:underline}
header,main{max-width:1050px;margin:auto;padding-inline:30px}header{display:flex;justify-content:space-between;align-items:center;gap:20px;padding-block:28px}.brand{font:30px Georgia,serif;letter-spacing:-1px}.brand:hover{text-decoration:none}nav{display:flex;align-items:center;gap:22px}header nav{font-size:11px;color:var(--muted)}nav form{margin:0}
.intro{text-align:center;padding:26px 0 38px}.eyebrow{font-size:9px;font-weight:400;letter-spacing:.2em;color:var(--muted);margin:0 0 12px}h1{font:400 52px/1.15 Georgia,serif;letter-spacing:-2px;margin:15px 0}.lead{color:var(--muted);font-size:13px;line-height:1.8;margin:16px 0 0}h2{font:400 32px/1.15 Georgia,serif;letter-spacing:-1px;margin:0}h3{font:400 22px/1.25 Georgia,serif;margin:0 0 5px}p{margin-top:0}
.register{padding:24px 0 0;border-top:1px solid var(--line)}.register-top{display:flex;justify-content:space-between;align-items:center;gap:20px}.access{font-size:10px;letter-spacing:.04em;border:1px solid var(--line);border-radius:30px;padding:7px 12px;color:var(--muted)}
.filters{display:flex;gap:16px;align-items:flex-end;margin:25px 0}.filters label{flex:1}label{font-size:12px;font-weight:400;color:var(--muted)}select,input,button{font:inherit}select,input:not([type=checkbox]){border:1px solid #e5deeb;border-radius:10px;background:#fff;color:var(--ink);padding:11px 12px;min-height:44px}label select{display:block;width:100%;margin-top:6px}
button,.button{border:1px solid #e5deeb;border-radius:24px;background:#fff;color:var(--plum);padding:11px 17px;min-height:44px;font-size:12px;font-weight:400;text-decoration:none;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;line-height:1.4;transition:background .2s,border-color .2s}.dark{background:var(--plum);color:#fff;border-color:var(--plum)}button:hover,.button:hover{background:#f4eef8;border-color:#cdbed8;text-decoration:none}.dark:hover{background:#594569;border-color:#594569}button:focus-visible,a:focus-visible,select:focus-visible,input:focus-visible,summary:focus-visible{outline:2px solid #aa93be;outline-offset:4px}.text{border:0;background:none;padding:0;min-height:0}.success{padding:12px 16px;color:#46685f;background:#eff7f4;border-radius:12px}
.students{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:22px;margin:30px 0}.student{border:1px solid var(--line);border-radius:20px;padding:24px;min-width:0}.student-heading{display:flex;align-items:center;gap:15px}.initial{flex-shrink:0;background:linear-gradient(145deg,#f6dec8,#e3d7ed 55%,#bddbd5);color:#615267;border-radius:38% 62% 46% 54%;width:56px;height:56px;display:grid;place-items:center;font:29px Georgia,serif;box-shadow:0 8px 20px #927a9f10;transform:rotate(-7deg)}.student:nth-child(2) .initial{background:linear-gradient(145deg,#d5e8df,#e3d7ed 58%,#f2d9cb);border-radius:58% 42% 54% 46%;transform:rotate(6deg)}.student-heading p{font-size:12px;color:var(--muted);margin:0}
.stats{display:flex;justify-content:space-between;gap:10px;margin:13px 0 12px}.stats strong{display:block;font:400 34px/1.1 Georgia,serif}.stats span{font-size:11px;color:var(--muted)}.muted{font-size:12px;color:var(--muted)}.student .muted{margin:0}
.share{background:var(--lavender);padding:24px;border-radius:20px;margin:28px 0 36px}.share p{font-size:12px;color:var(--muted);margin:5px 0 17px}.share #share-status{margin:14px 0 0}.actions{display:flex;flex-wrap:wrap;gap:9px}.month-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:12px 0}.month-filter{display:flex;align-items:center;gap:9px}.month-filter select{font-size:13px;padding:9px}
.table-scroll{overflow-x:auto;border:1px solid var(--line);border-radius:14px}table{width:100%;border-collapse:collapse;text-align:left;table-layout:fixed}thead th{padding:14px 16px;background:var(--lavender);color:var(--muted);font-size:12px;font-weight:400}thead th:first-child{width:95px}tbody th,td{padding:13px 16px;border-top:1px solid #f1edf5;vertical-align:top}tbody th{font-size:13px;font-weight:400}.th-detail{display:block;font-size:10px;font-weight:400;color:var(--muted);margin-top:3px}.status{display:inline-grid;place-items:center;border-radius:8px;width:29px;height:29px;background:#eff5f2;color:#456b60;font-size:12px;font-weight:600}.status-A{background:#faf0ed;color:#956050}.status-N{background:#f2eef7;color:#746086}.row-note{font-size:12px;margin:7px 0 0;white-space:pre-wrap;overflow-wrap:anywhere}
.entry{display:flex;align-items:center;flex-wrap:wrap}.entry select{padding:6px 9px;font-size:12px;max-width:100%;min-height:38px}.note-input{width:100%;font-size:11px!important;margin-top:6px;padding:7px 9px!important;min-height:34px!important}.save-panel{border-top:1px solid var(--line);padding-top:23px;margin-top:24px}.save-panel .muted{margin:10px 0}.edit-prompt{display:flex;justify-content:space-between;gap:15px;align-items:center;padding:23px 0 0;font-size:13px}.edit-prompt p{margin:0;color:var(--muted)}.edit-prompt a{color:var(--plum)}
footer{border-top:1px solid var(--line);display:flex;flex-direction:column;align-items:center;text-align:center;gap:12px;margin-top:34px;padding:28px 0 40px;color:var(--muted);font-size:11px}footer p{margin:0}
.subject-dashboard{margin-top:24px}.dashboard-heading{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:12px}.dashboard-heading h4{margin:0;font-size:12px;font-weight:400}.dashboard-heading>span{font-size:10px;color:var(--muted)}.subject-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.subject-card{padding:14px;border-radius:14px;background:#f5f1f9;min-height:82px;display:flex;flex-direction:column;justify-content:space-between;gap:8px}.subject-card:nth-child(4n+2){background:#faf2ed}.subject-card:nth-child(4n+3){background:#eff6f3}.subject-card:nth-child(4n){background:#f1f3fa}.subject-card>span{font-size:12px;line-height:1.3;color:var(--muted);overflow-wrap:anywhere}.subject-card>strong{font:25px/1.1 Georgia,serif;color:#5d5068;overflow-wrap:anywhere}.subjects-empty{padding:15px 0}
.subject-editor{margin:15px 0}.subject-editor summary{cursor:pointer;font-size:12px;color:var(--plum);text-underline-offset:4px;text-decoration:underline}.subject-editor[open] summary{margin-bottom:17px}.profile-form>input{display:block;width:100%;margin:5px 0 12px}.profile-form .muted{margin:10px 0!important}.subject-input-row,.subject-input-heading{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1fr);gap:8px;margin-bottom:8px}.subject-input-heading{font-size:11px;color:var(--muted);margin-top:14px}.subject-input-row input{width:100%;min-width:0;font-size:12px;padding:9px}.profile-form>button{margin-top:8px}.attendance-heading{border-top:1px solid var(--line);padding-top:18px;margin-top:22px;font-size:12px;font-weight:400;color:var(--muted)}
.earnings{margin-top:22px;padding:18px;border-radius:14px;background:#eff6f3}.earnings h4{font-size:12px;font-weight:400;margin:0;color:#456b60}.earnings h4 span{display:block;font-size:11px;color:var(--muted)}.earnings-amount{display:block;font:36px/1.2 Georgia,serif;color:#456b60;margin:10px 0}.earnings .muted+.muted{margin-top:5px}.earnings-rules{font-size:11px;color:var(--muted);margin-top:12px}.earnings-rules summary{cursor:pointer;color:#456b60}.earnings-rules p{margin:9px 0 0}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:650px){header,main{padding-inline:20px}header{padding-block:24px;gap:12px}header nav{gap:12px}header .button{font-size:11px;padding:9px 12px}.intro{padding:20px 0 30px}h1{font-size:44px}.lead{font-size:13px}.register{padding-top:24px}.register-top{gap:10px}.register-top h2{font-size:28px;white-space:nowrap}.access{font-size:10px;max-width:110px}.filters{flex-wrap:wrap;gap:10px}.filters label{min-width:42%}.filters button{width:100%}.students{grid-template-columns:1fr;gap:18px}.student{padding:18px}.month-heading{align-items:flex-start;flex-direction:column}.month-filter{width:100%}.month-filter select{flex:1;min-width:0}thead th,tbody th,td{padding:10px 8px}thead th:first-child{width:62px}thead th{font-size:11px}.status{width:26px;height:26px}.edit-prompt{align-items:flex-start;flex-direction:column}.share{padding:18px}.actions .button,.actions button{flex:1;white-space:nowrap}}
@media(prefers-reduced-motion:reduce){*{transition:none!important}}
.earnings-breakdown{list-style:none;margin:12px 0;padding:0}.earnings-breakdown li{display:flex;justify-content:space-between;gap:10px;padding:6px 0;border-bottom:1px solid #dce9e3}.earnings-breakdown strong{font-weight:400;color:#456b60;white-space:nowrap}
@media print{header,.filters,.share,.month-filter,.edit-prompt,.save-panel,footer,.subject-editor{display:none}.intro{padding:10px}h1{font-size:32px}.register{border:0;padding:0}.student{break-inside:avoid}}
@media print{.earnings{display:none}}
