/* ============================================================
   SkyLanPay — оформление в стилистике skylan.it
   Чистый CSS, без фреймворков и сборщика.
   ============================================================ */

:root {
  /* Палитра бренда */
  --brand-orange: #F74D00;
  --brand-orange-soft: #FF8562;
  --brand-navy: #00274E;
  --brand-ink: #000000;
  --surface-page: #E9EEEF;
  --surface-card: #FFFFFF;
  --surface-muted: #F4F4F4;
  --border: #E3E8EA;

  /* Текст: контраст к светлому фону не ниже AA */
  --text: #0D1B2A;
  --text-muted: #5A6B7B;
  --text-on-dark: #FFFFFF;
  --text-on-dark-muted: #A9B7C4;

  /* Семантика статусов. Оранжевый — только акцент бренда, не ошибка. */
  --ok: #0E7C4A;
  --ok-bg: #DEF4E8;
  --warn: #8A5A00;
  --warn-bg: #FBEED2;
  --err: #B3261E;
  --err-bg: #FBE3E1;
  --info: #00274E;
  --info-bg: #DDE7F0;

  --radius-panel: 30px;
  --radius-card: 20px;
  --radius-field: 14px;
  --shadow-card: 0 2px 4px rgba(0, 39, 78, .04), 0 12px 28px rgba(0, 39, 78, .07);
  --shadow-lift: 0 6px 14px rgba(247, 77, 0, .28);
  --ring: 0 0 0 3px rgba(247, 77, 0, .35);
}

*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  background: var(--surface-page);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}

.container { max-width: 1160px; margin: 26px auto 48px; padding: 0 20px; }

h1 { font-size: 34px; font-weight: 800; letter-spacing: -.02em; line-height: 1.15; margin: 4px 0 20px; }
h2 { font-size: 19px; font-weight: 700; letter-spacing: -.01em; margin: 0 0 14px; }
h3 { font-size: 16px; font-weight: 700; margin: 0 0 10px; }
a { color: var(--brand-navy); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--brand-orange); }

/* --- Навигация: скруглённая капсула --------------------------------- */

.nav-wrap { padding: 18px 20px 0; max-width: 1160px; margin: 0 auto; }

