:root {
  color-scheme: light;
  --ink: #172528;
  --muted: #495b61;
  --nav: #192427;
  --nav-text: #eef4f3;
  --nav-muted: #a7b9ba;
  --nav-border: #3a4b4d;
  --nav-hover: #25373a;
  --nav-active: #30484b;
  --brand: #00678b;
  --brand-dark: #005672;
  --sky: #83d6ec;
  --pale: #e6f4f8;
  --paper: #fff;
  --canvas: #f1f3f1;
  --soft: #f5f7f6;
  --line: #d5dddd;
  --field-line: #77898d;
  --ok: #136454;
  --ok-bg: #e8f4ef;
  --warn: #83501d;
  --warn-bg: #fff3e3;
  --bad: #a13d34;
  --bad-bg: #fff0ed;
  --radius: 16px;
  --sidebar: 238px;
  --sans: "Golos Text", "Segoe UI", Arial, sans-serif;
  --display: "Manrope", "Golos Text", "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { min-width: 0; scroll-padding-top: 85px; }
body { margin: 0; font: 16px/1.6 var(--sans); color: var(--ink); background: var(--canvas); }
a { color: var(--brand-dark); text-underline-offset: .17em; }
button, select, input, textarea { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: default; opacity: .63; }
img { display: block; max-width: 100%; }
h1, h2, h3, p, figure, dl { margin: 0; }
h1, h2, h3 { font-family: var(--display); line-height: 1.15; letter-spacing: -.026em; }
h1 { font-size: clamp(2rem, 3.55vw, 3.45rem); font-weight: 800; }
h2 { font-size: clamp(1.38rem, 2.15vw, 1.93rem); font-weight: 740; }
h3 { font-size: 1.13rem; font-weight: 680; }
p + p { margin-top: .75rem; }
ul, ol { margin: .55rem 0 0; padding-inline-start: 1.25rem; }
li + li { margin-top: .35rem; }
summary { cursor: pointer; }
:focus-visible { outline: 3px solid #007fa7; outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: fixed; z-index: 20; top: 8px; left: 8px; padding: 10px 20px; background: var(--paper); transform: translateY(-150%); }
.skip:focus { transform: none; }
.shell { display: grid; grid-template-columns: var(--sidebar) minmax(0, 1fr); min-height: 100vh; align-items: start; }
.workspace { min-width: 0; }
.sidebar {
  position: sticky; top: 0; height: 100dvh; overflow-y: auto; display: flex; flex-direction: column;
  color: var(--nav-text); background: var(--nav); border-inline-end: 1px solid var(--nav-border); padding: 18px 13px 13px;
}
.brand { display: flex; align-items: center; gap: 10px; min-height: 44px; margin: 0 4px 13px; padding: 0 7px; text-decoration: none; color: var(--nav-text); }
.brand img { width: 83px; height: auto; filter: brightness(0) invert(1); }
.brand span { border-left: 1px solid var(--nav-muted); padding-left: 10px; font: 760 1rem/1.4 var(--display); }
.nav-group { margin: 0 0 11px; }
.nav-group h2 { font-size: .83rem; letter-spacing: .012em; margin: 0 0 6px 12px; color: var(--nav-muted); }
.nav-link {
  position: relative; display: flex; gap: 10px; align-items: center; min-height: 44px;
  padding: 7px 9px 7px 11px; border-radius: 8px; color: var(--nav-text); font-size: .96rem; text-decoration: none;
}
.nav-link:hover { background: var(--nav-hover); }
.nav-link[aria-current] { color: #fff; background: var(--nav-active); font-weight: 650; }
.nav-link[aria-current]::before { content: ""; position: absolute; left: 0; height: 22px; width: 3px; border-radius: 3px; background: var(--sky); }
.sidebar :focus-visible { outline-color: var(--sky); }
.icon { display: inline-block; flex: none; width: 1.1em; height: 1.1em; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; vertical-align: -.16em; }
.nav-icon { width: 19px; height: 19px; color: var(--nav-muted); }
.nav-link[aria-current] .nav-icon { color: var(--sky); }
.sidebar-progress { padding: 9px 12px; margin: auto 1px 0; border-top: 1px solid var(--nav-border); color: var(--nav-muted); font-size: .87rem; }
.sidebar-progress strong { font-size: .94rem; color: var(--nav-text); }
.sidebar-profile {
  display: flex; align-items: center; justify-content: space-between; gap: 7px;
  border-top: 1px solid var(--nav-border); padding: 10px 10px 2px; margin-top: 5px;
}
.sidebar-profile strong { display: block; font-size: .86rem; overflow-wrap: anywhere; }
.sidebar-profile small { display: block; color: var(--nav-muted); font-size: .77rem; }
.sidebar-profile button {
  min-height: 36px; border: 1px solid var(--nav-border); border-radius: 7px; padding: 4px 8px;
  background: transparent; color: var(--nav-text); font-size: .78rem;
}
.sidebar-profile button:hover { background: var(--nav-hover); }
.access-page { min-height: 100dvh; display: grid; align-items: center; padding: 26px 16px; }
.access-shell {
  width: min(100%, 500px); margin-inline: auto; overflow: hidden; border: 1px solid var(--line);
  border-radius: 20px; background: var(--paper); box-shadow: 0 15px 44px rgb(23 37 40 / .1);
}
.access-brand {
  display: flex; align-items: center; gap: 14px; padding: 24px clamp(22px, 5vw, 37px);
  background: var(--nav); color: var(--nav-text); border-bottom: 4px solid var(--brand);
  font: 760 1.2rem/1.35 var(--display);
}
.access-brand img { filter: brightness(0) invert(1); height: auto; }
.access-brand span { border-left: 1px solid var(--nav-border); padding-left: 14px; }
.access-content { padding: clamp(22px, 5vw, 37px); }
.access-content h1 { font-size: clamp(1.75rem, 5vw, 2.45rem); margin-bottom: 18px; }
.access-content .form-status:empty { display: none; }
.access-content .form-status { color: var(--bad); }
.access-content .btn { justify-self: start; }
.owner-access-grid { display: grid; gap: 16px; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); align-items: start; }
.owner-access-grid > * { min-width: 0; }
.owner-member { border-top: 1px solid var(--line); padding-top: 14px; display: grid; gap: 9px; }
.owner-member h3 { overflow-wrap: anywhere; }
.owner-sessions { padding: 0; margin: 0; list-style: none; display: grid; gap: 8px; }
.owner-sessions li {
  min-width: 0; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px;
  padding: 10px 12px; border-radius: 9px; background: var(--soft);
}
.owner-sessions small { display: block; color: var(--muted); }
.owner-key { display: grid; gap: 10px; }
.owner-key input { font: .9rem/1.5 ui-monospace, monospace; }
.owner-key .btn { justify-self: start; }
.owner-editor { max-width: 870px; }
.owner-edit-form .field textarea { resize: vertical; }
@media (max-width: 760px) {
  .owner-access-grid { grid-template-columns: 1fr; }
}
progress { display: block; width: 100%; height: 8px; margin: 9px 0 0; appearance: none; border: 0; border-radius: 20px; background: #d7e2e8; overflow: hidden; }
progress::-webkit-progress-bar { background: #d7e2e8; }
progress::-webkit-progress-value { background: var(--brand); border-radius: 20px; }
progress::-moz-progress-bar { background: var(--brand); border-radius: 20px; }
.sidebar-progress progress, .sidebar-progress progress::-webkit-progress-bar { background: var(--nav-border); }
.sidebar-progress progress::-webkit-progress-value { background: var(--sky); }
.sidebar-progress progress::-moz-progress-bar { background: var(--sky); }
.topbar {
  position: sticky; z-index: 4; top: 0; height: 66px; padding: 0 clamp(16px, 3.1vw, 45px); background: var(--paper);
  border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 18px;
}
.breadcrumb { min-width: 0; color: var(--muted); font-size: .91rem; font-weight: 650; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.search-trigger {
  margin-left: auto; display: flex; align-items: center; gap: 12px; width: min(100%, 340px); min-height: 40px;
  padding: 7px 12px; border: 1px solid var(--line); border-radius: 8px; color: var(--muted); background: #f4f7f9; text-align: left;
}
.search-trigger:hover { border-color: var(--field-line); }
.search-trigger kbd { margin-left: auto; color: var(--muted); border: 1px solid var(--line); border-radius: 4px; background: var(--paper); padding: 0 5px; font-size: .72rem; white-space: nowrap; }
.search-icon { position: relative; width: 14px; height: 14px; border: 1.5px solid currentColor; border-radius: 50%; display: inline-block; flex: 0 0 14px; }
.search-icon::after { content: ""; width: 6px; height: 1.5px; background: currentColor; position: absolute; right: -5px; bottom: -3px; transform: rotate(45deg); transform-origin: left center; }
.mode-switch { display: flex; gap: 4px; background: var(--soft); border: 1px solid var(--line); padding: 3px; border-radius: 8px; }
.mode-switch a { display: inline-flex; align-items: center; min-height: 35px; padding: 4px 9px; font-size: .89rem; font-weight: 650; text-decoration: none; white-space: nowrap; color: var(--muted); }
.mode-switch a[data-current] { border-radius: 5px; background: var(--pale); color: var(--brand-dark); }
.mode-switch a:hover { color: var(--brand-dark); text-decoration: underline; }
.content { max-width: 1490px; min-height: calc(100dvh - 128px); margin: 0 auto; padding: 28px clamp(16px, 3.1vw, 46px) 57px; }
.footer { display: flex; justify-content: space-between; gap: 10px; max-width: 1490px; margin: 0 auto; padding: 16px clamp(16px, 3.1vw, 46px); color: var(--muted); border-top: 1px solid var(--line); font-size: .83rem; }
.topbar .mobile-nav, .scrim { display: none; }
.menu-icon { display: block; width: 16px; height: 12px; border-block: 2px solid currentColor; }
.menu-icon::after { content: ""; display: block; margin-top: 3px; height: 2px; background: currentColor; }

.eyebrow { color: var(--brand-dark); font-size: .76rem; font-weight: 740; text-transform: uppercase; letter-spacing: .13em; }
.muted, .fine, .hint { color: var(--muted); }
.fine, .hint { font-size: .88rem; }
.hint { margin-top: .65rem; }
.page-head { max-width: 820px; margin-bottom: 25px; }
.page-head .eyebrow { margin-bottom: 9px; }
.page-head .muted { font-size: 1.05rem; margin-top: 10px; max-width: 65ch; }
.section-head { margin: 26px 0 13px; }
.section-head p, .card h2 + p { margin-top: 7px; }
.split-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; }
.actions a, .actions button { max-width: 100%; }
.btn, .icon-button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px;
  padding: 9px 14px; border: 1px solid transparent; border-radius: 8px; text-decoration: none; text-align: center;
  color: #fff; background: var(--brand); font-weight: 640; font-size: .92rem; line-height: 1.2;
}
.btn:hover { background: var(--brand-dark); }
.btn.secondary, .icon-button { background: var(--paper); color: var(--ink); border-color: var(--field-line); }
.btn.secondary:hover, .icon-button:hover { background: var(--pale); border-color: var(--brand); }
.btn.ghost { background: transparent; color: var(--brand-dark); border-color: var(--line); }
.btn.ghost:hover { background: var(--pale); border-color: var(--brand); }
.btn[aria-pressed="true"], .btn[aria-current] { background: var(--brand); color: #fff; border-color: var(--brand); }
.icon-button { width: 42px; padding: 7px; font-size: 1.34rem; }
.tag { display: inline-flex; align-items: center; padding: 3px 8px; border-radius: 5px; color: var(--brand-dark); background: var(--pale); font-weight: 650; font-size: .76rem; }
.tag.ok { color: var(--ok); background: var(--ok-bg); }
.tag.warn { color: var(--warn); background: var(--warn-bg); }
.tag.critical { color: var(--bad); background: var(--bad-bg); }
.tag.neutral { background: #edf2f6; color: var(--muted); }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 19px; min-width: 0; }
.stack { display: grid; gap: 12px; }
.grid { display: grid; gap: 14px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.notice { padding: 13px 15px; border-radius: 8px; background: var(--pale); color: var(--ink); border-left: 3px solid var(--brand); }
.notice.warn { background: var(--warn-bg); border-left-color: #a67036; }
.notice.ok { background: var(--ok-bg); border-left-color: var(--ok); }
.notice.critical { background: var(--bad-bg); border-left-color: var(--bad); }
.notice > strong { display: block; margin-bottom: 2px; }
.empty { padding: 30px 19px; text-align: center; color: var(--muted); }
.empty .btn { margin-top: 12px; }
.loading { padding: 36px 0; color: var(--muted); }

.home-board { max-width: 1120px; margin-inline: auto; }
.hero {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr);
  min-height: 345px; overflow: hidden; background: #fcfdff; border: 1px solid var(--line); border-radius: 15px;
}
.hero-copy { align-self: center; padding: clamp(22px, 3.6vw, 46px); }
.hero-copy h1 { margin: 0 0 12px; max-width: 16ch; line-height: 1.035; letter-spacing: -.043em; font-size: clamp(2.32rem, 3.72vw, 3.6rem); }
.keep { white-space: nowrap; }
.hero-copy .lead { max-width: 41ch; color: var(--muted); font-size: clamp(1rem, 1.28vw, 1.13rem); }
.hero .hero-next { margin-top: 18px; font-size: .88rem; font-weight: 650; color: var(--brand-dark); }
.hero .actions { margin-top: 7px; }
.hero .btn { min-height: 47px; padding-inline: 19px; }
.hero-photo { position: relative; display: grid; align-content: center; min-width: 0; background: #ebe7e4; }
.hero-photo img { width: 100%; height: auto; object-fit: contain; }
.hero-photo figcaption { position: absolute; bottom: 8px; right: 10px; padding: 2px 6px; border-radius: 4px; background: #fcfdffef; color: var(--ink); font-size: .75rem; }
.home-tools { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 14px; }
.home-workshop { display: grid; grid-template-columns: minmax(120px, .34fr) minmax(0, 1fr); align-items: center; gap: 19px; margin-top: 23px; padding: 12px 0; border-block: 1px solid var(--line); }
.home-workshop img { width: 100%; height: 120px; object-fit: cover; border-radius: 9px; }
.home-workshop h2 { font-size: 1.25rem; }
.home-workshop p { color: var(--muted); margin-top: 5px; max-width: 57ch; }
.path-list { margin-top: 14px; }
.path-row {
  display: grid; grid-template-columns: 35px minmax(0, 1fr) auto; align-items: center; gap: 10px;
  padding: 10px 0; border-top: 1px solid var(--line); color: var(--ink); text-decoration: none;
}
.path-row:hover { color: var(--brand-dark); }
.path-number { display: grid; place-items: center; width: 33px; height: 33px; font-size: .81rem; font-weight: 670; color: var(--brand-dark); background: var(--pale); border-radius: 6px; }
.path-name { display: block; font-weight: 650; }
.quick-link { display: grid; grid-template-columns: 24px minmax(0, 1fr) 18px; align-items: center; gap: 10px; border: 1px solid var(--line); border-radius: 9px; padding: 10px 12px; color: var(--ink); text-decoration: none; font-weight: 660; background: var(--paper); }
.quick-link > .icon, .link-arrow { color: var(--brand-dark); }
.quick-link:hover { color: var(--brand-dark); border-color: var(--brand); }
.quick-link small { display: block; font-size: .86rem; font-weight: 400; color: var(--muted); }

.course-tabs, .filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; }
.course-library, .call-layout, .practice-library, .scenario-shell, .reading-shell, .glossary-layout { max-width: 1110px; margin-inline: auto; }
.reading-shell { max-width: 1240px; }
.course-library .page-head h1, .practice-library .page-head h1, .call-layout .page-head h1, .scenario-head h1 { font-size: clamp(2rem, 3.2vw, 3.2rem); }
.course-intro {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(220px, .34fr); align-items: end;
  gap: clamp(14px, 3vw, 38px); padding: clamp(20px, 3.5vw, 42px);
  border: 1px solid var(--line); border-radius: 22px; background: var(--paper);
}
.course-intro h1 { font-size: clamp(2.15rem, 4vw, 3.55rem); }
.course-intro h1 + p { max-width: 55ch; color: var(--muted); margin-block: 10px 15px; font-size: 1.08rem; }
.course-progress { padding-inline-start: 18px; border-inline-start: 2px solid var(--line); color: var(--muted); font-size: .92rem; }
.course-progress p + p { margin-block: 4px; }
.course-progress strong { font: 780 clamp(2.25rem, 4.1vw, 3.7rem)/.98 var(--display); color: var(--ink); }
.course-progress span { font-size: 1.24rem; }
.section-jumps { display: flex; flex-wrap: wrap; gap: 6px 14px; padding-block: 12px; }
.section-jumps a { display: inline-flex; align-items: center; min-height: 44px; padding-inline: 5px; font-size: .95rem; font-weight: 650; text-decoration: none; }
.section-jumps a:hover { text-decoration: underline; }
.course-chapter {
  display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.45fr); gap: 0;
  margin-bottom: 18px; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; background: var(--paper);
}
.chapter-image { min-width: 0; min-height: 100%; background: var(--soft); }
.chapter-image img { width: 100%; height: 100%; object-fit: cover; }
#chapter-customer .chapter-image img { object-fit: contain; }
.chapter-reading { min-width: 0; padding: clamp(14px, 2.7vw, 28px); }
.chapter-reading > p { margin-top: 6px; color: var(--muted); max-width: 58ch; }
.chapter-reading .path-row { padding-inline: 4px; min-height: 53px; }
.chapter-reading .path-row:hover { background: var(--soft); }
.scenario-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px 18px; }
.scenario-list li { margin: 0; min-width: 0; }
.scenario-list a {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 13px;
  min-height: 89px; padding: 9px 13px 9px 9px; border: 1px solid transparent; border-bottom-color: var(--line);
  color: var(--ink); text-decoration: none;
}
.scenario-list a:hover { background: var(--paper); border-color: var(--line); border-radius: 9px; }
.scenario-list a > span { min-width: 0; display: grid; gap: 3px; line-height: 1.32; }
.scenario-list small { font-size: .86rem; color: var(--muted); }
.reading-back, .reading-link { display: inline-flex; align-items: center; gap: 7px; min-height: 36px; font-size: .91rem; font-weight: 650; text-decoration: none; }
.reading-back:hover, .reading-link:hover { text-decoration: underline; }
.lesson-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(266px, .42fr); gap: clamp(16px, 2.4vw, 31px); align-items: start; }
.lesson-text { grid-area: 1 / 1; min-width: 0; padding: clamp(17px, 3vw, 37px); background: var(--paper); border: 1px solid var(--line); border-radius: 23px; }
.lesson-head h1 { font-size: clamp(1.96rem, 3.24vw, 3.25rem); }
.lesson-head p:not(.lesson-position) { font-size: clamp(1.08rem, 1.45vw, 1.22rem); max-width: 60ch; margin-top: 12px; color: var(--muted); line-height: 1.55; }
.lesson-meta { position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1px 14px; margin-bottom: 7px; }
.lesson-position { font-size: .9rem; font-weight: 650; color: var(--brand-dark); }
.lesson-position span { color: var(--muted); font-weight: 500; white-space: nowrap; }
.lesson-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 3px 11px; }
.lesson-tools summary, .lesson-jump { display: inline-flex; gap: 5px; align-items: center; min-height: 36px; padding: 3px 4px;
  border: 0; border-radius: 6px; background: transparent; color: var(--brand-dark); font-size: .86rem; font-weight: 670; list-style: none; }
.lesson-tools summary::-webkit-details-marker { display: none; }
.lesson-tools summary:hover, .lesson-jump:hover, .lesson-terms[open] summary { background: var(--pale); }
.lesson-tools .icon { width: 15px; height: 15px; }
.lesson-terms[open] summary .icon:last-child { transform: rotate(180deg); }
.lesson-terms-panel { position: absolute; z-index: 4; inset-inline-end: 0; inset-block-start: 100%; width: min(100%, 404px); padding: 5px 13px;
  background: var(--paper); border: 1px solid var(--field-line); border-radius: 12px; box-shadow: 0 8px 26px #152b3026; }
.lesson-terms-panel > div { padding: 9px 0; }
.lesson-terms-panel > div + div { border-top: 1px solid var(--line); }
.lesson-terms-panel dt { font-weight: 720; font-size: .93rem; }
.lesson-terms-panel dt a { display: inline-flex; align-items: center; min-height: 26px; }
.lesson-terms-panel dd { margin: 0; font-size: .9rem; line-height: 1.48; }
.lesson-head { margin-bottom: clamp(17px, 3.2vw, 33px); }
.lesson-points { margin: clamp(22px, 4vw, 48px) 0 26px; }
.lesson-segment { max-width: 65ch; }
.lesson-segment + .lesson-segment { margin-top: 23px; }
.lesson-segment h2 { font-size: clamp(1.18rem, 1.9vw, 1.62rem); }
.lesson-segment p { margin-top: 7px; font-size: 1.075rem; line-height: 1.68; }
.lesson-nav { grid-area: 1 / 2; position: sticky; top: 86px; min-width: 0; }
.lesson-toc { max-height: calc(100dvh - 106px); overflow: auto; background: var(--paper); border: 1px solid var(--line); border-radius: 17px; }
.lesson-toc > summary, .toc-chapter > summary { display: flex; align-items: center; gap: 9px; min-height: 52px; list-style: none; font-weight: 650; line-height: 1.32; }
.lesson-toc > summary::-webkit-details-marker, .toc-chapter > summary::-webkit-details-marker { display: none; }
.lesson-toc > summary { min-height: 57px; padding: 10px 14px; font-family: var(--display); font-size: 1.2rem; }
.lesson-toc > summary small { margin-left: auto; font-size: .83rem; color: var(--muted); white-space: nowrap; }
.toc-chapters .reading-link { margin: 4px 14px; }
.toc-chapter > summary { justify-content: space-between; padding: 9px 14px; font-size: 1.02rem; border-top: 1px solid var(--line); }
.toc-chapter[open] > summary { color: var(--brand-dark); background: var(--soft); }
.lesson-toc[open] > summary > .icon, .toc-chapter[open] > summary > .icon { transform: rotate(180deg); }
.lesson-nav .path-row { grid-template-columns: 30px minmax(0, 1fr) 16px; gap: 9px; min-height: 51px; font-size: 1rem; padding: 7px 8px; line-height: 1.34; }
.lesson-nav .path-number { width: 29px; height: 29px; font-size: .82rem; }
.lesson-nav .path-list { margin-top: 0; }
.toc-chapter .path-list { padding: 0 7px; }
.lesson-nav .path-row[aria-current] { color: var(--brand-dark); background: var(--pale); border-radius: 6px; }
.lesson-nav .path-row[aria-current] .path-number { background: var(--brand); color: var(--paper); }
.lesson-example { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: start; gap: 12px; margin-bottom: 21px; padding: clamp(14px, 2.2vw, 23px); background: var(--pale); border-radius: 14px; }
.lesson-example > .icon { margin-top: 3px; color: var(--brand-dark); }
.lesson-example h2 { font-size: 1.14rem; line-height: 1.36; letter-spacing: -.014em; }
.lesson-example p { margin-top: 6px; }
.lesson-fold { margin-block: 10px 21px; border-block: 1px solid var(--line); }
.lesson-fold summary, .call-coach summary { display: flex; gap: 9px; align-items: center; min-height: 46px; font-weight: 650; color: var(--brand-dark); list-style: none; }
.lesson-fold summary::-webkit-details-marker, .call-coach summary::-webkit-details-marker { display: none; }
.lesson-fold summary .icon:last-child, .call-coach summary .icon:last-child { margin-left: auto; }
.lesson-fold[open] summary .icon:last-child, .call-coach[open] summary .icon:last-child { transform: rotate(180deg); }
.lesson-fold-body { display: grid; gap: 12px; padding: 3px 0 15px; color: var(--muted); font-size: .94rem; }
.lesson-fold-body h3 { font-size: .97rem; color: var(--ink); margin-bottom: 4px; }
.lesson-check { padding: 17px; border: 1px solid var(--line); border-radius: 10px; background: #f6f9fa; }
.lesson-check legend { font-weight: 710; font-size: 1.06rem; }
.lesson-check .choice { margin-top: 8px; }
.lesson-check .actions { margin-top: 5px; }
.lesson-check + .reading-link { margin-top: 7px; }
.source-list { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 9px; }
.source-list a { display: inline-flex; align-items: center; min-height: 29px; padding: 2px 8px; background: #e8f0f5; border-radius: 5px; font-size: .79rem; text-decoration: none; }
.source-list a:hover { background: var(--pale); text-decoration: underline; }
.figure { border: 1px solid var(--line); background: var(--paper); border-radius: 12px; overflow: hidden; min-width: 0; }
.figure img { width: 100%; object-fit: contain; object-position: center; background: #f4f6f7; max-height: 405px; }
.figure.product-illustration img { height: 200px; padding: 13px; mix-blend-mode: multiply; }
.figure figcaption { padding: 9px 12px 11px; color: var(--muted); font-size: .83rem; }
.figure figcaption strong { color: var(--ink); }
.anatomy { position: relative; container-type: inline-size; }
.anatomy img { width: 100%; height: auto; max-height: none; }
.pin-1 { --pin-x: 40%; --pin-y: 26%; }
.pin-2 { --pin-x: 36%; --pin-y: 74%; }
.pin-3 { --pin-x: 59%; --pin-y: 41%; }
.pin {
  position: absolute; left: var(--pin-x); top: var(--pin-y); transform: translate(-50%, -50%);
  width: 37px; height: 37px; border-radius: 50%; border: 2px solid white; background: #064761;
  color: white; font-weight: 700; box-shadow: 0 0 0 3px #10203382;
}
.pin:hover, .pin[aria-expanded="true"] { color: var(--ink); background: #a5eaff; }
.pin[aria-expanded="true"] { z-index: 2; }
.anatomy-tip {
  position: absolute; z-index: 3; left: clamp(8px, calc(var(--pin-x) - 102px), calc(100% - 216px)); top: calc(var(--pin-y) + 24px);
  width: 208px; max-width: calc(100% - 16px); padding: 9px 37px 9px 11px; border-radius: 8px; color: var(--ink);
  background: var(--paper); border: 1px solid #87c3d3; box-shadow: 0 3px 14px #0e263a59; font-size: .84rem; line-height: 1.36;
}
.anatomy-tip p { margin-top: 2px; }
.pin-2 .anatomy-tip { top: auto; bottom: calc(100% - var(--pin-y) + 24px); }
.tip-close {
  display: grid; place-items: center; position: absolute; right: 3px; top: 3px; width: 31px; height: 31px; padding: 0;
  border: 0; border-radius: 5px; color: var(--brand-dark); background: transparent;
}
.tip-close:hover { background: var(--pale); }
@container (max-width: 470px) {
  .pin-1 { --pin-x: 17%; --pin-y: 18%; }
  .pin-2 { --pin-y: 84%; }
  .pin-3 { --pin-x: 63%; --pin-y: 40%; }
  .anatomy-tip { left: 7px; width: 51%; padding: 7px 8px; font-size: .79rem; }
  .anatomy-tip strong { display: block; padding-right: 20px; }
  .pin-3 .anatomy-tip { left: auto; right: 7px; width: 55%; }
  .tip-close { width: 25px; height: 25px; }
}
.lesson-visual, .paired-figures { margin-block: 17px 0; }
.paired-figures { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; }
.exchanger-gallery { margin-block: 0; gap: clamp(9px, 2vw, 18px); }
.exchanger-gallery h2 { font-size: clamp(1.02rem, 2.8vw, 1.48rem); margin-block: 0 8px; }
.exchanger-gallery .figure img { width: 100%; height: auto; aspect-ratio: 1.14; }
.exchanger-gallery .plate-photo img { object-fit: contain; mix-blend-mode: multiply; }
.exchanger-gallery .rotor-photo img { object-fit: cover; object-position: 50% 46%; }
.exchanger-gallery figcaption { line-height: 1.44; }
.control-chain, .order-steps { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); padding: 0; gap: 8px; margin: 0; list-style: none; }
.control-chain { padding: 11px 9px; background: #eef5f8; border-radius: 10px; }
.control-chain li, .order-steps li { position: relative; display: flex; align-items: center; justify-content: center; gap: 7px; margin: 0; font-weight: 650; font-size: .88rem; line-height: 1.22; text-align: center; }
.control-chain .icon, .control-sensors .icon { color: var(--brand-dark); }
.control-chain li:not(:last-child)::after, .order-steps li:not(:last-child)::after { content: "→"; position: absolute; inset-inline-end: -9px; color: var(--brand-dark); }
.control-sensors { display: flex; align-items: center; gap: 7px; margin: 8px 0 13px; color: var(--muted); font-size: .87rem; }
.control-visual > .editorial-photo { margin-bottom: 14px; }
.control-sensors { line-height: 1.53; }
.paired-figures .fit-photo img { width: 100%; height: clamp(100px, 14vw, 185px); object-fit: cover; }
.paired-figures .product-illustration img { object-fit: contain; }
.order-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-flow: row; }
.order-steps li { background: var(--pale); min-height: 43px; border-radius: 6px; }
.order-steps li:nth-child(3)::after { content: none; }
.flow-board { border-radius: 10px; padding: 13px; background: #eaf1f6; color: var(--ink); }
.flow-row { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 5px; position: relative; }
.flow-row + .flow-row { margin-top: 10px; }
.flow-node { text-align: center; border: 1px solid #9db4c5; border-radius: 6px; min-height: 50px; display: grid; align-content: center; padding: 6px 4px; background: #fbfdff; font-size: .8rem; font-weight: 650; }
.flow-node + .flow-node::before { position: absolute; }
.flow-row.cold .flow-node { border-color: #7bbada; background: #e4f6ff; }
.flow-row.warm .flow-node { border-color: #d7a671; background: #fff4e7; }
.diagram-legend { display: flex; flex-wrap: wrap; gap: 11px; margin-top: 8px; font-size: .8rem; color: var(--muted); }
.diagram-legend span::before { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 5px; background: #219ccc; }
.diagram-legend span + span::before { background: #c47e36; }
.flow-step b { color: var(--brand-dark); min-width: 23px; }
.table-wrap { min-width: 0; overflow-x: auto; }
table { width: 100%; border-collapse: collapse; text-align: left; }
th, td { padding: 9px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--muted); font-size: .87rem; }
td { overflow-wrap: anywhere; }
td:first-child { font-weight: 630; }
.facts { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 14px; }
.facts div { border-top: 1px solid var(--line); padding: 8px 0; }
.facts dt { font-size: .81rem; color: var(--muted); }
.facts dd { margin: 3px 0 0; font-weight: 640; overflow-wrap: anywhere; }

.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px 15px; }
.field { display: grid; gap: 5px; align-content: start; min-width: 0; }
.field.span-two { grid-column: 1 / -1; }
label, legend { font-weight: 630; }
input:not([type="radio"]):not([type="checkbox"]), select, textarea {
  min-width: 0; width: 100%; padding: 9px 11px; min-height: 42px; color: var(--ink); background: var(--paper);
  border: 1px solid var(--field-line); border-radius: 7px;
}
textarea { resize: vertical; min-height: 76px; }
input::placeholder, textarea::placeholder { color: #657887; }
.field small { font-size: .82rem; font-weight: 400; color: var(--muted); }
fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
input[type="radio"], input[type="checkbox"] { accent-color: var(--brand); width: 17px; height: 17px; flex: 0 0 17px; }
.choice { display: flex; align-items: center; gap: 10px; min-height: 43px; padding: 7px 10px; border: 1px solid var(--line); border-radius: 8px; color: var(--ink); background: var(--paper); font-size: .94rem; text-align: left; font-weight: 500; }
.choice:hover, .choice:has(:checked) { background: var(--pale); border-color: var(--brand); }
.choice button { width: 100%; }
.calc-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 15px; align-items: start; }
.calc-out { min-height: 90px; background: var(--pale); }
.calc-out .facts { margin-top: 8px; }
.calc-out dd { color: var(--brand-dark); font-size: 1.3rem; }
.form-status { min-height: 1.4em; font-size: .88rem; color: var(--muted); }
.form-status[data-tone="error"] { color: var(--bad); }
.form-status[data-tone="ok"] { color: var(--ok); }
.form-layout { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 15px; align-items: start; }
.checklist { list-style: none; padding: 0; display: grid; gap: 4px; margin: 13px 0; font-size: .88rem; }
.checklist li { display: flex; gap: 8px; align-items: start; margin: 0; }
.checklist b { color: var(--ok); }
.copy-preview { white-space: pre-wrap; overflow-wrap: anywhere; max-height: 340px; overflow: auto; color: var(--muted); font: inherit; font-size: .86rem; }

.record-list { display: grid; gap: 10px; margin-top: 13px; }
.call-layout { max-width: 1000px; }
.call-layout .page-head { margin-bottom: 17px; }
.call-quick { display: flex; flex-wrap: wrap; gap: 5px 7px; margin-block: 9px; }
.call-quick a, .call-decision { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; font-size: .9rem; font-weight: 650; }
.call-quick a { background: var(--paper); border: 1px solid var(--line); padding-inline: 8px; border-radius: 7px; text-decoration: none; }
.call-quick a:hover, .call-quick a[aria-current="page"] { background: var(--pale); border-color: var(--brand); }
.call-quick .icon, .call-decision .icon { width: 16px; height: 16px; }
.call-internal { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-block: 12px; font-size: .9rem; }
.call-internal a { display: inline-flex; align-items: center; min-height: 40px; }
.call-controls { display: flex; flex-wrap: wrap; align-items: start; gap: 7px 21px; margin: 12px 0; }
.call-topic-field { display: flex; align-items: center; gap: 7px; color: var(--muted); font-weight: 650; font-size: .88rem; max-width: 100%; }
.call-topic-field select { min-width: 135px; min-height: 40px; }
.call-coach { width: fit-content; max-width: 100%; }
.call-coach[open] { width: min(100%, 630px); }
.call-coach summary { min-height: 40px; }
.coach-body { padding: 14px; border-radius: 9px; background: var(--paper); border: 1px solid var(--line); }
.call-sections { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; padding-block: 4px 3px; }
.call-sections a { min-width: 0; gap: 8px; padding: 7px 10px; background: var(--paper); border: 1px solid var(--line); border-radius: 9px; line-height: 1.3; }
.call-sections a[aria-current] { border-color: var(--brand); background: var(--pale); }
.call-sections a > small { margin-inline-start: auto; color: var(--muted); font-weight: 500; }
.call-results { display: grid; gap: 23px; margin-top: 8px; }
.call-section-heading { display: flex; align-items: center; gap: 9px; margin: 0 2px 8px; }
.call-section-heading h2 { font-size: clamp(1.19rem, 2.4vw, 1.54rem); }
.call-section-heading .icon { color: var(--brand-dark); width: 20px; height: 20px; }
.call-section-heading .fine { margin-inline-start: auto; }
.call-section-answers { border: 1px solid var(--line); border-radius: 12px; background: var(--paper); }
.call-card + .call-card { border-top: 1px solid var(--line); }
.call-question {
  display: grid; grid-template-columns: 37px minmax(0, 1fr) auto; align-items: center; gap: 12px;
  min-height: 60px; padding: 10px 14px; font-size: 1.03rem; line-height: 1.32; font-weight: 690; list-style: none;
}
.call-question::-webkit-details-marker { display: none; }
.call-question:hover, .call-card[open] .call-question { color: var(--brand-dark); background: #f5fafb; }
.call-question > .icon { color: var(--brand-dark); }
.call-card[open] .call-question > .icon { transform: rotate(180deg); }
.call-topic { display: grid; place-items: center; width: 37px; height: 37px; border-radius: 8px; background: #e0edf3; color: var(--brand-dark); }
.call-answer { margin: 0 14px 12px 62px; padding: 9px 13px 10px; background: var(--pale); border-inline-start: 3px solid var(--brand); border-radius: 6px; }
.call-answer-label { font-size: .8rem; color: var(--brand-dark); font-weight: 690; }
.call-answer-label + p { margin-top: 4px; }
.call-short { max-width: 70ch; line-height: 1.46; }
.call-actions { display: flex; align-items: flex-start; gap: 12px; margin-top: 4px; font-size: .88rem; }
.call-actions .copy-button { flex: 0 0 auto; min-height: 36px; border-color: transparent; padding-inline: 5px; font-size: .86rem; }
.call-actions details { flex: 1 1 auto; margin: 0; }
.call-actions summary, .call-source { display: flex; align-items: center; min-height: 36px; gap: 6px; color: var(--brand-dark); font-weight: 620; }
.call-actions summary::before { content: "＋"; }
.call-actions details[open] summary::before { content: "−"; }
.detail-body { margin: 6px 0 9px; max-width: 78ch; color: var(--muted); }
.call-large .call-short { font-size: 1.25rem; }
.call-large .call-question { font-size: 1.24rem; }
.faq-search { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; align-items: end; }
.call-display .call-display-mark { display: none; }
.call-search { position: relative; }
.call-search > .icon { position: absolute; top: 50%; left: 12px; transform: translateY(-50%); color: var(--brand-dark); pointer-events: none; }
.call-search input[type="search"] { padding-inline-start: 37px; min-height: 44px; }
.glossary-search { display: block; max-width: 690px; }
.glossary-layout .section-jumps { padding-block: 9px; }
.glossary-topic { margin-block: 12px 24px; }
.topic-heading { display: flex; align-items: center; gap: 16px; margin: 0 0 9px; }
.topic-heading img { width: 132px; height: 76px; object-fit: cover; border-radius: 9px; background: var(--soft); }
.topic-heading h2 { font-size: clamp(1.35rem, 2.7vw, 1.97rem); }
.glossary-terms { display: grid; background: var(--paper); border: 1px solid var(--line); border-radius: 15px; }
.glossary-term {
  display: grid; grid-template-columns: minmax(0, .35fr) minmax(0, 1fr); align-items: start; gap: 7px 17px;
  padding: clamp(12px, 2vw, 20px);
}
.glossary-term + .glossary-term { border-top: 1px solid var(--line); }
.glossary-term h3 { font-size: 1.12rem; overflow-wrap: anywhere; }
.glossary-term > p { max-width: 67ch; }
.term-application { grid-column: 2; }
.term-application summary { min-height: 34px; padding-block: 4px; color: var(--brand-dark); font-weight: 650; }
.term-application p { margin-block: 3px 8px; color: var(--muted); }
.term-application .actions { gap: 4px 15px; }
.term-application .actions a { display: inline-flex; gap: 5px; align-items: center; min-height: 40px; font-size: .91rem; font-weight: 620; }
.catalog-featured { margin-bottom: 18px; }
.product-card { overflow: hidden; padding: 0; }
.product-card > a { display: block; color: var(--ink); text-decoration: none; }
.product-card .product-image { width: 100%; height: 156px; padding: 12px; object-fit: contain; background: #f3f6f8; }
.product-text { display: grid; align-content: start; gap: 5px; padding: 13px 14px; }
.product-card h3 { overflow-wrap: anywhere; }
.product-card:hover h3 { color: var(--brand-dark); }
.catalog-toolbar { display: grid; grid-template-columns: minmax(125px, 1.8fr) minmax(0, 1.3fr) repeat(2, minmax(0, 1fr)); gap: 10px; align-items: end; }
.catalog-options { padding: 13px 0 0; }
.catalog-options .btn { min-height: 38px; padding: 6px 9px; }
.catalog-row { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) auto; gap: 11px; align-items: center; padding: 11px 0; border-bottom: 1px solid var(--line); }
.catalog-row a { font-weight: 650; overflow-wrap: anywhere; }
.catalog-row label { display: flex; min-height: 38px; align-items: center; font-size: .86rem; gap: 5px; }
.pagination { display: flex; align-items: center; justify-content: space-between; gap: 6px; margin-top: 12px; }
.product-detail { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 15px; align-items: start; }
.compare { table-layout: auto; min-width: 490px; }
.compare th { min-width: 117px; }
.answer-note { margin: 8px 0 0; }
.test-card { max-width: 830px; }
.test-card .choice + .choice, .test-card .choice + .answer-note { margin-top: 8px; }
.test-card legend { margin-bottom: 9px; font-size: 1.16rem; }
.test-meter { display: flex; align-items: center; justify-content: space-between; font-size: .88rem; color: var(--muted); }
.test-meter + progress { margin-bottom: 14px; }
.test-result { padding: 12px; border-top: 1px solid var(--line); }
.test-result p + p { margin-top: 4px; }
.test-result h3 { margin-bottom: 6px; }
.quiz-mistakes > h3 { margin-bottom: 6px; }
.quiz-correct summary { padding: 6px 0; min-height: 36px; color: var(--brand-dark); font-weight: 680; }
.practice-layout, .scenario-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(210px, .4fr); gap: 17px; align-items: start; }
.practice-main { display: grid; grid-column: 1; grid-row: 1; gap: 13px; }
.practice-feature {
  display: grid; grid-template-columns: minmax(150px, .6fr) minmax(0, 1fr); align-items: center;
  min-width: 0; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--paper);
}
.practice-feature-copy { display: grid; gap: 8px; padding: clamp(13px, 2vw, 23px); }
.practice-feature-copy h2 { font-size: clamp(1.3rem, 2.2vw, 1.88rem); }
.practice-feature-copy .btn { justify-self: start; margin-top: 4px; }
.practice-skills { color: var(--muted); font-size: .86rem; }
.scene-media { min-width: 0; overflow: hidden; }
.scene-frame { position: relative; overflow: hidden; aspect-ratio: 4 / 3; background: #dce5eb; }
.scene-frame img { position: absolute; width: 300%; height: 400%; max-width: none; left: var(--scene-x, 0%); top: var(--scene-y, 0%); }
.scene-col-1 { --scene-x: -100%; }
.scene-col-2 { --scene-x: -200%; }
.scene-row-1 { --scene-y: -100%; }
.scene-row-2 { --scene-y: -200%; }
.scene-row-3 { --scene-y: -300%; }
.scene-photo img { width: 100%; height: 100%; inset: 0; object-fit: cover; }
.scene-photo img[src$="panel-back.webp"] { object-fit: contain; background: #fff; }
.scene-photo img[src$="duct-pocket-filter.webp"] { object-fit: contain; background: #fff; }
.scene-photo img[src$="project-plan.webp"] { object-fit: contain; background: #f4f6f7; }
.scene-media figcaption { padding: 6px 9px; color: var(--muted); font-size: .75rem; line-height: 1.3; background: #f5f8fa; }
.practice-tests { grid-column: 2; grid-row: 1; padding: 13px 15px; border-top: 3px solid var(--brand); background: var(--paper); border-radius: 4px 4px 10px 10px; }
.practice-tests h2 { display: flex; align-items: center; gap: 7px; font-size: 1.12rem; margin-bottom: 7px; }
.practice-tests h2 .icon { color: var(--brand-dark); }
.practice-tests a { display: flex; justify-content: space-between; gap: 8px; align-items: center; min-height: 37px; padding: 3px 0; font-weight: 650; font-size: .91rem; text-decoration: none; border-bottom: 1px solid var(--line); }
.practice-tests a:hover { text-decoration: underline; }
.practice-tests a > span { display: grid; padding-block: 4px; line-height: 1.36; }
.practice-tests a small { margin-top: 2px; color: var(--muted); font-weight: 450; font-size: .79rem; }
.practice-tests p { margin-top: 8px; color: var(--muted); font-size: .8rem; }
.practice-cases { margin-top: 25px; }
.practice-cases .scenario-list { padding: 5px 13px 10px; }
.scenario-list .scene-media { width: 92px; border-radius: 6px; }
.scenario-head { margin: 6px 0 18px; }
.scenario-layout { grid-template-columns: minmax(0, 1fr) minmax(220px, .44fr); gap: 20px; }
.scenario-context {
  grid-column: 2; grid-row: 1; border-radius: 10px; border: 1px solid var(--line); overflow: hidden; background: var(--paper);
}
.scenario-context > div { padding: 13px; color: var(--muted); font-size: .89rem; }
.scenario-context .scenario-role { font-weight: 700; color: var(--ink); }
.scenario-context p + p { margin-top: 4px; }
#dialogue { grid-column: 1; grid-row: 1; min-width: 0; }
.dialogue-card { padding: clamp(12px, 2.3vw, 23px); border: 1px solid var(--line); border-radius: 12px; background: var(--paper); }
.dialogue-line { padding: 10px 13px; border-radius: 9px; background: #eef4f7; }
.dialogue-line.active-line { display: flex; gap: 11px; align-items: start; border-inline-start: 3px solid var(--brand); }
.active-line > .icon { color: var(--brand-dark); margin-top: 3px; }
.active-line h2 { color: var(--brand-dark); font-size: .89rem; line-height: 1.4; margin: 0 0 3px; letter-spacing: 0; }
.active-line p { font-size: 1.14rem; font-weight: 650; line-height: 1.42; }
.dialogue-line.manager { margin-left: 18px; background: var(--pale); }
.dialogue-line b { display: block; font-size: .85rem; color: var(--brand-dark); margin-bottom: 3px; }
.dialogue-turn { border-bottom: 1px solid var(--line); padding-bottom: 11px; }
.dialogue-turn .manager { margin-top: 6px; }
.dialogue-history { color: var(--brand-dark); font-size: .89rem; }
.dialogue-history summary { min-height: 40px; padding: 6px; }
.dialogue-history .dialogue-turn { color: var(--ink); }
.dialogue-replies { display: grid; gap: 8px; }
.scenario-answer legend { font-weight: 730; font-size: 1.04rem; margin-bottom: 7px; }
.dialogue-replies .choice { width: 100%; gap: 10px; padding-block: 11px; cursor: pointer; }
.dialogue-replies .choice:has(:checked) { box-shadow: inset 0 0 0 1px var(--brand); }
.scenario-answer .form-status:empty { display: none; }
.dialogue-review { background: #f9fcfd; border-top: 4px solid var(--brand); }
.dialogue-review[data-tone="error"] { border-top-color: var(--bad); }
.dialogue-review[data-tone="ok"] { border-top-color: var(--ok); }
.dialogue-review h2 { font-size: 1.45rem; }
.review-client { padding: 8px 11px; background: #eef4f7; border-radius: 7px; color: var(--ink); }
.review-client b { display: block; color: var(--brand-dark); font-size: .84rem; }
.review-reason { font-size: 1.11rem; max-width: 61ch; }
.quiz-navigation { align-items: center; }
.quiz-navigation details { margin-inline-start: 4px; }
.progress-review { margin-block: 14px; padding: 10px 12px; border-inline-start: 3px solid var(--brand); background: var(--pale); }
.free-review { margin-top: 14px; }
.free-review blockquote { margin: 0; padding: 12px; background: var(--pale); border-inline-start: 3px solid var(--brand); }
.free-review legend { margin-bottom: 6px; }
.free-review .choice + .choice { margin-top: 5px; }
.free-review > a { justify-self: start; }
.dialogue-review blockquote, .script-reading blockquote { margin: 0; color: var(--ink); background: var(--pale); border-radius: 8px; padding: 11px 13px; }
.dialogue-review blockquote p { margin-top: 3px; color: var(--muted); }
.sales-script-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(205px, .39fr); gap: 20px; align-items: start; }
.script-reading { padding: clamp(14px, 2.7vw, 25px); background: var(--paper); border: 1px solid var(--line); border-radius: 13px; }
.script-reading section + section { margin-top: 21px; }
.script-reading h2 { font-size: 1.28rem; margin-bottom: 7px; }
.script-reading h3 { margin: 12px 0 5px; font-size: 1.04rem; }
.script-branch, .script-note { margin-top: 9px; }
.script-note { padding-inline-start: 10px; border-inline-start: 3px solid var(--brand); }
.script-exchange + .script-exchange { margin-top: 14px; }
.script-exchange h3 { margin: 0 0 5px; }
.script-copy { display: inline-flex; align-items: center; gap: 6px; min-height: 34px; margin-top: 3px; padding: 3px 4px; border: 0;
  border-radius: 6px; background: transparent; color: var(--brand-dark); font-size: .86rem; font-weight: 680; }
.script-copy:hover { text-decoration: underline; }
.script-copy .icon { width: 15px; height: 15px; }
.sales-section + .sales-section { margin-top: 24px; }
.sales-section h2 { margin-bottom: 7px; }
.curve-canvas > img { display: block; width: 100%; height: auto; max-height: none; }
.source-curve figcaption { border-top: 1px solid var(--line); }
.curve-canvas { display: block; position: relative; border-radius: 8px; overflow: hidden; background: #fff; }
.viewer-image .curve-canvas { width: min(851px, 86vw, 89dvh); }
.curve-guide { position: absolute; inset: 45.47% 47.47% 7.83% 6.58%; pointer-events: none; border: 2px dashed #7a4619; border-width: 2px 2px 0 0; }
.curve-guide::after { content: ""; position: absolute; top: -1px; right: -1px; width: 11px; height: 11px; transform: translate(50%, -50%);
  border: 2px solid #fff; border-radius: 50%; background: #7a4619; box-shadow: 0 0 0 1px #7a4619; }
.curve-steps { display: grid; gap: 8px; margin: 0; padding: 11px 14px 12px 34px; background: var(--soft); border-radius: 9px; line-height: 1.5; }
.curve-steps li { padding-inline-start: 2px; margin: 0; }
.curve-steps li::marker { color: var(--brand-dark); font-weight: 720; }
.scene-placeholder { display: grid; width: 92px; min-height: 58px; place-items: center; border-radius: 6px; background: var(--pale); color: var(--brand-dark); }
.script-source { margin-top: 15px; color: var(--muted); font-size: .85rem; }
.script-aside { position: sticky; top: 87px; }
.script-aside .scene-media { border-radius: 9px; }
.script-aside .actions { margin-top: 9px; }
.catalog-release { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 18px; margin: 0 0 15px; font-size: .91rem; }
.catalog-release a { display: inline-flex; align-items: center; gap: 5px; min-height: 36px; font-weight: 650; }
.air-house-canvas > img { width: 100%; height: auto; max-height: none; }
.supply-only img { width: 100%; height: clamp(180px, 30vw, 260px); object-fit: contain; mix-blend-mode: multiply; }
.air-house-canvas, .panel-canvas { display: block; position: relative; }
.air-mark { position: absolute; border-radius: 5px; padding: 3px 6px; color: var(--paper); font-size: clamp(.69rem, 1.2vw, .89rem); font-weight: 690; }
.air-mark.supply { left: 65%; top: 31%; background: #055a73; }
.air-mark.extract { left: 53%; top: 53%; background: #7a4619; }
.air-legend { display: grid; gap: 6px; }
.airstream { padding: 6px 10px; border-inline-start: 4px solid var(--brand); border-radius: 5px; background: #e9f5f8; line-height: 1.35; }
.airstream.extract { border-color: #9c5e22; background: #fff3e1; }
.airstream dt { font-size: .84rem; font-weight: 690; }
.airstream dd { margin: 2px 0 0; font-size: .91rem; }
.lesson-lab, .construction-model {
  display: grid; gap: 11px; padding: clamp(12px, 2.7vw, 24px); background: var(--paper);
  border: 1px solid var(--line); border-radius: 12px;
}
.lesson-lab h2 { font-size: clamp(1.22rem, 2.5vw, 1.62rem); }
.lesson-lab > p { color: var(--muted); }
.local-tabs, .part-buttons { display: flex; flex-wrap: wrap; gap: 6px; }
.local-tabs .btn, .part-buttons .btn { padding-inline: 10px; }
.local-tabs .btn[aria-pressed="true"], .part-buttons .btn[aria-pressed="true"] { background: var(--brand-dark); color: var(--paper); border-color: var(--brand-dark); }
.exchange-diagram { display: grid; background: #222a2e; border-radius: 13px; padding: clamp(10px, 2.1vw, 19px); }
.exchange-machine { display: grid; grid-template-columns: minmax(25px, .34fr) minmax(0, 1.55fr) minmax(25px, .34fr); align-items: stretch; gap: 6px; }
.exchange-machine img { width: 100%; height: auto; border-radius: 10px; }
.flow-ports { display: grid; grid-template-rows: repeat(2, 1fr); align-items: center; }
.air-arrow { display: block; height: 5px; position: relative; border-radius: 4px; background: currentColor; }
.air-arrow::after { content: ""; position: absolute; top: 50%; width: 0; height: 0; transform: translateY(-50%); border-block: 7px solid transparent; }
.air-arrow.cold { color: #84d9f3; margin-right: 7px; }
.air-arrow.cold::after { right: -7px; border-left: 9px solid currentColor; }
.air-arrow.warm { color: #f0b879; margin-left: 7px; }
.air-arrow.warm::after { left: -7px; border-right: 9px solid currentColor; }
.construction-model svg { width: 100%; height: auto; display: block; }
.diagram-flow { display: flex; justify-content: space-between; gap: 8px; padding-block: 5px; font-size: clamp(.83rem, 1.65vw, 1.02rem); font-weight: 670; }
.diagram-flow span:last-child { text-align: end; }
.diagram-flow.supply { color: #a7e8fb; }
.diagram-flow.extract { color: #ffd1a1; }
.diagram-caption { color: var(--muted); font-size: .9rem; margin-block: 8px 0; }
.editorial-photo img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; max-height: 440px; }
.passport-fragment img { width: 100%; height: auto; }
.editorial-photo figcaption { padding: 10px 13px; font-size: .88rem; line-height: 1.5; }
.wall-panel img { object-position: 63% center; }
.editorial-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-block: 12px 4px; }
.editorial-pair > div { background: var(--soft); border-radius: 10px; padding: 12px; }
.editorial-pair h2 { font-size: 1.12rem; margin-bottom: 6px; }
.lesson-kicker { margin-block: 13px 5px; max-width: 65ch; color: var(--muted); }
.partner-plan img { height: clamp(170px, 27vw, 320px); }
.reading-steps {
  counter-reset: reading-step; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px 14px;
  padding: 15px 0; list-style: none; margin-block: 4px 6px;
}
.reading-steps li { min-width: 0; margin: 0; padding-block: 9px; border-top: 2px solid #aebebe; }
.reading-steps strong { display: inline; font-size: 1rem; }
.reading-steps li::before { counter-increment: reading-step; content: counter(reading-step) ". "; font-weight: 700; color: var(--brand-dark); }
.reading-steps span { display: block; margin-top: 3px; color: var(--muted); font-size: .94rem; line-height: 1.47; }
.progress-chapters { display: grid; gap: 1px; margin-top: 7px; }
.progress-chapters a { display: flex; justify-content: space-between; align-items: center; min-height: 44px; gap: 8px; border-top: 1px solid var(--line); text-decoration: none; }
.progress-chapters a:hover { text-decoration: underline; }
.lab-fields, .lab-readout { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
.lab-fields label { min-width: 0; display: grid; gap: 4px; align-content: end; font-size: .92rem; color: var(--muted); font-weight: 620; }
.lab-fields input { min-width: 0; width: 100%; }
.lab-readout { padding: 12px; background: var(--pale); border-radius: 8px; }
.lab-value { display: grid; gap: 2px; align-content: start; font-size: .87rem; line-height: 1.4; }
.lab-value output { font-size: clamp(1.2rem, 3.2vw, 1.85rem); font-weight: 740; color: var(--brand-dark); }
.lab-baseline, .lab-readout .form-status { grid-column: 1 / -1; }
.lab-baseline { padding-block-start: 7px; border-top: 1px solid #c8dce2; font-size: .88rem; }
.lab-details summary { padding-block: 5px; font-weight: 650; color: var(--brand-dark); }
.lab-details p { margin-block: 5px 0; font-size: .9rem; color: var(--muted); }
.heat-path { display: flex; flex-wrap: wrap; gap: 5px 8px; padding: 0; margin: 0 0 8px; list-style: none; color: var(--brand-dark); font-weight: 700; }
.heat-path li { margin: 0; }
.heat-path li:not(:last-child)::after { content: " →"; color: var(--muted); }
.heater-example { padding: 11px 12px; border-radius: 8px; background: #ecf4f4; }
.heater-example p + p { margin-top: 6px; }
.heater-photo { max-width: 440px; }
.construction-model svg { background: #f1f5f5; border-radius: 9px; }
.construction-model .diagram-caption { margin: 0; }
.part-marker circle { fill: var(--paper); stroke: var(--brand-dark); stroke-width: 2; }
.part-marker text { font-size: 15px; font-weight: 700; fill: var(--brand-dark); text-anchor: middle; }
.construction-model[data-part="0"] [data-index="0"] circle, .construction-model[data-part="1"] [data-index="1"] circle,
.construction-model[data-part="2"] [data-index="2"] circle, .construction-model[data-part="3"] [data-index="3"] circle,
.construction-model[data-part="4"] [data-index="4"] circle, .construction-model[data-part="5"] [data-index="5"] circle,
.construction-model[data-part="6"] [data-index="6"] circle, .construction-model[data-part="7"] [data-index="7"] circle,
.construction-model[data-part="8"] [data-index="8"] circle { fill: #f0bb70; stroke-width: 4; }
.control-map { background: #eef5f8; border-radius: 10px; margin-bottom: 12px; }
.control-map .control-chain { background: none; }
.control-map .control-sensors { padding: 6px 12px 9px; border-top: 1px solid var(--line); margin: 0; }
.factory-steps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.factory-steps .figure img { display: block; width: 100%; height: auto; }
.factory-assembly { grid-column: 1 / -1; }
.factory-assembly img { max-height: 480px; object-fit: contain; background: var(--soft); }
.factory-story > h2 { margin-bottom: 12px; }
.document-figure img { height: 168px; object-fit: contain; }
.document-figure a:first-child:focus-visible { display: block; outline-offset: -3px; }
.project-examples h3 { font-size: 1.03rem; margin-bottom: 6px; }
.project-examples p { margin-top: 6px; font-size: .92rem; }
.project-table { margin: 0; }
.project-table .hint { margin-bottom: 8px; }
.guide-heading { font-size: 1.23rem; }
.start-photo { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1fr); gap: 13px; align-items: center; }
.start-photo img { width: 100%; height: auto; }
.start-photo p { margin-top: 6px; font-size: .94rem; }
.disclosure { padding: 12px 15px; }
.disclosure > summary { min-height: 38px; padding-block: 5px; font-weight: 670; }
.disclosure > * + * { margin-top: 9px; }
.disclosure .note-area { min-height: 66px; }
.source-card p + p { margin-top: 4px; }
.source-card h3 { margin-bottom: 5px; }
.source-card code { overflow-wrap: anywhere; }

dialog { padding: 0; width: min(600px, calc(100% - 24px)); max-height: min(81vh, 640px); border: 1px solid var(--line); border-radius: 15px; box-shadow: 0 18px 70px #10273742; color: var(--ink); }
dialog::backdrop { background: #09192887; }
.dialog-body { padding: 17px; }
.dialog-body h2 { font-size: 1.28rem; }
.dialog-body input { margin-top: 10px; }
.search-result { display: grid; gap: 2px; padding: 8px 1px; border-bottom: 1px solid var(--line); text-decoration: none; }
.search-result:hover { text-decoration: underline; }
.notice-toast { position: fixed; z-index: 12; bottom: 15px; right: 15px; max-width: min(380px, calc(100vw - 30px)); padding: 11px 14px; border-radius: 8px; background: var(--ink); color: #fff; box-shadow: 0 4px 18px #12233531; }

.installation-overview { margin-block: 34px 22px; }
.overview-heading, .series-heading { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 17px; margin-bottom: 10px; }
.installation-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.installation-type { min-width: 0; border-top: 3px solid var(--brand); background: var(--paper); border-radius: 0 0 11px 11px; overflow: hidden; }
.installation-type.balanced { border-color: #38796c; }
.equipment-photo { position: relative; background: #f3f6f7; }
.equipment-photo img { width: 100%; height: clamp(205px, 25vw, 320px); object-fit: contain; mix-blend-mode: multiply; }
.equipment-photo figcaption { position: absolute; bottom: 5px; right: 10px; padding: 2px 6px; background: #f7fafbf2; color: var(--muted); font-size: .82rem; }
.type-copy { padding: 13px 16px 9px; }
.type-copy h3 { font-size: clamp(1.34rem, 2.2vw, 1.81rem); margin-bottom: 5px; }
.type-series { color: var(--muted); margin-top: 5px; }
.equipment-guide { max-width: 1080px; margin-inline: auto; }
.series-guide > section + section { margin-top: 23px; }
.series-heading h2 { font-size: 1.26rem; }
.series-heading a, .series-list a { font-weight: 650; }
.series-branch + .series-branch { margin-top: 16px; }
.series-branch > h3 { margin-top: 12px; color: var(--muted); font-size: 1.01rem; }
.series-list h4 { margin: 0; font-size: 1.1rem; }
.series-list, .component-list { padding: 0; margin: 8px 0 0; list-style: none; }
.series-list li { display: grid; grid-template-columns: minmax(120px, .4fr) minmax(0, 1fr) auto; align-items: center; gap: 13px; margin: 0; padding: 7px 0; border-top: 1px solid var(--line); }
.series-picture { background: #f2f6f7; border-radius: 6px; }
.series-picture img { width: 100%; height: clamp(102px, 13vw, 156px); object-fit: contain; mix-blend-mode: multiply; }
.series-list p { margin-block: 4px; }
.series-total { color: var(--muted); font-size: .88rem; }
.component-catalog { margin-top: 28px; }
.component-catalog > section { margin-block: 19px; }
.component-list li { margin: 0; }
.component-list a { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 52px; border-top: 1px solid var(--line); text-decoration: none; color: var(--ink); padding: 5px 0; }
.component-list a:hover strong { text-decoration: underline; color: var(--brand-dark); }
.component-list a > span:last-child { white-space: nowrap; color: var(--brand-dark); }
.component-list small { display: block; color: var(--muted); font-size: .9rem; margin-top: 1px; }
.catalog-shortcuts { display: flex; flex-wrap: wrap; gap: 5px 15px; margin-bottom: 8px; }
.catalog-shortcuts a { display: flex; gap: 5px; align-items: center; min-height: 40px; font-weight: 650; text-decoration: none; }
.catalog-shortcuts a[aria-current], .catalog-shortcuts a:hover { text-decoration: underline; }

@media (max-width: 1110px) {
  :root { --sidebar: 212px; }
  .hero { min-height: 300px; }
  .lesson-grid { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .lesson-nav, .lesson-text { position: static; grid-area: auto; }
  .lesson-toc { max-height: none; overflow: visible; }
  .practice-layout { grid-template-columns: minmax(0, 1fr) minmax(195px, .39fr); gap: 12px; }
}
@media (max-width: 890px) {
  .shell { display: block; }
  .sidebar { display: none; }
  .sidebar[data-open="true"] { display: flex; position: fixed; z-index: 10; inset: 0 auto 0 0; height: 100dvh; width: min(280px, 85vw); }
  .scrim:not([hidden]) { display: block; position: fixed; z-index: 9; inset: 0; border: 0; background: #08152288; }
  .topbar .mobile-nav { display: inline-flex; flex: 0 0 42px; }
  .topbar { height: 60px; gap: 12px; }
  .content { padding-top: 18px; }
  .hero-copy h1 { font-size: clamp(2.25rem, 5.3vw, 3.1rem); }
}
@media (max-width: 650px) {
  .topbar { gap: 9px; }
  .mode-switch, .search-trigger kbd { display: none; }
  .installation-pair { grid-template-columns: minmax(0, 1fr); }
  .equipment-photo img { height: clamp(205px, 60vw, 270px); }
  .series-list li { grid-template-columns: minmax(76px, .38fr) minmax(0, 1fr); gap: 5px 9px; }
  .series-total { grid-column: 2; }
  .search-trigger { width: auto; max-width: 206px; gap: 8px; padding-inline: 9px; font-size: .82rem; white-space: nowrap; }
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-copy { padding: 23px 18px 17px; }
  .hero-copy h1 { font-size: clamp(2.17rem, 9.5vw, 3.8rem); max-width: 17ch; }
  .hero-photo { max-height: 210px; overflow: hidden; }
  .hero-photo img { max-height: 210px; }
  .hero-photo figcaption { right: 8px; bottom: 6px; }
  .home-tools { grid-template-columns: minmax(0, 1fr); gap: 5px; }
  .home-tools .quick-link { min-height: 51px; }
  .home-workshop { grid-template-columns: 94px minmax(0, 1fr); gap: 10px; }
  .home-workshop img { height: 105px; }
  .home-workshop p { font-size: .9rem; }
  .grid, .grid.three, .lesson-grid, .product-detail, .form-layout, .calc-grid { grid-template-columns: 1fr; }
  .reading-shell .reading-back { min-height: 42px; }
  .lesson-text { padding: clamp(14px, 3.2vw, 21px); border-radius: 17px; }
  .control-chain li { flex-direction: column; gap: 4px; font-size: .77rem; }
  .control-chain li:not(:last-child)::after { top: 3px; }
  .course-intro, .course-chapter, .scenario-list, .practice-layout, .scenario-layout, .sales-script-grid, .project-examples { grid-template-columns: minmax(0, 1fr); }
  .course-progress { border-inline-start: 0; padding: 10px 0 0; border-top: 1px solid var(--line); }
  .chapter-image { min-height: 0; }
  .chapter-image img { height: 148px; }
  .course-library .section-jumps { gap: 0 7px; }
  .editorial-pair, .reading-steps { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .reading-steps li { padding: 6px 0; }
  .reading-steps span { margin-top: 2px; }
  .call-sections { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .call-sections a { padding-inline: 6px; font-size: .88rem; }
  .glossary-term { grid-template-columns: minmax(0, 1fr); }
  .term-application { grid-column: 1; }
  .topic-heading { gap: 9px; }
  .topic-heading img { width: 84px; height: 59px; }
  .script-aside { position: static; }
  .script-aside .scene-media { max-width: 170px; }
  .factory-steps { grid-template-columns: minmax(0, 1fr); }
  .start-photo { grid-template-columns: minmax(0, 1fr); }
  .start-photo img { height: 126px; object-fit: cover; }
  .practice-feature { grid-template-columns: minmax(0, 1fr); }
  .practice-feature .scene-frame { aspect-ratio: 2.1; }
  .practice-main, .practice-tests { grid-area: auto; }
  .practice-test-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; }
  .practice-test-links a { align-items: start; }
  .practice-test-links .icon { display: none; }
  .scenario-list .scene-media { width: 79px; }
  .scenario-context { grid-column: 1; display: grid; grid-template-columns: 96px minmax(0, 1fr); align-items: center; }
  .scenario-context .scene-media { margin: 6px 0 6px 6px; border-radius: 5px; }
  .scenario-context .scene-media figcaption { padding: 4px 5px; font-size: .75rem; }
  .scenario-context > div { padding: 8px 11px; }
  #dialogue { grid-column: 1; grid-row: 2; }
  .scenario-layout { gap: 11px; }
  .active-line p { font-size: 1.05rem; }
  .call-question { grid-template-columns: 28px minmax(0, 1fr) auto; gap: 8px; padding-inline: 8px; }
  .call-answer { margin-inline: 10px; }
  .call-topic { width: 28px; height: 29px; }
  .call-topic .icon { width: 16px; height: 16px; }
  .form-grid { grid-template-columns: 1fr; }
  .catalog-toolbar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .catalog-toolbar .field:first-child { grid-column: 1 / -1; }
  .catalog-row { grid-template-columns: minmax(0, 1fr) auto; gap: 4px 7px; }
  .catalog-row .product-group { grid-area: 2 / 1; }
  .catalog-row label { grid-area: 1 / 2 / 3; }
  .faq-search { gap: 6px; align-items: stretch; }
  .call-display { gap: 4px; }
  .call-display .btn { width: 41px; min-height: 44px; padding: 0; }
  .call-display .call-display-mark { display: block; }
  .call-display-text { display: none; }
  .call-quick a { padding-inline: 7px; }
  .call-controls { gap: 4px 12px; margin-block: 7px; }
  .call-actions { flex-wrap: wrap; }
  .flow-board { padding: 9px; }
  .flow-node { min-height: 47px; overflow-wrap: anywhere; font-size: .75rem; }
  .card { padding: 14px; }
  .split-row { flex-wrap: wrap; }
}
@media (max-width: 365px) {
  .content { padding-inline: 11px; }
  .search-trigger span:not(.search-icon) { display: none; }
  .search-trigger { width: 42px; justify-content: center; }
  .hero .btn { width: 100%; }
  .hero-photo, .hero-photo img { max-height: 170px; }
  .catalog-row label { font-size: 0; gap: 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: 0s !important; transition-duration: 0s !important; }
}
@media print {
  body, .content, .card { background: #fff; color: #111; }
  .shell { display: block; }
  .sidebar, .topbar, .footer, .btn, .actions, .filters, .faq-search, .call-controls, .notice-toast, dialog, .skip { display: none !important; }
  .call-sections, .call-quick, .call-internal, .call-actions details, .call-decision, .lesson-nav { display: none !important; }
  .call-section-heading { break-after: avoid; }
  .content, .call-layout { max-width: none; margin: 0; padding: 0; }
  .call-card, .test-result { break-inside: avoid; border: 0; border-bottom: 1px solid #888; border-radius: 0; }
  .page-head h1 { font-size: 1.75rem; }
}
.image-zoom, .image-zoom-content { display: block; width: 100%; min-width: 0; }
.image-zoom { position: relative; overflow: hidden; padding: 0; border: 0; color: inherit; background: transparent; text-align: inherit; cursor: zoom-in; }
.image-zoom:focus-visible { outline-offset: -3px; }
.image-zoom-icon { position: absolute; z-index: 1; bottom: 8px; right: 8px; display: grid; width: 33px; height: 33px; place-items: center; border-radius: 50%; background: #102728e8; color: #fff; }
.image-zoom-icon .icon { width: 16px; height: 16px; }
.image-zoom:hover .image-zoom-icon { background: var(--brand-dark); }
.sprite-image { display: block; position: relative; overflow: hidden; width: 100%; aspect-ratio: 1; background: #f5f2ec; }
.sprite-image img, .figure .sprite-image img { position: absolute; width: 300%; height: 300%; max-width: none; max-height: none; padding: 0; object-fit: fill; }
.sprite-image[data-rows="1"] img, .figure .sprite-image[data-rows="1"] img { height: 100%; }
.sprite-image[data-column="0"] img { left: 0; }
.sprite-image[data-column="1"] img { left: -100%; }
.sprite-image[data-column="2"] img { left: -200%; }
.sprite-image[data-row="0"] img { top: 0; }
.sprite-image[data-row="1"] img { top: -100%; }
.sprite-image[data-row="2"] img { top: -200%; }
.image-viewer { color-scheme: dark; width: min(1120px, calc(100vw - 32px)); max-width: none; max-height: 95dvh; border: 1px solid #49595a; border-radius: 17px; padding: 0; background: #142021; color: #f4f9fa; }
.image-viewer::backdrop { background: #0c1517d9; }
body:has(.image-viewer[open]) { overflow: hidden; }
.viewer-shell { position: relative; padding: 44px clamp(13px, 5vw, 58px) 15px; text-align: center; }
.viewer-image { min-width: 0; display: grid; align-items: center; justify-items: center; }
.viewer-image .image-zoom-content { width: fit-content; max-width: 100%; }
.viewer-image .image-zoom-content > img { display: block; width: auto; height: auto; max-width: 100%; max-height: 68dvh; object-fit: contain; margin: auto; border-radius: 8px; }
.viewer-image .image-zoom-content:has(> .catalog-picture) { width: min(85vw, 65dvh); }
.viewer-image .sprite-image { width: min(68dvh, 85vw); border-radius: 9px; }
.viewer-image .control-wall { width: min(84vw, 960px, 120dvh); }
.viewer-shell figcaption { margin-top: 9px; padding: 0 4px; font-size: .92rem; color: #dae9e9; }
.viewer-control { position: absolute; z-index: 2; display: grid; place-items: center; width: 41px; height: 41px; border: 1px solid #596d6e; border-radius: 50%; color: #fff; background: #253739; font-size: 1.65rem; line-height: 1; }
#viewer-close { top: 7px; right: 9px; }
#viewer-prev { top: 47%; left: 9px; }
#viewer-next { top: 47%; right: 9px; }
.viewer-thumbs { display: flex; justify-content: safe center; gap: 7px; margin: 11px auto 0; max-width: 100%; overflow-x: auto; padding: 4px; }
.viewer-thumb { flex: 0 0 54px; aspect-ratio: 1; overflow: hidden; border: 2px solid transparent; border-radius: 8px; padding: 0; background: #fff; }
.viewer-thumb[aria-current] { border-color: var(--sky); }
.viewer-thumb .image-zoom-content, .viewer-thumb .catalog-picture, .viewer-thumb img { height: 100%; width: 100%; object-fit: contain; }
.figure.product-illustration img { width: 100%; height: clamp(165px, 23vw, 320px); padding: 0; }
.figure.document-figure img { width: 100%; height: auto; }
.control-wall { display: block; position: relative; overflow: hidden; }
.wall-panel .control-wall > img, .viewer-image .control-wall > img { display: block; width: 100%; height: auto; max-height: none; }
.wall-screen { position: absolute; left: 56.15%; top: 32.4%; width: 17.2%; aspect-ratio: 1; border-radius: 9%; background: #06121e url('/media/panel-ui.webp') center / 123% no-repeat; }
.panel-reading, .panel-connection { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1fr); align-items: start; gap: 14px; margin-block: 14px; }
.panel-closeup .panel-canvas > img, .viewer-image .panel-canvas > img { width: 100%; height: auto; max-height: none; background: #fff; }
.viewer-image .panel-canvas { width: min(70dvh, 85vw); }
.viewer-image .air-house-canvas { width: min(1130px, 88vw, 102dvh); }
.panel-pin, .zone-number { display: inline-grid; flex: 0 0 25px; width: 25px; height: 25px; place-items: center;
  border-radius: 50%; background: var(--brand-dark); color: #fff; font-size: .82rem; font-weight: 730; line-height: 1; }
.panel-pin { position: absolute; border: 2px solid #fff; transform: translate(-50%, -50%); }
.panel-pin[data-zone="1"] { left: 27%; top: 31%; }
.panel-pin[data-zone="2"] { left: 70%; top: 31%; }
.panel-pin[data-zone="3"] { left: 49%; top: 70%; }
.panel-zones { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.panel-zones li { display: flex; align-items: start; gap: 9px; margin: 0; padding-block: 7px; border-bottom: 1px solid var(--line); }
.panel-zones p, .panel-connection p { margin-top: 4px; line-height: 1.49; }
.panel-connection .lesson-doc { margin-top: 9px; }
.model-decoder, .duct-showcase { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.model-decoder > div { padding: 9px 10px; border-inline-start: 2px solid var(--brand); background: var(--soft); border-radius: 0 7px 7px 0; }
.model-decoder dt { color: var(--brand-dark); font-weight: 740; }
.model-decoder dd { margin: 2px 0 0; line-height: 1.4; }
.duct-part { display: grid; grid-template-rows: auto 1fr; gap: 7px; min-width: 0; }
.duct-part h3 { overflow-wrap: anywhere; font-size: clamp(1.02rem, 1.55vw, 1.28rem); }
.duct-part-photo img { width: 100%; height: auto; aspect-ratio: 1.28; object-fit: contain; background: #fff; padding: 5px; }
.duct-part-photo figcaption { border-top: 1px solid var(--line); line-height: 1.5; }
.duct-part-photo a { display: inline-flex; align-items: center; min-height: 27px; }
.term-photo .image-zoom-content > img { object-fit: contain; background: #fff; }
.heater-study, .frost-story, .system-overview { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(12px, 2.4vw, 25px); align-items: start; }
.system-overview { padding: clamp(10px, 2vw, 23px); margin-bottom: 22px; background: var(--paper); border: 1px solid var(--line); border-radius: 17px; }
.heater-study .heat-path { margin-block: 0 8px; }
.heater-example { padding: 0; background: transparent; }
.heater-text { padding: 10px; }
.heater-text > a { display: inline-block; margin-top: 10px; font-weight: 650; }
.frost-story { padding: clamp(12px, 2vw, 20px); border: 1px solid var(--line); border-radius: 16px; background: var(--soft); }
.frost-photo .image-zoom-content > img { width: 100%; height: auto; }
.frost-steps { margin-block: 10px; }
.frost-story > div > a { display: inline-block; margin-top: 8px; }
.topic-heading { margin-block: 12px 9px; }
.glossary-term { display: grid; grid-template-columns: clamp(72px, 14%, 122px) minmax(0, 1fr); gap: 14px; align-items: start; }
.term-illustration { border-radius: 10px; overflow: hidden; border: 1px solid var(--line); }
.term-illustration .image-zoom-content > img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.term-illustration .image-zoom-icon { width: 24px; height: 24px; bottom: 4px; right: 4px; }
.term-illustration .image-zoom-icon .icon { width: 13px; height: 13px; }
.term-definition > h3 { margin-bottom: 5px; }
.term-definition > p { line-height: 1.55; }
.learner-question { margin-top: 25px; padding: 17px 20px; border-inline-start: 4px solid var(--brand); border-radius: 0 12px 12px 0; background: var(--pale); }
.learner-question h2 { font-size: clamp(1.13rem, 2.2vw, 1.56rem); margin-bottom: 6px; }
.lesson-segment .lesson-context { color: var(--muted); }
.lesson-topic-sources { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; margin-top: 11px; }
.lesson-doc { justify-content: flex-start; min-height: 40px; gap: 7px; padding: 6px 10px; text-align: left; font-size: .89rem; line-height: 1.35; }
.lesson-doc .icon { flex: 0 0 16px; height: 16px; }
.lesson-opening { margin-top: 0; }
.lesson-opening:has(.lesson-segment + .lesson-segment) { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.lesson-opening:has(.lesson-segment + .lesson-segment) .lesson-segment { margin: 0; padding: 13px 15px; border-top: 3px solid var(--brand); background: var(--soft); border-radius: 0 0 9px 9px; }
.lesson-opening .lesson-segment h2 { font-size: 1.35rem; }
.lesson-opening .lesson-segment p { font-size: 1rem; }
.lesson-example p { margin-top: 3px; }
.lesson-example p:nth-child(3) { margin-top: 12px; }
.mode-switch { display: inline-flex; gap: 4px; padding: 4px; border-color: #9ab4b7; border-radius: 12px; background: #e8f1f1; }
.mode-switch a { gap: 6px; min-height: 39px; color: #19464e; border-radius: 8px; }
.mode-switch a[data-current] { background: #005672; color: #fff; box-shadow: 0 1px 3px #153d4f42; }
.mode-switch a[data-current]:hover { color: #fff; }
.dialogue-review blockquote, .dialogue-line.manager { border-inline-start: 4px solid #b4711d; background: #fff0d4; color: #3a2a19; }
.dialogue-review blockquote b, .dialogue-line.manager b { color: #74420e; }
.dialogue-review[data-tone="warn"] h2 { color: #88511d; }
.dialogue-review[data-tone="ok"] h2 { color: #146451; }
.dialogue-review[data-tone="error"] h2 { color: #9f3934; }
.catalog-row { grid-template-columns: clamp(68px, 9.5vw, 114px) minmax(0, 1fr) auto auto; }
.catalog-picture { position: relative; display: block; width: 100%; min-height: 0; aspect-ratio: 1; overflow: hidden; border-radius: 8px; background: #fff; }
.catalog-picture > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.catalog-picture-fallback { position: absolute; inset: 0; display: grid; justify-items: center; align-content: center; gap: 5px; padding: 5px; background: var(--soft); color: var(--muted); font-size: .74rem; text-align: center; }
.catalog-picture-fallback .icon { width: 20px; height: 20px; }
.catalog-price { white-space: nowrap; }
.storefront-gallery > .image-zoom .catalog-picture { aspect-ratio: 1.1; }
.storefront-gallery > .image-zoom .catalog-picture img { height: 100%; max-height: none; background: #fff; }
.product-thumbs { display: flex; overflow: auto; gap: 6px; padding: 8px; background: var(--soft); }
.product-thumbs .image-zoom { flex: 0 0 72px; border: 1px solid var(--line); border-radius: 8px; }
.product-thumbs .image-zoom-icon { width: 19px; height: 19px; bottom: 3px; right: 3px; }
.product-thumbs .image-zoom-icon .icon { width: 12px; height: 12px; }
.product-price-box { padding: 10px 12px; border-radius: 9px; background: var(--soft); }
.product-value { font: 800 2.1rem/1.2 var(--display); }
.catalog-related { margin-top: 25px; }
.visual-components a { display: grid; grid-template-columns: 58px minmax(0, 1fr) auto; gap: 11px; align-items: center; }
.visual-components a strong { overflow-wrap: anywhere; }
.request-tools, .request-result, .requests-saved { margin-block: 14px; }
.request-import, .request-extras { border: 1px solid var(--line); border-radius: 9px; padding: 8px 11px; }
.request-import summary, .request-extras summary { padding-block: 5px; font-weight: 680; color: var(--brand-dark); }
.request-import[open] .field, .request-extras[open] .form-grid { margin-top: 8px; }
.request-import .actions { margin-top: 7px; }
.request-file { display: grid; gap: 3px; min-width: 0; font-size: .9rem; }
.request-file input { max-width: 100%; }
.note-fields { display: grid; gap: 7px; margin: 8px 0; }
.note-fields label { display: flex; gap: 8px; align-items: flex-start; overflow-wrap: anywhere; padding: 5px; background: var(--soft); }
.note-fields span { white-space: pre-line; }
.request-records { padding: 0; list-style: none; }
.request-records a { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 7px; align-items: center; min-height: 44px; padding: 5px 8px; border-bottom: 1px solid var(--line); text-decoration: none; overflow-wrap: anywhere; }
.request-records a[aria-current] { background: var(--pale); }
.request-records small { color: var(--muted); }

.installation-story { display: grid; gap: clamp(16px, 2.5vw, 24px); }
.installation-canvas { display: block; position: relative; }
.installation-photo .installation-canvas > img, .viewer-image .installation-canvas > img {
  display: block; width: 100%; height: auto; max-height: none;
}
.viewer-image .installation-canvas { width: min(66dvh, 78vw); }
.installation-mark { position: absolute; display: inline-flex; align-items: center; gap: 5px; max-width: 46%;
  transform: translate(-12px, -50%); color: #fff; font-size: clamp(.74rem, 1.25vw, .95rem); font-weight: 720; line-height: 1.2; }
.installation-mark b, .installation-index { display: inline-grid; flex: 0 0 27px; width: 27px; height: 27px; place-items: center;
  border: 2px solid #fff; border-radius: 50%; background: #005672; color: #fff; font-size: .84rem; line-height: 1; }
.installation-mark b { box-shadow: 0 0 0 1px #16343a; }
.installation-mark > span { padding: 5px 7px; border-radius: 5px; background: #142426f2; }
.installation-mark[data-part="1"] { left: 47%; top: 78%; }
.installation-mark[data-part="2"] { left: 48%; top: 57%; }
.installation-mark[data-part="3"] { left: 47%; top: 36%; }
.installation-mark[data-part="4"] { left: 57%; top: 15%; }
.installation-notes, .construction-legend { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 18px; margin: 0; padding: 0; }
.installation-notes { list-style: none; }
.installation-notes li { display: flex; gap: 8px; align-items: start; min-width: 0; margin: 0; padding-block-start: 9px; border-top: 1px solid var(--line); }
.installation-notes h2, .installation-route h2, .installation-silencer h2 { font-size: clamp(1.12rem, 2vw, 1.42rem); margin-bottom: 5px; }
.installation-notes p, .installation-silencer p { line-height: 1.55; }
.installation-route { padding: clamp(11px, 2vw, 17px); border-left: 3px solid var(--brand); border-radius: 0 10px 10px 0; background: var(--pale); }
.installation-route ol { display: flex; flex-wrap: wrap; gap: 6px 9px; margin: 0 0 8px; padding: 0; list-style: none; font-weight: 700; }
.installation-route li { margin: 0; }
.installation-route li:not(:last-child)::after { content: " →"; color: var(--brand-dark); }
.installation-silencer { display: grid; grid-template-columns: minmax(150px, .75fr) minmax(0, 1fr); align-items: start; gap: 15px; }
.installation-silencer .figure img { height: auto; }
.installation-silencer p + p { margin-top: 7px; }
.installation-silencer .btn { margin-top: 9px; }
.heating-studies, .exchange-steps { display: grid; gap: 14px; }
.exchange-steps { grid-template-columns: repeat(auto-fit, minmax(min(100%, 242px), 1fr)); align-items: start; }
.heating-studies > section, .exchange-steps > section { border-bottom: 1px solid var(--line); padding-block-end: 14px; }
.heater-study h2, .exchange-steps h3 { margin-bottom: 8px; font-size: 1.3rem; }
.heater-study .lesson-doc { margin-top: 8px; }
.construction-legend { margin-top: 12px; padding-inline-start: 24px; }
.construction-legend li { margin: 0; padding-inline-start: 2px; }
.construction-legend li::marker { color: var(--brand-dark); font-weight: 700; }

@media (max-width: 650px) {
  .lesson-opening:has(.lesson-segment + .lesson-segment), .factory-steps, .installation-notes,
  .installation-silencer, .construction-legend { grid-template-columns: minmax(0, 1fr); }
  .factory-steps .figure { display: block; }
  .factory-steps .figure img { max-height: 340px; }
  .installation-mark > span { display: none; }
  .topbar .mode-switch { order: 2; padding: 2px; gap: 2px; margin-left: auto; }
  .topbar .mode-switch a { font-size: .84rem; padding-inline: 5px; }
  .mode-switch .icon { display: none; }
  .topbar .search-trigger { order: 3; margin-left: 0; width: 42px; min-width: 42px; justify-content: center; }
  .topbar .search-trigger span:not(.search-icon) { display: none; }
  .topbar .breadcrumb { display: none; }
  .panel-reading, .panel-connection, .heater-study, .frost-story, .system-overview { grid-template-columns: minmax(0, 1fr); }
  .panel-closeup { width: min(100%, 320px); }
  .lesson-tools summary, .lesson-jump { min-height: 38px; }
  .duct-showcase { gap: 10px; }
  .duct-part-photo figcaption { padding: 7px 8px; }
  .glossary-term { gap: 9px; padding-inline: 9px; }
  .catalog-row { grid-template-columns: 60px minmax(0, 1fr) auto; gap: 4px 7px; }
  .catalog-item-photo { grid-row: 1 / 3; }
  .catalog-row-info { grid-column: 2 / 4; }
  .catalog-price { grid-area: 2 / 2; }
  .catalog-row label { grid-area: 2 / 3; }
  .image-viewer { width: 100vw; max-height: 100dvh; border-radius: 10px; }
  .viewer-shell { padding-inline: 8px; }
  #viewer-prev, #viewer-next { width: 34px; height: 34px; }
}
