:root {
  --ink: #17201d;
  --muted: #68736f;
  --line: #dce4e0;
  --paper: #f5f7f6;
  --white: #fff;
  --green: #153f36;
  --green-2: #23715e;
  --mint: #dff3ea;
  --yellow: #f2c85b;
  --red: #c95043;
  --blue: #3f6f90;
  --shadow: 0 12px 30px rgba(23, 32, 29, .08);
}
* { box-sizing: border-box; }
html { background: var(--paper); }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: Manrope, Arial, sans-serif; letter-spacing: 0; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
a { color: inherit; }
.marketing-site { background: white; }
.landing-wrap { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.landing-nav { width: min(1240px, calc(100% - 32px)); height: 72px; position: absolute; top: 0; left: 50%; z-index: 5; transform: translateX(-50%); display: flex; align-items: center; justify-content: space-between; gap: 24px; color: white; border-bottom: 1px solid rgba(255,255,255,.28); }
.landing-brand { display: inline-flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; font-size: 19px; font-weight: 800; }
.brand-logo-on-green { width: 40px; height: 40px; flex: none; display: block; object-fit: contain; }
.landing-nav nav { display: flex; align-items: center; gap: 28px; }
.landing-nav nav a { color: rgba(255,255,255,.84); text-decoration: none; font-size: 13px; font-weight: 700; }
.landing-nav > div { display: flex; align-items: center; gap: 16px; }
.light-link { color: white; }
.landing-nav-cta { min-height: 38px; color: var(--green); background: white; }
.landing-nav-cta:hover { color: white; }
.landing-hero { height: 82vh; min-height: 620px; max-height: 760px; position: relative; display: flex; align-items: center; overflow: hidden; color: white; background: url("assets/roofdays-hero.webp") center center / cover no-repeat; }
.hero-shade { position: absolute; inset: 0; background: rgba(7, 22, 18, .6); }
.hero-content { position: relative; z-index: 1; padding-top: 70px; }
.hero-kicker { margin: 0 0 13px; font-size: 12px; font-weight: 800; text-transform: uppercase; }
.hero-content h1 { margin: 0; font-size: 72px; line-height: .98; }
.hero-offer { margin: 15px 0 0; max-width: 660px; font-size: 31px; font-weight: 750; line-height: 1.2; }
.hero-copy { max-width: 620px; margin: 16px 0 0; color: rgba(255,255,255,.82); font-size: 16px; line-height: 1.65; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.hero-primary { min-height: 48px; background: var(--yellow); color: #263029; }
.hero-primary:hover { background: #ffda73; }
.hero-secondary { min-height: 48px; color: white; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.45); }
.hero-secondary:hover { background: rgba(255,255,255,.18); }
.hero-proof { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 28px; color: rgba(255,255,255,.76); font-size: 11px; font-weight: 700; }
.hero-proof span { display: flex; align-items: center; gap: 7px; }
.hero-proof svg { width: 15px; height: 15px; color: var(--yellow); }
.landing-band { padding: 78px 0; }
.outcome-band { padding: 42px 0; background: #edf3f0; }
.outcome-grid { display: grid; grid-template-columns: minmax(280px, .8fr) minmax(0, 1.2fr); gap: 70px; align-items: center; }
.outcome-grid h2, .section-heading h2, .product-copy h2, .faq-layout h2, .landing-cta h2 { margin: 4px 0 0; font-size: 35px; line-height: 1.18; }
.outcome-grid > p { margin: 0; color: #485650; font-size: 15px; line-height: 1.75; }
.product-band { background: white; }
.product-layout { display: grid; grid-template-columns: minmax(300px, .75fr) minmax(480px, 1.25fr); gap: 72px; align-items: center; }
.product-layout > * { min-width: 0; }
.product-copy > p:not(.eyebrow) { color: var(--muted); line-height: 1.7; }
.benefit-list { display: grid; gap: 12px; margin: 24px 0 0; padding: 0; list-style: none; color: #3f4d48; font-size: 13px; }
.benefit-list li { display: flex; align-items: flex-start; gap: 9px; }
.benefit-list svg { width: 17px; height: 17px; flex: none; color: var(--green-2); }
.product-preview { overflow: hidden; border: 1px solid #cdd9d4; border-radius: 7px; background: #f7f9f8; box-shadow: 0 24px 60px rgba(23,32,29,.13); }
.preview-top { min-height: 62px; display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; gap: 11px; align-items: center; padding: 10px 16px; color: white; background: var(--green); }
.preview-logo { width: 32px; height: 32px; }
.preview-top > strong { font-size: 13px; }
.preview-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-bottom: 1px solid var(--line); background: white; }
.preview-stats > div { min-height: 94px; display: grid; align-content: center; gap: 7px; padding: 15px; border-right: 1px solid var(--line); }
.preview-stats > div:last-child { border-right: 0; }
.preview-stats small { color: var(--muted); font-size: 10px; }
.preview-stats strong { font-size: 20px; }
.preview-lead { min-height: 74px; display: grid; grid-template-columns: 58px minmax(0, 1fr) auto; gap: 13px; align-items: center; padding: 12px 16px; border-bottom: 1px solid var(--line); background: white; }
.preview-lead:last-child { border-bottom: 0; }
.preview-lead > div strong, .preview-lead > div small { display: block; }
.preview-lead > div strong { font-size: 12px; }
.preview-lead > div small { margin-top: 4px; color: var(--muted); font-size: 10px; }
.feature-band { background: #18221f; color: white; }
.section-heading { max-width: 720px; margin-bottom: 34px; }
.feature-band .eyebrow { color: #7fd0b8; }
.feature-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid rgba(255,255,255,.18); border-bottom: 1px solid rgba(255,255,255,.18); }
.feature-grid article { min-height: 230px; padding: 28px 24px; border-right: 1px solid rgba(255,255,255,.18); }
.feature-grid article:last-child { border-right: 0; }
.feature-grid svg { width: 25px; height: 25px; color: var(--yellow); }
.feature-grid h3 { margin: 25px 0 9px; font-size: 17px; }
.feature-grid p { margin: 0; color: rgba(255,255,255,.65); font-size: 12px; line-height: 1.7; }
.pricing-band { background: #f5f7f6; }
.landing-pricing .price { min-height: 450px; }
.landing-pricing .price h3 { margin: 6px 0; font-size: 20px; }
.faq-band { background: white; }
.faq-layout { display: grid; grid-template-columns: minmax(250px, .7fr) minmax(0, 1.3fr); gap: 80px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { padding: 18px 0; border-bottom: 1px solid var(--line); }
.faq-list summary { cursor: pointer; font-size: 14px; font-weight: 800; }
.faq-list p { margin: 10px 0 0; color: var(--muted); font-size: 13px; line-height: 1.7; }
.landing-cta { padding: 70px 0; color: white; text-align: center; background: var(--green); }
.landing-cta .eyebrow { color: #8ed5c0; }
.landing-cta .hero-primary { margin-top: 24px; }
.landing-footer { padding: 28px 0; color: #d9e5e0; background: #111916; }
.landing-footer .landing-wrap { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 28px; align-items: center; }
.landing-footer .landing-brand { font-size: 15px; }
.landing-footer .brand-logo-on-green { width: 32px; height: 32px; }
.landing-footer p { margin: 0; color: #81918a; font-size: 11px; }
.landing-footer .text-button { color: #9fc9ba; }
.boot { min-height: 100vh; display: grid; place-content: center; text-align: center; color: var(--muted); }
.brand-mark { width: 44px; height: 44px; display: grid; place-items: center; margin: 0 auto; background: var(--green); color: white; font-weight: 800; border-radius: 7px; }
.auth-shell { min-height: 100vh; display: grid; grid-template-columns: minmax(300px, 1fr) minmax(360px, 520px); background: var(--white); }
.auth-scene { position: relative; min-height: 100vh; overflow: hidden; background: linear-gradient(135deg, #133c34 0%, #265f52 55%, #b4cdbb 100%); color: white; padding: clamp(32px, 6vw, 86px); display: flex; flex-direction: column; justify-content: space-between; }
.auth-scene::before { content: ""; position: absolute; inset: 0; opacity: .2; background-image: linear-gradient(30deg, transparent 48%, rgba(255,255,255,.35) 49%, transparent 51%), linear-gradient(150deg, transparent 48%, rgba(255,255,255,.2) 49%, transparent 51%); background-size: 110px 72px; }
.auth-scene > * { position: relative; }
.auth-logo { display: flex; align-items: center; gap: 12px; font-size: 21px; font-weight: 800; }
.auth-logo .brand-logo-on-green, .sidebar-brand .brand-logo-on-green { width: 44px; height: 44px; }
.auth-copy { max-width: 680px; }
.auth-copy h1 { margin: 0 0 18px; max-width: 760px; font-size: clamp(38px, 6vw, 76px); line-height: 1.02; letter-spacing: 0; }
.auth-copy p { margin: 0; max-width: 610px; font-size: clamp(16px, 2vw, 20px); line-height: 1.65; color: rgba(255,255,255,.82); }
.auth-panel { display: grid; align-content: center; padding: clamp(30px, 6vw, 72px); }
.auth-home { width: fit-content; margin-bottom: 28px; padding: 0; border: 0; color: var(--green-2); background: transparent; font-size: 12px; font-weight: 800; }
.auth-home svg { width: 14px; transform: rotate(180deg); vertical-align: middle; }
.auth-panel h2 { margin: 0 0 8px; font-size: 28px; }
.auth-panel > p { margin: 0 0 28px; color: var(--muted); line-height: 1.6; }
.form { display: grid; gap: 16px; }
.field { display: grid; gap: 7px; }
.field label { font-size: 13px; font-weight: 700; color: #43504c; }
.field input, .field select, .field textarea { width: 100%; min-height: 44px; border: 1px solid #cdd8d3; border-radius: 6px; background: white; padding: 10px 12px; color: var(--ink); outline: none; }
.field textarea { min-height: 90px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--green-2); box-shadow: 0 0 0 3px rgba(35,113,94,.12); }
.btn { min-height: 42px; border: 0; border-radius: 6px; padding: 9px 15px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-weight: 750; background: var(--green); color: white; text-decoration: none; }
.btn:hover { background: #0c3129; }
.btn.secondary { color: var(--ink); background: white; border: 1px solid var(--line); }
.btn.secondary:hover { background: #f0f4f2; }
.btn.danger { background: #fff0ee; color: #a5372d; border: 1px solid #efc5c0; }
.btn.small { min-height: 34px; padding: 6px 10px; font-size: 13px; }
.btn:disabled { cursor: not-allowed; opacity: .5; }
.text-button { border: 0; background: transparent; color: var(--green-2); padding: 8px 0; font-weight: 700; }
.landing-nav .light-link { color: white; }
.auth-switch { text-align: center; color: var(--muted); font-size: 14px; }
.demo-note { margin-top: 22px; border: 1px solid #d6e6df; background: #f2faf6; color: #355349; padding: 13px; border-radius: 6px; font-size: 13px; line-height: 1.5; }
.app-shell { min-height: 100vh; display: grid; grid-template-columns: 236px minmax(0, 1fr); }
.sidebar { position: sticky; top: 0; height: 100vh; padding: 20px 14px; background: var(--green); color: white; display: flex; flex-direction: column; }
.sidebar-brand { display: flex; gap: 11px; align-items: center; padding: 8px 9px 22px; }
.sidebar-brand strong { display: block; font-size: 18px; }
.sidebar-brand span:last-child { display: block; color: rgba(255,255,255,.6); font-size: 11px; margin-top: 2px; }
.nav { display: grid; gap: 4px; }
.nav button { width: 100%; min-height: 41px; border: 0; background: transparent; color: rgba(255,255,255,.72); border-radius: 5px; padding: 9px 11px; display: flex; align-items: center; gap: 11px; text-align: left; font-weight: 650; }
.nav button svg { width: 18px; height: 18px; flex: none; }
.nav button:hover, .nav button.active { color: white; background: rgba(255,255,255,.11); }
.sidebar-foot { margin-top: auto; padding: 14px 9px 4px; border-top: 1px solid rgba(255,255,255,.13); }
.sidebar-foot strong, .sidebar-foot span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sidebar-foot strong { font-size: 13px; }
.sidebar-foot span { color: rgba(255,255,255,.55); font-size: 11px; margin: 4px 0 10px; }
.sidebar-foot button { border: 0; padding: 0; background: transparent; color: rgba(255,255,255,.72); font-weight: 700; }
.main { min-width: 0; }
.topbar { height: 68px; position: sticky; top: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between; padding: 0 clamp(18px, 4vw, 42px); background: rgba(255,255,255,.94); border-bottom: 1px solid var(--line); backdrop-filter: blur(12px); }
.topbar strong { font-size: 15px; }
.topbar-actions { display: flex; align-items: center; gap: 10px; }
.plan-pill { padding: 6px 9px; border-radius: 999px; background: var(--mint); color: var(--green); font-size: 11px; font-weight: 800; text-transform: uppercase; }
.mobile-menu { display: none; width: 38px; height: 38px; border: 1px solid var(--line); background: white; border-radius: 5px; }
.content { width: min(1280px, 100%); margin: 0 auto; padding: 30px clamp(18px, 4vw, 42px) 56px; }
.page-head { display: flex; justify-content: space-between; align-items: end; gap: 18px; margin-bottom: 24px; }
.eyebrow { margin: 0 0 5px; color: var(--green-2); text-transform: uppercase; font-size: 11px; font-weight: 800; }
.page-head h1 { margin: 0; font-size: clamp(25px, 3vw, 34px); }
.page-head p:last-child { margin: 7px 0 0; color: var(--muted); line-height: 1.5; }
.grid { display: grid; gap: 16px; }
.grid > *, .panel { min-width: 0; }
.stats { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-bottom: 18px; }
.sales-grid { grid-template-columns: minmax(0, 1.25fr) minmax(300px, .75fr); margin-bottom: 16px; }
.stat { min-height: 116px; border: 1px solid var(--line); background: white; padding: 18px; border-radius: 7px; }
.stat-head { display: flex; justify-content: space-between; color: var(--muted); font-size: 12px; font-weight: 700; }
.stat-head svg { width: 18px; height: 18px; color: var(--green-2); }
.stat strong { display: block; margin-top: 14px; font-size: 27px; }
.stat small { color: var(--muted); }
.panel { border: 1px solid var(--line); background: white; border-radius: 7px; }
.panel-head { padding: 17px 18px; display: flex; align-items: center; justify-content: space-between; gap: 14px; border-bottom: 1px solid var(--line); }
.panel-head h2 { margin: 0; font-size: 16px; }
.panel-head p { margin: 3px 0 0; color: var(--muted); font-size: 12px; }
.panel-body { padding: 18px; }
.two-col { grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr); }
.follow-up-list { display: grid; }
.follow-up-row { width: 100%; min-height: 66px; display: grid; grid-template-columns: 38px minmax(0, 1fr) auto; gap: 11px; align-items: center; padding: 11px 18px; border: 0; border-bottom: 1px solid var(--line); background: white; color: var(--ink); text-align: left; }
.follow-up-row:last-child { border-bottom: 0; }
.follow-up-row:hover { background: #f7faf8; }
.follow-up-row strong, .follow-up-row small { display: block; }
.follow-up-row strong { font-size: 13px; }
.follow-up-row small { margin-top: 3px; color: var(--muted); font-size: 11px; }
.follow-up-icon { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 6px; background: var(--mint); color: var(--green-2); }
.follow-up-icon.overdue { background: #fde8e5; color: #a5372d; }
.follow-up-icon svg { width: 17px; height: 17px; }
.follow-up-value { color: var(--green); font-size: 12px; font-weight: 800; }
.pipeline-summary { padding: 7px 18px; }
.pipeline-row { min-height: 43px; display: grid; grid-template-columns: minmax(0, 1fr) 30px 80px; gap: 10px; align-items: center; border-bottom: 1px solid #edf1ef; font-size: 12px; }
.pipeline-row:last-child { border-bottom: 0; }
.pipeline-row > span { display: flex; align-items: center; gap: 8px; font-weight: 700; }
.pipeline-row > strong { text-align: center; }
.pipeline-row > small { color: var(--muted); text-align: right; }
.stage-dot { width: 8px; height: 8px; flex: none; border-radius: 50%; background: #a8b3ae; }
.stage-contacted { background: var(--blue); }
.stage-qualified { background: var(--yellow); }
.stage-quoted { background: #7c6ca8; }
.stage-won { background: var(--green-2); }
.weather-strip { grid-template-columns: repeat(7, minmax(95px, 1fr)); overflow-x: auto; padding-bottom: 4px; }
.weather-day { min-height: 172px; border: 1px solid var(--line); border-top: 4px solid var(--green-2); border-radius: 6px; padding: 13px; background: #fbfcfb; }
.weather-day.poor { border-top-color: var(--red); }
.weather-day.fair { border-top-color: var(--yellow); }
.weather-day strong { display: block; font-size: 13px; }
.weather-icon { margin: 13px 0; color: var(--green-2); }
.weather-icon svg { width: 25px; height: 25px; }
.weather-score { font-size: 22px; font-weight: 800; }
.weather-day small { display: block; color: var(--muted); font-size: 11px; line-height: 1.6; }
.list { display: grid; }
.list-row { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(100px, .7fr)) auto; gap: 14px; align-items: center; padding: 15px 18px; border-bottom: 1px solid var(--line); }
.list-row:last-child { border-bottom: 0; }
.list-row strong { display: block; font-size: 13px; }
.list-row small { color: var(--muted); line-height: 1.5; }
.list-row .lead-meta { margin-top: 4px; color: var(--green-2); font-size: 10px; font-weight: 750; }
.job-weather { display: flex; align-items: center; gap: 5px; margin-top: 5px; color: var(--green-2) !important; font-size: 10px; font-weight: 750; }
.job-weather svg, .crew-label svg { width: 13px; height: 13px; flex: none; }
.job-actions { display: grid; justify-items: end; gap: 6px; }
.crew-label { display: flex; align-items: center; gap: 4px; color: var(--muted); font-size: 10px; font-weight: 750; white-space: nowrap; }
.assignment-editor { position: relative; }
.assignment-editor summary { display: flex; align-items: center; gap: 5px; cursor: pointer; color: var(--green-2); font-size: 10px; font-weight: 800; list-style: none; }
.assignment-editor summary::-webkit-details-marker { display: none; }
.assignment-editor summary svg { width: 14px; height: 14px; }
.assignment-form { width: min(260px, calc(100vw - 48px)); position: absolute; right: 0; z-index: 4; display: grid; gap: 8px; margin-top: 7px; padding: 12px; border: 1px solid var(--line); border-radius: 6px; background: white; box-shadow: var(--shadow); }
.assignment-form label, .crew-picker label { display: flex; align-items: center; gap: 7px; color: var(--ink); font-size: 11px; font-weight: 700; overflow-wrap: anywhere; }
.assignment-form input, .crew-picker input { accent-color: var(--green-2); }
.crew-picker { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 9px 16px; margin: 2px 0 0; padding: 10px 0 0; border: 0; border-top: 1px solid var(--line); }
.crew-picker legend { padding: 0 8px 0 0; color: var(--muted); font-size: 10px; font-weight: 800; text-transform: uppercase; }
.crew-picker > div { display: flex; flex-wrap: wrap; gap: 8px 16px; }
.list-row .overdue-text { color: #a5372d; }
.source-cell { display: grid; gap: 5px; justify-items: start; }
.source-cell small { display: flex; align-items: center; gap: 4px; color: var(--green-2); font-size: 9px; font-weight: 800; text-transform: uppercase; }
.source-cell svg { width: 11px; height: 11px; }
.lead-stage-cell { display: grid; gap: 5px; justify-items: start; }
.lead-stage-cell small { font-size: 10px; font-weight: 750; }
.compact-job { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 15px 18px; border-bottom: 1px solid var(--line); }
.compact-job:last-child { border-bottom: 0; }
.compact-job strong, .compact-job small { display: block; }
.compact-job strong { font-size: 13px; }
.compact-job small { color: var(--muted); font-size: 11px; line-height: 1.5; }
.compact-job > div:last-child { text-align: right; }
.compact-job .badge { margin: 0 0 5px auto; }
.badge { width: fit-content; display: inline-flex; padding: 5px 8px; border-radius: 999px; background: #edf2f0; color: #43504c; font-size: 10px; font-weight: 800; text-transform: uppercase; }
.badge.good { background: var(--mint); color: var(--green); }
.badge.warn { background: #fff4d7; color: #755a14; }
.badge.bad { background: #fde8e5; color: #98372d; }
.lead-table-head { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(100px, .7fr)) 78px; gap: 14px; align-items: center; padding: 10px 18px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #f7f9f8; color: var(--muted); font-size: 10px; font-weight: 800; text-transform: uppercase; }
.lead-table-head span:last-child { text-align: right; }
.score { width: 58px; min-height: 46px; display: grid; place-content: center; gap: 2px; text-align: center; border-radius: 6px; background: var(--mint); color: var(--green); }
.score strong { font-size: 14px; line-height: 1; }
.score small { color: inherit; font-size: 8px; font-weight: 800; line-height: 1; text-transform: uppercase; }
.row-actions { display: flex; align-items: center; gap: 6px; }
.icon-button { width: 36px; height: 36px; flex: none; display: grid; place-items: center; padding: 0; border: 1px solid var(--line); border-radius: 6px; background: white; color: var(--ink); }
.icon-button:hover { background: #f0f4f2; }
.icon-button svg { width: 17px; height: 17px; }
.danger-icon { color: #a5372d; background: #fff8f7; border-color: #efd4d0; }
.drawer-layer { position: fixed; inset: 0; z-index: 80; display: flex; justify-content: flex-end; background: rgba(13, 24, 20, .42); }
.lead-drawer { width: min(580px, 100vw); height: 100vh; display: grid; grid-template-rows: auto minmax(0, 1fr); background: var(--white); box-shadow: -18px 0 50px rgba(13, 24, 20, .18); }
.drawer-head { min-height: 96px; padding: 20px 22px; display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; border-bottom: 1px solid var(--line); }
.drawer-head h2 { margin: 0; font-size: 19px; line-height: 1.35; }
.drawer-head p:last-child { margin: 5px 0 0; color: var(--muted); font-size: 12px; }
.drawer-scroll { min-height: 0; overflow-y: auto; padding: 20px 22px 36px; }
.lead-summary { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 16px; align-items: center; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.lead-summary p, .next-action p { margin: 5px 0 0; color: var(--muted); font-size: 13px; line-height: 1.6; }
.roof-reading { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 18px; padding: 14px 15px; border: 1px solid #cfe0d9; border-left: 4px solid var(--green-2); background: #f2f8f5; }
.roof-reading span, .roof-reading strong { display: block; }
.roof-reading span { color: var(--green-2); font-size: 10px; font-weight: 800; text-transform: uppercase; }
.roof-reading strong { margin-top: 4px; color: var(--ink); font-size: 13px; line-height: 1.5; }
.roof-reading svg { width: 22px; height: 22px; flex: none; color: var(--green-2); }
.lead-score { width: 78px; height: 78px; display: grid; place-content: center; text-align: center; border-radius: 50%; background: var(--mint); color: var(--green); }
.lead-score span { font-size: 25px; font-weight: 800; line-height: 1; }
.lead-score small { margin-top: 5px; font-size: 9px; font-weight: 800; text-transform: uppercase; }
.detail-section { padding: 20px 0; border-bottom: 1px solid var(--line); }
.detail-section h3 { margin: 0 0 13px; font-size: 14px; }
.detail-list { display: grid; gap: 0; }
.detail-list > div { display: grid; grid-template-columns: minmax(120px, .7fr) minmax(0, 1.3fr); gap: 16px; padding: 10px 0; border-bottom: 1px solid #edf1ef; font-size: 12px; }
.detail-list > div:last-child { border-bottom: 0; }
.detail-list span { color: var(--muted); }
.detail-list strong { text-align: right; overflow-wrap: anywhere; }
.next-action { margin: 20px 0 0; padding: 15px; border-left: 4px solid var(--yellow); background: #fff9e9; }
.section-title { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }
.section-title h3 { margin-bottom: 2px; }
.section-title p { margin: 0; color: var(--muted); font-size: 11px; }
.section-title svg { width: 20px; color: var(--green-2); }
.message-editor { width: 100%; min-height: 250px; margin: 14px 0 10px; padding: 13px; resize: vertical; border: 1px solid #cdd8d3; border-radius: 6px; color: var(--ink); background: white; font: 13px/1.65 Manrope, Arial, sans-serif; }
.message-editor:focus { outline: none; border-color: var(--green-2); box-shadow: 0 0 0 3px rgba(35,113,94,.12); }
.progress-form { display: grid; gap: 14px; margin-top: 15px; }
.progress-form select { width: 100%; min-height: 42px; padding: 8px 11px; border: 1px solid #cdd8d3; border-radius: 6px; background: white; }
.money-input { position: relative; }
.money-input span { position: absolute; left: 12px; top: 50%; z-index: 1; transform: translateY(-50%); color: var(--muted); font-weight: 700; }
.money-input input { padding-left: 28px; }
.follow-up-presets { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.follow-up-presets button { min-height: 32px; padding: 5px 7px; border: 1px solid var(--line); border-radius: 5px; background: white; color: var(--green-2); font-size: 10px; font-weight: 750; }
.follow-up-presets button:hover { background: #f0f4f2; }
.activity-line { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 13px; }
.activity-line span { padding: 5px 7px; border-radius: 4px; background: #edf2f0; color: var(--muted); font-size: 10px; font-weight: 700; }
.muted { color: var(--muted); font-size: 11px; line-height: 1.5; }
.empty { padding: 44px 20px; color: var(--muted); text-align: center; }
.empty svg { width: 28px; height: 28px; margin-bottom: 8px; color: #8ba098; }
.inline-form { display: grid; grid-template-columns: repeat(4, minmax(130px, 1fr)) auto; gap: 10px; align-items: end; }
.inline-form .field { gap: 5px; }
.inline-form .field input, .inline-form .field select { min-height: 40px; }
.search-meter { min-width: 190px; }
.meter-label { display: flex; justify-content: space-between; margin-bottom: 7px; color: var(--muted); font-size: 11px; }
.meter { height: 6px; overflow: hidden; background: #e5ebe8; border-radius: 9px; }
.meter span { height: 100%; display: block; background: var(--green-2); }
.auto-monitor { min-height: 108px; display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; gap: 16px; align-items: center; margin-bottom: 16px; padding: 18px; border: 1px solid #cfe0d9; border-left: 4px solid var(--green-2); border-radius: 7px; background: #f2f8f5; }
.auto-monitor.teaser { border-left-color: var(--yellow); background: #fffaf0; }
.auto-monitor h2 { margin: 0; font-size: 16px; }
.auto-monitor p:last-child { margin: 5px 0 0; color: var(--muted); font-size: 12px; line-height: 1.55; }
.auto-icon { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 6px; color: var(--green-2); background: white; border: 1px solid #d7e4df; }
.auto-icon svg { width: 22px; height: 22px; }
.monitor-toggle { display: grid; grid-template-columns: 36px minmax(0, auto); gap: 7px; align-items: center; cursor: pointer; }
.monitor-toggle input { position: absolute; opacity: 0; pointer-events: none; }
.monitor-toggle > span { width: 36px; height: 20px; position: relative; border-radius: 11px; background: #aeb9b4; transition: .18s ease; }
.monitor-toggle > span::after { content: ""; width: 14px; height: 14px; position: absolute; top: 3px; left: 3px; border-radius: 50%; background: white; transition: .18s ease; }
.monitor-toggle input:checked + span { background: var(--green-2); }
.monitor-toggle input:checked + span::after { transform: translateX(16px); }
.monitor-toggle input:focus-visible + span { outline: 3px solid rgba(35,113,94,.2); }
.monitor-toggle small { font-size: 10px; font-weight: 750; white-space: nowrap; }
.compact-link { font-size: 11px; }
.pricing { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; }
.price { padding: 24px; border: 1px solid var(--line); background: white; border-radius: 7px; display: flex; flex-direction: column; }
.price.featured { border: 2px solid var(--green-2); box-shadow: var(--shadow); }
.price h2 { margin: 6px 0; }
.price .amount { font-size: 34px; font-weight: 800; }
.price .amount small { font-size: 12px; color: var(--muted); }
.price ul { padding: 0; margin: 20px 0 26px; display: grid; gap: 11px; list-style: none; color: #46534f; font-size: 13px; }
.price li::before { content: "✓"; margin-right: 8px; color: var(--green-2); font-weight: 800; }
.price .btn { margin-top: auto; }
.settings-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-bottom: 16px; }
.team-list-panel { margin-top: 16px; }
.team-seat-count { padding: 8px 10px; border: 1px solid #cfe0d9; border-radius: 5px; background: var(--mint); color: var(--green); font-size: 11px; font-weight: 800; }
.team-invite-form { grid-template-columns: minmax(0, 1fr) auto; align-items: end; }
.form-hint { margin: 12px 0 0; color: var(--muted); font-size: 11px; line-height: 1.55; }
.team-permissions { display: grid; gap: 12px; padding: 18px; }
.team-permissions span { display: flex; align-items: center; gap: 9px; color: #46534f; font-size: 12px; font-weight: 700; }
.team-permissions svg { width: 16px; height: 16px; color: var(--green-2); }
.team-permissions span:last-child svg { color: #a5372d; }
.team-row { display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; gap: 11px; align-items: center; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.team-row:last-child { border-bottom: 0; }
.team-row strong, .team-row small { display: block; }
.team-row strong { font-size: 13px; overflow-wrap: anywhere; }
.team-row small { margin-top: 3px; color: var(--muted); font-size: 11px; }
.team-avatar { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: var(--mint); color: var(--green); font-size: 13px; font-weight: 800; }
.team-avatar.pending { background: #fff4d7; color: #755a14; }
.team-upgrade, .team-member-note { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 18px; align-items: center; padding: 22px; border: 1px solid #cfe0d9; border-left: 4px solid var(--green-2); border-radius: 7px; background: #f2f8f5; }
.team-upgrade h2, .team-member-note h2 { margin: 0; font-size: 18px; }
.team-upgrade p:last-child, .team-member-note p { margin: 7px 0 0; color: var(--muted); font-size: 13px; line-height: 1.6; }
.team-member-note { grid-template-columns: 44px minmax(0, 1fr); }
.team-member-note > svg { width: 30px; height: 30px; color: var(--green-2); }
.billing-summary { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 16px 0; }
.billing-summary div { padding: 12px; border: 1px solid var(--line); background: var(--paper); }
.billing-summary span, .billing-summary strong { display: block; }
.billing-summary span { color: var(--muted); font-size: 11px; margin-bottom: 4px; }
.billing-summary strong { font-size: 13px; text-transform: capitalize; }
.notice { padding: 12px 14px; background: #fff8e5; border: 1px solid #eedda7; border-radius: 6px; color: #69551f; font-size: 12px; line-height: 1.5; }
.toast { position: fixed; right: 20px; bottom: 20px; z-index: 99; max-width: min(380px, calc(100vw - 40px)); padding: 12px 15px; border-radius: 6px; color: white; background: #1e2925; box-shadow: var(--shadow); transform: translateY(20px); opacity: 0; pointer-events: none; transition: .2s ease; font-size: 13px; }
.toast.show { transform: translateY(0); opacity: 1; }
.toast.error { background: #9b3d34; }
.loading-line { height: 3px; position: fixed; inset: 0 0 auto; z-index: 100; overflow: hidden; background: #dbe8e3; }
.loading-line::after { content: ""; display: block; width: 35%; height: 100%; background: var(--green-2); animation: loading 1s infinite ease-in-out; }
@keyframes loading { from { transform: translateX(-100%); } to { transform: translateX(380%); } }
@media (max-width: 980px) {
  .product-layout { grid-template-columns: 1fr; gap: 40px; }
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature-grid article:nth-child(2) { border-right: 0; }
  .feature-grid article:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.18); }
  .auth-shell { grid-template-columns: 1fr; }
  .auth-scene { min-height: 42vh; }
  .auth-copy h1 { font-size: 42px; }
  .app-shell { grid-template-columns: 1fr; }
  .sidebar { position: fixed; left: -250px; z-index: 50; width: 236px; transition: left .2s ease; }
  .sidebar.open { left: 0; box-shadow: 20px 0 50px rgba(0,0,0,.2); }
  .mobile-menu { display: grid; place-items: center; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .two-col, .settings-grid, .sales-grid, .team-grid { grid-template-columns: 1fr; }
  .inline-form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .inline-form .btn { align-self: stretch; }
}
@media (max-width: 680px) {
  .landing-wrap { width: calc(100% - 32px); }
  .landing-nav { width: calc(100% - 24px); height: 62px; }
  .landing-nav nav { display: none; }
  .landing-nav .light-link { display: block; font-size: 11px; }
  .landing-nav > div { gap: 10px; }
  .landing-nav-cta { min-height: 36px; padding: 7px 11px; }
  .landing-hero { height: 86vh; min-height: 560px; max-height: 680px; background-position: 61% center; }
  .hero-shade { background: rgba(7,22,18,.66); }
  .hero-content { padding-top: 52px; }
  .hero-content h1 { font-size: 46px; }
  .hero-offer { max-width: 340px; font-size: 23px; }
  .hero-copy { max-width: 350px; font-size: 14px; line-height: 1.55; }
  .hero-actions { display: grid; width: 100%; max-width: 330px; margin-top: 20px; }
  .hero-proof { display: grid; gap: 7px; margin-top: 18px; }
  .landing-band { padding: 54px 0; }
  .outcome-band { padding: 34px 0; }
  .outcome-grid, .faq-layout { grid-template-columns: 1fr; gap: 24px; }
  .outcome-grid h2, .section-heading h2, .product-copy h2, .faq-layout h2, .landing-cta h2 { font-size: 28px; }
  .product-layout { grid-template-columns: 1fr; gap: 34px; }
  .product-preview { width: calc(100% + 8px); margin-left: -4px; }
  .preview-stats > div { min-height: 80px; padding: 10px; }
  .preview-stats strong { font-size: 16px; }
  .preview-lead { grid-template-columns: 54px minmax(0, 1fr); }
  .preview-lead > .badge { display: none; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-grid article { min-height: 190px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.18); }
  .feature-grid article:last-child { border-bottom: 0; }
  .landing-footer .landing-wrap { grid-template-columns: 1fr auto; gap: 14px; }
  .landing-footer p { grid-column: 1 / -1; grid-row: 2; }
  .auth-scene { min-height: 360px; padding: 28px 22px; }
  .auth-copy h1 { font-size: 36px; }
  .auth-panel { padding: 38px 22px; }
  .topbar { height: 60px; }
  .content { padding-top: 22px; }
  .page-head { align-items: flex-start; flex-direction: column; }
  .stats, .pricing { grid-template-columns: 1fr; }
  .stat { min-height: 100px; }
  .inline-form { grid-template-columns: 1fr; }
  .auto-monitor { grid-template-columns: 42px minmax(0, 1fr); align-items: start; }
  .auto-monitor > .btn { grid-column: 1 / -1; }
  .list-row { grid-template-columns: 1fr auto; }
  .lead-table-head { display: none; }
  .list-row > *:not(:first-child):not(:last-child) { display: none; }
  .lead-row .row-actions { display: flex; }
  .job-row .job-actions { display: flex; align-items: center; }
  .job-row .crew-label { display: none; }
  .drawer-head, .drawer-scroll { padding-left: 18px; padding-right: 18px; }
  .detail-list > div { grid-template-columns: 1fr; gap: 4px; }
  .detail-list strong { text-align: left; }
  .follow-up-row { grid-template-columns: 34px minmax(0, 1fr); }
  .follow-up-value { display: none; }
  .follow-up-presets { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .plan-pill { display: none; }
  .team-invite-form { grid-template-columns: 1fr; }
  .team-upgrade { grid-template-columns: 1fr; }
}
