/* AS-PRO Haze workspace — prod (source: preview-haze-workspace) */
/**
 * Haze workspace v4 — roadmap, тариф, feature grid.
 */

:root {
  --accent: #ed5b2f;
  --accent-muted: rgba(237, 91, 47, 0.14);
  --bg: #141a21;
  --surface: #1c252e;
  --surface-hover: #252f3a;
  --text: #fff;
  --text-muted: #919eab;
  --divider: rgba(145, 158, 171, 0.14);
  --sidebar-bg: #181f27;
  --header-h: 44px;
  --tabs-h: 36px;
  --sidebar-w: 200px;
  --ribbon-h: 24px;
  --font: 16px;
}

body.light-theme {
  --bg: #f4f6f8;
  --surface: #fff;
  --surface-hover: #eef1f4;
  --text: #1c252e;
  --text-muted: #637381;
  --divider: rgba(145, 158, 171, 0.22);
  --sidebar-bg: #1c252e;
}

body.slate-theme {
  --bg: #1e293b;
  --surface: #273548;
  --surface-hover: #334155;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }

body.haze-workspace {
  font-family: Inter, system-ui, sans-serif;
  font-size: var(--font);
  background: var(--bg);
  color: var(--text);
}

button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
a { color: var(--accent); text-decoration: none; }

.preview-ribbon {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--ribbon-h);
  display: flex; align-items: center; justify-content: center;
  font-size: 10px; letter-spacing: 0.06em; text-transform: uppercase;
  color: #64748b; background: #0a0e12;
}

.haze-shell {
  display: flex;
  height: calc(100vh - var(--ribbon-h));
  margin-top: var(--ribbon-h);
  overflow: hidden;
}

/* Sidebar */
.haze-sidebar {
  width: var(--sidebar-w);
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  background: var(--sidebar-bg);
  border-right: 1px solid var(--divider);
  transition: width 0.2s;
  z-index: 30;
}

.haze-shell.is-collapsed .haze-sidebar { width: 52px; }
.haze-shell.is-collapsed .haze-sidebar__title,
.haze-shell.is-collapsed .haze-sidebar__item span,
.haze-shell.is-collapsed .haze-sidebar__role span,
.haze-shell.is-collapsed .haze-sidebar__section,
.haze-shell.is-collapsed .haze-badge-soon,
.haze-shell.is-collapsed .haze-sidebar__link { display: none; }

.haze-sidebar__brand {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 12px;
  border-bottom: 1px solid var(--divider);
  color: inherit; text-decoration: none;
}

.haze-sidebar__mascot { border-radius: 8px; }
.haze-sidebar__title { font-weight: 700; font-size: 15px; color: #fff; }

.haze-sidebar__nav { flex: 1; padding: 8px 6px; overflow-y: auto; }

.haze-sidebar__role {
  display: flex; align-items: center; gap: 8px;
  width: 100%; padding: 8px 10px; margin-bottom: 8px;
  border-radius: 8px;
  font-size: 14px; font-weight: 600; color: var(--accent);
  background: var(--accent-muted);
}

.haze-sidebar__section {
  margin: 14px 10px 4px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(145, 158, 171, 0.55);
}

.haze-sidebar__list { list-style: none; margin: 0; padding: 0; }
.haze-sidebar__list li + li { margin-top: 2px; }

.haze-sidebar__item--soon { justify-content: flex-start; }
.haze-sidebar__item--soon span:first-of-type { flex: 1; text-align: left; }

.haze-badge-soon {
  margin-left: auto;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-muted);
}

.haze-sidebar__item {
  display: flex; align-items: center; gap: 10px;
  width: 100%; padding: 8px 10px;
  border-radius: 8px;
  font-size: 14px; color: var(--text-muted);
  transition: background 0.12s, color 0.12s;
}

