/* Shared panel surfaces and original Klinora identity. */
.fi-body { background-color: #eaf0f5; }
.dark .fi-body { background-color: #101c2a; }
.fi-sidebar { background-color: #f7f9fc; border-inline-end: 1px solid #d7e0ea; }
.dark .fi-sidebar { background-color: #142232; border-inline-end-color: #2b3e53; }
.kbr-brand { display: inline-flex; align-items: center; gap: 10px; height: 40px; color: #172b40; text-align: left; }
.kbr-brand img { flex: 0 0 36px; width: 36px; height: 36px; }
.kbr-wordmark { display: block; font-size: 25px; font-weight: 800; letter-spacing: -.055em; line-height: 1; }
.kbr-wordmark small { display: block; margin-top: 5px; color: #53677d; font-size: 10px; font-weight: 600; letter-spacing: .065em; text-transform: uppercase; }
.dark .kbr-brand { color: #edf4fa; }
.dark .kbr-wordmark small { color: #b0c2d4; }
.klr-help-details { min-width: 0; border: 1px solid var(--klr-line); border-radius: 12px; background: var(--klr-surface); }
.klr-help-details > summary { cursor: pointer; padding: 16px 20px; color: var(--klr-ink); font-size: 13px; font-weight: 650; line-height: 1.55; }
.klr-help-details > summary::marker { color: var(--klr-teal); }
.klr-help-details[open] > summary { border-bottom: 1px solid var(--klr-line); }
.klr-help-body { padding: 18px 20px; }
.klr-help-details + .klr-section { margin-top: 24px; }
.klr-help-body > :first-child { margin-top: 0; }
.klr-help-body > :last-child { margin-bottom: 0; }
.klr-help-details > summary:focus-visible { outline: 3px solid var(--klr-teal); outline-offset: 3px; }
.klr-pagination { border-top: 1px solid var(--klr-line); padding-top: 16px; }
@media (max-width: 600px) {
    .klr-help-details > summary { padding: 14px 16px; }
    .klr-help-body { padding: 16px; }
}

.kbr-mobile-brand { display: none; }
@media (max-width: 1023px) {
    .kbr-mobile-brand { display: flex; align-items: center; gap: 8px; width: 100%; color: var(--klr-ink); font-size: 16px; letter-spacing: -.035em; }
    .kbr-mobile-brand img { width: 24px; height: 24px; }
}


/* Consistent orientation and readable controls across operator pages. */
.kbr-workspace-nav { display:flex; flex-wrap:wrap; gap:6px; padding:6px; margin:4px 0 12px; border:1px solid var(--klr-line); border-radius:12px; background:var(--klr-surface); }
.kbr-workspace-nav a { display:flex; align-items:center; min-height:42px; padding:10px 16px; border-radius:8px; color:var(--klr-muted); font-size:13px; font-weight:600; }
.kbr-workspace-nav a:hover { background:var(--klr-soft); color:var(--klr-ink); }
.kbr-workspace-nav a[aria-current] { background:var(--klr-soft); color:var(--klr-teal); box-shadow:inset 0 -3px 0 var(--klr-teal); }
.klr-section-nav { display:flex; flex-wrap:wrap; gap:8px; margin:8px 0 22px; }
.klr-section-nav a { display:inline-flex; align-items:center; min-height:40px; padding:8px 14px; border:1px solid var(--klr-line); border-radius:9px; background:var(--klr-surface); color:var(--klr-ink); font-size:13px; }
.klr-section-nav a:hover { border-color:var(--klr-teal); color:var(--klr-teal); }
.klr :is(a, button, summary):focus-visible { outline:3px solid var(--klr-teal); outline-offset:3px; }
.klr .klr-button { min-height:42px; line-height:1.5; }
.klr .klr-text-link { line-height:1.6; text-underline-offset:3px; }
.klr .klr-text-link:hover { text-decoration:underline; }
.klr .klr-panel, .klr .khi-target, .klr .kwa-customer-card { min-width:0; }
.klr .klr-section-heading { gap:16px; }
.klr .klr-section-heading p, .klr .khi-purpose { line-height:1.65; }
.klr .khi-service-strip li { min-width:0; }
.klr .khi-target-heading h4, .klr .khi-heading h2 { overflow-wrap:anywhere; }
.klr .kwa-row-list > div { padding-block:16px; }
.klr :is(#release-versions, #release-environments, #release-history, #release-activity, #github-repositories) { scroll-margin-top:6rem; }
@media(max-width:650px) {
    .kbr-workspace-nav { gap:4px; }
    .kbr-workspace-nav a { flex:1 1 auto; justify-content:center; padding:10px; font-size:12px; }
    .klr-section-nav { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); }
    .klr-section-nav a { padding:10px; }
    .klr .klr-section-heading { align-items:flex-start; flex-wrap:wrap; }
    .klr .klr-help-details > summary { min-height:44px; }
    .klr .khi-customer-link { display:grid; grid-template-columns:24px minmax(0,1fr); align-items:start; gap:12px; }
    .klr .khi-customer-link > a { grid-column:2; justify-self:start; margin-left:0; min-height:40px; display:inline-flex; align-items:center; }
    .klr .khi-customer-link p { font-size:13px; line-height:1.6; }
}
@media(prefers-reduced-motion:reduce) {
    .klr *, .klr *::before, .klr *::after { scroll-behavior:auto !important; animation-duration:.01ms !important; transition-duration:.01ms !important; }
}

/* Customer context and dossier tabs share the existing panel vocabulary. */
.kwa-customer-context { margin-bottom: 18px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; }
.klr-section-nav a[aria-current="page"] { border-color: var(--klr-teal); color: var(--klr-teal); background: var(--klr-soft); font-weight: 700; }
@media (max-width: 600px) { .kwa-customer-context nav { width: 100%; gap: 12px; } }
