:root {
  font-family: "DM Sans", system-ui, sans-serif;
  color: #123153;
  background: #f2f7fb;
  line-height: 1.5;
}
* { box-sizing: border-box; }
.ct-page { margin: 0; }
.ct-wrap { width: min(1080px, calc(100% - 32px)); margin-inline: auto; }
.ct-header { background: white; border-bottom: 1px solid #ccdce9; }
.ct-header-inner, .ct-footer .ct-wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px; padding-block: 17px; }
.ct-header img { width: 180px; height: auto; display: block; }
.ct-header nav, .ct-related { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
a { color: #185b88; }
.ct-intro { padding-block: 32px 24px; }
.ct-intro nav, .ct-note { color: #425a70; }
.ct-intro h1 { margin: 12px 0 8px; font-size: clamp(2rem, 5vw, 3.4rem); line-height: 1.1; letter-spacing: -.04em; }
.ct-intro p { margin: 0; max-width: 60ch; font-size: 1.15rem; }
.ct-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 270px), 1fr)); gap: 16px; }
.ct-card, .ct-panel { background: white; border: 1px solid #ccdce9; border-radius: 20px; padding: clamp(18px, 4vw, 32px); }
.ct-card { text-decoration: none; color: inherit; border-top: 4px solid #258cac; }
.ct-card:hover { background: #f8fdff; border-color: #258cac; }
.ct-card h2 { margin: 0 0 8px; font-size: 1.3rem; }
.ct-card p { margin: 0; }
.ct-fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 225px), 1fr)); gap: 16px; }
.ct-field { display: grid; gap: 6px; min-width: 0; }
.ct-field span { font-weight: 650; }
.ct-field input, .ct-field select, button, .ct-primary { font: inherit; min-height: 46px; border-radius: 10px; border: 1px solid #a7c0d4; padding: 8px 12px; color: inherit; background: white; }
.ct-field input, .ct-field select { width: 100%; }
.ct-primary { background: #123d63; color: white; display: inline-flex; align-items: center; text-decoration: none; border-color: #123d63; }
button { cursor: pointer; }
button:hover, .ct-primary:hover { box-shadow: 0 0 0 2px #4e90b5; }
:focus-visible { outline: 3px solid #157bad; outline-offset: 3px; }
h2[tabindex] { scroll-margin-top: 16px; }
.ct-model-inputs, .ct-choices, .ct-actions, .ct-noise, .ct-related { margin-top: 20px; }
.ct-choices, .ct-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.ct-room-choices button { flex: 1 1 180px; min-height: 65px; }
.ct-table { overflow-x: auto; margin-top: 16px; }
.ct-table table { border-collapse: collapse; width: 100%; }
.ct-table caption { text-align: left; font-weight: 700; margin-bottom: 8px; }
.ct-table th, .ct-table td { text-align: left; padding: 9px; border-bottom: 1px solid #ccdce9; overflow-wrap: anywhere; }
.ct-table thead { background: #edf6fb; }
.ct-noise, .ct-meter-row { display: grid; gap: 10px; }
.ct-noise small { display: block; }
.ct-meter-row { grid-template-columns: 1fr auto; align-items: center; }
meter { width: 100%; height: 23px; accent-color: #258cac; }
.ct-progress { display: grid; gap: 5px; }
progress { width: 100%; accent-color: #258cac; }
.ct-result { display: grid; gap: 5px; padding: 16px; border-radius: 10px; background: #e7f5f9; }
.ct-result strong { font-size: clamp(1.45rem, 3vw, 2rem); }
.ct-footer { border-top: 1px solid #ccdce9; margin-top: 40px; }
.ct-skip { position: absolute; top: -100px; left: 16px; background: white; padding: 8px; }
.ct-skip:focus { top: 8px; }

.ct-finance-result { margin-block: 24px; }
.ct-credit-notice { margin-top: 22px; padding: 14px; background: #edf6fb; }

:root { background: #f5faff; color: #111e30; }
.ct-header, .ct-footer, .ct-card, .ct-panel { border-color: #c9ddeb; }
.ct-primary { background: #79d6ff; color: #111e30; border-color: #79d6ff; }
.ct-primary:hover { background: #a5e3ff; }
.ct-card { border-top-color: #18648a; }
.ct-card:hover, .ct-result, .ct-credit-notice { background: #edf7ff; }
