:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--background:#f5f7fa;--foreground:#172033;--muted:#667085;--border:#d6dbe6;--surface:#fff;--surface-soft:#eef2f7;--accent:#2563eb;--accent-soft:#dbeafe;--danger:#b42318;--success:#157347;--shadow:0 16px 36px #17203314}*{box-sizing:border-box}html,body{min-height:100%;margin:0}body{background:var(--background);color:var(--foreground);font-family:Arial,Helvetica,sans-serif}a{color:inherit}button,input,textarea,select{font:inherit}button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid var(--accent-soft);outline-offset:2px}.foundation-shell{place-items:center;min-height:100vh;padding:32px;display:grid}.foundation-panel{border:1px solid var(--border);background:var(--surface);border-radius:8px;width:min(100%,680px);padding:32px}.foundation-eyebrow{color:var(--accent);margin:0 0 12px;font-size:14px;font-weight:700}.foundation-title{margin:0;font-size:32px;line-height:1.15}.foundation-summary{color:var(--muted);margin:16px 0 24px;line-height:1.6}.foundation-meta{color:var(--muted);flex-wrap:wrap;align-items:center;gap:12px;font-size:14px;display:flex}.foundation-link{color:var(--accent);font-weight:700;text-decoration:none}.login-placeholder-header{justify-content:flex-end;margin-bottom:24px;display:flex}.app-shell{grid-template-columns:272px minmax(0,1fr);min-height:100vh;display:grid}.app-sidebar{border-inline-end:1px solid var(--border);background:var(--surface);height:100vh;padding:20px 16px;position:sticky;top:0}.sidebar-brand{align-items:center;gap:12px;margin-bottom:28px;padding:4px 6px;display:flex}.sidebar-brand-mark{background:var(--foreground);width:40px;height:40px;color:var(--surface);border-radius:8px;place-items:center;font-weight:700;display:grid}.sidebar-brand-name,.sidebar-brand-meta{margin:0}.sidebar-brand-name{font-weight:700}.sidebar-brand-meta{color:var(--muted);font-size:13px}.sidebar-nav,.mobile-nav-list{gap:4px;display:grid}.nav-item{min-height:40px;color:var(--foreground);text-align:start;border-radius:8px;align-items:center;gap:10px;padding:10px 12px;font-size:14px;font-weight:600;text-decoration:none;display:flex}.nav-item:hover{background:var(--surface-soft)}.nav-item-finance{padding-inline-start:20px}.nav-item-marker{background:var(--border);border-radius:999px;flex:none;width:7px;height:7px}.app-frame{grid-template-rows:auto 1fr;min-width:0;display:grid}.app-header{z-index:2;border-bottom:1px solid var(--border);background:#fffffff0;align-items:center;gap:16px;min-height:72px;padding:14px 24px;display:flex;position:sticky;top:0}.header-organization,.school-year-indicator,.user-placeholder{gap:2px;display:grid}.header-organization{margin-inline-end:auto}.header-label{color:var(--muted);text-transform:uppercase;font-size:12px;font-weight:700}.school-year-indicator{border:1px solid var(--border);background:var(--surface);border-radius:8px;min-width:160px;padding:8px 12px}.language-switcher{border:1px solid var(--border);background:var(--surface);border-radius:8px;padding:3px;display:inline-flex}.language-option{min-width:40px;color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:6px;padding:6px 10px;font-weight:700}.language-option[aria-pressed=true]{background:var(--accent);color:var(--surface)}.user-placeholder{color:var(--muted);align-items:center;gap:8px;font-size:14px;font-weight:700;display:flex}.user-avatar{background:var(--surface-soft);width:32px;height:32px;color:var(--foreground);border-radius:999px;place-items:center;font-size:12px;display:grid}.user-identity{gap:1px;min-width:0;display:grid}.user-email,.session-status-debug{color:var(--muted);font-size:12px;font-weight:600}.session-status-debug{width:max-content;max-width:100%}.header-logout-button{border:1px solid var(--border);background:var(--surface);min-height:32px;color:var(--foreground);cursor:pointer;border-radius:8px;padding:5px 9px;font-size:13px;font-weight:700}.header-logout-button:disabled{cursor:not-allowed;opacity:.62}.mobile-nav{display:none}.app-main{min-width:0;padding:32px}.page-header{max-width:920px;margin-bottom:24px}.page-header h1{margin:0;font-size:30px;line-height:1.2}.page-header p{max-width:720px;color:var(--muted);margin:10px 0 0;line-height:1.5}.empty-state{border:1px dashed var(--border);background:var(--surface);border-radius:8px;max-width:760px;padding:28px}.empty-state-title{margin:0;font-size:16px;font-weight:700}.empty-state-description{color:var(--muted);margin:10px 0 0;line-height:1.55}.page-scope-note{border:1px solid var(--border);background:var(--surface);width:max-content;max-width:100%;color:var(--muted);border-radius:999px;margin:-8px 0 20px;padding:6px 10px;font-size:13px;font-weight:700}.page-actions{flex-wrap:wrap;gap:10px;margin-bottom:20px;display:flex}.placeholder-action{border:1px solid var(--border);background:var(--surface-soft);min-height:40px;color:var(--muted);cursor:not-allowed;border-radius:8px;padding:9px 12px;font-weight:700}.button{cursor:pointer;border:1px solid #0000;border-radius:8px;min-height:40px;padding:9px 12px;font-weight:700}.button:disabled{cursor:not-allowed;opacity:.62}.button-primary{background:var(--accent);color:var(--surface)}.button-secondary{border-color:var(--border);background:var(--surface);color:var(--foreground)}.auth-form{gap:16px;margin-top:24px;display:grid}.auth-actions{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.auth-link-button{align-items:center;text-decoration:none;display:inline-flex}.page-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;max-width:1120px;display:grid}.section-placeholder{border:1px solid var(--border);background:var(--surface);border-radius:8px;min-height:150px;padding:22px}.section-placeholder h2{margin:0;font-size:18px;line-height:1.3}.section-placeholder p{color:var(--muted);margin:10px 0 0;line-height:1.55}.form-shell,.table-shell,.dialog,.status-showcase{border:1px solid var(--border);background:var(--surface);border-radius:8px;max-width:1120px;margin-top:20px;padding:22px}.form-shell h2,.table-shell h2,.dialog h2,.status-showcase h2{margin:0;font-size:18px}.form-shell-header p,.dialog-body p{color:var(--muted);margin:8px 0 0;line-height:1.55}.form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:18px;display:grid}.form-field{gap:6px;display:grid}.form-label{color:var(--foreground);font-size:14px;font-weight:700}.input-control{border:1px solid var(--border);background:var(--surface);width:100%;min-height:40px;color:var(--foreground);border-radius:8px;padding:9px 10px}.input-textarea{resize:vertical;min-height:92px}.checkbox-field{align-items:flex-start;gap:10px;display:flex}.checkbox-control{width:18px;height:18px;margin-top:2px}.field-helper,.field-error{margin:0;font-size:13px;line-height:1.4}.field-helper{color:var(--muted)}.field-error{color:var(--danger);font-weight:700}.message{border-radius:8px;margin-top:16px;padding:14px}.message p{margin:6px 0 0;line-height:1.45}.message-warning{color:#6f4e00;background:#fff7e6;border:1px solid #f6c76f}.message-error{color:var(--danger);background:#fff1f0;border:1px solid #f4b4ad}.message-success{color:var(--success);background:#e8f5ee;border:1px solid #9bd4b5}.table-scroll{overflow-x:auto}.data-table{border-collapse:collapse;width:100%;min-width:760px;font-size:14px}.data-table th,.data-table td{border-bottom:1px solid var(--border);text-align:start;vertical-align:top;padding:12px}.data-table th{color:var(--muted);text-transform:uppercase;font-size:12px;font-weight:800}.status-badge{border-radius:999px;align-items:center;width:max-content;max-width:100%;padding:4px 8px;font-size:12px;font-weight:800;display:inline-flex}.status-entity{background:var(--surface-soft);color:var(--foreground)}.status-operational{border:1px solid var(--border);background:var(--surface);color:var(--muted)}.status-active,.status-enrolled,.status-completed,.status-confirmed{color:var(--success);background:#e8f5ee}.status-archived,.status-cancelled,.status-missing{color:var(--danger);background:#fff1f0}.status-draft,.status-waiting_list{color:#6f4e00;background:#fff7e6}.badge-row{flex-wrap:wrap;gap:8px;margin:12px 0 18px;display:flex}.dialog{box-shadow:var(--shadow)}.action-dialog{inset-inline:24px;z-index:40;border-color:var(--accent);max-height:min(82vh,560px);position:fixed;bottom:24px;overflow:auto}.dialog-actions{flex-wrap:wrap;justify-content:flex-end;gap:10px;margin-top:16px;display:flex}@media (max-width:900px){.app-shell{grid-template-columns:1fr}.app-sidebar{display:none}.app-header{flex-wrap:wrap;gap:12px;padding:12px 16px}.mobile-nav{order:5;width:100%;display:block}.mobile-nav summary{cursor:pointer;width:max-content;padding:8px 0;font-weight:700}.mobile-nav-list{border:1px solid var(--border);background:var(--surface);border-radius:8px;margin-top:8px;padding:8px}.header-organization{min-width:180px}.school-year-indicator{min-width:0}.app-main{padding:24px 16px}.page-grid,.form-grid{grid-template-columns:1fr}}@media (max-width:560px){.foundation-shell{padding:16px}.foundation-panel{padding:24px}.app-header{align-items:stretch}.header-organization,.school-year-indicator,.language-switcher,.user-placeholder{width:100%}.language-option{flex:1}.page-header h1{font-size:26px}}
