/* Shell geometry (234px sidebar, 64px header, 88px content offset) is a contract with adapter prepaint; keep it. */
:root{--admin-shell-width:234px}
.suite-shell,.suite-shell-launcher{font:14px/1.5 var(--admin-font);color:var(--admin-text)}
.suite-shell *,.suite-shell-launcher *{box-sizing:border-box}
html body[data-admin-layout].suite-shell-page,html body [data-admin-layout].suite-shell-page{margin:0 0 0 var(--admin-shell-width);padding:88px 32px 40px;min-width:0;min-height:100vh;width:auto}
.suite-shell svg{width:18px;height:18px;flex:none}

/* Sidebar */
.suite-shell-side{position:fixed;inset:0 auto 0 0;z-index:40;width:var(--admin-shell-width);padding:16px 12px;display:flex;flex-direction:column;background:var(--admin-shell-side,var(--admin-side-bg));color:var(--admin-side-text);border-right:1px solid var(--admin-side-line);overflow:auto;scrollbar-color:var(--admin-side-line) transparent;scrollbar-width:thin}
.suite-shell-brand{display:flex;align-items:center;gap:10px;width:100%;min-height:52px;padding:8px 10px;text-align:left}
.suite-shell-side .suite-shell-brand{background:transparent;border-color:transparent;color:var(--admin-text)}
.suite-shell-side .suite-shell-brand:hover{background:var(--admin-side-hover);border-color:transparent}
.suite-shell-brand-copy{flex:1;min-width:0}
.suite-shell-brand-copy small{display:block;font-size:11px;font-weight:600;color:var(--admin-side-muted)}
.suite-shell-brand-copy strong{display:block;font-size:15px;font-weight:800;letter-spacing:-.01em;margin-top:1px;color:var(--admin-text)}
/* Brand mark: black square with mint letters (mint square with black in dark). */
.suite-shell-mark{display:grid;place-items:center;width:32px;height:32px;flex:none;background:var(--admin-mark-bg);color:var(--admin-mark-fg);border-radius:9px;font-size:12px;font-weight:800;letter-spacing:.02em}
.suite-shell-brand>svg{width:14px;color:var(--admin-side-muted)}
.suite-shell-label{padding:22px 12px 8px;font-size:12px;font-weight:600;color:var(--admin-side-muted)}
.suite-shell-nav{display:flex;flex-direction:column;gap:2px}
.suite-shell-link{display:flex;align-items:center;text-align:left;gap:10px;min-height:40px;padding:8px 10px;border:0;border-radius:var(--admin-radius);background:transparent;color:var(--admin-side-text);font:600 14px/1.3 var(--admin-font);text-decoration:none;cursor:pointer;white-space:normal}
.suite-shell-link svg{color:var(--admin-side-muted)}
.suite-shell-link:hover{background:var(--admin-side-hover);color:var(--admin-text);text-decoration:none}
.suite-shell-link:hover svg{color:var(--admin-side-text)}
.suite-shell-link[aria-current]{background:var(--admin-side-active);color:var(--admin-side-accent);font-weight:700}
.suite-shell-link[aria-current] svg{color:var(--admin-side-accent)}
.suite-shell-badge{margin-left:auto;border-radius:var(--admin-pill);padding:1px 8px;color:var(--admin-mark-fg);background:var(--admin-mark-bg);font-size:11px;font-weight:700}
.suite-shell [hidden]{display:none}
.suite-shell-collapse{margin-top:auto;display:flex;align-items:center;gap:10px;text-align:left;font-size:13px;padding:8px 12px;min-height:40px}
.suite-shell-side .suite-shell-collapse{background:transparent;border-color:transparent;color:var(--admin-side-muted);font-weight:600}
.suite-shell-side .suite-shell-collapse:hover{background:var(--admin-side-hover);color:var(--admin-side-text)}

