/* ============================================================
   Компоненты
   ============================================================ */

/* ---------- Кнопки ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  padding: 0.85em 1.8em;
  border-radius: var(--radius-pill);
  border: 1.5px solid transparent;
  font-family: var(--font-text);
  font-size: 1rem;
  font-weight: 520;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background var(--t-fast) var(--ease),
              color var(--t-fast) var(--ease),
              border-color var(--t-fast) var(--ease),
              transform var(--t-fast) var(--ease);
}

.btn:active { transform: scale(.985); }

.btn--primary {
  background: var(--accent-btn);
  color: var(--on-dark);
}
.btn--primary:hover { background: var(--metal-strong); }

.btn--secondary {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn--secondary:hover { border-color: var(--metal-strong); color: var(--metal-strong); }

.btn--on-dark {
  background: var(--bg);
  color: var(--ink);
}
.btn--on-dark:hover { background: var(--metal-light); }

.btn--sm { padding: 0.6em 1.3em; font-size: var(--text-small); }
.btn--lg { padding: 1em 2.2em; font-size: var(--text-h4); }

.btn[disabled], .btn--disabled {
  opacity: .45;
  pointer-events: none;
}

/* стрелка-хвостик в кнопках и ссылках */
.btn .arr { transition: transform var(--t-fast) var(--ease); }
.btn:hover .arr { transform: translateX(3px); }

/* текстовая ссылка-действие */
.link-action {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-weight: 520;
  text-decoration: none;
  color: var(--accent-deep);
}
.link-action .arr { transition: transform var(--t-fast) var(--ease); }
.link-action:hover { color: var(--metal-strong); }
.link-action:hover .arr { transform: translateX(3px); }

/* ---------- Бейджи и чипы ---------- */

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  padding: 0.45em 1em;
  border-radius: var(--radius-pill);
  background: var(--tint-sage);
  color: var(--ink);
  font-size: var(--text-small);
  font-weight: 480;
  line-height: 1.3;
}

.chip--mist { background: var(--tint-mist); }
.chip--outline { background: transparent; border: 1px solid var(--line-strong); }

/* ---------- Список «знакомо?» ---------- */

.sym-list {
  list-style: none;
  padding: 0;
  display: grid;
  gap: var(--space-3);
}

.sym-list li {
  display: flex;
  gap: 0.8em;
  align-items: baseline;
  max-width: 38.75rem;
}

.sym-list .tick {
  flex: none;
  transform: translateY(0.15em);
  color: var(--accent);
}

/* ---------- Карточки ---------- */

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  padding: clamp(1.5rem, 1.1rem + 1.8vw, 2.5rem);
}

.card--soft { background: var(--bg-soft); border-color: transparent; }
.card--sage { background: var(--tint-sage); border-color: transparent; }

/* карточка услуги */
.service-card { display: flex; flex-direction: column; gap: var(--space-5); }

.service-card .price {
  font-family: var(--font-display);
  font-weight: var(--w-display-strong);
  font-size: var(--text-price);
  line-height: 1;
  letter-spacing: -0.01em;
  font-variant-numeric: lining-nums;
  font-feature-settings: 'lnum' 1;
}

/* CTA прижимается к низу карточки — в паре карточек кнопки на одной линии */
.service-card > .btn { margin-top: auto; }

.service-card .price .per {
  font-family: var(--font-text);
  font-size: var(--text-small);
  font-weight: 400;
  color: var(--ink-soft);
  letter-spacing: 0;
}

.meta-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.meta-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: var(--space-4);
  padding-block: 0.7em;
  border-top: 1px solid var(--line);
  font-size: var(--text-small);
}

.meta-list li:first-child { border-top: 0; }
.meta-list .k { color: var(--ink-soft); flex: none; }
.meta-list .v { text-align: right; font-weight: 520; }

/* ---------- Заметка / предупреждение ---------- */

.note {
  display: flex;
  gap: 0.8em;
  padding: var(--space-4) var(--space-5);
  border-radius: var(--radius-m);
  background: var(--tint-sage);
  font-size: var(--text-small);
  line-height: 1.6;
}

.note .note-ico { flex: none; transform: translateY(0.2em); color: var(--accent-deep); }

/* ---------- Цитата / принцип ---------- */

.quote {
  position: relative;
  background: var(--bg-soft);
  border-radius: var(--radius-l);
  padding: clamp(2rem, 1.4rem + 2.6vw, 3.5rem);
}

.quote blockquote {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.5rem, 1.28rem + 0.95vw, 2.125rem);
  line-height: 1.3;
  letter-spacing: 0;
  max-width: 46rem;
  text-wrap: balance;
}