.haze-sidebar__item:hover { background: rgba(255,255,255,0.05); color: #fff; }
.haze-sidebar__item.is-active { background: var(--accent-muted); color: #fff; }

.haze-ico { width: 18px; height: 18px; flex-shrink: 0; stroke: currentColor; }

.haze-sidebar__foot {
  padding: 8px 12px;
  border-top: 1px solid var(--divider);
}

.haze-sidebar__link {
  font-size: 12px; color: var(--text-muted);
}
.haze-sidebar__link:hover { color: var(--accent); }

.haze-sidebar-overlay {
  display: none; position: fixed;
  inset: var(--ribbon-h) 0 0 0;
  background: rgba(0,0,0,0.45); z-index: 25;
}

/* Main */
.haze-main {
  flex: 1; min-width: 0;
  display: flex; flex-direction: column;
}

.haze-header {
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 12px 0 8px;
  border-bottom: 1px solid var(--divider);
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: blur(8px);
  flex-shrink: 0;
}

.haze-header__left, .haze-header__right {
  display: flex; align-items: center; gap: 4px;
}

.haze-icon-btn {
  width: 32px; height: 32px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 6px; color: var(--text-muted);
}
.haze-icon-btn:hover { background: var(--surface-hover); color: var(--text); }
.haze-icon-btn--desktop { display: none; }

.haze-breadcrumb {
  font-size: 14px; font-weight: 500;
  color: var(--text-muted);
  margin-left: 4px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  max-width: 50vw;
}

.haze-avatar-btn { padding: 2px; border-radius: 50%; }
.haze-avatar-btn__circle {
  width: 30px; height: 30px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 600;
  background: var(--accent-muted); color: var(--accent);
}

/* Tabs — одна строка, компакт */
.haze-tabs {
  height: var(--tabs-h);
  display: flex; align-items: center;
  padding: 0 12px; gap: 4px;
  border-bottom: 1px solid var(--divider);
  flex-shrink: 0;
}

.haze-tabs[hidden] { display: none !important; }

.haze-tabs__group {
  display: flex; gap: 2px;
}

.haze-tabs__group[hidden] { display: none !important; }

.haze-tabs__btn {
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 13px; font-weight: 500;
  color: var(--text-muted);
  opacity: 0.7;
}
.haze-tabs__btn:hover { opacity: 1; background: var(--surface-hover); }
.haze-tabs__btn.is-active {
  opacity: 1; color: var(--accent); background: var(--accent-muted);
}

/* Stage — максимум воздуха */
.haze-stage {
  flex: 1; overflow: auto;
  padding: 16px 20px;
  transition: opacity 0.15s;
}

body.has-overlay .haze-stage {
  opacity: 0.55;
  pointer-events: none;
}

.haze-welcome {
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  min-height: 70vh; text-align: center;
}

.haze-welcome[hidden], .haze-panel[hidden] { display: none !important; }

.haze-welcome__title {
  margin: 0 0 8px; font-size: 22px; font-weight: 600;
}

.haze-welcome__text {
  margin: 0 0 28px; color: var(--text-muted); font-size: 15px; max-width: 520px;
}

.haze-feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
  width: 100%;
  max-width: 920px;
  text-align: left;
}

.haze-feature-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  padding: 16px;
  border-radius: 12px;
  border: 1px solid var(--divider);
  background: var(--surface);
  text-align: left;
  transition: border-color 0.15s, background 0.15s;
}

button.haze-feature-card { cursor: pointer; width: 100%; }
button.haze-feature-card:hover {
  border-color: color-mix(in srgb, var(--accent) 40%, var(--divider));
  background: var(--surface-hover);
}

.haze-feature-card--inline {
  max-width: 640px;
  margin: 0;
}

.haze-feature-card h2,
.haze-feature-card h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
}

.haze-feature-card p {
  margin: 0;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.45;
}

.haze-feature-card__gain {
  font-size: 13px !important;
  color: color-mix(in srgb, var(--accent) 75%, var(--text-muted)) !important;
}

