:root {
  --ink: #0b1f2a;
  --ink-2: #163441;
  --aqua: #19c5d4;
  --aqua-deep: #0a9fad;
  --aqua-soft: #ddf8fa;
  --paper: #ffffff;
  --canvas: #edf3f4;
  --line: #d7e1e3;
  --muted: #60737c;
  --orange: #ff7a45;
  --green: #19a86b;
  --red: #d74d54;
  --shadow: 0 18px 55px rgba(11, 31, 42, 0.1);
  --radius: 18px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--canvas);
}

* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; min-height: 100vh; background: var(--canvas); color: var(--ink); }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: .48; }
input, select, textarea { width: 100%; border: 1px solid #cbd8db; background: #fbfdfd; border-radius: 10px; color: var(--ink); padding: 12px 13px; font-size: 1rem; outline: none; transition: .2s ease; }
input:focus, select:focus, textarea:focus { border-color: var(--aqua-deep); box-shadow: 0 0 0 3px rgba(25, 197, 212, .14); background: white; }
textarea { resize: vertical; line-height: 1.55; }
label > span, .inline-select > span { display: block; color: #38515b; font-size: .86rem; font-weight: 750; margin-bottom: 7px; }
h1, h2, h3, p { margin-top: 0; }
h1 { font-size: 1.7rem; margin-bottom: 0; letter-spacing: -.03em; }
h2 { font-size: clamp(1.65rem, 3vw, 2.6rem); letter-spacing: -.045em; line-height: 1.04; margin-bottom: 10px; }
h3 { font-size: 1.12rem; margin-bottom: 8px; letter-spacing: -.02em; }
p { color: var(--muted); line-height: 1.55; }
.demo-ribbon { position: fixed; z-index: 100; left: 0; right: 0; top: 0; height: 28px; display: grid; place-items: center; background: var(--orange); color: #21120c; font-size: .72rem; font-weight: 900; letter-spacing: .12em; }
.app-shell { min-height: 100vh; padding-top: 28px; display: grid; grid-template-columns: 250px 1fr; }
.sidebar { position: fixed; left: 0; top: 28px; bottom: 0; width: 250px; background: var(--ink); color: white; padding: 26px 18px 18px; display: flex; flex-direction: column; z-index: 20; }
.brand { display: flex; align-items: center; gap: 12px; padding: 0 10px 28px; }
.brand-mark { width: 43px; height: 43px; border-radius: 13px 13px 13px 4px; background: linear-gradient(145deg, #27d9e6, #099ba8); display: grid; place-items: center; color: var(--ink); font-weight: 950; letter-spacing: -.06em; box-shadow: 0 10px 25px rgba(25,197,212,.2); }
.brand strong { display: block; font-size: .91rem; letter-spacing: .08em; }
.brand small { display: block; color: #8fa4ad; font-size: .69rem; letter-spacing: .28em; margin-top: 3px; }
.sidebar nav { display: grid; gap: 7px; }
.nav-item { display: flex; align-items: center; gap: 12px; width: 100%; color: #9db0b8; border: 0; background: transparent; border-radius: 11px; padding: 13px; text-align: left; font-weight: 720; }
.nav-item span { color: #5c7782; font-size: .7rem; letter-spacing: .08em; }
.nav-item:hover, .nav-item.active { color: white; background: #153541; }
.nav-item.active { box-shadow: inset 3px 0 var(--aqua); }
.sidebar-foot { margin-top: auto; border-top: 1px solid #24434f; padding-top: 16px; }
.connection-mini { display: flex; align-items: center; gap: 8px; color: #8da4ad; padding: 0 10px 13px; font-size: .77rem; }
.connection-mini i, .save-state i, .mock-status i, .mock-badge i { width: 8px; height: 8px; border-radius: 50%; background: var(--aqua); box-shadow: 0 0 0 4px rgba(25,197,212,.12); }
.profile-button { width: 100%; border: 0; border-radius: 12px; background: #102a35; color: white; display: flex; align-items: center; gap: 10px; padding: 11px; text-align: left; }
.profile-button strong, .profile-button small { display: block; }
.profile-button small { color: #89a1aa; margin-top: 2px; }
.avatar { width: 38px; height: 38px; flex: 0 0 38px; display: grid; place-items: center; border-radius: 12px; background: var(--aqua-soft); color: var(--ink); font-weight: 900; }
main { grid-column: 2; min-width: 0; }
.topbar { height: 92px; background: rgba(255,255,255,.93); backdrop-filter: blur(18px); border-bottom: 1px solid var(--line); padding: 0 34px; display: flex; align-items: center; justify-content: space-between; position: sticky; top: 28px; z-index: 15; }
.topbar .eyebrow { margin-bottom: 5px; }
.top-actions { display: flex; align-items: center; gap: 16px; }
.save-state { display: flex; align-items: center; gap: 9px; color: var(--muted); font-size: .8rem; font-weight: 700; }
.mobile-menu { display: none; }
.mobile-brand { display: none; }
.eyebrow { color: #738991; font-size: .72rem; font-weight: 900; letter-spacing: .13em; margin-bottom: 7px; }
.eyebrow.aqua { color: var(--aqua-deep); }
.view { display: none; padding: 32px 34px 80px; max-width: 1540px; margin: 0 auto; }
.view.active { display: block; }
.dashboard-lead { border-radius: 24px; background: var(--ink); color: white; padding: 34px 38px; display: flex; align-items: center; justify-content: space-between; gap: 30px; overflow: hidden; position: relative; box-shadow: var(--shadow); }
.dashboard-lead::after { content: "CW"; position: absolute; right: 220px; top: -46px; font-size: 11rem; font-weight: 950; letter-spacing: -.12em; color: rgba(25,197,212,.06); transform: rotate(-7deg); }
.dashboard-lead > * { position: relative; z-index: 1; }
.dashboard-lead h2 { color: white; max-width: 660px; margin-bottom: 8px; }
.dashboard-lead p:not(.eyebrow) { color: #a8bbc2; margin: 0; max-width: 650px; }
.compact-lead { padding-block: 28px; }
.metric-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; margin: 18px 0; }
.metric { background: white; border: 1px solid var(--line); border-radius: 16px; padding: 20px; }
.metric.dark { background: #173743; color: white; border-color: #173743; }
.metric > span { color: var(--muted); font-size: .8rem; font-weight: 750; display: block; }
.metric.dark > span, .metric.dark small { color: #9cb2ba; }
.metric strong { font-size: 2rem; display: block; margin: 8px 0 2px; letter-spacing: -.05em; }
.metric small { color: #84959c; }
.workspace-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 18px; }
.panel { background: white; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 10px 30px rgba(11,31,42,.05); }
.panel-head { padding: 20px 22px; display: flex; align-items: center; justify-content: space-between; gap: 18px; border-bottom: 1px solid #e4ebed; }
.panel-head h3 { font-size: 1.25rem; margin: 0; }
.panel-head .eyebrow { margin-bottom: 4px; }
.filters { display: flex; gap: 8px; }
.filters select { width: 155px; padding: 10px; font-size: .87rem; }
.search { position: relative; }
.search span { position: absolute; left: 11px; top: 8px; font-size: 1.1rem; color: #788c94; }
.search input { width: 210px; padding: 10px 10px 10px 33px; font-size: .87rem; }
.report-list { padding: 0 8px 8px; }
.report-row { border: 0; border-bottom: 1px solid #e7edef; background: transparent; width: 100%; display: grid; grid-template-columns: 42px minmax(180px,1.4fr) minmax(140px,1fr) 120px 30px; align-items: center; gap: 12px; padding: 16px 12px; text-align: left; color: var(--ink); }
.report-row:last-child { border-bottom: 0; }
.report-row:hover { background: #f5fafb; border-radius: 12px; }
.report-type-icon { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 10px; background: var(--aqua-soft); color: #087e89; font-weight: 900; font-size: .72rem; }
.report-row strong, .report-row small { display: block; }
.report-row small { color: #778c94; margin-top: 3px; }
.report-row > span:last-child { font-size: 1.2rem; }
.status-pill { display: inline-flex; width: fit-content; align-items: center; border-radius: 999px; padding: 6px 9px; font-size: .72rem; font-weight: 850; color: #37505a; background: #e9eff1; white-space: nowrap; }
.status-pill.draft { background: #e9eff1; }
.status-pill.review { background: #fff1d6; color: #865b00; }
.status-pill.approved { background: #dff6eb; color: #0a7748; }
.simpro-card { padding: 24px; display: flex; flex-direction: column; align-items: flex-start; }
.integration-icon { width: 54px; height: 54px; border-radius: 16px; background: #ff6f3c; color: white; display: grid; place-items: center; font-weight: 950; font-size: 1.55rem; margin-bottom: 40px; transform: rotate(-5deg); box-shadow: 0 10px 24px rgba(255,111,60,.22); }
.simpro-card h3 { font-size: 1.5rem; }
.simpro-card p { font-size: .93rem; }
.mock-status { display: flex; align-items: center; gap: 9px; font-size: .78rem; font-weight: 800; color: var(--aqua-deep); margin: auto 0 17px; padding-top: 20px; }
.primary, .secondary, .text-button { border: 0; border-radius: 10px; padding: 12px 16px; font-weight: 850; transition: .18s ease; }
.primary { background: var(--aqua); color: #06232c; box-shadow: 0 8px 20px rgba(25,197,212,.18); }
.primary:hover { background: #35d5e1; transform: translateY(-1px); }
.secondary { background: white; color: var(--ink); border: 1px solid #cbd8db; }
.secondary:hover { border-color: #8fa5ad; background: #f7fafb; }
.text-button { background: transparent; color: #36525d; padding-inline: 0; box-shadow: none; }
.text-button:hover { color: var(--aqua-deep); }
.compact { padding: 9px 12px; font-size: .84rem; }
.large { padding: 15px 18px; min-width: 190px; display: flex; justify-content: space-between; gap: 20px; }
.full { width: 100%; }
.editor-toolbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.editor-id { display: flex; align-items: center; gap: 10px; color: var(--muted); font-weight: 700; font-size: .82rem; }
.editor-layout { display: grid; grid-template-columns: 250px minmax(0, 900px); gap: 20px; align-items: start; justify-content: center; }
.step-nav { position: sticky; top: 140px; background: var(--ink); color: white; border-radius: 18px; padding: 22px 16px 16px; max-height: calc(100vh - 170px); overflow: auto; }
.step-nav h2 { font-size: 1.25rem; line-height: 1.2; letter-spacing: -.02em; margin-bottom: 16px; }
.step-progress { height: 4px; background: #24434f; border-radius: 999px; overflow: hidden; margin-bottom: 15px; }
.step-progress span { display: block; height: 100%; width: 14%; background: var(--aqua); transition: width .25s ease; }
.step-nav ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.step-nav li button { width: 100%; border: 0; border-radius: 11px; background: transparent; color: #8fa4ad; display: flex; gap: 11px; align-items: center; text-align: left; padding: 9px; }
.step-nav li button:hover, .step-nav li button.active { background: #173743; color: white; }
.step-nav li button.done b { background: var(--green); color: white; border-color: var(--green); }
.step-nav li b { width: 27px; height: 27px; border: 1px solid #42606b; border-radius: 50%; display: grid; place-items: center; font-size: .72rem; flex: 0 0 27px; }
.step-nav li span { font-weight: 780; font-size: .85rem; }
.step-nav li small { display: block; color: #72909b; margin-top: 2px; font-weight: 500; }
.local-note { background: #102a35; border: 1px solid #244650; border-radius: 11px; padding: 11px; margin-top: 14px; }
.local-note strong, .local-note span { display: block; font-size: .72rem; }
.local-note strong { color: var(--aqua); margin-bottom: 4px; }
.local-note span { color: #89a3ad; line-height: 1.45; }
.report-form { min-width: 0; }
.form-step { display: none; }
.form-step.active { display: block; }
.section-heading { display: flex; justify-content: space-between; gap: 20px; align-items: flex-start; padding: 8px 2px 16px; }
.section-heading h2 { font-size: 2rem; }
.section-heading p:not(.eyebrow) { margin: 0; }
.source-chip, .ai-chip, .photo-count, .mock-badge { border-radius: 999px; background: var(--aqua-soft); color: #0a7882; font-size: .7rem; font-weight: 900; letter-spacing: .08em; padding: 8px 10px; white-space: nowrap; }
.ai-chip { background: #e9e5ff; color: #5b45b8; }
.form-card, .ai-card { background: white; border: 1px solid var(--line); border-radius: 16px; padding: 22px; margin-bottom: 14px; box-shadow: 0 8px 25px rgba(11,31,42,.04); }
.form-card > h3 { border-bottom: 1px solid #e5ecee; padding-bottom: 13px; margin-bottom: 17px; }
.form-grid { display: grid; gap: 16px; }
.form-grid.two { grid-template-columns: repeat(2,minmax(0,1fr)); }
.form-grid.three { grid-template-columns: repeat(3,minmax(0,1fr)); }
.form-grid .wide { grid-column: 1 / -1; }
.padded-top { padding-top: 18px; }
.field-help { display: block; color: var(--muted); margin-top: 6px; }
.field-help.warning { color: #9a5200; }
.unit-input { display: grid; grid-template-columns: 1fr auto; }
.unit-input input { border-radius: 10px 0 0 10px; }
.unit-input b { display: grid; place-items: center; padding: 0 13px; background: #e8f0f2; color: #536b74; border: 1px solid #cbd8db; border-left: 0; border-radius: 0 10px 10px 0; }
.card-title-row, .card-title-row > div { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.card-title-row { border-bottom: 1px solid #e5ecee; padding-bottom: 14px; margin-bottom: 17px; }
.card-title-row h3 { margin: 0; }
.number-chip { width: 28px; height: 28px; border-radius: 8px; background: var(--aqua-soft); display: grid; place-items: center; color: #087c87; font-size: .72rem; font-weight: 900; }
.inline-select { display: flex; align-items: center; gap: 8px; }
.inline-select span { margin: 0; }
.inline-select select { min-width: 100px; padding: 8px 10px; }
.fixture-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
.compact-card { margin: 0; }
.compact-card select { width: 90px; padding: 8px; }
.test-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 12px; }
.ai-card { border-left: 4px solid #7b61d1; }
.ai-card-head { display: flex; justify-content: space-between; align-items: center; gap: 15px; margin-bottom: 17px; }
.ai-card-head > div { display: flex; align-items: center; gap: 11px; }
.ai-card-head h3, .ai-card-head p { margin: 0; }
.ai-card-head p { font-size: .82rem; }
.ai-orb { width: 38px; height: 38px; border-radius: 13px; display: grid; place-items: center; background: #ebe7fb; color: #6d54c6; font-size: 1.1rem; }
.ai-card > label { display: block; margin-bottom: 15px; }
.ai-suggestion { background: #f2effd; border: 1px solid #d9d0f7; border-radius: 12px; padding: 14px; margin-bottom: 15px; }
.ai-suggestion > div { display: flex; align-items: center; justify-content: space-between; }
.ai-suggestion span { color: #674ebd; font-size: .75rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.ai-suggestion p { color: #292043; margin: 10px 0 13px; }
.upload-zone { background: white; border: 2px dashed #a7c4c9; border-radius: 17px; min-height: 170px; display: grid; place-items: center; align-content: center; text-align: center; padding: 25px; transition: .2s ease; }
.upload-zone:hover { border-color: var(--aqua-deep); background: #f8feff; }
.upload-zone input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.upload-zone strong, .upload-zone > span { display: block; margin: 3px; }
.upload-zone > span:not(.upload-icon) { color: var(--muted); font-size: .88rem; }
.upload-icon { width: 46px; height: 46px; display: grid !important; place-items: center; background: var(--aqua-soft); color: var(--aqua-deep); border-radius: 14px; font-size: 1.6rem; margin-bottom: 8px !important; }
.photo-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; margin-top: 14px; }
.photo-card { background: white; border: 1px solid var(--line); border-radius: 15px; overflow: hidden; }
.photo-image { aspect-ratio: 4/3; background: #dce7e9; position: relative; overflow: hidden; }
.photo-image img { width: 100%; height: 100%; object-fit: cover; }
.cover-label { position: absolute; top: 9px; left: 9px; padding: 6px 8px; border-radius: 999px; background: var(--ink); color: white; font-size: .67rem; font-weight: 900; }
.photo-fields { padding: 12px; display: grid; gap: 9px; }
.photo-fields input, .photo-fields select { padding: 9px 10px; font-size: .86rem; }
.photo-actions { display: flex; gap: 6px; }
.photo-actions button { flex: 1; border: 1px solid var(--line); background: #f6f9fa; border-radius: 8px; padding: 8px; color: #3f5862; font-weight: 800; }
.photo-actions button.danger { color: #a12d35; }
.empty-photos { text-align: center; padding: 42px 20px; color: var(--muted); }
.empty-photos > span { font-size: 2rem; color: #9bb2ba; }
.empty-photos strong { display: block; color: #39515a; margin: 8px 0 2px; }
.empty-photos p { margin: 0; font-size: .88rem; }
.review-layout { display: grid; grid-template-columns: minmax(0,1fr) 280px; gap: 14px; align-items: start; }
.review-score { display: flex; align-items: center; gap: 15px; border-bottom: 1px solid #e5ecee; padding-bottom: 17px; }
.review-score > div:first-child { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(var(--aqua) 0 0%, #e3ebed 0); position: relative; }
.review-score > div:first-child::after { content: ""; position: absolute; inset: 6px; border-radius: 50%; background: white; }
.review-score span { position: relative; z-index: 1; font-weight: 900; font-size: .8rem; }
.review-score h3, .review-score p { margin: 0; }
.checklist { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 8px; }
.checklist li { display: flex; gap: 10px; align-items: center; padding: 10px; background: #f6f9fa; border-radius: 10px; color: #3b545e; font-size: .88rem; }
.checklist li i { width: 22px; height: 22px; flex: 0 0 22px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-weight: 900; background: #e3e9eb; color: #7a8d94; }
.checklist li.done i { background: #dff6eb; color: #087847; }
.declaration-card p { font-size: .88rem; }
.check-row { display: flex; align-items: flex-start; gap: 10px; padding: 13px; background: #f6f9fa; border-radius: 10px; margin: 15px 0; }
.check-row input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--aqua-deep); }
.check-row span { margin: 0; line-height: 1.45; }
.issue-card { position: sticky; top: 140px; background: var(--ink); color: white; border-radius: 16px; padding: 22px; }
.document-mark { width: 54px; height: 64px; border-radius: 5px 5px 14px 5px; background: white; color: var(--ink); display: grid; place-items: center; font-weight: 950; margin-bottom: 32px; border-top: 7px solid var(--aqua); }
.issue-card h3 { font-size: 1.25rem; }
.issue-card dl { border-block: 1px solid #294954; padding: 8px 0; margin: 18px 0; }
.issue-card dl div { display: flex; justify-content: space-between; gap: 10px; padding: 7px 0; font-size: .82rem; }
.issue-card dt { color: #87a1aa; }
.issue-card dd { margin: 0; font-weight: 800; text-align: right; }
.issue-card button { margin-top: 8px; }
.issue-help { font-size: .72rem; text-align: center; color: #839ca5; margin: 10px 0 0; }
.form-footer { position: sticky; bottom: 10px; z-index: 8; margin-top: 16px; background: rgba(255,255,255,.94); backdrop-filter: blur(18px); border: 1px solid var(--line); border-radius: 14px; padding: 10px; display: flex; justify-content: space-between; align-items: center; box-shadow: 0 12px 38px rgba(11,31,42,.12); }
.form-footer span { color: var(--muted); font-size: .78rem; font-weight: 700; }
.mobile-progress { display: none; }
.preview-toolbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.preview-toolbar > div { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
.preview-send-help { margin: -6px 0 20px; color: #52676d; font-size: 14px; line-height: 1.5; }
.paper-wrap { background: #d8e0e2; border-radius: 18px; padding: 35px; overflow: auto; }
.report-paper { width: min(794px, 100%); min-height: 1123px; margin: 0 auto; background: white; box-shadow: 0 18px 55px rgba(11,31,42,.18); }
.pdf-cover { min-height: 1050px; padding: 70px 64px; position: relative; overflow: hidden; display: flex; flex-direction: column; }
.pdf-cover::after { content: "CW"; position: absolute; right: -60px; bottom: 15px; font-size: 17rem; font-weight: 950; color: rgba(25,197,212,.09); letter-spacing: -.14em; transform: rotate(-8deg); }
.pdf-brand { display: flex; align-items: center; gap: 13px; }
.pdf-brand .brand-mark { box-shadow: none; }
.pdf-brand strong, .pdf-brand small { display: block; }
.pdf-brand small { color: #6b7e85; letter-spacing: .22em; font-size: .65rem; }
.pdf-title { margin-top: 160px; border-left: 8px solid var(--aqua); padding-left: 20px; position: relative; z-index: 1; }
.pdf-title h1 { font-size: 3.1rem; line-height: 1.05; margin-bottom: 12px; }
.pdf-title p { font-size: 1.2rem; }
.pdf-meta { margin-top: 70px; max-width: 520px; position: relative; z-index: 1; }
.pdf-meta div { display: grid; grid-template-columns: 150px 1fr; padding: 10px 0; border-bottom: 1px solid #dce5e7; }
.pdf-meta dt { color: #667a82; font-weight: 700; }
.pdf-meta dd { margin: 0; font-weight: 850; }
.pdf-demo { margin-top: auto; align-self: flex-start; background: var(--orange); padding: 8px 10px; border-radius: 6px; font-size: .7rem; font-weight: 950; letter-spacing: .1em; position: relative; z-index: 1; }
.pdf-content { padding: 56px 58px; }
.pdf-section { break-inside: avoid; margin-bottom: 28px; }
.pdf-section h2 { font-size: 1.45rem; border-bottom: 4px solid var(--aqua); padding-bottom: 8px; margin-bottom: 13px; }
.pdf-table { width: 100%; border-collapse: collapse; font-size: .86rem; }
.pdf-table th, .pdf-table td { border: 1px solid #ccd8da; padding: 9px 10px; text-align: left; vertical-align: top; }
.pdf-table th { width: 32%; background: #edf3f4; color: #435a63; }
.pdf-narrative { white-space: pre-wrap; line-height: 1.6; color: #263b44; }
.pdf-photos { display: grid; grid-template-columns: repeat(2,1fr); gap: 16px; }
.pdf-photo { break-inside: avoid; }
.pdf-photo img { display: block; width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 6px; }
.pdf-photo p { font-size: .77rem; color: #334a53; margin: 6px 0 0; }
.pdf-declaration { background: #eef7f8; border-left: 5px solid var(--aqua); padding: 16px; color: #40565f; font-size: .82rem; line-height: 1.55; }
.simpro-layout { display: grid; grid-template-columns: minmax(0,1fr) 340px; gap: 18px; margin-top: 18px; }
.job-picker { padding: 8px; }
.job-card { width: 100%; border: 1px solid transparent; border-bottom-color: #e2eaec; background: white; padding: 17px 15px; text-align: left; display: grid; grid-template-columns: 48px minmax(0,1fr) auto; align-items: center; gap: 13px; color: var(--ink); }
.job-card:hover { background: #f7fbfc; border-color: #bfe8eb; border-radius: 12px; }
.job-day { width: 44px; height: 48px; display: grid; place-items: center; align-content: center; background: var(--aqua-soft); color: #087b86; border-radius: 11px; font-weight: 950; }
.job-day small { display: block; font-size: .57rem; letter-spacing: .08em; }
.job-day b { line-height: 1; }
.job-card strong, .job-card small { display: block; }
.job-card small { color: var(--muted); margin-top: 4px; }
.job-card > span:last-child { font-weight: 850; color: var(--aqua-deep); }
.mapping-card { padding: 23px; }
.mapping-card ol { list-style: none; padding: 0; margin: 22px 0; display: grid; gap: 14px; }
.mapping-card li { display: flex; gap: 11px; align-items: flex-start; }
.mapping-card li b { width: 27px; height: 27px; border-radius: 8px; background: var(--aqua-soft); color: var(--aqua-deep); display: grid; place-items: center; flex: 0 0 27px; }
.mapping-card li strong, .mapping-card li span { display: block; }
.mapping-card li span { font-size: .83rem; color: var(--muted); line-height: 1.45; }
.mapping-card li strong { color: var(--ink); margin-bottom: 2px; }
.mock-badge { display: flex; align-items: center; gap: 8px; }
.template-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 17px; margin-top: 18px; }
.template-card { background: white; border: 1px solid var(--line); border-radius: 18px; padding: 24px; }
.template-card.active-template { border-top: 5px solid var(--aqua); }
.template-card > span { font-size: .67rem; letter-spacing: .1em; font-weight: 900; color: #73878f; }
.template-icon { width: 60px; height: 60px; margin: 35px 0 24px; display: grid; place-items: center; border-radius: 17px; background: var(--aqua-soft); color: #087c87; font-weight: 950; font-size: 1.25rem; }
.template-icon.muted { background: #ebeff0; color: #84969d; }
.template-card h3 { font-size: 1.35rem; }
.template-card p { min-height: 76px; font-size: .9rem; }
.mobile-nav { display: none; }
.toast { position: fixed; z-index: 120; right: 22px; bottom: 22px; max-width: min(360px, calc(100vw - 44px)); padding: 13px 16px; background: var(--ink); color: white; border-radius: 11px; box-shadow: var(--shadow); transform: translateY(25px); opacity: 0; pointer-events: none; transition: .22s ease; font-size: .87rem; font-weight: 700; }
.toast.show { transform: translateY(0); opacity: 1; }

/* Inspection Demo brand alignment - source-faithful cyan and technical report styling. */
:root {
  --ink: #2d3438;
  --ink-2: #3b464b;
  --aqua: #32cfe1;
  --aqua-deep: #0caabd;
  --aqua-soft: #e4f9fb;
  --canvas: #eef1f2;
  --line: #d1d7d9;
  --shadow: 0 16px 45px rgba(39, 51, 55, .09);
}
.demo-ribbon { background: #343d41; color: white; border-top: 3px solid var(--aqua); height: 31px; }
.app-shell { padding-top: 31px; grid-template-columns: 258px 1fr; }
.sidebar { top: 31px; width: 258px; background: #f9fafb; color: var(--ink); border-right: 1px solid #d8dede; padding-inline: 16px; }
.brand { min-height: 74px; padding: 2px 9px 24px; border-bottom: 1px solid #dfe4e5; margin-bottom: 18px; }
.brand img { display: block; width: 100%; height: auto; mix-blend-mode: multiply; }
.nav-item { color: #68777d; }
.nav-item span { color: #9aa6aa; }
.nav-item:hover, .nav-item.active { color: #1e2b30; background: white; box-shadow: 0 7px 20px rgba(43,57,62,.07); }
.nav-item.active { box-shadow: inset 4px 0 var(--aqua), 0 7px 20px rgba(43,57,62,.07); }
.sidebar-foot { border-top-color: #dce2e3; }
.connection-mini { color: #64747a; }
.profile-button { background: white; color: var(--ink); border: 1px solid #d8dfe0; }
.profile-button small { color: #75868d; }
.avatar { background: #354247; color: white; }
.topbar { top: 31px; height: 88px; border-bottom: 4px solid var(--aqua); }
.dashboard-lead { background: linear-gradient(128deg, #f7f8f8 0%, #e8ecec 100%); color: var(--ink); border: 1px solid #d5dada; box-shadow: var(--shadow); }
.dashboard-lead::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 9px; background: var(--aqua); }
.dashboard-lead::after { display: none; }
.dashboard-lead h2 { color: #31383c; max-width: 700px; }
.dashboard-lead p:not(.eyebrow) { color: #5f6d72; }
.hero-watermark { position: absolute; right: 210px; bottom: -72px; width: 230px; opacity: .085; mix-blend-mode: multiply; transform: rotate(-7deg); pointer-events: none; }
.metric { border-radius: 9px; border-top: 4px solid #d7dcdd; box-shadow: 0 7px 20px rgba(43,57,62,.04); }
.metric.dark { background: #384247; border-color: var(--aqua); }
.panel { border-radius: 10px; }
.panel-head { border-top: 5px solid var(--aqua); }
.report-type-icon { border-radius: 5px; background: #d9f7fa; border: 1px solid #9debf2; }
.simpro-card { border-top: 5px solid #384247; }
.primary, .secondary, .text-button { border-radius: 6px; }
.primary { background: var(--aqua); color: #16343a; }
.primary:hover { background: #58dbe8; }
.step-nav { background: #374146; border-radius: 10px; border-top: 6px solid var(--aqua); }
.step-nav li button:hover, .step-nav li button.active { background: #4a575d; }
.local-note { background: #2c363a; border-color: #4c5a60; }
.form-card, .ai-card { border-radius: 9px; border-top: 4px solid #d8dede; }
.fixture-card { border-top-color: var(--aqua); }
.form-card > h3, .card-title-row { border-bottom-width: 3px; border-bottom-color: #b9eef3; }
.number-chip { border-radius: 4px; }
.ai-card { border-left: 1px solid var(--line); border-top-color: #6d5ab8; }
.upload-zone { border-radius: 9px; background: #f9fbfb; }
.photo-card { border-radius: 8px; border-top: 4px solid var(--aqua); box-shadow: 0 8px 24px rgba(40,53,58,.07); }
.photo-image { background: #dde1e2; }
.cover-label { border-radius: 4px; background: #343d41; letter-spacing: .07em; }
.category-summary { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 9px; margin-bottom: 13px; }
.category-tile { background: white; border: 1px solid var(--line); border-top: 4px solid var(--aqua); padding: 12px; border-radius: 7px; }
.category-tile strong, .category-tile span { display: block; }
.category-tile strong { font-size: 1.3rem; letter-spacing: -.04em; }
.category-tile span { color: var(--muted); font-size: .72rem; font-weight: 800; margin-top: 2px; }
.photo-sequence { position: absolute; right: 9px; top: 9px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; color: #20353b; background: var(--aqua); font-weight: 950; font-size: .76rem; box-shadow: 0 4px 14px rgba(0,0,0,.15); }
.photo-category-label { position: absolute; left: 9px; bottom: 9px; max-width: calc(100% - 18px); background: rgba(255,255,255,.92); color: #31444b; border-left: 4px solid var(--aqua); padding: 6px 8px; font-size: .68rem; font-weight: 900; text-transform: uppercase; letter-spacing: .06em; }
.issue-card { background: #384247; border-radius: 9px; border-top: 6px solid var(--aqua); }
.document-mark { background: white url("./assets/inspection-demo-mark.png") center/70% auto no-repeat; color: transparent; border-top-color: var(--aqua); }
.template-card { border-radius: 10px; }
.template-icon { border-radius: 6px; }
.pdf-cover { min-height: 1050px; background: #e8e8e8; border: 1px solid #c7ccce; padding: 72px 68px; }
.pdf-cover::after { content: ""; right: -18px; bottom: -72px; width: 390px; height: 460px; background: url("./assets/inspection-demo-mark.png") center/contain no-repeat; opacity: .12; transform: rotate(-7deg); }
.pdf-brand { display: block; width: min(560px, 100%); }
.pdf-brand img { display: block; width: 100%; height: auto; mix-blend-mode: multiply; }
.pdf-title { margin-top: 120px; border-left: 0; padding-left: 0; }
.pdf-title::before { content: ""; display: block; width: 100%; height: 7px; background: var(--aqua); margin: 20px 0 24px; }
.pdf-title h1 { font-size: 3rem; color: #45494b; }
.pdf-title p { color: #545e62; }
.pdf-meta { margin-top: 46px; }
.pdf-meta div { border-bottom-color: #bdc5c7; }
.pdf-demo { background: #343d41; color: white; border-radius: 3px; }
.pdf-content { position: relative; padding: 42px 55px 58px; }
.pdf-content::after { content: ""; position: absolute; right: 24px; bottom: 24px; width: 120px; height: 145px; opacity: .055; background: url("./assets/inspection-demo-mark.png") center/contain no-repeat; pointer-events: none; }
.pdf-page-header { display: flex; justify-content: space-between; align-items: center; border-bottom: 5px solid var(--aqua); padding-bottom: 12px; margin-bottom: 28px; }
.pdf-page-header > div strong, .pdf-page-header > div span { display: block; }
.pdf-page-header > div span { color: #77868b; font-size: .75rem; margin-top: 3px; }
.pdf-page-header img { width: 205px; mix-blend-mode: multiply; }
.pdf-section { margin-bottom: 25px; }
.pdf-section h2 { display: flex; align-items: center; justify-content: space-between; font-size: 1rem; text-transform: uppercase; letter-spacing: .045em; background: var(--aqua); color: #24383e; padding: 9px 12px; border: 0; margin-bottom: 0; }
.pdf-section h2 small { font-size: .67rem; color: #315057; }
.pdf-table th, .pdf-table td { border-color: #aeb9bc; padding: 9px 11px; }
.pdf-table th { background: #e8e8e8; color: #34484f; }
.pdf-table td { background: #f4f4f4; }
.pdf-narrative { border: 1px solid #b9c3c6; border-top: 0; background: #f5f5f5; margin: 0; padding: 16px; }
.pdf-photo-group { margin: 0 0 24px; break-inside: avoid; }
.pdf-photo-group-head { display: flex; align-items: end; justify-content: space-between; gap: 10px; padding: 9px 0; border-bottom: 3px solid var(--aqua); margin-bottom: 12px; }
.pdf-photo-group-head h3 { margin: 0; font-size: .95rem; text-transform: uppercase; letter-spacing: .05em; }
.pdf-photo-group-head span { color: #76868c; font-size: .72rem; font-weight: 800; }
.pdf-photo { margin: 0; border: 1px solid #c7d0d2; background: #f5f5f5; padding: 7px; }
.pdf-photo img { border-radius: 2px; }
.pdf-photo p { min-height: 38px; margin: 8px 2px 2px; }
.pdf-photo-number { display: inline-grid; place-items: center; width: 21px; height: 21px; margin-right: 5px; border-radius: 50%; background: var(--aqua); color: #263c42; font-size: .68rem; font-weight: 950; }
.pdf-declaration { background: #efefef; border-left-color: var(--aqua); }
.pdf-index { list-style: none; margin: 50px 0 0; padding: 0; max-width: 520px; position: relative; z-index: 1; }
.pdf-index::before { content: "REPORT INDEX"; display: block; font-size: 1.2rem; color: #555d60; margin-bottom: 10px; }
.pdf-index li { display: grid; grid-template-columns: 34px 1fr auto; gap: 10px; padding: 10px 0; border-top: 1px solid #bcc5c7; color: #4d5659; font-size: .9rem; }
.pdf-index li b { color: var(--aqua-deep); }
.pdf-index li span:last-child { color: #7a878b; }

@media (max-width: 1100px) {
  .metric-grid { grid-template-columns: repeat(2,1fr); }
  .workspace-grid { grid-template-columns: 1fr; }
  .simpro-card { min-height: 260px; }
  .integration-icon { margin-bottom: 18px; }
  .report-row { grid-template-columns: 42px minmax(170px,1.5fr) minmax(130px,1fr) 120px 20px; }
  .test-grid { grid-template-columns: repeat(2,1fr); }
  .editor-layout { grid-template-columns: 220px minmax(0,1fr); }
  .simpro-layout { grid-template-columns: 1fr; }
}

@media (max-width: 820px) {
  body { padding-bottom: 70px; }
  .demo-ribbon { font-size: .58rem; padding-inline: 8px; text-align: center; }
  .app-shell { display: block; }
  .sidebar { display: none; }
  main { display: block; }
  .topbar { top: 31px; height: 76px; padding: 0 18px; }
  .topbar h1 { font-size: 1.35rem; }
  .topbar .eyebrow, .save-state, .top-actions .primary { display: none; }
  .mobile-menu { display: none; }
  .mobile-brand { display: block; width: 112px; height: auto; mix-blend-mode: multiply; }
  body:has(#previewView.active) { padding-bottom: 0; }
  body:has(#previewView.active) .mobile-nav { display: none; }
  .view { padding: 19px 15px 45px; }
  .dashboard-lead { padding: 24px; display: block; }
  .dashboard-lead::after { right: -20px; top: 20px; font-size: 8rem; }
  .dashboard-lead h2 { font-size: 2rem; max-width: 85%; }
  .dashboard-lead .primary { margin-top: 20px; width: 100%; }
  .metric-grid { grid-template-columns: repeat(2,1fr); gap: 9px; margin: 10px 0; }
  .metric { padding: 15px; }
  .metric strong { font-size: 1.6rem; }
  .panel-head { display: block; padding: 17px; }
  .filters { margin-top: 13px; }
  .search { flex: 1; }
  .search input { width: 100%; }
  .filters select { width: 135px; }
  .report-row { grid-template-columns: 38px 1fr auto; gap: 10px; }
  .report-row .report-site, .report-row > span:last-child { display: none; }
  .editor-toolbar { margin-bottom: 6px; }
  .editor-id { display: none; }
  .editor-layout { display: block; }
  .step-nav { display: none; }
  .mobile-progress { display: flex; align-items: center; gap: 12px; margin-bottom: 11px; color: var(--muted); font-size: .78rem; font-weight: 800; }
  .mobile-progress div { height: 5px; border-radius: 999px; overflow: hidden; background: #dce5e7; flex: 1; }
  .mobile-progress i { display: block; width: 14%; height: 100%; background: var(--aqua-deep); transition: width .2s ease; }
  .section-heading { padding-bottom: 12px; }
  .section-heading h2 { font-size: 1.72rem; }
  .section-heading > span { display: none; }
  .form-card, .ai-card { padding: 17px; border-radius: 14px; }
  .form-grid.two, .form-grid.three, .fixture-grid, .test-grid { grid-template-columns: 1fr; }
  .ai-card-head { align-items: flex-start; }
  .ai-card-head > div p { display: none; }
  .photo-grid { grid-template-columns: 1fr; }
  .category-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .review-layout { grid-template-columns: 1fr; }
  .issue-card { position: static; }
  .form-footer { bottom: 77px; }
  .form-footer span { display: none; }
  .preview-toolbar { align-items: flex-start; }
  .preview-toolbar > div { align-items: flex-end; flex-direction: column; }
  .paper-wrap { padding: 10px; border-radius: 10px; }
  .report-paper { min-height: 700px; }
  .pdf-cover { min-height: 720px; padding: 42px 30px; }
  .pdf-title { margin-top: 100px; }
  .pdf-title h1 { font-size: 2.25rem; }
  .pdf-meta div { grid-template-columns: 110px 1fr; }
  .pdf-content { padding: 35px 27px; }
  .pdf-table { font-size: .75rem; }
  .pdf-photos { grid-template-columns: 1fr; }
  .template-grid { grid-template-columns: 1fr; }
  .template-card p { min-height: 0; }
  .mobile-nav { position: fixed; display: grid; grid-template-columns: repeat(3,1fr); z-index: 90; bottom: 0; left: 0; right: 0; background: rgba(11,31,42,.97); border-top: 1px solid #27444f; padding: 7px 12px calc(7px + env(safe-area-inset-bottom)); }
  .mobile-nav button { border: 0; background: transparent; color: #91a6ae; display: grid; gap: 2px; justify-items: center; font-size: .68rem; font-weight: 800; }
  .mobile-nav button span { font-size: 1.15rem; line-height: 1.2; }
  .mobile-nav button.active { color: var(--aqua); }
  .toast { bottom: 86px; }
}

@media (max-width: 470px) {
  .metric-grid { grid-template-columns: 1fr 1fr; }
  .metric > span { min-height: 32px; }
  .filters { display: grid; grid-template-columns: 1fr; }
  .filters select { width: 100%; }
  .form-footer .primary, .form-footer .secondary { padding: 11px 12px; font-size: .82rem; }
  .ai-card-head { display: block; }
  .ai-card-head > button { margin-top: 13px; width: 100%; }
}

@media print {
  @page { size: A4; margin: 0; }
  body { background: white; padding: 0; }
  .demo-ribbon, .sidebar, .topbar, .mobile-nav, .preview-toolbar, .preview-send-help, .toast { display: none !important; }
  .app-shell, main { display: block; padding: 0; }
  .view { display: none !important; padding: 0; max-width: none; }
  #previewView { display: block !important; }
  .paper-wrap { background: white; padding: 0; }
  .report-paper { width: 210mm; box-shadow: none; }
  .pdf-cover { min-height: 297mm; page-break-after: always; }
  .pdf-content { padding: 16mm; }
  .pdf-content::after { position: fixed; }
  .pdf-section { page-break-inside: avoid; }
  .pdf-demo { background: #ff7a45 !important; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}

/* Phase-one workflow additions */
.network-state {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
  background: #fff;
}

.network-state i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #18a971;
  box-shadow: 0 0 0 4px rgba(24, 169, 113, .12);
}

.network-state.offline {
  color: #994128;
  border-color: #f0c7ba;
  background: #fff6f2;
}

.network-state.offline i {
  background: var(--coral);
  box-shadow: 0 0 0 4px rgba(240, 104, 74, .12);
}

.install-button { white-space: nowrap; }

.cover-upload-card {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(250px, .85fr);
  gap: 22px;
  align-items: center;
}

.compact-upload {
  min-height: 128px;
  margin: 0;
}

.site-photo-preview {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(180px, 340px) 1fr;
  gap: 18px;
  align-items: center;
  padding: 12px;
  border-radius: 14px;
  background: var(--mist);
}

.site-photo-preview[hidden] { display: none; }
.site-photo-preview img { width: 100%; height: 190px; object-fit: cover; border-radius: 10px; background: #fff; }
.site-photo-preview div { display: grid; gap: 6px; justify-items: start; }
.site-photo-preview span { color: var(--muted); font-size: 13px; }

.ai-service-note {
  display: flex;
  gap: 10px 18px;
  align-items: center;
  margin-bottom: 14px;
  padding: 12px 15px;
  border: 1px solid rgba(37, 197, 213, .35);
  border-radius: 12px;
  background: rgba(37, 197, 213, .08);
  color: var(--ink);
}

.ai-service-note span { color: var(--muted); font-size: 13px; }
.ai-service-note.offline { border-color: #f0c7ba; background: #fff6f2; }
.suggestion-actions { display: flex; gap: 8px; flex-wrap: wrap; }

.status-pill.submitted { background: #e2f7fa; color: #087a88; }
.status-pill.completed { background: #dff6e9; color: #13734d; }
.readiness-badge { align-self: center; padding: 10px 14px; border-radius: 999px; background: var(--aqua); color: var(--ink); font-size: 12px; font-weight: 900; white-space: nowrap; }
.template-source { display: block; min-height: 18px; margin: 0 0 13px; color: #0e8f9d; font-weight: 800; }
.preview-cover-photo { margin-top: 30px; position: relative; z-index: 1; width: min(100%, 540px); padding: 7px; border: 1px solid #d7e2e4; border-radius: 12px; background: #fff; }
.preview-cover-photo img { display: block; width: 100%; height: 290px; object-fit: contain; background: #f1f4f5; border-radius: 8px; }

@media (max-width: 900px) {
  .network-state { position: fixed; top: 48px; right: 14px; z-index: 20; padding: 6px 9px; font-size: 10px; }
  .cover-upload-card { grid-template-columns: 1fr; }
  .site-photo-preview { grid-template-columns: 1fr; }
  .site-photo-preview img { height: 220px; }
  .ai-service-note { align-items: flex-start; flex-direction: column; }
}
:is(.cloud-mode) [hidden] { display: none !important; }
/* Inline evidence and repeatable roof areas use the existing InspectionDemo palette. */
.section-photo-box { margin-top: 18px; border-top: 1px solid var(--line, #d2dadc); padding-top: 16px; }
.section-photo-box > span { margin-left: 12px; color: #52646b; }
.section-upload { display: inline-flex; position: relative; cursor: pointer; min-height: 44px; align-items: center; }
.section-upload input { position: absolute; inset: 0; width: 100%; opacity: 0; cursor: pointer; }
.section-upload:focus-within { outline: 3px solid #007f90; outline-offset: 3px; }
.section-thumbnails { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; margin-top: 14px; }
.section-thumbnails article { min-width: 0; background: #f0f3f4; padding: 8px; border-radius: 10px; }
.section-thumbnails img { width: 100%; height: 140px; object-fit: contain; }
.section-thumbnails input { width: 100%; min-width: 0; }
.roof-area { margin: 18px 0; padding: 16px; border: 1px solid #cadbdd; border-left: 4px solid #25c5d5; border-radius: 10px; }
.roof-area summary { cursor: pointer; padding: 8px 0; font-size: 17px; font-weight: 700; overflow-wrap: anywhere; }
.roof-area label { display: block; margin-top: 16px; }
.roof-area label span { display: block; margin-bottom: 8px; }
.roof-area input, .roof-area textarea { width: 100%; }
.area-presets, .area-actions { display: flex; gap: 8px; flex-wrap: wrap; margin: 16px 0; }
[hidden] { display: none !important; }
.defect-picker { border: 1px solid #cadbdd; border-radius: 10px; padding: 16px; margin: 16px 0; min-width: 0; }
.defect-picker legend { font-weight: 700; padding: 0 8px; }
.defect-picker > label { display: flex; align-items: start; gap: 12px; padding: 9px 0; min-height: 44px; }
.defect-picker input[type="checkbox"] { width: 22px; height: 22px; flex: 0 0 22px; margin: 0; }
.defect-picker [data-defect-other], .defect-picker [data-waste-other] { display: block; }
.onsite-polish { display: grid; gap: 10px; margin-top: 12px; }
.onsite-polish small,.photo-batch small { color: #52646b; font-size: 14px; line-height: 1.5; }
.photo-batch { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 16px 0; }
.photo-batch > * { min-width: 0; }
.photo-batch input { width: 100%; }
.section-photo-box { display: block; }
.section-photo-box > .section-upload { margin: 6px 8px 6px 0; }
@media(max-width:650px) { .photo-batch {grid-template-columns: 1fr;} .defect-picker {padding: 12px;} }
.quick-answer { margin-top: 8px; white-space: normal; text-align: left; }
.ai-review-questions { border-left: 3px solid #df9b2c; padding: 10px 14px; margin: 12px 0; background: #fff9ec; color: #39464b; font-size: 14px; }
.section-thumbnails label { display: grid; gap: 6px; margin-top: 8px; font-size: 14px; }
.photo-batch button { white-space: normal; min-height: 44px; }
.fixture-toggle { margin: 8px 0; min-height: 44px; }
.fixture-collapsed > .conditional { display: none; }
#reviewChecklist > li:has(.review-issues) { flex-wrap: wrap; }
.review-issues { flex: 1 0 100%; list-style: none; margin: 8px 0 0; padding-left: 28px; }
.review-issues li { display: block; border: 0; padding: 0; }
.review-issues button { text-align: left; line-height: 1.5; min-height: 44px; text-decoration: underline; }
[data-field] { scroll-margin-top: 160px; }
@media(max-width:820px) {
  .form-footer { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .form-footer > button:first-child { grid-column: 1; grid-row: 1; justify-self: start; }
  .form-footer > button:last-child { grid-column: 2; grid-row: 1; justify-self: end; }
  .form-footer #stepSaveText { display: block; grid-column: 1 / -1; grid-row: 2; font-size: 14px; text-align: center; }
  .fixture-collapsed { padding-bottom: 12px; }
}
.meeting-report .pdf-photos{border:1px solid #d2dadc;padding:12px;gap:12px}
.meeting-report .pdf-photo{border:1px solid #d2dadc;padding:8px}
#additionalFixturesHost>.fixture-card{margin-top:20px;border-top:4px solid var(--aqua,#25c5d5)}
/* Reports home: explicit office actions, usable on touch screens. */
.report-library-scope{margin:0;padding:16px 22px;color:#435d67;font-size:14px;line-height:1.6;background:#eef8f9;}
.saved-report-card{padding:22px;border-bottom:1px solid #d8e2e5;}
.saved-report-heading{display:flex;justify-content:space-between;gap:16px;align-items:flex-start;}
.saved-report-heading h4{margin:0 0 7px;font-size:17px;line-height:1.4;}
.saved-report-heading p{margin:0;color:#566b75;font-size:14px;line-height:1.5;}
.saved-report-actions{display:flex;flex-wrap:wrap;gap:10px;margin:16px 0 10px;}
.saved-report-actions button{min-height:44px;}
.saved-report-card>small{font-size:13px;color:#566b75;line-height:1.5;}
@media(max-width:640px){.saved-report-heading{flex-direction:column;gap:10px}.saved-report-actions button{flex:1 1 140px}.saved-report-card{padding:18px}.report-library-scope{padding:16px 18px}}
