:root {
  color-scheme: light;
  --wine: #7d293e;
  --wine-dark: #652034;
  --wine-soft: #f6edf0;
  --ink: #302d2e;
  --muted: #7d7777;
  --line: #e8e3e1;
  --paper: #ffffff;
  --canvas: #f7f6f4;
  --green: #437364;
  --green-soft: #edf4ef;
  --amber: #8b6228;
  --amber-soft: #fbf5e9;
  --radius: 16px;
  font-family: "REVO Sans JP", -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 28px; }
body { margin: 0; background: var(--canvas); color: var(--ink); font-size: 14px; line-height: 1.75; }
button, input, select, textarea { font: inherit; }
button, input, select, textarea, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button, a { touch-action: manipulation; }
button:disabled { cursor: not-allowed; opacity: .45; }
a { color: var(--wine); text-underline-offset: 3px; }
button { color: inherit; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 3px solid #bd8797; outline-offset: 3px;
}
button:focus:not(:focus-visible) { outline: none; }
button svg, a svg { flex: 0 0 auto; }
svg { vertical-align: middle; }
h1, h2, h3, h4, p { margin-top: 0; }
h1, h2, h3, h4 { line-height: 1.5; font-weight: 650; }
h2 { font-size: 20px; }
h3 { font-size: 16px; }
p { margin-bottom: 12px; }
p:last-child { margin-bottom: 0; }
strong { font-weight: 650; }
small { font-size: 12px; }
hr, .separator { border: 0; border-top: 1px solid var(--line); margin: 24px 0; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.print-only { display: none; }

.app-shell { min-height: 100vh; }
.sidebar { position: fixed; z-index: 20; inset: 0 auto 0 0; width: 210px; padding: 32px 18px 22px; display: flex; flex-direction: column; background: #fff; border-right: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 10px; color: var(--wine); text-decoration: none; padding: 0 10px; }
.brand-mark { width: 34px; height: 38px; display: grid; place-items: center; color: var(--wine); flex-shrink: 0; }
.brand-mark svg { width: 100%; height: 100%; }
.brand-name { display: block; font-size: 18px; font-weight: 750; letter-spacing: .035em; line-height: 1.4; white-space: nowrap; }
.brand-sub { display: block; font-size: 9px; letter-spacing: .16em; color: #9a8188; font-weight: 500; }
.sidebar-nav { margin-top: 47px; display: grid; gap: 7px; }
.nav-item { width: 100%; min-height: 48px; display: flex; align-items: center; gap: 13px; padding: 12px 17px; border: 0; border-radius: 9px; background: transparent; font-size: 13px; font-weight: 550; color: #827b7c; text-decoration: none; text-align: left; }
.nav-item svg { width: 20px; height: 20px; stroke-width: 1.7; }
.nav-item:hover { background: #faf7f7; color: var(--wine); }
.nav-item.active { background: var(--wine-soft); color: var(--wine); font-weight: 650; }
.sidebar-foot { margin-top: auto; padding: 20px 12px 0; font-size: 11px; line-height: 1.9; color: #9d9395; border-top: 1px solid var(--line); }
.sidebar-foot p { margin-bottom: 8px; }
.sidebar-foot .text-button { font-size: 11px; padding: 4px 0; min-height: 44px; color: #8b777d; }
.workspace { margin-left: 210px; min-height: 100vh; }
.mobile-header { display: none; }
.topbar { height: 76px; padding: 0 40px; display: flex; align-items: center; justify-content: space-between; gap: 14px; background: rgba(255,255,255,.78); border-bottom: 1px solid var(--line); }
.eyebrow { color: #92878a; font-size: 11px; letter-spacing: .15em; font-weight: 600; }
.account-pill { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 5px 12px; border: 1px solid #e6dadd; border-radius: 999px; background: #fff; color: #77686d; font-size: 11px; white-space: nowrap; }
button.account-pill { min-height: 44px; }
.account-pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #af8b96; }
.demo-strip { padding: 9px 28px; background: #f1eeeb; border-bottom: 1px solid #e8e2df; color: #857a77; text-align: center; font-size: 11px; line-height: 1.7; }
.demo-strip strong { color: #746263; font-weight: 600; }
.page { width: 100%; max-width: 1160px; margin: 0 auto; padding: 35px 40px 56px; animation: page-in .2s ease-out; }
@keyframes page-in { from { opacity: .5; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.page-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 25px; }
.page-title { font-size: 26px; letter-spacing: .035em; margin: 0 0 6px; }
.page-subtitle { color: var(--muted); font-size: 12px; margin: 0; }
.date-chip { font-size: 11px; color: #8d8180; white-space: nowrap; padding: 6px 10px; border: 1px solid #e4ddda; border-radius: 6px; }
.page-toolbar { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; margin-bottom: 20px; }
.back-button { background: transparent; border: 0; padding: 5px 0; min-height: 44px; color: #827275; font-size: 12px; display: inline-flex; align-items: center; gap: 7px; }
.back-button:hover { color: var(--wine); }
.grid-home { display: grid; grid-template-columns: minmax(0, 1.18fr) minmax(0, .92fr); gap: 23px; align-items: start; }
.stack { display: grid; gap: 22px; min-width: 0; }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 3px 14px rgba(65,43,44,.025); overflow: hidden; padding: 25px; min-width: 0; }
.card-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.card-label { display: block; color: #9e8b90; font-size: 10px; letter-spacing: .11em; font-weight: 650; margin: 0 0 6px; }
.card-title { font-size: 17px; margin: 0; letter-spacing: .025em; }
.text-muted { color: var(--muted); font-size: 12px; }
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 16px; margin: 4px 0 15px; }
.mini-label { color: #998b8e; font-size: 10px; font-weight: 600; letter-spacing: .09em; }
.chip, .badge { display: inline-flex; align-items: center; justify-content: center; gap: 4px; padding: 3px 8px; border-radius: 5px; font-size: 10px; font-weight: 550; line-height: 1.6; color: #8c6a76; background: var(--wine-soft); vertical-align: middle; }
.badge.warning, .chip.warning { background: var(--amber-soft); color: var(--amber); }
.badge.success, .chip.success { background: var(--green-soft); color: var(--green); }
.status { font-size: 10px; padding: 3px 8px; border-radius: 4px; color: #9b7a4e; background: var(--amber-soft); white-space: nowrap; }
.status.success { color: var(--green); background: var(--green-soft); }
.property-card { padding: 0; }
.property-card .card-header { padding: 22px 24px 0; }
.property-card .property-info { padding: 0 24px 22px; }
.property-art { position: relative; width: 100%; height: 180px; display: grid; place-items: center; background: #f5f1ee; overflow: hidden; color: #ae9d98; border-bottom: 1px solid #eee7e3; }
.property-art::before { content: ""; width: 175px; height: 175px; position: absolute; border-radius: 50%; background: #eee6e0; top: 25px; right: 18%; }
.property-art svg { position: relative; height: 145px; max-width: 90%; width: auto; }
.property-art .chip { position: absolute; top: 15px; right: 17px; background: rgba(255,255,255,.82); color: #9c827e; }
.property-info h2, .property-info h3 { margin-bottom: 5px; }
.property-info h2 { font-size: 21px; letter-spacing: .05em; }
.property-meta { display: flex; gap: 7px 12px; align-items: center; flex-wrap: wrap; color: #8d8381; font-size: 11px; margin-bottom: 18px; }
.stats-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 0; margin: 23px 0 18px; }
.stat { padding: 0 12px; border-left: 1px solid var(--line); }
.stat:first-child { padding-left: 0; border: 0; }
.stat:last-child { padding-right: 0; }
.stat-value { display: block; font-size: 24px; color: #4c4144; font-weight: 650; letter-spacing: -.025em; line-height: 1.5; font-variant-numeric: tabular-nums; white-space: nowrap; }
.stat-value small { font-size: 11px; font-weight: 500; margin-left: 2px; }
.stat-label { display: block; color: #9a8f90; font-size: 10px; margin-top: 3px; }
.card-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; border-top: 1px solid var(--line); margin: 20px -25px -25px; padding: 13px 25px; background: #fdfcfc; }
.property-card .card-footer { margin: 18px -24px -22px; padding: 12px 24px; }
.text-button { background: transparent; border: 0; color: var(--wine); min-height: 44px; padding: 5px 0; font-size: 12px; font-weight: 600; display: inline-flex; align-items: center; justify-content: center; gap: 7px; text-decoration: none; }
.text-button:hover { color: var(--wine-dark); text-decoration: underline; text-underline-offset: 4px; }
.button { min-height: 46px; padding: 12px 19px; border: 1px solid #e5d9dc; border-radius: 8px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; background: white; color: var(--wine); font-size: 12px; font-weight: 600; text-decoration: none; line-height: 1.6; transition: background .15s, border-color .15s, transform .15s; }
.button:hover { border-color: #bc8f9d; background: #fbf8f9; }
.button:active { transform: translateY(1px); }
.button.primary { background: var(--wine); color: #fff; border-color: var(--wine); box-shadow: 0 3px 8px #7d293e12; }
.button.primary:hover { background: var(--wine-dark); border-color: var(--wine-dark); }
.button.secondary { background: #fff; border-color: #d9c3ca; }
.button.ghost { border-color: transparent; background: transparent; color: #8c7b81; }
.button.ghost:hover { background: var(--wine-soft); }
.button.danger { color: #9e3f46; border-color: #e9cdd0; background: #fffafa; }
.button.full { width: 100%; }
.button.small { padding: 9px 13px; min-height: 44px; font-size: 11px; }
.button svg { width: 17px; height: 17px; }
.inline-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.consult-card { position: relative; background: var(--wine); color: #fff; border-color: var(--wine); padding: 26px; overflow: hidden; }
.consult-card::after { content: ""; position: absolute; width: 155px; height: 155px; border: 1px solid #ffffff12; border-radius: 50%; right: -52px; top: -52px; pointer-events: none; }
.consult-card .card-label, .consult-card .text-muted { color: #e1c7cf; }
.consult-card h2 { margin: 0 0 9px; font-size: 21px; letter-spacing: .04em; }
.consult-copy { font-size: 12px; line-height: 1.9; color: #e9d6dc; margin-bottom: 20px; }
.consult-icon { width: 36px; height: 36px; display: grid; place-items: center; background: #ffffff12; border: 1px solid #ffffff23; color: #fff; border-radius: 10px; margin-bottom: 14px; }
.consult-icon svg { width: 20px; height: 20px; }
.consult-card .button.primary { background: #fff; color: var(--wine); border-color: #fff; }
.consult-card .button.primary:hover { background: #f7edf0; }
.consult-card .button { position: relative; z-index: 1; }
.consult-card small { display: block; color: #d6b5bf; font-size: 10px; margin-top: 12px; line-height: 1.8; }
.task-list { list-style: none; padding: 0; margin: 0; }
.task-row { display: flex; align-items: flex-start; gap: 12px; padding: 16px 0; border-top: 1px solid var(--line); }
.task-row:first-child { padding-top: 0; border-top: 0; }
.task-row:last-child { padding-bottom: 0; }
.task-number { width: 26px; height: 26px; border-radius: 50%; background: #f5f0ed; color: #a58b85; font-size: 10px; font-weight: 600; display: grid; place-items: center; flex-shrink: 0; margin-top: 2px; }
.task-body { flex: 1; min-width: 0; }
.task-body strong { font-size: 12px; }
.task-body p { color: #978c8c; font-size: 11px; margin: 3px 0 4px; }
.task-body .text-button { min-height: 44px; font-size: 11px; }
.checklist { display: grid; gap: 2px; margin: 16px 0; }
.check-row { display: flex; align-items: center; gap: 9px; padding: 9px 0; font-size: 12px; }
.check-row svg { width: 17px; height: 17px; color: #8b9b8e; }
.check-row .status { margin-left: auto; }
.check-row input { margin: 0; flex-shrink: 0; }
.progress-track { height: 5px; border-radius: 99px; background: #f0eae8; overflow: hidden; margin: 15px 0 10px; }
.progress-fill { height: 100%; border-radius: inherit; background: #9d6676; transition: width .25s ease; }
.property-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; }
.property-tile { padding: 0; transition: border-color .15s, box-shadow .15s; }
.property-tile:hover { border-color: #d5bdc4; box-shadow: 0 6px 20px #6c3b4a09; }
.property-tile .property-art { height: 150px; }
.property-tile .property-art svg { height: 124px; }
.property-tile .property-info { padding: 20px; }
.property-tile .property-info h2 { font-size: 17px; }
.property-tile .stats-grid { margin: 15px 0; grid-template-columns: repeat(2,minmax(0,1fr)); }
.property-tile .stat-value { font-size: 22px; }
.detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 23px; }
.info-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; }
.info-item { font-size: 14px; }
.info-item > span:first-child, .info-item dt { display: block; font-size: 10px; color: #9c8d91; margin-bottom: 4px; }
.info-item dd { margin: 0; }
.metric-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; margin: 22px 0; }
.metric { padding: 18px 15px; background: #f8f5f4; border-radius: 9px; font-size: 11px; color: #9a878b; }
.metric-number { display: block; font-size: 25px; font-weight: 650; color: #66404c; margin-top: 3px; line-height: 1.5; }
.metric-number small { font-size: 11px; margin-left: 3px; font-weight: 500; }
.notice { padding: 14px 16px; border: 1px solid #e8e1de; border-radius: 8px; background: #f9f6f3; color: #8a7771; font-size: 11px; line-height: 1.9; margin: 17px 0; }
.notice strong { display: inline; color: #735e5b; }
.notice.warning { background: var(--amber-soft); border-color: #efdfc1; color: #947342; }
.notice.warning strong { color: #815e2c; }
.notice.info { background: var(--wine-soft); border-color: #ecdae0; color: #8e6572; }
.notice.info strong { color: var(--wine); }
.form-card { max-width: 720px; margin: 0 auto; padding: 30px; }
.field { margin-bottom: 23px; }
.field-label { display: block; color: #57464c; font-weight: 600; font-size: 12px; margin-bottom: 8px; }
.field-hint { font-size: 11px; color: #9a8a8c; margin: 7px 0 0; }
.field-error { color: #a5444e; font-size: 11px; margin: 7px 0 0; }
input:not([type="checkbox"]):not([type="radio"]):not([type="file"]), textarea, select, .input, .textarea, .select { display: block; width: 100%; min-height: 46px; border: 1px solid #dfd7d6; border-radius: 7px; background: #fff; padding: 11px 13px; color: #53454a; font-size: 14px; line-height: 1.6; }
input::placeholder, textarea::placeholder { color: #b6a9ac; }
input:hover, textarea:hover, select:hover { border-color: #c2a5af; }
input:focus, textarea:focus, select:focus { border-color: #a36679; }
textarea { resize: vertical; min-height: 130px; }
select { padding-right: 30px; cursor: pointer; }
input[type="checkbox"], input[type="radio"] { accent-color: var(--wine); width: 19px; height: 19px; min-width: 19px; vertical-align: middle; cursor: pointer; }
label:has(input[type="checkbox"]), label:has(input[type="radio"]) { min-height: 44px; cursor: pointer; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.option-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; margin: 20px 0; }
.option-card { min-height: 112px; padding: 20px; border: 1px solid #e5dcda; border-radius: 10px; text-align: left; background: #fff; display: flex; flex-direction: column; align-items: flex-start; gap: 7px; color: #68525b; font-size: 13px; font-weight: 600; transition: border-color .15s, background .15s; }
.option-card:hover { background: #fcf9fa; border-color: #c795a5; }
.option-card.selected, .option-card[aria-pressed="true"] { background: var(--wine-soft); border-color: var(--wine); box-shadow: inset 0 0 0 1px var(--wine); }
.option-card small { color: #a18b94; font-size: 10px; font-weight: 400; }
.option-icon { display: grid; place-items: center; height: 26px; color: #9a6475; margin-bottom: 5px; }
.option-icon svg { width: 24px; height: 24px; }
.wizard-top { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-bottom: 17px; }
.wizard-progress { display: flex; align-items: center; gap: 6px; color: #a28d94; font-size: 11px; }
.wizard-progress > span { display: block; width: 24px; height: 4px; border-radius: 9px; background: #e9e0e2; }
.wizard-progress > span.active, .wizard-progress > span.done { background: #986074; }
.wizard-actions { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 27px; border-top: 1px solid var(--line); padding-top: 23px; }
.wizard-actions .button.primary { margin-left: auto; min-width: 150px; }
.question { font-size: 21px; margin: 22px 0 12px; letter-spacing: .03em; }
.summary-list { margin: 15px 0 23px; border-top: 1px solid var(--line); }
.summary-row { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; border-bottom: 1px solid var(--line); padding: 14px 0; font-size: 12px; }
.summary-row > :first-child { color: #9a858e; flex-shrink: 0; }
.summary-row > :last-child { text-align: right; overflow-wrap: anywhere; }
.upload-zone { padding: 27px 18px; border: 1px dashed #cbb6bd; border-radius: 10px; text-align: center; background: #fcf9fa; color: #9c7a86; font-size: 12px; margin: 20px 0; }
.upload-zone svg { width: 28px; height: 28px; margin-bottom: 10px; }
.upload-zone input[type="file"] { display: block; max-width: 100%; margin: 12px auto; color: #8b6b77; font-size: 11px; }
.upload-zone input[type="file"]::file-selector-button { min-height: 44px; padding: 8px 14px; border: 1px solid #d3bbc3; border-radius: 6px; background: #fff; color: var(--wine); font: inherit; margin-right: 10px; cursor: pointer; }
.segmented { display: flex; padding: 4px; gap: 4px; background: #f3edef; border-radius: 9px; margin: 18px 0; }
.segmented button { flex: 1; min-height: 44px; border: 0; border-radius: 6px; background: transparent; color: #9a7e88; font-size: 12px; }
.segmented button.active, .segmented button[aria-selected="true"] { background: #fff; color: var(--wine); box-shadow: 0 1px 5px #5a273415; font-weight: 600; }
.report-hero { background: #fff; padding: 29px; border: 1px solid var(--line); border-top: 3px solid var(--wine); border-radius: 12px; margin-bottom: 23px; }
.report-hero .card-label { margin-bottom: 10px; }
.report-title { font-size: 23px; margin-bottom: 9px; letter-spacing: .025em; }
.report-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .85fr); gap: 22px; align-items: start; }
.report-section { margin-bottom: 22px; }
.report-section h2 { display: flex; gap: 12px; align-items: center; font-size: 17px; margin-bottom: 19px; }
.section-number { width: 25px; height: 25px; border-radius: 6px; display: inline-grid; place-items: center; color: #a07584; background: var(--wine-soft); font-size: 10px; font-weight: 600; flex-shrink: 0; }
.horizon-tabs { display: flex; gap: 5px; padding: 4px; border-radius: 9px; background: #f5f0f1; margin: 16px 0 23px; }
.horizon-button { flex: 1; min-height: 44px; background: transparent; border: 0; border-radius: 6px; color: #a0848e; font-size: 12px; white-space: nowrap; }
.horizon-button.active, .horizon-button[aria-selected="true"] { background: #fff; color: var(--wine); box-shadow: 0 1px 5px #5a273415; font-weight: 650; }
.forecast-number { font-size: 32px; line-height: 1.5; font-weight: 650; color: var(--wine); font-variant-numeric: tabular-nums; letter-spacing: -.02em; margin: 10px 0; }
.forecast-number small { font-size: 12px; font-weight: 500; margin-left: 5px; }
.forecast-bars { display: flex; align-items: flex-end; gap: 18px; min-height: 125px; margin: 22px 0 15px; padding-top: 10px; border-bottom: 1px solid #e9dfdf; }
.forecast-bar { min-width: 0; flex: 1; background: #ead5dd; border-radius: 4px 4px 0 0; min-height: 15px; position: relative; transition: height .25s; }
.forecast-bar.active { background: #9b5c71; }
.forecast-bar span { position: absolute; bottom: 100%; left: 0; right: 0; text-align: center; color: #a18a93; font-size: 10px; padding-bottom: 5px; }
.evidence { border-top: 1px solid var(--line); margin-top: 20px; padding-top: 4px; color: #928087; font-size: 11px; }
.evidence summary { min-height: 44px; padding: 12px 0; cursor: pointer; color: var(--wine); font-size: 12px; font-weight: 600; }
.evidence[open] summary { margin-bottom: 5px; }
.evidence p, .evidence ul, .evidence ol { margin-bottom: 12px; }
.evidence ul, .evidence ol { padding-left: 19px; }
.comment-list { display: grid; gap: 13px; margin-bottom: 20px; }
.comment { background: #faf7f8; border-left: 2px solid #d3b9c2; border-radius: 0 6px 6px 0; padding: 14px 15px; color: #826d77; font-size: 12px; overflow-wrap: anywhere; white-space: pre-wrap; }
.comment small { display: block; color: #ab959e; font-size: 10px; margin-top: 8px; }
.comment p { margin: 0; }
.empty-state { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 44px 28px; text-align: center; max-width: 700px; margin: 0 auto; color: #9c8790; }
.empty-state > svg { width: 40px; height: 40px; color: #bd9faa; margin-bottom: 17px; }
.empty-state h2 { color: #6f4f5c; font-size: 20px; margin-bottom: 10px; }
.empty-state p { font-size: 12px; line-height: 1.9; max-width: 420px; margin: 0 auto 22px; }
.empty-state .button { margin: 4px; }
.plan-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 15px; margin: 20px 0; }
.plan-card { background: #fff; border: 1px solid var(--line); border-radius: 11px; padding: 23px 20px; }
.plan-card.selected { border-color: var(--wine); background: #fcf8f9; }
.plan-card h3 { color: #764559; margin-bottom: 11px; }
.plan-card p { color: #9a7f8c; font-size: 11px; }
.plan-card .button { width: 100%; margin-top: 14px; }
.feature-list { list-style: none; padding: 0; margin: 15px 0; color: #95808a; font-size: 11px; }
.feature-list li { padding: 7px 0 7px 18px; position: relative; }
.feature-list li::before { content: "✓"; color: #aa7d8e; position: absolute; left: 0; }
.modal-overlay { position: fixed; z-index: 100; inset: 0; display: flex; align-items: center; justify-content: center; background: #33252c66; backdrop-filter: blur(3px); padding: 24px; }
.modal { background: #fff; border-radius: 16px; width: 100%; max-width: 510px; max-height: min(90vh,780px); display: flex; flex-direction: column; box-shadow: 0 16px 60px #29141c33; overflow: hidden; }
.modal-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 15px; padding: 25px 27px 0; }
.modal-header h2 { font-size: 19px; margin: 0; }
.modal-header button { min-width: 44px; min-height: 44px; border: 0; border-radius: 50%; background: transparent; color: #9f8791; margin: -9px -10px -5px 0; font-size: 21px; }
.modal-header button:hover { background: #f8f0f3; }
.modal-body { padding: 20px 27px; overflow: auto; overscroll-behavior: contain; font-size: 12px; color: #8b7480; }
.modal-body .notice { margin-bottom: 0; }
.modal-actions { padding: 0 27px 26px; display: flex; justify-content: flex-end; gap: 10px; flex-wrap: wrap; }
.modal-actions .button { flex: 1; }
.modal .field:last-child { margin-bottom: 0; }
.bottom-nav { display: none; }
.toast { position: fixed; z-index: 120; left: calc(50% + 105px); bottom: 25px; transform: translateX(-50%); width: max-content; max-width: min(520px,calc(100% - 40px)); padding: 13px 20px; background: #4d3941; color: #fff; box-shadow: 0 5px 20px #28141b22; border-radius: 8px; font-size: 12px; text-align: center; line-height: 1.7; }

@media (min-width: 1450px) {
  .page { padding-top: 42px; }
  .topbar { padding-left: max(40px, calc((100vw - 210px - 1080px) / 2)); padding-right: max(40px, calc((100vw - 210px - 1080px) / 2)); }
}
@media (max-width: 1100px) and (min-width: 701px) {
  .page { padding: 28px 26px 45px; }
  .topbar { padding: 0 26px; }
  .grid-home, .report-grid { gap: 18px; grid-template-columns: 1fr 1fr; }
  .card { padding: 21px; }
  .card-footer { margin: 18px -21px -21px; padding: 12px 21px; }
  .property-grid { grid-template-columns: 1fr 1fr; }
  .property-grid .property-tile:last-child { grid-column: auto; }
  .plan-grid { grid-template-columns: 1fr; }
  .stat-value { font-size: 21px; }
  .stat { padding: 0 8px; }
}
@media (max-width: 850px) and (min-width: 701px) {
  .grid-home, .report-grid, .detail-grid { grid-template-columns: 1fr; }
  .property-grid { grid-template-columns: 1fr; }
  .property-art { height: 180px; }
}
@media (max-width: 700px) {
  body { font-size: 14px; }
  .sidebar, .topbar { display: none; }
  .workspace { margin-left: 0; }
  .mobile-header { min-height: 70px; padding: 12px 19px; display: flex; align-items: center; justify-content: space-between; gap: 12px; background: #fff; border-bottom: 1px solid var(--line); }
  .mobile-header .brand { padding: 0; gap: 8px; }
  .mobile-header .brand-mark { width: 29px; height: 32px; }
  .mobile-header .brand-name { font-size: 17px; }
  .mobile-header .brand-sub { font-size: 8px; }
  .account-pill { padding: 5px 9px; font-size: 10px; }
  .demo-strip { padding: 8px 18px; font-size: 10px; }
  .page { padding: 25px 19px 104px; }
  .page-heading { margin-bottom: 21px; gap: 12px; align-items: flex-start; }
  .page-title { font-size: 23px; margin-bottom: 6px; }
  .page-subtitle { font-size: 11px; }
  .date-chip { font-size: 9px; padding: 4px 6px; margin-top: 5px; }
  .grid-home, .report-grid, .detail-grid { grid-template-columns: 1fr; gap: 19px; }
  .stack { gap: 19px; }
  .card { padding: 22px; border-radius: 13px; }
  .card-header { margin-bottom: 17px; }
  .card-title { font-size: 16px; }
  .card-label { font-size: 9px; }
  .property-card { padding: 0; }
  .property-card .card-header { padding: 20px 21px 0; }
  .property-card .property-info { padding: 0 21px 20px; }
  .property-art { height: 166px; }
  .property-art::before { width: 155px; height: 155px; top: 23px; right: 20%; }
  .property-art svg { height: 138px; }
  .property-info h2 { font-size: 20px; }
  .stats-grid { margin: 20px 0 17px; }
  .stat-value { font-size: 25px; }
  .stat-label { font-size: 10px; }
  .stat { padding: 0 12px; }
  .card-footer { padding: 12px 22px; margin: 19px -22px -22px; }
  .property-card .card-footer { padding: 12px 21px; margin: 17px -21px -20px; }
  .consult-card { padding: 24px; }
  .consult-card h2 { font-size: 21px; }
  .consult-copy { font-size: 12px; margin-bottom: 20px; }
  .consult-card .button { min-height: 49px; font-size: 14px; }
  .consult-card small { font-size: 10px; }
  .task-row { padding: 15px 0; }
  .task-body strong { font-size: 13px; }
  .task-body p { font-size: 11px; }
  .task-body .text-button { font-size: 12px; }
  .property-grid { grid-template-columns: 1fr; gap: 18px; }
  .property-tile { padding: 0; display: grid; grid-template-columns: 115px minmax(0,1fr); }
  .property-tile .property-art { height: 100%; min-height: 210px; border-right: 1px solid #eee7e3; border-bottom: 0; }
  .property-tile .property-art svg { height: 115px; width: 95px; }
  .property-tile .property-art::before { width: 110px; height: 110px; right: -20px; top: 37px; }
  .property-tile .property-art .chip { top: 11px; right: 9px; font-size: 8px; padding: 2px 5px; }
  .property-tile .property-info { padding: 18px; }
  .property-tile .property-info h2 { font-size: 17px; }
  .property-tile .property-meta { font-size: 10px; gap: 5px; margin-bottom: 10px; }
  .property-tile .stat-value { font-size: 20px; }
  .property-tile .stats-grid { margin: 13px 0 7px; }
  .property-tile .stat { padding: 0 8px; }
  .property-tile .stat:first-child { padding-left: 0; }
  .property-tile .button { min-height: 44px; padding: 9px 10px; font-size: 11px; }
  .metric-grid { gap: 8px; margin: 18px 0; }
  .metric { padding: 15px 11px; font-size: 10px; }
  .metric-number { font-size: 23px; }
  .metric-number small { font-size: 9px; margin-left: 1px; }
  .info-grid { gap: 17px; }
  .notice { padding: 13px 14px; font-size: 10px; }
  .form-card { padding: 23px 20px; }
  .field { margin-bottom: 22px; }
  .field-label { font-size: 12px; }
  .field-hint { font-size: 10px; }
  input:not([type="checkbox"]):not([type="radio"]):not([type="file"]), textarea, select, .input, .textarea, .select { font-size: 16px; min-height: 48px; }
  .form-row { gap: 13px; }
  .option-grid { gap: 10px; }
  .option-card { min-height: 118px; padding: 17px 14px; font-size: 12px; }
  .option-card small { font-size: 9px; }
  .question { font-size: 20px; line-height: 1.7; margin: 18px 0 11px; }
  .wizard-top { gap: 10px; margin-bottom: 13px; }
  .wizard-actions { padding-top: 20px; margin-top: 23px; gap: 8px; }
  .wizard-actions .button.primary { min-width: 130px; }
  .wizard-actions .button { padding: 11px 14px; }
  .summary-row { gap: 12px; font-size: 11px; padding: 13px 0; }
  .summary-row > :first-child { max-width: 42%; }
  .report-hero { padding: 23px 21px; margin-bottom: 19px; }
  .report-title { font-size: 21px; line-height: 1.7; }
  .report-section { margin-bottom: 19px; }
  .report-section h2 { font-size: 16px; gap: 10px; }
  .forecast-number { font-size: 31px; }
  .horizon-tabs { gap: 3px; margin: 16px 0 20px; }
  .horizon-button { font-size: 11px; padding: 6px 7px; }
  .empty-state { padding: 33px 22px; }
  .empty-state h2 { font-size: 19px; }
  .empty-state p { font-size: 11px; }
  .plan-grid { grid-template-columns: 1fr; gap: 13px; }
  .plan-card { padding: 22px; }
  .bottom-nav { position: fixed; display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); z-index: 40; bottom: 0; left: 0; right: 0; min-height: 70px; padding: 5px 14px max(7px, env(safe-area-inset-bottom)); background: rgba(255,255,255,.97); border-top: 1px solid var(--line); box-shadow: 0 -3px 15px #57434905; }
  .bottom-nav .nav-item { min-height: 55px; padding: 6px 10px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; border-radius: 8px; font-size: 10px; background: transparent; color: #a39298; }
  .bottom-nav .nav-item svg { width: 21px; height: 21px; }
  .bottom-nav .nav-item.active { color: var(--wine); background: transparent; }
  .bottom-nav .nav-item.active::after { content: ""; width: 3px; height: 3px; border-radius: 50%; background: var(--wine); position: absolute; bottom: 5px; }
  .bottom-nav .nav-item { position: relative; }
  .modal-overlay { padding: 18px; align-items: center; }
  .modal { max-height: 88dvh; border-radius: 14px; }
  .modal-header { padding: 23px 22px 0; }
  .modal-header h2 { font-size: 18px; }
  .modal-body { padding: 17px 22px 21px; font-size: 12px; }
  .modal-actions { padding: 0 22px 23px; gap: 8px; }
  .modal-actions .button { padding: 12px; font-size: 11px; }
  .toast { left: 50%; bottom: calc(84px + env(safe-area-inset-bottom)); max-width: calc(100% - 36px); padding: 12px 16px; font-size: 11px; }
}
@media (max-width: 370px) {
  .page { padding-left: 14px; padding-right: 14px; }
  .mobile-header { padding-left: 14px; padding-right: 14px; }
  .brand-name { font-size: 16px; }
  .account-pill { gap: 5px; font-size: 9px; }
  .stat-value { font-size: 23px; }
  .stat { padding: 0 9px; }
  .property-tile { grid-template-columns: 97px minmax(0,1fr); }
  .property-tile .property-info { padding: 15px; }
  .metric-grid { grid-template-columns: 1fr; gap: 7px; }
  .metric { display: flex; justify-content: space-between; align-items: center; padding: 12px 15px; }
  .metric-number { margin: 0; }
  .option-card { padding: 15px 11px; }
  .button { padding-left: 14px; padding-right: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
@media print {
  @page { size: A4; margin: 16mm; }
  :root { --ink: #242124; --muted: #666; --line: #d7d2d2; }
  html, body { width: auto; height: auto; background: #fff !important; color: #242124 !important; font-size: 10pt; }
  .sidebar, .topbar, .mobile-header, .bottom-nav, .toast, .modal-overlay, .no-print, .account-pill, .page-toolbar, .wizard-actions { display: none !important; }
  .workspace { margin: 0; }
  .page { max-width: none; padding: 0; margin: 0; animation: none; }
  .print-only { display: block !important; }
  .demo-strip { background: #fff; color: #6c4653; border: 1px solid #bba0a9; padding: 6px 10px; font-size: 8pt; margin-bottom: 15px; }
  .page-title { font-size: 20pt; }
  .page-subtitle { font-size: 9pt; }
  .report-title { font-size: 18pt; }
  .report-grid, .grid-home, .detail-grid { display: block; }
  .stack { display: block; }
  .card, .report-hero, .report-section { border-radius: 0; box-shadow: none; break-inside: avoid; padding: 16px; margin: 0 0 14px; }
  .report-section h2, .card-title { font-size: 13pt; }
  .notice { break-inside: avoid; border-radius: 0; background: #fff !important; font-size: 8pt; color: #51424a; }
  .report-hero { border-top-width: 2px; }
  .report-hero .metric-grid { display: grid; grid-template-columns: repeat(3,1fr); }
  .metric { background: #fff; border: 1px solid #ddd; }
  .metric-number, .forecast-number { color: #6c3447; }
  .horizon-tabs button { display: none; }
  .horizon-tabs button.active { display: block; text-align: left; min-height: 0; padding: 0; box-shadow: none; }
  .horizon-tabs { padding: 0; background: #fff; }
  .evidence { display: block; }
  details.evidence > * { display: block !important; }
  .evidence summary { list-style: none; }
  .evidence summary::marker { content: ""; }
  .comment { background: #fff; border-left-color: #bba0a9; }
  textarea, input, select, button, .button, .text-button { display: none !important; }
  .horizon-button.active { display: block !important; font-size: 10pt; }
  a { color: inherit; text-decoration: none; }
}

/* Align the visual system with the prototype's rendered, semantic markup. */
.page-heading { display: block; }
.page-heading > .eyebrow { margin: 0 0 9px; }
.page-heading .page-title { line-height: 1.55; }
.page-heading .page-subtitle { max-width: 680px; }
.mobile-only { display: none; }
.brand-mark { display: inline-flex; align-items: baseline; justify-content: center; height: auto; font-family: Georgia, "Times New Roman", serif; font-weight: 700; font-size: 40px; letter-spacing: -.1em; line-height: 1; }
.brand-mark > span { font-size: 26px; color: #b68897; }
.stats-grid, .metric-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.stats-grid:has(> .stat:only-child) { grid-template-columns: 1fr; }
.property-art { display: block; }
.property-art > svg { position: absolute; width: 260px; height: 150px; max-width: 88%; left: 50%; top: 50%; transform: translate(-50%,-47%); }
.art-code, .art-caption { position: absolute; z-index: 1; color: currentColor; opacity: .75; }
.art-code { top: 14px; left: 20px; font-size: 9px; letter-spacing: .16em; }
.art-caption { right: 20px; bottom: 11px; font-size: 9px; letter-spacing: .06em; }
.property-art.rose { background: #f5ecee; color: #a47a88; }
.property-art.rose::before { background: #eddee2; }
.property-art.sage { background: #edf0e9; color: #8b977e; }
.property-art.sage::before { background: #e2e8da; }
.property-art.sand { background: #f4efe4; color: #aa9875; }
.property-art.sand::before { background: #ece3d0; }
.property-tile .property-art > svg { height: 130px; }
.property-tile .property-info .badge { margin-bottom: 10px; }
.detail-grid > .card > .property-art { border-radius: 9px; border-bottom: 0; margin-bottom: 23px; }
.progress-fill { display: block; }
.wizard-progress { width: 100%; gap: 15px; }
.wizard-progress > span { flex: 0 0 auto; width: auto; height: auto; border-radius: 0; background: none; white-space: nowrap; font-size: 11px; letter-spacing: .06em; }
.wizard-progress > .progress-track { flex: 1; margin: 0; }
.task-row { width: 100%; border: 0; border-top: 1px solid var(--line); background: transparent; text-decoration: none; color: inherit; text-align: left; line-height: inherit; }
.task-row:hover .task-body strong { color: var(--wine); }
.task-row > svg:last-child { width: 16px; height: 16px; margin-top: 5px; color: #b39aa4; }
.check-row { align-items: center; }
.check-row > .status { display: grid; place-items: center; width: 30px; height: 30px; padding: 6px; margin-left: 0; flex: 0 0 auto; }
.check-row > .status svg { color: inherit; }
.check-row > div { min-width: 0; }
.check-row > div > p { margin: 2px 0 0; }
.check-row > .badge { margin-left: auto; white-space: nowrap; flex: 0 0 auto; }
.field { display: block; }
.choice-list { border: 0; margin: 20px 0; padding: 0; min-width: 0; }
.choice { display: flex; align-items: center; gap: 12px; padding: 14px 16px; min-height: 54px; margin-bottom: 10px; border: 1px solid #e5dcda; border-radius: 8px; background: #fff; font-size: 14px; line-height: 1.7; color: #705660; transition: border-color .15s, background .15s; }
.choice:hover { border-color: #bd93a1; background: #fcf9fa; }
.choice:has(input:checked) { border-color: var(--wine); background: var(--wine-soft); }
.choice input { flex: 0 0 auto; margin: 0; }
.check-label { display: flex; align-items: center; gap: 10px; min-height: 44px; color: #705660; font-size: 13px; line-height: 1.8; margin: 13px 0; }
.check-label input { margin: 0; flex: 0 0 auto; }
.confirm-check { background: #f8f1f3; border: 1px solid #e9d7de; border-radius: 8px; padding: 15px; }
.input-unit { position: relative; display: flex; align-items: center; }
.input-unit > input { padding-right: 35px !important; }
.input-unit > span { position: absolute; right: 14px; pointer-events: none; color: #9f8c93; font-size: 12px; }
input:disabled { background: #f5f3f3 !important; border-color: #e9e3e4 !important; color: #b4a4aa !important; }
.quiet-note { display: flex; align-items: flex-start; gap: 10px; padding: 0 6px; color: #a18f95; font-size: 12px; line-height: 1.8; }
.quiet-note > svg { width: 17px; height: 17px; margin-top: 3px; flex: 0 0 auto; }
.quiet-note p { margin: 0; }
.page-disclaimer { max-width: 1160px; margin: 0 auto; padding: 0 40px 30px; text-align: center; font-size: 10px; color: #aa9b9e; line-height: 1.9; }
.notice { display: flex; align-items: flex-start; gap: 10px; }
.notice > svg { width: 17px; height: 17px; margin-top: 2px; flex: 0 0 auto; }
.notice > div { min-width: 0; flex: 1; }
.notice > .text-button { margin-left: auto; white-space: nowrap; flex: 0 0 auto; }
.consult-card > .eyebrow { color: #d6b5c0; margin-bottom: 9px; }
.consult-card > .field-hint { color: #e6d0d8; font-size: 11px; line-height: 1.9; margin-top: 13px; }
.consult-card > .field-hint strong { color: #fff; font-weight: 600; }
.option-card > span:not(.option-icon) { font-size: 11px; font-weight: 400; color: #9b838d; }
.option-card > svg:last-child { align-self: flex-end; width: 17px; height: 17px; margin-top: auto; }
.report-list-item { display: flex; align-items: center; gap: 18px; color: inherit; text-decoration: none; transition: border-color .15s; }
.report-list-item:hover { border-color: #cba7b4; }
.report-list-item > div { min-width: 0; }
.report-list-item > svg:last-child { width: 18px; height: 18px; margin-left: auto; color: #b89ba6; flex: 0 0 auto; }
.report-list-item .card-title { margin: 4px 0; }
.report-list-item .text-muted { margin: 0; }
.report-list-icon { display: grid; place-items: center; width: 44px; height: 48px; border-radius: 9px; color: #9c697c; background: var(--wine-soft); flex: 0 0 auto; }
.registration-symbol { width: 60px; height: 60px; display: grid; place-items: center; background: var(--wine-soft); color: #a26e82; border-radius: 50%; margin-bottom: 22px; }
.registration-symbol svg { width: 29px; height: 29px; }
.form-card > .card-title { margin-bottom: 13px; }
.plan-card > .badge { margin-bottom: 14px; }
.plan-price { display: block; font-size: 24px; font-weight: 650; line-height: 1.6; color: #865065; margin: 16px 0 13px; }
.status-dot { display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: #a3aa94; }
.selected-file { padding: 10px 12px; border: 1px solid #e7d9df; border-radius: 6px; background: white; color: #8b6b78; font-size: 12px; overflow-wrap: anywhere; margin: 13px 0; }
.forecast-bars { min-height: 140px; padding-top: 0; margin: 20px 0 15px; border-bottom: 0; gap: 18px; }
.forecast-bar, .forecast-bar.active { display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 8px; height: auto; min-height: 0; background: none; border-radius: 0; }
.forecast-bar > i { display: block; width: 100%; max-width: 52px; background: #e6d2da; border-radius: 4px 4px 0 0; }
.forecast-bar.active > i { background: #9b5c71; }
.forecast-bar > span { position: static; padding: 0; font-size: 11px; }
.feature-list li::before { content: "\2022"; font-weight: 700; }
.toast { opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .15s, visibility .15s; }
.toast.visible { opacity: 1; visibility: visible; }
.skip-link:focus { clip: auto; width: auto; height: auto; margin: 0; padding: 10px 15px; z-index: 200; background: #fff; color: var(--wine); left: 12px; top: 12px; }

@media (max-width: 1100px) and (min-width: 701px) {
  .page-disclaimer { padding-left: 26px; padding-right: 26px; }
}
@media (max-width: 700px) {
  body { font-size: 15px; }
  .mobile-only { display: inline; }
  .mobile-header .brand-mark { font-size: 34px; height: auto; width: 29px; }
  .mobile-header .brand-mark > span { font-size: 23px; }
  .page { padding-bottom: 36px; }
  .page-title { font-size: 25px; }
  .page-subtitle { font-size: 14px; line-height: 1.9; }
  .page-heading > .eyebrow { font-size: 10px; }
  .demo-strip { font-size: 11px; line-height: 1.9; }
  .demo-strip .badge { margin-right: 6px; }
  .card-title { font-size: 17px; }
  .card-label, .mini-label { font-size: 11px; }
  .text-muted { font-size: 13px; line-height: 1.8; }
  .property-meta { font-size: 12px; }
  .art-code { left: 18px; font-size: 9px; }
  .art-caption { right: 18px; font-size: 9px; }
  .property-art > svg { width: 250px; height: 144px; }
  .property-tile .property-art > svg { width: 106px; height: 115px; max-width: 94%; }
  .property-tile .art-code { left: 8px; top: 13px; font-size: 8px; letter-spacing: .05em; }
  .property-tile .art-caption { left: 8px; right: 8px; bottom: 13px; font-size: 8px; text-align: center; }
  .property-tile .property-info .badge { margin-bottom: 8px; font-size: 10px; }
  .property-tile .property-meta { font-size: 11px; }
  .property-tile .property-info h2 { font-size: 16px; }
  .property-tile .property-info .text-muted { font-size: 12px; }
  .property-tile .stat-label { font-size: 11px; }
  .property-tile .stat-value { font-size: 23px; }
  .property-tile .button { font-size: 12px; }
  .stat-label { font-size: 12px; }
  .stat-value small { font-size: 12px; }
  .field-label { font-size: 14px; }
  .field-label .text-muted { font-size: 12px; }
  .field-hint, .field-error { font-size: 12px; line-height: 1.9; }
  .check-label { font-size: 14px; }
  .check-row { gap: 10px; }
  .check-row strong { font-size: 14px; }
  .check-row .text-muted { font-size: 12px; }
  .check-row > .badge { padding: 3px 6px; font-size: 10px; }
  .check-row > .status { width: 27px; height: 27px; }
  .notice { font-size: 12px; line-height: 1.9; padding: 14px; gap: 9px; }
  .notice > svg { width: 16px; height: 16px; margin-top: 3px; }
  .notice > .text-button { white-space: normal; font-size: 12px; text-align: right; }
  .button { font-size: 14px; min-height: 48px; }
  .button.small, .text-button, .back-button { font-size: 13px; }
  .consult-copy { font-size: 14px; line-height: 1.9; }
  .consult-card > .field-hint { font-size: 12px; }
  .task-body strong { font-size: 14px; }
  .task-body p { font-size: 13px; line-height: 1.8; }
  .task-number { font-size: 11px; }
  .quiet-note { font-size: 12px; }
  .option-card { font-size: 14px; }
  .option-card > span:not(.option-icon) { font-size: 12px; line-height: 1.8; }
  .choice { padding: 14px; font-size: 14px; }
  .wizard-actions .button { font-size: 13px; }
  .summary-row { font-size: 13px; line-height: 1.8; }
  .summary-row > :first-child { max-width: 47%; }
  .metric { font-size: 12px; }
  .metric .stat-label { font-size: 11px; }
  .metric-number { font-size: 26px; }
  .metric-number small { font-size: 11px; }
  .horizon-button { font-size: 13px; }
  .evidence { font-size: 12px; line-height: 1.9; }
  .evidence summary { font-size: 14px; }
  .feature-list { font-size: 13px; line-height: 1.9; }
  .feature-list li { padding-top: 6px; padding-bottom: 6px; }
  .comment { font-size: 14px; line-height: 1.9; }
  .report-list-item { gap: 12px; padding: 19px 17px; }
  .report-list-item .card-title { font-size: 16px; }
  .report-list-item .mini-label { font-size: 10px; }
  .report-list-item .text-muted { font-size: 12px; }
  .report-list-icon { width: 38px; height: 44px; }
  .report-list-item > svg:last-child { width: 16px; }
  .plan-card p { font-size: 13px; }
  .plan-price { font-size: 26px; }
  .upload-zone { font-size: 14px; }
  .segmented button { font-size: 14px; }
  .empty-state p { font-size: 13px; line-height: 1.9; }
  .modal-body { font-size: 14px; }
  .modal-actions .button { font-size: 13px; }
  .page-disclaimer { font-size: 11px; padding: 0 19px calc(95px + env(safe-area-inset-bottom)); }
}
@media (max-width: 370px) {
  .stat-value { font-size: 24px; }
  .metric-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .metric { display: block; padding: 14px 10px; }
  .metric-number { margin-top: 4px; font-size: 23px; }
  .property-tile .property-info { padding: 15px 12px; }
  .property-tile .property-info h2 { font-size: 15px; }
  .property-tile .art-code { font-size: 7px; }
  .summary-row { font-size: 12px; }
}
@media print {
  .page-heading { display: block; }
  .mobile-only { display: none !important; }
  .page-disclaimer { display: block; color: #666; font-size: 8pt; padding: 8px 0 0; border-top: 1px solid #ccc; }
  .metric-grid, .report-hero .metric-grid { grid-template-columns: repeat(2,1fr); }
  .report-grid { display: block; }
  .notice { display: flex; font-size: 9pt; }
  .report-list-item { display: flex; }
  .forecast-bars { min-height: 110px; }
  .forecast-bar > i { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .forecast-bar > span { position: static; display: block; }
  .page-title { font-size: 20pt; }
  .page-subtitle, .field-hint, .text-muted, .evidence, .feature-list { font-size: 9pt; }
  .summary-row { font-size: 9pt; }
  .print-view .report-hero { padding: 15px; }
}
