/* Konsaro family documentation: quiet surfaces, compact navigation, readable articles. */
.docs-page { background: #fff; --docs-ink: #17191f; --docs-muted: #626872; --docs-line: #e4e6e9; --docs-soft: #f4f5f6; color: var(--docs-ink); }
.docs-header { position: sticky; top: 0; z-index: 110; background: #fff; border-bottom: 1px solid var(--docs-line); }
.docs-topbar { min-height: 56px; padding: 8px 24px; display: grid; grid-template-columns: 240px minmax(180px,448px) 1fr; align-items: center; gap: 24px; border-bottom: 1px solid var(--docs-line); }
.docs-topbar .family-brand img { width: 136px; }
.docs-search-trigger { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 36px; border: 1px solid var(--docs-line); background: var(--docs-soft); color: var(--docs-muted); border-radius: 24px; padding: 6px 14px; font: 400 .8rem var(--font); cursor: pointer; }
.docs-search-trigger svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.docs-search-trigger kbd { margin-left: auto; background: #fff; border: 1px solid var(--docs-line); border-radius: 4px; padding: 2px 5px; font: 400 .65rem var(--font); }
.docs-header-actions { display: flex; gap: 20px; align-items: center; justify-content: flex-end; font-size: .8rem; white-space: nowrap; }
.docs-header-actions a { text-decoration: none; color: var(--docs-muted); }
.docs-header-actions .docs-login { background: #17191f; border-radius: 24px; color: #fff; padding: 10px 17px; }
.docs-tabs { display: flex; gap: 28px; height: 41px; padding-inline: 24px; font-size: .8rem; }
.docs-tabs a { display: inline-flex; align-items: center; text-decoration: none; color: var(--docs-muted); border-bottom: 2px solid transparent; }
.docs-tabs a[aria-current] { color: var(--docs-ink); border-color: var(--green); font-weight: 700; }
.docs-layout { display: grid; grid-template-columns: 264px minmax(0,1fr) 224px; max-width: 1600px; margin: auto; min-height: calc(100vh - 97px); }
.docs-sidebar { position: sticky; top: 97px; align-self: start; height: calc(100vh - 97px); overflow-y: auto; border-right: 1px solid var(--docs-line); padding: 22px 16px; }
.docs-sidebar > summary { display: none; }
.docs-sidebar > nav { display: block; }
.docs-group { margin-bottom: 15px; }
.docs-group summary { display: flex; align-items: center; gap: 8px; padding: 8px; list-style: none; font-size: .8rem; font-weight: 700; color: var(--docs-muted); cursor: pointer; }
.docs-group summary::-webkit-details-marker { display: none; }
.docs-group summary::after { content: '›'; margin-left: auto; font-size: 1rem; }
.docs-group[open] summary::after { transform: rotate(90deg); }
.docs-group summary svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.5; flex-shrink: 0; }
.docs-group ul { list-style: none; margin: 0; padding: 0 0 0 20px; }
.docs-group li a { display: block; padding: 9px 8px; color: var(--docs-muted); text-decoration: none; font-size: .8rem; line-height: 1.5; border-radius: 5px; }
.docs-group a:hover, .docs-group a[aria-current] { color: var(--green); background: #edf4f0; }
.docs-article { padding: 40px; min-width: 0; width: 100%; max-width: 872px; margin-inline: auto; font-size: .94rem; line-height: 1.8; color: var(--docs-muted); }
.docs-breadcrumb { display: flex; flex-wrap: wrap; gap: 6px 10px; margin-bottom: 16px; font-size: .8rem; line-height: 1.5; }
.docs-breadcrumb a { color: var(--docs-muted); text-decoration: none; }
.docs-article h1 { font: 400 2.5rem/1.1 var(--display); color: var(--docs-ink); letter-spacing: -.035em; }
.docs-article .docs-lead { margin: 18px 0 30px; font-size: 1.125rem; line-height: 1.65; }
.docs-article section { margin-top: 40px; scroll-margin-top: 125px; }
.docs-article h2 { font: 700 1.4rem/1.3 var(--font); color: var(--docs-ink); margin-bottom: 22px; letter-spacing: -.025em; }
.docs-article section > p { margin-block: 14px; }
.docs-article ol { padding-left: 24px; }
.docs-article ol li { padding-left: 5px; margin-block: 10px; }
.docs-link-list { border: 1px solid var(--docs-line); border-radius: 12px; overflow: hidden; padding: 0; list-style: none; margin: 0; }
.docs-link-list li+li { border-top: 1px solid var(--docs-line); }
.docs-link-list a { display: flex; align-items: flex-start; gap: 16px; padding: 17px 20px; text-decoration: none; color: var(--green); }
.docs-link-list a:hover { background: var(--docs-soft); }
.docs-link-list strong { font-size: .9rem; font-weight: 700; }
.docs-link-list p { margin: 2px 0 0; color: var(--docs-muted); font-size: .85rem; line-height: 1.6; }
.docs-toc { align-self: start; position: sticky; top: 97px; padding: 40px 20px; border-left: 1px solid var(--docs-line); max-height: calc(100vh - 97px); overflow-y: auto; font-size: .8rem; }
.docs-toc > p { font-size: .7rem; text-transform: uppercase; letter-spacing: .05em; margin: 0 0 14px; }
.docs-toc nav { border-left: 1px solid var(--docs-line); }
.docs-toc a { display: block; padding: 6px 10px; margin-left: -1px; color: var(--docs-muted); text-decoration: none; border-left: 1px solid transparent; }
.docs-toc a:hover, .docs-toc a[aria-current] { color: var(--green); border-left-color: var(--green); }
.docs-adjacent { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 48px; }
.docs-adjacent a { border: 1px solid var(--docs-line); border-radius: 8px; padding: 16px; text-decoration: none; }
.docs-adjacent a:last-child { text-align: right; }
.docs-adjacent small, .docs-adjacent strong { display: block; }
.docs-adjacent small { font-size: .75rem; color: var(--docs-muted); }
.docs-support-link { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--docs-line); font-size: .85rem; }
.docs-search-dialog { padding: 20px; width: min(640px,calc(100% - 32px)); max-height: 80vh; margin: 10vh auto auto; border: 1px solid var(--docs-line); border-radius: 14px; box-shadow: 0 16px 60px #17191f26; color: var(--docs-ink); background: white; }
.docs-search-dialog::backdrop { background: #17191f66; }
.docs-search-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.docs-search-heading h2 { font: 700 1.1rem var(--font); }
.docs-search-heading button { width: 36px; height: 36px; background: var(--docs-soft); border: 0; border-radius: 6px; cursor: pointer; font-size: 1.5rem; }
.docs-search-dialog input { width: 100%; min-height: 46px; padding: 10px 14px; border: 1px solid var(--docs-line); border-radius: 8px; font: 400 1rem var(--font); background: white; color: var(--docs-ink); }
.docs-search-results { padding: 0; list-style: none; margin: 12px 0; }
.docs-search-results li + li { border-top: 1px solid var(--docs-line); }
.docs-search-results a { display: grid; padding: 12px; text-decoration: none; border-radius: 6px; }
.docs-search-results a:hover { background: var(--docs-soft); }
.docs-search-results a:focus { background: #edf4f0; box-shadow: inset 3px 0 var(--green); outline: none; }
.docs-search-results small, .docs-search-results span, .docs-search-status, .docs-search-empty { color: var(--docs-muted); font-size: .8rem; }
.docs-search-results strong { margin: 3px 0; }
.docs-page :focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }
.legal-page { --docs-line: #e4e6e9; background: #fafbfc; color: #17191f; }
.legal-page .legal-hero { background: #f3f4f5; border-bottom: 1px solid #e4e6e9; padding: 64px 0; text-align: left; }
.legal-page .legal-hero h1, .legal-page .legal-hero p { margin-inline: 0; }
.legal-hero h1 { font-size: clamp(2.5rem,4.7vw,4rem); max-width: none; }
.legal-page .legal-hero p { font-size: .94rem; color: #626872; margin-top: 20px; }
.legal-layout { display: grid; grid-template-columns: 264px minmax(0,768px); gap: 52px; padding-top: 64px; padding-bottom: 96px; }
.legal-sidebar { position: sticky; top: 112px; align-self: start; font-size: .875rem; }
.legal-sidebar nav > div { margin-top: 28px; }
.legal-sidebar p { text-transform: uppercase; font-size: .75rem; font-weight: 700; letter-spacing: .05em; color: #626872; margin: 0 0 10px; }
.legal-sidebar ul { padding: 0; margin: 0; list-style: none; }
.legal-sidebar a { color: #626872; display: block; padding: 9px 0; text-decoration: none; }
.legal-sidebar a[aria-current], .legal-sidebar a:hover { color: var(--green); font-weight: 700; }
.legal-content { min-width: 0; font-size: .94rem; line-height: 1.8; }
.legal-content > .section { padding: 0; margin: 0 0 42px; }
.legal-content .container { max-width: none; padding: 0; margin: 0; }
.legal-content .section-head { margin-bottom: 24px; }
.legal-content .section-head h2, .legal-content .prose h2 { font: 700 1.5rem/1.3 var(--font); }
.legal-content .section-head p { font-size: .94rem; color: #626872; }
.legal-content .article-body { padding: 0; }
.legal-content .family-tiles { grid-template-columns: 1fr; gap: 0; border: 1px solid #e4e6e9; border-radius: 12px; overflow: hidden; background: white; }
.legal-content .family-tiles a { padding: 18px 24px; border: 0; border-radius: 0; box-shadow: none; background: white; }
.legal-content .family-tiles a+a { border-top: 1px solid #e4e6e9; }
.legal-content .family-tiles a:hover { background: #f3f4f5; }
@media (max-width: 1100px) {
  .docs-layout { grid-template-columns: 240px minmax(0,1fr); }
  .docs-toc { display: none; }
  .docs-topbar { grid-template-columns: 180px minmax(140px,1fr) auto; gap: 20px; }
  .docs-article { padding: 32px; }
  .legal-layout { grid-template-columns: 220px minmax(0,1fr); gap: 32px; }
}
@media (max-width: 760px) {
  .docs-topbar { grid-template-columns: 1fr auto; gap: 12px; padding: 12px 20px; }
  .docs-header-actions { gap: 12px; }
  .docs-contact { display: none; }
  .docs-search-trigger { grid-row: 2; grid-column: 1/-1; }
  .docs-tabs { padding-inline: 20px; }
  .docs-layout { display: block; }
  .docs-sidebar { position: static; height: auto; max-height: none; padding: 0 20px; border-right: 0; border-bottom: 1px solid var(--docs-line); }
  .docs-sidebar > summary { display: list-item; padding: 14px 0; cursor: pointer; font-size: .875rem; }
  .docs-sidebar:not([open]) > nav { display: none; }
  .docs-sidebar > nav { max-height: 55vh; overflow-y: auto; padding-bottom: 12px; }
  .docs-article { padding: 28px 20px 48px; }
  .docs-article h1 { font-size: 2.2rem; }
  .docs-article .docs-lead { font-size: 1.05rem; }
  .docs-article section { scroll-margin-top: 165px; }
  .docs-adjacent { gap: 10px; }
  .docs-adjacent a { padding: 12px; font-size: .85rem; }
  .legal-page .legal-hero { padding: 44px 0; }
  .legal-layout { display: block; padding-top: 28px; }
  .legal-sidebar { position: static; padding-bottom: 28px; border-bottom: 1px solid #e4e6e9; margin-bottom: 32px; }
  .legal-sidebar nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
  .legal-sidebar .legal-overview { grid-column: 1/-1; }
  .legal-sidebar nav > div { margin-top: 0; }
}

.legal-content .legal-updated { color: #626872; font-size: .82rem; margin: 0 0 1.75rem; }
.legal-section { max-width: 68ch; padding: 1.7rem 0; border-top: 1px solid var(--docs-line); }
.legal-section h2 { font: 700 clamp(1.25rem,2.1vw,1.55rem)/1.3 var(--font); margin: 0 0 .75rem; }
.legal-section p { margin: .65rem 0 0; }
.legal-section .legal-links { margin: 1rem 0 0; padding: 0; list-style: none; }
.legal-links li + li { margin-top: .4rem; }
.legal-links a { color: var(--green); text-decoration: underline; text-underline-offset: .21em; }
.legal-facts { margin: 1rem 0; }
.legal-facts > div { display: grid; grid-template-columns: minmax(9rem,1fr) minmax(0,1.65fr); gap: 1.25rem; border-bottom: 1px solid var(--docs-line); padding: .75rem 0; }
.legal-facts dt { font-weight: 700; }
.legal-facts dd { margin: 0; }
.legal-content { overflow-wrap: anywhere; }
@media (max-width: 760px) {
  .legal-layout { display: flex; flex-direction: column; gap: 1.5rem; }
  .legal-sidebar { order: 2; width: 100%; border-top: 1px solid var(--docs-line); padding-top: 1rem; }
  .legal-facts > div { grid-template-columns: 1fr; gap: .15rem; }
}
@media print {
  body:has(.legal-page) :is(.family-header,.family-footer,.legal-sidebar,.skip-link) { display: none; }
  .legal-page, .legal-page .legal-hero { background: white; }
  .legal-layout { display: block; padding-block: 1rem; }
  .legal-page .legal-hero { padding-block: 1rem; }
  .legal-section { max-width: none; padding-block: .65rem; }
  .legal-section h2 { break-after: avoid; }
  .legal-facts > div { break-inside: avoid; }
}

/* Trust and Help use the same documentation shell. */
.trust-page .docs-topbar { display: flex; height: 56px; gap: 16px; }
.trust-page .docs-search-trigger { width: min(36%,448px); margin-inline: auto; }
.trust-page .docs-login { border-radius: 24px; }
.trust-page .family-language a { display: inline-grid; place-items: center; min-width: 34px; min-height: 40px; }
.trust-layout .docs-toc { min-height: calc(100vh - 97px); }
.trust-layout .docs-toc a { line-height: 1.4; }
.trust-layout .docs-toc > p { font-size: .75rem; font-weight: 700; color: var(--docs-muted); }
.trust-page .docs-tabs { justify-content: flex-start; }
.trust-nav-toggle { display: none; }
.trust-layout .docs-article { max-width: none; }
.trust-layout .docs-article h1 { font-size: clamp(2rem,3vw,2.35rem); }
.trust-layout .docs-lead { max-width: 42rem; margin: 12px 0; font-size: 1.09rem; line-height: 1.6; }
.trust-updated { font-size: .8125rem; margin: 12px 0 32px; }
.trust-highlights { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 12px; list-style: none; padding: 0; margin: 0; }
.trust-highlights li { border: 1px solid var(--docs-line); border-radius: 16px; padding: 14px 16px; }
.trust-highlights strong { display: block; color: var(--docs-ink); font-size: 1.15rem; line-height: 1.35; }
.trust-highlights span { display: block; font-size: .8125rem; line-height: 1.5; margin-top: 4px; }
.trust-layout .docs-article h2 { font-size: 1.35rem; margin-bottom: 16px; }
.trust-layout h2 a { color: inherit; text-decoration: none; }
.trust-layout h2 a:hover { text-decoration: underline; }
.trust-facts, .trust-layout .legal-facts { margin: 0; }
.trust-facts > div, .trust-layout .legal-facts > div { display: grid; grid-template-columns: 12rem minmax(0,1fr); gap: 24px; padding-block: 16px; border-top: 1px solid var(--docs-line); border-bottom: 0; font-size: .97rem; line-height: 1.7; }
.trust-facts dt, .trust-layout .legal-facts dt { color: var(--docs-ink); font-weight: 700; }
.trust-facts dd { margin: 0; }
.trust-layout .docs-link-list svg { width: 16px; height: 16px; flex-shrink: 0; fill: none; stroke: currentColor; margin-top: 4px; }
.trust-contact { margin: 24px 0; padding: 16px; background: var(--docs-soft); border: 1px solid var(--docs-line); border-radius: 10px; }
.trust-contact strong { color: var(--docs-ink); }
.trust-contact p { margin: 4px 0 0; }
.trust-review { border-top: 1px solid var(--docs-line); margin: 40px 0 16px; padding-top: 32px; }
.trust-review p { margin-bottom: 20px; }
@media (min-width: 1024px) and (max-width: 1279px) {
  .trust-layout { grid-template-columns: 264px minmax(0,1fr); }
  .trust-layout .docs-toc { display: none; }
}
@media (min-width: 1024px) and (max-width: 1100px) {
  .trust-layout { grid-template-columns: 240px minmax(0,1fr); }
}
@media (max-width: 1023px) {
  .trust-layout { display: block; }
  .trust-layout .docs-sidebar { position: static; height: auto; padding: 0 20px; border: 0; }
  .trust-layout .docs-sidebar > summary { display: list-item; padding: 12px 0; cursor: pointer; }
  .trust-layout .docs-sidebar:not([open]) nav, .trust-layout .docs-toc { display: none; }
  .trust-page.has-trust-nav .trust-nav-toggle { display: inline-grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--docs-line); border-radius: 8px; background: #fff; color: var(--docs-ink); font-size: 1.15rem; cursor: pointer; }
  .has-trust-nav .trust-layout .docs-sidebar > summary { display: none; }
  .has-trust-nav .trust-layout .docs-sidebar[open] { position: fixed; z-index: 100; inset: 97px auto auto 0; width: min(20rem,100%); max-height: calc(100dvh - 97px); overflow: auto; background: white; padding: 16px; border: 1px solid var(--docs-line); box-shadow: 0 6px 16px #17191f14; }
  .trust-highlights { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 760px) {
  .trust-page .docs-topbar { gap: 10px; padding: 8px 16px; }
  .trust-layout .docs-article { padding: 32px 16px 48px; }
  .trust-page .docs-tabs { padding-inline: 16px; }
  .trust-page .family-brand img { width: 108px; }
  .trust-page .docs-search-trigger { margin: 0 0 0 auto; width: 40px; height: 40px; justify-content: center; padding: 0; background: white; border-radius: 8px; }
  .trust-page .docs-search-trigger span, .trust-page .docs-search-trigger kbd, .trust-page .docs-login { display: none; }
  .trust-layout .docs-article section { scroll-margin-top: 110px; }
}
@media (max-width: 639px) {
  .trust-highlights, .trust-facts > div, .trust-layout .legal-facts > div { grid-template-columns: minmax(0,1fr); }
  .trust-facts > div, .trust-layout .legal-facts > div { gap: 4px; }
}
