:root{--orange:#ff6d0f;--ink:#172033;--muted:#667085;--line:#dfe3ea;--bg:#f4f6f9;--white:#fff;--danger:#b42318}*{box-sizing:border-box}[hidden]{display:none!important}body{margin:0;background:var(--bg);color:var(--ink);font:15px/1.5 system-ui,-apple-system,"Segoe UI",sans-serif}nav{display:flex;align-items:center;gap:1.3rem;padding:.85rem 2rem;background:var(--ink);color:#fff}nav a,nav .link{color:#fff;text-decoration:none}.brand{font-weight:750}.grow{flex:1}nav form{margin:0}.link{border:0;background:none;padding:0}main{max-width:1400px;margin:2rem auto;padding:0 1.5rem}h1{font-size:1.8rem}h2{font-size:1.15rem}.card{background:var(--white);border:1px solid var(--line);border-radius:10px;padding:1.2rem;margin:1rem 0;box-shadow:0 2px 8px #1720330a}.narrow{max-width:460px}.stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem}.stats .card{display:flex;flex-direction:column}.stats b{font-size:2rem;color:var(--orange)}label{display:flex;flex-direction:column;gap:.35rem;font-weight:650;margin:.8rem 0}input,select{min-width:180px;border:1px solid #b8c0cc;border-radius:6px;padding:.62rem;font:inherit;background:#fff}button,.button{display:inline-block;border:0;border-radius:6px;background:var(--orange);color:#fff;padding:.65rem .95rem;font:inherit;font-weight:700;text-decoration:none;cursor:pointer}button:disabled{cursor:wait;opacity:.7}button+button{margin-left:.5rem}.inline{display:inline-block;margin:.15rem}.filters{display:flex;align-items:flex-end;gap:1rem;flex-wrap:wrap}.filters label{margin:0}.tablewrap{overflow:auto}table{width:100%;border-collapse:collapse}th,td{text-align:left;padding:.7rem;border-bottom:1px solid var(--line);white-space:nowrap}th{font-size:.82rem;text-transform:uppercase;color:var(--muted)}.badge{display:inline-block;border-radius:100px;background:#eef1f5;padding:.2rem .55rem;font-size:.8rem}.masked{letter-spacing:.12em;color:var(--muted)}.flash{padding:.8rem 1rem;border-radius:6px;background:#ecfdf3;color:#067647}.flash.error{background:#fef3f2;color:var(--danger)}.export{display:flex;align-items:center;justify-content:space-between;gap:1rem}.pagination{display:flex;align-items:center;justify-content:space-between;gap:1rem;flex-wrap:wrap;margin-top:1rem}.pagination nav{display:flex;align-items:center;gap:.5rem;padding:0;background:none;color:var(--ink)}.page-button{padding:.4rem .7rem}.diagnostic-console{overflow:auto;white-space:pre-wrap;word-break:break-word;border:1px solid #344054;border-radius:6px;background:#101828;color:#f2f4f7;padding:.85rem;font:13px/1.55 ui-monospace,SFMono-Regular,Consolas,monospace}.poll-progress{position:fixed;z-index:1000;inset:0;display:grid;place-items:center;padding:1rem;background:#101828b8;backdrop-filter:blur(2px)}.poll-progress-panel{display:flex;flex-direction:column;align-items:center;gap:.8rem;width:min(460px,100%);border-radius:12px;background:#fff;padding:1.6rem;box-shadow:0 20px 45px #0004;text-align:center}.loading-spinner{width:42px;height:42px;border:5px solid #ffe0cc;border-top-color:var(--orange);border-radius:50%;animation:spin .8s linear infinite}.progress-track{position:relative;width:100%;height:8px;overflow:hidden;border-radius:999px;background:#e4e7ec}.progress-track span{position:absolute;inset:0 auto 0 -35%;width:35%;border-radius:inherit;background:var(--orange);animation:progress 1.15s ease-in-out infinite}@keyframes spin{to{transform:rotate(360deg)}}@keyframes progress{0%{left:-35%}100%{left:100%}}@media(prefers-reduced-motion:reduce){.loading-spinner,.progress-track span{animation-duration:2.5s}}dl{display:grid;grid-template-columns:180px 1fr;gap:.5rem}dt{font-weight:700}dd{margin:0}@media(max-width:760px){nav{align-items:flex-start;flex-wrap:wrap;padding:1rem}.grow{display:none}main{padding:0 .8rem}.stats{grid-template-columns:1fr}.export{align-items:flex-start;flex-direction:column}.pagination{align-items:flex-start;flex-direction:column}.pagination nav{flex-wrap:wrap}dl{grid-template-columns:1fr}dd{margin-bottom:.7rem}}

.stats .stat-link{color:var(--ink);text-decoration:none}.stats .stat-link:hover{border-color:var(--orange);box-shadow:0 3px 12px #17203318}.stats .stat-link:focus-visible{outline:3px solid var(--orange);outline-offset:3px}
/* Wide data views with wrapping identifiers and a visible overflow fallback. */
main{max-width:none;width:100%;padding:0 clamp(.8rem,1.6vw,2rem)}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.data-table{table-layout:fixed;font-size:.86rem}
.data-table th,.data-table td{white-space:normal;overflow-wrap:anywhere;padding:.65rem .45rem;vertical-align:top}
.data-table th{font-size:.73rem}.data-table .badge{white-space:normal;overflow-wrap:anywhere;font-size:.75rem}
.data-table .uuid{font:.76rem/1.5 ui-monospace,SFMono-Regular,Consolas,monospace}
.uuid>span{display:block}
.deliveries-table th:nth-child(-n+3){width:12%}
.deliveries-table th:nth-child(6){width:4%}
.deliveries-table th:nth-child(9),.deliveries-table th:nth-child(10){width:10%}
.data-table th:last-child{width:4.5%}
.vouchers-table th:first-child{width:14%}.vouchers-table th:nth-child(4){width:14%}
.vouchers-table th:nth-child(6){width:7%}.vouchers-table th:nth-child(7){width:9%}
.icon-button{display:inline-flex;align-items:center;justify-content:center;padding:.4rem;width:34px;height:34px;min-width:34px;line-height:1;vertical-align:middle}
.icon-button:focus-visible{outline:3px solid var(--ink);outline-offset:3px}
.tablewrap{scrollbar-width:auto;scrollbar-color:#c45400 #ffe0c7;scrollbar-gutter:stable}
.tablewrap::-webkit-scrollbar{height:16px;width:16px}
.tablewrap::-webkit-scrollbar-track{background:#ffe0c7;border-radius:8px}
.tablewrap::-webkit-scrollbar-thumb{background:#c45400;border:3px solid #ffe0c7;border-radius:8px}
.tablewrap::-webkit-scrollbar-thumb:hover{background:#923b00}
.scroll-hint{color:#8a3900;background:#fff0e3;padding:.4rem .7rem;font-size:.85rem;border-radius:6px}
.filters label{min-width:0}.filters input,.filters select{max-width:100%}
@media(max-width:1000px){.data-table{min-width:960px}.tablewrap{padding:.65rem}}
nav{flex-wrap:wrap}
.sort-link{color:inherit;text-decoration:none;display:inline-block}.sort-link span{white-space:nowrap;color:#9c4000}.sort-link:focus-visible{outline:2px solid var(--orange);outline-offset:3px}.sort-link:hover{text-decoration:underline}

.app-info,.help-toolbar{display:flex;align-items:center;justify-content:space-between;gap:1rem;flex-wrap:wrap}
.user-help{max-width:1100px;line-height:1.65}.user-help section{scroll-margin-top:1rem;margin-top:2rem}.user-help h2{font-size:1.35rem}.user-help h3{font-size:1.05rem}
.help-toc{display:flex;flex-wrap:wrap;gap:.6rem 1.2rem;padding:1rem;background:#fff0e3;border-radius:8px;color:var(--ink)}.help-toc a{color:#8a3900;text-decoration:underline}
.user-help dl{grid-template-columns:210px minmax(0,1fr)}.user-help dd{overflow-wrap:anywhere}.user-help li{margin:.4rem 0}.user-help th,.user-help td{white-space:normal}
@media(max-width:760px){.user-help dl{grid-template-columns:1fr}}
@media print{body{background:white;color:black}body>nav,.help-toc,.help-toolbar button,.scroll-hint,#api-progress{display:none!important}main{margin:0;padding:0;width:100%}.card{border:0;box-shadow:none;padding:0}.user-help{max-width:none;font-size:11pt}.user-help section{break-inside:auto}.user-help h2,.user-help h3{break-after:avoid}.user-help a{color:black}.tablewrap{overflow:visible}}
