/* ============================================================
   НАЙДЕНО — оверлеи: карточки, модальные окна, палитра, AI
   ============================================================ */
[hidden] { display: none !important; }
.overlay { position: fixed; inset: 0; z-index: 50; background: rgba(21, 34, 31, .34); backdrop-filter: blur(3px); animation: fadeIn .2s ease; }
.overlay[hidden] { display: none !important; }

/* ---------- Drawer ---------- */
.drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 65;
  width: min(730px, 100%);
  background: var(--surface);
  border-left: 1px solid var(--line);
  box-shadow: -24px 0 80px rgba(21, 34, 31, .15);
  transform: translateX(102%);
  transition: transform .32s cubic-bezier(.22, 1, .36, 1);
  overflow-y: auto;
  overscroll-behavior: contain;
}
.drawer.is-open { transform: none; }
.drawer__inner { display: flex; flex-direction: column; min-height: 100%; }
.drawer-head { padding: 23px 26px 18px; background: linear-gradient(180deg, #fff 0%, #fcfdf9 100%); border-bottom: 1px solid var(--line); }
.drawer-head__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.drawer-head__top > .eyebrow { color: var(--muted-2); letter-spacing: .08em; }
.drawer-head__top .icon-btn { flex: none; }
.drawer-head__badges { display: flex; align-items: center; gap: 5px; flex-wrap: wrap; margin-top: 11px; }
.drawer-head h2 { margin-top: 8px; font-size: 24.5px; line-height: 1.32; letter-spacing: -.035em; font-weight: 800; }
.drawer-head__meta { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: 9px; }
.drawer-head__meta .meta-link, .drawer-head__meta .meta-item { font-size: 14px; }
.drawer-head__meta .meta-link span { max-width: 350px; }
.drawer-head__actions { display: flex; align-items: center; gap: 5px; flex-wrap: wrap; margin-top: 14px; }
.drawer-head__actions .btn { min-height: 34px; }
.stage-select { height: 34px; max-width: 170px; border: 1px solid var(--line); border-radius: 9px; background: var(--surface-2); padding: 0 7px; font-size: 13.5px; color: var(--muted); outline: none; }
.stage-select:focus { border-color: var(--brand-2); }
.drawer-tabs { position: sticky; top: 0; z-index: 8; display: flex; align-items: center; gap: 2px; padding: 0 22px; background: rgba(255, 255, 255, .95); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.drawer-tabs::-webkit-scrollbar { display: none; }
.drawer-tab { position: relative; display: inline-flex; align-items: center; gap: 5px; padding: 13px 9px 14px; color: var(--muted); font-size: 14.5px; font-weight: 600; white-space: nowrap; }
.drawer-tab .icon { width: 13px; height: 13px; }
.drawer-tab:hover { color: var(--ink); }
.drawer-tab.is-active { color: var(--ink); font-weight: 800; }
.drawer-tab.is-active::after { content: ''; position: absolute; left: 7px; right: 7px; bottom: -1px; height: 2px; border-radius: 2px 2px 0 0; background: var(--brand); }
.drawer-tab span { display: inline-flex; align-items: center; justify-content: center; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 4px; background: var(--surface-3); color: var(--muted); font-size: 11.5px; }
.drawer-body { flex: 1; padding: 21px 26px 34px; }
.drawer-foot { position: sticky; bottom: 0; z-index: 9; display: flex; align-items: center; gap: 7px; flex-wrap: wrap; padding: 11px 26px; background: rgba(255, 255, 255, .95); backdrop-filter: blur(14px); border-top: 1px solid var(--line); }
.drawer-foot .btn { min-height: 36px; font-size: 15px; }
.drawer-foot__hint { margin-left: auto; display: flex; align-items: center; gap: 4px; color: var(--muted-2); font-size: 12px; }
.drawer-foot__hint .icon { width: 11px; height: 11px; }
.drawer-empty { padding: 50px; text-align: center; color: var(--muted); }

/* ---------- Tender detail ---------- */
.ai-summary-card { padding: 16px; border: 1px solid #d3e9dc; border-radius: 16px; background: linear-gradient(135deg, #eef9f3 0%, #f8fbf1 62%, #faf5ea 100%); }
.ai-summary-card__head { display: flex; align-items: center; gap: 8px; }
.ai-summary-card__head > div { flex: 1; display: flex; flex-direction: column; gap: 1px; }
.ai-summary-card__head b { font-size: 14.5px; }
.ai-summary-card__head span { font-size: 12px; color: var(--muted); }
.ai-summary-card__head .ai-fresh { flex: none; font-size: 11.5px; color: var(--brand); background: rgba(255,255,255,.8); border: 1px solid #d5eadd; border-radius: 999px; padding: 4px 7px; font-weight: 700; }
.ai-summary-card > p { font-size: 14.5px; line-height: 1.6; color: var(--ink-2); margin-top: 10px; }
.ai-reasons { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 9px; }
.ai-reasons span { display: inline-flex; align-items: center; gap: 3px; font-size: 12px; color: var(--brand); background: rgba(255,255,255,.68); border: 1px solid #d7eadd; border-radius: 5px; padding: 4px 6px; font-weight: 600; }
.ai-reasons .icon { width: 10px; height: 10px; }
.ai-summary-card__actions { display: flex; gap: 13px; flex-wrap: wrap; margin-top: 10px; padding-top: 9px; border-top: 1px solid rgba(198, 226, 210, .65); }
.ai-summary-card__actions .link-btn { font-size: 13px; }
.ai-summary-card--compact { padding: 14px; margin-top: 12px; }
.result-banner { display: flex; align-items: center; gap: 10px; padding: 11px 13px; margin-top: 11px; border-radius: 12px; border: 1px solid; }
.result-banner > .icon { width: 18px; height: 18px; flex: none; }
.result-banner > div { flex: 1; display: flex; flex-direction: column; gap: 1px; }
.result-banner b { font-size: 14px; }
.result-banner span { font-size: 12.5px; color: var(--muted); }
.result-banner .link-btn { font-size: 12.5px; white-space: nowrap; }
.result-banner--won { background: var(--violet-soft); border-color: #e2d8fa; color: var(--violet); }
.result-banner--won span { color: #7c6b9f; }
.result-banner--failed { background: var(--coral-soft); border-color: #f4d8d1; color: var(--coral); }
.result-banner--plan { background: var(--amber-soft); border-color: #f0e1c5; color: var(--amber); }
.fact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; margin-top: 12px; }
.fact { display: flex; flex-direction: column; gap: 2px; padding: 10px 11px; background: var(--surface-2); border: 1px solid var(--line); border-radius: 10px; min-width: 0; }
.fact > span { font-size: 11.5px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted-2); font-weight: 700; }
.fact b { font-size: 15px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fact small { font-size: 11.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.detail-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; margin-top: 12px; }
.detail-block { margin-top: 12px; padding: 14px; background: var(--surface-2); border: 1px solid var(--line); border-radius: 14px; min-width: 0; }
.detail-cols .detail-block { margin-top: 0; }
.detail-block__head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 9px; }
.detail-block__head h3 { display: flex; align-items: center; gap: 5px; font-size: 14.5px; font-weight: 800; }
.detail-block__head h3 .icon { width: 13px; height: 13px; color: var(--brand); }
.detail-block__head > span:not(.panel-tag):not(.ai-label) { font-size: 12px; color: var(--muted-2); }
.detail-block__head .link-btn { font-size: 12.5px; }
.detail-block--risk .detail-block__head h3 .icon { color: var(--coral); }
.check-list, .risk-list { display: flex; flex-direction: column; gap: 7px; }
.check-list li, .risk-list li { display: flex; align-items: flex-start; gap: 6px; font-size: 13px; line-height: 1.5; color: var(--ink-2); }
.check-list li .icon { width: 12px; height: 12px; color: var(--brand); flex: none; margin-top: 1px; }
.risk-list li .icon { width: 12px; height: 12px; color: var(--coral); flex: none; margin-top: 1px; }
.check-list b, .risk-list b { font-weight: 800; color: var(--ink); }
.customer-mini { margin-top: 12px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.customer-mini__main { display: flex; align-items: center; gap: 9px; width: 100%; padding: 12px 13px; text-align: left; }
.customer-mini__main:hover { background: var(--brand-tint); }
.customer-mini__copy { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.customer-mini__copy .eyebrow { font-size: 11px; }
.customer-mini__copy b { font-size: 14px; line-height: 1.35; font-weight: 800; }
.customer-mini__copy small { font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.customer-mini__rating { display: flex; flex-direction: column; align-items: flex-end; gap: 3px; }
.customer-mini__rating .rating { font-size: 13px; }
.customer-mini__rating .risk-badge { font-size: 11.5px; }
.customer-mini__foot { display: flex; flex-wrap: wrap; gap: 13px; padding: 8px 13px; border-top: 1px solid #eef0ea; background: var(--surface-2); }
.customer-mini__foot span { display: flex; align-items: center; gap: 4px; font-size: 11.5px; color: var(--muted); }
.customer-mini__foot span .icon { width: 10px; height: 10px; }
.customer-mini__foot b { color: var(--ink-2); }
.customer-mini--analysis { padding: 14px; background: var(--surface-2); }
.customer-history-stats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.customer-history-stats > div { display: flex; flex-direction: column; gap: 1px; }
.customer-history-stats span { font-size: 11.5px; color: var(--muted-2); }
.customer-history-stats b { font-size: 14.5px; font-weight: 800; }
.price-snapshot { margin-top: 12px; padding: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; }
.price-snapshot__body { display: flex; gap: 18px; flex-wrap: wrap; align-items: flex-end; }
.price-snapshot__body > div { display: flex; flex-direction: column; gap: 1px; }
.price-snapshot__body span { font-size: 11.5px; color: var(--muted-2); }
.price-snapshot__body b { font-size: 17.5px; letter-spacing: -.03em; }
.price-snapshot__body small { font-size: 11.5px; color: var(--muted); }
.price-snapshot__chart { flex: 1; min-width: 100px; max-width: 220px; margin-left: auto; }
.price-snapshot__chart svg { height: 38px; }
.doc-list { display: flex; flex-direction: column; gap: 4px; }
.doc-row { display: flex; align-items: center; gap: 8px; padding: 8px 9px; background: #fff; border: 1px solid var(--line); border-radius: 9px; }
.doc-row:hover { border-color: #cfe2d4; }
.doc-type { width: 29px; height: 32px; border-radius: 6px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; flex: none; background: var(--surface-3); color: var(--muted); }
.doc-type .icon { width: 15px; height: 15px; }
.doc-type small { font-size: 7px; font-weight: 800; }
.doc-type--pdf { background: #fceceb; color: #be5546; }
.doc-type--docx { background: var(--blue-soft); color: var(--blue); }
.doc-type--xlsx { background: var(--brand-soft); color: var(--brand); }
.doc-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.doc-info b { font-size: 13px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.doc-info small { font-size: 11.5px; color: var(--muted); }
.doc-row .icon-btn { width: 26px; height: 26px; }
.doc-list--compact { gap: 3px; }

/* ---------- Tender analysis ---------- */
.analysis-hero { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .9fr); gap: 18px; padding: 17px; border: 1px solid #d9e8db; border-radius: 16px; background: linear-gradient(135deg, #f7fcf8, #f7faf2); }
.analysis-prob { display: flex; align-items: center; gap: 15px; }
.analysis-prob > div:last-child { display: flex; flex-direction: column; }
.analysis-prob h3 { font-size: 20.5px; letter-spacing: -.03em; }
.analysis-prob p { color: var(--muted); font-size: 13px; line-height: 1.5; margin-top: 4px; }
.analysis-factors { display: flex; flex-direction: column; gap: 9px; justify-content: center; }
.analysis-factors > div { position: relative; display: flex; justify-content: space-between; padding-bottom: 5px; font-size: 12.5px; color: var(--muted); }
.analysis-factors b { color: var(--ink-2); font-size: 12.5px; }
.analysis-factors i { position: absolute; left: 0; bottom: 0; height: 4px; border-radius: 99px; background: linear-gradient(90deg, var(--brand-2), var(--brand)); }
.market-mini--flat { margin-top: 8px; border-top: 1px solid #eef0ea; }
.competitor-list { display: flex; flex-direction: column; gap: 1px; }
.competitor-row { display: flex; align-items: center; gap: 7px; width: 100%; padding: 7px 0; border-bottom: 1px solid #eef0ea; text-align: left; }
.competitor-row:last-child { border-bottom: 0; }
.competitor-row:hover b { color: var(--brand); }
.competitor-row > span:nth-child(2) { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.competitor-row b { font-size: 12.5px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.competitor-row small { font-size: 11px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.competitor-row .avatar { width: 24px; height: 24px; font-size: 11px; }
.competitor-stat { display: flex; flex-direction: column; align-items: flex-end; padding: 0 3px; }
.competitor-stat b { font-size: 13px; }
.competitor-stat small { font-size: 10.5px; color: var(--muted-2); }
.competitor-row > .icon { width: 11px; height: 11px; color: var(--muted-2); }
.recommend-list { display: flex; flex-direction: column; gap: 8px; }
.recommend-list > div { display: flex; align-items: flex-start; gap: 6px; font-size: 13px; line-height: 1.5; color: var(--ink-2); }
.recommend-list .icon { width: 13px; height: 13px; color: var(--brand); flex: none; margin-top: 1px; }
.recommend-list > div:last-child .icon { color: var(--amber); }
.recommend-list b { font-weight: 800; }

/* ---------- Docs & history ---------- */
.doc-panel { display: flex; flex-direction: column; gap: 9px; }
.doc-search-box { display: flex; align-items: center; gap: 7px; padding: 5px 8px 5px 11px; background: #fff; border: 1px solid var(--line-strong); border-radius: 11px; box-shadow: 0 2px 8px rgba(21,34,31,.03); }
.doc-search-box > .icon { width: 16px; height: 16px; color: var(--brand); }
.doc-search-box input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font-size: 14px; padding: 8px 2px; }
.doc-search-box kbd { font-size: 11.5px; color: var(--muted-2); border: 1px solid var(--line); border-radius: 4px; padding: 2px 4px; }
.doc-search-results { padding: 10px 11px; background: var(--surface-2); border: 1px solid var(--line); border-radius: 11px; min-height: 60px; }
.doc-search-hint { display: flex; align-items: center; gap: 7px; color: var(--muted); font-size: 12.5px; line-height: 1.5; }
.doc-search-hint .icon { width: 15px; height: 15px; color: var(--brand); flex: none; }
.doc-search-hint--empty .icon { color: var(--muted-2); }
.doc-search-count { font-size: 12px; color: var(--muted); margin-bottom: 6px; }
.doc-search-count b { color: var(--brand); }
.doc-snippet { padding: 7px 0; border-bottom: 1px solid #e8ece4; }
.doc-snippet:last-child { border-bottom: 0; }
.doc-snippet__file { display: flex; align-items: center; gap: 4px; font-size: 11.5px; font-weight: 700; color: var(--brand); margin-bottom: 2px; }
.doc-snippet__file .icon { width: 10px; height: 10px; }
.doc-snippet p { font-size: 12.5px; line-height: 1.55; color: var(--ink-2); }
.doc-snippet mark { background: #fff0b8; color: var(--ink); border-radius: 2px; padding: 0 1px; }
.doc-panel-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 3px; }
.doc-panel-head h3 { font-size: 14.5px; font-weight: 800; }
.doc-panel-head p { font-size: 11.5px; color: var(--muted); margin-top: 1px; }
.doc-panel-head .btn { min-height: 28px; font-size: 12.5px; padding: 5px 8px; }
.doc-tip { display: flex; gap: 5px; align-items: flex-start; color: var(--muted-2); font-size: 11.5px; line-height: 1.5; padding: 8px 9px; background: var(--surface-2); border-radius: 8px; }
.doc-tip .icon { width: 11px; height: 11px; flex: none; margin-top: 1px; color: var(--brand); }
.history-grid { display: grid; grid-template-columns: 1fr; gap: 10px; }
.timeline { position: relative; display: flex; flex-direction: column; gap: 14px; padding-left: 15px; }
.timeline::before { content: ''; position: absolute; left: 4px; top: 5px; bottom: 5px; width: 1px; background: var(--line); }
.timeline-item { position: relative; }
.timeline-dot { position: absolute; left: -15px; top: 4px; width: 9px; height: 9px; border-radius: 50%; border: 2px solid #fff; background: var(--line-strong); box-shadow: 0 0 0 1px var(--line); }
.timeline-dot--brand { background: var(--brand-2); box-shadow: 0 0 0 1px #bfe5d7; }
.timeline-item b { font-size: 13.5px; font-weight: 800; }
.timeline-item small { display: block; font-size: 11.5px; color: var(--muted-2); margin-top: 1px; }
.timeline-item p { font-size: 12.5px; color: var(--muted); line-height: 1.5; margin-top: 3px; }
.comments-list { display: flex; flex-direction: column; gap: 10px; }
.comment { display: flex; gap: 7px; align-items: flex-start; }
.comment .avatar { width: 25px; height: 25px; font-size: 11.5px; }
.comment > div { flex: 1; min-width: 0; padding: 8px 9px; background: #fff; border: 1px solid var(--line); border-radius: 9px; }
.comment__head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.comment__head b { font-size: 12px; }
.comment__head small { font-size: 10.5px; color: var(--muted-2); }
.comment p { font-size: 12.5px; line-height: 1.5; margin-top: 3px; color: var(--ink-2); }
.comments-empty { display: flex; align-items: center; gap: 6px; padding: 14px; border: 1px dashed var(--line-strong); border-radius: 9px; color: var(--muted-2); font-size: 12.5px; }
.comments-empty .icon { width: 14px; height: 14px; }
.comment-form { display: flex; align-items: flex-end; gap: 6px; margin-top: 9px; }
.comment-form textarea { flex: 1; min-height: 48px; resize: vertical; border: 1px solid var(--line); border-radius: 9px; padding: 8px; outline: none; font-size: 13px; line-height: 1.4; background: #fff; }
.comment-form textarea:focus { border-color: var(--brand-2); }
.comment-form .btn { flex: none; min-height: 34px; font-size: 13px; }

/* ---------- Counterparty drawer ---------- */
.drawer-head__profile { display: flex; align-items: flex-start; gap: 12px; margin-top: 11px; }
.drawer-head__profile > div { flex: 1; min-width: 0; }
.drawer-head__profile h2 { margin-top: 5px; }
.drawer-head__profile .drawer-head__badges { margin-top: 0; }
.drawer-head__profile .drawer-head__meta { margin-top: 5px; }
.cp-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 7px; }
.cp-kpis > div { display: flex; flex-direction: column; gap: 2px; padding: 10px 11px; background: var(--surface-2); border: 1px solid var(--line); border-radius: 10px; min-width: 0; }
.cp-kpis span { font-size: 11.5px; color: var(--muted-2); }
.cp-kpis b { font-size: 17px; letter-spacing: -.025em; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cp-kpis .cp-kpi-text { font-size: 13px; white-space: normal; }
.profile-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.profile-facts > div { display: flex; flex-direction: column; gap: 1px; }
.profile-facts span { font-size: 11.5px; color: var(--muted-2); }
.profile-facts b { font-size: 13px; font-weight: 700; line-height: 1.35; }
.profile-fact--wide { grid-column: 1 / -1; }
.contact-card { display: flex; gap: 8px; margin-top: 10px; padding: 9px; background: #fff; border: 1px solid var(--line); border-radius: 10px; }
.contact-card > span { width: 25px; height: 25px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); border-radius: 7px; flex: none; }
.contact-card > span .icon { width: 13px; height: 13px; }
.contact-card b { font-size: 12.5px; display: block; }
.contact-card small { font-size: 11.5px; color: var(--muted); display: block; }
.contact-row { display: flex; align-items: center; flex-wrap: wrap; gap: 3px 8px; font-size: 11.5px; color: var(--muted); margin-top: 3px; }
.contact-row .icon { width: 9px; height: 9px; }
.check-hero { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 16px; background: linear-gradient(135deg, #f8fcf4, #f2f8f2); border: 1px solid #dbe9dc; border-radius: 15px; }
.check-hero > div { display: flex; align-items: center; gap: 14px; }
.check-hero h3 { font-size: 19.5px; letter-spacing: -.03em; }
.check-hero p { color: var(--muted); font-size: 13px; line-height: 1.45; max-width: 330px; margin: 3px 0 5px; }
.checks-list { display: flex; flex-direction: column; gap: 1px; margin-top: 12px; background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.check-row-result { display: flex; align-items: center; gap: 9px; padding: 9px 11px; border-bottom: 1px solid #eef0ea; }
.check-row-result:last-child { border-bottom: 0; }
.check-result-icon { width: 25px; height: 25px; border-radius: 7px; display: grid; place-items: center; flex: none; }
.check-result-icon .icon { width: 13px; height: 13px; }
.check-result-icon.is-ok { background: var(--brand-soft); color: var(--brand); }
.check-result-icon.is-warn { background: var(--amber-soft); color: var(--amber); }
.check-row-result > div { flex: 1; display: flex; flex-direction: column; gap: 1px; }
.check-row-result b { font-size: 12.5px; }
.check-row-result small { font-size: 11.5px; color: var(--muted); }
.check-source { font-size: 11px; color: var(--muted-2); }
.finance-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.finance-grid > div { display: flex; flex-direction: column; gap: 1px; }
.finance-grid span { font-size: 11.5px; color: var(--muted-2); }
.finance-grid b { font-size: 14px; }
.source-chips { display: flex; flex-wrap: wrap; gap: 4px; }
.source-chips span { font-size: 11.5px; color: var(--muted); background: #fff; border: 1px solid var(--line); border-radius: 5px; padding: 4px 6px; }

/* ---------- Modal ---------- */
.modal-backdrop { position: fixed; inset: 0; z-index: 80; background: rgba(21, 34, 31, .42); backdrop-filter: blur(5px); display: flex; align-items: flex-start; justify-content: center; padding: 5vh 20px 24px; overflow-y: auto; animation: fadeIn .18s ease; }
.modal { width: min(580px, 100%); max-height: 90vh; display: flex; flex-direction: column; background: #fff; border: 1px solid rgba(255,255,255,.6); border-radius: 22px; box-shadow: var(--shadow-lg); animation: modalIn .24s cubic-bezier(.22, 1, .36, 1); }
@keyframes modalIn { from { opacity: 0; transform: translateY(12px) scale(.985); } to { opacity: 1; transform: none; } }
.modal--wide { width: min(900px, 100%); }
.modal--wide-form { width: min(860px, 100%); }
.modal--pricing { width: min(1080px, 100%); }
.modal--filters { width: min(470px, 100%); }
.modal--profile { width: min(960px, 100%); }
.modal--help { width: min(860px, 100%); }
.modal__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 20px 24px 15px; border-bottom: 1px solid var(--line); }
.modal__head h2 { font-size: 22.5px; letter-spacing: -.035em; }
.modal__head p { color: var(--muted); font-size: 14px; margin-top: 2px; max-width: 620px; }
.modal__head .icon-btn { flex: none; }
.modal__body { padding: 18px 24px 22px; overflow-y: auto; }
.modal__foot { display: flex; align-items: center; justify-content: flex-end; gap: 7px; padding: 12px 24px; border-top: 1px solid var(--line); background: var(--surface-2); border-radius: 0 0 22px 22px; flex-wrap: wrap; }
.modal--form .modal__body { padding-top: 16px; }
.confirm-text { font-size: 15px; color: var(--muted); line-height: 1.55; }

/* Forms */
.stack-form { display: flex; flex-direction: column; gap: 12px; }
.field { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.field > span { font-size: 13.5px; font-weight: 700; color: var(--ink-2); }
.field > small { font-size: 12px; color: var(--muted-2); line-height: 1.4; }
.field input, .field select, .field textarea { width: 100%; min-height: 38px; border: 1px solid var(--line); border-radius: 9px; background: #fff; padding: 8px 10px; font-size: 15px; outline: none; transition: border-color .16s ease, box-shadow .16s ease; }
.field textarea { resize: vertical; line-height: 1.5; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 14px) 16px, calc(100% - 9px) 16px; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 28px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--brand-2); box-shadow: 0 0 0 3px rgba(24, 163, 124, .1); }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.channel-checks { display: flex; gap: 5px; flex-wrap: wrap; }
.channel-check { display: inline-flex; align-items: center; gap: 5px; height: 33px; padding: 0 9px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface-2); font-size: 13.5px; cursor: pointer; }
.channel-check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.channel-check .checkbox { width: 13px; height: 13px; }
.channel-check input:checked + .checkbox { background: var(--brand); border-color: var(--brand); }
.channel-check input:checked + .checkbox::after { content: ''; position: absolute; left: 4px; top: 1px; width: 3px; height: 6px; border: solid #fff; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); }
.channel-check .icon { width: 13px; height: 13px; color: var(--muted); }
.form-preview { display: flex; gap: 8px; align-items: flex-start; padding: 10px; background: var(--brand-tint); border: 1px solid #d7eade; border-radius: 10px; }
.form-preview > div { display: flex; flex-direction: column; gap: 2px; }
.form-preview b { font-size: 13.5px; }
.form-preview small { font-size: 12px; color: var(--muted); }
.form-actions { display: flex; justify-content: flex-end; gap: 7px; padding-top: 3px; }
.advanced-form { display: flex; flex-direction: column; gap: 12px; }
.advanced-top { display: grid; grid-template-columns: 1.2fr 1fr; gap: 10px; }
.advanced-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 9px; }
.advanced-toggles { display: grid; grid-template-columns: 1fr 1fr; gap: 2px 16px; padding: 10px 11px; background: var(--surface-2); border: 1px solid var(--line); border-radius: 10px; }
.advanced-toggles .switch-row { min-height: 29px; font-size: 13px; }
.advanced-tip { display: flex; align-items: center; gap: 7px; padding: 9px 10px; background: var(--brand-tint); border: 1px solid #d9ebdf; border-radius: 9px; font-size: 12.5px; color: var(--muted); }
.advanced-tip > .icon { width: 14px; height: 14px; color: var(--brand); flex: none; }
.advanced-tip b { color: var(--ink-2); }
.advanced-tip .link-btn { margin-left: auto; font-size: 12px; white-space: nowrap; }
.region-form { min-height: 100px; }
.region-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px 12px; }
.region-grid .check-row { min-height: 29px; font-size: 14px; }

/* Pricing */
.pricing-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 9px; }
.pricing-grid--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.price-card { position: relative; display: flex; flex-direction: column; padding: 15px; background: var(--surface-2); border: 1px solid var(--line); border-radius: 14px; }
.price-card--featured { background: linear-gradient(160deg, #f1faf5, #fbfcf5); border-color: #bfe0cf; box-shadow: 0 8px 28px rgba(11, 107, 83, .08); }
.plan-badge { position: absolute; top: 9px; right: 9px; background: var(--brand); color: #fff; border-radius: 999px; padding: 3px 7px; font-size: 11px; font-weight: 800; }
.plan-label { font-size: 14px; font-weight: 800; color: var(--muted); }
.price-card__head { display: flex; flex-direction: column; gap: 1px; margin-bottom: 11px; }
.price-card__head b { font-size: 24.5px; letter-spacing: -.04em; margin-top: 3px; }
.price-card__head small { font-size: 12px; color: var(--muted-2); }
.price-card ul { display: flex; flex-direction: column; gap: 5px; flex: 1; margin-bottom: 12px; }
.price-card li { display: flex; align-items: flex-start; gap: 4px; font-size: 12.5px; line-height: 1.4; color: var(--ink-2); }
.price-card li .icon { width: 10px; height: 10px; color: var(--brand); flex: none; margin-top: 1px; }
.price-card .btn { min-height: 32px; font-size: 13px; }
.pricing-note { display: flex; gap: 5px; align-items: flex-start; margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--line); font-size: 12px; color: var(--muted-2); }
.pricing-note .icon { width: 11px; height: 11px; flex: none; }

/* Profile */
.profile-layout { display: grid; grid-template-columns: minmax(0, 1.5fr) 300px; gap: 18px; align-items: start; }
.profile-main { min-width: 0; }
.profile-head { display: flex; align-items: center; gap: 11px; padding-bottom: 14px; margin-bottom: 13px; border-bottom: 1px solid var(--line); }
.profile-head > div { flex: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 2px; }
.profile-head h3 { font-size: 18.5px; }
.profile-head p { font-size: 13px; color: var(--muted); }
.profile-head .badge { margin-top: 2px; }
.profile-head .btn { flex: none; }
.profile-side { display: flex; flex-direction: column; gap: 10px; }
.profile-side .panel { padding: 14px; }
.chip-select { display: flex; flex-wrap: wrap; gap: 4px; }
.select-chip { display: inline-flex; align-items: center; gap: 4px; height: 25px; padding: 0 7px; border-radius: 6px; background: var(--brand-soft); border: 1px solid #d5ebdf; color: var(--brand); font-size: 12px; font-weight: 600; }
.select-chip .icon { width: 10px; height: 10px; }
.select-chip--add { background: #fff; border-style: dashed; color: var(--muted); }
.integration-list { display: flex; flex-direction: column; gap: 1px; }
.integration-list > span { display: flex; align-items: center; gap: 6px; padding: 7px 0; border-bottom: 1px solid #eef0ea; font-size: 12.5px; color: var(--muted); }
.integration-list > span:last-child { border-bottom: 0; }
.integration-list .icon { width: 12px; height: 12px; color: var(--muted-2); }
.integration-list b { margin-left: auto; font-size: 11px; color: var(--brand); font-weight: 700; }
.profile-side .btn { margin-top: 8px; }

/* Help */
.help-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.help-title { display: flex; align-items: center; gap: 5px; font-size: 16px; margin-bottom: 9px; }
.help-title .icon { width: 14px; height: 14px; color: var(--brand); }
.help-list { display: flex; flex-direction: column; gap: 8px; }
.help-list > div { padding: 9px 10px; background: var(--surface-2); border: 1px solid var(--line); border-radius: 9px; }
.help-list b { font-size: 13px; display: block; }
.help-list p { font-size: 12.5px; color: var(--muted); line-height: 1.45; margin-top: 2px; }
.shortcut-list { display: grid; grid-template-columns: 1fr auto auto; gap: 6px 4px; align-items: center; padding: 9px 10px; background: var(--surface-2); border: 1px solid var(--line); border-radius: 9px; font-size: 12.5px; }
.shortcut-list kbd { font-family: var(--font); font-size: 11.5px; background: #fff; border: 1px solid var(--line); border-radius: 4px; padding: 3px 5px; color: var(--muted); text-align: center; }
.help-note { display: flex; gap: 6px; align-items: flex-start; padding: 9px; margin-top: 9px; background: var(--amber-soft); border: 1px solid #f0e1c5; border-radius: 8px; font-size: 12px; line-height: 1.45; color: #7e5d2e; }
.help-note .icon { width: 11px; height: 11px; flex: none; }
.help-support { display: flex; align-items: center; gap: 8px; margin-top: 10px; padding: 10px; background: var(--brand-tint); border: 1px solid #d7eade; border-radius: 9px; }
.help-support > .icon { width: 17px; height: 17px; color: var(--brand); flex: none; }
.help-support > div { flex: 1; }
.help-support b { font-size: 12.5px; }
.help-support p { font-size: 11.5px; color: var(--muted); }
.help-support .btn { flex: none; }

/* Document preview */
.doc-preview { background: var(--surface-2); border: 1px solid var(--line); border-radius: 12px; padding: 10px; }
.doc-preview__toolbar { display: flex; align-items: center; gap: 7px; padding: 2px 3px 9px; }
.doc-preview__toolbar > span { font-size: 12px; color: var(--muted-2); }
.doc-preview__actions { display: flex; gap: 3px; margin-left: auto; }
.doc-preview__actions .icon-btn { width: 27px; height: 27px; }
.doc-page { max-width: 660px; margin: 0 auto; background: #fff; border: 1px solid #e5e7df; border-radius: 4px; padding: 34px 38px; box-shadow: 0 8px 26px rgba(21,34,31,.07); font-family: Georgia, 'Times New Roman', serif; color: #28322d; }
.doc-page__brand { display: flex; align-items: center; gap: 6px; padding-bottom: 12px; border-bottom: 1px solid #e3e5dc; color: #64736c; font-family: var(--font); font-size: 11.5px; }
.doc-page__brand .brand-mark { width: 20px; height: 20px; border-radius: 5px; box-shadow: none; }
.doc-page__brand .brand-mark svg { width: 14px; height: 14px; }
.doc-page__brand b { margin-left: auto; font-weight: 600; }
.doc-page h2 { font-family: var(--font); font-size: 25.5px; letter-spacing: -.03em; margin: 20px 0 5px; color: var(--ink); }
.doc-page h3 { font-family: var(--font); font-size: 16px; margin: 19px 0 6px; color: var(--ink); }
.doc-page p, .doc-page li { font-size: 15px; line-height: 1.72; color: #45524b; }
.doc-page ul { padding-left: 18px; list-style: disc; }
.doc-page__lead { font-size: 16px !important; font-weight: 700; color: var(--ink) !important; }
.doc-page__meta { display: flex; flex-wrap: wrap; gap: 5px 16px; padding: 10px 0; margin-top: 10px; border-top: 1px solid #eceee7; border-bottom: 1px solid #eceee7; font-family: var(--font); font-size: 11.5px; color: #738078; }
.doc-page__note { margin-top: 20px; padding-top: 9px; border-top: 1px solid #eceee7; font-size: 12px !important; color: #8b958f !important; }
.doc-preview__pages { display: flex; flex-direction: column; gap: 14px; max-height: 68vh; overflow-y: auto; padding: 4px 2px 10px; }
.doc-preview__source { display: inline-flex; align-items: center; gap: 4px; margin-left: auto; color: var(--brand) !important; font-size: 11px !important; font-weight: 700; }
.doc-preview__source .icon { width: 12px; height: 12px; }
.doc-page { max-width: 760px; padding: 38px 44px; }
.doc-page__index { margin-top: 12px; color: #8b958f; font-family: var(--font); font-size: 11px; text-align: right; }
.doc-page__footer { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 24px; padding-top: 10px; border-top: 1px solid #eceee7; color: #8b958f; font-family: var(--font); font-size: 10.5px; }
.doc-table { width: 100%; margin: 12px 0 16px; border-collapse: collapse; font-family: var(--font); font-size: 13px; line-height: 1.45; }
.doc-table th, .doc-table td { padding: 8px 9px; border: 1px solid #e3e7de; text-align: left; vertical-align: top; }
.doc-table th { width: 34%; background: #f7f9f4; color: #55645d; font-weight: 700; }
.doc-table td { color: #28322d; }
.doc-table--positions th { width: auto; }
.doc-table--positions td:first-child { width: 28px; text-align: center; }
.doc-risk-list li { color: #8f4d3e !important; }
.doc-page ol { padding-left: 20px; list-style: decimal; }

/* ---------- Command palette ---------- */
.palette-backdrop { position: fixed; inset: 0; z-index: 90; background: rgba(21, 34, 31, .4); backdrop-filter: blur(5px); display: flex; align-items: flex-start; justify-content: center; padding: 11vh 18px 24px; overflow-y: auto; animation: fadeIn .16s ease; }
.palette { width: min(660px, 100%); max-height: 72vh; display: flex; flex-direction: column; background: #fff; border: 1px solid rgba(255,255,255,.6); border-radius: 19px; box-shadow: var(--shadow-lg); overflow: hidden; animation: modalIn .2s cubic-bezier(.22, 1, .36, 1); }
.palette-search { display: flex; align-items: center; gap: 8px; padding: 12px 15px; border-bottom: 1px solid var(--line); }
.palette-search > .icon { width: 19px; height: 19px; color: var(--brand); flex: none; }
.palette-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font-size: 17.5px; padding: 3px 0; }
.palette-search kbd { font-size: 12px; color: var(--muted-2); border: 1px solid var(--line); border-radius: 4px; padding: 3px 5px; }
.palette-results { flex: 1; overflow-y: auto; padding: 7px; }
.palette-section { margin-bottom: 4px; }
.palette-section__label { padding: 7px 8px 4px; font-size: 12px; text-transform: uppercase; letter-spacing: .09em; color: var(--muted-2); font-weight: 800; }
.palette-item { display: flex; align-items: center; gap: 9px; width: 100%; padding: 8px; border-radius: 9px; text-align: left; }
.palette-item:hover, .palette-item.is-selected { background: var(--brand-tint); }
.palette-item__icon { width: 29px; height: 29px; border-radius: 8px; background: var(--surface-3); color: var(--muted); display: grid; place-items: center; flex: none; }
.palette-item.is-selected .palette-item__icon { background: var(--brand-soft); color: var(--brand); }
.palette-item__icon .icon { width: 14px; height: 14px; }
.palette-item > span:nth-child(2) { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.palette-item b { font-size: 14.5px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.palette-item small { font-size: 12.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.palette-item > .icon { width: 13px; height: 13px; color: var(--muted-2); opacity: 0; }
.palette-item.is-selected > .icon { opacity: 1; }
.palette-empty { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 35px; color: var(--muted); font-size: 14px; }
.palette-empty .icon { width: 22px; height: 22px; color: var(--muted-2); }
.palette-foot { display: flex; align-items: center; gap: 13px; padding: 8px 14px; border-top: 1px solid var(--line); background: var(--surface-2); color: var(--muted-2); font-size: 12px; flex-wrap: wrap; }
.palette-foot span { display: flex; align-items: center; gap: 4px; }
.palette-foot kbd { font-size: 11px; background: #fff; border: 1px solid var(--line); border-radius: 3px; padding: 2px 4px; }
.palette-foot .icon { width: 11px; height: 11px; }

/* ---------- AI FAB & panel ---------- */
.ai-fab-wrap { position: fixed; right: 20px; bottom: 18px; z-index: 55; transition: opacity .18s ease, transform .18s ease; }
.ai-fab-wrap.is-hidden { opacity: 0; pointer-events: none; transform: translateY(8px); }
.ai-fab { display: flex; align-items: center; gap: 8px; padding: 7px 9px 7px 8px; background: #fff; border: 1px solid #d6e5d8; border-radius: 999px; box-shadow: 0 12px 34px rgba(21, 34, 31, .14); transition: transform .18s ease, box-shadow .18s ease; }
.ai-fab:hover { transform: translateY(-2px); box-shadow: 0 16px 38px rgba(21, 34, 31, .18); }
body.no-scroll .ai-fab-wrap { opacity: 0; pointer-events: none; transform: translateY(8px); }
.ai-fab-wrap.is-public-hidden { display: none !important; }
@media (min-width: 981px) {
  .ai-fab-wrap--dense { display: none; }
}
.ai-fab__orb { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--brand), var(--brand-2)); box-shadow: 0 4px 12px rgba(11,107,83,.24); }
.ai-fab__orb .icon { width: 16px; height: 16px; }
.ai-fab__copy { display: flex; flex-direction: column; text-align: left; padding-right: 3px; }
.ai-fab__copy b { font-size: 13.5px; line-height: 1.2; }
.ai-fab__copy small { font-size: 11.5px; color: var(--muted); }
.ai-fab__shortcut { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); font-size: 11px; font-weight: 800; }
.ai-panel { position: fixed; top: 84px; right: 16px; bottom: 16px; z-index: 72; width: 405px; max-width: calc(100vw - 32px); background: #fff; border: 1px solid var(--line); border-radius: 23px; box-shadow: 0 30px 90px rgba(21, 34, 31, .22); transform: translateX(calc(100% + 34px)); opacity: 0; pointer-events: none; transition: transform .32s cubic-bezier(.22,1,.36,1), opacity .2s ease; overflow: hidden; }
.ai-panel.is-open { transform: none; opacity: 1; pointer-events: auto; }
.ai-panel__inner { height: 100%; display: flex; flex-direction: column; background: linear-gradient(180deg, #fff 0%, #fbfdf9 100%); }
.ai-panel__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 15px; border-bottom: 1px solid var(--line); }
.ai-panel__brand { display: flex; align-items: center; gap: 8px; }
.ai-panel__brand > div { display: flex; flex-direction: column; gap: 1px; }
.ai-panel__brand b { font-size: 15px; }
.ai-panel__brand small { display: flex; align-items: center; gap: 4px; font-size: 11.5px; color: var(--muted); }
.ai-panel__brand small .online-dot { width: 5px; height: 5px; }
.ai-panel__tag { font-size: 11px; color: var(--amber); background: var(--amber-soft); border-radius: 4px; padding: 3px 5px; text-transform: uppercase; letter-spacing: .06em; font-weight: 800; }
.ai-panel__context { display: flex; align-items: center; gap: 5px; padding: 7px 15px; background: var(--brand-tint); border-bottom: 1px solid #e4f0e8; color: var(--muted); font-size: 11.5px; }
.ai-panel__context .icon { width: 11px; height: 11px; color: var(--brand); }
.ai-messages { flex: 1; overflow-y: auto; padding: 14px 15px; display: flex; flex-direction: column; gap: 11px; }
.ai-msg { display: flex; align-items: flex-start; gap: 7px; }
.ai-msg--user { justify-content: flex-end; }
.ai-msg--assistant { justify-content: flex-start; }
.ai-msg__avatar { width: 25px; height: 25px; border-radius: 8px; display: grid; place-items: center; background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff; flex: none; margin-top: 1px; }
.ai-msg__avatar .icon { width: 12px; height: 12px; }
.ai-bubble { max-width: calc(100% - 35px); padding: 9px 11px; border-radius: 12px; font-size: 13.5px; line-height: 1.55; }
.ai-msg--assistant .ai-bubble { background: var(--surface-2); border: 1px solid var(--line); border-top-left-radius: 4px; color: var(--ink-2); }
.ai-msg--user .ai-bubble { background: var(--brand); color: #fff; border-top-right-radius: 4px; }
.ai-bubble p + p { margin-top: 6px; }
.ai-bubble b { font-weight: 800; color: inherit; }
.ai-bubble .ai-inline-actions { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 8px; }
.ai-bubble .ai-inline-actions button { display: inline-flex; align-items: center; height: 24px; padding: 0 7px; border-radius: 6px; background: #fff; border: 1px solid #d8e8dc; color: var(--brand); font-size: 11.5px; font-weight: 700; }
.ai-bubble .ai-inline-actions button:hover { background: var(--brand-soft); }
.ai-bubble .ai-list { display: flex; flex-direction: column; gap: 4px; margin: 6px 0; }
.ai-bubble .ai-list li { display: flex; align-items: flex-start; gap: 5px; font-size: 12.5px; line-height: 1.45; color: var(--ink-2); }
.ai-bubble .ai-list li .icon { width: 11px; height: 11px; color: var(--brand); flex: none; margin-top: 1px; }
.ai-bubble .ai-list--risk li .icon { color: var(--coral); }
.ai-bubble .ai-list--number { counter-reset: ai-step; list-style: none; padding: 0; }
.ai-bubble .ai-list--number li { counter-increment: ai-step; }
.ai-bubble .ai-list--number li::before { content: counter(ai-step); width: 16px; height: 16px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--brand-soft); color: var(--brand); font-size: 11px; font-weight: 800; }
.ai-action-link { display: inline-flex; align-items: center; min-height: 26px; padding: 0 8px; border: 1px solid #d4e8da; border-radius: 7px; background: var(--brand-tint); color: var(--brand); font-size: 12px; font-weight: 700; }
.ai-fact-row { display: flex; gap: 5px; flex-wrap: wrap; margin: 7px 0; }
.ai-fact-row span { display: inline-flex; flex-direction: column; gap: 1px; padding: 5px 7px; background: #fff; border: 1px solid var(--line); border-radius: 6px; font-size: 11px; color: var(--muted); }
.ai-fact-row b { font-size: 15px; color: var(--ink); }
.ai-stats { display: flex; gap: 5px; margin: 7px 0; }
.ai-stats > div { flex: 1; padding: 6px 7px; background: #fff; border: 1px solid var(--line); border-radius: 7px; min-width: 0; }
.ai-stats span { display: block; font-size: 10.5px; color: var(--muted-2); }
.ai-stats b { display: block; font-size: 15px; margin-top: 1px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ai-stats small { display: block; font-size: 7.5px; color: var(--muted); margin-top: 1px; }
.ai-checklist { display: flex; flex-direction: column; gap: 4px; margin: 6px 0; }
.ai-checklist label { display: flex; align-items: flex-start; gap: 5px; padding: 4px 5px; background: #fff; border: 1px solid var(--line); border-radius: 5px; font-size: 12px; line-height: 1.4; color: var(--ink-2); cursor: pointer; }
.ai-checklist input { margin: 1px 0 0; accent-color: var(--brand); flex: none; }
.ai-tender { display: flex; flex-direction: column; gap: 2px; width: 100%; padding: 7px 8px; margin-top: 5px; background: #fff; border: 1px solid var(--line); border-radius: 8px; text-align: left; }
.ai-tender:hover { border-color: #c5e0d2; background: var(--brand-tint); }
.ai-tender__top { display: flex; align-items: center; justify-content: space-between; gap: 5px; }
.ai-tender__top .badge { height: 18px; font-size: 11.5px; }
.ai-tender__top b { font-size: 12.5px; color: var(--brand); }
.ai-tender__title { font-size: 12.5px; line-height: 1.35; font-weight: 700; color: var(--ink); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ai-tender__meta { font-size: 11px; color: var(--muted); }
.ai-tender__match { margin-top: 2px; }
.ai-tender__match .match-pill { height: 17px; font-size: 10.5px; padding: 0 5px; }
.ai-tender--entity .ai-tender__top { justify-content: flex-start; flex-wrap: wrap; }
.ai-more { display: flex; align-items: center; justify-content: center; gap: 4px; width: 100%; height: 26px; margin-top: 6px; border-radius: 6px; background: var(--brand-soft); color: var(--brand); font-size: 11.5px; font-weight: 700; }
.ai-more .icon { width: 10px; height: 10px; }
.ai-typing { display: flex; align-items: center; gap: 4px; color: var(--muted); font-size: 12px; }
.ai-typing span { width: 5px; height: 5px; border-radius: 50%; background: var(--brand-2); animation: typing 1.1s ease-in-out infinite; }
.ai-typing span:nth-child(2) { animation-delay: .15s; }
.ai-typing span:nth-child(3) { animation-delay: .3s; }
.ai-typing small { margin-left: 4px; font-size: 11px; color: var(--muted-2); }
@keyframes typing { 0%, 60%, 100% { opacity: .35; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-2px); } }
.ai-suggestions { display: flex; gap: 4px; padding: 7px 13px; border-top: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; flex: none; }
.ai-suggestions::-webkit-scrollbar { display: none; }
.ai-suggest { flex: none; height: 25px; padding: 0 7px; border: 1px solid #d8e8dc; border-radius: 999px; background: #fff; color: var(--brand); font-size: 11.5px; font-weight: 600; white-space: nowrap; }
.ai-suggest:hover { background: var(--brand-soft); }
.ai-input { display: flex; align-items: flex-end; gap: 6px; margin: 0 13px; padding: 6px 6px 6px 10px; border: 1px solid var(--line-strong); border-radius: 13px; background: #fff; flex: none; }
.ai-input textarea { flex: 1; border: 0; outline: 0; background: none; resize: none; padding: 5px 0; font-size: 13px; line-height: 1.45; max-height: 100px; }
.ai-send { width: 29px; height: 29px; border-radius: 9px; background: var(--brand); color: #fff; display: grid; place-items: center; flex: none; }
.ai-send:hover { background: #095844; }
.ai-send .icon { width: 14px; height: 14px; }
.ai-disclaimer { padding: 6px 15px 10px; color: var(--muted-2); font-size: 10.5px; text-align: center; }

/* ---------- Auth / trial ---------- */
.auth-entry { display: flex; align-items: center; gap: 9px; width: 100%; padding: 11px; margin-bottom: 14px; border: 1px solid #d4e9dc; border-radius: 13px; background: linear-gradient(135deg, #effaf4, #f7fbf1); text-align: left; }
.auth-entry:hover { border-color: #b9ddc8; box-shadow: 0 6px 16px rgba(11,107,83,.06); }
.auth-entry__icon { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--brand); color: #fff; flex: none; }
.auth-entry__icon .icon { width: 17px; height: 17px; }
.auth-entry > span:nth-child(2) { flex: 1; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.auth-entry b { display: block; font-size: 13px; line-height: 1.25; }
.auth-entry small { display: block; font-size: 10.5px; line-height: 1.35; color: var(--muted); }
.auth-entry > .icon { width: 15px; height: 15px; color: var(--brand); flex: none; }
.auth-trial { display: flex; align-items: center; gap: 7px; padding: 10px 11px; margin-bottom: 14px; border: 1px solid #d4e9dc; border-radius: 11px; background: var(--brand-tint); }
.auth-trial > span { color: var(--brand); display: grid; place-items: center; }
.auth-trial > span .icon { width: 15px; height: 15px; }
.auth-trial b { font-size: 12px; color: var(--brand); }
.auth-trial small { font-size: 9.5px; color: var(--muted); margin-left: auto; }
.topbar-auth { min-height: 34px; padding: 6px 10px; font-size: 12px; }
.trial-pill { display: inline-flex; align-items: center; gap: 5px; height: 31px; padding: 0 9px; border: 1px solid #d4e9dc; border-radius: 999px; background: var(--brand-soft); color: var(--brand); font-size: 11px; font-weight: 800; white-space: nowrap; }
.trial-pill .icon { width: 13px; height: 13px; }
.profile-auth-banner { display: flex; align-items: center; gap: 10px; padding: 11px 12px; margin-bottom: 15px; border: 1px solid #d4e8da; border-radius: 12px; background: linear-gradient(135deg, #eef9f3, #fbfcf4); }
.profile-auth-banner__icon { width: 34px; height: 34px; border-radius: 10px; background: var(--brand); color: #fff; display: grid; place-items: center; flex: none; }
.profile-auth-banner__icon .icon { width: 17px; height: 17px; }
.profile-auth-banner > div { flex: 1; }
.profile-auth-banner b { font-size: 12.5px; }
.profile-auth-banner p { color: var(--muted); font-size: 11px; line-height: 1.45; margin-top: 2px; }
.profile-auth-banner .btn { flex: none; font-size: 11px; min-height: 32px; }
.profile-auth-banner--ok { background: #f3faf5; }
.profile-auth-banner--ok .profile-auth-banner__icon { background: var(--brand-soft); color: var(--brand); }
.modal--auth { width: min(600px, 100%); }
.auth-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; margin-bottom: 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface-2); }
.auth-tabs button { height: 34px; border-radius: 7px; color: var(--muted); font-size: 12px; font-weight: 700; }
.auth-tabs button.is-active { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(21,34,31,.08); }
.auth-benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-bottom: 16px; }
.auth-benefits > span { display: flex; flex-direction: column; gap: 1px; padding: 10px; border: 1px solid var(--line); border-radius: 9px; background: var(--surface-2); }
.auth-benefits > span > .icon { width: 15px; height: 15px; color: var(--brand); margin-bottom: 3px; }
.auth-benefits b { font-size: 10px; }
.auth-benefits small { font-size: 8.5px; color: var(--muted); }
.auth-intro { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 14px; }
.auth-logo { flex: none; }
.auth-logo .brand-mark { width: 44px; height: 44px; border-radius: 12px; }
.auth-logo .brand-mark svg { width: 31px; height: 31px; }
.auth-intro h3 { font-size: 18px; letter-spacing: -.025em; margin-top: 2px; }
.auth-intro p { color: var(--muted); font-size: 11px; line-height: 1.5; margin-top: 3px; }
.auth-lead { color: var(--muted); font-size: 11.5px; line-height: 1.5; margin-bottom: 10px; }
.auth-consent { display: flex; align-items: flex-start; gap: 7px; color: var(--muted); font-size: 10px; line-height: 1.5; cursor: pointer; }
.auth-consent input { margin-top: 2px; accent-color: var(--brand); flex: none; }
.auth-legal { display: flex; align-items: flex-start; gap: 4px; color: var(--muted-2); font-size: 9px; line-height: 1.45; }
.auth-legal .icon { width: 11px; height: 11px; flex: none; margin-top: 1px; color: var(--brand); }
.auth-error { display: flex; align-items: flex-start; gap: 5px; padding: 9px; border-radius: 8px; background: var(--coral-soft); border: 1px solid #f1d7d0; color: var(--coral); font-size: 10px; line-height: 1.4; }
.auth-error .icon { width: 13px; height: 13px; flex: none; }
.auth-center { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 9px; padding: 8px 0 4px; }
.auth-center h3 { font-size: 18px; letter-spacing: -.025em; }
.auth-center p { max-width: 370px; color: var(--muted); font-size: 11.5px; line-height: 1.5; }
.auth-center .auth-progress { align-self: stretch; }
.auth-spinner { width: 36px; height: 36px; border-radius: 50%; border: 3px solid var(--brand-soft); border-top-color: var(--brand); animation: spin .8s linear infinite; margin: 10px auto 2px; }
@keyframes spin { to { transform: rotate(360deg); } }
.auth-error-icon { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; background: var(--coral-soft); color: var(--coral); }
.auth-error-icon .icon { width: 21px; height: 21px; }
.auth-success-icon { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); }
.auth-success-icon .icon { width: 21px; height: 21px; }
.auth-progress { display: flex; align-items: center; gap: 6px; margin-bottom: 14px; }
.auth-progress span { display: inline-flex; align-items: center; gap: 5px; color: var(--muted-2); font-size: 9.5px; font-weight: 700; white-space: nowrap; }
.auth-progress span i { width: 19px; height: 19px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--muted-2); font-style: normal; font-size: 9px; }
.auth-progress span.is-active { color: var(--brand); }
.auth-progress span.is-active i { background: var(--brand); border-color: var(--brand); color: #fff; }
.auth-progress span.is-done { color: var(--brand); }
.auth-progress span.is-done i { background: var(--brand-soft); border-color: #cfe8da; color: var(--brand); }
.auth-progress span.is-done i .icon { width: 11px; height: 11px; }
.auth-success { display: flex; align-items: center; gap: 8px; padding: 10px 11px; margin-bottom: 13px; border-radius: 9px; background: var(--brand-soft); border: 1px solid #d1e9dc; }
.auth-success > .icon { width: 19px; height: 19px; color: var(--brand); flex: none; }
.auth-success > div { display: flex; flex-direction: column; gap: 1px; }
.auth-success b { font-size: 11px; color: var(--brand); }
.auth-success span { font-size: 9px; color: var(--muted); }
.auth-call { display: flex; flex-direction: column; align-items: center; text-align: center; }
.auth-call .auth-progress { align-self: stretch; }
.auth-call h3 { font-size: 20px; letter-spacing: -.03em; margin-top: 3px; }
.auth-call__phone { display: block; margin: 10px 0 4px; font-size: 27px; line-height: 1.2; letter-spacing: -.045em; font-weight: 800; color: var(--brand); text-decoration: none; }
.auth-copy { display: inline-flex; align-items: center; gap: 4px; color: var(--muted); font-size: 10px; font-weight: 600; padding: 3px 5px; }
.auth-copy .icon { width: 12px; height: 12px; }
.auth-call__hint { max-width: 380px; color: var(--muted); font-size: 11px; line-height: 1.55; margin: 8px 0 12px; }
.auth-call__status { display: flex; align-items: center; gap: 6px; padding: 9px 10px; border-radius: 8px; background: var(--brand-tint); border: 1px solid #d6eade; color: var(--brand); font-size: 10px; font-weight: 600; }
.auth-call__status b { margin-left: auto; font-size: 10px; color: var(--ink-2); }
.auth-pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--brand-2); box-shadow: 0 0 0 4px rgba(24,163,124,.11); animation: pulse 1.8s ease-out infinite; }
.auth-call__progress { width: 100%; max-width: 380px; height: 4px; border-radius: 99px; background: var(--surface-3); overflow: hidden; margin: 9px 0 12px; }
.auth-call__progress i { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--brand-2), var(--brand)); transition: width 1s linear; }
.auth-call__actions { display: flex; gap: 6px; }
.auth-phone-step h3, .auth-profile h3 { font-size: 18px; letter-spacing: -.025em; }
@media (max-width: 600px) {
  .auth-benefits { grid-template-columns: 1fr; }
  .auth-benefits > span { flex-direction: row; align-items: center; gap: 6px; }
  .auth-benefits > span > .icon { margin-bottom: 0; }
  .auth-call__phone { font-size: 24px; }
  .auth-progress span { font-size: 8.5px; }
  .profile-auth-banner { flex-wrap: wrap; }
  .profile-auth-banner > div { flex-basis: calc(100% - 44px); }
  .profile-auth-banner .btn { margin-left: 44px; }
}

/* ---------- Auth gate / legal ---------- */
.modal--auth-gate { width: min(600px, 100%); }
.auth-gate { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 13px; }
.auth-gate__icon { width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); }
.auth-gate__icon .icon { width: 24px; height: 24px; }
.auth-gate__copy h3 { margin: 4px 0 3px; font-size: 22px; line-height: 1.25; letter-spacing: -.035em; }
.auth-gate__copy p { max-width: 440px; color: var(--muted); font-size: 14px; line-height: 1.55; }
.auth-gate__preview { display: flex; flex-direction: column; align-items: center; gap: 4px; width: 100%; padding: 12px; border: 1px solid var(--line); border-radius: 11px; background: var(--surface-2); }
.auth-gate__preview b { font-size: 23px; letter-spacing: -.04em; }
.auth-gate__preview small { color: var(--muted); font-size: 12px; }
.auth-gate__benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; width: 100%; }
.auth-gate__benefits > span { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 10px; border: 1px solid var(--line); border-radius: 9px; text-align: left; background: #fff; }
.auth-gate__benefits .icon { width: 15px; height: 15px; color: var(--brand); margin-bottom: 3px; }
.auth-gate__benefits b { font-size: 11.5px; }
.auth-gate__benefits small { font-size: 10px; color: var(--muted); }
.auth-gate__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; width: 100%; }
.auth-gate__legal { max-width: 490px; color: var(--muted-2); font-size: 11.5px; line-height: 1.55; }
.inline-legal { display: inline; padding: 0; border: 0; background: none; color: var(--brand); font: inherit; font-weight: 700; text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }
.inline-legal:hover { color: var(--brand-2); }
.auth-consent .inline-legal { text-align: left; }
.ai-guest-note { display: flex; align-items: center; gap: 5px; padding: 7px 14px; border-bottom: 1px solid var(--line); background: #fffaf0; color: #8a6a2b; font-size: 10.5px; }
.ai-guest-note .icon { width: 12px; height: 12px; flex: none; }
.ai-guest-note button { color: var(--brand); font-size: 10.5px; font-weight: 800; text-decoration: underline; }
.ai-guest-legal { color: var(--muted-2) !important; font-size: 9.5px !important; line-height: 1.45 !important; margin-top: 6px; }
.legal-doc { color: var(--ink-2); font-size: 13.5px; line-height: 1.65; }
.legal-doc p { margin: 0 0 10px; }
.legal-doc h3 { margin: 16px 0 5px; font-size: 14px; }
.legal-doc ul { padding-left: 18px; list-style: disc; margin: 0 0 10px; }
.legal-doc li { margin-bottom: 5px; }
.legal-doc__note { padding: 10px 12px; border: 1px solid #dcebe0; border-radius: 9px; background: var(--brand-tint); color: var(--brand); font-size: 12px; }

/* ---------- Payment / billing ---------- */
.modal--payment { width: min(880px, 100%); }
.payment-layout { display: grid; grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr); gap: 16px; align-items: start; }
.payment-summary { padding: 15px; border: 1px solid var(--line); border-radius: 14px; background: linear-gradient(160deg, #f4faf5, #fbfcf7); }
.payment-summary__head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.payment-summary__head .plan-label { font-size: 17px; }
.payment-secure { display: inline-flex; align-items: center; gap: 3px; color: var(--brand); font-size: 12px; font-weight: 700; }
.payment-secure .icon { width: 10px; height: 10px; }
.payment-summary__note { color: var(--muted); font-size: 13px; line-height: 1.45; margin: 3px 0 12px; }
.payment-period { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.payment-period button { display: flex; flex-direction: column; align-items: flex-start; gap: 1px; padding: 8px 9px; border: 1px solid var(--line); border-radius: 9px; background: #fff; text-align: left; }
.payment-period button:hover { border-color: #cfe4d7; }
.payment-period button.is-active { border-color: var(--brand-2); background: var(--brand-tint); box-shadow: 0 0 0 2px rgba(24,163,124,.08); }
.payment-period b { font-size: 13.5px; }
.payment-period small { color: var(--muted); font-size: 12px; }
.payment-period em { display: inline-block; margin-left: 4px; padding: 1px 4px; border-radius: 4px; background: var(--brand); color: #fff; font-style: normal; font-size: 11px; font-weight: 800; }
.payment-total { display: flex; flex-direction: column; gap: 1px; margin: 15px 0 12px; padding-top: 13px; border-top: 1px solid #e3ebe2; }
.payment-total span { color: var(--muted); font-size: 12.5px; }
.payment-total b { font-size: 27.5px; letter-spacing: -.04em; }
.payment-total small { color: var(--muted); font-size: 12.5px; line-height: 1.4; }
.payment-features { display: flex; flex-direction: column; gap: 5px; }
.payment-features li { display: flex; align-items: flex-start; gap: 5px; color: var(--ink-2); font-size: 12.5px; line-height: 1.35; }
.payment-features .icon { width: 11px; height: 11px; color: var(--brand); flex: none; margin-top: 1px; }
.payment-trial-note { display: flex; align-items: flex-start; gap: 5px; margin-top: 12px; padding: 8px 9px; border-radius: 8px; background: #fff; border: 1px solid #dcebe0; color: var(--muted); font-size: 12px; line-height: 1.45; }
.payment-trial-note .icon { width: 12px; height: 12px; color: var(--brand); flex: none; margin-top: 1px; }
.payment-trial-note b { color: var(--ink); }
.payment-main { min-width: 0; }
.payment-methods { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; margin-bottom: 12px; }
.payment-method { display: flex; flex-direction: column; align-items: flex-start; gap: 1px; padding: 8px 9px; border: 1px solid var(--line); border-radius: 9px; background: #fff; text-align: left; }
.payment-method > span { width: 24px; height: 24px; border-radius: 7px; display: grid; place-items: center; background: var(--surface-3); color: var(--muted); margin-bottom: 3px; }
.payment-method > span .icon { width: 13px; height: 13px; }
.payment-method b { font-size: 13px; }
.payment-method small { color: var(--muted); font-size: 11.5px; }
.payment-method:hover { border-color: #cfe4d7; }
.payment-method.is-active { border-color: var(--brand-2); background: var(--brand-tint); }
.payment-method.is-active > span { background: var(--brand); color: #fff; }
.payment-form { gap: 10px; }
.payment-sbp-note, .payment-secure-note { display: flex; align-items: flex-start; gap: 6px; padding: 9px 10px; border-radius: 8px; font-size: 12.5px; line-height: 1.45; }
.payment-sbp-note { background: #f2fbf5; border: 1px solid #d7ecdf; color: var(--ink-2); }
.payment-sbp-note .icon, .payment-secure-note .icon { width: 13px; height: 13px; color: var(--brand); flex: none; margin-top: 1px; }
.payment-sbp-note b { font-size: 13px; }
.payment-sbp-note p { color: var(--muted); margin-top: 1px; }
.payment-secure-note { background: var(--surface-2); border: 1px solid var(--line); color: var(--muted); }
.payment-secure-note .icon { color: var(--muted-2); }
.payment-submit { margin-top: 2px; }
.payment-help { display: flex; align-items: center; justify-content: center; gap: 4px; color: var(--muted); font-size: 12px; text-align: center; }
.payment-help .icon { width: 11px; height: 11px; color: var(--brand); }
.payment-help a { color: var(--brand); font-weight: 700; }
.payment-footer-note { display: inline-flex; align-items: center; gap: 4px; color: var(--muted-2); font-size: 12px; }
.payment-footer-note .icon { width: 11px; height: 11px; }
.billing-summary { display: flex; flex-direction: column; gap: 6px; padding: 10px; margin-bottom: 9px; border: 1px solid var(--line); border-radius: 9px; background: var(--surface-2); }
.billing-summary > div { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 12.5px; }
.billing-summary span { color: var(--muted); }
.billing-summary b { font-size: 13px; }
.price-card__pay { display: block; margin-top: 7px; color: var(--brand); text-align: center; font-size: 12.5px; font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
.price-card__pay:hover { color: var(--brand-2); }
.billing-phone { display: flex; align-items: center; justify-content: center; gap: 4px; margin-top: 8px; color: var(--brand); font-size: 13px; font-weight: 700; }
.billing-phone .icon { width: 11px; height: 11px; }
@media (max-width: 760px) {
  .auth-gate__benefits, .auth-gate__actions { grid-template-columns: 1fr; }
  .payment-layout { grid-template-columns: 1fr; }
  .payment-summary { order: 2; }
  .payment-methods { grid-template-columns: 1fr 1fr 1fr; }
}
@media (max-width: 520px) {
  .payment-methods { grid-template-columns: 1fr; }
  .payment-method { flex-direction: row; align-items: center; gap: 7px; }
  .payment-method > span { margin-bottom: 0; }
}

/* ---------- Toasts ---------- */
.toast-stack { position: fixed; left: 50%; bottom: 20px; z-index: 100; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 7px; pointer-events: none; }
.toast { pointer-events: auto; display: flex; align-items: center; gap: 7px; max-width: min(440px, calc(100vw - 32px)); padding: 9px 10px 9px 9px; background: #fff; border: 1px solid var(--line); border-radius: 11px; box-shadow: 0 12px 34px rgba(21, 34, 31, .15); font-size: 13px; font-weight: 600; color: var(--ink-2); opacity: 0; transform: translateY(8px); transition: opacity .2s ease, transform .2s ease; }
.toast.is-visible { opacity: 1; transform: none; }
.toast__icon { width: 23px; height: 23px; border-radius: 7px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); flex: none; }
.toast__icon .icon { width: 13px; height: 13px; }
.toast--info .toast__icon { background: var(--blue-soft); color: var(--blue); }
.toast--warning .toast__icon { background: var(--amber-soft); color: var(--amber); }
.toast__close { width: 22px; height: 22px; display: grid; place-items: center; color: var(--muted-2); margin-left: 3px; }
.toast__close .icon { width: 11px; height: 11px; }

/* ---------- Loader ---------- */
.app-loader { position: fixed; inset: 0; z-index: 200; background: radial-gradient(circle at 50% 44%, #fbfdf8, #f3f4ef 60%); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 15px; transition: opacity .5s ease, visibility .5s ease; }
.app-loader.is-done { opacity: 0; visibility: hidden; }
.loader-mark { display: flex; align-items: flex-end; gap: 4px; height: 28px; }
.loader-mark span { width: 6px; border-radius: 3px; background: var(--brand); animation: loaderBar 1s ease-in-out infinite; }
.loader-mark span:nth-child(1) { height: 14px; animation-delay: -.3s; opacity: .5; }
.loader-mark span:nth-child(2) { height: 24px; animation-delay: -.15s; }
.loader-mark span:nth-child(3) { height: 18px; animation-delay: 0s; opacity: .7; }
@keyframes loaderBar { 0%, 100% { transform: scaleY(.6); } 50% { transform: scaleY(1); } }
.app-loader p { color: var(--muted); font-size: 14px; font-weight: 600; letter-spacing: .02em; }
.noscript { padding: 30px; text-align: center; color: var(--coral); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
