.gw-filters{display:grid;grid-template-columns:140px 1fr 180px;gap:16px;margin:24px 0}.gw-toolbar,.gw-actions,.gw-state-row{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:20px 0}.gw-table{width:100%;border-collapse:collapse;background:white}.gw-table th,.gw-table td{text-align:left;padding:18px 14px;border-bottom:1px solid #e4eae4;vertical-align:middle}.gw-table small{display:block;color:#64756a;margin-top:5px}.gw-table input[type=checkbox]{width:20px;height:20px}.gw-help{line-height:1.8;color:#52675b}.gw-grant{padding:20px 0;border-bottom:1px solid #dfe7df}.gw-grant label{display:flex;gap:8px;align-items:center;padding:10px}.gw-grant input:disabled+span{opacity:.5}#gw-secret textarea{width:100%;box-sizing:border-box;line-height:1.8;padding:16px;background:#f5f8f4;border:1px solid #cedace;border-radius:10px;font:inherit;min-height:300px}#gw-detail .row{margin:16px 0}#gw-detail details{margin-top:24px}.gw-toolbar .small{width:100%;color:#64756a}@media(max-width:700px){.gw-filters{grid-template-columns:1fr}.gw-table th,.gw-table td{padding:12px 8px;min-width:90px}.gw-table td:first-child,.gw-table th:first-child{min-width:36px}.gw-toolbar .btn,.gw-actions .btn{width:100%}#gw-detail .btn{margin-bottom:8px}#gw-secret textarea{font-size:15px}.gw-grant .row{gap:6px}}

/* Batch issuance keeps the teacher workspace's blue, white and grey palette. */
#guardian-workspace-page{--gw-ink:#263d55;--gw-muted:#61758a;--gw-blue:#24569a;--gw-line:#dce5ef;min-width:0;color:var(--gw-ink);font-size:16px}
#guardian-workspace-page *,#gw-detail *{box-sizing:border-box}
.gw-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:22px;margin:20px 0 24px;scroll-margin-top:calc(var(--portal-nav-height,64px) + 20px)}
.gw-heading h1{font-size:30px;line-height:1.35;letter-spacing:-.035em;margin:0 0 8px}
.gw-heading p,.gw-result header>p{color:var(--gw-muted);line-height:1.8;font-size:15px;margin:8px 0 0}
.gw-eyebrow{display:block;color:#567698;font-size:13px;line-height:1.7;margin-bottom:7px}
.gw-heading .gw-actions{margin:0;justify-content:flex-end}
#guardian-workspace-page .btn,#gw-detail .btn{min-height:44px;border-radius:999px;box-shadow:none;padding:10px 16px;font-size:14px;line-height:1.5;border:1px solid #cedbea;background:#fff;color:#365f8e;white-space:normal}
#guardian-workspace-page .btn.primary,#gw-detail .btn.primary{color:#fff;background:#24569a;border-color:#24569a}
#guardian-workspace-page :is(button,input,select,summary):focus-visible{outline:3px solid #789dc9;outline-offset:3px}
.gw-card{min-width:0;border:1px solid var(--gw-line);border-radius:24px;padding:25px 27px;background:#fff;margin-bottom:20px}
.gw-card h2{font-size:23px;line-height:1.4;margin:0 0 12px}
.gw-card h3{font-size:18px;line-height:1.5;margin:0}
.gw-card .gw-filters{grid-template-columns:140px minmax(0,1fr) 180px;margin:0 0 20px;min-width:0}
.gw-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.gw-batch-field{display:grid;grid-template-columns:minmax(0,1fr);gap:7px;min-width:0;font-size:15px;color:#3e5b7d}
.gw-batch-field>span{font-weight:600}
.gw-batch-field :is(input,select,textarea){width:100%;min-width:0;max-width:100%;min-height:44px;padding:10px 12px;border:1px solid #c9d8e9;border-radius:12px;background:#fcfdff;color:#263d55;font:inherit}
.gw-batch-field small,.gw-help{font-size:13px;line-height:1.85;color:#61758a}
.gw-counts{display:flex;flex-wrap:wrap;gap:10px 26px;border:1px solid #dbe6f3;background:#f3f7fd;border-radius:14px;padding:14px 17px;font-size:14px;line-height:1.8}
.gw-counts strong{color:#24569a;font-weight:600;margin-left:6px}
.gw-selection{display:flex;align-items:center;justify-content:space-between;gap:15px;flex-wrap:wrap;margin:20px 0 10px;font-size:14px;color:#587493}
.gw-selection>div,.gw-result-actions{display:flex;flex-wrap:wrap;gap:9px}
.gw-result-actions{margin:18px 0}
.gw-roster{max-width:100%;min-width:0;margin-top:18px}
.gw-roster table{width:100%;table-layout:fixed;border-collapse:collapse;font-size:14px}
.gw-roster th{background:#f2f6fc;font-size:13px;font-weight:500;color:#5e7896}
.gw-roster th,.gw-roster td{padding:14px 11px;border-bottom:1px solid #e1e9f3;white-space:normal;vertical-align:middle;overflow-wrap:anywhere}
.gw-roster th:first-child:has(+th),.gw-roster td:first-child{padding-left:12px}
.gw-roster th:first-child{width:70px}.gw-result .gw-roster th:first-child{width:auto}
.gw-roster th:nth-child(2){width:20%}.gw-roster th:last-child{width:135px}
.gw-roster small{display:block;font-size:12px;color:#6e8299;line-height:1.8;margin-top:4px}
.gw-roster input[type=checkbox],.gw-checkbox input,.gw-delivery-list input{width:19px;height:19px;min-height:0;accent-color:#24569a;flex:none}
.gw-badge{display:inline-flex;border:1px solid #d2e0f1;border-radius:999px;background:#edf4fc;color:#426a98;padding:2px 9px;font-size:13px;line-height:1.8}
.gw-badge.exception{border-color:#e0d9cc;background:#f8f5ef;color:#7a664a}
.gw-confirm{display:grid;grid-template-columns:minmax(0,1fr);gap:18px;border-top:1px solid #dfe7f2;margin-top:22px;padding-top:22px;min-width:0}
.gw-confirm>*{min-width:0}.gw-confirm>.btn.primary{justify-self:end;min-width:230px}
.gw-checkbox{display:flex;align-items:flex-start;gap:11px;font-size:15px;line-height:1.85;cursor:pointer}.gw-checkbox input{margin-top:5px}
.gw-confirm summary,.gw-history>summary,.gw-exceptions>summary,.gw-delivery>summary{font-size:15px;color:#426995;line-height:1.8;min-height:44px;cursor:pointer}
.gw-selected-list{margin:12px 0 0;padding-left:22px;font-size:14px;line-height:1.9;color:#5a7390;columns:2}
.gw-note{padding:15px 18px;margin:15px 0;border:1px solid #dbe6f2;border-radius:14px;background:#f3f7fd;line-height:1.85;font-size:14px;color:#4e7096}
.gw-note .btn{margin:8px 8px 0 0}
.gw-error{padding:14px 17px;background:#fcf6f1;border:1px solid #e5d3c6;border-radius:12px;color:#854d42;font-size:14px;line-height:1.8;margin-bottom:18px}.gw-error[hidden]{display:none}
.gw-warning{color:#854d42!important}
.gw-history ul,.gw-exceptions ul{list-style:none;padding:0;margin:8px 0 0}
.gw-history li,.gw-exceptions li{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:16px 0;border-top:1px solid #e0e8f3;min-width:0}
.gw-history li>div,.gw-exceptions li>div{min-width:0;overflow-wrap:anywhere}
.gw-history li strong,.gw-exceptions li strong{font-size:15px;font-weight:600}
.gw-history small{display:block;font-size:13px;color:#69809a;margin-top:6px}
.gw-exceptions p{font-size:14px;color:#6b7e96;line-height:1.8;margin:5px 0 0}
.gw-history .btn,.gw-exceptions .btn{flex:none}
.gw-exceptions,.gw-delivery{border-top:1px solid #e0e8f3;margin-top:24px;padding-top:18px}
.gw-delivery-list{display:flex;gap:10px 22px;flex-wrap:wrap}.gw-delivery-list label{display:flex;align-items:center;gap:9px;min-height:44px;font-size:14px}
#gw-secret textarea{background:#f5f9ff;border-color:#cedbea;color:#263d55;min-height:220px;font-size:15px}
@media(max-width:900px){.gw-heading{flex-direction:column;gap:15px}.gw-heading .gw-actions{justify-content:flex-start}.gw-card .gw-filters{grid-template-columns:120px minmax(0,1fr)}.gw-card .gw-filters>label:last-child{grid-column:1/-1}}
@media(max-width:600px){#guardian-workspace-page{font-size:16px}.gw-heading{margin:12px 0 18px}.gw-heading h1{font-size:26px}.gw-heading p{font-size:14px}.gw-heading .gw-actions{gap:8px}#guardian-workspace-page .btn,#gw-detail .btn{min-height:48px}.gw-card{padding:21px 18px}.gw-card .gw-filters,.gw-fields{grid-template-columns:minmax(0,1fr);gap:15px}.gw-batch-field :is(input,select,textarea){font-size:16px;min-height:48px}.gw-roster table,.gw-roster tbody,.gw-roster tr,.gw-roster td{display:block;width:100%}.gw-roster thead{display:none}.gw-roster tr{padding:13px 0;border-top:1px solid #dfe8f3}.gw-roster td,.gw-roster td:first-child{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:7px 14px;padding:7px 0;border:0;text-align:right;min-width:0}.gw-roster td::before{content:attr(data-label);font-size:13px;color:#6b829c;text-align:left;margin-right:auto}.gw-roster td small{width:100%;margin:0;text-align:right}.gw-roster td:last-child .btn{min-width:130px}.gw-confirm>.btn.primary{width:100%;min-width:0;justify-self:stretch}.gw-selected-list{columns:1}.gw-checkbox{font-size:14px}.gw-counts{gap:8px 18px;padding:13px 14px}.gw-selection{gap:13px}.gw-history li,.gw-exceptions li{align-items:flex-start;gap:12px}.gw-history .btn,.gw-exceptions .btn{padding:9px 12px}.gw-confirm summary,.gw-history>summary,.gw-exceptions>summary,.gw-delivery>summary{min-height:48px}.gw-result-actions>.btn:first-child{flex-basis:100%}.gw-note,.gw-error{padding:13px 14px}.gw-delivery-list{display:grid;grid-template-columns:minmax(0,1fr)}}

#guardian-workspace-page .gw-result-actions>.btn:first-child{color:#fff;background:#24569a;border-color:#24569a}
