/* 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:6px;height:30px;font-size:13px;line-height:30px}
html body .orders-table .order-na-label>span{display:block;background:#637f9e;color:#fff;width:28px;text-align:center;font-weight:700}
html body .orders-table .order-na-label>strong{display:block;background:#e8eff6;color:#506b87;padding:0 11px;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}
