:root {
  color-scheme: light;
  --navy: #031b3f;
  --navy-soft: #082953;
  --blue: #0b63a8;
  --blue-soft: #eaf4fb;
  --cyan: #12c4ca;
  --cyan-dark: #079da8;
  --ink: #13233b;
  --muted: #66758a;
  --surface: #ffffff;
  --canvas: #f5f7fa;
  --line: #dfe5eb;
  --line-strong: #cbd6e1;
  --danger: #d33843;
  --danger-soft: #fff1f2;
  --success: #147a55;
  --success-soft: #e9f8f1;
  --warning: #9b6100;
  --warning-soft: #fff7e0;
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 18px;
}

* { box-sizing: border-box; }
html { min-width: 320px; background: var(--canvas); }
body { margin: 0; min-width: 320px; font-family: Inter, "Segoe UI", system-ui, -apple-system, sans-serif; color: var(--ink); background: var(--canvas); }
button, input, select { font: inherit; }
button, a, select { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.loading { min-height: 100vh; display: grid; place-items: center; color: var(--muted); }
.muted { color: var(--muted); font-size: 13px; }

.login-shell { min-height: 100vh; display: grid; grid-template-columns: minmax(320px, 1.05fr) minmax(420px, .95fr); background: var(--surface); }
.login-brand { min-height: 100vh; display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start; padding: clamp(44px, 7vw, 92px); background: var(--navy); color: white; }
.login-brand img { width: min(520px, 82%); height: auto; mix-blend-mode: screen; }
.login-brand p { color: #c6d8eb; margin: 14px 0 0; font-size: 16px; }
.login-card { width: min(100% - 48px, 440px); margin: auto; padding: 44px 0; }
.login-card .eyebrow { color: var(--blue); font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.login-card h1 { margin: 18px 0 10px; font-size: clamp(30px, 4vw, 42px); line-height: 1.08; letter-spacing: -.04em; }
.login-card p { color: var(--muted); line-height: 1.65; margin: 0 0 28px; }

h1, h2, h3, p { overflow-wrap: anywhere; }
h1 { margin: 0; font-size: clamp(26px, 2.4vw, 34px); letter-spacing: -.035em; line-height: 1.1; }
h2 { letter-spacing: -.025em; }
h3 { letter-spacing: -.01em; }
label { display: block; margin: 18px 0 7px; color: var(--ink); font-size: 13px; font-weight: 700; }
input, select { width: 100%; min-height: 42px; padding: 10px 12px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); background: white; color: var(--ink); outline: none; }
input::placeholder { color: #94a0af; }
input:focus, select:focus, button:focus-visible, a:focus-visible { border-color: var(--blue); outline: 3px solid rgba(11, 99, 168, .16); outline-offset: 1px; }

.primary, .secondary, .logout, .drawer-close { min-height: 42px; border-radius: var(--radius-sm); padding: 10px 15px; font-weight: 750; cursor: pointer; transition: border-color .15s ease, background .15s ease, color .15s ease, transform .15s ease; }
.primary { width: 100%; margin-top: 22px; border: 1px solid var(--cyan-dark); background: var(--cyan); color: #04263b; }
.primary:hover { background: #20d0d4; transform: translateY(-1px); }
.primary.compact { width: auto; margin: 0; white-space: nowrap; }
.secondary, .logout, .drawer-close { border: 1px solid var(--line-strong); background: white; color: var(--ink); }
.secondary:hover, .logout:hover, .drawer-close:hover { border-color: #94a8bb; background: #f8fafc; }
.error { min-height: 22px; margin-top: 12px; color: var(--danger); font-size: 13px; }

.hml-chip { display: inline-flex; align-items: center; min-height: 26px; padding: 3px 9px; border: 1px solid var(--cyan); border-radius: 999px; color: var(--cyan); font-size: 11px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.hml-chip.prod { border-color: var(--success); color: var(--success); }
.shell { min-height: 100vh; display: grid; grid-template-columns: 224px minmax(0, 1fr); }
.sidebar { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; min-width: 0; padding: 24px 12px 18px; background: var(--navy); color: white; z-index: 30; }
.brand-lockup { display: block; padding: 0 5px; border-radius: 8px; }
.brand-lockup img { display: block; width: 190px; max-width: 100%; height: 76px; object-fit: contain; mix-blend-mode: screen; }
.sidebar-env { display: flex; align-items: center; gap: 9px; margin: 20px 7px 16px; color: #bdd0e4; font-size: 11px; line-height: 1.3; }
.sidebar nav { display: flex; flex-direction: column; gap: 3px; min-height: 0; overflow-y: auto; scrollbar-width: thin; }
.sidebar nav a, .sidebar nav .disabled { position: relative; display: flex; align-items: center; gap: 11px; min-height: 44px; padding: 10px 12px; border-radius: var(--radius-sm); color: #d7e4f1; text-decoration: none; font-size: 14px; }
.sidebar nav a:hover { background: rgba(255, 255, 255, .07); color: white; }
.sidebar nav a.active { background: #0a3e72; color: white; font-weight: 750; }
.nav-marker { width: 3px; height: 22px; border-radius: 4px; background: transparent; flex: 0 0 auto; }
.sidebar nav a.active .nav-marker { background: var(--cyan); }
.sidebar .disabled { color: #7189a5; }
.sidebar .disabled small { margin-left: auto; font-size: 8px; letter-spacing: .07em; text-transform: uppercase; }
.sidebar-user { display: flex; align-items: center; gap: 10px; margin-top: auto; padding: 16px 7px 2px; border-top: 1px solid rgba(255, 255, 255, .15); min-width: 0; }
.sidebar-user > span:last-child { display: grid; min-width: 0; }
.sidebar-user b, .sidebar-user small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sidebar-user b { font-size: 12px; }
.sidebar-user small { color: #a9bfd6; font-size: 10px; margin-top: 3px; text-transform: capitalize; }
.avatar { width: 34px; height: 34px; display: inline-grid; place-items: center; flex: 0 0 auto; border-radius: 50%; background: #2e78ba; color: white; font-size: 11px; font-weight: 850; }
.avatar.small { width: 24px; height: 24px; font-size: 9px; }

.content { min-width: 0; padding: 28px 30px 42px; }
.topbar { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; min-width: 0; }
.topbar-title { min-width: 180px; padding-top: 4px; }
.topbar-title .muted { margin-top: 7px; line-height: 1.45; }
.topbar-actions { display: flex; align-items: center; justify-content: flex-end; gap: 10px; min-width: 0; }
.logout { min-height: 40px; padding: 9px 12px; }
.env-note { display: flex; align-items: center; gap: 4px; margin: 20px 0; padding: 8px 12px; border-left: 3px solid var(--cyan); background: #eef9fa; color: #33556a; font-size: 12px; line-height: 1.4; }
.env-note strong { color: var(--navy); }

.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.card { padding: 18px; border: 1px solid var(--line); border-radius: var(--radius); background: white; }
.card strong { display: block; margin-top: 8px; font-size: 30px; letter-spacing: -.035em; }
.card .money { font-size: 22px; }
.quick-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 18px; }
.quick-card { display: flex; flex-direction: column; gap: 6px; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: white; color: var(--ink); text-decoration: none; }
.quick-card:hover { border-color: #91b6d2; }
.quick-card span { color: var(--muted); font-size: 13px; }
.page-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 14px; }
.page-actions h2, .page-actions p { margin: 0; }
.page-actions p { margin-top: 5px; color: var(--muted); font-size: 13px; }

.global-search { width: min(285px, 23vw); margin: 0; }
.global-search input { min-height: 40px; padding: 9px 12px; }
.view-switch { display: inline-flex; padding: 2px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); background: white; }
.view-switch button { min-height: 34px; padding: 7px 13px; border: 0; border-radius: 6px; background: transparent; color: var(--muted); font-size: 12px; font-weight: 750; cursor: pointer; }
.view-switch button.active { background: var(--navy); color: white; }
.pipeline-scope-switch { display: inline-flex; flex: 0 0 auto; padding: 2px; border: 1px solid #b8dfe3; border-radius: var(--radius-sm); background: #effafb; }
.pipeline-scope-switch button { min-height: 34px; padding: 7px 12px; border: 0; border-radius: 6px; background: transparent; color: #35606a; font-size: 11px; font-weight: 800; white-space: nowrap; cursor: pointer; }
.pipeline-scope-switch button.active { background: var(--cyan); color: var(--navy); box-shadow: 0 2px 7px rgba(0, 177, 188, .18); }
.pipeline-scope-label { display: inline-flex; align-items: center; min-height: 40px; padding: 8px 12px; border: 1px solid #b8dfe3; border-radius: var(--radius-sm); background: #effafb; color: #35606a; font-size: 11px; font-weight: 800; white-space: nowrap; }
.filter-wrap { position: relative; }
.filter-wrap > .secondary { min-height: 40px; padding: 8px 13px; }
.filter-popover { position: absolute; top: calc(100% + 7px); right: 0; z-index: 70; width: 220px; padding: 15px; border: 1px solid var(--line); border-radius: var(--radius); background: white; box-shadow: 0 16px 36px rgba(3, 27, 63, .14); }
.filter-popover label { margin-top: 0; }

.pipeline-summary { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0 -30px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: white; }
.pipeline-summary > div { display: flex; align-items: baseline; justify-content: center; gap: 7px; padding: 16px 14px; border-right: 1px solid var(--line); }
.pipeline-summary > div:last-child { border-right: 0; }
.pipeline-summary strong { font-size: 17px; letter-spacing: -.02em; }
.pipeline-summary span { color: var(--muted); font-size: 12px; }
.pipeline-summary .attention strong { color: var(--danger); }
.pipeline-shell #page { margin-top: 0; }
.pipeline-shell .env-note { margin: 12px 0 0; }
.pipeline-shell .topbar-title .muted { display: none; }
.pipeline-shell .topbar-title { min-width: 235px; }
.pipeline-shell .topbar-title h1 { white-space: nowrap; }
.pipeline-shell .topbar-actions { gap: 7px; }
.pipeline-shell .global-search { width: 165px; }
.pipeline-shell .pipeline-scope-switch button { padding-inline: 9px; font-size: 10px; }
.pipeline-shell .view-switch button { padding-inline: 9px; }
.pipeline-shell .topbar-actions > .primary { padding-inline: 12px; font-size: 12px; }
.kanban-layout { display: grid; grid-template-columns: minmax(0, 1fr) 318px; min-height: calc(100vh - 218px); margin: 0 -30px -42px; background: white; }
.kanban-layout.drawer-collapsed { grid-template-columns: minmax(0, 1fr); }
.pipeline-area { min-width: 0; overflow: hidden; border-right: 1px solid var(--line); }
.kanban-board { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(183px, 1fr); min-height: 100%; overflow-x: auto; overscroll-behavior-inline: contain; scrollbar-color: #aebdca #edf1f5; }
.kanban-board[hidden] { display: none; }
.kanban-column { min-width: 0; padding: 14px 10px 28px; border-right: 1px solid var(--line); background: #fbfcfd; }
.kanban-column:last-child { border-right: 0; }
.kanban-column.drag-over { background: #ecf8fb; }
.kanban-column > header { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; padding: 0 2px 13px; }
.kanban-column > header div { display: grid; gap: 4px; min-width: 0; }
.kanban-column > header b { font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kanban-column > header small { color: var(--muted); font-size: 11px; }
.kanban-column > header > span { min-width: 23px; padding: 3px 6px; border-radius: 999px; background: #eef1f4; color: #405169; text-align: center; font-size: 10px; font-weight: 800; }
.kanban-drop { display: grid; align-content: start; gap: 9px; min-height: 320px; }
.column-empty { margin: 16px 5px; color: #9aa6b4; font-size: 12px; text-align: center; }
.deal-card { position: relative; padding: 12px; border: 1px solid var(--line); border-radius: 9px; background: white; cursor: pointer; transition: border-color .15s ease, transform .15s ease, box-shadow .15s ease; }
.deal-card:hover { border-color: #99b8cf; transform: translateY(-1px); }
.deal-card.selected { border-color: var(--cyan); box-shadow: inset 0 3px 0 var(--cyan); }
.deal-card .code { display: block; margin-bottom: 6px; color: var(--blue); font-size: 9px; font-weight: 850; letter-spacing: .045em; overflow-wrap: anywhere; }
.deal-card h3 { margin: 0; font-size: 13px; line-height: 1.35; }
.deal-card > p { min-height: 32px; margin: 4px 0 8px; color: var(--muted); font-size: 11px; line-height: 1.4; }
.deal-card > strong { display: block; margin: 2px 0 10px; font-size: 14px; }
.deal-owner { display: flex; align-items: center; gap: 7px; padding: 8px 0; border-top: 1px solid #edf0f3; color: #54657a; font-size: 10px; }
.deal-next { display: grid; gap: 3px; padding-top: 8px; border-top: 1px solid #edf0f3; color: #53677d; font-size: 10px; line-height: 1.35; }
.deal-next time { color: var(--blue); font-weight: 750; }
.deal-next.overdue span, .deal-next.overdue time { color: var(--danger); }
.stage-select { display: none; min-height: 32px; margin-top: 10px; padding: 6px 8px; border-color: #d5dee6; color: var(--muted); font-size: 10px; }
.deal-card:hover .stage-select, .deal-card:focus-within .stage-select { display: block; }

.pipeline-list { min-width: 820px; background: white; }
.pipeline-list-head, .pipeline-row { display: grid; grid-template-columns: minmax(220px, 1.6fr) 150px 140px minmax(190px, 1.3fr) 130px; align-items: center; gap: 14px; min-width: 0; padding: 12px 18px; }
.pipeline-list-head { border-bottom: 1px solid var(--line); background: #f8fafc; color: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: .055em; text-transform: uppercase; }
.pipeline-row { width: 100%; border: 0; border-bottom: 1px solid var(--line); background: white; text-align: left; cursor: pointer; }
.pipeline-row:hover, .pipeline-row.selected { background: #f1fbfc; }
.pipeline-row span, .pipeline-row strong { min-width: 0; font-size: 12px; }
.pipeline-row b, .pipeline-row small { display: block; }
.pipeline-row small { margin-top: 4px; color: var(--muted); font-size: 10px; line-height: 1.35; }
.overdue-text { color: var(--danger) !important; }

.deal-drawer { min-width: 0; padding: 18px 16px 28px; background: white; overflow-y: auto; }
.drawer-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; padding-bottom: 13px; border-bottom: 1px solid var(--line); }
.drawer-head .code { color: var(--blue); font-size: 9px; font-weight: 850; letter-spacing: .05em; }
.drawer-head h2 { margin: 5px 0 4px; font-size: 18px; }
.drawer-head p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.6; }
.drawer-close { min-height: 32px; padding: 6px 9px; font-size: 10px; }
.drawer-value { display: grid; gap: 4px; padding: 16px 0 12px; }
.drawer-value span, .drawer-facts span { color: var(--muted); font-size: 10px; }
.drawer-value strong { font-size: 21px; letter-spacing: -.03em; }
.drawer-facts { display: grid; grid-template-columns: 1.2fr 1fr; gap: 12px; padding-bottom: 15px; }
.drawer-facts > div { display: grid; align-content: start; gap: 5px; min-width: 0; padding-left: 10px; border-left: 2px solid #e3e9ef; }
.drawer-facts b { font-size: 11px; line-height: 1.35; }
.drawer-facts small { color: var(--muted); font-size: 9px; line-height: 1.4; text-transform: capitalize; }
.drawer-actions { display: grid; grid-template-columns: .75fr 1.25fr; gap: 8px; }
.drawer-actions button { min-height: 38px; padding: 8px 10px; font-size: 11px; }
.drawer-tabs { display: flex; gap: 18px; margin: 20px -16px 0; padding: 0 16px; border-bottom: 1px solid var(--line); }
.drawer-tabs button { min-height: 39px; padding: 10px 0 9px; border: 0; border-bottom: 2px solid transparent; background: transparent; color: var(--muted); font-size: 11px; font-weight: 750; cursor: pointer; }
.drawer-tabs button.active { border-bottom-color: var(--cyan); color: var(--cyan-dark); }
.drawer-panel { padding-top: 17px; }
.drawer-panel h3 { margin: 0 0 13px; font-size: 13px; }
.drawer-panel .drawer-section-title { margin-top: 20px; padding-top: 17px; border-top: 1px solid var(--line); }
.drawer-panel dl { display: grid; gap: 9px; margin: 0; }
.drawer-panel dl div { display: grid; grid-template-columns: 88px 1fr; gap: 8px; font-size: 10px; }
.drawer-panel dt { color: var(--muted); }
.drawer-panel dd { margin: 0; color: var(--ink); }
.demo-contact { margin: 16px 0 0; padding: 10px; background: #f4f8fb; color: var(--muted); font-size: 10px; line-height: 1.5; }
.mini-timeline { display: grid; }
.mini-timeline article { display: grid; grid-template-columns: 14px 1fr; gap: 8px; padding-bottom: 14px; }
.mini-timeline article > span { width: 9px; height: 9px; margin-top: 3px; border-radius: 50%; background: var(--cyan); }
.mini-timeline article > div { display: grid; gap: 4px; }
.mini-timeline b { font-size: 10px; line-height: 1.4; }
.mini-timeline small { color: var(--muted); font-size: 9px; line-height: 1.4; }
.proposal-summary { display: grid; gap: 10px; padding: 13px; border: 1px solid var(--line); border-radius: var(--radius-sm); }
.proposal-summary strong { font-size: 19px; }

.list { display: grid; gap: 10px; }
.list-card { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-width: 0; padding: 16px; border: 1px solid var(--line); border-radius: var(--radius); background: white; }
.list-card h3 { margin: 5px 0 3px; font-size: 16px; }
.list-card p { margin: 0; color: var(--muted); font-size: 13px; }
.list-card.done { opacity: .62; }
.list-card.done h3 { text-decoration: line-through; }
.code { display: block; color: var(--blue); font-size: 10px; font-weight: 800; letter-spacing: .05em; overflow-wrap: anywhere; }
.status, .stage { display: inline-flex; align-items: center; max-width: 100%; padding: 4px 8px; border-radius: 999px; background: var(--blue-soft); color: #174d7e; font-size: 10px; font-weight: 800; white-space: nowrap; }
.status.active, .stage-won { background: var(--success-soft); color: var(--success); }
.status.lost, .stage-lost { background: var(--danger-soft); color: #9f2430; }
.proposal-status { text-transform: capitalize; }
.amount-positive { color: var(--success); font-weight: 800; }

.table-wrap { overflow: auto; border: 1px solid var(--line); border-radius: var(--radius); background: white; }
table { width: 100%; min-width: 760px; border-collapse: collapse; }
th, td { padding: 14px; border-bottom: 1px solid var(--line); text-align: left; font-size: 13px; vertical-align: middle; }
th { background: #f9fbfd; color: var(--muted); font-size: 10px; letter-spacing: .055em; text-transform: uppercase; }
td b, td small { display: block; margin-top: 4px; }
td small { color: var(--muted); }

dialog { width: min(92vw, 560px); max-height: min(90vh, 760px); padding: 0; border: 0; border-radius: var(--radius-lg); box-shadow: 0 28px 80px rgba(3, 27, 63, .32); overflow: auto; }
dialog::backdrop { background: rgba(3, 18, 40, .72); backdrop-filter: blur(3px); }
.modal-form { padding: 24px; }
.modal-form h2 { margin: 0; }
.modal-form p { margin: 6px 0 12px; color: var(--muted); line-height: 1.55; }
.modal-head, .modal-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.modal-actions { justify-content: flex-end; margin-top: 20px; }
.icon-button { border: 0; background: transparent; color: var(--muted); font-size: 28px; cursor: pointer; }
.check { display: flex; align-items: flex-start; gap: 9px; font-weight: 500; line-height: 1.35; }
.check input { width: auto; min-height: 0; margin-top: 2px; }
.form-grid, .outcome-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.quote-item-row { display: grid; grid-template-columns: 1fr 130px 32px; gap: 8px; align-items: center; margin-top: 8px; }
.quote-item-row input { min-height: 38px; }
.quote-item-row .qi-remove { font-size: 20px; color: var(--danger); }
.add-item, #add-item, #add-option { margin-top: 10px; }
.quote-subsection { margin-top: 16px; padding: 14px 16px; border: 1px dashed var(--line-strong); border-radius: var(--radius); }
.quote-subsection > b { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); margin-bottom: 6px; }
.quote-flight-fields { margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line); }
.quote-flight-fields:first-of-type { margin-top: 0; padding-top: 0; border-top: none; }
.quote-option-card { margin-top: 12px; padding: 16px; border: 1px solid var(--line); border-radius: var(--radius); background: #fafcfe; }
.quote-option-card + .quote-option-card { margin-top: 14px; }
.quote-option-card .form-grid, .quote-option-card label { margin-top: 10px; }
.quote-option-card label:first-of-type { margin-top: 0; }
.quote-option-head { display: flex; align-items: center; justify-content: space-between; }
.quote-option-head b { font-size: 13px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
.remove-option { font-size: 20px; color: var(--danger); }
.quote-pdf-import { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin: 10px 0 4px; }
.pdf-import-btn { display: inline-flex; align-items: center; white-space: nowrap; }
.import-or { color: var(--muted); font-size: 12px; }
.quote-pdf-import .qo-link-input { flex: 1; min-width: 160px; margin: 0; }
.pdf-import-status { margin: 0 0 14px; font-size: 12px; min-height: 16px; }
.quote-services { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 14px; margin-top: 8px; }
.check.compact { margin: 0; font-weight: 500; font-size: 13px; }
.quote-option-card .quote-payment-preview { margin-top: 10px; font-size: 12.5px; }

/* Link público do Orçamento Dinâmico — página sem shell/login */
body.public-quote { background: var(--canvas); }
.quote-header { background: var(--navy); color: #fff; padding: 22px 20px; }
.quote-header .brand { font-weight: 800; letter-spacing: .02em; }
.quote-header .brand small { display: block; margin-top: 3px; color: #a9c3dd; font-weight: 500; font-size: 12px; }
.quote-wrap { max-width: 640px; margin: 0 auto; padding: 24px 18px 60px; }
.quote-wrap:has(.proposal-card) { max-width: 1200px; }
.quote-wrap .banner { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 20px; padding: 12px 14px; border-radius: 10px; background: var(--warning-soft); color: var(--warning); font-size: 13px; border: 1px solid #f2dfa8; }
.quote-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; box-shadow: 0 10px 30px rgba(3, 27, 63, .06); }
.quote-card h1 { margin: 10px 0 4px; font-size: 22px; letter-spacing: -.02em; }
.quote-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 22px 0; }
.quote-grid div { padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--canvas); }
.quote-grid span { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: 4px; }
.quote-card table tfoot td { border-bottom: none; border-top: 2px solid var(--ink); font-weight: 800; font-size: 16px; padding-top: 14px; }
.quote-total { font-size: 26px; font-weight: 800; margin: 18px 0 0; }
.quote-notes { margin-top: 20px; padding: 14px 16px; background: var(--canvas); border: 1px solid var(--line); border-radius: 10px; white-space: pre-wrap; }
.quote-option-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.quote-option-tab { min-height: 38px; padding: 8px 16px; border: 1px solid var(--line-strong); border-radius: 999px; background: white; color: var(--ink); font-weight: 700; font-size: 13px; cursor: pointer; }
.quote-option-tab.is-active { background: var(--navy); border-color: var(--navy); color: white; }
#quote-option-view { margin-top: 18px; }
#quote-option-view h2 { margin: 14px 0 4px; font-size: 19px; letter-spacing: -.02em; }
.quote-option-image { width: 100%; max-height: 260px; object-fit: cover; border-radius: 10px; display: block; }
.quote-recommended { display: inline-block; margin-top: 14px; padding: 4px 12px; border-radius: 999px; background: var(--gold-soft, #fff3d6); color: #8a6318; font-size: 12px; font-weight: 800; }
.quote-services-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.quote-service-badge { padding: 5px 12px; border-radius: 999px; background: var(--canvas); border: 1px solid var(--line); font-size: 12px; font-weight: 700; color: var(--ink); }
.quote-card .quote-payment-preview { margin-top: 14px; font-size: 13px; }

/* Proposta comercial (Orçamento Dinâmico) — layout de referência: herói escuro, seções por cidade de saída */
.proposal-card { background: transparent; border: none; box-shadow: none; padding: 0; }
.proposal-hero { background: linear-gradient(135deg, var(--navy) 0%, #0b3f66 100%) center/cover; color: #fff; border-radius: var(--radius-lg); padding: 64px 40px; min-height: 340px; display: flex; flex-direction: column; justify-content: flex-end; }
.proposal-hero .eyebrow { color: #8ef2eb; font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; margin: 0 0 10px; }
.proposal-hero h1 { color: #fff; font-size: clamp(26px, 4vw, 34px); line-height: 1.15; margin: 0 0 14px; letter-spacing: -.02em; }
.proposal-hero p { color: #d7e4f1; font-size: 15px; max-width: 60ch; margin: 0; }
.proposal-pills { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.proposal-pills span { padding: 8px 16px; border-radius: 999px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.24); font-size: 13px; font-weight: 700; }
.proposal-section { margin-top: 40px; }
.proposal-section .eyebrow { color: var(--cyan-dark); font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; margin: 0 0 10px; }
.proposal-section h2 { font-size: 24px; letter-spacing: -.02em; margin: 0 0 10px; color: var(--navy); }
.proposal-departure-group { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); }
.proposal-departure-label { font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.proposal-departure-label b { font-size: 18px; color: var(--navy); font-weight: 700; text-transform: none; letter-spacing: normal; margin-left: 6px; }
.proposal-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 20px; margin-top: 16px; }
.quote-option-card { border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); padding: 24px; }
.quote-option-card.is-recommended { border: 2px solid var(--cyan-dark); box-shadow: 0 0 0 4px rgba(18,196,202,.08); }
.quote-option-kicker { font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--cyan-dark); margin: 0; }
.quote-recommended-badge { display: inline-block; margin-top: 8px; padding: 5px 12px; border-radius: 999px; background: var(--warning-soft); color: var(--warning); font-size: 11px; font-weight: 800; }
.quote-option-card h3 { font-size: 22px; margin: 10px 0 6px; color: var(--navy); }
.quote-service-list { list-style: none; margin: 14px 0; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; }
.quote-service-list li { font-size: 14px; color: var(--ink); }
.quote-mint-box { margin-top: 14px; padding: 16px 18px; border-radius: 14px; background: #eef7f5; }
.quote-mint-box > b { display: block; font-size: 14px; font-weight: 700; color: var(--ink); padding-bottom: 10px; margin-bottom: 10px; border-bottom: 1px solid rgba(0,0,0,.08); }
.quote-mint-box ul { list-style: none; margin: 0; padding: 0; }
.quote-mint-box li { font-size: 13.5px; color: var(--muted); padding: 2px 0; }
.quote-mint-box p { margin: 4px 0; font-size: 13.5px; color: var(--muted); }
.quote-mint-box .quote-hotel-name { font-weight: 700; color: var(--cyan-dark); font-size: 13px; text-transform: uppercase; letter-spacing: .02em; }
.quote-flight { padding: 10px 0; }
.quote-flight + .quote-flight { border-top: 1px solid rgba(0,0,0,.08); margin-top: 8px; padding-top: 14px; }
.quote-flight b { font-size: 11px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: var(--cyan-dark); }
.quote-flight h4 { margin: 6px 0 2px; font-size: 15px; color: var(--ink); }
.quote-flight p { margin: 2px 0; font-size: 13px; color: var(--ink); }
.quote-invest-label { margin: 20px 0 2px; font-size: 13px; color: var(--muted); }
.quote-invest-amount { margin: 0; font-size: 28px; font-weight: 800; color: var(--navy); letter-spacing: -.02em; }
.quote-cta-button { display: block; margin-top: 16px; padding: 14px 20px; border-radius: 12px; background: var(--navy); color: #fff !important; text-align: center; font-weight: 800; text-decoration: none; font-size: 15px; }
.quote-cta-button.light { display: inline-block; background: var(--cyan-dark); margin-top: 18px; }
.proposal-cta { margin-top: 48px; padding: 40px 32px; border-radius: var(--radius-lg); background: var(--navy); color: #fff; text-align: center; }
.proposal-cta h2 { color: #fff; margin: 6px 0 10px; font-size: 26px; }
.proposal-cta p { color: #d7e4f1; margin: 0; }
@media (max-width: 860px) { .proposal-options { grid-template-columns: 1fr; } }
@media (max-width: 620px) { .proposal-hero, .proposal-cta { padding: 28px 20px; min-height: 260px; } }

/* Proposta pública V2 (Gate G) — aditivo; reaproveita .quote-mint-box/.quote-hotel-name/.quote-service-list acima. */
button.quote-cta-button { width: 100%; border: 0; font: inherit; cursor: pointer; }
.quote-air-leg + .quote-air-leg { margin-top: 10px; padding-top: 10px; border-top: 1px solid rgba(0,0,0,.08); }
.quote-air-leg-label { font-size: 11px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: var(--cyan-dark); margin: 0 0 4px; }
.quote-segment-row { padding: 4px 0; }
.quote-segment-route { margin: 0; font-size: 14px; font-weight: 700; color: var(--ink); }
.quote-connection-note { margin: 2px 0 8px !important; font-size: 12.5px !important; font-style: italic; color: var(--cyan-dark) !important; }
.quote-baggage-line { margin-top: 10px !important; padding-top: 10px; border-top: 1px solid rgba(0,0,0,.08); }
.quote-experience-row + .quote-experience-row { margin-top: 10px; padding-top: 10px; border-top: 1px solid rgba(0,0,0,.08); }
.quote-cruise-itinerary { margin-top: 8px; padding-top: 8px; border-top: 1px solid rgba(0,0,0,.08); }
.quote-cruise-day { margin: 3px 0 !important; font-size: 13px !important; }

/* Roteiro Dinâmico — trajeto, hospedagens e dia a dia na página pública */
.quote-section-title { margin: 30px 0 14px; font-size: 18px; letter-spacing: -.02em; }
.itinerary-route { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.itinerary-route span { padding: 8px 14px; border-radius: 999px; background: var(--canvas); border: 1px solid var(--line); font-size: 12.5px; font-weight: 700; }
.itinerary-stays-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.itinerary-stay-card { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--surface); }
.itinerary-stay-card img { width: 100%; aspect-ratio: 16/9; object-fit: cover; display: block; }
.itinerary-stay-card > div { padding: 14px 16px; }
.itinerary-stay-city { font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--cyan-dark); font-weight: 800; }
.itinerary-stay-card h3 { margin: 4px 0 6px; font-size: 16px; }
.itinerary-stay-card p { margin: 0 0 8px; font-size: 13.5px; color: var(--muted); }
.itinerary-days-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.itinerary-day-card { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--surface); display: flex; flex-direction: column; }
.itinerary-day-media { position: relative; aspect-ratio: 16/9; }
.itinerary-day-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.itinerary-day-label { position: absolute; left: 12px; bottom: 12px; background: rgba(255,255,255,.94); color: var(--navy); font-size: 11px; font-weight: 800; padding: 6px 10px; border-radius: 999px; }
.itinerary-day-body { padding: 16px 18px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.itinerary-day-body b { color: var(--cyan-dark); text-transform: uppercase; font-size: 11px; letter-spacing: .06em; }
.itinerary-day-body h3 { margin: 2px 0 4px; font-size: 16px; }
.itinerary-day-body p { margin: 0; font-size: 13.5px; color: var(--muted); }
.itinerary-day-body small { margin-top: auto; padding-top: 10px; color: var(--muted); font-size: 12px; border-top: 1px solid var(--line); }
.video-link { display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; margin-top: 8px; padding: 7px 12px; border-radius: 999px; background: var(--canvas); border: 1px solid var(--line); font-weight: 700; font-size: 12px; text-decoration: none; color: var(--ink); }
@media (max-width: 620px) { .itinerary-stays-grid, .itinerary-days-grid { grid-template-columns: 1fr; } }
@media (max-width: 620px) { .quote-grid { grid-template-columns: 1fr; } }
.credential-box { display: grid; gap: 10px; margin-top: 16px; padding: 16px; border: 1px solid #bad7f0; border-radius: var(--radius); background: #f0f8ff; }
.credential-box span { color: var(--muted); font-size: 12px; font-weight: 700; }
.credential-box code { display: block; margin-top: 3px; color: var(--navy); font-size: 14px; overflow-wrap: anywhere; user-select: all; }
.timeline { position: relative; display: grid; }
.timeline::before { content: ''; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 2px; background: var(--line); }
.timeline article { position: relative; display: grid; grid-template-columns: 28px 1fr; padding: 0 0 22px; }
.timeline-dot { width: 16px; height: 16px; z-index: 1; border: 4px solid white; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 1px var(--line); }
.timeline b { font-size: 14px; }
.timeline p { margin: 4px 0 6px; color: var(--muted); font-size: 12px; }
.empty-state { min-height: 220px; display: grid; place-items: center; padding: 36px; border: 1px dashed #b9c7d6; border-radius: var(--radius); background: white; color: var(--muted); text-align: center; }

@media (min-width: 1120px) {
  .metrics { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .quick-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (max-width: 1180px) {
  .topbar { align-items: stretch; flex-direction: column; }
  .topbar-actions { justify-content: flex-start; flex-wrap: wrap; }
  .global-search { width: min(100%, 360px); }
  .pipeline-shell .topbar-title { min-width: 0; }
  .pipeline-shell .global-search { width: min(100%, 360px); }
  .kanban-layout { min-height: calc(100vh - 274px); grid-template-columns: minmax(0, 1fr); }
  .deal-drawer { position: fixed; inset: 0 0 0 auto; z-index: 90; width: min(420px, 94vw); box-shadow: -18px 0 42px rgba(3, 27, 63, .18); }
}

@media (max-width: 760px) {
  body { padding-bottom: 72px; }
  .login-shell { grid-template-columns: 1fr; background: var(--navy); }
  .login-brand { min-height: auto; padding: 28px 24px 14px; }
  .login-brand img { width: min(300px, 78%); }
  .login-brand > div { display: none; }
  .login-card { width: 100%; min-height: calc(100vh - 132px); margin: 0; padding: 34px 24px 52px; border-radius: 28px 28px 0 0; background: white; }
  .shell { display: block; min-height: 100vh; }
  .sidebar { position: fixed; inset: auto 0 0; width: 100%; height: 72px; padding: 7px 8px max(7px, env(safe-area-inset-bottom)); border-top: 1px solid #16395f; }
  .brand-lockup, .sidebar-env, .sidebar-user { display: none; }
  .sidebar nav { height: 100%; flex-direction: row; align-items: stretch; gap: 2px; overflow-x: auto; overflow-y: hidden; }
  .sidebar nav a, .sidebar nav .disabled { min-width: 78px; min-height: 54px; flex-direction: column; justify-content: center; gap: 4px; padding: 5px 8px; font-size: 10px; text-align: center; }
  .sidebar nav a.active { background: #0a3e72; }
  .nav-marker { width: 22px; height: 3px; }
  .content { padding: 20px 16px 30px; }
  .topbar { gap: 16px; }
  .topbar-actions { display: grid; grid-template-columns: 1fr auto; gap: 8px; width: 100%; }
  .pipeline-scope-switch, .pipeline-scope-label { grid-column: 1 / -1; justify-self: stretch; }
  .pipeline-scope-switch button { flex: 1; }
  .global-search { grid-column: 1 / -1; width: 100%; }
  .view-switch { justify-self: start; }
  .filter-wrap { justify-self: end; }
  .topbar-actions > .primary { grid-column: 1 / -1; width: 100%; }
  .topbar-actions > .logout { position: absolute; top: 18px; right: 16px; min-height: 34px; padding: 6px 9px; font-size: 11px; }
  .env-note { align-items: flex-start; }
  .env-note span { display: none; }
  .cards, .quick-grid, .form-grid, .outcome-grid { grid-template-columns: 1fr; }
  .list-card { align-items: flex-start; flex-direction: column; }
  .pipeline-summary { margin: 0 -16px; }
  .pipeline-summary > div { display: grid; gap: 3px; padding: 11px 5px; text-align: center; }
  .pipeline-summary strong { font-size: 13px; }
  .pipeline-summary span { font-size: 9px; }
  .pipeline-shell .env-note { margin: 10px 0 0; }
  .kanban-layout { min-height: calc(100vh - 332px); margin: 0 -16px -30px; }
  .kanban-board { grid-auto-columns: minmax(260px, 82vw); scroll-snap-type: x proximity; }
  .kanban-column { scroll-snap-align: start; }
  .deal-card > p { min-height: auto; }
  .stage-select { min-height: 38px; font-size: 12px; }
  .deal-card .stage-select { display: block; }
  .pipeline-area { overflow-x: auto; }
  .deal-drawer { inset: 0 0 72px; width: 100%; padding: 20px 18px 34px; box-shadow: none; }
  .drawer-head { position: sticky; top: -20px; z-index: 3; padding-top: 16px; background: white; }
  .drawer-tabs { position: sticky; top: 74px; z-index: 2; background: white; }
  .drawer-facts { grid-template-columns: 1fr 1fr; }
  .drawer-actions { grid-template-columns: 1fr; }
  .filter-popover { right: 0; width: min(260px, calc(100vw - 32px)); }
  dialog { width: min(94vw, 560px); max-height: 88vh; }
  .modal-form { padding: 20px; }
}

@media (max-width: 420px) {
  .topbar-title { max-width: calc(100% - 68px); }
  .drawer-facts { grid-template-columns: 1fr; }
  .pipeline-summary span { line-height: 1.15; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}

/* Entrada Rápida (leads reais) — aditivo, não altera nenhuma regra existente acima. */
.lead-card { cursor: default; }
.lead-card .stage-select { display: block; }
.lead-card-actions { display: grid; gap: 6px; }

/* Inbox (conversas/mensagens manuais) — aditivo. */
.conversation-modal { width: min(480px, 92vw); }
.conversation-thread { display: grid; gap: 8px; max-height: 320px; margin: 10px 0; padding: 10px; overflow-y: auto; border: 1px solid var(--line); border-radius: 9px; background: var(--canvas); }
.message-bubble { max-width: 85%; padding: 8px 10px; border-radius: 9px; background: white; border: 1px solid var(--line); }
.message-bubble b { display: block; margin-bottom: 2px; font-size: 10px; letter-spacing: .03em; text-transform: uppercase; color: var(--muted); }
.message-bubble p { margin: 0; font-size: 13px; line-height: 1.4; }
.message-bubble small { display: block; margin-top: 4px; color: var(--muted); font-size: 10px; }
.message-bubble.inbound { justify-self: start; }
.message-bubble.outbound { justify-self: end; border-color: var(--cyan); }
.message-actions { display: flex; gap: 8px; margin: 8px 0; }
.send-button { display: inline-flex; align-items: center; gap: 6px; }
.emoji-bar { display: flex; flex-wrap: wrap; gap: 2px; margin-bottom: 6px; }
.emoji-bar button { padding: 4px 6px; border: 1px solid transparent; border-radius: 6px; background: none; font-size: 16px; line-height: 1; cursor: pointer; }
.emoji-bar button:hover { background: var(--blue-soft); border-color: var(--line); }
#translate-select { padding: 0 8px; border: 1px solid var(--line); border-radius: var(--radius-sm); color: var(--muted); font-size: 12px; }
.translate-note { margin: -4px 0 8px; padding: 6px 8px; border-radius: 8px; background: var(--blue-soft); color: var(--blue); font-size: 11px; line-height: 1.4; }
.translate-note button { border: none; background: none; color: var(--blue); font-weight: 700; text-decoration: underline; cursor: pointer; padding: 0; font-size: 11px; }
.translate-msg-link { margin-top: 4px; padding: 0; border: none; background: none; color: var(--blue); font-size: 11px; font-weight: 700; cursor: pointer; }
.translated-text { margin: 4px 0 0; padding-top: 4px; border-top: 1px dashed var(--line); color: var(--muted); font-size: 12px; font-style: italic; }
#message-body { width: 100%; min-height: 64px; margin-bottom: 8px; padding: 8px; border: 1px solid var(--line); border-radius: 8px; font: inherit; resize: vertical; }
.conversation-status { margin: 0 0 8px; }
.status-chip { display: inline-block; padding: 3px 9px; border-radius: 999px; font-size: 10px; font-weight: 800; letter-spacing: .03em; text-transform: uppercase; }
.status-chip.open { background: #e3f8ea; color: #0f8a3c; }
.status-chip.closed { background: #eef1f4; color: #56657a; }
.status-chip.whatsapp-on { background: #e3f8ea; color: #0f8a3c; }
.status-chip.whatsapp-off { background: #fdf1de; color: #a8631a; }
.status-chip.controller-bot { background: #e7ecff; color: #3949ab; }
.status-chip.controller-human { background: #f3e9ff; color: #7b3fb8; }
.send-failed { color: var(--danger); font-weight: 700; }

/* Aprovação (Fase 4 do Orçamento Dinâmico) — aditivo. */
.approval-chip { display: inline-block; padding: 3px 9px; border-radius: 999px; font-size: 10px; font-weight: 800; letter-spacing: .03em; text-transform: uppercase; margin-right: 4px; }
.approval-chip.approval-draft { background: #eef1f4; color: #56657a; }
.approval-chip.approval-pending_approval { background: #fdf1de; color: #a8631a; }
.approval-chip.approval-approved { background: #e3f8ea; color: #0f8a3c; }
.approval-chip.approval-changes_requested { background: #fde8e8; color: #c0392b; }

/* Sugestões de IA (Fase 2 do Orçamento Dinâmico) — aditivo. */
.ai-suggestion-row { margin-bottom: 10px; }
.ai-suggestion-row label { display: flex; align-items: center; gap: 6px; }
.ai-badge { padding: 2px 7px; border-radius: 999px; background: var(--blue-soft); color: var(--blue); font-size: 9px; font-weight: 800; letter-spacing: .03em; text-transform: uppercase; }
.ai-badge.current { background: #eef1f4; color: #56657a; }

/* Fila de Atendimento — aditivo. */
.queue-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0; }
.queue-tabs button { padding: 8px 12px; border: 1px solid var(--line); border-radius: 999px; background: white; color: var(--muted); font-size: 12px; cursor: pointer; }
.queue-tabs button span { margin-left: 5px; padding: 1px 6px; border-radius: 999px; background: #eef1f4; font-weight: 800; font-size: 10px; }
.queue-tabs button.active { border-color: var(--blue); color: var(--blue); background: var(--blue-soft); }
.queue-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.agent-group { margin-bottom: 20px; }
.agent-group h3 { margin: 0 0 10px; font-size: 13px; color: var(--muted); text-transform: uppercase; letter-spacing: .03em; }
.queue-waiting { border-color: #e0a020; box-shadow: inset 0 3px 0 #e0a020; }
.queue-badges { display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0 8px; }
.owner-badge, .post-sale-badge { padding: 3px 8px; border-radius: 999px; font-size: 10px; font-weight: 700; }
.owner-badge { background: var(--blue-soft); color: var(--blue); }
.owner-badge.unassigned { background: #fdf1de; color: #a8631a; }
.post-sale-badge { background: #f3e9fb; color: #7a3fb0; }
.pipeline-scope-switch-wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 4px 0 14px; }
.pipeline-scope-switch-wrap label { font-size: 11px; font-weight: 700; color: var(--muted); }
.pipeline-scope-switch-wrap select { padding: 7px 10px; border: 1px solid var(--line); border-radius: var(--radius-sm); font-size: 12px; }

/* Orçamento Dinâmico V2 (Gate E) — aditivo, não reutiliza nem altera estilos do formulário V1. */
.page-actions-buttons { display: flex; gap: 8px; flex-wrap: wrap; }
.v2-badge { display: inline-block; margin-left: 6px; padding: 2px 6px; border-radius: 999px; background: var(--blue); color: white; font-size: 9px; font-weight: 800; letter-spacing: .03em; vertical-align: middle; }
.v2-block { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 16px; margin-bottom: 16px; background: #fbfcfe; }
.v2-block h3 { margin-top: 0; }
.v2-option-card { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 16px; margin-bottom: 16px; background: white; }
.v2-option-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 12px; }
.v2-position-badge { padding: 3px 9px; border-radius: 999px; background: #eef1f4; color: var(--muted); font-size: 11px; font-weight: 800; }
.v2-title { flex: 1 1 220px; padding: 8px 10px; border: 1px solid var(--line); border-radius: var(--radius-sm); font-size: 13px; font-weight: 700; }
.v2-service-toggles { display: flex; flex-wrap: wrap; gap: 10px 16px; padding: 10px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 14px; }
.v2-domain-block { border: 1px dashed var(--line); border-radius: var(--radius-sm); padding: 12px; margin-bottom: 12px; }
.v2-domain-block h3 { margin: 0 0 10px; font-size: 14px; }
.v2-domain-block h4 { margin: 10px 0 6px; font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .03em; }
.v2-subblock { margin-top: 8px; }
.v2-row { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 10px; margin-bottom: 8px; background: #fbfcfe; }
.v2-iata { text-transform: uppercase; }
.v2-financial { border-style: solid; background: #fbfcfe; }
.v2-import-row { margin: 10px 0; }
.v2-review-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 10px 0; }
.v2-alerts { margin: 0; padding-left: 18px; font-size: 12px; color: var(--danger); }
.v2-option-error:empty { display: none; }

