:root { --ink:#1d252c; --muted:#62707c; --accent:#276b73; --line:#dbe2e8; }
body { color:var(--ink); background:#f6f8f8; font-family:system-ui,sans-serif; }
.eyebrow { color:var(--accent); font-weight:700; font-size:.78rem; letter-spacing:.12em; }
[hidden] { display:none !important; }
.container { max-width:1220px; }
.app-header { background:white; border-bottom:1px solid var(--line); }
.app-nav { min-height:80px; display:flex; align-items:center; justify-content:space-between; gap:1rem; }
.brand { color:var(--ink); text-decoration:none; display:flex; align-items:center; gap:.7rem; font-weight:750; font-size:1.2rem; }
.brand-mark { width:32px; height:32px; border-radius:8px; background:var(--accent); color:white; display:grid; place-items:center; font-family:Georgia,serif; font-style:italic; }
.brand-divider { color:#a4b1b9; margin:0 .3rem; font-weight:400; }
.account { display:flex; align-items:center; gap:1rem; color:var(--muted); font-size:.85rem; }
.app-main { padding-top:2.75rem; padding-bottom:4rem; min-height:calc(100vh - 155px); }
.app-footer { padding:1.25rem 12px; border-top:1px solid var(--line); display:flex; justify-content:space-between; gap:1rem; color:var(--muted); font-size:.78rem; }
h1 { font-size:2.2rem; font-weight:700; letter-spacing:-.035em; }
h2 { font-weight:650; letter-spacing:-.02em; }
.surface { background:white; padding:1.8rem; border:1px solid var(--line); border-radius:12px; box-shadow:0 6px 20px #193b4405; }
.page-heading { display:flex; justify-content:space-between; align-items:center; gap:1rem; margin-bottom:1.6rem; }
.login-grid { min-height:570px; display:grid; grid-template-columns:1.2fr 1fr; gap:6rem; align-items:center; }
.login-intro h1 { font-size:3.6rem; line-height:1.08; margin:1.1rem 0 1.6rem; }
.login-intro .lead { color:var(--muted); font-size:1.1rem; line-height:1.8; }
.login-panel { padding:2.5rem; }
.thresholds { display:flex; gap:2rem; margin-top:2.7rem; }
.thresholds strong { display:block; font-size:1.8rem; font-weight:600; }
.thresholds span { display:block; font-size:.75rem; color:var(--muted); max-width:95px; }
.btn-primary { --bs-btn-bg:#276b73; --bs-btn-border-color:#276b73; --bs-btn-hover-bg:#205c63; --bs-btn-hover-border-color:#205c63; --bs-btn-active-bg:#17474d; --bs-btn-active-border-color:#17474d; --bs-btn-disabled-bg:#627c80; --bs-btn-disabled-border-color:#627c80; }
.btn-outline-primary { --bs-btn-color:#276b73; --bs-btn-border-color:#276b73; --bs-btn-hover-bg:#276b73; --bs-btn-hover-border-color:#276b73; }
.btn-link,a { color:var(--accent); }
.form-control:focus,.form-select:focus { border-color:#4d8b92; box-shadow:0 0 0 .2rem #276b7326; }
.table>:not(caption)>*>* { padding:.95rem 1.2rem; border-color:var(--line); }
.table thead th { font-size:.76rem; text-transform:uppercase; letter-spacing:.035em; color:var(--muted); background:#f9fbfb; font-weight:600; }
.table-responsive { position:relative; }
.access-code { font-family:monospace; overflow-wrap:anywhere; font-size:1.1rem; }
.code-panel { background:#eef8f4; }
.skip-link { position:absolute; z-index:100; background:white; padding:1rem; }
.year-input { width:115px; }.context-tag,.source-label { background:#eef3f3; color:var(--accent); border-radius:6px; padding:.45rem .7rem; font-size:.78rem; }
.back-link { font-size:.84rem; text-decoration:none; }.section-heading { display:flex; align-items:center; justify-content:space-between; gap:1rem; margin-bottom:1.5rem; }.section-heading h2 { font-size:1.55rem; }
.form-label { font-size:.84rem; font-weight:550; }.form-text { line-height:1.6; }.source-details { border-top:1px solid var(--line); padding-top:1rem; }.source-details summary { color:var(--accent); font-size:.85rem; cursor:pointer; }
.source-guide { display:grid; grid-template-columns:1fr 1fr; gap:1.5rem; background:#f4f8f7; border-radius:8px; padding:1.2rem; font-size:.84rem; }.source-guide strong { color:var(--accent); }.source-guide p { margin:.3rem 0 0; color:var(--muted); }
.project-row { display:grid; grid-template-columns:1.5fr 1.3fr 1fr 1fr auto; align-items:end; gap:.7rem; background:#fafbfc; border:1px solid var(--line); border-radius:8px; padding:1rem; margin-bottom:.8rem; }.project-row .form-label { font-size:.75rem; }.project-remove { margin-bottom:3px; }.empty-projects { margin-top:.8rem; }
.completeness { font-size:.83rem; }.form-check-input:checked { background-color:var(--accent); border-color:var(--accent); }.education-block { border-top:1px solid var(--line); padding-top:1.7rem; }.education-block h3 { margin-bottom:1rem; }
.wizard-actions { display:flex; justify-content:space-between; gap:.75rem; padding-top:1.5rem; }.wizard-step { display:none; }.wizard-step.active { display:block; }
.wizard-progress { display:flex; border:1px solid var(--line); border-radius:.5rem; background:#fff; overflow:hidden; box-shadow:0 8px 24px #10242c0a; }
.wizard-progress .nav-item { flex:1 1 0; min-width:0; position:relative; }.wizard-progress .nav-item:nth-child(1) { z-index:4; }.wizard-progress .nav-item:nth-child(2) { z-index:3; }.wizard-progress .nav-item:nth-child(3) { z-index:2; }.wizard-progress .nav-item:nth-child(4) { z-index:1; }
.wizard-progress .nav-link { --step-bg:#f9fbfb; position:relative; width:100%; height:100%; min-height:74px; padding:.85rem 1rem .85rem 1.35rem; border:0; border-radius:0; color:var(--muted); background:var(--step-bg); text-align:left; display:flex; align-items:center; gap:.75rem; overflow:visible; }
.wizard-progress .nav-item:not(:last-child) .nav-link::before,.wizard-progress .nav-item:not(:last-child) .nav-link::after { content:""; position:absolute; top:0; bottom:0; clip-path:polygon(0 0,100% 50%,0 100%); pointer-events:none; }
.wizard-progress .nav-item:not(:last-child) .nav-link::before { right:-22px; width:22px; background:var(--line); z-index:2; }.wizard-progress .nav-item:not(:last-child) .nav-link::after { top:1px; bottom:1px; right:-20px; width:20px; background:var(--step-bg); z-index:3; }.wizard-progress .nav-item:not(:first-child) .nav-link { padding-left:2rem; }
.wizard-progress .nav-link.active { --step-bg:#eef8f4; color:var(--ink); box-shadow:inset 0 -4px 0 var(--accent); }.wizard-progress .nav-item:not(:last-child) .nav-link.active::after { background:linear-gradient(to bottom,var(--step-bg) calc(100% - 4px),var(--accent) calc(100% - 4px)); }
.wizard-progress .step-index { flex:0 0 auto; width:1.75rem; height:1.75rem; border-radius:50%; display:inline-flex; align-items:center; justify-content:center; color:#fff; background:#778995; font-weight:700; font-size:.88rem; }.wizard-progress .nav-link.active .step-index { background:var(--accent); }.wizard-progress .step-copy { min-width:0; }.wizard-progress .step-title { display:block; color:var(--ink); font-weight:700; line-height:1.15; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }.wizard-progress .step-caption { display:block; margin-top:.15rem; font-size:.8rem; color:var(--muted); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.wizard-progress button:focus-visible { outline:3px solid #16677b; outline-offset:-5px; }
.condition-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:1rem; }.condition-card { border:1px solid var(--line); border-radius:8px; padding:1.2rem; }.condition-number { font-size:2.1rem; font-weight:650; margin:.4rem 0; font-variant-numeric:tabular-nums; }.status-badge { display:inline-block; padding:.35rem .7rem; border-radius:20px; font-size:.8rem; font-weight:600; }.status-badge.state-met { background:#e7f4ec; color:#205a3b; }.status-badge.state-unmet { background:#fcecea; color:#983c31; }.status-badge.state-incomplete { background:#f3f0e8; color:#766026; }.status-text { font-size:.8rem; font-weight:600; }.status-text.state-met { color:#205a3b; }.status-text.state-unmet { color:#983c31; }.status-text.state-incomplete { color:#766026; }.basis-badge { color:var(--accent); font-size:.75rem; }.note { background:#f2f6f7; border-left:3px solid #8ba8b0; padding:.8rem 1rem; font-size:.83rem; }.next-actions { padding:1rem; background:#fcf8f3; border-radius:8px; font-size:.85rem; }.missing-list { padding-left:1.3rem; }.missing-list .btn { font-size:.85rem; }
.planning-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:1.5rem; }.planning-grid strong { font-size:1.6rem; display:block; margin:.2rem 0; font-variant-numeric:tabular-nums; }.metric-label { font-size:.8rem; color:var(--muted); }.planning-grid small { font-size:.75rem; color:var(--muted); }
.overview-counts { display:grid; grid-template-columns:repeat(4,1fr); gap:1rem; margin:2rem 0; }.summary-count { border:1px solid var(--line); border-radius:10px; padding:1.2rem 1.4rem; background:white; }.summary-count span { font-size:.8rem; color:var(--muted); }.summary-count strong { display:block; font-size:2rem; font-weight:650; margin-top:.2rem; }
.overview-filters { display:flex; align-items:end; gap:.8rem; margin:1.5rem 0; }.search-field { flex:1; min-width:150px; }.overview-filters .form-label { font-size:.75rem; }.overview-filters select { font-size:.85rem; }.overview-table { overflow:hidden; }.table-heading { display:flex; justify-content:space-between; align-items:center; padding:1.2rem; border-bottom:1px solid var(--line); }.overview-table table { font-size:.82rem; min-width:1040px; }.overview-table th:first-child { min-width:180px; }.overview-table td { white-space:nowrap; }.overview-table .table>:not(caption)>*>* { padding:1.05rem .9rem; }.overview-table thead th { font-size:.65rem; white-space:nowrap; }.overview-table thead th>span { font-weight:400; margin-left:.2rem; }.overview-table thead small { display:block; font-size:.6rem; font-weight:400; text-transform:none; letter-spacing:0; margin-top:.3rem; }
.person-link { font-weight:650; text-decoration:none; display:block; font-size:.9rem; max-width:200px; overflow:hidden; text-overflow:ellipsis; }.person-link:hover { text-decoration:underline; }.row-subtitle { display:block; font-weight:400; font-size:.68rem; color:var(--muted); margin-top:.35rem; }.row-subtitle.state-unmet { color:#983c31; }.row-subtitle.state-met { color:#205a3b; }.percent { font-weight:600; font-size:1rem; font-variant-numeric:tabular-nums; }.booking-cell strong { font-weight:550; }.overview-footnote { color:var(--muted); font-size:.75rem; margin:1rem .2rem 0; line-height:1.7; }.empty-state { padding:3rem 2rem; text-align:center; }
.follow-up { display:flex; align-items:center; justify-content:space-between; gap:2rem; padding:1.3rem 0; }.follow-up .btn { white-space:nowrap; }.semester-detail { border-top:1px solid var(--line); padding:1.2rem 0; }.semester-detail summary { font-weight:600; font-size:.95rem; }.project-detail-table { font-size:.8rem; min-width:600px; }.project-detail-table tfoot th { font-weight:500; }.source-metadata { display:flex; flex-direction:column; gap:.35rem; color:var(--muted); overflow-wrap:anywhere; }.history-list { font-size:.82rem; line-height:1.8; }.history-list li { margin-bottom:.6rem; }.history-list li span { display:block; color:var(--muted); }
@media(max-width:767.98px) {
 .app-nav { min-height:68px; }.account { font-size:.75rem; gap:.5rem; }.account>span { max-width:130px; overflow:hidden; text-overflow:ellipsis; }
 .app-main { padding-top:1.5rem; }.login-grid { display:flex; flex-direction:column; gap:2rem; align-items:stretch; }.login-intro h1 { font-size:2.7rem; }
 .login-panel,.surface { padding:1.25rem; }.thresholds { margin-top:1.5rem; gap:2rem; }.page-heading { align-items:flex-start; flex-wrap:wrap; }
 .app-footer { font-size:.68rem; }.app-footer span { text-align:right; }h1 { font-size:1.9rem; }
 .wizard-progress { flex-direction:column; }.wizard-progress .nav-link { min-height:62px; padding:.8rem 1rem; }.wizard-progress .nav-item:not(:first-child) .nav-link { padding-left:1rem; }.wizard-progress .nav-item:not(:last-child) .nav-link::before,.wizard-progress .nav-item:not(:last-child) .nav-link::after { display:none; }.wizard-progress .nav-item:not(:last-child) .nav-link { border-bottom:1px solid var(--line); }.wizard-progress .step-caption { white-space:normal; }
 .source-guide,.condition-grid,.planning-grid { grid-template-columns:1fr; }.section-heading { flex-wrap:wrap; }.project-row { grid-template-columns:1fr 1fr; }.project-name,.project-category { grid-column:1/-1; }.project-remove { grid-column:2; justify-self:end; }.wizard-actions { flex-wrap:wrap; }.wizard-actions .btn { font-size:.8rem; }.condition-card { padding:1rem; }.planning-grid { gap:1rem; }
 .overview-counts { grid-template-columns:1fr 1fr; gap:.7rem; margin:1.5rem 0; }.summary-count { padding:1rem; }.summary-count span { font-size:.7rem; }.summary-count strong { font-size:1.6rem; }.overview-filters { flex-wrap:wrap; }.overview-filters>div { flex:1; min-width:130px; }.overview-filters .year-input { width:100%; }.overview-filters .search-field { flex:2; }.overview-table th:first-child { min-width:165px; }.follow-up { flex-direction:column; align-items:stretch; gap:1rem; }
}
.project-accounting{grid-column:1/-1;font-size:.8rem}
.project-sources{display:flex;align-items:center;flex-wrap:wrap;gap:.6rem 1.2rem;margin-bottom:.5rem}
.project-sources[hidden]{display:none}
.project-sources small{color:var(--muted)}
.project-feedback{display:flex;align-items:baseline;flex-wrap:wrap;gap:.35rem 1rem}
.project-hint{display:inline-block;margin-right:1rem}
.hint-info{color:#596674}.hint-plan,.hint-missing{color:#8a4e00}
.source-notes summary{font-size:.85rem;cursor:pointer}.source-notes li{margin-top:.5rem}