.nav {
  display: flex; align-items: center; gap: 6px;
  background: var(--brand-ink); color: var(--text-on-dark);
  border-radius: 999px; padding: 10px 12px 10px 24px;
}
.nav .brand {
  font-weight: 800; font-size: 17px; letter-spacing: -.02em;
  color: #fff; text-decoration: none; margin-right: 14px; white-space: nowrap;
}
.nav .brand span { color: var(--brand-orange); }
.nav-links { display: flex; align-items: center; gap: 2px; flex-wrap: wrap; }
.nav-links a {
  color: var(--text-on-dark-muted); text-decoration: none;
  font-size: 14.5px; font-weight: 500; padding: 8px 14px; border-radius: 999px;
  white-space: nowrap; transition: background .15s, color .15s;
}
.nav-links a:hover { color: #fff; background: rgba(255, 255, 255, .1); }
.nav-links a.is-active { color: #fff; background: rgba(255, 255, 255, .14); }

/* Бейдж «требует внимания» в меню: несведённые платежи */
.nav-badge {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 19px; height: 19px; padding: 0 6px; margin-left: 7px;
  background: var(--brand-orange); color: #fff;
  border-radius: 999px; font-size: 11.5px; font-weight: 700; line-height: 1;
}

.nav-right { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.nav-balance {
  display: inline-flex; align-items: baseline; gap: 7px;
  background: var(--brand-orange); color: #fff;
  padding: 9px 18px; border-radius: 999px; white-space: nowrap;
}
.nav-balance .lbl { font-size: 12px; font-weight: 500; opacity: .9; }
.nav-balance .val { font-size: 15px; font-weight: 700; }
.nav-user { font-size: 13px; color: var(--text-on-dark-muted); white-space: nowrap; }

/* --- Панели и карточки ---------------------------------------------- */

.card {
  background: var(--surface-card);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 24px;
  margin-bottom: 20px;
}
.card-lg { border-radius: var(--radius-panel); padding: 32px; }
.card-dark { background: var(--brand-ink); color: var(--text-on-dark); }
.card-dark h1, .card-dark h2 { color: #fff; }
.card-dark .muted, .card-dark .stat-label { color: var(--text-on-dark-muted); }
.card-accent { background: var(--brand-orange); color: #fff; }
.card-accent h2, .card-accent .stat-value { color: #fff; }
.card-accent .stat-label, .card-accent .muted { color: rgba(255, 255, 255, .9); }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; margin-bottom: 20px; }
.cards .card { margin-bottom: 0; }

.stat-label { color: var(--text-muted); font-size: 13px; font-weight: 500; }
.stat-value { font-size: 34px; font-weight: 800; letter-spacing: -.025em; margin-top: 6px; line-height: 1.1; }

/* --- Таблицы --------------------------------------------------------- */

.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 0 -4px; padding: 0 4px; }
table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
th, td { text-align: left; padding: 13px 12px; border-bottom: 1px solid var(--border); vertical-align: top; }
thead th {
  color: var(--text-muted); font-weight: 600; font-size: 11.5px;
  text-transform: uppercase; letter-spacing: .05em; border-bottom-width: 2px; white-space: nowrap;
}
tbody tr:last-child td { border-bottom: none; }
tbody tr { transition: background .12s; }
tbody tr:hover { background: var(--surface-muted); }
table.kv th { width: 200px; text-transform: none; font-size: 14.5px; color: var(--text-muted); letter-spacing: 0; }
.num { font-variant-numeric: tabular-nums; white-space: nowrap; }

/* Подсветка только что созданной строки */
tbody tr.is-new, tbody tr.is-new:hover { background: rgba(247, 77, 0, .07); box-shadow: inset 3px 0 0 var(--brand-orange); }

/* Мультифильтр статусов прямо в заголовке колонки */
.status-filter { position: relative; display: inline-block; }
.status-filter summary {
  display: inline-flex; align-items: center; gap: 6px; list-style: none; cursor: pointer;
  color: inherit; border-radius: 8px; padding: 4px 6px; margin: -4px -6px;
  transition: color .15s, background .15s;
}
.status-filter summary::-webkit-details-marker { display: none; }
.status-filter summary:hover, .status-filter[open] summary { color: var(--brand-navy); background: var(--info-bg); }
.status-filter summary:focus-visible { outline: none; box-shadow: var(--ring); }
.status-filter.is-filtered summary { color: var(--brand-orange); }
.status-filter-count {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px;
  background: var(--brand-orange); color: #fff; font-size: 10px; line-height: 1;
}
.status-filter-caret { font-size: 10px; transition: transform .15s; }
.status-filter[open] .status-filter-caret { transform: rotate(180deg); }
.status-filter-menu {
  position: absolute; z-index: 30; top: calc(100% + 10px); left: -10px;
  min-width: 230px; padding: 16px; background: var(--surface-card);
  border: 1.5px solid var(--border); border-radius: var(--radius-field);
  box-shadow: var(--shadow-card); text-transform: none; letter-spacing: 0; white-space: normal;
}
.status-filter-title {
  display: block; margin-bottom: 10px; color: var(--text-muted);
  font-size: 12px; font-weight: 600;
}
.status-filter-option {
  display: flex; flex-direction: row; align-items: center; gap: 9px;
  min-width: 0; margin: 0 0 9px; color: var(--text);
  font-size: 13px; font-weight: 500; cursor: pointer;
}
.status-filter-option input[type=checkbox] {
  flex: none; width: 17px; height: 17px; margin: 0; accent-color: var(--brand-orange);
}
.status-filter-actions { display: flex; gap: 8px; margin-top: 13px; }
.status-filter-actions .btn { flex: 1; padding-left: 12px; padding-right: 12px; }
/* Горизонтальный скролл таблицы не должен обрезать раскрытое меню. */
.table-wrap:has(.status-filter[open]) { overflow: visible; }

/* --- Формы ----------------------------------------------------------- */

label { display: block; margin-bottom: 16px; font-size: 13.5px; font-weight: 600; }
input[type=text], input[type=url], input[type=email], input[type=password],
input[type=date], input[type=file], select, textarea {
  display: block; width: 100%; margin-top: 6px; padding: 12px 15px;
  font-size: 15px; font-family: inherit; color: var(--text);
  background: var(--surface-card);
  border: 1.5px solid var(--border); border-radius: var(--radius-field);
  transition: border-color .15s, box-shadow .15s;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--brand-orange); box-shadow: var(--ring); }
input::placeholder, textarea::placeholder { color: #78889A; }
textarea { resize: vertical; }
input[type=file] { padding: 10px 12px; background: var(--surface-muted); }

.form-inline { display: flex; gap: 16px; align-items: flex-end; flex-wrap: wrap; }
/* Только прямые потомки: вложенные label (например, пилюли валюты) не растягиваем */
.form-inline > label { flex: 1; min-width: 190px; margin-bottom: 0; }
.filters { display: flex; flex-wrap: wrap; gap: 16px; align-items: flex-end; }
.filters label { display: flex; flex-direction: column; font-size: 13px; gap: 2px; margin-bottom: 0; min-width: 150px; }
.filters-actions { display: flex; gap: 10px; }

/* --- Кнопки-таблетки -------------------------------------------------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 26px; font-size: 14.5px; font-weight: 600; font-family: inherit;
  border: 1.5px solid transparent; border-radius: 999px; cursor: pointer;
  background: var(--surface-muted); color: var(--text);
  text-decoration: none; white-space: nowrap;
  transition: background .15s, color .15s, transform .15s, box-shadow .15s, border-color .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn:focus-visible { outline: none; box-shadow: var(--ring); }

.btn-primary { background: var(--brand-orange); color: #fff; }
/* Ховер: подъём + свечение в --brand-orange-soft, но заливка чуть глубже —
   белый текст на самом --brand-orange-soft даёт всего 2.4:1 (ниже AA). */
.btn-primary:hover { background: #D94200; color: #fff; box-shadow: var(--shadow-lift); }
.btn-navy { background: var(--brand-navy); color: #fff; }
.btn-navy:hover { background: #003A72; color: #fff; }
.btn-ok { background: var(--ok); color: #fff; }
.btn-ok:hover { background: #0A6A3E; color: #fff; }
.btn-ghost { background: transparent; border-color: var(--border); color: var(--text); }
.btn-ghost:hover { border-color: var(--brand-navy); color: var(--brand-navy); }
.btn-sm { padding: 7px 16px; font-size: 13px; }
.btn-lg { padding: 15px 34px; font-size: 16px; }
.btn-block { width: 100%; }
.btn:disabled, .btn[disabled] { opacity: .45; cursor: not-allowed; transform: none; box-shadow: none; }

/* Кнопки в тёмной шапке */
.nav .btn-ghost { color: var(--text-on-dark-muted); border-color: rgba(255, 255, 255, .22); }
.nav .btn-ghost:hover { color: #fff; border-color: #fff; background: rgba(255, 255, 255, .08); }

/* --- Бейджи и алерты -------------------------------------------------- */

.badge {
  display: inline-block; padding: 4px 12px; border-radius: 999px;
  font-size: 12px; font-weight: 600; white-space: nowrap;
}
.badge-ok { background: var(--ok-bg); color: var(--ok); }
.badge-warn { background: var(--warn-bg); color: var(--warn); }
.badge-err { background: var(--err-bg); color: var(--err); }
.badge-info { background: var(--info-bg); color: var(--info); }

.alert { padding: 14px 20px; border-radius: var(--radius-field); margin-bottom: 20px; font-size: 14.5px; font-weight: 500; }
.alert-error { background: var(--err-bg); color: var(--err); }
.alert-ok { background: var(--ok-bg); color: var(--ok); }

/* --- Утилиты ---------------------------------------------------------- */

.muted { color: var(--text-muted); }
.small { font-size: 12.5px; }
.pre { white-space: pre-wrap; font-family: inherit; margin: 0; }
.actions form { display: inline-block; margin: 0 6px 6px 0; }
.actions-row { display: flex; gap: 12px; margin-top: 20px; flex-wrap: wrap; }
.page-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.back-link { display: inline-block; margin-top: 4px; font-weight: 500; }

/* --- Экраны входа ------------------------------------------------------ */

.auth-box {
  width: 100%; max-width: 420px; margin: 7vh auto 0;
  background: var(--surface-card); border-radius: var(--radius-panel);
  box-shadow: var(--shadow-card); padding: 40px 36px;
}
.auth-box h1 { font-size: 27px; margin-bottom: 8px; }
.auth-logo { font-size: 15px; font-weight: 800; letter-spacing: -.02em; margin-bottom: 22px; }
.auth-logo span { color: var(--brand-orange); }
.auth-foot { text-align: center; margin: 18px 0 0; }

/* --- Сумма: переключатель валюты --------------------------------------- */

.amount-field { flex: 1 1 280px; min-width: 260px; }
.amount-row { display: flex; gap: 10px; align-items: stretch; margin-top: 6px; }
.amount-row input { margin-top: 0; flex: 1; font-size: 18px; font-weight: 600; }

.currency-toggle { display: inline-flex; background: var(--surface-muted); border-radius: 999px; padding: 4px; gap: 2px; }
.currency-toggle input { position: absolute; opacity: 0; width: 0; height: 0; }
.currency-toggle label {
  margin: 0; display: flex; align-items: center; justify-content: center;
  min-width: 52px; padding: 0 16px; border-radius: 999px; cursor: pointer;
  font-size: 17px; font-weight: 700; color: var(--text-muted);
  transition: background .15s, color .15s;
}
.currency-toggle label:hover { color: var(--text); }
.currency-toggle input:checked + label { background: var(--brand-orange); color: #fff; }
.currency-toggle input:focus-visible + label { box-shadow: var(--ring); }

.convert-preview { margin-top: 10px; font-size: 14px; min-height: 20px; }
.convert-preview b { font-size: 16px; font-weight: 700; }

/* --- Блок «ссылка создана» + копирование -------------------------------- */

.created-panel {
  background: var(--brand-ink); color: var(--text-on-dark);
  border-radius: var(--radius-panel); padding: 28px 32px; margin-bottom: 20px;
}
.created-panel h2 { color: #fff; margin-bottom: 6px; }
.created-panel .muted { color: var(--text-on-dark-muted); }
.created-url { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-top: 18px; }
.created-url code {
  flex: 1 1 320px; min-width: 0; overflow-x: auto; white-space: nowrap;
  background: rgba(255, 255, 255, .1); color: #fff;
  padding: 14px 18px; border-radius: var(--radius-field);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 14px;
}

.link-cell { display: flex; align-items: center; gap: 8px; }
.link-cell code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12px;
  color: var(--text-muted); background: var(--surface-muted);
  padding: 5px 10px; border-radius: 8px;
  max-width: 190px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.btn-copy.is-done { background: var(--ok); color: #fff; border-color: var(--ok); }
.btn-copy.is-failed { background: var(--err-bg); color: var(--err); border-color: var(--err-bg); }

/* --- Публичная страница оплаты ------------------------------------------ */

.pay-page { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 28px 16px; }
.pay-card {
  width: 100%; max-width: 480px; background: var(--surface-card);
  border-radius: var(--radius-panel); box-shadow: var(--shadow-card); padding: 36px 32px;
}
.pay-brand { font-size: 14px; font-weight: 800; letter-spacing: -.02em; margin-bottom: 24px; }
.pay-brand span { color: var(--brand-orange); }
.pay-card h1 { font-size: 25px; margin-bottom: 6px; }
.pay-amount {
  background: var(--surface-muted); border-radius: var(--radius-card);
  padding: 22px 24px; margin: 20px 0 24px; text-align: center;
}
.pay-amount .stat-label { text-transform: uppercase; letter-spacing: .06em; font-size: 11.5px; }
.pay-amount .sum { font-size: 40px; font-weight: 800; letter-spacing: -.03em; line-height: 1.1; margin-top: 4px; }
.pay-purpose { text-align: center; color: var(--text-muted); font-size: 14.5px; margin: 0 0 4px; }

/* Кастомный чекбокс поверх настоящего input[type=checkbox] */
.consent { display: flex; gap: 13px; align-items: flex-start; margin-bottom: 16px; font-size: 13.5px; font-weight: 400; line-height: 1.5; cursor: pointer; }
.consent input[type=checkbox] { position: absolute; opacity: 0; width: 22px; height: 22px; margin: 0; cursor: pointer; }
.consent .box {
  flex: none; width: 22px; height: 22px; margin-top: 1px; border-radius: 7px;
  border: 2px solid #C3CDD5; background: #fff;
  display: flex; align-items: center; justify-content: center;
  transition: background .15s, border-color .15s;
}
.consent .box svg { width: 13px; height: 13px; opacity: 0; transition: opacity .12s; }
.consent input:checked ~ .box { background: var(--brand-orange); border-color: var(--brand-orange); }
.consent input:checked ~ .box svg { opacity: 1; }
.consent input:focus-visible ~ .box { box-shadow: var(--ring); }
.consent:hover .box { border-color: var(--brand-orange-soft); }

.pay-error { color: var(--err); font-size: 13.5px; margin: 12px 0 0; }
.pay-state { text-align: center; }
.pay-qr {
  background: #fff; border: 1.5px solid var(--border); border-radius: var(--radius-card);
  padding: 22px; display: inline-block; margin: 6px 0 16px;
}
.pay-qr img { display: block; width: 240px; max-width: 100%; height: auto; }
.pay-hint { color: var(--text-muted); font-size: 14.5px; margin: 0 0 6px; }
.pay-expiry { color: var(--text-muted); font-size: 13px; font-variant-numeric: tabular-nums; margin: 4px 0 12px; }
/* Оплата без скана QR — на том же устройстве. */
#pay-link { margin: 4px 0 8px; }

.spinner {
  width: 34px; height: 34px; margin: 12px auto; border-radius: 50%;
  border: 3px solid var(--border); border-top-color: var(--brand-orange);
  animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
  .spinner { animation-duration: 2.4s; }
  .btn:hover { transform: none; }
}

.pay-result-icon {
  width: 62px; height: 62px; border-radius: 50%; margin: 4px auto 14px;
  display: flex; align-items: center; justify-content: center;
}
.pay-result-icon.ok { background: var(--ok-bg); color: var(--ok); }
.pay-result-icon.err { background: var(--err-bg); color: var(--err); }
.pay-result-icon.neutral { background: var(--surface-muted); color: var(--text-muted); }
.pay-result-icon svg { width: 30px; height: 30px; }
.pay-foot { text-align: center; color: var(--text-muted); font-size: 12px; margin: 26px 0 0; }

/* --- Адаптив ------------------------------------------------------------ */

@media (max-width: 900px) {
  .nav { flex-wrap: wrap; border-radius: 24px; padding: 14px 16px; gap: 10px; }
  .nav .brand { margin-right: 0; }
  .nav-right { width: 100%; order: 3; justify-content: space-between; }
  .nav-links { order: 2; width: 100%; }
  h1 { font-size: 28px; }
}

@media (max-width: 640px) {
  body { font-size: 15px; }
  .container { padding: 0 14px; margin-bottom: 32px; }
  .nav-wrap { padding: 12px 14px 0; }
  .card { padding: 20px 18px; border-radius: 18px; }
  .card-lg, .created-panel { padding: 24px 20px; border-radius: 24px; }
  .cards { grid-template-columns: 1fr; gap: 14px; }
  h1 { font-size: 24px; }
  .stat-value { font-size: 28px; }
  .btn { padding: 11px 20px; }
  .btn-block, .form-inline > .btn, .filters-actions .btn { width: 100%; }
  .filters > label, .form-inline > label, .amount-field { min-width: 100%; }
  .auth-box { padding: 30px 22px; border-radius: 24px; }
  .pay-card { padding: 28px 20px; border-radius: 26px; }
  .pay-amount .sum { font-size: 34px; }
  .pay-qr { padding: 16px; }
  .pay-qr img { width: 210px; }
  .created-url code { flex-basis: 100%; }
  .created-url .btn { width: 100%; }
  th, td { padding: 11px 9px; }
}

@media (max-width: 480px) {
  .nav-links a { padding: 7px 11px; font-size: 14px; }
  .link-cell code { max-width: 130px; }
}

/* --- Юридическая страница (соглашение) -------------------------------- */

.legal-page { padding: 28px 16px 56px; }
.legal-card {
  max-width: 760px; margin: 0 auto;
  background: var(--surface-card); border-radius: var(--radius-panel);
  box-shadow: var(--shadow-card); padding: 36px 40px 32px;
}
.legal-card h1 { font-size: 26px; margin-bottom: 14px; }
.legal-card h2 {
  font-size: 17px; margin: 30px 0 10px; padding-top: 18px;
  border-top: 1px solid var(--border); color: var(--brand-navy);
}
.legal-card p { margin: 0 0 12px; font-size: 15px; }
.legal-card ul, .legal-card ol { margin: 0 0 12px; padding-left: 22px; font-size: 15px; }
.legal-card li { margin-bottom: 6px; }
.legal-card code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 13px;
  background: var(--surface-muted); border-radius: 6px; padding: 1px 6px;
  overflow-wrap: anywhere;
}
.legal-lead { color: var(--text-muted); }
.legal-note {
  background: var(--info-bg); color: var(--info); border-radius: var(--radius-field);
  padding: 14px 16px; font-size: 14px; margin: 0 0 22px; overflow-wrap: anywhere;
}
.legal-table { width: 100%; border-collapse: collapse; margin: 0 0 8px; font-size: 14px; }
.legal-table th, .legal-table td {
  text-align: left; vertical-align: top; padding: 9px 12px;
  border-bottom: 1px solid var(--border);
}
.legal-table th { width: 42%; font-weight: 600; color: var(--text-muted); }
.legal-card blockquote {
  margin: 0 0 12px; padding: 12px 16px; font-size: 14.5px;
  background: var(--surface-muted); border-left: 3px solid var(--brand-orange);
  border-radius: 0 var(--radius-field) var(--radius-field) 0;
}
.legal-card blockquote p:last-child { margin-bottom: 0; }
.legal-actions {
  display: flex; flex-wrap: wrap; gap: 10px;
  margin: 30px 0 18px; padding-top: 22px; border-top: 1px solid var(--border);
}
.legal-foot { color: var(--text-muted); font-size: 13px; margin: 0; }

@media (max-width: 640px) {
  .legal-card { padding: 26px 20px; border-radius: 24px; }
  .legal-card h1 { font-size: 22px; }
  .legal-table th, .legal-table td { display: block; width: auto; border-bottom: none; padding: 2px 0; }
  .legal-table tr { display: block; padding: 8px 0; border-bottom: 1px solid var(--border); }
}

/* Публичная главная. Все правила ограничены этой страницей. */
.home-page .home-main, .home-page .home-footer {
  max-width: 1160px; margin-left: auto; margin-right: auto; padding-left: 20px; padding-right: 20px;
}
.home-page .home-skip { position: absolute; top: -100px; left: 20px; z-index: 2; background: #fff; padding: 12px 18px; border-radius: 10px; }
.home-page .home-skip:focus { top: 12px; }
.home-page a:focus-visible { outline: 3px solid var(--brand-orange); outline-offset: 5px; }
.home-page .home-hero { display: grid; grid-template-columns: 1.25fr 1fr; gap: 56px; align-items: center; padding: 48px 0 64px; }
.home-page .home-eyebrow { color: var(--text-muted); font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; margin: 0 0 20px; }
.home-page .home-hero h1 { font-size: clamp(40px, 4.6vw, 58px); letter-spacing: -.055em; line-height: 1.06; margin: 0 0 28px; }
.home-page .home-lead { max-width: 480px; font-size: 17px; color: var(--text-muted); margin: 0 0 26px; line-height: 1.7; }
.home-page .home-launch { display: inline-flex; align-items: center; gap: 9px; padding: 9px 13px; border-radius: 999px; background: #fff; font-size: 12px; font-weight: 600; }
.home-page .home-launch-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--brand-orange); flex-shrink: 0; }
.home-page .home-launch-note { font-size: 12px; color: var(--text-muted); margin: 10px 0 0; }
.home-page .home-route { background: var(--brand-ink); color: #fff; border-radius: 30px; padding: 32px; }
.home-page .home-route-label { margin: 0 0 36px; color: #C0CEDA; font-size: 12px; }
.home-page .home-route-stops { list-style: none; padding: 0; margin: 0; }
.home-page .home-route-stops li { display: flex; position: relative; gap: 18px; padding-bottom: 38px; }
.home-page .home-route-stops li:last-child { padding-bottom: 0; }
.home-page .home-route-stops li:not(:last-child)::before { content: ''; position: absolute; top: 40px; bottom: 0; left: 19px; border-left: 1px dashed #626262; }
.home-page .home-route-marker { position: relative; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #303030; color: #fff; flex-shrink: 0; font-size: 12px; font-weight: 700; }
.home-page .home-route-stops li:last-child .home-route-marker { background: var(--brand-orange); }
.home-page .home-route h2 { font-size: 18px; margin: 2px 0 5px; }
.home-page .home-route-stops p { color: #C0CEDA; font-size: 13px; margin: 0; }
.home-page .home-route-foot { margin: 32px 0 0; padding-top: 20px; border-top: 1px solid #404040; color: #C0CEDA; font-size: 12px; }
.home-page .home-section { scroll-margin-top: 24px; padding: 40px 0; }
.home-page .home-section-heading { margin-bottom: 24px; }
.home-page .home-section .home-eyebrow { margin-bottom: 12px; }
.home-page .home-section h2 { font-size: 30px; letter-spacing: -.035em; line-height: 1.2; margin: 0; }
.home-page .home-services { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.home-page .home-service { background: var(--surface-card); border-radius: var(--radius-card); box-shadow:var(--shadow-card); padding: 32px; }
.home-page .home-service-number { color: #B53800; font-size: 11px; font-weight: 700; letter-spacing: .08em; }
.home-page .home-service h3 { font-size: 22px; line-height: 1.3; letter-spacing: -.03em; margin: 26px 0 14px; }
.home-page .home-service p { font-size: 14px; line-height: 1.75; color: var(--text-muted); margin: 0; }
.home-page .home-service .home-service-detail { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--border); font-size: 12px; color: var(--brand-navy); }
.home-page .home-delivery { display: grid; grid-template-columns: 1fr 1.35fr; gap: 64px; margin: 32px 0 40px; padding-top: 48px; border-top: 1px solid #CDD7DA; }
.home-page .home-details article + article { margin-top: 28px; }
.home-page .home-details h3 { font-size: 17px; margin-bottom: 9px; }
.home-page .home-details p { color: var(--text-muted); font-size: 14px; line-height: 1.75; margin: 0; }
.home-page .home-footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 24px; padding-bottom: 32px; border-top: 1px solid #CDD7DA; }
.home-page .home-footer .home-brand { font-size: 20px; }
.home-page .home-footer p { font-size: 12px; color: var(--text-muted); margin: 0; }
@media (max-width: 900px) {
  .home-page .home-hero { gap: 28px; }
  .home-page .home-route { padding: 26px; }
  .home-page .home-delivery { gap: 36px; }
}
@media (max-width: 640px) {
  .home-page .home-main, .home-page .home-footer { padding-left: 20px; padding-right: 20px; }
  .home-page .home-hero { grid-template-columns: 1fr; gap: 30px; padding: 26px 0 24px; }
  .home-page .home-hero h1 { font-size: clamp(36px, 10.5vw, 52px); }
  .home-page .home-lead { font-size: 15px; }
  .home-page .home-launch { font-size: 11px; }
  .home-page .home-route { border-radius: 24px; padding: 26px 22px; }
  .home-page .home-route h2 { font-size: 16px; }
  .home-page .home-services, .home-page .home-delivery { grid-template-columns: 1fr; gap: 20px; }
  .home-page .home-service { padding: 26px 22px; }
  .home-page .home-section { padding: 30px 0; }
  .home-page .home-section h2 { font-size: 26px; }
  .home-page .home-delivery { margin: 20px 0; gap: 28px; }
  .home-page .home-footer { align-items: flex-start; flex-direction: column; gap: 10px; }
}

/* Кабинет покупателя: отдельная оболочка, без служебного меню. */
.customer-page { min-height: 100vh; display: flex; flex-direction: column; --brand-navy: var(--brand-ink); }
.customer-page .nav-wrap { width:100%; }
.customer-page .nav-right form { margin:0; }
.customer-page .customer-balance-badge { text-decoration:none; }
.customer-page .customer-balance-badge:hover { color:#fff; background:#D94200; }
.customer-page .workflow-root { --wf-navy:var(--brand-ink); --wf-orange:var(--brand-orange); }
.customer-page .customer-main, .customer-page .customer-footer { width: 100%; max-width: 1160px; margin-left: auto; margin-right: auto; padding-left: 20px; padding-right: 20px; }
.customer-page .customer-main { flex: 1; padding-top: 28px; padding-bottom: 56px; }
.customer-page .customer-footer { color: var(--text-muted); font-size: 12px; padding-top: 20px; padding-bottom: 28px; }
.customer-page .customer-skip { position: absolute; top: -100px; left: 20px; z-index: 2; background: #fff; padding: 12px 18px; border-radius: 10px; }
.customer-page .customer-skip:focus { top: 12px; }
.customer-page a:focus-visible { outline: 3px solid #CA3E00; outline-offset: 4px; }
.customer-page .customer-card { max-width: 480px; margin: 0 auto; padding: 32px; border-radius: var(--radius-panel); background: var(--surface-card); box-shadow: var(--shadow-card); }
.customer-page .customer-eyebrow { color: var(--text-muted); font-size: 11px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; margin: 0 0 16px; }
.customer-page h1 { font-size: 30px; line-height: 1.18; letter-spacing: -.035em; margin: 0 0 14px; overflow-wrap: anywhere; }
.customer-page .customer-intro { color: var(--text-muted); font-size: 14px; line-height: 1.7; margin: 0 0 24px; }
.customer-page .customer-form { margin-top: 24px; }
.customer-page .customer-form label { display: block; font-size: 14px; font-weight: 600; margin: 18px 0 7px; }
.customer-page .customer-form input:not([type="hidden"]) { display: block; width: 100%; min-width: 0; margin: 0; font-size: 16px; padding: 12px 14px; }
.customer-page .customer-form input[type="tel"] { font-family: inherit; color: var(--text); background: #fff; border: 1.5px solid var(--border); border-radius: var(--radius-field); }
.customer-page .customer-form input:focus { border-color: var(--brand-orange); }
.customer-page .customer-form input[readonly] { background: var(--surface-muted); color: var(--text-muted); }
.customer-page .customer-form .btn { margin-top: 24px; white-space: normal; text-align: center; }
.customer-page .customer-hint { color: var(--text-muted); font-size: 12px; line-height: 1.6; margin: 8px 0 0; }
.customer-page .customer-optional { color: var(--text-muted); font-size: 12px; font-weight: 400; margin-left: 5px; }
.customer-page .customer-form-link { text-align: right; font-size: 13px; margin-top: 12px; }
.customer-page .customer-form-foot { text-align: center; color: var(--text-muted); font-size: 13px; margin: 24px 0 0; }
.customer-page .customer-footnote { color: var(--text-muted); font-size: 12px; margin: 20px 0 0; }
.customer-page .customer-email { overflow-wrap: anywhere; color: var(--text); }
.customer-page .customer-back { display: inline-block; font-size: 13px; margin-bottom: 24px; }
.customer-page .alert { overflow-wrap: anywhere; }
.customer-page .customer-page-heading { margin-bottom: 32px; }
.customer-page .customer-page-heading h1 { font-size: 36px; }
.customer-page .customer-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 24px; }
.customer-page .customer-panel { padding: 28px; border-radius: var(--radius-card); background: var(--surface-card); box-shadow:var(--shadow-card); min-width: 0; }
.customer-page .customer-panel h2 { margin: 0; font-size: 21px; }
.customer-page .customer-panel-heading { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.customer-page .customer-details { margin: 28px 0; }
.customer-page .customer-details div { display: grid; grid-template-columns: 80px minmax(0, 1fr); gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--border); font-size: 14px; }
.customer-page .customer-details dt { color: var(--text-muted); }
.customer-page .customer-details dd { margin: 0; overflow-wrap: anywhere; }
.customer-page .customer-security .customer-intro { margin: 18px 0 24px; }
.customer-page .customer-coming { display: flex; align-items: flex-start; gap: 20px; margin-top: 28px; padding: 26px 30px; border: 1px solid #CDD7DA; border-radius: 24px; }
.customer-page .customer-coming-mark { color: #B53800; font-size: 26px; line-height: 1.2; }
.customer-page .customer-coming h2 { font-size: 17px; margin: 0 0 7px; }
.customer-page .customer-coming p { font-size: 13px; color: var(--text-muted); margin: 0; line-height: 1.7; }
.home-page .home-account-actions { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; margin-top: 24px; }
.home-page .home-account-login { font-size: 14px; font-weight: 600; }
@media (max-width: 640px) {
  .customer-page .customer-main, .customer-page .customer-footer { padding-left: 14px; padding-right: 14px; }
  .customer-page .customer-main { padding-top: 14px; padding-bottom: 32px; }
  .customer-page .customer-card { padding: 28px 22px; border-radius: 24px; }
  .customer-page h1 { font-size: 27px; }
  .customer-page .customer-page-heading h1 { font-size: 30px; }
  .customer-page .customer-grid { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .customer-page .customer-panel { padding: 24px 22px; }
  .customer-page .customer-panel .btn { width: 100%; white-space: normal; text-align: center; }
  .customer-page .customer-details div { grid-template-columns: minmax(0, 1fr); gap: 3px; }
  .customer-page .customer-coming { padding: 22px; gap: 14px; }
}

/* Заявки и согласование: только новые экраны. */
.workflow-root { --wf-navy:#0D2848; --wf-orange:#CA3E00; min-width:0; }
.workflow-root .wf-page-head { display:flex; align-items:center; justify-content:space-between; gap:20px; margin:14px 0 28px; }
.workflow-root .wf-page-head h1 { margin:0 0 8px; }
.workflow-root .wf-page-head p { margin-bottom:0; }
.workflow-root .wf-eyebrow { text-transform:uppercase; letter-spacing:.09em; font-size:11px; font-weight:700; color:var(--text-muted); margin:0 0 12px; }
.workflow-root .wf-muted { color:var(--text-muted); font-size:14px; line-height:1.65; }
.workflow-root .wf-hint { color:var(--text-muted); font-size:12px; line-height:1.65; margin:10px 0 18px; }
.workflow-root .wf-back { display:inline-block; font-size:13px; margin-bottom:8px; }
.workflow-root .wf-layout { display:grid; grid-template-columns:minmax(0,1.7fr) minmax(280px,1fr); gap:24px; align-items:start; }
.workflow-root .wf-main-column, .workflow-root .wf-side-column { display:grid; gap:22px; min-width:0; }
.workflow-root .wf-panel { background:#fff; padding:28px; border-radius:24px; min-width:0; }
.workflow-root .wf-panel h2, .workflow-root .wf-estimate h2 { font-size:20px; line-height:1.35; margin:0 0 16px; }
.workflow-root .wf-panel h3 { font-size:16px; }
.workflow-root .wf-section-heading { display:flex; gap:12px; align-items:center; margin-bottom:20px; }
.workflow-root .wf-section-heading h2 { margin:0; }
.workflow-root .wf-number { display:inline-flex; align-items:center; justify-content:center; width:30px; height:30px; flex-shrink:0; border-radius:50%; background:#FCE6DD; color:var(--wf-orange); font-size:13px; font-weight:700; }
.workflow-root .wf-form label { font-size:13px; font-weight:600; margin:0 0 16px; }
.workflow-root .wf-form input:not([type=hidden]):not([type=checkbox]):not([type=radio]), .workflow-root .wf-form textarea, .workflow-root .wf-form select { display:block; width:100%; min-width:0; margin-top:7px; padding:12px 14px; font:inherit; font-size:15px; color:var(--text); background:#fff; border:1.5px solid var(--border); border-radius:12px; }
.workflow-root .wf-form input[readonly] { background:#F4F6F7 !important; color:var(--text-muted) !important; }
.workflow-root .wf-form input:focus, .workflow-root .wf-form textarea:focus, .workflow-root .wf-form select:focus { border-color:var(--wf-orange); }
.workflow-root .wf-fields { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:16px; }
.workflow-root .wf-fields-three { grid-template-columns:repeat(3,minmax(0,1fr)); }
.workflow-root .wf-row { border:1px solid var(--border); border-radius:16px; padding:20px; margin:0 0 18px; min-width:0; }
.workflow-root .wf-row legend { font-size:13px; font-weight:700; color:var(--wf-navy); padding:0 7px; }
.workflow-root .wf-remove { border:0; padding:2px 0; background:none; color:#9B3024; font:inherit; font-size:12px; cursor:pointer; text-decoration:underline; }
.workflow-root .wf-checkbox { display:flex; align-items:center; gap:10px; padding:12px 14px; background:#F0F4F6; border-radius:12px; cursor:pointer; }
.workflow-root .wf-checkbox input { width:18px; height:18px; flex-shrink:0; margin:0; accent-color:var(--wf-navy); }
.workflow-root .wf-goods-value { margin-top:22px !important; }
.workflow-root .wf-estimate { padding:28px; background:var(--wf-navy); color:#fff; border-radius:24px; min-width:0; }
.workflow-root .wf-estimate .wf-eyebrow, .workflow-root .wf-estimate .wf-hint { color:#BDCDD9; }
.workflow-root .wf-summary { margin:20px 0; }
.workflow-root .wf-summary div { display:flex; align-items:baseline; justify-content:space-between; gap:16px; padding:11px 0; border-bottom:1px solid #E3E8EA; font-size:13px; }
.workflow-root .wf-summary dt { min-width:0; }
.workflow-root .wf-summary dd { margin:0; text-align:right; font-weight:600; overflow-wrap:anywhere; }
.workflow-root .wf-estimate .wf-summary div { border-color:#36506D; }
.workflow-root .wf-summary .wf-total { font-size:17px; font-weight:700; border-bottom:0; padding-top:18px; }
.workflow-root .wf-total dd { white-space:nowrap; font-size:21px; }
.workflow-root .wf-submit-panel .btn, .workflow-root .btn-block { white-space:normal; text-align:center; }
.workflow-root .wf-item-list { display:grid; gap:20px; }
.workflow-root .wf-item + .wf-item { border-top:1px solid var(--border); padding-top:20px; }
.workflow-root .wf-item-heading { display:flex; align-items:center; gap:12px; flex-wrap:wrap; }
.workflow-root .wf-item-heading h3, .workflow-root .wf-item-heading h2 { flex:1; margin:0; }
.workflow-root .wf-item p, .workflow-root .wf-message p { font-size:14px; }
.workflow-root .wf-url { display:block; overflow-wrap:anywhere; font-size:13px; margin:10px 0; }
.workflow-root .wf-pre { white-space:pre-wrap; overflow-wrap:anywhere; }
.workflow-root .wf-table-wrap { overflow:auto; max-width:100%; }
.workflow-root .wf-table-wrap td { overflow-wrap:anywhere; }
.workflow-root .wf-table-wrap table { min-width:440px; }
.workflow-root .wf-messages { display:grid; gap:14px; }
.workflow-root .wf-message { background:#F0F4F6; padding:18px; border-radius:14px; }
.workflow-root .wf-message-internal { background:#FBF1D9; }
.workflow-root .wf-message time { font-size:11px; color:var(--text-muted); }
.workflow-root .wf-message p { margin-bottom:0; }
.workflow-root .wf-callout { display:flex; justify-content:space-between; align-items:center; gap:20px; margin-bottom:24px; padding:22px 28px; background:#DDE7F0; border-radius:20px; }
.workflow-root .wf-callout h2 { font-size:18px; margin-bottom:6px; }
.workflow-root .wf-callout p { font-size:13px; margin:0; }
.workflow-root .wf-cards { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px; }
.workflow-root .wf-list-card { display:block; padding:26px; border:1px solid transparent; background:#fff; color:var(--text); text-decoration:none; border-radius:22px; }
.workflow-root .wf-list-card:hover { border-color:var(--wf-orange); }
.workflow-root .wf-list-card h2 { font-size:20px; }
.workflow-root .wf-list-card p { overflow-wrap:anywhere; }
.workflow-root .wf-list-card .wf-muted { font-size:12px; }
.workflow-root .wf-empty { max-width:680px; padding:36px; }
.workflow-root .wf-empty p { color:var(--text-muted); line-height:1.7; margin-bottom:24px; }
.workflow-root .wf-subnav { display:flex; gap:20px; flex-wrap:wrap; margin-bottom:26px; padding:16px 0; border-bottom:1px solid #CDD7DA; }
.workflow-root .wf-subnav a { font-size:14px; font-weight:600; }
.wf-operations .wf-pagination { display:flex; flex-wrap:wrap; align-items:center; justify-content:center; gap:14px; margin-top:24px; font-size:13px; }
.wf-operations .wf-money { white-space:nowrap; }
.wf-operations .wf-customer-section, .wf-operations .wf-customer-profile { margin-bottom:24px; }
.wf-operations .wf-page-head h1, .wf-operations .wf-customer-profile { overflow-wrap:anywhere; }
.wf-operations .wf-customers-table td:first-child, .wf-operations .wf-customers-table td:nth-child(2) { min-width:150px; }
.wf-operations .customer-wallet-stats { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; margin-bottom:24px; }
.wf-operations .customer-wallet-stat { background:#fff; padding:24px; border-radius:24px; min-width:0; }
.wf-operations .customer-wallet-stat h2 { font-size:14px; color:#687B8C; margin:0 0 12px; }
.wf-operations .customer-wallet-stat p { font-size:28px; font-weight:800; line-height:1.3; margin:0; overflow-wrap:anywhere; }
.wf-operations .customer-wallet-stat:first-child { border-top:4px solid #FF5100; }
@media(max-width:900px) {
  .staff-page .nav-right { flex-wrap:wrap; width:100%; max-width:100%; min-width:0; gap:10px; }
  .staff-page .nav-right form { margin:0; max-width:100%; }
  .staff-page .nav-balance { flex-wrap:wrap; max-width:100%; min-width:0; white-space:normal; }
  .staff-page .nav-balance .val, .staff-page .nav-user { min-width:0; overflow-wrap:anywhere; }
}
@media(max-width:700px) {
  .wf-operations .customer-wallet-stats { grid-template-columns:minmax(0,1fr); gap:14px; }
  .wf-operations .customer-wallet-stat { padding:22px; }
  .wf-operations .wf-table-wrap .wf-customers-table { display:block; min-width:0; width:100%; }
  .wf-operations .wf-customers-table thead { display:none; }
  .wf-operations .wf-customers-table tbody { display:block; }
  .wf-operations .wf-customers-table tr { display:block; padding:12px 0; border-bottom:1px solid #CDD7DA; }
  .wf-operations .wf-customers-table tr:last-child { border-bottom:0; }
  .wf-operations .wf-customers-table td, .wf-operations .wf-customers-table td:first-child, .wf-operations .wf-customers-table td:nth-child(2) { display:block; min-width:0; border:0; padding:6px 0; }
  .wf-operations .wf-customers-table td::before { content:attr(data-label); display:block; color:#687B8C; font-size:12px; margin-bottom:2px; }
  .wf-operations .wf-customers-table .wf-money { white-space:normal; overflow-wrap:anywhere; }
}
.workflow-root .wf-filters { display:flex; gap:16px; align-items:flex-end; margin-bottom:24px; flex-wrap:wrap; }
.workflow-root .wf-filters label { flex:1; min-width:180px; margin-bottom:0; }
.workflow-root .wf-separated { border-top:1px solid var(--border); padding-top:22px; margin-top:24px; }
.workflow-root .wf-version { padding:18px 0; border-top:1px solid var(--border); }
.workflow-root .wf-version summary { cursor:pointer; font-size:14px; font-weight:600; margin-bottom:14px; }
.workflow-root .wf-version .wf-panel { padding:12px 0; }
.workflow-root .wf-success-symbol { display:inline-flex; align-items:center; justify-content:center; width:46px; height:46px; border-radius:50%; background:#DEF4E8; color:#0E7C4A; font-size:25px; margin-bottom:20px; }
@media (max-width:900px) { .workflow-root .wf-layout { grid-template-columns:minmax(0,1fr); } .workflow-root .wf-side-column { grid-template-columns:minmax(0,1fr); } }
@media (max-width:640px) {
  .workflow-root .wf-page-head { align-items:flex-start; flex-direction:column; gap:12px; margin-bottom:22px; }
  .workflow-root .wf-panel, .workflow-root .wf-estimate { padding:22px 20px; border-radius:20px; }
  .workflow-root .wf-row { padding:16px 12px; }
  .workflow-root .wf-fields, .workflow-root .wf-cards { grid-template-columns:minmax(0,1fr); gap:0; }
  .workflow-root .wf-cards { gap:16px; }
  .workflow-root .wf-fields-three { grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px; }
  .workflow-root .wf-fields-three label { font-size:11px; }
  .workflow-root .wf-fields-three input { padding:11px 8px !important; }
  .workflow-root .wf-form input:not([type=hidden]), .workflow-root .wf-form textarea { font-size:16px !important; }
  .workflow-root .wf-callout { align-items:flex-start; flex-direction:column; padding:22px; }
  .workflow-root .wf-summary div { gap:10px; }
  .workflow-root .wf-summary dd { max-width:62%; }
  .workflow-root .wf-subnav { gap:12px 18px; }
  .workflow-root .wf-list-card { padding:22px; }
  .workflow-root .wf-filters .btn { width:100%; }
}

/* Открытие заявки из очереди без потери фильтров. */
.workflow-root .wf-request-row { cursor:pointer; }
.workflow-root .wf-request-row:hover { background:#EDF3F7; }
.workflow-root .wf-request-row:focus-visible { outline:3px solid #CA3E00; outline-offset:-3px; }
.wf-request-dialog { width:min(1180px,calc(100vw - 32px)); height:min(880px,calc(100dvh - 32px)); max-width:none; max-height:none; margin:auto; padding:0; border:0; border-radius:24px; background:#E9EEEF; color:#0D2848; box-shadow:0 24px 80px #0D28484D; overflow:hidden; }
.wf-request-dialog::backdrop { background:rgba(13,40,72,.62); }
.wf-dialog-toolbar { height:74px; display:flex; align-items:center; gap:20px; padding:16px 24px; background:#fff; border-bottom:1px solid #D9E2E8; }
.wf-dialog-toolbar h2 { margin:0 auto 0 0; font-size:20px; }
.wf-dialog-toolbar a { font-size:13px; }
.wf-request-dialog iframe { display:block; width:100%; height:calc(100% - 74px); border:0; }
.wf-framed .nav-wrap, .wf-framed .wf-subnav, .wf-framed .wf-operations > .wf-back { display:none; }
.wf-framed .container { margin-top:20px; }
.workflow-root .wf-order-submit { border-top:1px solid var(--border); padding-top:20px; margin-top:20px; }
.workflow-root .wf-payment-pending { scroll-margin-top:24px; border:1px solid #BDD0DF; }
@media (max-width:640px) {
  .wf-request-dialog { width:calc(100vw - 12px); height:calc(100dvh - 12px); border-radius:18px; }
  .wf-dialog-toolbar { height:94px; gap:8px 12px; flex-wrap:wrap; padding:12px 16px; }
  .wf-dialog-toolbar h2 { font-size:18px; }
  .wf-dialog-toolbar a { order:3; width:100%; font-size:12px; }
  .wf-request-dialog iframe { height:calc(100% - 94px); }
  .workflow-root .wf-order-submit .btn { width:100%; }
}
.workflow-root .wf-rub { display:block; margin-top:3px; color:#5A6B7B; font-size:12px; font-weight:400; line-height:1.45; white-space:nowrap; }
.workflow-root .wf-estimate .wf-rub { color:#BDCDD9; }
.workflow-root .wf-fx-note { padding:12px 14px; background:#F0F4F6; border-radius:12px; }
.workflow-root .wf-order-actions { display:flex; gap:14px; flex-wrap:wrap; margin:0 0 26px; }
.workflow-root .wf-invoice-list { display:grid; gap:22px; }
.workflow-root .wf-invoice-section-head { display:flex; flex-wrap:wrap; align-items:center; gap:12px 20px; margin-bottom:16px; }
.workflow-root .wf-invoice-section-head h2 { flex:1; margin:0; }
.workflow-root .wf-invoice-section-head .btn { white-space:normal; }
.workflow-root .wf-invoice-counts { display:flex; flex-wrap:wrap; gap:14px 28px; margin:20px 0 24px; padding:16px; border-radius:12px; background:#F0F4F6; }
.workflow-root .wf-invoice-counts > div { display:flex; align-items:baseline; gap:10px; }
.workflow-root .wf-invoice-counts dt { font-size:13px; color:var(--text-muted); }
.workflow-root .wf-invoice-counts dd { margin:0; font-weight:700; font-size:20px; }
.workflow-root #payment { scroll-margin-top:24px; }
.workflow-root .wf-invoice-context { margin-bottom:24px; }
.workflow-root .wf-invoice { padding:22px; border:1px solid #CDD7DA; border-radius:18px; scroll-margin-top:24px; }
.workflow-root .wf-invoice:target { border:2px solid #CA3E00; background:#FFFAF7; }
.workflow-root .wf-invoice-details summary { cursor:pointer; font-size:13px; font-weight:600; padding:8px 0 14px; }
.workflow-root .wf-block { display:block; }
@media (max-width:640px) { .workflow-root .wf-order-actions .btn { width:100%; white-space:normal; text-align:center; } .workflow-root .wf-invoice { padding:18px 14px; } }
.company-footer { margin-top:40px; background:var(--brand-ink); color:#fff; }
.company-footer-inner { max-width:1160px; margin:0 auto; padding:36px 28px; display:grid; grid-template-columns:1fr 1.3fr 1fr; gap:36px; }
.company-footer-brand > a { color:#fff; text-decoration:none; font-size:24px; line-height:1.3; font-weight:800; letter-spacing:-.04em; }
.company-footer-brand > a span { color:var(--brand-orange); }
.company-footer-brand p { font-size:13px; line-height:1.7; color:#BDCDD9; margin:12px 0 0; }
.company-footer-address { display:grid; gap:10px; font-style:normal; font-size:13px; line-height:1.7; color:#BDCDD9; }
.company-footer-address strong { color:#fff; font-size:14px; }
.company-footer-contacts { display:flex; flex-direction:column; align-items:flex-start; gap:10px; font-size:14px; }
.company-footer-contacts > span { font-size:12px; color:#BDCDD9; }
.company-footer-contacts a { color:#fff; overflow-wrap:anywhere; }
.company-footer-contacts a:hover { color:#FFB596; }
.company-footer a:focus-visible { outline:3px solid #FF855C; outline-offset:5px; }
.wf-framed .company-footer { display:none; }
.workflow-root .wf-calculation-result { margin-top:20px; padding:18px 20px; background:#F0F4F6; border-radius:16px; }
.workflow-root .wf-calculation-result h2, .workflow-root .wf-calculation-result h3 { font-size:17px; margin:0 0 14px; }
@media (max-width:640px) { .company-footer-inner { grid-template-columns:1fr; gap:28px; padding:30px 20px; } .company-footer { margin-top:28px; } }
.workflow-root .wf-invoice-actions { display:flex; flex-wrap:wrap; align-items:center; gap:12px; }
.workflow-root .wf-delete-form { margin-top:18px; border-top:1px solid var(--border); padding-top:14px; }
.workflow-root .wf-delete-form summary { color:#9B3024; font-size:13px; font-weight:600; cursor:pointer; margin-bottom:14px; }
.workflow-root .wf-invoice-delete { border-top:0; padding:0; margin:14px 0 20px; }
.workflow-root .wf-invoice-delete .wf-form { padding:16px; border:1px solid #E6CFC9; border-radius:12px; background:#FFFAF7; }
.workflow-root .wf-invoice-delete[open] summary { margin-bottom:12px; }
.workflow-root .wf-invoice-delete:not([open]) summary { margin-bottom:0; }
.workflow-root .wf-invoice-inactive { background:#F4F6F7; }
@media (max-width:640px) { .workflow-root .wf-invoice-actions .btn, .workflow-root .wf-invoice-actions form { width:100%; white-space:normal; } }
.workflow-root .wf-insurance { margin-top:24px; padding-top:20px; border-top:1px solid var(--border); }
.workflow-root .wf-insurance .wf-checkbox { align-items:flex-start; }
.workflow-root .wf-insurance .wf-checkbox input { margin-top:2px; }
.workflow-root .wf-insurance-notice { background:#FBF1D9; color:#775100; padding:12px 14px; border-radius:12px; font-size:13px; line-height:1.6; }
.workflow-root #invoice-insurance-row[hidden] { display:none; }

/* Показатели аккаунта используют карточки и акцент кабинета SkyLan. */
.customer-page .customer-finances { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:24px; margin-bottom:24px; }
.customer-page .customer-balance, .customer-page .customer-rate { display:flex; flex-direction:column; align-items:flex-start; gap:16px; min-width:0; padding:28px; background:var(--surface-card); border-radius:var(--radius-card); box-shadow:var(--shadow-card); }
.customer-page .customer-balance { border-top:4px solid var(--brand-orange); }
.customer-page .customer-rate { border-top:4px solid var(--brand-ink); }
.customer-page .customer-finances h2 { margin:0; font-size:19px; }
.customer-page .customer-rate-copy { display:contents; }
.customer-page .customer-rate-note { order:3; }
.customer-page .customer-rate-note, .customer-page .customer-finance-note { margin:0; color:var(--text-muted); font-size:12px; line-height:1.7; }
.customer-page .customer-rate-value, .customer-page .customer-balance-value { margin:0; font-size:32px; line-height:1.3; font-weight:800; letter-spacing:-.035em; overflow-wrap:anywhere; max-width:100%; }
.customer-page .customer-rate-unavailable, .customer-page .customer-balance-unavailable { font-size:21px; }
@media (max-width:1000px) and (min-width:901px) {
  .customer-page .nav-links a { padding:8px 9px; font-size:13px; }
  .customer-page .nav-balance { padding:9px 12px; }
}
@media (max-width:640px) {
  .customer-page .customer-finances { grid-template-columns:minmax(0,1fr); gap:18px; }
  .customer-page .customer-balance, .customer-page .customer-rate { gap:14px; padding:22px; }
  .customer-page .customer-rate-value, .customer-page .customer-balance-value { font-size:30px; }
  .customer-page .customer-rate-unavailable, .customer-page .customer-balance-unavailable { font-size:21px; }
  .customer-page .nav-right { flex-wrap:wrap; }
  .customer-page .nav-balance { max-width:100%; white-space:normal; flex-wrap:wrap; }
  .customer-page .nav-balance .val { overflow-wrap:anywhere; min-width:0; }
}

/* Оплата покупателя: те же карточки, формы и кнопки кабинета. */
.customer-page .customer-payment-layout { display:grid; grid-template-columns:minmax(0,1.4fr) minmax(280px,1fr); gap:24px; align-items:start; }
.customer-page .customer-checkout-layout { grid-template-columns:minmax(0,1fr) minmax(0,1.1fr); }
.customer-page .customer-invoice-item { padding:20px 0; border-top:1px solid var(--border); min-width:0; }
.customer-page .customer-invoice-item:first-child { padding-top:0; border-top:0; }
.customer-page .customer-invoice-item h3, .customer-page .customer-invoice-item p { overflow-wrap:anywhere; }
.customer-page .customer-invoice-item h3 { margin-bottom:6px; }
.customer-page .customer-invoice-item .wf-hint { margin:0 0 12px; }
.customer-page .customer-invoice-item-values { display:grid; grid-template-columns:repeat(auto-fit,minmax(120px,1fr)); gap:14px; margin:18px 0 0; }
.customer-page .customer-invoice-item-values dt { font-size:12px; color:var(--text-muted); margin-bottom:4px; }
.customer-page .customer-invoice-item-values dd { margin:0; font-size:15px; font-weight:600; }

.customer-page .customer-payment-column { display:grid; gap:22px; min-width:0; }
.customer-page .customer-wallet-stats { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; margin-bottom:24px; }
.customer-page .customer-wallet-stat { background:var(--surface-card); padding:24px; border-radius:var(--radius-card); min-width:0; }
.customer-page .customer-wallet-stat h2 { font-size:14px; color:var(--text-muted); margin:0 0 12px; }
.customer-page .customer-wallet-stat p { font-size:28px; font-weight:800; line-height:1.3; margin:0; overflow-wrap:anywhere; }
.customer-page .customer-wallet-stat:first-child { border-top:4px solid var(--brand-orange); }
.customer-page .customer-payment-options { border:0; padding:0; margin:0 0 22px; display:grid; gap:12px; min-width:0; }
.customer-page .customer-payment-options legend { font-size:16px; font-weight:700; margin-bottom:14px; }
.customer-page .wf-form .customer-payment-option { display:flex; min-width:0; gap:12px; align-items:flex-start; padding:16px; border:1.5px solid var(--border); border-radius:var(--radius-field); margin:0; cursor:pointer; }
.customer-page .customer-payment-option:has(input:checked) { border-color:var(--brand-orange); background:#FFF7F2; }
.customer-page .customer-payment-option:has(input:disabled) { background:var(--surface-muted); cursor:default; }
.customer-page .customer-payment-option input[type=radio] { display:block; width:18px; height:18px; min-width:18px; padding:0; margin:3px 0 0; flex:0 0 18px; accent-color:var(--brand-orange); }
.customer-page .customer-payment-option > span { flex:1 1 0; min-width:0; overflow-wrap:anywhere; }
.customer-page .customer-payment-option strong { display:block; font-size:14px; }
.customer-page .customer-payment-option small { display:block; font-size:12px; color:var(--text-muted); line-height:1.6; margin-top:4px; }
.customer-page .customer-payment-preview { padding:18px; background:var(--surface-muted); border-radius:var(--radius-field); margin:20px 0; }
.customer-page .customer-payment-preview .wf-summary { margin:0; }
.customer-page .customer-payment-status { text-align:center; }
.customer-page .customer-payment-status > .wf-muted,
.customer-page .customer-payment-status > .customer-payment-guidance { max-width:54ch; margin-left:auto; margin-right:auto; }
.customer-page .customer-payment-attempt { margin:-6px 0 18px; color:var(--text-muted); font-size:13px; font-weight:700; }
.customer-page .customer-payment-guidance { padding:14px 16px; margin-top:18px; margin-bottom:18px; border-radius:var(--radius-field); background:var(--warn-bg); color:var(--text); line-height:1.55; }
.customer-page .customer-payment-retry { text-align:left; border-top:1px solid var(--border); margin-top:28px; padding-top:24px; }
.customer-page .customer-payment-retry h3 { margin:0 0 12px; font-size:20px; }
.customer-page .customer-payment-retry .wf-summary { margin:18px 0; }
.customer-page .customer-payment-retry-form { margin-top:18px; }
.customer-page .customer-payment-symbol { width:56px; height:56px; display:grid; place-items:center; border-radius:50%; background:var(--surface-muted); font-size:26px; margin:0 auto 20px; }
.customer-page .customer-payment-symbol.is-success { color:var(--ok); background:var(--ok-bg); }
.customer-page .customer-payment-symbol.is-warning { color:var(--warn); background:var(--warn-bg); }
.customer-page .customer-payment-qr { margin:24px auto; padding:16px; width:260px; max-width:100%; border:1px solid var(--border); border-radius:var(--radius-field); background:#fff; }
.customer-page .customer-payment-qr img { display:block; width:100%; height:auto; }
.customer-page .customer-payment-actions { display:flex; flex-wrap:wrap; gap:12px; margin-top:20px; }
.customer-page .customer-payment-actions form { margin:0; }
.customer-page .customer-payment-terms { display:grid; gap:14px; margin:22px 0; }
.customer-page .customer-payment-terms label { display:flex; align-items:flex-start; gap:10px; font-size:12px; line-height:1.7; margin:0; }
.customer-page .customer-payment-terms input { flex-shrink:0; width:18px; height:18px; margin:2px 0 0; accent-color:var(--brand-orange); }
.customer-page .customer-wallet-history { list-style:none; padding:0; margin:0; }
.customer-page .customer-wallet-history li { padding:18px 0; border-top:1px solid var(--border); display:flex; justify-content:space-between; align-items:flex-start; gap:18px; }
.customer-page .customer-wallet-history li:first-child { border-top:0; }
.customer-page .customer-wallet-history strong { font-size:14px; }
.customer-page .customer-wallet-history p { margin:5px 0 0; font-size:12px; color:var(--text-muted); }
.customer-page .customer-wallet-history .customer-history-amount { font-size:16px; white-space:nowrap; text-align:right; }
.customer-page [data-payment-panel][hidden], .customer-page [data-payment-preview-error][hidden], .customer-page [data-payment-consents][hidden], .customer-page [data-payment-method][hidden] { display:none; }
@media (max-width:900px) { .customer-page .customer-payment-layout { grid-template-columns:minmax(0,1fr); } }
@media (max-width:640px) {
  .customer-page .customer-wallet-layout > aside { order:-1; }
  .customer-page .customer-wallet-stats { grid-template-columns:minmax(0,1fr); gap:14px; }
  .customer-page .customer-wallet-stat { padding:22px; }
  .customer-page .customer-payment-actions .btn, .customer-page .customer-payment-actions form { width:100%; white-space:normal; }
  .customer-page .customer-wallet-history li { flex-direction:column; gap:10px; }
}

/* Движение заказа: общий блок для менеджера и покупателя. */
.workflow-root .wf-fulfillment { margin-bottom:24px; border-top:4px solid var(--brand-orange); min-width:0; }
.workflow-root .wf-fulfillment-layout { display:grid; grid-template-columns:minmax(0,1fr); gap:28px; }
.workflow-root .wf-fulfillment-editable { grid-template-columns:minmax(0,1fr) minmax(0,1fr); }
.workflow-root .wf-fulfillment-current, .workflow-root .wf-fulfillment-form { min-width:0; overflow-wrap:anywhere; }
.workflow-root .wf-fulfillment-current h2 { font-size:26px; max-width:720px; }
.workflow-root .wf-fulfillment-form { border-left:1px solid var(--border); padding-left:28px; }
.workflow-root .wf-fulfillment-form label, .workflow-root .wf-fulfillment-form select { max-width:100%; }
.workflow-root .wf-fulfillment-form [hidden] { display:none; }
.workflow-root .wf-fulfillment-facts { display:flex; flex-wrap:wrap; gap:18px 36px; margin:22px 0; }
.workflow-root .wf-fulfillment-facts > div { min-width:0; max-width:100%; }
.workflow-root .wf-fulfillment-facts dt { font-size:12px; color:var(--text-muted); margin-bottom:5px; }
.workflow-root .wf-fulfillment-facts dd { margin:0; font-size:19px; font-weight:700; }
.workflow-root .wf-fulfillment-tracking { overflow-wrap:anywhere; word-break:break-word; }
.workflow-root .wf-fulfillment-badge { display:inline-block; max-width:100%; white-space:normal; overflow-wrap:anywhere; line-height:1.5; margin:6px 0; }
.workflow-root .wf-fulfillment-history { border-top:1px solid var(--border); padding-top:20px; margin-top:24px; }
.workflow-root .wf-fulfillment-history summary { cursor:pointer; font-size:14px; font-weight:600; overflow-wrap:anywhere; }
.workflow-root .wf-fulfillment-history ol { list-style:none; margin:20px 0 0; padding:0; }
.workflow-root .wf-fulfillment-history li { display:flex; justify-content:space-between; align-items:flex-start; gap:18px; position:relative; padding:0 0 22px 24px; margin:0 0 0 5px; border-left:2px solid #E4E9EC; }
.workflow-root .wf-fulfillment-history li:last-child { border-color:transparent; padding-bottom:0; }
.workflow-root .wf-fulfillment-history li::before { content:''; position:absolute; width:10px; height:10px; left:-6px; top:5px; border-radius:50%; background:var(--brand-orange); }
.workflow-root .wf-fulfillment-history li > div { min-width:0; overflow-wrap:anywhere; }
.workflow-root .wf-fulfillment-history li > time { flex-shrink:0; max-width:45%; }
.workflow-root .wf-fulfillment-history strong { font-size:14px; }
.workflow-root .wf-fulfillment-history p { margin:5px 0 0; font-size:13px; color:var(--text-muted); }
@media (max-width:900px) {
  .workflow-root .wf-fulfillment-editable { grid-template-columns:minmax(0,1fr); }
  .workflow-root .wf-fulfillment-form { border-left:0; border-top:1px solid var(--border); padding:24px 0 0; }
}
@media (max-width:640px) {
  .workflow-root .wf-fulfillment-current h2 { font-size:22px; }
  .workflow-root .wf-fulfillment-form .btn { width:100%; white-space:normal; }
  .workflow-root .wf-fulfillment-history li { flex-direction:column; gap:6px; padding-left:18px; }
  .workflow-root .wf-fulfillment-history li > time { max-width:100%; }
}

/* Each invoice retains its own fulfillment details and editor. */
.workflow-root .wf-invoice-fulfillment { border-top:1px solid var(--border); margin:24px 0; padding:22px 0 0; }
.workflow-root .wf-invoice-fulfillment .wf-fulfillment-layout { grid-template-columns:minmax(0,1fr); gap:18px; }
.workflow-root .wf-invoice-fulfillment h4 { font-size:21px; margin:0; line-height:1.35; }
.workflow-root .wf-fulfillment-editor { min-width:0; }
.workflow-root .wf-fulfillment-editor > summary { cursor:pointer; font-weight:600; font-size:14px; margin-bottom:16px; }
.workflow-root .wf-invoice-fulfillment .wf-fulfillment-form { border:0; padding:0; }
.workflow-root .wf-invoice-fulfillment .wf-fulfillment-facts { margin:16px 0; gap:14px 28px; }
.workflow-root .wf-invoice-fulfillment .wf-fulfillment-facts dd { font-size:17px; }
.workflow-root .wf-invoice-status-list { display:grid; gap:12px; margin:12px 0; min-width:0; }
.workflow-root .wf-invoice-status-item { min-width:0; overflow-wrap:anywhere; }
.workflow-root .wf-invoice-status-item + .wf-invoice-status-item { border-top:1px solid var(--border); padding-top:12px; }

/* The language control shares the cabinet's compact black/orange styling. */
.language-switcher{display:flex;align-items:center;gap:3px;flex-shrink:0;width:max-content;max-width:100%;padding:4px;border:1px solid rgba(128,128,128,.28);border-radius:999px;background:#fff;color:#152536}
.language-switcher .language-switcher-link{display:flex;align-items:center;justify-content:center;min-width:36px;min-height:32px;padding:5px 8px;border-radius:999px;font-size:11px;font-weight:750;line-height:1;text-decoration:none;color:inherit;letter-spacing:.02em}
.language-switcher .language-switcher-link:hover{background:#f1f3f4}
.language-switcher .language-switcher-link.is-active{background:#ff5200;color:#fff}
.language-switcher .language-switcher-link:focus-visible{outline:2px solid #ff5200;outline-offset:3px}
.nav .language-switcher{background:#202020;color:#fff;border-color:#404040}
.nav .language-switcher .language-switcher-link:hover{background:#3a3a3a}
.nav .language-switcher .language-switcher-link.is-active{background:#ff5200}
@media(max-width:640px){.language-switcher .language-switcher-link{min-width:34px;min-height:32px;padding:5px 7px}.nav .language-switcher{margin-left:auto}}
@media(max-width:900px){.home-page .nav-right{flex-wrap:wrap;min-width:0;gap:10px}.home-page .nav-right .language-switcher{margin-left:0}}

/* Request types share the cabinet's navy and orange visual language. */
.wf-request-types{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:0 0 24px}
.wf-request-type{display:flex;align-items:center;gap:16px;padding:22px 24px;background:#fff;border:2px solid transparent;border-radius:20px;text-decoration:none;color:var(--navy,#10283f);min-width:0;transition:border-color .15s,background .15s}
.wf-request-type:hover,.wf-request-type:focus-visible{border-color:#ff5a00}
.wf-request-type.is-active{border-color:#ff5a00;background:#fff5ef}
.wf-request-type>span:last-child{display:grid;gap:6px;min-width:0}
.wf-request-type strong{font-size:17px;line-height:1.35}
.wf-request-type>span>span{font-size:14px;line-height:1.5;color:#607184}
.wf-type-icon{display:grid;place-items:center;flex:0 0 42px;height:42px;border-radius:13px;background:#142c43;color:#fff;font-size:24px}
.wf-request-type.is-active .wf-type-icon{background:#ff5a00}
.wf-request-type-badge{display:inline-flex;max-width:100%;white-space:normal;text-align:left;line-height:1.4;margin:4px 0}
.wf-factory-badge{background:#fff0e5;color:#9d3a00}
.wf-factory-details .wf-summary dd{min-width:0;overflow-wrap:anywhere}
.wf-factory-details .wf-summary dt{min-width:0}
.wf-form input[type=file]{height:auto;max-width:100%;padding:12px}
@media(max-width:640px){.wf-request-types{grid-template-columns:minmax(0,1fr);gap:10px}.wf-request-type{padding:16px;gap:12px}.wf-request-type strong{font-size:16px}.wf-factory-details .wf-summary>div{flex-wrap:wrap}.wf-factory-details .wf-summary dd{text-align:left}}
.wf-attachment{display:inline-flex;align-items:baseline;gap:6px;flex-wrap:wrap;max-width:100%;padding:10px 14px;border-radius:10px;background:#f0f4f7;color:#173650;font-size:14px;font-weight:600;text-decoration:none}
.wf-attachment span{overflow-wrap:anywhere;min-width:0}
.wf-attachment:hover{text-decoration:underline}
@media(max-width:640px){.workflow-root .wf-factory-details .wf-summary dd{text-align:left;max-width:100%}}

.workflow-root .wf-request-form-column{max-width:900px;margin:0 auto}
.workflow-root .wf-request-form-column .wf-submit-panel .btn{max-width:360px}
.workflow-root .wf-request-price-hint{display:block;min-height:20px;margin-top:8px;font-weight:500}
.workflow-root .wf-request-rate-note{margin:0 0 20px}
.workflow-root .wf-product-title-status{margin-top:-7px}
.workflow-root .wf-swift-fee{padding:16px 18px;background:#fff4ec;border:1px solid #ffd5ba;border-radius:14px;margin:0 0 20px}
.workflow-root .wf-swift-fee[hidden]{display:none}
.workflow-root .wf-swift-fee .wf-hint{margin:7px 0 0}
.workflow-root .wf-clearable-url{position:relative;margin-bottom:16px}
.workflow-root .wf-clearable-url label{margin-bottom:0}
.workflow-root .wf-form .wf-clearable-url input[type=url]{padding-right:48px}
.workflow-root .wf-clear-url{position:absolute;right:7px;bottom:7px;display:grid;place-items:center;width:32px;height:32px;padding:0;border:0;border-radius:8px;background:transparent;color:#6b7785;cursor:pointer;font-size:23px;line-height:1}
.workflow-root .wf-clear-url[hidden]{display:none}
.workflow-root .wf-clear-url:hover{background:#fff0e5;color:#db4a00}
.workflow-root .wf-clear-url:focus-visible{outline:2px solid #ff5a00;outline-offset:1px}