/* Header: sits on the page tone, quick search reads as a search field */
.suite-shell-top{position:fixed;top:0;left:var(--admin-shell-width);right:0;z-index:30;display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:64px;padding:12px 32px;background:var(--admin-bg);border-bottom:1px solid var(--admin-line-soft)}
.suite-shell-crumb{display:flex;align-items:center;gap:10px;min-width:0;font-size:14px}
.suite-shell-crumb>a{color:var(--admin-muted);text-decoration:none;font-weight:600}
.suite-shell-crumb>a:hover{color:var(--admin-text)}
.suite-shell-crumb>span:not(.suite-shell-context){color:var(--admin-line-strong)}
.suite-shell-crumb>strong{white-space:nowrap;font-weight:700}
.suite-shell-context{border-left:1px solid var(--admin-line);padding-left:12px;color:var(--admin-muted);max-width:190px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.suite-shell-controls{display:flex;align-items:center;gap:10px}
.suite-shell-quick.suite-button{display:flex;align-items:center;gap:10px;min-width:280px;background:var(--admin-panel);border-color:var(--admin-line);color:var(--admin-muted);font-weight:500}
.suite-shell-quick.suite-button:hover{border-color:var(--admin-line-strong);color:var(--admin-text-2)}
.suite-shell-quick kbd{margin-left:auto;border:1px solid var(--admin-line);padding:1px 6px;border-radius:6px;font:600 12px var(--admin-font);color:var(--admin-muted)}
.suite-shell-theme.suite-button{display:grid;place-items:center;width:var(--admin-control);min-width:0;padding:0;color:var(--admin-text-2)}.suite-shell-theme.suite-button:hover{color:var(--admin-text)}.suite-shell-theme[aria-pressed=true]{background:var(--admin-panel);border-color:var(--admin-line);color:var(--admin-text-2)}
.suite-shell-skip{position:fixed;left:16px;top:-80px;z-index:100;background:var(--admin-panel);color:var(--admin-accent);padding:12px;border-radius:var(--admin-radius);box-shadow:var(--admin-shadow-float)}.suite-shell-skip:focus{top:10px}
.suite-shell :focus-visible,.suite-shell-launcher :focus-visible{outline:2px solid var(--admin-accent);outline-offset:2px}
.suite-shell-side :focus-visible{outline-color:var(--admin-side-accent);outline-offset:-2px}

/* Quick navigation launcher */
.suite-shell-launcher{width:min(620px,calc(100vw - 32px));max-height:calc(100dvh - 48px);padding:0;border:1px solid var(--admin-card-border);border-radius:var(--admin-panel-radius);background:var(--admin-panel);box-shadow:var(--admin-shadow-float)}
.suite-shell-launcher[open]{display:flex;flex-direction:column}
.suite-shell-launcher::backdrop{background:var(--admin-overlay)}
.suite-shell-launcher-head{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:20px 24px 16px}
.suite-shell-launcher-head h2{font:800 20px/1.3 var(--admin-font);letter-spacing:-.01em;margin:0}
.suite-shell-launcher-head button{font-size:20px;min-width:var(--admin-control)}
.suite-shell-search{display:flex;align-items:center;gap:6px;margin:0 24px;padding:0 6px 0 14px;background:var(--admin-panel-2);border:1px solid var(--admin-line);border-radius:var(--admin-radius)}
.suite-shell-search:focus-within{border-color:var(--admin-accent);box-shadow:0 0 0 3px var(--admin-focus-ring)}
.suite-shell-search input{width:100%;min-width:0;min-height:46px;padding:10px 0;font:500 15px var(--admin-font);border:0;background:transparent;color:var(--admin-text)}
:root .suite-shell-launcher .suite-shell-search input:not(:disabled):is(:hover,:focus){border:0;box-shadow:none;outline:0}
.suite-shell-search input::-webkit-search-cancel-button{display:none}
.suite-shell-search button{margin:5px 0}
.suite-shell-search [hidden]{display:none}
.suite-shell-notice{margin:12px 24px 0;min-height:18px;color:var(--admin-muted);font-size:13px}
.suite-shell-results{padding:0 16px 16px;overflow:auto;max-height:52dvh;min-height:80px;scrollbar-gutter:stable;scrollbar-color:var(--admin-scroll) var(--admin-panel)}
.suite-shell-results h3{font-size:12px;margin:16px 8px 6px;color:var(--admin-muted);font-weight:700}
.suite-shell-result{display:flex;align-items:center;gap:6px;border-radius:var(--admin-radius)}
.suite-shell-result:hover{background:var(--admin-hover)}
.suite-shell-destination{display:flex;align-items:center;gap:12px;flex:1;min-width:0;padding:10px 8px;color:var(--admin-text);text-decoration:none;border-radius:var(--admin-radius)}
.suite-shell-destination:hover{text-decoration:none}
.suite-shell-destination[aria-current]{background:var(--admin-active)}
.suite-shell-result-mark{display:grid;place-items:center;flex:none;width:36px;height:36px;background:var(--admin-active);border-radius:var(--admin-radius);color:var(--admin-accent);font-size:12px;font-weight:800}
.suite-shell-destination strong{display:block;font-size:14px;font-weight:700}
.suite-shell-destination small{display:block;color:var(--admin-muted);font-size:13px}
.suite-shell-pin{font-size:20px;padding:4px 8px;border-color:transparent;background:transparent}
.suite-shell-launcher-footer{padding:12px 24px;border-top:1px solid var(--admin-line-soft);background:var(--admin-panel-2);border-radius:0 0 var(--admin-panel-radius) var(--admin-panel-radius);font-size:12px;color:var(--admin-muted)}

@media(min-width:801px){html[data-nav=compact]{--admin-shell-width:76px}.suite-shell-side:has(.suite-shell-collapse[aria-expanded=false]){padding:16px 12px}html[data-nav=compact] .suite-shell-brand{padding:8px;min-height:48px;justify-content:center}html[data-nav=compact] :is(.suite-shell-brand-copy,.suite-shell-brand>svg,.suite-shell-label,.suite-shell-link>span,.suite-shell-collapse>span){display:none}html[data-nav=compact] .suite-shell-nav{margin-top:24px}html[data-nav=compact] :is(.suite-shell-link,.suite-shell-collapse){justify-content:center;padding:11px 0}html[data-nav=compact] .suite-shell-badge{position:absolute;top:2px;right:2px;font-size:10px;padding:0 5px}.suite-shell-link{position:relative}}
@media(max-width:1150px){.suite-shell-context{display:none}.suite-shell-quick.suite-button{min-width:200px}}
@media(max-width:800px){html body[data-admin-layout].suite-shell-page,html body [data-admin-layout].suite-shell-page{margin:0;padding:16px;min-height:0}.suite-shell-side{position:static;width:auto;padding:12px 16px;border-right:0;border-bottom:1px solid var(--admin-side-line)}.suite-shell-brand{width:min(280px,100%);min-height:48px}.suite-shell-nav{flex-direction:row;overflow:auto;margin-top:10px;padding:2px 0;scrollbar-width:none}.suite-shell-link{flex:none;min-height:38px;padding:8px 12px}.suite-shell-link svg,.suite-shell-label,.suite-shell-collapse{display:none}.suite-shell-top{position:static;padding:8px 16px;min-height:56px}.suite-shell-crumb>a,.suite-shell-crumb>span{display:none}.suite-shell-crumb>strong{max-width:160px;overflow:hidden;text-overflow:ellipsis;font-size:14px}.suite-shell-quick.suite-button{min-width:40px;width:40px;padding:8px;justify-content:center}.suite-shell-quick span,.suite-shell-quick kbd{display:none}.suite-shell-controls{gap:6px}body.suite-shell-page>.suite-shell{margin:-16px -16px 0}.suite-shell-launcher-head{padding:20px 16px 12px}.suite-shell-search{margin:0 16px}}
@media(forced-colors:active){.suite-shell-link[aria-current]{outline:2px solid Highlight}.suite-shell :focus-visible,.suite-shell-launcher :focus-visible{outline-color:Highlight}}

/* Grouped navigation for larger server-rendered applications. */
.suite-shell-side:has(.suite-shell-nav--grouped){overflow:hidden}
.suite-shell-side:has(.suite-shell-nav--grouped)>:not(nav){flex-shrink:0}
.suite-shell-side:has(.suite-shell-nav--grouped)>.suite-shell-label{padding-top:16px}
.suite-shell-nav--grouped{flex:1;min-height:0;overflow:auto;gap:2px;padding:3px;scrollbar-width:thin}
.suite-shell-nav--grouped .suite-shell-link{min-height:36px;padding:7px 10px}
.suite-shell-nav-group{padding:16px 10px 6px;color:var(--admin-side-muted);font-weight:600;font-size:12px}
.suite-shell-footer{margin-top:12px;padding:12px 4px 0;border-top:1px solid var(--admin-side-line);color:var(--admin-side-muted);font-size:13px}
@media(min-width:801px){html[data-nav=compact] .suite-shell-nav-group{font-size:0;padding:0;margin:8px;border-top:1px solid var(--admin-side-line)}html[data-nav=compact] .suite-shell-nav--grouped{margin-top:16px}}
@media(max-width:800px){.suite-shell-nav--grouped{flex:none}.suite-shell-nav-group{flex:none;align-self:center;max-width:90px;padding:0 8px;white-space:normal}.suite-shell-footer{margin-top:8px}}
@media print{.suite-shell{display:none}html body[data-admin-layout].suite-shell-page,html body [data-admin-layout].suite-shell-page{margin:0;padding:0;min-height:0}}

/* Optional disclosure navigation: the document owns scrolling in both columns. */
body:has(> .suite-shell--flow){display:grid;grid-template-columns:var(--admin-shell-width) minmax(0,1fr);align-items:stretch}
.suite-shell--flow{display:contents}
.suite-shell--flow>.suite-shell-side{grid-column:1;grid-row:1;position:static;inset:auto;width:auto;min-height:100vh;overflow:visible;align-self:start}
html body:has(> .suite-shell--flow)>[data-admin-layout].suite-shell-page{grid-column:2;grid-row:1;margin:0}
.suite-shell--flow .suite-shell-nav--grouped{flex:none;min-height:0;height:auto;overflow:visible;margin-bottom:12px}
.suite-shell-group{margin:0;min-width:0}
.suite-shell-group-toggle{display:flex;align-items:center;gap:8px;min-height:36px;padding:8px 10px;border:0;border-radius:var(--admin-radius);color:var(--admin-side-muted);font:600 12px/1.4 var(--admin-font);cursor:pointer;list-style:none}
.suite-shell-group-toggle::-webkit-details-marker{display:none}
.suite-shell-group-toggle>svg:first-child{width:15px;height:15px}
.suite-shell-group-toggle>svg:last-child{margin-left:auto;width:13px;height:13px;transform:rotate(-90deg)}
.suite-shell-group[open]>.suite-shell-group-toggle>svg:last-child{transform:none}
.suite-shell-group-toggle:hover{color:var(--admin-side-text);background:var(--admin-side-hover)}
.suite-shell-group-toggle:focus-visible{color:var(--admin-side-text);background:var(--admin-side-hover);outline:2px solid var(--admin-side-accent);outline-offset:-2px}
.suite-shell-group-toggle:active{background:var(--admin-side-active)}
.suite-shell-group:has([aria-current=page])>.suite-shell-group-toggle{color:var(--admin-side-accent)}
.suite-shell-group-links{padding:2px 0 8px;display:flex;flex-direction:column;gap:2px}
.suite-shell--flow .suite-shell-collapse{margin-top:16px}
@media(min-width:801px){html[data-nav=compact] .suite-shell-group-toggle{padding:8px 2px;justify-content:center;gap:2px}html[data-nav=compact] .suite-shell-group-toggle>span{display:none}html[data-nav=compact] .suite-shell-group-toggle>svg:last-child{margin-left:0;width:10px}}
@media(max-width:800px){body:has(> .suite-shell--flow){display:block}.suite-shell--flow{display:block}.suite-shell--flow>.suite-shell-side{min-height:0}.suite-shell--flow .suite-shell-nav--grouped{flex-direction:column;overflow:visible}.suite-shell--flow .suite-shell-link{width:100%}.suite-shell--flow .suite-shell-group-links .suite-shell-link svg{display:block}}
@media(forced-colors:active){.suite-shell-group-toggle:focus-visible{outline:2px solid Highlight}}
@media print{body:has(> .suite-shell--flow){display:block}.suite-shell--flow{display:none}}

/* Sidebar footer: user card above the collapse control. */
.suite-shell-side>.suite-shell-footer{margin-top:auto}
.suite-shell-side>.suite-shell-footer~.suite-shell-collapse{margin-top:4px}
.suite-shell-user{display:flex;align-items:center;gap:10px;min-width:0;padding:4px 6px}
.suite-shell-user .suite-avatar{width:34px;height:34px;font-size:12px}
.suite-shell-user>span:last-child{display:flex;flex-direction:column;min-width:0}
.suite-shell-user strong{font-size:14px;font-weight:700;color:var(--admin-text);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.suite-shell-user small{font-size:12px;color:var(--admin-side-muted)}
@media(min-width:801px){html[data-nav=compact] .suite-shell-user{justify-content:center;padding:4px 0}html[data-nav=compact] .suite-shell-user>span:last-child{display:none}}
@media(max-width:800px){.suite-shell-side>.suite-shell-footer{display:none}}
/* With grouped items the group headings replace the generic section label. */
.suite-shell-side:has(.suite-shell-nav-group)>.suite-shell-label{display:none}
.suite-shell-nav>.suite-shell-nav-group:first-child{padding-top:18px}
@media(max-width:800px){.suite-shell:not(.suite-shell--flow) .suite-shell-nav-group{display:none}}

/* LEAD BOX logotype in the sidebar: logo on top, product name as a small caption. */
.suite-shell-brand--logo{min-height:64px;padding:10px 10px 10px 12px}
.suite-shell-brand--logo .suite-shell-brand-copy{display:flex;flex-direction:column;align-items:flex-start;gap:7px}
.suite-shell-brand--logo .suite-logo{font-size:22px;color:var(--admin-text)}
.suite-shell-brand--logo .suite-shell-brand-copy small{font-size:12px;font-weight:600;letter-spacing:0;color:var(--admin-side-muted)}
/* Compact rail keeps only the framed BOX mark. */
@media(min-width:801px){html[data-nav=compact] .suite-shell-brand--logo{justify-content:center;padding:10px 4px}html[data-nav=compact] .suite-shell-brand--logo .suite-shell-brand-copy{display:flex}html[data-nav=compact] .suite-shell-brand--logo .suite-shell-brand-copy>small{display:none}html[data-nav=compact] .suite-shell-brand--logo .suite-logo{font-size:15px;font-size:0}html[data-nav=compact] .suite-shell-brand--logo .suite-logo>span{font-size:15px;margin:0}}
@media(max-width:800px){.suite-shell-brand--logo{width:auto;min-height:56px}.suite-shell-brand--logo .suite-logo{font-size:20px}}
