.kres-shell {
  --kres-panel: var(--surface, #fff);
  --kres-rule: var(--line, #d6dfdb);
  --kres-ink: var(--ink, #142e25);
  --kres-muted: var(--muted, #3d574b);
  max-width: 1280px;
  margin-inline: auto;
  padding: clamp(24px, 4vw, 54px) clamp(18px, 4vw, 46px) 64px;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--kres-ink);
}
[data-theme="dark"] .kres-shell,
[data-site-theme="night"] .kres-shell {
  --kres-panel: #162922;
  --kres-rule: #40574b;
  --kres-ink: #f3faf5;
  --kres-muted: #bfd0c7;
}
.kres-shell a:focus-visible, .kres-shell summary:focus-visible { outline: 3px solid #16845d; outline-offset: 4px; }
.kres-shell :is(h1,h2,h3,p,ul,figure) { margin: 0; }
.kres-shell h1 { font-size: clamp(2rem, 3.5vw, 3.5rem); line-height: 1.23; margin-block-end: 16px; overflow-wrap: anywhere; }
.kres-shell h2 { font-size: clamp(1.2rem, 2vw, 1.5rem); line-height: 1.45; margin-block-end: 10px; }
.kres-shell h3 { font-size: 1.08rem; line-height: 1.5; margin-block-end: 8px; }
.kres-shell p { color: var(--kres-muted); }
.kres-index-hero {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr);
  gap: clamp(20px, 4vw, 48px); align-items: center; padding-block: clamp(12px, 3vw, 36px);
}
.kres-page .rg-compact-start { display: none; }
.kres-index-hero .btn { margin-block-start: 20px; }
.kres-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-block: 28px 42px; }
.kres-nav a {
  display: inline-flex; align-items: center; min-height: 40px; padding-inline: 14px;
  border: 1px solid var(--kres-rule); border-radius: 6px; color: var(--kres-ink);
}
.kres-nav a:hover, .kres-text-link:hover, .kres-card a:hover { text-decoration: underline; }
.kres-group { margin-block: 36px; scroll-margin-block-start: 90px; }
.kres-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 275px), 1fr)); gap: 14px; }
.kres-card, .kres-aside > div { background: var(--kres-panel); border: 1px solid var(--kres-rule); border-radius: 10px; padding: 18px 20px; }
.kres-card p { font-size: .95rem; }
.kres-crumb { display: flex; flex-wrap: wrap; gap: .65rem; margin-block-end: 22px; font-size: .95rem; color: var(--kres-muted); }
.kres-crumb a, .kres-aside a, .kres-text-link { text-underline-offset: 3px; text-decoration: underline; }
.kres-article-hero {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); align-items: center;
  gap: clamp(20px, 4vw, 52px); padding-block-end: 36px; border-block-end: 1px solid var(--kres-rule);
}
.kres-article-hero > div > p { max-width: 62ch; font-size: 1.12rem; }
.kres-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 20px; margin-block-start: 22px; }
.kres-figure {
  padding: 14px; border: 1px solid var(--kres-rule); border-radius: 12px;
  background: var(--kres-panel); text-align: center; min-width: 0;
}
.kres-figure img { display: block; width: 100%; height: auto; max-height: 330px; object-fit: contain; margin-inline: auto; border-radius: 7px; }
.kres-figure figcaption { padding-block-start: 8px; color: var(--kres-muted); font-size: .9rem; }
.kres-body { display: grid; grid-template-columns: minmax(0, 68ch) minmax(0, 1fr); gap: clamp(20px, 4vw, 48px); margin-block-start: 34px; }
.kres-content > section { margin-block-end: 28px; }
.kres-aside { display: flex; flex-direction: column; gap: 16px; }
.kres-aside p { margin-block-end: 8px; }
.kres-aside ul { padding-inline-start: 20px; }
.kres-aside li { margin-block: 6px; }
.kres-faq { margin-block: 10px; padding: 11px 14px; border: 1px solid var(--kres-rule); border-radius: 8px; }
.kres-faq summary { cursor: pointer; font-weight: 600; }
.kres-faq p { padding-block-start: 10px; }
@media (max-width: 800px) {
  .kres-index-hero, .kres-article-hero, .kres-body { grid-template-columns: minmax(0, 1fr); }
  .kres-figure img { max-height: min(68vh, 400px); }
}
@media (max-width: 360px) {
  .kres-page .lh-act > .btn-brass { display: none; }
  .kres-page .rg-compact-start { display: inline-flex; }
}

/* ---------------------------------------------------------------- R14 (2026-11-25) */
/* The shared site header expects the light band tokens (like the guide's .rg-site-header). Without them its links were
   drawn in the dark-band colours, washed out on this light page. */
