:root{color-scheme:light;--ink:#293e39;--muted:#62716c;--sage:#dcebe1;--green:#355d4d;--border:#e3e7e0;--surface:#fff;--background:#f8f9f5;--radius:20px;font-family:"Segoe UI",system-ui,-apple-system,BlinkMacSystemFont,sans-serif;font-size:16px;line-height:1.5;color:var(--ink);background:var(--background)}
*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button{color:inherit}button:disabled{cursor:default}a{color:inherit}button,input,select,textarea{touch-action:manipulation}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,[tabindex]:focus-visible{outline:3px solid #8e78ae;outline-offset:3px}[hidden]{display:none!important}.app-shell{max-width:1312px;margin:auto;padding:0 56px}.app-header{height:110px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--border)}.brand{display:flex;align-items:center;gap:12px;text-decoration:none;font-size:22px;font-weight:650;line-height:1.2;letter-spacing:-.7px}.brand-mark{position:relative;width:45px;height:45px;border-radius:15px;background:#dcebe1;font-family:Georgia,serif;font-size:37px;line-height:38px;text-align:center;font-weight:400}.brand-mark span{position:absolute;right:3px;top:0;font-size:18px;color:#5e7b65}.brand-sub{display:block;font-size:9px;letter-spacing:2.2px;font-weight:600;margin-top:5px}.header-right{display:flex;gap:20px;align-items:center}.prototype-label{background:#eeedf5;padding:5px 12px;border-radius:30px;color:#685d7b;font-size:12px;font-weight:600}.avatar{display:grid;place-items:center;width:39px;height:39px;border-radius:50%;background:#f0e3d8;border:3px solid white;font-weight:650;font-size:15px}.welcome{display:flex;justify-content:space-between;gap:24px;align-items:center;margin:41px 0 34px}.eyebrow{font-size:10px;letter-spacing:1.8px;font-weight:700;color:#688275;margin:0 0 10px}h1,h2,h3,h4,p{margin-top:0}h1{font-size:clamp(28px,3.1vw,39px);line-height:1.2;letter-spacing:-1.4px;font-weight:600;margin-bottom:10px}h1>span{color:#92b49a}.intro{font-size:14px;color:var(--muted);margin-bottom:0}.student-details{display:flex;align-items:flex-start;gap:10px;font-size:12px;line-height:1.8;color:var(--muted);padding:12px 0 12px 20px;border-left:1px solid var(--border)}.student-details strong{font-weight:600;color:var(--ink);font-size:13px}.student-details span:not(.student-dot){display:block}.student-dot,.current-dot,.local-dot{display:inline-block;width:7px;height:7px;background:#86a88b;border-radius:50%;flex-shrink:0}.student-dot{margin-top:9px}.year-tabs{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;padding:7px;border:1px solid var(--border);border-radius:18px;background:#eeF0eb;margin-bottom:35px}.year-tabs button{display:flex;align-items:center;gap:12px;text-align:left;border:1px solid transparent;border-radius:12px;background:transparent;padding:13px 20px;position:relative;min-width:0;min-height:70px}.year-tabs button[aria-selected=true]{background:white;border-color:#e0e6de;box-shadow:0 2px 5px #293e3906}.year-tabs button:hover{background:#ffffff8c}.year-number{font-size:12px;background:#e6eae3;color:#6f7b6e;border-radius:9px;width:34px;height:34px;display:grid;place-items:center;flex-shrink:0}.year-tabs button[aria-selected=true] .year-number{background:#dcebe1;color:#3e6452}.year-tabs strong{display:block;font-size:14px;font-weight:650}.year-tabs small{display:block;font-size:11px;color:var(--muted);margin-top:1px}.current-dot{margin-left:auto;width:6px;height:6px}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:22px}.heading-line{display:flex;gap:12px;align-items:center;flex-wrap:wrap}h2{font-size:23px;letter-spacing:-.6px;font-weight:600;margin:0}.status-pill{font-size:10px;color:#7a6646;background:#f4ecd9;border:1px solid #efe4c9;border-radius:20px;padding:3px 9px;white-space:nowrap}.section-heading p{font-size:12px;color:var(--muted);margin:7px 0 0}.button{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:44px;border-radius:10px;padding:10px 18px;font-weight:600;font-size:13px;border:1px solid transparent;white-space:nowrap}.primary{background:#355d4d;color:white;box-shadow:0 2px 3px #355d4d10}.primary:hover{background:#294e3f}.primary>span{font-size:20px;line-height:1}.secondary{border-color:var(--border);background:white;color:var(--ink)}.secondary:hover{background:#f4f6f1}.stats-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-bottom:27px}.stat-card{padding:19px 24px 18px;border:1px solid #e1e9dc;border-radius:var(--radius)}.total-card{background:#e9f1e7}.practice-card{background:#f0ecf6;border-color:#e9e3f0}.theory-card{background:#fbefe3;border-color:#f1e5d8}.stat-label{display:flex;justify-content:space-between;align-items:center;font-weight:600;font-size:12px}.stat-icon{font-size:21px;opacity:.7;width:31px;height:31px;text-align:center;background:#ffffff70;border-radius:10px}.stat-value{font-size:33px;font-weight:600;letter-spacing:-1.3px;margin:8px 0 2px;line-height:1.3;font-variant-numeric:tabular-nums}.stat-value span{font-size:17px;font-weight:400;margin:0 4px 0 3px;letter-spacing:0}.stat-foot{font-size:11px;color:var(--muted);margin:5px 0 0}.records-panel{background:white;border:1px solid var(--border);border-radius:var(--radius);overflow:hidden}.records-top{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:23px 25px;border-bottom:1px solid #edf0ea}h3{font-size:15px;font-weight:650;margin:0}.records-top p{font-size:11px;color:var(--muted);margin:5px 0 0}.count-badge{font-size:10px;background:#f0f2ed;display:inline-block;vertical-align:middle;padding:1px 7px;border-radius:7px;margin-left:7px}.filters{display:flex;gap:8px;align-items:center}.search-field{display:flex;gap:7px;align-items:center;border:1px solid var(--border);border-radius:9px;background:#fafbf8;padding:0 10px;width:185px}.search-field>span{font-size:23px;color:#768379}.search-field input{border:0;background:transparent;min-width:0;width:100%;font-size:12px;min-height:38px;outline-offset:0}.filters select{min-height:40px;font-size:12px;border:1px solid var(--border);border-radius:9px;background:#fff;padding:6px 24px 6px 10px;color:var(--ink)}.empty-state{text-align:center;padding:29px 24px 38px}.empty-illustration{width:94px;height:94px;display:grid;place-items:center;border-radius:50%;background:#f3f6ef;margin:0 auto 16px}.empty-state h4{font-size:17px;font-weight:600;margin-bottom:7px;letter-spacing:-.3px}.empty-state p{font-size:12px;color:var(--muted);max-width:345px;margin:0 auto 19px;line-height:1.8}.empty-state .button{font-size:12px;min-height:40px}.gentle-note{display:flex;align-items:center;gap:12px;margin:21px 0 26px;padding:15px 19px;background:#f0f1e9;border:1px solid #e7e9dc;border-radius:12px}.gentle-note>span{font-size:25px;color:#839770}.gentle-note p{font-size:11px;color:var(--muted);margin:0;line-height:1.8}.gentle-note strong{font-weight:600;color:#4b5e4a;margin-right:3px}footer{display:flex;align-items:center;justify-content:space-between;gap:8px;border-top:1px solid var(--border);padding-top:15px}footer p{display:flex;align-items:center;gap:6px;font-size:10px;color:var(--muted);margin:0}.local-dot{width:5px;height:5px}.footer-actions{display:flex;gap:12px}.text-button{font-size:11px;color:var(--muted);border:0;background:none;padding:10px 0;min-height:40px;text-decoration:underline;text-decoration-color:#b5c1b8;text-underline-offset:4px}.text-button:hover{color:#264a3b}.prototype-note{font-size:10px;color:#70786e;text-align:center;margin:15px 0 25px}.warning{background:#fff0d5;border:1px solid #d4a251;border-radius:10px;padding:12px 15px;font-size:13px;margin-bottom:20px}table{width:100%;border-collapse:collapse;text-align:left;font-size:12px;table-layout:fixed}thead{background:#fafbf8}th{font-size:10px;color:var(--muted);font-weight:600;padding:12px 16px}th:first-child,td:first-child{padding-left:25px;width:22%}th:nth-child(2){width:33%}th:nth-child(3){width:16%}th:nth-child(4){width:19%}th:last-child{width:10%}td{padding:17px 16px;border-top:1px solid #edf0ea;overflow-wrap:anywhere}td strong{font-weight:600;display:block}.date-range-end,.entry-note{display:block;font-size:11px;color:var(--muted);margin-top:4px;white-space:pre-line}.type-tag{font-size:10px;border-radius:20px;padding:4px 9px;display:inline-block;background:#ede7f5;color:#67567d}.type-tag.theory{background:#faecd9;color:#7f6036}.duration-cell{text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums}.edit-button{font-size:12px;padding:9px 10px;min-height:40px;border:1px solid var(--border);border-radius:8px;background:white}.edit-button:hover{background:#f1f5ed}.filtered-summary{font-size:11px;color:var(--muted);padding:14px 25px;margin:0;background:#fafbf8;border-top:1px solid var(--border)}dialog{border:1px solid var(--border);border-radius:22px;max-width:560px;width:calc(100% - 32px);max-height:calc(100dvh - 40px);padding:28px;color:var(--ink);box-shadow:0 30px 100px #293e3933;background:#fff;overscroll-behavior:contain}dialog::backdrop{background:#203b325c;backdrop-filter:blur(4px)}body:has(dialog[open]){overflow:hidden}.dialog-header{display:flex;align-items:center;justify-content:space-between;gap:12px}.dialog-header .eyebrow{margin-bottom:5px}.icon-button{border:0;background:#f2f4ef;border-radius:50%;width:40px;height:40px;font-size:26px;display:grid;place-items:center;flex-shrink:0}.dialog-intro{font-size:12px;color:var(--muted);margin:12px 0 20px;line-height:1.8}form>label,form .form-row>label{font-size:12px;font-weight:600;display:block}form>label{margin-top:16px}form input:not([type=radio]),form textarea{display:block;width:100%;border:1px solid #dce2d9;border-radius:9px;padding:10px 12px;margin-top:6px;background:#fafbf9;color:var(--ink);min-height:44px;min-width:0;font-size:14px}form textarea{resize:vertical;max-height:180px}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:14px}.optional{font-weight:400;color:var(--muted);font-size:11px}.field-hint{display:block;font-size:11px;color:var(--muted);font-weight:400;margin:5px 0 0}fieldset{min-width:0;padding:0;margin:16px 0 0;border:0}legend{font-size:12px;font-weight:600;margin-bottom:6px}.type-options{display:grid;grid-template-columns:1fr 1fr;gap:12px}.type-options label{position:relative;cursor:pointer}.type-options input{position:absolute;opacity:0;width:1px;height:1px}.type-options span{display:block;padding:11px;border:1px solid var(--border);border-radius:10px;text-align:center;font-size:13px}.type-options input:checked+span{background:#ede8f4;border-color:#9c8eaf;color:#5f4e75}.type-options label:nth-child(2) input:checked+span{background:#fcf0e3;border-color:#c1a483;color:#735634}.type-options input:focus-visible+span{outline:3px solid #8e78ae;outline-offset:3px}.duration-fieldset .form-row>label{font-weight:400;color:var(--muted);font-size:11px}.duration-fieldset legend{margin-bottom:0}.dialog-footer{display:flex;align-items:center;justify-content:space-between;margin-top:24px;border-top:1px solid var(--border);padding-top:18px;gap:14px}.dialog-main-actions{display:flex;gap:8px;margin-left:auto}.danger{color:#a04040}.form-error{font-size:12px;color:#a04040;margin:12px 0 0}.toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);background:#293e39;color:white;padding:13px 22px;border-radius:12px;box-shadow:0 4px 20px #0002;font-size:13px;z-index:10;max-width:calc(100% - 32px);width:max-content}.sr-only{position:absolute!important;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(min-width:1500px){.app-shell{max-width:1390px}.welcome{margin-top:50px;margin-bottom:40px}.empty-state{padding-top:45px;padding-bottom:48px}}
@media(max-width:1000px){.app-shell{padding:0 30px}.student-details{font-size:11px;padding-left:16px;max-width:230px}.student-details strong{font-size:12px}h1{font-size:31px}.year-tabs button{padding:11px 14px}.records-top{align-items:flex-start;flex-wrap:wrap}.filters{flex:1;justify-content:flex-end}.search-field{width:175px}.stat-card{padding:18px}.footer-separator{display:none}footer p{max-width:240px;flex-wrap:wrap}.stat-value{font-size:29px}th,td{padding-left:10px;padding-right:10px}}
@media(max-width:700px){.app-shell{padding:0 20px}.app-header{height:85px}.brand{font-size:20px}.brand-mark{width:40px;height:40px;font-size:33px}.prototype-label{font-size:10px;padding:5px 9px}.header-right{gap:10px}.avatar{width:33px;height:33px}.welcome{display:block;margin:28px 0 24px}.eyebrow{font-size:9px}h1{font-size:30px;letter-spacing:-1px}.intro{font-size:13px}.student-details{max-width:none;border-left:0;padding:0;margin-top:18px;font-size:11px;line-height:1.7}.student-details>div{display:flex;flex-wrap:wrap;column-gap:10px}.student-details strong{width:100%}.student-dot{margin-top:7px}.year-tabs{gap:4px;padding:5px;margin-bottom:26px;border-radius:14px}.year-tabs button{padding:10px 5px;justify-content:center;min-height:53px;text-align:center;border-radius:9px}.year-number,.year-tabs small,.current-dot{display:none}.year-tabs strong{font-size:12px}.section-heading{align-items:flex-start;margin-bottom:18px;gap:12px}.heading-line{gap:7px}h2{font-size:21px}.section-heading p{font-size:11px;max-width:280px;line-height:1.7}.section-heading .button{padding:9px 12px;gap:4px;font-size:12px;min-height:42px}.status-pill{font-size:9px}.stats-grid{gap:8px;margin-bottom:20px}.stat-card{padding:13px 11px;border-radius:13px}.stat-label{font-size:10px;line-height:1.4}.stat-icon{display:none}.stat-value{font-size:23px;letter-spacing:-.8px;margin-top:12px}.stat-value span{font-size:12px;margin:0 1px}.stat-foot{font-size:9px;line-height:1.6;min-height:28px;margin-top:7px}.records-panel{border-radius:15px}.records-top{padding:18px 16px;gap:16px}.records-top>div:first-child{width:100%}.filters{justify-content:stretch;width:100%}.search-field{width:auto;flex:1;min-width:0}.filters select{font-size:12px}.empty-state{padding:28px 18px 32px}.empty-state h4{font-size:16px}.empty-state p{font-size:12px}.gentle-note{padding:13px;align-items:flex-start;margin:16px 0 20px}.gentle-note p{font-size:10px}.gentle-note strong{display:block}footer{display:block;padding-top:16px}footer p{max-width:none;font-size:10px}.footer-separator{display:inline}.footer-actions{justify-content:space-between;margin-top:8px;gap:8px}.text-button{font-size:11px}.prototype-note{font-size:9px;margin-top:8px;line-height:1.8}table,tbody,tr,td{display:block}thead{display:none}table tr{display:grid;grid-template-columns:1fr auto;padding:15px 16px;gap:8px 12px;border-bottom:1px solid var(--border)}td,td:first-child{padding:0;border:0;width:auto}td:first-child{grid-column:1;grid-row:1;font-size:11px}td:nth-child(2){grid-column:1;grid-row:2}td:nth-child(3){grid-column:1;grid-row:3}td:nth-child(4){grid-column:2;grid-row:1;font-size:15px;font-weight:600}td:last-child{grid-column:2;grid-row:3;align-self:end;text-align:right}.date-range-end{display:inline;font-size:11px}.date-range-end::before{content:" "}.entry-note{max-width:240px}.filtered-summary{padding:12px 16px}dialog{padding:22px 18px;border-radius:18px;max-height:calc(100dvh - 24px);width:calc(100% - 24px)}.dialog-intro{font-size:12px}.dialog-header h2{font-size:23px}.dialog-footer{flex-wrap:wrap}.dialog-main-actions{flex:1;justify-content:flex-end}.dialog-main-actions .button{padding-left:13px;padding-right:13px}.form-row{gap:10px}form input:not([type=radio]),form textarea{font-size:16px;padding:10px 8px}.toast{bottom:16px}}
@media(prefers-reduced-motion:no-preference){button{transition:background .15s,box-shadow .15s}.stat-card{animation:appear .25s ease-out}.toast{animation:appear .2s ease-out}@keyframes appear{from{opacity:0;translate:0 4px}to{opacity:1;translate:0 0}}}