.haze-feature-card__status,
.haze-fg-status {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.haze-fg-status--live { color: #4ade80; background: rgba(74, 222, 128, 0.12); }
.haze-fg-status--dev { color: #fbbf24; background: rgba(251, 191, 36, 0.12); }
.haze-fg-status--soon { color: var(--accent); background: var(--accent-muted); }

.haze-metrics {
  display: flex; gap: 12px; flex-wrap: wrap;
  margin-bottom: 16px;
}

.haze-metric {
  padding: 12px 16px;
  border-radius: 10px;
  background: var(--surface);
  border: 1px solid var(--divider);
  min-width: 100px;
}

.haze-metric__val {
  display: block; font-size: 20px; font-weight: 700;
}

.haze-metric__lbl {
  font-size: 12px; color: var(--text-muted);
}

.haze-stage-placeholder {
  min-height: 50vh;
  display: flex; flex-direction: column;
  align-items: flex-start; justify-content: center; gap: 16px;
  padding: 24px;
  border-radius: 12px;
  border: 1px dashed var(--divider);
  color: var(--text-muted);
  font-size: 15px;
}

.haze-stage-placeholder code {
  font-size: 13px; padding: 2px 6px;
  background: var(--surface); border-radius: 4px;
}

.haze-btn {
  padding: 8px 16px; border-radius: 8px;
  font-size: 14px; font-weight: 600;
}
.haze-btn--primary { background: var(--accent); color: #fff; }
.haze-btn--primary:hover { filter: brightness(1.08); }
.haze-btn--ghost { border: 1px solid var(--divider); color: var(--text); }

.haze-toast {
  margin-top: 12px; padding: 8px 12px;
  border-radius: 8px; font-size: 14px;
  background: var(--accent-muted); color: var(--accent);
}
.haze-toast[hidden] { display: none !important; }

/* Footer — тонкий */
.haze-footer {
  flex-shrink: 0;
  display: flex; justify-content: space-between; align-items: center;
  padding: 6px 16px;
  font-size: 11px; color: var(--text-muted);
  border-top: 1px solid var(--divider);
}

.haze-footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
  justify-content: flex-end;
}
.haze-footer__legal a { color: var(--text-muted); font-size: 11px; white-space: nowrap; }
.haze-footer__legal a:hover { color: var(--accent); }

.haze-footer__quota-link {
  margin-left: 8px;
  color: var(--accent);
  font-size: 11px;
  white-space: nowrap;
}
.haze-footer__quota-link[hidden] { display: none !important; }
.haze-footer__quota-link:hover { text-decoration: underline; }

.haze-empty-onboard {
  text-align: center;
  padding: 2rem 1rem;
  max-width: 36rem;
  margin: 0 auto;
}
.haze-empty-onboard__title {
  margin: 0 0 0.5rem;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text);
}
.haze-empty-onboard__hint {
  margin: 0 0 1.25rem;
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.5;
}
.haze-empty-onboard__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}

.haze-meter { margin-bottom: 14px; }
.haze-meter__head {
  display: flex;
  justify-content: space-between;
  margin-bottom: 6px;
  font-size: 13px;
  color: var(--text-muted);
}
.haze-meter__bar {
  height: 6px;
  border-radius: 3px;
  background: var(--bg);
  overflow: hidden;
}
.haze-meter__fill {
  height: 100%;
  border-radius: 3px;
  background: var(--accent);
  transition: width 0.3s ease;
}

.haze-tariff-head { margin-bottom: 16px; }
.haze-tariff-plan { margin: 0; font-size: 18px; font-weight: 600; }
.haze-tariff-price { margin: 4px 0 0; font-size: 14px; color: var(--accent); }
.haze-tariff-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 20px;
}
.haze-drawer-hint {
  margin-top: 16px;
  font-size: 11px;
  color: var(--text-muted);
}
.haze-drawer-hint code {
  font-size: 11px;
  padding: 1px 4px;
  border-radius: 3px;
  background: var(--bg);
}
.haze-mail-support {
  margin-top: 20px;
  line-height: 1.5;
}
.haze-link-btn {
  padding: 0;
  font: inherit;
  color: var(--accent, #67e8f9);
  background: none;
  border: none;
  text-decoration: underline;
  cursor: pointer;
}
.haze-link-btn:hover {
  opacity: 0.85;
}

/* User menu */
.haze-menu {
  position: fixed;
  top: calc(var(--ribbon-h) + var(--header-h) + 4px);
  right: 12px;
  z-index: 50;
  min-width: 200px;
  padding: 6px;
  border-radius: 10px;
  background: var(--surface);
  border: 1px solid var(--divider);
  box-shadow: 0 12px 32px rgba(0,0,0,0.35);
}

.haze-menu[hidden] { display: none !important; }

.haze-menu__email {
  margin: 0; padding: 6px 10px;
  font-size: 12px; color: var(--text-muted);
}

.haze-menu__item {
  display: block; width: 100%;
  padding: 9px 10px; border-radius: 6px;
  font-size: 14px; text-align: left;
  color: var(--text); text-decoration: none;
}
.haze-menu__item:hover { background: var(--surface-hover); }
.haze-menu__item--danger { color: #f87171; }

/* Drawer */
.haze-drawer-backdrop {
  position: fixed; inset: var(--ribbon-h) 0 0 0;
  background: rgba(0,0,0,0.4);
  z-index: 60;
}
.haze-drawer-backdrop[hidden] { display: none !important; }

.haze-drawer {
  position: fixed; top: var(--ribbon-h); right: 0; bottom: 0;
  width: min(400px, 100vw);
  z-index: 70;
  background: var(--surface);
  border-left: 1px solid var(--divider);
  display: flex; flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.22s ease;
}

.haze-drawer.is-open { transform: translateX(0); }

.haze-drawer__head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 1px solid var(--divider);
}

.haze-drawer__title { margin: 0; font-size: 17px; font-weight: 600; }

.haze-drawer__close {
  width: 32px; height: 32px; border-radius: 6px;
  font-size: 20px; color: var(--text-muted);
}
.haze-drawer__close:hover { background: var(--surface-hover); }

.haze-drawer__tabs {
  display: flex; gap: 4px; padding: 8px 12px;
  border-bottom: 1px solid var(--divider);
}
.haze-drawer__tabs[hidden] { display: none !important; }

.haze-drawer__tab {
  padding: 5px 10px; border-radius: 6px;
  font-size: 13px; color: var(--text-muted);
}
.haze-drawer__tab.is-active { color: var(--accent); background: var(--accent-muted); }

.haze-drawer__body {
  flex: 1; overflow-y: auto;
  padding: 16px;
}

.haze-drawer-text { margin: 0 0 12px; font-size: 14px; color: var(--text-muted); }

.haze-label {
  display: block; margin: 12px 0 4px;
  font-size: 12px; color: var(--text-muted);
}

.haze-input {
  width: 100%; padding: 9px 10px;
  border-radius: 8px; border: 1px solid var(--divider);
  background: var(--bg); color: var(--text);
  font-size: 15px;
}

.haze-theme-segment {
  display: inline-flex; gap: 4px; padding: 3px;
  border-radius: 8px; border: 1px solid var(--divider);
  margin-bottom: 12px;
}

.haze-theme-segment__btn {
  padding: 6px 12px; border-radius: 6px;
  font-size: 13px; color: var(--text-muted);
}
.haze-theme-segment__btn.is-active {
  background: var(--accent-muted); color: var(--accent);
}

/* Role modal */
.haze-modal-backdrop {
  position: fixed; inset: 0; z-index: 80;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,0.5); padding: 20px;
}
.haze-modal-backdrop[hidden] { display: none !important; }

.haze-modal {
  width: 100%; max-width: 360px;
  padding: 24px; border-radius: 14px;
  background: var(--surface);
  border: 1px solid var(--divider);
}

.haze-modal__title { margin: 0 0 16px; font-size: 18px; }

.haze-modal--wide { max-width: 520px; max-height: 90vh; overflow-y: auto; }

