/* Koravik documentation layout. Compose the canonical V1 tokens and component patterns. */
.site-header--documentation{background:var(--k-navy);border-bottom:1px solid var(--k-navy-raised)}
.site-header--documentation .site-header__inner{width:min(calc(100% - 2 * var(--k-space-6)),var(--k-content-max));min-height:68px}
.site-header--documentation .brand{display:inline-flex;align-items:center;color:var(--k-surface);min-height:var(--k-touch)}
.site-header--documentation .brand__logo{display:block;width:278px;height:66px;max-width:45vw;object-fit:contain;object-position:left center}
.site-header--documentation .brand:focus-visible{outline:3px solid var(--k-gold-light);outline-offset:3px}
@media(max-width:640px){.site-header--documentation .site-header__inner{width:min(calc(100% - 2 * var(--k-space-4)),var(--k-content-max));min-height:64px}.site-header--documentation .brand__logo{width:188px;height:48px;max-width:60vw}}

.page--documentation{width:min(calc(100% - 2 * var(--k-space-6)),var(--k-content-max));padding-block:var(--k-space-8)}
.kor-help{display:grid;grid-template-columns:var(--k-sidebar) minmax(0,1fr);grid-template-areas:"search search" "nav content";gap:var(--k-space-6);width:100%;min-width:0;color:var(--k-text);line-height:1.6}
.kor-help *{box-sizing:border-box}
.kor-help a{color:var(--k-navy);text-underline-offset:4px}
.kor-help :focus-visible,.kor-help__skip:focus-visible{outline:3px solid var(--k-focus);outline-offset:3px}
.kor-help__skip{position:absolute;left:-10000px;top:auto}
.kor-help__skip:focus{position:static;display:inline-block;padding:var(--k-space-3)}
.kor-help .sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
.kor-help__search{grid-area:search;margin:0;padding:var(--k-space-6);background:var(--k-surface);border:1px solid var(--k-border);border-radius:var(--k-radius);display:grid;gap:var(--k-space-2)}
.kor-help__search>label{font-size:var(--k-text-base);font-weight:650}
.kor-help__search>div{display:grid;grid-template-columns:minmax(0,1fr) minmax(12rem,17rem) auto;gap:var(--k-space-3);align-items:center}
.kor-help__search input,.kor-help__search select{width:100%;min-width:0;min-height:var(--k-touch);color:var(--k-text);background:var(--k-surface);border:1px solid var(--k-control-border);border-radius:var(--k-radius-sm);padding:var(--k-space-2) var(--k-space-3);font:inherit}
.kor-help__search input::placeholder{color:var(--k-secondary);opacity:1}
.kor-help__search button{min-height:var(--k-touch);padding:var(--k-space-2) var(--k-space-5);border:1px solid var(--k-navy);border-radius:var(--k-radius-sm);background:var(--k-navy);color:var(--k-surface);font:inherit;font-weight:600;cursor:pointer}
.kor-help__search button:hover{background:var(--k-navy-raised)}
.kor-help__sidebar{grid-area:nav;min-width:0;align-self:start;padding:var(--k-space-3) 0}
.kor-help__sidebar nav{position:sticky;top:var(--k-space-6)}
.kor-help__sidebar h2,.kor-help__mobile-nav h2{font-size:var(--k-text-sm);font-weight:650;margin:var(--k-space-6) 0 var(--k-space-2);color:var(--k-secondary)}
.kor-help__sidebar h2:first-child{font-size:var(--k-section);color:var(--k-text);margin:0 0 var(--k-space-3)}
.kor-help__sidebar a,.kor-help__mobile-nav nav>a{display:flex;align-items:center;min-height:var(--k-touch);padding:var(--k-space-2) var(--k-space-3);border-radius:var(--k-radius-sm);font-size:var(--k-text-base);line-height:1.45;text-decoration:none}
.kor-help__sidebar a:hover,.kor-help__mobile-nav a:hover{background:var(--k-surface-subtle);text-decoration:underline}
.kor-help__sidebar a[aria-current],.kor-help__mobile-nav a[aria-current]{background:var(--k-navy);color:var(--k-surface);font-weight:650}
.kor-help__sheet{grid-area:content;min-width:0;min-height:35rem;padding:clamp(var(--k-space-6),3vw,var(--k-space-8));background:var(--k-surface);border:1px solid var(--k-border);border-radius:var(--k-radius);align-self:start}
.kor-help__mobile-nav{display:none}
.kor-help__breadcrumb{display:flex;flex-wrap:wrap;align-items:center;gap:var(--k-space-2);font-size:var(--k-text-sm);color:var(--k-secondary);margin:0 0 var(--k-space-6)}
.kor-help__header{padding-bottom:var(--k-space-6);border-bottom:1px solid var(--k-border);margin-bottom:var(--k-space-6)}
.kor-help__eyebrow{font-size:var(--k-text-xs)!important;font-weight:700;letter-spacing:.1em;color:var(--k-gold)!important;margin:0 0 var(--k-space-2)!important}
.kor-help__header h1{font-size:var(--k-title);font-weight:650;line-height:1.2;letter-spacing:-.02em;margin:0 0 var(--k-space-3)}
.kor-help__header>p{font-size:var(--k-text-lg);color:var(--k-secondary);max-width:70ch;margin:0}
.kor-help__header .kor-help__meta{font-size:var(--k-text-sm);margin-top:var(--k-space-3)}
.kor-help__sheet p,.kor-help__sheet li{max-width:75ch;overflow-wrap:anywhere}
.kor-help__sheet h2{font-size:var(--k-section);font-weight:650;line-height:1.35;margin:0 0 var(--k-space-3)}
.kor-help__sheet h3{font-size:var(--k-text-lg);font-weight:650;line-height:1.4;margin:0 0 var(--k-space-2)}
.kor-help__sheet ul{padding-left:var(--k-space-6)}
.kor-help__sheet li+li{margin-top:var(--k-space-2)}
.kor-help__section{margin-top:var(--k-space-8);scroll-margin-top:var(--k-space-6)}
.kor-help__notice{padding:var(--k-space-5);border:1px solid var(--k-border);border-radius:var(--k-radius-sm);background:var(--k-surface-subtle);font-size:var(--k-text-base)}
.kor-help__notice p:last-child{margin-bottom:0}
.kor-help__footnote{font-size:var(--k-text-sm);color:var(--k-secondary)}
/* Landing choices follow the shared collection/card model, not bespoke hero artwork. */
.kor-help__collections{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--k-space-4);margin-bottom:var(--k-space-8)}
.kor-help__collection{display:flex;flex-direction:column;align-items:start;gap:var(--k-space-3);min-width:0;min-height:15rem;padding:var(--k-space-5);border:1px solid var(--k-border);border-radius:var(--k-radius);background:var(--k-surface);text-decoration:none!important}
.kor-help__collection:hover{background:var(--k-surface-subtle);border-color:var(--k-control-border)}
.kor-help__collection-label{font-size:var(--k-text-xs);font-weight:650;letter-spacing:.07em;color:var(--k-secondary)}
.kor-help__collection strong{font-size:var(--k-section);line-height:1.35;color:var(--k-text);font-weight:650}
.kor-help__collection-description{font-size:var(--k-text-base);line-height:1.5;color:var(--k-secondary)}
.kor-help__collection-action{font-size:var(--k-text-sm);font-weight:650;color:var(--k-navy);margin-top:auto}
.kor-help__guide-list{min-width:0}
.kor-help__guide-list article{padding:var(--k-space-5) 0;border-bottom:1px solid var(--k-border)}
.kor-help__guide-list article:first-of-type{border-top:1px solid var(--k-border)}
.kor-help__guide-list article p{margin:var(--k-space-2) 0;font-size:var(--k-text-base);color:var(--k-secondary)}
.kor-help__guide-list article>span{font-size:var(--k-text-sm);color:var(--k-secondary)}
.kor-help__guide-list article h3>a{text-decoration:none}
.kor-help__guide-list article h3>a:hover{text-decoration:underline}
.kor-help__contents{margin:var(--k-space-6) 0;padding:var(--k-space-3) var(--k-space-4);background:var(--k-surface-subtle);border-radius:var(--k-radius-sm)}
.kor-help summary{cursor:pointer;min-height:var(--k-touch);padding:var(--k-space-2) 0;font-weight:650;line-height:1.5}
.kor-help__contents nav>a{display:block;min-height:var(--k-touch);padding:var(--k-space-2) 0}
.kor-help__steps{padding-left:var(--k-space-6);margin:var(--k-space-5) 0 0}
.kor-help__steps>li{padding:0 0 var(--k-space-6) var(--k-space-2)}
.kor-help__steps p{margin:var(--k-space-2) 0}
.kor-help__progress{display:flex;justify-content:space-between;align-items:center;gap:var(--k-space-4);flex-wrap:wrap;font-size:var(--k-text-sm);padding-top:var(--k-space-2)}
.kor-help__progress button{border:0;background:transparent;color:var(--k-navy);text-decoration:underline;min-height:var(--k-touch);cursor:pointer}
.kor-help__done{display:flex;align-items:center;gap:var(--k-space-2);font-size:var(--k-text-sm);min-height:var(--k-touch);width:fit-content;cursor:pointer}
.kor-help__done input{width:20px;height:20px;margin:0;accent-color:var(--k-navy)}
.kor-help__screen-link{display:inline-flex;align-items:center;min-height:var(--k-touch);font-weight:650}
.kor-help__table{width:100%;max-width:100%;overflow-x:auto;margin:var(--k-space-5) 0;border:1px solid var(--k-border);border-radius:var(--k-radius-sm)}
.kor-help table{width:100%;border-collapse:collapse;font-size:var(--k-text-sm);text-align:left}
.kor-help th{padding:var(--k-space-3);font-weight:650;color:var(--k-secondary);background:var(--k-surface-subtle);font-size:var(--k-text-sm);text-align:left}
.kor-help td{padding:var(--k-space-3);border-top:1px solid var(--k-border);vertical-align:top;min-width:9rem;overflow-wrap:anywhere}
.kor-help td small{display:block;font-size:var(--k-text-xs);color:var(--k-secondary);margin-top:var(--k-space-1)}
.kor-help__reference,.kor-help__question{border-bottom:1px solid var(--k-border);padding:var(--k-space-2) 0}
.kor-help__reference>p{font-size:var(--k-text-sm)}
.kor-help__question>p{margin:var(--k-space-1) 0 var(--k-space-4)}
.kor-help__question>a{display:inline-flex;align-items:center;min-height:var(--k-touch);margin-bottom:var(--k-space-3);font-size:var(--k-text-sm)}
.kor-help__chapter-nav{display:flex;flex-wrap:wrap;justify-content:space-between;gap:var(--k-space-4);margin:var(--k-space-8) 0;font-size:var(--k-text-sm)}
.kor-help__chapter-nav a{max-width:30ch;min-height:var(--k-touch)}
.kor-help__footer{margin-top:var(--k-space-8);padding-top:var(--k-space-5);border-top:1px solid var(--k-border);font-size:var(--k-text-sm);color:var(--k-secondary)}
.kor-help__footer>a{display:inline-flex;align-items:center;min-height:var(--k-touch);margin-right:var(--k-space-6)}
.kor-help__footer p{margin-bottom:0}
@media(max-width:1100px){.kor-help__collections{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:900px){.page--documentation{width:min(calc(100% - 2 * var(--k-space-4)),var(--k-content-max))}.kor-help{grid-template-columns:minmax(0,1fr);grid-template-areas:"search" "content";gap:var(--k-space-4)}.kor-help__sidebar{display:none}.kor-help__mobile-nav{display:block;margin-bottom:var(--k-space-6);background:var(--k-surface-subtle);padding:var(--k-space-2) var(--k-space-4);border-radius:var(--k-radius-sm)}.kor-help__mobile-nav nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 var(--k-space-3)}.kor-help__mobile-nav nav h2{grid-column:1/-1}}
@media(max-width:640px){.kor-help__sheet{padding:var(--k-space-5)}.kor-help__search{padding:var(--k-space-4)}.kor-help__search>div{grid-template-columns:minmax(0,1fr) auto}.kor-help__search input{grid-column:1/-1}.kor-help__search select{min-width:0}.kor-help__collections{grid-template-columns:minmax(0,1fr)}.kor-help__collection{min-height:0;gap:var(--k-space-2)}.kor-help__mobile-nav nav{grid-template-columns:minmax(0,1fr)}.kor-help__header h1{font-size:26px}.kor-help__section{margin-top:var(--k-space-6)}.kor-help__chapter-nav{display:grid;gap:var(--k-space-3)}.kor-help__chapter-nav a{max-width:none}}
@media(max-width:380px){.kor-help__search>div{grid-template-columns:minmax(0,1fr)}.kor-help__search input{grid-column:auto}.kor-help__search button{width:100%}}
@media print{.page--documentation{width:100%;padding:0}.site-header,.kor-help__sidebar,.kor-help__search,.kor-help__mobile-nav,.kor-help__progress,.kor-help__done,.kor-help__contents,.kor-help__footer{display:none}.kor-help{display:block}.kor-help__sheet{padding:0;border:0}.kor-help__reference{display:block}.kor-help a{color:inherit}}


/* Guided Help and lightweight per-article feedback. */
.kor-help-assist{color:var(--k-ink,#213642)}
.kor-help-assist>nav{margin-bottom:1.4rem;font-size:.9rem}
.kor-help-assist>h1{margin-bottom:.6rem}
.kor-help-assist>p{max-width:68ch;line-height:1.65}
.kor-help-assist .kor-help__guide-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));gap:1rem}
.kor-help-assist .kor-help__guide-list article{margin:0;min-height:95px;display:flex;align-items:center}
.kor-help-assist .kor-help__steps{margin-top:1rem}
#article-feedback fieldset{margin:1rem 0;border:1px solid #d3dee4;padding:1rem;border-radius:8px}
#article-feedback fieldset label{display:block;margin:.55rem 0;line-height:1.4}
#article-feedback textarea{display:block;width:100%;max-width:620px;margin:.6rem 0 1rem;padding:.7rem;border:1px solid #b9cad4;border-radius:6px}
#article-feedback button{padding:.6rem 1rem;cursor:pointer}
#article-feedback input:focus-visible,#article-feedback textarea:focus-visible,#article-feedback button:focus-visible{outline:3px solid #bf9048;outline-offset:2px}
@media print{#article-feedback{display:none}}