.quote .mark {
  display: block;
  font-family: var(--font-display);
  font-size: 4.5rem;
  line-height: 0.6;
  color: var(--accent);
  margin-bottom: var(--space-4);
}

.quote figcaption { margin-top: var(--space-5); }

/* ---------- FAQ аккордеон ---------- */

.faq { border-top: 1px solid var(--line); }

.faq details { border-bottom: 1px solid var(--line); }

.faq summary {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-4);
  padding-block: 1.2em;
  cursor: pointer;
  list-style: none;
  font-size: var(--text-h4);
  font-weight: 560;
  line-height: 1.45;
  transition: color var(--t-fast) var(--ease);
}

.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--accent-deep); }

/* значок вопроса: плюс в тонком круге; открыт — круг заливается, значок делает пол-оборота и становится минусом */
.faq .plus {
  flex: none;
  align-self: center;
  position: relative;
  inline-size: 2rem;
  block-size: 2rem;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  color: var(--accent-deep);
  transition: background-color var(--t-med) var(--ease), border-color var(--t-med) var(--ease),
              color var(--t-med) var(--ease), rotate .5s cubic-bezier(.16, 1, .3, 1);
}

.faq .plus::before, .faq .plus::after {
  content: '';
  position: absolute;
  inset: 0;
  margin: auto;
  inline-size: 0.75rem;
  block-size: 1.5px;
  border-radius: 1px;
  background: currentColor;
  transition: scale .5s cubic-bezier(.16, 1, .3, 1);
}

.faq .plus::after { inline-size: 1.5px; block-size: 0.75rem; }
.faq summary:hover .plus { border-color: var(--accent-deep); }
.faq details[open]:not(.is-closing) .plus { rotate: 180deg; background-color: var(--accent-deep); border-color: var(--accent-deep); color: var(--bg); }
.faq details[open]:not(.is-closing) .plus::after { scale: 1 0; }   /* is-closing — пока ответ сворачивается (motion.js), значок уже снова плюс */

.faq .faq-body {
  padding-block: 0 1.4em;
  color: var(--ink-soft);
  max-width: 40rem;
}

/* ---------- Фото-плейсхолдер ---------- */

.photo {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-l);
  background:
    radial-gradient(120% 90% at 20% 10%, var(--tint-sage) 0%, transparent 55%),
    linear-gradient(160deg, var(--tint-mist) 0%, var(--tint-sage) 100%);
}

.photo--portrait { aspect-ratio: 4 / 5; }
.photo--wide { aspect-ratio: 16 / 10; }

.photo .ph-label {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  gap: 0.4rem;
  text-align: center;
  color: var(--accent-deep);
}

.photo .ph-label .mono {
  font-family: var(--font-display);
  font-weight: var(--w-display);
  font-size: 3.5rem;
  line-height: 1;
  opacity: .5;
}

.photo .ph-label .caption { color: var(--accent-deep); opacity: .7; }

.photo img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Шапка ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.site-header .bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-5);
  min-height: 4.25rem;
}

.wordmark {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  text-decoration: none;
  color: var(--ink);
  line-height: 1;
}

.wordmark .name {
  font-family: var(--font-display);
  font-weight: var(--w-display-strong);
  font-size: 1.375rem;
  letter-spacing: 0.01em;
}

.wordmark .role {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.4vw, 2rem);
}

.site-nav a:not(.btn) {
  font-size: var(--text-small);
  font-weight: 480;
  color: var(--ink);
  text-decoration: none;
  transition: color var(--t-fast) var(--ease);
}

.site-nav a:not(.btn):hover { color: var(--accent-deep); }
.site-nav a[aria-current="page"] { color: var(--accent-deep); font-weight: 560; }

/* бургер (мобильная шапка) */
.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  inline-size: 2.75rem;
  block-size: 2.75rem;
  padding: 0 0.625rem;
  background: transparent;
  border: 0;
  cursor: pointer;
  border-radius: var(--radius-s);
}

.burger span {
  display: block;
  block-size: 1.5px;
  background: var(--ink);
  border-radius: 2px;
}

/* полное меню — с 62rem (с монограммой в шапке): уже логотип, пять пунктов и кнопка в строку не помещаются (планшеты получают бургер) */
@media (max-width: 61.9375rem) {
  .site-nav { display: none; }
  .burger { display: flex; }
}
.site-nav a { white-space: nowrap; }
.site-header .wordmark .name { white-space: nowrap; }