.haze-kac-rfq-list { display: flex; flex-direction: column; gap: 10px; margin-top: 10px; }
.haze-kac-rfq-item {
  padding: 12px; border-radius: 8px;
  border: 1px solid var(--divider); background: var(--surface-elevated, var(--surface));
}
.haze-kac-rfq-item__head { font-size: 14px; margin-bottom: 6px; }
.haze-kac-rfq-item__preview { font-size: 12px; color: var(--text-muted); margin: 0 0 8px; white-space: pre-wrap; }
.haze-kac-rfq-badge {
  display: inline-block; margin-left: 6px; padding: 2px 6px; border-radius: 4px;
  font-size: 11px; background: rgba(234, 179, 8, 0.15); color: #ca8a04;
}
.haze-kac-rfq-blocked { color: #dc2626; font-size: 13px; margin: 0 0 10px; }
.haze-kac-rfq-modal-list {
  margin: 0 0 12px; padding-left: 18px; font-size: 13px; max-height: 200px; overflow-y: auto;
}
.haze-kac-rfq-modal-list li { margin-bottom: 8px; }

.haze-role-pick { display: flex; flex-direction: column; gap: 8px; }

.haze-role-pick__btn {
  padding: 12px; border-radius: 8px;
  border: 1px solid var(--divider);
  font-size: 15px; font-weight: 500;
  text-align: left;
}
.haze-role-pick__btn:hover { border-color: var(--accent); background: var(--accent-muted); }

.haze-modal__close {
  margin-top: 16px; width: 100%;
  padding: 10px; border-radius: 8px;
  color: var(--text-muted);
  border: 1px solid var(--divider);
}

/* FAB */
.haze-fab {
  position: fixed; right: 18px; bottom: 18px; z-index: 40;
  width: 48px; height: 48px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--accent); color: #fff;
  box-shadow: 0 6px 20px rgba(237, 91, 47, 0.35);
}
.haze-fab:hover { transform: scale(1.04); }

@media (min-width: 1024px) {
  .haze-icon-btn--desktop { display: inline-flex; }
  #burgerBtn { display: none; }
}

@media (max-width: 1023px) {
  .haze-sidebar {
    position: fixed; top: var(--ribbon-h); left: 0; bottom: 0;
    transform: translateX(-100%);
    transition: transform 0.25s;
  }
  .haze-sidebar.is-open { transform: translateX(0); }
  .haze-sidebar-overlay:not([hidden]) { display: block; }
  .haze-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .haze-footer__legal { justify-content: flex-start; }
  .haze-welcome { min-height: auto; padding: 24px 0; }
}

/* ── Wave 3: projects, embed, auth ── */
.haze-panel--embed {
  padding: 0;
  min-height: calc(100vh - var(--header-h) - 120px);
  display: flex;
  flex-direction: column;
}
.haze-embed-frame {
  flex: 1;
  width: 100%;
  min-height: 480px;
  border: 0;
  background: var(--bg);
}
.haze-projects-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}
.haze-project-card__tools {
  display: flex;
  flex-shrink: 0;
  gap: 4px;
  margin-top: 10px;
  justify-content: flex-end;
}
.haze-icon-action {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  border: 1px solid var(--divider);
  color: var(--text-muted);
  background: transparent;
  transition: background 0.12s, color 0.12s, border-color 0.12s;
}
.haze-icon-action:hover {
  background: var(--surface-hover);
  color: var(--text);
  border-color: color-mix(in srgb, var(--accent) 35%, var(--divider));
}
.haze-icon-action--danger:hover {
  color: #f87171;
  border-color: rgba(248, 113, 113, 0.4);
  background: rgba(248, 113, 113, 0.08);
}
.haze-project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}
.haze-project-card {
  position: relative;
  isolation: isolate;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 16px;
  background: var(--surface);
  cursor: pointer;
}
.haze-project-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  box-shadow:
    0 0 0 1px rgba(237, 91, 47, 0.45),
    0 0 22px rgba(237, 91, 47, 0.22);
  transition: opacity 0.15s ease;
  z-index: 0;
}
.haze-project-card > * {
  position: relative;
  z-index: 1;
}
.haze-project-card:hover::before,
.haze-project-card:focus-visible::before {
  opacity: 1;
}
.haze-project-card:hover {
  border-color: rgba(237, 91, 47, 0.55);
}
.haze-project-card:focus {
  outline: none;
}
.haze-project-card:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
@media (prefers-reduced-motion: reduce) {
  .haze-project-card::before { transition: none; }
}
.haze-project-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}
.haze-project-card__title {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
}
.haze-project-card__status {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid var(--border);
  flex-shrink: 0;
}
.haze-project-card__status--ready { color: #6ee7b7; border-color: rgba(110, 231, 183, 0.35); }
.haze-project-card__status--analyzed { color: #93c5fd; border-color: rgba(147, 197, 253, 0.35); }
.haze-project-card__meta {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 10px;
}
.haze-project-card__metrics {
  display: flex;
  gap: 16px;
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.haze-project-card__metrics strong { color: var(--text); }
.haze-tender-detail {
  margin-top: 16px;
  width: 100%;
  max-width: none;
}

/* Wave 4: tender embed — Focus stage внутри Haze */
.haze-tender-detail .max-w-5xl,
.haze-tender-detail .max-w-5xl.mx-auto {
  max-width: none;
  width: 100%;
  margin-left: 0;
  margin-right: 0;
  padding-left: 0;
  padding-right: 0;
}

body[data-workspace-focus="1"] .haze-main .haze-tender-detail #tenderTabBar {
  display: none !important;
}

body[data-workspace-focus="1"] .haze-main .haze-tender-detail #estimatorOrient {
  display: none !important;
}

.haze-tender-detail .capabilities-bar,
.haze-tender-detail .neo-cap-bar {
  margin-bottom: 1rem;
}

.haze-tender-detail .glass-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 1rem 1.25rem;
  margin-bottom: 1rem;
}

