:root {
  --ink: #17231d;
  --muted: #68746d;
  --paper: #f4f4ef;
  --card: #fffefa;
  --line: #dfe4de;
  --green: #1c5139;
  --green-2: #287552;
  --mint: #dff1e6;
  --amber: #9b6710;
  --amber-bg: #fff1cb;
  --red: #a33737;
  --red-bg: #fee7e4;
  --blue-bg: #e6f0fa;
  --shadow: 0 14px 40px rgba(24, 57, 43, .07);
  --radius: 18px;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 15px/1.5 Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif; }
a { color: var(--green-2); text-decoration: none; }
button, input, select, textarea { font: inherit; }
button, .button { min-height: 46px; border: 0; border-radius: 12px; padding: 11px 17px; display: inline-flex; align-items: center; justify-content: center; gap: 7px; cursor: pointer; font-weight: 750; transition: .15s ease; }
button:hover, .button:hover { transform: translateY(-1px); }
.primary { background: var(--green); color: white; }
.secondary { color: var(--green); background: var(--mint); }
.danger { background: var(--red); color: white; }
.ghost { color: var(--green); background: transparent; border: 1px solid var(--line); }
.full { width: 100%; }
.small { min-height: 36px; padding: 7px 11px; font-size: 13px; }
.topbar { height: 68px; background: #153b2b; color: white; display: flex; align-items: center; justify-content: space-between; padding: 0 max(18px, calc((100vw - 1180px)/2)); box-shadow: 0 2px 14px rgba(0,0,0,.12); }
.brand { display: flex; align-items: center; gap: 10px; color: white; }
.brand span { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: #f2c45b; color: #18392b; font-size: 12px; font-weight: 900; }
.userbox { display: flex; align-items: center; gap: 12px; font-size: 13px; }
.userbox form { margin: 0; }
.link-button { min-height: auto; padding: 5px; background: none; color: #d8e8df; }
.nav { background: var(--card); border-bottom: 1px solid var(--line); display: flex; gap: 4px; overflow-x: auto; padding: 0 max(12px, calc((100vw - 1180px)/2)); position: sticky; top: 0; z-index: 10; }
.nav a { color: var(--muted); padding: 14px 12px 11px; white-space: nowrap; border-bottom: 3px solid transparent; font-weight: 650; }
.nav a.active { color: var(--green); border-bottom-color: var(--green); }
.container { width: min(1180px, calc(100% - 28px)); margin: 28px auto 60px; }
footer { color: var(--muted); text-align: center; padding: 20px; font-size: 12px; }
h1, h2 { margin: 0; line-height: 1.18; letter-spacing: -.025em; }
h1 { font-size: clamp(28px, 4vw, 42px); }
h2 { font-size: 19px; }
p { margin: 8px 0 0; }
.muted { color: var(--muted); font-size: 13px; }
.eyebrow { color: var(--green-2); font-weight: 850; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 5px; }
.hero, .page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; margin-bottom: 24px; }
.hero { background: linear-gradient(135deg, #e4f1e7 0%, #f7e8be 120%); padding: 30px; border: 1px solid #d4e2d6; border-radius: 24px; }
.hero p, .page-head p { color: var(--muted); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 20px; }
.stat { min-height: 110px; background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 18px; display: flex; flex-direction: column; justify-content: space-between; }
.stat span { color: var(--muted); font-weight: 700; }
.stat strong { font-size: clamp(24px, 3vw, 34px); letter-spacing: -.04em; }
.stat.accent { background: var(--green); color: white; border-color: var(--green); }
.stat.accent span { color: #cee2d6; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
.section-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; margin-bottom: 15px; }
.list { display: grid; }
.list-row { display: flex; align-items: center; justify-content: space-between; gap: 15px; color: var(--ink); padding: 13px 0; border-top: 1px solid var(--line); }
.list-row:first-child { border-top: 0; }
.list-row > div { min-width: 0; }
small { display: block; color: var(--muted); font-weight: 450; }
.badge { display: inline-block; width: fit-content; padding: 4px 8px; background: #edf0ed; border-radius: 999px; font-size: 11px; font-weight: 800; white-space: nowrap; color: #536059; }
.badge.warning, .result-callback { background: var(--amber-bg); color: var(--amber); }
.badge.danger, .qa-suspicious, .result-rejected { background: var(--red-bg); color: var(--red); }
.badge.success, .qa-verified, .result-sold { background: var(--mint); color: var(--green-2); }
.result-in_progress { background: var(--blue-bg); color: #35648a; }
.empty { color: var(--muted); text-align: center; padding: 32px 10px; }
.commission { margin-top: 20px; }
.commission div, .details > div { display: flex; justify-content: space-between; gap: 20px; padding: 12px 0; border-top: 1px solid var(--line); }
.commission h2, .details h2 { margin-bottom: 12px; }
.details span { color: var(--muted); }
.details strong { text-align: right; overflow-wrap: anywhere; }
.stack { display: grid; gap: 18px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
label { display: grid; gap: 7px; font-weight: 700; color: #33443b; }
label small { display: inline; font-weight: 450; }
input, select, textarea { width: 100%; color: var(--ink); background: white; border: 1px solid #cdd5cf; border-radius: 11px; padding: 12px 13px; min-height: 46px; outline: none; }
input:focus, select:focus, textarea:focus { border-color: var(--green-2); box-shadow: 0 0 0 3px rgba(40,117,82,.12); }
textarea { resize: vertical; }
.wide { grid-column: 1 / -1; }
.actions { display: flex; justify-content: flex-end; gap: 10px; flex-wrap: wrap; }
.location-status { padding: 12px; border-radius: 10px; background: #edf0ed; color: var(--muted); }
.location-status.ok { color: var(--green); background: var(--mint); }
.conditional { display: none; }
.conditional.visible { display: grid; gap: 16px; }
.sale-box { padding: 18px; border-radius: 14px; background: #edf6f0; border: 1px solid #cfe3d6; }
.payment-note { display: grid; gap: 4px; padding: 13px; background: white; border-radius: 10px; }
.sticky-actions { position: sticky; bottom: 12px; display: flex; justify-content: flex-end; gap: 10px; margin-top: 18px; padding: 12px; background: rgba(255,254,250,.94); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); backdrop-filter: blur(10px); }
.visit-photo { display: block; width: min(100%, 680px); max-height: 520px; object-fit: cover; border-radius: 12px; margin-top: 14px; }
.notice { margin: 0 0 18px; padding: 13px 15px; border-radius: 11px; border: 1px solid transparent; }
.notice.success { background: var(--mint); color: var(--green); border-color: #c4decf; }
.notice.error { background: var(--red-bg); color: var(--red); border-color: #f4ceca; }
.notice.info { background: var(--blue-bg); color: #315b7c; border-color: #caddeb; }
.alert-card { border-left: 5px solid #d89a2f; margin-bottom: 20px; }
.quick { display: grid; align-content: start; gap: 5px; }
.quick h2 { margin-bottom: 10px; }
.quick a { display: flex; justify-content: space-between; gap: 12px; padding: 14px 0; border-top: 1px solid var(--line); color: var(--ink); }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; min-width: 720px; }
th { color: var(--muted); font-size: 11px; text-align: left; text-transform: uppercase; letter-spacing: .05em; padding: 0 12px 10px; }
td { padding: 14px 12px; border-top: 1px solid var(--line); vertical-align: middle; }
td form { margin: 0; }
.filters { display: grid; grid-template-columns: 1.3fr 1fr 1fr .8fr .8fr auto; gap: 10px; align-items: end; margin-bottom: 18px; padding: 16px; }
.filter-actions { display: flex; gap: 6px; }
.payment-card { width: min(620px, 100%); margin: auto; }
.big-money { font-size: 27px; color: var(--green); }
.mock-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.iframe-card { padding: 8px; overflow: hidden; }
#paytriframe { width: 100%; min-height: 620px; }
.status-card { width: min(620px, 100%); margin: 70px auto; text-align: center; padding: 40px; }
.status-card .actions { justify-content: center; margin-top: 24px; }
.status-icon { width: 64px; height: 64px; display: grid; place-items: center; margin: 0 auto 18px; border-radius: 50%; background: var(--mint); color: var(--green); font-size: 34px; font-weight: 900; }
.status-card.failed .status-icon { background: var(--red-bg); color: var(--red); }
.status-card.pending .status-icon { background: var(--amber-bg); color: var(--amber); }
.top-gap { margin-top: 20px; }
.three-col { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.insight-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: -7px 0 20px; }
.insight-strip a { background: #e8eee9; color: var(--ink); border: 1px solid #d5ded7; border-radius: 13px; padding: 13px 15px; display: flex; justify-content: space-between; align-items: center; }
.insight-strip span { color: var(--muted); font-weight: 650; }
.insight-strip strong { font-size: 20px; color: var(--green); }
.pipeline { display: grid; grid-template-columns: repeat(7, minmax(105px, 1fr)); gap: 7px; overflow-x: auto; margin: 0 0 16px; padding-bottom: 3px; }
.pipeline-step { min-width: 105px; color: var(--muted); background: #e6ebe7; border-radius: 12px; padding: 11px 12px; display: flex; align-items: center; justify-content: space-between; gap: 8px; border: 1px solid transparent; }
.pipeline-step.active { background: var(--mint); border-color: #aacdb8; color: var(--green); }
.pipeline-step span { font-size: 12px; font-weight: 750; }
.pipeline-step strong { font-size: 18px; }
.filters.compact { grid-template-columns: 2fr 1fr auto; }
.customer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }
.customer-card { color: var(--ink); min-width: 0; }
.customer-card.inset { background: #f8f9f6; border: 1px solid var(--line); border-radius: 14px; padding: 17px; }
.customer-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.customer-card h2 { margin-bottom: 7px; }
.customer-card p { color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.customer-meta { display: flex; justify-content: space-between; gap: 12px; border-top: 1px solid var(--line); padding-top: 14px; margin-top: 17px; color: var(--muted); font-size: 12px; }
.customer-meta span:last-child { text-align: right; }
.temp { display: inline-flex; align-items: center; gap: 6px; font-weight: 800; font-size: 11px; }
.temp::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: #93a099; }
.temp-hot::before { background: #d55a43; box-shadow: 0 0 0 4px #fae4df; }
.temp-warm::before { background: #e0a034; box-shadow: 0 0 0 4px #f9edcf; }
.temp-cold::before { background: #6495bb; box-shadow: 0 0 0 4px #dfedf7; }
.task-list .done { opacity: .58; }
.task-list .done strong { text-decoration: line-through; }
.goal-row { margin-top: 17px; }
.goal-row > div { display: flex; justify-content: space-between; margin-bottom: 7px; }
progress { appearance: none; width: 100%; height: 9px; overflow: hidden; border: 0; border-radius: 999px; background: #e4e9e5; }
progress::-webkit-progress-bar { background: #e4e9e5; }
progress::-webkit-progress-value { background: linear-gradient(90deg, var(--green-2), #5ba879); border-radius: 999px; }
progress::-moz-progress-bar { background: var(--green-2); }
.timeline { display: grid; }
.timeline a { display: grid; grid-template-columns: 18px 1fr; gap: 10px; color: var(--ink); position: relative; padding-bottom: 21px; }
.timeline a:not(:last-child)::before { content: ''; position: absolute; left: 5px; top: 12px; bottom: 0; width: 2px; background: var(--line); }
.timeline i { width: 12px; height: 12px; border-radius: 50%; background: var(--green-2); margin-top: 4px; z-index: 1; }
.timeline p { color: var(--muted); font-size: 13px; }
.quick-actions { display: grid; gap: 10px; margin: 16px 0; }
hr { border: 0; border-top: 1px solid var(--line); margin: 24px 0; }
h3 { font-size: 14px; color: var(--muted); margin: 22px 0 7px; text-transform: uppercase; letter-spacing: .06em; }
.demo-layout { display: grid; grid-template-columns: .75fr 1.25fr; gap: 20px; }
.demo-script { align-self: start; position: sticky; top: 70px; }
.demo-script ol { padding: 0; margin: 18px 0 0; list-style: none; counter-reset: step; }
.demo-script li { counter-increment: step; display: grid; grid-template-columns: 34px 1fr; gap: 10px; margin-bottom: 17px; }
.demo-script li::before { content: counter(step); display: grid; place-items: center; width: 28px; height: 28px; border-radius: 9px; background: var(--mint); color: var(--green); font-weight: 900; }
.demo-script li span { grid-column: 2; color: var(--muted); font-size: 13px; margin-top: -9px; }
.check-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.check { display: flex; align-items: center; gap: 9px; background: #f1f4f1; padding: 11px; border-radius: 10px; cursor: pointer; }
.check input { width: 19px; min-height: 19px; margin: 0; accent-color: var(--green); }
.number { color: #c19435; font-size: 34px; font-weight: 950; margin-bottom: 20px; }
.clean-list { padding-left: 19px; color: var(--muted); }
.clean-list li { margin: 9px 0; }
.team-layout { grid-template-columns: .75fr 1.25fr; }
.team-cards, .package-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.goal-form { display: grid; grid-template-columns: .75fr repeat(4, .7fr) auto; gap: 9px; align-items: end; }
.callout { display: grid; gap: 4px; background: #edf6f0; border-radius: 12px; padding: 17px; margin-top: 20px; }
.callout span { color: var(--muted); }
.quote-sheet { width: min(900px, 100%); margin: 0 auto; background: white; padding: 55px; box-shadow: var(--shadow); border-radius: 4px; }
.quote-head, .quote-parties, .quote-package { display: flex; justify-content: space-between; gap: 30px; }
.brand-print { color: var(--green); font-size: 24px; font-weight: 950; letter-spacing: .06em; }
.quote-head { border-bottom: 3px solid var(--green); padding-bottom: 25px; }
.quote-head > div:last-child { text-align: right; }
.quote-parties { margin: 35px 0; }
.quote-parties > div { width: 50%; }
.quote-parties span, .quote-package span { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; }
.quote-package { align-items: end; background: #edf5ef; padding: 25px; border-radius: 12px; }
.quote-package > div:not(:first-child) { text-align: right; }
.quote-package strong { display: block; font-size: 22px; margin-top: 5px; }
.quote-includes { margin: 35px 0; }
.quote-includes li { margin: 8px 0; }
.quote-footer { border-top: 1px solid var(--line); padding-top: 20px; color: var(--muted); font-size: 12px; }
.print-actions { display: flex; justify-content: center; margin: 20px; }
.date-jump, .export-actions, .inline-form, .mini-actions, .segmented { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.date-jump input { width: auto; }
.route-list { display: grid; }
.route-stop { display: grid; grid-template-columns: 38px 1fr auto; gap: 12px; align-items: start; border-top: 1px solid var(--line); padding: 16px 0; }
.route-stop:first-child { border-top: 0; }
.route-stop.skipped { opacity: .5; }
.route-number, .step-number { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 10px; background: var(--mint); color: var(--green); font-weight: 900; }
.mini-actions { margin-top: 7px; font-size: 12px; }
.mini-actions a { padding-right: 8px; border-right: 1px solid var(--line); }
.mini-actions a:last-child { border: 0; }
.expense-grid, .support-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.receipt { width: 100%; height: 170px; object-fit: cover; border-radius: 11px; margin-top: 14px; border: 1px solid var(--line); }
.ticket.urgent { border-top: 4px solid var(--red); }
.ticket.high { border-top: 4px solid #dc9632; }
.segmented { margin-bottom: 16px; }
.segmented a { padding: 9px 13px; border-radius: 10px; background: #e7ebe8; color: var(--muted); font-weight: 750; }
.segmented a.active { background: var(--green); color: white; }
.onboarding-list { margin-top: 16px; display: grid; }
.onboarding-step { display: grid; grid-template-columns: 38px 1fr 150px auto; gap: 12px; align-items: center; padding: 14px 0; border-top: 1px solid var(--line); }
.onboarding-step.done .step-number { background: var(--green); color: white; }
.onboarding-step.blocked { background: #fff7e3; }
.onboarding-step input { margin-top: 6px; min-height: 38px; padding: 8px 10px; }
.inline-form select { min-width: 105px; min-height: 36px; padding: 6px; }
.login-card { width: min(460px, 100%); margin: 8vh auto; padding: clamp(24px, 5vw, 42px); }
.login-card h1 { font-size: 32px; }
.bars { display: grid; gap: 13px; margin-top: 20px; }
.bars > div { display: grid; grid-template-columns: 170px 1fr 35px; align-items: center; gap: 12px; }
.bar { height: 9px; background: #e8ece9; border-radius: 999px; overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--green-2); border-radius: inherit; }
.hero-actions { display: flex; gap: 9px; flex-wrap: wrap; }
.page-jumps { display: flex; gap: 8px; overflow-x: auto; padding: 4px 0 14px; margin: -10px 0 12px; position: sticky; top: 47px; z-index: 8; background: linear-gradient(var(--paper) 75%, transparent); }
.page-jumps a { white-space: nowrap; padding: 9px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--card); font-size: 12px; font-weight: 800; color: var(--green); }
.playbook-section { margin-bottom: 24px; scroll-margin-top: 115px; }
.prep-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.coach-note, .warning-box, .tip-box { display: grid; gap: 4px; padding: 14px 16px; border-radius: 12px; margin-top: 15px; }
.coach-note { background: #edf6f0; color: var(--green); }
.coach-note span { color: #4f6659; }
.warning-box { background: var(--amber-bg); color: #6c4b12; }
.tip-box { background: var(--blue-bg); color: #315b7c; }
.question-grid, .objection-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.guide-card, .inline-coach, .task-explainer details, .task-result, .recommendations details { border: 1px solid var(--line); border-radius: 14px; background: var(--card); overflow: hidden; }
.guide-card summary, .inline-coach summary, .task-explainer summary, .task-result summary, .recommendations summary { cursor: pointer; list-style: none; font-weight: 850; padding: 16px 42px 16px 17px; position: relative; }
.guide-card summary::-webkit-details-marker, .inline-coach summary::-webkit-details-marker, .task-explainer summary::-webkit-details-marker, .task-result summary::-webkit-details-marker, .recommendations summary::-webkit-details-marker { display: none; }
.guide-card summary::after, .inline-coach summary::after, .task-explainer summary::after, .task-result summary::after, .recommendations summary::after { content: '+'; position: absolute; right: 16px; top: 12px; color: var(--green); font-size: 22px; }
.guide-card[open] summary::after, .inline-coach[open] summary::after, .task-explainer details[open] summary::after, .task-result[open] summary::after, .recommendations details[open] summary::after { content: '−'; }
.guide-card[open] summary, .inline-coach[open] summary, .task-result[open] summary { background: #eef5f0; color: var(--green); }
.guide-answer { padding: 2px 17px 18px; }
.guide-answer h4 { margin: 15px 0 4px; color: var(--green); }
.guide-answer p { color: #506158; }
.objection summary { color: #713e31; }
.persona-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 13px; }
.persona { box-shadow: none; }
.persona h3 { color: var(--ink); margin: 8px 0 12px; font-size: 17px; text-transform: none; letter-spacing: 0; }
.persona p { color: var(--muted); font-size: 13px; }
.persona-icon { font-size: 25px; }
.value-map { margin-top: 14px; }
.value-map table { min-width: 640px; margin-top: 18px; }
.compact-stack { gap: 10px; margin-top: 17px; }
.roi-result { display: flex; flex-direction: column; justify-content: center; }
.roi-result > strong { font-size: clamp(38px, 6vw, 62px); line-height: 1; letter-spacing: -.06em; color: var(--green); margin: 12px 0 4px; }
.roi-result > small { margin-top: 18px; }
.payment-steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.payment-steps > div { padding: 15px; border-radius: 13px; background: #f1f5f1; }
.payment-steps span { display: grid; place-items: center; width: 27px; height: 27px; border-radius: 9px; background: var(--green); color: white; font-weight: 900; margin-bottom: 10px; }
.payment-steps strong { display: block; }
.payment-steps p { color: var(--muted); font-size: 12px; }
.template-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 16px; }
.template-grid > div { padding: 16px; border: 1px solid var(--line); border-radius: 13px; background: #fafbf8; }
.template-grid p { color: var(--muted); min-height: 83px; }
.copy-status { color: var(--green); font-weight: 750; }
.demo-workspace { display: grid; grid-template-columns: .68fr 1.32fr; gap: 20px; align-items: start; }
.demo-form-stack { display: grid; gap: 18px; }
.demo-workspace .demo-script { position: sticky; top: 67px; }
.small-number { font-size: 18px; margin-bottom: 4px; }
.inline-coach { background: #f8faf7; }
.inline-coach ul { margin: 0; padding: 0 36px 16px; color: var(--muted); }
.inline-coach p { padding: 0 17px 16px; color: var(--muted); }
.task-create { display: none; margin-bottom: 17px; scroll-margin-top: 80px; }
.task-create.visible { display: block; }
.task-explainer { padding: 0; margin-bottom: 17px; box-shadow: none; }
.task-explainer summary { padding: 15px 45px 15px 18px; color: var(--green); }
.explain-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border-top: 1px solid var(--line); }
.explain-grid div { background: var(--card); padding: 15px; display: grid; gap: 5px; }
.explain-grid span { color: var(--muted); font-size: 12px; }
.task-tabs { margin: 20px 0 14px; }
.detailed-tasks { gap: 12px; }
.task-card { scroll-margin-top: 90px; padding: 18px; }
.task-card.overdue { border-left: 5px solid var(--red); }
.task-card.done { opacity: .72; box-shadow: none; }
.task-main { display: grid; grid-template-columns: 1fr; }
.task-main > div { display: grid; grid-template-columns: 39px 1fr; gap: 12px; }
.task-icon { width: 37px; height: 37px; border-radius: 11px; background: var(--mint); color: var(--green); display: grid; place-items: center; font-weight: 900; font-size: 18px; }
.task-labels { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 6px; }
.task-card h2 { font-size: 18px; }
.task-card p { color: var(--muted); font-size: 13px; }
.task-note { margin-top: 10px; padding: 10px 12px; border-radius: 10px; background: #f3f5f2; color: var(--muted); font-size: 13px; }
.task-actions { display: flex; flex-wrap: wrap; gap: 7px; margin: 14px 0 10px 51px; }
.task-result { margin: 8px 0 0 51px; background: #f9faf7; }
.task-result form { padding: 0 15px 16px; }
.task-completed { margin: 12px 0 0 51px; }
.danger-stat { background: var(--red-bg); border-color: #efc5c0; }
.recommendations { margin-top: 22px; }
.recommendation-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.recommendation-grid > article { border: 1px solid var(--line); border-radius: 13px; padding: 14px; }
.recommendations details { margin-top: 10px; }
.recommendations details form { padding: 0 13px 13px; }
.payment-row-actions { display: flex; align-items: center; justify-content: flex-end; gap: 8px; flex-wrap: wrap; }
.score-pill { align-self: start; color: var(--green); background: var(--mint); border-radius: 999px; padding: 8px 12px; white-space: nowrap; }
.disabled-button { cursor: default; color: var(--muted); background: #e7eae6; border: 1px solid var(--line); }
.disabled-button:hover { transform: none; }
.demo-setting { margin-bottom: 20px; }
.sales-flow { display: grid; grid-template-columns: repeat(5,1fr); gap: 7px; margin: -5px 0 22px; }
.flow-step { display: flex; align-items: center; gap: 8px; min-width: 0; padding: 10px; border-radius: 12px; background: #e8ece8; color: var(--muted); }
.flow-step span { flex: 0 0 27px; width: 27px; height: 27px; display: grid; place-items: center; border-radius: 9px; background: white; font-weight: 900; }
.flow-step strong { font-size: 12px; line-height: 1.2; }
.flow-step.done { background: var(--mint); color: var(--green); }
.flow-step.current { background: var(--green); color: white; }
.flow-step.current span { color: var(--green); }
.next-action { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 20px; background: linear-gradient(115deg,#fffefa,#e6f2e9); border-color: #cbded1; }
.next-action > div { display: grid; gap: 3px; }
.next-action span { color: var(--green-2); font-size: 12px; font-weight: 850; text-transform: uppercase; letter-spacing: .06em; }
.next-action strong { font-size: 19px; }
.dashboard-next { margin-top: -7px; }
.price-plan { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; margin: 16px 0 20px; }
.price-plan > div { display: grid; gap: 4px; padding: 15px; background: #f2f5f1; border-radius: 12px; }
.price-plan span, .payment-share span { color: var(--muted); font-size: 12px; }
.price-plan strong { font-size: 20px; color: var(--green); }
.payment-share { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 16px; margin: 16px 0 10px; background: var(--mint); border-radius: 13px; }
.payment-share > div { min-width: 0; display: grid; gap: 4px; }
.payment-share strong { overflow-wrap: anywhere; }
.mobile-nav { display: none; }
@media (max-width: 850px) {
  .stats { grid-template-columns: 1fr 1fr; }
  .two-col { grid-template-columns: 1fr; }
  .filters { grid-template-columns: 1fr 1fr; }
  .filter-actions { grid-column: 1/-1; }
  .three-col, .customer-grid { grid-template-columns: 1fr 1fr; }
  .insight-strip { grid-template-columns: 1fr 1fr; }
  .demo-layout, .team-layout { grid-template-columns: 1fr; }
  .demo-script { position: static; }
  .team-cards, .package-grid { grid-template-columns: 1fr; }
  .goal-form { grid-template-columns: 1fr 1fr; }
  .expense-grid, .support-grid { grid-template-columns: 1fr 1fr; }
  .onboarding-step { grid-template-columns: 36px 1fr; }
  .onboarding-step select, .onboarding-step button { grid-column: 2; }
  .persona-grid { grid-template-columns: 1fr 1fr; }
  .payment-steps { grid-template-columns: 1fr 1fr; }
  .template-grid { grid-template-columns: 1fr; }
  .demo-workspace { grid-template-columns: 1fr; }
  .demo-workspace .demo-script { position: static; }
  .explain-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  body { padding-bottom: 76px; }
  .topbar { padding: 0 14px; }
  .userbox span { display: none; }
  .container { width: min(100% - 20px, 1180px); margin-top: 18px; }
  .hero, .page-head { align-items: stretch; flex-direction: column; }
  .hero { padding: 22px; }
  .hero .button, .page-head .button { width: 100%; }
  .stats { gap: 9px; }
  .stat { min-height: 96px; padding: 14px; }
  .card { padding: 17px; border-radius: 15px; }
  .form-grid { grid-template-columns: 1fr; }
  .wide { grid-column: auto; }
  .actions { display: grid; grid-template-columns: 1fr; }
  .sticky-actions { display: grid; grid-template-columns: 1fr; }
  .mock-actions { grid-template-columns: 1fr; }
  .filters { grid-template-columns: 1fr; }
  .filter-actions { grid-column: auto; }
  .bars > div { grid-template-columns: 125px 1fr 28px; }
  .status-card { margin: 25px auto; padding: 28px 18px; }
  .three-col, .customer-grid, .insight-strip { grid-template-columns: 1fr; }
  .check-grid { grid-template-columns: 1fr; }
  .goal-form { grid-template-columns: 1fr; }
  .quote-sheet { padding: 26px 18px; }
  .quote-head, .quote-parties, .quote-package { flex-direction: column; }
  .quote-parties > div { width: 100%; }
  .quote-package > div:not(:first-child) { text-align: left; }
  .expense-grid, .support-grid { grid-template-columns: 1fr; }
  .route-stop { grid-template-columns: 32px 1fr; }
  .route-stop form { grid-column: 2; }
  .hero-actions { display: grid; width: 100%; }
  .page-jumps { top: 46px; }
  .prep-grid, .question-grid, .objection-grid, .persona-grid, .recommendation-grid { grid-template-columns: 1fr; }
  .payment-steps { grid-template-columns: 1fr; }
  .explain-grid { grid-template-columns: 1fr; }
  .task-actions, .task-result, .task-completed { margin-left: 0; }
  .payment-order-list .list-row { align-items: stretch; flex-direction: column; }
  .payment-row-actions { justify-content: flex-start; }
  .nav { display: none; }
  .mobile-nav { position: fixed; display: grid; grid-template-columns: repeat(5,1fr); left: 0; right: 0; bottom: 0; z-index: 40; padding: 7px 8px max(7px,env(safe-area-inset-bottom)); background: rgba(255,254,250,.97); border-top: 1px solid var(--line); box-shadow: 0 -8px 30px rgba(24,57,43,.1); backdrop-filter: blur(12px); }
  .mobile-nav a { display: grid; place-items: center; gap: 2px; color: var(--muted); font-size: 10px; font-weight: 800; }
  .mobile-nav a span { font-size: 20px; line-height: 1; }
  .mobile-nav a.active { color: var(--green); }
  .mobile-nav .mobile-new span { width: 40px; height: 40px; margin-top: -24px; border-radius: 14px; display: grid; place-items: center; background: var(--green); color: white; box-shadow: 0 8px 18px rgba(28,81,57,.25); }
  .sales-flow { gap: 3px; margin-bottom: 15px; }
  .flow-step { justify-content: center; padding: 7px 3px; }
  .flow-step strong { display: none; }
  .next-action, .payment-share { align-items: stretch; flex-direction: column; }
  .next-action .button { width: 100%; }
  .price-plan { grid-template-columns: 1fr; }
}
@media print {
  body { background: white; }
  .topbar, .nav, footer, .print-actions { display: none !important; }
  .container { width: 100%; margin: 0; }
  .quote-sheet { box-shadow: none; width: 100%; padding: 20px; }
}
