:root{font-family:'IBM Plex Sans',system-ui,sans-serif;color:#1C1F23;background:#F4F4F1}*{box-sizing:border-box}body{margin:0}a{color:#1F5FAD}a:hover{color:#163F73}button,input,select,textarea{font:inherit}button,a,input,select,textarea{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.5}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #E8913A;outline-offset:2px}[hidden]{display:none!important}header{background:#1C1F23;color:#fff;padding:14px 32px;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px}.header-left{display:flex;align-items:center;gap:20px;flex-wrap:wrap}.brand{font-weight:700;font-size:18px;letter-spacing:.02em}nav{display:flex;gap:18px;font-size:14px;flex-wrap:wrap}nav a{color:#C9D1DA;text-decoration:none;padding-bottom:2px}nav a.active{color:#fff;border-bottom:2px solid #E8913A}nav a:hover{color:white}#account{font-size:13px;color:#C9D1DA;display:flex;gap:12px;align-items:center}#account button{color:inherit;background:none;border:0;text-decoration:underline;font-size:12px;padding:5px}main{max-width:1220px;margin:0 auto;padding:32px 24px 64px;display:flex;flex-direction:column;gap:20px}main.upload{max-width:1180px;gap:24px}h1{margin:0;font-size:30px;font-weight:700}h2{margin:0;font-size:19px;font-weight:600}h3{margin:0;font-size:16px;font-weight:600}p{margin:0;font-size:15px;line-height:1.5;color:#4A525C}.page-heading{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:12px}.heading-copy{display:flex;flex-direction:column;gap:6px}.warning-badge{font-size:14px;color:#8A4B0F;background:#FFF4E8;border:1px solid #E8913A;border-radius:6px;padding:8px 12px}.filters{display:flex;flex-wrap:wrap;gap:12px;align-items:flex-end}.field{display:flex;flex-direction:column;gap:4px}.field label{font-size:13px;color:#4A525C}input:not([type=checkbox]):not([type=file]),select,textarea{font-size:15px;min-height:44px;padding:9px 12px;border:1px solid #9AA2AC;border-radius:6px;background:#fff;color:#1C1F23;max-width:100%}input[type=search]{width:280px}input[type=checkbox]{width:18px;height:18px;margin:0}input[type=file]{font-size:14px;max-width:260px}.check{display:flex;gap:8px;align-items:center;min-height:44px;font-size:15px}.panel{background:#fff;border:1px solid #DADDE1;border-radius:8px;padding:18px 20px;display:flex;flex-direction:column;gap:12px}.product-layout{display:flex;flex-wrap:wrap;gap:20px;align-items:flex-start}.product-list{flex:999 1 560px;min-width:0;padding:6px 0}.product-detail{flex:1 1 400px;min-width:0;gap:16px}.table-wrap{overflow-x:auto}table{width:100%;border-collapse:collapse;font-size:14px;min-width:620px}th{text-align:left;color:#4A525C;font-size:13px;padding:10px 14px;border-bottom:2px solid #DADDE1;font-weight:600}td{padding:11px 14px;border-bottom:1px solid #ECEEF0;vertical-align:top}tr.selected{background:#EAF1FA;box-shadow:inset 4px 0 0 #1F5FAD}tr.retired{color:#6B727B}.mono,code{font-family:'IBM Plex Mono',monospace}.table-link{padding:0;background:none;border:none;font-family:'IBM Plex Mono',monospace;font-size:14px;color:inherit;text-align:left;text-decoration:underline;text-decoration-color:#DADDE1;text-underline-offset:3px}.selected .table-link{font-weight:500}.confirmed{color:#1E6B3A;font-weight:500}.unconfirmed{color:#8A4B0F}.small{font-size:13px;color:#4A525C}.muted{color:#6B727B}.detail-title{display:flex;flex-direction:column;gap:4px}.detail-title h2{font-size:22px;font-weight:700}.detail-title .mono{font-size:15px;color:#4A525C}dl{margin:0;display:grid;grid-template-columns:minmax(0,150px) minmax(0,1fr);gap:8px 14px;font-size:14px}dt{color:#4A525C}dd{margin:0;overflow-wrap:anywhere}.actions{display:flex;gap:10px;flex-wrap:wrap;align-items:center}.button,button.primary,button.secondary{font-size:15px;font-weight:600;min-height:44px;padding:10px 18px;border-radius:6px;text-decoration:none;display:inline-flex;align-items:center;justify-content:center}.primary,.button.primary{background:#1F5FAD;color:#fff;border:1px solid #1F5FAD}.secondary,.button.secondary{background:#fff;color:#1C1F23;border:1px solid #9AA2AC}.primary:hover{background:#163F73}.secondary:hover{background:#F4F4F1}.history-block{border-top:1px solid #ECEEF0;padding-top:14px;display:flex;flex-direction:column;gap:10px}.timeline{margin:0;padding:0;list-style:none;display:flex;flex-direction:column;gap:10px;font-size:14px}.timeline li{display:flex;flex-direction:column;gap:2px;border-left:3px solid #C9D1DA;padding-left:10px;overflow-wrap:anywhere}.timeline li:first-child{border-color:#1F5FAD}.list-footer{padding:12px 14px 8px;font-size:13px;color:#4A525C;display:flex;align-items:center;justify-content:space-between;gap:8px}.next-label{font-size:13px;font-weight:600;text-transform:uppercase;letter-spacing:.06em;color:#4A525C}.next-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px}.next-item{border:1px solid #E4E6E9;border-radius:6px;padding:10px 12px}.next-item .mono{font-size:20px;font-weight:500}.file-panel{flex-direction:row;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:16px}.file-info{display:flex;flex-direction:column;gap:4px}.summary{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:12px}.stat{background:#fff;border:1px solid #DADDE1;border-radius:8px;padding:14px 16px}.stat .value{font-size:32px;font-weight:700}.stat .caption{font-size:14px;color:#4A525C}.stat.warn,.rejections{background:#FFF4E8;border-color:#E8913A}.warn .value,.warn .caption{color:#8A4B0F}.preview-table{min-width:760px}.preview-table th{padding:8px 10px}.preview-table td{padding:9px 10px;font-family:'IBM Plex Mono',monospace;font-size:13px;overflow-wrap:anywhere;max-width:290px}.rejections h2{color:#6E3A08}.rejection{display:flex;flex-wrap:wrap;gap:6px 16px;background:#fff;border:1px solid #F0C79D;border-radius:6px;padding:12px 14px;font-size:14px}.rejection .mono{min-width:260px}.rejection .reason{flex:1 1 360px}.confirm-panel{border:2px solid #1F5FAD;display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:16px}.confirm-panel .copy{max-width:640px;display:flex;flex-direction:column;gap:4px}.empty{padding:32px 24px;text-align:center;display:flex;flex-direction:column;gap:12px;align-items:center}.auth-panel{width:100%;max-width:480px;margin:24px auto}.auth-panel form{display:flex;flex-direction:column;gap:16px}.auth-panel h1{font-size:26px}.auth-panel img{width:240px;max-width:100%;align-self:center}.auth-panel code{overflow-wrap:anywhere;background:#F4F4F1;padding:12px;border-radius:4px;font-size:14px}.error{color:#8b2020;background:#fff0ef;border:1px solid #e2a8a3;padding:12px;border-radius:6px;font-size:14px}.success{color:#1E6B3A;background:#edf7ef;border:1px solid #b8d7bf;padding:14px;border-radius:6px}.download-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:20px}.download-grid .panel{align-items:flex-start;gap:16px}#notification{position:fixed;bottom:24px;right:24px;max-width:calc(100vw - 48px);padding:14px 20px;background:#1C1F23;color:white;border-radius:6px;box-shadow:0 5px 25px #0003;z-index:10}dialog{border:1px solid #DADDE1;border-radius:8px;padding:24px;width:500px;max-width:calc(100vw - 32px);max-height:85vh;overflow:auto;background:white;color:#1C1F23}dialog::backdrop{background:#1c1f2380}dialog form{display:flex;flex-direction:column;gap:14px}dialog h2{font-size:22px}textarea{resize:vertical;min-height:90px}.row-title{font-size:16px;font-weight:600}.recovery-codes{white-space:pre-wrap;line-height:1.9}.inline-link{background:none;border:0;color:#1F5FAD;padding:0;text-decoration:underline;font-size:14px}.split{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}@media(max-width:650px){header{padding:14px 18px}main{padding:24px 16px 48px}dl{grid-template-columns:120px minmax(0,1fr)}.product-detail{padding:18px}.summary{grid-template-columns:repeat(2,minmax(0,1fr))}.file-panel{align-items:flex-start}.filters .field:first-child{width:100%}input[type=search]{width:100%}.auth-panel{margin:0 auto}h1{font-size:27px}.next-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
.preview-sections{display:flex;flex-direction:column;gap:24px}
.downloads{gap:24px}.download-overview{display:grid;grid-template-columns:1fr 1fr 1.4fr;border:1px solid #DADDE1;border-radius:8px;background:#fff;padding:20px 24px;gap:24px}.download-overview>div{display:flex;flex-direction:column;gap:6px}.download-overview>div+div{border-left:1px solid #ECEEF0;padding-left:24px}.download-overview strong{font-size:28px;font-weight:600;line-height:1.2}.download-overview .overview-date{font-size:20px;padding-top:6px}.download-layout{display:grid;grid-template-columns:minmax(0,1fr) 290px;gap:20px;align-items:start}.export-panel{padding:0;gap:0;overflow:hidden}.section-heading{padding:20px 22px;display:flex;flex-direction:column;gap:5px}.export-row{display:grid;grid-template-columns:46px minmax(0,1fr);align-items:start;gap:12px 16px;padding:22px;border-top:1px solid #ECEEF0}.file-icon{width:46px;height:54px;border:1px solid #C5D5EB;border-radius:5px;background:#EAF1FA;color:#1F5FAD;display:flex;align-items:center;justify-content:center;font-family:'IBM Plex Mono',monospace;font-size:12px;font-weight:500}.export-copy{display:flex;flex-direction:column;gap:6px}.export-copy p{font-size:14px}.export-copy .small{font-size:12px}.download-button{grid-column:2;justify-self:start}.export-notes{gap:20px}.export-notes>div{display:flex;flex-direction:column;gap:6px}.export-notes h3{font-size:14px}.export-notes p{font-size:13px;line-height:1.6}.resource-panel{padding:0;gap:0;overflow:hidden}.resource-grid{display:grid;grid-template-columns:1fr 1fr;border-top:1px solid #ECEEF0}.resource-grid article{padding:22px;display:flex;flex-direction:column;align-items:flex-start;gap:12px}.resource-grid article+article{border-left:1px solid #ECEEF0}.resource-grid p{font-size:14px;flex:1}.resource-label{font-size:10px;letter-spacing:1px;font-weight:600;color:#6B727B}.resource-footer{padding:15px 22px;background:#F8F9FA;border-top:1px solid #ECEEF0;display:flex;flex-wrap:wrap;justify-content:space-between;gap:12px;font-size:13px;color:#4A525C}.resource-footer a{font-weight:500}dialog hr{border:0;border-top:1px solid #ECEEF0;width:100%}@media(min-width:1100px){.export-row{grid-template-columns:46px minmax(0,1fr) auto;align-items:center}.download-button{grid-column:3}}@media(max-width:850px){.download-layout{grid-template-columns:1fr}.export-notes{display:none}}@media(max-width:560px){.download-overview{gap:16px;padding:18px;grid-template-columns:1fr 1fr}.download-overview>div:last-child{grid-column:1/-1;border-left:0;border-top:1px solid #ECEEF0;padding:14px 0 0}.download-overview>div+div{padding-left:16px}.resource-grid{grid-template-columns:1fr}.resource-grid article+article{border-left:0;border-top:1px solid #ECEEF0}.export-row{padding:18px}.section-heading{padding:18px}}

/* History totals share a consistent label/value rhythm and responsive dividers. */
.history-summary{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto;align-items:center;gap:24px;padding:22px 24px;background:#EAF1FA;border:1px solid #C5D5EB;border-radius:8px;color:#4A525C;min-width:0}
.history-metric{display:flex;flex-direction:column;gap:6px;min-width:0}
.history-metric+.history-metric{border-left:1px solid #C5D5EB;padding-left:24px}
.history-metric-label{font-size:13px;line-height:1.4}
.history-metric strong{color:#1C1F23;font-size:28px;line-height:1.15;font-weight:600;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.history-summary-meta{display:flex;flex-direction:column;gap:6px;text-align:right;font-size:14px;line-height:1.4}
@media(max-width:650px){.history-summary{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:18px;padding:18px}.history-metric+.history-metric{padding-left:18px}.history-summary-meta{grid-column:1/-1;border-top:1px solid #C5D5EB;padding-top:14px;text-align:left}.history-metric strong{font-size:26px}}
.history-panel{min-width:0}.history-value{max-width:280px;overflow-wrap:anywhere;white-space:pre-wrap}.status-pill{display:inline-block;padding:5px 10px;border-radius:20px;font-size:12px;font-weight:600;white-space:nowrap;background:#ECEEF0;color:#4A525C}.status-applied{background:#edf7ef;color:#1E6B3A}.status-preview{background:#FFF4E8;color:#8A4B0F}.list-footer{flex-wrap:wrap}.file-info{min-width:0;overflow-wrap:anywhere}

.sort-button{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;min-height:36px;padding:0;background:none;border:0;color:inherit;text-align:left;font:inherit;font-weight:600}.sort-button span{color:#6B727B;font-size:16px}.sort-button:hover,.sort-button:hover span,th[aria-sort=ascending] .sort-button,th[aria-sort=descending] .sort-button{color:#1F5FAD}.table-search{display:flex;flex-wrap:wrap;align-items:flex-end;gap:12px}.table-search .inline-link{min-height:44px}.table-search .field{flex:1 1 240px;max-width:440px}.table-search input[type=search]{width:100%}.history-panel table{min-width:800px}

.action-guide{padding:22px;border-top:1px solid #ECEEF0;display:flex;flex-direction:column;gap:16px;background:#F8F9FA}.action-guide dl{grid-template-columns:80px minmax(0,1fr);gap:16px}.action-guide dt code{display:inline-block;color:#1F5FAD;background:#EAF1FA;border-radius:4px;padding:4px 8px}.action-guide dd{line-height:1.6}.action-guide dd code{font-weight:600}

.admin-tabs{display:flex;gap:6px;border-bottom:1px solid #DADDE1}.admin-tabs a{display:inline-block;padding:12px 20px;color:#4A525C;text-decoration:none;border-bottom:3px solid transparent;font-weight:600}.admin-tabs a[aria-current=page]{color:#1F5FAD;border-color:#1F5FAD}.admin-tabs a:hover{background:#EAF1FA;color:#1F5FAD}.activity-details{white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px;max-width:480px}.admin-page .panel{min-width:0}.admin-page summary{cursor:pointer;color:#1F5FAD}

.uploaded-records-link{display:inline-flex;width:fit-content;max-width:100%;justify-self:start;align-self:flex-start;margin-bottom:20px;text-decoration:none}.upload-actions{display:flex;gap:8px;white-space:nowrap}.icon-button{display:inline-flex;align-items:center;justify-content:center;min-width:38px;padding:9px}.icon-button svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.danger{color:#b42318}.danger-submit{background:#b42318;border-color:#b42318}.upload-counts{display:grid;grid-template-columns:repeat(6,1fr);gap:12px;margin-top:20px}.upload-counts>div{border-left:3px solid #dbe7f6;padding-left:12px}.upload-counts strong{display:block;font-size:26px}.upload-counts span{font-size:13px;color:#52657a}.file-contents-table{font-size:13px}.file-contents-table td{min-width:100px;max-width:320px;white-space:pre-wrap;overflow-wrap:anywhere;padding:10px}.file-contents-table td:first-child{min-width:50px}.uploaded-records-page .panel{padding:20px}.uploaded-records-page .split{flex-wrap:wrap;gap:12px}@media(max-width:700px){.upload-counts{grid-template-columns:repeat(3,1fr)}}

.uploaded-records-page a.secondary,.uploaded-records-link{border:1px solid #9aa8b8;border-radius:6px;background:#fff;color:#18202a;padding:10px 16px;text-decoration:none;font-weight:600}.uploaded-records-page a.icon-button{padding:9px}.file-contents-table th{text-transform:capitalize}