.haze-tender-detail .btn {
  background: #3b82f6;
  padding: 0.5rem 1rem;
  border-radius: 0.75rem;
  color: #fff;
  border: none;
  cursor: pointer;
}

.haze-tender-detail .file-item {
  background: rgba(15, 23, 42, 0.85);
  padding: 0.5rem;
  margin: 0.5rem 0;
  border-radius: 0.75rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 1px solid #334155;
}
.haze-auth-backdrop {
  position: fixed;
  inset: 0;
  z-index: 9600;
  background: rgba(0, 0, 0, 0.72);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.haze-auth-backdrop[hidden] { display: none; }
.haze-auth-card {
  width: min(400px, 100%);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
}
.haze-auth-card__title {
  font-size: 20px;
  margin-bottom: 16px;
}
.haze-auth-card__submit { width: 100%; margin-top: 8px; }
.haze-auth-card__error {
  color: #f87171;
  font-size: 13px;
  margin-top: 8px;
  min-height: 1.2em;
}

/* Wave 4b: мастер нового проекта + конвертор */
.haze-wizard,
.haze-converter {
  max-width: 640px;
}
.haze-wizard__title,
.haze-converter__title {
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 600;
}
.haze-wizard__lead,
.haze-converter__lead {
  margin: 0 0 20px;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.45;
}
.haze-wizard__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}
.haze-wizard__msg {
  margin-top: 12px;
  font-size: 13px;
  color: var(--text-muted);
}
.haze-wizard__msg--error { color: #f87171; }

.haze-dropzone {
  position: relative;
  border: 2px dashed var(--divider);
  border-radius: 12px;
  padding: 24px 16px;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}
.haze-dropzone--compact { padding: 16px 12px; }
.haze-dropzone:hover,
.haze-dropzone.is-dragover {
  border-color: color-mix(in srgb, var(--accent) 50%, var(--divider));
  background: var(--surface-hover);
}
.haze-dropzone__input {
  position: absolute;
  width: 0;
  height: 0;
  opacity: 0;
  pointer-events: none;
}
.haze-dropzone__title {
  margin: 0 0 6px;
  font-size: 14px;
  font-weight: 500;
}
.haze-dropzone__hint {
  margin: 0;
  font-size: 12px;
  color: var(--text-muted);
}
.haze-dropzone__list {
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
  text-align: left;
  font-size: 12px;
  color: var(--text-muted);
}
.haze-dropzone__list li {
  padding: 4px 0;
  border-top: 1px solid var(--divider);
}

.haze-converter__grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 12px;
  align-items: center;
  margin-bottom: 16px;
}
.haze-converter__box-title {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
}
.haze-converter__arrow {
  font-size: 22px;
  color: var(--text-muted);
  text-align: center;
}
.haze-converter__note {
  margin: 8px 0 0;
  font-size: 11px;
  color: var(--text-muted);
}
@media (max-width: 640px) {
  .haze-converter__grid {
    grid-template-columns: 1fr;
  }
  .haze-converter__arrow { display: none; }
}

