
:root{--bg:#f3f5f7;--surface:#fff;--text:#15232e;--muted:#667883;--border:#dce4e9;--teal:#0b6e5f;--soft:#e8f3ef;--nav:#f8fafb}
*{box-sizing:border-box}html{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;background:var(--bg);color:var(--text)}body{margin:0}a{color:var(--teal)}button,input{font:inherit}
.top{background-image:linear-gradient(90deg,rgba(6,15,34,.92) 0%,rgba(18,21,63,.78) 38%,rgba(25,24,62,.38) 63%,rgba(18,11,32,.08) 100%),url('../docs/header-bg.webp');background-size:cover;background-position:68% 47%;border-bottom:1px solid rgba(255,255,255,.18);position:sticky;top:0;z-index:20;padding:14px 22px;min-height:98px;display:flex;align-items:center;gap:16px;box-shadow:0 8px 28px rgba(10,16,38,.18)}
.brand{display:flex;align-items:center;gap:12px;min-width:235px}.brand .symbol{font-size:24px;color:#f4f8fa;line-height:1;filter:drop-shadow(0 1px 2px rgba(0,0,0,.25))}.brand-text{display:flex;flex-direction:column;line-height:1.02}.brand-title{font-weight:900;font-size:18px;letter-spacing:.015em;background:linear-gradient(90deg,#b483ff 0%,#e7b3ff 48%,#ffb16f 100%);-webkit-background-clip:text;background-clip:text;color:transparent;text-shadow:none}.brand-subtitle{font-weight:860;font-size:15px;color:#f7fafc;margin-top:5px;letter-spacing:-.01em;text-shadow:0 1px 2px rgba(0,0,0,.22)}.brand small{font-size:11px;font-weight:500;color:rgba(255,255,255,.72)}
.searchbox{flex:1;max-width:none;position:relative}.searchbox input{width:100%;padding:14px 52px 14px 42px;background:rgba(255,255,255,.92);border:1px solid rgba(255,255,255,.42);border-radius:13px;outline-color:#ffd6ac;font-size:14px;color:#10202d;box-shadow:0 8px 18px rgba(8,15,35,.10);backdrop-filter:blur(6px)}.searchbox input::placeholder{color:#657784}.searchbox:before{content:'⌕';position:absolute;left:13px;top:6px;color:#6b7d88;font-size:26px}.searchbox kbd{position:absolute;right:11px;top:13px;font-size:10px;border:1px solid rgba(16,32,45,.16);background:rgba(255,255,255,.84);color:#546874;padding:3px 5px;border-radius:5px}
.status{font-size:12px;white-space:nowrap;color:var(--muted)}.pagegrid{max-width:1780px;margin:0 auto;display:grid;grid-template-columns:345px minmax(0,1fr);gap:20px;padding:18px}
.aside{height:calc(100vh - 121px);overflow:auto;position:sticky;top:102px;background:#fff;border:1px solid var(--border);border-radius:15px;box-shadow:0 6px 24px #0c233108;display:flex;flex-direction:column}
.aside-controls{display:flex;flex-direction:column;gap:10px;padding:14px 13px 12px;border-bottom:1px solid var(--border);position:sticky;top:0;background:#fff;z-index:3}.aside-control{display:flex;flex-direction:column;gap:7px;font-size:12px;color:var(--muted);padding:12px 12px 13px;border:1px solid #d8e2e7;border-radius:16px;background:linear-gradient(180deg,#ffffff 0%,#f8fbfb 100%);box-shadow:0 4px 12px #0c23310d}.aside-control span{font-weight:800;color:#41525c;text-transform:none}.aside-control select{width:100%;border:1px solid #d5e2dd;background:#f4faf7;color:#0b6e5f;font-size:14px;font-weight:800;border-radius:13px;padding:13px 14px;cursor:pointer;appearance:auto}.tabs{display:flex;padding:0 13px;border-bottom:1px solid var(--border);gap:5px;position:sticky;top:98px;background:#fff;z-index:2}.tabs button{border:none;border-bottom:3px solid transparent;background:none;font-size:13px;cursor:pointer;color:var(--muted);padding:12px 10px}.tabs button.active{color:var(--teal);border-bottom-color:var(--teal);font-weight:700}
.navarea{padding:14px 12px 35px}.intro-item{display:block;padding:11px 13px;margin-bottom:8px;background:#f4f8f7;border-radius:9px;text-decoration:none;color:#27413b;font-weight:650;font-size:13px}
.root-item{border-bottom:1px solid #edf0f2}.root-item>summary{cursor:pointer;list-style:none;display:flex;align-items:center;gap:8px;padding:13px 8px;font-weight:650;font-size:13.5px}.summary-link{color:inherit;text-decoration:none;flex:1;min-width:0}.summary-link:hover{text-decoration:underline}.root-link{font-size:13.5px}.sub-link{font-size:12.5px;line-height:1.35}.cluster-link{font-weight:700;color:#244f46}.root-item>summary::-webkit-details-marker{display:none}.caret{display:inline-block;color:#809099;font-weight:bold;font-size:20px;transform:rotate(0deg);width:15px}.root-item[open]>.root-summary .caret{transform:rotate(90deg)}.root-item[open]>.root-summary{color:var(--teal)}
.root-inside{padding:0 0 11px 21px}.overview-link{display:block;padding:8px 10px;font-size:12px;font-weight:650;color:var(--teal);text-decoration:none;border-radius:6px}.sub-item>summary{list-style:none;cursor:pointer;padding:9px 9px 9px 4px;display:flex;align-items:flex-start;gap:7px;font-size:12.5px;line-height:1.35;color:#324652;font-weight:600}.sub-item>summary::-webkit-details-marker{display:none}.sub-item[open]>summary{color:var(--teal)}.sub-item[open]>summary .caret{transform:rotate(90deg)}.sub-count{font-size:10px;color:#9ba7ac;font-weight:500;white-space:nowrap}
.cluster-inner{padding-left:13px;border-left:1px solid #e7eded;margin-left:10px}.cluster>summary{font-weight:700;color:#244f46}.leaf-list{padding:1px 0 6px 13px}.leaf{display:block;padding:7px 9px;margin:2px 0;border-radius:7px;color:#465862;font-size:12px;line-height:1.35;text-decoration:none}.leaf:hover{background:#eef6f3;color:var(--teal)}.leaf.active{background:#e2f2ed;color:#06634e;font-weight:700}.leaf .platform{font-size:10px;color:#7b8b92;display:block;margin-bottom:2px}.article-node>summary{list-style:none;cursor:pointer;display:flex;align-items:flex-start;gap:7px;padding:2px 0}.article-node>summary::-webkit-details-marker{display:none}.article-node[open]>summary .caret{transform:rotate(90deg)}.article-node .caret{font-size:16px;width:12px;line-height:1.1;color:#9aa5ab}.article-children{margin-left:10px;padding-left:10px;border-left:1px solid #e7eded}.article-leaf{padding-left:19px}.article-node .leaf{padding:5px 8px}.tree-list,.tree-list ul{padding-left:18px}.tree-list li{margin:6px 0}.abbr-table{width:100%;border-collapse:collapse}.abbr-table th,.abbr-table td{border:1px solid var(--border);padding:10px 12px;vertical-align:top}.abbr-table th{background:#f6faf8;text-align:left}.compact-index{display:flex;gap:5px;flex-wrap:wrap;padding:0 3px 15px}.compact-index button{border:1px solid var(--border);background:#fff;padding:4px 7px;cursor:pointer;border-radius:5px;font-size:11px}.alpha-title{font-weight:bold;font-size:14px;color:var(--teal);margin:10px 8px}
.paper{min-width:0;background:#fff;border:1px solid var(--border);border-radius:16px;box-shadow:0 12px 33px #0c233109;padding:37px 46px 58px;min-height:78vh;line-height:1.65}.paper h1{font-size:clamp(27px,3vw,38px);line-height:1.18;letter-spacing:-.026em;margin:4px 0 20px}.paper h2{font-size:22px;margin-top:32px}.paper h3{font-size:18px;margin-top:24px}.paper p,.paper li{font-size:15px;overflow-wrap:anywhere}.paper li{margin:6px 0}.paper a{color:var(--teal)}.paper ul,.paper ol{padding-left:26px}
.paper img{max-width:100%;max-height:660px;object-fit:contain;display:block;margin:17px auto;border:1px solid #e5eaed;border-radius:9px}.paper pre{padding:17px;background:#f6f8f9;border-radius:8px;overflow:auto;font-size:12px}.paper code{background:#f0f4f5;padding:1px 4px;border-radius:4px}.paper .doc-table{overflow-x:auto;margin:22px 0;border:1px solid var(--border);border-radius:10px}.paper table{border-collapse:collapse;min-width:550px;width:max-content}.paper th,.paper td{border:1px solid #dfe5e8;vertical-align:top;padding:10px 12px;font-size:13px}.paper th{background:#edf4f3}.paper tr:nth-child(even) td{background:#fafbfb}.source-card{border-left:4px solid var(--teal);background:#eff7f4;border-radius:11px;padding:18px 21px;margin:28px 0;color:#294542}.source-card strong{color:var(--teal);font-size:17px}.source-card p{font-size:13px}.doc-note{background:#fff7eb;padding:14px;border-radius:9px;border-left:3px solid #aa782c}.doc-caption{text-align:center;font-size:12px;color:var(--muted)}
.breadcrumb{font-size:12px;color:#718089;margin-bottom:13px;display:flex;align-items:center;gap:8px;flex-wrap:wrap}.breadcrumb .crumb-version{display:inline-flex;align-items:center;gap:6px;padding:2px 8px;border-radius:999px;font-size:10px;font-weight:850;letter-spacing:.03em;border:1px solid transparent}.breadcrumb .crumb-version:before{content:'';width:6px;height:6px;border-radius:50%;display:block}.breadcrumb .crumb-version.version-56{background:#fff1e7;border-color:#f1c5a7;color:#9d5425}.breadcrumb .crumb-version.version-56:before{background:#DE8344}.breadcrumb .crumb-version.version-57{background:#e9f5f1;border-color:#cfe7df;color:#067363}.breadcrumb .crumb-version.version-57:before{background:#0b6e5f}.hero{padding:30px 34px;background:linear-gradient(115deg,#eff7f5,#f7fafb);border:1px solid #d9e9e2;border-radius:15px;margin-bottom:24px}.eyebrow{color:var(--teal);font-size:11px;font-weight:750;text-transform:uppercase;letter-spacing:.06em}.hero h1{margin:12px 0;font-size:35px}.hero p{max-width:780px;font-size:16px;color:#42595f}.metricline{display:flex;gap:18px;flex-wrap:wrap;color:var(--muted);font-size:12px;margin:17px 0 0}.metricline strong{color:var(--text)}
.cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(225px,1fr));gap:13px;margin:16px 0 30px}.section-card,.quick-card{background:#fff;border:1px solid var(--border);border-radius:12px;padding:17px;display:block;text-decoration:none;color:var(--text);box-shadow:0 3px 10px #132b3405}.section-card:hover,.quick-card:hover{border-color:#72afa0;box-shadow:0 4px 17px #0d735021}.section-card b,.quick-card b{display:block;font-size:14px;margin-bottom:6px}.section-card span,.quick-card span{font-size:12px;color:var(--muted)}.section-card .arrow,.quick-card .arrow{color:var(--teal);float:right}.quick-card{background:#fafdfe}.subhead{font-size:18px!important;margin:30px 0 12px!important}.more-list{columns:2;column-gap:30px}.more-list li{break-inside:avoid;margin:7px 0}.more-list a{font-size:13px;text-decoration:none}.context-nav{display:flex;gap:14px;border-top:1px solid var(--border);padding:22px 0 0;margin:30px 0 0;flex-wrap:wrap}.context-nav a{font-size:12px;text-decoration:none;border:1px solid var(--border);border-radius:9px;padding:10px 13px}.search-results{position:absolute;top:49px;left:0;right:0;max-height:60vh;overflow:auto;background:white;border:1px solid var(--border);box-shadow:0 13px 34px #0f24301c;border-radius:12px;z-index:25;display:none}.search-results a{display:block;text-decoration:none;padding:13px 16px;border-bottom:1px solid #edf1f3;color:#21333e}.search-results a:hover{background:#f0f7f4}.search-results b{display:block;font-size:13px}.search-results small{color:var(--muted);font-size:11px}.search-results em{font-weight:400;color:#5a6d75;display:block;font-size:11px;margin-top:5px;font-style:normal}.search-count{padding:11px 16px;font-size:11px;color:#829096;background:#f8fafb}.empty{color:#687982;font-size:13px;padding:25px 12px}
@media(max-width:950px){.pagegrid{grid-template-columns:290px minmax(0,1fr);gap:10px;padding:10px}.paper{padding:24px}.top{padding:0 12px}.status{display:none}}@media(max-width:710px){.pagegrid{display:block}.aside{position:relative;top:auto;height:auto;max-height:290px;margin-bottom:12px}.paper{padding:22px 16px}.brand{font-size:12px}.searchbox input{font-size:12px}.cards{grid-template-columns:1fr}.more-list{columns:1}}

/* Ограничение размеров таблиц в пределах колонки статьи */
.paper {max-width:100%; overflow-wrap:anywhere;}
.paper .doc-table {max-width:100%; overflow-x:auto;}
/* Сокращения: обычная адаптивная таблица без горизонтального переполнения */
.paper table.abbr-table {display:table; min-width:0; width:100%; max-width:100%; table-layout:fixed;}
.paper table.abbr-table th:first-child, .paper table.abbr-table td:first-child {width:22%;}
.paper table.abbr-table th, .paper table.abbr-table td {white-space:normal; overflow-wrap:anywhere; word-break:normal; hyphens:auto;}
@media (max-width:710px) { .paper table.abbr-table th:first-child, .paper table.abbr-table td:first-child {width:30%;} }

.quick-notice{padding:18px 22px;background:#fff4e4;border-left:5px solid #c98528;border-radius:11px;margin:15px 0 22px}
.quick-notice strong{display:block;font-size:17px;margin-bottom:5px;color:#774b11}
.quick-notice p{margin:6px 0;font-size:14px}
.quick-facts{display:flex;flex-wrap:wrap;gap:9px;margin:18px 0}
.quick-facts span{border:1px solid #d7e5e0;background:#f3faf7;border-radius:8px;font-size:12px;padding:8px 11px}
.quick-toc{background:#f5f8f8;padding:13px 20px;border-radius:10px;margin:15px 0}
.quick-toc ol{margin:7px 0;columns:2;column-gap:22px}
.quick-toc li{break-inside:avoid}
.quick-step{border-top:1px solid #e3eaea;padding-top:5px;margin-top:35px}
.quick-img{display:block;max-width:min(840px,100%);height:auto;margin:15px auto;border:1px solid #e7ebeb;border-radius:10px}
.quick-caption{font-size:12px!important;color:#76858b;text-align:center;margin-top:-5px}
.quick-side{background:#f2f7f6;border-left:3px solid #0b6e5f;padding:12px 16px;border-radius:6px;margin:16px 0;font-size:14px}
.quick-steps li{margin:8px 0}
@media(max-width:640px){.quick-toc ol{columns:1}}

/* Multi-version controls */
.version-select,.search-scope-label{display:flex;gap:8px;align-items:center;font-size:12px;color:var(--muted);white-space:nowrap}.search-scope-inline{min-width:190px;max-width:205px;display:flex;flex-direction:column;gap:7px;padding:11px 12px;border:1px solid rgba(255,255,255,.28);border-radius:15px;background:rgba(255,255,255,.16);box-shadow:0 8px 22px rgba(8,15,35,.14);backdrop-filter:blur(10px)}.search-scope-inline span{font-weight:800;color:#f4f8fa;text-shadow:0 1px 2px rgba(0,0,0,.18)}.version-select select,.search-scope-label select,.search-scope-inline select{border:1px solid #d5e2dd;background:#f4faf7;color:#0b6e5f;font-size:14px;font-weight:800;border-radius:12px;padding:12px 14px;cursor:pointer;width:100%}
.version-select select:focus,.search-scope-label select:focus,.search-scope-inline select:focus,.aside-control select:focus{outline:2px solid #5ea694;outline-offset:1px}
.version-row{display:flex;justify-content:flex-end;margin:-6px 0 14px;align-items:center}.page-version-indicator{display:inline-flex;align-items:center;gap:10px;padding:9px 14px;border-radius:14px;border:1px solid #d7eae3;background:#f7fbfa;box-shadow:0 4px 12px #0c233108}.page-version-indicator.version-56{border-color:#f0c7ad;background:#fff7f1}.page-version-indicator.version-57{border-color:#d7eae3;background:#f3faf7}.version-indicator-bar{width:5px;align-self:stretch;border-radius:999px;background:#0b6e5f}.page-version-indicator.version-56 .version-indicator-bar{background:#DE8344}.page-version-indicator.version-57 .version-indicator-bar{background:#0b6e5f}.version-pill{display:inline-flex;align-items:center;gap:8px;padding:0;border:none;background:transparent;color:#0b6e5f;font-weight:800;font-size:12px}.version-pill.version-56{color:#a75a27}.version-pill.version-57{color:#0b6e5f}.version-dot{height:8px;width:8px;border-radius:50%;background:var(--teal)}.version-pill.version-56 .version-dot{background:#DE8344}.version-pill.version-57 .version-dot{background:#0b6e5f}
.search-results .search-version{display:inline-flex;align-items:center;gap:6px;font-weight:850;border-radius:999px;padding:3px 9px;font-size:11px;letter-spacing:.01em;border:1px solid transparent}.search-results .search-version:before{content:'';width:7px;height:7px;border-radius:50%;display:inline-block}.search-results .search-version.version-56{color:#9d5425;background:#fff1e7;border-color:#f1c5a7}.search-results .search-version.version-56:before{background:#DE8344}.search-results .search-version.version-57{color:#067363;background:#e9f5f1;border-color:#cfe7df}.search-results .search-version.version-57:before{background:#0b6e5f}
.version-news{padding:12px 15px;background:#f1f8f6;border-left:3px solid #0b6e5f;border-radius:8px;font-size:13px;margin:15px 0}
.paper{max-width:100%;min-width:0;overflow-wrap:anywhere}.paper .doc-table{max-width:100%;overflow-x:auto;overflow-y:hidden;min-width:0}
.paper .doc-table table{width:max-content;max-width:none;min-width:100%;margin:0}.paper img{max-width:100%;height:auto}.paper .abbr-table{width:100%;min-width:0;table-layout:fixed}
.paper .abbr-table th:first-child,.paper .abbr-table td:first-child{width:22%}.paper .abbr-table td{overflow-wrap:anywhere;white-space:normal}
body[data-version='5.6.0'] .aside-control.version-control select, body[data-version='5.6.0'] #search-scope, body[data-version='5.6.0'] #search-scope-header{background:#fff4ed;border-color:#f0c7ad;color:#DE8344}body[data-version='5.7.0'] .aside-control.version-control select, body[data-version='5.7.0'] #search-scope, body[data-version='5.7.0'] #search-scope-header{background:#f4faf7;border-color:#d5e2dd;color:#0b6e5f}
@media(max-width:1200px){.brand{min-width:210px}.top{gap:12px;padding:12px 16px;min-height:92px;background-position:64% 48%}.search-scope-inline{min-width:160px;max-width:175px}.brand-title{font-size:17px}.brand-subtitle{font-size:14px}}
@media(max-width:800px){.top{height:auto;min-height:86px;padding:12px 12px 14px;flex-wrap:wrap;position:sticky;top:0;background-position:62% 50%}.brand{width:100%;min-width:0}.searchbox{max-width:none;flex:1 1 calc(100% - 176px);order:5}.search-scope-inline{order:6;min-width:168px;max-width:none;flex:0 0 168px;padding:10px 11px}.searchbox input{padding-top:13px;padding-bottom:13px}.pagegrid{padding:10px;gap:10px}.aside{top:150px;height:calc(100vh - 175px)}.tabs{top:98px}.paper{padding:22px 16px}.version-row{justify-content:flex-start}}
@media(max-width:620px){.top{padding:10px 10px 12px}.brand{gap:10px}.brand-title{font-size:16px}.brand-subtitle{font-size:13px}.searchbox{flex:1 1 100%;order:5}.search-scope-inline{flex:1 1 100%;max-width:none;order:6}.search-scope-inline select{padding-top:11px;padding-bottom:11px}.aside{top:198px;height:calc(100vh - 218px)}.tabs{top:98px}}

/* v5 — product-oriented home and section cards */
.paper:has(.home-shell){padding:0;overflow:hidden;background:#f7f9fb}.paper:has(.home-shell)>.version-row{display:none}
.home-shell{--violet:#51257d;--orange:#DE8344;color:#15232e}
.home-hero{isolation:isolate;position:relative;overflow:hidden;min-height:360px;border-radius:0;background:radial-gradient(circle at 72% 38%,rgba(242,138,70,.28),transparent 35%),linear-gradient(111deg,#11112b 0%,#201333 48%,#52254e 100%);color:#fff;padding:52px 54px 44px}
.home-hero:before{content:'';position:absolute;inset:0;background-image:linear-gradient(91deg,rgba(9,10,29,.88) 0%,rgba(24,12,44,.60) 55%,rgba(25,16,51,.20) 100%),url('../docs/header-bg.webp');background-size:cover;background-position:center 48%;opacity:.88;z-index:-1}
.home-hero:after{content:'';position:absolute;top:-220px;right:-70px;width:490px;height:490px;border:1px solid rgba(255,255,255,.15);border-radius:50%;box-shadow:0 0 0 56px rgba(255,255,255,.018),0 0 0 106px rgba(255,255,255,.018);pointer-events:none;z-index:-1}
.home-kicker{display:inline-flex;gap:9px;align-items:center;text-transform:uppercase;font-size:11px;font-weight:850;letter-spacing:.17em;color:#ffd3b6}.home-kicker:before{content:'';width:24px;height:2px;border-radius:4px;background:#ffb985}
.home-hero h1{font-size:clamp(37px,4vw,54px);line-height:1.08;letter-spacing:-.045em;font-weight:820;margin:20px 0 16px;color:white;max-width:650px}
.home-hero h1 span{color:#ffb582}
.home-hero p{max-width:660px;color:#e5e4f2;font-size:16px;line-height:1.75;margin:0 0 24px}
.home-buttons{display:flex;gap:12px;flex-wrap:wrap;margin-bottom:24px}
.home-primary,.home-secondary{display:inline-flex;align-items:center;justify-content:center;gap:12px;text-decoration:none!important;font-size:13px;font-weight:850;padding:12px 18px;border-radius:12px;transition:transform .2s,box-shadow .2s}
.home-primary{background:#fff!important;color:#26163a!important;box-shadow:0 8px 30px #05061a33}.home-secondary{background:#ffffff17!important;color:#fff!important;border:1px solid #ffffff4a}.home-primary:hover,.home-secondary:hover{transform:translateY(-2px)}
.home-stats{display:flex;gap:12px;flex-wrap:wrap}.home-stat{background:#ffffff14;border:1px solid #ffffff27;padding:10px 15px;border-radius:12px;backdrop-filter:blur(8px);font-size:12px;display:flex;flex-direction:column;gap:3px;color:#e7e7ee}.home-stat b{color:#fff;font-size:17px;font-weight:850}.home-stat.version-56 b{color:#ffb27e}.home-stat.version-57 b{color:#a3f0cb}
.home-body{padding:32px 42px 52px}.home-section-head{display:flex;gap:16px;align-items:end;justify-content:space-between;margin:0 0 20px}.home-section-head h2{margin:0!important;font-size:24px!important;letter-spacing:-.03em;color:#172435}.home-section-head p{font-size:13px!important;margin:6px 0 0!important;color:#71808a}
.home-guide-label{font-size:11px;color:#8a6d9e;font-weight:850;letter-spacing:.14em;text-transform:uppercase;margin-bottom:7px}
.home-featured{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:0 0 37px}
.home-featured a{display:flex;flex-direction:column;gap:5px;min-height:102px;padding:18px;border-radius:16px;border:1px solid #dbe3e9;background:#fff;text-decoration:none;color:#142838;box-shadow:0 8px 22px #0e2b4310;transition:transform .2s,border-color .2s}.home-featured a:hover{transform:translateY(-3px);border-color:#e2aa85}.home-featured strong{font-size:14px}.home-featured small{color:#70808a;font-size:11px}.home-featured .feature-arrow{align-self:flex-end;color:#a66491;font-size:16px;font-weight:700;margin-top:auto}
.home-product-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;margin:0 0 16px}
.product-card{--card-accent:#6b3c99;position:relative;isolation:isolate;display:flex;flex-direction:column;min-height:206px;padding:19px 20px 17px;border:1px solid #dce3ea;border-radius:18px;background:#fff;color:#1b2a35!important;text-decoration:none!important;box-shadow:0 8px 22px #0d283908;transition:transform .2s,border-color .2s,box-shadow .2s;overflow:hidden}
.product-card:after{content:'';position:absolute;right:-60px;top:-55px;width:150px;height:150px;background:radial-gradient(circle,color-mix(in srgb,var(--card-accent) 12%,transparent),transparent 68%);border-radius:50%;z-index:-1}
.product-card:hover{transform:translateY(-4px);border-color:color-mix(in srgb,var(--card-accent) 50%,#dce3ea);box-shadow:0 17px 32px #0d283916}
.product-card-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:17px}
.product-card-icon{display:grid;place-items:center;width:45px;height:45px;border-radius:13px;color:var(--card-accent);background:color-mix(in srgb,var(--card-accent) 10%,white)}
.product-card-icon svg{width:23px;height:23px;stroke:currentColor;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.product-card-arrow{display:grid;place-items:center;width:27px;height:27px;border-radius:50%;border:1px solid #e0e4e8;color:var(--card-accent);font-size:16px}
.product-card-title{font-size:15px;font-weight:850;line-height:1.36;letter-spacing:-.01em;margin-bottom:8px}
.product-card-description{color:#60737e;font-size:12px!important;line-height:1.6;margin:0 0 14px!important;flex:1}
.product-card-footer{border-top:1px solid #edf1f4;padding-top:11px;font-size:11px;color:#667984;display:flex;justify-content:space-between;gap:10px}
.product-card-footer b{color:var(--card-accent)}
.product-card[data-theme='violet']{--card-accent:#6b3c99}.product-card[data-theme='orange']{--card-accent:#b36a34}.product-card[data-theme='green']{--card-accent:#0b6e5f}.product-card[data-theme='blue']{--card-accent:#32689a}.product-card[data-theme='rose']{--card-accent:#9d4b7b}
.home-outro{margin-top:25px;background:linear-gradient(100deg,#edf4f3,#f7f5fb);border:1px solid #dae4e5;border-radius:16px;padding:22px;display:flex;justify-content:space-between;align-items:center;gap:20px}
.home-outro b{font-size:14px}.home-outro p{font-size:12px!important;color:#637783;margin:5px 0 0}.home-outro a{white-space:nowrap;font-size:12px;font-weight:800;border-radius:10px;padding:11px 16px;color:#fff!important;background:#3e2964;text-decoration:none}
/* Same design language for sections and subsections */
.cards{grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:15px}
.section-card,.quick-card{position:relative;overflow:hidden;border-radius:15px;padding:19px 20px;border:1px solid #dbe4e9;background:#fff;box-shadow:0 6px 20px #122a3a09;transition:transform .2s,border-color .2s,box-shadow .2s}
.section-card:before,.quick-card:before{content:'';position:absolute;left:0;top:0;bottom:0;width:3px;background:linear-gradient(#6e479b,#de8344);opacity:.75}
.section-card:hover,.quick-card:hover{transform:translateY(-3px);border-color:#b5a0c8;box-shadow:0 13px 30px #122a3a12}
.section-card b,.quick-card b{font-size:14px;line-height:1.45;letter-spacing:-.01em;margin-bottom:9px}
.section-card span,.quick-card span{line-height:1.5;font-size:12px}
.section-card .arrow,.quick-card .arrow{color:#653587;font-size:16px}
@media(max-width:1350px){.home-product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.home-featured{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:1020px){.home-hero{padding:37px 32px}.home-body{padding:28px 25px}.home-featured{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:800px){.home-hero{min-height:310px;padding:32px 26px}.home-product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.home-hero{padding:28px 20px}.home-hero h1{font-size:35px}.home-hero p{font-size:14px!important}.home-body{padding:25px 16px}.home-product-grid,.home-featured{grid-template-columns:1fr}.home-outro{align-items:flex-start;flex-direction:column}.home-hero:after{display:none}}


/* Unified product and version selector */
.product-control{border-color:#d9c7e8;background:linear-gradient(180deg,#fff,#f9f5ff);box-shadow:0 3px 14px #4b236a0b}
.product-control select{border:1px solid #ddcdeb!important;background:#f5edfb!important;color:#653088!important;font-weight:900!important}
.aside-controls{gap:9px;padding:12px 13px}
.aside{height:calc(100vh - 121px)}
.tabs{top:190px}
body[data-product='os'] .root-item[open]>.root-summary,body[data-product='os'] .tabs button.active,body[data-product='os'] .paper a{color:#703d99}
body[data-product='os'] .tabs button.active{border-bottom-color:#7a449f}
body[data-product='os'] .leaf.active{background:#f0e8f8;color:#713e98}
body[data-product='os'] .version-control select{background:#f6f0fb!important;border-color:#dfcce9!important;color:#703d99!important}
body[data-product='os'] .source-card{background:#f7f1fc;border-left-color:#7b42a0;color:#483555}
body[data-product='os'] .source-card strong{color:#703d99}
.version-pill.version-os{color:#703d99}.page-version-indicator.version-os{background:#f7f0ff;border-color:#dfcceb}.page-version-indicator.version-os .version-indicator-bar,.version-pill.version-os .version-dot{background:#7b42a0}
.breadcrumb .crumb-version.version-os{background:#f7f0ff;border-color:#dfcceb;color:#703d99}.breadcrumb .crumb-version.version-os:before{background:#7b42a0}
.search-results .search-version.version-os{color:#713c97;background:#f4e9fc;border-color:#e4cdef}.search-results .search-version.version-os:before{background:#8445a4}
.search-results .search-product{font-weight:650;color:#637584;margin-left:5px}
.paper .os-article{min-width:0}.os-source-footnotes{font-size:12px;padding:12px 15px;border-radius:10px;border:1px solid #ece4ef;background:#fbf9fc;margin:18px 0}.os-source-footnotes li{font-size:12px!important}
/* Responsive Word screenshot/text cards, approved for OS Aurora 5.2.1 */
.paper {container: article / inline-size;}
.paper .illustrated-instructions{max-width:100%;display:flex;flex-direction:column;gap:14px;margin:22px 0 28px}
.paper .illustrated-row{display:grid;grid-template-columns:minmax(0,min(31%,280px)) minmax(0,1fr);align-items:start;gap:20px;border:1px solid #dce7ea;border-radius:14px;padding:17px;background:white;max-width:100%;min-width:0}
.paper .illustrated-row.paired-figures{grid-template-columns:repeat(2,minmax(0,1fr))}
.paper .illustrated-cell{min-width:0;max-width:100%;overflow-wrap:anywhere;text-align:left}
.paper .illustrated-cell.illustrated-media{background:#f6f9fa;border-radius:10px;padding:14px 12px;text-align:center}
.paper .illustrated-cell.illustrated-media img{display:block;max-width:100%!important;width:auto;height:auto;max-height:500px;margin:0 auto 7px;object-fit:contain;border:0}
.paper .illustrated-cell.illustrated-media p{margin:5px 0 8px;font-size:13px;line-height:1.5}
.paper .illustrated-cell.illustrated-copy{font-size:15px;line-height:1.65;padding:3px 5px 3px 0}
.paper .illustrated-cell.illustrated-copy p:first-child{margin-top:0}
.paper .illustrated-cell.illustrated-copy p,.paper .illustrated-cell.illustrated-copy li{font-size:15px;text-align:left;overflow-wrap:anywhere;word-break:normal;font-weight:400}
.paper img.inline-ui-icon,.paper .illustrated-cell img.inline-ui-icon{display:inline-block!important;width:auto!important;height:auto!important;max-width:1.65em!important;max-height:1.65em!important;margin:0 .17em!important;vertical-align:-.2em;border:0!important;border-radius:0!important}
.paper .illustrated-cell.illustrated-copy ul,.paper .illustrated-cell.illustrated-copy ol{padding-left:24px;margin:9px 0}
.paper .doc-table{width:100%;max-width:100%;min-width:0;overflow-x:auto;overscroll-behavior-x:contain}
.paper .doc-table table.compact-data-table{width:100%;min-width:0;max-width:100%;table-layout:fixed}
.paper .doc-table table.wide-data-table{min-width:800px;max-width:none;table-layout:fixed}
.paper .doc-table td,.paper .doc-table th{white-space:normal!important;overflow-wrap:anywhere!important;vertical-align:top;text-align:left;word-break:normal!important}
.paper .doc-table td img,.paper .doc-table th img{max-width:100%!important;width:auto;height:auto}
.paper .doc-table td p,.paper .doc-table th p{margin:4px 0;overflow-wrap:anywhere}
.paper .doc-note{background:#fff7ea;border-left:3px solid #bd7a34;padding:14px 16px;margin:15px 0;border-radius:8px}
.paper .doc-article{min-width:0;overflow-wrap:anywhere}.paper .doc-article h1{font-size:27px}.paper .doc-article h2{font-size:22px}.paper .doc-article h3{font-size:18px}
.paper .doc-article table{table-layout:fixed;width:100%;max-width:100%;min-width:0}
.paper .doc-article .table-scroll{overflow-x:auto;width:100%;max-width:100%}
.paper .doc-article .table-scroll table{width:100%;min-width:550px;max-width:none}
.paper .doc-article td,.paper .doc-article th{overflow-wrap:anywhere;word-break:normal;white-space:normal;padding:9px;font-size:13px}
.paper .doc-article img{max-width:100%;height:auto}
/* Device/build overview in the unified documentation home */
.os-release-overview{max-width:100%;min-width:0}
.os-release-overview .section{margin:20px 0 26px}
.os-release-overview .section-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px}
.os-release-overview .section h2{font-size:23px;letter-spacing:-.02em;margin:0}
.os-release-overview .section-sub{font-size:13px;color:#697783;margin:4px 0}
.os-release-overview .device-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.os-release-overview .device-card{border:1px solid #dedee9;background:#fff;border-radius:16px;overflow:hidden;min-width:0;box-shadow:0 3px 15px #132b3410}
.os-release-overview .device-card .card-top{padding:18px 20px 14px;border-bottom:1px solid #e7e6ef;display:flex;justify-content:space-between;gap:12px;align-items:center}
.os-release-overview .device-card .build{font-weight:900;font-size:25px;color:#2f2447}
.os-release-overview .build-description{font-size:12px;color:#697783;margin:3px 0}
.os-release-overview .device-pill{font-size:10px;border-radius:999px;padding:5px 10px;font-weight:800;white-space:nowrap}
.os-release-overview .device-pill.original{background:#f2eafb;color:#6c3b94}.os-release-overview .device-pill.update{background:#fff0e4;color:#a76025}
.os-release-overview .card-content{padding:12px 20px;min-height:156px}.os-release-overview .card-content ul{list-style:none;margin:0;padding:0}
.os-release-overview .card-content li{padding:10px 0;border-bottom:1px solid #f0f0f4;font-size:13px;font-weight:750;display:flex;align-items:center;gap:9px;min-width:0}
.os-release-overview .card-content li:last-child{border:0}.os-release-overview .device-ico{display:grid;place-items:center;flex:none;border-radius:8px;width:25px;height:25px;background:#f3eafa;color:#713e99}
.os-release-overview .footer{padding:12px 20px 20px}.os-release-overview .notes-link{display:inline-block;padding:9px 12px;border-radius:10px;text-decoration:none;border:1px solid #dfc9e7;background:#f8f2fc;font-size:12px;font-weight:800;color:#693d91}
.os-release-overview .notes-link.orange{background:#fff5eb;color:#9c5b2e;border-color:#f4d1b5}
.os-release-overview .features-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.os-release-overview .feature{padding:17px;border:1px solid #e1e4eb;border-radius:13px;background:#fff;min-width:0}
.os-release-overview .feature .ico{font-size:23px;display:block;margin-bottom:9px}
.os-release-overview .feature strong{font-size:13px}.os-release-overview .feature p{font-size:12px;color:#687884;line-height:1.55}
.os-release-overview .pale-link{font-size:12px;font-weight:800;text-decoration:none}
.os-home-note{padding:15px 18px;background:#f9f5fd;border:1px solid #e7dbf1;border-radius:13px;color:#625373;font-size:13px;margin:14px 0 26px}
@container article (max-width:760px){.paper .illustrated-row,.paper .illustrated-row.paired-figures{grid-template-columns:minmax(0,1fr);gap:12px}.paper .illustrated-cell.illustrated-media img{max-height:440px}.os-release-overview .device-grid{grid-template-columns:1fr}.os-release-overview .features-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:710px){.tabs{top:190px}.aside{max-height:360px}.os-release-overview .features-grid{grid-template-columns:1fr}}

/* Unified platform portal, product-specific accents and accessible header */
.brand{min-width:250px;gap:0}.brand-title{font-size:25px;font-weight:950;letter-spacing:.025em;line-height:1.08}.brand-subtitle{font-size:17px;font-weight:850;margin-top:5px;line-height:1.15}
.top{min-height:102px;padding:15px 24px;gap:22px}
.search-scope-inline{background:rgba(8,16,39,.90)!important;border:1px solid rgba(230,240,255,.48);box-shadow:0 7px 22px rgba(4,10,30,.30);min-width:185px}
.search-scope-inline span{color:#fff;font-size:12px}.search-scope-inline select{background:#fff!important;color:#183352!important;border-color:#b3c1d4!important;font-weight:850;min-width:0}
body[data-product='center']{--teal:#186cae;--soft:#e9f4fd}
body[data-product='center'] .top{background-image:linear-gradient(90deg,rgba(3,15,40,.98) 0%,rgba(5,27,65,.94) 43%,rgba(8,50,102,.73) 75%,rgba(12,33,74,.47) 100%),url('../docs/header-bg.webp');background-position:60% 46%}
body[data-product='center'] .brand-title{background:linear-gradient(90deg,#ffffff 0%,#acd6ff 40%,#67afff 100%);-webkit-background-clip:text;background-clip:text;color:transparent}
body[data-product='os']{--teal:#713d99;--soft:#f4edfa}
body[data-product='os'] .brand-title{background:linear-gradient(90deg,#faf0ff 0%,#cf9cff 52%,#f1bbfc 100%);-webkit-background-clip:text;background-clip:text;color:transparent}
body[data-product='os'] .top{background-image:linear-gradient(90deg,rgba(12,8,34,.97) 0%,rgba(39,17,62,.82) 46%,rgba(54,23,73,.42) 74%,rgba(37,12,45,.15) 100%),url('../docs/header-bg.webp')}
body[data-product='center'] .product-control{border-color:#c5dbee;background:linear-gradient(180deg,#fff,#f1f7fe)}
body[data-product='center'] .product-control select{background:#e9f4fd!important;border-color:#bfdbf0!important;color:#1769a7!important}
body[data-product='os'] .product-control{border-color:#decde9;background:linear-gradient(180deg,#fff,#fbf7ff)}
body[data-product='os'] .product-control select{background:#f4ecfb!important;border-color:#dfcdeb!important;color:#6b358f!important}
body[data-product='center'] .root-item[open]>.root-summary,body[data-product='center'] .tabs button.active{color:#176cae}
body[data-product='center'] .tabs button.active{border-bottom-color:#176cae}
body[data-product='center'] .leaf.active{color:#125f9e;background:#e9f3fc}
body[data-product='center'] .source-card{background:#f0f7ff;border-left-color:#176cae;color:#284761}
body[data-product='center'] .source-card strong{color:#176cae}
body[data-product='center'] .intro-item{background:#eaf4fc;color:#1f547e}
body[data-product='os'] .intro-item{background:#f4effa;color:#713d99}
body[data-product='center'] .hero{background:linear-gradient(115deg,#eaf4fd,#f7fbff);border-color:#cee1f1}
body[data-product='center'] .home-guide-label{color:#226cb0}
body[data-product='center'] .home-kicker:before{background:#83c4fd}
body[data-product='center'] .home-hero{background:linear-gradient(110deg,#061936,#082c58 60%,#1c4d85)}
body[data-product='center'] .home-hero:before{background-image:linear-gradient(91deg,rgba(1,17,42,.97),rgba(3,32,76,.86) 54%,rgba(12,60,111,.62)),url('../docs/header-bg.webp');background-position:55% 50%}
body[data-product='center'] .home-hero h1 span{color:#a6d9ff}
body[data-product='center'] .home-kicker{color:#acd9ff}
body[data-product='center'] .home-primary{color:#164d7c!important}
body[data-product='center'] .home-stat.version-56 b{color:#ffc9a5}body[data-product='center'] .home-stat.version-57 b{color:#b4e1ff}
.center-release-section{margin:0 0 34px}.center-release-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}
.center-release-feature{position:relative;display:flex;flex-direction:column;min-height:178px;gap:7px;padding:18px 19px;border:1px solid #d4e4f2;border-radius:16px;background:linear-gradient(148deg,#fff 0%,#f7fbff 100%);text-decoration:none!important;color:#18374f!important;box-shadow:0 5px 18px rgba(12,50,86,.06);transition:transform .16s,border-color .16s}
.center-release-feature:hover{transform:translateY(-3px);border-color:#8abbe6}.center-release-feature strong{font-size:15px;font-weight:850}.center-release-feature>span:not(.center-feature-num){font-size:12px;color:#5e7587;line-height:1.6}.center-release-feature small{margin-top:auto;padding-top:8px;font-size:11px;color:#176cae;font-weight:850}.center-feature-num{font-size:11px;font-weight:900;letter-spacing:.1em;color:#2a79ae}
.release-all{display:inline-flex;white-space:nowrap;align-items:center;padding:9px 13px;border:1px solid #b9d8f0;border-radius:10px;background:#f5faff;color:#1d6da9!important;text-decoration:none!important;font-weight:850;font-size:12px}
body[data-product='os'] .home-product-grid .product-card{border-color:#e6daef}
body[data-product='center'] .home-product-grid .product-card{--card-accent:#2476b7!important}
body[data-product='os'] .home-product-grid .product-card{--card-accent:#7543a6!important}
body[data-product='center'] .home-outro a{background:#1a69a7}
body[data-product='center'] .home-product-grid .product-card:not([data-theme]){--card-accent:#2a70ac}
@media(max-width:1100px){.brand{min-width:215px}.brand-title{font-size:21px}.brand-subtitle{font-size:15px}.top{gap:13px}.center-release-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:800px){.top{min-height:92px;padding:12px}.brand{min-width:0;width:100%}.brand-title{font-size:21px}.brand-subtitle{font-size:15px}.searchbox{min-width:0}.search-scope-inline{min-width:155px;padding:9px 11px}.center-release-grid{grid-template-columns:1fr 1fr}.aside{top:unset;height:auto;max-height:420px}.pagegrid{grid-template-columns:1fr}.paper{padding:20px 16px}}
@media(max-width:560px){.center-release-grid,.home-featured,.home-product-grid{grid-template-columns:1fr}.center-release-feature{min-height:135px}.search-scope-inline{min-width:0;max-width:none;width:100%}.searchbox{flex:1 1 100%}.top{gap:10px}.home-hero{padding:32px 22px}.home-body{padding:25px 18px}.home-hero h1{font-size:32px}}

/* Additional OS 5.1 articles, preserving the approved illustrated-instruction layout */
.paper .doc-table{max-width:100%;overflow:auto;min-width:0}
.paper .doc-table table{max-width:100%;width:100%;table-layout:auto}
.paper .doc-table td,.paper .doc-table th{overflow-wrap:anywhere;word-break:break-word;vertical-align:top;text-align:left}
.paper .doc-table img{max-width:100%;height:auto;object-fit:contain}
.paper .illustrated-instructions{max-width:100%;min-width:0}
.paper .illustrated-row{max-width:100%;grid-template-columns:minmax(0,min(31%,280px)) minmax(0,1fr)}
.paper .illustrated-cell.illustrated-copy{min-width:0;overflow-wrap:anywhere;word-break:normal;text-align:left;font-weight:400}
.paper .illustrated-cell.illustrated-copy p,.paper .illustrated-cell.illustrated-copy li{font-weight:400;text-align:left;line-height:1.62}
.paper .illustrated-cell.illustrated-copy strong{font-weight:750}
.paper .illustrated-cell.illustrated-copy img{display:inline-block;width:auto;height:auto;max-width:26px;max-height:28px;margin:0 4px;vertical-align:middle;border:0}
@media(max-width:800px){.paper .illustrated-row{grid-template-columns:1fr}.paper .illustrated-row.paired-figures{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:520px){.paper .illustrated-row.paired-figures{grid-template-columns:1fr}}

/* Online browser mode: loading and error states. */
.loading-help{display:flex;align-items:center;justify-content:center;min-height:32vh;text-align:center;color:#526576;padding:30px;line-height:1.7}
.loading-help strong{font-size:18px;display:block;color:#15232e}


/* v5: consistent landing pages across OS 5.1/5.2 and Center 5.6/5.7 */
.os-release-overview .device-grid.device-grid-three{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,265px),1fr));align-items:stretch;gap:14px}
.os-release-overview .device-grid.device-grid-three .device-card{display:flex;flex-direction:column;min-width:0}
.os-release-overview .device-grid.device-grid-three .card-top{align-items:flex-start;min-height:99px}
.os-release-overview .device-grid.device-grid-three .card-content{flex:1;min-height:0}
.os-release-overview .device-grid.device-grid-three .footer{margin-top:auto}
.os-release-overview .device-grid.device-grid-three .notes-link{display:inline-flex;align-items:center;gap:5px;line-height:1.3;white-space:normal}
.os-release-overview .device-kind{color:#77818b;font-weight:500;margin-left:auto;font-size:11px;text-align:right;flex-shrink:0}
.os-release-overview .device-pill.update-plain{background:#eef0fa;color:#59549b}
.home-hero .release-current-badge{display:inline-flex;align-items:center;gap:7px;background:#e7f8ee;color:#09633c;font-size:11px;font-weight:850;letter-spacing:.025em;padding:7px 12px;border:1px solid #8fdbb0;border-radius:999px;margin:15px 0 0;width:max-content;box-shadow:0 2px 12px #052d1d24}
.home-hero .release-current-badge:before{content:'';height:7px;width:7px;border-radius:50%;background:#1caa60}
.home-hero .release-current-badge+ h1{margin-top:16px}
@container article (max-width:760px){.os-release-overview .device-grid.device-grid-three{grid-template-columns:1fr}}
@media(max-width:700px){.home-hero .release-current-badge{font-size:10px;padding:6px 10px}.os-release-overview .device-grid.device-grid-three{grid-template-columns:1fr}}
