/* REVO NAVI premium screen theme. Print rules and application data stay unchanged. */
@media screen {
  :root {
    --wine: #752940;
    --wine-dark: #572235;
    --wine-soft: #f6eef1;
    --ink: #242831;
    --muted: #58616d;
    --line: #dce1e7;
    --paper: #ffffff;
    --canvas: #f4f5f7;
    --green: #28604b;
    --green-soft: #eef6f1;
    --amber: #79511f;
    --amber-soft: #fff6e7;
    --radius: 14px;
    font-family: "REVO Sans JP", "Hiragino Sans", -apple-system, BlinkMacSystemFont, "Yu Gothic UI", "Yu Gothic", "Noto Sans JP", Meiryo, sans-serif;
    font-feature-settings: "palt";
    font-synthesis: none;
  }
  html { background: var(--canvas); scroll-padding-top: 24px; }
  body { color: var(--ink); background: var(--canvas); font-size: 15px; line-height: 1.85; letter-spacing: .015em; }
  h1, h2, h3, h4 { color: var(--ink); font-weight: 650; line-height: 1.55; letter-spacing: .025em; }
  button, input, select, textarea { letter-spacing: inherit; }
  button, a, summary { touch-action: manipulation; }
  button, a, input, select, textarea, summary { -webkit-tap-highlight-color: rgba(117,41,64,.12); }
  a { color: var(--wine); }
  button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible { outline: 3px solid var(--wine); outline-offset: 3px; }
  .page { max-width: 1180px; padding: 40px 44px 56px; animation: polish-entry .16s ease-out; }
  @keyframes polish-entry { from { opacity: .65; transform: translateY(2px); } to { opacity: 1; transform: none; } }
  .page-heading { display: block; margin-bottom: 26px; }
  .page-title { color: var(--ink); font-size: 32px; line-height: 1.55; font-weight: 650; letter-spacing: .025em; margin-bottom: 10px; overflow-wrap: anywhere; }
  .page-subtitle { max-width: 66ch; color: var(--muted); font-size: 14px; line-height: 1.9; }
  .eyebrow, .output-kicker, .intake-stage-label { color: var(--wine); font-size: 11px; line-height: 1.8; letter-spacing: .14em; font-weight: 650; }
  .text-muted, .field-hint, .mini-label, .card-label, .stat-label, .property-meta, .task-body p, .quiet-note, .page-disclaimer, .sidebar-foot, .sidebar-foot .mini-label,
  .info-item > span:first-child, .info-item dt, .date-chip, .field-label .text-muted, .field-label small, .option-card small, .option-card > span:not(.option-icon),
  .intake-lead, .intake-save-note, .intake-page .field-hint, .intake-page .field-label small, .intake-page .field-label .text-muted, .intake-option-copy, .intake-property-tools > p,
  .intake-property-heading p, .intake-branch > p, .intake-review-group > p, .intake-review-list .summary-row dt, .intake-missing-list, .intake-source-note,
  .output-reading-note, .data-status-item, .group-copy p, .group-count, .output-en, .output-body, .summary-main > p, .summary-conditions, .summary-conditions li,
  .document-meta, .document-purpose p, .document-section > p, .document-list, .document-label, .document-footer, .analysis-source, .owner-additions, .report-appendix,
  .key-number, .key-number > small, .key-number > span, .key-number small, .metric, .intake-result-metrics > div, .intake-result-metrics small { color: var(--muted); }
  .field-hint, .mini-label, .card-label, .stat-label, .property-meta, .page-disclaimer, .quiet-note, .intake-save-note, .document-label, .document-meta, .document-footer { font-size: 12px; line-height: 1.8; }
  .mini-label, .card-label { font-weight: 600; letter-spacing: .075em; }
  .sidebar { width: 224px; padding: 36px 20px 24px; border-right-color: var(--line); background: #fff; }
  .workspace { margin-left: 224px; }
  .brand { gap: 11px; padding-left: 9px; color: var(--wine); }
  .brand-mark { width: 34px; height: 40px; color: var(--wine); font-size: 37px; font-weight: 700; line-height: 1; letter-spacing: -.09em; }
  .brand-mark > span { color: var(--ink); font-size: 25px; }
  .brand-name { color: var(--ink); font-size: 18px; font-weight: 750; letter-spacing: .065em; }
  .brand-sub { margin-top: 3px; color: var(--muted); font-size: 10px; letter-spacing: .08em; }
  .sidebar-nav { margin-top: 48px; gap: 8px; }
  .nav-item { color: var(--muted); min-height: 52px; padding: 13px 16px; font-size: 14px; border-radius: 10px; font-weight: 550; }
  .nav-item:hover { background: #f2f4f7; color: var(--wine); }
  .sidebar-nav .nav-item.active { color: var(--wine); background: var(--wine-soft); box-shadow: inset 3px 0 0 var(--wine); font-weight: 650; }
  .nav-item svg { width: 21px; height: 21px; }
  .sidebar-foot { padding-left: 10px; padding-right: 10px; border-top-color: var(--line); font-size: 12px; }
  .sidebar-foot .button { color: var(--wine); }
  .topbar { height: 76px; padding: 0 44px; background: #fff; border-bottom-color: var(--line); }
  .topbar > .text-muted { font-size: 13px; }
  .account-pill { color: var(--ink); background: #fff; border-color: #a4adba; font-size: 12px; min-height: 44px; padding: 7px 13px; border-radius: 8px; }
  .account-pill::before { display: none; }
  .account-pill svg { color: var(--wine); width: 18px; height: 18px; }
  .status-dot { background: #426b5a; }
  .demo-strip { color: #48515e; background: #eceff3; border-color: var(--line); font-size: 12px; padding: 10px 28px; line-height: 1.8; }
  .demo-strip .badge { background: #fff; color: var(--wine); border: 1px solid #bca2ad; margin-right: 7px; }
  .card { border-color: var(--line); background: #fff; border-radius: var(--radius); box-shadow: 0 7px 24px rgba(26,33,43,.035); }
  .card-title { color: var(--ink); font-size: 18px; line-height: 1.65; font-weight: 650; letter-spacing: .025em; }
  .section-heading, .section-heading h2 { color: var(--ink); font-size: 20px; line-height: 1.6; }
  .card-header { align-items: center; margin-bottom: 20px; }
  .card-footer { border-top-color: var(--line); background: #fafbfc; }
  .property-info h2, .property-info h3 { color: var(--ink); letter-spacing: .035em; }
  .property-info h2 { font-size: 22px; }
  .property-art { color: #7b5c68; background: #f0e9ec; border-color: #e1d8dd; }
  .property-art::before { background: #e7dade; opacity: .7; }
  .property-art.sage { color: #4e6c64; background: #edf2f0; }
  .property-art.sage::before { background: #dce8e1; }
  .property-art.sand { color: #766549; background: #f3f0e9; }
  .property-art.sand::before { background: #e9e2d4; }
  .art-code, .art-caption { color: #5b4b52; font-size: 10px; }
  .property-art.sage .art-code, .property-art.sage .art-caption { color: #405f55; }
  .property-art.sand .art-code, .property-art.sand .art-caption { color: #665735; }
  .stats-grid { margin-top: 22px; margin-bottom: 17px; }
  .stat { border-left-color: var(--line); }
  .stat-value { color: var(--ink); font-size: 28px; font-weight: 650; letter-spacing: -.035em; }
  .stat-value small { color: var(--muted); font-size: 12px; }
  .metric, .key-number { background: #f1f3f6; border-radius: 10px; }
  .metric-number, .forecast-number, .key-number strong, .status-value, .document-value, .intake-result-metrics strong { color: var(--wine); font-weight: 650; font-variant-numeric: tabular-nums; }
  .metric-number { font-size: 28px; }
  .forecast-number { font-size: 36px; }
  .key-number strong { font-size: 30px; }
  .button { min-height: 48px; padding: 13px 20px; border-radius: 9px; border-color: #7f8997; color: var(--wine); font-size: 14px; font-weight: 650; line-height: 1.6; box-shadow: none; transition: color .14s ease, background .14s ease, border-color .14s ease, box-shadow .14s ease; }
  .button:hover { border-color: var(--wine); background: #faf6f8; }
  .button:active { transform: translateY(1px); }
  .button.primary { color: #fff; background: var(--wine); border-color: var(--wine); box-shadow: 0 4px 11px rgba(117,41,64,.13); }
  .button.primary:hover { color: #fff; background: var(--wine-dark); border-color: var(--wine-dark); }
  .button.secondary { color: var(--wine); background: #fff; border-color: #936275; }
  .button.ghost { color: var(--wine); background: transparent; border-color: transparent; }
  .button.ghost:hover { background: var(--wine-soft); }
  .button.danger { color: #9c2f41; background: #fff1f3; border-color: #b67782; }
  .button.small { min-height: 44px; padding: 10px 13px; font-size: 12px; }
  .text-button, .back-button { color: var(--wine); font-size: 13px; font-weight: 600; min-height: 44px; text-decoration: none; }
  button:disabled, .button:disabled, .button.primary:disabled, .intake-option:disabled { color: #616976; background: #edf0f3; border-color: #bbc2cd; box-shadow: none; opacity: 1; transform: none; cursor: not-allowed; }
  .consult-card { background: var(--wine-dark); border: 1px solid var(--wine-dark); border-radius: var(--radius); padding: 28px; box-shadow: 0 12px 28px rgba(65,25,42,.10); }
  .consult-card::after { border-color: rgba(255,255,255,.09); }
  .consult-card h2 { color: #fff; font-size: 26px; font-weight: 600; line-height: 1.6; }
  .consult-card .eyebrow, .consult-card > .eyebrow, .consult-card .consult-copy, .consult-card .field-hint, .consult-card > .field-hint, .consult-card small, .consult-card .text-muted, .consult-card .card-label { color: #f0e3e9; }
  .consult-copy { font-size: 14px; line-height: 1.9; }
  .consult-card .button.primary { color: var(--wine-dark); background: #fff; border-color: #fff; box-shadow: none; }
  .consult-card .button.primary:hover { background: #f5edf1; }
  .consult-card [data-action="intake-resume"], .consult-card [data-action="start-consult"] { color: #fff; background: rgba(255,255,255,.035); border-color: rgba(255,255,255,.65); margin-top: 10px; }
  .consult-card [data-action="intake-resume"]:hover, .consult-card [data-action="start-consult"]:hover { background: rgba(255,255,255,.12); border-color: #fff; color: #fff; }
  .consult-card button:focus-visible, .consult-card a:focus-visible { outline-color: #fff; }
  .task-row { padding: 18px 0; border-top-color: var(--line); }
  .task-number { color: var(--wine); background: var(--wine-soft); border-radius: 7px; width: 30px; height: 30px; font-size: 11px; }
  .task-body strong { color: var(--ink); font-size: 14px; }
  .task-body p { font-size: 13px; }
  .task-row > svg { color: var(--wine); }
  .check-row strong { color: var(--ink); font-size: 14px; }
  .check-row .text-muted { font-size: 12px; }
  .check-row .status svg { color: currentColor; }
  .progress-track { background: #e2e6ec; height: 5px; }
  .progress-fill { background: var(--wine); }
  .badge, .chip, .assumption-tag { color: #633049; background: var(--wine-soft); border-radius: 5px; font-size: 11px; font-weight: 600; line-height: 1.65; }
  .badge.warning, .chip.warning, .status.warning, .intake-unknown-badge { color: #79511f; background: #fff6e7; border-color: #bd9b67; }
  .badge.success, .chip.success, .status.success { color: #28604b; background: #eef6f1; }
  .notice { color: #4e5662; background: #f1f3f6; border-color: #cbd2dc; border-radius: 9px; padding: 15px 17px; font-size: 13px; line-height: 1.85; }
  .notice.info { color: #63364a; background: var(--wine-soft); border-color: #d0b6c1; }
  .notice strong, .notice.info strong { color: var(--wine-dark); }
  .notice.warning { color: #79511f; background: #fff6e7; border-color: #c3a26f; }
  .notice.warning strong { color: #63411b; }
  .form-card { padding: 32px; }
  .field { margin-bottom: 24px; }
  .field-label, .intake-page .field-label { color: var(--ink); font-size: 14px; font-weight: 650; line-height: 1.7; margin-bottom: 9px; }
  input:not([type="checkbox"]):not([type="radio"]):not([type="file"]), textarea, select, .input, .textarea, .select {
    color: var(--ink); background: #fff; border-color: #7f8997; border-radius: 8px; min-height: 50px; padding: 12px 14px; font-size: 16px; line-height: 1.65;
  }
  input::placeholder, textarea::placeholder { color: #616976; opacity: 1; }
  input:hover, textarea:hover, select:hover { border-color: #58616d; }
  input:focus, textarea:focus, select:focus { border-color: var(--wine); }
  input:disabled { color: #616976 !important; background: #edf0f3 !important; border-color: #aab3c0 !important; opacity: 1; }
  input[type="checkbox"], input[type="radio"] { accent-color: var(--wine); width: 20px; height: 20px; min-width: 20px; }
  .check-label { color: var(--ink); font-size: 14px; }
  .confirm-check, .intake-confirmation { color: var(--ink); border-color: #b58b9c; background: var(--wine-soft); font-size: 14px; border-radius: 9px; }
  .field-error, .intake-field-error { color: #9c2f41; font-size: 13px; }
  .input-unit > span { color: var(--muted); font-size: 13px; }
  .choice { color: var(--ink); border-color: #9da7b5; border-radius: 9px; padding: 16px; min-height: 56px; font-size: 15px; }
  .choice:hover { border-color: var(--wine); background: #faf7f9; }
  .choice:has(input:checked) { border-color: var(--wine); background: var(--wine-soft); box-shadow: inset 3px 0 0 var(--wine); }
  .option-card { border-color: #b0b9c5; border-radius: 11px; padding: 22px; min-height: 132px; color: var(--ink); }
  .option-card:hover { border-color: var(--wine); background: #faf7f9; }
  .option-card.selected, .option-card[aria-pressed="true"] { border-color: var(--wine); background: var(--wine-soft); box-shadow: inset 3px 0 0 var(--wine); }
  .option-icon { color: var(--wine); }
  .option-card strong { color: var(--ink); font-size: 16px; }
  .option-card > span:not(.option-icon) { font-size: 13px; }
  .wizard-top { margin-bottom: 20px; }
  .wizard-progress { color: var(--muted); }
  .wizard-actions, .intake-actions { border-top-color: var(--line); }
  .upload-zone { background: #f8f9fb; border-color: #7f8997; border-radius: 11px; color: var(--muted); }
  .upload-zone strong { display: block; color: var(--ink); font-size: 16px; }
  .upload-zone p { color: var(--muted); font-size: 13px; }
  .selected-file { color: var(--ink); background: #fff; border-color: #adb8c5; }
  .segmented, .horizon-tabs, .intake-property-tabs { color: var(--muted); background: #e9edf2; border-color: #cbd3de; border-radius: 9px; padding: 4px; }
  .segmented button, .horizon-button, .intake-property-tabs button { min-height: 44px; color: var(--muted); font-size: 14px; border-radius: 6px; }
  .segmented button.primary, .segmented button.active, .segmented button[aria-selected="true"], .horizon-button.active, .horizon-button[aria-pressed="true"], .intake-property-tabs button.active, .intake-property-tabs button[aria-pressed="true"] { color: var(--wine); background: #fff; border-color: #b5bdc9; box-shadow: 0 1px 5px rgba(28,35,46,.06); }
  .summary-list, .summary-row { border-color: var(--line); }
  .summary-row { font-size: 14px; line-height: 1.85; padding: 15px 0; }
  .summary-row > :first-child, .intake-review-list .summary-row dt { color: var(--muted); }
  .summary-row > :last-child, .intake-review-list .summary-row dd { color: var(--ink); }
  .evidence { color: var(--muted); border-color: var(--line); font-size: 13px; line-height: 1.9; }
  .evidence summary { color: var(--wine); min-height: 48px; font-size: 14px; padding: 13px 0; }
  .comment { color: var(--ink); background: #f2f4f7; border-left-color: var(--wine); padding: 17px; border-radius: 0 8px 8px 0; font-size: 14px; line-height: 1.9; }
  .comment strong { color: var(--wine); }
  .comment .mini-label { color: var(--muted); }
  .empty-state { color: var(--muted); padding: 44px 32px; }
  .empty-state h2 { color: var(--ink); font-size: 23px; }
  .empty-state p { font-size: 14px; }
  .empty-state > svg { color: var(--wine); }
  .registration-symbol { color: var(--wine); background: var(--wine-soft); border-radius: 12px; }
  .feature-list, .plan-card p { color: var(--muted); font-size: 14px; line-height: 1.9; }
  .feature-list li::before { color: var(--wine); }
  .plan-card { border-color: var(--line); border-radius: 12px; }
  .plan-price { color: var(--wine); font-size: 29px; }
  .modal-overlay { background: rgba(22,27,35,.48); backdrop-filter: blur(4px); }
  .modal { border: 1px solid #e0e5ec; border-radius: 16px; box-shadow: 0 24px 72px rgba(14,22,33,.22); }
  .modal-header { padding: 28px 28px 0; }
  .modal-header h2 { color: var(--ink); font-size: 22px; }
  .modal-header button { color: var(--muted); }
  .modal-body { color: var(--muted); padding: 22px 28px; font-size: 14px; line-height: 1.9; }
  .modal-actions { padding: 0 28px 28px; gap: 12px; }
  .modal-actions .button { font-size: 13px; }
  .toast { color: #fff; background: #292d36; border: 1px solid #4c5360; border-radius: 9px; font-size: 13px; line-height: 1.7; box-shadow: 0 7px 22px rgba(20,27,37,.12); }
  .intake-page > .wizard-top, .intake-page > .page-heading, .intake-page > .intake-lead, .intake-page > .intake-stepper, .intake-page > .intake-stage-label { max-width: 820px; margin-left: auto; margin-right: auto; }
  .intake-page .form-card { max-width: 820px; padding: 32px; }
  .intake-page > .intake-lead { margin-bottom: 24px; color: var(--muted); font-size: 14px; line-height: 1.9; }
  .intake-lead strong { color: var(--wine); font-weight: 650; }
  .intake-stepper { gap: 7px; margin-top: 25px; margin-bottom: 26px; }
  .intake-stepper > li { color: var(--muted); font-size: 12px; line-height: 1.65; gap: 9px; }
  .intake-stepper > li > span:first-child { width: 32px; height: 32px; color: #58616d; border-color: #7f8997; background: #fff; font-size: 11px; box-shadow: none; }
  .intake-stepper > li:not(:last-child)::after { top: 16px; width: calc(100% - 33px); left: calc(50% + 17px); background: #b4bdc9; }
  .intake-stepper > li.active, .intake-stepper > li[aria-current="step"] { color: var(--wine); }
  .intake-stepper > li.active > span:first-child, .intake-stepper > li[aria-current="step"] > span:first-child { color: #fff; background: var(--wine); border-color: var(--wine); box-shadow: 0 0 0 4px #eaddE4; }
  .intake-stepper > li.done > span:first-child { color: var(--wine); border-color: #9a6c7e; background: var(--wine-soft); }
  .intake-stepper > li.done::after { background: #a77b8c; }
  .intake-stage-label { font-size: 12px; letter-spacing: .04em; }
  .intake-options { gap: 12px; margin-top: 22px; margin-bottom: 6px; }
  .intake-option { color: var(--ink); background: #fff; border: 1px solid #b7c0cc; border-radius: 11px; padding: 20px 51px 20px 21px; min-height: 84px; box-shadow: 0 2px 6px rgba(25,33,44,.02); transition: border-color .14s ease, box-shadow .14s ease, background .14s ease; }
  .intake-option::before { content: ""; position: absolute; right: 18px; top: 22px; width: 20px; height: 20px; border: 1.5px solid #7f8997; border-radius: 50%; background: #fff; }
  .intake-option:hover { color: var(--ink); border-color: var(--wine); background: #fcf9fa; box-shadow: 0 4px 12px rgba(61,31,45,.045); }
  .intake-option.selected, .intake-option[aria-pressed="true"] { color: var(--ink); border-color: var(--wine); background: var(--wine-soft); box-shadow: inset 4px 0 0 var(--wine); }
  .intake-option.selected::before, .intake-option[aria-pressed="true"]::before { color: #fff; background: var(--wine); border-color: var(--wine); }
  .intake-option.selected::after, .intake-option[aria-pressed="true"]::after { content: "\2713"; position: absolute; right: 22px; top: 20px; color: #fff; font-size: 14px; font-weight: 700; line-height: 23px; }
  .intake-option-title { color: var(--ink); font-size: 16px; line-height: 1.7; font-weight: 650; }
  .intake-option-copy { color: var(--muted); font-size: 13px; line-height: 1.85; }
  .intake-options.compact .intake-option { min-height: 65px; padding-top: 18px; padding-bottom: 18px; }
  .intake-role-symbol { width: 44px; height: 44px; display: grid; place-items: center; color: var(--wine); background: #f1e7ec; border: 1px solid #e0cbd5; border-radius: 10px; }
  .intake-role-symbol svg { width: 24px; height: 24px; stroke-width: 1.5; }
  .intake-option-index { color: var(--muted); font-size: 11px; line-height: 1.5; font-weight: 550; font-variant-numeric: tabular-nums; letter-spacing: .08em; }
  .intake-property-tabs button { font-size: 13px; overflow-wrap: anywhere; }
  .intake-property-heading { color: var(--ink); border-bottom-color: var(--line); gap: 9px 13px; padding-bottom: 16px; }
  .intake-property-heading h2, .intake-property-heading h3, .intake-branch h2, .intake-branch h3 { color: var(--ink); font-size: 19px; }
  .intake-page .field-hint { color: var(--muted); font-size: 12px; }
  .intake-unknown-note, .intake-target-note { color: #495260; background: #f1f4f7; border-color: #b8c3d0; border-radius: 9px; font-size: 13px; line-height: 1.9; }
  .intake-unknown-note strong, .intake-target-note strong { color: var(--ink); }
  .intake-material-options label, .intake-material-options button { color: var(--ink); background: #fff; border-color: #b7c0cc; font-size: 14px; border-radius: 9px; padding: 17px 52px 17px 17px; min-height: 58px; }
  .intake-material-options label:has(input:checked), .intake-material-options button.selected, .intake-material-options button[aria-pressed="true"] { border-color: var(--wine); background: var(--wine-soft); }
  .intake-material-options .intake-option::before { top: 19px; }
  .intake-material-options .intake-option.selected::after, .intake-material-options .intake-option[aria-pressed="true"]::after { top: 17px; }
  .intake-file-list { color: var(--ink); font-size: 13px; }
  .intake-file-list > li { color: var(--ink); background: #f6f8fa; border-color: #c7d0dc; border-radius: 8px; }
  .intake-branch { border-top-color: var(--line); padding-top: 28px; }
  .intake-review-group { border-color: var(--line); border-radius: 11px; }
  .intake-review-group > h2, .intake-review-group > h3 { color: var(--ink); background: #f0f3f6; border-color: var(--line); padding: 17px 21px; font-size: 16px; }
  .intake-review-list .summary-row { font-size: 14px; }
  .intake-review-group .summary-list { padding-left: 21px; padding-right: 21px; }
  .intake-review-list .summary-row dd { color: var(--ink); }
  .intake-actions { margin-top: 28px; padding-top: 24px; }
  .intake-save-note { color: var(--muted); font-size: 12px; margin-top: 18px; }
  .intake-intro { position: relative; display: grid; grid-template-columns: minmax(0,1fr) 174px; align-items: center; gap: 30px; max-width: 820px; margin: 0 auto 33px; padding: 5px 0 9px 20px; border-left: 3px solid var(--wine); }
  .intake-intro-kicker { color: var(--wine); font-size: 10px; letter-spacing: .11em; line-height: 1.8; font-weight: 650; margin: 0 0 14px; }
  .intake-intro-title { color: var(--ink); font-size: 41px; line-height: 1.55; letter-spacing: .045em; font-weight: 650; margin: 0 0 13px; }
  .intake-intro-copy { color: var(--muted); font-size: 15px; line-height: 1.9; letter-spacing: .015em; margin: 0; }
  .intake-intro-mark { min-width: 0; display: grid; place-items: center; color: #8e5e72; width: 174px; height: 162px; border-bottom: 1px solid #c6b2bc; }
  .intake-intro-mark svg { display: block; width: 160px; height: 150px; max-width: 100%; }
  .intake-first-step .page-heading { margin-bottom: 15px; }
  .intake-first-step .page-title { font-size: 25px; line-height: 1.55; margin-bottom: 8px; }
  .intake-first-step .page-subtitle { color: var(--muted); font-size: 13px; }
  .intake-first-step .intake-options { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; margin-top: 0; }
  .intake-first-step .intake-options .intake-option { display: flex; flex-direction: column; align-items: flex-start; gap: 0; min-height: 203px; padding: 22px 23px; }
  .intake-first-step .intake-role-symbol { margin-bottom: 18px; }
  .intake-first-step .intake-option-title { font-size: 16px; }
  .intake-first-step .intake-option-copy { margin-top: 8px; padding-right: 0; font-size: 12px; line-height: 1.9; }
  .intake-first-step .intake-option-index { position: absolute; top: 29px; right: 52px; }
  .intake-first-step .intake-option::before { top: 25px; right: 20px; }
  .intake-first-step .intake-option.selected::after, .intake-first-step .intake-option[aria-pressed="true"]::after { top: 23px; right: 24px; }
  .intake-result-property, .intake-safe-result { color: var(--muted); border-color: var(--line); background: #fff; border-radius: 14px; }
  .intake-safe-result { border-top: 3px solid var(--wine); }
  .intake-safe-result h2 { color: var(--ink); font-size: 26px; }
  .intake-safe-result strong { color: var(--ink); }
  .intake-result-property > h2, .intake-result-property h3, .intake-source-note h3 { color: var(--ink); }
  .intake-result-metrics > div { color: var(--muted); background: #f1f3f6; border-color: #d4dce6; border-radius: 10px; }
  .intake-result-metrics strong { color: var(--wine); font-size: 27px; }
  .intake-source-note { border-left-color: var(--wine); }
  .intake-source-note strong { color: var(--wine); }
  .report-hero, .output-summary { background: #fff; border-color: var(--line); border-top: 3px solid var(--wine); border-radius: 14px; box-shadow: 0 7px 24px rgba(26,33,43,.035); }
  .output-summary { padding: 32px; }
  .output-summary h2 { color: var(--ink); font-size: 31px; line-height: 1.65; }
  .summary-conditions { border-left-color: var(--line); color: var(--muted); }
  .summary-conditions h3 { color: var(--ink); font-size: 15px; }
  .verdict-pill { color: #63364a; background: var(--wine-soft); border: 1px solid #b991a1; border-radius: 5px; font-size: 12px; line-height: 1.75; font-weight: 650; }
  .verdict-pill.pending { color: #79511f; background: #fff6e7; border-color: #bd9b67; }
  .next-step-card { color: var(--muted); background: #fff; border-color: var(--line); border-radius: 12px; }
  .output-summary .next-step-card { background: #f5f7f9; border-color: #cbd4df; border-left: 3px solid var(--wine); }
  .next-step-card h2, .next-step-card h3, .next-step-card strong { color: var(--ink); }
  .data-status-item { color: var(--muted); background: #fff; border-color: #cbd4df; border-radius: 9px; }
  .status-value { color: var(--wine); font-size: 17px; }
  .output-mode-tabs { background: #e9edf2; border-color: #cbd3de; border-radius: 10px; }
  .output-mode-tabs .button { min-height: 48px; }
  .output-mode-tabs .button.primary { background: var(--wine); color: #fff; }
  .output-group { background: #fff; border-color: var(--line); border-radius: 12px; box-shadow: 0 4px 14px rgba(26,33,43,.025); }
  .group-heading { min-height: 95px; padding: 23px 25px; }
  .group-copy h3 { color: var(--ink); font-size: 18px; }
  .group-copy p { color: var(--muted); font-size: 13px; line-height: 1.8; }
  .group-index { color: var(--wine); background: var(--wine-soft); border-color: #ba96a5; border-radius: 8px; }
  .group-count { color: var(--muted); font-size: 12px; }
  .group-heading::after { border-color: var(--wine); }
  .output-item { border-color: var(--line); }
  .output-item > summary { min-height: 69px; padding-top: 15px; padding-bottom: 15px; }
  .output-ja { color: var(--ink); font-size: 15px; font-weight: 650; }
  .output-en { color: var(--muted); font-size: 10px; letter-spacing: .045em; }
  .output-status { color: #63364a; background: var(--wine-soft); font-size: 11px; border-radius: 5px; }
  .output-body { color: var(--muted); font-size: 14px; line-height: 1.95; }
  .document-purpose h2 { color: var(--ink); font-size: 23px; }
  .document-picker { gap: 8px; }
  .document-picker .button { color: var(--wine); min-height: 48px; border-radius: 8px; font-size: 13px; }
  .document-picker .button.active { background: var(--wine-soft); border-color: var(--wine); box-shadow: inset 0 -2px 0 var(--wine); }
  .document-sheet { border-color: #d0d7e1; border-radius: 13px; padding: 38px; background: #fff; color: var(--ink); box-shadow: 0 9px 30px rgba(25,33,44,.045); font-size: 14px; line-height: 1.9; }
  .document-header { border-bottom: 1px solid var(--wine); }
  .document-brand { color: var(--wine); font-size: 16px; }
  .document-brand span { color: var(--muted); font-size: 10px; }
  .document-title { color: var(--ink); font-size: 30px; line-height: 1.6; }
  .document-meta { color: var(--muted); font-size: 11px; }
  .document-header > p { color: var(--muted); font-size: 13px; }
  .document-decision { color: var(--muted); background: #f6f8fa; border-color: #b8c5d3; border-left: 3px solid var(--wine); border-radius: 9px; font-size: 14px; line-height: 1.9; }
  .document-decision h3, .document-decision strong { color: var(--ink); }
  .document-key-grid > .key-number { color: var(--muted); border-color: #d5dce5; background: #f2f4f7; border-radius: 9px; }
  .document-section h3 { color: var(--ink); border-bottom-color: var(--line); font-size: 18px; }
  .section-index, .section-number { color: var(--wine); background: var(--wine-soft); border-color: #c6a8b5; font-size: 11px; }
  .document-note { color: #495260; border-color: #bbc7d5; background: #f0f4f8; border-radius: 8px; font-size: 13px; }
  .document-warning { color: #79511f; background: #fff6e7; border-color: #c3a26f; border-radius: 8px; font-size: 13px; }
  .table-wrap { border-color: #bdc8d5; border-radius: 9px; }
  .document-table { color: var(--ink); font-size: 13px; }
  .document-table th, .document-table td { border-color: var(--line); color: var(--ink); padding: 13px 14px; }
  .document-table thead th { color: #434d5a; background: #edf1f5; font-size: 12px; }
  .document-table tbody th { color: #434d5a; font-weight: 600; }
  .document-label { color: var(--muted); font-size: 12px; }
  .document-value { color: var(--ink); font-size: 15px; }
  .document-footer { color: var(--muted); border-color: var(--line); font-size: 11px; line-height: 1.9; }
  .analysis-source { color: var(--muted); border-left-color: var(--wine); font-size: 14px; }
  .analysis-source h2, .owner-additions h2, .owner-additions h3, .report-appendix h3 { color: var(--ink); }
  .owner-additions { color: var(--muted); border-color: #ccd5e0; background: #f7f9fb; border-radius: 10px; }
  .internal-banner { color: #5b3a4a; border-color: #b1889b; background: #f4edf1; border-radius: 9px; font-size: 14px; }
  .internal-banner strong { color: var(--wine-dark); }
  .cost-part { color: var(--muted); background: #f3f5f8; border-color: #cbd5e1; border-radius: 9px; font-size: 13px; }
  .cost-part strong { color: var(--wine); font-size: 23px; }
  .cost-operator { color: #58616d; }
  .workflow-step { color: var(--muted); background: #fff; border-color: #c8d2df; border-top-color: var(--wine); border-radius: 8px; font-size: 13px; }
  .workflow-step strong { color: var(--ink); font-size: 14px; }
  .workflow-step::before { color: var(--wine); background: var(--wine-soft); }
  .horizon-button:focus-visible, .intake-option:focus-visible, .document-picker button:focus-visible { outline-color: var(--wine); }
  .forecast-bar > i { background: #d8bdc9; }
  .forecast-bar.active > i { background: var(--wine); }
  .forecast-bar > span { color: var(--muted); font-size: 12px; }
  /* Match the specificity of earlier report styles; status text stays readable. */
  .output-summary > p { color: var(--muted); }
  .output-summary > .output-kicker { color: var(--wine); }
  .output-summary > .next-step-card > strong { color: var(--ink); font-size: 15px; }
  .output-summary > .next-step-card > p, .data-status-item > span:last-child { color: var(--muted); font-size: 12px; line-height: 1.85; }
  .output-groups > .section-heading > h2 { color: var(--ink); font-size: 20px; }
  .document-purpose > div > h2 { color: var(--ink); font-size: 23px; }
  .document-header > p:last-child, .document-title small, .document-brand small, .document-print-note, .mobile-doc-summary { color: var(--muted); }
  .document-header > .output-kicker { color: var(--wine); }
  .document-warning strong { color: #63411b; }
  .document-table td strong { color: var(--ink); }
  .document-footer strong { color: var(--ink); }
  .original-analysis > summary, .original-analysis > summary::before { color: var(--wine); }
  .decision-options label { color: var(--ink); background: #f7f9fb; border-color: #a8b5c5; font-size: 14px; }
  .decision-options label:has(input:checked) { color: var(--ink); background: var(--wine-soft); border-color: var(--wine); }
  .next-step-list > li { color: var(--muted); }
  .next-step-list > li::before { color: var(--wine); background: var(--wine-soft); }
  .next-step-list strong, .output-body h4, .document-section h4, .owner-additions h4 { color: var(--ink); }
  .status-value.pending { color: #79511f; }
}

@media screen and (max-width: 1100px) and (min-width: 701px) {
  .sidebar { width: 202px; padding-left: 15px; padding-right: 15px; }
  .workspace { margin-left: 202px; }
  .page { padding-left: 28px; padding-right: 28px; }
  .topbar { padding-left: 28px; padding-right: 28px; }
  .brand-name { font-size: 16px; }
  .brand-sub { font-size: 9px; }
  .page-title { font-size: 29px; }
  .intake-intro { grid-template-columns: minmax(0,1fr) 130px; gap: 22px; }
  .intake-intro-title { font-size: 35px; }
  .intake-intro-mark { width: 130px; height: 144px; }
  .intake-first-step .intake-options { grid-template-columns: 1fr; }
  .intake-first-step .intake-options .intake-option { display: grid; grid-template-columns: 44px minmax(0,1fr); gap: 2px 16px; min-height: 99px; padding: 20px 60px 20px 20px; }
  .intake-first-step .intake-role-symbol { grid-column: 1; grid-row: 1 / span 2; align-self: center; margin-bottom: 0; }
  .intake-first-step .intake-option-title { grid-column: 2; grid-row: 1; }
  .intake-first-step .intake-option-copy { grid-column: 2; grid-row: 2; margin-top: 2px; }
  .intake-first-step .intake-option-index { top: 11px; right: 20px; font-size: 10px; }
  .intake-first-step .intake-option::before { top: 42px; right: 20px; }
  .intake-first-step .intake-option.selected::after, .intake-first-step .intake-option[aria-pressed="true"]::after { top: 40px; right: 24px; }
  .document-sheet { padding: 29px; }
  .output-summary { padding: 27px; }
}

@media screen and (max-width: 767px) and (min-width: 701px) {
  .sidebar { width: 184px; padding-left: 12px; padding-right: 12px; }
  .workspace { margin-left: 184px; }
  .brand { gap: 7px; padding-left: 3px; }
  .brand-name { font-size: 15px; letter-spacing: .035em; }
  .brand-sub { font-size: 8px; }
  .nav-item { padding-left: 13px; padding-right: 13px; }
  .page { padding-left: 22px; padding-right: 22px; }
  .intake-intro { display: block; padding-left: 17px; }
  .intake-intro-title { font-size: 31px; }
  .intake-intro-mark { display: none; }
  .key-numbers { grid-template-columns: 1fr; }
  .summary-columns { grid-template-columns: 1fr; }
  .summary-conditions { border-left: 0; border-top: 1px solid var(--line); padding: 17px 0 0; }
}

@media screen and (max-width: 700px) {
  body { font-size: 15px; line-height: 1.85; }
  .sidebar { display: none; }
  .workspace { margin-left: 0; }
  .page { padding: 25px 20px 30px; }
  .page-title { font-size: 27px; line-height: 1.55; letter-spacing: .025em; margin-bottom: 10px; }
  .page-subtitle { font-size: 14px; line-height: 1.9; }
  .page-heading { margin-bottom: 23px; }
  .eyebrow { font-size: 10px; letter-spacing: .13em; margin-bottom: 8px; }
  .mobile-header { display: flex; height: 66px; min-height: 66px; padding: 0 20px; align-items: center; justify-content: space-between; background: #fff; border-bottom: 1px solid var(--line); }
  .mobile-header .brand { padding: 0; gap: 9px; }
  .mobile-header .brand-mark { font-size: 35px; width: 30px; height: 38px; }
  .mobile-header .brand-mark > span { font-size: 23px; }
  .mobile-header .brand-name { font-size: 18px; letter-spacing: .065em; }
  .mobile-header .button.small { min-height: 44px; font-size: 12px; padding: 9px 11px; }
  .topbar { display: none; }
  .demo-strip { display: flex; align-items: flex-start; gap: 7px; text-align: left; padding: 9px 20px; font-size: 11px; line-height: 1.8; }
  .demo-strip > .badge { flex: 0 0 auto; margin: 1px 0 0; font-size: 10px; padding: 2px 6px; }
  .demo-strip > span:last-child { min-width: 0; }
  .bottom-nav { z-index: 40; min-height: calc(73px + env(safe-area-inset-bottom)); padding: 7px 16px calc(7px + env(safe-area-inset-bottom)); border-top-color: #cdd5df; background: rgba(255,255,255,.98); box-shadow: 0 -5px 20px rgba(24,32,43,.035); }
  .bottom-nav .nav-item { color: #58616d; min-height: 56px; padding: 7px 10px; gap: 4px; font-size: 11px; font-weight: 550; }
  .bottom-nav .nav-item svg { width: 22px; height: 22px; }
  .bottom-nav .nav-item.active { color: var(--wine); font-weight: 700; }
  .bottom-nav .nav-item.active::after { width: 16px; height: 2px; bottom: 3px; border-radius: 1px; background: var(--wine); }
  .page-disclaimer { color: var(--muted); padding: 7px 20px calc(107px + env(safe-area-inset-bottom)); font-size: 11px; line-height: 1.9; }
  .card { border-radius: 13px; padding: 23px 21px; }
  .card-title { font-size: 18px; }
  .section-heading, .section-heading h2 { font-size: 19px; }
  .card-header { gap: 9px; }
  .card-label { font-size: 11px; }
  .text-muted, .field-hint, .property-meta { font-size: 13px; }
  .mini-label, .stat-label { font-size: 12px; }
  .property-card { padding: 0; }
  .property-card .card-header { padding: 20px 21px 0; }
  .property-card .property-info { padding-left: 21px; padding-right: 21px; padding-bottom: 21px; }
  .property-info h2 { font-size: 22px; }
  .property-card .card-footer { margin-left: 0; margin-right: 0; margin-bottom: 0; padding: 12px 21px; }
  .property-tile { padding: 0; }
  .property-tile .property-info { padding: 18px; }
  .property-tile .property-info h2 { font-size: 17px; }
  .property-tile .text-muted, .property-tile .property-meta { font-size: 12px; }
  .property-tile .stat-label { font-size: 11px; }
  .property-tile .stat-value { font-size: 25px; }
  .art-code, .art-caption { font-size: 9px; }
  .property-tile .art-code, .property-tile .art-caption { font-size: 8px; }
  .stats-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .stat-value { font-size: 29px; }
  .stat-value small { font-size: 12px; }
  .stat-label { font-size: 11px; }
  .metric-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
  .metric { padding: 16px 13px; }
  .metric-number { font-size: 27px; }
  .button { min-height: 49px; font-size: 14px; padding: 13px 17px; border-radius: 9px; }
  .button.small { min-height: 44px; font-size: 12px; padding: 10px 12px; }
  .text-button, .back-button { min-height: 44px; font-size: 13px; }
  .consult-card { padding: 25px 23px; border-radius: 13px; }
  .consult-card h2 { font-size: 27px; line-height: 1.6; }
  .consult-copy { font-size: 15px; }
  .consult-card .field-hint, .consult-card > .field-hint { font-size: 12px; }
  .task-body strong { font-size: 15px; }
  .task-body p { font-size: 13px; }
  .task-number { width: 29px; height: 29px; font-size: 11px; }
  .task-row { gap: 12px; }
  .check-row strong { font-size: 14px; }
  .check-row .text-muted { font-size: 12px; }
  .notice { padding: 14px; font-size: 13px; border-radius: 9px; }
  .notice > svg { width: 17px; height: 17px; }
  .form-card, .intake-page .form-card { padding: 23px 21px; }
  .field { margin-bottom: 23px; }
  .field-label, .intake-page .field-label { font-size: 14px; }
  input:not([type="checkbox"]):not([type="radio"]):not([type="file"]), textarea, select, .intake-page input:not([type="checkbox"]):not([type="radio"]):not([type="file"]), .intake-page select, .intake-page textarea { font-size: 16px; min-height: 51px; padding: 12px 13px; }
  textarea, .intake-page textarea { min-height: 138px; }
  .check-label, .confirm-check, .intake-confirmation { font-size: 14px; }
  .choice { padding: 15px; font-size: 15px; }
  .option-card { min-height: 128px; padding: 20px; }
  .option-card strong { font-size: 16px; }
  .option-card > span:not(.option-icon) { font-size: 13px; }
  .summary-row { font-size: 13px; line-height: 1.85; gap: 15px; padding: 14px 0; }
  .summary-row > :first-child { max-width: 44%; }
  .summary-row > :last-child { margin-left: 0; }
  .feature-list { font-size: 14px; }
  .empty-state { padding: 34px 23px; }
  .empty-state h2 { font-size: 23px; }
  .empty-state p { font-size: 14px; }
  .modal-overlay { padding: 16px; }
  .modal { max-height: 89dvh; border-radius: 15px; }
  .modal-header { padding: 25px 23px 0; }
  .modal-header h2 { font-size: 21px; }
  .modal-body { padding: 19px 23px 23px; font-size: 14px; }
  .modal-actions { padding: 0 23px 24px; gap: 10px; }
  .modal-actions .button { font-size: 13px; padding: 12px 14px; }
  .toast { bottom: calc(91px + env(safe-area-inset-bottom)); max-width: calc(100% - 32px); font-size: 13px; padding: 13px 17px; }
  .intake-page > .wizard-top { margin-bottom: 20px; }
  .intake-page > .intake-lead { font-size: 13px; line-height: 1.9; margin-bottom: 20px; }
  .intake-page .field-hint { font-size: 12px; }
  .intake-stepper { gap: 3px; margin-top: 21px; margin-bottom: 25px; }
  .intake-stepper > li { color: var(--muted); font-size: 10px; gap: 9px; line-height: 1.6; white-space: nowrap; }
  .intake-stepper > li > span:first-child { width: 29px; height: 29px; font-size: 11px; }
  .intake-stepper > li:not(:last-child)::after { top: 14px; width: calc(100% - 29px); left: calc(50% + 15px); }
  .intake-stepper > li.active > span:first-child { box-shadow: 0 0 0 3px #eadde4; }
  .intake-stage-label { font-size: 12px; line-height: 1.8; }
  .intake-options { grid-template-columns: 1fr; gap: 10px; margin-top: 19px; }
  .intake-option { min-height: 76px; padding: 19px 51px 19px 18px; border-radius: 10px; }
  .intake-option-title { font-size: 15px; line-height: 1.75; }
  .intake-option-copy { font-size: 13px; line-height: 1.8; }
  .intake-option::before { top: 23px; right: 17px; }
  .intake-option.selected::after, .intake-option[aria-pressed="true"]::after { top: 21px; right: 21px; }
  .intake-options.compact .intake-option { min-height: 65px; padding: 17px 45px 17px 15px; }
  .intake-options.compact .intake-option::before { top: 20px; right: 13px; }
  .intake-options.compact .intake-option.selected::after, .intake-options.compact .intake-option[aria-pressed="true"]::after { top: 18px; right: 17px; }
  .intake-property-tabs { gap: 5px; }
  .intake-property-tabs button { padding: 11px 9px; font-size: 12px; flex-basis: 100px; }
  .intake-property-tools .button { font-size: 12px; }
  .intake-property-heading h2, .intake-property-heading h3, .intake-branch h2, .intake-branch h3 { font-size: 19px; }
  .intake-material-options { grid-template-columns: 1fr; gap: 9px; }
  .intake-material-options label, .intake-material-options button { font-size: 14px; min-height: 61px; padding-top: 18px; padding-bottom: 18px; }
  .intake-material-options .intake-option::before { top: 20px; }
  .intake-material-options .intake-option.selected::after, .intake-material-options .intake-option[aria-pressed="true"]::after { top: 18px; }
  .intake-unknown-note, .intake-target-note { padding: 13px 14px; font-size: 12px; }
  .intake-review-group > h2, .intake-review-group > h3 { font-size: 16px; padding: 16px; }
  .intake-review-group .summary-list { padding-left: 16px; padding-right: 16px; }
  .intake-review-list .summary-row { font-size: 13px; }
  .intake-actions { margin-top: 25px; padding-top: 21px; }
  .intake-actions .button { min-height: 49px; font-size: 14px; }
  .intake-actions .primary { flex-basis: 100%; }
  .intake-save-note { font-size: 12px; margin-top: 17px; }
  .intake-intro { display: block; margin-bottom: 28px; padding: 0 0 2px 16px; border-left-width: 3px; }
  .intake-intro-kicker { margin-bottom: 11px; font-size: 9px; letter-spacing: .075em; }
  .intake-intro-title { font-size: clamp(26px,7.5vw,32px); line-height: 1.55; letter-spacing: .025em; margin-bottom: 12px; font-weight: 650; }
  .intake-intro-copy { font-size: 14px; line-height: 1.85; }
  .intake-intro-mark { display: none; }
  .intake-first-step .page-heading { margin-bottom: 13px; }
  .intake-first-step .page-title { font-size: 22px; line-height: 1.65; margin-bottom: 7px; }
  .intake-first-step .page-subtitle { font-size: 12px; }
  .intake-first-step .intake-options { grid-template-columns: 1fr; gap: 10px; }
  .intake-first-step .intake-options .intake-option { display: grid; grid-template-columns: 39px minmax(0,1fr); column-gap: 12px; row-gap: 2px; min-height: 101px; padding: 17px 51px 17px 16px; }
  .intake-first-step .intake-role-symbol { grid-column: 1; grid-row: 1 / span 2; align-self: center; width: 39px; height: 41px; margin: 0; border-radius: 9px; }
  .intake-first-step .intake-role-symbol svg { width: 23px; height: 23px; }
  .intake-first-step .intake-option-title { grid-column: 2; grid-row: 1; font-size: 15px; align-self: end; }
  .intake-first-step .intake-option-copy { grid-column: 2; grid-row: 2; font-size: 12px; line-height: 1.75; margin-top: 1px; }
  .intake-first-step .intake-option-index { top: 10px; right: 16px; font-size: 9px; }
  .intake-first-step .intake-option::before { top: 42px; right: 16px; }
  .intake-first-step .intake-option.selected::after, .intake-first-step .intake-option[aria-pressed="true"]::after { top: 40px; right: 20px; }
  .intake-result-property, .intake-safe-result { padding: 24px 21px; border-radius: 13px; }
  .intake-safe-result h2 { font-size: 24px; }
  .intake-result-property > h2 { font-size: 22px; }
  .intake-result-metrics { grid-template-columns: 1fr; }
  .intake-result-metrics strong { font-size: 26px; }
  .intake-source-note, .intake-missing-list { font-size: 13px; }
  .output-summary { padding: 26px 22px; }
  .output-summary h2 { font-size: 27px; line-height: 1.65; }
  .summary-columns { grid-template-columns: 1fr; gap: 21px; }
  .summary-main > p { font-size: 14px; }
  .summary-conditions { border-left: 0; border-top: 1px solid var(--line); padding: 19px 0 0; }
  .summary-conditions h3 { font-size: 15px; }
  .summary-conditions li { font-size: 13px; }
  .key-numbers { grid-template-columns: 1fr; gap: 9px; }
  .key-number { padding: 15px 16px; font-size: 12px; border-radius: 9px; }
  .key-number strong { font-size: 30px; }
  .key-number > small { font-size: 12px; }
  .verdict-pill { font-size: 11px; line-height: 1.8; }
  .next-step-card { padding: 23px 21px; }
  .data-status-item { font-size: 12px; }
  .output-mode-tabs { gap: 5px; }
  .output-mode-tabs .button { min-height: 48px; font-size: 12px; padding: 11px 12px; }
  .group-heading { min-height: 94px; padding: 21px 19px; gap: 12px; }
  .group-copy h3 { font-size: 17px; line-height: 1.7; }
  .group-copy p { font-size: 12px; line-height: 1.8; }
  .group-count { font-size: 11px; }
  .output-ja { font-size: 15px; }
  .output-en { font-size: 10px; }
  .output-status { font-size: 10px; }
  .output-body { font-size: 14px; line-height: 1.9; }
  .document-purpose h2 { font-size: 22px; }
  .document-picker { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
  .document-picker .button { min-height: 49px; padding: 12px 10px; font-size: 12px; }
  .document-sheet { padding: 26px 20px; font-size: 14px; border-radius: 12px; }
  .document-title { font-size: 25px; line-height: 1.7; }
  .document-brand { font-size: 14px; }
  .document-meta { font-size: 10px; }
  .document-header > p { font-size: 12px; }
  .document-decision { padding: 17px 15px; font-size: 14px; }
  .document-key-grid .key-number { padding: 15px; }
  .document-key-grid .key-number strong { font-size: 27px; }
  .document-section h3 { font-size: 18px; line-height: 1.7; }
  .document-table { font-size: 13px; }
  .document-table th, .document-table td { color: var(--ink); font-size: 13px; }
  .document-table tbody th { color: var(--ink); background: #edf1f5; padding: 13px 15px; }
  .document-table td[data-label]::before { color: #4b5563; font-weight: 600; font-size: 12px; }
  .document-note, .document-warning { font-size: 13px; padding: 14px; }
  .document-footer { font-size: 11px; }
  .owner-additions { padding: 19px; font-size: 14px; }
  .cost-part { padding: 15px; font-size: 13px; }
  .cost-part strong { font-size: 24px; }
  .workflow-step { font-size: 13px; }
  .workflow-step strong { font-size: 14px; }
  .forecast-number { font-size: 35px; }
}

@media screen and (min-width: 375px) and (max-width: 430px) {
  .intake-intro-title { font-size: clamp(26px,7.5vw,32px); }
  .intake-first-step .intake-options .intake-option { min-height: 99px; }
}

@media screen and (max-width: 374px) {
  .page { padding-left: 16px; padding-right: 16px; }
  .mobile-header { padding-left: 16px; padding-right: 16px; }
  .mobile-header .brand-name { font-size: 16px; }
  .demo-strip { padding-left: 16px; padding-right: 16px; }
  .form-card, .intake-page .form-card { padding-left: 17px; padding-right: 17px; }
  .intake-intro { padding-left: 13px; }
  .intake-intro-title { font-size: 26px; line-height: 1.6; letter-spacing: .015em; }
  .intake-intro-kicker { font-size: 8px; letter-spacing: .045em; }
  .intake-intro-copy { font-size: 13px; }
  .intake-first-step .page-title { font-size: 21px; }
  .intake-first-step .intake-options .intake-option { grid-template-columns: 34px minmax(0,1fr); column-gap: 10px; padding-left: 13px; padding-right: 43px; min-height: 104px; }
  .intake-first-step .intake-role-symbol { width: 34px; height: 38px; border-radius: 8px; }
  .intake-first-step .intake-role-symbol svg { width: 21px; height: 21px; }
  .intake-first-step .intake-option-title { font-size: 14px; }
  .intake-first-step .intake-option-copy { font-size: 12px; }
  .intake-first-step .intake-option::before { right: 13px; }
  .intake-first-step .intake-option.selected::after, .intake-first-step .intake-option[aria-pressed="true"]::after { right: 17px; }
  .intake-first-step .intake-option-index { right: 13px; }
  .intake-stepper > li { font-size: 10px; gap: 8px; }
  .intake-stepper > li > span:first-child { width: 27px; height: 27px; font-size: 10px; }
  .intake-stepper > li:not(:last-child)::after { width: calc(100% - 27px); left: calc(50% + 14px); top: 13px; }
  .intake-actions .button { padding-left: 11px; padding-right: 11px; font-size: 13px; }
  .intake-property-tools .button { width: auto; }
  .summary-row { gap: 10px; font-size: 12px; }
  .stat-value { font-size: 26px; }
  .property-tile .property-info { padding: 16px 13px; }
  .property-tile .property-info h2 { font-size: 16px; }
  .document-sheet { padding-left: 16px; padding-right: 16px; }
  .document-title { font-size: 23px; }
  .document-picker .button { font-size: 11px; }
  .output-summary h2 { font-size: 25px; }
  .output-mode-tabs .button { font-size: 11px; padding-left: 9px; padding-right: 9px; }
  .modal-actions .button { padding-left: 10px; padding-right: 10px; }
}

@media screen and (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .button:active { transform: none; }
}