/* COMPOSE-LITE: мост ГРАНД */
.haze-compose {
  max-width: 720px;
}
.haze-compose__title {
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 600;
}
.haze-compose__lead {
  margin: 0 0 12px;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.45;
}
.haze-compose__steps {
  margin: 0 0 20px;
  padding-left: 0;
  list-style: none;
  counter-reset: compose-step;
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.55;
}
.haze-compose__step {
  counter-increment: compose-step;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 10px;
  margin-bottom: 4px;
  border-radius: 8px;
  cursor: default;
  transition: background 0.15s ease, color 0.15s ease;
}
.haze-compose__step::before {
  content: counter(compose-step);
  flex-shrink: 0;
  width: 1.5rem;
  height: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  border-radius: 50%;
}
.haze-compose__step:hover,
.haze-compose__step.is-active {
  background: color-mix(in srgb, var(--accent) 8%, transparent);
  color: var(--text);
  cursor: pointer;
}
.haze-compose__zone {
  margin-bottom: 16px;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid transparent;
  transition: opacity 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.haze-compose.is-guiding .haze-compose__zone {
  opacity: 0.55;
}
.haze-compose.is-guiding .haze-compose__zone.haze-compose-spotlight {
  opacity: 1;
  border-color: var(--accent);
  background: color-mix(in srgb, var(--accent) 6%, transparent);
  box-shadow:
    0 0 0 1px color-mix(in srgb, var(--accent) 35%, transparent),
    0 0 24px color-mix(in srgb, var(--accent) 18%, transparent);
}
/* Пустой список не схлопывается при переключении шагов 4↔5 — иначе дрожит hover */
.haze-compose.is-guiding #hazeComposeZoneList[hidden] {
  display: block !important;
  min-height: 3rem;
  margin-bottom: 16px;
  padding: 12px;
  border: 1px dashed color-mix(in srgb, var(--accent) 22%, var(--divider));
  border-radius: 12px;
  opacity: 0.4;
  pointer-events: none;
}
.haze-compose.is-guiding #hazeComposeZoneList[hidden].haze-compose-spotlight {
  opacity: 1;
  pointer-events: auto;
  border-style: solid;
}
.haze-compose.is-guiding #hazeComposeZoneList[hidden]::after {
  content: 'Здесь появится список после добавления позиций';
  display: block;
  font-size: 12px;
  color: var(--text-muted);
  padding: 4px 0 0;
}
.haze-compose__disclaimer {
  margin: 0 0 20px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid color-mix(in srgb, var(--accent) 25%, var(--divider));
  background: color-mix(in srgb, var(--accent) 8%, transparent);
  font-size: 13px;
  line-height: 1.45;
  color: var(--text-muted);
}
.haze-compose__disclaimer code {
  font-size: 12px;
}
.haze-compose__params {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 12px;
  margin-bottom: 20px;
}
.haze-compose__field { min-width: 0; }
.haze-compose__lookup-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.haze-compose__lookup-row .haze-input { flex: 1 1 180px; }
.haze-compose__preview {
  margin-top: 12px;
  padding: 12px;
  border-radius: 10px;
  background: var(--surface-hover);
  border: 1px solid var(--divider);
  font-size: 13px;
  line-height: 1.45;
}
.haze-compose__preview-code { margin: 0 0 6px; }
.haze-compose__preview-name { margin: 0 0 4px; font-weight: 500; color: var(--text); }
.haze-compose__preview-meta { margin: 0; color: var(--text-muted); }
.haze-compose__preview-price { margin: 8px 0 0; }
.haze-compose__preview-warn { margin: 6px 0 0; color: #fbbf24; font-size: 12px; }
.haze-compose__add { margin: 16px 0 20px; }
.haze-compose__list-title {
  margin: 0 0 10px;
  font-size: 15px;
  font-weight: 600;
}
.haze-compose__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.haze-compose__table th,
.haze-compose__table td {
  padding: 8px 6px;
  border-bottom: 1px solid var(--divider);
  text-align: left;
  vertical-align: top;
}
.haze-compose__table th { color: var(--text-muted); font-weight: 500; }
.haze-compose__table code { font-size: 12px; }
.haze-compose__rm {
  min-width: 32px;
  padding: 4px 8px;
  line-height: 1;
}
.haze-compose__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}
@media (max-width: 640px) {
  .haze-compose__params {
    grid-template-columns: 1fr;
  }
}

/* KAC hub (rail kac) — стиль как compose */
.haze-kac__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}
.haze-kac__title {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
}
.haze-kac__steps {
  margin: 0 0 16px;
  padding-left: 0;
  list-style: none;
  counter-reset: kac-step;
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.55;
}
.haze-kac__step {
  counter-increment: kac-step;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 10px;
  margin-bottom: 4px;
  border-radius: 8px;
  cursor: default;
  transition: background 0.15s ease, color 0.15s ease;
}
.haze-kac__step::before {
  content: counter(kac-step);
  flex-shrink: 0;
  width: 1.5rem;
  height: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  border-radius: 50%;
}
.haze-kac__step:hover,
.haze-kac__step.is-active {
  background: color-mix(in srgb, var(--accent) 8%, transparent);
  color: var(--text);
  cursor: pointer;
}
.haze-kac__zone {
  margin-bottom: 12px;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid transparent;
  transition: opacity 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.haze-kac.is-guiding .haze-kac__zone {
  opacity: 0.38;
  pointer-events: none;
}
.haze-kac.is-guiding .haze-kac__zone.haze-kac-spotlight {
  opacity: 1;
  pointer-events: auto;
  border-color: var(--accent);
  background: color-mix(in srgb, var(--accent) 6%, transparent);
  box-shadow:
    0 0 0 1px color-mix(in srgb, var(--accent) 35%, transparent),
    0 0 24px color-mix(in srgb, var(--accent) 18%, transparent);
}
.haze-kac-workspace__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}
.haze-kac-workspace__title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
}
.haze-kac-embed-frame {
  width: 100%;
  min-height: min(72vh, 900px);
  border: 1px solid var(--divider);
  border-radius: 12px;
  background: #0d1114;
}
.haze-kac__zone--embed {
  padding: 0;
  border: none;
}

