:root {
  --ink: #2b0b17;
  --ink-2: #481426;
  --muted: #7d6470;
  --line: #eedfe5;
  --line-strong: #dcc7d0;
  --surface: #ffffff;
  --surface-2: #fff9fb;
  --surface-3: #f9edf2;
  --navy: #330817;
  --navy-2: #570e2a;
  --green: #861b42;
  --green-2: #5d0a27;
  --green-soft: #f9e8ef;
  --gold: #af6f87;
  --gold-soft: #f7e9ee;
  --blue: #815167;
  --blue-soft: #f5eaf0;
  --red: #b72e50;
  --red-soft: #fdebf0;
  --gradient-brand: linear-gradient(135deg, #3a0719 0%, #761538 48%, #ae3f69 100%);
  --gradient-deep: linear-gradient(150deg, #250611 0%, #4b0b23 46%, #7c183b 100%);
  --shadow: 0 14px 38px rgba(83, 13, 40, .10);
  --radius: 16px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: radial-gradient(circle at 88% 2%, rgba(174, 63, 105, .08), transparent 26%), var(--surface-2); font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; }
button, input, select, textarea { font: inherit; }
button { color: inherit; }
.hidden { display: none !important; }

.auth-shell { min-height: 100vh; display: grid; grid-template-columns: 1.06fr .94fr; }
.auth-panel { min-height: 100vh; padding: 56px clamp(32px, 6vw, 100px); }
.brand-panel { color: #fff; background: radial-gradient(circle at 18% 8%, rgba(239, 143, 180, .32), transparent 32%), radial-gradient(circle at 88% 90%, rgba(158, 41, 87, .34), transparent 37%), var(--gradient-deep); display: flex; flex-direction: column; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-size: 12px; font-weight: 800; letter-spacing: .15em; text-decoration: none; color: var(--ink); }
.brand-light { color: #fff; }
.brand-mark { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 9px 9px 9px 3px; background: linear-gradient(145deg, #bd4f78, #741437); color: #fff; box-shadow: 0 8px 20px rgba(30, 0, 11, .24); font-family: Georgia, serif; font-size: 21px; font-weight: 700; letter-spacing: 0; }
.brand-copy { max-width: 650px; margin: 90px 0; }
.eyebrow { margin: 0 0 9px; color: var(--green); font-size: 11px; font-weight: 850; letter-spacing: .17em; text-transform: uppercase; }
.eyebrow.light { color: #f1b7cd; }
.brand-copy h1 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(44px, 5.2vw, 78px); font-weight: 500; line-height: .99; letter-spacing: -.04em; }
.brand-copy > p:last-child { max-width: 590px; margin: 30px 0 0; color: #f2dbe4; font-size: 18px; line-height: 1.7; }
.auth-proof { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; color: #e6bdcc; font-size: 13px; }
.proof-dot, .status-dot { width: 8px; height: 8px; border-radius: 50%; background: #ffb6d0; box-shadow: 0 0 0 4px rgba(255, 182, 208, .14); }
.proof-separator { opacity: .45; }
.form-panel { display: grid; place-items: center; background: #fff; }
.auth-card { width: min(440px, 100%); }
.mobile-brand { display: none; margin-bottom: 46px; }
.beta-badge { display: inline-flex; padding: 6px 9px; border: 1px solid #e2b8c9; border-radius: 999px; color: var(--green); background: var(--green-soft); font-size: 10px; font-weight: 850; letter-spacing: .13em; }
.auth-card h2 { margin: 20px 0 8px; font-family: Georgia, serif; font-size: 38px; font-weight: 500; letter-spacing: -.02em; }
.auth-card .lede { margin: 0 0 30px; color: var(--muted); line-height: 1.65; }
.auth-card form { display: grid; gap: 10px; }
label { color: var(--ink-2); font-size: 12px; font-weight: 750; }
input, select, textarea { width: 100%; border: 1px solid var(--line-strong); border-radius: 9px; background: #fff; color: var(--ink); outline: none; transition: border-color .18s, box-shadow .18s; }
input, select { height: 46px; padding: 0 13px; }
textarea { padding: 12px 13px; resize: vertical; min-height: 88px; }
input:focus, select:focus, textarea:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(134, 27, 66, .12); }
input::placeholder, textarea::placeholder { color: #aa909c; }
.button { min-height: 43px; border: 1px solid transparent; border-radius: 9px; padding: 0 17px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; cursor: pointer; font-size: 13px; font-weight: 800; text-decoration: none; transition: transform .15s, box-shadow .15s, background .15s; }
.button:hover { transform: translateY(-1px); }
.button.primary { background: var(--gradient-brand); color: #fff; box-shadow: 0 8px 22px rgba(105, 17, 51, .24); }
.button.primary:hover { background: linear-gradient(135deg, #310515 0%, #6b1031 50%, #9c315b 100%); box-shadow: 0 10px 26px rgba(105, 17, 51, .30); }
.button.secondary { border-color: var(--line-strong); background: #fff; color: var(--ink); }
.button.secondary:hover { background: var(--surface-2); }
.button.full { width: 100%; }
.button.compact { min-height: 38px; padding: 0 13px; font-size: 12px; }
.auth-card .button { margin-top: 8px; }
.fine-print { margin: 22px 0 0; color: #987e8a; font-size: 11px; line-height: 1.55; }
.magic-result { margin-top: 20px; padding: 18px; display: grid; grid-template-columns: 36px 1fr; gap: 6px 12px; border: 1px solid #dfafc1; border-radius: 12px; background: var(--green-soft); }
.success-icon { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: var(--gradient-brand); color: #fff; font-weight: 850; }
.magic-result p { margin: 5px 0 8px; color: var(--muted); font-size: 12px; }
.magic-result .button { grid-column: 1 / -1; margin-top: 6px; }

.app-shell { min-height: 100vh; }
.sidebar { position: fixed; inset: 0 auto 0 0; z-index: 20; width: 262px; display: flex; flex-direction: column; background: radial-gradient(circle at 14% 5%, rgba(206, 83, 130, .23), transparent 25%), var(--gradient-deep); color: #fff; }
.sidebar-top { padding: 28px 24px 22px; border-bottom: 1px solid rgba(255,255,255,.08); }
.workspace-pill { margin-top: 23px; display: flex; align-items: center; gap: 9px; color: #ddb3c2; font-size: 11px; font-weight: 650; }
.step-nav { flex: 1; overflow-y: auto; padding: 18px 12px; }
.nav-item { width: 100%; min-height: 62px; margin: 3px 0; padding: 9px 10px; border: 0; border-radius: 10px; display: grid; grid-template-columns: 30px 1fr 18px; align-items: center; gap: 10px; text-align: left; color: #e0bdca; background: transparent; cursor: pointer; }
.nav-item:hover { background: rgba(255,255,255,.05); color: #fff; }
.nav-item.active { color: #fff; background: linear-gradient(100deg, rgba(255,255,255,.16), rgba(255,255,255,.07)); box-shadow: inset 3px 0 0 #f1a5c1; }
.nav-number { width: 27px; height: 27px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.16); border-radius: 8px; font-size: 11px; font-weight: 800; }
.nav-item.active .nav-number { border-color: #efa9c3; background: linear-gradient(145deg, #b4426c, #7b153a); }
.nav-item strong { display: block; font-size: 12px; }
.nav-item small { display: block; margin-top: 4px; color: #b78a9a; font-size: 10px; }
.nav-check { display: none; color: #ffc3da; font-size: 12px; }
.nav-item.complete .nav-check { display: block; }
.sidebar-footer { padding: 15px 14px 18px; border-top: 1px solid rgba(255,255,255,.08); }
.text-button { width: 100%; margin: 0 0 8px; padding: 6px 10px; border: 0; text-align: left; color: #b78b9b; background: transparent; cursor: pointer; font-size: 10px; }
.user-chip { width: 100%; padding: 9px; border: 0; border-radius: 10px; display: grid; grid-template-columns: 34px 1fr 14px; align-items: center; gap: 10px; text-align: left; color: #fff; background: rgba(255,255,255,.055); cursor: pointer; }
.avatar { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: linear-gradient(145deg, #b5456e, #741337); color: #fff; font-size: 11px; font-weight: 850; }
.user-chip strong, .user-chip small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.user-chip strong { font-size: 11px; }
.user-chip small { margin-top: 3px; color: #c89dad; font-size: 9px; }
.workspace { min-height: 100vh; margin-left: 262px; }
.topbar { height: 82px; position: sticky; top: 0; z-index: 15; padding: 0 clamp(22px, 4vw, 54px); border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; background: rgba(255,255,255,.93); backdrop-filter: blur(12px); }
.topbar-label { margin: 0 0 4px; color: var(--muted); font-size: 9px; font-weight: 850; letter-spacing: .15em; }
.topbar h2 { margin: 0; font-family: Georgia, serif; font-size: 22px; font-weight: 500; }
.topbar-actions { display: flex; align-items: center; gap: 18px; }
.saved-state { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: 11px; }
.saved-state span { color: var(--green); }
.content { max-width: 1260px; margin: 0 auto; padding: 44px clamp(22px, 4vw, 54px) 80px; }
.page-section { display: none; animation: appear .22s ease; }
.page-section.active { display: block; }
@keyframes appear { from { opacity: .35; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.page-intro { margin-bottom: 28px; display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; }
.page-intro h1 { margin: 0; font-family: Georgia, serif; font-size: clamp(31px, 3vw, 44px); font-weight: 500; letter-spacing: -.025em; }
.page-intro > div > p:last-child { max-width: 700px; margin: 9px 0 0; color: var(--muted); font-size: 14px; line-height: 1.6; }
.metric-grid { display: grid; gap: 14px; }
.metric-grid.four { grid-template-columns: repeat(4, 1fr); }
.metric-card { min-height: 126px; padding: 20px; border: 1px solid var(--line); border-radius: 13px; background: var(--surface); box-shadow: 0 7px 24px rgba(83,13,40,.055); }
.metric-card > span, .result-card > span { display: block; color: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.metric-card > strong { display: block; margin-top: 14px; font-family: Georgia, serif; font-size: 26px; font-weight: 500; }
.metric-card > small, .result-card > small { display: block; margin-top: 7px; color: #987d89; font-size: 10px; }
.status-text.good { color: var(--green); }.status-text.warn { color: var(--gold); }.status-text.bad { color: var(--red); }.status-text.neutral { color: var(--muted); }
.mini-progress { height: 5px; margin-top: 13px; overflow: hidden; border-radius: 99px; background: var(--surface-3); }
.mini-progress i { display: block; width: 0; height: 100%; border-radius: inherit; background: var(--green); transition: width .35s; }
.dashboard-grid { margin-top: 16px; display: grid; grid-template-columns: 1.08fr .92fr; gap: 16px; }
.card { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); }
.next-action-card, .recent-target-card { min-height: 260px; padding: 28px; }
.next-action-card { background: linear-gradient(130deg, #fff 12%, #fff4f8 100%); border-color: #e8ccd7; }
.card-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; }
.card-heading h3, .capital-card h3 { margin: 0; font-family: Georgia, serif; font-size: 24px; font-weight: 500; letter-spacing: -.015em; }
.card-heading p:not(.eyebrow) { margin: 7px 0 0; color: var(--muted); font-size: 12px; }
.step-badge, .tag { flex: none; padding: 6px 9px; border-radius: 999px; background: var(--green-soft); color: var(--green); font-size: 9px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.tag.neutral { background: #f3eaee; color: #806571; }
.tag.warn { background: var(--gold-soft); color: #865065; }
.tag.bad { background: var(--red-soft); color: var(--red); }
.next-action-card > p { max-width: 520px; min-height: 54px; margin: 28px 0 24px; color: var(--muted); font-size: 14px; line-height: 1.65; }
.target-stats { margin: 32px 0 24px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.target-stats div { padding-right: 10px; border-right: 1px solid var(--line); }
.target-stats div:last-child { border-right: 0; }
.target-stats span, .capital-summary span { display: block; color: var(--muted); font-size: 9px; font-weight: 750; text-transform: uppercase; letter-spacing: .06em; }
.target-stats strong { display: block; margin-top: 7px; font-size: 15px; }
.inline-link { padding: 0; border: 0; color: var(--green); background: transparent; cursor: pointer; font-size: 12px; font-weight: 800; }
.form-card { margin-top: 16px; padding: 28px; }
.field-grid { margin-top: 28px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.field { display: grid; gap: 8px; }
.span-2 { grid-column: span 2; }
.money-input, .suffix-input { position: relative; }
.money-input > span, .suffix-input > span { position: absolute; top: 50%; z-index: 2; transform: translateY(-50%); color: #987b87; font-size: 12px; }
.money-input > span { left: 13px; }.money-input input { padding-left: 29px; }
.suffix-input > span { right: 13px; }.suffix-input input { padding-right: 30px; }
.field-help { color: var(--muted); font-size: 10px; }
.field-help.bad { color: var(--red); font-weight: 750; }
.form-actions { margin-top: 5px; padding-top: 19px; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.helper { color: var(--muted); font-size: 10px; line-height: 1.5; }
.results-grid { margin-top: 16px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.result-card { min-height: 126px; padding: 20px; }
.result-card strong { display: block; margin-top: 15px; font-family: Georgia, serif; font-size: 26px; font-weight: 500; }
.alert { margin: 0 0 16px; padding: 13px 15px; border-radius: 9px; font-size: 12px; line-height: 1.55; }
.alert.error { border: 1px solid #efc7c4; background: var(--red-soft); color: #8a332e; }
.alert.info { margin-top: 16px; border: 1px solid #dfbdca; background: var(--blue-soft); color: #6f344c; }
.structure-layout { display: grid; grid-template-columns: 1.38fr .72fr; gap: 16px; align-items: start; }
.structure-layout .form-card { margin-top: 0; }
.compact-grid { gap: 17px; }
.capital-card { position: sticky; top: 104px; padding: 28px; }
.stack-bar { height: 10px; margin: 25px 0 24px; display: flex; overflow: hidden; border-radius: 99px; background: var(--surface-3); }
.stack-bar span { width: 0; transition: width .35s; }
#stackBuyer { background: var(--green); } #stackPartner { background: #c4577f; } #stackSeller { background: var(--gold); } #stackLoan { background: #d9c2cb; }
.capital-lines { display: grid; gap: 14px; }
.capital-lines > div { display: flex; justify-content: space-between; gap: 15px; color: var(--muted); font-size: 11px; }
.capital-lines strong { color: var(--ink); }
.legend { width: 7px; height: 7px; margin-right: 7px; display: inline-block; border-radius: 50%; }
.legend.buyer { background: var(--green); }.legend.partner { background: #c4577f; }.legend.seller { background: var(--gold); }.legend.loan { background: #d9c2cb; }
.capital-lines .total-line { margin-top: 4px; padding-top: 15px; border-top: 1px solid var(--line); color: var(--ink); font-weight: 850; }
.capital-summary { margin-top: 25px; padding: 18px; display: grid; gap: 15px; border-radius: 10px; background: var(--surface-2); }
.capital-summary > div { display: flex; align-items: center; justify-content: space-between; }
.capital-summary strong { font-size: 12px; }
.document-card { overflow: hidden; }
.document-header, .document-row { display: grid; grid-template-columns: 1.1fr 180px 1fr; gap: 22px; align-items: center; }
.document-header { padding: 13px 22px; color: var(--muted); background: var(--surface-3); font-size: 9px; font-weight: 850; letter-spacing: .08em; }
.document-row { min-height: 76px; padding: 13px 22px; border-top: 1px solid var(--line); }
.document-title strong, .document-title small { display: block; }
.document-title strong { font-size: 12px; }.document-title small { margin-top: 4px; color: var(--muted); font-size: 9px; }
.document-row select, .document-row input { height: 39px; font-size: 11px; }
.document-actions { padding: 18px 22px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; }
.lender-layout { display: grid; grid-template-columns: 1.08fr .92fr; gap: 16px; align-items: start; }
.readiness-card { padding: 28px; }
.readiness-score { display: flex; align-items: center; gap: 20px; }
.score-ring { --score: 0deg; width: 88px; height: 88px; flex: none; display: grid; place-items: center; border-radius: 50%; background: conic-gradient(var(--green) var(--score), var(--surface-3) 0); position: relative; }
.score-ring::before { content: ""; position: absolute; inset: 8px; border-radius: 50%; background: #fff; }
.score-ring span { z-index: 1; font-family: Georgia, serif; font-size: 20px; }
.readiness-score h3 { margin: 0; font-family: Georgia, serif; font-size: 23px; font-weight: 500; }.readiness-score p:last-child { margin: 6px 0 0; color: var(--muted); font-size: 11px; }
.checklist { margin: 25px 0; border-top: 1px solid var(--line); }
.check-item { min-height: 58px; padding: 12px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 29px 1fr auto; align-items: center; gap: 11px; }
.check-icon { width: 25px; height: 25px; display: grid; place-items: center; border-radius: 50%; background: var(--surface-3); color: var(--muted); font-size: 10px; font-weight: 850; }
.check-item.done .check-icon { background: var(--green-soft); color: var(--green); }
.check-item.warn .check-icon { background: var(--gold-soft); color: #865065; }
.check-item strong, .check-item small { display: block; }.check-item strong { font-size: 11px; }.check-item small { margin-top: 3px; color: var(--muted); font-size: 9px; }
.check-item > span:last-child { color: var(--muted); font-size: 9px; font-weight: 800; text-transform: uppercase; }
.package-card { overflow: hidden; }
.package-cover { min-height: 230px; padding: 28px; display: flex; flex-direction: column; justify-content: flex-end; color: #fff; background: radial-gradient(circle at 82% 0%, rgba(231, 123, 164, .34), transparent 38%), var(--gradient-deep); }
.package-logo { width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.28); border-radius: 8px; font-family: Georgia, serif; font-size: 20px; }
.package-cover p { margin: 38px 0 8px; color: #e9c0cf; font-size: 9px; font-weight: 850; letter-spacing: .16em; }
.package-cover h3 { margin: 0 0 9px; font-family: Georgia, serif; font-size: 27px; font-weight: 500; }.package-cover > span:last-child { color: #e6bdcc; font-size: 11px; }
.package-body { padding: 24px; }
.empty-package { min-height: 132px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; color: var(--muted); }
.empty-package > span { margin-bottom: 9px; font-size: 25px; }.empty-package strong { color: var(--ink); font-size: 12px; }.empty-package p { max-width: 260px; margin: 7px 0 0; font-size: 10px; line-height: 1.5; }
.package-ready { margin-bottom: 15px; padding: 13px; display: flex; gap: 10px; border-radius: 9px; background: var(--green-soft); color: var(--green); }
.package-ready > span { font-weight: 850; }.package-ready strong { display: block; font-size: 11px; }.package-ready p { margin: 4px 0 0; color: #795367; font-size: 9px; line-height: 1.45; }
#packageActions .button + .button { margin-top: 9px; }
.toast { position: fixed; right: 24px; bottom: 24px; z-index: 100; max-width: 360px; padding: 13px 16px; border-radius: 9px; color: #fff; background: var(--gradient-deep); box-shadow: 0 15px 35px rgba(74, 9, 33, .28); font-size: 12px; transform: translateY(100px); opacity: 0; transition: .25s; pointer-events: none; }
.toast.show { transform: translateY(0); opacity: 1; }
.modal { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 25px; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(43, 5, 20, .76); backdrop-filter: blur(5px); }
.modal-card { position: relative; width: min(900px, 100%); max-height: calc(100vh - 50px); overflow: auto; border-radius: 16px; background: #fff; box-shadow: 0 30px 80px rgba(0,0,0,.28); }
.modal-toolbar, .modal-actions { position: sticky; z-index: 2; display: flex; align-items: center; justify-content: space-between; background: #fff; }
.modal-toolbar { top: 0; padding: 20px 24px; border-bottom: 1px solid var(--line); }.modal-toolbar h2 { margin: 0; font-family: Georgia, serif; font-weight: 500; }
.icon-button { width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 9px; display: grid; place-items: center; background: #fff; cursor: pointer; font-size: 20px; }
.package-preview { padding: 32px 38px; }
.preview-header { padding: 25px; color: #fff; background: var(--gradient-deep); }.preview-header p { margin: 0; font-size: 9px; letter-spacing: .16em; }.preview-header h1 { margin: 22px 0 8px; font-family: Georgia, serif; font-weight: 500; }.preview-header span { color: #e6bdcc; font-size: 11px; }
.preview-section { padding: 23px 0; border-bottom: 1px solid var(--line); }.preview-section h3 { margin: 0 0 15px; font-family: Georgia, serif; font-size: 20px; font-weight: 500; }.preview-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }.preview-stat { padding: 13px; border-radius: 8px; background: var(--surface-2); }.preview-stat span, .preview-stat strong { display: block; }.preview-stat span { color: var(--muted); font-size: 9px; text-transform: uppercase; }.preview-stat strong { margin-top: 6px; font-size: 12px; }.preview-table { width: 100%; border-collapse: collapse; font-size: 11px; }.preview-table td { padding: 9px 0; border-bottom: 1px solid var(--line); }.preview-table td:last-child { text-align: right; font-weight: 750; }.preview-note { color: var(--muted); font-size: 10px; line-height: 1.55; }
.modal-actions { bottom: 0; padding: 16px 24px; border-top: 1px solid var(--line); justify-content: flex-end; gap: 10px; }
.strategy-card { margin-top: 16px; padding: 28px; background: radial-gradient(circle at 90% 0%, rgba(196,87,127,.13), transparent 34%), linear-gradient(145deg, #fff 0%, #fff7fa 100%); border-color: #e7c5d2; }
.strategy-grid { margin-top: 24px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px; }
.strategy-option { min-height: 210px; padding: 21px; border: 1px solid var(--line); border-radius: 12px; background: rgba(255,255,255,.88); }
.strategy-option.featured { color: #fff; border-color: transparent; background: var(--gradient-deep); box-shadow: 0 14px 30px rgba(79,10,36,.18); }
.strategy-option > span { color: var(--green); font-size: 8px; font-weight: 850; letter-spacing: .13em; }
.strategy-option.featured > span { color: #f2b8cf; }
.strategy-option h4 { margin: 28px 0 11px; font-family: Georgia, serif; font-size: 19px; font-weight: 500; line-height: 1.25; }
.strategy-option p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.65; }
.strategy-option.featured p { color: #e6bdcc; }
.strategy-footnote { margin: 17px 0 0; color: var(--muted); font-size: 9px; line-height: 1.5; }
.pipeline-card { margin-top: 16px; overflow: hidden; }
.pipeline-toolbar, .content-toolbar { padding: 18px 20px; border: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 14px; background: linear-gradient(100deg, #fff, #fff8fb); }
.pipeline-toolbar { border-width: 0 0 1px; }
.content-toolbar { margin: 16px 0; border-radius: 13px; }
.pipeline-search { width: min(480px, 100%); position: relative; }
.pipeline-search > span { position: absolute; left: 14px; top: 50%; transform: translateY(-52%); color: var(--green); font-size: 18px; pointer-events: none; }
.pipeline-search input { padding-left: 39px; background: #fff; }
.pipeline-toolbar select, .content-toolbar select { width: 190px; flex: none; }
.pipeline-empty, .content-empty { min-height: 330px; padding: 45px 22px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.pipeline-empty-icon, .content-empty-mark { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 16px 16px 16px 5px; background: var(--green-soft); color: var(--green); font-size: 21px; }
.pipeline-empty h3, .content-empty h3 { margin: 18px 0 7px; font-family: Georgia, serif; font-size: 23px; font-weight: 500; }
.pipeline-empty p, .content-empty p { max-width: 520px; margin: 0 0 22px; color: var(--muted); font-size: 12px; line-height: 1.6; }
.pipeline-list { display: grid; }
.pipeline-deal { padding: 23px 24px; border-top: 1px solid var(--line); display: grid; grid-template-columns: minmax(190px, 1.15fr) minmax(300px, 1.35fr) minmax(190px, .8fr); gap: 25px; align-items: center; transition: background .16s; }
.pipeline-deal:first-child { border-top: 0; }
.pipeline-deal:hover { background: #fffafb; }
.pipeline-identity { min-width: 0; }
.pipeline-title-row { display: flex; align-items: center; gap: 9px; }
.pipeline-title-row h3 { min-width: 0; margin: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-family: Georgia, serif; font-size: 19px; font-weight: 500; }
.pipeline-identity > p { margin: 7px 0 0; color: var(--muted); font-size: 10px; line-height: 1.45; }
.pipeline-source { margin-top: 10px; display: inline-flex; align-items: center; gap: 5px; color: var(--green); font-size: 10px; font-weight: 800; text-decoration: none; }
.pipeline-source:hover { text-decoration: underline; }
.pipeline-source.missing { color: #a48a95; cursor: default; }
.pipeline-financials { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; }
.pipeline-stat { min-width: 0; padding: 11px 12px; border: 1px solid var(--line); border-radius: 9px; background: #fff; }
.pipeline-stat span, .pipeline-stat strong { display: block; }
.pipeline-stat span { color: var(--muted); font-size: 8px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.pipeline-stat strong { margin-top: 5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 11px; }
.pipeline-controls { display: grid; gap: 9px; }
.pipeline-controls select, .pipeline-controls input { height: 38px; font-size: 10px; }
.pipeline-control-row { display: grid; grid-template-columns: 1fr auto; gap: 8px; }
.pipeline-open { min-height: 38px; padding: 0 12px; }
.pipeline-review-meta { color: var(--muted); font-size: 9px; line-height: 1.4; }
.pipeline-no-results { padding: 60px 20px; color: var(--muted); text-align: center; font-size: 12px; }
.content-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.content-card { overflow: hidden; }
.content-embed { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--gradient-deep); }
.content-embed iframe { width: 100%; height: 100%; border: 0; }
.content-embed.spotify { aspect-ratio: auto; height: 152px; background: #2b0b17; }
.content-link-cover { width: 100%; height: 100%; padding: 25px; display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end; color: #fff; background: radial-gradient(circle at 82% 0%, rgba(231,123,164,.38), transparent 38%), var(--gradient-deep); text-decoration: none; }
.content-link-cover span { font-size: 9px; font-weight: 850; letter-spacing: .14em; }.content-link-cover strong { margin-top: 8px; font-family: Georgia, serif; font-size: 19px; font-weight: 500; }
.content-card-body { padding: 19px; }
.content-card-meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.content-platform { padding: 5px 8px; border-radius: 999px; background: var(--green-soft); color: var(--green); font-size: 8px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.content-card-meta time { color: var(--muted); font-size: 9px; }
.content-card h3 { margin: 14px 0 6px; font-family: Georgia, serif; font-size: 20px; font-weight: 500; line-height: 1.2; }
.content-guest { margin: 0; color: var(--green); font-size: 10px; font-weight: 800; }
.content-description { min-height: 48px; margin: 12px 0 16px; color: var(--muted); font-size: 10px; line-height: 1.55; }
.content-card-footer { padding-top: 13px; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.content-card-footer a { color: var(--green); font-size: 10px; font-weight: 850; text-decoration: none; }
.content-card-footer button { border: 0; color: #a78b96; background: transparent; cursor: pointer; font-size: 9px; }
.mobile-menu { display: none; }

@media (max-width: 1050px) {
  .metric-grid.four, .results-grid { grid-template-columns: repeat(2, 1fr); }
  .dashboard-grid, .lender-layout, .structure-layout { grid-template-columns: 1fr; }
  .capital-card { position: static; }
  .strategy-grid, .content-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .strategy-option:last-child { grid-column: 1 / -1; min-height: auto; }
  .pipeline-deal { grid-template-columns: 1fr 1.4fr; }
  .pipeline-controls { grid-column: 1 / -1; grid-template-columns: 180px 1fr auto; align-items: center; }
  .pipeline-review-meta { grid-column: 1 / -1; }
}
@media (max-width: 820px) {
  .auth-shell { grid-template-columns: 1fr; }.brand-panel { display: none; }.form-panel { min-height: 100vh; padding: 38px 24px; }.mobile-brand { display: inline-flex; }
  .sidebar { transform: translateX(-100%); transition: transform .25s; }.sidebar.open { transform: translateX(0); box-shadow: 20px 0 50px rgba(0,0,0,.22); }
  .workspace { margin-left: 0; }.mobile-menu { display: grid; margin-right: 14px; }.topbar { justify-content: flex-start; }.topbar-actions { margin-left: auto; }.saved-state { display: none; }
  .document-header { display: none; }.document-row { grid-template-columns: 1fr; gap: 10px; padding: 18px; }.document-actions { align-items: flex-start; gap: 16px; }
  .pipeline-toolbar, .content-toolbar { align-items: stretch; flex-direction: column; }
  .pipeline-toolbar select, .content-toolbar select, .pipeline-search { width: 100%; }
}
@media (max-width: 620px) {
  .content { padding-top: 30px; }.topbar-actions .button { display: none; }.page-intro { align-items: flex-start; flex-direction: column; }.metric-grid.four, .results-grid { grid-template-columns: 1fr 1fr; }.metric-card, .result-card { min-height: 116px; padding: 16px; }.metric-card > strong, .result-card strong { font-size: 21px; }
  .dashboard-grid { grid-template-columns: 1fr; }.field-grid { grid-template-columns: 1fr; }.span-2 { grid-column: span 1; }.form-card, .next-action-card, .recent-target-card, .readiness-card { padding: 21px; }.form-actions, .document-actions { flex-direction: column; align-items: stretch; }.target-stats { grid-template-columns: 1fr; }.target-stats div { padding: 0 0 10px; border-right: 0; border-bottom: 1px solid var(--line); }
  .readiness-score { align-items: flex-start; }.preview-grid { grid-template-columns: 1fr 1fr; }.package-preview { padding: 20px; }.modal { padding: 10px; }
  .strategy-card { padding: 21px; }.strategy-grid, .content-grid { grid-template-columns: 1fr; }.strategy-option:last-child { grid-column: auto; }
  .pipeline-metrics { grid-template-columns: 1fr 1fr; }.pipeline-deal { grid-template-columns: 1fr; gap: 16px; padding: 20px; }.pipeline-financials { grid-template-columns: repeat(2, minmax(0, 1fr)); }.pipeline-controls { grid-column: auto; grid-template-columns: 1fr; }.pipeline-review-meta { grid-column: auto; }
}
@media print {
  body * { visibility: hidden; }.package-preview, .package-preview * { visibility: visible; }.package-preview { position: absolute; inset: 0; padding: 0; }.modal-card { max-height: none; width: 100%; box-shadow: none; }.modal-toolbar, .modal-actions { display: none; }
}
