/* Kino UI V1 · shared by the three public language editions. */
:root {
  --ink: #102d31;
  --navy: #145452;
  --steel: #46625e;
  --paper: #eff3f0;
  --line: #cdd8d3;
  --accent: #145852;
  --accent-d: #0c413e;
  --text: #253a38;
  --muted: #51645f;
  --signal: #dcf483;
  --wrap: 1240px;
  --narrow: 850px;
}
body { font-family: "Segoe UI","Microsoft YaHei",Arial,sans-serif; }
.wrap { padding-inline: clamp(18px,4vw,54px); }
h1,h2,h3 { text-wrap: balance; }
.site-header { border-top: 4px solid var(--ink); }
.site-header .bar { gap: 0 18px; }
.site-header .langs a { border-radius: 3px; }
.site-header .langs a[aria-current] { background: var(--paper); border-color: var(--line); }
.main-nav ul { align-items: center; }
.site-header .main-nav a { font-size: .88rem; font-weight: 600; }
.main-nav li:last-child a { background: var(--ink); color: white; padding-inline: 16px; border-radius: 3px; }
.site-header .main-nav li:last-child a:hover,
.site-header .main-nav li:last-child a[aria-current] { color: white; background: var(--navy); }
@media(min-width:760px) {
  .main-nav { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 6px; }
  .main-nav li:last-child { margin-left: auto; }
}
.crumbs { padding-block: 10px; }
.feature, .chooser {
  background-color: var(--ink);
  background-image: linear-gradient(90deg,rgba(188,221,211,.045) 1px,transparent 1px),
                    linear-gradient(rgba(188,221,211,.045) 1px,transparent 1px);
  background-size: 48px 48px;
  color: white;
}
.feature { border-bottom: 5px solid var(--signal); }
.feature-grid { display: grid; align-items: center; gap: 32px; padding-block: clamp(34px,5vw,72px); }
.feature-copy { min-width: 0; }
.feature h1 { color: white; font-size: clamp(2.15rem,4.5vw,4.2rem); line-height: 1.05; letter-spacing: -.042em; max-width: 24ch; }
.feature .lead { color: #d4e2dd; max-width: 64ch; line-height: 1.55; }
.feature .fig { margin: 0; }
.feature .fig img { width: 100%; border: 0; aspect-ratio: 3/2; object-fit: cover; }
.feature .fig figcaption { color: #d4e2dd; font-size: .83rem; }
.btn { border-radius: 3px; }
.feature .btn:not(.ghost-light) { color: var(--ink); background: var(--signal); border-color: var(--signal); }
.feature .btn:not(.ghost-light):hover { background: #efffb8; }
.feature .btn::after,.lang-list a::after { content: "→"; margin-left: .85em; }
.feature .btn.ghost-light { border-color: #839e98; }
@media(min-width:820px) {
  .feature-grid:has(.fig) { grid-template-columns: 1.05fr 1fr; gap: clamp(30px,5vw,74px); }
  .feature-grid:not(:has(.fig)) .feature-copy { display: grid; grid-template-columns: 1fr .85fr; column-gap: 7%; align-items: start; }
  .feature-grid:not(:has(.fig)) h1 { grid-row: span 2; margin: 0; }
  .feature-grid:not(:has(.fig)) .cta-row { margin-top: 6px; }
}
.band { padding-block: clamp(38px,5vw,70px); }
.business-section { background: #f5f7f3; }
.business-card,.software-card,.product-card { background: white; border: 1px solid var(--line); padding: clamp(18px,2.4vw,32px); border-radius: 4px; }
.business-division { display: flex; align-items: center; gap: 10px; letter-spacing: .1em; color: var(--navy); }
.business-division::before { content: ""; width: 24px; height: 4px; background: var(--accent); }
.business-card h3 { font-size: clamp(1.4rem,2vw,1.85rem); }
.business-inputs { border-left: 2px solid var(--line); }
.blk { padding-block: 1.5rem; border-top: 1px solid var(--line); }
.page-head { background: var(--paper); padding-block: 36px; }
.catalog-controls,.basket { padding: 20px; background: var(--paper); border-radius: 4px; }
.catalog-controls input,.catalog-controls select,.product-quantity input,.basket-row input { padding: 8px; border: 1px solid #81958f; border-radius: 3px; font: inherit; }
.product-card { display: flex; flex-direction: column; }
.product-card .product-quantity { margin-top: auto; }
.product-card h3 { border-top: 1px solid var(--line); padding-top: 12px; }
.rfq { background: white; border: 1px solid var(--line); border-top: 4px solid var(--accent); padding: clamp(16px,3vw,34px); }
.rfq .field :is(input,select,textarea) { border-radius: 3px; border-color: #879a93; }
.rfq .grid { grid-template-columns: minmax(0,1fr); }
@media(min-width:640px) { .rfq .grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }
.rfq :is(fieldset,.field) { min-width: 0; }
.site-footer { border-top: 5px solid var(--signal); }
.chooser-in { padding-block: clamp(48px,12vh,150px); }
.chooser .logo-frame { background: white; }
.chooser h1 { font-size: clamp(2rem,5vw,4rem); max-width: 25ch; line-height: 1.15; }
.lang-list { max-width: 760px; grid-template-columns: repeat(auto-fit,minmax(min(100%,180px),1fr)); }
.lang-list a { display: flex; justify-content: space-between; align-items: center; border-color: #8ca6a0; }
.lang-list a:hover { background: var(--signal); }
@media(max-width:759px) {
  .site-header .bar { gap: 4px 8px; }
  .site-header .main-nav { width: 100%; padding-top: 8px; }
  .site-header .main-nav a { display: block; }
  .site-header .langs a { padding-inline: 6px; }
  .site-header .logo-frame { width: 128px; height: 24px; }
  .site-header .logo-frame img { width: 178px; height: 59px; left: -25px; top: -20px; }
}


/* Long division pages and buyer resources. */
.section-nav { display: flex; flex-wrap: wrap; gap: 6px 18px; padding-block: 16px; border-bottom: 1px solid var(--line); }
.section-nav a { display: inline-flex; align-items: center; min-height: 40px; font-size: .94rem; }
.blk[id],#catalog,#rfq { scroll-margin-top: 18px; }
.page-head { background: var(--ink); color: #d4e2dd; border-bottom: 4px solid var(--signal); }
.page-head h1 { color: white; max-width: 32ch; }
.page-head .lead { color: #d4e2dd; }
.page-head p:last-child { margin-bottom: 0; }
.directory,.guide { display: grid; gap: 16px; padding-block: clamp(26px,4vw,58px); }
.directory section,.guide .blk { padding: clamp(18px,2.8vw,36px); margin: 0; border: 1px solid var(--line); border-top: 3px solid var(--navy); }
.directory ul,.reference ul { list-style: none; margin: 0; padding: 0; }
.directory li + li,.reference li + li { border-top: 1px solid var(--line); }
.directory li a,.reference li a { display: block; padding-block: 10px; }
.directory h2,.guide h2 { font-size: clamp(1.25rem,2vw,1.65rem); }
.guide .blk p:last-child { margin-bottom: 0; }
.guide > p { grid-column: 1/-1; margin: 0; }
.reference dl { display: grid; grid-template-columns: minmax(0,.9fr) minmax(0,1fr); margin: 0; }
.reference dt,.reference dd { margin: 0; border-bottom: 1px solid var(--line); padding: 10px 6px; overflow-wrap: anywhere; }
.reference dt { font-weight: 600; color: var(--steel); }
.reference .blk:has(dl) { display: grid; gap: 14px 32px; }
.reference .blk:has(dl) img { background: white; object-fit: contain; width: 100%; max-height: 240px; border: 1px solid var(--line); }
.reference .blk:has(dl) p { grid-column: 1/-1; max-width: 76ch; margin: 0; }
.reference #enquire { padding: clamp(18px,3vw,32px); background: var(--paper); }
@media(min-width:760px) {
  .directory,.guide { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .reference .blk:has(dl) { grid-template-columns: minmax(220px,.55fr) minmax(0,1fr); align-items: center; }
  .reference .blk:has(dl) h2 { grid-column: 1/-1; }
  .steps { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); column-gap: 32px; }
}
.software-status { border-radius: 3px; }
.software-card { display: flex; flex-direction: column; align-items: flex-start; }
.software-note { margin-top: auto; width: 100%; }
.catalog-controls { border: 1px solid var(--line); }
#catalog-count,#cart-total { font-weight: 650; color: var(--navy); font-variant-numeric: tabular-nums; }
#catalog-pages { display: flex; flex-wrap: wrap; gap: 10px; padding-block: 14px; }
#catalog-pages button:disabled { color: var(--muted); border-color: var(--line); background: var(--paper); cursor: default; }
#prepared-enquiry { margin-top: 24px; padding: clamp(16px,3vw,32px); background: white; border-left: 4px solid var(--accent); }
.rfq :is(input,textarea,select):focus-visible { outline: 3px solid var(--navy); outline-offset: 2px; }
#rfq-status:not(:empty),#file-status:not(:empty) { padding: 12px 16px; border-left: 3px solid var(--accent); background: var(--paper); }
.lang-list a:focus-visible,.feature :focus-visible,.site-footer :focus-visible { outline: 3px solid var(--signal); outline-offset: 3px; }
.lang-list a { border-radius: 3px; background: #193b3d; }
.chooser-in { border-bottom: 4px solid var(--signal); }
.site-footer .cols { row-gap: 24px; }
.site-footer li a { display: inline-block; padding-block: 5px; }
@media(max-width:600px) {
  .section-nav { gap: 4px 16px; }
  .site-footer .cols { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .site-footer .cols > :first-child,.site-footer .cols > :last-child { grid-column: 1/-1; }
}

h1 .title-unit { display: inline-block; white-space: nowrap; }
.crumbs a, main :is(p,h2,h3,li) > a:not(.btn),.site-footer a {
  display: inline-flex; align-items: center; min-height: 40px; min-width: 40px; max-width: 100%;
}
.crumbs a { justify-content: center; }
.chooser .lang-list a { display: flex; }
.directory li a,.reference li a { width: 100%; }
.site-footer li a { display: inline-flex; }
.langs a,.main-nav a,.section-nav a,button { min-width: 40px; }
.rfq :is(input,select,textarea):not([type=hidden]),.product-quantity input,.basket-row input { min-height: 40px; }
.consent,.cart-remember { position: relative; padding-inline-start: 40px; min-height: 40px; align-content: center; }
.rfq :is(.consent,.cart-remember) input[type=checkbox] {
  position: absolute; inset-inline-start: 0; top: 50%; transform: translateY(-50%);
  width: 40px; height: 40px; margin: 0; cursor: pointer; appearance: none;
  background: transparent; border: 0; display: grid; place-items: center;
}
.rfq :is(.consent,.cart-remember) input[type=checkbox]::before {
  content: ""; width: 18px; height: 18px; border: 1px solid currentColor; border-radius: 3px;
}
.rfq :is(.consent,.cart-remember) input:checked::before {
  content: "✓"; background: var(--navy); color: white; text-align: center; font: bold 15px/18px system-ui;
}
@media(max-width:767px) {
  body :is(input,select,textarea) { font-size: max(16px,1em); }
  #parts-file,.rfq .field :is(input,select,textarea) { font-size: max(16px,1em); }
}

/* Buyer FAQ */
#faq details{border-bottom:1px solid rgba(0,0,0,.12);padding:.7rem 0}
#faq summary{cursor:pointer;font-weight:600;line-height:1.5}
#faq details p{margin:.5rem 0 .2rem}
