:root{--orange: #e85e28;--deep-grey: #3d3d3c;--white: #ffffff;--light-grey: #f1f2f2;--blue: #1099d6;--green: #a5cf48;--oxford: #5a5958;--purple: #612e53;--red: #c0392b;--yellow: #f5c542;--border: #d9dadb;--font-body: "Archivo", Calibri, "Segoe UI", sans-serif;--font-heading: "Archivo", Corbel, "Segoe UI", sans-serif}*{box-sizing:border-box}body{margin:0;background:var(--white);color:var(--deep-grey);font-family:var(--font-body);font-size:15px;line-height:1.4}h1,h2,h3{font-family:var(--font-heading);font-weight:500;margin:0}h1{font-size:30px;line-height:1.1}h2{font-size:18px;margin-bottom:10px}button{font:inherit;cursor:pointer}button.primary{background:var(--orange);color:var(--white);border:0;border-radius:4px;padding:10px 16px;font-weight:600}button.primary:hover{filter:brightness(.95)}button.secondary{background:var(--white);color:var(--blue);border:1px solid var(--blue);border-radius:4px;padding:8px 14px}.link{background:none;border:0;padding:0;color:var(--blue);text-decoration:underline;cursor:pointer}.empty{color:var(--oxford);padding:12px 0}.app{max-width:1200px;margin:0 auto;padding:0 16px 48px}.app-header{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;padding:20px 0 14px;border-bottom:3px solid var(--orange);margin-bottom:18px}.org{margin:0;font-size:12px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--oxford)}.asof{margin:4px 0 0;color:var(--oxford);font-size:13px}.header-actions{display:flex;align-items:flex-start;gap:14px}.counts{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-bottom:22px}.tile{background:var(--light-grey);border-radius:4px;padding:12px 14px;border-top:4px solid var(--deep-grey)}.tile-value{display:block;font-size:30px;font-weight:500;line-height:1}.tile-label{font-size:13px;color:var(--oxford)}.tile-expired{border-top-color:var(--red)}.tile-expiring{border-top-color:var(--orange)}.tile-approved{border-top-color:var(--green)}.attention{margin-bottom:26px}.cards{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:12px}.card{border:1px solid var(--border);border-left-width:6px;border-radius:4px;background:var(--white)}.card-expired{border-left-color:var(--red)}.card-expiring{border-left-color:var(--orange)}.card-button{display:grid;gap:2px;width:100%;text-align:left;background:none;border:0;padding:12px;color:inherit}.card-button:hover{background:var(--light-grey)}.card-account{font-weight:600}.card-meta,.card-date{color:var(--oxford);font-size:13px}.card-days{font-weight:600;margin-top:4px}.card-expired .card-days{color:var(--red)}.card-expiring .card-days{color:var(--orange)}.badge{display:inline-block;justify-self:start;padding:2px 8px;border-radius:10px;font-size:12px;font-weight:600;color:var(--white);background:var(--oxford)}.status-expired{background:var(--red)}.status-expiring{background:var(--orange)}.status-approved{background:var(--green);color:var(--deep-grey)}.status-closed{background:var(--oxford)}.status-needs{background:var(--deep-grey)}.status-submitted{background:var(--yellow);color:var(--deep-grey)}.scope-bar{display:flex;justify-content:space-between;align-items:center;gap:12px;background:var(--light-grey);border-left:6px solid var(--blue);padding:10px 14px;margin-bottom:16px;border-radius:4px;font-weight:600}.find{margin-bottom:26px}.filters{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:10px}.filters input,.filters select{font:inherit;padding:8px 10px;border:1px solid var(--border);border-radius:4px;background:var(--white);color:var(--deep-grey)}.filters input{flex:1 1 220px}.table-wrap{overflow:visible}.reg-table{width:100%;border-collapse:collapse;font-size:14px}.reg-table th{text-align:left;background:var(--light-grey);padding:8px 10px;font-weight:600;white-space:nowrap}.reg-table td{padding:8px 10px;border-top:1px solid var(--border)}.reg-table tbody tr{cursor:pointer}.reg-table tbody tr:hover,.reg-table tbody tr:focus-visible{background:#f8f8f8;outline:none}.tabs{display:flex;gap:4px;margin-top:10px}.tab{background:none;border:0;border-bottom:3px solid transparent;padding:4px 10px;color:var(--oxford);font-weight:600}.tab.active{color:var(--deep-grey);border-bottom-color:var(--orange)}.overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#3d3d3c80;z-index:10}.drawer{position:fixed;top:0;right:0;bottom:0;width:min(640px,100%);background:var(--white);z-index:11;overflow-y:auto;padding:20px;box-shadow:-4px 0 16px #0003}.drawer-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:14px}.icon-button{background:none;border:0;font-size:28px;line-height:1;color:var(--oxford)}.detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px 20px;margin:0 0 16px}.detail-grid dt{font-size:12px;font-weight:600;text-transform:uppercase;letter-spacing:.04em;color:var(--oxford)}.detail-grid dd{margin:2px 0 0}.detail-grid .full{grid-column:1 / -1}.none{color:var(--oxford);font-style:italic}.drawer h3{font-size:15px;margin:18px 0 6px;color:var(--orange);font-weight:600}.history{list-style:none;padding:0;margin:0;display:grid;gap:10px;font-size:13px}.modal{position:fixed;z-index:11;top:5vh;left:50%;transform:translate(-50%);width:min(720px,calc(100% - 24px));max-height:90vh;overflow-y:auto;background:var(--white);border-radius:6px;padding:20px;box-shadow:0 8px 32px #0000004d}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px 16px;margin-bottom:12px}.field{display:grid;gap:4px;align-content:start}.field-label{font-size:13px;font-weight:600}.req{color:var(--orange);margin-left:2px}.field input,.field select,.field textarea{font:inherit;padding:8px 10px;border:1px solid var(--border);border-radius:4px;width:100%}.field-error{color:var(--red);font-size:13px;font-weight:600}.hint{font-size:13px;margin:4px 0 0;color:var(--oxford)}.form-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:14px}.user-picker{display:flex;align-items:center;gap:6px;font-size:13px;color:var(--oxford)}.user-picker select{font:inherit;padding:6px 8px;border:1px solid var(--border);border-radius:4px}.header-actions{align-items:center}.header-right{display:flex;flex-direction:column;align-items:flex-end;gap:12px}.portal-cards{display:flex;flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:6px;max-width:600px}.portal-title{font-size:11px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--oxford);margin-right:2px}.portal-card{display:inline-flex;align-items:baseline;gap:6px;font-size:12px;font-weight:600;text-decoration:none;color:var(--blue);background:var(--white);border:1px solid var(--border);border-radius:4px;padding:4px 10px}a.portal-card:hover,a.portal-card:focus-visible{border-color:var(--blue);background:var(--light-grey)}.portal-card.disabled{color:var(--oxford);background:var(--light-grey);font-weight:400;cursor:default}.portal-note{font-size:10px;font-style:italic}.sim-banner{display:flex;justify-content:space-between;align-items:center;gap:12px;background:#fff4ee;border:1px solid var(--orange);border-radius:4px;padding:8px 14px;margin-bottom:16px;font-weight:600}.sim-controls{display:flex;flex-wrap:wrap;gap:8px;margin:10px 0 18px}main>h3{font-size:16px;margin:18px 0 8px;color:var(--orange);font-weight:600}.notices{list-style:none;padding:0;margin:0;display:grid;gap:12px}.notice{border:1px solid var(--border);border-left:6px solid var(--blue);border-radius:4px;padding:12px 14px}.notice p{margin:0 0 4px}.notice-reason{font-size:13px;font-weight:600;color:var(--oxford)}.notice-subject{font-weight:600}.notice-body{margin:6px 0 0;white-space:pre-wrap;font-family:var(--font-body);font-size:14px;background:var(--light-grey);padding:10px;border-radius:4px}.notice-banner{display:flex;justify-content:space-between;align-items:center;gap:12px;background:#fff4ee;border:1px solid var(--orange);border-radius:4px;padding:8px 14px;margin-bottom:16px}.files{list-style:none;padding:0;margin:0 0 10px;display:grid;gap:6px}.files li{display:flex;flex-wrap:wrap;align-items:center;gap:10px;border:1px solid var(--border);border-radius:4px;padding:6px 10px;font-size:14px}.file-name{flex:1 1 auto;word-break:break-all}.file-size{color:var(--oxford);font-size:12px}.add-files{display:inline-block;cursor:pointer}.add-files input{position:absolute;width:1px;height:1px;opacity:0}.add-files .secondary-look{display:inline-block;background:var(--white);color:var(--blue);border:1px solid var(--blue);border-radius:4px;padding:8px 14px}.add-files:focus-within .secondary-look{outline:2px solid var(--blue);outline-offset:2px}@media (max-width: 860px){body{font-size:16px}h1{font-size:26px}.app-header{flex-direction:column;align-items:stretch;padding-top:14px}.header-right{order:-1;align-items:stretch}.header-actions{flex-wrap:wrap;justify-content:space-between}.header-actions .primary{flex:1 1 auto}.portal-cards{justify-content:flex-start;max-width:none}.counts{grid-template-columns:1fr 1fr}.cards{grid-template-columns:1fr}.filters input,.filters select,.filters .secondary{flex:1 1 100%}.scope-bar{flex-direction:column;align-items:stretch}.reg-table thead{display:none}.reg-table,.reg-table tbody,.reg-table tr,.reg-table td{display:block}.reg-table tr{border:1px solid var(--border);border-radius:4px;margin-bottom:10px;padding:6px}.reg-table td{border:0;padding:4px 6px;display:flex;gap:10px;align-items:baseline}.reg-table td:before{content:attr(data-label);font-weight:600;min-width:112px;color:var(--oxford);font-size:13px}.drawer{width:100%;padding:16px}.detail-grid{grid-template-columns:1fr}.modal{top:0;left:0;transform:none;width:100%;max-height:100vh;border-radius:0;padding:16px}.form-grid{grid-template-columns:1fr}.form-actions{position:sticky;bottom:0;background:var(--white);padding:10px 0}.notice-banner,.sim-banner{flex-direction:column;align-items:stretch}}.reg-table th.filterable{position:relative;padding:0}.th-button{display:flex;align-items:center;gap:6px;width:100%;background:none;border:0;padding:8px 10px;font:inherit;font-weight:600;color:inherit;text-align:left;white-space:nowrap}.th-button:hover,.th-button[aria-expanded=true]{background:#e4e5e6}.th-button .caret{font-size:11px;color:var(--oxford)}.th-button[data-active=true]{color:var(--deep-grey);box-shadow:inset 0 -3px 0 var(--orange)}.th-button[data-active=true] .caret{color:var(--orange)}.filter-box{position:absolute;top:100%;z-index:6;min-width:230px;max-width:320px;background:var(--white);border:1px solid var(--border);border-radius:4px;box-shadow:0 6px 20px #0000002e;padding:8px;font-weight:400}.filter-box-left{left:0}.filter-box-right{right:0}.filter-box input{width:100%;font:inherit;padding:7px 9px;border:1px solid var(--border);border-radius:4px;margin-bottom:6px}.filter-choices{display:grid;max-height:260px;overflow-y:auto}.choice{text-align:left;background:none;border:0;padding:7px 8px;border-radius:3px;font:inherit;color:var(--deep-grey)}.choice:hover{background:var(--light-grey)}.choice.selected{font-weight:600;background:#fff4ee;box-shadow:inset 3px 0 0 var(--orange)}.no-matches{margin:6px 8px;color:var(--oxford)}.reg-table .empty-row td{text-align:center;color:var(--oxford);padding:16px;cursor:default}@media (max-width: 860px){.reg-table thead{display:block;margin-bottom:8px}.reg-table thead tr{display:flex;flex-wrap:wrap;gap:6px;border:0;padding:0;margin:0}.reg-table thead th:not(.filterable){display:none}.reg-table th.filterable{position:static;border:1px solid var(--border);border-radius:4px;background:var(--light-grey)}.filter-box,.filter-box-left,.filter-box-right{position:fixed;left:12px;right:12px;top:18vh;max-width:none;min-width:0;z-index:12}.reg-table .empty-row{display:block}.reg-table .empty-row td:before{content:none}}.load-error{border:1px solid var(--red);border-left-width:6px;border-radius:4px;padding:12px 14px;display:grid;gap:8px;justify-items:start}.load-error p{margin:0;color:var(--red);font-weight:600}.erate-tag{display:inline-block;font-size:12px;font-weight:600;color:var(--blue);border:1px solid var(--blue);border-radius:10px;padding:1px 8px}.checkbox-field{align-content:center}.checkbox-label{display:flex;align-items:center;gap:8px;font-weight:600;font-size:14px}.checkbox-label input{width:auto}
