.alh-root{--alh-bg:#102332;--alh-panel:#142c3d;--alh-border:#355065;--alh-text:#edf4f8;--alh-muted:#bdcdd8;--alh-orange:#ffb466;color:var(--alh-text);font:inherit;max-width:1500px;margin:0 auto;min-width:0;padding:20px;background:#0b1b28;border:1px solid #294354;border-radius:16px;color-scheme:dark}
.alh-root *{box-sizing:border-box}.alh-root [hidden]{display:none!important}
.alh-header{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;padding:25px 28px;background:linear-gradient(115deg,#102332,#1b3748);border:1px solid var(--alh-border);border-top:3px solid var(--alh-orange);border-radius:16px;margin-bottom:18px}
.alh-eyebrow{display:block;color:var(--alh-orange);font-size:12px;font-weight:750;letter-spacing:.09em;text-transform:uppercase;margin-bottom:7px}.alh-header h2{font-size:clamp(23px,3vw,31px);line-height:1.2;margin:0 0 8px;color:var(--alh-text)}.alh-header p{color:var(--alh-muted);margin:0;line-height:1.5}.alh-local-badge{white-space:nowrap;background:#243d42;border:1px solid #54756b;color:#d3f4dc;border-radius:999px;padding:7px 12px;font-size:12px;font-weight:650}
.alh-info,.alh-storage,.alh-confirm,.alh-signed-out{border:1px solid var(--alh-border);background:var(--alh-bg);border-radius:12px;padding:17px 20px;margin-bottom:16px;line-height:1.5}.alh-info strong{color:var(--alh-orange);font-size:14px}.alh-info p,.alh-confirm p{font-size:13px;margin:7px 0 0;color:var(--alh-muted);max-width:115ch}.alh-storage{color:#ffe1aa;background:#382c1b;border-color:#85652d;font-size:13px}.alh-confirm{border-color:#ad6c4c;background:#352a26}.alh-confirm strong{font-size:15px}.alh-confirm>div{display:flex;gap:9px;flex-wrap:wrap;margin-top:15px}
.alh-filters{display:grid;grid-template-columns:minmax(220px,2fr) repeat(3,minmax(130px,1fr)) repeat(2,minmax(130px,.85fr));gap:12px;background:var(--alh-panel);border:1px solid var(--alh-border);border-radius:12px;padding:18px;margin-bottom:18px}.alh-filters label{display:flex;flex-direction:column;gap:7px;min-width:0;color:var(--alh-muted);font-size:12px;font-weight:650}.alh-filters input,.alh-filters select{min-width:0;width:100%;height:42px;border:1px solid #526e83;border-radius:7px;background:#0d2030;color:var(--alh-text);padding:8px 10px;font:inherit;font-size:13px;color-scheme:dark}.alh-filters input::placeholder{color:#a0b4c4;opacity:1}.alh-filters input[type=date]{padding-right:6px}.alh-filters input:focus-visible,.alh-filters select:focus-visible,.alh-root button:focus-visible{outline:3px solid var(--alh-orange);outline-offset:3px}
.alh-toolbar{display:flex;justify-content:space-between;align-items:center;gap:14px;flex-wrap:wrap}.alh-toolbar>strong{font-size:14px}.alh-toolbar-actions{display:flex;flex-wrap:wrap;gap:8px}.alh-root button{border:1px solid #617d92;border-radius:7px;background:#1b374b;color:var(--alh-text);font:inherit;font-size:12px;font-weight:650;min-height:40px;padding:9px 13px;cursor:pointer;line-height:1.3}.alh-root button:hover:enabled{background:#2b4d63;border-color:#8ca6b8}.alh-root button:disabled{opacity:.5;cursor:default}.alh-root button.alh-danger{background:#412a25;border-color:#ae735e;color:#ffdccb}.alh-root button.alh-danger:hover:enabled{background:#61392d;border-color:#e1a17d}.alh-export-note,.alh-footnote{font-size:12px;color:var(--alh-muted);line-height:1.5;margin:11px 0 16px}.alh-status{min-height:0;color:#c2eed7;font-size:13px;line-height:1.5;margin:12px 0;overflow-wrap:anywhere}.alh-status:empty{display:none}.alh-status-error{color:#ffd3c4}
.alh-table-wrap{border:1px solid var(--alh-border);border-radius:12px;overflow:auto;background:var(--alh-bg)}.alh-table{width:100%;border-collapse:collapse;font-size:13px;table-layout:auto}.alh-table th{text-align:left;font-size:11px;letter-spacing:.04em;text-transform:uppercase;color:#c1d1de;background:#1a3447;padding:14px 16px;white-space:nowrap;border-bottom:1px solid var(--alh-border)}.alh-table td{padding:14px 16px;vertical-align:middle;border-bottom:1px solid #294354;color:var(--alh-text)}.alh-table tr:last-child td{border-bottom:0}.alh-table tbody tr:hover{background:#183143}.alh-table td:first-child{white-space:nowrap}.alh-table td:nth-child(2){min-width:190px}.alh-table strong{font-size:13px;font-weight:600;line-height:1.4;display:block}.alh-table small{font-size:11px;color:var(--alh-muted);display:block;margin-top:5px;line-height:1.4}.alh-table time{font-variant-numeric:tabular-nums}.alh-table .alh-empty{text-align:center;padding:40px 20px;color:var(--alh-muted)}
.alh-result{font-size:11px;font-weight:650;display:inline-block;padding:5px 9px;border-radius:999px;border:1px solid;line-height:1.3;white-space:nowrap}.alh-result-success{color:#ccf3dd;background:#173c30;border-color:#437c63}.alh-result-error{color:#ffd5cc;background:#482c2c;border-color:#a66d64}.alh-result-pending{color:#ffe2aa;background:#46381c;border-color:#927a42}.alh-result-unknown{color:#f5d5b6;background:#443429;border-color:#936f4f}.alh-result-requested{color:#d6e6ff;background:#26394d;border-color:#657f9c}.alh-root button.alh-link{color:#ffc585;border:0;background:transparent;text-align:left;padding:7px 0;min-height:36px;white-space:normal;max-width:220px;overflow-wrap:anywhere}.alh-root button.alh-link:hover:enabled{background:transparent;color:#ffdbb1;text-decoration:underline;text-underline-offset:3px}
.alh-pagination{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:16px 0}.alh-pagination span{color:var(--alh-muted);font-size:12px;text-align:center}.alh-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}
@media(max-width:1250px){.alh-filters{grid-template-columns:repeat(3,minmax(130px,1fr))}.alh-search{grid-column:span 2}.alh-filters label:last-child{grid-column:auto}}
@media(max-width:760px){.alh-header{padding:20px;gap:12px}.alh-local-badge{padding:6px 9px;font-size:11px}.alh-header p{font-size:13px}.alh-info,.alh-storage,.alh-confirm{padding:15px 16px}.alh-filters{grid-template-columns:repeat(2,minmax(0,1fr));padding:15px;gap:12px}.alh-search{grid-column:1/-1}.alh-toolbar{align-items:flex-start}.alh-toolbar-actions{width:100%;display:grid;grid-template-columns:1fr 1fr}.alh-toolbar-actions button:last-child{grid-column:1/-1}.alh-root button{min-height:44px}.alh-table-wrap{overflow:visible;border:0;background:transparent}.alh-table,.alh-table tbody{display:block;width:100%}.alh-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}.alh-table tr{display:grid;grid-template-columns:1fr 1fr;background:var(--alh-bg);border:1px solid var(--alh-border);border-radius:10px;margin-bottom:12px;padding:8px}.alh-table td{display:block;min-width:0!important;padding:8px 9px;border:0;overflow-wrap:anywhere}.alh-table td:before{content:attr(data-label);display:block;font-size:10px;font-weight:650;text-transform:uppercase;letter-spacing:.04em;color:#a9bdcb;margin-bottom:6px}.alh-table td:nth-child(2){grid-column:1/-1;grid-row:1}.alh-table td:nth-child(5){grid-column:1/-1}.alh-table td.alh-empty{grid-column:1/-1;padding:30px 10px}.alh-table td.alh-empty:before{display:none}.alh-table strong{font-size:14px}.alh-table td:first-child{white-space:normal}.alh-root button.alh-link{min-height:40px;max-width:100%;padding:5px 0}.alh-pagination{gap:7px}.alh-pagination button{padding:9px;font-size:11px}.alh-pagination span{font-size:11px}.alh-footnote{margin-top:14px}}
@media(max-width:380px){.alh-header{flex-direction:column}.alh-filters{grid-template-columns:1fr}.alh-search{grid-column:auto}.alh-table tr{grid-template-columns:1fr}.alh-table td{grid-column:1!important}.alh-table td:nth-child(2){grid-row:1}}
@media(max-width:480px){.alh-filters label:nth-last-child(-n+3){grid-column:1/-1}.alh-filters input[type=date]{max-width:100%;min-height:44px}}
@media(prefers-reduced-motion:reduce){.alh-root *{scroll-behavior:auto!important}}
@media print{.alh-root{--alh-text:#111;--alh-muted:#333;--alh-bg:#fff;--alh-border:#888;color:#111;background:#fff;border-color:#888}.alh-filters,.alh-toolbar-actions,.alh-pagination,.alh-confirm,.alh-export-note{display:none!important}.alh-table th,.alh-header,.alh-info{background:#fff;color:#111}.alh-result{color:#111;background:#fff;border-color:#888}.alh-table-wrap{overflow:visible}.alh-table td{color:#111}.alh-root button.alh-link{color:#111}}

/* Scope contrast explicitly against the existing staff theme overrides. */
#content .alh-root .alh-header h2{color:var(--alh-text)!important}
#content .alh-root .alh-table th{color:var(--alh-text)!important;background:var(--alh-panel)!important}
#content .alh-root .alh-table td{color:var(--alh-text)!important;background:var(--alh-bg)!important}
#content .alh-root .alh-table td strong{color:inherit!important}
#content .alh-root .alh-table small{color:var(--alh-muted)!important}
#content .alh-root .alh-table td:before{color:var(--alh-muted)!important}
#content .alh-root button{color:var(--alh-text)!important}
#content .alh-root button.alh-link{color:var(--alh-orange)!important}
#content .alh-root button.alh-danger{color:#ffdccb!important}
@media print{#content .alh-root{--alh-panel:#fff;--alh-orange:#111}}