/* ---------- Шапка: размеры + мобильное меню (общее для всех страниц) ---------- */
.site-header { z-index: 70; }
.site-header .container { max-width: none; }
.site-header .bar { min-height: 5.25rem; gap: clamp(1.5rem, 3vw, 2.5rem); }
.wordmark .name { font-size: 1.5rem; }
.wordmark .role { font-size: 0.72rem; }
/* длинная подпись «специалист по сенсорной интеграции» не должна ломать шапку.
   nowrap — только в шапке: в подвале и карточках строке можно перенестись,
   иначе на узком телефоне она раздвигает страницу вбок */
.site-header .wordmark .role { white-space: nowrap; }
@media (min-width: 62rem) and (max-width: 77.4375rem) {
  .site-header .wordmark .role { display: none; }   /* узкий десктоп: рядом с полным меню не помещается */
}
@media (max-width: 47.9375rem) {
  .wordmark .role { font-size: 0.6rem; letter-spacing: 0.1em; }  /* мобильный: мельче, чтобы в строку — и в шапке, и в подвале */
}
.site-header .site-nav { gap: clamp(1.5rem, 2.8vw, 3.25rem); }
.site-header .site-nav a:not(.btn) { font-size: var(--text-body); font-weight: 460; }

/* бургер → X */
.burger span { transition: transform var(--t-med) var(--ease), opacity var(--t-fast) var(--ease); }
body.menu-open .burger span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
body.menu-open .burger span:nth-child(2) { opacity: 0; }
body.menu-open .burger span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* мобильное меню (оверлей) */
body.menu-open { overflow: hidden; }
body.menu-open .site-header { background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; border-bottom-color: transparent; }
body.menu-open .wordmark .name { color: var(--on-dark); }
body.menu-open .wordmark .role { color: var(--on-dark-soft); }
body.menu-open .burger span { background: var(--on-dark); }
.mobile-menu {
  position: fixed; inset: 0; z-index: 60; background: var(--ink-deep); color: var(--on-dark);
  display: flex; flex-direction: column;
  padding: clamp(7rem, 20vh, 9.5rem) var(--gutter) clamp(2.5rem, 7vh, 3.5rem);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity var(--t-med) var(--ease), visibility var(--t-med) var(--ease);
}
body.menu-open .mobile-menu { opacity: 1; visibility: visible; pointer-events: auto; }
.mm-nav { display: flex; flex-direction: column; gap: clamp(1.1rem, 3.6vh, 1.85rem); }
.mm-nav a {
  font-family: var(--font-display); font-weight: var(--w-display); color: var(--on-dark);
  font-size: clamp(2.5rem, 11vw, 3.25rem); line-height: 1; letter-spacing: -.01em;
  text-decoration: none; width: max-content; transition: color var(--t-fast) var(--ease);
}
.mm-nav a:hover { color: var(--metal-light); }
.mm-foot { margin-top: auto; padding-top: clamp(2.5rem, 8vh, 4rem); }
.mm-foot .btn { width: 100%; justify-content: center; }
.mm-contacts { display: flex; gap: var(--space-6); margin-top: var(--space-6); }
.mm-contacts a {
  font-family: var(--font-text); font-size: var(--text-small); letter-spacing: .1em;
  text-transform: uppercase; color: var(--on-dark-soft); text-decoration: none;
  transition: color var(--t-fast) var(--ease);
}
.mm-contacts a:hover { color: var(--metal-light); }
@media (min-width: 62rem) { .mobile-menu { display: none; } }

/* ---------- Подвал ---------- */

.site-footer {
  background: var(--ink-deep);
  color: var(--on-dark);
  padding-block: var(--space-9) var(--space-6);
}

.site-footer a {
  color: var(--on-dark);
  text-decoration: none;
}
.site-footer a:hover { text-decoration: underline; text-decoration-color: currentColor; }

/* колонка ссылок в футере */
.col-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75em;
}

.site-footer .cols {
  display: grid;
  gap: var(--space-6);
  padding-bottom: var(--space-8);
}

@media (min-width: 48rem) {
  .site-footer .cols { grid-template-columns: 2fr 1fr 1fr; }
}

.site-footer .legal {
  border-top: 1px solid var(--line-dark);
  padding-top: var(--space-5);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  justify-content: space-between;
  font-size: var(--text-caption);
  color: var(--on-dark-soft);
}

