/* R222: scoped annual billing layout. Existing colours and controls retained. */
.eh218 {--aw-bg:#071827;--aw-panel:#0e2a40;--aw-line:#31536b;--aw-fg:#f4f8ff;--aw-muted:#b5cce0;--aw-accent:#5ecbff;color:var(--aw-fg);font:15px/1.55 system-ui,sans-serif;width:100%;max-width:none;margin:0;padding:0;box-sizing:border-box}
.eh218 *{box-sizing:border-box}.eh218 button,.eh218 input,.eh218 select,.eh218 textarea{font:inherit}.eh218 h1{font-size:27px;line-height:1.2;margin:0 0 8px}.eh218 h2{font-size:21px;margin:0 0 14px}.eh218 h3{font-size:17px;margin:10px 0}.eh218 p{margin:8px 0 16px}.eh218 small,.eh218 .muted{color:var(--aw-muted)}
.eh218 .aw-head,.eh218 .aw-row,.eh218 .aw-actions{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.eh218 .aw-head{justify-content:space-between;margin-bottom:18px}.eh218 .aw-grow{flex:1;min-width:200px}.eh218 .aw-tabs{display:flex;flex-wrap:wrap;gap:8px;margin:16px 0}.eh218 button,.eh218 .aw-link{color:var(--aw-fg);border:1px solid var(--aw-line);border-radius:8px;background:#153a54;padding:10px 15px;cursor:pointer;text-decoration:none;min-height:44px}.eh218 button:hover{border-color:var(--aw-accent)}.eh218 button[aria-current=true],.eh218 .aw-primary{background:#2762bc;border-color:#5ea8ff}.eh218 .aw-danger{background:#592a30;border-color:#ae6d6d}.eh218 button:disabled,.eh218 input:disabled,.eh218 select:disabled{opacity:.55;cursor:not-allowed}.eh218 :focus-visible{outline:3px solid var(--aw-accent);outline-offset:3px}
.eh218 .aw-panel{background:var(--aw-panel);border:1px solid var(--aw-line);border-radius:12px;padding:20px;margin:14px 0}.eh218 .aw-notice{background:#103c38;border:1px solid #448b77;border-radius:9px;padding:12px 15px;margin:12px 0}.eh218 .aw-warning{background:#423519;border-color:#b9923c}.eh218 .aw-error{background:#481e27;border:1px solid #d88998;border-radius:9px;padding:14px;margin:12px 0;white-space:pre-wrap}.eh218 .aw-error:empty,.eh218 .aw-notice:empty{display:none}.eh218 .aw-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:16px}.eh218 .aw-stat{background:var(--aw-panel);border:1px solid var(--aw-line);padding:17px;border-radius:10px}.eh218 .aw-stat strong{display:block;font-size:28px;margin:4px 0}.eh218 label{display:flex;flex-direction:column;gap:5px;font-weight:600}.eh218 label.aw-check{flex-direction:row;align-items:flex-start;font-weight:400;gap:10px}.eh218 input,.eh218 select,.eh218 textarea{width:100%;min-height:44px;padding:9px 11px;background:#061c2d;color:var(--aw-fg);border:1px solid #51708a;border-radius:7px}.eh218 input[type=checkbox]{min-height:20px;width:20px;flex:0 0 20px;margin-top:3px}.eh218 textarea{min-height:90px;resize:vertical}.eh218 .aw-field{margin:12px 0}.eh218 .aw-table-wrap{overflow:auto;max-width:100%;border:1px solid var(--aw-line);border-radius:9px;margin:14px 0}.eh218 table{border-collapse:collapse;width:100%;text-align:left;min-width:600px}.eh218 th{background:#174363;font-size:13px;letter-spacing:.02em}.eh218 th,.eh218 td{padding:11px 12px;border-bottom:1px solid var(--aw-line);vertical-align:top}.eh218 td .aw-actions{gap:6px}.eh218 td button{padding:6px 9px}.eh218 .aw-lines table{min-width:1020px}.eh218 .aw-lines select{min-width:150px}.eh218 .aw-lines input{min-width:85px}.eh218 .aw-lines .line-desc{min-width:150px}.eh218 .aw-badge{display:inline-block;border:1px solid #62839e;border-radius:20px;padding:2px 9px;font-size:12px;letter-spacing:.04em}.eh218 .aw-total{text-align:right;font-size:22px;font-weight:750;margin:18px 0}.eh218 .aw-empty{padding:24px;text-align:center;color:var(--aw-muted)}.eh218 .aw-loading{padding:35px;text-align:center}.eh218 .aw-pre{white-space:pre-wrap;overflow-wrap:anywhere}.eh218 .aw-pages{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:12px 0}.eh218 .aw-help{border-left:3px solid #5ecbff;padding:0 14px;margin:14px 0}.eh218 .aw-rule{border:0;border-top:1px solid var(--aw-line);margin:20px 0}
body.eh218-standalone{margin:0;background:#071827;color:#f4f8ff}.eh218-standalone>header{width:100%;max-width:none;margin:0;padding:18px 22px;border-bottom:1px solid #31536b;display:flex;justify-content:space-between;gap:12px}.eh218-standalone>header a{color:#83d3ff}
@media(max-width:680px){.eh218{padding:12px}.eh218 h1{font-size:23px}.eh218 .aw-panel{padding:14px}.eh218 .aw-grid{grid-template-columns:1fr}.eh218 .aw-tabs button{flex:1 1 130px}.eh218 .aw-head .aw-actions{width:100%}.eh218 .aw-head .aw-actions button{flex:1}.eh218 .aw-pages{flex-wrap:wrap}.eh218 .aw-head select{width:100%}.eh218 .aw-row>.aw-grow{min-width:100%}}
html[data-theme="light"] .eh218{--aw-bg:#f3f7fc;--aw-panel:#ffffff;--aw-line:#b9cbdc;--aw-fg:#173249;--aw-muted:#47617a;--aw-accent:#1c67b0}
html[data-theme="light"] .eh218 input,html[data-theme="light"] .eh218 select,html[data-theme="light"] .eh218 textarea,html[data-theme="light"] .eh218 button,html[data-theme="light"] .eh218 .aw-link{background:#edf4fb;color:#173249}
html[data-theme="light"] .eh218 th{background:#dcebf7}html[data-theme="light"] .eh218 .aw-primary,html[data-theme="light"] .eh218 button[aria-current=true]{background:#245fb6;color:#fff}html[data-theme="light"] .eh218 .aw-notice{background:#e7f5ee;color:#184c38}html[data-theme="light"] .eh218 .aw-warning{background:#fff3d8;color:#5e4617}html[data-theme="light"] .eh218 .aw-error{background:#fff0f0;color:#7d2533}html[data-theme="light"] .eh218 .aw-danger{background:#902f3d;color:#fff}
@media print{body.eh218-print *{visibility:hidden!important}body.eh218-print #aw-print,body.eh218-print #aw-print *{visibility:visible!important}body.eh218-print #aw-print{position:absolute;left:0;top:0;width:100%;padding:14mm;color:#000;background:#fff;font:11pt/1.45 serif}body.eh218-print #aw-print table{min-width:0;color:#000}body.eh218-print #aw-print th,body.eh218-print #aw-print td{background:#fff;color:#000;border-color:#aaa;padding:6pt}body.eh218-print #aw-print .muted{color:#333}body.eh218-print #aw-print .aw-table-wrap{overflow:visible;border-color:#aaa}body.eh218-print #aw-print button{display:none!important}body.eh218-print #aw-print tr{break-inside:avoid}}

/* R222: coordinator and school search share one desktop row in all three lists. */
.eh218 .aw-year-buttons{justify-content:flex-end;gap:8px;margin-bottom:14px}
.eh218 .aw-filter-row{display:grid;grid-template-columns:minmax(180px,1fr) minmax(220px,2fr) auto;gap:12px;align-items:end}
.eh218 .aw-filter-row label{min-width:0}
.eh218 .aw-filter-row button{align-self:end}
@media(max-width:680px){.eh218 .aw-filter-row{grid-template-columns:1fr}.eh218 .aw-year-buttons{justify-content:flex-start}.eh218 .aw-year-buttons button{flex:1 1 135px}}

/* R225: use the existing portal content width; keep all colours and form layouts. */
body[data-portal-module="annual-workspace-r218"] #content{width:100%!important;max-width:none!important}
body[data-portal-module="annual-workspace-r218"] .eh218>.aw-tabs{margin-top:0}
body.eh218-standalone #annual-host{padding:18px 22px}
@media(max-width:680px){body[data-portal-module="annual-workspace-r218"] .eh218{padding:0}body.eh218-standalone #annual-host{padding:12px}}

#annual-year-controls{display:flex;gap:8px;flex-wrap:wrap}#annual-year-controls button{font:inherit;min-height:44px;padding:9px 14px;border:1px solid #31536b;border-radius:8px;background:#153a54;color:#f4f8ff;cursor:pointer}#annual-year-controls button[aria-current="true"]{background:#2762bc;border-color:#5ea8ff}

.eh218-standalone>header{flex-wrap:wrap;align-items:center;min-width:0}.eh218-standalone>header>*{min-width:0}@media(max-width:680px){.eh218-standalone>header{padding:12px;gap:12px}.eh218-standalone #annual-year-controls{order:3;flex:1 1 100%;width:100%}.eh218-standalone>header>a{margin-left:auto;max-width:55%;overflow-wrap:anywhere}.eh218-standalone #annual-year-controls button{flex:1 1 125px}}

.eh218-standalone>header,.eh218-standalone>header>*{box-sizing:border-box}
