:root {
  --paper: #f8f7f3;
  --ink: #252a25;
  --muted: #62685f;
  --line: #dce0d5;
  --orange: #b54020;
  --green: #315847;
  --tint: #eef2e8;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.6 system-ui, sans-serif; }
h1, h2, h3, strong { font-weight: 600; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button, summary { cursor: pointer; }
button, a, input, summary { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 4px; }
[hidden] { display: none !important; }
.wrap { max-width: 1200px; margin: auto; padding: 0 40px; }
.header { min-height: 100px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 8px; font-size: 23px; font-weight: 600; }
.brand-mark { width: 32px; height: 36px; display: grid; place-items: center; border-radius: 9px; color: white; background: var(--orange); font-size: 27px; transform: rotate(-7deg); }
.brand-dot { color: var(--orange); }
nav { display: flex; align-items: center; gap: 30px; font-size: 14px; font-weight: 600; }
nav a:hover, footer a:hover { color: var(--orange); }
.hero { display: flex; justify-content: space-between; align-items: center; gap: 40px; padding: 58px 0 48px; }
.eyebrow { display: flex; align-items: center; gap: 8px; font-size: 14px; margin: 0 0 16px; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--orange); }
h1 { font-size: clamp(42px, 5vw, 62px); line-height: 1.12; margin: 0 0 20px; letter-spacing: -.035em; }
h1 span { color: var(--orange); }
.intro { margin: 0; color: var(--muted); }
.hero-aside { padding-right: 28px; }
.hero-stars { color: var(--orange); font-size: 31px; letter-spacing: 4px; }
.hero-aside p { font-size: 24px; line-height: 1.4; margin: 12px 0; }
.hero-aside > span { font-size: 14px; color: var(--muted); }
.calculator-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: stretch; }
.card { padding: 30px; background: white; border: 1px solid var(--line); border-radius: 12px; min-width: 0; }
.card-heading { display: flex; gap: 13px; align-items: flex-start; margin-bottom: 24px; }
.step { display: grid; place-items: center; flex-shrink: 0; width: 32px; height: 32px; background: #f5e9df; color: var(--orange); font-size: 14px; border-radius: 6px; }
h2 { margin: 0; font-size: 24px; line-height: 1.3; }
.card-heading p { font-size: 14px; color: var(--muted); margin: 7px 0 0; }
fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.mode-picker { display: flex; gap: 4px; padding: 4px; border: 1px solid var(--line); background: var(--paper); border-radius: 7px; margin-bottom: 22px; }
.mode-picker label { flex: 1; position: relative; text-align: center; cursor: pointer; }
.mode-picker input { position: absolute; inset: 0; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.mode-picker span { display: block; padding: 8px; border-radius: 4px; font-size: 14px; }
.mode-picker input:checked + span { background: white; box-shadow: 0 1px 4px #252a251a; font-weight: 600; }
.mode-picker input:focus-visible + span { outline: 3px solid var(--orange); }
.column-labels { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); margin-bottom: 8px; }
.star-row { display: flex; align-items: center; gap: 16px; margin-top: 9px; }
.star-row label { display: flex; align-items: center; gap: 8px; flex-shrink: 0; font-weight: 600; }
.star-row label span[aria-hidden] { color: var(--orange); }
.bar { flex: 1; height: 8px; border-radius: 8px; background: #f0f0e9; overflow: hidden; }
.bar span { display: block; height: 100%; border-radius: inherit; background: #c66a45; width: 0; transition: width .2s; }
input[type="number"] { border: 1px solid #cbd0c3; border-radius: 5px; padding: 9px 11px; background: white; color: var(--ink); min-height: 44px; max-width: 100%; }
input[type="number"] { font-variant-numeric: tabular-nums; }
input[type="number"]::-webkit-inner-spin-button { margin-left: 8px; }
.star-row input { width: 115px; text-align: right; }
.average-fields { min-height: 283px; }
.average-fields label { display: block; margin: 15px 0 6px; font-size: 14px; }
.average-fields label:first-of-type { margin-top: 0; }
.average-fields input { width: 100%; }
.helper { font-size: 13px; line-height: 1.6; color: var(--muted); margin: 14px 0 0; }
.average-result { display: flex; justify-content: space-between; align-items: center; gap: 16px; border-top: 1px solid var(--line); margin-top: 24px; padding-top: 20px; }
.result-label { font-size: 13px; color: var(--muted); }
.average-number { display: flex; align-items: baseline; gap: 8px; }
.average-number output { font-size: 40px; line-height: 1.35; font-weight: 600; font-variant-numeric: tabular-nums; }
.average-number > span { font-size: 14px; color: var(--muted); }
.average-meta { display: flex; flex-direction: column; font-size: 13px; text-align: right; color: var(--muted); }
#source-status { margin-top: 12px; font-size: 12px; }
.target-card { background: var(--tint); display: flex; flex-direction: column; }
.target-card .step { background: #dce6d3; color: var(--green); }
.target-controls { display: grid; grid-template-columns: 125px minmax(0, 1fr); gap: 16px; }
.target-controls label { display: block; font-size: 14px; margin-bottom: 8px; }
.target-input { position: relative; }
.target-input input { width: 100%; padding-right: 32px; }
.target-input > span { position: absolute; right: 12px; top: 9px; pointer-events: none; color: var(--orange); }
.target-result { margin-top: 26px; padding: 24px 20px 20px; background: white; border: 1px solid #dce3d2; border-radius: 8px; text-align: center; }
#needed-output { display: block; font-size: clamp(38px, 5vw, 66px); font-weight: 600; line-height: 1.25; color: var(--green); font-variant-numeric: tabular-nums; overflow-wrap: anywhere; margin: 5px 0 8px; }
#needed-description { font-size: 14px; color: var(--muted); margin: 0; }
.projection { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-top: 24px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.projection strong { margin-left: 5px; color: var(--ink); }
.assumption { font-size: 13px; color: var(--muted); margin: 18px 0 24px; }
.button { display: flex; align-items: center; justify-content: space-between; width: 100%; background: var(--green); color: white; border: 0; border-radius: 6px; padding: 13px 18px; font-size: 14px; font-weight: 600; margin-top: auto; min-height: 48px; }
.button:hover { background: #244334; }
.live-note { font-size: 12px; color: var(--muted); text-align: center; margin: 9px 0 0; }
.trust-row { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding: 20px 0; font-size: 12px; color: var(--muted); }
.trust-row button { border: 0; background: transparent; color: var(--ink); font-size: 12px; text-decoration: underline; text-underline-offset: 4px; padding: 8px 0; }
.guide { border-top: 1px solid var(--line); margin-top: 26px; padding: 58px 0; }
.section-heading .eyebrow { color: var(--orange); }
.section-heading h2 { font-size: 32px; }
.section-heading > p:last-child { color: var(--muted); font-size: 14px; margin: 14px 0 30px; }
.guide-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.guide-number { font-size: 13px; color: var(--orange); }
h3 { font-size: 18px; margin: 10px 0; }
.guide-grid p { font-size: 14px; color: var(--muted); margin: 0 0 18px; }
.formula { padding: 15px; border: 1px solid var(--line); border-radius: 6px; font-size: 14px; margin: 20px 0; background: #eeeee6; }
.guide-grid .worked-example { margin: 0; }
.faq { display: grid; grid-template-columns: 1fr 1.7fr; gap: 40px; border-top: 1px solid var(--line); padding: 45px 0 60px; }
.faq h2 { font-size: 28px; }
details { border-bottom: 1px solid var(--line); }
summary { padding: 16px 26px 16px 0; font-size: 14px; font-weight: 600; position: relative; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; position: absolute; right: 0; top: 12px; font-size: 20px; color: var(--muted); }
details[open] summary::after { content: '−'; }
details p { font-size: 14px; color: var(--muted); margin: 0 0 20px; }
footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; border-top: 1px solid var(--line); padding: 25px 0 32px; font-size: 12px; color: var(--muted); }
footer .brand { font-size: 17px; color: var(--ink); }
.notice { border: 1px solid var(--orange); padding: 16px; }
.sr-only, .skip-link:not(:focus) { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip-link:focus { display: block; padding: 12px; background: white; }
@media (max-width: 900px) {
  .wrap { padding: 0 24px; }
  .card { padding: 22px; }
  .target-controls { grid-template-columns: 100px minmax(0, 1fr); gap: 10px; }
  .hero-aside { padding: 0; }
  .card-heading { gap: 10px; }
  .card-heading h2 { font-size: 21px; }
}
@media (max-width: 720px) {
  .header { min-height: 80px; }
  .brand { font-size: 20px; }
  nav { gap: 16px; font-size: 13px; }
  nav { flex-wrap: wrap; }
  .header { flex-wrap: wrap; padding-block: 16px; gap: 12px; }
  .hero { padding: 38px 0 32px; }
  .hero-aside { display: none; }
  .intro { font-size: 15px; }
  .desktop-break { display: none; }
  .calculator-grid, .guide-grid, .faq { grid-template-columns: 1fr; }
  .calculator-grid { gap: 18px; }
  .card { padding: 23px; }
  .card-heading h2 { font-size: 23px; }
  .target-controls { grid-template-columns: 105px minmax(0, 1fr); }
  .trust-row { align-items: flex-start; flex-direction: column; }
  .guide { margin-top: 12px; padding: 36px 0; }
  .section-heading h2 { font-size: 28px; }
  .guide-grid { gap: 30px; }
  .faq { gap: 15px; padding: 32px 0 40px; }
  footer { align-items: flex-start; flex-direction: column; gap: 10px; }
}
@media (max-width: 370px) {
  .wrap { padding: 0 16px; }
  .card { padding: 18px; }
  .target-controls { grid-template-columns: 1fr; }
  .star-row input { width: 100px; }
  .card-heading h2 { font-size: 21px; }
  .average-result { align-items: flex-start; flex-direction: column; gap: 8px; }
  .average-meta { text-align: left; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .bar span { transition: none; }
}
nav a[aria-current="page"] { color: var(--orange); }
.timer-hero { padding-bottom: 32px; }
.timer-card { max-width: 760px; margin: 0 auto; padding: 36px 48px; text-align: center; }
.timer-card .eyebrow { justify-content: center; color: var(--muted); }
.timer-display { font-size: clamp(38px, 9vw, 88px); font-weight: 600; font-variant-numeric: tabular-nums; line-height: 1.4; color: var(--green); }
.timer-status { min-height: 26px; margin: 8px 0 24px; color: var(--muted); font-size: 14px; }
#timer-progress { width: 100%; height: 8px; accent-color: var(--green); display: block; margin-bottom: 30px; }
.duration-fields { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; text-align: left; }
.duration-fields label { font-size: 14px; }
.duration-fields input { display: block; width: 100%; margin-top: 8px; }
.duration-fields:disabled { opacity: .65; }
.timer-presets { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin: 22px 0; }
.timer-presets button, .secondary-button { background: transparent; color: var(--ink); border: 1px solid #cbd0c3; border-radius: 6px; padding: 10px 16px; font-size: 14px; min-height: 44px; }
.timer-presets button:hover, .secondary-button:hover { background: var(--tint); }
.timer-actions { display: flex; gap: 12px; }
.timer-actions .button { justify-content: center; }
.sound-toggle { display: flex; justify-content: center; align-items: center; gap: 9px; margin-top: 22px; font-size: 14px; color: var(--muted); }
.sound-toggle input { width: 18px; height: 18px; accent-color: var(--green); }
.timer-guide { max-width: 760px; margin: 45px auto 60px; }
.timer-guide p { color: var(--muted); font-size: 14px; }
@media (max-width: 720px) {
  .timer-card { padding: 24px 18px; }
  .duration-fields { gap: 10px; }
  .timer-presets { gap: 8px; }
  .timer-presets button { padding-inline: 12px; }
}
.time-tools { max-width: 760px; margin: 0 auto 20px; gap: 24px; flex-wrap: wrap; }
.time-tools a { text-decoration: underline; text-underline-offset: 5px; }
.stopwatch-card { margin-top: 28px; }
.stopwatch-display { font-size: clamp(30px, 7vw, 68px); margin-top: 20px; }
.secondary-button:disabled { opacity: .45; cursor: default; }
.lap-results { margin-top: 26px; max-height: 320px; overflow: auto; }
.lap-results table { width: 100%; border-collapse: collapse; font-size: 14px; font-variant-numeric: tabular-nums; text-align: right; }
.lap-results caption { text-align: left; color: var(--muted); padding-bottom: 10px; }
.lap-results th, .lap-results td { padding: 12px 4px; border-bottom: 1px solid var(--line); }
.lap-results th:first-child, .lap-results td:first-child { text-align: left; }
@media (max-width: 420px) {
  .stopwatch-card .timer-actions { flex-wrap: wrap; }
  .stopwatch-card .timer-actions .button { flex-basis: 100%; }
  .stopwatch-card .secondary-button { flex: 1; }
  .lap-results table { font-size: 12px; }
}

/* Small tools share the site's paper, orange and sage palette. */
.header nav { flex-wrap: wrap; gap: 12px 22px; }
.tool-fields label { display: block; font-size: 14px; margin: 18px 0 6px; }
.tool-fields input { width: 100%; }
.tool-result { display: block; font-size: clamp(32px, 5vw, 64px); line-height: 1.3; color: var(--green); font-weight: 600; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; margin: 12px 0; }
#simulator .star-row { justify-content: space-between; }
#pomo-progress { display: block; width: 100%; height: 8px; accent-color: var(--green); margin-bottom: 30px; }
.pomo-settings { margin-top: 24px; text-align: left; }
.pomo-settings .secondary-button { margin: 16px 0; }
@media (max-width: 900px) { .header { flex-wrap: wrap; padding-block: 18px; gap: 14px; } }
.pomo-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; max-width: 400px; margin: auto; }
.pomo-actions .button { grid-column: 1 / -1; justify-content: center; }
.pomo-action { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 8px 12px; border: 0; border-radius: 6px; background: transparent; color: var(--muted); font-size: 14px; }
.pomo-action:hover { background: var(--tint); color: var(--green); }
.pomo-action span { font-size: 18px; }

.tool-links { flex-wrap: wrap; gap: 10px 24px; margin: 0 0 32px; }
.tool-links a { display: inline-flex; gap: 12px; align-items: center; min-height: 44px; border-bottom: 1px solid var(--line); }
.percentage-section { padding: 32px 0; border-top: 1px solid var(--line); }
.percentage-section > .card-heading { margin-bottom: 20px; }
.percentage-section .tool-fields label:first-child { margin-top: 0; }
.percentage-section .target-card { justify-content: center; }
.percentage-result { text-align: center; min-height: 160px; }
.calculator-actions { display: flex; gap: 12px; align-items: stretch; margin-top: 24px; }
.calculator-actions .button { width: auto; flex: 1; margin: 0; }
.calculator-actions .secondary-button { flex-shrink: 0; }
.calculation-guide { max-width: 760px; margin-top: 24px; }
.calculation-guide p { font-size: 14px; color: var(--muted); }
.calculation-guide a, .timer-guide a { text-decoration: underline; text-underline-offset: 3px; }
.target-options legend { font-size: 14px; margin-bottom: 8px; }
.target-options label { display: flex; align-items: center; gap: 8px; min-height: 44px; margin: 0; }
.target-options input { width: 18px; height: 18px; flex-shrink: 0; accent-color: var(--green); }
@media (max-width: 420px) {
  .calculator-actions { flex-direction: column; }
  .percentage-section { padding: 24px 0; }
}

/* One rating workspace, with the result before the controls. */
.other-tools { position: relative; border: 0; }
.other-tools summary { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 6px; min-height: 44px; }
.other-tools summary:hover { color: var(--orange); background: var(--tint); }
.other-tools summary::after { content: ''; position: static; flex: 0 0 12px; width: 12px; height: 12px; color: currentColor; background: linear-gradient(currentColor, currentColor) center / 10px 2px no-repeat, linear-gradient(currentColor, currentColor) center / 2px 10px no-repeat; }
.other-tools[open] summary::after { content: ''; background-size: 10px 2px, 0 0; }
.other-tools > div { position: absolute; right: 0; top: 100%; z-index: 5; min-width: 190px; padding: 8px; background: var(--paper); border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 8px 24px #252a2514; }
.other-tools a { display: block; padding: 10px 14px; border-radius: 4px; }
.other-tools a:hover { background: var(--tint); }
.other-tools:has([aria-current]) > summary { color: var(--orange); }
.rating-hero { padding: 30px 0; align-items: flex-end; }
.rating-hero h1 { font-size: clamp(34px, 4vw, 48px); margin-bottom: 0; }
.rating-hero .eyebrow { margin-bottom: 10px; font-size: 12px; text-transform: uppercase; letter-spacing: .09em; }
.rating-hero .intro { max-width: 440px; padding-bottom: 3px; }
.calculation-modes { display: flex; gap: 4px; padding: 4px; margin: 0 0 18px; border: 1px solid var(--line); border-radius: 9px; background: #edeee7; }
.calculation-modes label { flex: 1; cursor: pointer; position: relative; }
.calculation-modes input { position: absolute; opacity: 0; }
.calculation-modes span { display: block; padding: 12px 20px; border-radius: 6px; font-weight: 600; }
.calculation-modes small { display: block; font-size: 12px; color: var(--muted); font-weight: 400; }
.calculation-modes input:checked + span { color: var(--green); background: white; box-shadow: 0 1px 4px #252a2514; }
.calculation-modes input:focus-visible + span { outline: 3px solid var(--orange); outline-offset: 2px; }
.rating-result { padding: 22px 28px; margin-bottom: 24px; border: 1px solid #d3ddcb; border-radius: 10px; background: var(--tint); }
#rating-result { display: grid; grid-template-columns: 1fr 1fr; column-gap: 36px; }
#rating-result > .result-label { grid-column: 1; }
.rating-answer { display: block; grid-column: 1; color: var(--green); font-size: clamp(36px, 5vw, 58px); font-weight: 600; line-height: 1.25; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.rating-answer small { font-size: 16px; font-weight: 400; }
.result-detail { grid-column: 1; margin: 4px 0 0; font-size: 14px; }
.result-metrics { grid-column: 2; grid-row: 1 / 4; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 20px; margin: 0; align-content: center; }
.result-metrics dt { font-size: 12px; color: var(--muted); }
.result-metrics dd { margin: 2px 0 0; font-size: 21px; font-variant-numeric: tabular-nums; }
#rating-result > .helper, .recovery-note { grid-column: 1 / -1; }
.recovery-note { font-size: 14px; margin: 14px 0 0; border-top: 1px solid #d3ddcb; padding-top: 12px; }
.rating-workspace .card { padding: 24px; }
.rating-workspace .card-heading { margin-bottom: 20px; }
.rating-workspace .card-heading h2 { font-size: 22px; }
.rating-workspace .star-row { justify-content: space-between; }
.rating-workspace .target-card { background: white; }
.rating-workspace .average-fields { min-height: 0; }
.rating-workspace .target-controls { grid-template-columns: 120px 1fr; }
.rating-workspace .target-controls input[type="number"] { width: 100%; }
.scenario-presets { display: flex; flex-wrap: wrap; gap: 8px; }
.scenario-presets .secondary-button { padding: 8px 10px; font-size: 12px; }
.saved-calculation { max-width: 880px; margin: 36px auto 60px; }
.saved-calculation h1 { font-size: clamp(32px, 5vw, 48px); }
.saved-calculation .rating-result { margin-top: 28px; }
.saved-inputs { display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; }
.saved-inputs > div { display: flex; justify-content: space-between; gap: 16px; border-bottom: 1px solid var(--line); padding: 10px 0; font-size: 14px; }
.saved-inputs dd { margin: 0; font-weight: 600; }
.saved-calculation .button { width: fit-content; display: inline-flex; margin: 8px 0 24px; }
@media (max-width: 720px) {
  .rating-hero { align-items: flex-start; flex-direction: column; gap: 16px; padding: 24px 0; }
  .rating-hero h1 br { display: none; }
  .rating-hero h1 span::before { content: ' '; }
  .calculation-modes span { padding: 12px; font-size: 14px; }
  .calculation-modes small { font-size: 11px; }
  .rating-result { padding: 20px; }
  #rating-result { grid-template-columns: 1fr; }
  .result-metrics { grid-column: 1; grid-row: auto; margin-top: 18px; padding-top: 14px; border-top: 1px solid #d3ddcb; }
  .saved-inputs { grid-template-columns: 1fr; }
}
@media (max-width: 370px) {
  .rating-workspace .target-controls { grid-template-columns: 1fr; }
}

#prior-fields { margin-bottom: 18px; }

.method-directory { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.method-card { display: flex; flex-direction: column; gap: 14px; }
.method-card h2 { font-size: 22px; }
.method-card p { margin: 0; color: var(--muted); font-size: 14px; }
.method-card > span { margin-top: auto; padding-top: 12px; color: var(--green); font-size: 14px; font-weight: 600; }
.method-card:hover { border-color: var(--green); background: var(--tint); }
@media (max-width: 900px) { .method-directory { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .method-directory { grid-template-columns: 1fr; } }

.input-origin { display: block; width: fit-content; margin: 4px 0 10px; padding: 1px 6px; border-radius: 3px; font-size: 11px; line-height: 1.5; color: var(--muted); background: var(--paper); }
.input-origin[data-origin="transferred"] { color: var(--green); background: var(--tint); }
.input-origin[data-origin="default"] { color: #80501e; background: #fff2df; }
.input-origin[data-origin="edited"] { color: var(--ink); background: #e9edf0; }
input[data-origin="transferred"] { border-color: var(--green); }
.transfer-note { margin: 0 0 18px; padding: 12px 16px; border-left: 3px solid var(--green); background: var(--tint); }
.star-row { flex-wrap: wrap; }
.star-row .input-origin { margin: -4px 0 4px auto; }

.method-workspace { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.scenario-panels { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; grid-column: 1 / -1; }
.scenario-panels .tool-result { font-size: clamp(26px, 4vw, 44px); }
@media (max-width: 720px) { .method-workspace, .scenario-panels { grid-template-columns: 1fr; } }

.dual-rating-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.dual-rating-layout > .source-card { grid-column: 1 / -1; }
.dual-rating-layout .source-card .input-fields { max-width: 600px; }
.dual-rating-layout #rating-result, .dual-rating-layout #simulation-result { display: block; margin-top: 24px; }
.dual-rating-layout .result-metrics { margin-top: 18px; }
@media (max-width: 720px) { .dual-rating-layout { grid-template-columns: 1fr; } }
