/* Local system fonts; no remote assets are needed for the instrument UI. */
:root {
  color-scheme: dark;
  --bg: #101519;
  --panel: #171d22;
  --panel-raised: #202930;
  --line: #344249;
  --text: #f0f5f3;
  --muted: #b5c3c9;
  --dim: #9aabb3;
  --accent: #a6e3cb;
  --amber: #efd1a5;
  --danger: #ffb3aa;
  --mono: "Cascadia Code", "SFMono-Regular", Consolas, monospace;
  --sans: "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--sans); font-size: 16px; line-height: 1.65; }
button, input, select { font: inherit; }
button, a, input, select { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; color: inherit; }
button:disabled { cursor: not-allowed; opacity: .6; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
a { color: inherit; text-decoration: none; }
button span { pointer-events: none; }
[hidden] { display: none !important; }

/* Header and device identity */
.topbar { min-height: 96px; border-bottom: 1px solid var(--line); padding: 18px clamp(24px, 3vw, 56px); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 24px; flex-shrink: 0; }
.brand-mark { font-size: 34px; letter-spacing: -2px; font-weight: 650; line-height: 1; }
.brand-mark > span { color: var(--accent); font-weight: 900; letter-spacing: 0; margin: 0 1px; -webkit-text-stroke: .5px currentColor; }
.brand-description { display: flex; flex-direction: column; font-size: 11px; font-weight: 600; letter-spacing: 1.5px; border-left: 1px solid var(--line); padding-left: 24px; line-height: 1.9; }
.brand-description > span { color: var(--muted); font-size: 14px; font-weight: 400; letter-spacing: 1px; }
.top-actions { display: flex; align-items: center; gap: 20px; }
.connection-state { display: flex; align-items: center; gap: 9px; color: var(--muted); font-size: 14px; overflow-wrap: anywhere; }
.connection-state i, .live-label i { display: block; flex-shrink: 0; width: 8px; height: 8px; border-radius: 50%; background: var(--dim); }
.connection-state.connected i { background: var(--accent); box-shadow: 0 0 0 4px #a6e3cb14; }
.button { border: 1px solid var(--line); border-radius: 7px; min-height: 48px; padding: 10px 20px; font-size: 16px; font-weight: 600; transition: background .15s, border-color .15s; }
.primary { background: var(--accent); color: #14221d; border-color: var(--accent); }
.primary:hover { background: #c0efdc; }
.primary > span { margin-left: 18px; font-size: 18px; }
.secondary { background: #27353c; }
.secondary:hover { background: #34474f; }
.text-button { border: 0; background: none; min-height: 44px; padding: 8px 4px; font-size: 14px; color: var(--muted); }
.text-button:hover { color: var(--accent); }
.install-ready { border-color: var(--accent); color: var(--accent); }
main { max-width: 1720px; margin: 0 auto; padding: 0 clamp(24px, 3vw, 56px); }
.page-heading { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 32px 0 28px; }
.eyebrow { color: var(--accent); font-family: var(--mono); font-size: 12px; letter-spacing: 1.5px; }
h1 { font-size: clamp(28px, 2.4vw, 38px); line-height: 1.45; font-weight: 600; letter-spacing: .5px; margin: 8px 0; }
h1 > span { color: var(--accent); }
.page-heading p { margin: 0; color: var(--muted); font-size: 15px; }
.device-identity { display: flex; flex-direction: column; text-align: right; gap: 5px; min-width: 0; overflow-wrap: anywhere; }
.small-caps, .device-identity > span:last-child { font: 12px/1.5 var(--mono); color: var(--dim); letter-spacing: .8px; }
.device-identity strong { font-family: var(--mono); font-weight: 500; font-size: 16px; }

/* Instrument readouts: the value is the strongest element on the page. */
.workspace { display: grid; grid-template-columns: minmax(0, 1.8fr) minmax(380px, 1fr); gap: 24px; align-items: start; }
.panel { min-width: 0; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.panel-heading { min-height: 70px; padding: 16px 24px; display: flex; justify-content: space-between; align-items: center; gap: 12px; border-bottom: 1px solid var(--line); }
.section-caption { display: flex; align-items: center; gap: 12px; }
.section-index { font: 12px/1 var(--mono); color: var(--dim); border: 1px solid #4b5e68; border-radius: 4px; padding: 5px 6px; }
h2 { font-size: 19px; font-weight: 650; letter-spacing: .5px; margin: 0; }
.live-label { display: flex; align-items: center; gap: 8px; font: 12px var(--mono); letter-spacing: .5px; color: var(--dim); }
.live-label.active { color: var(--accent); }
.live-label.active i { background: var(--accent); }
.readouts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 0 24px; background: linear-gradient(120deg, #a6e3cb05, transparent 65%); }
.readout { padding: 26px 0 22px; min-width: 0; }
.readout:nth-child(odd) { padding-right: 24px; border-right: 1px solid var(--line); }
.readout:nth-child(even) { padding-left: 24px; }
.readout:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
.metric-label { display: flex; align-items: center; gap: 8px; color: var(--text); font-size: 15px; font-weight: 500; }
.metric-label > span:last-child:not(.trace-dot) { color: var(--dim); font: 11px var(--mono); letter-spacing: .6px; margin-left: auto; }
.trace-dot { width: 7px; height: 7px; border-radius: 50%; display: inline-block; flex-shrink: 0; }
.voltage-dot { background: var(--accent); }
.current-dot { background: var(--amber); }
.metric-number { display: flex; align-items: baseline; gap: 10px; margin: 8px 0 10px; white-space: nowrap; min-width: 0; }
.metric-number strong { font: 500 clamp(40px, 4vw, 64px)/1.2 var(--mono); letter-spacing: -2px; font-variant-numeric: tabular-nums; }
.metric-number > span { font: 18px var(--mono); color: var(--muted); }
.voltage .metric-number strong { color: var(--accent); }
.current .metric-number strong { color: var(--amber); }
.power .metric-number strong, .resistance .metric-number strong { font-size: clamp(36px, 3.4vw, 54px); }
.metric-bottom { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; color: var(--dim); font: 11px/1.5 var(--mono); }
.metric-bottom span { font-family: var(--sans); font-size: 13px; }
.power-meter { height: 5px; background: #344249; margin-top: 18px; border-radius: 3px; overflow: hidden; }
.power-meter span { display: block; width: 0; height: 100%; background: var(--accent); transition: width .25s; }
.trend-header { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px 16px; margin: 18px 24px 0; }
.trend-header h3 { margin: 0; font-weight: 600; font-size: 16px; }
.trend-header h3 > span { font-size: 13px; font-weight: 400; color: var(--dim); margin-left: 8px; }
.chart-legend { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 14px; font-size: 13px; color: var(--muted); }
.chart-legend span { display: flex; align-items: center; gap: 6px; }
.chart-legend span, .chart-legend button, .chart-legend select { white-space: nowrap; }
.chart-legend select { cursor: pointer; }
.chart-legend i { width: 14px; height: 3px; display: inline-block; }
.chart-wrap { height: 228px; position: relative; margin: 8px 16px 12px; }
.chart-wrap canvas { display: block; width: 100%; height: 100%; }
.chart-empty { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; flex-direction: column; color: var(--dim); pointer-events: none; gap: 8px; padding: 20px; text-align: center; }
.chart-empty strong { font-size: 16px; font-weight: 500; color: var(--muted); }
.chart-empty > span:last-child { font-size: 14px; }
.empty-wave { font: 44px/1 var(--mono); color: var(--dim); }
.statistics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); padding: 22px 24px; border-top: 1px solid var(--line); gap: 16px; }
.statistics > div { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.statistics > div > span { color: var(--muted); font-size: 14px; }
.statistics strong { font: 500 clamp(17px, 1.5vw, 23px)/1.5 var(--mono); letter-spacing: -.5px; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.statistics small { color: var(--muted); font-size: 13px; font-weight: 400; }
.instrument-footer { padding: 14px 24px; display: flex; align-items: center; gap: 6px 18px; flex-wrap: wrap; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.instrument-footer b { font-weight: 600; font-family: var(--mono); color: var(--text); }
.instrument-footer .text-button { margin-left: auto; }
.sensor-dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); margin-right: 6px; }

/* Load control and parameter forms */
.control-panel > .pd-hint { margin: 18px 24px 0; padding: 11px 13px; border: 1px solid #41534c; border-radius: 7px; background: #a6e3cb06; color: var(--muted); }
.mode-tabs { display: flex; padding: 20px 24px 0; gap: 6px; }
.mode-tab { flex: 1; min-width: 0; min-height: 46px; padding: 10px 0; background: #222d34; border: 1px solid var(--line); border-radius: 6px; font: 600 16px var(--mono); color: var(--muted); }
.mode-tab.active { border-color: var(--accent); color: var(--accent); background: #2a4036; box-shadow: inset 0 -2px var(--accent); }
.mode-tab:disabled { opacity: .65; }
.mode-description { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 4px 8px; padding: 20px 24px 16px; }
.mode-description > strong { font-size: 18px; font-weight: 600; }
.mode-description > span { font: 11px/1.5 var(--mono); color: var(--dim); letter-spacing: .4px; }
.control-panel .form-section { padding: 0 24px; }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field label { font-size: 14px; color: var(--muted); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 8px; }
.field label > span { color: var(--dim); font-family: var(--mono); font-size: 12px; align-self: center; }
.input-wrap { position: relative; min-width: 0; }
.input-wrap input, .input-wrap select { background: #10181d; border: 1px solid #4c626d; border-radius: 7px; width: 100%; padding: 12px; color: var(--text); height: 52px; min-width: 0; font-family: var(--mono); font-size: 22px; font-weight: 500; font-variant-numeric: tabular-nums; }
.input-wrap select { font-family: var(--sans); font-size: 16px; padding-right: 28px; }
.input-wrap input::placeholder { font-family: var(--sans); font-size: 14px; font-weight: 400; color: var(--dim); opacity: 1; }
.input-wrap input:disabled, .input-wrap select:disabled { opacity: .65; cursor: not-allowed; }
.input-wrap input.dirty { border-color: var(--amber); background: #27251e; }
.input-unit { position: absolute; right: 12px; top: 15px; font: 14px var(--mono); color: var(--dim); pointer-events: none; }
.field-note { font-size: 12px; color: var(--dim); min-height: 16px; line-height: 1.5; overflow-wrap: anywhere; }
.field-note.changed { color: var(--amber); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
.mode-actions { display: flex; align-items: center; justify-content: space-between; padding: 18px 24px 0; gap: 12px; }
.mode-actions .button { flex: 1; }
.mode-actions .text-button { padding: 8px; }
.draft-notice { font-size: 13px; color: var(--amber); padding: 8px 24px 0; min-height: 28px; overflow-wrap: anywhere; }
.output-block { margin: 12px 24px 0; padding-top: 18px; border-top: 1px solid var(--line); }
.output-caption { display: flex; justify-content: space-between; gap: 8px; font-size: 14px; color: var(--muted); margin-bottom: 12px; }
.output-caption > span:last-child { font: 12px/1.8 var(--mono); color: var(--muted); }
.output-button { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; padding: 15px 20px; border: 1px solid #739b89; background: #284237; border-radius: 8px; color: var(--accent); min-height: 64px; }
.output-button > span:nth-child(2) { font-size: 20px; font-weight: 650; letter-spacing: 1px; }
.output-button.running { background: #44302c; border-color: #b58376; color: #ffcdc1; }
.power-icon { font-size: 28px; line-height: 1; }
.output-block p { margin: 10px 0 0; font-size: 13px; color: var(--muted); line-height: 1.7; }
.session-details { margin: 20px 24px 0; border-top: 1px solid var(--line); padding-top: 16px; }
.session-details > div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 9px; font-size: 13px; color: var(--muted); }
.session-details strong { font: 13px/1.5 var(--mono); color: var(--text); font-weight: 500; text-align: right; overflow-wrap: anywhere; }
.secondary-actions { display: flex; justify-content: space-between; flex-wrap: wrap; margin: 8px 24px 16px; gap: 4px 12px; }
.fault-state { margin: 14px 24px 0; padding: 12px 14px; font-size: 14px; background: #392725; border: 1px solid #a16c63; border-radius: 7px; color: var(--danger); }

/* Settings and secondary information */
.settings { margin-top: 24px; }
.settings-heading { padding: 24px 24px 18px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.settings-heading p { margin: 0; font-size: 14px; color: var(--muted); }
.settings-tabs { display: flex; gap: 28px; padding: 0 24px; border-bottom: 1px solid var(--line); overflow: auto; white-space: nowrap; scrollbar-width: thin; }
.settings-tab { flex-shrink: 0; min-height: 48px; padding: 10px 0 12px; border: 0; border-bottom: 3px solid transparent; background: none; font-size: 16px; color: var(--muted); }
.settings-tab.active { color: var(--accent); border-bottom-color: var(--accent); font-weight: 600; }
#settingsContent { padding: 24px; min-height: 210px; }
.settings-form { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px 24px; }
.settings-form .field-note { min-height: 16px; }
.settings-form input { font-size: 18px; }
.settings-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 18px; margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--line); }
.settings-actions .draft-notice { padding: 0; min-height: 0; flex: 1; }
.settings-empty { padding: 28px 0 36px; color: var(--dim); font-size: 16px; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 8px; text-align: center; }
.settings-empty strong { font-weight: 500; color: var(--muted); }
.page-footer { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; padding: 20px 0 28px; gap: 12px 24px; font: 11px/1.6 var(--mono); letter-spacing: .4px; color: var(--dim); }
.page-footer > div { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 8px 20px; }
.page-footer .text-button { font-family: var(--sans); font-size: 14px; }
.footer-divider { margin: 0 10px; color: var(--dim); }
#consoleBuild { white-space: nowrap; }
.notice { margin-bottom: 20px; border: 1px solid #526871; border-radius: 8px; padding: 14px 18px; color: #dae5e8; font-size: 15px; background: #222d34; overflow-wrap: anywhere; }
.notice.warning { border-color: #8e7855; background: #30291f; color: #f1d4a7; }
#connectionNotice .text-button { padding: 0 4px; min-height: 0; font-size: 13px; color: inherit; opacity: .8; white-space: nowrap; }
.notice-history { margin: -13px 0 20px; border: 1px solid #526871; border-top: 0; border-radius: 0 0 8px 8px; background: #1b242a; max-height: 320px; overflow-y: auto; }
.notice-history ol { margin: 0; padding: 10px 18px 10px 38px; font-size: 13px; line-height: 1.6; color: #a9bac2; display: grid; gap: 8px; }
.notice-history li { overflow-wrap: anywhere; }
.notice-history li.warning { color: #f1d4a7; }
.demo-notice { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; border-color: #5a8672; color: var(--accent); background: #20352c; }
.demo-notice .text-button { margin-left: auto; color: var(--accent); }
.toast { position: fixed; bottom: 28px; left: 50%; transform: translateX(-50%); width: max-content; max-width: min(90vw, 650px); z-index: 20; border: 1px solid #81a493; border-radius: 8px; box-shadow: 0 12px 50px #0005; background: #253b30; color: #ecfff5; padding: 14px 20px; font-size: 16px; overflow-wrap: anywhere; }
.toast.error { border-color: #b88376; background: #3a2925; color: #ffd5cb; }
dialog { background: #1c252a; color: var(--text); border: 1px solid #6e8b80; border-radius: 12px; padding: 28px; max-width: 480px; width: calc(100% - 32px); }
dialog::backdrop { background: #000a; }
dialog h2 { font-size: 24px; margin: 10px 0; }
dialog p { font-size: 16px; line-height: 1.8; color: var(--muted); margin: 14px 0 24px; }
.dialog-actions { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 12px; }
.readonly-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.readonly-grid > div { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.readonly-grid span { color: var(--muted); font-size: 14px; }
.readonly-grid strong { font: 500 17px/1.6 var(--mono); overflow-wrap: anywhere; }
.readonly-note { font-size: 14px; color: var(--dim); margin-top: 22px; }
.calibration-table { border-collapse: collapse; width: 100%; font-size: 14px; font-family: var(--mono); margin-top: 20px; }
.calibration-table td, .calibration-table th { text-align: right; padding: 10px 8px; border-bottom: 1px solid var(--line); font-weight: 400; }
.calibration-table th { color: var(--muted); }
.calibration-table th:first-child, .calibration-table td:first-child { text-align: left; }
.pd-layout { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.pd-layout .field { flex: 1; min-width: 160px; }
.pd-hint { color: var(--muted); font-size: 13px; margin-top: 18px; line-height: 1.7; }
.button:not(:disabled):active, .output-button:not(:disabled):active { transform: translateY(1px); }

/* Switch to a full-width instrument before either desktop column gets cramped. */
@media (max-width: 1100px) {
  .topbar { padding-right: 24px; padding-left: 24px; }
  .brand-description { display: none; }
  main { padding: 0 24px; }
  .workspace { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .metric-number strong { font-size: clamp(48px, 7vw, 64px); }
  .power .metric-number strong, .resistance .metric-number strong { font-size: clamp(42px, 6vw, 54px); }
  .settings-form, .readonly-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .topbar { padding: 16px; gap: 12px; flex-wrap: wrap; }
  .brand-mark { font-size: 30px; }
  .top-actions { flex: 1 1 224px; justify-content: flex-end; flex-wrap: wrap; gap: 6px 10px; }
  .top-actions .button { font-size: 14px; padding: 10px 12px; min-height: 44px; }
  .primary > span { margin-left: 8px; }
  .connection-state { order: 1; flex-basis: 100%; justify-content: flex-end; font-size: 13px; }
  main { padding: 0 16px; }
  .page-heading { padding: 24px 0; flex-wrap: wrap; gap: 16px; }
  .eyebrow { font-size: 11px; letter-spacing: .6px; }
  h1 { font-size: 29px; }
  .page-heading p { font-size: 14px; }
  .device-identity { flex-basis: 100%; text-align: left; gap: 4px; padding-left: 12px; border-left: 2px solid #567b6c; }
  .device-identity strong { font-size: 15px; }
  .device-identity .small-caps { display: none; }
  .device-identity > span:last-child, .small-caps { font-size: 11px; }
  .panel-heading { min-height: 64px; padding: 14px 18px; }
  h2 { font-size: 18px; }
  .section-caption { gap: 10px; }
  .readouts { padding: 0 16px; }
  .readout { padding-top: 22px; padding-bottom: 18px; }
  .readout:nth-child(odd) { padding-right: 12px; }
  .readout:nth-child(even) { padding-left: 12px; }
  .metric-label { font-size: 14px; gap: 6px; }
  .metric-label > span:last-child:not(.trace-dot) { display: none; }
  .metric-number { flex-wrap: wrap; gap: 0 5px; margin: 10px 0; }
  .metric-number strong { font-size: clamp(34px, 9vw, 56px); letter-spacing: -2px; }
  .power .metric-number strong, .resistance .metric-number strong { font-size: clamp(30px, 8.2vw, 50px); }
  .metric-number > span { font-size: 15px; }
  .metric-bottom { font-size: 10px; }
  .metric-bottom span { font-size: 12px; }
  .trend-header { margin: 16px 16px 0; }
  .trend-header > div:first-child { flex-basis: 100%; }
  .chart-legend { gap: 4px 12px; font-size: 12px; }
  .chart-legend .text-button { font-size: 14px; }
  .chart-wrap { height: 210px; margin-right: 10px; margin-left: 10px; }
  .chart-empty { padding: 16px; }
  .chart-empty > span:last-child { font-size: 13px; }
  .statistics { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 20px 16px; gap: 20px 16px; }
  .statistics strong { font-size: 21px; }
  .instrument-footer { padding: 12px 16px; gap: 4px 14px; }
  .instrument-footer .text-button { margin-left: 0; }
  .control-panel > .pd-hint { margin-right: 18px; margin-left: 18px; }
  .mode-tabs { padding: 18px 18px 0; }
  .mode-description { padding: 18px; }
  .control-panel .form-section { padding: 0 18px; }
  .form-grid { gap: 16px 12px; }
  .mode-actions { padding-right: 18px; padding-left: 18px; }
  .draft-notice { padding-right: 18px; padding-left: 18px; }
  .output-block, .session-details, .secondary-actions, .fault-state { margin-right: 18px; margin-left: 18px; }
  .settings { margin-top: 20px; }
  .settings-heading { padding: 20px 18px 14px; gap: 12px; }
  .settings-heading p { font-size: 13px; }
  .settings-tabs { padding: 0 18px; gap: 24px; }
  #settingsContent { padding: 20px 18px; }
  .settings-form, .readonly-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 12px; }
  .settings-actions .draft-notice { flex-basis: 100%; order: -1; }
  .page-footer { font-size: 11px; letter-spacing: 0; gap: 6px; }
  .page-footer > div { justify-content: flex-start; gap: 6px 16px; }
  .notice { padding: 13px 14px; font-size: 14px; }
  .demo-notice { gap: 4px 12px; }
  .demo-notice .text-button { margin-left: 0; }
  .toast { bottom: 18px; font-size: 15px; }
  .calibration-table { font-size: 12px; }
  .calibration-table td, .calibration-table th { padding: 10px 3px; }
}

/* Very narrow screens and browser zoom retain readable values, not clipped columns. */
@media (max-width: 359px) {
  .readouts { grid-template-columns: minmax(0, 1fr); }
  .readout:nth-child(n) { padding: 20px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .readout:last-child { border-bottom: 0; }
  .metric-number strong, .power .metric-number strong, .resistance .metric-number strong { font-size: 44px; }
  .form-grid, .settings-form, .readonly-grid { grid-template-columns: minmax(0, 1fr); }
  .input-wrap input::placeholder { font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}
