/* VOX-S Demo cabinet — follows voxordia.com (siteVOXORDIA/src/assets/site.css): Geologica, bone page, red ring,
   pill buttons, white form cards with 24px radius. Tokens are copied, not imported: Remote is served without the site. */
@font-face { font-family: Geologica; src: url("/assets/fonts/geologica-cyrillic.woff2") format("woff2"); font-display: swap; unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: Geologica; src: url("/assets/fonts/geologica-latin-ext.woff2") format("woff2"); font-display: swap; unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: Geologica; src: url("/assets/fonts/geologica-latin.woff2") format("woff2"); font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --ink: #111111; --ink-2: #2a2a2a; --red: #E5322D; --red-dark: #FF4A3D; --bone: #F4F2EF; --paper: #FFFFFF;
  --grey: #8C8781; --grey-2: #5E5A55; --line: #E2DED8; --green: #2E7D4F;
  --wrap: 1180px; --gutter: 24px;
  --font: "Geologica", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.6; color: var(--ink); background: var(--bone); }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.12; letter-spacing: -0.015em; font-weight: 700; overflow-wrap: break-word; text-wrap: balance; }
p { margin: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 4px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.ring { display: inline-block; width: .9em; height: .9em; border-radius: 50%; border: .24em solid var(--red); flex: none; }
.brand-o, .dot { color: var(--red); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 24px; border-radius: 999px; font: 600 16px/1.2 var(--font); text-decoration: none; border: 2px solid var(--ink); background: var(--ink); color: #fff; cursor: pointer; transition: background .15s, color .15s, border-color .15s; text-align: center; }
.btn:hover { background: var(--red); border-color: var(--red); }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn--sm { min-height: 40px; padding: 0 18px; font-size: 15px; }
.link { color: var(--ink); background: none; border: 0; padding: 0; font: inherit; font-weight: 600; text-decoration: underline; text-decoration-color: var(--red); text-underline-offset: 4px; cursor: pointer; }
.link:hover { color: var(--red); }

/* Header */
.header { position: sticky; top: 0; z-index: 50; background: rgba(244, 242, 239, .92); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.header__inner { display: flex; align-items: center; gap: 20px; height: 72px; }
.logo-wrap { position: relative; flex: none; line-height: 0; }
.logo img { height: 22px; width: auto; }
.logo-o { position: absolute; left: 11.10%; top: 0; width: 9.91%; height: 100%; border-radius: 50%; }
.logo-o::before { content: ""; position: absolute; inset: -8px; }
.header__section { margin-right: auto; padding-left: 20px; border-left: 1px solid var(--line); font-size: 14px; font-weight: 600; color: var(--grey-2); }
.lang { position: relative; font-size: 14px; font-weight: 600; }
.lang summary { list-style: none; cursor: pointer; padding: 6px 10px; border: 1px solid var(--line); border-radius: 999px; }
.lang summary::-webkit-details-marker { display: none; }
.lang ul { position: absolute; right: 0; top: calc(100% + 6px); margin: 0; padding: 6px; list-style: none; background: #fff; border: 1px solid var(--line); border-radius: 12px; min-width: 150px; box-shadow: 0 12px 32px rgba(0, 0, 0, .08); z-index: 60; }
.lang li a { display: block; padding: 8px 12px; border-radius: 8px; text-decoration: none; font-weight: 500; }
.lang li a:hover, .lang li a[aria-current] { background: var(--bone); }

/* Sections */
.section { padding: 72px 0 96px; }
.kicker { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--red); margin-bottom: 18px; }
.kicker .ring { width: 14px; height: 14px; border-width: 3.5px; }
h1 { font-size: clamp(40px, 5.6vw, 72px); letter-spacing: -.03em; margin-bottom: 22px; }
.h1--account { font-size: clamp(32px, 4.2vw, 52px); }
.lead { font-size: 19px; color: var(--grey-2); max-width: 46ch; }
.list-title { font-size: 14px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--grey); margin: 40px 0 14px; }
.contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: start; }
.contact > * { min-width: 0; }
.contact__forms { display: grid; gap: 16px; }
.how { list-style: none; margin: 0; padding: 0; display: grid; }
.how li { display: flex; gap: 16px; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 17px; }
.how li:first-child { border-top: 1px solid var(--line); }
.how__n { flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; border: 3px solid var(--red); font-size: 13px; font-weight: 700; transform: translateY(-2px); }
.trust { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 10px; }
.trust li { display: flex; align-items: center; gap: 12px; font-size: 16px; font-weight: 600; }
.trust .ring { width: 12px; height: 12px; border-width: 3px; }

/* Notices */
.notice { background: #e8f2ec; color: #1d5236; border-radius: 16px; padding: 14px 18px; font-size: 15px; font-weight: 500; margin: 0 0 16px; }
.notice--err { background: #fce9e6; color: #9b1d1b; }
main > .notice { margin-top: 20px; }

/* Form card — the site's contact form */
.form { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 32px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form--quiet { background: transparent; }
.form--flat { border: 0; padding: 18px 0 0; border-radius: 0; background: transparent; }
.form__head h2 { font-size: 26px; margin-bottom: 6px; }
.form__head p, .form__hint { font-size: 15px; color: var(--grey-2); }
.form__section { margin-top: 10px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--grey); }
.field { display: grid; gap: 6px; align-content: start; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label, .field legend { font-size: 14px; font-weight: 600; color: var(--ink-2); }
.field small { font-size: 13px; color: var(--grey); line-height: 1.45; }
.field input:not([type=file]), .field textarea, .field select { font: inherit; font-size: 16px; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--paper); color: var(--ink); width: 100%; min-width: 0; }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--ink); }
.field input[readonly] { background: var(--bone); color: var(--grey-2); }
.field fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.field.is-missing label::after { content: " •"; color: var(--red); }
.field.is-missing input { border-color: var(--red); background: #fff8f7; }
.req { color: var(--red); }
.options { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.options label { position: relative; }
.options input { position: absolute; opacity: 0; inset: 0; }
.options span { display: inline-block; padding: 8px 14px; border-radius: 999px; border: 1.5px solid var(--line); font-size: 14px; font-weight: 500; cursor: pointer; background: #fff; }
.options input:checked + span { background: var(--ink); color: #fff; border-color: var(--ink); }
.options input:focus-visible + span { outline: 3px solid var(--red); outline-offset: 2px; }
.scope { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding: 18px; border-radius: 16px; background: var(--bone); }
.scope p { font-size: 14px; line-height: 1.5; color: var(--ink-2); }
.scope__title { font-weight: 700; margin-bottom: 4px; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--ink-2); }
.check--consent a { color: var(--ink); }
.check input { margin: 3px 0 0; width: 18px; height: 18px; accent-color: var(--red); flex: none; }
.form__foot { grid-column: 1 / -1; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }

/* Requests */
.requests { display: grid; gap: 20px; margin-top: 32px; }
.request { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 32px; }
.request__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; margin-bottom: 22px; }
.request__title h2 { font-size: 26px; }
.request__meta { margin-top: 4px; font-size: 14px; color: var(--grey); }
.request__side { display: grid; justify-items: end; gap: 2px; text-align: right; flex: none; margin-left: auto; }
.request__status { font-size: 14px; color: var(--red); }
.request__date { font-size: 14px; color: var(--grey); font-variant-numeric: tabular-nums; }
.stepper { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; list-style: none; margin: 0 0 20px; padding: 0; }
.stepper li { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 999px; background: var(--bone); font-size: 13px; font-weight: 600; color: var(--grey-2); min-width: 0; }
.stepper .ring { width: 12px; height: 12px; border-width: 3px; border-color: var(--line); }
.stepper .is-done { color: var(--green); }
.stepper .is-done .ring { border-color: var(--green); background: var(--green); }
.stepper .is-current { background: var(--ink); color: #fff; }
.stepper .is-current .ring { border-color: var(--red-dark); }
.next { padding: 22px 24px; border-radius: 16px; background: var(--bone); display: grid; gap: 10px; justify-items: start; }
.next h3 { font-size: 20px; }
.next p { font-size: 16px; color: var(--ink-2); max-width: 70ch; }
.next--action { background: #fff4f2; box-shadow: inset 0 0 0 1.5px #f3c3be; }
.upload { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 14px; align-items: end; width: 100%; margin-top: 6px; }
.upload input[type=file] { font: inherit; font-size: 14px; }
.block { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); }
.block h3 { font-size: 16px; margin-bottom: 8px; }
.block .link { margin-right: 18px; }
details.block > summary { cursor: pointer; font-weight: 700; font-size: 16px; list-style: none; display: flex; align-items: center; gap: 12px; }
details.block > summary::before { content: ""; width: 9px; height: 9px; border-right: 2.5px solid var(--ink); border-bottom: 2.5px solid var(--ink); transform: rotate(-45deg); transition: transform .15s; }
details.block[open] > summary::before { transform: rotate(45deg); }
details.block > summary::-webkit-details-marker { display: none; }
.hint { font-size: 14px; color: var(--grey-2); margin-top: 6px; }
.hint--ok { color: var(--green); font-weight: 600; }
.key { margin: 14px 0 0; }
.key dt { font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--grey); }
.key dd { margin: 6px 0 0; }
.key code { display: inline-block; font: 700 20px/1.2 Consolas, "SFMono-Regular", monospace; letter-spacing: .06em; padding: 10px 14px; background: var(--bone); border-radius: 12px; user-select: all; overflow-wrap: anywhere; }
.dist .btn { margin-bottom: 4px; }
.member-list { list-style: none; margin: 12px 0 0; padding: 0; }
.member-list li { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 10px 0; border-top: 1px solid var(--line); font-size: 15px; }
.member-list li span { flex: 1 1 240px; min-width: 0; overflow-wrap: anywhere; }
.member-list li em { font-style: normal; font-size: 13px; color: var(--grey-2); }
.member-list form { margin: 0; }
.member-list .link { font-size: 13px; }
.member-form { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) auto; gap: 12px; align-items: end; margin-top: 12px; }
.requests__help { margin-top: 20px; font-size: 14px; color: var(--grey-2); max-width: 80ch; }
.cabinet-quotes { margin-top: 0; }
.cabinet-quotes__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.view-switch { display: inline-flex; padding: 3px; border: 1px solid var(--line); border-radius: 999px; background: #fff; }
.view-switch a { padding: 7px 13px; border-radius: 999px; color: var(--grey-2); text-decoration: none; font-size: 13px; font-weight: 700; }
.view-switch a.is-active { background: var(--ink); color: #fff; }
.quote-project { padding-top: 12px; }
.quote-project + .quote-project { margin-top: 12px; border-top: 1px solid var(--line); }
.quote-project p { margin: 5px 0; }

/* Footer — the site footer, compact */
.footer { background: var(--ink); color: #bdb7af; padding: 48px 0 36px; font-size: 15px; }
.footer__top { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.footer__top img { height: 22px; width: auto; }
.footer__slogan { color: #fff; font-weight: 600; }
.footer__bottom { margin-top: 28px; padding-top: 22px; border-top: 1px solid #2c2b2a; display: flex; gap: 20px 28px; flex-wrap: wrap; justify-content: space-between; align-items: center; }
.footer a { color: #e9e4dc; text-decoration: none; }
.footer a:hover { color: var(--red-dark); }
.footer__links { display: flex; gap: 22px; flex-wrap: wrap; }
.footer form { margin: 0; }
.footer__logout { background: transparent; color: #e9e4dc; border: 1.5px solid #4a4744; border-radius: 999px; padding: 8px 16px; font: 600 14px var(--font); cursor: pointer; }
.footer__logout:hover { border-color: var(--red-dark); color: #fff; }

@media (max-width: 960px) {
  .contact { grid-template-columns: 1fr; gap: 40px; }
  .stepper { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  :root { --gutter: 16px; }
  body { font-size: 16px; }
  .header__inner { height: 64px; gap: 12px; }
  .header__section, .header__site { display: none; }
  .lang { margin-left: auto; }
  .section { padding: 40px 0 64px; }
  .form, .request { padding: 22px; border-radius: 20px; }
  .form { grid-template-columns: 1fr; }
  .form--flat { padding: 16px 0 0; }
  .scope, .member-form, .upload { grid-template-columns: 1fr; }
  .request__head { gap: 12px; }
  .request__title h2 { font-size: 22px; }
  .stepper li { font-size: 12px; padding: 8px 10px; }
  .form__foot .btn, .upload .btn, .member-form .btn { width: 100%; }
}
.member-state { display: block; margin-top: 2px; font-size: 12px; color: var(--grey-2); }
.member-state--ok { color: #1f7a3d; }
.member-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
@media (min-width: 761px) { .member-form { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.2fr) minmax(0, 1fr) auto; } }
.member-state--bad { color: #b62523; font-weight: 600; }

/* Cabinet, 2026-11-17: the company once per organisation, the step for the signed-in person, quotation rows. */
.company { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 28px 32px; }
.company__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.company__head h2 { font-size: 22px; }
.pill { display: inline-flex; align-items: center; min-height: 28px; padding: 0 12px; border-radius: 999px; background: var(--bone); color: var(--ink-2); font-size: 13px; font-weight: 600; white-space: nowrap; }
.pill--ok { background: #e8f2ec; color: #1d5236; }
.pill--wait { background: #fbf0dc; color: #7a4a00; }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px 24px; margin: 0; }
.facts > div { min-width: 0; }
.facts dt { font-size: 13px; font-weight: 600; color: var(--grey); }
.facts dd { margin: 2px 0 0; font-size: 16px; overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
.facts dd small { display: block; font-size: 14px; color: var(--grey-2); }
.facts__wide { grid-column: span 3; }
.facts__empty { color: var(--grey); font-style: italic; }
.company > .hint { margin-top: 16px; max-width: 72ch; }
.next__head { display: flex; align-items: baseline; justify-content: space-between; gap: 8px 16px; flex-wrap: wrap; width: 100%; }
.next__who { background: #fff; }
.next--you { background: #fff4f2; box-shadow: inset 0 0 0 1.5px #f3c3be; }
.next--you .next__who { background: var(--ink); color: #fff; }
.next .link { font-size: 15px; }
.quote-list { list-style: none; margin: 0; padding: 0; }
.quote-list li { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 8px 24px; align-items: baseline; padding: 10px 0; border-top: 1px solid var(--line); font-size: 15px; }
.quote-list li:first-child { border-top: 0; }
.quote-list strong { font-variant-numeric: tabular-nums; white-space: nowrap; }
.summary__value { font-weight: 500; color: var(--grey-2); }
.section--tight { padding-top: 0; }
.request__side .pill { margin-top: 4px; }
@media (max-width: 680px) {
  .company { padding: 22px; border-radius: 20px; }
  .facts { grid-template-columns: 1fr 1fr; }
  .facts__wide { grid-column: 1 / -1; }
  .quote-list li { grid-template-columns: minmax(0, 1fr) auto; }
  .quote-list .link { grid-column: 1 / -1; }
}
/* Questions and answers of a project (2026-11-17): the customer's question on the bone tint, the answer indented with an ink rule. */
.thread { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 14px; }
.thread__item { display: grid; gap: 8px; }
.thread__q { padding: 12px 16px; border-radius: 12px; background: var(--bone); }
.thread__a { margin-left: 24px; padding: 4px 0 4px 16px; border-left: 2px solid var(--ink); }
.thread__meta { margin: 0 0 4px; font-size: 13px; color: var(--grey-2); }
.thread__meta strong { color: var(--ink); font-weight: 600; }
.thread__text { margin: 0; font-size: 15px; line-height: 1.55; overflow-wrap: anywhere; }
.thread__wait { margin: 0 0 0 24px; }
.question-form { display: grid; gap: 12px; justify-items: start; margin-top: 10px; max-width: 720px; }
.question-form .field { width: 100%; }
@media (max-width: 760px) { .thread__a, .thread__wait { margin-left: 12px; } .question-form .btn { width: 100%; } }
/* INN first: the button fills the company details from the tax register */
.inn-row { display: flex; gap: 10px; align-items: stretch; }
.inn-row input { flex: 1; min-width: 0; }
.inn-row .btn { white-space: nowrap; }
.field small.is-bad { color: var(--red, #c62828); }
@media (max-width: 520px) { .inn-row { flex-direction: column; } }
/* Paired fields: inputs line up even when one label wraps; text and date inputs share one height */
.form > .field:not(.field--full) { align-content: end; }
.field input:not([type=file]):not([type=checkbox]):not([type=radio]), .field select { height: 52px; }
/* Optional modules in groups */
.options-group { margin-top: 14px; }
.options-group__h { margin: 0; font-size: 13px; font-weight: 700; letter-spacing: .02em; color: var(--grey-2, #555); }
.options-group .options { margin-top: 8px; }

/* voxordia.ru: the same footer as Desk and the calculator (lib/site-chrome.php) */
.vxf{background:var(--ink);color:#bdb7af;padding:48px 0 36px;font-size:15px}
.vxf__in{max-width:var(--wrap);margin:0 auto;padding:0 var(--gutter)}
.vxf__top{display:flex;justify-content:space-between;align-items:center;gap:24px;flex-wrap:wrap}
.vxf__top img{height:22px;width:auto}
.vxf__slogan{color:#fff;font-weight:600}
.vxf__bottom{margin-top:28px;padding-top:22px;border-top:1px solid #2c2b2a;display:flex;gap:20px 28px;flex-wrap:wrap;justify-content:space-between;align-items:center}
.vxf a{color:#e9e4dc;text-decoration:none}
.vxf a:hover{color:#ff8a84}
.vxf__links{display:flex;gap:22px;flex-wrap:wrap}
.vxf form{margin:0}
