/* Shared admin controls. Preserve status colours, image tools and navigation. */
body.zip-ui.dashboard-shell #app-content :is(button,a.button):not(.compact-proof-image):not(.copy-order):not(.more-order):not([role=tab]){border-radius:8px!important;font-size:13px;line-height:1.5;min-height:36px;box-sizing:border-box}
body.zip-ui.dashboard-shell #app-content a.button:not(.primary):not(.danger):not(.team-delete-link):not(.team-delete-button){border:1px solid #dce4ec!important;background:#fff;color:#43566b!important;padding:8px 13px!important;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;gap:6px}
body.zip-ui.dashboard-shell #app-content a.button:not(.primary):not(.danger):not(.team-delete-link):not(.team-delete-button):hover{background:#f0f6f8!important;border-color:#a8c1cd!important;color:#146a7d!important;transform:none!important}
body.zip-ui.dashboard-shell #app-content :is(.section-actions,.filter-actions,.account-actions,.team-row-actions,.detail-actions){gap:10px;row-gap:10px}
body.zip-ui.dashboard-shell #app-content :is(input:not([type]),input[type=text],input[type=search],input[type=email],input[type=password],input[type=number],input[type=url],textarea){border-radius:8px!important;border:1px solid #d8e1eb!important;box-sizing:border-box;font-size:13px;line-height:1.5;padding:10px 12px;max-width:100%}
body.zip-ui.dashboard-shell #app-content :is(input,textarea):focus-visible{outline:2px solid #dcecf1!important;outline-offset:1px;border-color:#6598aa!important}
body.zip-ui.dashboard-shell #app-content .ys-date-trigger{border-radius:8px!important;border:1px solid #d8e1eb!important;background:#fff!important;min-height:42px!important;font-size:13px!important}
body.zip-ui.dashboard-shell #app-content #order-notice-tools{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin:18px 0 0;padding:16px 0;border-top:1px solid #e4eaf0}
body.zip-ui.dashboard-shell #app-content #order-notice-tools a.button{min-height:36px!important;margin:0!important;font-weight:500!important}
body.zip-ui.dashboard-shell #app-content .maintenance-entry{margin:18px 0 0!important}
body.zip-ui.dashboard-shell #app-content .release-info{margin-top:16px;padding-top:12px;border-top:1px solid #e9edf2;font-size:12px;color:#78889a}
@media(max-width:600px){body.zip-ui.dashboard-shell #app-content #order-notice-tools{gap:8px}body.zip-ui.dashboard-shell #app-content #order-notice-tools a.button{flex:1 1 auto}}
body.zip-ui.dashboard-shell #app-content .select-trigger{min-height:42px!important;height:auto!important;padding:10px 12px!important;border:1px solid #d8e1eb!important;border-radius:8px!important;background:#fff!important;color:#33465d!important;font-size:13px!important;font-weight:500!important;line-height:20px!important;box-shadow:none!important;transform:none!important}
body.zip-ui.dashboard-shell #app-content .select-trigger:hover{border-color:#a5bbc9!important;background:#fafcfd!important}
body.zip-ui.dashboard-shell #app-content .select-trigger:focus-visible,body.zip-ui.dashboard-shell #app-content .select-trigger[aria-expanded=true]{border-color:#6598aa!important;outline:2px solid #dcecf1!important;outline-offset:1px!important}
body.zip-ui.dashboard-shell .select-menu{padding:5px!important;border:1px solid #dce4ec!important;border-radius:10px!important;background:#fff!important;box-shadow:0 8px 24px #263e561a!important;box-sizing:border-box!important}
body.zip-ui.dashboard-shell .select-menu button[role=option]{min-height:36px!important;margin:2px 0!important;padding:8px 11px!important;border:0!important;border-radius:6px!important;background:#fff!important;color:#33465d!important;font-size:13px!important;font-weight:500!important;line-height:20px!important;box-shadow:none!important;transform:none!important;outline:none!important}
body.zip-ui.dashboard-shell .select-menu button[role=option]:hover{background:#f2f6f9!important}
body.zip-ui.dashboard-shell .select-menu button[role=option][aria-selected=true]{background:#eaf4f6!important;color:#146a7d!important;font-weight:600!important}
body.zip-ui.dashboard-shell .select-menu button[role=option]:focus-visible{background:#edf4f7!important;outline:1px solid #87afbd!important;outline-offset:-1px!important}
body.zip-ui.dashboard-shell .select-menu button[role=option]:disabled{color:#9aa6b3!important;background:#f8fafb!important}

body.zip-ui.dashboard-shell #app-content form.stacked>button:not(.select-trigger){align-self:flex-start;justify-self:start;width:auto;min-width:76px}
body.zip-ui.dashboard-shell #app-content .template-actions{display:flex;gap:10px;align-items:center;margin-top:4px}
body.zip-ui.dashboard-shell #app-content .template-actions button{min-width:80px;padding:8px 16px}
body.zip-ui.dashboard-shell #app-content .template-actions .danger{background:#fff!important;color:#a53c46!important;border:1px solid #e7c8cc!important}
body.zip-ui.dashboard-shell #app-content :is(.team-delete-link,.team-delete-button,.staff-access-actions a){border-radius:8px!important}

.reconciliation-filters{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.reconciliation-filters label{display:flex;flex-direction:column;gap:8px;min-width:0}.reconciliation-filters .section-actions{grid-column:1/-1;margin:0}.reconciliation-totals{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.reconciliation-totals h2{font-variant-numeric:tabular-nums;overflow-wrap:anywhere;margin-top:10px}.reconciliation-totals span{color:#718194}@media(max-width:800px){.reconciliation-filters,.reconciliation-totals{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:480px){.reconciliation-filters{grid-template-columns:1fr}}

.reconciliation-quick{grid-column:1/-1;display:flex;align-items:center;flex-wrap:wrap;gap:8px}.reconciliation-quick>span{font-size:13px;color:#63768b;margin-right:4px}.reconciliation-quick small{flex-basis:100%;color:#8190a1;margin-top:3px}body.zip-ui.dashboard-shell #app-content .reconciliation-quick button{background:#f5f8fb;border:1px solid #e0e7ee;color:#405a70;font-weight:500;padding:6px 12px;min-height:34px}body.zip-ui.dashboard-shell #app-content .reconciliation-quick button:hover{background:#eaf4f6;border-color:#afcdd6;color:#146a7d}
/* Order list: quieter identity tags and a consistent three-line hierarchy. */
html body .orders-table .identity-order-meta{gap:6px 10px;align-items:center;margin-top:7px!important}
html body .orders-table .identity-divider{display:none}
html body .orders-table .identity-date-stack{flex-basis:100%;display:flex;flex-wrap:wrap;gap:4px 10px;white-space:normal;font-size:11px;color:#7a8b9e}
html body .orders-table .identity-date-stack .order-deadline-label{margin:0;line-height:18px}
html body .orders-table td.identity-order-cell,html body .orders-table td.identity-user-cell{padding-top:14px;padding-bottom:14px}
html body .orders-table .identity-user-cell{min-width:170px}
html body .orders-table .identity-team-line{gap:6px;flex-wrap:nowrap;margin-top:8px!important}
html body .orders-table .order-missing-info{font-size:12px;font-weight:400;color:#8391a3;line-height:22px}
html body .orders-table .order-team-caption{font-size:11px;color:#7b8b9e;white-space:nowrap;flex-shrink:0}
html body .orders-table .order-team-inactive{font-size:10px;color:#8b7451;background:#f5f1e9;padding:2px 5px;border-radius:4px;line-height:16px;flex-shrink:0;white-space:nowrap}
html body .orders-table .identity-amount{font-variant-numeric:tabular-nums;font-weight:600}
html body .orders-table .identity-amount.has-amount{color:#d9253d;background:transparent;padding:0;border-radius:0;line-height:20px}
html body .orders-table .identity-amount.amount-missing{color:#8897a8;font-weight:400}
html body .orders-table tbody tr:hover{background:#f6fafc}
html body .orders-table .order-state-actions{display:flex;align-items:center;justify-content:center}
html body .orders-table .order-state-actions>.badge{display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;height:28px!important;min-height:28px!important;padding:0 9px!important;border:0;border-radius:6px;gap:0;flex-shrink:0;white-space:nowrap;font-size:12px!important;line-height:28px!important}
html body .orders-table .order-state-actions>button.badge{width:max-content!important;min-width:0!important;margin:0;box-shadow:none;cursor:pointer}
html body .orders-table .result-state-icon{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;height:14px;margin-left:3px;padding-left:3px;border-left:1px solid currentColor;font-size:13px;line-height:14px;opacity:.65}
html body .orders-table .order-state-actions>button.badge:hover{filter:brightness(.97)}
html body .orders-table .order-state-actions>button.badge:focus-visible{outline:2px solid currentColor;outline-offset:2px}

html body .orders-table .order-na-label{display:inline-flex;align-items:stretch;overflow:hidden;border-radius:5px;height:24px;font-size:12px;line-height:24px}
html body .orders-table .order-na-label>span{display:block;background:#637f9e;color:#fff;width:22px;text-align:center;font-weight:700}
html body .orders-table .order-na-label>strong{display:block;background:#e8eff6;color:#506b87;padding:0 8px;font-weight:700}

html body .order-sort-link{color:inherit;text-decoration:none;white-space:nowrap;display:inline-flex;align-items:center;gap:5px}html body .order-sort-link span{font-size:12px;opacity:.55}html body .order-sort-link.is-active{color:#167b8d}html body .order-sort-link.is-active span{opacity:1}html body .order-sort-menu{position:relative}html body .order-sort-menu summary{cursor:pointer;list-style:none;white-space:nowrap}html body .order-sort-menu>div{position:absolute;top:100%;left:0;z-index:50;min-width:155px;padding:7px;background:#fff;border:1px solid #dce7ed;border-radius:8px;box-shadow:0 6px 20px #18365220}html body .order-sort-menu>div a{display:flex;padding:8px;border-radius:5px}html body .order-sort-menu>div a:hover{background:#eef6f8}html body .page-size-options{display:inline-flex;gap:4px;margin-left:8px}html body .page-size-options a{padding:3px 7px;border-radius:5px;color:#667d95;text-decoration:none}html body .page-size-options .is-active{background:#e5f2f5;color:#167b8d;font-weight:600}

html body .page-size-menu{position:relative;color:#607990;font-size:13px}html body .page-size-menu summary{display:flex;align-items:center;justify-content:space-between;gap:20px;min-width:125px;box-sizing:border-box;padding:8px 12px;background:#fff;border:1px solid #d8e4ec;border-radius:7px;list-style:none;cursor:pointer}html body .page-size-menu summary::-webkit-details-marker{display:none}html body .page-size-menu[open] summary{border-color:#62a6b5}html body .page-size-menu>div{position:absolute;bottom:calc(100% + 6px);left:0;right:0;background:#fff;border:1px solid #d8e4ec;border-radius:7px;padding:5px;box-shadow:0 5px 18px #18365218;z-index:50}html body .page-size-menu>div a{display:flex;justify-content:space-between;padding:8px;border-radius:5px;color:#607990;text-decoration:none;white-space:nowrap}html body .page-size-menu>div a:hover,html body .page-size-menu>div a.is-active{background:#eaf5f7;color:#167b8d}html body .order-sort-menu>div{min-width:180px}

.export-state-filter label{display:flex;flex-direction:column;gap:8px;max-width:420px}.export-state-filter h2{margin-top:0}

/* One transparent presentation for department and workflow labels everywhere. */
html body.zip-ui.dashboard-shell .badge[class*="state-"],html body.zip-ui.dashboard-shell .badge[class*="dept-"],html body.zip-ui.dashboard-shell .status-chip,html body.zip-ui.dashboard-shell .department-chip{display:inline-flex!important;align-items:center;justify-content:center;gap:6px;min-height:28px;padding:2px 4px!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;font-size:12px;line-height:22px;vertical-align:middle}
html body.zip-ui.dashboard-shell .badge[class*="state-"]::before,html body.zip-ui.dashboard-shell .status-chip::before{content:"";display:inline-block;width:7px;height:7px;flex:0 0 7px;border-radius:50%;background:var(--status-ink,currentColor)}
html body.zip-ui.dashboard-shell .badge[class*="state-"],html body.zip-ui.dashboard-shell .status-chip{color:var(--status-ink)!important}
html body.zip-ui.dashboard-shell .badge[class*="dept-"]::before,html body.zip-ui.dashboard-shell .department-chip::before{content:"";display:inline-block;width:7px;height:7px;flex:0 0 7px;border-radius:50%;background:currentColor;margin-right:0}
html body.zip-ui.dashboard-shell .select-menu .status-option,html body.zip-ui.dashboard-shell .select-menu .department-option{background:transparent!important;border-radius:0;color:var(--status-ink,currentColor)}
html body.zip-ui.dashboard-shell .select-menu .status-option[aria-selected=true],html body.zip-ui.dashboard-shell .select-menu .department-option[aria-selected=true]{background:transparent!important;font-weight:700}
html body.zip-ui.dashboard-shell .select-menu .status-option:hover,html body.zip-ui.dashboard-shell .select-menu .department-option:hover{background:transparent!important;text-decoration:none}
html body.zip-ui.dashboard-shell .select-menu .department-option::before{content:"";display:inline-block;width:7px;height:7px;border-radius:50%;background:currentColor;margin-right:9px}
html body.zip-ui.dashboard-shell .result-preview .result-state-icon{margin-left:0;padding-left:3px}

html body.zip-ui.dashboard-shell .badge.result-preview{gap:0}html body.zip-ui.dashboard-shell .badge.result-preview::before{margin-right:6px}

/* Shared transparent department and workflow labels. */
html body.zip-ui.dashboard-shell .department-label::before{display:none!important}
html body.zip-ui.dashboard-shell .department-symbol{display:inline-flex;width:17px;height:17px;flex:0 0 17px;align-items:center;justify-content:center}
html body.zip-ui.dashboard-shell .department-symbol svg{width:17px;height:17px}
html body.zip-ui.dashboard-shell .department-label{display:inline-flex;align-items:center;gap:7px;font-weight:700}
html body.zip-ui.dashboard-shell .select-menu .department-label{display:flex;justify-content:flex-start}
html body.zip-ui.dashboard-shell .badge[class*="state-"],html body.zip-ui.dashboard-shell .badge[class*="state-"] *,html body.zip-ui.dashboard-shell .status-chip,html body.zip-ui.dashboard-shell .status-option{text-decoration:none!important}
html body.zip-ui.dashboard-shell .select-menu :is(.department-option,.status-option):hover{color:#087b91}

html body.zip-ui.dashboard-shell .order-department-cell .identity-label{max-width:none;overflow:visible;width:max-content}
html body.zip-ui.dashboard-shell .order-department-cell .identity-name{overflow:visible;max-width:none;flex-shrink:0}
/* One transparent icon-and-label treatment, including select options. */
html body.zip-ui.dashboard-shell .has-workflow-symbol::before{display:none!important}
html body.zip-ui.dashboard-shell .workflow-symbol{display:inline-flex;align-items:center;justify-content:center;width:18px;height:18px;flex:0 0 18px;margin-right:6px;color:inherit;vertical-align:middle}
html body.zip-ui.dashboard-shell .workflow-symbol svg{display:block;width:18px;height:18px}
html body.zip-ui.dashboard-shell .has-workflow-symbol{background:transparent!important;box-shadow:none!important;gap:0!important;text-decoration:none!important}
html body.zip-ui.dashboard-shell .status-option.has-workflow-symbol{display:flex;align-items:center}
html body.zip-ui.dashboard-shell .has-workflow-symbol .result-state-icon{margin-left:5px;padding-left:0;border-left:0;font-size:13px}

html body.zip-ui.dashboard-shell .select-menu .status-option.has-workflow-symbol{color:var(--status-ink)!important}

.queue-search-team-row{display:grid;grid-template-columns:minmax(0,2fr) minmax(240px,1fr);gap:16px;align-items:end;grid-column:1/-1}
.queue-search-team-row .quick-order-search{margin:0;min-width:0}.queue-team-filter{display:flex;flex-direction:column;gap:8px;min-width:0}
@media(max-width:760px){.queue-search-team-row{grid-template-columns:1fr}}
html body .queue-search-team-row .quick-order-search{grid-column:auto!important}
/* Align the search field and searchable team select as one row. */
html body .queue-search-team-row{align-items:start}
html body .queue-search-team-row label{display:flex;flex-direction:column;gap:8px;margin:0;padding:0;line-height:20px}
html body .queue-search-team-row input[type="search"],html body .queue-search-team-row .select-trigger{box-sizing:border-box;height:44px!important;min-height:44px!important;margin:0!important;padding:0 14px!important;line-height:20px;border-radius:9px}
html body .queue-search-team-row .select-wrap{margin:0!important;width:100%}
html body.zip-ui.dashboard-shell #app-content .queue-search-team-row :is(input[type="search"],button.select-trigger){height:44px!important;min-height:44px!important;max-height:44px!important;padding:0 14px!important;margin:0!important;box-sizing:border-box!important;transform:none!important;line-height:20px!important}
html body.zip-ui.dashboard-shell #app-content .queue-search-team-row .select-wrap{padding:0!important;border:0!important;height:44px!important;line-height:20px!important;top:0!important;transform:none!important}
html body.zip-ui.dashboard-shell #app-content .queue-search-team-row label{gap:8px!important}

/* Transparent semantic labels throughout admin, including their wrappers. */
html body.zip-ui.dashboard-shell #app-content :is(.badge,.team-tag,.status-chip,.department-chip,.identity-label,.order-platform-label,.platform-capsule,.operation-source){background:transparent!important;box-shadow:none!important;border-color:transparent!important}
html body.zip-ui.dashboard-shell #app-content .classic-detail .order-identity-meta .order-platform-label{padding:2px 4px;border-radius:0}
html body.zip-ui.dashboard-shell #app-content .orders-table :is(th,td):nth-child(n+5){text-align:center!important;vertical-align:middle!important}
html body.zip-ui.dashboard-shell #app-content .orders-table th{font-size:12px;font-weight:600;letter-spacing:.02em;color:#637d96}
html body.zip-ui.dashboard-shell #app-content .orders-table th .order-sort-menu>summary{display:inline-flex;align-items:center;justify-content:center;gap:6px;color:inherit}
html body.zip-ui.dashboard-shell #app-content .orders-table th .order-sort-menu>summary>span{font-size:11px;opacity:.6}
html body.zip-ui.dashboard-shell #app-content .orders-table td:last-child .row-actions{justify-content:center!important;width:100%;margin:0!important}
html body.zip-ui.dashboard-shell #app-content .orders-table .row-actions :is(.view-detail,.more-order){display:inline-flex!important;align-items:center!important;justify-content:center!important;height:34px!important;min-height:34px!important;box-sizing:border-box;border-radius:8px!important;margin:0!important}
html body.zip-ui.dashboard-shell #app-content .orders-table .feedback-drawer-trigger{display:inline-flex;align-items:center;justify-content:center;padding:5px 8px!important;background:transparent!important;border:0!important;color:#297b8b;font-size:12px}
html body.zip-ui.dashboard-shell #app-content .orders-table .feedback-drawer-trigger strong{font-weight:600}

html body.zip-ui.dashboard-shell #app-content .operator-label{display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:2px 4px;min-height:28px;box-sizing:border-box;color:#49627d;background:transparent;font-size:12px;font-weight:600;line-height:22px;max-width:180px;vertical-align:middle}
html body.zip-ui.dashboard-shell #app-content .operator-label svg{width:18px;height:18px;flex:0 0 18px}
html body.zip-ui.dashboard-shell #app-content .operator-label>span{overflow-wrap:anywhere;min-width:0}
html body.zip-ui.dashboard-shell #app-content .operator-source{margin-top:2px;color:#8795a5;font-size:11px;line-height:16px;background:transparent}
html body.zip-ui.dashboard-shell #app-content .orders-table :is(th,td):nth-child(7){width:150px!important;min-width:150px!important}
html body.zip-ui.dashboard-shell #app-content .operator-label{width:max-content;max-width:140px;white-space:nowrap}
html body.zip-ui.dashboard-shell #app-content .operator-label>span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;overflow-wrap:normal}
html body.zip-ui.dashboard-shell #app-content .operator-source{white-space:nowrap}

html body.zip-ui.dashboard-shell #app-content .followup-reminder-form{display:flex!important;flex-direction:column!important;align-items:stretch;gap:10px;padding:16px 20px!important;margin:12px 0;border-top:1px solid #e4ebf1}
html body.zip-ui.dashboard-shell #app-content .followup-reminder-title{margin:0;font-size:14px;color:#3b556d}
html body.zip-ui.dashboard-shell #app-content .followup-reminder-form>p{margin:0;line-height:1.6}
html body.zip-ui.dashboard-shell #app-content .followup-reminder-actions{display:flex;align-items:center;justify-content:flex-start;gap:12px;flex-wrap:wrap}
html body.zip-ui.dashboard-shell #app-content .followup-reminder-actions button{width:auto!important;min-height:38px;padding:8px 14px;position:static;transform:none;margin:0}

/* Keep the reminder save action directly below its choices. */
html body.zip-ui.dashboard-shell #app-content .followup-reminder-form>.followup-options{margin:0!important;align-self:flex-start}
html body.zip-ui.dashboard-shell #app-content .followup-reminder-actions{width:100%;margin:0!important;padding:2px 0 0!important;align-self:flex-start;justify-content:flex-start!important}
html body.zip-ui.dashboard-shell #app-content .followup-reminder-actions button{height:38px!important;min-height:38px!important;padding:0 16px!important;line-height:20px!important;border-radius:8px!important;flex:0 0 auto;align-self:flex-start}
/* Export scope and feedback popovers share a compact, predictable rhythm. */
.export-scope-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-bottom:20px}
.export-status-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:10px 18px}
.export-field-details{padding:16px;border:1px solid #dce7ef;border-radius:12px;margin:18px 0}
.export-field-details>summary{display:flex;gap:14px;align-items:center;cursor:pointer;font-weight:600}
.export-field-details>summary:before{content:'▸'}.export-field-details[open]>summary:before{content:'▾'}
.export-field-details [data-export-count]{font-size:13px;color:#71869a;font-weight:400}
.export-inline-preview{margin:20px 0}.export-inline-preview [data-export-preview]{margin-top:14px;min-width:0}.export-preview-scroll{overflow:auto;max-height:400px;border:1px solid #e2eaf1;border-radius:10px}
.export-inline-preview table{width:100%;border-collapse:collapse;white-space:nowrap}.export-inline-preview :is(th,td){padding:11px 14px;border-bottom:1px solid #e2eaf1;text-align:left;font-size:13px;max-width:340px;white-space:normal;overflow-wrap:anywhere;min-width:100px}.export-inline-preview th{background:#f3f7fa}
html body.zip-ui .feedback-compact>header{display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:16px;row-gap:5px;padding:18px 20px}
html body.zip-ui .feedback-compact>header h2{grid-column:1;grid-row:1;margin:0}
html body.zip-ui .feedback-compact>header p{grid-column:1;grid-row:2;margin:0;min-width:0;overflow-wrap:anywhere}
html body.zip-ui .feedback-compact>header button{position:static;inset:auto;grid-column:2;grid-row:1 / 3;align-self:start;margin:0;padding:6px 12px;min-height:34px;line-height:20px;border-radius:8px;white-space:nowrap}
html body.zip-ui :is(.lf-head,.lf-toast)>:first-child{min-width:0;overflow-wrap:anywhere}
html body.zip-ui :is(.lf-head,.lf-toast)>.lf-close{flex:0 0 32px;width:32px;min-width:32px;height:32px;min-height:32px;padding:0;margin:0;line-height:32px;align-self:flex-start;border-radius:8px}
@media(max-width:600px){.export-scope-grid{grid-template-columns:1fr}.export-status-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.export-status-grid label{min-width:0;overflow-wrap:anywhere}}

/* Independent actions share a gutter. Joined controls such as receipt tabs
   keep their own internal spacing. */
body.zip-ui.dashboard-shell{--admin-action-gap:10px}
body.zip-ui.dashboard-shell #app-content :is(.confirmation-actions,.section-actions,.account-actions,.team-row-actions,.filter-actions,.staff-access-actions,.action-line,.row-actions,.export-preview-tabs,.export-state-buttons){gap:var(--admin-action-gap)}
body.zip-ui.dashboard-shell #app-content :is(.export-preview-tabs,.export-state-buttons){display:flex;flex-wrap:wrap;align-items:center}
body.zip-ui.dashboard-shell #app-content .export-preview-tabs{margin:0 0 12px}
body.zip-ui.dashboard-shell #app-content .export-preview-tabs>button{margin:0;min-height:36px;padding:6px 14px;border:1px solid #cddae2;border-radius:8px;background:transparent;color:inherit}
body.zip-ui.dashboard-shell #app-content .export-preview-tabs>button[aria-pressed=true]{color:var(--ui-accent,#176d79);border-color:currentColor;font-weight:600}

/* Fit scope controls to the available content width, including with sidebar open. */
.export-state-filter{container-type:inline-size}
.export-state-filter .export-scope-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:12px 0 18px}
.export-state-filter .export-scope-grid label,.export-state-filter .export-scope-grid .select-wrap{width:100%;min-width:0;max-width:none;margin:0}
.export-status-heading{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px;border-top:1px solid #e3ebef;padding-top:14px}
.export-status-heading h3,.export-status-heading button{margin:0}
.export-status-group{display:grid;grid-template-columns:66px minmax(0,1fr);align-items:start;gap:12px;padding:10px 0}
.export-status-group+.export-status-group{border-top:1px solid #edf1f4}
.export-status-group>strong{font-size:13px;color:#586e80;padding-top:4px}
.export-status-group .export-status-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:4px 12px}
.export-state-filter .export-status-group label{display:flex;flex-direction:row;align-items:center;gap:8px;margin:0;padding:4px 0;max-width:none}
@container(max-width:650px){.export-state-filter .export-scope-grid{grid-template-columns:1fr}.export-status-group .export-status-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@container(max-width:380px){.export-status-group{grid-template-columns:1fr;gap:4px}}

.case-queue-links{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:14px}.case-queue-links [aria-current=page]{font-weight:700;text-decoration:underline}.search-hit{display:block;margin:3px 0;overflow-wrap:anywhere}.search-hit mark{background:#ffebbb;color:#553600}.receipt-comparison{margin-top:14px;min-width:0}.receipt-check-item{padding:9px 0;border-bottom:1px solid var(--border,#e3ebef)}.receipt-check-title{display:flex;align-items:baseline;justify-content:space-between;gap:8px}.receipt-check-values{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.receipt-check-values>div{min-width:0}.receipt-check-values :is(small,span){display:block;overflow-wrap:anywhere}.receipt-check-values small{color:var(--muted,#718397)}.receipt-difference{font-weight:700;color:#ae342e}tr[id^=order-row-]:target{scroll-margin-top:90px}
tr[id^=order-row-]:target .order-detail-link strong{background-color:#e8f4f3;border-radius:4px;box-decoration-break:clone;-webkit-box-decoration-break:clone}

.receipt-comparison{container-type:inline-size;max-width:100%}
.receipt-comparison h3{margin:0 0 6px}
.receipt-check-title{display:flex;justify-content:flex-start;align-items:baseline;flex-wrap:wrap;gap:4px 8px}
.receipt-check-values{margin-top:5px;font-variant-numeric:tabular-nums}
.receipt-check-values span{white-space:normal}
@container(max-width:220px){.receipt-check-values{grid-template-columns:minmax(0,1fr);gap:5px}}

.receipt-check-title{align-items:center}
.receipt-check-title .receipt-verdict{display:inline-grid;place-items:center;text-align:center;box-sizing:border-box;min-width:4.5em;min-height:23px;padding:2px 8px;border:1px solid currentColor;border-radius:6px;background:transparent;font-size:12px;font-weight:600;line-height:1.4;white-space:nowrap;color:#596c7c}
.receipt-check-title .receipt-verdict.is-match{color:#24724e}
.receipt-check-title .receipt-verdict.receipt-difference{color:#ac3630}

.receipt-single-value{margin-top:5px;min-width:0;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}

.detail-summary .summary-tiles{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:12px 0 0}
.detail-summary :is(.summary-tile,.receipt-check-item,.manual-amount-tile){min-width:0;border:0;border-radius:8px;background:#f5f8fa;text-align:center}
.summary-tiles>.summary-tile{display:grid;align-content:center;gap:3px;padding:8px 8px}
.detail-summary .receipt-comparison{display:grid;gap:8px}
.detail-summary .receipt-comparison h3{margin:0}
.detail-summary .receipt-check-item{padding:9px 12px}
.detail-summary .receipt-check-item[data-mismatch=true]{background:#fcf5f4}
.receipt-check-values>div{min-width:0}
.receipt-check-values small{color:#596b7c;font-size:12px}
.receipt-check-values span,.receipt-single-value{font-weight:600;line-height:1.5}
.receipt-check-item[data-mismatch=true] .receipt-check-values>div+div{border-inline-start:1px solid #e7d8d6;padding-inline-start:8px}
@container(max-width:220px){.receipt-check-item[data-mismatch=true] .receipt-check-values>div+div{border-inline-start:0;padding-inline-start:0}}
.detail-summary .receipt-check-title{justify-content:center}
.detail-summary .receipt-comparison>small{display:block;text-align:center;color:#617283;font-size:12px;line-height:1.5}
.detail-summary .manual-amount-tile{display:grid;justify-items:center;gap:4px;padding:10px;margin-bottom:10px}
.summary-tiles>.summary-tile:nth-child(n+3){grid-column:1/-1}
.summary-tiles .summary-tile>dt,.summary-tiles .summary-tile>dd{min-width:0;margin:0;text-align:center;overflow-wrap:anywhere}
.summary-tiles .summary-tile>dt{font-size:12px;color:#65778a}
.summary-tiles .summary-tile>dd{font-weight:600;line-height:1.45;font-variant-numeric:tabular-nums}
.summary-tiles .summary-phone{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:4px}

.detail-summary .summary-phone .summary-copy-number{appearance:none;display:inline-block;max-width:100%;min-width:0;min-height:24px;padding:0;margin:0;border:0;background:transparent;box-shadow:none;font:inherit;color:inherit;overflow-wrap:anywhere;cursor:pointer}
.summary-copy-number:hover{text-decoration:underline}
.summary-copy-number:focus-visible{outline:2px solid currentColor;outline-offset:2px}
.receipt-single-value .receipt-entered-amount{color:#be263e;font-size:1rem;font-weight:650;line-height:1.4;font-variant-numeric:tabular-nums}
.receipt-single-value small:has(+.receipt-entered-amount){margin-inline-end:5px;font-weight:400;color:#596b7c}

/* Keep daily actions prominent and secondary destinations compact. */
body.zip-ui:not(.nav-collapsed) #app-sidebar .sidebar-nav{gap:3px}
body.zip-ui:not(.nav-collapsed) #app-sidebar .sidebar-folder>summary,
body.zip-ui:not(.nav-collapsed) #app-sidebar .sidebar-nav>a{min-height:38px;padding-block:8px!important}
body.zip-ui:not(.nav-collapsed) #app-sidebar .sidebar-folder[open]>summary{
  background:transparent!important;
  color:var(--ui-nav-strong)!important;
  box-shadow:none!important;
}
body.zip-ui:not(.nav-collapsed) #app-sidebar .sidebar-folder>a{
  min-height:34px;
  width:auto;
  margin:0 4px 0 12px!important;
  padding:7px 10px 7px 24px!important;
  gap:9px;
  border-radius:7px;
  line-height:1.4;
}
body.zip-ui:not(.nav-collapsed) #app-sidebar .sidebar-folder>a .nav-icon{
  flex:0 0 16px;
  width:16px;
  height:16px;
}
body.zip-ui:not(.nav-collapsed) #app-sidebar .sidebar-folder>a:hover{
  background:color-mix(in srgb,var(--ui-nav-text) 7%,transparent)!important;
}
body.zip-ui:not(.nav-collapsed) #app-sidebar .sidebar-folder>a.selected{
  background:var(--ui-nav-active)!important;
  color:var(--ui-nav-strong)!important;
  box-shadow:none!important;
  font-weight:650;
}
body.zip-ui:not(.nav-collapsed) #app-sidebar .sidebar-folder>:focus-visible{
  outline:2px solid currentColor;
  outline-offset:-2px;
}
body.zip-ui:not(.nav-collapsed) #app-sidebar .sidebar-folder[open]>a::before{
  content:"";display:block!important;position:absolute;left:7px!important;top:0!important;bottom:0!important;width:0!important;height:auto!important;
  background:transparent!important;border-left:1px dashed var(--ui-nav-muted)!important;pointer-events:none;
}
body.zip-ui:not(.nav-collapsed) #app-sidebar .sidebar-folder[open]>a:last-of-type::before{bottom:50%!important}
body.zip-ui:not(.nav-collapsed) #app-sidebar .sidebar-folder[open]>a::after{
  content:"";display:block!important;position:absolute;left:4px!important;top:calc(50% - 3px)!important;width:7px!important;height:7px!important;
  border-radius:50%!important;background:var(--ui-nav-muted)!important;pointer-events:none;
}
body.zip-ui:not(.nav-collapsed) #app-sidebar .sidebar-folder[open]>a.selected::after{background:var(--ui-nav-strong)!important}
body.zip-ui:not(.nav-collapsed) #app-sidebar .sidebar-nav>.sidebar-group{margin:12px 0 3px;padding-top:12px;border-top:1px solid var(--ui-line)}


.zip-ui .theme-swatch-sample.theme-graphite {background:linear-gradient(115deg,#191b20 55%,#e9c789 55%)!important}
.zip-ui .theme-swatch-sample.theme-evergreen {background:linear-gradient(115deg,#14231e 55%,#97dcb3 55%)!important}
