/* Scoped UI refresh: permissions and business routes remain server-owned. */
.zip-ui .sidebar{background:var(--ui-nav)!important;color:#c6d3e1!important;border-right:0!important}
.zip-ui .sidebar .sidebar-brand,.zip-ui .sidebar .brand-name,.zip-ui .sidebar .sidebar-user strong{color:#f3f7fc!important}
.zip-ui .sidebar .sidebar-subtitle,.zip-ui .sidebar .sidebar-group,.zip-ui .sidebar .sidebar-user small{color:#acbed1!important}
.zip-ui .sidebar .sidebar-nav{display:flex!important;flex-direction:column;gap:6px;width:100%;min-height:0;overflow:auto!important}
.zip-ui .sidebar .enterprise-icon-rail{display:none!important}
.zip-ui .sidebar .sidebar-nav a,.zip-ui .sidebar .sidebar-folder>summary{display:flex!important;align-items:center;gap:12px;min-height:46px;margin:0;border:0;border-radius:9px;padding:11px 13px!important;background:transparent;color:#c6d3e1!important;font-size:14px!important;text-decoration:none!important;box-sizing:border-box}
.zip-ui .sidebar .sidebar-nav a.selected,.zip-ui .sidebar .sidebar-nav a:hover,.zip-ui .sidebar .sidebar-folder>summary:hover,.zip-ui .sidebar .sidebar-folder.has-current>summary{background:var(--ui-nav-active)!important;color:#fff!important;box-shadow:none!important}
.zip-ui .sidebar .sidebar-nav a.selected:before{display:none!important}
.zip-ui .sidebar .sidebar-folder{padding:0!important;margin:3px 0;border:0;background:transparent;min-width:0}
.zip-ui .sidebar .sidebar-folder>summary{list-style:none;font-weight:500}
.zip-ui .sidebar .sidebar-folder>summary::-webkit-details-marker{display:none}
.zip-ui .sidebar .sidebar-folder>summary:after{content:'⌄';margin-left:auto;color:inherit}
.zip-ui .sidebar .sidebar-folder[open]>summary:after{content:'⌃'}
.zip-ui .sidebar .nav-icon{width:21px;height:21px;flex-shrink:0;color:inherit!important}
.zip-ui .sidebar .nav-link-label,.zip-ui .sidebar .nav-folder-label{min-width:0;overflow-wrap:anywhere}
.zip-ui .sidebar [data-current-department]{display:none}
.zip-ui .sidebar .sidebar-folder>a{margin:4px 0 4px 29px!important;padding:10px 12px!important;min-height:40px;border-radius:8px;position:relative}
.zip-ui .sidebar .sidebar-folder>a:before{content:'';display:block!important;position:absolute;left:-14px;top:-4px;bottom:-4px;width:1px;background:#516880!important}
.zip-ui .sidebar .sidebar-folder>a .nav-icon{display:none}
.zip-ui.nav-collapsed .sidebar{display:flex!important;width:78px!important;padding-inline:9px!important;overflow:visible!important}
.zip-ui.nav-collapsed .sidebar .sidebar-nav{display:flex!important}
.zip-ui.nav-collapsed .sidebar .sidebar-nav>a,.zip-ui.nav-collapsed .sidebar .sidebar-folder>summary{justify-content:center!important;padding:12px!important;min-height:48px!important}
.zip-ui.nav-collapsed .sidebar .sidebar-folder>a,.zip-ui.nav-collapsed .sidebar .nav-link-label,.zip-ui.nav-collapsed .sidebar .nav-folder-label,.zip-ui.nav-collapsed .sidebar .sidebar-folder>summary:after{display:none!important}
.zip-ui.nav-collapsed .sidebar .sidebar-group{display:none!important}
.zip-ui .sidebar-flyout{position:fixed;z-index:130;width:245px;max-width:calc(100vw - 94px);max-height:calc(100dvh - 24px);overflow:auto;box-sizing:border-box;background:#fff;color:#304a62;border:1px solid #dfe8f1;border-radius:13px;padding:12px;box-shadow:0 16px 40px #263d592a}
.zip-ui .sidebar-flyout strong{display:block;padding:8px 10px 13px;border-bottom:1px solid #e4ebf2;margin-bottom:5px;font-size:14px}
.zip-ui .sidebar-flyout a{display:block;padding:11px 12px;border-radius:8px;color:#304a62;text-decoration:none;font-size:14px}
.zip-ui .sidebar-flyout a.selected,.zip-ui .sidebar-flyout a:hover{background:#eaf4f8;color:var(--ui-accent)}
.zip-ui .sidebar-flyout a svg{display:none}
.zip-ui .sidebar-flyout.is-tooltip{width:auto;max-width:calc(100vw - 94px);padding:14px 18px;font-size:14px}
.zip-ui .filter-panel .quick-order-search{display:block;margin-bottom:18px}.zip-ui .filter-panel .quick-order-search label{display:flex;flex-direction:column;gap:7px}.zip-ui .filter-panel .quick-order-search input{width:100%;box-sizing:border-box}
.zip-ui .unified-filter-footer{justify-content:flex-end}.zip-ui .unified-filter-actions{flex-wrap:wrap;justify-content:flex-end;gap:8px}
.zip-ui .filter-schemes{position:relative;margin:0;padding:0;border:0;background:transparent}.zip-ui .filter-schemes>summary{list-style:none;min-height:36px;padding:7px 16px;font-size:13px;border:1px solid #dce5ef;border-radius:7px;background:white;color:#37546b;box-sizing:border-box}
.zip-ui .filter-schemes>summary::-webkit-details-marker{display:none}
.zip-ui .filter-scheme-menu{position:absolute;right:0;top:calc(100% + 7px);min-width:190px;background:white;border:1px solid #dfe8f0;border-radius:11px;padding:6px;box-shadow:0 12px 32px #26446022;z-index:40}
.zip-ui .filter-scheme-menu>a,.zip-ui .filter-scheme-menu>button{display:block;text-align:left;width:100%;box-sizing:border-box;background:transparent;border:0;box-shadow:none;margin:0;padding:10px 12px!important;border-radius:7px;color:#36536d;font-size:13px;text-decoration:none}
.zip-ui .filter-scheme-menu>a:hover,.zip-ui .filter-scheme-menu>button:hover{background:#edf5f9}
.zip-ui .compact-proofs{margin-bottom:20px;min-width:0}.zip-ui .compact-proofs>h2{font-size:17px;margin:0 0 16px}
.zip-ui .compact-proof-tabs{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:16px}.zip-ui .compact-proof-tabs button{padding:8px 16px;min-height:38px;border-radius:8px;font-size:13px;background:#fff;color:#526d82;border:1px solid #dce6ef}.zip-ui .compact-proof-tabs button[aria-selected=true]{background:#e6f4f7;border-color:#70b4c2;color:var(--ui-accent)}
.zip-ui .compact-proof-layout{display:grid;grid-template-columns:minmax(0,1fr) 240px;gap:22px}.zip-ui .compact-proof-content{min-width:0}.zip-ui .compact-proof-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px;font-size:13px}
.zip-ui .compact-proof-stage{display:grid;place-items:center;background:#f3f6fa;border-radius:10px;min-height:200px;padding:12px;box-sizing:border-box}.zip-ui .compact-proof-stage:empty{display:none}
.zip-ui .compact-proof-image{display:block;width:100%;padding:0;border:0;background:transparent;box-shadow:none;min-width:0}.zip-ui .compact-proof-image img{display:block;width:100%;max-height:440px;object-fit:contain}
.zip-ui .compact-proof-info{margin:0;padding-left:22px;border-left:1px solid #e4ebf2;display:flex;flex-direction:column;gap:17px}.zip-ui .compact-proof-info dt{font-size:12px;color:#7b8fa4;margin-bottom:5px}.zip-ui .compact-proof-info dd{margin:0;font-size:14px;color:#35526b;overflow-wrap:anywhere}
.zip-ui .compact-proof-dialog{max-width:min(1000px,94vw);max-height:92dvh;padding:16px;border:1px solid #dce7ef;border-radius:12px;background:white}.zip-ui .compact-proof-dialog::backdrop{background:#10293f99}.zip-ui .compact-proof-dialog img{display:block;max-width:100%;max-height:76dvh;object-fit:contain;margin:12px auto 0}.zip-ui .compact-proof-dialog button{display:block;margin-left:auto}
.zip-ui [data-proof-panel][hidden],.zip-ui [data-proof-retry][hidden]{display:none!important}
@media(min-width:761px){.zip-ui.nav-collapsed.dashboard-shell{padding-left:78px!important}.zip-ui.nav-collapsed .detail-actions{left:78px!important}}
@media(max-width:760px){.zip-ui.nav-collapsed.dashboard-shell{padding-left:78px!important}.zip-ui .compact-proof-layout{grid-template-columns:1fr}.zip-ui .compact-proof-info{border-left:0;border-top:1px solid #e4ebf2;padding:16px 0 0;display:grid;grid-template-columns:1fr 1fr;gap:16px}.zip-ui .compact-proof-stage{min-height:150px}.zip-ui.nav-collapsed .detail-actions{left:78px!important}.zip-ui .sidebar{max-width:calc(100vw - 24px)}}
@media(prefers-reduced-motion:reduce){.sidebar-flyout,.compact-proofs *{animation:none!important;transition:none!important}}

/* Light admin palettes preserve the existing animated graphics. */
body.zip-ui{--ui-nav:#243b55;--ui-nav-active:#36577b;--ui-accent:#087f94;--ui-page:#f4f7fb;--ui-glow:rgba(77,195,207,.25)}
body.zip-ui[data-admin-theme=teal]{--ui-nav:#254c4c;--ui-nav-active:#346967;--ui-accent:#167b71;--ui-page:#f1f7f5;--ui-glow:rgba(54,188,149,.25)}
body.zip-ui[data-admin-theme=graphite]{--ui-nav:#36424f;--ui-nav-active:#536171;--ui-accent:#526b83;--ui-page:#f4f5f7;--ui-glow:rgba(161,181,209,.22)}
body.zip-ui.dashboard-shell{background:var(--ui-page)!important;--accent:var(--ui-accent)}
.zip-ui.dashboard-shell .primary{background:var(--ui-accent)!important;border-color:var(--ui-accent)!important}
.zip-ui.dashboard-shell .data-motion-panel{background-color:var(--ui-nav-active)!important}
.zip-ui .admin-theme-label{display:flex;flex-direction:column;gap:7px;padding:8px 10px;font-size:12px;color:#627b90}
.zip-ui .admin-theme-label select,.zip-ui .admin-theme-label .select-trigger{min-width:150px;font-size:13px}

.sidebar-folder[hidden]{display:none!important}
/* Refined density and restrained palettes. */
body.zip-ui{--ui-nav:#28394f;--ui-nav-active:#3c516d;--ui-accent:#4c6ac7;--ui-page:#f5f7fb;--ui-nav-text:#c4cfde;--ui-nav-strong:#f5f7fb;--ui-nav-muted:#9cabc0;--ui-line:#4c6079}
body.zip-ui[data-admin-theme=pearl]{--ui-nav:#eef2f7;--ui-nav-active:#dde5ef;--ui-accent:#526b8b;--ui-page:#f8fafc;--ui-nav-text:#526279;--ui-nav-strong:#273b54;--ui-nav-muted:#7a8ba0;--ui-line:#ccd7e5}
body.zip-ui[data-admin-theme=sand]{--ui-nav:#3e4146;--ui-nav-active:#575b61;--ui-accent:#87725c;--ui-page:#f7f6f3;--ui-nav-text:#d2d0cd;--ui-nav-strong:#fffaf3;--ui-nav-muted:#b4b0aa;--ui-line:#696a6e}
.zip-ui .sidebar .sidebar-nav a,.zip-ui .sidebar .sidebar-folder>summary{color:var(--ui-nav-text)!important}
.zip-ui .sidebar .sidebar-brand,.zip-ui .sidebar .brand-name,.zip-ui .sidebar .sidebar-user strong,.zip-ui .sidebar .sidebar-nav a.selected,.zip-ui .sidebar .sidebar-nav a:hover,.zip-ui .sidebar .sidebar-folder>summary:hover{color:var(--ui-nav-strong)!important}
.zip-ui .sidebar .sidebar-subtitle,.zip-ui .sidebar .sidebar-group,.zip-ui .sidebar .sidebar-user small{color:var(--ui-nav-muted)!important}
.zip-ui .sidebar .sidebar-folder>a{margin:2px 0 2px 22px!important;min-height:36px;padding:8px 10px!important;gap:10px;font-size:13px!important}
.zip-ui .sidebar .sidebar-folder>a .nav-icon{display:block;width:16px;height:16px;opacity:.8}
.zip-ui .sidebar .sidebar-folder>a:before{left:-9px;top:-2px;bottom:-2px;background:var(--ui-line)!important}
.zip-ui .sidebar .sidebar-folder>a:after{content:'';position:absolute;left:-9px;top:50%;width:7px;height:1px;background:var(--ui-line)}
.zip-ui .sidebar .sidebar-folder>a.selected{box-shadow:inset 2px 0 0 #9bb5ed!important}
.zip-ui .account-dropdown{min-width:230px!important;padding:10px!important;border-radius:13px!important;box-shadow:0 12px 30px #25395118!important}
.zip-ui .admin-theme-picker{padding:8px 6px 14px;border-bottom:1px solid #edf0f4;margin-bottom:8px}
.zip-ui .theme-picker-title{display:block;font-size:12px;color:#7c8797;margin:0 0 10px!important}
.zip-ui .theme-swatches{display:grid;grid-template-columns:repeat(3,1fr);gap:7px}
.zip-ui .account-dropdown .theme-swatch{display:flex!important;flex-direction:column;align-items:center;gap:7px;padding:6px!important;width:100%;min-height:0!important;border:1px solid transparent!important;border-radius:8px!important;box-shadow:none!important;background:transparent!important;font-size:11px!important;line-height:1.2!important;color:#637086!important}
.zip-ui .account-dropdown .theme-swatch[aria-pressed=true]{background:#f3f6fb!important;border-color:#cad6e9!important;color:#324b6e!important}
.zip-ui .theme-swatch span{margin:0!important;padding:0!important;font-size:11px!important;color:inherit!important}
.zip-ui .theme-swatch-sample{display:block;width:44px;height:28px;border:1px solid #d9e1ec;border-radius:5px;background:linear-gradient(90deg,#28394f 27%,#f4f7fd 27%);box-shadow:inset 0 0 0 3px #ffffff30}
.zip-ui .theme-pearl{background:linear-gradient(90deg,#dae2ed 27%,#fff 27%)}.zip-ui .theme-sand{background:linear-gradient(90deg,#494c51 27%,#f7f3ed 27%)}
.zip-ui .compact-proofs{padding:16px 20px!important;box-shadow:none!important;border:1px solid #e5eaf1!important;border-radius:12px!important}
.zip-ui .compact-proof-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:14px}
.zip-ui .compact-proof-heading h2{font-size:14px!important;margin:0!important}
.zip-ui .compact-proof-tabs{display:flex;gap:2px;margin:0;padding:3px;background:#f1f4f8;border-radius:8px}
.zip-ui .compact-proof-tabs button{min-height:28px!important;padding:5px 13px!important;font-size:12px!important;line-height:18px;border:0!important;border-radius:6px;background:transparent!important;box-shadow:none!important;color:#738198}
.zip-ui .compact-proof-tabs button[aria-selected=true]{background:white!important;box-shadow:0 1px 4px #263e5910!important;color:var(--ui-accent)!important}
.zip-ui .compact-proof-layout{grid-template-columns:200px minmax(0,1fr);gap:22px;align-items:center}
.zip-ui .compact-proof-content{position:relative}
.zip-ui .compact-proof-toolbar{position:absolute;right:5px;bottom:23px;z-index:1;margin:0}
.zip-ui .compact-proof-toolbar a{padding:3px 7px!important;min-height:24px!important;font-size:11px!important;border:1px solid #e5eaf1!important;background:#fff!important;border-radius:5px!important;box-shadow:none!important}
.zip-ui .compact-proof-stage{height:144px;min-height:0;padding:6px;background:#f5f7fa;border:1px solid #e7ecf3;border-radius:8px}
.zip-ui .compact-proof-image{height:130px!important;min-height:0!important;padding:0!important;border:0!important;border-radius:0!important;box-shadow:none!important;background:transparent!important}
.zip-ui .compact-proof-image img{width:100%;height:130px;max-height:130px;object-fit:contain}
.zip-ui [data-proof-message]{font-size:11px;line-height:16px;margin:5px 0 0;color:#8b97a8}
.zip-ui .compact-proof-info{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px 26px;border:0;padding:0;align-self:center}
.zip-ui .compact-proof-info dt{font-size:11px;color:#8a98aa;margin-bottom:6px}.zip-ui .compact-proof-info dd{font-size:13px;font-weight:500;color:#3c4f68}
.zip-ui .filter-panel{box-shadow:none!important;border:1px solid #e4eaf2!important;border-radius:12px!important}
.zip-ui .filter-panel>summary{box-shadow:none!important;border-radius:12px!important}
.zip-ui .filter-panel .filter-main{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));column-gap:14px}
.zip-ui .filter-panel .quick-order-search{grid-column:1 / -1;margin-bottom:12px}
.zip-ui .unified-filter-footer{grid-column:1 / -1;margin-top:14px!important;padding-top:12px!important}
.zip-ui .unified-filter-actions{gap:4px;align-items:center}
.zip-ui .unified-filter-actions>.button,.zip-ui .unified-filter-actions>.primary,.zip-ui .filter-schemes>summary{font-size:12px!important;min-height:34px!important;padding:7px 15px!important;line-height:18px!important;border-radius:7px!important;box-shadow:none!important;margin:0!important}
.zip-ui .unified-filter-actions>.button:not(.primary),.zip-ui .filter-schemes>summary{border:1px solid transparent!important;background:transparent!important;color:#65768b!important}
.zip-ui .unified-filter-actions>.button:not(.primary):hover,.zip-ui .filter-schemes>summary:hover{background:#f0f4f9!important}
@media(max-width:760px){.zip-ui .compact-proof-layout{grid-template-columns:130px minmax(0,1fr);gap:14px}.zip-ui .compact-proof-info{grid-template-columns:1fr 1fr;gap:12px;padding:0;border:0}.zip-ui .compact-proof-heading{align-items:flex-start;gap:8px}.zip-ui .compact-proof-tabs button{padding:4px 8px!important}.zip-ui .filter-panel .filter-main{grid-template-columns:1fr 1fr}}
@media(max-width:480px){.zip-ui .compact-proof-layout{grid-template-columns:1fr}.zip-ui .compact-proof-content{max-width:180px}.zip-ui .compact-proof-info{grid-template-columns:1fr 1fr}.zip-ui .compact-proof-heading{flex-wrap:wrap}.zip-ui .filter-panel .filter-main{grid-template-columns:1fr}}
.zip-ui .sidebar .sidebar-folder>a{padding-left:20px!important}
.zip-ui .sidebar .sidebar-folder>a:before{left:4px!important;top:0!important;bottom:0!important;height:auto!important;width:1px!important;border-radius:0!important;transform:none!important;opacity:1!important}
.zip-ui .sidebar .sidebar-folder>a:after{left:4px!important;top:50%!important;width:9px!important;height:1px!important;opacity:1!important;transform:none!important;background:var(--ui-line)!important}
.zip-ui .sidebar .sidebar-folder>a:before,.zip-ui .sidebar .sidebar-folder>a:after{border:0!important;box-shadow:none!important;outline:0!important}
.zip-ui .sidebar .sidebar-folder.has-current>summary{color:var(--ui-nav-strong)!important}

body.zip-ui[data-admin-theme=slate]{--ui-nav:#343e4c;--ui-nav-active:#4b586b;--ui-accent:#566a86;--ui-page:#f5f6f8;--ui-nav-text:#d1d7e0;--ui-nav-strong:#fff;--ui-nav-muted:#b3becc;--ui-line:#4b586b}
.zip-ui .theme-slate{background:linear-gradient(90deg,#343e4c 27%,#f5f6f8 27%)}

body.zip-ui[data-admin-theme=forest]{--ui-nav:#29443e;--ui-nav-active:#3b5d51;--ui-accent:#39745c;--ui-page:#f4f8f5;--ui-nav-text:#d1d7e0;--ui-nav-strong:#fff;--ui-nav-muted:#b3becc;--ui-line:#3b5d51}
.zip-ui .theme-forest{background:linear-gradient(90deg,#29443e 27%,#f4f8f5 27%)}

body.zip-ui[data-admin-theme=ocean]{--ui-nav:#294854;--ui-nav-active:#3b6473;--ui-accent:#39788e;--ui-page:#f3f8fa;--ui-nav-text:#d1d7e0;--ui-nav-strong:#fff;--ui-nav-muted:#b3becc;--ui-line:#3b6473}
.zip-ui .theme-ocean{background:linear-gradient(90deg,#294854 27%,#f3f8fa 27%)}

body.zip-ui[data-admin-theme=violet]{--ui-nav:#3d3656;--ui-nav-active:#584d75;--ui-accent:#7563a4;--ui-page:#f7f5fa;--ui-nav-text:#d1d7e0;--ui-nav-strong:#fff;--ui-nav-muted:#b3becc;--ui-line:#584d75}
.zip-ui .theme-violet{background:linear-gradient(90deg,#3d3656 27%,#f7f5fa 27%)}

body.zip-ui[data-admin-theme=rose]{--ui-nav:#513b48;--ui-nav-active:#705264;--ui-accent:#a4617e;--ui-page:#faf5f7;--ui-nav-text:#d1d7e0;--ui-nav-strong:#fff;--ui-nav-muted:#b3becc;--ui-line:#705264}
.zip-ui .theme-rose{background:linear-gradient(90deg,#513b48 27%,#faf5f7 27%)}

body.zip-ui[data-admin-theme=amber]{--ui-nav:#4d4335;--ui-nav-active:#6b5b45;--ui-accent:#937143;--ui-page:#faf8f3;--ui-nav-text:#d1d7e0;--ui-nav-strong:#fff;--ui-nav-muted:#b3becc;--ui-line:#6b5b45}
.zip-ui .theme-amber{background:linear-gradient(90deg,#4d4335 27%,#faf8f3 27%)}

/* Pill-shaped actions and compact single-line fields across the admin. */
body.zip-ui.dashboard-shell button:not(.lf-item):not(.theme-swatch):not(.compact-proof-image):not(.select-menu button):not(.order-action-menu button):not(.filter-scheme-menu button):not(.ys-date-dialog button),
body.zip-ui.dashboard-shell a.button,
body.zip-ui.dashboard-shell .filter-schemes>summary,
body.zip-ui.dashboard-shell .platform-capsule>summary,
body.zip-ui.dashboard-shell .list-toolbar details>summary,
body.zip-ui.dashboard-shell .compact-proof-tabs,
body.zip-ui.dashboard-shell .compact-proof-tabs button{border-radius:999px!important}
body.zip-ui.dashboard-shell input:not([type=checkbox]):not([type=radio]):not([type=hidden]):not([type=file]):not([type=range]):not([type=color]),
body.zip-ui.dashboard-shell select,
body.zip-ui.dashboard-shell .select-trigger{border-radius:22px!important}
.zip-ui .theme-swatches{gap:8px 7px}
.zip-ui .admin-theme-picker{padding-bottom:12px}
.zip-ui .account-dropdown{max-height:calc(100dvh - 85px);overflow:auto}

/* One coherent light surface; palette changes only restrained accents. */
body.zip-ui.dashboard-shell{--ui-nav:#f2f5f8;--ui-nav-active:#e5edf3;--ui-page:#f7f9fb;--ui-nav-text:#526477;--ui-nav-strong:#2e485e;--ui-nav-muted:#8393a3;--ui-line:#d5dfe8;--ui-accent:#48778a}
body.zip-ui.dashboard-shell[data-admin-theme=bluegray]{--ui-accent:#48778a;--ui-nav-active:#e7f0f4}
.zip-ui .theme-bluegray{background:linear-gradient(90deg,#48778a 24%,#f7f9fb 24%)}
body.zip-ui.dashboard-shell[data-admin-theme=pearl]{--ui-accent:#617587;--ui-nav-active:#ecf0f4}
.zip-ui .theme-pearl{background:linear-gradient(90deg,#617587 24%,#f7f9fb 24%)}
body.zip-ui.dashboard-shell[data-admin-theme=sand]{--ui-accent:#8a7866;--ui-nav-active:#f1ede7}
.zip-ui .theme-sand{background:linear-gradient(90deg,#8a7866 24%,#f7f9fb 24%)}
body.zip-ui.dashboard-shell[data-admin-theme=slate]{--ui-accent:#526777;--ui-nav-active:#e9eef2}
.zip-ui .theme-slate{background:linear-gradient(90deg,#526777 24%,#f7f9fb 24%)}
body.zip-ui.dashboard-shell[data-admin-theme=forest]{--ui-accent:#568070;--ui-nav-active:#e8f1ed}
.zip-ui .theme-forest{background:linear-gradient(90deg,#568070 24%,#f7f9fb 24%)}
body.zip-ui.dashboard-shell[data-admin-theme=ocean]{--ui-accent:#4c8291;--ui-nav-active:#e7f2f4}
.zip-ui .theme-ocean{background:linear-gradient(90deg,#4c8291 24%,#f7f9fb 24%)}
body.zip-ui.dashboard-shell[data-admin-theme=violet]{--ui-accent:#777197;--ui-nav-active:#eeecf4}
.zip-ui .theme-violet{background:linear-gradient(90deg,#777197 24%,#f7f9fb 24%)}
body.zip-ui.dashboard-shell[data-admin-theme=rose]{--ui-accent:#997886;--ui-nav-active:#f3ebef}
.zip-ui .theme-rose{background:linear-gradient(90deg,#997886 24%,#f7f9fb 24%)}
body.zip-ui.dashboard-shell[data-admin-theme=amber]{--ui-accent:#95805f;--ui-nav-active:#f4efe6}
.zip-ui .theme-amber{background:linear-gradient(90deg,#95805f 24%,#f7f9fb 24%)}

body.zip-ui.dashboard-shell :is(button,a.button,summary,input,select,textarea,.select-trigger,.sidebar-brand,.sidebar-nav a,.enterprise-ripple),
body.zip-ui.dashboard-shell :is(button,a.button,summary,input,select,textarea,.select-trigger,.sidebar-brand,.sidebar-nav a,.enterprise-ripple):is(:hover,:active,:focus){box-shadow:none!important;transform:none!important;filter:none!important}
.zip-ui .enterprise-wave-layer{display:none!important}
.zip-ui .enterprise-ripple::before,.zip-ui .enterprise-ripple::after{box-shadow:none!important;filter:none!important}
.zip-ui :is(button,a.button,summary,.select-trigger):focus-visible{outline:2px solid var(--ui-accent)!important;outline-offset:2px}
.zip-ui .sidebar-nav a:hover svg{transform:none!important}
.zip-ui .card,.zip-ui .filter-panel,.zip-ui .order-section{box-shadow:none!important}
.zip-ui .flow-track-panel{padding:12px 18px!important;margin-bottom:16px!important;border:1px solid #e1e8ef!important;border-radius:12px!important;background:#fff!important;color:#425a70!important;box-shadow:none!important}
.zip-ui .flow-track-panel::before,.zip-ui .flow-track-panel::after{display:block!important}
.zip-ui .flow-track-heading{gap:12px}.zip-ui .flow-track-heading>div:first-child{display:flex;align-items:center;gap:12px}
.zip-ui .flow-track-heading small{color:#7b8d9f!important;font-size:11px}.zip-ui .flow-track-heading h2{color:#36536a!important;font-size:14px!important;margin:0!important}
.zip-ui .flow-percent{display:none}.zip-ui .flow-track-steps{margin:12px 0!important;gap:8px}
.zip-ui .flow-track-steps li{flex-direction:row!important;justify-content:flex-start;gap:7px!important;font-size:12px!important;color:#8293a4!important}
.zip-ui .flow-track-steps li:before{display:none!important}.zip-ui .flow-track-steps li:not(:last-child):after{content:'›';margin-left:auto;color:#b8c5d1;font-size:16px}
.zip-ui .flow-track-node{width:24px!important;height:24px!important;font-size:11px!important;background:#f1f4f8!important;border:1px solid #e4eaf0!important;color:#8a9bae!important}
.zip-ui .flow-track-steps .done .flow-track-node{background:#eaf3ef!important;color:#55806f!important;border-color:#dbe9e2!important}
.zip-ui .flow-track-steps .current{color:var(--ui-accent)!important}.zip-ui .flow-track-steps .current .flow-track-node{background:var(--ui-accent)!important;color:white!important;border-color:var(--ui-accent)!important;box-shadow:none!important;animation:none!important}
.zip-ui .flow-track-steps small{display:none}.zip-ui .flow-track-meta{font-size:11px!important;color:#8595a5!important}.zip-ui .flow-track-meta b{color:#5e7489!important}
.zip-ui .flow-track-next{padding-top:9px!important;margin-top:9px!important;border-color:#edf1f5!important;font-size:11px!important;color:#6b8194!important}.zip-ui .flow-track-next>span{color:#8c9bab!important}
.zip-ui .flow-track-note{display:none}
@media(max-width:600px){.zip-ui .flow-track-steps{overflow:auto;padding-bottom:5px!important}.zip-ui .flow-track-steps li{min-width:105px;white-space:nowrap}.zip-ui .flow-track-next{line-height:1.6}}

/* Keep the original animated aurora behind the compact workflow. */
body.zip-ui.dashboard-shell .flow-track-panel{background:linear-gradient(120deg,#34697b,#425b86)!important;border-color:#6d9aac!important;color:#e7f3fa!important}
.zip-ui .flow-track-panel .flow-track-heading h2{color:#f0fbff!important}
.zip-ui .flow-track-panel .flow-track-heading small,.zip-ui .flow-track-panel .flow-track-meta,.zip-ui .flow-track-panel .flow-track-next,.zip-ui .flow-track-panel .flow-track-next>span,.zip-ui .flow-track-panel .flow-track-steps li{color:#d5e8f2!important}
.zip-ui .flow-track-panel .flow-track-meta b{color:#f1fcff!important}
.zip-ui .flow-track-panel .flow-track-next{border-color:#d9efff26!important}
.zip-ui .flow-track-panel .flow-track-steps li:not(:last-child):after{color:#b2d3e3!important}
.zip-ui .flow-track-panel .flow-track-node{background:#ffffff16!important;border-color:#d6eefa40!important;color:#e0f1fa!important}
.zip-ui .flow-track-panel .flow-track-steps .current{color:#bbfff4!important}
.zip-ui .flow-track-panel .flow-track-steps .current .flow-track-node{background:#178e9e!important;border-color:#8cddd9!important;color:white!important}

/* Four coordinated white-based palettes. Animated panels retain their own colors. */
body.zip-ui.dashboard-shell[data-admin-theme=slate]{--ui-nav:#22252b;--ui-nav-active:#373c45;--ui-accent:#353a43;--ui-page:#f7f7f8;--ui-nav-text:#c8cdd4;--ui-nav-strong:#ffffff;--ui-nav-muted:#9da5b1;--ui-line:#454c57;--ui-choice:#eceef1}
.zip-ui .theme-slate{background:linear-gradient(90deg,#22252b 0 28%,#fff 28% 100%)!important;position:relative}.zip-ui .theme-slate:after{content:"";position:absolute;right:8px;bottom:7px;width:25px;height:7px;border-radius:4px;background:#353a43}
body.zip-ui.dashboard-shell[data-admin-theme=bluegray]{--ui-nav:#f7faff;--ui-nav-active:#e8efff;--ui-accent:#3568d4;--ui-page:#f7f9fd;--ui-nav-text:#526781;--ui-nav-strong:#244f9b;--ui-nav-muted:#8397af;--ui-line:#d7e3f4;--ui-choice:#edf3ff}
.zip-ui .theme-bluegray{background:linear-gradient(90deg,#f7faff 0 28%,#fff 28% 100%)!important;position:relative}.zip-ui .theme-bluegray:after{content:"";position:absolute;right:8px;bottom:7px;width:25px;height:7px;border-radius:4px;background:#3568d4}
body.zip-ui.dashboard-shell[data-admin-theme=pearl]{--ui-nav:#f4f5f7;--ui-nav-active:#e6e9ed;--ui-accent:#626e7d;--ui-page:#f8f9fb;--ui-nav-text:#606b7a;--ui-nav-strong:#354454;--ui-nav-muted:#909ba9;--ui-line:#d7dce3;--ui-choice:#eff1f4}
.zip-ui .theme-pearl{background:linear-gradient(90deg,#f4f5f7 0 28%,#fff 28% 100%)!important;position:relative}.zip-ui .theme-pearl:after{content:"";position:absolute;right:8px;bottom:7px;width:25px;height:7px;border-radius:4px;background:#626e7d}
body.zip-ui.dashboard-shell[data-admin-theme=ocean]{--ui-nav:#f3fafb;--ui-nav-active:#def1f3;--ui-accent:#147f91;--ui-page:#f7fafb;--ui-nav-text:#506f78;--ui-nav-strong:#1c6573;--ui-nav-muted:#819ca5;--ui-line:#cfe5e9;--ui-choice:#e8f6f7}
.zip-ui .theme-ocean{background:linear-gradient(90deg,#f3fafb 0 28%,#fff 28% 100%)!important;position:relative}.zip-ui .theme-ocean:after{content:"";position:absolute;right:8px;bottom:7px;width:25px;height:7px;border-radius:4px;background:#147f91}

.zip-ui .theme-swatches{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.zip-ui .account-dropdown .theme-swatch{padding:9px 8px!important;gap:8px;border-radius:9px!important}
.zip-ui .theme-swatch-sample{width:78px;height:40px;border-color:#dce3eb;box-shadow:none}
.zip-ui .theme-swatch span{font-size:12px!important}
.zip-ui .account-dropdown .theme-swatch[aria-pressed=true]{background:var(--ui-choice,#edf3ff)!important;border-color:var(--ui-accent)!important;color:var(--ui-accent)!important}
.zip-ui .sidebar .sidebar-folder.has-current>summary{color:var(--ui-nav-strong)!important}

/* Flat surfaces: use borders and quiet color changes instead of elevation. */
body.zip-ui.dashboard-shell *,
body.zip-ui.dashboard-shell *::before,
body.zip-ui.dashboard-shell *::after{box-shadow:none!important;text-shadow:none!important}
body.zip-ui.dashboard-shell :is(.card,.order-section,.sidebar,.sidebar-brand,.account-dropdown,.sidebar-flyout,.filter-scheme-menu,.platform-capsule-menu,.activity-dock-panel){filter:none!important}
body.zip-ui.dashboard-shell :is(.card,.order-section,.sidebar-brand):hover{transform:none!important}
body.zip-ui.dashboard-shell :is(.account-dropdown,.sidebar-flyout,.filter-scheme-menu,.platform-capsule-menu,.activity-dock-panel){border:1px solid #dce3eb!important}
body.zip-ui.dashboard-shell :is(button,a.button,.select-trigger):hover{border-color:var(--ui-accent)!important}
body.zip-ui.dashboard-shell :is(button,a.button):not(.primary):not(.compact-proof-image):not(.theme-swatch):hover{background:var(--ui-choice,#edf3ff)!important}
body.zip-ui.dashboard-shell :is(input,select,textarea,.select-trigger):focus{border-color:var(--ui-accent)!important;outline:2px solid var(--ui-choice,#edf3ff);outline-offset:1px}
body.zip-ui.dashboard-shell :is(#app-header,#app-sidebar,#app-content) *,
body.zip-ui.dashboard-shell :is(#app-header,#app-sidebar,#app-content) *::before,
body.zip-ui.dashboard-shell :is(#app-header,#app-sidebar,#app-content) *::after{box-shadow:none!important;text-shadow:none!important}

/* Consistent capsule controls and compact reminder actions. */
body.zip-ui.dashboard-shell :is(#app-header,#app-sidebar,#app-content) :is(button:not(.compact-proof-image),a.button,.select-trigger,.ys-date-trigger,.followup-options label,.notify-option,.filter-schemes>summary){border-radius:999px!important}
body.zip-ui.dashboard-shell .followup-options label{transform:none!important}
body.zip-ui.dashboard-shell :is(button,a.button,summary,input,select,textarea,.select-trigger,.ys-date-trigger):focus:not(:focus-visible){outline:none!important}
body.zip-ui.dashboard-shell input:is([type=checkbox],[type=radio]){width:16px!important;height:16px!important;min-height:16px!important;max-width:16px!important;flex:0 0 16px!important;padding:0!important;margin:0!important;outline-offset:2px}
body.zip-ui.dashboard-shell .remember-filter{display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:flex-start!important;gap:9px!important;border:0!important;background:transparent!important;padding:6px 0!important}
body.zip-ui.dashboard-shell .followup-options label:has(input:focus:not(:focus-visible)){outline:none!important}
body.zip-ui.dashboard-shell form.stacked:has(>input[name=action][value=reminder]){display:grid!important;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:end}
body.zip-ui.dashboard-shell form.stacked:has(>input[name=action][value=reminder])>p,
body.zip-ui.dashboard-shell form.stacked:has(>input[name=action][value=reminder])>.followup-options{grid-column:1/-1}
body.zip-ui.dashboard-shell form.stacked:has(>input[name=action][value=reminder])>[data-followup-date]{min-width:0;margin:0!important}
body.zip-ui.dashboard-shell form.stacked:has(>input[name=action][value=reminder])>button{grid-column:2;margin:0!important;min-height:42px!important;height:42px;padding:8px 20px!important;align-self:end}
body.zip-ui.dashboard-shell form.stacked:has(>input[name=action][value=reminder]) .ys-date-trigger{min-height:42px!important;height:42px!important;width:100%}
/* Action groups follow reading order, wrapping only when space runs out. */
body.zip-ui.dashboard-shell :is(.section-actions,.filter-actions,.unified-filter-actions,.row-actions,.confirmation-actions,.staff-access-actions,.team-row-actions,.account-actions){display:flex!important;flex-direction:row!important;flex-wrap:wrap!important;justify-content:flex-start!important;align-items:center!important;gap:8px!important;direction:ltr}
body.zip-ui.dashboard-shell :is(.section-actions,.filter-actions,.row-actions,.confirmation-actions,.staff-access-actions,.team-row-actions)>:is(button,a,form,details){margin-left:0!important;margin-right:0!important;order:0!important;float:none!important}
body.zip-ui.dashboard-shell .unified-filter-footer{justify-content:flex-start!important}
body.zip-ui.dashboard-shell .unified-filter-actions{margin-left:0!important;margin-right:auto!important}
body.zip-ui.dashboard-shell form.stacked:has(>input[name=action][value=reminder]){grid-template-columns:minmax(0,420px) max-content!important;justify-content:start!important}
body.zip-ui.dashboard-shell form.stacked:has(>input[name=action][value=reminder])>button{align-self:end!important}
body.zip-ui.dashboard-shell form.stacked:has(>input[name=action][value=reminder])>[data-followup-date]{width:100%!important;max-width:none!important}
body.zip-ui.dashboard-shell :is(.section-actions,.row-actions,.confirmation-actions,.staff-access-actions,.team-row-actions)>:is(button,a.button){width:auto!important;flex:0 1 auto!important}
body.zip-ui.dashboard-shell form.stacked:has(>input[name=action][value=reminder]){grid-template-columns:minmax(0,420px) 76px!important}
body.zip-ui.dashboard-shell form.stacked:has(>input[name=action][value=reminder])>button{width:76px!important;min-width:0!important;max-width:76px!important;justify-self:start!important}
/* Theme choices are compact swatches, not oversized action buttons. */
body.zip-ui.dashboard-shell #app-header .account-dropdown .theme-swatch{position:relative;display:flex!important;flex-direction:row!important;justify-content:flex-start!important;align-items:center!important;gap:9px!important;padding:10px 12px!important;height:40px!important;min-height:40px!important;border-radius:999px!important;border:1px solid #e8edf3!important;background:#fff!important;outline:none!important;transform:none!important}
body.zip-ui.dashboard-shell #app-header .account-dropdown .theme-swatch[aria-pressed=true]{background:var(--ui-choice)!important;border-color:transparent!important;color:var(--ui-accent)!important}
body.zip-ui.dashboard-shell #app-header .account-dropdown .theme-swatch[aria-pressed=true]::after{content:'✓';position:static!important;margin-left:auto;font-size:12px;color:var(--ui-accent);background:none!important;width:auto!important;height:auto!important;animation:none!important}
body.zip-ui.dashboard-shell #app-header .account-dropdown .theme-swatch:focus-visible{outline:2px solid var(--ui-accent)!important;outline-offset:2px}
body.zip-ui.dashboard-shell #app-header .theme-swatch-sample{width:18px!important;height:18px!important;min-width:18px;border:1px solid #dce3eb!important;border-radius:50%!important;overflow:hidden;box-shadow:none!important}
body.zip-ui.dashboard-shell #app-header .theme-swatch-sample:after{display:none!important}
body.zip-ui.dashboard-shell #app-header .theme-slate{background:linear-gradient(90deg,#30343b 50%,#fff 50%)!important}
body.zip-ui.dashboard-shell #app-header .theme-bluegray{background:linear-gradient(90deg,#3568d4 50%,#fff 50%)!important}
body.zip-ui.dashboard-shell #app-header .theme-pearl{background:linear-gradient(90deg,#929ba8 50%,#fff 50%)!important}
body.zip-ui.dashboard-shell #app-header .theme-ocean{background:linear-gradient(90deg,#147f91 50%,#fff 50%)!important}
body.zip-ui.dashboard-shell #app-header .theme-swatches{gap:8px}
/* Account actions include links as well as native buttons. */
body.zip-ui.dashboard-shell #app-content :is(.team-delete-link,.staff-access-actions a){border-radius:999px!important;min-height:44px!important;height:44px!important;padding:0 18px!important;box-sizing:border-box;display:inline-flex!important;align-items:center!important;justify-content:center!important;font-size:13px!important;line-height:20px!important;white-space:nowrap}
body.zip-ui.dashboard-shell #app-content .account-actions{align-items:flex-end!important;gap:12px!important}
body.zip-ui.dashboard-shell #app-content .staff-access-actions{align-items:center!important;padding:0!important;border:0!important;gap:8px!important}
body.zip-ui.dashboard-shell #app-content .staff-access-actions form{display:flex!important;align-items:center!important;margin:0!important}
body.zip-ui.dashboard-shell #app-content .staff-reset-form{flex:0 1 540px!important;max-width:100%;margin:0!important;align-items:end!important}
body.zip-ui.dashboard-shell #app-content .account-actions :is(button,input:not([type=hidden])){font-size:13px!important;line-height:20px!important}
body.zip-ui.dashboard-shell #app-content .team-delete-link{color:#bf4040!important;background:#fff7f7!important;border:1px solid #f0cccc!important;transform:none!important}
body.zip-ui.dashboard-shell .notification-config-actions{display:flex!important;flex-direction:row!important;flex-wrap:wrap!important;align-items:center!important;justify-content:flex-start!important;gap:10px!important;margin:14px 0!important}
body.zip-ui.dashboard-shell .notification-config-actions :is(button,select,.select-trigger){height:42px!important;min-height:42px!important;margin:0!important;width:auto!important;box-sizing:border-box;font-size:13px!important}
body.zip-ui.dashboard-shell .notification-config-actions .select-wrap{width:150px!important;flex:0 0 150px!important;margin:0!important}
/* Notification entries are message rows, not capsule action buttons. */
body.zip-ui.dashboard-shell .lf-panel{border-radius:14px!important;border:1px solid #e1e7ef!important}
body.zip-ui.dashboard-shell .lf-panel .lf-list{padding:0 14px}
body.zip-ui.dashboard-shell .lf-panel button.lf-item{border-radius:8px!important;border:0!important;border-bottom:1px solid #e8edf3!important;padding:13px 14px!important;margin:0 0 6px!important;background:#fff!important;box-shadow:none!important;outline:none!important;transform:none!important}
body.zip-ui.dashboard-shell .lf-panel button.lf-item.lf-unread{background:#f1f6fc!important;border-left:0!important}
body.zip-ui.dashboard-shell .lf-panel button.lf-item strong{font-size:13px!important;display:flex;align-items:center;gap:7px}
body.zip-ui.dashboard-shell .lf-panel button.lf-unread strong:before{content:'';width:6px;height:6px;flex:0 0 6px;border-radius:50%;background:var(--ui-accent)}
body.zip-ui.dashboard-shell .lf-panel button.lf-item:hover{background:#eaf1f9!important;border-color:#e8edf3!important}
body.zip-ui.dashboard-shell .lf-panel button.lf-item:focus-visible{outline:2px solid var(--ui-accent)!important;outline-offset:-2px}
body.zip-ui.dashboard-shell .lf-panel .lf-head{padding:16px;border-bottom:1px solid #edf1f5}.zip-ui .lf-panel .lf-head h2{font-size:15px!important}
body.zip-ui.dashboard-shell .lf-panel .pd-shortcuts{padding:0 14px;gap:6px;margin:12px 0}
body.zip-ui.dashboard-shell .lf-panel .pd-shortcuts button{padding:5px 10px!important;min-height:30px!important;font-size:12px!important}
body.zip-ui.dashboard-shell .lf-panel .lf-excerpt{font-size:12px!important;margin:6px 0!important}.zip-ui .lf-panel .lf-meta{font-size:11px!important}
/* Same starfield identity on both overview and detail, independent of palette. */
body.zip-ui.dashboard-shell :is(.home-overview,.flow-track-panel,.history-overview,.pd-metrics.data-motion-panel){position:relative!important;isolation:isolate;overflow:hidden!important;background:#101318!important;border:1px solid #292f37!important;color:#edf1f6!important;box-shadow:none!important}
body.zip-ui.dashboard-shell :is(.home-overview,.flow-track-panel,.history-overview,.pd-metrics.data-motion-panel)::before,
body.zip-ui.dashboard-shell :is(.home-overview,.flow-track-panel,.history-overview,.pd-metrics.data-motion-panel)::after{display:none!important;animation:none!important}
body.zip-ui.dashboard-shell :is(.home-overview,.flow-track-panel,.history-overview,.pd-metrics.data-motion-panel)>:not(canvas){position:relative;z-index:1}
body.zip-ui.dashboard-shell :is(.home-overview,.flow-track-panel,.history-overview,.pd-metrics.data-motion-panel)>.admin-starfield{position:absolute!important;inset:0;width:100%;height:100%;pointer-events:none;z-index:0}
body.zip-ui.dashboard-shell .home-overview{padding:20px 24px!important}
body.zip-ui.dashboard-shell .home-overview :is(h2,strong,b){color:#edf1f6!important}
body.zip-ui.dashboard-shell .home-overview :is(a,small,.muted,.home-totals){color:#b6c1ce!important}
body.zip-ui.dashboard-shell .flow-track-panel :is(.flow-track-heading h2,.flow-track-meta b){color:#f2f5f8!important}
body.zip-ui.dashboard-shell .flow-track-panel :is(.flow-track-heading small,.flow-track-meta,.flow-track-next,.flow-track-next>span,.flow-track-steps li){color:#b7c2d0!important}
body.zip-ui.dashboard-shell .flow-track-panel .flow-track-steps .current{color:white!important}
body.zip-ui.dashboard-shell .flow-track-panel .flow-track-steps .current .flow-track-node{background:#60788b!important;border-color:#b0c2d2!important;color:white!important}

/* Document previews remain rectangular; keep metadata close to the document. */
body.zip-ui.dashboard-shell #app-content .compact-proofs{padding:18px 20px!important}
body.zip-ui.dashboard-shell #app-content .compact-proof-heading{justify-content:flex-start;gap:24px;padding-bottom:12px;margin-bottom:16px;border-bottom:1px solid #edf0f4}
body.zip-ui.dashboard-shell #app-content .compact-proof-layout{grid-template-columns:180px minmax(0,640px);justify-content:start;align-items:center;gap:28px}
body.zip-ui.dashboard-shell #app-content .compact-proof-stage{height:140px;padding:5px;border-radius:8px}
body.zip-ui.dashboard-shell #app-content button.compact-proof-image{border-radius:4px!important;border:0!important;outline:none;background:transparent!important;overflow:hidden;transform:none!important;height:128px!important}
body.zip-ui.dashboard-shell #app-content button.compact-proof-image:focus-visible{outline:2px solid var(--ui-accent)!important;outline-offset:2px}
body.zip-ui.dashboard-shell #app-content .compact-proof-image img{height:128px;max-height:128px;border-radius:0;object-fit:contain}
body.zip-ui.dashboard-shell #app-content .compact-proof-info{grid-template-columns:repeat(3,minmax(0,1fr));gap:22px 28px;padding:0;border:0;width:100%}
body.zip-ui.dashboard-shell #app-content .compact-proof-tabs{background:transparent;padding:0;gap:14px}
body.zip-ui.dashboard-shell #app-content .compact-proof-tabs button{border-radius:0!important;padding:5px 0!important;border-bottom:2px solid transparent!important;background:transparent!important}
body.zip-ui.dashboard-shell #app-content .compact-proof-tabs button[aria-selected=true]{border-bottom-color:var(--ui-accent)!important}
@media(max-width:760px){body.zip-ui.dashboard-shell #app-content .compact-proof-layout{grid-template-columns:140px minmax(0,1fr);gap:18px}body.zip-ui.dashboard-shell #app-content .compact-proof-info{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}}
@media(max-width:480px){body.zip-ui.dashboard-shell #app-content .compact-proof-layout{grid-template-columns:1fr}body.zip-ui.dashboard-shell #app-content .compact-proof-heading{flex-wrap:wrap;gap:12px}}

/* Unified dashboard accents, including menus mounted directly on body. */
body.zip-ui.dashboard-shell{--accent:var(--ui-accent);--primary:var(--ui-accent);accent-color:var(--ui-accent)}
body.zip-ui.dashboard-shell :is(.history-overview,.pd-metrics.data-motion-panel) :is(strong,small,a){color:#edf1f6!important}
body.zip-ui.dashboard-shell :is(.pd-metrics.data-motion-panel)>.card{background:rgba(255,255,255,.055)!important;border-color:#414650!important}
body.zip-ui.dashboard-shell :is(button.primary,a.primary,input[type=submit],.section-number){background:var(--ui-accent)!important;border-color:var(--ui-accent)!important;color:#fff!important}
body.zip-ui.dashboard-shell :is(button.button:not(.primary),a.button:not(.primary),.ys-date-trigger,.select-trigger){color:var(--ui-accent)!important;border-color:var(--ui-line)!important}
body.zip-ui.dashboard-shell :is(button.primary,a.primary):hover{filter:brightness(.94)}
body.zip-ui.dashboard-shell :is(.select-trigger,.ys-date-trigger)[aria-expanded=true]{background:var(--ui-choice)!important;border-color:var(--ui-accent)!important}
body.zip-ui.dashboard-shell .select-menu{background:#fff!important;border-color:var(--ui-line)!important;color:var(--ui-accent)!important}
body.zip-ui.dashboard-shell .select-menu button{color:var(--ui-accent)!important;background:transparent!important}
body.zip-ui.dashboard-shell .select-menu button:is(:hover,:focus-visible,[aria-selected=true]){background:var(--ui-choice)!important;color:var(--ui-accent)!important}
body.zip-ui.dashboard-shell .select-menu button[aria-selected=true]{border-color:var(--ui-accent)!important}
body.zip-ui.dashboard-shell #internal-action-form .internal-order-save{display:flex;align-items:flex-end;gap:10px;grid-column:1/-1;max-width:640px}
body.zip-ui.dashboard-shell #internal-action-form .internal-order-save>label{flex:1;min-width:0;margin:0}
body.zip-ui.dashboard-shell #internal-action-form .internal-order-save :is(input,button){height:42px!important;min-height:42px!important;box-sizing:border-box}
body.zip-ui.dashboard-shell #internal-action-form .internal-order-save>button{flex:0 0 auto;margin:0!important;white-space:nowrap}
body.zip-ui.dashboard-shell #internal-action-form .internal-order-save{align-items:flex-end!important}
body.zip-ui.dashboard-shell #internal-action-form .internal-order-save>button{align-self:flex-end!important}
body.zip-ui.dashboard-shell .followup-options label:has(input:checked){background:var(--ui-choice)!important;border-color:var(--ui-accent)!important;color:var(--ui-accent)!important}
body.zip-ui.dashboard-shell :is(#feedback-bell,.activity-dock-toggle){background:var(--ui-accent)!important;color:#fff!important}

/* Preserve readable primary actions; size receipt frames to image proportions. */
body.zip-ui.dashboard-shell #app-content :is(a.button.primary,button.primary){color:#fff!important;background:var(--ui-accent)!important}
body.zip-ui.dashboard-shell #app-content .compact-proof-layout{grid-template-columns:max-content minmax(0,640px)}
body.zip-ui.dashboard-shell #app-content .compact-proof-content{width:max-content;max-width:180px;min-width:100px}
body.zip-ui.dashboard-shell #app-content .compact-proof-stage{width:fit-content;max-width:180px;min-width:100px}
body.zip-ui.dashboard-shell #app-content button.compact-proof-image{width:auto!important;max-width:168px}
body.zip-ui.dashboard-shell #app-content .compact-proof-image img{width:auto!important;max-width:168px;height:128px;object-fit:contain}
body.zip-ui.dashboard-shell #app-content .compact-proof-toolbar{position:static;margin:6px 0 0;justify-content:flex-start}
body.zip-ui.dashboard-shell #app-content [data-proof-panel]{display:flex;flex-direction:column;align-items:flex-start}
body.zip-ui.dashboard-shell #app-content [data-proof-panel][hidden]{display:none!important}
body.zip-ui.dashboard-shell #app-content .compact-proof-stage{order:0}
body.zip-ui.dashboard-shell #app-content .compact-proof-toolbar{order:1}
body.zip-ui.dashboard-shell #app-content [data-proof-message]{order:2}
body.zip-ui.dashboard-shell #app-content [data-proof-retry]{order:3}
@media(max-width:480px){body.zip-ui.dashboard-shell #app-content .compact-proof-layout{grid-template-columns:1fr}}

/* Native check controls inherit the selected palette, including radio groups. */
body.zip-ui.dashboard-shell :is(#app-content,#app-header,#app-sidebar) input:is([type=checkbox],[type=radio]),
body.zip-ui.dashboard-shell input:is([type=checkbox],[type=radio]){accent-color:var(--ui-accent)!important}
/* Keep the original-document link in the gallery header for the active tab. */
body.zip-ui.dashboard-shell #app-content .compact-proofs{position:relative}
body.zip-ui.dashboard-shell #app-content .compact-proof-content{position:static}
body.zip-ui.dashboard-shell #app-content .compact-proof-heading{padding-right:82px}
body.zip-ui.dashboard-shell #app-content .compact-proof-toolbar{position:absolute;top:15px;right:20px;bottom:auto;margin:0;z-index:2}
body.zip-ui.dashboard-shell #app-content .compact-proof-toolbar a{min-height:28px!important;padding:4px 10px!important}

/* Clean vector cloud/hub mark: no bitmap backdrop or competing gradients. */
body.zip-ui.dashboard-shell .sidebar .yunshu-mark{display:flex!important;align-items:center;justify-content:center;width:40px!important;height:40px!important;min-width:40px;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;color:var(--ui-nav-strong)!important;filter:none!important}
body.zip-ui.dashboard-shell .sidebar .yunshu-mark::before,body.zip-ui.dashboard-shell .sidebar .yunshu-mark::after{display:none!important}
body.zip-ui.dashboard-shell .sidebar .yunshu-brand-symbol{display:block;width:36px;height:36px;flex:none;overflow:visible}

/* Give notification feedback its own space below the filters. */
body.zip-ui.dashboard-shell .lf-panel{z-index:1200!important;max-height:calc(100dvh - 102px);display:flex;flex-direction:column;isolation:isolate}
body.zip-ui.dashboard-shell .lf-panel[hidden]{display:none!important}
body.zip-ui.dashboard-shell .lf-panel :is(.lf-head,.pd-shortcuts,.lf-status){flex-shrink:0;position:relative}
body.zip-ui.dashboard-shell .lf-panel .lf-list{min-height:0;max-height:min(480px,55dvh);padding:8px 14px!important;overflow-y:auto;overflow-x:hidden;scroll-padding-block:8px}
body.zip-ui.dashboard-shell .lf-panel button.lf-item{position:relative;box-sizing:border-box;max-width:100%;white-space:normal;transition:background-color .15s ease!important}
body.zip-ui.dashboard-shell .lf-panel button.lf-item:is(:hover,:active,:focus-visible){transform:none!important;background:var(--ui-choice)!important}
body.zip-ui.dashboard-shell .lf-panel button.lf-item:focus-visible{outline:2px solid var(--ui-accent)!important;outline-offset:-3px!important}
body.zip-ui.dashboard-shell .lf-panel button.lf-item>.enterprise-wave-layer{display:none!important}
body.zip-ui.dashboard-shell .lf-panel .lf-meta{overflow-wrap:anywhere}
