@layer documentWorkspace {
@media screen {
.ex-workspace{color:#162d49;max-width:100%;padding:12px;box-sizing:border-box}.ex-header{display:flex;justify-content:space-between;gap:16px;align-items:center;background:linear-gradient(105deg,#234c88,#3265a7);color:white;border-radius:12px;padding:18px 22px}.ex-header h1{font-size:23px;margin:3px 0}.ex-header p{margin:5px 0;color:#e2edff}.ex-actions,.ex-navigation{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.ex-filters{display:flex;flex-wrap:wrap;align-items:end;gap:12px;background:#f1f5fb;border:1px solid #cbd9ec;border-radius:10px;padding:12px;margin:14px 0}.ex-filters label,.ex-modal label{display:flex;flex-direction:column;gap:5px}.ex-filters input,.ex-filters select,.ex-modal input,.ex-modal select,.ex-modal textarea{font:inherit;min-height:36px;border:1px solid #afc0d7;border-radius:6px;padding:5px 9px;box-sizing:border-box}.ex-search{flex:1;min-width:160px}.ex-crumbs{display:flex;flex-wrap:wrap;gap:5px;align-items:center;margin:8px 0}.ex-crumbs [aria-current]{background:#dfebfc}.ex-navigation{margin-bottom:12px}.ex-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(215px,1fr));gap:12px}.ex-card{border:1px solid #bccfe6;border-top:4px solid #3565a7;border-radius:10px;padding:14px;background:white;display:flex;flex-direction:column;gap:10px}.ex-card h2{font-size:16px;margin:0}.ex-card>strong{font-size:26px;text-align:right;color:#234f8d}.ex-card small{color:#50637d}.ex-card:focus-within,.ex-card:focus{outline:2px solid #e1b84a;outline-offset:2px}.ex-attention{background:#fff8e7;border:1px solid #ead08b;border-radius:10px;padding:14px;margin:16px 0}.ex-attention .btn{margin:4px}.ex-sections{display:grid;gap:9px}.ex-sections details{border:1px solid #cbd9ec;border-radius:8px}.ex-sections summary{background:#edf3fb;padding:12px;font-weight:700;cursor:pointer}.ex-section-content{padding:12px}.ex-table{max-width:100%;overflow:auto;border:1px solid #c4d3e5;border-radius:8px;margin:12px 0;max-height:65vh}.ex-table table{width:100%;border-collapse:collapse;white-space:normal;font-size:14px}.ex-table th{background:#315e98!important;color:white!important;position:sticky;top:0;z-index:2;text-align:right;padding:9px}.ex-table td{padding:7px 9px!important;line-height:1.45;border-bottom:1px solid #d5dfec!important;text-align:right;min-width:80px;max-width:420px;overflow-wrap:anywhere}.ex-table tr:nth-child(even)>td{background:#eaf1fa!important}.ex-table tr:nth-child(odd)>td{background:white!important}.ex-table tr.ex-selected>td,.ex-table tr:focus>td{background:#d2e6ff!important;box-shadow:inset 0 1px #8db5e6,inset 0 -1px #8db5e6}.ex-table .ex-number{direction:ltr;text-align:center;font-variant-numeric:tabular-nums}.ex-empty{text-align:center!important;padding:25px!important}.ex-provenance{display:flex;flex-wrap:wrap;gap:8px 20px;font-size:13px;color:#53667d;background:#f5f8fc;padding:10px}.ex-notice,.ex-incomplete,.ex-form-error{background:#fff3d6;color:#744b00;padding:10px;border-right:3px solid #d1a135}.ex-total{background:#e9f1ff;border:1px solid #bcd0ed;padding:12px;border-radius:7px}.ex-document{border:1px solid #d0dcec;background:white;border-radius:10px;padding:14px;margin:12px 0}.ex-document-head{display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px;align-items:center}.ex-note{font-size:13px;line-height:1.6;color:#55657a}.ex-modal{max-width:850px;padding:20px;margin:auto}.ex-modal form{display:grid;gap:14px}.ex-modal fieldset{display:flex;flex-wrap:wrap;gap:8px;border:1px solid #c7d5e6;padding:10px}.ex-modal fieldset label{flex-direction:row;align-items:center;padding:5px;background:#eff4fb;border-radius:5px}.ex-modal input[type=checkbox]{min-height:16px}.ex-home-entry{margin:8px 0}.ex-inbox-host{position:fixed;bottom:105px;left:14px;z-index:10090;max-width:min(420px,calc(100vw - 28px));direction:rtl}.ex-inbox-host>button{background:#315e98;color:white;border:1px solid #b7cbe5;border-radius:9px;padding:9px;box-shadow:0 3px 12px #10274333}.ex-popup{background:white;border:1px solid #a7bfdc;box-shadow:0 5px 25px #172b4d44;border-radius:10px;padding:14px;margin-bottom:8px}.ex-popup .btn{margin:5px}.ex-message{border-right:3px solid #4c78b4;padding:10px;background:#f0f5fc;margin:10px 0;white-space:pre-wrap}.ex-body h2{font-size:20px}.ex-modal textarea{width:100%}@media(max-width:650px){.ex-header{display:block;padding:12px}.ex-header .ex-actions{margin-top:10px}.ex-header h1{font-size:19px}.ex-filters label{min-width:130px;flex:1}.ex-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.ex-card{padding:10px}.ex-card>strong{font-size:20px}.ex-workspace{padding:6px}.ex-table{max-height:60vh}.ex-inbox-host{bottom:90px}.ex-table td{min-width:100px}}

/* Keep the new oversight surface legible under the accepted compact global theme. */
#content .ex-workspace{font-size:15px!important;line-height:1.5!important}
#content .ex-workspace .ex-header h1{font-size:23px!important;line-height:1.4!important;color:white!important}
#content .ex-workspace .ex-header p,#content .ex-workspace .ex-header small{color:#e5efff!important;font-size:14px!important}
#content .ex-workspace h2{font-size:19px!important;line-height:1.5!important}
#content .ex-workspace .ex-card h2{font-size:16px!important}
#content .ex-workspace .ex-card>strong{font-size:26px!important;line-height:1.3!important}
#content .ex-workspace .btn,#content .ex-workspace label,#content .ex-workspace input,#content .ex-workspace select,#content .ex-workspace .master-search,#content .ex-workspace td,#content .ex-workspace th{font-size:14px!important;line-height:1.5!important}
#content .ex-workspace small,#content .ex-workspace .ex-provenance,#content .ex-workspace .ex-note{font-size:13px!important}
#content .ex-workspace .ex-sections summary{font-size:16px!important;line-height:1.5!important}
#content .ex-workspace .ex-actions,#content .ex-workspace .ex-attention{gap:8px}
@media(max-width:650px){#content .ex-workspace .ex-card>strong{font-size:21px!important}#content .ex-workspace .ex-header h1{font-size:20px!important}}


body.zace-desktop #content .ex-workspace .ex-header :is(h1,p,small){color:#fff!important}
body.zace-desktop #content .ex-workspace .ex-table table{width:100%!important;min-width:560px!important;table-layout:auto!important}
body.zace-desktop #content .ex-workspace .ex-table th{font-size:14px!important;background:#315e98!important;color:white!important}
body.zace-desktop #content .ex-workspace .ex-sections summary{padding:11px 14px!important;background:#edf3fb!important;white-space:normal!important;min-height:40px!important;font-size:16px!important}
body.zace-desktop #content .ex-workspace .btn{min-height:32px!important;height:auto!important;padding:5px 10px!important;white-space:normal!important}
body.zace-desktop #content .ex-workspace :is(input,select,.master-combo){min-height:34px!important;height:auto!important}
body.zace-desktop #content .ex-workspace .ex-search{min-width:180px!important}
@media(max-width:650px){
 body.zace-desktop:has(.ex-workspace) #sidebar{display:none!important}
 body.zace-desktop:has(.ex-workspace) .main-shell{width:100%!important;max-width:100%!important;margin:0!important;padding-left:6px!important;padding-right:6px!important}
 body.zace-desktop #content:has(.ex-workspace){width:100%!important;max-width:100%!important;min-width:0!important;margin:0!important;padding:0!important}
 body.zace-desktop #content .ex-workspace .ex-cards{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 body.zace-desktop #content .ex-workspace .ex-filters label{min-width:130px!important}
}
}
}

@layer documentWorkspace{@media screen and (max-width:650px){body.zace-desktop:has(.ex-workspace) :is(.topbar,#desktopToolbar){display:none!important}body.zace-desktop #content:has(.ex-workspace){top:0!important;padding-top:0!important}body.zace-desktop:has(.ex-workspace) .main-shell{padding-top:6px!important}}}

@layer documentWorkspace {
@media screen {
body.zace-desktop #content>.ex-home-entry{display:inline-flex!important;position:relative!important;align-items:center!important;justify-content:center!important;width:auto!important;min-width:220px!important;max-width:calc(100% - 24px)!important;min-height:42px!important;height:auto!important;margin:14px 12px!important;padding:9px 18px!important;background:#234f8d!important;color:#fff!important;border:1px solid #a9c4e6!important;border-radius:7px!important;font-size:16px!important;line-height:1.5!important;white-space:normal!important;z-index:2}
#content .ex-card .ex-provenance{display:grid!important;gap:5px!important;padding:8px!important;border-radius:5px!important;overflow-wrap:anywhere}
#content .ex-card .ex-notice{margin:0!important;font-size:13px!important;line-height:1.5!important}
#content .ex-workspace .ex-cards{align-items:start!important}
#content .ex-card-notices{font-size:13px!important;line-height:1.5!important;color:#744b00!important;border:1px solid #e4cb93!important;border-radius:5px!important;padding:6px!important}
#content .ex-card-notices>summary{cursor:pointer!important;font-size:13px!important;font-weight:700!important}
#content .ex-card-notices .ex-notice{margin-top:8px!important}
#content .ex-section-content{min-width:0!important;padding:12px!important}
#content .ex-section-actions{display:flex!important;justify-content:flex-start!important;margin-bottom:9px!important}
#content .ex-section-totals{display:flex!important;gap:8px 20px!important;flex-wrap:wrap!important;background:#e9f1ff!important;border:1px solid #bcd0ed!important;border-radius:6px!important;padding:10px!important;margin:9px 0!important}
#content .ex-section-totals span{display:inline-flex!important;align-items:center!important;gap:7px!important}
#content .ex-row-count{margin:8px 0!important;color:#50637d!important}
#content .ex-report-group{margin:10px 0!important;background:#fff!important}
#content .ex-report-group>[data-group-body]{padding:10px!important;min-width:0!important}
#content .ex-workspace .ex-report-group>summary{background:#e4edf8!important;font-size:15px!important}
#content .ex-workspace .ex-table table[data-executive-grid]{table-layout:auto!important}
#content .ex-workspace .ex-table tr[aria-selected=true]>td{background:#d2e6ff!important}
}
}

@layer documentWorkspace {
@media screen and (max-width:650px) {
/* Wide report tables scroll inside their group, without widening the oversight page. */
body.zace-desktop #content>.ex-workspace{width:100%!important;min-width:0!important}
body.zace-desktop #content .ex-workspace :is(.ex-sections,.ex-sections>details,.ex-section-content,.ex-report-group,[data-group-body],.ex-document,.ex-table){min-width:0!important;max-width:100%!important;box-sizing:border-box!important}
body.zace-desktop #content .ex-workspace .ex-table{width:100%!important;overflow:auto!important}
}
}

@layer documentWorkspace {
@media screen {
#content .ex-workspace .ex-loading{padding:12px 0}
#content .ex-workspace .ex-skeleton{display:flex;flex-direction:column;min-height:130px;padding:14px;gap:14px;border:1px solid #cbd9ec;border-radius:10px;background:white;pointer-events:none}
#content .ex-workspace .ex-skeleton span{display:block;height:18px;border-radius:5px;background:#e2eaf5}
#content .ex-workspace .ex-skeleton span:nth-child(2){width:70%;height:28px}
#content .ex-workspace .ex-skeleton span:last-child{width:85%}
#content .ex-workspace .ex-attention [data-ex-cases-preview]{min-width:0;max-width:100%}
#content .ex-workspace .ex-cases-count{font-weight:600;margin:9px 0}
#content .ex-workspace .ex-grid{min-width:0;max-width:100%}
#content .ex-workspace .ex-table-pages{display:flex;flex-wrap:wrap;align-items:center;gap:6px;padding:7px 0;color:inherit}
#content .ex-workspace .ex-table-pages span{margin-inline:auto;font-size:12px;font-weight:600}
#content .ex-workspace .ex-table-pages .btn{min-height:30px;padding:4px 9px}
}
}
