:root {
    --ink: #1c2926;
    --muted: #687570;
    --line: #dce4df;
    --paper: #fbfcfa;
    --white: #fff;
    --surface-muted: #f3f7f4;
    --green: #176b57;
    --green-dark: #104d40;
    --mint: #e8f2ed;
    --coral: #df795f;
    --soft-coral: #fbede7;
    --shadow: 0 8px 24px rgba(22, 45, 36, .065);
    --radius-sm: 4px;
    --radius-md: 6px;
    --font-body: 'DM Sans', sans-serif;
    --font-display: 'Manrope', sans-serif;
    font-family: var(--font-body);
    color: var(--ink);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font-body); }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid rgba(23, 107, 87, .38); outline-offset: 2px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font: 800 17px var(--font-display); }
.brand-mark { display: grid; width: 32px; height: 32px; place-items: center; background: var(--green); color: white; font-size: 15px; }
.public-header, .app-header { min-height: 74px; padding: 0 clamp(22px, 6vw, 92px); display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); background: rgba(251, 252, 250, .96); }
.public-nav, .app-nav, .account-menu { display: flex; align-items: center; gap: clamp(18px, 3vw, 38px); font-size: 13px; font-weight: 600; }
.public-nav a:not(.button), .app-nav a { color: #52615a; }
.public-nav a:not(.button):hover, .app-nav a:hover { color: var(--green); }
.app-header { position: sticky; top: 0; z-index: 5; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: 'brand nav account'; gap: clamp(12px, 1.6vw, 24px); padding-left: clamp(20px, 3.4vw, 56px); padding-right: clamp(20px, 3.4vw, 56px); background: rgba(255,255,255,.98); box-shadow: 0 2px 10px rgba(22, 45, 36, .045); }
.app-header > .brand { grid-area: brand; }
.app-nav { grid-area: nav; min-width: 0; justify-content: center; gap: clamp(4px, .8vw, 12px); overflow-x: auto; scrollbar-width: thin; scrollbar-color: #c5d7cc transparent; }
.app-nav a { flex: 0 0 auto; padding: 8px 9px; border-radius: var(--radius-sm); font-size: 12px; white-space: nowrap; }
.app-nav a:hover { background: var(--mint); }
.app-nav::-webkit-scrollbar { height: 4px; }
.app-nav::-webkit-scrollbar-thumb { background: #c5d7cc; }
.account-menu { grid-area: account; white-space: nowrap; }
.account-menu { gap: 16px; }
.account-menu form { margin: 0; }
.button { min-height: 43px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 10px 18px; border: 1px solid transparent; border-radius: var(--radius-sm); font-size: 13px; font-weight: 700; transition: background .18s, box-shadow .18s, transform .18s; cursor: pointer; }
.button:hover { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(22, 45, 36, .1); }
.button-primary { background: var(--green); color: white; }
.button-primary:hover { background: var(--green-dark); color: white; }
.button-outline { border-color: #b9c9c1; background: var(--white); color: var(--ink); }
.button-outline:hover { border-color: var(--green); color: var(--green); }
.button-quiet { min-height: 34px; padding: 5px 10px; border-color: var(--line); background: white; color: var(--ink); }
.button-wide { width: 100%; min-height: 48px; }
.hero-band { min-height: 570px; padding: 76px clamp(22px, 8.2vw, 128px) 80px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(370px, .84fr); align-items: center; gap: clamp(44px, 8vw, 128px); overflow: hidden; background: radial-gradient(ellipse at 84% 14%, rgba(228, 240, 232, .85), transparent 38%), linear-gradient(120deg, #fbfcfa 55%, #f1f6f1); }
.hero-copy { max-width: 610px; animation: rise .55s ease-out both; }
.eyebrow { margin: 0 0 13px; color: var(--green); font-size: 10px; font-weight: 800; letter-spacing: 1.3px; text-transform: uppercase; }
h1, h2, h3 { font-family: var(--font-display); letter-spacing: 0; }
.hero-copy h1 { max-width: 670px; margin: 0; font-size: clamp(42px, 5.2vw, 69px); line-height: 1.08; font-weight: 700; }
.hero-copy h1 em { color: var(--green); font-style: normal; }
.hero-lede { max-width: 535px; margin: 24px 0 27px; color: var(--muted); font-size: 16px; line-height: 1.75; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 11px; }
.hero-note { display: flex; align-items: center; gap: 11px; margin-top: 32px; color: #687570; font-size: 11px; }
.note-rule { width: 26px; height: 2px; background: var(--coral); }
.hero-visual { min-height: 342px; padding: 25px 27px; position: relative; background: var(--white); border: 1px solid #e0e7e2; box-shadow: var(--shadow); animation: rise .65s .08s ease-out both; }
.hero-visual::before { content: ''; position: absolute; top: -12px; right: -12px; width: 95px; height: 95px; border-top: 2px solid var(--coral); border-right: 2px solid var(--coral); }
.visual-topline, .visual-bottom { display: flex; align-items: center; justify-content: space-between; color: #738079; font-size: 9px; font-weight: 800; letter-spacing: .8px; }
.live-dot { color: var(--green); }
.live-dot::before { content: ''; display: inline-block; width: 6px; height: 6px; margin: 0 6px 1px 0; border-radius: 50%; background: var(--green); }
.visual-title { margin-top: 26px; font: 700 19px 'Manrope', sans-serif; }
.visual-subtitle { margin-top: 5px; color: var(--muted); font-size: 11px; }
.workflow-steps { min-height: 164px; margin-top: 27px; display: grid; grid-template-columns: 1fr 24px 1fr 24px 1fr; align-items: center; }
.workflow-steps > div { min-width: 0; display: grid; justify-items: start; gap: 7px; }
.workflow-steps > div > span { width: 28px; height: 28px; display: grid; place-items: center; background: var(--mint); color: var(--green); font-size: 9px; font-weight: 800; }
.workflow-steps strong { font: 700 12px 'Manrope', sans-serif; }
.workflow-steps small { color: var(--muted); font-size: 9px; line-height: 1.4; }
.workflow-steps > i { height: 1px; background: #c6d8cd; }
.visual-stat-row { display: flex; gap: clamp(17px, 3vw, 39px); margin-top: 25px; }
.visual-stat-row div { display: grid; gap: 3px; }
.visual-stat-row strong { font: 700 22px 'Manrope', sans-serif; }
.visual-stat-row span { color: #77827d; font-size: 8px; font-weight: 800; letter-spacing: .65px; }
.visual-chart { height: 83px; margin-top: 15px; display: flex; align-items: end; gap: 8px; border-bottom: 1px solid var(--line); background: repeating-linear-gradient(to bottom, transparent 0, transparent 26px, #edf1ed 27px); }
.visual-chart span { flex: 1; height: var(--bar); background: #97b9a7; animation: grow .7s ease-out both; transform-origin: bottom; }
.visual-chart span:nth-child(3n) { background: var(--green); }
.visual-chart span:last-child { background: var(--coral); }
.visual-bottom { margin-top: 10px; font-size: 9px; font-weight: 500; letter-spacing: 0; }
.visual-bottom i { display: inline-block; width: 7px; height: 7px; margin-right: 5px; background: var(--green); }
.feature-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; padding: 55px clamp(22px, 8.2vw, 128px); background: white; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.feature-strip > div { padding: 4px 33px 4px 0; }
.feature-strip > div + div { padding-left: 33px; border-left: 1px solid var(--line); }
.feature-number { color: var(--coral); font-size: 10px; font-weight: 800; }
.feature-strip h2 { margin: 12px 0 8px; font-size: 18px; }
.feature-strip p, .solutions-row p { max-width: 310px; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.65; }
.solutions-row { padding: 65px clamp(22px, 8.2vw, 128px) 74px; display: grid; grid-template-columns: .8fr 1.2fr; align-items: center; gap: 65px; }
.solutions-row h2 { margin: 0; font-size: 30px; line-height: 1.25; }
.solution-tags { display: flex; flex-wrap: wrap; gap: 9px; }
.solution-tags span { padding: 9px 12px; border: 1px solid var(--line); background: white; color: #52615a; font-size: 11px; }
.site-footer { min-height: 56px; display: flex; align-items: center; justify-content: space-between; padding: 16px clamp(22px, 8.2vw, 128px); border-top: 1px solid var(--line); color: #78847e; font-size: 10px; }
.auth-layout { min-height: calc(100vh - 120px); display: grid; grid-template-columns: minmax(300px, .85fr) minmax(440px, 1.15fr); }
.auth-intro { padding: clamp(55px, 8vw, 100px) clamp(28px, 7vw, 100px); background: #eaf2ed; }
.auth-intro h1 { max-width: 460px; margin: 0; font-size: clamp(37px, 4vw, 54px); line-height: 1.13; }
.auth-intro > p:not(.eyebrow) { max-width: 420px; margin: 19px 0 42px; color: var(--muted); font-size: 14px; line-height: 1.7; }
.auth-proof { display: flex; align-items: center; gap: 13px; margin: 16px 0; color: #45534d; font-size: 12px; }
.proof-icon { display: grid; width: 29px; height: 29px; place-items: center; border: 1px solid #b8cbc0; color: var(--green); font-size: 9px; font-weight: 800; }
.auth-panel { width: min(100%, 610px); padding: 54px clamp(24px, 6vw, 76px); justify-self: center; align-self: center; }
.auth-panel h2 { margin: 0 0 27px; font-size: 25px; }
.auth-login-layout { grid-template-columns: minmax(320px, .92fr) minmax(480px, 1.08fr); background: white; }
.auth-login-layout .auth-intro { display: flex; flex-direction: column; justify-content: center; padding-left: clamp(36px, 7vw, 104px); }
.auth-login-layout .auth-intro > p:not(.eyebrow) { margin-bottom: 34px; }
.auth-login-card { width: min(100% - 48px, 520px); margin: 24px auto; padding: clamp(30px, 4vw, 52px); border: 1px solid #e1e9e4; border-radius: 8px; background: #fff; box-shadow: 0 12px 32px rgba(22, 45, 36, .07); }
.auth-login-card h2 { margin-bottom: 9px; font-size: 27px; }
.auth-panel-copy { margin: 0 0 25px; color: var(--muted); font-size: 12px; line-height: 1.6; }
.auth-login-card .form-stack { gap: 18px; }
.auth-login-card .form-control { min-height: 49px; }
.auth-login-card .button-wide { min-height: 49px; margin-top: 3px; }
.auth-login-card .auth-switch { margin-top: 22px; text-align: left; }
.form-stack { display: grid; gap: 15px; }
.form-stack label { display: grid; gap: 7px; color: #35423c; font-size: 12px; font-weight: 700; }
.form-control, .form-select { min-height: 44px; border: 1px solid #cbd8d0; border-radius: var(--radius-sm); background-color: var(--white); color: var(--ink); font-family: inherit; font-size: 13px; transition: border-color .15s, box-shadow .15s; }
.form-control:hover, .form-select:hover { border-color: #a9beb1; }
.form-control:focus, .form-select:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(23, 107, 87, .12); }
.form-stack textarea.form-control { min-height: 90px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-stack hr { width: 100%; margin: 3px 0; border-color: var(--line); }
.optional { color: #849089; font-size: 10px; font-weight: 500; }
.auth-switch { margin: 19px 0 0; color: var(--muted); font-size: 12px; text-align: center; }
.auth-switch a, .text-link { color: var(--green); font-weight: 700; }
.content-wrap { max-width: 1360px; min-height: calc(100vh - 120px); margin: 0 auto; padding: 46px clamp(22px, 4vw, 64px) 72px; }
.page-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 30px; }
.page-heading h1 { margin: 0; font-size: 32px; line-height: 1.15; }
.page-heading p:not(.eyebrow) { margin: 8px 0 0; color: var(--muted); font-size: 13px; line-height: 1.55; }
.metric-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: var(--radius-md); background: white; overflow: hidden; }
.metric { min-height: 133px; padding: 20px 19px; display: flex; flex-direction: column; border-right: 1px solid var(--line); }
.metric:last-child { border-right: 0; }
.metric > span { color: var(--muted); font-size: 11px; font-weight: 600; }
.metric strong { margin-top: 12px; font: 700 29px 'Manrope', sans-serif; }
.metric small { margin-top: auto; color: #88938d; font-size: 10px; }
.dashboard-columns { display: grid; grid-template-columns: 1.2fr .8fr; gap: 26px; margin-top: 35px; }
.dashboard-section { min-width: 0; padding: 23px 0; }
.activity-panel { padding: 23px 24px; background: white; border: 1px solid var(--line); }
.section-heading { display: flex; justify-content: space-between; align-items: center; margin-bottom: 17px; }
.section-heading .eyebrow { margin-bottom: 5px; }
.section-heading h2 { margin: 0; font-size: 18px; line-height: 1.3; }
.section-heading > a { color: var(--green); font-size: 11px; font-weight: 700; }
.project-list { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-sm); background: white; }
.project-row { min-height: 73px; padding: 13px 11px; display: flex; align-items: center; gap: 13px; border-bottom: 1px solid var(--line); background: white; transition: background .15s, box-shadow .15s; }
.project-row:hover { background: #f5f8f5; }
.project-icon { display: grid; flex: 0 0 34px; width: 34px; height: 34px; place-items: center; background: var(--mint); color: var(--green); font: 700 12px 'Manrope', sans-serif; }
.project-name { flex: 1; min-width: 0; display: grid; gap: 4px; }
.project-name strong { overflow: hidden; color: var(--ink); font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.project-name small { color: #88938d; font-size: 10px; }
.status-pill { padding: 5px 8px; background: #eff2ef; color: #56635c; font-size: 9px; font-weight: 800; text-transform: uppercase; white-space: nowrap; }
.status-active, .status-approved { background: var(--mint); color: var(--green); }
.status-draft, .status-pending { background: #f1f2ef; color: #6f7772; }
.status-paused, .status-returned { background: var(--soft-coral); color: #a9513a; }
.status-completed { background: #e8f0f5; color: #3f6376; }
.status-archived, .status-rejected { background: #f3e9e9; color: #8a4444; }
.row-arrow { color: #89938e; font-size: 15px; }
.empty-inline { padding: 26px 16px; border: 1px dashed #cbd7d0; border-radius: var(--radius-sm); background: #fff; }
.empty-inline strong { font-size: 12px; }
.empty-inline p { margin: 6px 0 10px; color: var(--muted); font-size: 11px; line-height: 1.55; }
.text-link { font-size: 11px; }
.status-bars { display: grid; gap: 13px; }
.status-line > div { display: flex; justify-content: space-between; margin-bottom: 5px; color: #606d66; font-size: 10px; }
.status-line strong { color: var(--ink); }
.status-track { height: 5px; display: block; background: #edf1ed; }
.status-track i { height: 100%; display: block; background: var(--green); }
.status-line:nth-child(4n) .status-track i { background: var(--coral); }
.next-action { margin-top: 23px; padding-top: 16px; display: flex; align-items: center; gap: 11px; border-top: 1px solid var(--line); }
.action-symbol { display: grid; width: 30px; height: 30px; place-items: center; background: var(--soft-coral); color: #a9513a; }
.next-action div { flex: 1; }
.next-action strong { font-size: 10px; }
.next-action p { margin: 3px 0 0; color: var(--muted); font-size: 9px; }
.next-action > a { color: var(--green); font-size: 16px; }
.empty-state { min-height: 280px; padding: 45px 22px; display: grid; justify-items: center; align-content: center; text-align: center; border: 1px dashed #cbd7d0; background: white; }
.empty-mark { width: 38px; height: 38px; margin-bottom: 15px; display: grid; place-items: center; background: var(--mint); color: var(--green); font-size: 20px; }
.empty-state h2 { margin: 0; font-size: 20px; }
.empty-state p { max-width: 440px; margin: 8px 0 19px; color: var(--muted); font-size: 12px; line-height: 1.65; }
.create-panel { margin-top: 45px; padding: 28px; display: grid; grid-template-columns: .8fr 1.2fr; gap: 45px; border: 1px solid var(--line); border-radius: var(--radius-md); background: white; }
.create-panel h2 { margin: 0 0 9px; font-size: 21px; }
.create-panel > div > p:not(.eyebrow) { max-width: 310px; color: var(--muted); font-size: 12px; line-height: 1.6; }
.project-detail-grid { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 28px; border: 1px solid var(--line); background: white; }
.detail-block { min-height: 97px; padding: 18px; display: grid; align-content: center; gap: 10px; border-right: 1px solid var(--line); }
.detail-block:last-child { border-right: 0; }
.detail-block span { color: var(--muted); font-size: 10px; }
.detail-block strong { font-size: 13px; }
.next-step { margin-top: 35px; padding: 25px; border-left: 3px solid var(--coral); background: white; }
.next-step h2 { margin: 0 0 8px; font-size: 20px; }
.next-step p:not(.eyebrow) { max-width: 600px; margin-bottom: 18px; color: var(--muted); font-size: 12px; }
.back-link { display: inline-block; margin-bottom: 25px; color: var(--green); font-size: 12px; font-weight: 700; }
.alert { margin-bottom: 18px; font-size: 12px; }
.filter-bar { margin-bottom: 20px; padding: 16px; display: flex; flex-wrap: wrap; align-items: end; gap: 12px; border: 1px solid var(--line); border-radius: var(--radius-md); background: white; }
.filter-bar label { min-width: 165px; flex: 1; display: grid; gap: 5px; color: #435149; font-size: 10px; font-weight: 700; }
.table-scroll { width: 100%; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-sm); background: white; }
.data-table { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 12px; }
.data-table th { position: sticky; top: 0; padding: 13px 14px; background: #f2f6f3; color: #58685f; font-size: 10px; font-weight: 800; text-align: left; text-transform: uppercase; white-space: nowrap; }
.data-table td { max-width: 300px; padding: 13px 14px; border-top: 1px solid #edf0ed; color: #39463f; vertical-align: middle; }
.data-table tbody tr:hover { background: #f7faf8; }
.data-table td > a { display: grid; gap: 4px; }
.data-table td strong { font-size: 11px; }
.data-table td small { color: var(--muted); font-size: 9px; }
.pagination-line { display: flex; justify-content: flex-end; align-items: center; gap: 17px; margin-top: 14px; color: var(--muted); font-size: 10px; }
.pagination-line a { color: var(--green); font-weight: 700; }
.team-layout { display: grid; grid-template-columns: 1.1fr .9fr; gap: 25px; align-items: start; }
.team-invite { margin: 0; grid-template-columns: 1fr; gap: 16px; }
.team-invite > div > p:not(.eyebrow) { max-width: 420px; }
.role-label { padding: 6px 8px; background: #f1f4f1; color: #59675f; font-size: 9px; white-space: nowrap; }
.member-management { margin-top: 28px; padding: 21px; border: 1px solid var(--line); background: white; }
.member-control { min-height: 62px; display: grid; grid-template-columns: minmax(150px, 1fr) minmax(150px, .8fr) auto auto; align-items: center; gap: 10px; border-top: 1px solid #edf0ed; }
.member-control .button { min-height: 35px; padding: 6px 11px; font-size: 10px; }
.invite-code-control { min-height: 62px; display: flex; align-items: center; justify-content: space-between; gap: 14px; border-top: 1px solid #edf0ed; }
.invite-code-control .button { min-height: 35px; padding: 6px 11px; font-size: 10px; white-space: nowrap; }
.subsection-title { margin: 24px 0 12px; font: 700 14px 'Manrope', sans-serif; }
.invited-email { margin: -18px 0 20px; color: var(--muted); font-size: 12px; }
.access-code-input { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-weight: 700; text-transform: uppercase; }
.access-code-display { margin: 0 9px; padding: 7px 10px; display: inline-block; background: #f4f7f4; color: var(--green-dark); font: 700 15px ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: 1px; }
.location-checklist { max-height: 210px; overflow-y: auto; padding: 10px 12px; border: 1px solid var(--line); }
.location-checklist legend { float: none; width: auto; margin: 0; padding: 0 4px; color: #435149; font-size: 10px; font-weight: 700; }
.location-checklist label { min-height: 34px; display: flex; align-items: center; gap: 9px; border-bottom: 1px solid #edf0ed; cursor: pointer; }
.location-checklist input, .export-field-list input { accent-color: var(--green); }
.location-checklist label span { display: grid; gap: 2px; font-size: 10px; }
.location-checklist small { color: var(--muted); font-size: 9px; }
.export-builder { margin-bottom: 22px; padding: 18px; display: grid; gap: 17px; border: 1px solid var(--line); background: white; }
.export-filters { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1.2fr auto; align-items: end; gap: 11px; }
.export-filters label { display: grid; gap: 5px; color: #435149; font-size: 10px; font-weight: 700; }
.export-field-list { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 15px; padding-top: 13px; border-top: 1px solid var(--line); }
.export-field-list > strong { width: 100%; font-size: 10px; }
.export-field-list label { display: inline-flex; align-items: center; gap: 5px; color: #56635c; font-size: 10px; }
.dataset-project-list { border-top: 1px solid var(--line); }
.dataset-project-row { min-height: 75px; padding: 14px; display: flex; align-items: center; gap: 13px; border-bottom: 1px solid var(--line); background: white; }
.dataset-project-row:hover { background: #f5f8f5; }
.dataset-count { color: var(--green); font-size: 10px; font-weight: 700; white-space: nowrap; }
.review-layout { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr); gap: 25px; align-items: start; }
.submission-answer-list, .review-panel { padding: 21px; border: 1px solid var(--line); background: white; }
.answer-row { padding: 14px 0; border-bottom: 1px solid #edf0ed; }
.answer-row h3 { margin: 0 0 6px; color: #627068; font: 700 10px 'DM Sans', sans-serif; }
.answer-row p { margin: 0; color: var(--ink); font-size: 12px; line-height: 1.6; white-space: pre-wrap; overflow-wrap: anywhere; }
.review-history { margin: 0 0 20px; padding-left: 18px; }
.review-history li { padding: 0 0 14px 5px; color: var(--green); }
.review-history strong, .review-history small { display: block; }
.review-history strong { color: var(--ink); font-size: 11px; }
.review-history small { margin-top: 3px; color: var(--muted); font-size: 9px; }
.review-history p { margin: 6px 0 0; color: #4d5a53; font-size: 10px; line-height: 1.5; }
.review-actions { display: flex; flex-wrap: wrap; gap: 7px; }
.review-actions .button { min-height: 36px; padding: 7px 10px; font-size: 10px; }
.empty-copy, .capture-description { color: var(--muted); font-size: 11px; }
.capture-wrap { max-width: 800px; min-height: calc(100vh - 120px); margin: 0 auto; padding: 27px 18px 55px; }
.capture-heading { margin-bottom: 20px; }
.capture-heading h1 { margin: 0; font-size: 27px; }
.capture-heading p:not(.eyebrow) { margin: 6px 0 0; color: var(--muted); font-size: 11px; }
.capture-form { display: grid; gap: 13px; }
.capture-form .preview-section { padding: 17px; }
.capture-form .preview-field { padding: 2px 0 8px; }
.capture-save-status { position: sticky; top: 73px; z-index: 2; padding: 9px 12px; background: var(--mint); color: var(--green-dark); font-size: 10px; }
.capture-actions { position: sticky; bottom: 0; padding: 12px; display: flex; justify-content: flex-end; gap: 9px; border: 1px solid var(--line); background: rgba(255,255,255,.96); }
.multi-choice { display: flex; align-items: center; gap: 8px; padding: 4px 0; font-size: 11px; font-weight: 500; }
.multi-choice input { accent-color: var(--green); }
.inline-template-form { display: flex; gap: 8px; max-width: 650px; }
.inline-template-form select { flex: 1; }
.project-action-links { display: flex; gap: 18px; margin: 17px 0 0; }
.project-action-links a { color: var(--green); font-size: 10px; font-weight: 700; }
.analytics-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 15px; margin-top: 22px; }
.analytics-panel { min-width: 0; height: 290px; padding: 17px; border: 1px solid var(--line); background: white; }
.analytics-panel h2 { margin: 0 0 13px; font-size: 14px; }
.analytics-panel canvas { max-width: 100%; max-height: 225px; }
.analytics-wide { grid-column: 1 / -1; height: 320px; }
.analytics-field-results { margin-top: 29px; }
.field-measure-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.field-measure { min-width: 0; padding: 15px; border: 1px solid var(--line); background: white; }
.field-measure > span { color: var(--green); font-size: 9px; font-weight: 800; text-transform: uppercase; }
.field-measure h3 { margin: 8px 0; font-size: 13px; }
.field-measure p, .field-measure small { color: var(--muted); font-size: 10px; }
.field-measure ul { margin: 10px 0 0; padding: 0; list-style: none; }
.field-measure li { display: flex; justify-content: space-between; gap: 10px; padding: 6px 0; border-top: 1px solid #edf0ed; color: #58655e; font-size: 10px; }
.admin-shortcuts { display: flex; flex-wrap: wrap; gap: 7px; }
.admin-shortcuts .button { min-height: 35px; padding: 7px 10px; font-size: 10px; }
.platform-metrics { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.platform-metrics .metric { border-bottom: 1px solid var(--line); }
.admin-dashboard-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(260px, .8fr); gap: 18px; margin-top: 24px; align-items: start; }
.admin-panel { min-width: 0; padding: 18px; border: 1px solid var(--line); background: white; }
.admin-plan-distribution { margin: 0; padding: 0; list-style: none; }
.admin-plan-distribution li { display: flex; justify-content: space-between; gap: 10px; padding: 11px 0; border-top: 1px solid #edf0ed; font-size: 11px; }
.admin-action-links { margin-top: 16px; padding-top: 12px; display: grid; gap: 10px; border-top: 1px solid var(--line); }
.admin-action-links a { color: var(--green); font-size: 10px; font-weight: 700; }
.settings-panel { margin-top: 16px; padding: 24px; display: grid; grid-template-columns: .8fr 1.2fr; gap: 32px; border: 1px solid var(--line); background: white; }
.settings-panel h2 { margin: 0 0 8px; font-size: 19px; }
.settings-panel > div > p:not(.eyebrow) { max-width: 360px; color: var(--muted); font-size: 12px; line-height: 1.6; }
.billing-section { margin-top: 28px; }
.billing-plan-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 14px; }
.billing-plan { padding: 20px; display: flex; flex-direction: column; gap: 11px; border: 1px solid var(--line); background: white; }
.billing-plan h3 { margin: 0; font-size: 19px; }
.billing-price { display: flex; align-items: baseline; gap: 7px; margin: 0; }
.billing-price strong { color: var(--green-dark); font: 700 23px 'Manrope', sans-serif; }
.billing-price span, .billing-plan-description { color: var(--muted); font-size: 11px; }
.billing-plan ul { margin: 0 0 4px; padding-left: 18px; color: #4e5d54; font-size: 10px; line-height: 1.8; }
.payment-methods { margin: 0; padding: 10px; border: 1px solid var(--line); }
.payment-methods legend { float: none; width: auto; margin: 0; color: #435149; font-size: 10px; font-weight: 700; }
.payment-methods label { display: inline-flex; align-items: center; gap: 5px; margin: 4px 12px 0 0; font-size: 10px; }
.payment-methods input, .feature-checkboxes input { accent-color: var(--green); }
.active-subscription { margin: 17px 0; padding: 20px; display: flex; justify-content: space-between; gap: 20px; border: 1px solid #bcd2c6; background: #f3f8f4; }
.active-subscription h2 { margin: 0 0 5px; font-size: 18px; }
.active-subscription p { margin: 0; color: var(--muted); font-size: 11px; }
.active-subscription > div:last-child { display: grid; justify-items: end; gap: 7px; }
.active-subscription small, .billing-footnote { color: var(--muted); font-size: 10px; }
.billing-footnote { margin-top: 17px; }
.plan-admin-list { display: grid; gap: 9px; }
.plan-admin-row { border: 1px solid var(--line); background: white; }
.plan-admin-row summary { padding: 14px 16px; display: flex; justify-content: space-between; align-items: center; gap: 14px; cursor: pointer; list-style: none; }
.plan-admin-row summary::-webkit-details-marker { display: none; }
.plan-admin-row summary > span:first-child { display: grid; gap: 4px; }
.plan-admin-row summary strong { font-size: 12px; }
.plan-admin-row summary small { color: var(--muted); font-size: 10px; }
.plan-edit-form { padding: 16px; border-top: 1px solid var(--line); }
.plan-limits { margin-top: 5px; }
.feature-checkboxes { display: flex; flex-wrap: wrap; gap: 10px 18px; }
.feature-checkboxes label { display: inline-flex; align-items: center; gap: 5px; font-size: 10px; }
.settings-panel .form-stack label { font-size: 10px; }
.evidence-gallery { margin-top: 20px; padding-top: 17px; border-top: 1px solid var(--line); }
.evidence-gallery h2 { margin: 0 0 12px; font: 700 13px 'Manrope', sans-serif; }
.evidence-item { width: fit-content; max-width: 100%; margin: 0 10px 10px 0; display: inline-flex; flex-direction: column; gap: 6px; color: var(--green); font-size: 10px; overflow-wrap: anywhere; }
.evidence-item img { max-width: min(260px, 100%); max-height: 210px; object-fit: contain; object-position: left; border: 1px solid var(--line); }
.saved-evidence-link { color: var(--green); font-size: 10px; overflow-wrap: anywhere; }
.builder-actions { display: flex; align-items: center; gap: 9px; }
.builder-actions form { margin: 0; }
.builder-layout { display: grid; grid-template-columns: minmax(0, 1fr) 255px; align-items: start; gap: 22px; }
.builder-canvas { display: grid; gap: 20px; }
.builder-section, .builder-sidebar { padding: 21px; border: 1px solid var(--line); background: white; }
.builder-section-heading { display: flex; align-items: start; justify-content: space-between; gap: 16px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.builder-section-heading .eyebrow { margin-bottom: 5px; }
.builder-section-heading h2, .sidebar-heading h2 { margin: 0; font-size: 17px; }
.builder-section-heading p:not(.eyebrow) { margin: 6px 0 0; color: var(--muted); font-size: 11px; }
.field-count { color: var(--muted); font-size: 10px; white-space: nowrap; }
.builder-empty { margin: 15px 0; color: #89948e; font-size: 11px; }
.builder-field { min-height: 56px; display: flex; align-items: center; gap: 11px; border-bottom: 1px solid #edf0ed; }
.field-grip { color: #9ca69f; font-size: 17px; }
.builder-field-copy { flex: 1; min-width: 0; display: grid; gap: 4px; }
.builder-field-copy strong { font-size: 11px; }
.builder-field-copy strong i, .preview-field b { color: var(--coral); font-style: normal; }
.builder-field-copy small { overflow: hidden; color: var(--muted); font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.position-form { display: flex; align-items: center; gap: 4px; }
.position-form input { width: 48px; height: 30px; padding: 3px; border: 1px solid var(--line); text-align: center; font-size: 11px; }
.icon-button { width: 29px; height: 29px; border: 1px solid var(--line); background: white; color: var(--green); cursor: pointer; }
.field-form { margin-top: 17px; padding: 16px; display: grid; gap: 12px; border: 1px solid #e7ece8; background: #f8faf8; }
.field-form-title { display: flex; align-items: center; gap: 8px; font-size: 11px; }
.field-form-title span { color: var(--green); font-size: 16px; }
.field-form label, .preview-field { display: grid; gap: 6px; color: #35423c; font-size: 10px; font-weight: 700; }
.check-label { display: flex !important; align-items: center; gap: 7px !important; }
.check-label input { accent-color: var(--green); }
.builder-sidebar { position: sticky; top: 94px; }
.sidebar-heading .eyebrow { margin-bottom: 4px; }
.builder-sidebar ol { margin: 18px 0 21px; padding: 0; list-style: none; }
.builder-sidebar li { min-height: 38px; display: flex; align-items: center; justify-content: space-between; gap: 10px; border-bottom: 1px solid #edf0ed; color: #45534d; font-size: 10px; }
.builder-sidebar li span { color: #89948e; }
.builder-sidebar .form-stack label { font-size: 10px; }
.notice-bar { margin: -10px 0 22px; padding: 11px 14px; border-left: 3px solid var(--coral); background: var(--soft-coral); color: #704538; font-size: 11px; }
.template-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.template-card { min-height: 186px; padding: 18px; display: flex; flex-direction: column; border: 1px solid var(--line); background: white; transition: border-color .15s, transform .15s; }
.template-card:hover { transform: translateY(-2px); border-color: #98b9a7; }
.template-card-top { display: flex; align-items: center; justify-content: space-between; }
.template-symbol { display: grid; width: 30px; height: 30px; place-items: center; background: var(--mint); color: var(--green); font: 700 12px 'Manrope', sans-serif; }
.template-card h2 { margin: 15px 0 5px; font-size: 14px; }
.template-card p { margin: 0 0 10px; color: var(--muted); font-size: 10px; line-height: 1.5; }
.template-card > small { color: #87928c; font-size: 9px; }
.template-open { margin-top: auto; padding-top: 14px; color: var(--green); font-size: 10px; font-weight: 700; }
.template-create { margin-top: 31px; }
.preview-wrap { max-width: 980px; }
.preview-form { max-width: 760px; margin: 0 auto; padding: clamp(18px, 4vw, 38px); display: grid; gap: 20px; border: 1px solid var(--line); background: white; box-shadow: var(--shadow); }
.preview-section { padding: 19px; display: grid; gap: 17px; border: 1px solid #e8ede9; background: #fbfcfb; }
.preview-section h2 { margin: 0; padding-bottom: 11px; border-bottom: 1px solid var(--line); font-size: 16px; }
.preview-field { color: var(--ink); font-size: 11px; }
.preview-field small { color: var(--muted); font-size: 10px; font-weight: 400; }
.preview-field[hidden] { display: none !important; }
.file-preview { max-width: 190px; max-height: 150px; object-fit: contain; object-position: left; }
.preview-form > .button { justify-self: start; }
.activity-panel, .builder-section, .builder-sidebar, .create-panel, .settings-panel, .member-management, .submission-answer-list, .review-panel, .billing-plan, .admin-panel, .next-step, .empty-state, .template-card, .export-builder { border-radius: var(--radius-md); }
.activity-panel, .builder-section, .builder-sidebar, .create-panel, .member-management, .submission-answer-list, .review-panel, .billing-plan, .admin-panel, .template-card, .export-builder { box-shadow: 0 2px 8px rgba(22, 45, 36, .025); }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
@keyframes grow { from { transform: scaleY(.2); } to { transform: scaleY(1); } }
@keyframes field-photo-reveal { from { opacity: 0; transform: scale(1.025); } to { opacity: 1; transform: scale(1); } }
@media (max-width: 900px) {
    .hero-band { grid-template-columns: 1fr; gap: 38px; padding-top: 58px; }
    .hero-copy { max-width: 740px; }
    .hero-visual { width: min(100%, 540px); }
    .app-header { grid-template-columns: auto minmax(0, 1fr); grid-template-areas: 'brand account' 'nav nav'; gap: 5px 14px; padding-top: 9px; padding-bottom: 5px; }
    .app-nav { justify-content: flex-start; }
    .metric-grid { grid-template-columns: repeat(3, 1fr); }
    .metric:nth-child(3) { border-right: 0; }
    .metric:nth-child(n+4) { border-top: 1px solid var(--line); }
    .dashboard-columns { grid-template-columns: 1fr; gap: 8px; }
    .team-layout, .review-layout { grid-template-columns: 1fr; }
    .admin-dashboard-grid { grid-template-columns: 1fr; }
    .settings-panel { grid-template-columns: 1fr; gap: 17px; padding: 19px; }
    .member-control { grid-template-columns: 1fr 1fr; padding: 10px 0; }
    .invite-code-control { align-items: start; flex-direction: column; padding: 10px 0; }
    .export-filters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .field-measure-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
    .public-header, .app-header { min-height: 64px; padding: 0 17px; }
    .public-nav { gap: 12px; }
    .public-nav a:not(.button) { display: none; }
    .public-nav .button { min-height: 37px; padding: 8px 11px; font-size: 11px; }
    .app-header { min-height: auto; padding: 9px 14px 4px; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: 'brand account' 'nav nav'; gap: 5px 9px; }
    .app-nav { display: flex; justify-content: flex-start; width: calc(100vw - 28px); margin: 0; padding: 3px 0 5px; gap: 4px; overflow-x: auto; overscroll-behavior-inline: contain; scrollbar-width: thin; }
    .app-nav a { padding: 7px 9px; border: 1px solid #e1e9e4; background: #fff; font-size: 11px; }
    .account-menu { gap: 7px; font-size: 11px; }
    .account-menu > span { max-width: 104px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    .account-menu .button { min-height: 31px; padding: 4px 7px; font-size: 10px; }
    .hero-band { min-height: auto; padding: 51px 21px 58px; }
    .hero-copy h1 { font-size: 42px; }
    .hero-lede { font-size: 14px; }
    .hero-visual { min-height: 300px; padding: 21px 18px; }
    .visual-stat-row { justify-content: space-between; gap: 8px; }
    .visual-stat-row strong { font-size: 19px; }
    .visual-stat-row span { font-size: 7px; }
    .feature-strip { grid-template-columns: 1fr; padding: 37px 22px; }
    .feature-strip > div, .feature-strip > div + div { padding: 19px 0; border: 0; border-bottom: 1px solid var(--line); }
    .feature-strip > div:last-child { border-bottom: 0; }
    .solutions-row { grid-template-columns: 1fr; gap: 20px; padding: 42px 22px 50px; }
    .solutions-row h2 { font-size: 27px; }
    .site-footer { padding: 16px 22px; }
    .auth-layout { grid-template-columns: 1fr; }
    .auth-intro { padding: 36px 24px; }
    .auth-intro h1 { font-size: 36px; }
    .auth-intro > p:not(.eyebrow) { margin-bottom: 19px; }
    .auth-proof { display: none; }
    .auth-panel { padding: 37px 23px 49px; }
    .auth-login-layout .auth-intro { padding: 32px 24px 25px; }
    .auth-login-layout .auth-intro > p:not(.eyebrow) { margin: 15px 0 0; }
    .auth-login-layout .auth-proof { display: none; }
    .auth-login-card { width: auto; margin: 8px 16px 34px; padding: 25px 22px; border-radius: 6px; box-shadow: 0 6px 20px rgba(22, 45, 36, .055); }
    .form-grid { grid-template-columns: 1fr; }
    .content-wrap { padding: 33px 18px 55px; }
    .page-heading { align-items: start; flex-direction: column; }
    .page-heading h1 { font-size: 27px; }
    .metric-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .metric { min-height: 115px; padding: 15px; border-top: 1px solid var(--line); }
    .metric:nth-child(odd) { border-right: 1px solid var(--line); }
    .metric:nth-child(even) { border-right: 0; }
    .metric:first-child, .metric:nth-child(2) { border-top: 0; }
    .metric:last-child:nth-child(odd) { grid-column: 1 / -1; border-right: 0; }
    .metric strong { font-size: 25px; }
    .activity-panel { padding: 20px 15px; }
    .project-row { gap: 9px; padding: 12px 6px; }
    .project-row .status-pill { display: none; }
    .create-panel { grid-template-columns: 1fr; gap: 18px; padding: 20px; }
    .builder-layout { grid-template-columns: 1fr; }
    .builder-sidebar { position: static; grid-row: 1; }
    .builder-actions { flex-wrap: wrap; }
    .template-grid { grid-template-columns: 1fr; }
    .builder-section { padding: 15px; }
    .field-form { padding: 12px; }
    .project-detail-grid { grid-template-columns: repeat(2, 1fr); }
    .detail-block:nth-child(2) { border-right: 0; }
    .detail-block:nth-child(n+3) { border-top: 1px solid var(--line); }
    .filter-bar { align-items: stretch; flex-direction: column; }
    .filter-bar label { min-width: 0; }
    .export-filters { grid-template-columns: 1fr; }
    .dataset-project-row { padding: 12px 7px; gap: 8px; }
    .dataset-count { display: none; }
    .capture-save-status { top: 101px; }
    .capture-actions { justify-content: stretch; }
    .capture-actions .button { flex: 1; }
    .inline-template-form { flex-direction: column; }
    .review-actions .button { flex: 1 1 42%; }
    .admin-shortcuts { width: 100%; }
    .active-subscription { flex-direction: column; }
    .active-subscription > div:last-child { justify-items: start; }
    .analytics-grid { grid-template-columns: 1fr; }
    .analytics-wide { grid-column: auto; }
    .field-measure-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

.public-header {
    min-height: 78px;
    position: relative;
    z-index: 4;
    padding: 0 clamp(22px, 5.2vw, 82px);
    gap: 28px;
    background: #fff;
}
.public-nav { gap: clamp(14px, 2vw, 28px); font-size: 12px; }
.public-nav a:not(.button) { white-space: nowrap; }
.public-nav .button { min-height: 40px; padding: 9px 15px; gap: 9px; white-space: nowrap; }
.public-home-link { display: none; }
.public-search { width: 31px; height: 31px; display: grid; place-items: center; border-left: 1px solid var(--line); font-size: 14px; }
.public-resources { position: relative; color: #52615a; }
.public-resources summary { cursor: pointer; list-style: none; white-space: nowrap; }
.public-resources summary::-webkit-details-marker { display: none; }
.public-resources summary span { padding-left: 3px; color: #86918b; }
.public-resources > div { min-width: 180px; position: absolute; top: calc(100% + 14px); left: -14px; display: grid; gap: 2px; padding: 7px; border: 1px solid var(--line); background: white; box-shadow: var(--shadow); }
.public-resources > div a { padding: 9px 10px; font-size: 11px; }
.public-resources > div a:hover { background: var(--surface-muted); }
.hero-band {
    min-height: 555px;
    padding: 66px clamp(22px, 7.2vw, 110px) 70px;
    grid-template-columns: minmax(0, .94fr) minmax(390px, 1.06fr);
    gap: clamp(38px, 6vw, 88px);
    background: linear-gradient(112deg, #f4f8f4 0%, #f4f8f4 47%, #eaf2ec 100%);
}
.hero-copy { max-width: 590px; }
.hero-copy h1 { max-width: 600px; font-size: 52px; line-height: 1.12; }
.hero-lede { max-width: 495px; margin: 19px 0 24px; font-size: 15px; line-height: 1.7; }
.hero-actions { gap: 10px; }
.hero-benefits { display: flex; flex-wrap: wrap; gap: 11px 19px; margin-top: 27px; color: #57675f; font-size: 10px; font-weight: 600; }
.hero-benefits span { display: inline-flex; align-items: center; gap: 6px; }
.hero-benefits i { color: var(--green); font-size: 11px; }
.hero-media { min-width: 0; height: 408px; position: relative; overflow: hidden; background: #c9d7cf; box-shadow: 0 18px 42px rgba(22, 45, 36, .13); animation: rise .65s .08s ease-out both; }
.hero-media::after { content: ''; position: absolute; inset: 50% 0 0; background: linear-gradient(transparent, rgba(9, 26, 20, .24)); pointer-events: none; }
.hero-media > img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: 50% 48%; animation: field-photo-reveal .9s .1s ease-out both; }
.hero-photo-caption { min-width: 222px; position: absolute; z-index: 1; left: 19px; bottom: 21px; display: flex; align-items: center; gap: 11px; padding: 11px 14px; background: rgba(255, 255, 255, .95); box-shadow: 0 5px 16px rgba(14, 31, 25, .12); }
.photo-caption-icon { width: 31px; height: 31px; display: grid; place-items: center; background: var(--mint); color: var(--green); }
.hero-photo-caption > span:last-child { display: grid; gap: 3px; }
.hero-photo-caption strong { font: 700 11px 'Manrope', sans-serif; }
.hero-photo-caption small { color: var(--muted); font-size: 9px; }
.photo-credit { position: absolute; z-index: 1; right: 12px; bottom: 8px; color: rgba(255, 255, 255, .85); font-size: 8px; text-shadow: 0 1px 4px #111; }
.feature-tiles { padding: 34px clamp(22px, 7.2vw, 110px); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); background: #fff; border-bottom: 1px solid var(--line); }
.feature-tile { min-width: 0; min-height: 125px; padding: 13px 19px; display: flex; align-items: flex-start; gap: 13px; border-right: 1px solid var(--line); }
.feature-tile:first-child { padding-left: 0; }
.feature-tile:last-child { padding-right: 0; border-right: 0; }
.feature-tile > span:last-child { min-width: 0; display: grid; justify-items: start; gap: 6px; }
.feature-icon { width: 39px; height: 39px; flex: 0 0 39px; display: grid; place-items: center; font-size: 16px; }
.feature-icon-green { background: #e8f2ed; color: #176b57; }
.feature-icon-blue { background: #eaf1f5; color: #42738c; }
.feature-icon-orange { background: #fbede7; color: #c46e4e; }
.feature-icon-mint { background: #edf3e4; color: #718747; }
.feature-tile strong { font: 700 12px 'Manrope', sans-serif; }
.feature-tile small { color: var(--muted); font-size: 10px; line-height: 1.5; }
.feature-tile b { margin-top: 2px; color: var(--green); font-size: 9px; font-weight: 700; }
.feature-tile b i { margin-left: 3px; }
.feature-tile:hover strong { color: var(--green); }
.impact-band { min-height: 330px; padding: 54px clamp(22px, 7.2vw, 110px); position: relative; display: grid; grid-template-columns: minmax(250px, .85fr) minmax(0, 1.15fr); align-items: center; gap: clamp(32px, 6vw, 88px); overflow: hidden; isolation: isolate; color: #fff; background: #18372e url('/public/assets/images/fieldwork-landscape.jpg') center 63% / cover no-repeat; }
.impact-band::before { content: ''; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, rgba(12, 38, 31, .94), rgba(14, 43, 35, .79) 56%, rgba(13, 39, 33, .82)); }
.impact-copy .eyebrow { color: #b6d6c5; }
.impact-copy h2 { margin: 0; font-size: 30px; line-height: 1.25; }
.impact-copy > p:last-child { max-width: 370px; margin: 13px 0 0; color: rgba(255, 255, 255, .77); font-size: 12px; line-height: 1.7; }
.impact-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 34px; }
.impact-stats > div { min-height: 64px; display: grid; grid-template-columns: 27px 1fr; grid-template-rows: auto auto; align-content: start; column-gap: 10px; row-gap: 4px; }
.impact-stats i { grid-row: 1 / 3; color: #b8dbc9; font-size: 17px; }
.impact-stats strong { font: 700 24px 'Manrope', sans-serif; line-height: 1; }
.impact-stats span { color: rgba(255, 255, 255, .75); font-size: 10px; }
.impact-note { max-width: 400px; display: flex; align-items: center; gap: 14px; padding: 17px 19px; border: 1px solid rgba(255, 255, 255, .25); background: rgba(10, 34, 27, .3); color: rgba(255, 255, 255, .87); font-size: 12px; line-height: 1.6; }
.impact-note i { flex: 0 0 auto; color: #b8dbc9; font-size: 21px; }
.solutions-row { padding: 61px clamp(22px, 7.2vw, 110px) 65px; gap: 54px; }
.solutions-row h2 { font-size: 28px; }
.solution-tags { gap: 8px; }
.solution-tags span { padding: 8px 11px; font-size: 10px; }
.starter-section, .pricing-section { padding: 57px clamp(22px, 7.2vw, 110px) 63px; border-top: 1px solid var(--line); background: #f5f8f5; }
.pricing-section { background: #fff; }
.starter-section .section-heading, .pricing-section .section-heading { margin-bottom: 23px; display: flex; align-items: end; justify-content: space-between; gap: 24px; }
.starter-section .section-heading h2, .pricing-section .section-heading h2 { margin: 0; font-size: 26px; line-height: 1.25; }
.starter-section .section-heading p:not(.eyebrow), .pricing-section .section-heading p:not(.eyebrow) { margin: 8px 0 0; color: var(--muted); font-size: 11px; line-height: 1.6; }
.starter-section .section-heading > a, .pricing-section .section-heading > a { flex: 0 0 auto; color: var(--green); font-size: 10px; font-weight: 700; }
.public-template-grid, .public-plan-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.public-template-card, .public-plan-card { min-width: 0; padding: 19px; display: flex; flex-direction: column; align-items: flex-start; border: 1px solid #e0e8e2; background: #fff; }
.template-category { padding: 5px 8px; background: #e9f2ed; color: var(--green); font-size: 9px; font-weight: 700; }
.public-template-card h3, .public-plan-card h3 { margin: 15px 0 7px; font-size: 14px; line-height: 1.4; }
.public-template-card p, .public-plan-card > p:not(.public-plan-price) { margin: 0 0 14px; color: var(--muted); font-size: 10px; line-height: 1.65; }
.public-template-card > a { margin-top: auto; padding-top: 10px; color: var(--green); font-size: 10px; font-weight: 700; }
.public-plan-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.public-plan-card { min-height: 220px; }
.public-plan-price { margin: 4px 0 10px; font: 700 22px 'Manrope', sans-serif; }
.public-plan-price small { color: var(--muted); font: 500 10px 'DM Sans', sans-serif; }
.public-plan-card .button { min-height: 37px; margin-top: auto; padding: 8px 14px; font-size: 10px; }
.pricing-empty { padding: 22px; border: 1px solid var(--line); background: var(--surface-muted); }
.pricing-empty p { margin: 0 0 13px; color: var(--muted); font-size: 12px; }

@media (max-width: 1000px) {
    .public-nav { gap: 13px; }
    .public-nav { font-size: 11px; }
    .public-home-link { display: inline; }
    .hero-band { grid-template-columns: minmax(0, .95fr) minmax(320px, 1.05fr); gap: 32px; }
    .hero-copy h1 { font-size: 44px; }
    .hero-media { height: 355px; }
    .feature-tiles { padding-right: 28px; padding-left: 28px; }
    .feature-tile { padding-right: 12px; padding-left: 12px; gap: 9px; }
    .feature-icon { width: 34px; height: 34px; flex-basis: 34px; }
    .public-template-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
    .public-header { min-height: 66px; padding: 0 18px; gap: 12px; }
    .public-nav { gap: 11px; }
    .public-nav > a:not(.button) { display: none; }
    .public-nav > a.public-login { display: inline; }
    .public-resources { display: none; }
    .public-nav .button { min-height: 37px; padding: 8px 10px; font-size: 10px; }
    .hero-band { min-height: 0; padding: 44px 21px 39px; grid-template-columns: 1fr; gap: 27px; }
    .hero-copy h1 { max-width: 570px; font-size: 39px; }
    .hero-lede { margin: 16px 0 20px; font-size: 13px; }
    .hero-actions { gap: 8px; }
    .hero-actions .button { min-height: 41px; padding: 9px 12px; font-size: 11px; }
    .hero-benefits { margin-top: 18px; gap: 8px 14px; font-size: 9px; }
    .hero-media { height: auto; aspect-ratio: 1.25; }
    .hero-photo-caption { left: 12px; bottom: 14px; min-width: 190px; padding: 8px 10px; }
    .feature-tiles { padding: 14px 20px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .feature-tile, .feature-tile:first-child, .feature-tile:last-child { min-height: 123px; padding: 15px 10px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
    .feature-tile:nth-child(2n) { border-right: 0; }
    .feature-tile:nth-last-child(-n+2) { border-bottom: 0; }
    .feature-tile { gap: 9px; }
    .feature-icon { width: 32px; height: 32px; flex-basis: 32px; font-size: 14px; }
    .feature-tile strong { font-size: 11px; }
    .feature-tile small { font-size: 9px; }
    .impact-band { min-height: 0; padding: 38px 22px; grid-template-columns: 1fr; gap: 27px; background-position: center 65%; }
    .impact-copy h2 { font-size: 27px; }
    .impact-stats { gap: 17px 20px; }
    .impact-stats strong { font-size: 21px; }
    .solutions-row { padding: 40px 22px 44px; grid-template-columns: 1fr; gap: 18px; }
    .solutions-row h2 { font-size: 25px; }
    .starter-section, .pricing-section { padding: 40px 21px 44px; }
    .starter-section .section-heading, .pricing-section .section-heading { align-items: flex-start; flex-direction: column; gap: 12px; }
    .starter-section .section-heading h2, .pricing-section .section-heading h2 { font-size: 23px; }
    .public-template-grid, .public-plan-grid { grid-template-columns: 1fr; }
    .public-template-card { min-height: 166px; }
    .public-plan-card { min-height: 190px; }
}
@media (max-width: 390px) {
    .brand { gap: 7px; font-size: 15px; }
    .brand-mark { width: 29px; height: 29px; }
    .public-nav { gap: 7px; }
    .public-nav .button { padding-right: 8px; padding-left: 8px; }
    .hero-copy h1 { font-size: 35px; }
    .hero-actions .button { gap: 6px; font-size: 10px; }
    .hero-benefits { gap: 7px 10px; }
    .feature-tile { padding-right: 7px !important; padding-left: 7px !important; }
}

.app-header {
    min-height: 72px;
    background: rgba(255, 255, 255, .97);
    border-bottom-color: #d9e4dd;
}
.app-nav a { font-family: var(--font-body); font-weight: 600; }
.account-menu > span { color: #58675f; font-size: 11px; font-weight: 600; }
.content-wrap {
    max-width: 1440px;
    padding-top: 39px;
    padding-bottom: 68px;
}
.content-wrap > .page-heading {
    align-items: flex-start;
    padding-bottom: 22px;
    border-bottom: 1px solid var(--line);
}
.page-heading h1 { font-size: 30px; line-height: 1.2; }
.page-heading p:not(.eyebrow) { max-width: 680px; }
.section-heading h2, .builder-section-heading h2, .sidebar-heading h2,
.settings-panel h2, .active-subscription h2, .analytics-panel h2 {
    font-family: var(--font-display);
    letter-spacing: 0;
}
.activity-panel, .builder-section, .builder-sidebar, .create-panel,
.settings-panel, .member-management, .submission-answer-list, .review-panel,
.billing-plan, .admin-panel, .export-builder, .analytics-panel,
.field-measure, .preview-form {
    border-color: #dfe8e2;
    border-radius: var(--radius-md);
    box-shadow: 0 5px 18px rgba(22, 45, 36, .035);
}
.filter-bar, .export-builder { background-color: #fff; }
.data-table th { background: #eef4f0; color: #40584d; }
.data-table td, .data-table th { font-family: var(--font-body); }
.empty-state { border-color: #c9d9cf; background: linear-gradient(140deg, #fff 10%, #f1f7f3 100%); }
.next-step { border-left-color: var(--coral); background: #f5f8f5; }
.auth-panel, .auth-intro { font-family: var(--font-body); }
.auth-panel h2, .auth-intro h1 { font-family: var(--font-display); letter-spacing: 0; }
.site-footer { background: #fff; }

@media (max-width: 900px) {
    .content-wrap { padding-top: 30px; }
}
@media (max-width: 620px) {
    .app-header { min-height: auto; }
    .content-wrap { padding: 29px 18px 52px; }
    .content-wrap > .page-heading { padding-bottom: 17px; margin-bottom: 22px; }
    .page-heading h1 { font-size: 26px; }
}

body:has(.auth-register-layout) .public-header {
    min-height: 54px;
    padding-right: clamp(22px, 5.4vw, 64px);
    padding-left: clamp(22px, 5.4vw, 64px);
}
body:has(.auth-register-layout) .site-footer { display: none; }
.auth-register-layout {
    min-height: calc(100vh - 54px);
    grid-template-columns: minmax(0, 1.08fr) minmax(500px, .92fr);
    background: #f7faf9;
    overflow: hidden;
}
.registration-story {
    min-width: 0;
    min-height: calc(100vh - 54px);
    position: relative;
    padding: 66px clamp(30px, 5.4vw, 74px) 40px;
    overflow: hidden;
    isolation: isolate;
    background: linear-gradient(135deg, #f0faf8 0%, #e9f5f4 46%, #d5eeea 100%);
}
.registration-story::before {
    content: '';
    position: absolute;
    z-index: -1;
    inset: 0;
    background: linear-gradient(136deg, transparent 0 56%, rgba(255, 255, 255, .45) 56% 57%, transparent 57%), repeating-linear-gradient(135deg, transparent 0 38px, rgba(29, 141, 113, .035) 39px 40px);
}
.registration-story::after {
    content: '';
    width: 270px;
    aspect-ratio: 1;
    position: absolute;
    z-index: -1;
    right: -52px;
    bottom: 3%;
    border: 27px solid rgba(97, 208, 174, .38);
    border-radius: 50%;
}
.registration-story-copy {
    width: min(52%, 330px);
    position: relative;
    z-index: 2;
}
.registration-story-copy::before { content: ''; position: absolute; z-index: -1; inset: -12px -26px -12px -8px; background: linear-gradient(90deg, rgba(240, 250, 248, .98) 0%, rgba(240, 250, 248, .9) 72%, rgba(240, 250, 248, 0) 100%); pointer-events: none; }
.registration-story-copy .eyebrow { margin-bottom: 15px; color: #176b57; }
.registration-story-copy h1 { margin: 0; color: #14251f; font-size: 43px; line-height: 1.02; font-weight: 800; }
.registration-story-copy h1 em { color: #138363; font-style: normal; }
.registration-story-copy > p:not(.eyebrow) { max-width: 340px; margin: 15px 0 21px; color: #5d6b65; font-size: 13px; line-height: 1.6; }
.registration-proof { max-width: 300px; min-height: 49px; display: flex; align-items: center; gap: 12px; margin: 9px 0; }
.registration-proof > span { width: 38px; height: 38px; flex: 0 0 38px; display: grid; place-items: center; border-radius: 10px; background: rgba(196, 238, 223, .76); color: #138363; font-size: 16px; }
.registration-proof:nth-of-type(5) > span { background: rgba(23, 107, 87, .11); color: #176b57; }
.registration-proof p { margin: 0; color: #43554d; font-size: 11px; line-height: 1.5; }
.registration-photo { width: 75%; height: 76%; position: absolute; z-index: 0; right: -22%; bottom: -5%; overflow: hidden; clip-path: ellipse(78% 69% at 68% 67%); animation: rise .65s .06s ease-out both; }
.registration-photo::after { content: ''; position: absolute; inset: 35% 0 0; background: linear-gradient(transparent, rgba(13, 48, 37, .19)); pointer-events: none; }
.registration-photo img { width: 100%; height: 135%; position: absolute; bottom: 0; left: 0; display: block; object-fit: cover; object-position: 47% center; animation: field-photo-reveal .9s .1s ease-out both; }
.registration-photo a { position: absolute; z-index: 1; right: 22%; bottom: 12%; color: rgba(255, 255, 255, .88); font-size: 8px; text-shadow: 0 1px 4px #111; }
.registration-float { min-width: 174px; position: absolute; z-index: 3; display: flex; align-items: center; gap: 9px; padding: 10px 12px; border: 1px solid rgba(227, 237, 233, .9); background: rgba(255, 255, 255, .96); box-shadow: 0 8px 22px rgba(28, 65, 52, .12); }
.registration-float > span { width: 29px; height: 29px; flex: 0 0 29px; display: grid; place-items: center; background: #e6f5ef; color: #128262; font-size: 15px; }
.registration-float p { margin: 0; display: grid; gap: 3px; }
.registration-float strong { color: #25443a; font: 700 10px var(--font-display); }
.registration-float small { color: #687770; font-size: 8px; }
.registration-location { top: 10%; right: 8%; }
.registration-evidence { top: 39%; right: 4%; }
.registration-review { bottom: 12%; left: 52%; }
.registration-panel { min-width: 0; display: grid; place-items: center; padding: 12px; background: #f7faf9; }
.registration-card { width: min(100%, 540px); max-width: none; margin: 0; padding: 14px 27px 12px; border: 1px solid #e4ece8; border-radius: 12px; background: rgba(255, 255, 255, .97); box-shadow: 0 15px 42px rgba(24, 56, 44, .09); }
.registration-card > .eyebrow { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; font-size: 9px; letter-spacing: .9px; }
.registration-card > .eyebrow::before { content: ''; width: 27px; height: 2px; background: #138363; }
.registration-card h2 { margin: 0; font-size: 26px; line-height: 1.2; }
.registration-card-copy { margin: 5px 0 7px; color: #718079; font-size: 12px; line-height: 1.4; }
.registration-card .form-stack { gap: 2px; }
.registration-card .form-stack label { min-width: 0; gap: 3px; color: #283b33; font-size: 11px; }
.registration-label { color: #283b33; font-size: 11px; font-weight: 700; }
.registration-label > i { color: #d36354; font-size: 10px; font-style: normal; }
.registration-label > small { margin-left: 4px; color: #86928c; font-size: 9px; font-weight: 400; }
.registration-input { min-width: 0; min-height: 40px; display: flex; align-items: center; gap: 9px; padding: 0 10px; border: 1px solid #d5dfda; border-radius: 6px; background: #fff; transition: border-color .15s, box-shadow .15s; }
.registration-input:focus-within { border-color: #23866d; box-shadow: 0 0 0 3px rgba(23, 107, 87, .1); }
.registration-input > i { flex: 0 0 14px; color: #596962; font-size: 13px; text-align: center; }
.registration-input .form-control, .registration-input .form-select { width: 100%; min-width: 0; min-height: 38px; padding: 6px 3px; border: 0; background-color: transparent; box-shadow: none; font-size: 12px; }
.registration-input .form-control:focus, .registration-input .form-select:focus { border: 0; box-shadow: none; }
.registration-input .form-select { padding-right: 16px; }
.registration-card .form-grid { gap: 10px; }
.registration-card .form-stack hr { margin: 2px 0; }
.registration-card .button-wide { min-height: 42px; margin-top: 3px; border-radius: 6px; font-size: 12px; }
.registration-card .auth-switch { margin-top: 7px; font-size: 11px; }
.registration-card .alert { margin: 0; padding: 8px 10px; font-size: 10px; }
.password-visibility { width: 28px; height: 32px; flex: 0 0 28px; display: grid; place-items: center; border: 0; background: transparent; color: #65746c; cursor: pointer; font-size: 14px; }
body:has(.auth-login-layout) .public-header { min-height: 54px; padding-right: clamp(22px, 5.4vw, 64px); padding-left: clamp(22px, 5.4vw, 64px); }
body:has(.auth-login-layout) .site-footer { display: none; }
.auth-login-layout { min-height: calc(100vh - 54px); grid-template-columns: minmax(0, 1.08fr) minmax(500px, .92fr); background: #f7faf9; overflow: hidden; }
.login-story .registration-story-copy { width: min(54%, 350px); }
.login-story .registration-story-copy::before { inset: -15px -45px -14px -9px; background: linear-gradient(90deg, rgba(240, 250, 248, .99) 0%, rgba(240, 250, 248, .94) 66%, rgba(240, 250, 248, .15) 100%); }
.login-story .registration-photo { width: 105%; height: 108%; right: -18%; bottom: -5%; clip-path: none; }
.login-story .registration-photo img { height: 100%; top: 0; bottom: auto; object-position: 47% center; }
.login-story .registration-photo::after { inset: 45% 0 0; }
.login-story .registration-location { top: 10%; right: 7%; }
.login-story .registration-evidence { top: 54%; right: 7%; }
.login-proof-band { width: 88%; min-height: 67px; position: absolute; z-index: 4; bottom: 25px; left: 6%; display: flex; align-items: center; justify-content: space-around; gap: 10px; padding: 10px 12px; border: 1px solid rgba(255, 255, 255, .7); background: rgba(255, 255, 255, .9); box-shadow: 0 8px 25px rgba(23, 67, 50, .11); backdrop-filter: blur(8px); }
.login-proof-band > span { min-width: 0; display: flex; align-items: center; gap: 8px; color: #455a50; font-size: 9px; line-height: 1.35; }
.login-proof-band > span + span { padding-left: 12px; border-left: 1px solid #dce8e1; }
.login-proof-band i { color: #159475; font-size: 17px; }
.login-proof-band b { font-size: 9px; font-weight: 600; }
.login-card { width: min(100%, 520px); padding: 34px 38px 28px; }
.login-card > .eyebrow { margin-bottom: 10px; }
.login-card h2 { font-size: 25px; }
.login-card .registration-card-copy { margin: 7px 0 27px; font-size: 12px; }
.login-card .form-stack { gap: 17px; }
.login-card .form-stack label { gap: 6px; }
.login-card .registration-label { font-size: 12px; }
.login-card .registration-input { min-height: 48px; gap: 10px; padding: 0 12px; }
.login-card .registration-input > i { flex-basis: 16px; font-size: 15px; }
.login-card .registration-input .form-control { min-height: 45px; font-size: 13px; }
.login-card .password-visibility { width: 32px; flex-basis: 32px; }
.login-card .button-wide { min-height: 47px; margin-top: 7px; font-size: 12px; }
.login-card .auth-switch { margin-top: 22px; font-size: 11px; text-align: center; }
.login-divider { margin: 17px 0 12px; display: flex; align-items: center; gap: 12px; color: #7b8882; font-size: 10px; }
.login-divider::before, .login-divider::after { content: ''; height: 1px; flex: 1; background: #e3eae6; }
.google-sign-in { width: 100%; min-height: 43px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; border: 1px solid #d3ddd8; border-radius: 6px; background: #fff; color: #25352e; font-size: 11px; font-weight: 600; transition: border-color .15s, background .15s; }
.google-sign-in:hover { border-color: #9fb5a9; background: #f8fbf9; color: #25352e; }
.google-sign-in i { color: #4285f4; font-size: 15px; }

@media (max-width: 1000px) {
    .auth-register-layout { grid-template-columns: minmax(0, 1fr) minmax(450px, .95fr); }
    .auth-login-layout { grid-template-columns: minmax(0, 1fr) minmax(450px, .95fr); }
    .registration-story { padding-right: 25px; padding-left: 32px; }
    .registration-story-copy { width: 57%; }
    .registration-story-copy h1 { font-size: 39px; }
    .registration-float { min-width: 155px; padding: 8px; }
    .registration-panel { padding-right: 16px; padding-left: 16px; }
    .registration-card { padding-right: 26px; padding-left: 26px; }
}
@media (max-width: 820px) {
    .auth-register-layout { min-height: 0; grid-template-columns: 1fr; }
    .auth-login-layout { min-height: 0; grid-template-columns: 1fr; }
    .registration-story { min-height: 585px; padding: 40px 28px 24px; }
    .registration-story-copy { width: min(54%, 350px); }
    .registration-story-copy h1 { font-size: 42px; }
    .registration-photo { width: 70%; height: 88%; right: -13%; bottom: -17%; }
    .registration-panel { padding: 28px 18px 42px; }
    .registration-card { width: min(100%, 570px); padding: 28px 34px 23px; }
    .login-story .registration-story-copy { width: min(54%, 350px); }
    .login-story .registration-photo { width: 80%; height: 100%; right: -10%; bottom: -16%; }
    .login-proof-band { width: 86%; left: 7%; bottom: 20px; }
    .login-card { width: min(100%, 570px); padding: 30px 34px 24px; }
    .login-divider { margin-top: 13px; }
}
@media (max-width: 560px) {
    body:has(.auth-register-layout) .public-header { min-height: 58px; padding-right: 16px; padding-left: 16px; }
    body:has(.auth-login-layout) .public-header { min-height: 58px; padding-right: 16px; padding-left: 16px; }
    .auth-register-layout { display: block; }
    .registration-story { min-height: 0; padding: 31px 21px 0; }
    .registration-story-copy { width: 100%; max-width: 410px; }
    .registration-story-copy::before { display: none; }
    .registration-story-copy .eyebrow { margin-bottom: 11px; }
    .registration-story-copy h1 { font-size: 37px; }
    .registration-story-copy > p:not(.eyebrow) { max-width: 330px; margin: 11px 0 15px; font-size: 12px; }
    .registration-proof { max-width: 300px; min-height: 41px; margin: 6px 0; gap: 10px; }
    .registration-proof > span { width: 32px; height: 32px; flex-basis: 32px; border-radius: 8px; font-size: 14px; }
    .registration-proof p { font-size: 10px; }
    .registration-photo { width: calc(100% + 80px); height: 265px; position: relative; right: auto; bottom: auto; align-self: end; margin: 9px -22px -14px 14%; clip-path: ellipse(78% 76% at 68% 69%); }
    .registration-photo a { right: auto; bottom: 12%; left: 20px; }
    .registration-location { top: auto; right: 15px; bottom: 192px; }
    .registration-evidence { display: none; }
    .registration-review { bottom: 17px; left: 18px; }
    .registration-panel { padding: 27px 16px 37px; }
    .registration-card { padding: 24px 21px 19px; border-radius: 9px; }
    .registration-card h2 { font-size: 22px; }
    .registration-card .form-stack { gap: 8px; }
    .registration-card .form-grid { gap: 10px; }
    .login-story .registration-story-copy { width: 100%; max-width: 410px; }
    .login-story .registration-story-copy::before { display: none; }
    .login-story .registration-story-copy h1 { font-size: 37px; }
    .login-story .registration-photo { width: calc(100% + 80px); height: 265px; position: relative; right: auto; bottom: auto; align-self: end; margin: 9px -22px -14px 14%; clip-path: ellipse(78% 76% at 68% 69%); }
    .login-story .registration-photo a { right: auto; bottom: 12%; left: 20px; }
    .login-story .registration-location { top: auto; right: 15px; bottom: 192px; }
    .login-story .registration-evidence { display: none; }
    .login-proof-band { width: 100%; min-height: 58px; position: relative; bottom: auto; left: auto; justify-content: space-between; margin: 0 0 9px; padding: 8px 7px; }
    .login-proof-band > span { gap: 5px; font-size: 8px; }
    .login-proof-band > span + span { padding-left: 7px; }
    .login-proof-band i { font-size: 14px; }
    .login-proof-band b { font-size: 8px; }
    .login-card { width: 100%; padding: 24px 21px 20px; }
    .login-card .form-stack { gap: 13px; }
    .login-card .registration-card-copy { margin-bottom: 19px; }
    .login-divider { margin: 14px 0 10px; }
}