:root {
  --red:#d9272e;
  --ink:#242b30;
  --muted:#626b70;
  --line:#e0e3e3;
  --paper:#fff;
  --green:#14786f;
  font-family:Arial,sans-serif;
  color:var(--ink);
  background:#f5f6f6;
  font-size:14px;
}
* {
  box-sizing:border-box;
}
body {
  margin:0;
}
button,input,select {
  font:inherit;
  color:inherit;
}
button {
  cursor:pointer;
}
button:disabled {
  cursor:default;
  opacity:.4;
}
button,select,input {
  border:1px solid var(--line);
  border-radius:7px;
}
button {
  background:white;
  min-height:40px;
  padding:9px 13px;
}
button:hover:not(:disabled) {
  background:#f0f3f2;
}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible {
  outline:3px solid #286bb7;
  outline-offset:3px;
}
[hidden] {
  display:none!important;
}
a {
  color:inherit;
}
.skip {
  position:absolute;
  left:12px;
  top:-80px;
  z-index:10;
  background:white;
  padding:12px;
}
.skip:focus {
  top:12px;
}
.header {
  min-height:84px;
  background:#fff;
  border-bottom:1px solid var(--line);
  padding:16px 36px;
  display:flex;
  align-items:center;
  gap:36px;
}
.brand {
  display:flex;
  gap:10px;
  align-items:center;
  text-decoration:none;
  font-size:16px;
  font-weight:800;
  letter-spacing:.6px;
  white-space:nowrap;
}
.brand small {
  display:block;
  font-size:9px;
  letter-spacing:.15px;
  margin-top:6px;
  color:var(--muted);
  font-weight:400;
}
.brand-mark {
  color:var(--red);
  letter-spacing:-8px;
  font-size:48px;
  line-height:42px;
  font-weight:900;
  width:55px;
  transform:skew(-9deg);
}
.brand-mark span {
  color:#383d42;
}
.header-title {
  font-size:13px;
  color:var(--muted);
  display:flex;
  align-items:center;
  gap:12px;
  flex:1;
}
.badge {
  font-size:10px;
  letter-spacing:.4px;
  background:#f0f2f2;
  border-radius:4px;
  padding:6px 7px;
  color:#535d63;
  white-space:nowrap;
}
.file-actions {
  display:flex;
  align-items:center;
  gap:7px;
}
.quiet {
  background:transparent;
  border-color:transparent;
}
.outline {
  background:white;
}
.outline span {
  margin-left:10px;
}
main {
  max-width:1740px;
  padding:32px 36px 20px;
  margin:auto;
}
.intro {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  margin-bottom:28px;
}
.eyebrow {
  color:var(--red);
  font-size:10px;
  font-weight:700;
  letter-spacing:1.8px;
  margin:0 0 11px;
}
h1 {
  font-size:30px;
  line-height:1.18;
  letter-spacing:-.9px;
  margin:0 0 11px;
  font-weight:600;
}
.intro p:last-child {
  color:var(--muted);
  margin:0;
  font-size:13px;
}
.steps {
  display:flex;
  align-items:center;
  gap:14px;
  color:#515a60;
  font-size:12px;
}
.steps span {
  display:flex;
  align-items:center;
  gap:8px;
  white-space:nowrap;
}
.steps b {
  width:24px;
  height:24px;
  display:grid;
  place-items:center;
  border:1px solid #bcc4c4;
  border-radius:50%;
  font-size:10px;
}
.steps i {
  width:28px;
  height:1px;
  background:#cdd2d2;
}
.workspace {
  display:grid;
  grid-template-columns:236px minmax(320px,1fr) 278px;
  gap:14px;
  align-items:start;
}
.panel {
  background:var(--paper);
  border:1px solid var(--line);
  border-radius:12px;
  overflow:hidden;
}
.house-panel,.camera-panel {
  padding:21px 18px;
}
.section-title {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:8px;
}
h2 {
  font-size:16px;
  margin:0;
  letter-spacing:-.3px;
}
h3 {
  font-size:13px;
  margin:0 0 13px;
  font-weight:600;
}
.counter {
  color:#687279;
  font-size:11px;
  font-variant-numeric:tabular-nums;
}
.help {
  color:var(--muted);
  font-size:12px;
  margin:9px 0 20px;
}
.presets {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:7px;
}
.preset {
  padding:10px 4px 8px;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:7px;
  min-height:85px;
  font-size:10px;
  border-color:#e4e7e7;
  border-radius:8px;
  position:relative;
}
.preset svg {
  width:51px;
  height:39px;
  overflow:visible;
}
.preset polygon {
  fill:#eff1f0;
  stroke:#727e81;
  stroke-width:1.5;
}
.preset[aria-pressed=true] {
  background:#fff6f5;
  border-color:var(--red);
  box-shadow:0 0 0 1px var(--red);
}
.preset[aria-pressed=true] polygon {
  fill:#fbe4e1;
  stroke:var(--red);
}
.preset[aria-pressed=true]::after {
  content:'✓';
  position:absolute;
  top:5px;
  right:6px;
  color:var(--red);
  font-size:10px;
}
.transform {
  display:flex;
  justify-content:space-between;
  gap:3px;
  margin-top:9px;
}
.transform button {
  font-size:11px;
  padding:7px 4px;
}
.divider {
  height:1px;
  background:var(--line);
  margin:15px 0 20px;
}
.dimensions {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;
  margin:11px 0;
}
label {
  display:block;
  font-size:11px;
  font-weight:500;
  color:#4f5b61;
}
input[type=number],input[type=search],select {
  padding:9px 10px;
  background:#fff;
  width:100%;
  min-height:40px;
  margin-top:7px;
  font-size:13px;
}
input:invalid {
  border-color:var(--red);
}
input:disabled {
  background:#f4f5f5;
}
.full-label {
  margin:13px 0;
}
.range-label {
  margin:20px 0;
  position:relative;
  font-size:11px;
}
.range-label output {
  float:right;
  font-size:12px;
  color:#202d32;
  font-variant-numeric:tabular-nums;
}
.range-label input {
  width:100%;
  height:22px;
  accent-color:var(--green);
  margin:8px 0 0;
}
.house-note {
  display:flex;
  gap:10px;
  padding-top:15px;
  align-items:center;
  color:var(--muted);
}
.house-note>span {
  font-size:28px;
  color:#6e7d80;
}
.house-note p {
  margin:0;
  font-size:11px;
  line-height:1.7;
}
.error {
  font-size:12px;
  color:#b51c26;
  line-height:1.4;
}
.error:empty {
  display:none;
}
.plan-toolbar {
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:13px 16px;
  border-bottom:1px solid var(--line);
}
.view-tabs {
  display:flex;
  padding:3px;
  background:#eff2f1;
  border-radius:7px;
}
.view-tabs button {
  border:0;
  font-size:12px;
  background:transparent;
  min-height:34px;
  padding:8px 18px;
}
.view-tabs button[aria-pressed=true] {
  background:#fff;
  box-shadow:0 1px 4px #20302b14;
}
.history {
  display:flex;
  gap:3px;
}
.history button {
  border:0;
  min-width:36px;
  font-size:20px;
  padding:4px;
}
.zoom-tools {
  display:flex;
  gap:1px;
}
.zoom-tools button {
  border:0;
  font-size:12px;
  padding:5px 8px;
  min-height:34px;
}
.canvas-wrap {
  height:530px;
  position:relative;
  background:#f5f7f5;
  overflow:hidden;
}
.scene-caption {
  position:absolute;
  z-index:2;
  top:20px;
  left:22px;
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:8px;
  font-size:11px;
  pointer-events:none;
}
.scene-caption #scene-size {
  color:#677572;
  padding-left:7px;
  border-left:1px solid #cdd5d0;
}
.live-dot {
  width:5px;
  height:5px;
  background:var(--green);
  border-radius:50%;
}
#plan {
  display:block;
  width:100%;
  height:100%;
  touch-action:manipulation;
}
#plan .wall-hit {
  cursor:crosshair;
}
#plan .camera-marker {
  cursor:pointer;
}
#scene {
  width:100%;
  height:100%;
  touch-action:none;
}
#scene canvas {
  display:block;
  width:100%;
  height:100%;
}
.scene-error {
  position:absolute;
  top:35%;
  left:10%;
  right:10%;
  padding:20px;
  background:#fff;
  border:1px solid var(--line);
  border-radius:8px;
  z-index:3;
}
.north {
  position:absolute;
  right:23px;
  top:22px;
  display:grid;
  text-align:center;
  color:#6a7774;
  font-size:24px;
  pointer-events:none;
}
.north small {
  font-size:8px;
  letter-spacing:1px;
  margin-top:4px;
}
.legend {
  position:absolute;
  left:22px;
  bottom:20px;
  display:flex;
  gap:16px;
  color:#52625c;
  font-size:10px;
  pointer-events:none;
}
.legend span {
  display:flex;
  align-items:center;
  gap:6px;
}
.legend i {
  height:9px;
  width:9px;
  border:1px solid #14786f70;
  border-radius:2px;
}
.coverage-dot {
  background:#91c7b2;
}
.overlap-dot {
  background:#459b7b;
}
.empty-prompt {
  position:absolute;
  top:43%;
  left:50%;
  transform:translate(-50%,-50%);
  text-align:center;
  display:flex;
  flex-direction:column;
  gap:9px;
  pointer-events:none;
  width:220px;
}
.empty-symbol {
  color:#889791;
  font-size:22px;
}
.empty-prompt strong {
  font-size:13px;
  font-weight:600;
}
.empty-prompt>span:last-child {
  font-size:11px;
  line-height:1.6;
  color:#66736e;
}
.plan-actions {
  padding:17px 16px 10px;
  display:flex;
  align-items:center;
  gap:8px;
  flex-wrap:wrap;
}
.primary {
  background:var(--red);
  color:white;
  border-color:var(--red);
  font-size:12px;
  font-weight:600;
  padding:11px 15px;
}
.primary:hover:not(:disabled) {
  background:#bc2028;
}
.primary span {
  font-size:16px;
  margin-right:5px;
}
.plan-actions .outline {
  font-size:12px;
}
.plan-actions [aria-pressed=true] {
  border-color:var(--green);
  color:var(--green);
  background:#edf7f3;
}
.level-label {
  margin-left:auto;
  font-size:9px;
}
.level-label select {
  min-height:30px;
  font-size:11px;
  padding:4px;
  margin-top:3px;
  border:0;
  background:#f1f4f2;
}
.plan-hint {
  margin:0;
  padding:3px 17px 17px;
  color:var(--muted);
  font-size:11px;
  line-height:1.6;
}
.camera-list {
  display:flex;
  flex-wrap:wrap;
  gap:6px;
  margin:17px 0;
}
.camera-chip {
  min-width:43px;
  padding:8px;
  font-size:11px;
}
.camera-chip[aria-pressed=true] {
  color:var(--green);
  border-color:var(--green);
  background:#edf7f3;
  font-weight:700;
}
.camera-chip i {
  display:inline-block;
  width:6px;
  height:6px;
  margin-right:4px;
  border-radius:50%;
}
.camera-empty {
  padding:17px 0 24px;
  text-align:center;
}
.camera-empty svg {
  width:57px;
  fill:none;
  stroke:#889792;
  stroke-width:1.5;
  margin:10px 0 14px;
}
.camera-empty p {
  color:var(--muted);
  font-size:12px;
  line-height:1.7;
}
.camera-empty label {
  text-align:left;
  margin:25px 0 10px;
}
.camera-empty button {
  width:100%;
  font-size:12px;
}
.selected-title {
  display:flex;
  align-items:center;
  justify-content:space-between;
  font-size:14px;
  font-weight:600;
}
.selected-title button {
  font-size:10px;
  font-weight:400;
  padding:4px 2px;
  min-height:30px;
}
.danger {
  color:#bc3035;
}
.demo-note {
  color:var(--muted);
  font-size:10px;
  margin:2px 0 22px;
}
.full {
  width:100%;
  font-size:12px;
}
details {
  font-size:11px;
}
summary {
  cursor:pointer;
  color:#4d6460;
  padding:8px 0;
}
.project-footer {
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:30px;
  padding:19px 2px;
  color:var(--muted);
  font-size:11px;
}
.project-footer>div {
  display:flex;
  gap:9px;
  max-width:850px;
}
.project-footer p {
  margin:0;
  line-height:1.7;
}
.project-footer strong {
  color:#46524c;
  font-weight:600;
}
.footer-icon {
  font-size:15px;
}
.project-footer>span {
  text-align:right;
  max-width:200px;
  font-size:10px;
  line-height:1.6;
}
.toast {
  position:fixed;
  bottom:26px;
  left:50%;
  transform:translateX(-50%);
  padding:14px 22px;
  background:#253e36;
  color:white;
  border-radius:9px;
  box-shadow:0 7px 25px #14251e25;
  z-index:20;
  font-size:13px;
  max-width:90%;
}
.orbit-tools {
  position:absolute;
  right:15px;
  bottom:15px;
  display:flex;
  gap:4px;
}
.orbit-tools button {
  min-height:32px;
  padding:6px 9px;
  font-size:11px;
}
@media(min-width:1550px) {
  .workspace {
    grid-template-columns:258px minmax(400px,1fr) 300px;
  }
  .canvas-wrap {
    height:610px;
  }
  .house-panel,.camera-panel {
    padding:24px;
  }
}
@media(max-width:1200px) {
  main {
    padding:26px 20px;
  }
  .header {
    padding:14px 20px;
    gap:20px;
  }
  .header-title {
    font-size:11px;
  }
  .workspace {
    grid-template-columns:205px minmax(280px,1fr) 245px;
    gap:10px;
  }
  .house-panel,.camera-panel {
    padding:18px 13px;
  }
  .steps {
    display:none;
  }
  .plan-actions {
    padding:12px;
  }
  .level-label {
    width:100%;
    margin-left:0;
    display:flex;
    gap:8px;
    align-items:center;
  }
  .level-label select {
    width:auto;
    margin:0;
  }
  h1 {
    font-size:28px;
  }
}
@media(max-width:980px) {
  .header-title {
    display:none;
  }
  .file-actions {
    margin-left:auto;
  }
  .workspace {
    grid-template-columns:210px minmax(0,1fr);
  }
  .camera-panel {
    grid-column:1/-1;
    display:block;
  }
  .camera-panel>.section-title,.camera-list,#clear-cameras {
    grid-column:1/-1;
  }
  .canvas-wrap {
    height:490px;
  }
  .project-footer {
    flex-direction:column;
    gap:12px;
  }
  .project-footer>span {
    max-width:none;
  }
  .camera-empty {
    padding:0;
  }
}
@media(max-width:640px) {
  main {
    padding:22px 12px;
  }
  .header {
    padding:12px;
    min-height:68px;
    gap:10px;
    flex-wrap:wrap;
  }
  .brand {
    font-size:12px;
    gap:4px;
  }
  .brand small {
    display:none;
  }
  .brand-mark {
    font-size:34px;
    width:41px;
    letter-spacing:-6px;
  }
  .file-actions {
    gap:0;
    width:100%;
    justify-content:space-between;
  }
  .file-actions button {
    font-size:10px;
    padding:8px;
    min-height:38px;
  }
  .file-actions .outline span {
    display:none;
  }
  h1 {
    font-size:25px;
    letter-spacing:-.6px;
  }
  .intro {
    margin-bottom:22px;
  }
  .intro p:last-child {
    line-height:1.6;
    font-size:12px;
  }
  .workspace {
    grid-template-columns:minmax(0,1fr);
    gap:12px;
  }
  .house-panel {
    padding:18px 15px;
  }
  .presets {
    grid-template-columns:repeat(4,minmax(0,1fr));
  }
  .preset {
    font-size:9px;
    min-height:72px;
    gap:5px;
  }
  .preset svg {
    height:30px;
    width:42px;
  }
  .transform {
    justify-content:flex-start;
    gap:18px;
  }
  .house-panel .dimensions {
    display:inline-grid;
    width:65%;
    margin-right:3%;
  }
  .house-panel .full-label {
    display:inline-block;
    width:30%;
  }
  .divider {
    margin:10px 0 17px;
  }
  .house-note {
    display:none;
  }
  .camera-panel {
    display:block;
    padding:20px;
  }
  .canvas-wrap {
    height:410px;
  }
  .scene-caption {
    left:14px;
    top:15px;
    font-size:10px;
  }
  .north {
    top:13px;
    right:14px;
  }
  .plan-toolbar {
    padding:10px;
  }
  .view-tabs button {
    padding:8px 13px;
  }
  .legend {
    left:14px;
    bottom:15px;
    gap:12px;
    font-size:9px;
  }
  .plan-actions {
    gap:7px;
  }
  .plan-actions button {
    min-height:44px;
  }
  .empty-prompt {
    width:170px;
  }
  .empty-prompt strong {
    font-size:11px;
  }
  .empty-prompt>span:last-child {
    font-size:10px;
  }
  .orbit-tools {
    bottom:43px;
    right:10px;
  }
  .camera-empty {
    padding:0 0 10px;
  }
  .camera-empty svg {
    width:44px;
  }
  .camera-list {
    margin-bottom:10px;
  }
  .project-footer {
    padding-inline:4px;
  }
}
@media(max-width:420px) {
  .plan-toolbar {
    flex-wrap:wrap;
    gap:5px;
  }
  .zoom-tools {
    order:3;
    width:100%;
    justify-content:center;
  }
  .history {
    margin-left:auto;
  }
}
@media(max-width:640px) {
  .house-panel .dimensions,.house-panel .full-label {
    vertical-align:top;
    margin-top:11px;
    margin-bottom:11px;
  }
}
@media(max-width:360px) {
  .presets {
    grid-template-columns:repeat(3,minmax(0,1fr));
  }
}
.placement-tools {
  margin:4px 16px 14px;
  padding:14px;
  background:#fff7f4;
  border:1px solid #eec7bd;
  border-radius:8px;
}
.placement-tools>strong {
  display:block;
  font-size:12px;
}
.placement-tools>span {
  display:block;
  margin:6px 0 12px;
  font-size:11px;
  color:#715a51;
}
.placement-tools>div {
  display:flex;
  align-items:end;
  flex-wrap:wrap;
  gap:8px;
}
.placement-tools label:first-child {
  flex:1;
  min-width:140px;
}
.placement-tools label:nth-child(2) {
  width:100px;
}
.placement-tools button {
  font-size:11px;
}
.volume-tools {
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:12px;
  padding:3px 17px 14px;
}
.volume-tools label {
  display:flex;
  align-items:center;
  gap:6px;
  min-height:32px;
  font-size:11px;
}
.volume-tools input {
  accent-color:var(--green);
  width:16px;
  height:16px;
}
.volume-tools>span {
  font-size:10px;
  color:var(--muted);
}
#add-camera[aria-pressed=true] {
  background:#fff3ef;
  color:#ad242a;
  border-color:#d9272e;
}
.auto-tools {
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  align-items:center;
  padding:15px 17px 10px;
  border-bottom:1px solid var(--line);
  background:#f9fbfa;
}
.auto-tools>div {
  margin-right:auto;
}
.auto-tools strong {
  font-size:12px;
  display:block;
}
.auto-tools small {
  font-size:10px;
  color:var(--muted);
  display:block;
  margin-top:5px;
}
.auto-tools label {
  font-size:10px;
}
.auto-tools select {
  margin-top:3px;
  min-height:34px;
  padding:5px 8px;
  font-size:12px;
}
.auto-run {
  background:#235e50;
  border-color:#235e50;
  color:white;
  font-size:12px;
  font-weight:600;
}
.auto-run:hover:not(:disabled) {
  background:#174738;
}
#auto-status {
  margin:0;
  flex-basis:100%;
  font-size:10px;
  color:var(--muted);
  line-height:1.5;
}
#auto-dialog {
  border:1px solid var(--line);
  padding:0;
  border-radius:14px;
  max-width:960px;
  width:calc(100% - 32px);
  max-height:calc(100vh - 36px);
  color:var(--ink);
  box-shadow:0 25px 100px #16281d35;
}
#auto-dialog::backdrop {
  background:#14231c88;
}
.auto-dialog-head {
  padding:24px 26px 14px;
}
.auto-dialog-head h2 {
  font-size:23px;
}
.auto-dialog-head p:last-child {
  font-size:12px;
  color:var(--muted);
  line-height:1.6;
  margin-bottom:0;
}
.auto-preview-wrap {
  position:relative;
  background:#f3f6f3;
}
#auto-preview {
  width:100%;
  height:350px;
  display:block;
}
.auto-metrics {
  position:absolute;
  top:15px;
  left:20px;
  background:#ffffffed;
  padding:15px;
  border:1px solid var(--line);
  border-radius:8px;
  width:165px;
}
.auto-metrics div {
  margin-bottom:12px;
}
.auto-metrics span {
  font-size:11px;
  color:var(--muted);
  display:block;
}
.auto-metrics strong {
  font-size:25px;
  display:block;
  margin-top:5px;
}
.auto-metrics div:nth-child(2) strong {
  color:var(--green);
}
.auto-metrics small {
  font-size:10px;
  line-height:1.5;
  display:block;
  color:var(--muted);
}
.auto-dialog-foot {
  padding:16px 26px 22px;
}
.auto-dialog-foot p {
  font-size:12px;
  line-height:1.6;
  margin:0 0 10px;
}
.auto-dialog-foot #auto-alternatives {
  font-size:11px;
  color:var(--muted);
}
.auto-dialog-foot .auto-assumptions {
  font-size:10px;
  color:var(--muted);
}
.auto-dialog-foot>div {
  display:flex;
  justify-content:flex-end;
  gap:10px;
  flex-wrap:wrap;
  margin-top:16px;
}
@media(max-width:640px) {
  .auto-tools {
    gap:10px;
  }
  .auto-tools>div {
    flex-basis:100%;
  }
  .auto-tools .auto-run {
    margin-left:auto;
  }
  .auto-dialog-head,.auto-dialog-foot {
    padding:18px;
  }
  .auto-dialog-head h2 {
    font-size:21px;
  }
  .auto-metrics {
    position:static;
    width:auto;
    border:0;
    border-radius:0;
    display:flex;
    align-items:center;
    gap:20px;
    padding:12px 18px;
  }
  .auto-metrics div {
    margin:0;
  }
  .auto-metrics small {
    max-width:100px;
  }
  #auto-preview {
    height:280px;
  }
  .auto-dialog-foot>div>button {
    width:100%;
  }
}
.planner-links {
  display:flex;
  flex-wrap:wrap;
  gap:16px;
  padding:24px 0;
  font-size:13px;
}
.file-actions > a {
  padding:12px;
  white-space:nowrap;
}
.analytics-consent {
  position:fixed;
  right:24px;
  bottom:24px;
  z-index:100;
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:20px;
  align-items:center;
  width:min(760px,calc(100vw - 48px));
  padding:20px 22px;
  background:#fff;
  border:1px solid var(--line);
  border-radius:8px;
  box-shadow:0 18px 50px #2023272e
}
.analytics-consent[hidden],.analytics-settings[hidden] {
  display:none
}
.analytics-consent strong {
  display:block;
  margin-bottom:5px;
  font-size:1.05rem
}
.analytics-consent p {
  margin:0;
  color:var(--muted);
  line-height:1.45
}
.analytics-consent-actions {
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  justify-content:flex-end
}
.analytics-consent-actions button {
  white-space:nowrap
}
.analytics-settings {
  position:fixed;
  right:16px;
  bottom:16px;
  z-index:90;
  padding:8px 11px;
  border:1px solid var(--line);
  border-radius:4px;
  background:#fff;
  color:var(--muted);
  box-shadow:0 4px 16px #2023271c;
  font:inherit;
  font-size:.78rem;
  cursor:pointer
}
@media(max-width:680px) {
  .analytics-consent {
    right:12px;
    bottom:12px;
    grid-template-columns:1fr;
    width:calc(100vw - 24px);
    padding:17px
  }
  .analytics-consent-actions {
    justify-content:stretch
  }
  .analytics-consent-actions button {
    flex:1 1 180px
  }
}
@media(prefers-reduced-motion:reduce) {
  * {
    transition:none!important;
    scroll-behavior:auto!important
  }
}
#product-dialog {
  width: min(820px, calc(100vw - 24px));
  max-height: 88vh;
  padding: 24px;
  border: 1px solid #d7e0da;
  border-radius: 16px;
  color: #243c33;
}
#product-dialog::backdrop {
  background: #162c2370;
}
.product-dialog-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
}
.product-options {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 16px 0;
}
.product-options label {
  display: flex;
  gap: 8px;
  align-items: center;
}
.product-options input {
  width: auto;
}
.product-choice {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  padding: 18px 0;
  border-top: 1px solid #e0e6e2;
}
.product-choice:not(:has(img)) {
  grid-template-columns: minmax(0, 1fr) auto;
}
.product-choice img {
  width: 64px;
  height: 64px;
  object-fit: contain;
}
.product-choice strong {
  font-size: 14px;
  overflow-wrap: anywhere;
}
.product-choice p {
  font-size: 12px;
  line-height: 1.5;
  margin: 8px 0;
}
.product-choice small {
  color: #52685c;
}
#default-product, #camera-product-name {
  overflow-wrap: anywhere;
}
#camera-optics-note {
  line-height: 1.6;
}
@media (max-width: 600px) {
  #product-dialog {
    padding: 16px;
  }
  .product-choice {
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 10px;
  }
  .product-choice img {
    width: 48px;
    height: 48px;
  }
  .product-choice button {
    grid-column: 1 / -1;
  }
}
/* Calculation request: a focused handoff after the planning workspace. */ .request-callout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 28px;
  margin-top: 20px;
  border: 1px solid #dce2df;
  border-radius: 14px;
  background: #fff;
}
.request-callout h2 {
  font-size: 20px;
  margin: 0 0 7px;
}
.request-callout p {
  color: #59655f;
  margin: 0;
}
.request-callout button {
  flex-shrink: 0;
}
.request-dialog {
  box-sizing: border-box;
  width: min(850px, calc(100% - 24px));
  max-height: calc(100dvh - 32px);
  padding: 28px;
  border: 1px solid #dce2df;
  border-radius: 16px;
  color: #24362d;
}
.request-dialog::backdrop {
  background: #152b2580;
}
.request-heading {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 16px;
}
.request-heading h2 {
  margin: 0;
  font-size: 26px;
}
.request-images, .request-contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.request-images figure {
  margin: 0;
}
.request-images img {
  width: 100%;
  height: auto;
  display: block;
  border: 1px solid #dce2df;
  border-radius: 8px;
}
.request-images figcaption {
  padding: 8px 0;
  font-size: 13px;
  color: #59655f;
}
.request-dialog fieldset {
  border: 0;
  margin: 24px 0 0;
  padding: 0;
  min-width: 0;
}
.request-dialog legend {
  font-size: 19px;
  font-weight: 700;
  padding: 0 0 16px;
}
.request-dialog label {
  display: block;
  font-size: 14px;
  margin-bottom: 16px;
}
.request-dialog input:not([type=checkbox]), .request-dialog textarea {
  box-sizing: border-box;
  width: 100%;
  margin-top: 7px;
  border: 1px solid #b5c1ba;
  border-radius: 7px;
  padding: 10px 12px;
  font: inherit;
}
.request-dialog .request-consent {
  display: flex;
  gap: 10px;
  align-items: start;
  line-height: 1.5;
}
.request-consent input {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 2px;
}
.request-dialog .request-trap {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
#request-status {
  line-height: 1.5;
}
@media (max-width: 640px) {
  .request-callout {
    align-items: stretch;
    flex-direction: column;
    padding: 20px;
  }
  .request-dialog {
    padding: 20px;
  }
  .request-contact {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .request-images {
    gap: 10px;
  }
}