/* KAC hub (legacy class names — совместимость) */
.haze-kac-hub__title {
  margin: 0 0 8px;
  font-size: 1.35rem;
  font-weight: 700;
}
.haze-kac-hub__lead {
  margin: 0 0 20px;
  color: var(--text-muted);
  max-width: 52rem;
  line-height: 1.5;
}
.haze-kac-hub__modes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}
.haze-kac-mode-card {
  padding: 16px;
  border-radius: 12px;
  border: 1px solid var(--divider);
  background: rgba(15, 23, 42, 0.45);
}
.haze-kac-mode-card--accent {
  border-color: rgba(237, 91, 47, 0.35);
}
.haze-kac-mode-card__title {
  margin: 0 0 8px;
  font-size: 1rem;
  font-weight: 600;
}
.haze-kac-mode-card__text {
  margin: 0 0 12px;
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.45;
}
.haze-kac-mode-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.haze-kac-project-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 360px;
  overflow-y: auto;
}
.haze-kac-project-card {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--divider);
  background: rgba(2, 6, 23, 0.35);
}
.haze-kac-project-card__title {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
}
.haze-kac-project-card__meta {
  margin: 4px 0 0;
  font-size: 12px;
  color: var(--text-muted);
}
.haze-kac-project-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.haze-kac-empty {
  margin: 0;
  font-size: 13px;
  color: var(--text-muted);
}
.haze-kac-region-bar {
  margin-bottom: 12px;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid var(--divider);
  background: rgba(2, 6, 23, 0.25);
}
.haze-kac-region-bar .haze-input {
  width: 100%;
  max-width: 420px;
}
.haze-req-region__filter {
  margin-bottom: 6px;
  max-width: 420px;
}
.haze-req-region select.haze-input {
  width: 100%;
  max-width: 420px;
}
.haze-kac-schema-banner {
  margin: 0 0 12px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid color-mix(in srgb, var(--accent) 45%, var(--divider));
  background: color-mix(in srgb, var(--accent) 8%, transparent);
  font-size: 13px;
  line-height: 1.45;
  color: var(--text);
}
.haze-kac-schema-banner[hidden] {
  display: none !important;
}
.haze-kac-hub-actions {
  margin-top: 4px;
}
.haze-kac-hub-actions .haze-btn {
  width: 100%;
}
.haze-flow.is-guiding .haze-kac-hub-actions {
  opacity: 1;
  pointer-events: auto;
}
.haze-wizard__msg--error {
  color: #fca5a5;
}

