/* derived from the Deep Dive plugin's own styles.css — do not edit; regenerated when the source changes */
:root {
  --ink: #0a0d2a;
  --navy: #0b0f38;
  --navy-2: #111652;
  --orange: #b72b35;
  --orange-soft: #fdecee;
  --cream: #f3f3f8;
  --paper: #ffffff;
  --line: #d9dae4;
  --muted: #63657d;
  --green: #1d7a58;
  --green-soft: #e9f7f1;
  --blue: #2732a8;
  --blue-soft: #eaebfb;
  --red: #b72b35;
  --red-soft: #fceceb;
  --yellow: #765006;
  --yellow-soft: #fff6d9;
  --shadow: 0 18px 55px rgba(11,15,56, 0.10);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: "Roboto", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
.wrap { width: min(1380px, calc(100% - 56px)); margin: 0 auto; }

.service-strip { color: white; background: linear-gradient(90deg, #070b3a, #050b4c); }
.service-strip .wrap { display: grid; grid-template-columns: 1fr auto auto; align-items: center; min-height: 40px; gap: 34px; font-size: 13px; letter-spacing: .01em; }
.service-strip strong { display: flex; align-items: center; gap: 10px; color: #f6f6fc; font-weight: 500; }
.service-strip strong i { width: 8px; height: 8px; background: #d73234; border-radius: 50%; }
.service-strip a { color: white; font-size: 16px; font-weight: 900; text-decoration: none; letter-spacing: .04em; ;font-family:"Lato",system-ui,-apple-system,"Segoe UI",sans-serif}
.site-nav { position: relative; z-index: 5; color: #000643; background: white; border-bottom: 1px solid #dcdded; }
.site-nav .wrap { display: grid; grid-template-columns: 230px minmax(0, 1fr) auto auto; align-items: center; min-height: 72px; gap: 24px; }
.site-logo { display: flex; align-items: center; width: 170px; height: 70px; overflow: hidden; text-decoration: none; }
.site-logo img { display: block; width: 170px; height: auto; }
.site-nav__links { display: flex; align-items: center; justify-content: center; gap: clamp(18px, 2.1vw, 34px); }
.site-nav__links a { color: #00053d; font-size: 14px; font-weight:700; text-decoration: none; white-space: nowrap; ;font-family:"Lato",system-ui,-apple-system,"Segoe UI",sans-serif}
.site-nav__links a:hover { color: var(--orange); }
.site-nav__call { display: grid; justify-items: end; line-height: 1.05; white-space: nowrap; }
.site-nav__call small { color: #46496c; font-size: 10px; font-weight: 800; letter-spacing: .1em; ;font-family:"Lato",system-ui,-apple-system,"Segoe UI",sans-serif}
.site-nav__call a { margin-top: 3px; color: #00053d; font-size: 13px; font-weight: 900; text-decoration: none; ;font-family:"Lato",system-ui,-apple-system,"Segoe UI",sans-serif}
.book-now { padding: 14px 22px; color: white; background: linear-gradient(135deg, #9f2329, #b72b35); border-radius: 7px; box-shadow: 0 8px 18px rgba(183,43,53,.2); font-size: 14px; font-weight:800; text-decoration: none; white-space: nowrap; ;font-family:"Lato",system-ui,-apple-system,"Segoe UI",sans-serif}

.hero {
  position: relative;
  overflow: hidden;
  color: white;
  background: #060c4a;
  border-bottom: 1px solid #192177;
}
.hero::before {
  content: "";
  position: absolute;
  inset: -40px;
  background: linear-gradient(90deg, rgba(2,6,51,.94) 0%, rgba(2,7,63,.9) 45%, rgba(3,8,65,.86) 100%), url("https://idealinair.com/wp-content/plugins/ideal-in-air-hvac-diagnostics/app/deep-dive-cover.jpg") center 49% / cover no-repeat;
  filter: blur(3px);
  transform: scale(1.05);
}
.hero__inner { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(440px, .92fr); align-items: center; gap: 64px; min-height: 548px; padding: 24px 0; }
.hero__copy { max-width: 690px; }
.eyebrow { display: inline-flex; align-items: center; gap: 12px; color: #d3d5ee; font-size: 14px; font-weight: 800; letter-spacing: .035em; text-transform: uppercase; ;font-family:"Lato",system-ui,-apple-system,"Segoe UI",sans-serif}
.eyebrow i { display: inline-block; width: 12px; height: 12px; border-radius: 50%; background: #d73234; }
h1 { margin: 22px 0 14px; font-size: clamp(58px, 5.2vw, 82px); line-height: .92; letter-spacing: -.05em; }
h1 span { color: #d73234; }
.hero__copy > p { max-width: 690px; margin: 0; color: #c5c7e1; font-size: 22px; line-height: 1.38; }
.hero__features { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 34px; margin-top: 24px; }
.hero__features span { display: flex; align-items: center; gap: 12px; color: white; font-size: 14px; font-weight:700; ;font-family:"Lato",system-ui,-apple-system,"Segoe UI",sans-serif}
.hero__features span:last-child { grid-column: 1; }
.hero__features i { display: grid; place-items: center; width: 28px; height: 28px; color: white; background: #1627e8; border-radius: 50%; font-style: normal; font-weight: 900; ;font-family:"Lato",system-ui,-apple-system,"Segoe UI",sans-serif}
.hero__actions { display: flex; gap: 16px; margin-top: 26px; }
.hero-button { display: inline-flex; align-items: center; justify-content: center; min-height: 62px; padding: 0 28px; border-radius: 10px; color: white; font-size: 18px; font-weight:800; text-decoration: none; ;font-family:"Lato",system-ui,-apple-system,"Segoe UI",sans-serif}
.hero-button--primary { gap: 30px; background: linear-gradient(135deg, #9f2329, #b72b35); border: 1px solid #ff4553; box-shadow: 0 12px 28px rgba(183,43,53,.23); }
.hero-button--primary b { font-size: 30px; line-height: 1; }
.hero-button--secondary { background: rgba(3,7,55,.62); border: 1px solid #787cab; }
.hero__book { position: relative; min-height: 512px; background: url("https://idealinair.com/wp-content/plugins/ideal-in-air-hvac-diagnostics/app/deep-dive-cover.jpg") center 37% / cover no-repeat; border: 1px solid rgba(255,255,255,.28); border-radius: 24px; box-shadow: 0 26px 58px rgba(0,0,0,.38); overflow: hidden; }
.hero__book-badges { position: absolute; right: 14px; bottom: 12px; left: 14px; display: flex; justify-content: space-between; gap: 12px; }
.hero__book-badges > span { display: flex; align-items: center; gap: 12px; min-width: 205px; padding: 10px 16px; color: white; background: rgba(2,6,53,.92); border: 1px solid rgba(255,255,255,.14); border-radius: 9px; }
.hero__book-badges b { font-size: 28px; }
.hero__book-badges strong, .hero__book-badges small { display: block; }
.hero__book-badges strong { font-size: 13px; }
.hero__book-badges small { margin-top: 3px; color: #c2c4df; font-size: 11px; font-weight: 500; }

.workspace { padding: 28px 0 64px; background: radial-gradient(circle at 78% 0, #e7e9fa, transparent 26%), #f5f6fc; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.step { color: var(--orange); font-size: 11px; font-weight: 900; letter-spacing: .18em; ;font-family:"Lato",system-ui,-apple-system,"Segoe UI",sans-serif}
.section-heading h2 { margin: 7px 0 5px; font-size: clamp(30px, 4vw, 46px); line-height: 1.05; letter-spacing: -.04em; }
.section-heading p { margin: 0; color: var(--muted); font-size: 14px; }
.section-heading__guidance { max-width: 510px; margin-left: auto !important; color: #535889 !important; font-size: 14px !important; line-height: 1.5; }
.section-load-demo { display: none; }
.text-button { padding: 4px 0; color: var(--orange); background: transparent; border: 0; border-bottom: 1px solid rgba(244,119,47,.45); font-size: 12px; font-weight: 800; ;font-family:"Lato",system-ui,-apple-system,"Segoe UI",sans-serif}
.profile-panel { display: grid; grid-template-columns: 1fr minmax(470px, .9fr); align-items: end; gap: 28px; margin-bottom: 18px; padding: 20px 22px; color: white; background: linear-gradient(105deg, #0a0e35, #11175c); border-left: 5px solid var(--orange); border-radius: 12px; box-shadow: var(--shadow); }
.profile-panel h3 { margin: 6px 0 4px; font-size: 20px; }
.profile-panel p { max-width: 600px; margin: 0; color: #a9acca; font-size: 10px; line-height: 1.5; }
.profile-controls { display: grid; grid-template-columns: minmax(150px, 1fr) auto auto auto; align-items: end; gap: 8px; }
.profile-controls .field > span { color: #b8bad2; }
.profile-controls .field select { background: #f9f9fc; }
.outline-button--light { height: 43px; color: #e5e6f3; border-color: #60648f; }
.profile-controls .text-button { height: 43px; align-self: end; border-bottom: 0; }
.system-workspace-bar { display: grid; grid-template-columns: 1fr minmax(430px, .8fr); align-items: end; gap: 24px; margin-bottom: 12px; padding: 17px 20px; color: white; background: linear-gradient(105deg, #10154a, #151e84); border-left: 5px solid #2f3dd3; border-radius: 12px; box-shadow: var(--shadow); }
.system-workspace-bar h3 { margin: 5px 0 3px; font-size: 19px; }
.system-workspace-bar p { margin: 0; color: #c1c4e7; font-size: 10px; line-height: 1.45; }
.system-workspace-controls { display: grid; grid-template-columns: minmax(140px, 1fr) auto auto auto; align-items: end; gap: 8px; }
.system-workspace-controls .field > span { color: #d7d9ef; }
.system-workspace-controls .text-button { height: 43px; align-self: end; color: white; border-bottom: 0; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: start; }
.form-column { display: grid; gap: 18px; }
.panel { overflow: hidden; background: var(--paper); border: 1px solid #e0e1e8; border-radius: 14px; box-shadow: 0 8px 30px rgba(11,15,56,.045); }
.panel[open] { box-shadow: var(--shadow); }
.panel summary { display: grid; grid-template-columns: 36px auto 1fr; align-items: center; gap: 12px; min-height: 68px; padding: 13px 20px; list-style: none; cursor: pointer; user-select: none; }
.panel summary::-webkit-details-marker { display: none; }
.panel summary::after { content: "+"; grid-column: 4; font-size: 22px; font-weight: 300; color: #82849a; }
.panel[open] summary::after { content: "−"; }
.panel summary > span:not(.panel__number) { font-size: 15px; font-weight:800; letter-spacing: -.01em; ;font-family:"Lato",system-ui,-apple-system,"Segoe UI",sans-serif}
.panel summary > small { justify-self: end; color: #46496c; font-size: 10px; }
.panel__number { display: grid; place-items: center; width: 30px; height: 30px; color: var(--orange); background: var(--orange-soft); border-radius: 8px; font-size: 10px; font-weight: 900; ;font-family:"Lato",system-ui,-apple-system,"Segoe UI",sans-serif}
.panel__body { padding: 8px 20px 24px; border-top: 1px solid #ededf2; }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px 13px; }
.field-grid--three { grid-template-columns: repeat(3, 1fr); }
.field--wide { grid-column: 1 / -1; }
.field { display: block; min-width: 0; }
.field > span { display: flex; justify-content: space-between; min-height: 17px; margin-bottom: 6px; color: #53556e; font-size: 10px; font-weight: 800; letter-spacing: .035em; text-transform: uppercase; ;font-family:"Lato",system-ui,-apple-system,"Segoe UI",sans-serif}
.field > span em { color: #46496c; font-style: normal; font-weight: 600; text-transform: none; }
.field input, .field select, .field textarea { width: 100%; height: 43px; padding: 0 12px; color: var(--ink); background: #fafbfb; border: 1px solid #d9dae4; border-radius: 8px; outline: none; transition: border .15s, box-shadow .15s, background .15s; }
.field textarea { height: auto; min-height: 72px; padding-block: 10px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { background: white; border-color: #4b54bc; box-shadow: 0 0 0 3px rgba(75,84,188,.13); }
.field input::placeholder { color: #46496c; }
.field--target input[data-auto-source="workbook"] { color: #172082; background: #f0f1fc; border-color: #999fdf; }
.target-origin { display: block; min-height: 30px; margin-top: 6px; color: #46496c; font-size: 11px; line-height: 1.35; }
.target-origin[data-mode="auto"] { color: #26309f; }
.target-origin[data-mode="manual"] { color: #a8581d; }
.target-origin[data-mode="profile"] { color: #14754f; }
.field--target input[data-auto-source="pt"] { color: #172082; background: #edeefd; border-color: #7f87df; }
.field--static-total { padding: 10px; background: #f4f5fc; border: 1px solid #d7d9ed; border-radius: 8px; }
.field--static-total .target-origin { min-height: 0; }
.system-type-toggle { margin-top: 2px; }
.system-type-toggle label { display: flex; align-items: flex-start; gap: 10px; padding: 12px 13px; color: #31355d; background: #f4f5fa; border: 1px solid #d7d9e9; border-radius: 8px; cursor: pointer; }
.system-type-toggle input { flex: 0 0 auto; width: 17px; height: 17px; margin: 2px 0 0; accent-color: var(--orange); }
.system-type-toggle span, .system-type-toggle b, .system-type-toggle small { display: block; }
.system-type-toggle b { color: #181c4e; font-size: 12px; }
.system-type-toggle small { margin-top: 3px; color: #46496c; font-size: 10px; font-weight:700; line-height: 1.45; ;font-family:"Lato",system-ui,-apple-system,"Segoe UI",sans-serif}
.check-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.check-grid label { display: flex; align-items: center; gap: 8px; min-height: 38px; padding: 8px 10px; color: #53556e; background: #fafbfb; border: 1px solid #e1e2e9; border-radius: 7px; font-size: 10px; font-weight:700; ;font-family:"Lato",system-ui,-apple-system,"Segoe UI",sans-serif}
.check-grid input { width: 15px; height: 15px; margin: 0; accent-color: var(--orange); }
.input-unit { position: relative; }
.input-unit input { padding-right: 69px; }
.input-unit b { position: absolute; top: 50%; right: 10px; max-width: 58px; color: #46496c; font-size: 9px; line-height: 1.1; text-align: right; transform: translateY(-50%); pointer-events: none; }
.subhead { display: flex; justify-content: space-between; gap: 12px; margin: 19px 0 12px; padding-top: 18px; border-top: 1px solid #ededf2; }
.subhead:first-child { margin-top: 8px; padding-top: 0; border-top: 0; }
.subhead span { color: var(--navy-2); font-size: 11px; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; ;font-family:"Lato",system-ui,-apple-system,"Segoe UI",sans-serif}
.subhead small { color: #46496c; font-size: 9px; text-align: right; }
.field--calculated { grid-column: span 2; padding: 12px; background: #f4f5fa; border: 1px solid #d9daea; border-left: 4px solid #9ea1c5; border-radius: 9px; }
.field--calculated[data-ready="true"] { background: #edeefc; border-color: #9aa0de; border-left-color: var(--blue); }
.field--calculated input[readonly] { color: #46496c; background: white; font-size: 20px; font-weight: 900; ;font-family:"Lato",system-ui,-apple-system,"Segoe UI",sans-serif}
.field--calculated[data-ready="true"] input[readonly] { color: #182184; background: white; }
.field--calculated > small { display: block; margin-top: 6px; color: #46496c; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 9px; line-height: 1.35; }
.callout { margin: 5px 0 16px; padding: 11px 13px; color: #444873; background: var(--blue-soft); border-left: 3px solid var(--blue); border-radius: 6px; font-size: 11px; line-height: 1.5; }
.callout b { color: #1a227c; }
.duct-tables { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.duct-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.duct-field { display: grid; grid-template-columns: 28px 1fr; align-items: center; gap: 6px; }
.duct-field span { color: #53556e; font-size: 10px; font-weight:800; text-align: right; ;font-family:"Lato",system-ui,-apple-system,"Segoe UI",sans-serif}
.duct-field input { width: 100%; height: 37px; min-width: 0; padding: 0 7px; color: var(--ink); background: #fafbfb; border: 1px solid #d9dae4; border-radius: 7px; outline: none; }
.duct-field input:focus { background: white; border-color: #4b54bc; box-shadow: 0 0 0 3px rgba(75,84,188,.13); }
.rect-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.rect-row { display: grid; grid-template-columns: 20px 1fr 12px 1fr; gap: 6px; align-items: center; }
.rect-row > span { color: #46496c; font-size: 9px; font-weight:800; ;font-family:"Lato",system-ui,-apple-system,"Segoe UI",sans-serif}
.rect-row input { width: 100%; height: 37px; min-width: 0; padding: 0 7px; color: var(--ink); background: #fafbfb; border: 1px solid #d9dae4; border-radius: 7px; outline: none; }
.run-bar { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 20px; padding: 18px 20px 18px 24px; color: white; background: var(--navy); border-radius: 14px; box-shadow: 0 14px 40px rgba(11,15,56,.18); }
.run-bar b, .run-bar span { display: block; }
.run-bar div > b { font-size: 13px; }
.run-bar div > span { margin-top: 5px; color: #9ea1c1; font-size: 10px; }
.primary-button { display: inline-flex; align-items: center; gap: 28px; min-width: 200px; justify-content: space-between; padding: 15px 18px; color: white; background: var(--orange); border: 0; border-radius: 9px; font-weight:800; box-shadow: 0 8px 20px rgba(244,119,47,.25); transition: transform .15s, background .15s; ;font-family:"Lato",system-ui,-apple-system,"Segoe UI",sans-serif}
.primary-button:hover { background: #b72b35; transform: translateY(-1px); }

.results { min-height: 470px; padding: 62px 0 72px; color: white; background: #0b0e2e; }
.section-heading--results { align-items: center; }
.section-heading--results p { color: #989bbb; }
.result-actions { display: flex; align-items: flex-end; justify-content: flex-end; gap: 9px; flex-wrap: wrap; }
.outline-button { display: inline-flex; align-items: center; justify-content: center; padding: 9px 12px; color: #d6d8e9; background: transparent; border: 1px solid #363a64; border-radius: 7px; font-size: 10px; font-weight: 800; text-decoration: none; ;font-family:"Lato",system-ui,-apple-system,"Segoe UI",sans-serif}
.outline-button:hover { border-color: #71759c; background: rgba(255,255,255,.04); }
.outline-button:disabled { cursor: wait; opacity: .65; }
.email-report { display: grid; gap: 5px; }
.email-report label { color: #9396ba; font-size: 10px; font-weight:800; letter-spacing: .06em; text-transform: uppercase; ;font-family:"Lato",system-ui,-apple-system,"Segoe UI",sans-serif}
.email-report > div { display: flex; }
.email-report input { width: 225px; min-width: 0; height: 35px; padding: 0 10px; color: white; background: #101440; border: 1px solid #363a64; border-right: 0; border-radius: 7px 0 0 7px; outline: none; }
.email-report input:focus { border-color: #7279ca; box-shadow: 0 0 0 3px rgba(85,94,191,.16); }
.outline-button--email { border-radius: 0 7px 7px 0; }
.email-report small { font-size: 9px; }
.email-report .email-cc { color: #6ed3a3; }
.email-report .email-help { max-width: 390px; color: #9194b7; line-height: 1.35; }
.email-report .email-status { min-height: 12px; max-width: 390px; color: #9194b7; line-height: 1.35; }
.email-report .email-status[data-state="success"] { color: #6ed3a3; }
.email-report .email-status[data-state="error"] { color: #ff9c94; }
.text-button--dark { color: #979aba; border-bottom-color: #4c4f73; }
.empty-state { display: grid; place-items: center; min-height: 265px; text-align: center; border: 1px dashed #31355c; border-radius: 14px; background: rgba(255,255,255,.018); }
.empty-state__icon { display: flex; align-items: end; gap: 6px; height: 42px; }
.empty-state__icon span { width: 7px; background: var(--orange); border-radius: 6px 6px 2px 2px; }
.empty-state__icon span:nth-child(1) { height: 18px; opacity: .45; }
.empty-state__icon span:nth-child(2) { height: 35px; }
.empty-state__icon span:nth-child(3) { height: 26px; opacity: .7; }
.empty-state h3 { margin: 12px 0 5px; font-size: 19px; }
.empty-state p { max-width: 410px; margin: 0 auto 30px; color: #8285a7; font-size: 12px; }
.report-overview { display: grid; grid-template-columns: 1fr 1.3fr; gap: 14px; margin-bottom: 14px; }
.confidence-card, .next-reading-card, .report-block, .truth-card { background: #101440; border: 1px solid #292d5a; border-radius: 12px; }
.confidence-card, .next-reading-card { padding: 18px 20px; }
.confidence-card__top { display: flex; justify-content: space-between; align-items: center; }
.confidence-card__top span, .next-reading-card > span, .truth-card > span { color: #9396ba; font-size: 9px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; ;font-family:"Lato",system-ui,-apple-system,"Segoe UI",sans-serif}
.confidence-card__top strong { color: #6ed3a3; font-size: 12px; letter-spacing: .1em; }
.confidence-track { overflow: hidden; height: 5px; margin: 13px 0 10px; background: #242851; border-radius: 10px; }
.confidence-track i { display: block; width: 0; height: 100%; background: linear-gradient(90deg, var(--orange), #6ed3a3); border-radius: inherit; transition: width .45s ease; }
.confidence-card p, .next-reading-card p { margin: 0; color: #9194b7; font-size: 10px; line-height: 1.45; }
.next-reading-card strong { display: block; margin: 6px 0 3px; font-size: 16px; }
.report-layout { display: grid; grid-template-columns: minmax(0, 2fr) minmax(245px, .8fr); gap: 14px; align-items: start; }
.report-main { display: grid; gap: 14px; }
.report-aside { display: grid; gap: 14px; }
.report-block { overflow: hidden; }
.report-block__title { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 15px 17px; border-bottom: 1px solid #292d5a; }
.report-block__title span { font-size: 12px; font-weight:800; ;font-family:"Lato",system-ui,-apple-system,"Segoe UI",sans-serif}
.report-block__title small { color: #7f82a8; font-size: 9px; }
.diagnostic-list { display: grid; gap: 9px; padding: 13px; }
.diagnostic-card { position: relative; padding: 14px 15px 14px 18px; color: var(--ink); background: white; border-radius: 9px; overflow: hidden; }
.diagnostic-card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--blue); }
.diagnostic-card[data-severity="critical"]::before { background: var(--red); }
.diagnostic-card[data-severity="warning"]::before { background: var(--orange); }
.diagnostic-card[data-severity="good"]::before { background: var(--green); }
.diagnostic-card[data-severity="watch"]::before { background: #dcae3d; }
.diagnostic-card__head { display: flex; justify-content: space-between; gap: 12px; }
.diagnostic-card__head strong { font-size: 13px; }
.diagnostic-card__head span { flex: 0 0 auto; padding: 3px 6px; color: var(--blue); background: var(--blue-soft); border-radius: 5px; font-size: 8px; font-weight: 900; letter-spacing: .08em; ;font-family:"Lato",system-ui,-apple-system,"Segoe UI",sans-serif}
.diagnostic-card[data-severity="critical"] .diagnostic-card__head span { color: var(--red); background: var(--red-soft); }
.diagnostic-card[data-severity="warning"] .diagnostic-card__head span { color: #a64c16; background: var(--orange-soft); }
.diagnostic-card[data-severity="good"] .diagnostic-card__head span { color: var(--green); background: var(--green-soft); }
.diagnostic-card[data-severity="watch"] .diagnostic-card__head span { color: var(--yellow); background: var(--yellow-soft); }
.diagnostic-card p { margin: 7px 0 0; color: #53556d; font-size: 10px; line-height: 1.5; }
.diagnostic-card .confirm { color: #272c69; }
.diagnostic-card .confirm b { color: var(--ink); }
.diagnostic-card .pattern-fit { margin-top: 9px; color: #292e67; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 8px; font-weight:700; }
.metric-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: #292d5a; }
.metric { min-height: 125px; padding: 15px; background: #101440; }
.metric > span { color: #888bb0; font-size: 9px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; ;font-family:"Lato",system-ui,-apple-system,"Segoe UI",sans-serif}
.metric__value { display: flex; align-items: baseline; gap: 5px; margin: 7px 0; }
.metric__value strong { color: white; font-size: 25px; letter-spacing: -.04em; }
.metric__value small { color: #9da0bd; font-size: 10px; }
.metric p { margin: 0; color: #71759c; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 8px; line-height: 1.4; }
.metric .metric__note { margin-top: 7px; color: #9194b8; font-family: inherit; font-size: 8px; }
.metric em { display: inline-block; margin-top: 8px; padding: 3px 5px; color: #a8abca; background: #1b1f51; border-radius: 4px; font-size: 8px; font-style: normal; font-weight: 800; ;font-family:"Lato",system-ui,-apple-system,"Segoe UI",sans-serif}
.metric em[data-status="high"] { color: #ffb08e; background: #503025; }
.metric em[data-status="low"] { color: #9ba2f4; background: #1f2460; }
.metric em[data-status="normal"] { color: #8de0b7; background: #1d493d; }
.comparison-table-wrap { overflow-x: auto; background: #f7f7fc; }
.comparison-table { width: 100%; min-width: 720px; color: #121538; background: white; border-collapse: separate; border-spacing: 0; table-layout: fixed; }
.comparison-table th, .comparison-table td { padding: 12px 14px; border-right: 1px solid #cccedf; border-bottom: 1px solid #cccedf; vertical-align: middle; }
.comparison-table th:last-child, .comparison-table td:last-child { border-right: 0; }
.comparison-table thead th { color: #dcdef3; background: #171b4b; font-size: 12px; font-weight: 900; letter-spacing: .05em; text-align: left; text-transform: uppercase; ;font-family:"Lato",system-ui,-apple-system,"Segoe UI",sans-serif}
.comparison-table thead th:nth-child(1) { width: 27%; }
.comparison-table thead th:nth-child(2) { width: 19%; }
.comparison-table thead th:nth-child(3) { width: 38%; }
.comparison-table thead th:nth-child(4) { width: 16%; text-align: center; }
.comparison-table--post { min-width: 820px; }
.comparison-table--post thead th:nth-child(1) { width: 22%; }
.comparison-table--post thead th:nth-child(2), .comparison-table--post thead th:nth-child(3) { width: 15%; }
.comparison-table--post thead th:nth-child(4) { width: 33%; text-align: left; }
.comparison-table--post thead th:nth-child(5) { width: 15%; text-align: center; }
.post-repair-summary { padding: 10px 16px; color: #b9bbd4; border-bottom: 1px solid #292d5a; }
.post-repair-summary p { margin: 4px 0; font-size: 11px; line-height: 1.45; }
.post-repair-summary b { color: white; }
.comparison-section th { padding: 10px 14px; color: #171b4b; background: #dcdef7; border-color: #b9bcde; font-size: 13px; font-weight: 900; letter-spacing: .04em; text-align: left; text-transform: uppercase; ;font-family:"Lato",system-ui,-apple-system,"Segoe UI",sans-serif}
.comparison-row > th { color: #171a3a; background: #eeeff8; font-size: 14px; font-weight:800; text-align: left; ;font-family:"Lato",system-ui,-apple-system,"Segoe UI",sans-serif}
.comparison-actual { background: #ededf2; }
.comparison-actual strong, .comparison-target strong { display: block; font-size: 15px; line-height: 1.25; }
.comparison-target { background: #f8f8fb; }
.comparison-target small { display: block; margin-top: 4px; color: #606382; font-size: 11px; line-height: 1.35; }
.comparison-diagnostic { color: #30345b; background: #e7e8f1; text-align: center; }
.comparison-diagnostic span { display: inline-flex; min-width: 76px; justify-content: center; padding: 6px 9px; border-radius: 999px; font-size: 13px; font-weight: 900; ;font-family:"Lato",system-ui,-apple-system,"Segoe UI",sans-serif}
.comparison-row[data-status="normal"] .comparison-diagnostic { background: #dff3e7; }
.comparison-row[data-status="normal"] .comparison-diagnostic span { color: #176243; background: #bde6cc; }
.comparison-row[data-status="low"] .comparison-diagnostic { background: #dfe1fb; }
.comparison-row[data-status="low"] .comparison-diagnostic span { color: #151e87; background: #b9bef5; }
.comparison-row[data-status="high"] .comparison-diagnostic, .comparison-row[data-status="conflict"] .comparison-diagnostic { background: #fde3e0; }
.comparison-row[data-status="high"] .comparison-diagnostic span, .comparison-row[data-status="conflict"] .comparison-diagnostic span { color: #9f2329; background: #f7b8b2; }
.comparison-row[data-status="unclassified"] .comparison-diagnostic span { color: #46496d; background: #d5d7e7; }
.comparison-empty { padding: 24px; color: #9da0bd; font-size: 14px; line-height: 1.5; }
.calculation-details { border-top: 1px solid #292d5a; }
.calculation-details summary { padding: 13px 16px; color: #adb0cc; background: #0d113a; cursor: pointer; font-size: 13px; font-weight: 800; ;font-family:"Lato",system-ui,-apple-system,"Segoe UI",sans-serif}
.calculation-details[open] summary { border-bottom: 1px solid #292d5a; }
.missing-list { margin: 0; padding: 15px 17px 16px 42px; }
.missing-list li { padding: 0 0 13px 4px; color: #adb0cc; font-size: 10px; line-height: 1.45; }
.missing-list li::marker { color: var(--orange); font-weight: 900; ;font-family:"Lato",system-ui,-apple-system,"Segoe UI",sans-serif}
.missing-list li:last-child { padding-bottom: 0; }
.missing-list b { display: block; color: white; margin-bottom: 2px; font-size: 11px; }
.truth-card { padding: 17px; border-left: 3px solid var(--orange); }
.truth-card p { margin: 7px 0 0; color: #979aba; font-size: 9px; line-height: 1.6; }
.truth-card--source { border-left-color: #3f4abe; }
.report-footer { display: flex; align-items: center; justify-content: space-between; margin-top: 22px; padding-top: 18px; color: #707398; border-top: 1px solid #262950; }
.report-footer b, .report-footer span { display: block; }
.report-footer b { color: #b7b9d0; font-size: 10px; letter-spacing: .08em; }
.report-footer span, .report-footer p { font-size: 8px; }
.report-footer p { margin: 0; }
.toast { position: fixed; z-index: 20; left: 50%; bottom: 28px; padding: 10px 15px; color: white; background: #1f7a59; border-radius: 8px; box-shadow: 0 12px 28px rgba(0,0,0,.2); font-size: 11px; font-weight: 800; opacity: 0; transform: translate(-50%, 12px); transition: .2s; pointer-events: none; ;font-family:"Lato",system-ui,-apple-system,"Segoe UI",sans-serif}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

.equipment-lookup { margin-top: 6px; padding: 18px; background: linear-gradient(135deg, #070b37, #0d1353); border: 1px solid #262c74; border-radius: 12px; }
.equipment-lookup__heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; }
.equipment-lookup h4 { margin: 4px 0; color: white; font-size: 19px; }
.equipment-lookup p { margin: 0; color: #b9bcd8; font-size: 11px; line-height: 1.5; }
.equipment-lookup__actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.equipment-lookup__actions .outline-button { white-space: nowrap; }
.nameplate-reader { margin-top: 16px; padding: 14px; color: #171b49; background: #f4f5fc; border: 1px solid #777ec7; border-radius: 10px; }
.nameplate-reader__heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.nameplate-reader h5 { margin: 3px 0 4px; color: #101547; font-size: 15px; }
.nameplate-reader p { color: #585c83; }
.privacy-chip { flex: 0 0 auto; padding: 5px 8px; color: #176243; background: #d9f1e4; border-radius: 999px; font-size: 7px; font-weight: 900; letter-spacing: .06em; ;font-family:"Lato",system-ui,-apple-system,"Segoe UI",sans-serif}
.nameplate-reader__controls { display: grid; grid-template-columns: minmax(190px, 1fr) auto auto; align-items: end; gap: 9px; margin-top: 12px; }
.nameplate-file { position: relative; display: inline-flex; min-height: 43px; align-items: center; justify-content: center; padding: 0 14px; color: #0f187e; background: white; border: 1px solid #797fc4; border-radius: 8px; font-size: 10px; font-weight:800; cursor: pointer; ;font-family:"Lato",system-ui,-apple-system,"Segoe UI",sans-serif}
.nameplate-file input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.nameplate-preview { display: grid; grid-template-columns: minmax(150px, 260px) 1fr; align-items: center; gap: 12px; margin: 12px 0 0; padding: 9px; background: white; border: 1px solid #d5d7ea; border-radius: 8px; }
.nameplate-preview img { display: block; width: 100%; max-height: 180px; object-fit: contain; background: #edeef5; border-radius: 5px; }
.nameplate-preview figcaption { color: #46496c; font-size: 9px; line-height: 1.5; }
.nameplate-candidates { display: grid; gap: 7px; margin-top: 10px; }
.nameplate-candidate { display: grid; grid-template-columns: 18px minmax(130px, .9fr) minmax(150px, 1.1fr) auto; align-items: center; gap: 7px 10px; padding: 9px; background: white; border: 1px solid #d7d9e9; border-radius: 7px; }
.nameplate-candidate > input[type="checkbox"] { width: 17px; height: 17px; margin: 0; accent-color: var(--orange); }
.nameplate-candidate > span b, .nameplate-candidate > span small { display: block; }
.nameplate-candidate > span b { color: #171c4f; font-size: 10px; }
.nameplate-candidate > span small { margin-top: 2px; color: #805006; font-size: 7px; font-weight:800; ;font-family:"Lato",system-ui,-apple-system,"Segoe UI",sans-serif}
.nameplate-candidate > input[type="text"] { width: 100%; min-width: 0; height: 37px; padding: 0 9px; color: #090e4a; background: #fbfbfd; border: 1px solid #b9bbd6; border-radius: 6px; font: 700 11px ui-monospace, SFMono-Regular, Menlo, monospace; }
.nameplate-candidate > em { color: #46496c; font-size: 8px; font-style: normal; }
.nameplate-evidence, .nameplate-warning { grid-column: 2 / -1; min-width: 0; overflow-wrap: anywhere; font-size: 8px; line-height: 1.4; }
.nameplate-evidence { color: #46496c; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.nameplate-warning { color: #9a5e05; font-weight:700; ;font-family:"Lato",system-ui,-apple-system,"Segoe UI",sans-serif}
.nameplate-raw { margin-top: 9px; color: #373b6b; font-size: 12px; }
.nameplate-raw summary { cursor: pointer; font-weight:800; padding: 10px 0; ;font-family:"Lato",system-ui,-apple-system,"Segoe UI",sans-serif}
.nameplate-raw pre { max-height: 190px; overflow: auto; padding: 10px; color: #d7d9f2; background: #070b37; border-radius: 7px; white-space: pre-wrap; overflow-wrap: anywhere; user-select: text; font-size: 13px; }
.nameplate-reader__apply { display: flex; align-items: center; gap: 12px; margin-top: 10px; }
.nameplate-reader__apply small { color: #46496c; font-size: 8px; line-height: 1.4; }
.nameplate-reader__note { margin-top: 12px !important; padding-top: 10px; border-top: 1px solid #c4c7e4; font-size: 9px !important; }
.nameplate-workspaces { display: grid; gap: 12px; margin-top: 14px; }
.nameplate-equipment-card { padding: 13px; background: #e9eaf7; border: 1px solid #bdc0df; border-radius: 10px; }
.nameplate-equipment-card > header { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.nameplate-equipment-card > header span, .nameplate-equipment-card > header strong, .nameplate-equipment-card > header small { display: block; }
.nameplate-equipment-card > header span { color: #242c87; font-size: 8px; font-weight: 900; letter-spacing: .08em; ;font-family:"Lato",system-ui,-apple-system,"Segoe UI",sans-serif}
.nameplate-equipment-card > header strong { margin-top: 2px; color: #101547; font-size: 13px; }
.nameplate-equipment-card > header small { margin-top: 2px; color: #46496c; font-size: 9px; }
.nameplate-equipment-card > header > em { padding: 4px 7px; color: #5f5522; background: #fff2bd; border-radius: 999px; font-size: 8px; font-style: normal; font-weight: 900; text-align: right; ;font-family:"Lato",system-ui,-apple-system,"Segoe UI",sans-serif}
.nameplate-card-actions { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 10px; }
.nameplate-card-actions .nameplate-file, .nameplate-card-actions .outline-button { min-height: 39px; }
.nameplate-photo-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 9px; }
.nameplate-photo-card { display: grid; grid-template-columns: 82px minmax(0, 1fr); gap: 8px; margin: 0; padding: 7px; background: white; border: 1px solid #cccee5; border-radius: 7px; }
.nameplate-photo-card img { width: 82px; height: 76px; object-fit: cover; background: #dfe0ee; border-radius: 5px; }
.nameplate-photo-placeholder { display: grid; width: 82px; height: 76px; place-items: center; padding: 6px; color: #46496c; background: #dfe0ee; border-radius: 5px; font-size: 7px; font-weight:800; line-height: 1.35; text-align: center; ;font-family:"Lato",system-ui,-apple-system,"Segoe UI",sans-serif}
.nameplate-photo-card b, .nameplate-photo-card span { display: block; overflow-wrap: anywhere; }
.nameplate-photo-card b { color: #181d53; font-size: 9px; }
.nameplate-photo-card span { margin-top: 3px; color: #46496c; font-size: 8px; line-height: 1.3; }
.nameplate-photo-card figcaption > div { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 5px; }
.nameplate-photo-card .text-button { color: #141e8e; font-size: 8px; }
.primary-button--compact { min-width: 250px; padding: 11px 14px; font-size: 11px; }
.provider-status { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 14px; }
.provider-chip { display: inline-flex; gap: 7px; align-items: center; padding: 6px 8px; color: #c7c9e3; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.13); border-radius: 999px; font-size: 8px; }
.provider-chip b { font-size: 8px; letter-spacing: .04em; text-transform: uppercase; }
.provider-chip em { color: #88d6b3; font-style: normal; font-weight: 900; ;font-family:"Lato",system-ui,-apple-system,"Segoe UI",sans-serif}
.provider-chip[data-status="unknown"] em { color: #ffca70; }
.lookup-progress { margin-top: 12px !important; padding: 9px 11px; color: #c8ccf8 !important; background: rgba(28,41,182,.15); border-left: 3px solid #5a66e7; border-radius: 5px; }
.lookup-progress[data-state="success"] { color: #b9eed4 !important; border-color: #51c98d; }
.lookup-progress[data-state="warning"] { color: #ffe1a2 !important; border-color: #f2b64d; }
.lookup-progress[data-state="error"] { color: #ffc2c0 !important; border-color: #ef615b; }
.lookup-results { display: grid; gap: 10px; margin-top: 12px; }
.lookup-result { padding: 12px; color: #171b49; background: #f5f6fc; border-left: 4px solid #2b37ba; border-radius: 8px; }
.lookup-result[data-status="unknown"] { border-left-color: #dda029; }
.lookup-result header { display: flex; justify-content: space-between; gap: 12px; }
.lookup-result header span, .lookup-result header strong, .lookup-result header small { display: block; }
.lookup-result header span { color: #65688a; font-size: 8px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; ;font-family:"Lato",system-ui,-apple-system,"Segoe UI",sans-serif}
.lookup-result header strong { margin-top: 2px; font-size: 13px; }
.lookup-result header small { margin-top: 2px; color: #46496c; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 8px; }
.lookup-result header > em { align-self: flex-start; padding: 4px 6px; color: #176243; background: #d9f1e4; border-radius: 999px; font-size: 8px; font-style: normal; font-weight: 900; ;font-family:"Lato",system-ui,-apple-system,"Segoe UI",sans-serif}
.lookup-result[data-status="unknown"] header > em { color: #81550b; background: #fff0c8; }
.lookup-result p { margin-top: 9px; color: #535678; }
.lookup-specs { display: grid; gap: 1px; margin: 9px 0 0; padding: 0; list-style: none; background: #d8d9e8; }
.lookup-specs li { display: grid; grid-template-columns: minmax(130px, 1fr) auto auto; gap: 10px; padding: 7px 9px; background: white; font-size: 9px; }
.lookup-specs em { color: #2a7759; font-style: normal; font-weight:800; ;font-family:"Lato",system-ui,-apple-system,"Segoe UI",sans-serif}
.lookup-spec-editor { display: flex; align-items: center; justify-content: flex-end; gap: 6px; flex-wrap: wrap; }
.lookup-spec-editor input { width: 110px; min-height: 34px; padding: 6px 8px; border: 1px solid #b9bce2; border-radius: 7px; background: white; color: #090e4a; font: inherit; }
.lookup-spec-editor small { color: #5a5e88; }
.lookup-spec-editor .text-button { font-size: 11px; }
.lookup-spec-editor { display: flex; align-items: center; justify-content: flex-end; gap: 6px; flex-wrap: wrap; }
.lookup-spec-editor input { width: 110px; min-height: 34px; padding: 6px 8px; border: 1px solid #b9bce2; border-radius: 7px; background: white; color: #090e4a; font: inherit; }
.lookup-spec-editor small { color: #5a5e88; }
.lookup-spec-editor .text-button { font-size: 11px; }
.lookup-choices, .lookup-documents { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; margin-top: 9px; font-size: 9px; }
.lookup-documents a, .source-link { color: #151f8f; font-weight: 800; ;font-family:"Lato",system-ui,-apple-system,"Segoe UI",sans-serif}
.internet-search-plan { margin-top: 10px; padding: 9px; background: white; border: 1px solid #d2d4e8; border-radius: 7px; }
.internet-search-plan h6 { margin: 0; color: #181e66; font-size: 14px; line-height: 1.5; font-weight: 900; ;font-family:"Lato",system-ui,-apple-system,"Segoe UI",sans-serif}
.internet-search-plan ol { margin: 8px 0 0; padding-left: 22px; color: #575a7e; font: 8px/1.5 ui-monospace, SFMono-Regular, Menlo, monospace; }
.internet-search-plan .primary-query { color: #0d167a; font-weight: 900; ;font-family:"Lato",system-ui,-apple-system,"Segoe UI",sans-serif}
.lookup-documents--internet { display: grid; align-items: stretch; }
.lookup-documents--internet > b { color: #181d53; font-size: 10px; }
.internet-result-card { display: grid; gap: 8px; padding: 11px; background: white; border: 1px solid #cccee5; border-radius: 8px; }
.internet-result-card > div:first-child strong, .internet-result-card > div:first-child small { display: block; }
.internet-result-card > div:first-child strong { margin-top: 5px; color: #13184d; font-size: 12px; }
.internet-result-card > div:first-child small { margin-top: 3px; color: #46496c; font-size: 8px; }
.oem-source-chip, .review-source-chip { display: inline-flex; padding: 3px 6px; border-radius: 999px; font-size: 7px; font-weight: 900; letter-spacing: .06em; ;font-family:"Lato",system-ui,-apple-system,"Segoe UI",sans-serif}
.oem-source-chip { color: #176243; background: #d9f1e4; }
.review-source-chip { color: #80540b; background: #fff0c8; }
.internet-result-card dl { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0; border: 1px solid #d8d9e9; }
.internet-result-card dl div { min-width: 0; padding: 6px; border-right: 1px solid #d8d9e9; }
.internet-result-card dl div:last-child { border: 0; }
.internet-result-card dt { color: #46496c; font-size: 7px; font-weight: 900; text-transform: uppercase; ;font-family:"Lato",system-ui,-apple-system,"Segoe UI",sans-serif}
.internet-result-card dd { margin: 2px 0 0; color: #171c4f; font-size: 8px; font-weight:700; overflow-wrap: anywhere; ;font-family:"Lato",system-ui,-apple-system,"Segoe UI",sans-serif}
.internet-result-card > p { margin: 0; font-size: 9px; }
.internet-result-card > div:last-child, .conflict-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.internet-result-card .primary-button--compact { width: auto; min-width: 170px; }
.conflict-actions { padding: 12px 20px 0; }
.choice-chip { padding: 5px 8px; color: #141b6a; background: white; border: 1px solid #999ed5; border-radius: 999px; font-size: 9px; font-weight: 800; ;font-family:"Lato",system-ui,-apple-system,"Segoe UI",sans-serif}
.lookup-result__actions { display: flex; gap: 13px; margin-top: 9px; }
.generic-notice { color: #76520b !important; }
.oem-evidence .subhead { border-top-color: rgba(255,255,255,.15); }
.oem-evidence .subhead span { color: #dcdef4; }
.oem-evidence__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 7px; }
.oem-review-table-wrap { grid-column: 1 / -1; overflow-x: auto; border: 1px solid rgba(255,255,255,.15); border-radius: 8px; }
.oem-review-table { width: 100%; min-width: 760px; border-collapse: collapse; color: white; font-size: 9px; }
.oem-review-table th, .oem-review-table td { padding: 9px; border-bottom: 1px solid rgba(255,255,255,.12); text-align: left; vertical-align: middle; }
.oem-review-table thead th { color: #a7aacd; font-size: 8px; text-transform: uppercase; }
.oem-review-table tbody th { font-size: 10px; }
.oem-review-table em { display: inline-flex; padding: 4px 6px; color: #11153f; background: #9ce0bd; border-radius: 999px; font-size: 7px; font-style: normal; font-weight: 900; white-space: nowrap; ;font-family:"Lato",system-ui,-apple-system,"Segoe UI",sans-serif}
.oem-review-table .text-button { color: #c9cdff; white-space: nowrap; }
.oem-evidence__grid > p { color: #8f93bb; }
.oem-evidence__grid button { display: grid; grid-template-columns: 1fr auto; gap: 3px 8px; padding: 9px; text-align: left; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: 7px; }
.oem-evidence__grid span { color: #a7aacd; font-size: 8px; font-weight: 800; text-transform: uppercase; ;font-family:"Lato",system-ui,-apple-system,"Segoe UI",sans-serif}
.oem-evidence__grid strong { color: white; font-size: 11px; }
.oem-evidence__grid em { grid-row: 1 / 3; grid-column: 2; align-self: center; padding: 3px 5px; color: #11153f; background: #9ce0bd; border-radius: 999px; font-size: 7px; font-style: normal; font-weight: 900; ;font-family:"Lato",system-ui,-apple-system,"Segoe UI",sans-serif}
.oem-evidence__grid em[data-status="manual"] { background: #ffd092; }
.oem-evidence__grid em[data-status="family"], .oem-evidence__grid em[data-status="cached"] { background: #a9aff4; }
.oem-field-status { display: inline-flex; margin-top: 6px; padding: 3px 6px; color: #176243; background: #daf1e4; border: 0; border-radius: 999px; font-size: 7px; font-weight: 900; letter-spacing: .04em; ;font-family:"Lato",system-ui,-apple-system,"Segoe UI",sans-serif}
.oem-field-status[data-status="manual"] { color: #78410b; background: #ffe2bd; }
.oem-field-status[data-status="family"], .oem-field-status[data-status="cached"] { color: #17207e; background: #d6d9f9; }
.oem-field-status[data-status="unknown"] { color: #7d560b; background: #fff0c8; }
.plate-field-status { display: inline-flex; margin-top: 6px; padding: 3px 6px; color: #7a5108; background: #fff0c8; border-radius: 999px; font-size: 7px; font-weight: 900; letter-spacing: .04em; ;font-family:"Lato",system-ui,-apple-system,"Segoe UI",sans-serif}
.app-dialog { width: min(920px, calc(100% - 30px)); max-height: calc(100vh - 30px); padding: 0; color: var(--ink); background: white; border: 1px solid #8a8db1; border-radius: 14px; box-shadow: 0 24px 80px rgba(0,0,0,.38); overflow: auto; }
.app-dialog::backdrop { background: rgba(2,5,34,.74); backdrop-filter: blur(4px); }
.app-dialog--source { width: min(580px, calc(100% - 30px)); padding-bottom: 20px; }
.dialog-heading { position: sticky; z-index: 2; top: 0; display: flex; justify-content: space-between; gap: 20px; padding: 18px 20px; color: white; background: linear-gradient(110deg, #080c34, #151b62); border-bottom: 3px solid var(--orange); }
.dialog-heading h3 { margin: 4px 0 0; font-size: 22px; }
.dialog-heading p { max-width: 650px; margin: 6px 0 0; color: #b9bbd7; font-size: 10px; line-height: 1.45; }
.dialog-close { align-self: flex-start; width: 34px; height: 34px; color: white; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.25); border-radius: 50%; font-size: 24px; line-height: 1; }
.source-detail-list { margin: 18px 20px; }
.source-detail-list div { display: grid; grid-template-columns: 150px 1fr; gap: 12px; padding: 8px 0; border-bottom: 1px solid #e5e6ee; }
.source-detail-list dt { color: #46496c; font-size: 9px; font-weight:800; text-transform: uppercase; ;font-family:"Lato",system-ui,-apple-system,"Segoe UI",sans-serif}
.source-detail-list dd { margin: 0; color: #1e224a; font-size: 11px; }
.app-dialog--source .source-link, .app-dialog--source .outline-button { display: inline-flex; margin: 0 0 0 20px; }
.admin-tabs { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: 0; }
.admin-section { padding: 20px; }
.admin-section + .admin-section { background: #f2f3f8; border-left: 1px solid #dcddea; }
.admin-section h4 { margin: 0 0 14px; color: #151a4e; font-size: 15px; }
.admin-section h4:not(:first-child) { margin-top: 22px; }
.admin-check { display: flex; align-items: center; gap: 8px; padding: 9px; color: #434668; background: #f5f5fa; border: 1px solid #dddeeb; border-radius: 7px; font-size: 10px; }
.admin-check input { flex: 0 0 auto; width: 16px; height: 16px; }
.admin-table-wrap { margin: 11px 0; overflow-x: auto; border: 1px solid #dcddea; border-radius: 7px; }
.admin-table { width: 100%; min-width: 570px; border-collapse: collapse; font-size: 9px; }
.admin-table th, .admin-table td { padding: 7px; border-bottom: 1px solid #e2e3ec; text-align: left; vertical-align: middle; }
.admin-table th { color: white; background: #171c4e; }
.admin-table td input, .admin-table td select { width: 100%; min-width: 90px; padding: 5px; border: 1px solid #caccdf; border-radius: 5px; }
.admin-search { display: flex; gap: 8px; }
.admin-search input { min-width: 0; flex: 1; padding: 0 10px; border: 1px solid #cccedf; border-radius: 7px; }
.adapter-list { margin: 0; padding: 0; list-style: none; }
.adapter-list li { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 8px; padding: 8px 0; border-bottom: 1px solid #dcddea; font-size: 9px; }
.adapter-list span b, .adapter-list span small { display: block; }
.adapter-list span small { color: #46496c; }
.adapter-list em { color: #222b91; font-size: 7px; font-style: normal; font-weight: 900; ;font-family:"Lato",system-ui,-apple-system,"Segoe UI",sans-serif}
.report-equipment-sources { padding: 13px; }
.report-equipment-sources article { padding: 10px; color: #c2c4dc; border-bottom: 1px solid #292d5a; }
.report-equipment-sources article:last-child { border-bottom: 0; }
.report-equipment-sources b, .report-equipment-sources span, .report-equipment-sources small { display: block; }
.report-equipment-sources b { color: white; font-size: 11px; }
.report-equipment-sources span { margin-top: 3px; font-size: 10px; }
.report-equipment-sources small { margin-top: 3px; color: #7f83aa; font-size: 8px; line-height: 1.4; }
[hidden] { display: none !important; }

.job-information { margin: 0 0 18px; padding: 20px; background: #ffffff; border: 1px solid #dbdceb; border-radius: 12px; box-shadow: 0 8px 24px rgba(12,17,68,.06); }
.job-information h3 { margin: 0 0 14px; color: #090e47; font-size: 18px; }
.top-clear-row { display: flex; justify-content: flex-end; margin: 0 0 12px; }
.danger-outline-button, .danger-button { min-height: 40px; padding: 0 15px; border: 1px solid #d73234; border-radius: 8px; font: inherit; font-weight: 800; cursor: pointer; ;font-family:"Lato",system-ui,-apple-system,"Segoe UI",sans-serif}
.danger-outline-button { color: #9f2329; background: #ffffff; }
.danger-button { color: #ffffff; background: #d73234; }
.section-title-row, .equipment-card-title { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.section-title-row h3, .equipment-card-title h4 { margin: 0; }
.section-clear-row { display: flex; justify-content: flex-end; margin: 0 0 10px; }
.section-clear-button { padding: 5px 8px; color: #9f2329; background: transparent; border: 1px solid #e6a8b0; border-radius: 6px; font: inherit; font-size: 10px; font-weight: 900; letter-spacing: .04em; text-transform: uppercase; cursor: pointer; ;font-family:"Lato",system-ui,-apple-system,"Segoe UI",sans-serif}
.section-clear-button:hover, .section-clear-button:focus-visible { color: #ffffff; background: #9f2329; border-color: #9f2329; }
.location-entry { display: flex; gap: 8px; }
.location-entry input { flex: 1; }
.field-helper { display: block; margin-top: 6px; color: #46496c; font-size: 12px; line-height: 1.4; }
.location-matches { display: grid; gap: 5px; margin-top: 6px; }
.location-matches button { padding: 9px 10px; color: #171c58; background: #f2f3fa; border: 1px solid #cacce5; border-radius: 7px; font: inherit; text-align: left; cursor: pointer; }
.location-matches button small { display: block; margin-top: 2px; color: #46496c; }
.location-message { color: #46496c; font-size: 11px; }
.dialog-actions { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.job-information__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 12px; }
.equipment-lookup--top { margin: 0 0 20px; }
.equipment-identification-panel .panel__body { display: grid; gap: 14px; }
:is(.equipment-id-card, .voltage-balance, .duct-subsection) { padding: 16px; background: #f8f8fd; border: 1px solid #d5d7e9; border-left: 4px solid #d73234; border-radius: 9px; }
:is(.equipment-id-card, .voltage-balance, .duct-subsection) h4 { margin: 0 0 12px; color: #090e47; font-size: 16px; text-transform: uppercase; letter-spacing: .035em; }
.equipment-id-card__pair { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 10px; }
.equipment-card-search { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.equipment-card-search .outline-button { min-height: 36px; }
.equipment-card-search .text-button { min-height: 36px; }
.add-equipment-button { justify-self: start; }
.nameplate-reader--embedded { margin-top: 13px; padding-top: 13px; border-top: 1px solid #d9daea; }
.nameplate-reader--embedded h5 { margin: 0; color: #171c54; font-size: 12px; text-transform: uppercase; }

@media (max-width: 1180px) {
  .site-nav .wrap { grid-template-columns: 210px 1fr auto; }
  .site-nav__links { justify-content: flex-end; gap: 20px; }
  .site-nav__links a:nth-child(3), .site-nav__links a:nth-child(4), .site-nav__links a:nth-child(5), .site-nav__links a:nth-child(6), .site-nav__call { display: none; }
  .hero__inner { grid-template-columns: minmax(0, 1fr) minmax(390px, .8fr); gap: 36px; }
  h1 { font-size: clamp(52px, 6vw, 70px); }
}
@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; padding: 42px 0; }
  .hero__book { min-height: 520px; }
  .form-grid { display: flex; flex-direction: column; }
  .form-column { display: contents; }
  #systemEquipmentPanel { order: 1; }
  #refrigerantPanel { order: 2; }
  #electricalPanel { order: 3; }
  #systemConditionsPanel { order: 4; }
  #airsidePanel { order: 5; }
  #ductCapacityPanel { order: 6; }
  #postRepairPanel { order: 7; }
  .report-layout { grid-template-columns: 1fr; }
  .profile-panel, .system-workspace-bar { grid-template-columns: 1fr; }
  .report-aside { grid-template-columns: 1fr 1fr; }
  .metric-grid { grid-template-columns: repeat(2, 1fr); }
  .admin-tabs { grid-template-columns: 1fr; }
  .admin-section + .admin-section { border-top: 1px solid #dcddea; border-left: 0; }
}
@media (max-width: 680px) {
  .wrap { width: min(100% - 24px, 1380px); }
  .service-strip .wrap { display: flex; justify-content: center; min-height: 34px; }
  .service-strip span, .service-strip strong { display: none; }
  .service-strip a { font-size: 14px; }
  .site-nav .wrap { display: flex; min-height: 64px; gap: 10px; }
  .site-logo { width: 132px; height: 62px; }
  .site-logo img { width: 132px; }
  .site-nav__links, .site-nav__call { display: none; }
  .book-now { margin-left: auto; padding: 10px 14px; font-size: 12px; }
  .hero__inner { min-height: 0; padding: 34px 0; }
  .hero__book { min-height: 380px; order: 2; background-position: center 34%; }
  h1 { font-size: 48px; }
  .eyebrow { font-size: 12px; }
  .hero__copy > p { font-size: 17px; }
  .hero__features { grid-template-columns: 1fr; }
  .hero__features span:last-child { grid-column: auto; }
  .hero__actions { flex-direction: column; }
  .hero-button { width: 100%; min-height: 54px; font-size: 16px; }
  .hero__book-badges > span { min-width: 0; flex: 1; padding: 8px 10px; }
  .hero__book-badges strong { font-size: 10px; }
  .hero__book-badges small { font-size: 9px; }
  .workspace, .results { padding: 46px 0; }
  .section-heading, .run-bar { align-items: flex-start; flex-direction: column; }
  .section-heading { gap: 14px; }
  .section-heading__guidance { margin-left: 0 !important; }
  .profile-controls, .system-workspace-controls { grid-template-columns: 1fr 1fr; }
  .profile-controls .field, .system-workspace-controls .field { grid-column: 1 / -1; }
  .panel summary { grid-template-columns: 34px auto 24px; padding: 12px 14px; }
  .panel summary > small { display: none; }
  .panel summary::after { grid-column: 3; }
  .panel__body { padding-inline: 14px; }
  .job-information__row { grid-template-columns: 1fr; }
  .equipment-id-card__pair { grid-template-columns: 1fr; }
  .equipment-id-card input, .equipment-id-card select { min-height: 46px; font-size: 16px; }
  .equipment-id-card .field > span { font-size: 12px; }
  .equipment-card-search > * { width: 100%; min-height: 44px; }
  .field-grid, .field-grid--three { grid-template-columns: 1fr 1fr; }
  .duct-tables { grid-template-columns: 1fr; }
  .primary-button { width: 100%; }
  .report-overview, .report-aside { grid-template-columns: 1fr; }
  .metric-grid { grid-template-columns: 1fr 1fr; }
  .result-actions { width: 100%; flex-wrap: wrap; }
  .email-report { width: 100%; }
  .email-report input { width: 100%; }
  .email-report > div { width: 100%; }
  .email-report > div input { flex: 1; }
  .comparison-table { min-width: 650px; }
  .comparison-table th, .comparison-table td { padding: 10px 11px; }
  .equipment-lookup__heading { align-items: flex-start; flex-direction: column; }
  .equipment-lookup__actions { width: 100%; }
  .nameplate-reader__heading, .nameplate-reader__apply { align-items: flex-start; flex-direction: column; }
  .nameplate-reader__controls { grid-template-columns: 1fr 1fr; }
  .nameplate-reader__controls .field { grid-column: 1 / -1; }
  .nameplate-preview { grid-template-columns: 1fr; }
  .nameplate-photo-grid { grid-template-columns: 1fr 1fr; }
  .internet-result-card dl { grid-template-columns: 1fr 1fr; }
  .oem-evidence__grid { grid-template-columns: 1fr; }
}
@media (max-width: 430px) {
  .field-grid, .field-grid--three, .metric-grid, .rect-grid, .check-grid { grid-template-columns: 1fr; }
  .field--wide { grid-column: auto; }
  .field--calculated { grid-column: auto; }
  .hero__book { min-height: 320px; }
  .hero__book-badges { right: 8px; bottom: 8px; left: 8px; gap: 6px; }
  .hero__book-badges b { display: none; }
  .nameplate-reader__controls { grid-template-columns: 1fr; }
  .system-workspace-controls, .nameplate-photo-grid, .internet-result-card dl { grid-template-columns: 1fr; }
  .nameplate-card-actions > * { width: 100%; }
  .nameplate-photo-card { grid-template-columns: 72px minmax(0, 1fr); }
  .nameplate-photo-card img { width: 72px; height: 72px; }
  .nameplate-photo-placeholder { width: 72px; height: 72px; }
  .internet-result-card dl div { border-right: 0; border-bottom: 1px solid #d8d9e9; }
  .internet-result-card dl div:last-child { border-bottom: 0; }
  .nameplate-candidate { grid-template-columns: 18px 1fr; }
  .nameplate-candidate > input[type="text"], .nameplate-candidate > em, .nameplate-evidence, .nameplate-warning { grid-column: 2; }
  .primary-button--compact { min-width: 0; }
  .report-footer { align-items: flex-start; flex-direction: column; gap: 8px; }
}

@media print {
  body { color: #111111; background: white; }
  .service-strip, .site-nav, .hero, .workspace, .result-actions, .empty-state { display: none !important; }
  .results { padding: 20px 0; color: #111111; background: white; }
  .wrap { width: 100%; }
  .section-heading--results { margin-bottom: 14px; }
  .section-heading--results p, .step { color: #555555; }
  .confidence-card, .next-reading-card, .report-block, .truth-card { color: #111111; background: white; border-color: #bbbbbb; break-inside: avoid; }
  .confidence-card p, .next-reading-card p, .missing-list li, .truth-card p { color: #444444; }
  .confidence-card__top strong { color: #111111; }
  .report-block__title { border-color: #bbbbbb; }
  .report-block__title span, .missing-list b { color: #111111; }
  .metric-grid { background: #bbbbbb; }
  .metric { color: #111111; background: white; }
  .metric__value strong { color: #111111; }
  .metric > span, .metric p, .metric__value small { color: #555555; }
  .comparison-table-wrap { overflow: visible; }
  .comparison-table { min-width: 0; print-color-adjust: exact; -webkit-print-color-adjust: exact; }
  .comparison-table th, .comparison-table td { padding: 7px 8px; }
  .comparison-row > th, .comparison-actual strong, .comparison-target strong { font-size: 10px; }
  .comparison-target small, .comparison-diagnostic span { font-size: 8px; }
  .calculation-details { display: none; }
  .report-footer { color: #555555; border-color: #bbbbbb; }
  .report-footer b { color: #111111; }
}

.capacity-summary{padding:1rem;border-bottom:1px solid #d8daed}.capacity-summary h3{text-transform:capitalize}.capacity-values{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1rem}.capacity-values strong{display:block;font-size:1.15rem;color:#080e4b}.capacity-summary p{font-size:.875rem}.target-controls{font-size:.8rem;grid-column:1/-1;min-width:0}.target-controls summary{cursor:pointer;color:#161f83}.target-controls pre,.calculation-details pre{white-space:pre-wrap;overflow-wrap:anywhere;max-height:28rem;overflow:auto}.target-controls input{width:100%;box-sizing:border-box}.target-controls button{min-height:40px}@media(max-width:600px){.capacity-values{grid-template-columns:repeat(2,minmax(0,1fr))}}

.target-controls .source-badge{display:inline-block;font-size:.8rem;font-weight:600;color:#161f83}.target-controls [data-automatic-target]{display:block;margin-top:.25rem}@media print{.app-dialog,.target-controls{display:none!important}}

/* Field-readability repair: surface-specific colors; no layout or diagnostic changes. */
:root { color-scheme: light; }
input, select, textarea { color: #0a0d2a; background-color: #fafbfb; border-color: #717491; caret-color: #0a0d2a; }
input::placeholder, textarea::placeholder { color: #53556e; opacity: 1; }
select option, select optgroup { color: #0a0d2a; background: #ffffff; }
.field input, .field select, .field textarea, .duct-field input, .rect-row input,
.lookup-spec-editor input, .nameplate-candidate > input[type="text"], .admin-search input,
.admin-table td input, .admin-table td select { border-color: #717491; }
.field--target input[data-auto-source], .field--calculated[data-ready="true"] input { border-color: #545a96; }
input:disabled, select:disabled, textarea:disabled { color: #464862; -webkit-text-fill-color: #464862; background: #e7e8f1; opacity: 1; }
button:disabled, .outline-button:disabled { opacity: 1; cursor: not-allowed; color: #464862; background: #e7e8f1; border-color: #717491; }
input[readonly] { color: #333760; }
input[type="checkbox"], input[type="radio"] { accent-color: #9f2329; outline: 1px solid #717491; }
:where(button,a,input,select,textarea,summary):focus-visible, .nameplate-file:focus-within {
  outline: 3px solid #0a1699; outline-offset: 3px; box-shadow: 0 0 0 2px #ffffff;
}
::selection { color: #ffffff; background: #161f83; }
.panel summary::after { color: #525574; }
.field-helper, .location-message { color: #46496c; }
/* Outline actions occur on both dark toolbars and pale equipment/dialog surfaces. */
.outline-button { color: #e8e9f8; border-color: #9195bd; }
:where(.panel,.job-information,.nameplate-reader,.lookup-result,.app-dialog,.internet-result-card) .outline-button {
  color: #171c58; background: #ffffff; border-color: #636790;
}
:where(.panel,.job-information,.nameplate-reader,.lookup-result,.app-dialog,.internet-result-card) .outline-button:hover {
  color: #101443; background: #e1e3f5;
}
:where(.profile-panel,.system-workspace-bar,.equipment-lookup,.dialog-heading) .outline-button--light {
  color: #f2f3fb; background: #101547; border-color: #9ca0c7;
}
:where(.profile-panel,.system-workspace-bar,.equipment-lookup,.results,.dialog-heading) > .step,
:where(.profile-panel,.system-workspace-bar,.equipment-lookup,.results,.dialog-heading) .step,
.profile-controls .text-button { color: #ffb6bc; }
.equipment-lookup__actions .text-button { color: #ffb6bc; }
.section-clear-button { border-color: #ac5662; }
/* Progress also renders inside the light per-equipment cards. */
:where(.equipment-id-card,.nameplate-reader,.lookup-result,.app-dialog) .lookup-progress {
  color: #161d70 !important; background: #e5e7fa; border-color: #273098;
}
:where(.equipment-id-card,.nameplate-reader,.lookup-result,.app-dialog) .lookup-progress[data-state="success"] {
  color: #155237 !important; background: #dff3e7; border-color: #26734d;
}
:where(.equipment-id-card,.nameplate-reader,.lookup-result,.app-dialog) .lookup-progress[data-state="warning"] {
  color: #684400 !important; background: #fff0c8; border-color: #896006;
}
:where(.equipment-id-card,.nameplate-reader,.lookup-result,.app-dialog) .lookup-progress[data-state="error"] {
  color: #9f2329 !important; background: #fde3e0; border-color: #b72b35;
}
.capacity-summary { color: #e8e9f8; background: #101440; }
.capacity-values strong { color: #ffffff; }
.metric p, .report-equipment-sources small, .report-footer { color: #b6b9d8; }
.results .section-heading--results p, .empty-state p { color: #b6b9d8; }
.results .email-report input { color: #ffffff; background: #101440; border-color: #9195bd; }
.results .email-report input::placeholder { color: #b6b9d8; }
.results .calculation-details { color: #e8e9f8; }
.results .calculation-details a, .report-equipment-sources a { color: #a8afff; }
.target-controls { color: #333760; }
.target-controls .source-badge { color: #161f83; }
.target-controls [data-automatic-target] { color: #46496c; }
.target-controls button { color: #171c58; background: #ffffff; border: 1px solid #636790; }
.nameplate-photo-placeholder { color: #333760; }
@media print {
  .results .capacity-summary, .results .capacity-values strong,
  .results .report-equipment-sources :is(b,span,small,a),
  .results .post-repair-summary, .results .post-repair-summary b,
  .results .confidence-card__top span, .results .next-reading-card > span,
  .results .truth-card > span, .results .report-footer,
  .results .section-heading--results p { color: #222222; background: #ffffff; }
}
.nameplate-file, .choice-chip, .location-matches button { border-color: #636790; }
.results .outline-button:disabled, .profile-controls .outline-button:disabled,
.system-workspace-controls .outline-button:disabled { color: #464862; background: #e7e8f1; border-color: #717491; }
@media print { .results .step { color: #444444; } }

.equipment-manual-search { margin-top: 14px; padding-top: 13px; border-top: 1px solid #d9daea; min-width: 0; }
.equipment-manual-search h5 { margin: 0 0 10px; color: #171c54; font-size: 12px; text-transform: uppercase; }
.equipment-manual-search .lookup-result__actions { flex-wrap: wrap; }
.equipment-manual-search .lookup-result header { flex-wrap: wrap; }
.equipment-manual-search .lookup-specs li { grid-template-columns: 1fr; }
.equipment-manual-search .lookup-spec-editor { justify-content: flex-start; }
.equipment-manual-search .internet-result-card dl { grid-template-columns: 1fr 1fr; }
.equipment-manual-search :is(.lookup-result,.internet-search-plan) { min-width: 0; overflow-wrap: normal; word-break: normal; white-space: normal; }
@media(max-width:430px) { .equipment-manual-search .lookup-result__actions > * { min-height: 44px; text-align: left; } }

/* Equipment uses the existing native details interaction and + / − indicators. */
.panel :is(.equipment-id-card, .voltage-balance, .duct-subsection) > summary { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 0; list-style: none; cursor: pointer; }
.panel :is(.equipment-id-card, .voltage-balance, .duct-subsection) > summary h4 { margin: 0; }
.panel :is(.equipment-id-card, .voltage-balance, .duct-subsection) > summary::after { content: "+"; margin-left: auto; color: #525574; font-size: 22px; font-weight: 300; }
.panel :is(.equipment-id-card, .voltage-balance, .duct-subsection)[open] > summary::after { content: "−"; }
.panel :is(.equipment-id-card, .voltage-balance, .duct-subsection)[open] > summary { margin-bottom: 12px; }
.panel :is(.equipment-id-card, .voltage-balance, .duct-subsection) > summary::-webkit-details-marker { display: none; }

/* Duct screening reuses native disclosure and field styles in its original panel. */
.duct-subsection { margin-bottom: 12px; min-width: 0; }
.duct-live-head,.duct-live-row { display: grid; grid-template-columns: .65fr 1fr 1fr 1fr; gap: 8px; align-items: center; padding: 8px 0; }
.duct-live-head { font-size: 11px; font-weight: 800; ;font-family:"Lato",system-ui,-apple-system,"Segoe UI",sans-serif}
.duct-live-row { border-bottom: 1px solid #d5d7e9; font-size: 13px; }
.duct-live-row input { min-width: 0; width: 100%; min-height: 44px; font-size: 16px; }
.duct-dimension-row { padding: 12px 0; border-bottom: 1px solid #d5d7e9; }
.duct-dimension-row > div:last-of-type,.duct-note { font-size: 12px; line-height: 1.55; color: #333762; }
.duct-screen { margin: 12px 0; padding: 12px; border: 1px solid #cccee3; border-radius: 9px; color: #101440; }
.duct-screen[data-status="low"] { background: #d2d5f8; }
.duct-screen[data-status="normal"] { background: #dcedda; }
.duct-screen[data-status="high"] { background: #ffe0e1; }
.duct-error { color: #9f2329; background: #fff0f0; padding: 8px; }
#ductScreenReport { padding: 16px; font-size: 13px; line-height: 1.55; overflow-wrap: anywhere; }
#ductulatorHost .duct-tables { align-items: start; }
@media (max-width: 800px) { #ductulatorHost .duct-tables { grid-template-columns: 1fr; } }

/* Structured duct comparison presentation; values come from the shared calculator. */
#ductulatorHost .duct-result-target { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; padding: 16px 0; font-size: 18px; color: #101440; }
#ductulatorHost .duct-result-target span { font-size: 24px; font-weight: 800; ;font-family:"Lato",system-ui,-apple-system,"Segoe UI",sans-serif}
#ductulatorHost .duct-result-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
#ductulatorHost .duct-screen { margin: 0; padding: 20px; min-width: 0; background-color: #f1f2f9; }
#ductulatorHost .duct-screen[data-status="low"] { background-color: #d2d5f8; }
#ductulatorHost .duct-screen[data-status="normal"] { background-color: #dcedda; }
#ductulatorHost .duct-screen[data-status="high"] { background-color: #ffe0e1; }
#ductulatorHost .duct-screen h4 { margin: 0 0 12px; font-size: 18px; line-height: 1.4; }
#ductulatorHost .duct-result-total { font-size: 32px; font-weight: 800; line-height: 1.25; margin-bottom: 16px; ;font-family:"Lato",system-ui,-apple-system,"Segoe UI",sans-serif}
#ductulatorHost .duct-result-total span { font-size: 18px; }
#ductulatorHost .duct-result-details { display: block; margin: 0; color: #101440; }
#ductulatorHost .duct-result-row { display: block; padding: 10px 0; border-top: 1px solid #aaacc8; font-size: 15px; line-height: 1.5; overflow-wrap: anywhere; }
#ductulatorHost .duct-result-row dt { display: inline; font-weight: 700; ;font-family:"Lato",system-ui,-apple-system,"Segoe UI",sans-serif}
#ductulatorHost .duct-result-row dt::after { content: ": "; }
#ductulatorHost .duct-result-row dd { display: inline; margin: 0; }
#ductulatorHost .duct-result-summary { margin-top: 16px; padding: 16px 20px; background: #f1f2f9; border: 1px solid #cccee3; border-radius: 9px; }
#ductulatorHost .duct-result-summary p { margin: 12px 0 0; color: #333762; font-size: 14px; line-height: 1.5; }
@media (max-width: 800px) { #ductulatorHost .duct-result-cards { grid-template-columns: 1fr; } }

#roomAirflowHost .duct-subsection { padding: 16px; border: 1px solid #cccee3; border-radius: 9px; background: #f8f8fd; }
#roomAirflowHost .room-include { display: flex; align-items: center; gap: 10px; margin: 12px 0; min-height: 44px; color: #101440; }
#roomAirflowHost .room-include input { width: 20px; height: 20px; }
#roomAirflowHost .field input, #roomAirflowHost .field select { min-height: 44px; font-size: 16px; }
#roomAirflowHost .room-result { margin: 16px 0; padding: 16px; border: 1px solid #cccee3; border-radius: 9px; background: white; color: #101440; }
#roomAirflowHost dl { display: block; margin: 0; }
#roomAirflowHost .room-result-row { display: block; padding: 9px 0; border-bottom: 1px solid #d5d7e9; font-size: 15px; line-height: 1.5; overflow-wrap: anywhere; }
#roomAirflowHost dt { display: inline; font-weight: 700; ;font-family:"Lato",system-ui,-apple-system,"Segoe UI",sans-serif}
#roomAirflowHost dt::after { content: ": "; }
#roomAirflowHost dd { display: inline; margin: 0; }
#roomAirflowHost .room-status { margin-top: 12px; padding: 12px; border-radius: 6px; background: #e8e9f2; color: #101440; font-weight: 700; ;font-family:"Lato",system-ui,-apple-system,"Segoe UI",sans-serif}
#roomAirflowHost .room-status[data-status="normal"] { background: #dcedda; }
#roomAirflowHost .room-status[data-status="low"] { background: #d2d5f8; }
#roomAirflowHost .room-status[data-status="high"] { background: #ffe0e1; }
#roomAirflowHost .room-status[data-status="warning"] { background: #fff0c2; }
#roomAirflowHost [data-room-source], #roomAirflowHost [data-room-occupancy] { display: block; color: #333762; line-height: 1.5; padding: 8px 0; }
#roomAirflowHost h4 small { color: #525574; }
@media (max-width: 600px) { #roomAirflowHost .field-grid { grid-template-columns: 1fr; } }

.account-toolbar { display:flex; flex-wrap:wrap; gap:8px; margin:8px; }
.account-dialog { width:min(640px,calc(100vw - 24px)); max-height:90vh; overflow:auto; border:1px solid #cccee3; border-radius:12px; padding:24px; color:#101440; background:white; }
.account-dialog::backdrop { background:#090c2daa; }
.account-dialog .field { margin:12px 0; }
.account-dialog input,.account-dialog select,.account-dialog button { min-height:44px; font-size:16px; }
.account-dialog button { margin:6px 6px 6px 0; }
.account-contact { padding:12px; margin:12px 0; border:1px solid #cccee3; border-radius:8px; }
@media print { .account-toolbar,.account-dialog { display:none!important; } html[data-account="anonymous"] .report-block { display:none!important; } }

/* Shared cache administration is Owner-only; document review remains available. */
html:not([data-account-role="OWNER"]) #openEquipmentAdmin,
html:not([data-account-role="OWNER"]) #equipmentAdminDialog .admin-section:last-child {display:none;}

/* Manual search is content, not a nested accordion. Keep normal words intact. */
.equipment-manual-search .internet-search-plan { display: block; width: 100%; height: auto; min-height: 0; }
.equipment-manual-search .internet-search-plan ol { font-family: inherit; font-size: 14px; line-height: 1.6; color: #333760; }
.equipment-manual-search :is(.lookup-documents--internet,.internet-result-card) { grid-template-columns: minmax(0,1fr); min-width: 0; }
.equipment-manual-search :is(h6,p,li,a,button,dt,dd) { word-break: normal; overflow-wrap: normal; white-space: normal; }
.equipment-manual-search .lookup-result header > div { flex: 1 1 200px; min-width: 0; }
.equipment-manual-search .lookup-result header :is(strong,small),
.equipment-manual-search .internet-result-card dl > div:nth-child(2) dd,
.equipment-manual-search .internet-result-card dl > div:nth-child(3) dd { overflow-wrap: anywhere; }
.equipment-manual-search .lookup-result__actions > *,
.equipment-manual-search .lookup-choices > .choice-chip { flex: 0 1 auto; min-width: min(100%,190px); max-width: 100%; height: auto; min-height: 44px; padding: 10px 12px; font-size: 14px; }
.equipment-manual-search .lookup-result__actions .text-button { color: #9f2329; border-color: #9f2329; }
.equipment-manual-search .lookup-result__actions .text-button:hover { color: #701322; background: #fff1f2; }
.equipment-manual-search .internet-result-card :is(strong,dt,dd,p,small) { font-size: 14px; line-height: 1.5; }
.equipment-manual-search .lookup-result header span { color: #46496c; }
.equipment-manual-search .lookup-result p { color: #333760; }
@media(max-width:600px) {
 .equipment-manual-search .internet-result-card dl { grid-template-columns: minmax(0,1fr); }
 .equipment-manual-search :is(.lookup-result__actions,.lookup-choices) { align-items: stretch; }
 .equipment-manual-search .lookup-result__actions > *,
 .equipment-manual-search .lookup-choices > .choice-chip { flex-basis: 100%; }
}
/* Account surfaces are light. Scope colors to these surfaces only. */
.account-dialog :is(h2,h3,h4,label,.field > span,p,small,dt,dd,th,td) { color: #171b49; }
.account-dialog :is(input,select,textarea) { color: #101440; background: #ffffff; border-color: #636790; }
.account-dialog :is(input,textarea)::placeholder { color: #46496c; opacity: 1; }
.account-dialog :is(option,optgroup) { color: #101440; background: #ffffff; }
.account-dialog button,.account-toolbar button { color: #171c58; background: #ffffff; border: 1px solid #636790; height: auto; white-space: normal; word-break: normal; }
.account-dialog button:hover,.account-toolbar button:hover { color: #101443; background: #e1e3f5; }
.account-dialog a { color: #0d167a; text-decoration: underline; }
.account-dialog a:hover { color: #091058; }
.account-dialog :is(button,input,select,textarea):disabled { color: #464862; -webkit-text-fill-color: #464862; background: #e7e8f1; border-color: #717491; opacity: 1; }
.account-dialog :is(button,a,input,select,textarea):focus-visible,
.account-toolbar button:focus-visible { outline: 3px solid #0a1699; outline-offset: 3px; }
.account-dialog [data-account-message] { color: #171b49; background: #edeef8; padding: 10px; border-radius: 6px; }
.account-dialog [data-account-message]:empty { display: none; }
.account-dialog .account-contact { color: #171b49; background: #ffffff; word-break: normal; overflow-wrap: normal; }
.account-dialog .account-contact p:nth-child(2) { overflow-wrap: anywhere; }
.account-dialog .field > span { font-size: 14px; }
.account-dialog button { padding: 10px 14px; max-width: 100%; }

/* Additive diagnostic guidance; existing result tables and status meanings retained. */
.actionable-card h4{font-size:1rem;line-height:1.4;margin:1.15rem 0 .4rem;color:inherit}
.actionable-card .finding-problem{font-size:1.1rem;line-height:1.5}
.actionable-card ul,.actionable-card ol{margin:.4rem 0;padding-left:1.5rem}
.actionable-card li{display:list-item;line-height:1.55;margin:.4rem 0;white-space:normal;word-break:normal;overflow-wrap:break-word}
.actionable-card .diagnostic-card__head{flex-wrap:wrap;gap:.6rem}
.test-profile-select{max-width:100%;min-height:44px;white-space:normal;background:#ffffff!important;color:#171b4d!important;border:1px solid #53567a;padding:.65rem 2rem .65rem .8rem;border-radius:6px;font-size:1rem;cursor:pointer}
.test-profile-select option{background:#ffffff;color:#171b4d}
.test-profile-indicator{padding:.8rem 1rem;color:#634000;background:#fff4cf;border:1px solid #977126;border-radius:6px;line-height:1.5;font-weight:700;font-family:"Lato",system-ui,-apple-system,"Segoe UI",sans-serif}
@media(max-width:600px){.test-profile-select{width:100%;min-width:0}.section-load-demo{flex-basis:100%}}
@media print{.actionable-card{break-inside:auto}.actionable-card h4{break-after:avoid}.test-profile-indicator{display:block}.test-profile-indicator[hidden]{display:none}}

.actionable-card .diagnostic-card__head strong{font-size:.95rem}.actionable-card .diagnostic-card__head span{font-size:.8rem}.actionable-card li,.actionable-card p{font-size:1rem;color:#333658}
.site-nav .deep-dive-app-host,.deep-dive-app-host { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 16px; padding-bottom: 6px; }
.deep-dive-app-host > .account-toolbar { justify-self: start; }
.deep-dive-app-promo { box-sizing: border-box; display: grid; justify-items: center; gap: 3px; width: 280px; flex-shrink: 0; max-width: 100%; min-width: 0; padding: 5px; text-align: center; color: #171c58; background: #ffffff; border: 1px solid #636790; border-radius: 6px; }
.deep-dive-app-promo-row { display: grid; grid-template-columns: 40px minmax(0, 180px); align-items: center; justify-content: center; gap: 8px; width: 100%; }
.deep-dive-app-promo img { width: 40px; height: 40px; object-fit: contain; max-width: 100%; }
.deep-dive-app-promo [data-app-status]:empty { display: none; }
.deep-dive-app-promo strong { font-size: 13px; line-height: 1.3; text-align: center; width: 100%; }
.deep-dive-app-promo small { font-size: 12px; }
.deep-dive-app-promo p { font-size: 13px; }
.deep-dive-app-promo small,.deep-dive-app-promo p { color: #171c58; margin: 0; line-height: 1.5; }
.deep-dive-app-promo button,.deep-dive-app-install button { box-sizing: border-box; min-height: 44px; max-width: 100%; padding: 10px 16px; border: 1px solid #171c58; border-radius: 6px; color: #ffffff; background: #171c58; font: inherit; font-weight: 700; cursor: pointer; ;font-family:"Lato",system-ui,-apple-system,"Segoe UI",sans-serif}
.deep-dive-app-promo button { font-size: 13px; padding: 6px 10px; border-radius: 4px; }
.deep-dive-app-promo button:hover,.deep-dive-app-install button:hover { background: #101443; }
.deep-dive-app-promo button:focus-visible,.deep-dive-app-install :focus-visible { outline: 3px solid #0a1699; outline-offset: 3px; }
.deep-dive-app-promo,.deep-dive-app-install { word-break: normal; overflow-wrap: normal; white-space: normal; }
.deep-dive-app-install { box-sizing: border-box; width: min(520px, calc(100% - 24px)); max-height: calc(100dvh - 32px); overflow-y: auto; padding: 24px; color: #171c58; background: #ffffff; border: 1px solid #636790; border-radius: 8px; }
.deep-dive-app-install::backdrop { background: #00064399; }
.deep-dive-app-install h2 { color: #171c58; }
.deep-dive-app-install p,.deep-dive-app-install li { line-height: 1.6; }
.deep-dive-app-install a { color: #071291; text-decoration: underline; }
.deep-dive-app-promo[hidden],.deep-dive-app-install [hidden] { display: none; }
@media (max-width: 760px) { .site-nav .deep-dive-app-host,.deep-dive-app-host { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; } .deep-dive-app-promo { align-self: center; } }
@media (max-width: 680px) { .deep-dive-app-promo { width: 280px; max-width: 100%; } }
@media (display-mode: standalone) { .deep-dive-app-promo { display: none; } }
@media print { .deep-dive-app-host,.deep-dive-app-install { display: none !important; } }