/* ---------- Логотип: монограмма OB в шапке, печать в подвале ---------- */
.site-header .wordmark { display: grid; grid-template-columns: auto auto; column-gap: .7rem; row-gap: .1rem; align-items: center; justify-content: start; }
.site-header .wordmark .wm-mark { grid-column: 1; grid-row: 1 / span 2; height: 1.75rem; width: auto; display: block; }
.site-header .wordmark .name, .site-header .wordmark .role { grid-column: 2; }
@media (max-width: 47.9375rem) {   /* телефон: монограмма чуть меньше, чтобы рядом поместились подпись и бургер */
  .site-header .wordmark { grid-template-columns: auto minmax(0, 1fr); column-gap: .55rem; min-width: 0; }
  .site-header .wordmark .wm-mark { height: 1.5rem; width: 2.7rem; max-width: none; }   /* ширина задана: иначе знак сжимается под длинной подписью */
  .site-header .wordmark .role { font-size: .58rem; letter-spacing: .05em; }   /* подпись плотнее, чтобы рядом со знаком влезла на 390 */
  .site-header .bar { gap: 1rem; }
}
.burger { flex: none; }   /* иначе на узком экране длинная подпись сжимает бургер до нуля и он пропадает */
@media (max-width: 24.3125rem) {   /* уже 390px подпись рядом со знаком не помещается — остаются знак и имя (профессия повторена в первом экране) */
  .site-header .wordmark .role { display: none; }
}
.foot-seal { display: flex; justify-content: center; padding-block: var(--space-6) var(--space-7, 2.5rem); }
.foot-seal img { width: 7.5rem; height: auto; }

/* ---------- Графика в статьях (общая для всех статей; иконки и рисунки — tools/icons/icons.py) ----------
   ag-cards — пункты списка карточками с иконкой (--tiles: короткие пункты плитками, --warn: «что вредит»);
   ag-note — блок «Важно»; ag-stat — крупная цифра с подписью; ag-tags — метки; ag-steps — лестница шагов с рисунками */