/* —— Общий поток: шаги + подсветка (KAC / УБД / запросы) —— */
.haze-flow__title {
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 600;
}
.haze-flow__lead {
  margin: 0 0 12px;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.45;
}
.haze-flow__steps {
  margin: 0 0 16px;
  padding-left: 0;
  list-style: none;
  counter-reset: haze-flow-step;
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.55;
}
.haze-flow__step {
  counter-increment: haze-flow-step;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 10px;
  margin-bottom: 4px;
  border-radius: 8px;
  cursor: default;
  transition: background 0.15s ease, color 0.15s ease;
}
.haze-flow__step::before {
  content: counter(haze-flow-step);
  flex-shrink: 0;
  width: 1.5rem;
  height: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  border-radius: 50%;
}
.haze-flow__step:hover,
.haze-flow__step.is-active {
  background: color-mix(in srgb, var(--accent) 8%, transparent);
  color: var(--text);
  cursor: pointer;
}
.haze-flow.is-guiding .haze-flow__zone,
.haze-flow.is-guiding .haze-wizard-card {
  opacity: 0.38;
  pointer-events: none;
  transition: opacity 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.haze-flow.is-guiding .haze-flow__zone.haze-flow-spotlight,
.haze-flow.is-guiding .haze-wizard-card.haze-flow-spotlight {
  opacity: 1;
  pointer-events: auto;
  border-color: var(--accent);
  background: color-mix(in srgb, var(--accent) 6%, transparent);
  box-shadow:
    0 0 0 1px color-mix(in srgb, var(--accent) 35%, transparent),
    0 0 24px color-mix(in srgb, var(--accent) 18%, transparent);
}
.haze-flow__zone {
  margin-bottom: 12px;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid transparent;
}
.haze-wizard-cards {
  display: grid;
  gap: 12px;
  margin-bottom: 12px;
}
@media (min-width: 768px) {
  .haze-wizard-cards { grid-template-columns: repeat(3, 1fr); }
}
.haze-wizard-card {
  padding: 14px;
  border-radius: 12px;
  border: 1px solid var(--divider);
  background: rgba(2, 6, 23, 0.35);
  transition: border-color 0.2s ease, opacity 0.2s ease, box-shadow 0.2s ease;
}
.haze-wizard-card.is-dim { opacity: 0.55; }
.haze-wizard-card.is-live {
  border-color: color-mix(in srgb, var(--accent) 55%, var(--divider));
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--accent) 25%, transparent);
}
.haze-wizard-card__label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 4px;
}
.haze-wizard-card__title {
  font-size: 14px;
  font-weight: 600;
  margin: 0 0 10px;
  color: var(--text);
}
.haze-wizard-card__hint {
  font-size: 11px;
  color: var(--text-muted);
  margin: 8px 0 0;
  min-height: 2rem;
  line-height: 1.4;
}
.haze-wizard-card__radio {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 6px;
  cursor: pointer;
}
.haze-wizard-card__radio input { margin-top: 3px; }
.haze-flow__more {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 8px;
}
.haze-flow__more summary { cursor: pointer; color: var(--text-muted); }
.haze-flow__grid {
  display: grid;
  gap: 14px;
}
@media (min-width: 900px) {
  .haze-flow__grid--2 { grid-template-columns: 1fr 1fr; align-items: start; }
}
.haze-flow__field { margin-bottom: 10px; }
.haze-flow__field-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.haze-dropzone {
  border: 2px dashed var(--divider);
  border-radius: 12px;
  padding: 1.25rem;
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.haze-dropzone.is-drag { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 8%, transparent); }
.haze-region-dd {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  z-index: 40;
  max-height: 200px;
  overflow-y: auto;
  margin-top: 4px;
  border-radius: 10px;
  border: 1px solid var(--divider);
  background: var(--surface, #0d1114);
}
.haze-region-dd__item {
  padding: 8px 10px;
  font-size: 13px;
  cursor: pointer;
}
.haze-region-dd__item:hover { background: color-mix(in srgb, var(--accent) 12%, transparent); }
.haze-flow__relative { position: relative; }
.haze-req-chip {
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--divider);
  color: var(--text-muted);
  cursor: pointer;
  background: transparent;
}
.haze-req-chip:hover { border-color: var(--accent); color: var(--text); }
.haze-req-company {
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--divider);
  margin-bottom: 8px;
  cursor: pointer;
  transition: border-color 0.15s ease;
}
.haze-req-company.is-selected { border-color: var(--accent); }
.haze-req-company__name { font-weight: 600; font-size: 14px; }
.haze-req-company__meta { font-size: 12px; color: var(--text-muted); margin-top: 4px; }
.haze-kac-scan-summary {
  font-size: 12px;
  color: var(--text-muted);
  margin: 0 0 10px;
}
.haze-kac-point-table {
  width: 100%;
  font-size: 12px;
  border-collapse: collapse;
}
.haze-kac-point-table th,
.haze-kac-point-table td {
  padding: 6px 8px;
  border-bottom: 1px solid var(--divider);
  text-align: left;
}
.haze-kac-point-table input.haze-input {
  width: 100%;
  font-size: 12px;
  padding: 6px 8px;
}
.haze-kac-p0-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-height: min(52vh, 640px);
  overflow-y: auto;
  margin-bottom: 12px;
}
.haze-kac-p0-pos {
  border: 1px solid var(--divider);
  border-radius: 12px;
  padding: 12px;
  background: rgba(2, 6, 23, 0.35);
}
.haze-kac-p0-pos__head {
  display: grid;
  gap: 8px;
  grid-template-columns: 2fr repeat(3, 1fr);
  margin-bottom: 10px;
}
@media (max-width: 700px) {
  .haze-kac-p0-pos__head { grid-template-columns: 1fr 1fr; }
}
.haze-kac-p0-offer {
  border: 1px solid var(--divider);
  border-radius: 10px;
  padding: 8px;
  margin-top: 8px;
  background: rgba(0, 0, 0, 0.15);
}
.haze-kac-p0-offer--selected {
  border-color: color-mix(in srgb, var(--accent) 50%, var(--divider));
  background: color-mix(in srgb, var(--accent) 6%, transparent);
}
.haze-kac-p0-offer__head {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 6px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}
.haze-kac-p0-cascade-badge {
  font-size: 10px;
  font-weight: 600;
  color: color-mix(in srgb, #f59e0b 85%, var(--text));
  background: color-mix(in srgb, #f59e0b 12%, transparent);
  border: 1px solid color-mix(in srgb, #f59e0b 35%, var(--divider));
  border-radius: 6px;
  padding: 1px 6px;
}
.haze-kac-p0-offer__grid {
  display: grid;
  gap: 6px;
  grid-template-columns: auto 1.4fr 0.9fr 0.8fr 1fr 0.7fr repeat(4, 0.7fr) auto;
  align-items: center;
}
@media (max-width: 900px) {
  .haze-kac-p0-offer__grid { grid-template-columns: 1fr 1fr; }
}
.haze-kac-p0-sel-wrap { display: flex; align-items: center; }
.haze-kac-p0-est {
  font-size: 11px;
  color: color-mix(in srgb, var(--accent) 80%, var(--text));
  margin: 6px 0 0;
}
.haze-proj-file-list {
  list-style: none;
  margin: 10px 0 0;
  padding: 0;
}
.haze-proj-file-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 6px 0;
  border-bottom: 1px solid var(--divider);
  font-size: 13px;
}
.haze-proj-file-item a { color: var(--accent); text-decoration: none; }
.haze-proj-file-item a:hover { text-decoration: underline; }
.haze-project-detail { margin-top: 8px; }

/* LOT-MAIL-USER L0 */
.haze-mail-wizard { max-width: 560px; }
.haze-mail-lead { margin-bottom: 8px; }
.haze-mail-divider { border: none; border-top: 1px solid var(--divider); margin: 20px 0; }
.haze-mail-account-card {
  padding: 12px 14px;
  border: 1px solid var(--divider);
  border-radius: 10px;
  margin-bottom: 10px;
  background: color-mix(in srgb, var(--surface) 92%, var(--accent) 8%);
}
.haze-mail-account-card__head { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 4px; }
.haze-mail-help__details { margin: 10px 0 16px; font-size: 13px; }
.haze-mail-help__pre {
  white-space: pre-wrap;
  font-size: 12px;
  line-height: 1.45;
  margin: 8px 0 0;
  padding: 10px;
  border-radius: 8px;
  background: var(--surface);
  border: 1px solid var(--divider);
  max-height: 220px;
  overflow: auto;
}
