:root{--ink:#16233b;--paper:#f2f4f8;--brand:#1b3f8f;--brand-dark:#142f6e;--navy:#0f2557;--gold:#f0b429;--crimson:#b3262d;--line:#d9dfeb;--tab:#1b3f8f;--tab-done:#f0b429}
body{font-family:"Public Sans","Segoe UI",system-ui,sans-serif;color:var(--ink);background:var(--paper)}
.shell{display:flex;min-height:100vh}
.side{width:248px;background:#fff;border-right:1px solid var(--line);padding:1.25rem 1rem;display:flex;flex-direction:column;position:sticky;top:0;height:100vh}
.brand{font-weight:700;font-size:1.35rem;letter-spacing:.02em;margin-bottom:1.5rem;color:var(--brand)}
.brand small{display:block;font-size:.75rem;font-weight:500;color:#6b7580;letter-spacing:0}
.side .nav-link{color:var(--ink);border-radius:.4rem;padding:.55rem .75rem}
.side .nav-link:hover{background:var(--paper)}
.side .nav-link.active{background:var(--brand);color:#fff}
.side-foot{margin-top:auto;border-top:1px solid var(--line);padding-top:.75rem}
.main{flex:1;padding:2rem;max-width:1200px}
.btn-brand{background:var(--brand);color:#fff;border:0}
.btn-brand:hover{background:var(--brand-dark);color:#fff}
.auth-body{display:grid;place-items:center;min-height:100vh;background:var(--paper)}
.auth-card{background:#fff;border:1px solid var(--line);border-radius:.6rem;padding:2rem;width:min(400px,92vw)}
.folder{position:relative;display:block;background:#fff;border:1px solid var(--line);border-radius:0 .6rem .6rem .6rem;padding:1.1rem 1.1rem 1rem;margin-top:1.6rem;color:inherit;text-decoration:none;transition:border-color .15s}
.folder:hover{border-color:var(--brand);color:inherit}
.folder-tab{position:absolute;top:-1.6rem;left:-1px;background:var(--tab);border:1px solid var(--line);border-bottom:0;border-radius:.5rem .5rem 0 0;padding:.2rem .8rem;font-size:.8rem;font-weight:600}
.folder.complete .folder-tab{background:var(--tab-done)}
.folder h3{font-size:1rem;margin:0 0 .75rem;min-height:2.4em}
.progress{height:.5rem;background:#e7eae8}
.progress-bar{background:var(--brand)}
.req{background:#fff;border:1px solid var(--line);border-radius:.5rem;margin-bottom:.9rem}
.req-head{padding:.85rem 1rem;display:flex;gap:1rem;justify-content:space-between;align-items:flex-start}
.req-files{border-top:1px solid var(--line);padding:.25rem 1rem}
.file-row{display:flex;align-items:center;gap:.75rem;padding:.5rem 0;border-bottom:1px dashed var(--line)}
.file-row:last-child{border-bottom:0}
.file-row .name{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.table{--bs-table-bg:#fff}
@media(max-width:800px){.shell{flex-direction:column}.side{width:100%;height:auto;position:static}.main{padding:1rem}}

.auth-logo{display:block;width:180px;height:180px;object-fit:contain;margin:0 auto 1rem}
.brand{display:flex;align-items:center;gap:.65rem}
.brand-logo{width:100px;height: 100px;px;object-fit:contain;flex-shrink:0}
.brand span{line-height:1.15}
.dash-head{display:flex;align-items:center;gap:1.1rem;margin-bottom:1.25rem}
.dash-logo{width:84px;height:84px;object-fit:contain;flex-shrink:0}
@media(max-width:500px){.dash-logo{width:60px;height:60px}}
.access-table th{font-weight:600;font-size:.85rem}
.file-row form{margin:0}

/* ---- redesign: seal blue + gold, Mayon peak motif ---- */
body{font-family:"Figtree","Public Sans","Segoe UI",system-ui,sans-serif}
h1,h2,h3,.brand{font-family:"Bricolage Grotesque","Figtree",system-ui,sans-serif}
:focus-visible{outline:3px solid var(--gold);outline-offset:2px}
.side{background:var(--navy);border-right:0;color:#fff}
.brand{color:#fff}.brand small{color:#9fb0d6}
.side .nav-link{color:#c9d4ee}.side .nav-link:hover{background:rgba(255,255,255,.09);color:#fff}
.side .nav-link.active{background:var(--gold);color:var(--navy);font-weight:600}
.side-foot{border-top-color:rgba(255,255,255,.18);color:#fff}.side-foot .text-muted{color:#9fb0d6!important}.side-foot a{color:var(--gold)}
.btn-brand:focus-visible{box-shadow:0 0 0 .25rem rgba(240,180,41,.55)}
.section-title{color:var(--navy);font-weight:700}
.table thead th{color:var(--navy);border-bottom:2px solid var(--gold);font-weight:600}
/* login */
.auth-split{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);min-height:100vh;background:#fff}
.auth-art{align-items:center;text-align:center}
.auth-art{position:relative;overflow:hidden;background:var(--navy);color:#fff;padding:3rem;display:flex;flex-direction:column;justify-content:space-between}
.auth-seal{width:300px;height:300px;object-fit:contain;position:relative;z-index:1}
.auth-pitch{position:relative;z-index:1;max-width:30rem}
.auth-pitch h1{font-size:clamp(2rem,3.4vw,3rem);line-height:1.08;font-weight:700;margin-bottom:1rem}
.auth-pitch p{color:#c9d4ee;font-size:1.1rem;margin:0}
.auth-peaks{position:absolute;left:0;right:0;bottom:0;width:100%;height:62%}
.auth-motto{position:relative;z-index:1;margin:0;color:var(--gold);font-weight:600;font-size:.95rem}
.auth-form{display:grid;place-items:center;padding:2rem}
.auth-box{width:min(300px,100%)}
.auth-box h2{font-size:1.8rem;font-weight:500;color:var(--navy)}
@media(max-width:600px){.auth-split{grid-template-columns:1fr}.auth-art{padding:1.5rem;min-height:220px}.auth-seal{width:64px;height:64px}.auth-pitch h1{font-size:1.5rem}.auth-pitch p{display:none}.auth-peaks{height:70%}}
/* dashboard hero */
.hero{display:flex;align-items:flex-end;justify-content:space-between;gap:2rem;background:var(--navy);color:#fff;border-radius:.9rem;padding:2rem 2.25rem 0;margin-bottom:2rem;overflow:hidden}
.hero-text{padding-bottom:2rem;max-width:34rem}
.hero-school{display:flex;align-items:center;gap:.6rem;color:#c9d4ee;font-weight:500;margin-bottom:.75rem}
.hero-seal{width:34px;height:34px;object-fit:contain}
.hero h1{font-size:clamp(1.8rem,3vw,2.6rem);font-weight:700;margin-bottom:.5rem}
.hero-sub{color:#c9d4ee;margin-bottom:1.25rem}
.hero-peak{margin:0;width:min(340px,42%);flex-shrink:0;text-align:center}
.hero-peak svg{display:block;width:100%;height:auto}
.peak-base{fill:rgba(255,255,255,.14)}.peak-fill{fill:var(--gold)}
.hero-peak figcaption{position:absolute;position:static;background:rgba(0,0,0,.18);margin:0 -2.25rem;padding:.55rem 1rem;font-size:.85rem;color:#e3e9f7}
.hero-peak figcaption b{font-size:1.1rem;color:var(--gold)}
@media(max-width:700px){.hero{flex-direction:column;align-items:stretch;padding:1.5rem 1.25rem 0}.hero-peak{width:100%}.hero-peak figcaption{margin:0 -1.25rem}}
/* folder cards */
.folder{border-color:var(--line);border-radius:0 .6rem .6rem .6rem;box-shadow:none}
.folder:hover{border-color:var(--brand);box-shadow:0 0 0 2px rgba(27,63,143,.12)}
.folder-tab{color:#fff;border-color:var(--tab)}
.folder.complete .folder-tab{color:var(--navy);border-color:var(--gold)}
.folder h3{padding-right:3rem;color:var(--navy);font-weight:700}
.folder-pct{position:absolute;top:1rem;right:1.1rem;font-weight:700;font-size:1.05rem;color:var(--brand)}
.folder.complete .folder-pct{color:#8a6100}
.progress-bar{background:var(--brand)}.folder.complete .progress-bar{background:var(--gold)}