.ag-cards { list-style: none; margin: clamp(1.1rem, 2.5vw, 1.5rem) 0 0; padding: 0; display: grid; gap: .6rem; }
@media (min-width: 34rem) { .ag-cards { grid-template-columns: 1fr 1fr; } }
.ag-cards li { display: flex; align-items: flex-start; gap: .85rem; padding: .95rem 1.05rem; border-radius: 14px; background: rgba(188, 134, 99, .09); color: var(--ink); font-size: var(--text-small); line-height: 1.45; }
.ag-ic { flex: none; inline-size: 1.75rem; block-size: 1.75rem; color: var(--metal-strong); }
.ag-cards--warn li { background: rgba(163, 46, 56, .06); }
.ag-cards--warn .ag-ic { color: var(--accent); }
.ag-cards--tiles { grid-template-columns: 1fr 1fr; }
@media (min-width: 40rem) { .ag-cards--tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.ag-cards--tiles li { flex-direction: column; gap: .75rem; padding: 1.1rem 1.05rem 1.15rem; font-weight: 500; color: var(--ink-deep); }
.ag-cards--tiles .ag-ic { inline-size: 2.1rem; block-size: 2.1rem; }
.ag-cards li.is-key { box-shadow: inset 0 0 0 1px rgba(163, 46, 56, .32); }
.ag-cards li.is-key .ag-ic { color: var(--accent); }

.ag-note { margin: clamp(1.5rem, 3vw, 2.1rem) 0; padding: .15rem 0 .15rem 1.15rem; border-left: 2px solid var(--accent); }
.ag-note-k { display: block; margin-bottom: .45rem; font-family: var(--font-text); font-size: var(--text-caption); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.ag-note p { margin: 0; color: var(--ink); }
.ag-note p + p { margin-top: .7em; }
.ag-note--key p { font-size: var(--text-lead); line-height: 1.55; color: var(--ink-deep); font-weight: 500; }   /* ключевой абзац статьи: без подписи «Важно», крупнее и темнее */

.ag-stat { display: flex; align-items: flex-end; gap: clamp(1rem, 3vw, 1.5rem); margin: clamp(1.4rem, 3vw, 2rem) 0; padding: 1rem 0; border-block: 1px solid var(--line); }
.ag-stat-n { flex: none; display: flex; flex-direction: column; font-family: var(--font-display); font-weight: var(--w-display); font-size: clamp(3.25rem, 2.2rem + 3.5vw, 4.5rem); line-height: .85; color: var(--accent); }
.ag-stat-n small { font-size: var(--text-caption); font-family: var(--font-text); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; line-height: 1; margin-bottom: .35rem; color: var(--metal-strong); }
.ag-stat-l { font-size: var(--text-small); line-height: 1.45; color: var(--ink-soft); max-width: 22rem; padding-bottom: .2rem; }
.art-sec-main { display: flow-root; }   /* цифра-заметка на полях не вылезает за свой раздел */
/* на компьютере цифра — заметка на полях справа от абзаца, который её объясняет (ставится перед этим абзацем) */
@media (min-width: 48rem) {
  .ag-stat { float: right; inline-size: 12.5rem; flex-direction: column; align-items: flex-start; gap: .6rem; margin: .35rem 0 1rem 2rem; padding: .2rem 0 .2rem 1.25rem; border-block: 0; border-left: 1px solid var(--line-strong); }
}

.ag-tags { list-style: none; margin: .9rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.ag-tags li { padding: .45em 1em; border: 1px solid var(--line-strong); border-radius: 999px; font-size: var(--text-small); line-height: 1.3; color: var(--ink); background: var(--bg); }

.ag-steps { --pic: 4.75rem; list-style: none; margin: clamp(1.4rem, 3vw, 2rem) 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.4rem .5rem; counter-reset: st; }
/* шесть в ряд — только когда колонке хватает места на длинные подписи; на широком экране лестница выходит за колонку текста вправо */
@media (min-width: 80rem) { .ag-steps { grid-template-columns: repeat(6, minmax(0, 1fr)); margin-right: calc(-1 * clamp(0rem, 8vw, 8rem)); } }
.ag-steps li { position: relative; counter-increment: st; display: flex; flex-direction: column; align-items: center; gap: .45rem; text-align: center; }
.ag-step-pic { inline-size: var(--pic); block-size: var(--pic); padding: .3rem; border-radius: 50%; background: rgba(188, 134, 99, .09); color: var(--metal-strong); position: relative; z-index: 1; }
.ag-step-pic .gnd { stroke: rgba(143, 90, 62, .35); }
.ag-steps li:last-child .ag-step-pic { background: rgba(163, 46, 56, .08); color: var(--accent); }
.ag-step-n { font-family: var(--font-text); font-size: var(--text-caption); font-weight: 600; letter-spacing: .1em; color: var(--metal-strong); }
.ag-step-n::before { content: counter(st); }
.ag-steps li:last-child .ag-step-n { color: var(--accent); }
.ag-step-t { font-size: .875rem; line-height: 1.3; color: var(--ink); hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word; }
/* соединительная линия между рисунками — внутри строки */
.ag-steps li::after { content: ""; position: absolute; top: calc(var(--pic) / 2); left: calc(50% + var(--pic) / 2 + .25rem); right: calc(-50% + var(--pic) / 2 + .25rem); block-size: 1px; background: var(--line-strong); }
.ag-steps li:last-child::after { display: none; }
@media (max-width: 79.9375rem) { .ag-steps li:nth-child(3n)::after { display: none; } }
@media (max-width: 22.5rem) { .ag-steps { --pic: 4rem; } }

/* ---------- Телефон: удобство (проход 2026-10-26) ---------- */
/* подвал одинаковый на всех страницах: подписи колонок капсом, IG/TG кружками (раньше было только на главной) */
.site-footer .col-links .label { font-family: var(--font-text); font-size: var(--text-caption); font-weight: 560; letter-spacing: .15em; text-transform: uppercase; display: inline-block; }
.site-footer .social { display: inline-flex; gap: var(--space-3); }
.site-footer .social a { inline-size: 2.75rem; block-size: 2.75rem; border-radius: 50%; border: 1px solid var(--line-dark); display: grid; place-items: center; font-size: var(--text-caption); letter-spacing: .04em; text-decoration: none; color: var(--on-dark); transition: border-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease); }
.site-footer .social a:hover { border-color: var(--metal-light); color: var(--metal-light); }
.btn { white-space: nowrap; }   /* текст кнопки не ломается на две строки */
@media (max-width: 22.5rem) { .btn { white-space: normal; padding-inline: 1.25em; font-size: .95rem; } }   /* 320px: длинной кнопке разрешён перенос, иначе вылезает за экран */
@media (max-width: 47.9375rem) {
  /* пальцу нужно ~40px: ссылки подвала и «назад» получают высоту без изменения вида */
  .site-footer .col-links a { display: inline-flex; align-items: center; min-block-size: 2.5rem; }
  .site-footer .col-links { gap: 0; }
  .site-footer .legal { align-items: center; }
  .site-footer .legal a { display: inline-flex; align-items: center; min-block-size: 2.5rem; }
  .det-back { min-block-size: 2.5rem; }
  .btn { padding-inline: 1.5em; }
}
