/* Readable operational workspaces; the approved overview graphics remain unchanged. */
html.certificate-workbench #nav{gap:14px}
html.certificate-workbench #nav .nav-group{list-style:none;margin:0;padding:0;border:0}
html.certificate-workbench #nav .nav-group-title{margin:0 0 6px;padding:0 12px;color:#555;font:600 12px/1.5 var(--ff);letter-spacing:.06em;text-transform:uppercase}
html.certificate-workbench #nav .nav-group-items{list-style:none;display:grid;gap:2px;margin:0;padding:0}
html.certificate-workbench #nav a{min-height:44px;margin:0;padding:10px 12px}
html.certificate-workbench #nav a[href="#administration"]::before{display:none}
html.certificate-workbench :is(#v-customers,#v-certificates) :is(.card,.ux-customer-toolbar){border-color:#dadada;border-width:1px;box-shadow:none;border-radius:10px}
html.certificate-workbench #v-customers>.ux-customer-toolbar{border-radius:10px 10px 0 0;border-bottom:1px solid #dadada;gap:12px;padding:16px 20px;flex-wrap:wrap}
html.certificate-workbench #v-customers #customers-list>.card:has(.ux-customer-table){border:1px solid #dadada;border-top:0;border-radius:0 0 10px 10px;box-shadow:none;overflow:visible}
/* Keep the directory controls and column labels together below the workspace
   bar. The coverage cards scroll away, leaving room to read customer rows. */
@media (min-width:761px){
 html.certificate-workbench #v-customers>.ux-customer-toolbar{position:sticky;top:var(--workspace-bar-height,70px);z-index:12}
 html.certificate-workbench #v-customers .ux-customer-table thead{position:sticky;top:calc(var(--workspace-bar-height,70px) + var(--customer-toolbar-height,74px));z-index:11;box-shadow:0 1px 0 #dadada}
 html.certificate-workbench #v-customers .ux-customer-table thead th{position:static}
 html.certificate-workbench #v-customers .ux-customer-table tbody tr{scroll-margin-top:calc(var(--workspace-bar-height,70px) + var(--customer-toolbar-height,74px) + 56px)}
}
html.certificate-workbench :is(.ux-customer-table,#cert-table) :is(td,th){border-bottom:1px solid #e4e6e4;padding:15px 18px;font-size:14px;line-height:1.5}
html.certificate-workbench :is(.ux-customer-table,#cert-table) th{font-size:12px;font-weight:500;color:#666;background:#f8f9f8}
html.certificate-workbench #v-certificates .certificate-views{border-radius:10px 10px 0 0;border-bottom:1px solid #dadada;gap:24px;padding-inline:20px}
html.certificate-workbench #v-certificates .certificate-views button{background:transparent;color:#666;font-size:13px;min-height:46px;padding:10px 0;border-radius:0}
html.certificate-workbench #v-certificates .certificate-views button[aria-pressed=true]{color:#222;border-bottom:3px solid #da720f;font-weight:600;padding-inline:0}
html.certificate-workbench #v-certificates .ux-table-toolbar{padding:16px 20px;gap:12px;flex-wrap:wrap}
html.certificate-workbench #v-certificates .ux-table-toolbar>.bar-find{flex:1;min-width:230px}
html.certificate-workbench #v-certificates :is(.btn,.sel){font-size:13px;min-height:40px}
html.certificate-workbench #v-certificates .pager{border-radius:0 0 10px 10px}
#cert-table .inventory-paired-form{display:none;font:400 12px/1.5 var(--ff);color:#666;margin-top:4px}
#cert-table.inventory-paired-state .inventory-paired-form{display:block}
.inventory-basis{display:block;font:400 12px/1.5 var(--ff);color:#666;white-space:normal;max-width:240px;margin-top:5px}
.inventory-document-link{border:0;background:transparent;font:500 13px/1.5 var(--ff);color:#007681;text-decoration:underline;text-underline-offset:3px;min-height:40px;padding:4px 0;cursor:pointer}
#cert-table td[hidden],#cert-table th[hidden]{display:none!important}

html.certificate-workbench .ux-customer-table .customer-contact-cell{overflow-wrap:anywhere;white-space:normal;font-size:13px}
html.certificate-workbench .ux-customer-table .row-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.customer-row-more{position:relative;font-size:12px;color:#666}
.customer-row-more>summary{cursor:pointer;padding:9px 5px;color:#007681;min-height:36px}
.customer-row-more-actions{display:grid;gap:6px;position:absolute;right:0;top:100%;z-index:20;min-width:185px;padding:10px;background:#fff;border:1px solid #dadada;border-radius:7px;box-shadow:0 4px 12px #0001}
.customer-row-more:not([open]) .customer-row-more-actions{display:none}
.customer-row-more-actions .btn{width:100%;text-align:left;justify-content:flex-start}
.customer-workspace-summary{display:grid;grid-template-columns:minmax(320px,1fr) minmax(0,1.4fr);gap:20px;margin:0 0 22px}
.workspace-summary-panel{background:#fff;border:1px solid #dadada;border-radius:11px;overflow:hidden;min-width:0}
.workspace-summary-panel h2{padding:17px 20px;border-bottom:1px solid #dadada;font:600 17px/1.4 var(--ff);margin:0}
.customer-coverage-visual{padding:22px;display:flex;gap:22px;align-items:center;min-height:200px}
.customer-coverage-ring{height:138px;width:138px;flex:none;display:grid;place-items:center;border-radius:50%;background:conic-gradient(#949300 0deg var(--covered-angle),#da720f var(--covered-angle) 360deg)}
.customer-coverage-center{height:106px;width:106px;border-radius:50%;background:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px}
.customer-coverage-center strong{font:500 26px/1.2 var(--ff);font-variant-numeric:tabular-nums}
.customer-coverage-center span{font-size:10px;color:#666}
.customer-coverage-legend{display:grid;gap:9px;font-size:13px;min-width:0}
.customer-coverage-legend b{font-size:18px;color:#6b6b00}.customer-coverage-legend small{color:#666;font-size:11px}
.workspace-covered:before,.workspace-gap:before{content:'';display:inline-block;height:8px;width:8px;border-radius:50%;background:#949300;margin-right:8px}.workspace-gap:before{background:#da720f}
.workspace-attention-row{width:100%;display:flex;justify-content:space-between;align-items:center;text-align:left;gap:16px;background:#fff;border:0;border-bottom:1px solid #eee;padding:13px 20px;min-height:50px;font:400 14px/1.5 var(--ff);color:#222;cursor:pointer}
.workspace-attention-row:hover{background:#f7f9f7}.workspace-attention-row b{font:500 13px var(--ff);font-variant-numeric:tabular-nums;color:#8a4604;background:#fff5e9;border:1px solid #e7c29d;padding:3px 9px;border-radius:4px}
.workspace-summary-note{margin:0;padding:11px 20px;font:400 12px/1.5 var(--ff);color:#666}
.inventory-renewal-context{border:1px solid #dadada;border-radius:10px;background:#fff;padding:18px 20px;margin:0 0 20px}
.inventory-renewal-heading{display:flex;gap:12px 20px;align-items:center;flex-wrap:wrap;margin-bottom:16px}.inventory-renewal-heading h2{font:600 18px var(--ff);margin:0}.inventory-renewal-heading>span{font-size:12px;color:#666}.inventory-renewal-heading>.btn{margin-left:auto}
.inventory-renewal-bands{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.inventory-renewal-band{padding:15px;text-align:left;background:#fff9f1;border:1px solid #e7c9a8;border-radius:6px;font:400 13px var(--ff);cursor:pointer;color:#222}.inventory-renewal-band strong{display:block;font:500 25px var(--ff);font-variant-numeric:tabular-nums;color:#8a4604;margin:8px 0}.inventory-renewal-band small{font-size:11px;color:#666}.inventory-renewal-band[aria-pressed=true]{border:2px solid #8a4604;padding:14px}.inventory-renewal-note{font-size:12px;color:#666;line-height:1.6;margin:14px 0 0}.workspace-text-action{border:0;background:transparent;color:#007681;text-decoration:underline;text-underline-offset:3px;font:inherit;padding:2px 0;cursor:pointer}
html.certificate-workbench .ux-customer-toolbar #customer-view-filter{max-width:190px;font-size:13px;min-height:40px}
@media(max-width:1250px){.customer-workspace-summary{grid-template-columns:1fr 1.2fr;gap:16px}.customer-coverage-visual{padding:18px;gap:14px;flex-wrap:wrap}.customer-coverage-ring{height:120px;width:120px}.customer-coverage-center{height:92px;width:92px}.customer-coverage-center strong{font-size:23px}.customer-coverage-legend{font-size:12px}.customer-coverage-legend b{font-size:16px}}
@media(max-width:1000px){.customer-workspace-summary{grid-template-columns:1fr}.customer-coverage-visual{flex-wrap:nowrap;min-height:170px}.customer-coverage-legend{font-size:13px}}
@media(max-width:760px){.customer-workspace-summary{gap:14px}.customer-coverage-visual{padding:16px;gap:16px}.customer-coverage-ring{height:112px;width:112px}.customer-coverage-center{height:84px;width:84px}.customer-coverage-center span{font-size:9px}.customer-coverage-legend{font-size:12px}.customer-coverage-legend b{font-size:16px}.workspace-summary-panel h2{padding:14px 16px;font-size:16px}.workspace-attention-row{padding:12px 16px;font-size:13px}.workspace-summary-note{padding:12px 16px}.inventory-renewal-bands{gap:8px}.inventory-renewal-band{padding:12px 8px;font-size:12px}.inventory-renewal-band[aria-pressed=true]{padding:11px 7px}.inventory-renewal-band small{display:none}.inventory-renewal-context{padding:16px 12px}.inventory-renewal-heading>.btn{margin-left:0}.inventory-renewal-heading h2{font-size:16px}html.certificate-workbench #v-customers>.ux-customer-toolbar{padding:14px;gap:10px}html.certificate-workbench #v-customers #customers-list>.card:has(.ux-customer-table){overflow:visible}.customer-coverage-legend small{font-size:10px}.inventory-basis{max-width:190px}html.certificate-workbench #v-certificates .certificate-views{gap:20px;padding-inline:16px}.inventory-renewal-heading>span{font-size:11px}}

/* A wrapped signed-in header must occupy its actual height on narrow screens. */
@media(max-width:760px){
 html.certificate-workbench .top{height:auto;flex:0 0 auto;min-height:64px;flex-wrap:wrap;gap:10px;padding:12px 16px}
 html.certificate-workbench .top .workspace-scope{order:0;flex:1 1 100%;min-width:0}
 html.certificate-workbench .top .account{width:100%;margin-left:0;padding:10px 0 0;border-left:0;border-top:1px solid #eee;gap:8px;min-width:0}
 html.certificate-workbench .top .account-who{flex:1;min-width:0}
 html.certificate-workbench .top .account-email{max-width:180px}
 html.certificate-workbench .top .account-signout{margin-left:auto;flex-shrink:0}
 html.certificate-workbench .view>.phead{flex-direction:column;align-items:stretch;gap:14px}
 html.certificate-workbench .view>.phead .phead-t{min-width:0}
 html.certificate-workbench #v-certificates .ux-table-toolbar>.bar-find{min-width:0;flex:1 1 100%}
 html.certificate-workbench #v-certificates #wb-saved{min-width:0;max-width:100%;flex:1}
}
@media(max-width:760px){html.certificate-workbench #v-certificates .bar.ux-table-toolbar{flex-wrap:wrap}}
/* The handoff shell scrolls table regions, while this directory freezes its
   search and labels together. Use one scroll owner so those offsets agree. */
@media(min-width:901px){
 html.certificate-workbench .work:has(#v-customers:not([hidden])){display:block;overflow-y:auto}
 html.certificate-workbench #v-customers:not([hidden]){display:block;height:auto;min-height:100%;overflow:visible}
 html.certificate-workbench #v-customers #customers-list{display:block}
 html.certificate-workbench #v-customers #customers-list>.card:last-child{display:block;overflow:visible}
 html.certificate-workbench #v-customers .table-region{overflow:visible}
 html.certificate-workbench #v-customers>.ux-customer-toolbar{top:calc(0px - var(--customer-scroll-padding,0px))}
 html.certificate-workbench #v-customers .ux-customer-table thead{top:calc(var(--customer-toolbar-height,74px) - var(--customer-scroll-padding,0px))}
}
