@charset "UTF-8";
:root { --accent: #194874; --accent-hover: #123654; --accent-soft: #e9f2fa; --ink: #26394d; --muted: #52677d; --line: #dce6ef; --panel: #f4f7fa; --sidebar: 302px; }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { margin: 0; height: 100%; }
body { display: flex; flex-direction: column; height: 100dvh; overflow: hidden; color: var(--ink); background: #fff; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; font-size: 14px; -webkit-font-smoothing: antialiased; }
button, select, input { font: inherit; }
button, a, select { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; }
button:focus-visible, a:focus-visible, select:focus-visible, input:focus-visible, summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
/* The selectors live in the header; matching outer columns center them on wide screens. */
.topbar { min-height: 76px; flex-shrink: 0; padding: 9px 30px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 510px) minmax(0, 1fr); gap: 20px; align-items: center; border-bottom: 1px solid var(--line); background: #fbfdff; }
.brand { display: flex; gap: 13px; align-items: center; min-width: 0; }
.brand-copy { display: flex; align-items: center; min-width: 0; }
.brand-logo { display: block; width: 44px; height: 44px; object-fit: contain; border-radius: 50%; flex-shrink: 0; }
.brand-name { font-size: 19px; line-height: 1.3; font-weight: 650; letter-spacing: -.25px; color: var(--accent); }
.brand-divider { width: 1px; height: 22px; background: #d6e2ec; margin: 0 17px; flex-shrink: 0; }
.brand-subtitle { font-size: 16px; font-weight: 450; color: #455e74; letter-spacing: 0; }
.topbar-right { display: flex; min-width: 0; justify-content: flex-end; }
.help-selection { display: grid; grid-template-columns: minmax(130px, 170px) minmax(0, 1fr); gap: 14px; align-items: end; min-width: 0; }
.selection-field { min-width: 0; }
.selection-field .field-label { margin: 0 0 4px; white-space: nowrap; }
.selection-field select { min-width: 0; padding-top: 8px; padding-bottom: 8px; }
.language-field { display: flex; align-items: center; justify-content: flex-end; gap: 8px; }
.language-field .field-label { margin: 0; }
.workspace { position: relative; display: grid; grid-template-columns: var(--sidebar) minmax(0, 1fr); flex: 1; min-height: 0; }
.sidebar { background: var(--panel); border-right: 1px solid var(--line); display: flex; flex-direction: column; overflow: hidden; }
.sidebar-top { padding: 20px 22px 16px; flex-shrink: 0; }
.eyebrow { margin: 0 0 14px; font-size: 10px; letter-spacing: 1.8px; font-weight: 750; color: #435b70; line-height: 1.5; }
.field-label { display: block; font-size: 11px; color: #445d73; margin-bottom: 7px; }
button:disabled, input:disabled { opacity: .5; cursor: default; }
select { appearance: none; width: 100%; color: #2d4258; font-size: 12px; font-weight: 600; border: 1px solid #c5d5e2; border-radius: 6px; padding: 11px 28px 11px 11px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12'%3E%3Cpath d='m3 4 3 3 3-3' stroke='%23465f75' fill='none'/%3E%3C/svg%3E") no-repeat right 10px center; cursor: pointer; }
.languages { display: flex; gap: 3px; flex-wrap: wrap; }
.language { border: 1px solid transparent; color: #455d72; background: none; border-radius: 4px; padding: 7px 9px; font-size: 10px; font-weight: 700; }
.language.active { color: var(--accent); background: var(--accent-soft); border-color: #ccdfed; }
.search-box { display: flex; align-items: center; gap: 9px; background: white; border: 1px solid #cbd9e5; border-radius: 6px; padding: 8px 10px; margin: 0; }
.search-box > span { font-size: 23px; line-height: 20px; color: #516b82; }
.search-box input { width: 100%; min-width: 0; font-size: 12px; border: 0; outline: 0; background: transparent; color: #26394d; }
.search-box input::placeholder { color: #596e83; }
.search-box:focus-within { border-color: #648fb0; box-shadow: 0 0 0 3px #19487418; }
.search-box kbd { color: #52677d; border: 1px solid #d8e3eb; padding: 1px 5px; border-radius: 3px; font: 10px monospace; }
.navigation-heading { padding: 6px 20px 10px 24px; display: flex; align-items: center; justify-content: space-between; flex-shrink: 0; }
.navigation-heading .eyebrow { margin: 0; }
.icon-button { border: 0; background: transparent; color: #435b70; font-size: 19px; border-radius: 4px; padding: 3px 6px; }
.icon-button:hover { background: #e4edf5; color: var(--accent); }
.tree { overflow: auto; flex: 1; min-height: 0; padding: 0 12px 20px; scrollbar-width: thin; scrollbar-color: #bdcfde transparent; }
summary { list-style: none; cursor: pointer; }
summary::-webkit-details-marker { display: none; }
.app-node { margin: 3px 0; }
.app-summary { display: flex; gap: 10px; align-items: center; padding: 10px 10px; border-radius: 6px; color: #3d5368; user-select: none; }
.app-summary:hover { background: #e9f1f8; }
.app-symbol { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; width: 24px; height: 24px; border: 1px solid #cbdce9; background: white; font-size: 8px; letter-spacing: .5px; color: #435d74; border-radius: 5px; font-weight: 750; }
.app-title { font-size: 12px; font-weight: 650; flex: 1; }
.app-summary > .chevron { font-size: 20px; }
.app-node[open] > .app-summary { color: var(--accent); }
.app-node[open] > .app-summary .app-symbol { background: #e9f2fa; color: var(--accent); border-color: #c9deed; }
.chevron { display: inline-block; color: #52677d; transition: transform .13s; font-size: 17px; line-height: 16px; width: 10px; flex-shrink: 0; }
details[open] > summary > .chevron { transform: rotate(90deg); }
.tree-list { list-style: none; margin: 1px 0 5px 21px; padding: 0 0 0 9px; border-left: 1px solid #cfdeea; }
.tree-list .tree-list { margin-left: 6px; }
.tree-item > .page-link { display: block; padding: 7px 10px; }
.page-link { font-size: 11.5px; color: #41596e; line-height: 1.5; border-radius: 4px; overflow-wrap: anywhere; }
.page-link:hover { color: #173e60; background: #e9f1f8; }
.page-link.selected { color: var(--accent); background: var(--accent-soft); font-weight: 650; box-shadow: inset 2px 0 0 var(--accent); }
.page-link.unavailable { opacity: .6; }
.tree-branch > summary { display: flex; align-items: baseline; gap: 4px; padding: 7px 6px 7px 1px; border-radius: 4px; }
.tree-branch > summary:has(.selected) { background: var(--accent-soft); }
.tree-branch > summary .page-link { flex: 1; }
.tree-branch > summary .page-link.selected { box-shadow: none; }
.folder-title { font-size: 11.5px; color: #344d64; font-weight: 550; line-height: 1.5; }
.main { min-width: 0; display: flex; flex-direction: column; overflow: hidden; background: white; }
.document-toolbar { height: 59px; min-height: 59px; display: flex; gap: 20px; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); padding: 0 30px; }
.toolbar-left { min-width: 0; display: flex; gap: 12px; align-items: center; }
#breadcrumbs { display: flex; gap: 11px; align-items: center; min-width: 0; color: #526980; font-size: 10.5px; white-space: nowrap; overflow: hidden; }
#breadcrumbs strong { font-weight: 500; color: #2e455a; text-overflow: ellipsis; overflow: hidden; }
.crumb-separator { color: #7890a3; }
.toolbar-actions { display: flex; gap: 16px; flex-shrink: 0; }
.text-button { background: transparent; border: 0; color: #455f76; padding: 4px 0; font-size: 13px; display: inline-flex; align-items: center; gap: 6px; }
.text-button span { font-size: 10px; }
.text-button:hover { color: var(--accent); }
.mobile-menu { display: none; }
.reading-layout { display: grid; grid-template-columns: minmax(0, 1fr) 205px; min-height: 0; flex: 1; }
.document-panel { min-width: 0; min-height: 0; display: flex; flex-direction: column; padding: 30px 36px 0; }
.page-meta { display: flex; gap: 12px; align-items: center; justify-content: space-between; padding-bottom: 15px; }
.section-tag { display: inline-block; font-size: 9px; font-weight: 700; letter-spacing: .9px; text-transform: uppercase; color: var(--accent); background: var(--accent-soft); padding: 5px 8px; border-radius: 3px; }
.meta-language { font-size: 8px; letter-spacing: 1px; color: #52677d; }
#document { display: block; border: 0; width: 100%; flex: 1; min-height: 150px; background: white; }
.document-footer { display: flex; justify-content: space-between; gap: 10px; border-top: 1px solid var(--line); color: #51677c; font-size: 9px; padding: 17px 0; }
.on-this-page { border-left: 1px solid var(--line); padding: 35px 22px; overflow: auto; }
.on-this-page .eyebrow { font-size: 8px; letter-spacing: 1.3px; margin-bottom: 15px; }
.toc-link { display: block; color: #486177; font-size: 10.5px; line-height: 1.65; padding: 5px 0 5px 10px; border-left: 1px solid #ceddea; }
.toc-link.level-3 { font-size: 10px; padding-left: 18px; }
.toc-link:hover, .toc-link.active { color: var(--accent); border-left-color: var(--accent); }
.status { padding: 9px 30px; font-size: 12px; background: #f4f6f8; border-bottom: 1px solid var(--line); color: #405a70; }
.status.error { background: #fff3f1; color: #982e2d; }
.selection-notice { padding: 10px 30px; color: #334f69; background: #f0f5fa; font-size: 12px; line-height: 1.5; border-bottom: 1px solid #e0e9f2; }
.empty-state { margin: auto; text-align: center; padding: 50px 30px; max-width: 600px; }
.empty-state .eyebrow { margin-top: 22px; }
.empty-state h1 { font-size: 30px; font-weight: 650; letter-spacing: -.6px; }
.empty-state #empty-message { color: #425a70; line-height: 1.8; overflow-wrap: anywhere; }
.version-options { margin-top: 24px; }
.version-options:empty { display: none; }
.version-options p { color: #425a70; font-size: 12px; }
.version-choice, .start-button { display: inline-block; border: 1px solid #c5d7e5; border-radius: 6px; padding: 10px 16px; margin: 4px; background: #fff; color: var(--accent); font-size: 13px; font-weight: 600; }
.version-choice:hover, .start-button:hover { background: #f0f5fa; border-color: #99afc3; }
.start-button { margin-top: 15px; }
.empty-icon { font-size: 50px; color: #adc2d4; }
.muted { color: #52677d; font-size: 11px; line-height: 1.7; }
.search-results { padding: 40px 50px; overflow-y: auto; }
.search-results h1 { font-size: 29px; font-weight: 600; margin: 0 0 10px; }
.search-count { color: #52677d; font-size: 12px; margin-bottom: 28px; }
.search-result { display: block; padding: 21px 38px 21px 0; border-top: 1px solid var(--line); position: relative; max-width: 900px; }
.search-result h2 { margin: 0 0 8px; color: var(--accent); font-size: 17px; font-weight: 600; }
.search-result p { font-size: 12px; line-height: 1.8; color: #435d72; margin: 0; }
.search-result:hover h2 { text-decoration: underline; }
.result-arrow { position: absolute; right: 5px; top: 23px; color: #586f84; }
.toast { position: fixed; bottom: 25px; left: 50%; transform: translateX(-50%); background: #213b53; color: white; padding: 11px 22px; border-radius: 7px; font-size: 12px; box-shadow: 0 5px 20px #0002; }
.noscript { padding: 30px; background: #fff3e9; }
@media (min-width: 1700px) { :root { --sidebar: 326px; } .document-panel { padding-left: 60px; padding-right: 60px; } .reading-layout { grid-template-columns: minmax(0, 1fr) 240px; } }
@media (max-width: 1320px) {
    .brand-name { font-size: 16px; }
    .brand-divider, .brand-subtitle { display: none; }
}
@media (max-width: 1160px) {
    /* On smaller viewports, controls remain inside the header but move below the brand. */
    .topbar { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "brand languages" "selectors selectors"; gap: 6px 20px; padding: 9px 22px 12px; }
    .brand { grid-area: brand; }
    .help-selection { grid-area: selectors; grid-template-columns: minmax(135px, 180px) minmax(0, 1fr); }
    .topbar-right { grid-area: languages; }
    .reading-layout { grid-template-columns: minmax(0, 1fr); }
    .on-this-page { display: none; }
    .toolbar-actions { gap: 13px; }
    .toolbar-actions span { display: none; }
    .document-panel { padding-left: 28px; padding-right: 28px; }
}
@media (max-width: 760px) {
    /* Mobile: Brand, language selection, then product version and manual. */
    .topbar { padding: 8px 16px 10px; grid-template-columns: minmax(0, 1fr); grid-template-areas: "brand" "languages" "selectors"; gap: 8px; }
    .topbar-right { justify-content: flex-end; }
    .help-selection { width: 100%; }
    .brand { gap: 9px; }
    .brand-logo { width: 34px; height: 34px; }
    .brand-copy { display: block; }
    .brand-name { display: block; font-size: 13px; max-width: 220px; line-height: 1.25; }
    .brand-divider { display: none; }
    .brand-subtitle { display: block; font-size: 10px; margin-top: 2px; }
    .help-selection { grid-template-columns: minmax(104px, .75fr) minmax(0, 1.25fr); gap: 10px; }
    .selection-field .field-label { margin-bottom: 4px; }
    .selection-field select { padding-top: 8px; padding-bottom: 8px; }
    .language-field { gap: 5px; }
    .language-field .field-label { display: none; }
    .language { padding: 6px; }
    .workspace { display: block; }
    .sidebar { position: absolute; width: min(86vw, 320px); top: 0; bottom: 0; left: 0; z-index: 20; transform: translateX(-100%); transition: transform .18s; box-shadow: 10px 0 30px #0001; }
    .sidebar.mobile-open { transform: translateX(0); }
    .main { height: 100%; }
    .mobile-menu { display: inline-block; }
    .document-toolbar { padding: 0 16px; height: 53px; min-height: 53px; gap: 12px; }
    #breadcrumbs > span:first-child, #breadcrumbs > .crumb-separator:nth-child(2) { display: none; }
    #breadcrumbs { font-size: 10px; gap: 7px; }
    .toolbar-actions { gap: 13px; }
    .document-panel { padding: 20px 17px 0; }
    .meta-language { font-size: 7px; letter-spacing: .6px; }
    .document-footer { font-size: 8px; }
    .search-results { padding: 30px 22px; }
}
