/* Customer dimension entry and a shared, browser-local shop drawing schedule. */
.qc-track { border: 1px solid #62666b; border-radius: 12px; padding: 12px; min-width: 0; color: #f5f5f2; }
.qc-track[hidden] { display: none; }
.qc-track h3 { margin: 0 0 9px; font-size: 13px; font-weight: 600; }
.qc-track > div { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.qc-track button { min-height: 42px; border: 1px solid #62666b; border-radius: 7px; padding: 7px; font: inherit; font-size: 13px; background: #282a2d; color: #f5f5f2; cursor: pointer; }
.qc-track button[aria-pressed="true"] { color: #0d0d0f; background: #f5f5f2; border-color: #f5f5f2; font-weight: 600; }
.qc-track button:focus-visible { outline: 2px solid #f5f5f2; outline-offset: 3px; }
.qc-hybrid { border: 1px solid #62666b; border-radius: 12px; padding: 12px; display: grid; gap: 9px; min-width: 0; color: #f5f5f2; }
.qc-hybrid[hidden] { display: none; }
.qc-hybrid h3 { margin: 0; font-size: 13px; font-weight: 600; }
.qc-hybrid-note,.qc-pending { margin: 0; font-size: 11px; color: #c0c4c8; line-height: 1.5; }
.qc-hybrid svg { width: 100%; max-height: 110px; background: rgba(0,0,0,.2); border-radius: 6px; }
.qc-hybrid svg text { fill: #f5f5f2; font: 11px sans-serif; }
.qc-hybrid svg line { stroke: #62666b; stroke-dasharray: 3 3; }
.qc-hybrid svg rect { fill: #aeb3b8; stroke: #f5f5f2; stroke-width: .6; }
.qc-hybrid svg rect.independent { fill: #f5f5f2; }
.qc-hybrid-sliders { display: grid; gap: 9px; }
.qc-hybrid label { display: grid; grid-template-columns: 1fr 40px; font-size: 12px; align-items: center; gap: 3px; }
.qc-hybrid label span { grid-column: 1 / -1; }
.qc-hybrid input { width: 100%; min-width: 0; height: 28px; accent-color: #c0c4c8; cursor: pointer; }
.qc-hybrid output { text-align: right; color: #c0c4c8; }
.qc-hybrid-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.qc-hybrid button { min-height: 38px; border: 1px solid #62666b; border-radius: 7px; background: #282a2d; color: #f5f5f2; font: inherit; font-size: 12px; padding: 6px; cursor: pointer; }
.qc-hybrid button:focus-visible,.qc-hybrid input:focus-visible { outline: 2px solid #f5f5f2; outline-offset: 2px; }
.qc-editor { min-width: 0; border: 1px solid rgba(192,196,200,.22); padding: 12px; border-radius: 12px; background: rgba(245,245,242,.025); display: grid; gap: 8px; color: #f5f5f2; }
.qc-editor h3 { margin: 0; font: inherit; font-size: 13px; font-weight: 600; }
.qc-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.qc-editor label,.qc-cart label { min-width: 0; display: grid; gap: 4px; font-size: 12px; }
.qc-editor input,.qc-cart input { box-sizing: border-box; width: 100%; min-width: 0; min-height: 40px; border: 1px solid #62666b; border-radius: 7px; padding: 7px 10px; background: #0d0d0f; color: #f5f5f2; font: inherit; font-size: 16px; font-variant-numeric: tabular-nums; }
.qc-editor input:focus,.qc-cart input:focus { outline: 2px solid #c0c4c8; outline-offset: 2px; }
.qc-editor input[aria-invalid="true"],.qc-cart input[aria-invalid="true"] { border-color: #e3a59f; }
.qc-editor small,.qc-muted { color: #c0c4c8; font-size: 11px; }
.qc-presets,.qc-actions,.qc-exports,.qc-item-actions { display: flex; flex-wrap: wrap; gap: 7px; }
.qc-editor button,.qc-cart button { border: 1px solid #62666b; color: #f5f5f2; background: #282a2d; min-height: 40px; padding: 7px 13px; font: inherit; font-size: 13px; border-radius: 7px; cursor: pointer; }
.qc-editor button:focus-visible,.qc-cart button:focus-visible { outline: 2px solid #f5f5f2; outline-offset: 2px; }
.qc-editor .qc-primary { background: #f5f5f2; color: #0d0d0f; flex: 1; font-weight: 600; }
.qc-presets button { min-height: 32px; font-size: 11px; padding: 4px 10px; }
.qc-presets [data-full] { margin-left: auto; }
.qc-editor button:disabled,.qc-cart button:disabled { opacity: .45; cursor: not-allowed; }
.qc-error,.qc-status { margin: 0; font-size: 12px; }
.qc-status:empty { display: none; }
.qc-error { color: #efb8b3; }
.qc-summary { overflow-wrap: anywhere; }
.b-size .qc-summary:first-of-type { margin-top: 3px; }
.b-size .qc-summary { font-size: 12px; }
.pl-clear-band { fill: rgba(245,245,242,.24); stroke: none; pointer-events: none; }
.pl-clear-dim { fill: none; stroke: #f5f5f2; stroke-width: 1.5; }
.pl-clear-text { font-weight: 600; font-size: 11.5px; }
.qc-cart { box-sizing: border-box; width: min(760px,calc(100vw - 24px)); max-height: calc(100dvh - 32px); margin: auto; padding: 22px; border: 1px solid #62666b; border-radius: 16px; background: #191b1e; color: #f5f5f2; font-family: var(--sans, sans-serif); overflow: auto; }
.qc-cart::backdrop { background: rgba(0,0,0,.65); backdrop-filter: blur(6px); }
.qc-cart header { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.qc-cart h2 { margin: 4px 0 0; font-size: 22px; }
.qc-cart header small { letter-spacing: .12em; color: #c0c4c8; }
.qc-items { display: grid; gap: 12px; }
.qc-items article { padding: 16px; border: 1px solid #4b4f54; border-radius: 10px; font-size: 13px; line-height: 1.55; }
.qc-items p { margin: 7px 0; }
.qc-item-inputs { display: grid; grid-template-columns: 1fr 80px; gap: 10px; margin: 12px 0; }
.qc-cart footer { border-top: 1px solid #4b4f54; margin-top: 18px; padding-top: 10px; font-size: 12px; color: #c0c4c8; }
.qc-exports button { flex: 1; }
.qc-cart .qc-primary { background: #f5f5f2; color: #0d0d0f; font-weight: 600; }
.qc-exports { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); }
.qc-exports [data-export="pdf"] { grid-column: span 2; }
.qc-email { margin-top: 16px; padding: 16px; border: 1px solid #62666b; border-radius: 10px; }
.qc-email h3 { margin: 0 0 12px; color: #f5f5f2; font-size: 15px; }
.qc-email p { line-height: 1.6; }
.qc-email-actions { display: grid; gap: 8px; }
.qc-email-actions button { white-space: normal; }
.qc-export-status { line-height: 1.6; color: #f5f5f2; overflow-wrap: anywhere; }
.qc-export-status:empty { display: none; }
.qc-cart [data-recipient] { direction: ltr; }
.qc-empty { padding: 25px 0; }
html:not(.is-wide) .b-more { max-height: 35dvh; overflow-y: auto; overscroll-behavior: contain; padding-bottom: 2px; }
html.is-closeup:not(.is-wide) .qc-summary { display: none; }
@media (max-width: 480px) {
  .qc-cart { padding: 16px; }.qc-cart h2 { font-size: 18px; }.qc-editor { padding: 9px; }.qc-summary { font-size: 11px; }
  .qc-email { padding: 12px; }.qc-exports button { padding: 8px; }
  html:not(.is-wide) .b-more { max-height: 22dvh; }
}
/* a phone (2026-11-14): the options sheet scrolls as a whole (css/booth.css), not the editor's own box */
html.is-phone:not(.is-wide) .b-more { max-height: none; overflow: visible; }
