/* e-Awans NSR — visual system 0.3
   Green / graphite / ivory • responsive design • accessible interactions.
   This stylesheet intentionally layers over the pilot's established component rules. */
:root {
  --green:#14976c;
  --deep:#0b7552;
  --mint:#e7f5ed;
  --ink:#172720;
  --muted:#79867d;
  --bg:#f6f8f7;
  --line:#e7eeea;
  --soft:#f9fbfa;
  --shadow:0 7px 25px rgba(14,45,30,.035);
  --brand-ink:#0a2921;
  --radius:17px;
}
* {box-sizing:border-box}
html {scroll-behavior:smooth}
body {font-family:Inter,"Plus Jakarta Sans",ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;font-size:14px;letter-spacing:-.013em;line-height:1.56;-webkit-font-smoothing:antialiased;background:var(--bg)}
a {transition:color .18s ease}
button, input, select, textarea {font-family:inherit}
:focus-visible {outline:3px solid #57d2a2!important;outline-offset:3px!important}
::selection {background:#cbf6df;color:#083725}
button:not(:disabled) {cursor:pointer}
svg {flex-shrink:0}
h1,h2,h3 {color:#193029}
h1 {font-size:clamp(30px,3.1vw,41px);letter-spacing:-.055em;line-height:1.17;font-weight:750}
h2 {font-size:21px;font-weight:760;letter-spacing:-.038em}
h3 {font-size:16px;font-weight:720;letter-spacing:-.02em}
.muted {color:var(--muted)}
.eyebrow,.section-overline {font-size:10px;letter-spacing:.15em;font-weight:850;color:#358568;text-transform:uppercase;display:block}
.pageheading {margin-bottom:26px;align-items:center}
.pageheading .eyebrow {margin-bottom:10px}
.pageheading .muted {margin-top:7px;color:#78877e;line-height:1.6}
.pageheading h1 {margin-bottom:0}

/* THE APP FRAME */
.app {min-height:100vh;background:var(--bg)}
.sidebar {width:252px;z-index:45;flex:0 0 252px;padding:29px 15px 18px;background:radial-gradient(110% 25% at 100% 0%,rgba(41,134,96,.17),transparent),linear-gradient(178deg,#0b2b23 0%,#0c211b 73%,#091d18 100%);box-shadow:none;color:#ecf9f1}
.sidebar .brand {padding:0 10px;margin-bottom:32px;gap:12px;min-height:43px}
.logo-badge {width:43px;height:43px;border-radius:12px;font-weight:850;font-size:19px;letter-spacing:-.06em;background:linear-gradient(145deg,#2fd294,#0e8b61);box-shadow:0 7px 24px rgba(24,204,134,.16)}
.sidebar .brand strong {font-size:20px;font-weight:760;color:#fff;line-height:1.15}
.brand-trademark {font-size:8px;vertical-align:top;margin-left:4px;letter-spacing:0;color:#91cbb1;font-weight:500}
.sidebar .brand small {margin-top:5px;letter-spacing:.12em;font-weight:750;color:#8fafa0;font-size:8px;max-width:170px}
.sidebar-context {display:flex;gap:10px;align-items:center;padding:11px 10px;margin:0 3px 21px;border-radius:12px;border:1px solid #285447;background:rgba(255,255,255,.043);min-height:61px}
.context-icon {height:35px;width:35px;display:grid;place-items:center;border-radius:10px;background:#244c3e;color:#97e7bc}
.context-icon svg {width:17px;height:17px}
.sidebar-context>div:nth-child(2){min-width:0;flex:1}
.sidebar-context strong {display:block;font-size:11px;line-height:1.25;font-weight:710;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sidebar-context small{display:block;color:#85a696;font-size:10px;margin-top:3px}
.context-chevron {width:14px;height:14px;color:#719485}
.sidebar nav {display:flex;flex-direction:column;align-content:stretch;gap:5px;flex:1}
.sidebar .nav-label {letter-spacing:.17em;color:#719486;font-weight:820;font-size:9px;margin:13px 15px 10px}
.sidebar nav .nav-label {margin-top:27px}
.sidebar .navlink {color:#9eb8a9;padding:12px 12px;border-radius:11px;font-size:12.8px;gap:12px;font-weight:570;min-height:45px;letter-spacing:-.005em;position:relative}
.sidebar .navlink .nav-icon {display:grid;place-items:center;width:19px;height:20px;font-size:inherit}
.sidebar .navlink svg {width:18px;height:18px;stroke-width:1.8}
.sidebar .navlink:hover {color:white;background:rgba(193,255,217,.08)}
.sidebar .navlink.selected {color:#fafffc;background:#23533f;font-weight:730;box-shadow:inset 0 1px 0 rgba(255,255,255,.06)}
.sidebar .navlink.selected:before {content:"";position:absolute;left:-15px;top:11px;bottom:11px;background:#47d497;border-radius:0 4px 4px 0;width:3px}
.sidebar .navlink.selected svg {color:#84ecc1}
.sidebar-help {padding:18px;margin:16px 2px 16px;border:1px solid #28523f;border-radius:13px;background:linear-gradient(135deg,rgba(48,137,88,.17),rgba(12,49,33,.15));color:#f1fff7}
.sidebar-help-icon {background:rgba(150,238,190,.12);color:#8beabc;height:28px;width:28px;border-radius:8px;display:grid;place-items:center;margin-bottom:10px}
.sidebar-help-icon svg {height:16px;width:16px}
.sidebar-help strong {display:block;font-size:12px;font-weight:750;margin-bottom:5px;line-height:1.35}
.sidebar-help small {display:block;color:#91b9a3;font-size:10px;line-height:1.55}
.sidebar-bottom {margin:0 2px;padding:17px 3px 0;border-top:1px solid #214235}
.sidebar-bottom .account strong {color:#f5fff8;font-size:12px;font-weight:730}
.sidebar-bottom .account small {font-size:10px;margin-top:2px;color:#91b1a0}
.sidebar-bottom .user-dot {background:#28634c;color:white;width:36px;height:36px;flex:0 0 36px;font-size:14px}
.icon-btn {width:33px;height:34px;display:grid;place-items:center;border-radius:9px;color:#a8c8b4;transition:.2s ease}
.icon-btn:hover {background:#26533e;color:white}
.icon-btn svg {width:17px;height:17px}
.sidebar-scrim[hidden] {display:none!important}
.main {background:var(--bg);min-width:0}
.topbar {height:75px;min-height:75px;z-index:20;position:sticky;top:0;box-shadow:0 1px 0 rgba(27,76,46,.025);border-bottom:1px solid #e9efea;padding:0 clamp(23px,3.2vw,48px);background:rgba(255,255,255,.94);backdrop-filter:blur(18px)}
.top-school {font-size:12px;display:flex;align-items:center;gap:13px;letter-spacing:-.005em}
.top-breadcrumb {font-size:12px;color:#91a099;font-weight:540}
.breadcrumb-chevron {color:#c5d1c9;font-size:16px;font-weight:300}
.top-school strong {color:#244337;font-size:12px;font-weight:760}
.top-actions {gap:20px}
.top-date {color:#7d8d83;display:flex;align-items:center;gap:7px;font-size:11px;font-weight:660}
.top-date svg {width:16px;height:16px;stroke-width:1.7}
.top-separator {height:25px;width:1px;background:#e7ede8}
.top-account {display:flex;align-items:center;gap:9px;font-size:12px;color:#224331;font-weight:740;border-radius:30px;padding:5px 8px 5px 5px}
.top-account:hover {background:#f2f8f4;color:#0e724c}
.top-account>svg {width:14px;height:14px;color:#90a296;margin-left:2px}
.user-initial {border-radius:50%;background:#d9f2e4;color:#167e52;font-size:13px;font-weight:750;width:32px;height:32px;flex-basis:32px}
.content {max-width:1510px;width:100%;padding:37px clamp(23px,3.2vw,48px) 70px}
.footer {border-top:1px solid #e9eeea;margin:0 44px;padding-top:19px;color:#a6b3aa;font-size:10px}

/* BUTTONS / PANELS */
.btn {border-radius:11px;min-height:39px;padding:10px 16px;font-size:12px;font-weight:730;transition:background .2s,color .2s,transform .2s,box-shadow .2s;border:1px solid transparent;letter-spacing:-.004em}
.btn svg {height:17px;width:17px}
.btn.primary {background:#138f65;color:#fff;box-shadow:0 4px 13px rgba(19,143,101,.14)}
.btn.primary:hover {background:#08724e;transform:translateY(-1px);box-shadow:0 6px 18px rgba(19,143,101,.19)}
.btn.secondary {background:#fff;color:#246849;border:1px solid #dce9df}
.btn.secondary:hover {background:#eef8f1;border-color:#acd8b9;transform:translateY(-1px)}
.btn.small {min-height:31px;padding:7px 12px;font-size:10.5px}
.panel,.teacher-card,.stat-card {border-radius:16px;border-color:#e8eee9;box-shadow:0 3px 19px rgba(19,51,30,.027);background:white}
.panel {padding:24px 25px;margin-bottom:19px}
.panel h2 {font-size:19px}
.panel h3 {color:#254336}
.cols-2 {gap:18px}
.notice {border-radius:12px}
.info {background:#eef9f2;color:#316f52;border-radius:11px;border-left:3px solid #34b77d}
.sectionhead {margin:31px 0 15px;gap:15px}
.sectionhead h2 {font-size:20px;margin:5px 0 0}
.sectionhead .muted {font-size:11px}
.section-overline {font-size:9px;color:#7eaa8b;letter-spacing:.165em}
.counter-pill {border-radius:30px;border:1px solid #e2ece6;color:#748779;background:#fff;font-weight:700;font-size:11px;padding:6px 11px;white-space:nowrap}
.form-grid label,form label {font-size:11.5px;color:#486155;font-weight:760}
.form-grid input:not([type=checkbox]):not([type=file]),.form-grid select,.form-grid textarea,form input:not([type=checkbox]):not([type=file]),form select,form textarea {border-radius:10px;border:1px solid #dfe9e1;min-height:43px;padding:12px 13px;background:#fff;color:#20382c;font-size:12.5px;margin-top:7px}
.form-grid input:focus,.form-grid select:focus,.form-grid textarea:focus {border-color:#4ebe89;outline:3px solid #d8f5e6;outline-offset:0}
.form-grid select,form select {accent-color:#178f60}
.form-grid textarea,form textarea {line-height:1.6}
input[type=checkbox] {accent-color:#129267}
.add-box {border-color:#cbe5d6;background:#f6fbf8}
.add-box summary {color:#168358}

/* THE DASHBOARD'S PRODUCT HERO */
.dashboard-hero {min-height:254px;background:radial-gradient(circle at 74% 13%,rgba(54,186,121,.17),transparent 36%),linear-gradient(111deg,#103f30 0%,#0f4a37 56%,#0b6348 100%);color:#fff;border-radius:20px;box-shadow:0 18px 37px rgba(10,60,35,.12);overflow:hidden;isolation:isolate;position:relative}
.dashboard-hero:before {content:"";position:absolute;inset:0;opacity:.2;background-image:radial-gradient(rgba(206,255,224,.15) .7px,transparent .7px);background-size:13px 13px;mask-image:linear-gradient(110deg,transparent 25%,#000 100%);z-index:-1}
.hero-inner {display:flex;align-items:stretch;min-height:254px;position:relative}
.hero-copy {padding:36px 0 32px 39px;display:flex;flex-direction:column;justify-content:center;flex:1;min-width:0;position:relative;z-index:2}
.hero-kicker {font-size:9px;font-weight:850;letter-spacing:.16em;color:#a7e5c4;display:flex;align-items:center;gap:10px;margin-bottom:15px;white-space:nowrap}
.live-dot {height:7px;width:7px;flex:0 0 7px;border-radius:99px;background:#65e9a2;box-shadow:0 0 0 4px rgba(89,224,157,.14)}
.hero-kicker-sep {color:#75be93}
.hero-copy h1 {font-size:clamp(31px,2.9vw,43px);margin-bottom:12px;color:#fff;line-height:1.17;letter-spacing:-.05em;font-weight:800}
.title-period {color:#54dca0}
.hero-copy p {font-size:12.5px;color:#b8d7c5;line-height:1.7;margin-bottom:21px;letter-spacing:-.005em}
.hero-actions {display:flex;align-items:center;gap:19px;flex-wrap:wrap}
.hero-primary {background:white!important;color:#18573d!important;border:1px solid rgba(255,255,255,.8);font-size:11px;min-height:40px;padding:9px 12px}
.hero-primary:hover {background:#e8fff1!important;transform:translateY(-2px);box-shadow:0 7px 16px rgba(1,25,11,.13)}
.hero-primary svg:last-child {width:14px;height:14px;margin-left:5px;opacity:.65}
.hero-text-link {display:inline-flex;align-items:center;gap:8px;color:#d2f1df;font-weight:720;font-size:11px}
.hero-text-link:hover {color:white}
.hero-text-link svg {width:14px;height:14px}
.hero-art {width:320px;position:relative;flex:0 0 320px;margin-right:6px}
.hero-halo {position:absolute;left:52%;top:50%;border:1px solid rgba(225,255,239,.12);border-radius:50%;transform:translate(-50%,-50%)}
.hero-halo.one {height:222px;width:222px}
.hero-halo.two {height:300px;width:300px}
.hero-halo.three {height:380px;width:380px}
.hero-orbit-center {width:165px;height:165px;border-radius:50%;display:flex;flex-direction:column;align-items:center;justify-content:center;position:absolute;left:52%;top:50%;transform:translate(-50%,-50%);background:radial-gradient(circle at 40% 25%,rgba(161,255,193,.11),rgba(13,67,44,.91));border:1px solid rgba(183,245,207,.28);box-shadow:inset 0 1px 20px rgba(243,255,241,.06),0 16px 35px rgba(2,40,22,.21);color:white}
.hero-orbit-center small {font-size:9px;letter-spacing:.13em;color:#a2e1bc;font-weight:840;margin-top:4px}
.hero-orbit-center strong {font-size:63px;line-height:1.18;font-weight:780;letter-spacing:-.06em}
.hero-orbit-center span {font-size:10px;color:#c6e9d0}
.hero-float {position:absolute;display:flex;align-items:center;gap:6px;background:#fafffc;color:#2e6b4f;box-shadow:0 11px 24px rgba(0,28,17,.15);font-size:9.5px;font-weight:790;border-radius:10px;padding:9px 11px;white-space:nowrap;z-index:1}
.hero-float svg {width:14px;height:14px;color:#15a16b}
.hero-float-top {top:32px;left:3px;transform:rotate(-5deg)}
.hero-float-bottom {right:2px;bottom:38px;transform:rotate(4deg)}

/* KEY METRICS */
.stat-grid {gap:16px;margin:20px 0 28px}
.stat-card {padding:21px 23px 19px;min-height:152px;transition:transform .2s,box-shadow .2s}
.stat-card:hover {transform:translateY(-2px);box-shadow:0 9px 25px rgba(20,55,30,.06)}
.stat-upper {display:flex;align-items:start;justify-content:space-between;gap:8px}
.stat-card small {color:#7e9084;font-size:9.5px;letter-spacing:.07em;font-weight:830;padding-top:3px}
.stat-icon {height:36px;width:36px;display:grid;place-items:center;border-radius:11px}
.stat-icon svg {width:19px;height:19px}
.green-tint {color:#119b68;background:#e5f8ee}
.orange-tint {color:#c68b3b;background:#fff5e5}
.blue-tint {color:#4682c4;background:#edf4fd}
.stat-card>strong {font-size:39px;line-height:1.1;font-weight:780;margin:9px 0 8px;letter-spacing:-.06em;color:#172f25}
.stat-sub {font-size:10.5px!important;color:#849389;display:flex;gap:8px;align-items:center}
.stat-mini-dot {height:6px;width:6px;background:#38b980;border-radius:50%;display:block}

/* MAIN COLUMN + ASIDE */
.dashboard-columns {display:grid;grid-template-columns:minmax(0,1fr) minmax(290px,.46fr);gap:23px;align-items:start}
.dashboard-main,.dashboard-aside {min-width:0}
.dashboard-main>.sectionhead,.dashboard-aside>.sectionhead {margin-top:3px;min-height:49px}
.section-action-icon {width:18px;height:18px;color:#5aa079}
.case-search {height:44px;border:1px solid #e2eae5;background:#fff;color:#8ba399;border-radius:11px;display:flex;gap:11px;align-items:center;padding:0 15px;margin:16px 0 15px;transition:border-color .2s}
.case-search:focus-within {border-color:#36b17b;box-shadow:0 0 0 3px #e0f7e9}
.case-search svg {height:17px;width:17px}
.case-search input[type=search] {border:0;outline:0!important;box-shadow:none!important;padding:0;width:100%;height:100%;margin:0!important;background:transparent;font-size:11.8px;color:#1c3929;min-height:0}
.case-search input::placeholder {color:#a1afa5}
.casegrid {grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.teacher-card {padding:20px;min-height:205px;display:flex;flex-direction:column;transition:box-shadow .2s,transform .2s,border-color .2s}
.teacher-card:hover {transform:translateY(-3px);box-shadow:0 11px 31px rgba(18,71,43,.085);border-color:#bfe5cf}
.teacher-row {gap:10px;align-items:flex-start}
.teacher-row div:nth-child(2) {min-width:0;flex:1}
.teacher-row strong {font-size:12.8px;line-height:1.3;font-weight:750;color:#244231}
.teacher-row small {margin-top:4px;font-size:10px;line-height:1.45;overflow-wrap:anywhere}
.teacher-row .avatar {height:38px;width:38px;font-size:14px;border-radius:12px;background:#dff6e9;color:#138352}
.teacher-row .status {font-size:9px;padding:5px 8px}
.status.active {background:#e6f7eb;color:#248052}
.status.closed {background:#edf1f4;color:#617480}
.status.warning {background:#fff4e0;color:#906d2f}
.teacher-card .barline {margin:26px 0 11px}
.teacher-card .bar {height:7px;background:#edf1ed}
.teacher-card .bar:before {background:linear-gradient(90deg,#0e9a69,#6ed49a)}
.teacher-card .progress-desc {gap:10px;font-size:10px}
.teacher-card .progress-desc strong {color:#169367}
.teacher-card .card-bottom {margin-top:auto;padding-top:13px;border-color:#eff2ef;font-size:10px;gap:5px}
.teacher-card .card-bottom strong {font-size:10px}
.teacher-card .card-bottom span {font-size:18px;margin-left:auto}
.no-search-results {margin-top:15px}
.dashboard-main>.sectionhead:not(:first-child) {margin-top:29px}
.dashboard-main>.panel {margin-bottom:20px}
.dashboard-main .panel .event-row {padding:12px 0}
.dashboard-aside .side-events {padding:13px 19px}
.side-events .event-row {padding:13px 0;gap:10px;align-items:center}
.side-events .event-row strong {font-size:11px;line-height:1.4;color:#284534}
.side-events .event-row small {font-size:10px;margin-top:3px;line-height:1.5;color:#879587}
.side-events .event-hour {font-size:10px;white-space:nowrap;color:#447c58}
.side-events .calendar-day {width:41px;height:45px;flex:0 0 41px;border-radius:10px}
.calendar-day {background:#eaf8f0;color:#168657}
.calendar-day strong {font-size:17px}
.calendar-day small {font-size:9px;color:#568d6b}
.no-events {min-height:160px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:5px;padding:25px;color:#839688}
.no-events svg {width:24px;height:24px;color:#58a783;margin-bottom:5px}
.no-events strong {font-size:12px;color:#2b5540}
.no-events span {font-size:10px;line-height:1.5;max-width:210px}
.aside-quick {position:relative;margin-top:21px;overflow:hidden;border-radius:16px;background:#103e2f;color:white;padding:24px 24px 16px;box-shadow:0 10px 22px rgba(11,63,37,.06)}
.aside-quick:after {content:"";position:absolute;right:-70px;top:-70px;height:210px;width:210px;border:1px solid rgba(159,228,180,.14);border-radius:50%;box-shadow:0 0 0 55px rgba(135,221,162,.03);pointer-events:none}
.aside-quick-icon {background:#275c43;display:grid;place-items:center;border-radius:9px;height:34px;width:34px;color:#94f0ba;margin-bottom:12px}
.aside-quick-icon svg {width:19px;height:19px}
.aside-quick>span {font-size:9px;color:#8cd9af;font-weight:800;letter-spacing:.15em}
.aside-quick h3 {color:white;font-size:17px;line-height:1.35;margin:8px 0 19px;max-width:220px;letter-spacing:-.03em}
.quick-links {border-top:1px solid rgba(181,236,194,.15);padding-top:3px}
.quick-links a {display:flex;align-items:center;gap:9px;color:#c1e6cf;font-size:10.5px;font-weight:660;padding:10px 0}
.quick-links a:hover {color:white}
.quick-links a svg {height:15px;width:15px}
.quick-links a svg:last-child {margin-left:auto}

/* CASE DETAILS AND LONG-FORM CONTENT */
.timeline {background:radial-gradient(circle at right top,#edfbf1 0%,#fff 46%);padding:27px 29px}
.timeline .timeline-header {margin-bottom:23px}
.timeline-header small {font-size:9px;letter-spacing:.15em;color:#67977b}
.timeline-header h2 {font-size:23px;margin-top:3px}
.timeline-header .percent {font-size:36px;letter-spacing:-.06em;color:#138a5e}
.bar.big {height:12px;background:#e5f1e9}
.barfill {background:linear-gradient(90deg,#18a26a,#65d396)}
.timeline-steps {font-size:10px;line-height:1.65;margin-top:16px}
.timeline-steps strong {font-size:11px;color:#285c3e}
.subnav {gap:24px;padding:9px 0 18px;margin-bottom:24px}
.subnav a {font-size:12px;color:#778f7e;transition:color .2s}
.subnav a:hover {color:#10835b}
.activity,.task-card {border-color:#e7efe9;border-radius:14px;padding:20px;background:#fff}
.task-card h3 {font-size:15px}
.activity h3 {font-size:15px}
.activity .plain-text,.activity p {line-height:1.75}
.task-card .review {border-color:#e7eee7}
.task-note {background:#f5faf6}
.requirement {background:#e9f8ef;color:#137b52}
.comment {background:#f6faf7;color:#466451}
.task-card .activity-top>span:last-child {margin-left:0}
.event-row:hover {background:linear-gradient(90deg,rgba(232,250,238,.75),transparent)}
.userrow {padding:14px 1px;gap:14px}
.userrow strong {font-size:12.5px}
.userrow small {font-size:10.5px}
.userrow .avatar {height:40px;width:40px;border-radius:12px}

/* LOGIN: an actual product entry point, not a generic form */
.loginbody {padding:0;background:#f6f9f7;min-height:100vh;display:block}
.login-shell {display:grid;grid-template-columns:minmax(450px,.98fr) minmax(450px,1.02fr);min-height:100vh}
.login-brand-panel {background:radial-gradient(circle at 78% 33%,rgba(23,152,107,.24),transparent 39%),linear-gradient(145deg,#0a2b22,#0c432f 72%,#0f563b);color:white;position:relative;overflow:hidden;padding:35px clamp(34px,5vw,78px) 34px;display:flex;flex-direction:column}
.login-brand-panel:before,.login-brand-panel:after {content:"";position:absolute;border-radius:50%;border:1px solid rgba(174,255,204,.095);height:630px;width:630px;right:-300px;top:10%;pointer-events:none}
.login-brand-panel:after {height:490px;width:490px;right:-230px;top:22%;box-shadow:0 0 0 90px rgba(181,255,215,.018)}
.login-brand {display:flex;align-items:center;gap:13px;z-index:1}
.login-brand strong {display:block;font-size:22px;line-height:1.1;font-weight:800;letter-spacing:-.05em}
.login-brand small {display:block;color:#a3c9b1;font-size:8px;letter-spacing:.21em;font-weight:800;margin-top:4px}
.login-brand-content {position:relative;z-index:1;max-width:510px;display:flex;flex-direction:column;justify-content:center;flex:1;padding:75px 0 50px}
.brand-eyebrow {display:flex;align-items:center;gap:12px;letter-spacing:.15em;color:#b3e8c5;font-size:10px;font-weight:810;margin-bottom:29px}
.login-brand-content h2 {color:#fff;font-size:clamp(39px,4.4vw,68px);line-height:1.08;letter-spacing:-.055em;font-weight:810;margin-bottom:25px}
.login-brand-content h2 em {font-style:normal;color:#74df9e}
.brand-stop {color:#68f0a1}
.login-brand-content p {font-size:15px;color:#afd4bd;line-height:1.8;max-width:385px;margin-bottom:36px}
.brand-feature-row {display:flex;gap:12px;flex-wrap:wrap}
.brand-feature-row span {display:inline-flex;gap:8px;align-items:center;border:1px solid rgba(204,255,215,.2);padding:9px 12px;border-radius:8px;color:#dcf6e6;font-size:10.5px;font-weight:680;background:rgba(255,255,255,.035)}
.brand-feature-row svg {width:16px;height:16px;color:#7de6aa}
.login-brand-footer {position:relative;z-index:1;display:flex;align-items:end;justify-content:space-between;color:#9cb9a7;font-size:10px;line-height:1.65}
.login-brand-footer span:last-child {font-size:11px;letter-spacing:.13em;color:#799f8c}
.login-form-panel {display:flex;align-items:center;justify-content:center;flex-direction:column;padding:60px 30px 25px;min-width:0}
.login-card {width:min(425px,100%);background:transparent;padding:0;border:0;box-shadow:none;border-radius:0}
.login-form-top {display:flex;align-items:center;justify-content:space-between;margin-bottom:20px}
.login-form-top .eyebrow {color:#218057;font-size:10px}
.login-top-ornament {width:43px;height:43px;border:1px solid #e1ece4;border-radius:13px;display:grid;place-items:center;background:white;color:#299c70}
.login-top-ornament svg {height:20px;width:20px}
.login-card h1 {font-size:clamp(32px,3vw,43px);margin-bottom:11px;letter-spacing:-.05em}
.login-card>.muted {font-size:13px;line-height:1.7;margin-bottom:36px}
.login-card form {gap:21px}
.login-card form label {color:#344f3d;font-size:11.5px;font-weight:760}
.login-card input:not([type=checkbox]):not([type=file]) {height:51px;border-radius:11px;margin-top:9px;padding:0 15px;font-size:13px;background:white;border:1px solid #dfe9e1;box-shadow:0 2px 3px rgba(13,52,22,.01)}
.login-card input::placeholder {color:#a6b3ab}
.login-card form .btn.primary {margin-top:5px;min-height:51px;font-size:13px;font-weight:740;justify-content:center}
.login-card form .btn.primary svg {margin-left:auto;width:18px;height:18px}
.login-card form .btn.primary {padding-left:28px;padding-right:19px}
.login-card .tiny {margin-top:32px;color:#98a79c;line-height:1.8}
.login-form-foot {font-size:10px;color:#adb9b0;letter-spacing:.02em;margin-top:auto;padding-top:50px}

/* Responsive: desktop -> laptop -> phone */
@media(min-width:1640px){.dashboard-hero {min-height:275px}.hero-inner {min-height:275px}.hero-copy {padding-left:46px}.hero-art {margin-right:30px}.dashboard-columns {grid-template-columns:minmax(0,1fr) 330px;gap:27px}}
@media(max-width:1370px){.dashboard-columns {grid-template-columns:minmax(0,1fr) 300px;gap:18px}.casegrid {grid-template-columns:1fr}.teacher-card {min-height:180px}.hero-art {width:278px;flex-basis:278px}.stat-card {padding:20px}.hero-copy {padding-left:30px}}
@media(max-width:1090px){.sidebar {width:225px;flex-basis:225px;padding-inline:12px}.sidebar .navlink.selected:before {left:-12px}.sidebar-help {padding:14px}.topbar {padding-inline:25px}.content {padding-inline:25px}.dashboard-columns {grid-template-columns:minmax(0,1fr) 268px}.hero-art {width:230px;flex-basis:230px}.hero-halo.three {width:300px;height:300px}.hero-float-top {left:-13px}.hero-float-bottom {right:-10px}.hero-copy h1 {font-size:33px}.stat-card small {font-size:8.7px}.stat-card {padding:16px;min-height:139px}.casegrid {grid-template-columns:1fr}}
@media(max-width:870px){
  .sidebar {position:fixed;left:0;top:0;bottom:0;width:266px;transform:translateX(-110%);transition:transform .25s ease;box-shadow:14px 0 30px rgba(8,37,22,.23)}
  .sidebar.open {transform:translateX(0)}
  .sidebar.open~.sidebar-scrim {display:block!important;position:fixed;inset:0;background:rgba(3,22,13,.5);z-index:35;backdrop-filter:blur(2px)}
  .menu-toggle {display:grid;place-items:center;height:35px;width:35px;background:#f1f6f2;border-radius:8px;color:#19513a;flex-shrink:0}
  .menu-toggle svg {height:19px;width:19px}
  .topbar {height:67px;min-height:67px;padding:0 22px}
  .top-school {margin-right:auto;margin-left:8px}
  .content {padding:27px 22px 52px}
  .dashboard-columns {grid-template-columns:1fr;gap:10px}
  .dashboard-aside .side-events {padding:15px 20px}
  .casegrid {grid-template-columns:repeat(2,minmax(0,1fr))}
  .dashboard-aside {display:grid;grid-template-columns:1fr;gap:0}
  .footer {margin:0 22px}
  .login-shell {grid-template-columns:40% 60%}
  .login-brand-panel {padding-inline:27px}
  .login-brand-content h2 {font-size:clamp(34px,5vw,48px)}
}
@media(max-width:620px){
  h1 {font-size:30px}
  .topbar {padding-inline:15px;height:60px;min-height:60px}
  .top-school {gap:7px;font-size:11px}.top-school strong{font-size:11px}
  .top-breadcrumb,.breadcrumb-chevron,.top-date,.top-separator,.account-label,.top-account>svg {display:none}
  .top-actions {gap:4px}
  .content {padding:17px 14px 44px}
  .dashboard-hero {border-radius:16px;min-height:245px}
  .hero-inner {min-height:245px}
  .hero-copy {padding:25px 22px 28px}
  .hero-copy h1 {font-size:32px}
  .hero-copy p {font-size:11.5px;max-width:315px}
  .hero-copy p br {display:none}
  .hero-art {display:none}
  .hero-kicker {font-size:8px}
  .hero-actions {gap:12px}
  .hero-primary {font-size:10px}
  .hero-text-link {font-size:10px}
  .stat-grid {grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:13px 0 28px}
  .stat-card {min-height:129px;padding:16px;border-radius:13px}
  .stat-card:nth-child(3) {grid-column:1/-1;min-height:112px}
  .stat-card>strong {font-size:33px;margin:6px 0 5px}
  .stat-card small {font-size:8px;line-height:1.5;max-width:108px}
  .stat-icon {width:30px;height:30px;border-radius:9px}
  .stat-icon svg {width:16px;height:16px}
  .stat-sub {font-size:10px!important}
  .casegrid {grid-template-columns:1fr}
  .teacher-card {padding:20px;min-height:179px}
  .sectionhead h2 {font-size:19px}
  .sectionhead {margin:24px 0 13px}
  .panel {padding:19px 17px;border-radius:14px}
  .pageheading h1 {font-size:29px}
  .pageheading .heading-actions {width:100%}
  .timeline {padding:21px 18px}
  .timeline .timeline-header .percent {font-size:30px}
  .timeline-steps {grid-template-columns:1fr 1fr}
  .timeline-steps .center {display:none}
  .footer {margin:0 14px;font-size:9px}
  .login-shell {display:block;min-height:100vh}
  .login-brand-panel {display:none}
  .login-form-panel {min-height:100vh;padding:50px 24px 24px}
  .login-card {max-width:400px}
  .login-card h1 {font-size:35px}
  .login-card .muted {margin-bottom:29px}
  .login-form-foot {padding-top:40px}
}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto!important}*,*::before,*::after{scroll-behavior:auto!important;animation-duration:.01ms!important;transition-duration:.01ms!important}}
@media print {.sidebar,.sidebar-scrim,.topbar,.footer,.hero-art,.heading-actions,.hero-actions,.case-search {display:none!important}.app,.main,.content {display:block!important;background:white!important;max-width:100%!important;padding:0!important}.panel,.teacher-card,.stat-card {box-shadow:none!important;break-inside:avoid}.dashboard-hero {box-shadow:none!important;background:#e7f4eb!important;color:black!important}}

/* 0.5 — oryginalna identyfikacja szkoły i znak autora; brak zależności od zewnętrznych fontów i obrazów */
.school-seal{display:block;object-fit:contain;flex:0 0 auto;border-radius:50%;aspect-ratio:1}
.sidebar{overflow-y:auto;scrollbar-width:thin;scrollbar-color:#315e49 transparent}
.sidebar .brand{gap:11px;min-height:54px;margin-bottom:26px;padding:0 7px}
.sidebar-school-seal{width:52px;height:52px;background:#fff;box-shadow:0 7px 20px rgba(0,0,0,.15)}
.sidebar .brand strong{font-size:21px;letter-spacing:-.045em}
.sidebar .brand small{font-size:8px;max-width:152px}
.login-school-seal{width:73px;height:73px;background:#fff;box-shadow:0 9px 24px rgba(0,0,0,.13)}
.login-brand{gap:19px}
.login-brand-footer{gap:15px;flex-wrap:wrap}
.brand-author-credit{display:inline-flex;align-items:center;gap:7px;font-size:10px;line-height:1.35;color:inherit;letter-spacing:0;white-space:normal}
.brand-author-credit strong{font-weight:750;letter-spacing:0}
.credit-author-logo{width:24px;height:24px;object-fit:contain;border-radius:5px;flex:0 0 24px}
.login-brand-footer .login-author-credit{color:#b8d3c2}
.login-brand-footer .login-author-credit>span{font-size:10px;letter-spacing:0;color:inherit}
.sidebar-credit{padding:12px 10px 11px;margin:0 2px 6px;border-top:1px solid #204635}
.sidebar-credit .brand-author-credit{font-size:10px;color:#a1c2ae}
.sidebar-credit .brand-author-credit strong{color:#e1f5e8}
.login-form-foot{line-height:1.85;text-align:center}
.login-form-author{margin-top:6px;color:#7d9888;font-size:11px;justify-content:center}
.footer .footer-legal{margin:3px 0 8px}
.footer .app-footer-author{font-size:11px;color:#6c957b}
.footer .credit-author-logo{width:19px;height:19px;flex-basis:19px}
.login-mobile-identity{display:none}
.brand-settings-panel{max-width:950px}
.branding-settings-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-top:21px}
.branding-settings-card{border:1px solid #deebe2;border-radius:14px;padding:20px;background:linear-gradient(145deg,#fff,#f9fcf9);min-width:0}
.branding-settings-card h3{margin:13px 0 6px}
.branding-settings-card p{font-size:12px;line-height:1.6;min-height:36px}
.branding-preview{display:grid;place-items:center;height:130px;border:1px solid #e1ece3;border-radius:13px;background:linear-gradient(140deg,#edf6ef,#fff)}
.branding-preview-school .brand-preview-image{max-width:112px;max-height:112px;width:auto;height:auto;object-fit:contain}
.branding-preview-author .brand-preview-author{max-width:180px;max-height:106px;width:auto;height:auto;object-fit:contain}
.branding-author-placeholder{display:grid;place-items:center;width:68px;height:68px;border:1px dashed #aac5b3;border-radius:17px;color:#5c9276;font-size:20px;font-weight:800;letter-spacing:-.04em}
.branding-settings-card form{gap:11px}
.branding-settings-card input[type=file]{font-weight:500;max-width:100%}
.branding-settings-card .btn{white-space:normal}
.branding-reset-form{margin-top:9px}
@media(max-width:620px){
  .login-mobile-identity{display:flex;align-items:center;gap:11px;margin-bottom:32px;color:#486352;font-size:11px;font-weight:700;line-height:1.5}
  .login-mobile-seal{width:57px;height:57px}
  .branding-settings-grid{grid-template-columns:1fr}
  .login-form-panel{padding-top:32px}
}
@media(max-width:440px){.sidebar-school-seal{width:48px;height:48px}.branding-settings-card{padding:15px}}

/* e-Awans 0.6: personal branding and easier form discoverability */
.login-brand-footer .credit-author-logo{width:36px;height:36px;flex-basis:36px;border-radius:8px}
.login-form-foot .credit-author-logo{width:26px;height:26px;flex-basis:26px}
.sidebar-credit .credit-author-logo{width:30px;height:30px;flex-basis:30px}
.footer .credit-author-logo{width:27px;height:27px;flex-basis:27px}
.userrow .btn{flex-shrink:0}
#case-edit{scroll-margin-top:85px}
#case-edit form{margin-top:16px}
#case-edit .info{line-height:1.6}
@media(max-width:640px){.userrow .btn{white-space:normal;text-align:center}}

/* v0.7 — restricted, irreversible teacher deletion. */
.btn.danger-outline {
  display:inline-flex;align-items:center;justify-content:center;
  background:#fff;color:#a52935;border:1px solid #edc0c6;
}
.btn.danger-outline:hover {background:#fff1f2;border-color:#cf7783;color:#7f1d1d}
.btn.danger-solid {background:#ab2837;color:#fff;border:1px solid #ab2837;box-shadow:0 5px 12px rgba(171,40,55,.12)}
.btn.danger-solid:hover {background:#841c2a;color:#fff;box-shadow:0 6px 16px rgba(171,40,55,.21)}
.delete-confirmation-panel {max-width:780px;padding:clamp(20px,3vw,34px)}
.delete-warning-heading {display:flex;align-items:center;gap:17px;margin-bottom:22px}
.delete-warning-heading h2 {margin:5px 0 3px;font-size:22px;color:#2b3531}
.delete-warning-heading .muted {margin:0}
.delete-warning-heading .eyebrow {color:#a32b35}
.delete-warning-symbol {display:grid;place-items:center;width:54px;height:54px;border-radius:16px;background:#fee9ec;color:#a3293a;font-size:28px;font-weight:850;flex-shrink:0}
.delete-warning-block {padding:17px 19px;border:1px solid #f1c2c8;border-left:4px solid #c13847;background:#fff5f6;border-radius:12px;color:#653139;line-height:1.7;font-size:12px;margin-bottom:21px}
.delete-warning-block strong {display:block;color:#992b37;margin-bottom:4px;font-size:13px}
.delete-impact-grid {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:17px 0 23px}
.delete-impact-item {background:#f8faf9;border:1px solid #e5ede8;border-radius:13px;padding:13px 12px;display:flex;flex-direction:column;gap:3px;min-height:78px}
.delete-impact-item strong {font-size:23px;color:#253d2e;font-weight:780;line-height:1.25}
.delete-impact-item span {font-size:10px;color:#77877d;line-height:1.35}
.delete-confirmation-form {border-top:1px solid #edf0ed;margin-top:24px;padding-top:23px;max-width:100%}
.delete-confirmation-form label {font-size:12px}
.delete-confirmation-form label strong {color:#a0212e}
.delete-confirmation-actions {display:flex;align-items:center;gap:11px;justify-content:flex-end;flex-wrap:wrap;margin-top:10px}
.teacher-delete-entry {border:1px solid #eddee0;background:linear-gradient(115deg,#fff,#fffafb)}
@media(max-width:700px) {
  .delete-impact-grid {grid-template-columns:repeat(2,minmax(0,1fr))}
  .delete-warning-heading h2 {font-size:18px}
  .delete-confirmation-actions>* {width:100%;text-align:center}
}


/* 0.7.1: minimalne oznakowanie logowania i menu, bez zmian PHP biznesowego. */
.school-seal {
    width:auto;
    aspect-ratio:auto;
    border-radius:0;
    background:transparent;
    box-shadow:none;
    object-fit:contain;
}
.login-school-seal {width:64px;height:76px}
.sidebar-school-seal {width:48px;height:57px}
.login-mobile-seal {width:44px;height:53px}
.login-brand {gap:15px;align-items:center}
.login-brand>div {min-width:0;max-width:420px}
.login-brand small.school-fullname {
    display:block;
    color:#c9e8d3;
    letter-spacing:0;
    font-size:11px;
    font-weight:640;
    line-height:1.4;
    text-transform:none;
    max-width:35ch;
    margin-top:7px;
    overflow-wrap:normal;
}
.sidebar .brand {align-items:center;gap:11px;min-height:72px}
.sidebar .brand>div {min-width:0;flex:1}
.sidebar .brand small.school-fullname {
    color:#b0d8c0;
    font-size:9.5px;
    font-weight:620;
    letter-spacing:0;
    line-height:1.35;
    text-transform:none;
    white-space:normal;
    max-width:none;
    margin-top:5px;
}
.login-mobile-identity span {line-height:1.4;min-width:0}
@media(max-width:960px) {
    .login-brand small.school-fullname {font-size:10px;max-width:31ch}
    .login-brand {gap:12px}
    .login-school-seal {width:58px;height:70px}
}
@media(max-width:620px) {
    .login-mobile-identity {gap:12px}
    .sidebar .brand {min-height:75px}
}

/* Panel poczty jest widoczny wyłącznie w ustawieniach dyrekcji. */
.mail-config-list{display:grid;gap:0;margin:15px 0 18px;border:1px solid var(--line, #dfe8e3);border-radius:14px;overflow:hidden}
.mail-config-list>div{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:11px 14px;border-bottom:1px solid var(--line, #dfe8e3)}
.mail-config-list>div:last-child{border-bottom:0}
.mail-config-list strong{font-size:.87rem}
.mail-config-list span{font-size:.85rem;color:var(--muted, #597469);text-align:right;overflow-wrap:anywhere}
@media(max-width:570px){.mail-config-list>div{align-items:flex-start;flex-direction:column;gap:4px}.mail-config-list span{text-align:left}}
