:root {
  --navy: #07172a;
  --navy-2: #0b2038;
  --ink: #132238;
  --muted: #66758a;
  --canvas: #f5f7fa;
  --surface: #ffffff;
  --line: #e4e9ef;
  --mint: #32b89a;
  --mint-soft: #e7f7f2;
  --amber: #c9942e;
  --amber-soft: #fff6e2;
  --blue: #3777d6;
  --blue-soft: #eaf1fc;
  --red: #c44949;
  --red-soft: #fceeee;
  --shadow: 0 12px 30px rgba(19, 34, 56, .08);
  --radius: 8px;
  font-family: "DM Sans", Arial, sans-serif;
  color: var(--ink);
  background: var(--canvas);
}

* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; background: var(--canvas); }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
.app-shell { display: grid; grid-template-columns: 224px minmax(0, 1fr); min-height: 100vh; }
.sidebar { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; padding: 20px 12px 14px; background: var(--navy); color: #f7fbff; }
.brand-lockup { display: flex; align-items: center; gap: 10px; padding: 4px 8px 24px; font-family: Manrope, sans-serif; font-size: 15px; letter-spacing: 0; }
.brand-lockup div { display: grid; line-height: 1.05; }
.brand-lockup span, .sidebar-footer span { color: #99abc0; font-size: 11px; }
.brand-logo { width: 35px; height: 35px; object-fit: contain; border-radius: 7px; background: #f5fffc; }
.nav-list { display: grid; gap: 4px; }
.nav-button { display: flex; width: 100%; align-items: center; gap: 11px; border: 0; border-left: 3px solid transparent; border-radius: 6px; padding: 10px 11px; color: #c5d3e3; background: transparent; text-align: left; font-weight: 600; font-size: 13px; }
.nav-button:hover { background: rgba(255,255,255,.06); color: #fff; }
.nav-button.active { border-left-color: var(--amber); background: rgba(255,255,255,.12); color: #fff; }
.nav-button svg { width: 18px; height: 18px; }
.nav-count { margin-left: auto; min-width: 21px; padding: 2px 6px; border-radius: 999px; background: rgba(255,255,255,.12); color: #fff; font-size: 10px; text-align: center; }
.sidebar-footer { display: flex; align-items: center; gap: 9px; margin-top: auto; padding: 13px 8px 2px; border-top: 1px solid rgba(255,255,255,.12); font-size: 12px; }
.sidebar-footer div:last-child { display: grid; gap: 2px; }
.operator-avatar { display: grid; width: 30px; height: 30px; place-items: center; border-radius: 50%; background: #d4a649; color: var(--navy); font-size: 10px; font-weight: 800; }
.workspace { min-width: 0; }
.topbar { display: flex; min-height: 66px; align-items: center; justify-content: space-between; gap: 16px; padding: 0 30px; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.86); backdrop-filter: blur(12px); }
.breadcrumb { display: flex; align-items: center; gap: 9px; font-family: Manrope, sans-serif; font-size: 19px; font-weight: 800; }
.environment-badge { padding: 3px 7px; border: 1px solid #bfe6dc; border-radius: 999px; color: #237d69; background: #f0fbf8; font-family: "DM Sans", sans-serif; font-size: 10px; font-weight: 700; }
.topbar-actions { display: flex; align-items: center; gap: 8px; }
.icon-button, .command-button { display: inline-flex; min-height: 36px; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 7px; color: var(--ink); background: var(--surface); }
.icon-button { width: 36px; padding: 0; }
.icon-button:hover { border-color: #b9c6d4; background: #f8fafc; }
.icon-button svg, .command-button svg { width: 17px; height: 17px; }
.command-button { gap: 7px; padding: 0 12px; border-color: var(--navy); color: #fff; background: var(--navy); font-size: 13px; font-weight: 700; }
.command-button:hover { background: var(--navy-2); }
.mobile-menu { display: none; }
.mobile-brand-mark { display: none; }
.content { padding: 28px 30px 44px; }
.view-header { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; margin-bottom: 22px; }
.eyebrow { margin: 0 0 5px; color: var(--mint); font-size: 11px; font-weight: 800; letter-spacing: 0; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 5px; font-family: Manrope, sans-serif; font-size: 29px; line-height: 1.1; letter-spacing: 0; }
h2 { margin-bottom: 0; font-family: Manrope, sans-serif; font-size: 18px; line-height: 1.2; letter-spacing: 0; }
h3 { font-size: 14px; }
.subcopy { margin-bottom: 0; color: var(--muted); font-size: 14px; }
.date-line { color: var(--muted); font-size: 12px; }
.kpi-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 12px; margin-bottom: 25px; }
.kpi { min-height: 126px; padding: 17px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: 0 4px 14px rgba(19,34,56,.025); }
.kpi-header { display: flex; align-items: center; justify-content: space-between; color: var(--muted); font-size: 12px; font-weight: 700; }
.kpi-icon { display: grid; width: 31px; height: 31px; place-items: center; border-radius: 7px; background: var(--blue-soft); color: var(--blue); }
.kpi:nth-child(2) .kpi-icon { background: var(--amber-soft); color: var(--amber); }
.kpi:nth-child(3) .kpi-icon { background: var(--mint-soft); color: #207d68; }
.kpi:nth-child(4) .kpi-icon { background: #f0f1fb; color: #6665bf; }
.kpi-icon svg { width: 17px; }
.kpi-value { margin: 15px 0 3px; font-family: Manrope, sans-serif; font-size: 29px; font-weight: 800; line-height: 1; }
.kpi-detail { color: var(--muted); font-size: 12px; }
.dashboard-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: start; }
.surface { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: 0 4px 14px rgba(19,34,56,.025); }
.surface-head { display: flex; align-items: center; justify-content: space-between; padding: 17px 18px 13px; border-bottom: 1px solid var(--line); }
.text-button { border: 0; padding: 4px 0; color: var(--blue); background: none; font-size: 12px; font-weight: 700; }
.action-list, .activity-list { display: grid; }
.action-row, .activity-row { display: flex; gap: 11px; align-items: flex-start; padding: 13px 18px; border-bottom: 1px solid #edf0f3; }
.action-row { width: 100%; border-top: 0; border-right: 0; border-left: 0; background: transparent; text-align: left; }
.action-row:last-child, .activity-row:last-child { border-bottom: 0; }
.action-row:hover { background: #f8fafc; }
.action-icon, .activity-icon { display: grid; flex: 0 0 auto; width: 28px; height: 28px; place-items: center; border-radius: 6px; background: var(--blue-soft); color: var(--blue); }
.action-icon svg, .activity-icon svg { width: 15px; }
.action-row strong, .activity-row strong { display: block; font-size: 13px; }
.action-row span, .activity-row span { display: block; margin-top: 3px; color: var(--muted); font-size: 12px; }
.row-date { margin-left: auto; color: var(--muted); font-size: 11px; white-space: nowrap; }
.compact-empty { padding: 28px 18px; color: var(--muted); font-size: 13px; text-align: center; }
.health-stack { display: grid; gap: 11px; padding: 15px 18px 18px; }
.health-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 13px; }
.health-row span:first-child { color: var(--muted); }
.health-status { display: inline-flex; align-items: center; gap: 5px; color: #267e68; font-size: 11px; font-weight: 700; }
.health-status::before { width: 7px; height: 7px; border-radius: 50%; background: var(--mint); content: ""; }
.health-status.pending { color: #98711e; }
.health-status.pending::before { background: var(--amber); }
.pipeline-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 15px; }
.pipeline-header p { margin-bottom: 0; color: var(--muted); font-size: 13px; }
.pipeline-board { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; padding-bottom: 10px; }
.pipeline-mobile-tabs, .pipeline-mobile-list { display: none; }
.pipeline-column { min-width: 0; min-height: 430px; border: 1px solid var(--line); border-radius: var(--radius); background: #f8fafc; }
.pipeline-column-head { display: flex; align-items: center; justify-content: space-between; padding: 13px; border-bottom: 1px solid var(--line); }
.pipeline-column-head h3 { margin: 0; font-size: 12px; text-transform: uppercase; }
.stage-count { padding: 2px 7px; border-radius: 999px; background: #e8edf3; color: #536276; font-size: 10px; font-weight: 800; }
.pipeline-cards { display: grid; gap: 8px; padding: 9px; }
.deal-card { width: 100%; border: 1px solid var(--line); border-radius: 7px; padding: 12px; background: #fff; box-shadow: 0 2px 5px rgba(19,34,56,.025); text-align: left; }
.deal-card:hover { border-color: #b8c6d5; box-shadow: 0 6px 16px rgba(19,34,56,.07); }
.deal-card-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.deal-card strong { display: block; font-size: 13px; }
.deal-card-company { display: block; margin-top: 3px; color: var(--muted); font-size: 12px; }
.deal-card-meta { display: flex; align-items: center; justify-content: space-between; margin-top: 14px; color: var(--muted); font-size: 11px; }
.origin-dot { display: inline-flex; align-items: center; gap: 5px; }
.origin-dot::before { width: 7px; height: 7px; border-radius: 50%; background: var(--mint); content: ""; }
.state-badge { display: inline-flex; max-width: 130px; padding: 3px 6px; overflow: hidden; border-radius: 4px; color: #246c5b; background: var(--mint-soft); font-size: 10px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.state-badge.proposal { color: #885e13; background: var(--amber-soft); }
.state-badge.contract { color: #2f64ae; background: var(--blue-soft); }
.state-badge.active { color: #5f519f; background: #efedff; }
.table-surface { overflow: hidden; }
.data-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.data-table th { padding: 11px 14px; color: var(--muted); background: #f8fafc; font-size: 10px; text-align: left; text-transform: uppercase; }
.data-table td { padding: 14px; border-top: 1px solid var(--line); vertical-align: middle; }
.data-table tr[data-id] { cursor: pointer; }
.data-table tr[data-id]:hover { background: #fbfcfd; }
.table-primary { display: block; font-weight: 700; }
.table-secondary { display: block; margin-top: 3px; color: var(--muted); font-size: 11px; }
.empty-state { display: grid; min-height: 250px; place-items: center; padding: 30px; color: var(--muted); text-align: center; }
.client-process-list { display: grid; gap: 12px; }
.client-process-card { width: 100%; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); padding: 0; color: var(--ink); background: var(--surface); box-shadow: 0 4px 14px rgba(19,34,56,.025); text-align: left; }
.client-process-card:hover { border-color: #b8c6d5; box-shadow: 0 8px 22px rgba(19,34,56,.07); }
.client-process-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 17px 18px; border-bottom: 1px solid var(--line); }
.client-process-head strong, .client-process-head span { display: block; }
.client-process-head > div > strong { font-family: Manrope, sans-serif; font-size: 16px; }
.client-process-head > div > span { margin-top: 4px; color: var(--muted); font-size: 12px; }
.client-process-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); }
.client-process-grid > div { min-width: 0; padding: 14px 18px; background: #fbfcfd; }
.client-process-grid span, .client-process-grid strong { display: block; }
.client-process-grid span { margin-bottom: 5px; color: var(--muted); font-size: 10px; font-weight: 700; text-transform: uppercase; }
.client-process-grid strong { overflow: hidden; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.client-process-card footer { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 12px 18px; color: var(--muted); font-size: 12px; }
.client-process-card footer strong { color: var(--ink); white-space: nowrap; }
.client-archive { margin-top: 18px; padding: 0; overflow: hidden; }
.client-archive > summary { display: flex; align-items: center; justify-content: space-between; padding: 15px 18px; color: var(--muted); font-size: 13px; font-weight: 700; cursor: pointer; }
.client-archive > summary span { min-width: 25px; border-radius: 999px; padding: 3px 8px; color: var(--ink); background: #eef2f5; text-align: center; }
.client-archive > .client-process-list { padding: 0 12px 12px; }
.contact-overview { display: grid; grid-template-columns: repeat(3, minmax(0, 180px)); gap: 10px; margin-bottom: 14px; }
.contact-overview > div { padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.contact-overview span, .contact-overview strong { display: block; }
.contact-overview span { color: var(--muted); font-size: 10px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.contact-overview strong { margin-top: 3px; font-family: Manrope, sans-serif; font-size: 22px; }
.contact-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 12px; }
.contact-search { display: flex; min-width: min(100%, 380px); flex: 1; align-items: center; gap: 8px; border: 1px solid #ccd6e1; border-radius: 7px; padding: 0 11px; background: #fff; }
.contact-search:focus-within { border-color: var(--mint); box-shadow: 0 0 0 3px rgba(50,184,154,.12); }
.contact-search svg { width: 16px; flex: 0 0 auto; color: var(--muted); }
.contact-search input { width: 100%; height: 38px; border: 0; outline: 0; color: var(--ink); background: transparent; font-size: 13px; }
.contact-filters { display: flex; flex-wrap: wrap; gap: 6px; }
.contact-filters button { min-height: 34px; border: 1px solid var(--line); border-radius: 999px; padding: 0 11px; color: var(--muted); background: #fff; font-size: 11px; font-weight: 700; }
.contact-filters button.active { border-color: #a6d9cd; color: #176d5a; background: var(--mint-soft); }
.contact-result-count { margin: 15px 2px 9px; color: var(--muted); font-size: 12px; }
.contact-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
.contact-card { min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 10px; background: #fff; box-shadow: 0 5px 16px rgba(19,34,56,.035); }
.contact-card-head { display: grid; grid-template-columns: 42px minmax(0, 1fr) auto; align-items: center; gap: 11px; padding: 16px 17px; border-bottom: 1px solid var(--line); }
.contact-avatar { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 50%; color: #116a57; background: var(--mint-soft); font-family: Manrope, sans-serif; font-size: 17px; font-weight: 800; }
.contact-card-head h2 { margin: 2px 0 0; overflow: hidden; font-size: 16px; text-overflow: ellipsis; white-space: nowrap; }
.contact-card-head p { margin: 3px 0 0; color: var(--muted); font-size: 11px; }
.contact-company { display: block; overflow: hidden; color: #347462; font-size: 10px; font-weight: 800; letter-spacing: .04em; text-overflow: ellipsis; text-transform: uppercase; white-space: nowrap; }
.principal-badge { align-self: start; border-radius: 999px; padding: 4px 7px; color: #805a15; background: var(--amber-soft); font-size: 9px; font-weight: 800; }
.contact-actions { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; border-bottom: 1px solid var(--line); background: var(--line); }
.contact-action { display: flex; min-width: 0; min-height: 42px; align-items: center; justify-content: center; gap: 5px; color: #3c5067; background: #fbfcfd; font-size: 11px; font-weight: 700; text-decoration: none; }
.contact-action:hover { color: var(--navy); background: #f1f5f8; }
.contact-action.whatsapp { color: #176d5a; background: #f1fbf8; }
.contact-action svg { width: 14px; height: 14px; }
.contact-unavailable { grid-column: 1 / -1; padding: 12px; color: var(--muted); background: #fbfcfd; font-size: 11px; text-align: center; }
.contact-important { display: grid; grid-template-columns: .8fr 1.2fr; gap: 1px; background: var(--line); }
.contact-important > div { min-width: 0; padding: 13px 16px; background: #fff; }
.contact-important span, .contact-important strong, .contact-important small { display: block; }
.contact-important span { margin-bottom: 5px; color: var(--muted); font-size: 9px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.contact-important strong { overflow-wrap: anywhere; font-size: 12px; line-height: 1.35; }
.contact-important small { margin-top: 4px; color: var(--muted); font-size: 10px; }
.contact-facts { display: grid; gap: 8px; margin: 0; padding: 13px 16px; border-top: 1px solid var(--line); }
.contact-facts > div { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 8px; }
.contact-facts dt { display: flex; align-items: center; gap: 5px; color: var(--muted); font-size: 10px; }
.contact-facts dt svg { width: 12px; }
.contact-facts dd { margin: 0; overflow-wrap: anywhere; font-size: 11px; text-align: right; }
.contact-card footer { display: flex; min-height: 46px; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 16px; border-top: 1px solid var(--line); background: #fafbfc; }
.data-quality { font-size: 10px; font-weight: 700; }
.data-quality.complete { color: #237d69; }
.data-quality.warning { color: #9a6b18; }
.open-contact-detail { display: inline-flex; align-items: center; gap: 5px; border: 0; padding: 4px 0; color: var(--blue); background: transparent; font-size: 11px; font-weight: 800; }
.open-contact-detail svg { width: 13px; }
.contact-empty { grid-column: 1 / -1; border: 1px dashed #ccd6e1; border-radius: var(--radius); background: #fff; }
.today-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-bottom: 16px; }
.today-stat { display: flex; min-height: 84px; align-items: center; justify-content: space-between; gap: 12px; border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; color: var(--ink); background: #fff; text-align: left; }
.today-stat:hover { border-color: #b7c5d4; box-shadow: 0 7px 18px rgba(19,34,56,.06); }
.today-stat span { display: flex; align-items: center; gap: 7px; color: var(--muted); font-size: 12px; font-weight: 700; }
.today-stat span svg { width: 16px; color: var(--mint); }
.today-stat strong { font-family: Manrope, sans-serif; font-size: 30px; }
.daily-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; align-items: start; }
.daily-block { overflow: hidden; }
.daily-block.meetings-today { grid-column: 1 / -1; }
.daily-block > header { display: flex; align-items: center; justify-content: space-between; padding: 15px 16px; border-bottom: 1px solid var(--line); }
.daily-block > header h2 { font-size: 15px; }
.daily-block > header button { border: 0; color: var(--blue); background: transparent; font-size: 11px; font-weight: 800; }
.daily-row { display: grid; width: 100%; min-height: 62px; grid-template-columns: 38px minmax(0, 1fr) 18px; align-items: center; gap: 10px; border: 0; border-bottom: 1px solid #edf0f3; padding: 9px 14px; color: var(--ink); background: transparent; text-align: left; }
.daily-row:last-child { border-bottom: 0; }
.daily-row:hover { background: #f8fafc; }
.daily-row > svg { width: 16px; color: #9aa7b6; }
.daily-row strong, .daily-row small { display: block; }
.daily-row strong { overflow: hidden; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.daily-row small { margin-top: 4px; overflow: hidden; color: var(--muted); font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.daily-priority, .daily-time { display: grid; min-height: 32px; place-items: center; border-radius: 8px; color: #8b6116; background: var(--amber-soft); font-size: 11px; font-weight: 800; }
.daily-priority.cadence { color: #2863ad; background: var(--blue-soft); }
.daily-time { color: #176d5a; background: var(--mint-soft); }
.prospect-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px; }
.prospect-toolbar > label { display: flex; min-width: min(100%, 390px); flex: 1; align-items: center; gap: 8px; border: 1px solid #ccd6e1; border-radius: 8px; padding: 0 11px; }
.prospect-toolbar > label:focus-within { border-color: var(--mint); box-shadow: 0 0 0 3px rgba(50,184,154,.12); }
.prospect-toolbar > label svg { width: 16px; color: var(--muted); }
.prospect-toolbar input { width: 100%; height: 40px; border: 0; outline: 0; }
.prospect-toolbar > div { display: flex; gap: 6px; }
.prospect-toolbar > div button { min-height: 36px; border: 1px solid var(--line); border-radius: 999px; padding: 0 12px; color: var(--muted); background: #fff; font-size: 11px; font-weight: 700; }
.prospect-toolbar > div button.active { border-color: #9bd6c8; color: #176d5a; background: var(--mint-soft); }
.queue-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 14px 2px 10px; color: var(--muted); font-size: 11px; }
.queue-heading p { margin: 0; }
.queue-heading span { display: inline-flex; align-items: center; gap: 5px; color: #176d5a; font-weight: 700; }
.prospect-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.prospect-card { min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 11px; background: #fff; box-shadow: 0 5px 17px rgba(19,34,56,.035); }
.prospect-card.high-priority { border-top: 3px solid var(--amber); }
.prospect-card > header { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; padding: 14px 15px 12px; }
.prospect-card > header h2 { margin-top: 3px; overflow: hidden; font-size: 16px; text-overflow: ellipsis; white-space: nowrap; }
.prospect-card > header p { margin: 4px 0 0; color: var(--muted); font-size: 11px; }
.prospect-source { color: #237d69; font-size: 9px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.prospect-card-controls { display: flex; flex: 0 0 auto; align-items: flex-end; flex-direction: column; gap: 7px; }
.retire-prospect { display: grid; width: 30px; height: 30px; place-items: center; border: 1px solid #d9e0e7; border-radius: 999px; color: #68788b; background: #fff; }
.retire-prospect:hover { border-color: #e4a5a5; color: var(--red); background: var(--red-soft); }
.retire-prospect svg { width: 15px; height: 15px; }
.priority-chip { display: inline-flex; flex: 0 0 auto; border-radius: 999px; padding: 4px 7px; color: #526276; background: #edf1f5; font-size: 9px; font-weight: 800; text-transform: capitalize; }
.priority-chip.high { color: #8b6116; background: var(--amber-soft); }
.prospect-reason { display: grid; gap: 4px; min-height: 70px; padding: 11px 15px; border-top: 1px solid var(--line); background: #fbfcfd; }
.prospect-reason strong { font-size: 12px; }
.prospect-reason span { color: var(--muted); font-size: 11px; line-height: 1.35; }
.prospect-channels { display: flex; min-height: 46px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.prospect-channels:empty::after { align-self: center; width: 100%; color: var(--muted); font-size: 10px; text-align: center; content: "Sin canal directo. Revisar ficha"; }
.prospect-channels a { display: flex; min-width: 0; min-height: 46px; flex: 1; align-items: center; justify-content: center; gap: 5px; border-right: 1px solid var(--line); color: #395069; font-size: 10px; font-weight: 700; text-decoration: none; }
.prospect-channels a:last-child { border-right: 0; }
.prospect-channels a:first-child { color: #176d5a; background: #f4fcfa; }
.prospect-channels svg { width: 15px; }
.prospect-card > footer { display: grid; grid-template-columns: .8fr 1.2fr; gap: 8px; padding: 10px; }
.prospect-card > footer button { min-height: 44px; justify-content: center; }
.danger-action { display: inline-flex; min-height: 40px; align-items: center; justify-content: center; border: 1px solid #b83c3c; border-radius: 7px; padding: 0 13px; color: #fff; background: #b83c3c; font-size: 13px; font-weight: 800; }
.danger-action:hover { background: #9e3030; }
.danger-action:disabled { cursor: not-allowed; opacity: .55; }
.followup-due { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 3px 8px; padding: 10px 15px; border-top: 1px solid var(--line); color: #35669e; background: var(--blue-soft); }
.followup-due.due { color: #8b6116; background: var(--amber-soft); }
.followup-due span, .followup-due strong { font-size: 11px; }
.followup-due small { grid-column: 1 / -1; color: var(--muted); font-size: 10px; }
.followup-group { display: grid; gap: 9px; margin-bottom: 20px; }
.followup-group > header { display: flex; align-items: center; gap: 8px; }
.followup-group > header h2 { font-size: 15px; }
.followup-group > header span { border-radius: 999px; padding: 2px 7px; color: var(--muted); background: #e9eef3; font-size: 10px; font-weight: 800; }
.operations-archive { margin-top: 16px; overflow: hidden; }
.operations-archive summary { display: flex; align-items: center; justify-content: space-between; padding: 13px 15px; color: var(--muted); font-size: 12px; font-weight: 700; cursor: pointer; }
.operations-archive summary span { border-radius: 999px; padding: 2px 7px; background: #edf1f5; }
.operations-archive > div { display: grid; border-top: 1px solid var(--line); }
.operations-archive > div button { display: flex; align-items: center; justify-content: space-between; gap: 12px; border: 0; border-bottom: 1px solid var(--line); padding: 11px 15px; color: var(--ink); background: #fff; text-align: left; }
.operations-archive > div button span { color: var(--muted); font-size: 10px; }
.source-performance { margin-top: 12px; overflow: hidden; }
.source-performance > summary { display: flex; min-height: 48px; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 15px; cursor: pointer; }
.source-performance > summary span { font-size: 12px; font-weight: 800; }
.source-performance > summary small { color: var(--muted); font-size: 10px; }
.source-performance-table { display: grid; border-top: 1px solid var(--line); }
.source-performance-head, .source-performance-row { display: grid; grid-template-columns: minmax(130px, 1fr) repeat(3, 70px); align-items: center; gap: 8px; padding: 9px 15px; }
.source-performance-head { color: var(--muted); background: #f8fafc; font-size: 9px; text-transform: uppercase; }
.source-performance-row { border-top: 1px solid #edf0f3; font-size: 11px; }
.source-performance-head span, .source-performance-row span { text-align: center; }
.prospect-detail { display: grid; gap: 18px; padding: 18px 22px 22px; }
.prospect-detail-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 7px 10px; color: var(--muted); font-size: 11px; line-height: 1.4; }
.origin-chip { display: inline-flex; border-radius: 999px; padding: 4px 8px; color: #176d5a; background: var(--mint-soft); font-size: 9px; font-weight: 800; }
.prospect-detail > .prospect-channels { overflow: hidden; border: 1px solid var(--line); border-radius: 8px; }
.prospect-detail-section { display: grid; gap: 8px; border-top: 1px solid var(--line); padding-top: 14px; }
.prospect-detail-section h3 { margin: 0; }
.prospect-section-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.prospect-section-heading button { border: 0; padding: 3px 0; color: var(--blue); background: transparent; font-size: 10px; font-weight: 800; }
.prospect-detail-section p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.45; }
.prospect-detail-section dl { display: grid; gap: 1px; margin: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 7px; background: var(--line); }
.prospect-detail-section dl div { display: grid; grid-template-columns: 100px minmax(0, 1fr); gap: 10px; padding: 9px 10px; background: #fff; }
.prospect-detail-section dt { color: var(--muted); font-size: 10px; }
.prospect-detail-section dd { margin: 0; overflow-wrap: anywhere; font-size: 11px; text-align: right; }
.prospect-detail-section textarea { width: 100%; min-height: 100px; resize: vertical; border: 1px solid var(--line); border-radius: 7px; padding: 10px; color: var(--ink); background: #f8fafc; font-size: 12px; line-height: 1.45; }
.manual-warning { color: #8b6116 !important; }
.prospect-history { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.prospect-history li { display: grid; grid-template-columns: 62px minmax(0, 1fr); gap: 4px 9px; padding: 9px; border-radius: 7px; background: #f8fafc; }
.prospect-history li span { color: var(--muted); font-size: 10px; }
.prospect-history li strong { font-size: 11px; text-transform: capitalize; }
.prospect-history li p { grid-column: 2; }
.prospect-detail-actions { position: sticky; bottom: -14px; display: grid; grid-template-columns: 1fr 1.4fr; gap: 8px; padding: 12px 0 0; background: #fff; }
.prospect-detail-actions button { min-height: 46px; justify-content: center; }
.cadence-preview { border-radius: 7px; padding: 10px; color: #35669e; background: var(--blue-soft); font-size: 11px; }
.quick-result-shell { display: grid; gap: 15px; padding: 18px 22px 22px; }
.quick-channel { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 12px; color: var(--muted); font-size: 11px; font-weight: 800; }
.quick-channel select { min-width: 0; height: 40px; border: 1px solid #ccd6e1; border-radius: 7px; padding: 0 11px; color: var(--ink); background: #fff; font-size: 13px; }
.quick-result-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.quick-result-grid button { display: grid; min-width: 0; min-height: 78px; place-content: center; justify-items: center; gap: 5px; border: 1px solid var(--line); border-radius: 9px; padding: 9px 6px; color: var(--ink); background: #fff; text-align: center; }
.quick-result-grid button:hover { border-color: #9bd6c8; background: #f4fcfa; }
.quick-result-grid button:disabled { cursor: wait; opacity: .55; }
.quick-result-grid svg { width: 19px; height: 19px; color: #207d68; }
.quick-result-grid span { font-size: 11px; font-weight: 800; }
.quick-result-grid small { color: var(--muted); font-size: 9px; }
.quick-result-grid .quick-negative svg { color: #b83c3c; }
.quick-result-details { border-top: 1px solid var(--line); padding-top: 12px; }
.quick-result-details summary { color: var(--blue); font-size: 11px; font-weight: 800; cursor: pointer; }
.quick-result-details label { display: grid; gap: 7px; margin-top: 12px; color: #3e4d61; font-size: 11px; font-weight: 700; }
.quick-result-details textarea, .quick-result-details input { width: 100%; min-width: 0; border: 1px solid #ccd6e1; border-radius: 7px; padding: 10px; color: var(--ink); background: #fff; font-size: 13px; }
.quick-result-details textarea { min-height: 78px; resize: vertical; }
.quick-result-details input { height: 40px; }
.quick-result-details .primary-action { width: 100%; justify-content: center; margin-top: 12px; }
.quick-cronos-note { display: flex; align-items: center; gap: 7px; border-radius: 8px; padding: 10px 11px; color: #526276; background: #f4f7fa; font-size: 10px; line-height: 1.4; }
.quick-cronos-note svg { width: 15px; flex: 0 0 auto; color: #207d68; }
.modal-form label[hidden] { display: none; }
.calendar-shell { overflow: hidden; }
.mobile-agenda { display: none; }
.calendar-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 17px 18px; border-bottom: 1px solid var(--line); }
.calendar-toolbar h2 { margin-top: 7px; text-transform: capitalize; }
.calendar-actions { display: flex; align-items: center; gap: 7px; }
.sync-chip { display: inline-flex; align-items: center; gap: 6px; color: #237d69; font-size: 11px; font-weight: 700; }
.sync-chip svg { width: 13px; }
.calendar-weekdays { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); border-bottom: 1px solid var(--line); background: #f8fafc; }
.calendar-weekdays span { padding: 9px 10px; color: var(--muted); font-size: 10px; font-weight: 800; text-align: right; text-transform: uppercase; }
.calendar-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); }
.calendar-day { min-width: 0; min-height: 125px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 8px; background: #fff; }
.calendar-day:nth-child(7n) { border-right: 0; }
.calendar-day:nth-last-child(-n+7) { border-bottom: 0; }
.calendar-day.muted { background: #fafbfc; }
.calendar-day-number { display: grid; width: 25px; height: 25px; margin: 0 0 7px auto; place-items: center; border-radius: 50%; color: #4f5f72; font-size: 11px; font-weight: 700; }
.calendar-day.muted .calendar-day-number { color: #b0bbc7; }
.calendar-day.today .calendar-day-number { color: #fff; background: var(--navy); }
.calendar-event { display: grid; gap: 4px; margin-top: 5px; border-left: 3px solid var(--mint); border-radius: 5px; padding: 7px; background: var(--mint-soft); }
.calendar-event button { min-width: 0; border: 0; padding: 0; color: #155f50; background: transparent; text-align: left; }
.calendar-event time, .calendar-event strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.calendar-event time { margin-bottom: 2px; font-size: 9px; font-weight: 800; }
.calendar-event strong { font-size: 11px; }
.calendar-event a { display: inline-flex; width: fit-content; align-items: center; gap: 4px; color: #176d5a; font-size: 10px; font-weight: 700; text-decoration: none; }
.calendar-event a:hover { text-decoration: underline; }
.calendar-event a svg { width: 12px; height: 12px; }
.calendar-event.completed { border-left-color: #54a88f; background: #f2f8f6; }
.calendar-complete { display: inline-flex; width: fit-content; align-items: center; gap: 4px; color: #237d69; font-size: 10px; font-weight: 800; }
.calendar-complete svg { width: 12px; height: 12px; }
.detail-panel { position: fixed; z-index: 10; top: 0; right: 0; display: flex; width: min(430px, 100vw); height: 100vh; flex-direction: column; transform: translateX(102%); border-left: 1px solid var(--line); background: #fff; box-shadow: -18px 0 40px rgba(7,23,42,.14); transition: transform .2s ease; }
.detail-panel.open { transform: translateX(0); }
.detail-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 23px 23px 18px; border-bottom: 1px solid var(--line); }
.detail-header h2 { font-size: 21px; }
.detail-subtitle { margin: 5px 0 0; color: var(--muted); font-size: 13px; }
.detail-scroll { overflow: auto; padding: 19px 23px 30px; }
.detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 20px; }
.detail-stat { padding: 11px; border: 1px solid var(--line); border-radius: 7px; background: #f9fafb; }
.detail-stat span { display: block; color: var(--muted); font-size: 10px; text-transform: uppercase; }
.detail-stat strong { display: block; margin-top: 5px; font-size: 13px; }
.detail-section { margin-top: 23px; }
.detail-section h3 { display: flex; align-items: center; gap: 7px; margin-bottom: 10px; font-family: Manrope, sans-serif; font-size: 14px; }
.detail-section h3 svg { width: 16px; color: var(--blue); }
.detail-contact { display: grid; gap: 11px; padding: 12px; border: 1px solid var(--line); border-radius: var(--radius); background: #f9fafb; }
.detail-contact strong, .detail-contact span, .detail-contact small { display: block; overflow-wrap: anywhere; }
.detail-contact strong { font-size: 13px; }
.detail-contact span { margin-top: 3px; color: var(--muted); font-size: 11px; }
.detail-contact small { margin-top: 5px; color: #3c5067; font-size: 11px; }
.contact-actions.compact { grid-template-columns: repeat(2, minmax(0, 1fr)); overflow: hidden; border: 1px solid var(--line); border-radius: 7px; }
.contact-actions.compact .contact-action { min-height: 36px; }
.email-preview { display: grid; gap: 5px; margin: 10px 0; padding: 12px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); color: var(--muted); font-size: 13px; }
.email-preview strong { color: var(--ink); }
.email-preview span, .email-preview p, .detail-stat strong { min-width: 0; overflow-wrap: anywhere; }
.email-preview p { margin: 5px 0 0; white-space: pre-wrap; color: var(--ink); line-height: 1.45; }
.material-list { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.material-item { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); font-size: 13px; }
.material-item strong { display: block; }
.material-item .table-secondary { font-size: 11px; }
.material-badge { padding: 3px 9px; border-radius: 999px; font-size: 11px; font-weight: 600; white-space: nowrap; }
.material-badge.approved { color: var(--mint); background: var(--mint-soft); }
.timeline { border-left: 1px solid #d8e1e9; margin-left: 7px; padding-left: 15px; }
.timeline-item { position: relative; padding: 0 0 16px; font-size: 12px; }
.timeline-item::before { position: absolute; top: 3px; left: -19px; width: 7px; height: 7px; border: 2px solid #fff; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 1px #b7e4da; content: ""; }
.timeline-item strong { display: block; }
.timeline-item span { color: var(--muted); }
.transition-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.transition-button { min-height: 38px; border: 1px solid #bce3d9; border-radius: 7px; color: #176d5a; background: #f0faf7; font-size: 12px; font-weight: 700; }
.transition-button:hover { background: var(--mint-soft); }
.transition-button.danger { border-color: #efc4c4; color: #a63737; background: #fff5f5; }
.transition-button.danger:hover { background: var(--red-soft); }
.proposal-link { display: inline-flex; width: 100%; align-items: center; justify-content: center; margin-bottom: 10px; text-decoration: none; }
.proposal-actions { display: grid; grid-template-columns: 1fr; gap: 8px; margin-top: 10px; }
.meeting-detail { display: grid; gap: 10px; }
.meeting-detail > div { padding: 12px; border: 1px solid var(--line); border-radius: var(--radius); background: #f8fafc; }
.meeting-detail strong, .meeting-detail span { display: block; }
.meeting-detail strong { font-size: 13px; text-transform: capitalize; }
.meeting-detail span { margin-top: 4px; color: var(--muted); font-size: 11px; }
.meeting-detail .transition-button { display: inline-flex; align-items: center; justify-content: center; gap: 7px; text-decoration: none; }
.meeting-detail .transition-button svg { width: 15px; }
.meeting-detail .transcript-ready { display: inline-flex; width: fit-content; margin-top: 8px; padding: 3px 7px; border-radius: 999px; background: #dcfce7; color: #166534; font-weight: 700; }
.meeting-transcript { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.meeting-transcript summary { display: flex; align-items: center; gap: 7px; padding: 11px 12px; color: var(--ink); font-size: 13px; font-weight: 700; cursor: pointer; }
.meeting-transcript summary svg { width: 15px; color: var(--blue); }
.meeting-transcript > div { padding: 0 12px 12px; }
.meeting-transcript > div + div { padding-top: 12px; border-top: 1px solid var(--line); }
.meeting-transcript p { margin: 5px 0 0; white-space: pre-line; color: var(--muted); font-size: 12px; line-height: 1.55; }
.meeting-detail .text-link { color: var(--blue); font-size: 12px; font-weight: 700; text-decoration: none; }
.scrim { position: fixed; z-index: 9; inset: 0; background: rgba(6,17,31,.25); }
.modal-backdrop { position: fixed; z-index: 40; inset: 0; display: grid; place-items: center; padding: 20px; background: rgba(6,17,31,.42); }
.modal-backdrop[hidden] { display: none; }
.modal-panel { width: min(520px, 100%); max-height: min(720px, calc(100vh - 40px)); overflow: auto; border: 1px solid var(--line); border-radius: 8px; background: #fff; box-shadow: 0 24px 64px rgba(7,23,42,.26); }
.modal-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 21px 22px 17px; border-bottom: 1px solid var(--line); }
.modal-header .eyebrow { margin-bottom: 4px; }
.modal-form, .modal-content { display: grid; gap: 16px; padding: 21px 22px 22px; }
.offer-fields { display: grid; gap: 16px; }
.offer-fields[hidden] { display: none; }
.price-preview { display: grid; gap: 4px; border: 1px solid #bfe3d6; border-radius: 7px; padding: 13px 14px; color: #176d5a; background: #f2fbf7; font-variant-numeric: tabular-nums; }
.price-preview span { font-size: 10px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.price-preview strong { color: var(--ink); font-size: 22px; }
.price-preview small { color: #4f6b63; font-size: 11px; line-height: 1.45; }
.modal-form label { display: grid; gap: 7px; color: #3e4d61; font-size: 12px; font-weight: 700; }
.modal-form input, .modal-form select, .modal-form textarea, .link-output input { width: 100%; min-width: 0; height: 41px; border: 1px solid #ccd6e1; border-radius: 6px; padding: 0 11px; color: var(--ink); background: #fff; outline: 0; font-size: 14px; }
.modal-form textarea { min-height: 92px; height: auto; padding-block: 10px; resize: vertical; }
.modal-form input:focus, .modal-form select:focus, .modal-form textarea:focus, .link-output input:focus { border-color: var(--mint); box-shadow: 0 0 0 3px rgba(50,184,154,.13); }
.modal-actions { display: flex; justify-content: flex-end; gap: 9px; padding-top: 4px; }
.modal-note { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.45; }
.form-feedback { margin: 0; border: 1px solid #efb2b2; border-radius: 7px; padding: 10px 12px; color: #8f2828; background: var(--red-soft); font-size: 12px; font-weight: 700; line-height: 1.4; }
.link-output { display: flex; gap: 8px; align-items: center; }
.link-output input { flex: 1; color: #435267; background: #f8fafc; font-size: 12px; }
.link-output .icon-button { flex: 0 0 auto; }
.toast-region { position: fixed; z-index: 70; right: 18px; bottom: 18px; display: grid; gap: 8px; }
.toast { max-width: 320px; padding: 12px 14px; border-radius: 7px; color: #fff; background: var(--navy); box-shadow: var(--shadow); font-size: 13px; }
.toast.error { background: var(--red); }

.onboarding-body { min-height: 100vh; background: #f5f7fa; }
.proposal-body { min-height: 100vh; color: #f7f8f8; background: #010102; font-family: Inter, Arial, sans-serif; }
.proposal-body::before { position: fixed; inset: 0; z-index: -1; background: radial-gradient(circle at 50% -20%, rgba(51,201,176,.18), transparent 34%), linear-gradient(180deg, rgba(255,255,255,.035), transparent 320px); content: ""; pointer-events: none; }
.proposal-topbar { display: flex; min-height: 76px; align-items: center; justify-content: space-between; padding: 0 max(20px, calc((100vw - 1180px) / 2)); border-bottom: 1px solid #23252a; background: rgba(1,1,2,.86); backdrop-filter: blur(18px); }
.proposal-brand { display: inline-flex; align-items: center; gap: 12px; color: #f7f8f8; text-decoration: none; font-family: "Space Grotesk", Inter, sans-serif; font-size: 14px; font-weight: 700; }
.proposal-brand-logo { width: 38px; height: 38px; border-radius: 8px; object-fit: cover; background: #fff; box-shadow: 0 0 0 1px rgba(255,255,255,.14); }
.proposal-private { border: 1px solid #2a3035; border-radius: 999px; padding: 7px 10px; color: #8a949d; background: #0b0d0f; font-size: 11px; font-weight: 700; letter-spacing: 0; text-transform: uppercase; }
.proposal-main { width: min(1180px, calc(100% - 40px)); margin: 0 auto; padding: 56px 0 84px; }
.proposal-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(270px, 340px); align-items: end; gap: clamp(26px, 5vw, 70px); margin-bottom: 34px; }
.proposal-hero-copy { max-width: 780px; }
.proposal-kicker, .proposal-section-label { margin: 0 0 10px; color: #33c9b0; font-size: 12px; font-weight: 800; letter-spacing: 0; text-transform: uppercase; }
.proposal-hero h1, .proposal-details h2, .proposal-decision h2, .proposal-unavailable h1 { color: #f7f8f8; font-family: "Space Grotesk", Inter, sans-serif; letter-spacing: 0; }
.proposal-hero h1 { max-width: 840px; margin: 0 0 16px; font-size: clamp(39px, 5vw, 68px); line-height: 1.02; }
.proposal-hero-copy > p:last-child { max-width: 720px; margin: 0; color: #c4cbd2; font-size: 18px; line-height: 1.55; }
.proposal-hero-card { display: grid; gap: 12px; border: 1px solid #23252a; border-radius: 12px; padding: 22px; background: linear-gradient(180deg, #111315, #090a0c); box-shadow: 0 24px 80px rgba(0,0,0,.35); }
.proposal-hero-card span, .proposal-hero-card small { color: #8a949d; font-size: 12px; font-weight: 700; text-transform: uppercase; }
.proposal-hero-card strong { color: #f7f8f8; font-family: "Space Grotesk", Inter, sans-serif; font-size: 23px; line-height: 1.15; }
.proposal-hero-card div { display: grid; gap: 5px; padding-top: 12px; border-top: 1px solid #23252a; }
.proposal-hero-card b { color: #dce3ea; font-size: 13px; font-weight: 700; }
.proposal-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(340px, 390px); align-items: start; gap: clamp(28px, 5vw, 56px); }
.proposal-details { min-width: 0; border: 1px solid #23252a; border-radius: 14px; padding: 28px; background: rgba(15,16,17,.86); }
.proposal-section-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; padding-bottom: 22px; border-bottom: 1px solid #23252a; }
.proposal-section-head .proposal-section-label { margin-bottom: 7px; }
.proposal-details h2, .proposal-decision h2 { margin: 0; font-size: 24px; line-height: 1.2; }
.proposal-pdf-link { flex: 0 0 auto; border: 1px solid #2d3338; border-radius: 8px; padding: 9px 11px; color: #dce3ea; background: #0b0d0f; font-size: 12px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.proposal-pdf-link:hover { border-color: #33c9b0; color: #fff; }.proposal-pdf-link span { margin-left: 3px; font-size: 14px; }
.proposal-outcome { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 24px 0 28px; }
.proposal-outcome div { min-height: 160px; border: 1px solid #23252a; border-radius: 10px; padding: 18px; background: #111315; }
.proposal-outcome span { display: block; margin-bottom: 22px; color: #33c9b0; font-family: "Space Grotesk", Inter, sans-serif; font-size: 13px; font-weight: 800; }
.proposal-outcome strong { display: block; margin-bottom: 8px; color: #f7f8f8; font-family: "Space Grotesk", Inter, sans-serif; font-size: 17px; line-height: 1.25; }
.proposal-outcome p { margin: 0; color: #9aa4ad; font-size: 13px; line-height: 1.5; }
.proposal-scope { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; color: #d7e0ea; }
.proposal-scope li { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 11px; align-items: start; padding: 15px 0; border-top: 1px solid #23252a; font-size: 14px; line-height: 1.5; }
.proposal-scope li span { width: 9px; height: 9px; margin-top: 6px; border: 1px solid #33c9b0; border-radius: 50%; box-shadow: 0 0 18px rgba(51,201,176,.28); }
.proposal-scope li p { margin: 0; color: #d4dbe2; }
.proposal-commercial { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 24px; }
.proposal-commercial div { border-top: 1px solid #2a3035; padding-top: 14px; }
.proposal-commercial strong { color: #f7f8f8; font-size: 13px; }
.proposal-commercial p { margin: 7px 0 0; color: #8f9aa4; font-size: 12px; line-height: 1.5; }
.proposal-decision { position: sticky; top: 20px; padding: 26px; border: 1px solid rgba(51,201,176,.38); border-radius: 14px; background: linear-gradient(180deg, #151718, #0c0e10); box-shadow: 0 28px 90px rgba(0,0,0,.42); }
.proposal-decision > .proposal-section-label { margin-bottom: 7px; }.proposal-decision > h2 { margin-bottom: 17px; }
.proposal-price { display: grid; gap: 8px; margin: 0 0 18px; padding: 21px 0 23px; border-top: 1px solid #2a3035; border-bottom: 1px solid #2a3035; }
.proposal-price span { color: #9aa4ad; font-size: 12px; font-weight: 700; text-transform: uppercase; }
.proposal-price strong { color: #f7f8f8; font-family: "Space Grotesk", Inter, sans-serif; font-size: clamp(36px, 4vw, 48px); line-height: 1; }
.proposal-totals { margin-bottom: 18px; border-bottom: 1px solid #2a3035; }.proposal-totals > div { display: flex; justify-content: space-between; gap: 20px; padding: 12px 0; border-top: 1px solid #23252a; }.proposal-totals span { color: #9aa4ad; font-size: 12px; }.proposal-totals strong { color: #e7ecef; font-size: 13px; }
.proposal-payment-note { display: grid; gap: 8px; border: 1px solid #2a3035; border-radius: 10px; padding: 14px; background: #0b0d0f; }.proposal-payment-note strong { color: #f7f8f8; font-size: 13px; }.proposal-payment-note p { margin: 0; color: #99a4ae; font-size: 12px; line-height: 1.5; }
.proposal-accept { display: grid; gap: 14px; margin-top: 22px; padding-top: 22px; border-top: 1px solid #2a3035; }.proposal-accept h2 { margin: 0; color: #f8fafc; font-family: "Space Grotesk", Inter, sans-serif; font-size: 19px; }.proposal-accept p { margin: 0; color: #9aa4ad; font-size: 12px; line-height: 1.5; }.proposal-accept label { display: grid; gap: 7px; color: #d8e3ed; font-size: 12px; font-weight: 700; }.proposal-accept input:not([type="checkbox"]) { width: 100%; height: 44px; border: 1px solid #343a40; border-radius: 8px; padding: 0 12px; color: #f8fafc; background: #0b0d0f; font-size: 14px; outline: 0; }.proposal-accept input:not([type="checkbox"]):focus { border-color: #33c9b0; box-shadow: 0 0 0 3px rgba(51,201,176,.14); }.proposal-accept .confirm-control { display: flex; align-items: flex-start; gap: 10px; line-height: 1.45; }.proposal-accept input[type="checkbox"] { width: 16px; height: 16px; flex: 0 0 auto; margin: 1px 0 0; accent-color: #33c9b0; }
.proposal-action { display: inline-flex; width: 100%; min-height: 48px; align-items: center; justify-content: center; border: 0; border-radius: 8px; padding: 0 20px; color: #04100e; background: #33c9b0; font-size: 14px; font-weight: 900; text-decoration: none; }.proposal-action:hover { background: #5ee0cc; }.proposal-action:disabled { cursor: wait; opacity: .55; filter: none; }
.proposal-accepted { display: grid; gap: 10px; margin-top: 22px; padding-top: 22px; border-top: 1px solid #2a3035; color: #33c9b0; }.proposal-accepted strong { font-family: "Space Grotesk", Inter, sans-serif; font-size: 18px; }.proposal-accepted span { color: #b3c2d2; font-size: 13px; line-height: 1.5; }
.proposal-unavailable { max-width: 560px; margin: 90px auto; padding: 0; text-align: center; }.proposal-unavailable h1 { margin-bottom: 12px; font-size: 32px; }.proposal-unavailable p:last-child { margin-bottom: 0; color: #a8b7c9; line-height: 1.55; }
.contract-main { padding-top: 58px; }
.contract-hero { margin-bottom: 35px; }
.contract-layout { grid-template-columns: minmax(0, 1.05fr) minmax(330px, .72fr); }
.contract-document { min-height: 360px; }
.contract-summary { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin-top: 20px; overflow: hidden; border: 1px solid rgba(148,163,184,.2); border-radius: 8px; background: rgba(148,163,184,.2); }
.contract-summary > div { min-width: 0; padding: 15px; background: rgba(15,23,42,.72); }
.contract-summary span { display: block; margin-bottom: 6px; color: #94a3b8; font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.contract-summary strong { display: block; overflow-wrap: anywhere; color: #eaf2f7; font-size: 13px; line-height: 1.45; }
.contract-hash { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 11px !important; }
.login-body { min-height: 100vh; background: var(--navy); }
.login-shell { display: grid; width: min(980px, calc(100% - 32px)); min-height: 100vh; margin: auto; grid-template-columns: 1fr minmax(330px, .78fr); align-items: center; gap: 80px; }
.login-brand { color: #fff; }.login-brand img { width: 75px; height: 75px; margin-bottom: 25px; border-radius: 12px; object-fit: contain; background: #f7fffd; }.login-brand .eyebrow { color: #73dec8; }.login-brand h1 { font-size: 45px; }.login-brand p:last-child { max-width: 350px; color: #aebdce; font-size: 16px; line-height: 1.5; }
.login-card { display: grid; gap: 26px; padding: 31px; border: 1px solid #dfe6ee; border-radius: 8px; background: #fff; }.login-card h2 { margin-bottom: 6px; font-family: Manrope, sans-serif; font-size: 24px; }.login-card p { margin-bottom: 0; color: var(--muted); font-size: 13px; }.login-card form { display: grid; gap: 16px; }.login-card label { display: grid; gap: 7px; color: #3e4d61; font-size: 12px; font-weight: 700; }.login-card input { height: 42px; border: 1px solid #ccd6e1; border-radius: 6px; padding: 0 11px; outline: 0; }.login-card input:focus { border-color: var(--mint); box-shadow: 0 0 0 3px rgba(50,184,154,.13); }.login-card .primary-action { justify-content: center; }.login-error { min-height: 16px; color: var(--red) !important; }
.onboarding-topbar { display: flex; min-height: 68px; align-items: center; justify-content: space-between; padding: 0 max(20px, calc((100vw - 1050px) / 2)); border-bottom: 1px solid rgba(228,233,239,.9); background: #fff; }
.onboarding-topbar .brand-lockup { padding: 0; color: var(--navy); text-decoration: none; }
.onboarding-topbar .brand-lockup span { color: var(--mint); }
.secure-copy { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: 12px; font-weight: 600; }
.secure-copy svg { width: 16px; color: var(--mint); }
.onboarding-main { width: min(900px, calc(100% - 32px)); margin: 0 auto; padding: 49px 0 60px; }
.onboarding-heading { max-width: 590px; margin-bottom: 27px; }
.onboarding-heading h1 { margin-bottom: 9px; font-size: 34px; }
.onboarding-heading p:last-child { margin-bottom: 0; color: var(--muted); font-size: 15px; line-height: 1.5; }
.form-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 0 0 18px; padding: 0; list-style: none; }
.form-steps li { display: flex; align-items: center; gap: 8px; padding: 9px; border: 1px solid var(--line); border-radius: 7px; background: #fff; color: var(--muted); }
.form-steps li > span { display: grid; width: 23px; height: 23px; flex: 0 0 auto; place-items: center; border-radius: 50%; background: #edf1f5; color: #768599; font-size: 11px; font-weight: 800; }
.form-steps strong, .form-steps small { display: block; font-size: 11px; line-height: 1.15; }
.form-steps small { margin-top: 2px; color: inherit; font-size: 10px; }
.form-steps .active { border-color: #9fd8ca; color: #176d5a; background: #fbfffe; }
.form-steps .active > span, .form-steps .done > span { background: var(--mint); color: #fff; }
.form-step { display: none; padding: 28px; border: 1px solid var(--line); border-radius: 8px; background: #fff; box-shadow: 0 4px 14px rgba(19,34,56,.025); }
.form-step.active { display: block; }
.form-section-head { padding-bottom: 19px; border-bottom: 1px solid var(--line); margin-bottom: 20px; }
.form-section-head.compact { margin-top: 26px; margin-bottom: 17px; padding-bottom: 10px; }
.form-section-head h2, .form-section-head h3 { margin: 0; font-family: Manrope, sans-serif; }
.form-section-head h2 { font-size: 21px; }
.form-section-head h3 { font-size: 15px; }
.form-section-head p { margin: 5px 0 0; color: var(--muted); font-size: 13px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 17px 15px; }
.form-grid label { display: grid; gap: 7px; color: #3e4d61; font-size: 12px; font-weight: 700; }
.form-grid input { width: 100%; min-width: 0; height: 40px; border: 1px solid #ccd6e1; border-radius: 6px; padding: 0 11px; color: var(--ink); background: #fff; outline: 0; font-size: 14px; }
.form-grid input:focus { border-color: var(--mint); box-shadow: 0 0 0 3px rgba(50,184,154,.13); }
.form-step.was-validated .form-grid input:invalid { border-color: #d66a6a; }
.form-grid .span-2 { grid-column: span 2; }
.optional { color: var(--muted); font-weight: 500; }
.upload-zone { display: grid; min-height: 205px; place-content: center; justify-items: center; gap: 8px; border: 1px dashed #a8bac8; border-radius: 8px; color: var(--muted); background: #fbfcfe; text-align: center; transition: .15s ease; }
.upload-zone:hover, .upload-zone.dragover { border-color: var(--mint); background: #f1fcf9; color: #217d69; }
.upload-zone svg { width: 31px; height: 31px; color: var(--mint); }
.upload-zone strong { color: var(--ink); font-size: 14px; }
.upload-zone span, .upload-help { font-size: 12px; }
.upload-help { margin-top: 10px; color: var(--muted); }
.file-list { display: grid; gap: 7px; margin-top: 15px; }
.file-row { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border: 1px solid var(--line); border-radius: 6px; background: #fafcfd; }
.file-row > svg { width: 17px; color: var(--blue); }
.file-row span { min-width: 0; flex: 1; }
.file-row strong, .file-row small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file-row strong { font-size: 12px; }.file-row small { margin-top: 2px; color: var(--muted); font-size: 11px; }
.file-row button { display: grid; width: 28px; height: 28px; place-items: center; border: 0; border-radius: 5px; color: var(--muted); background: transparent; }.file-row button:hover { color: var(--red); background: var(--red-soft); }.file-row button svg { width: 15px; }
.review-box { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; overflow: hidden; border: 1px solid var(--line); border-radius: 7px; background: var(--line); }.review-box > div { padding: 13px; background: #fff; }.review-box span, .review-box strong { display: block; }.review-box span { color: var(--muted); font-size: 10px; text-transform: uppercase; }.review-box strong { margin-top: 5px; font-size: 13px; }
.confirm-control { display: flex; align-items: flex-start; gap: 10px; margin-top: 20px; color: #435267; font-size: 13px; line-height: 1.4; }.confirm-control input { width: 16px; height: 16px; margin-top: 1px; accent-color: var(--mint); }
.form-footer { display: flex; justify-content: space-between; padding-top: 17px; }.secondary-action, .primary-action { display: inline-flex; min-height: 40px; align-items: center; gap: 7px; border-radius: 7px; padding: 0 13px; font-size: 13px; font-weight: 700; }.secondary-action { border: 1px solid var(--line); color: var(--ink); background: #fff; }.primary-action { border: 1px solid var(--navy); color: #fff; background: var(--navy); }.primary-action:hover { background: var(--navy-2); }.secondary-action:disabled, .primary-action:disabled { cursor: not-allowed; opacity: .55; }.form-footer svg { width: 16px; }.completion-state { display: grid; min-height: 380px; place-content: center; justify-items: center; text-align: center; }.completion-state svg { width: 45px; height: 45px; color: var(--mint); }.completion-state h2 { margin: 15px 0 7px; font-family: Manrope, sans-serif; }.completion-state p { color: var(--muted); }

@media (max-width: 1100px) { .kpi-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } .dashboard-grid { grid-template-columns: 1fr; } .pipeline-board { grid-template-columns: repeat(2, minmax(0, 1fr)); } .contact-grid, .prospect-grid { grid-template-columns: 1fr; } .prospect-toolbar { align-items: stretch; flex-direction: column; } .prospect-toolbar > label { min-width: 0; } .prospect-toolbar > div { flex-wrap: wrap; } .calendar-day { min-height: 110px; padding: 6px; } }
@media (min-width: 781px) and (max-width: 960px) {
  .today-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .today-stat { min-width: 0; }
  .today-stat span { min-width: 0; }
  .today-stat strong { flex: 0 0 auto; }
}
@media (max-width: 780px) {
  body { overflow-x: hidden; padding-bottom: calc(70px + env(safe-area-inset-bottom)); }
  .app-shell { display: block; min-height: 100dvh; }
  .sidebar { position: fixed; z-index: 30; inset: auto 0 0; width: auto; height: calc(64px + env(safe-area-inset-bottom)); padding: 0 6px env(safe-area-inset-bottom); transform: none; border-top: 1px solid rgba(255,255,255,.15); box-shadow: 0 -8px 28px rgba(7,23,42,.18); }
  .brand-lockup, .sidebar-footer, .mobile-menu { display: none; }
  .nav-list { height: 64px; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; }
  .nav-button { position: relative; min-width: 0; min-height: 56px; flex-direction: column; justify-content: center; gap: 3px; border: 0; border-top: 3px solid transparent; border-radius: 0; padding: 5px 2px 3px; font-size: 9px; text-align: center; }
  .nav-button.active { border-top-color: var(--mint); border-left-color: transparent; background: rgba(255,255,255,.1); }
  .nav-button svg { width: 19px; height: 19px; }
  .nav-count { position: absolute; top: 5px; left: calc(50% + 7px); min-width: 16px; margin: 0; padding: 1px 4px; background: var(--amber); color: var(--navy); font-size: 8px; }
  .topbar { position: sticky; z-index: 20; top: 0; min-height: 58px; padding: 0 12px; background: rgba(255,255,255,.94); }
  .mobile-brand-mark { display: block; width: 32px; height: 32px; flex: 0 0 auto; overflow: hidden; border-radius: 8px; background: #effbf8; }
  .mobile-brand-mark img { width: 100%; height: 100%; padding: 3px; object-fit: contain; }
  .breadcrumb { min-width: 0; flex: 1; gap: 0; font-size: 18px; }
  .environment-badge { display: none; }
  .command-button { width: 44px; min-height: 44px; padding: 0; border-radius: 12px; }
  .command-button span { display: none; }
  .content { padding: 14px 12px 24px; }
  .view-header { display: none; }
  .today-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-bottom: 12px; }
  .today-stat { min-height: 70px; padding: 11px 12px; }
  .today-stat span { align-items: flex-start; flex-direction: column; gap: 4px; font-size: 10px; }
  .today-stat strong { font-size: 27px; }
  .daily-grid { grid-template-columns: 1fr; gap: 10px; }
  .daily-block.meetings-today { grid-column: auto; }
  .daily-row { min-height: 66px; padding: 10px 12px; }
  .summary-layout { display: flex; flex-direction: column; gap: 14px; }
  .dashboard-grid { order: 1; gap: 12px; }
  .kpi-grid { order: 2; grid-template-columns: 1fr 1fr; gap: 8px; margin: 0; }
  .kpi { min-height: 88px; padding: 12px; box-shadow: none; }
  .kpi-header { font-size: 10px; }
  .kpi-icon { display: none; }
  .kpi-value { margin: 9px 0 2px; font-size: 24px; }
  .kpi-detail { display: block; overflow: hidden; font-size: 10px; line-height: 1.2; text-overflow: ellipsis; white-space: nowrap; }
  .surface-head { padding: 14px 14px 11px; }
  .surface-head h2 { font-size: 15px; }
  .action-row { min-height: 58px; padding: 11px 13px; }
  .action-row strong { font-size: 12px; }
  .action-icon { width: 26px; height: 26px; }
  .pipeline-header { align-items: center; margin: 0 0 12px; }
  .pipeline-header p { font-size: 12px; }
  .pipeline-header #openNewDeal { display: none; }
  .pipeline-board { display: none; }
  .pipeline-mobile-tabs { display: flex; gap: 7px; margin: 0 -12px 12px; padding: 0 12px 3px; overflow-x: auto; scrollbar-width: none; }
  .pipeline-mobile-tabs::-webkit-scrollbar { display: none; }
  .pipeline-mobile-tab { display: inline-flex; min-width: max-content; min-height: 42px; align-items: center; gap: 7px; border: 1px solid var(--line); border-radius: 999px; padding: 0 12px; color: var(--muted); background: #fff; font-size: 11px; font-weight: 700; }
  .pipeline-mobile-tab.active { border-color: var(--navy); color: #fff; background: var(--navy); }
  .pipeline-mobile-tab b { display: grid; min-width: 19px; height: 19px; place-items: center; border-radius: 50%; background: #edf1f5; color: var(--ink); font-size: 9px; }
  .pipeline-mobile-list { display: grid; gap: 9px; }
  .pipeline-mobile-list .deal-card { min-height: 92px; padding: 14px; }
  .pipeline-mobile-list .empty-state { min-height: 190px; border: 1px dashed #ccd6e1; border-radius: var(--radius); background: #fff; }
  .operations-archive { margin-top: 12px; }
  .calendar-shell { display: none; }
  .mobile-agenda { display: grid; gap: 10px; }
  .mobile-section-label { display: flex; align-items: center; justify-content: space-between; color: var(--muted); font-size: 11px; }
  .mobile-section-label span { display: inline-flex; align-items: center; gap: 6px; color: #237d69; font-weight: 700; }
  .mobile-section-label svg { width: 13px; }
  .mobile-agenda-card { overflow: hidden; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
  .mobile-agenda-card > button { display: grid; width: 100%; min-height: 72px; grid-template-columns: 58px minmax(0, 1fr) 18px; align-items: center; gap: 12px; border: 0; padding: 11px 13px; color: var(--ink); background: transparent; text-align: left; }
  .mobile-agenda-card > button > svg { width: 17px; color: var(--muted); }
  .mobile-agenda-date { display: grid; align-content: center; align-self: stretch; border-right: 1px solid var(--line); }
  .mobile-agenda-date strong, .mobile-agenda-date small, .mobile-agenda-copy strong, .mobile-agenda-copy small { display: block; }
  .mobile-agenda-date strong { font-size: 11px; text-transform: capitalize; }
  .mobile-agenda-date small, .mobile-agenda-copy small { margin-top: 4px; color: var(--muted); font-size: 10px; }
  .mobile-agenda-copy strong { font-size: 13px; }
  .mobile-agenda-card.completed { border-color: #bfe2d8; background: #fbfffe; }
  .meeting-status { display: flex !important; align-items: center; gap: 4px; color: #237d69 !important; font-size: 9px !important; font-weight: 800; line-height: 1.3; }
  .meeting-status svg { width: 12px; height: 12px; flex: 0 0 auto; }
  .meeting-card-actions { display: flex; border-top: 1px solid var(--line); }
  .meeting-card-actions > * { display: flex; min-width: 0; min-height: 46px; flex: 1; align-items: center; justify-content: center; gap: 7px; border: 0; padding: 0 10px; font-size: 10px; font-weight: 800; text-align: center; text-decoration: none; }
  .meeting-card-actions a { color: #176d5a; background: #f1fbf8; }
  .meeting-card-actions button { border-left: 1px solid var(--line); color: #fff; background: var(--navy); }
  .meeting-card-actions > span { color: #237d69; background: #edf9f5; }
  .meeting-card-actions svg { width: 15px; height: 15px; flex: 0 0 auto; }
  .completed-meetings { display: grid; gap: 10px; margin-top: 3px; }
  .completed-meetings summary { display: flex; min-height: 44px; align-items: center; justify-content: space-between; border-top: 1px solid var(--line); padding: 8px 2px 0; color: var(--muted); font-size: 11px; font-weight: 800; cursor: pointer; list-style: none; }
  .completed-meetings summary::-webkit-details-marker { display: none; }
  .completed-meetings summary span { display: grid; min-width: 21px; height: 21px; place-items: center; border-radius: 999px; color: #237d69; background: #dff4ed; font-size: 9px; }
  .completed-meetings > div { display: grid; gap: 10px; }
  .contact-overview { grid-template-columns: repeat(3, 1fr); gap: 7px; margin-bottom: 10px; }
  .prospect-toolbar { position: sticky; z-index: 5; top: 66px; align-items: stretch; flex-direction: column; gap: 8px; margin: 0 -3px; padding: 9px; }
  .prospect-toolbar > label { min-width: 0; }
  .prospect-toolbar > div { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .prospect-toolbar > div button { min-width: max-content; min-height: 40px; }
  .queue-heading { align-items: flex-start; flex-direction: column; gap: 4px; margin-top: 11px; }
  .prospect-grid { grid-template-columns: 1fr; gap: 10px; }
  .prospect-card > header { padding: 12px; }
  .prospect-card > header h2 { font-size: 15px; }
  .prospect-reason { min-height: 0; padding: 10px 12px; }
  .prospect-channels { min-height: 50px; }
  .prospect-channels a { min-height: 50px; gap: 0; }
  .prospect-channels a span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .prospect-channels svg { width: 19px; height: 19px; }
  .prospect-card > footer { grid-template-columns: .8fr 1.2fr; padding: 8px; }
  .prospect-card > footer button { min-height: 48px; padding: 0 8px; font-size: 11px; }
  .followup-group { margin-bottom: 16px; }
  .prospect-detail { gap: 14px; padding: 14px 14px calc(18px + env(safe-area-inset-bottom)); }
  .prospect-detail-actions { bottom: calc(-18px - env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom); }
  .quick-result-shell { gap: 13px; padding: 14px 14px calc(18px + env(safe-area-inset-bottom)); }
  .quick-result-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .quick-result-grid button { min-height: 72px; }
  .source-performance > summary { align-items: flex-start; flex-direction: column; gap: 3px; }
  .source-performance-head, .source-performance-row { grid-template-columns: minmax(100px, 1fr) repeat(3, 48px); gap: 4px; padding-inline: 10px; }
  .contact-overview > div { min-width: 0; padding: 9px 8px; text-align: center; }
  .contact-overview span { overflow: hidden; font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }
  .contact-overview strong { font-size: 20px; }
  .contact-toolbar { position: sticky; z-index: 5; top: 66px; align-items: stretch; flex-direction: column; gap: 8px; margin: 0 -3px; padding: 9px; }
  .contact-search { min-width: 0; }
  .contact-search input { height: 40px; font-size: 12px; }
  .contact-filters { flex-wrap: nowrap; gap: 5px; overflow-x: auto; scrollbar-width: none; }
  .contact-filters button { min-width: max-content; min-height: 38px; }
  .contact-result-count { margin-top: 11px; }
  .contact-grid { grid-template-columns: 1fr; gap: 10px; }
  .contact-card-head { grid-template-columns: 38px minmax(0, 1fr); gap: 9px; padding: 12px; }
  .contact-avatar { width: 38px; height: 38px; }
  .principal-badge, .contact-facts, .data-quality { display: none; }
  .contact-actions { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .contact-action { min-height: 48px; gap: 0; }
  .contact-action span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .contact-action svg { width: 19px; height: 19px; }
  .contact-important { grid-template-columns: .85fr 1.15fr; }
  .contact-important > div { padding: 11px 12px; }
  .contact-card footer { min-height: 46px; justify-content: flex-end; padding: 0; }
  .open-contact-detail { width: 100%; min-height: 46px; justify-content: center; padding: 0 12px; }
  .client-process-list { gap: 10px; }
  .client-process-head { gap: 8px; padding: 13px; }
  .client-process-head > div > strong { font-size: 14px; }
  .client-process-head .state-badge { max-width: 105px; }
  .client-process-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .client-process-grid > div { padding: 11px 8px; }
  .client-process-grid strong { font-size: 10px; }
  .client-process-card footer { padding: 10px 12px; }
  .detail-panel { z-index: 40; width: 100%; height: 100dvh; }
  .detail-header { position: sticky; z-index: 2; top: 0; padding: 16px 14px 13px; background: #fff; }
  .detail-scroll { padding: 14px 14px calc(24px + env(safe-area-inset-bottom)); }
  .transition-button { min-height: 44px; }
  .modal-backdrop { align-items: flex-end; padding: 0; }
  .modal-panel { width: 100%; max-height: 92dvh; border-radius: 16px 16px 0 0; padding-bottom: env(safe-area-inset-bottom); }
}
@media (max-width: 940px) { .proposal-hero, .proposal-layout { grid-template-columns: 1fr; }.proposal-decision { position: static; }.proposal-outcome, .proposal-commercial { grid-template-columns: 1fr; }.proposal-outcome div { min-height: 0; } }
@media (max-width: 760px) { .proposal-topbar { padding: 0 20px; }.proposal-main { width: min(100% - 32px, 1080px); padding: 36px 0 60px; }.proposal-hero { gap: 22px; margin-bottom: 28px; }.proposal-hero h1 { font-size: 36px; }.proposal-hero-copy > p:last-child { font-size: 15px; }.proposal-details { padding: 21px 17px; }.proposal-decision { padding: 22px 18px; }.proposal-section-head { align-items: flex-start; flex-direction: column; gap: 14px; }.proposal-pdf-link { white-space: normal; }.proposal-private { font-size: 10px; }.proposal-brand span { display: none; }.proposal-price strong { font-size: 38px; }.contract-summary { grid-template-columns: 1fr; } }
@media (max-width: 620px) { .onboarding-topbar { padding: 0 16px; }.onboarding-main { width: min(100% - 24px, 900px); padding-top: 31px; }.onboarding-heading h1 { font-size: 28px; }.form-steps { grid-template-columns: 1fr 1fr; }.form-step { padding: 20px 16px; }.form-grid { grid-template-columns: 1fr; }.form-grid .span-2 { grid-column: span 1; }.secure-copy { font-size: 11px; }.review-box { grid-template-columns: 1fr; } }
@media (max-width: 700px) { .login-shell { grid-template-columns: 1fr; gap: 34px; padding: 42px 0; }.login-brand h1 { font-size: 37px; }.login-brand img { width: 58px; height: 58px; margin-bottom: 17px; } }
@media (max-width: 430px) { .detail-grid { grid-template-columns: 1fr 1fr; } .transition-actions { grid-template-columns: 1fr; } }

/* ── Propuesta pública v2: cotización clara editorial (namespace pp-) ── */
.pp-body { display: flex; min-width: 0; min-height: 100vh; overflow-x: hidden; flex-direction: column; color: #313d4b; background: linear-gradient(180deg, #eef3ef 0%, #f5f6f3 380px, #f5f6f3 100%); font-family: Inter, Arial, sans-serif; -webkit-font-smoothing: antialiased; }
.pp-topbar { position: sticky; top: 0; z-index: 10; display: flex; min-height: 70px; align-items: center; justify-content: space-between; gap: 14px; padding: 0 max(20px, calc((100vw - 1140px) / 2)); border-bottom: 1px solid #e2e7e2; background: rgba(255,255,255,.92); backdrop-filter: blur(14px); }
.pp-brand { display: inline-flex; align-items: center; gap: 11px; color: #101b2a; text-decoration: none; }
.pp-brand-logo { width: 38px; height: 38px; object-fit: contain; }
.pp-brand-name { display: grid; gap: 1px; font-family: "Space Grotesk", Inter, sans-serif; font-size: 15px; font-weight: 700; letter-spacing: -.01em; }
.pp-brand-name small { color: #6d7a86; font-family: Inter, sans-serif; font-size: 10.5px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.pp-topbar-meta { display: inline-flex; align-items: center; gap: 8px; }
.pp-chip { border: 1px solid #dbe2dc; border-radius: 999px; padding: 6px 12px; color: #5c6a76; background: #fff; font-size: 10.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
.pp-chip-cot { border-color: #bfe3d6; color: #0c7a63; background: #eefaf4; }
.pp-main { display: grid; width: min(1140px, 100% - 40px); min-width: 0; flex: 1; grid-template-columns: minmax(0, 1fr) minmax(330px, 372px); align-items: start; gap: clamp(22px, 3.5vw, 42px); margin: 0 auto; padding: 44px 0 72px; }
.pp-doc { min-width: 0; border: 1px solid #e3e8e2; border-radius: 18px; padding: clamp(26px, 4.5vw, 54px); background: #fff; box-shadow: 0 1px 2px rgba(20,30,25,.04), 0 30px 70px -42px rgba(20,30,25,.25); }
.pp-kicker { margin: 0; color: #0c7a63; font-size: 11.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.pp-hero-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.pp-cot { color: #64707c; font-family: "Space Grotesk", Inter, sans-serif; font-size: 13px; font-weight: 600; white-space: nowrap; }
.pp-hero h1 { margin: 0 0 14px; overflow-wrap: anywhere; color: #101b2a; font-family: "Space Grotesk", Inter, sans-serif; font-size: clamp(30px, 4vw, 44px); font-weight: 700; letter-spacing: -.02em; line-height: 1.08; }
.pp-lede { max-width: 62ch; margin: 0 0 30px; color: #46525f; font-size: 16.5px; line-height: 1.6; }
.pp-meta { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin: 0; padding: 20px 0 0; border-top: 1px solid #e7ebe6; }
.pp-meta div { min-width: 0; }
.pp-meta dt { margin-bottom: 5px; color: #7b8792; font-size: 10.5px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; }
.pp-meta dd { overflow: hidden; overflow-wrap: anywhere; margin: 0; color: #16212e; font-size: 14px; font-weight: 600; line-height: 1.35; text-overflow: ellipsis; }
.pp-section { margin-top: 40px; padding-top: 34px; border-top: 1px solid #e7ebe6; }
.pp-section h2 { display: flex; align-items: baseline; gap: 12px; margin: 0 0 12px; color: #101b2a; font-family: "Space Grotesk", Inter, sans-serif; font-size: 20px; font-weight: 700; letter-spacing: -.01em; }
.pp-section h2 span { color: #17ab8c; font-size: 12.5px; font-weight: 700; letter-spacing: .05em; }
.pp-section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; }
.pp-count { color: #0c7a63; font-size: 12px; font-weight: 700; white-space: nowrap; }
.pp-section-lede { max-width: 68ch; margin: 0 0 22px; color: #55616d; font-size: 14px; line-height: 1.6; }
.pp-phases { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.pp-phases div { border-top: 2px solid #101b2a; padding-top: 13px; }
.pp-phases strong { display: block; margin-bottom: 7px; color: #101b2a; font-family: "Space Grotesk", Inter, sans-serif; font-size: 15px; font-weight: 700; }
.pp-phases p { margin: 0; color: #5b6773; font-size: 13px; line-height: 1.55; }
.pp-check { display: inline-grid; width: 19px; height: 19px; flex: 0 0 auto; place-items: center; border-radius: 50%; color: #0c7a63; background: #dcf3ea; font-size: 11px; font-weight: 800; }
.pp-check::before { content: "✓"; }
.pp-scope { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; }
.pp-scope li { display: flex; gap: 11px; align-items: flex-start; border: 1px solid #e2eae3; border-radius: 11px; padding: 13px 15px; background: #fafcfa; }
.pp-scope li .pp-check { margin-top: 1px; }
.pp-scope p { margin: 0; color: #313d4b; font-size: 13.5px; font-weight: 500; line-height: 1.5; }
.pp-terms { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 26px; }
.pp-terms div { border-left: 2px solid #d7e6dd; padding-left: 14px; }
.pp-terms strong { display: block; margin-bottom: 5px; color: #101b2a; font-size: 13.5px; font-weight: 700; }
.pp-terms p { margin: 0; color: #5b6773; font-size: 13px; line-height: 1.55; }
.pp-steps { display: grid; gap: 0; margin: 6px 0 0; padding: 0; list-style: none; }
.pp-steps li { position: relative; display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 14px; padding-bottom: 22px; }
.pp-steps li:last-child { padding-bottom: 0; }
.pp-steps li:not(:last-child)::before { position: absolute; top: 32px; bottom: 2px; left: 15.5px; width: 1px; background: #dbe4dc; content: ""; }
.pp-step-num { display: grid; width: 32px; height: 32px; place-items: center; border: 1px solid #bfe3d6; border-radius: 50%; color: #0c7a63; background: #eefaf4; font-family: "Space Grotesk", Inter, sans-serif; font-size: 13px; font-weight: 700; }
.pp-steps strong { display: block; margin: 6px 0 4px; color: #101b2a; font-size: 14px; font-weight: 700; }
.pp-steps p { margin: 0; color: #5b6773; font-size: 13px; line-height: 1.55; }
.pp-side { position: sticky; top: 90px; min-width: 0; }
.pp-card { border: 1px solid #e3e8e2; border-radius: 16px; padding: 24px; background: #fff; box-shadow: 0 1px 2px rgba(20,30,25,.04), 0 26px 60px -38px rgba(20,30,25,.28); }
.pp-card-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.pp-pdf-link { color: #0c7a63; font-size: 12px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.pp-pdf-link:hover { text-decoration: underline; }
.pp-total { display: grid; gap: 4px; padding: 18px 0 20px; border-top: 1px solid #e7ebe6; }
.pp-total span { color: #7b8792; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.pp-total strong { color: #101b2a; font-family: "Space Grotesk", Inter, sans-serif; font-size: clamp(34px, 3vw, 40px); font-weight: 700; letter-spacing: -.02em; line-height: 1.05; }
.pp-total em { color: #0c7a63; font-size: 12.5px; font-style: normal; font-weight: 700; }
.pp-breakdown { margin: 0 0 14px; border-top: 1px solid #e7ebe6; }
.pp-breakdown div { display: flex; justify-content: space-between; gap: 18px; padding: 10px 0; border-bottom: 1px solid #eef1ec; }
.pp-breakdown dt { color: #64707c; font-size: 12.5px; }
.pp-breakdown dd { margin: 0; color: #1c2732; font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; }
.pp-iva-note { margin: 0 0 12px; border: 1px solid #d5ebe1; border-radius: 10px; padding: 11px 13px; color: #12604f; background: #effaf5; font-size: 12px; line-height: 1.5; }
.pp-validity { margin: 0; color: #7b8792; font-size: 12px; }
.pp-countdown { display: grid; gap: 3px; border: 1px solid #d5ebe1; border-radius: 10px; padding: 12px 14px; background: #effaf5; }
.pp-countdown strong { color: #0c7a63; font-family: "Space Grotesk", Inter, sans-serif; font-size: 14.5px; font-weight: 700; }
.pp-countdown span { color: #55616d; font-size: 12px; line-height: 1.5; }
.pp-countdown-warn { border-color: #f0ddb9; background: #fdf7ea; }
.pp-countdown-warn strong { color: #9a6410; }
.pp-countdown-over { border-color: #efcdcd; background: #fdf1f1; }
.pp-countdown-over strong { color: #b3423d; }
.pp-accept { display: grid; gap: 13px; margin-top: 20px; padding-top: 20px; border-top: 1px solid #e7ebe6; }
.pp-accept h2 { margin: 0; color: #101b2a; font-family: "Space Grotesk", Inter, sans-serif; font-size: 17px; font-weight: 700; }
.pp-accept > p { margin: 0; color: #64707c; font-size: 12.5px; line-height: 1.5; }
.pp-accept label { display: grid; gap: 6px; color: #313d4b; font-size: 12px; font-weight: 700; }
.pp-accept input:not([type="checkbox"]) { width: 100%; height: 44px; border: 1px solid #d3dbd4; border-radius: 9px; padding: 0 12px; color: #101b2a; background: #fff; font-family: inherit; font-size: 14px; outline: 0; transition: border-color .15s, box-shadow .15s; }
.pp-accept input:not([type="checkbox"]):focus { border-color: #17ab8c; box-shadow: 0 0 0 3px rgba(23,171,140,.16); }
.pp-consent { display: flex !important; align-items: flex-start; gap: 10px; color: #46525f !important; font-size: 12.5px !important; font-weight: 500 !important; line-height: 1.5; }
.pp-consent input[type="checkbox"] { width: 16px; height: 16px; flex: 0 0 auto; margin: 2px 0 0; accent-color: #0c7a63; }
.pp-action { display: inline-flex; width: 100%; min-height: 48px; align-items: center; justify-content: center; border: 0; border-radius: 10px; padding: 0 20px; color: #fff; background: #101b2a; font-family: inherit; font-size: 14px; font-weight: 700; text-decoration: none; cursor: pointer; transition: background .15s; }
.pp-action:hover { background: #1e2e45; }
.pp-action:disabled { cursor: wait; opacity: .55; }
.pp-reject { min-height: 44px; border: 1px solid #e2b7b4; border-radius: 10px; color: #a53732; background: #fff; font-family: inherit; font-size: 13px; font-weight: 700; cursor: pointer; transition: border-color .15s, background .15s; }
.pp-reject:hover { border-color: #c96d66; background: #fdf4f3; }
.pp-reject:disabled { cursor: wait; opacity: .55; }
.pp-reject-note { color: #7b858f; font-size: 11px; line-height: 1.45; text-align: center; }
.pp-accepted, .pp-rejected, .pp-expired-action { display: grid; gap: 10px; margin-top: 20px; padding-top: 20px; border-top: 1px solid #e7ebe6; }
.pp-accepted strong, .pp-rejected strong, .pp-expired-action strong { display: flex; align-items: center; gap: 9px; color: #0c7a63; font-family: "Space Grotesk", Inter, sans-serif; font-size: 16px; }
.pp-rejected strong { color: #a53732; }
.pp-expired-action strong { color: #b3423d; }
.pp-accepted > span, .pp-rejected > span, .pp-expired-action > span { color: #46525f; font-size: 13px; line-height: 1.55; }
.pp-secure { margin: 14px 0 0; color: #94a0aa; font-size: 11px; line-height: 1.5; text-align: center; }
.pp-footer { border-top: 1px solid #e2e7e2; padding: 22px 20px 30px; background: #fff; text-align: center; }
.pp-footer p { margin: 0; color: #7b8792; font-size: 12px; line-height: 1.7; }
.pp-footer strong { color: #313d4b; }
.pp-unavailable { grid-column: 1 / -1; max-width: 520px; margin: 70px auto; text-align: center; }
.pp-unavailable h1 { margin: 12px 0; color: #101b2a; font-family: "Space Grotesk", Inter, sans-serif; font-size: 30px; letter-spacing: -.01em; }
.pp-unavailable p:last-child { margin: 0; color: #55616d; line-height: 1.6; }
@media (max-width: 980px) {
  .pp-main { grid-template-columns: 1fr; }
  .pp-side { position: static; }
  .pp-phases { grid-template-columns: 1fr; gap: 16px; }
  .pp-meta { grid-template-columns: 1fr 1fr; gap: 16px; }
}
@media (max-width: 700px) {
  .pp-topbar { min-height: 62px; padding: 0 16px; }
  .pp-brand-name small { display: none; }
  .pp-chip-cot { display: none; }
  .pp-chip { padding: 5px 10px; font-size: 10px; }
  .pp-main { width: min(100% - 28px, 1080px); gap: 18px; padding: 26px 0 52px; }
  .pp-hero-head { flex-direction: column; gap: 6px; }
  .pp-lede { font-size: 15px; }
  .pp-scope, .pp-terms { grid-template-columns: 1fr; }
  .pp-section { margin-top: 32px; padding-top: 26px; }
  .pp-card { padding: 20px 17px; }
}
@media (max-width: 360px) {
  .pp-topbar { padding: 0 12px; }
  .pp-brand-name { display: none; }
  .pp-main { width: calc(100% - 20px); padding-top: 18px; }
  .pp-doc { border-radius: 14px; padding: 22px 16px; }
  .pp-meta { grid-template-columns: 1fr; gap: 12px; }
  .pp-meta div + div { padding-top: 12px; border-top: 1px solid #eef1ec; }
  .pp-section-head { align-items: flex-start; flex-direction: column; gap: 7px; }
  .pp-card { padding: 19px 15px; }
}
@media print {
  .pp-body { background: #fff; }
  .pp-topbar { position: static; }
  .pp-doc, .pp-card { border: 0; box-shadow: none; padding: 0; }
  .pp-side { position: static; }
  .pp-accept, .pp-secure { display: none; }
}
