.vq-app { max-width: 920px; margin: 0 auto; color: var(--reseller-ink, #14243b); font-size: 16px; line-height: 1.55; }
.vq-app *, .vq-app *::before, .vq-app *::after { box-sizing: border-box; }
.vq-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.vq-header h1 { margin: 0; font-size: 30px; letter-spacing: -.04em; }
.vq-header p { margin: 5px 0 0; color: #51637c; }
.vq-button { min-height: 44px; border: 1px solid #cbd7e5; border-radius: 9px; background: #fff; color: #12305b; font: inherit; font-size: 14px; font-weight: 650; padding: 10px 16px; cursor: pointer; }
.vq-button:hover { background: #f0f5fc; }
.vq-button:disabled { opacity: .5; cursor: not-allowed; }
.vq-button:focus-visible, .vq-app summary:focus-visible, .vq-app input:focus-visible { outline: 3px solid #2c71e5; outline-offset: 3px; }
.vq-primary { background: #002368; color: #fff; border-color: #002368; }
.vq-primary:hover { background: #001a50; }
.vq-capture-actions { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; }
.vq-capture-actions .vq-primary { min-height: 54px; font-size: 18px; }
.vq-ar-start { display: flex; align-items: center; justify-content: center; min-height: 56px; text-decoration: none; font-size: 19px; margin-bottom: 10px; text-align: center; }
.vq-ar-start[aria-disabled="true"] { opacity: .5; cursor: not-allowed; }
.vq-photo-fallback { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.vq-ar-guide { background: #edf5ff; border: 1px solid #c4d8ed; border-radius: 12px; padding: 16px; margin-top: 16px; font-size: 14px; }
.vq-ar-guide p { margin: 6px 0 0; color: #405875; }
.vq-ar-guide .vq-ar-privacy { margin-top: 12px; font-size: 13px; }
.vq-ar-guide a { color: #064b9e; text-underline-offset: 3px; }
.vq-empty .vq-ar-start { max-width: 460px; margin-inline: auto; }
.vq-empty { border: 1px solid #d6e0ec; border-radius: 16px; background: #fff; padding: 36px 28px; text-align: center; }
.vq-empty-mark { display: inline-grid; width: 60px; height: 60px; place-items: center; border-radius: 50%; background: #edf3ff; color: #002368; font-size: 36px; }
.vq-empty h2 { font-size: 22px; margin: 16px 0 8px; letter-spacing: -.035em; }
.vq-empty p { color: #52647c; margin: 0 0 24px; }
.vq-empty .vq-capture-actions { max-width: 460px; margin: 0 auto; }
.vq-empty small { display: block; margin-top: 16px; font-size: 13px; color: #607087; }
.vq-session-name { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin: 0 0 12px; font-size: 14px; color: #52647c; }
.vq-session-name span { color: #176048; background: #eaf6f0; padding: 2px 8px; border-radius: 5px; font-size: 12px; }
.vq-site-form, .vq-site-info { background: #fff; border: 1px solid #d6e0ec; border-radius: 14px; padding: 20px; margin-bottom: 16px; }
.vq-site-form h2, .vq-site-info h2 { margin: 0; font-size: 21px; overflow-wrap: anywhere; }
.vq-site-form p, .vq-site-info p { margin: 6px 0 14px; color: #52647c; font-size: 14px; overflow-wrap: anywhere; }
.vq-site-form fieldset { padding: 0; border: 0; margin: 0; min-width: 0; }
.vq-site-form label { display: block; margin: 14px 0; font-size: 14px; font-weight: 650; }
.vq-site-form label span { font-weight: 400; color: #607087; }
.vq-site-form input, .vq-site-form textarea { display: block; width: 100%; margin-top: 6px; padding: 11px 12px; border: 1px solid #cbd7e5; border-radius: 8px; font: inherit; font-size: 16px; color: #14243b; background: #fff; }
.vq-site-form textarea { resize: vertical; }
.vq-site-form textarea:focus-visible { outline: 3px solid #2c71e5; outline-offset: 3px; }
.vq-site-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.vq-site-info { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.vq-site-info > div { min-width: 0; }
.vq-site-info > button { flex-shrink: 0; }
.vq-site-info .vq-session-name { margin-top: 0; }
.vq-site-notes { white-space: pre-wrap; }
.vq-history-items small { display: block; color: #607087; font-weight: 400; margin-top: 4px; }
.vq-windows { display: grid; gap: 14px; }
.vq-window { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 22px; background: #fff; border: 1px solid #d6e0ec; border-radius: 14px; padding: 18px; }
.vq-window > img, .vq-photo-missing { width: 150px; height: 160px; object-fit: contain; background: #f1f4f8; border-radius: 8px; }
.vq-photo-missing { display: grid; place-items: center; font-size: 13px; }
.vq-window-body { min-width: 0; }
.vq-window-title { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 6px; }
.vq-window h2 { font-size: 20px; margin: 0; }
.vq-status { color: #8a4b08; background: #fff4df; border-radius: 5px; font-size: 12px; padding: 3px 8px; }
.vq-status.is-estimated { color: #1646a0; background: #eaf1ff; }
.vq-dimensions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 18px 0 8px; }
.vq-dimensions dt { font-size: 13px; color: #52647c; }
.vq-dimensions dd { margin: 2px 0 0; font-size: 23px; font-weight: 750; overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
.vq-dimensions small { font-size: 13px; font-weight: 450; margin-left: 4px; color: #52647c; }
.vq-window-actions { display: flex; justify-content: flex-end; gap: 8px; }
.vq-window-actions .vq-button { border: 0; min-height: 36px; padding: 4px 8px; font-size: 13px; }
.vq-unknown { color: #695027; font-size: 14px; overflow-wrap: anywhere; }
.vq-notice, .vq-progress, .vq-recovery { background: #edf4ff; border: 1px solid #bfd0ef; padding: 12px 16px; border-radius: 9px; font-size: 14px; overflow-wrap: anywhere; }
.vq-error { color: #813b09; background: #fff7e7; border-color: #edcf9a; }
.vq-progress { color: #173d80; }
.vq-history { border: 1px solid #d6e0ec; background: #fff; border-radius: 10px; margin-top: 16px; }
.vq-app summary { padding: 14px 16px; cursor: pointer; font-size: 14px; }
.vq-app summary span { float: right; color: #61728a; font-size: 12px; margin-left: 10px; }
.vq-history-items { display: grid; gap: 8px; padding: 0 16px 16px; }
.vq-history-items .vq-button { text-align: left; overflow-wrap: anywhere; }
.vq-history-items [aria-current="true"] { background: #edf3ff; border-color: #92aee1; }
.vq-total { margin-top: 18px; padding: 20px; border-radius: 14px; border: 1px solid #99afd2; background: #f8fbff; box-shadow: 0 8px 25px #12264214; }
.vq-total-title { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 6px 12px; }
.vq-total-title h2 { font-size: 16px; margin: 0; }
.vq-total-title > span { font-size: 13px; color: #52647c; }
.vq-total-amount { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; margin: 4px 0; }
.vq-total-amount strong { color: #002368; font-size: 32px; font-weight: 800; letter-spacing: -.03em; overflow-wrap: anywhere; }
.vq-total-amount > span { color: #52647c; font-size: 13px; }
.vq-calculation { font-size: 14px; margin: 4px 0 14px; color: #405875; }
.vq-total-warning { color: #87500b; font-size: 13px; margin: 8px 0 12px; }
.vq-disclaimer { font-size: 13px; color: #607087; margin: 18px 0; }
@media (max-width: 600px) {
  .reseller-nav { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .reseller-nav button { font-size: 14px; padding-inline: 6px; }
  .vq-header { gap: 10px; margin-bottom: 16px; }
  .vq-header h1 { font-size: 26px; }
  .vq-header p { font-size: 14px; }
  .vq-header > .vq-button { padding: 8px 12px; white-space: nowrap; }
  .vq-site-form, .vq-site-info { padding: 16px; }
  .vq-site-info { flex-direction: column; }
  .vq-empty { padding: 26px 16px; }
  .vq-empty h2 { font-size: 20px; }
  .vq-empty p { font-size: 14px; }
  .vq-window { grid-template-columns: 86px minmax(0, 1fr); padding: 12px; gap: 12px; }
  .vq-window > img, .vq-photo-missing { width: 86px; height: 120px; }
  .vq-window h2 { font-size: 18px; }
  .vq-dimensions { gap: 6px; margin-top: 12px; }
  .vq-dimensions dd { font-size: 19px; }
  .vq-dimensions small { display: block; margin-left: 0; font-size: 12px; }
  .vq-status { font-size: 12px; padding: 2px 5px; }
  .vq-total { padding: 15px; }
  .vq-total-amount strong { font-size: 28px; }
  .vq-capture-actions { gap: 8px; }
}
@media print { .vq-total { position: static; box-shadow: none; } .vq-capture-actions, .vq-history, .vq-window-actions { display: none; } }
