@import url('./posts-guide.css');
@import url('./controls.css');
/* Shared design system. Layout is owned by DesktopShell, not DOM observers. */
:root{--desk-bg:#f4f6fa;--desk-panel:#fff;--desk-line:#e3e8f0;--desk-text:#18243a;--desk-muted:#69788e;--desk-primary:#2563eb;--desk-primary-soft:#edf3ff;--desk-danger:#bd3434;--desk-radius:12px;--desk-shadow:0 2px 10px #24324c06;--desk-sidebar:220px}
html.xl-desktop-v2,html.xl-desktop-v2 body{margin:0;padding:0;background:var(--desk-bg);color:var(--desk-text);font-family:Inter,"Segoe UI","Microsoft YaHei",sans-serif;font-size:14px;line-height:1.5;height:100%;overflow:hidden}
#xl-desktop-shell{display:grid;grid-template-columns:var(--desk-sidebar) minmax(0,1fr);height:100dvh;max-height:100vh;background:var(--desk-bg);color:var(--desk-text);font-size:14px;box-sizing:border-box}
#xl-desktop-shell *{box-sizing:border-box}#xl-desktop-shell a{text-decoration:none;color:var(--desk-primary)}#xl-desktop-shell button,#xl-desktop-shell input,#xl-desktop-shell select,#xl-desktop-shell textarea{font:inherit}#xl-desktop-shell button{cursor:pointer}#xl-desktop-shell :focus-visible{outline:3px solid #90b5ff;outline-offset:2px}
#xl-desktop-shell .desktop-sidebar{position:relative;inset:auto;width:auto;height:100%;display:flex;flex-direction:column;background:#fff;border:0;border-right:1px solid var(--desk-line);color:var(--desk-text);padding:0;min-width:0;overflow:hidden;box-shadow:none}
#xl-desktop-shell .desktop-brand{display:flex;gap:10px;align-items:center;padding:21px 18px;color:var(--desk-text);height:80px;flex-shrink:0}.desktop-brand-mark{display:grid;place-items:center;background:#2458cc;color:#fff;border-radius:10px;height:36px;width:36px;font-weight:800;font-size:18px;letter-spacing:-1px}.desktop-brand strong{font-size:15px}.desktop-brand small{display:block;color:var(--desk-muted);font-size:11px;letter-spacing:1px;margin-top:1px}
#xl-desktop-shell .desktop-nav-search{padding:0 14px 10px}#xl-desktop-shell .desktop-nav-search input{height:34px;width:100%;border:1px solid var(--desk-line);border-radius:8px;padding:0 10px;background:#f8fafc;color:var(--desk-text);font-size:12px}
/* Keep primary navigation at least as legible as its child links. */
#xl-desktop-shell .desktop-sidebar .desktop-nav-group summary{font-size:14px;font-weight:700;color:#40516b;letter-spacing:0}
#xl-desktop-shell .desktop-sidebar nav{overflow-y:auto;flex:1;padding:0 10px 16px;scrollbar-width:thin;scrollbar-color:#d9e1ec transparent}#xl-desktop-shell .desktop-nav-group{margin:5px 0 9px;border:0;border-radius:0;background:none;padding:0}#xl-desktop-shell .desktop-nav-group summary{padding:9px 10px 6px;color:#7a8799;font-size:11px;font-weight:600;cursor:pointer;list-style:none;letter-spacing:.5px}#xl-desktop-shell .desktop-nav-group summary::after{content:'›';float:right;transform:rotate(90deg);font-size:14px}#xl-desktop-shell .desktop-nav-group:not([open]) summary::after{transform:none}
#xl-desktop-shell .desktop-nav-link{display:flex;align-items:center;gap:11px;margin:2px 0;padding:9px 11px;border:0;border-radius:8px;color:#4b5a71;font-size:13px;min-height:38px;background:transparent;position:relative}#xl-desktop-shell .desktop-nav-link:hover{color:#2458cc;background:#f4f7fc}#xl-desktop-shell .desktop-nav-link.is-current{color:#1d52c1;background:#eaf1ff;font-weight:650}#xl-desktop-shell .desktop-nav-link.is-current::before{content:'';position:absolute;left:0;top:11px;bottom:11px;width:3px;border-radius:3px;background:#2563eb}.desktop-icon{height:18px;width:18px;flex-shrink:0;vertical-align:middle}
#xl-desktop-shell .desktop-nav-footer{display:flex;justify-content:space-between;align-items:center;position:static;padding:10px 12px;border-top:1px solid var(--desk-line);font-size:10px;color:var(--desk-muted);background:#fff}.desktop-nav-footer button{border:1px solid var(--desk-line);border-radius:5px;background:#fff;height:25px;width:25px;color:var(--desk-muted)}
#xl-desktop-shell .desktop-main{height:100%;min-width:0;display:flex;flex-direction:column;overflow:hidden;padding:0;margin:0}#xl-desktop-shell .desktop-topbar{position:relative;top:auto;left:auto;right:auto;display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:72px;flex-shrink:0;padding:12px 24px;background:#fff;border:0;border-bottom:1px solid var(--desk-line);box-shadow:none;color:var(--desk-text);z-index:30}.desktop-asset-slot{flex:1;min-width:0}.desktop-top-actions{display:flex;align-items:center;gap:17px;white-space:nowrap;font-size:12px}#xl-desktop-shell .desktop-top-actions a{display:flex;align-items:center;gap:5px;color:#52617a}.desktop-local-user{display:flex;gap:7px;align-items:center;padding-left:14px;border-left:1px solid var(--desk-line);font-size:12px;color:var(--desk-muted)}.desktop-local-user b{display:grid;place-items:center;width:29px;height:29px;border-radius:50%;background:#edf2fa;color:#3b5e8d;font-weight:500}
#xl-desktop-shell .desktop-page-header{display:flex;justify-content:space-between;align-items:center;gap:18px;padding:18px 24px 15px;flex-shrink:0}.desktop-breadcrumb{font-size:11px;color:#8a97aa;margin:0 0 4px}#xl-desktop-shell .desktop-page-header h1{font-size:23px;font-weight:700;line-height:1.4;margin:0;letter-spacing:-.4px}.desktop-page-description{margin:4px 0 0;font-size:12px;color:var(--desk-muted);max-width:850px}.desktop-mode-label{font-size:11px;color:#8491a3;border:1px solid #dfe5ef;padding:4px 9px;border-radius:6px;background:#f8fafc;white-space:nowrap}
#xl-desktop-shell .desktop-page-content{position:relative;flex:1;display:block;margin:0;padding:0 24px 24px;width:auto;min-height:0;overflow:auto;background:transparent;scrollbar-width:thin;scrollbar-color:#cfd8e5 transparent}#xl-desktop-shell .desktop-page-content>main,#xl-desktop-shell .desktop-page-content>.desktop-module{padding:0;margin:0;width:100%;max-width:none;background:transparent;min-height:0;color:var(--desk-text)}#xl-desktop-shell .desktop-module{min-height:200px}
#xl-desktop-shell .desktop-page-content h2{font-size:18px;color:var(--desk-text)}#xl-desktop-shell .desktop-page-content h3{font-size:15px;color:var(--desk-text)}#xl-desktop-shell .desktop-page-content p{line-height:1.65}#xl-desktop-shell .desktop-page-content table{font-size:13px}#xl-desktop-shell .desktop-page-content th{font-size:12px;color:#64748b;font-weight:600;background:#f7f9fc}#xl-desktop-shell .desktop-page-content td,#xl-desktop-shell .desktop-page-content th{padding:11px 12px;border-color:var(--desk-line)}
#xl-desktop-shell .desktop-page-content :is(input:not([type=checkbox]):not([type=radio]):not([type=range]),select,textarea){color:var(--desk-text);border:1px solid #d6deeb;border-radius:7px;background:#fff;min-height:34px;line-height:1.4;font-size:13px}#xl-desktop-shell .desktop-page-content :is(input,select,textarea):focus{border-color:#739bf1}#xl-desktop-shell .desktop-page-content button{border-radius:7px;min-height:32px;font-size:12px}#xl-desktop-shell .desktop-page-content :is(.primary,.btn-primary){background:#2563eb;color:#fff;border-color:#2563eb}#xl-desktop-shell .desktop-page-content :is(.danger,.error){color:#b83232}#xl-desktop-shell .desktop-page-content button:disabled{cursor:not-allowed;opacity:.55}
#xl-desktop-shell .desktop-legacy-content :is(.panel,.card,.xl-native,.xl-auto-section,.xlm-panel){border-color:var(--desk-line);border-radius:10px;box-shadow:none}#xl-desktop-shell .desktop-legacy-content :is(.xl-native,.xl-auto-panel){background:#fff}#xl-desktop-shell .desktop-legacy-content .xl-auto-section{margin-top:12px}#xl-desktop-shell .desktop-legacy-content :is(.xl-auto-section>summary,.xl-native>summary){font-size:14px}#xl-desktop-shell .desktop-legacy-content .xl-auto-content{padding:14px}#xl-desktop-shell .desktop-legacy-content .xl-auto-head{padding:14px 18px;background:#f8faff}#xl-desktop-shell .desktop-legacy-content :is(.xl-field,.xl-fields label){font-size:12px}
.desktop-button{display:inline-flex;align-items:center;justify-content:center;gap:6px;border:1px solid #d7dfec;border-radius:8px;padding:8px 13px;background:#fff;color:#294466;font-size:13px;min-height:36px;cursor:pointer}.desktop-button.primary{background:#2563eb;color:#fff!important;border-color:#2563eb}.desktop-notice{margin:0 24px 12px;padding:10px 12px;border:1px solid #f1d4a8;border-radius:8px;background:#fff9eb;color:#946022;font-size:12px}.desktop-loading,.desktop-empty,.desktop-error{padding:34px;background:#fff;border:1px solid var(--desk-line);border-radius:var(--desk-radius);color:var(--desk-muted)}.desktop-empty{text-align:center}.desktop-error h2{color:var(--desk-danger)!important}.desktop-error details{margin-top:16px;max-width:100%;font-size:12px}.desktop-error pre{white-space:pre-wrap;word-break:break-word;padding:12px;background:#f5f7fa}.desktop-loading{min-height:180px;display:grid;place-items:center}.desktop-loading:before{content:'';width:22px;height:22px;border:2px solid #dee7f4;border-top-color:#2563eb;border-radius:50%;animation:desktop-spin 1s linear infinite}@keyframes desktop-spin{to{transform:rotate(360deg)}}
.desktop-hero{display:flex;justify-content:space-between;align-items:center;gap:24px;background:linear-gradient(110deg,#f5f8ff,#fff);border:1px solid #dbe5f6;border-radius:14px;padding:26px 28px}.desktop-eyebrow{font-size:10px;letter-spacing:1.3px;color:#6482b6;font-weight:650}.desktop-hero h2{margin:8px 0;font-size:25px!important}.desktop-hero p{color:var(--desk-muted);font-size:13px;margin:0;max-width:690px}.desktop-start{margin:22px 0}.desktop-start>h2{font-size:16px!important;margin:0 0 11px}.desktop-shortcuts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}#xl-desktop-shell .desktop-shortcut{display:flex;gap:14px;align-items:center;min-width:0;padding:16px 18px;background:#fff;border:1px solid var(--desk-line);border-radius:10px;color:var(--desk-text);box-shadow:var(--desk-shadow)}.desktop-shortcut>.desktop-icon{background:#eef4ff;color:#4071c8;padding:9px;box-sizing:content-box!important;border-radius:9px;width:20px;height:20px}.desktop-shortcut>div{flex:1;min-width:0}.desktop-shortcut strong{font-size:14px}.desktop-shortcut p{margin:4px 0 0;font-size:12px;color:var(--desk-muted)}#xl-desktop-shell .desktop-shortcut:hover{border-color:#b6cbee;background:#fdfefe}.desktop-home-columns{display:grid;grid-template-columns:1fr 1fr;gap:16px}.desktop-panel{background:#fff;border:1px solid var(--desk-line);border-radius:12px;padding:20px}.desktop-panel>h2{font-size:16px!important;margin:0}.desktop-panel>p{font-size:12px;color:var(--desk-muted);margin:5px 0 15px}.desktop-panel .desktop-shortcut{padding:12px 0!important;box-shadow:none!important;border:0!important;border-top:1px solid #edf0f5!important;border-radius:0!important}
.desktop-skip{position:absolute;left:235px;top:-100px;z-index:200;padding:10px 16px;background:white}.desktop-skip:focus{top:8px}#xl-desktop-shell.is-compact{--desk-sidebar:72px}.is-compact .desktop-brand{padding:20px 18px!important}.is-compact .desktop-brand>div,.is-compact .desktop-nav-search,.is-compact .desktop-nav-group summary,.is-compact .desktop-nav-link span,.is-compact .desktop-nav-footer span{display:none}.is-compact .desktop-nav-link{justify-content:center;padding:12px!important}.is-compact .desktop-nav-footer{justify-content:center!important}
#xl-desktop-shell .desktop-asset-bar{display:grid;grid-template-columns:minmax(130px,.85fr) minmax(120px,.8fr) minmax(200px,1.25fr) auto;gap:6px 12px;align-items:center;max-width:1050px}.desktop-context-state{grid-column:1/-1;color:#7c8b9e;font-size:10px;line-height:1;margin-bottom:0}.desktop-asset-bar label{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:6px;color:#7e8ba0;font-size:10px;min-width:0;white-space:nowrap}.desktop-asset-bar select{height:30px;width:100%;padding:0 22px 0 7px;border:1px solid var(--desk-line);border-radius:6px;background:#f8faff;color:#304867;font:inherit;font-size:12px;font-weight:600;min-width:0;text-overflow:ellipsis}.desktop-asset-bar select:disabled{background:#f8f9fb;color:#a1aabb}.desktop-asset-bar .context-connect{white-space:nowrap;background:none;border:0;color:#3d6bc1;font-size:11px;padding:5px;min-height:30px}
.desktop-muted{color:var(--desk-muted);font-size:12px}.desktop-page-toolbar{display:flex;align-items:center;gap:12px;min-height:44px;margin-bottom:10px}.desktop-page-toolbar>span{flex:1}.desktop-page-toolbar a{font-size:12px}.desktop-primary,.desktop-secondary,.desktop-assets-page>section>button{border:1px solid #d7dfec;border-radius:7px;background:#fff;color:#425c80;padding:7px 12px;min-height:34px;cursor:pointer}#xl-desktop-shell .desktop-primary{background:#2563eb;color:#fff;border-color:#2563eb}.desktop-message{font-size:12px;border:1px solid #d5e4fa;background:#eff6ff;color:#496b9c;padding:10px 12px;border-radius:8px;margin-bottom:12px}.desktop-message:empty{display:none}.desktop-connection-form{display:grid;grid-template-columns:minmax(160px,1fr) minmax(160px,1fr) auto;gap:12px;max-width:830px;margin:20px 0}.desktop-connection-form input{padding:8px 11px}.desktop-connection-form[hidden]{display:none!important}.desktop-assets-page>.desktop-panel>button{margin:10px 10px 0 0}.desktop-assets-page>.desktop-panel{padding:20px}.desktop-assets-page>.desktop-panel:has(.zrtc-ownership-workbench){padding:0;overflow:hidden}
.desktop-local-settings{margin-top:22px;border-top:1px solid var(--desk-line);padding-top:18px}.desktop-local-settings>h2{margin:0 0 5px;font-size:17px!important}.desktop-local-settings>p{margin:0 0 15px}.desktop-settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.desktop-setting-card{padding:17px;border:1px solid var(--desk-line);border-radius:10px;background:#fbfcfe;display:flex;flex-direction:column}.desktop-setting-heading{display:flex;align-items:center;justify-content:space-between;gap:10px}.desktop-setting-heading h3{margin:0!important;font-size:14px!important}.desktop-setting-badge{font-size:11px;padding:3px 7px;border-radius:5px;background:#edf1f7;color:#67788d}.desktop-setting-badge[data-state=enabled]{background:#e9f7ef;color:#217e51}.desktop-setting-badge[data-state=unknown]{background:#fff3df;color:#986326}.desktop-setting-card>p.desktop-muted{margin:9px 0;font-size:12px}.desktop-setting-toggle{display:flex;align-items:center;gap:8px;margin:9px 0 4px;font-size:13px}.desktop-setting-toggle input{height:16px;width:16px;accent-color:#2563eb}.desktop-setting-status{font-size:12px;color:#63758f;margin:7px 0 14px!important;min-height:38px}.desktop-setting-status[data-error=true]{color:#b64839}.desktop-setting-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:auto}
#xl-desktop-shell .zrtc-ownership-workbench{font-family:inherit;font-size:13px}#xl-desktop-shell .zrtc-ownership-workbench :is(h1,h2){font-size:19px}#xl-desktop-shell .zrtc-ownership-workbench .zrtc-workbench-head{padding:17px 20px}#xl-desktop-shell .zrtc-ownership-workbench :is(.zrtc-card,.zrtc-summary-card){border-radius:9px;box-shadow:none}#xl-desktop-shell .zrtc-ownership-workbench button{min-height:32px}.xl-credential-modal,.xl-auth-modal{font-family:Inter,"Segoe UI","Microsoft YaHei",sans-serif;color:var(--desk-text)}
@media(max-width:1350px){#xl-desktop-shell{--desk-sidebar:204px}#xl-desktop-shell .desktop-topbar{padding:10px 18px}.desktop-top-actions{gap:10px}.desktop-local-user>span{display:none}#xl-desktop-shell .desktop-page-header{padding-left:18px;padding-right:18px}#xl-desktop-shell .desktop-page-content{padding-left:18px;padding-right:18px}.desktop-mode-label{display:none}.desktop-brand strong{font-size:13px}}
@media(max-width:1000px){#xl-desktop-shell{--desk-sidebar:180px}.desktop-top-actions a span{display:none}.desktop-topbar{flex-wrap:wrap}.desktop-top-actions{margin-left:auto}.desktop-shortcuts,.desktop-home-columns{grid-template-columns:1fr}.desktop-page-description{max-width:100%}.desktop-hero{padding:18px}.desktop-hero h2{font-size:21px!important}}
@media(max-width:1100px){.desktop-settings-grid{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){.desktop-loading:before{animation:none}}
/* DesktopShell owns the page H1. Only audited page-heading slots are suppressed;
   section headings, asset names, dialogs and action controls remain untouched. */
#xl-desktop-shell .desktop-legacy-content>main>.page-header h1,
#xl-desktop-shell .desktop-legacy-content>main>.page-heading h1,
#xl-desktop-shell .desktop-legacy-content>main>.heading h1,
#xl-desktop-shell .desktop-legacy-content>main>header h1,
#xl-desktop-shell .desktop-page-content .xd-task-heading h1,
#xl-desktop-shell [data-current-page="assets.balances"] .zrtc-main>.zrtc-hero h1,
#xl-desktop-shell [data-current-page="ads.posts"] #xl-auto-panel>.xl-auto-head h2,
#xl-desktop-shell [data-current-page="ads.multiple"] .xmt>.xl-auto-head h2{display:none}
#xl-desktop-shell .desktop-page-content .xd-task-heading .xd-task-eyebrow{display:none}
#xl-desktop-shell .desktop-page-content .xd-task-heading{margin-bottom:12px}
#xl-desktop-shell .xlp-inline-review{position:static!important;inset:auto!important;display:block!important;padding:0!important;background:none!important;z-index:auto!important}
#xl-desktop-shell .xlp-inline-review>section{width:100%!important;max-height:none!important;box-shadow:none!important;margin:0!important}
#xl-desktop-shell [data-desktop-page="ads.append"] [hidden]{display:none!important}
#xl-desktop-shell [data-desktop-page="ads.append"] textarea{width:100%;box-sizing:border-box}
#xl-desktop-shell [data-desktop-page="ads.append"] label{display:inline-flex;gap:8px;align-items:center;margin:8px}
#xl-desktop-shell [data-current-page="assets.balances"] .zrtc-main>.zrtc-hero{padding-top:12px;padding-bottom:12px}
#xl-desktop-shell [data-current-page="ads.posts"] #xl-auto-panel>.xl-auto-head,
#xl-desktop-shell [data-current-page="ads.multiple"] .xmt>.xl-auto-head{padding-top:9px;padding-bottom:9px}

/* Product Center keeps the original manual checker and adds a separate whole-store audit. */
#xl-desktop-shell .xl-store-check-button{border:1px solid #8ab0f8!important;background:#f4f8ff!important;color:#2358b9!important;padding:5px 11px!important;margin-right:6px}
.xl-store-check-backdrop{position:fixed;inset:0;z-index:4000;display:grid;place-items:center;padding:28px;background:#18243a66;font-family:Inter,"Segoe UI","Microsoft YaHei",sans-serif}
.xl-store-check-dialog{width:min(1440px,94vw);height:min(820px,88vh);display:flex;flex-direction:column;overflow:hidden;border-radius:12px;background:#fff;box-shadow:0 22px 70px #10182842;color:#18243a}
.xl-store-check-dialog>header{display:flex;justify-content:space-between;align-items:flex-start;padding:18px 22px 13px;border-bottom:1px solid #e3e8f0}.xl-store-check-dialog h2{margin:0;font-size:20px}.xl-store-check-dialog header p{margin:4px 0 0;color:#69788e;font-size:12px}.xl-store-check-close{border:0;background:transparent;color:#738197;font-size:25px;line-height:1;padding:0 4px}
.xl-store-check-status{margin:13px 22px 8px;padding:9px 11px;border-radius:7px;background:#eff6ff;color:#385d91;font-size:12px}.xl-store-check-status.is-error{background:#fff0ee;color:#af3329}
.xl-store-check-categories{display:flex;flex-wrap:wrap;gap:8px;padding:0 22px 11px}.xl-store-check-categories button{border:1px solid #d9e2ef;border-radius:18px;background:#f8fafc;color:#53657f;padding:6px 12px;font-size:12px}.xl-store-check-categories button.is-active{border-color:#2563eb;background:#eaf1ff;color:#174fac;font-weight:650}
.xl-store-check-selection{display:flex;align-items:center;gap:8px;padding:0 22px 11px;color:#607087;font-size:12px}.xl-store-check-selection button{border:1px solid #ccd7e6;border-radius:6px;background:#fff;color:#385d91;padding:5px 10px}.xl-store-check-selection span{margin-left:auto;font-variant-numeric:tabular-nums}
.xl-store-check-table-wrap{flex:1;overflow:auto;margin:0 22px 20px;border:1px solid #e1e7f0;border-radius:8px}.xl-store-check-table{width:100%;border-collapse:collapse;font-size:12px}.xl-store-check-table th{position:sticky;top:0;z-index:1;background:#f6f8fb;color:#5d6e85;text-align:left}.xl-store-check-table th,.xl-store-check-table td{padding:9px 10px;border-bottom:1px solid #e7ebf2;vertical-align:top;max-width:300px;word-break:break-word}.xl-store-check-table a{color:#2563eb}

/* Shared semantic header: preserve control sizes; remove stacked prose rows. */
#xl-desktop-shell .desktop-page-header{padding-top:8px;padding-bottom:8px;flex-wrap:wrap;gap:8px 18px}
#xl-desktop-shell .desktop-page-header>div:first-child{display:flex;flex-wrap:wrap;align-items:baseline;gap:5px 12px;min-width:0}
#xl-desktop-shell .desktop-page-header .desktop-breadcrumb,#xl-desktop-shell .desktop-page-header .desktop-page-description{margin:0}
#xl-desktop-shell .desktop-page-header .desktop-page-description{max-width:48rem}
/* Dashboard: use the available vertical space for data, with denser controls and rows. */
#xl-desktop-shell [data-current-page="analysis.dashboard"]{padding-bottom:12px}
#xl-desktop-shell:has([data-current-page="analysis.dashboard"]) .desktop-page-header{padding-top:8px;padding-bottom:7px}
#xl-desktop-shell:has([data-current-page="analysis.dashboard"]) .desktop-breadcrumb{margin-bottom:1px}
#xl-desktop-shell:has([data-current-page="analysis.dashboard"]) .desktop-page-description{margin-top:1px}
#xl-desktop-shell [data-current-page="analysis.dashboard"] .cross-page{gap:8px;padding:8px 10px 12px!important}
#xl-desktop-shell [data-current-page="analysis.dashboard"] .cross-page :is(.hero,.board-bar,.workbench){margin-top:0;margin-bottom:8px}
#xl-desktop-shell [data-current-page="analysis.dashboard"] .cross-page .hero{position:static!important;min-height:0!important;padding:0!important;border:0!important;background:none!important;box-shadow:none!important}
#xl-desktop-shell [data-current-page="analysis.dashboard"] .cross-page .hero>div:first-child{display:none}
#xl-desktop-shell .desktop-page-side{display:flex;align-items:center;justify-content:flex-end;gap:10px;min-width:0}
#xl-desktop-shell .desktop-page-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;min-width:0}
#xl-desktop-shell .desktop-page-actions:empty{display:none}
#xl-desktop-shell [data-current-page="analysis.dashboard"] .cross-page .hero-actions{position:fixed;right:24px;top:96px;z-index:31;display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:nowrap;white-space:nowrap}
#xl-desktop-shell [data-current-page="analysis.dashboard"] .cross-page .board-bar{padding:9px 12px}
#xl-desktop-shell [data-current-page="analysis.dashboard"] .cross-page .summary-grid article{padding:7px 12px;min-height:78px}
#xl-desktop-shell [data-current-page="analysis.dashboard"] .cross-page .summary-grid article :is(span,small){line-height:1.25}
#xl-desktop-shell [data-current-page="analysis.dashboard"] .cross-page .summary-grid article b{line-height:1.2;margin-top:2px;margin-bottom:2px}
#xl-desktop-shell [data-current-page="analysis.dashboard"] .cross-page .toolbar{padding:8px 10px;gap:8px}
#xl-desktop-shell [data-current-page="analysis.dashboard"] .cross-page .selection-bar{padding:7px 10px}
#xl-desktop-shell [data-current-page="analysis.dashboard"] .cross-page .table-wrap :is(th,td){padding-top:7px;padding-bottom:7px}

/* The server reuses its rules drawer internally; present that drawer as the
   dedicated peer page when it was opened from the standalone navigation. */
body:has(#xl-desktop-shell[data-route-id="analysis.automation"]) .shade[data-v-3b2b3ca5]{position:static;inset:auto;display:block;background:var(--desk-bg);backdrop-filter:none;-webkit-backdrop-filter:none}
body:has(#xl-desktop-shell[data-route-id="analysis.automation"]) .drawer[data-v-3b2b3ca5]{position:static;inset:auto;width:100%!important;max-width:none;height:auto;max-height:none;box-shadow:none}
[data-xl-automation-page]>label{display:flex;align-items:center;gap:8px;margin-bottom:10px}
[data-xl-automation-page] .head[data-v-3b2b3ca5]{padding:8px 12px}
@media(max-width:1100px){#xl-desktop-shell [data-current-page="analysis.dashboard"] .cross-page .hero-actions{position:static;justify-content:flex-start;flex-wrap:wrap;margin-bottom:8px}}
