:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#fff8e8;background:#080604;font-synthesis:none;text-rendering:optimizeLegibility;--black: #080604;--panel: #14100b;--panel-soft: #1c160f;--ivory: #fff8e8;--ivory-soft: #efe1c5;--muted: #b7aa90;--gold: #c9a45c;--gold-bright: #e0bd73;--border: rgba(224, 189, 115, .22);--border-soft: rgba(255, 248, 232, .1);--danger: #ef9c8f;--success: #9cc7a3;--shadow: 0 24px 70px rgba(0, 0, 0, .28)}*{box-sizing:border-box}html{background:var(--black)}body{margin:0;min-width:320px;min-height:100vh;background:radial-gradient(circle at 20% -10%,rgba(201,164,92,.12),transparent 38rem),var(--black);color:var(--ivory)}button,input,select,textarea{font:inherit}button,a,input,select,textarea{outline-offset:3px}:focus-visible{outline:2px solid var(--gold-bright)}button:disabled{cursor:not-allowed;opacity:.55}h1,h2,h3,h4,p{margin-top:0}h1,h2,h3{font-family:Libre Baskerville,Georgia,serif;font-weight:500;letter-spacing:-.02em}h1{font-size:clamp(2rem,4vw,3.6rem);line-height:1.04}h2{font-size:clamp(1.35rem,2vw,2rem)}h3{font-size:1.08rem}p{line-height:1.65}.muted{color:var(--muted)}.brand-kicker,.eyebrow{color:var(--gold-bright);font-size:.72rem;font-weight:750;letter-spacing:.14em;text-transform:uppercase}.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}.field,.compact-field{display:grid;gap:.5rem;color:var(--ivory-soft);font-size:.86rem;font-weight:650}input,select,textarea{width:100%;border:1px solid var(--border-soft);border-radius:10px;background:#fff8e80b;color:var(--ivory);padding:.78rem .85rem}textarea{resize:vertical;line-height:1.55}select option{background:#16110c}input::placeholder,textarea::placeholder{color:#837965}.button{display:inline-flex;align-items:center;justify-content:center;min-height:42px;border:1px solid transparent;border-radius:10px;padding:.68rem 1rem;cursor:pointer;font-weight:750;transition:transform .14s ease,border-color .14s ease,background .14s ease}.button:not(:disabled):hover{transform:translateY(-1px)}.button-primary{background:var(--gold-bright);color:#181006}.button-secondary{background:transparent;border-color:var(--gold);color:var(--gold-bright)}.button-tertiary{background:#fff8e80d;border-color:var(--border-soft);color:var(--ivory-soft)}.button-block{width:100%}.alert{border-radius:10px;padding:.8rem .95rem;font-size:.88rem;line-height:1.5}.alert-error{border:1px solid rgba(239,156,143,.35);background:#ef9c8f14;color:#ffd7d0}.alert-success{border:1px solid rgba(156,199,163,.32);background:#9cc7a314;color:#d8f1dc}.auth-screen{min-height:100vh;display:grid;place-items:center;padding:1.5rem}.auth-card{width:min(440px,100%);border:1px solid var(--border);border-radius:20px;background:linear-gradient(145deg,#1c160ffa,#0d0a07fa);padding:clamp(1.5rem,5vw,2.5rem);box-shadow:var(--shadow)}.auth-card h1{margin:.55rem 0 .75rem}.auth-intro{color:var(--muted);margin-bottom:1.5rem}.auth-card .field+.field{margin-top:1rem}.auth-card .button{margin-top:1rem}.auth-footnote{margin:1rem 0 0;color:var(--muted);font-size:.76rem}.app-shell{min-height:100vh}.app-header{min-height:74px;position:sticky;top:0;z-index:20;display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:.9rem clamp(1rem,3vw,2.25rem);border-bottom:1px solid var(--border-soft);background:#080604ed;backdrop-filter:blur(18px)}.app-title{margin-top:.1rem;font-family:Libre Baskerville,Georgia,serif;font-size:1.25rem}.header-actions{display:flex;align-items:center;gap:.8rem}.header-context{color:var(--muted);font-size:.82rem}.workspace{display:grid;grid-template-columns:minmax(270px,330px) minmax(0,1fr);min-height:calc(100vh - 74px)}.roster{position:sticky;top:74px;height:calc(100vh - 74px);overflow:auto;padding:1.35rem 1rem;border-right:1px solid var(--border-soft);background:#14100b94}.roster-heading,.section-heading-row,.report-editor-header,.record-card-heading,.mini-record-topline{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem}.roster-heading h2,.section-heading-row h2,.report-editor-header h3,.record-card h3,.mini-record h3{margin-bottom:.2rem}.count-pill{min-width:2rem;height:2rem;display:grid;place-items:center;border-radius:999px;background:#c9a45c1f;color:var(--gold-bright);font-size:.78rem;font-weight:750}.search-field{display:block;margin:1rem 0}.student-list{display:grid;gap:.45rem}.student-list-item{display:grid;gap:.25rem;border:1px solid transparent;border-radius:12px;padding:.85rem;color:inherit;text-decoration:none;background:#fff8e806}.student-list-item:hover{border-color:var(--border-soft);background:#fff8e80b}.student-list-item.is-active{border-color:var(--border);background:linear-gradient(135deg,#c9a45c24,#fff8e808)}.student-list-name{font-weight:760}.student-list-meta,.student-list-signals{color:var(--muted);font-size:.73rem}.student-list-signals{display:flex;flex-wrap:wrap;gap:.4rem;align-items:center}.workspace-main{min-width:0;padding:clamp(1.2rem,3vw,2.5rem)}.page-alert{margin-bottom:1rem}.student-profile{width:min(1180px,100%);margin:0 auto}.student-hero{display:flex;align-items:flex-end;justify-content:space-between;min-height:180px;margin-bottom:1.25rem;padding:clamp(1.25rem,3vw,2rem);border:1px solid var(--border);border-radius:18px;background:linear-gradient(120deg,rgba(201,164,92,.12),transparent 55%),var(--panel)}.student-hero h1{margin:.55rem 0 .8rem}.hero-meta{display:flex;flex-wrap:wrap;align-items:center;gap:.6rem;color:var(--muted);font-size:.82rem}.status{display:inline-flex;align-items:center;width:fit-content;border:1px solid var(--border-soft);border-radius:999px;padding:.22rem .5rem;color:var(--ivory-soft);font-size:.68rem;font-weight:700;line-height:1.2}.status-published,.status-active,.status-final,.status-achieved{border-color:#9cc7a34d;color:#ccebd1}.status-draft,.status-submitted,.status-secure,.status-strong{border-color:#e0bd7352;color:var(--gold-bright)}.status-archived,.status-inactive,.status-closed,.status-neutral{color:var(--muted)}.mms-boundary-card,.profile-section,.report-editor,.record-card,.mini-record,.empty-panel,.empty-state{border:1px solid var(--border-soft);background:var(--panel)}.mms-boundary-card{display:flex;align-items:center;justify-content:space-between;gap:1.5rem;margin-bottom:1.25rem;padding:1.2rem 1.35rem;border-radius:14px}.mms-boundary-card h2{margin:.25rem 0 .35rem;font-size:1.25rem}.mms-boundary-card p{max-width:760px;margin:0;color:var(--muted);font-size:.84rem}.powered-label{flex:0 0 auto;color:var(--gold-bright);font-size:.72rem;font-weight:700}.profile-section{margin-bottom:1.25rem;padding:clamp(1rem,2.5vw,1.5rem);border-radius:16px}.section-heading-row{margin-bottom:1rem}.create-report-control{display:flex;gap:.55rem;align-items:center}.create-report-control select{min-width:210px}.report-editor{margin:.5rem 0 1.25rem;padding:clamp(1rem,2.5vw,1.4rem);border-color:var(--border);border-radius:14px}.report-editor-header{margin-bottom:1.1rem}.compact-field{min-width:190px}.editor-grid,.narrative-grid,.record-grid,.profile-columns{display:grid;gap:.8rem}.editor-grid,.narrative-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.editor-section{border:1px solid var(--border-soft);border-radius:12px;padding:.9rem;background:#fff8e805}.editor-section-heading{display:flex;justify-content:space-between;gap:.8rem;align-items:center;margin-bottom:.65rem}.editor-section-heading h4{margin:0;font-size:.92rem}.editor-section-heading select{width:auto;min-width:135px}.narrative-grid{margin-top:.8rem}.editor-actions{display:flex;justify-content:flex-end;gap:.65rem;margin-top:1rem}.record-grid{grid-template-columns:repeat(auto-fit,minmax(240px,1fr))}.record-card,.mini-record{border-radius:12px;padding:1rem}.record-card p,.mini-record p{font-size:.82rem}.record-meta-list{display:grid;gap:.45rem;margin:.9rem 0}.record-meta-list div{display:flex;justify-content:space-between;gap:1rem;font-size:.75rem}.record-meta-list dt{color:var(--muted)}.record-meta-list dd{margin:0}.profile-columns{grid-template-columns:repeat(2,minmax(0,1fr))}.stack-list{display:grid;gap:.65rem}.empty-panel,.empty-state{border-radius:12px;padding:1.2rem;color:var(--muted)}.empty-state{min-height:360px;display:grid;align-content:center;justify-items:center;text-align:center}.empty-state h1{margin:.4rem 0;font-size:2rem}.empty-copy{color:var(--muted);font-size:.8rem}.skeleton-line,.skeleton-block{border-radius:8px;background:linear-gradient(90deg,#ffffff09,#ffffff14,#ffffff09);background-size:220% 100%;animation:shimmer 1.5s infinite linear}.skeleton-line{width:55%;height:16px;margin-bottom:.8rem}.skeleton-wide{width:82%}.skeleton-block{width:100%;height:130px;margin-bottom:.8rem}.profile-loading{width:min(1180px,100%);margin:0 auto}@keyframes shimmer{to{background-position:-220% 0}}@media(max-width:900px){.workspace{grid-template-columns:1fr}.roster{position:relative;top:auto;height:auto;border-right:0;border-bottom:1px solid var(--border-soft);overflow:visible}.student-list{display:flex;overflow-x:auto;padding-bottom:.25rem}.student-list-item{min-width:235px}.profile-columns,.editor-grid,.narrative-grid{grid-template-columns:1fr}}@media(max-width:640px){.app-header{min-height:66px}.header-context{display:none}.workspace-main{padding:1rem}.student-hero,.mms-boundary-card,.section-heading-row,.report-editor-header{align-items:stretch}.mms-boundary-card,.section-heading-row,.report-editor-header,.create-report-control{flex-direction:column}.create-report-control,.compact-field,.create-report-control select{width:100%;min-width:0}.editor-section-heading{align-items:stretch;flex-direction:column}.editor-section-heading select{width:100%}.editor-actions{display:grid;grid-template-columns:1fr}.powered-label{align-self:flex-start}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;animation-duration:.001ms!important;animation-iteration-count:1!important;transition-duration:.001ms!important}}
