/* One editorial system: orientation, main content, next steps. */
.template-intro{background:var(--sunk,#f4f6fa);border:1px solid var(--rule,#dde3ed);border-radius:14px;padding:22px 24px;margin:18px 0 26px}
.template-intro>h2:first-child{margin:0 0 14px}.template-intro>.lead{font-size:inherit;line-height:inherit;color:inherit;max-width:none}
.template-intro .intro-explanation{margin-left:18px}.template-intro .intro-explanation>:last-child{margin-bottom:0}
.template-body,.template-ending{border-top:1px solid var(--rule);padding-top:22px;margin-top:26px}.template-body>h2:first-child,.template-ending>h2:first-child{margin-top:0}
.template-intro h3.doc-topic,.template-body h3.doc-topic,.template-ending h3.doc-topic{font-size:1.15rem;line-height:1.45;font-weight:600;margin:24px 0 10px;color:var(--deep)}
.template-intro h3.doc-topic{margin-top:18px}.doc-steps{padding-left:1.75rem}.doc-steps>li{padding-left:.3rem;margin:14px 0}.doc-steps>li::marker{font-weight:400}.doc-steps>li>p{margin:7px 0}.doc-steps>li ul{margin-top:8px}.doc-steps strong{font-weight:600}
.doc-example{background:var(--sunk,#f4f6fa)!important;border:1px solid var(--rule,#dde3ed)!important;border-left:4px solid var(--muted,#70809a)!important;border-radius:10px;padding:16px 18px;margin:20px 0}
.doc-explanation{border-left:4px solid var(--blue,#2563eb);background:var(--sunk,#edf3ff);padding:16px 18px;border-radius:0 10px 10px 0;margin:20px 0}
.related-links{padding-left:1.5rem}.related-links>li{margin:12px 0}.related-description{display:block;margin-top:3px;color:var(--muted);font-size:.9em;line-height:1.55}.doc-back-link{margin-top:24px}
.doc-figure{border:1px solid var(--rule);border-radius:14px;padding:16px;margin:22px 0;background:var(--surface)}
.doc-figure>img{display:block;max-width:100%;height:auto;object-fit:contain;margin:auto}.doc-figure>figcaption{font-size:.85rem;line-height:1.55;color:var(--muted);margin-top:12px}
.template-body img,.template-intro img{height:auto;object-fit:contain}.template-body pre{max-width:100%;overflow-x:auto}
@media(min-width:801px){
 .wrap{padding-top:12px!important}.wrap>.content{grid-column:2;min-width:0}
 .wrap>.side{position:fixed!important;top:calc(var(--ss-docs-header-h) + 12px)!important;bottom:16px!important;left:max(22px,calc((100vw - 1160px)/2 + 22px))!important;width:235px!important;height:auto!important;max-height:calc(100dvh - var(--ss-docs-header-h) - 28px)!important;overflow-y:auto!important;overflow-x:hidden!important;overscroll-behavior:contain;scrollbar-width:thin;margin:0!important;padding-top:0!important;box-sizing:border-box}
 .side .docs-nav-group{margin:10px 0 4px!important;padding-top:8px!important}.side .mobile-docs-close+.docs-nav-group{margin-top:0!important;padding-top:0!important}.side>a:not(.mobile-docs-web){padding-top:3px!important;padding-bottom:3px!important}
}
@media(max-width:800px){.template-intro{padding:18px 16px}.template-intro .intro-explanation{margin-left:12px}.doc-figure{padding:10px}.template-body,.template-ending{padding-top:18px;margin-top:22px}}
/* Annotation panels share titles, frame heights, dividers and external legends. */
.branding-detail-row{display:grid!important;grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr)!important;gap:18px;align-items:stretch!important;margin:18px 0}
.brand-unified-figure{display:flex;flex-direction:column;min-width:0;margin:18px 0!important;padding:16px!important;background:#fff!important;color:#123b65}
.branding-detail-row>.brand-unified-figure{margin:0!important}
.brand-figure-title{font:700 18px/1.45 Arial,sans-serif!important;color:#093052!important;margin:0 0 12px!important;min-height:2.9em;display:flex;align-items:center}
.brand-canvas{display:grid;place-items:center;width:100%;aspect-ratio:16/9;min-height:0;overflow:hidden}.brand-canvas>svg{display:block;width:100%;height:100%;max-width:100%;overflow:visible}.brand-canvas svg image{pointer-events:none}
.brand-unified-legend{display:flex;flex-wrap:wrap;align-items:flex-start;gap:9px 18px;border-top:1px solid #dce5ed;margin-top:auto!important;padding-top:12px!important;font:13px/1.5 Arial,sans-serif!important;color:#123b65!important}
.brand-unified-legend .brand-legend-item{display:inline-flex;align-items:center;gap:7px;text-decoration:none;color:#123b65!important;font:inherit}
.brand-number-badge{display:inline-grid!important;place-items:center!important;flex:0 0 24px;width:24px!important;height:24px!important;min-width:24px;border-radius:50%;background:#0064cc!important;color:white!important;font:700 14px/1 Arial,sans-serif!important}
.branding-diagram-caption{font-size:.85rem;color:var(--muted);line-height:1.6;margin:10px 0 22px}.brand-global-demo{position:relative;display:flex;align-items:center;justify-content:center;gap:22px;background:#e9eff7;width:100%;height:100%;padding:20px}.brand-demo-dialog{background:#f8fafc;border-radius:12px;padding:20px 26px;box-shadow:0 8px 24px #09305222;color:#17324c;font-size:14px}.brand-demo-dialog p{margin:8px 0}.brand-demo-button{display:inline-block;background:#dbeafe;padding:7px 14px;border-radius:6px;font-size:13px}.branding-steps>li{scroll-margin-top:160px}
@media(max-width:650px){.branding-detail-row{grid-template-columns:1fr!important}.brand-figure-title{min-height:0}.brand-unified-legend{font-size:12px!important}.brand-unified-figure{padding:12px!important}.brand-global-demo{padding:12px}.brand-demo-dialog{padding:14px}}
@media(min-width:801px){.content>.crumb{top:calc(var(--ss-docs-header-h) + 12px)!important}.content>.search-wrap{top:calc(var(--ss-docs-header-h) + 48px)!important}}
.branding-detail-row .brand-canvas{aspect-ratio:auto;height:230px}.branding-detail-row .brand-unified-legend{min-height:110px;margin-top:16px!important;align-content:start;justify-content:flex-start}
@media(max-width:650px){.branding-detail-row .brand-canvas{height:auto;aspect-ratio:16/9}.branding-detail-row .brand-unified-legend{min-height:0}}
.search-clarification{display:block;padding:12px 14px;color:var(--body);font-size:.95em;line-height:1.5}.field-reference{font-size:.9em;color:var(--muted);margin:7px 0}
@media(max-width:800px){body.docs-menu-open .mobile-docs-close{position:fixed!important;top:calc(var(--ss-docs-header-h) + 24px)!important;right:26px!important}}
/* REV27: opaque continuous sticky band; footer respects the independent navigation column. */
@media(min-width:801px){.wrap>.side{z-index:230;background:var(--canvas)!important}.content>.crumb{box-shadow:0 -20px 0 var(--canvas)!important}.content>.crumb:before{content:'';position:absolute;left:0;right:0;top:-20px;height:20px;background:var(--canvas);pointer-events:none}.footerin{padding-left:299px!important}}
@media(min-width:801px){.wrap>.side>a:not(.mobile-docs-web){font-size:13.5px!important;line-height:1.35!important;padding-top:2px!important;padding-bottom:2px!important}.wrap>.side .docs-nav-group{font-size:14px!important;line-height:1.35!important;margin:8px 0 3px!important;padding-top:6px!important}.wrap>.side .mobile-docs-close+.docs-nav-group{margin-top:0!important;padding-top:0!important}}

/* Compact procedural steps: short emphasis labels, normal explanations. */
ol.doc-steps>li,ol.steps.doc-steps>li{margin:8px 0;padding:0 0 0 .3rem;line-height:1.65;font-weight:400}ol.doc-steps>li>p{margin:4px 0}ol.doc-steps>li>ul{margin:5px 0}ol.doc-steps>li::marker{font-weight:400}

/* REV28: compact legends, modest navigation size and aligned text baselines. */
.brand-figure-title{min-height:0!important}
.branding-detail-row .brand-unified-legend{min-height:0!important;align-content:start}
.brand-unified-figure .brand-unified-legend{margin-bottom:0!important}
.company-settings>li.company-mode-first{background:var(--sunk,#fff7dc);background:light-dark(#fff7dc,#3a321e);border:1px solid #d5ae4e;border-radius:10px;padding:12px 14px;margin-bottom:14px}
.company-mode-warning{margin:8px 0!important}
@media(min-width:801px){.wrap>.side>a:not(.mobile-docs-web){font-size:14px!important}.wrap>.side .docs-nav-group{font-size:14.5px!important}.content>.crumb{padding-top:0!important;padding-bottom:7px!important;min-height:28px;box-sizing:border-box}}
.content .brand-unified-figure .brand-unified-legend{padding:12px 0 0!important}
