:root{color-scheme:light;--ink:#12263b;--muted:#647383;--line:#e3e8ec;--red:#db3444;--blue:#23699c;--green:#18734e;--surface:#fff;--backdrop:#f2f5f7;font-family:Arial,Helvetica,sans-serif;letter-spacing:0;color:var(--ink);background:var(--backdrop)}
*{box-sizing:border-box}body{margin:0}button,input{font:inherit}button,a{-webkit-tap-highlight-color:transparent}button{cursor:pointer}a{color:inherit;text-decoration:none}svg{width:22px;height:22px;flex-shrink:0;stroke-width:1.8}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid #157bb4;outline-offset:4px}button:disabled{cursor:not-allowed;opacity:.58}h1,h2,h3,p{margin:0}h1{font-size:30px;line-height:1.2}h2{font-size:21px;line-height:1.3}h3{font-size:17px}p{line-height:1.55}.skip{position:absolute;top:-60px;z-index:10;background:white;padding:12px}.skip:focus{top:0}.app-shell{max-width:1080px;margin:0 auto;min-height:100dvh;background:var(--surface);position:relative}.app-header{display:flex;align-items:center;justify-content:space-between;padding:24px 36px 16px;gap:12px}.brand{display:flex;align-items:center;gap:12px;min-width:0}.brand img{object-fit:contain;flex-shrink:0}.brand strong{display:block;font-size:22px;font-weight:800;line-height:1.2}.brand b{color:var(--red)}.brand small{display:block;font-size:12px;color:var(--muted);margin-top:5px}.avatar,.icon-button{width:44px;height:44px;border-radius:50%;border:0;background:#eef2f5;display:grid;place-items:center;color:var(--ink);flex-shrink:0}.phase-banner{display:flex;align-items:center;gap:7px;padding:8px 36px;font-size:11px;color:var(--muted);background:#fafbfc}.dot{width:6px;height:6px;background:#d79928;border-radius:50%}.phase-separator{color:#b5bec5;margin:0 3px}main{padding:28px 36px 112px;outline:none}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:24px}.eyebrow{font-size:12px;font-weight:700;color:var(--muted);margin-bottom:7px}.home-layout{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);column-gap:34px;row-gap:26px}.activity{grid-row:span 2;min-width:0}.team-photo{display:block;width:100%;aspect-ratio:1.35;object-fit:cover;object-position:50% 41%;border-radius:8px}.activity-copy{padding-top:20px}.activity-copy h2{margin-bottom:9px}.activity-copy p{color:var(--muted);font-size:15px}.quiet-label{display:inline-flex;gap:6px;align-items:center;font-size:12px;font-weight:700;background:#f2f4f6;color:#5e6b78;padding:5px 9px;border-radius:4px}.activity-copy .quiet-label{margin-bottom:9px}.button{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:48px;padding:12px 16px;border:1px solid transparent;border-radius:6px;font-size:14px;font-weight:700;text-align:center;background:var(--ink);color:white}.button.secondary{background:white;border-color:#d6dfe6;color:var(--ink)}.activity-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:18px}.activity-actions .button svg{width:18px;height:18px}.weekly{align-self:start;border-top:1px solid var(--line);padding-top:19px}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:14px}.text-link{font-size:13px;font-weight:700;color:var(--blue);padding:8px 0}.empty-inline{display:flex;gap:12px;align-items:flex-start;padding:14px 0 20px;line-height:1.5;color:var(--muted);font-size:14px}.empty-inline svg{color:#8196a6;margin-top:2px}.empty-inline strong{display:block;color:var(--ink);font-size:14px;margin-bottom:4px}.student-access{align-self:end;display:flex;align-items:center;gap:13px;padding:18px;background:#e8f5f7;border:1px solid #d1e9ed;border-radius:8px;min-height:74px}.student-access>svg:first-child{color:#107286;width:25px;height:25px}.student-access span{flex:1;font-weight:700;font-size:17px}.student-access>svg:last-child{width:18px}.main-nav{position:fixed;left:50%;bottom:0;transform:translateX(-50%);max-width:1080px;width:100%;display:flex;align-items:center;justify-content:center;background:rgba(255,255,255,.98);border-top:1px solid var(--line);padding:8px 0 calc(8px + env(safe-area-inset-bottom));z-index:5}.main-nav a{width:160px;min-height:56px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;position:relative;color:#6c7885;font-size:12px}.main-nav a[aria-current=page]{color:var(--ink);font-weight:700}.main-nav a[aria-current=page]:after{content:"";width:30px;height:3px;background:var(--red);border-radius:2px;position:absolute;bottom:0}.main-nav svg{width:23px;height:23px}.back-link{display:inline-flex;gap:6px;align-items:center;font-size:14px;color:var(--blue);margin-bottom:20px;min-height:36px}.empty-state{padding:44px 16px;text-align:center}.empty-state>svg{width:36px;height:36px;color:#8196a6;margin-bottom:15px}.empty-state h2{font-size:20px;margin-bottom:9px}.empty-state p{color:var(--muted);max-width:360px;margin:0 auto;font-size:14px}.empty-state .button{margin-top:22px}.search-field{display:flex;align-items:center;gap:10px;border:1px solid #d6dfe6;border-radius:6px;padding:0 13px;max-width:500px;margin:20px 0}.search-field svg{color:var(--muted);width:19px}.search-field input{border:0;background:none;outline:none;width:100%;padding:14px 0;min-width:0;font-size:15px}.segmented{display:flex;gap:4px;background:#f1f4f6;padding:4px;border-radius:6px;width:fit-content;margin-bottom:24px}.segmented button{border:0;padding:10px 16px;background:transparent;color:var(--muted);border-radius:4px;min-height:42px;font-weight:700;font-size:14px}.segmented button[aria-selected=true]{background:white;color:var(--ink);box-shadow:0 1px 3px #13243a14}.calendar-top{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:16px 0}.month-tools{display:flex;gap:5px;align-items:center}.month-tools .icon-button{border-radius:5px;width:40px;height:40px}.month-name{font-size:18px;text-transform:capitalize}.calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));border-left:1px solid var(--line);border-top:1px solid var(--line)}.weekday{text-align:center;padding:10px 3px;font-size:12px;color:var(--muted);font-weight:700;border-right:1px solid var(--line);border-bottom:1px solid var(--line);background:#fafbfc}.calendar-day{min-height:64px;padding:8px;border:0;border-right:1px solid var(--line);border-bottom:1px solid var(--line);background:white;color:var(--ink);text-align:left;font-size:13px}.calendar-day.outside{color:#aab5bd;background:#fafbfc}.calendar-day.today span{background:var(--ink);color:white;border-radius:50%;width:26px;height:26px;display:inline-grid;place-items:center}.calendar-day.selected{background:#e9f2f8;box-shadow:inset 0 0 0 2px #3b83b4}.calendar-detail{padding:22px 0;border-bottom:1px solid var(--line)}.calendar-detail p{margin-top:7px;color:var(--muted);font-size:14px}.cash-toolbar{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:22px}.cash-toolbar .income{background:var(--green)}.cash-toolbar .expense{background:#a44943}.cash-links{display:grid;grid-template-columns:1fr 1fr;gap:12px}.cash-link{display:flex;align-items:center;gap:12px;border:1px solid var(--line);padding:19px;border-radius:6px;min-height:72px;font-size:15px;font-weight:700}.cash-link svg{color:var(--blue)}.cash-link span{flex:1}.cash-link>svg:last-child{width:17px;color:var(--muted)}dialog{border:0;border-radius:8px;padding:24px;width:calc(100% - 32px);max-width:440px;max-height:90dvh;box-shadow:0 20px 80px #0003;color:var(--ink)}dialog::backdrop{background:#0d1d3277}.dialog-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px}.academy-poster{display:block;width:100%;max-height:350px;object-fit:contain;border-radius:6px;background:#101926}.profile-note{font-size:14px;margin-top:18px;color:var(--muted)}#connection-status{font-size:13px;margin:14px 0;color:var(--muted)}.subpage-note{color:var(--muted);margin-top:7px;font-size:14px}.offline-alert{background:#fff6de;color:#79511b;padding:10px 16px;border-radius:6px;font-size:13px;margin-bottom:20px}
@media(min-width:1200px){.app-shell{margin:24px auto 0;min-height:calc(100dvh - 24px);border:1px solid var(--line);border-bottom:0}.app-header{padding-top:26px}main{padding-top:32px}.team-photo{aspect-ratio:1.3}.home-layout{column-gap:44px}.weekly{margin-top:0}}
@media(max-width:640px){body{background:white}.app-header{padding:18px 20px 12px}.brand{gap:9px}.brand img{width:42px;height:49px}.brand strong{font-size:20px}.brand small{font-size:10px}.avatar{width:40px;height:40px}.phase-banner{padding:7px 20px}main{padding:22px 20px 106px}h1{font-size:27px}.page-heading{margin-bottom:18px}.home-layout{display:flex;flex-direction:column;gap:23px}.team-photo{aspect-ratio:2.1;object-position:50% 40%}.activity-copy{padding-top:16px}.activity-copy h2{font-size:21px}.activity-copy p{font-size:14px}.activity-actions{gap:8px;margin-top:15px}.activity-actions .button{font-size:13px;padding:11px 12px;flex:1}.weekly{padding-top:17px}.empty-inline{padding:6px 0 12px}.student-access{min-height:66px;padding:15px}.main-nav a{width:33.333%;font-size:11px}.main-nav{max-width:none}.calendar-day{min-height:47px;padding:5px;font-size:12px}.cash-links{grid-template-columns:1fr}.cash-link{min-height:64px}.calendar-top{flex-wrap:wrap}.empty-state{padding:36px 6px}.month-name{font-size:16px}.month-tools .icon-button{width:36px;height:36px}.segmented button{padding:10px 12px}.button{font-size:13px}}
@media(prefers-reduced-motion:no-preference){.button,.student-access,.cash-link{transition:background-color .15s,box-shadow .15s}.student-access:hover{background:#d8edf1}.button:hover:not(:disabled){filter:brightness(.96)}}
