: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; }
.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: minmax(0, 1.65fr) minmax(280px, .8fr); gap: 16px; }
.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; }
.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(5, minmax(225px, 1fr)); gap: 12px; overflow-x: auto; padding-bottom: 10px; }
.pipeline-column { min-height: 540px; 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; }
.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); }
.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 p { margin: 5px 0 0; white-space: pre-wrap; color: var(--ink); line-height: 1.45; }
.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); }
.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; }
.modal-form label { display: grid; gap: 7px; color: #3e4d61; font-size: 12px; font-weight: 700; }
.modal-form input, .modal-form select, .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 input:focus, .modal-form select: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; }
.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: 20; 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: #eaf2f7; background: #030712; font-family: Inter, Arial, sans-serif; }
.proposal-topbar { display: flex; min-height: 72px; align-items: center; justify-content: space-between; padding: 0 max(20px, calc((100vw - 1120px) / 2)); border-bottom: 1px solid rgba(148,163,184,.16); background: rgba(3,7,18,.92); }
.proposal-brand { display: inline-flex; align-items: center; gap: 10px; color: #f8fafc; text-decoration: none; font-family: "Space Grotesk", Inter, sans-serif; font-size: 14px; font-weight: 600; }
.proposal-brand-logo { width: 34px; height: 34px; border-radius: 6px; object-fit: cover; background: #fff; }
.proposal-private { color: #94a3b8; font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.proposal-main { width: min(1080px, calc(100% - 40px)); margin: 0 auto; padding: 68px 0 84px; }
.proposal-hero { max-width: 720px; margin-bottom: 42px; }
.proposal-kicker, .proposal-section-label { margin: 0 0 10px; color: #5eead4; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.proposal-hero h1, .proposal-details h2, .proposal-decision h2, .proposal-unavailable h1 { color: #f8fafc; font-family: "Space Grotesk", Inter, sans-serif; letter-spacing: 0; }
.proposal-hero h1 { max-width: 760px; margin-bottom: 13px; font-size: clamp(32px, 4vw, 48px); line-height: 1.08; }
.proposal-hero > p:last-child { margin-bottom: 0; color: #a8b7c9; font-size: 15px; line-height: 1.6; }
.proposal-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(330px, .78fr); align-items: start; gap: clamp(32px, 6vw, 76px); }
.proposal-details { min-width: 0; padding: 3px 0 0; }
.proposal-section-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; padding-bottom: 20px; border-bottom: 1px solid rgba(148,163,184,.2); }
.proposal-section-head .proposal-section-label { margin-bottom: 7px; }
.proposal-details h2, .proposal-decision h2 { margin: 0; font-size: 22px; line-height: 1.2; }
.proposal-pdf-link { flex: 0 0 auto; color: #67e8f9; font-size: 12px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.proposal-pdf-link:hover { color: #a5f3fc; }.proposal-pdf-link span { margin-left: 3px; font-size: 15px; }
.proposal-scope { display: grid; gap: 0; margin: 8px 0 0; padding: 0; list-style: none; color: #d7e0ea; }
.proposal-scope li { position: relative; padding: 15px 0 15px 23px; border-bottom: 1px solid rgba(148,163,184,.14); font-size: 14px; line-height: 1.5; }
.proposal-scope li::before { position: absolute; top: 23px; left: 1px; width: 8px; height: 8px; border: 1px solid #5eead4; border-radius: 50%; content: ""; }
.proposal-terms { display: flex; gap: 10px; margin-top: 25px; color: #94a3b8; font-size: 12px; line-height: 1.55; }.proposal-terms p { margin: 0; }.proposal-term-mark { width: 8px; height: 8px; flex: 0 0 auto; margin-top: 5px; border-radius: 50%; background: #06b6d4; }
.proposal-decision { padding: 28px; border: 1px solid rgba(94,234,212,.28); border-radius: 8px; background: #0b1120; box-shadow: 0 18px 44px rgba(0,0,0,.28); }
.proposal-decision > .proposal-section-label { margin-bottom: 7px; }.proposal-decision > h2 { margin-bottom: 23px; }
.proposal-totals { border-top: 1px solid rgba(148,163,184,.2); border-bottom: 1px solid rgba(148,163,184,.2); }.proposal-totals > div { display: flex; justify-content: space-between; gap: 20px; padding: 14px 0; border-bottom: 1px solid rgba(148,163,184,.14); }.proposal-totals > div:last-child { border-bottom: 0; }.proposal-totals span { color: #9bacc0; font-size: 12px; }.proposal-totals strong { color: #eaf2f7; font-size: 14px; }.proposal-totals .proposal-total { padding: 18px 0; }.proposal-totals .proposal-total span { color: #eaf2f7; font-weight: 700; }.proposal-totals .proposal-total strong { color: #5eead4; font-family: "Space Grotesk", Inter, sans-serif; font-size: 21px; }
.proposal-accept { display: grid; gap: 14px; margin-top: 27px; padding-top: 25px; border-top: 1px solid rgba(148,163,184,.2); }.proposal-accept h2 { margin: 0; color: #f8fafc; font-family: "Space Grotesk", Inter, sans-serif; font-size: 18px; }.proposal-accept p { margin: 0; color: #9bacc0; font-size: 12px; line-height: 1.5; }.proposal-accept label { display: grid; gap: 7px; color: #d8e3ed; font-size: 12px; font-weight: 600; }.proposal-accept input:not([type="checkbox"]) { width: 100%; height: 42px; border: 1px solid rgba(148,163,184,.38); border-radius: 6px; padding: 0 11px; color: #f8fafc; background: #111827; font-size: 14px; outline: 0; }.proposal-accept input:not([type="checkbox"]):focus { border-color: #5eead4; box-shadow: 0 0 0 3px rgba(94,234,212,.12); }.proposal-accept .confirm-control { display: flex; align-items: flex-start; gap: 9px; line-height: 1.45; }.proposal-accept input[type="checkbox"] { width: 15px; height: 15px; flex: 0 0 auto; margin: 1px 0 0; accent-color: #2dd4bf; }
.proposal-action { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; border: 0; border-radius: 100px; padding: 0 20px; color: #030712; background: linear-gradient(135deg, #5eead4 0%, #06b6d4 50%, #3b82f6 100%); font-size: 13px; font-weight: 800; text-decoration: none; }.proposal-action:hover { filter: brightness(1.08); }.proposal-action:disabled { cursor: wait; opacity: .55; filter: none; }
.proposal-accepted { display: grid; gap: 10px; margin-top: 27px; padding-top: 25px; border-top: 1px solid rgba(148,163,184,.2); color: #5eead4; }.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; }
.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; } }
@media (max-width: 780px) { .app-shell { display: block; } .sidebar { position: fixed; z-index: 30; width: 245px; transform: translateX(-105%); transition: transform .2s ease; } .sidebar.open { transform: translateX(0); } .topbar { padding: 0 15px; } .mobile-menu { display: inline-flex; } .breadcrumb { font-size: 17px; } .content { padding: 21px 15px 34px; } .command-button span { display: none; } .command-button { width: 38px; padding: 0; } .view-header { align-items: flex-start; flex-direction: column; gap: 8px; } .kpi-grid { grid-template-columns: 1fr 1fr; gap: 9px; } .kpi { min-height: 111px; padding: 13px; } .kpi-value { font-size: 25px; } .data-table { min-width: 700px; } .table-surface { overflow-x: auto; } .detail-panel { width: 100%; } }
@media (max-width: 760px) { .proposal-topbar { padding: 0 20px; }.proposal-main { width: min(100% - 32px, 1080px); padding: 43px 0 60px; }.proposal-hero { margin-bottom: 33px; }.proposal-layout { grid-template-columns: 1fr; gap: 35px; }.proposal-decision { padding: 23px 20px; }.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; } }
@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) { .environment-badge { display: none; } .kpi-grid { grid-template-columns: 1fr; } .pipeline-board { grid-template-columns: repeat(5, minmax(245px, 1fr)); } h1 { font-size: 25px; } }