.kres-site-header { background: var(--date); position: relative; z-index: 12; }
html[data-site-theme]:not([data-site-theme="night"],[data-theme="dark"]) .kres-site-header {
  --date: var(--kt-band); --date-2: var(--kt-raise); --date-3: var(--kt-band-line);
  --on-date: var(--kt-on-band); --on-date-2: var(--kt-on-band-2);
  --gold-ink: var(--kt-gold-ink); --focus: var(--kt-on-band);
  border-block-end: 1px solid var(--kt-band-line);
}
.kres-page .kres-site-header .lh { border-block-end: 0; }
.kres-eyebrow { color: var(--brass, #8a6d33) !important; font-weight: 600; font-size: .95rem; margin-block-end: 10px !important; }
.kres-shell h1 { font-family: var(--f-display, inherit); font-weight: 700; letter-spacing: 0; }
.kres-lead { font-size: 1.14rem !important; line-height: 1.85; color: var(--kres-ink) !important; }
.kres-intro { font-size: 1.08rem; line-height: 1.95; color: var(--kres-ink) !important; margin-block-end: 26px !important; }
.kres-content > section { padding-block-start: 6px; }
.kres-content h2 { position: relative; padding-inline-start: 16px; }
.kres-content h2::before { content: ""; position: absolute; inset-inline-start: 0; inset-block: .32em; width: 4px; border-radius: 2px; background: var(--brass-hi, #c9a45c); }
.kres-content section > p { line-height: 1.95; }
.kres-points { margin: 12px 0 0; padding-inline-start: 22px; display: grid; gap: 6px; color: var(--kres-muted); }
.kres-points li::marker { color: var(--brass-hi, #c9a45c); }
.kres-steps { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 10px; counter-reset: kres-step; }
.kres-steps li { counter-increment: kres-step; display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 12px; align-items: start;
  padding: 12px 14px; background: var(--kres-panel); border: 1px solid var(--kres-rule); border-radius: 10px; color: var(--kres-ink); line-height: 1.75; }
.kres-steps li::before { content: counter(kres-step); display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%;
  background: var(--brass-wash, #f4ead6); color: var(--brass, #8a6d33); font-family: var(--f-mono, monospace); font-weight: 600; font-size: .95rem; }
.kres-example { background: var(--kres-panel); border: 1px solid var(--kres-rule); border-inline-start: 4px solid var(--brass-hi, #c9a45c); border-radius: 10px; padding: 18px 20px; }
.kres-example h2::before { display: none; }
.kres-example h2 { padding-inline-start: 0; }
.kres-faq { background: var(--kres-panel); transition: border-color .2s; }
.kres-faq[open] { border-color: var(--brass-hi, #c9a45c); }
.kres-faq summary { list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.kres-faq summary::-webkit-details-marker { display: none; }
.kres-faq summary::after { content: "+"; font-family: var(--f-mono, monospace); color: var(--brass, #8a6d33); font-weight: 600; }
.kres-faq[open] summary::after { content: "−"; }
.kres-cta { margin-block-start: 34px; padding: 26px clamp(18px, 3vw, 30px); border-radius: 14px; background: var(--date, #0b3a2e); color: var(--on-date, #fff);
  background-image: radial-gradient(120% 140% at 100% 0, rgba(214, 168, 92, .22), transparent 60%); }
.kres-cta h2 { color: inherit; padding-inline-start: 0; }
.kres-cta h2::before { display: none; }
.kres-cta p { color: var(--on-date-2, rgba(255,255,255,.8)) !important; }
.kres-cta .kres-actions { margin-block-start: 16px; }
.kres-cta .kp-wa-cta { margin: 0; }
html[data-site-theme]:not([data-site-theme="night"],[data-theme="dark"]) .kres-cta { --date: #0f3d30; --on-date: #f6f1e6; --on-date-2: #d8cfbd; }
.kres-guides { list-style: none; padding: 0 !important; margin: 0; display: grid; gap: 8px; }
.kres-guides li { margin: 0 !important; }
.kres-guides a { display: block; padding: 9px 12px; border-radius: 8px; background: var(--kres-panel); border: 1px solid var(--kres-rule); text-decoration: none !important; color: var(--kres-ink); line-height: 1.55; }
.kres-guides a:hover { border-color: var(--brass-hi, #c9a45c); }
.kres-aside { position: sticky; top: 76px; align-self: start; }
.kres-card { display: flex; flex-direction: column; gap: 6px; transition: border-color .2s, translate .25s ease, box-shadow .25s ease; position: relative; }
.kres-card h3 a { color: var(--kres-ink); text-decoration: none; }
.kres-card h3 a::after { content: ""; position: absolute; inset: 0; }
.kres-card:hover { border-color: var(--brass-hi, #c9a45c); translate: 0 -2px; box-shadow: 0 16px 26px -22px rgba(0, 0, 0, .5); }
.kres-card-more { margin-block-start: auto; font-size: .9rem; font-weight: 600; color: var(--brass, #8a6d33); }
@media (max-width: 800px) { .kres-aside { position: static; } }
@media (prefers-reduced-motion: reduce) { .kres-card { transition: none; } .kres-card:hover { translate: none; } }
