/* All new geometry is scoped to the administrative shell; customer portal and print stay independent. */
body[data-ec-app-shell]:has(.ec-unified-header){--ec-shell-top:56px;--ec-shell-side:210px}
body[data-ec-app-shell] .ec-unified-header{height:56px;gap:10px;padding:0 16px;z-index:120;flex-wrap:nowrap!important}
body[data-ec-app-shell] .ec-unified-header .ec-shell-brand img{width:125px;max-width:125px;height:36px}
body[data-ec-app-shell] .ec-unified-header .ec-shell-brand{margin-right:14px}
body[data-ec-app-shell] :is(.ec-u-search,.ec-u-create,.ec-u-notifications,.ec-u-profile){display:inline-flex;align-items:center;justify-content:center;gap:7px;text-decoration:none;font-family:inherit;font-weight:500;font-size:13px;line-height:1.3;color:var(--ec-shell-ink);min-height:34px;border:1px solid var(--ec-shell-line);border-radius:6px;background:var(--ec-shell-panel);padding:7px 10px;white-space:nowrap;box-shadow:none}
body[data-ec-app-shell] .ec-u-search{flex:1;max-width:550px;justify-content:flex-start;color:var(--ec-shell-muted);background:var(--ec-theme-bg,#f4f7fb);min-width:0}
body[data-ec-app-shell] .ec-u-search>span:first-child{font-size:21px;line-height:16px}
body[data-ec-app-shell] .ec-u-search-label{overflow:hidden;text-overflow:ellipsis}
body[data-ec-app-shell] .ec-u-search kbd{margin-left:auto;border:1px solid var(--ec-shell-line);padding:1px 4px;font-family:inherit;font-size:11px;line-height:1.4;border-radius:3px;flex-shrink:0}
body[data-ec-app-shell] .ec-u-create{color:var(--ec-shell-accent);border-color:color-mix(in srgb,var(--ec-shell-accent) 35%,var(--ec-shell-line));font-weight:650}
body[data-ec-app-shell] :is(.ec-u-profile,.ec-u-notifications){border-color:transparent;padding:7px;position:relative}
body[data-ec-app-shell] .ec-u-profile{margin-left:auto;background:color-mix(in srgb,var(--ec-shell-accent) 8%,var(--ec-shell-panel));color:var(--ec-shell-accent)}
body[data-ec-app-shell] .ec-u-notifications [data-reminder-count]:not([hidden]){position:absolute;top:0;right:0;min-width:14px;border-radius:7px;background:var(--ec-shell-accent);color:white;font-size:10px;text-align:center}
body[data-ec-app-shell] .ec-unified-sidebar{padding:10px 10px 8px;gap:0;background:var(--ec-shell-panel)}
body[data-ec-app-shell] .ec-u-navigation{display:block}
body[data-ec-app-shell] .ec-u-link{display:flex;align-items:center;gap:9px;padding:8px 9px;margin:1px 0;min-height:35px;border:0;border-radius:5px;text-decoration:none;font-size:13px;line-height:1.3;color:var(--ec-shell-muted);font-weight:500}
body[data-ec-app-shell] .ec-u-link:hover{background:var(--ec-theme-bg,#f4f7fb);color:var(--ec-shell-ink)}
body[data-ec-app-shell] .ec-u-link.active{background:color-mix(in srgb,var(--ec-shell-accent) 9%,var(--ec-shell-panel));color:var(--ec-shell-accent);font-weight:650}
body[data-ec-app-shell] .ec-u-group-label{font-size:10px;letter-spacing:.7px;color:var(--ec-shell-muted);font-weight:600;margin:12px 9px 4px}
body[data-ec-app-shell] .ec-u-favorites{margin-bottom:13px}
body[data-ec-app-shell] .ec-u-group{border:0;background:transparent;border-radius:0;padding:0;margin:4px 0;box-shadow:none}
body[data-ec-app-shell] .ec-u-group>summary{display:flex;align-items:center;gap:9px;list-style:none;padding:8px 9px;font-size:12px;font-weight:550;color:var(--ec-shell-muted);cursor:pointer;border:0;min-height:35px}
body[data-ec-app-shell] .ec-u-group>summary::-webkit-details-marker{display:none}
body[data-ec-app-shell] .ec-u-caret{margin-left:auto}
body[data-ec-app-shell] .ec-u-group[open]>summary .ec-u-caret{transform:rotate(180deg)}
body[data-ec-app-shell] .ec-u-group-items{padding:0 0 5px 12px}
body[data-ec-app-shell] .ec-u-group-items .ec-u-link{font-size:12px;padding:7px 9px;min-height:32px}
body[data-ec-app-shell] .ec-unified-sidebar .ec-side-footer{padding-top:8px;margin-top:auto}
body[data-ec-app-shell] .ec-u-context{display:flex;gap:12px;align-items:center;flex-wrap:wrap;position:relative;font-size:12px;margin:0 0 11px;min-width:0;z-index:100}
body[data-ec-app-shell] .ec-u-breadcrumb{color:var(--ec-shell-muted);font-size:11px;font-weight:500;min-width:0}
body[data-ec-app-shell] .ec-u-sections{margin-left:auto;border:0;background:transparent;padding:0;box-shadow:none;max-width:100%}
body[data-ec-app-shell] .ec-u-sections>summary{font-family:inherit;font-weight:500;font-size:12px;line-height:1.4;list-style:none;color:var(--ec-shell-muted);cursor:pointer;padding:4px 6px;border-radius:4px}
body[data-ec-app-shell] .ec-u-sections>summary::-webkit-details-marker{display:none}
body[data-ec-app-shell] .ec-u-sections-panel{position:absolute;right:0;top:100%;z-index:110;width:min(660px,calc(100vw - 40px));max-width:100%;max-height:65dvh;overflow:auto;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;padding:18px;border:1px solid var(--ec-shell-line);border-radius:8px;background:var(--ec-shell-panel);box-shadow:0 10px 35px #152c4526}
body[data-ec-app-shell] .ec-u-sections-panel h3{font-size:11px;letter-spacing:.2px;color:var(--ec-shell-muted);font-weight:600;margin:0 0 5px}
body[data-ec-app-shell] .ec-u-sections-panel a{display:block;font-size:13px;line-height:1.4;padding:6px;border-radius:4px;color:var(--ec-shell-ink);text-decoration:none;overflow-wrap:anywhere}
body[data-ec-app-shell] .ec-u-sections-panel a:hover,body[data-ec-app-shell] .ec-u-sections-panel a[aria-current]{background:color-mix(in srgb,var(--ec-shell-accent) 8%,var(--ec-shell-panel));color:var(--ec-shell-accent)}
body[data-ec-app-shell] .ec-u-profile-form{display:flex;align-items:center;gap:6px;margin:0;min-width:0;max-width:100%}
body[data-ec-app-shell] .ec-u-profile-form label{margin:0;font-size:11px;color:var(--ec-shell-muted)}
body[data-ec-app-shell] .ec-u-profile-form select{font-size:12px;padding:4px 7px;min-height:28px;width:auto;max-width:100%;background:var(--ec-shell-panel);color:var(--ec-shell-ink);border:1px solid var(--ec-shell-line);border-radius:4px}
body[data-ec-app-shell] .ec-u-dialog{color:var(--ec-shell-ink);background:var(--ec-shell-panel);border:1px solid var(--ec-shell-line);border-radius:10px;padding:18px;width:min(650px,calc(100vw - 28px));max-height:calc(100dvh - 32px);box-shadow:0 20px 65px #0c24373d;overflow:auto}
body[data-ec-app-shell] .ec-u-dialog::backdrop{background:#142b454d}
body[data-ec-app-shell] .ec-u-dialog>header{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:12px}
body[data-ec-app-shell] .ec-u-dialog h2{font-size:18px;font-weight:650;margin:0}
body[data-ec-app-shell] .ec-u-dialog button{font:inherit;border:1px solid var(--ec-shell-line);border-radius:5px;background:var(--ec-shell-panel);color:var(--ec-shell-ink);padding:7px 10px;cursor:pointer;box-shadow:none}
body[data-ec-app-shell] .ec-u-dialog [data-ec-dialog-close]{font-size:21px;padding:2px 9px;border:0;min-width:34px;min-height:34px}
body[data-ec-app-shell] .ec-u-dialog input[type=search]{width:100%;min-height:43px;font-size:16px;border:1px solid var(--ec-shell-line);border-radius:6px;color:var(--ec-shell-ink);background:var(--ec-shell-panel);padding:10px 12px}
body[data-ec-app-shell] .ec-u-dialog-hint,body[data-ec-app-shell] .ec-u-dialog footer{font-size:12px;color:var(--ec-shell-muted);line-height:1.4;margin:9px 0}
body[data-ec-app-shell] .ec-u-dialog footer{border-top:1px solid var(--ec-shell-line);padding-top:12px;margin-bottom:0}
body[data-ec-app-shell] [data-ec-command-results]{max-height:min(440px,55dvh);overflow:auto}
body[data-ec-app-shell] .ec-u-command-result{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 11px;text-decoration:none;color:var(--ec-shell-ink);font-size:14px;border-radius:5px}
body[data-ec-app-shell] .ec-u-command-result small{font-size:11px;color:var(--ec-shell-muted);font-weight:400;flex-shrink:0}
body[data-ec-app-shell] .ec-u-command-result.is-selected,body[data-ec-app-shell] .ec-u-command-result:hover{background:color-mix(in srgb,var(--ec-shell-accent) 9%,var(--ec-shell-panel));color:var(--ec-shell-accent)}
body[data-ec-app-shell] .ec-u-empty{font-size:13px;padding:12px;color:var(--ec-shell-muted)}
body[data-ec-app-shell] .ec-u-create-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px 10px}
body[data-ec-app-shell] .ec-u-create-grid a{display:flex;align-items:center;gap:10px;padding:11px 8px;border-radius:6px;font-size:13px;text-decoration:none;color:var(--ec-shell-ink)}
body[data-ec-app-shell] .ec-u-create-grid a:hover{background:color-mix(in srgb,var(--ec-shell-accent) 8%,var(--ec-shell-panel))}
body[data-ec-app-shell] .ec-u-create-grid small{display:block;font-size:11px;color:var(--ec-shell-muted);margin-top:3px}
body[data-ec-app-shell] .ec-u-profile-dialog{width:min(420px,calc(100vw - 28px))}
body[data-ec-app-shell] .ec-u-profile-dialog>a,body[data-ec-app-shell] .ec-u-profile-dialog>button{display:flex;align-items:center;gap:8px;width:100%;text-align:left;text-decoration:none;font-size:13px;color:var(--ec-shell-ink);margin:7px 0;padding:9px;border:1px solid var(--ec-shell-line);border-radius:5px}
body[data-ec-app-shell] .ec-u-preferences{display:flex;gap:8px;flex-wrap:wrap;padding:0;margin-bottom:10px}
body[data-ec-app-shell] .ec-u-preferences .ec-density-toggle{font-size:12px;min-height:34px;padding:7px 10px}
body[data-ec-app-shell]:has(.ec-unified-header) #hh-shortcut{display:none}
.ec-shell-classic-switch{display:flex;justify-content:flex-end;background:var(--ec-theme-panel,#fff);padding:3px 14px}.ec-shell-classic-switch button{font-family:inherit;font-size:12px;line-height:1.4;border:0;background:none;color:var(--ec-theme-primary,#2d7eea);padding:4px 6px;cursor:pointer}
.ec-u-sr{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
body[data-ec-app-shell] :is(.ec-u-dialog,.ec-u-context,.ec-unified-sidebar,.ec-unified-header) :is(a,button,input,select,summary):focus-visible{outline:2px solid var(--ec-shell-accent);outline-offset:2px}
@media(min-width:981px){body[data-ec-app-shell][data-ec-sidebar-state=collapsed]:has(.ec-unified-header){--ec-shell-side:62px}body[data-ec-app-shell][data-ec-sidebar-state=collapsed] .ec-unified-sidebar{padding:10px 7px}body[data-ec-app-shell][data-ec-sidebar-state=collapsed] .ec-unified-sidebar .ec-u-link,body[data-ec-app-shell][data-ec-sidebar-state=collapsed] .ec-u-group>summary{justify-content:center;padding:9px;gap:0}body[data-ec-app-shell][data-ec-sidebar-state=collapsed] .ec-u-group-items{display:none}body[data-ec-app-shell][data-ec-sidebar-state=collapsed] .ec-u-favorites{border-bottom:1px solid var(--ec-shell-line);padding-bottom:10px}}
@media(max-width:980px){body[data-ec-app-shell]:has(.ec-unified-header){--ec-shell-top:56px}body[data-ec-app-shell] .ec-unified-header{height:56px;padding:0 10px;gap:7px}body[data-ec-app-shell] .ec-unified-header .ec-shell-brand{margin-right:2px}body[data-ec-app-shell] .ec-unified-header .ec-shell-brand img{width:105px;max-width:105px;height:34px}body[data-ec-app-shell] .ec-u-search kbd{display:none}body[data-ec-app-shell] .ec-unified-sidebar .ec-side-close{align-self:flex-end}body[data-ec-app-shell] .ec-u-group>summary{min-height:40px}body[data-ec-app-shell] .ec-u-group-items .ec-u-link{min-height:39px}}
@media(max-width:600px){body[data-ec-app-shell] .ec-u-search{flex:0 0 34px;padding:4px;min-height:36px;justify-content:center;background:transparent;border-color:transparent;margin-left:auto}body[data-ec-app-shell] .ec-u-search-label{display:none}body[data-ec-app-shell] .ec-u-create{padding:7px;gap:3px;min-height:36px}body[data-ec-app-shell] .ec-u-profile{margin-left:0}body[data-ec-app-shell] .ec-u-notifications{padding:5px}body[data-ec-app-shell] .ec-u-sections-panel{grid-template-columns:1fr;width:100%}body[data-ec-app-shell] .ec-u-create-grid{grid-template-columns:1fr}body[data-ec-app-shell] .ec-u-context{gap:7px}body[data-ec-app-shell] .ec-u-profile-form{flex-basis:100%;order:3}body[data-ec-app-shell] .ec-u-profile-form select{flex:1;min-width:0}body[data-ec-app-shell] .ec-unified-header .ec-shell-brand img{width:85px;max-width:85px}body[data-ec-app-shell] .ec-unified-header{padding:0 6px;gap:3px}}
@media(pointer:coarse){body[data-ec-app-shell] :is(.ec-u-search,.ec-u-create,.ec-u-profile,.ec-u-notifications,.ec-u-dialog button,.ec-u-group>summary,.ec-u-link){min-height:44px}body[data-ec-app-shell] .ec-u-profile-form select{font-size:16px;min-height:40px}}
@media print{.ec-u-context,.ec-u-dialog,.ec-shell-classic-switch{display:none!important}}

/* 1.15.1: always-visible module tools, in the topbar. */
body[data-ec-app-shell] .ec-u-tools{display:inline-flex;align-items:center;justify-content:center;gap:7px;flex-shrink:0;font-family:inherit;font-size:13px;line-height:1.3;font-weight:650;padding:8px 11px;min-height:36px;border:1px solid color-mix(in srgb,var(--ec-shell-accent) 40%,var(--ec-shell-line));border-radius:6px;background:color-mix(in srgb,var(--ec-shell-accent) 9%,var(--ec-shell-panel));color:var(--ec-shell-accent);white-space:nowrap;box-shadow:none;cursor:pointer}
body[data-ec-app-shell] .ec-u-tools:hover{background:color-mix(in srgb,var(--ec-shell-accent) 16%,var(--ec-shell-panel))}
body[data-ec-app-shell] .ec-u-tools-short{display:none}
body[data-ec-app-shell] .ec-u-tools-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 20px}
body[data-ec-app-shell] .ec-u-tools-grid>section{margin:0;padding:0;border:0;min-width:0;background:transparent;box-shadow:none}
body[data-ec-app-shell] .ec-u-tools-grid h3{font-size:12px;color:var(--ec-shell-muted);margin:0 0 5px;font-weight:650}
body[data-ec-app-shell] .ec-u-tools-grid a{display:block;padding:9px 8px;text-decoration:none;color:var(--ec-shell-ink);font-size:14px;border-radius:5px;overflow-wrap:anywhere}
body[data-ec-app-shell] .ec-u-tools-grid a:hover,body[data-ec-app-shell] .ec-u-tools-grid a[aria-current]{color:var(--ec-shell-accent);background:color-mix(in srgb,var(--ec-shell-accent) 9%,var(--ec-shell-panel))}
body[data-ec-app-shell] .ec-u-tools-grid>a{grid-column:1/-1}
@media(max-width:760px){body[data-ec-app-shell] .ec-u-tools-full{display:none}body[data-ec-app-shell] .ec-u-tools-short{display:inline}body[data-ec-app-shell] .ec-u-tools{padding:7px;gap:4px}}
@media(max-width:600px){body[data-ec-app-shell] .ec-unified-header .ec-u-notifications{display:none}body[data-ec-app-shell] .ec-unified-header .ec-shell-brand img{width:65px;max-width:65px}body[data-ec-app-shell] .ec-u-tools-grid{grid-template-columns:1fr}body[data-ec-app-shell] .ec-u-tools svg{display:none}}
@media(max-width:359px){body[data-ec-app-shell] .ec-unified-header .ec-shell-brand{display:none}}
@media(pointer:coarse){body[data-ec-app-shell] .ec-u-tools{min-height:44px}body[data-ec-app-shell] .ec-u-tools-grid a{min-height:44px}}
