/* AIR constructor — compact controls, shared light/dark tokens. */
.abw{--blue:var(--air-accent,#2856ed);--line:var(--air-line,#d5dce7);--surface:var(--air-surface,#fff);--soft:var(--air-soft,#eceff5);--ink:var(--air-ink,#101e3b);--muted:var(--air-muted,#5c687e);color:var(--ink);background:var(--surface);border:1px solid var(--line);border-radius:20px;padding:24px;font-family:Arial,Helvetica,sans-serif}.abw *{box-sizing:border-box}.abw [hidden]{display:none!important}.abw-heading{display:flex;align-items:center;justify-content:space-between;gap:16px}.abw h3{font-size:24px;margin:6px 0 10px}.abw-kicker{font-size:10px;color:var(--air-link,var(--blue));letter-spacing:.16em;font-weight:bold}.abw-badge{font-size:11px;background:var(--soft);padding:8px 12px;border-radius:20px;white-space:nowrap}.abw-intro{font-size:13px;color:var(--muted);margin-bottom:22px}.abw-layout{display:grid;grid-template-columns:300px minmax(0,1fr);gap:22px;align-items:start}.abw-panel{min-width:0;background:var(--soft);border-radius:12px;padding:12px}.abw-config-tabs{display:grid;grid-template-columns:1fr 1fr;gap:4px;margin-bottom:12px}.abw button{font:inherit;font-size:12px;min-height:44px;padding:10px 12px;border:1px solid var(--line);border-radius:7px;color:var(--ink);background:var(--surface);cursor:pointer;transition:background .2s,border-color .2s}.abw button:hover{border-color:var(--air-link,var(--blue))}.abw button:disabled{opacity:.5;cursor:not-allowed}.abw-config-tabs [aria-selected=true]{background:var(--blue);color:white;border-color:var(--blue)}.abw fieldset{min-width:0;margin:0;padding:12px 6px;border:0;max-height:610px;overflow:auto;scrollbar-width:thin;scrollbar-color:var(--line) transparent}.abw legend{font-size:12px;font-weight:bold;margin-bottom:14px}.abw label{display:block;font-size:12px;margin-bottom:12px}.abw input:not([type=checkbox]),.abw select,.abw textarea{display:block;width:100%;min-width:0;margin-top:5px;min-height:42px;padding:9px;border:1px solid var(--line);border-radius:6px;background:var(--surface);color:var(--ink);font:inherit;font-size:13px}.abw input[type=color]{padding:3px}.abw input[type=range]{padding:0;accent-color:var(--blue)}.abw input[type=file]{font-size:11px;overflow:hidden}.abw input[type=checkbox]{accent-color:var(--blue);width:18px;height:18px;flex:none}.abw small,.abw output{display:block;font-size:11px;line-height:1.6;color:var(--muted)}.abw-dimensions{display:grid;grid-template-columns:1fr 1fr;gap:0 10px}.abw-check{display:flex!important;align-items:flex-start;gap:8px}.abw-add,.abw-cover-actions{display:flex;flex-wrap:wrap;gap:6px;margin:10px 0}.abw-add button{flex:1}.abw-cover{border-bottom:1px solid var(--line);padding-bottom:10px;margin-bottom:12px}.abw-cover label{display:flex;align-items:center;gap:8px}.abw-workspace{min-width:0;position:static;max-height:none;overflow:visible}.abw-toolbar{display:flex;gap:4px;flex-wrap:wrap;background:var(--soft);padding:8px;border-radius:12px 12px 0 0}.abw-toolbar button{min-height:38px;padding:8px 12px}.abw-stage{height:420px;position:relative;overflow:hidden;isolation:isolate;background:var(--soft)}.abw-stage canvas{display:block;width:100%;height:100%;touch-action:none}.abw-stage>p{padding:24px}.abw-caption{display:flex;justify-content:space-between;gap:10px;background:var(--soft);padding:10px 12px;border-radius:0 0 12px 12px;color:var(--muted);font-size:10px}.abw-caption span:first-child{font-weight:bold;white-space:nowrap}.abw-status{font-size:12px;color:var(--muted);margin:10px 0;min-height:18px}.abw-totals{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;padding:14px 0;border-block:1px solid var(--line)}.abw-totals span{font-size:10px;color:var(--muted);display:block}.abw-totals strong{font-size:22px;display:block}.abw-quote{position:relative;margin:16px 0;padding:20px;background:var(--soft);border-radius:12px;display:grid;grid-template-columns:1fr 1fr;column-gap:24px}.abw-quote>span{font-size:11px;color:var(--muted)}.abw-quote>strong{font-size:30px;grid-column:1;line-height:1.4}.abw-quote>p{font-size:12px;grid-column:1;margin:0}.abw-quote>small{grid-column:1}.abw-quote>label{grid-column:2;grid-row:1/3}.abw-quote>.abw-add{grid-column:2;grid-row:3/5;align-self:start;margin:0}.abw-quote [data-save-status]{grid-column:1/-1;margin-top:10px}.abw [data-request-save],.abw [data-request-next],.abw-request button[type=submit]{background:var(--blue);color:#fff;border-color:var(--blue);font-weight:bold}.abw-bom{font-size:12px;margin:12px 0}.abw-bom summary{cursor:pointer;min-height:36px}.abw-bom>div{max-height:260px;overflow:auto}.abw-bom table{width:100%;border-collapse:collapse}.abw-bom th,.abw-bom td{padding:8px;border-bottom:1px solid var(--line);text-align:left}.abw-bottom{display:flex;gap:8px;flex-wrap:wrap}.abw-footnote{color:var(--muted);font-size:11px;margin:18px 0 0}.abw [data-unfold]{width:100%;height:auto;display:block}.abw [data-unfold-row]{margin:14px 0}.abw [data-unfold-order]{overflow-wrap:anywhere}.abw :focus-visible{outline:3px solid var(--air-link,var(--blue));outline-offset:3px}.abw-request-fab{position:fixed;left:24px;bottom:24px;z-index:50;min-height:52px!important;padding:12px 20px!important;border-radius:30px!important;background:var(--blue)!important;color:#fff!important;border:0!important;box-shadow:0 6px 25px #10255240}.abw-request-fab span{display:inline-grid;place-items:center;min-width:24px;height:24px;background:white;color:#2345ad;border-radius:50%;margin-left:12px}.abw-request{position:fixed;inset:0 auto 0 0;margin:0;width:min(480px,100%);height:100dvh;max-height:100dvh;max-width:100%;border:0;border-radius:0;padding:0 24px 24px;background:var(--surface);color:var(--ink);overflow-y:auto;overscroll-behavior:contain;box-shadow:20px 0 80px #0003}.abw-request[open]{animation:abw-slide .28s ease-out}.abw-request::backdrop{background:#08152b88;backdrop-filter:blur(3px)}.abw-request-head{display:flex;align-items:center;gap:14px;position:sticky;top:0;margin:0 -24px 20px;padding:22px 24px;background:#10264f;color:white;z-index:2}.abw-request-head>div{flex:1}.abw-request-head h3{font-size:24px;margin:0 0 5px}.abw-request-head small{color:#bacbef}.abw-request-head button{border-color:#ffffff40;background:#ffffff10;color:#fff;min-width:44px;font-size:24px}.abw-request-item{display:flex;gap:14px;padding:20px 0;border-bottom:1px solid var(--line)}.abw-request-item>img{width:105px;height:100px;object-fit:contain;background:var(--soft);border-radius:8px;flex:none}.abw-request-item>div{min-width:0;flex:1}.abw-request h4{font-size:15px;margin:0 0 8px;overflow-wrap:anywhere}.abw-request-item p{font-size:11px;line-height:1.6;color:var(--muted);margin:0 0 8px}.abw-request-item strong{font-size:18px}.abw-request-item .abw-add{margin-bottom:0;gap:4px}.abw-request-item .abw-add button{font-size:11px;padding:6px;min-height:36px}.abw-request [data-request-total]{font-size:23px;font-weight:700;margin:22px 0}.abw-request-actions{position:sticky;bottom:0;display:grid;grid-template-columns:1fr 1fr;gap:10px;background:var(--surface);padding:16px 0;border-top:1px solid var(--line);z-index:1}.abw-request-actions [data-request-next]{grid-column:1/-1;grid-row:1;min-height:50px}.abw-request form button[type=submit]{width:100%;min-height:50px}.abw-request form p{font-size:12px;color:var(--muted)}.abw-request [data-request-last]{margin-top:20px;border-top:1px solid var(--line);padding-top:16px;font-size:12px}.abw-request [data-request-last] button{margin:4px 4px 4px 0}.abw-request [data-request-message]:not(:empty){padding:12px;background:var(--soft);border-radius:6px;font-size:13px}.abw-request p{overflow-wrap:anywhere}#air-print-root{display:none}@keyframes abw-slide{from{transform:translateX(-100%)}to{transform:translateX(0)}}

@media(max-width:1050px){.abw-layout{grid-template-columns:250px minmax(0,1fr)}.abw{padding:18px}.abw-quote{display:block}.abw-quote>strong{display:block}.abw-quote>label{margin-top:12px}.abw-quote>.abw-add{margin-top:10px}.abw-caption{flex-direction:column}.abw-stage{height:380px}}
@media(max-width:767px){.abw{padding:14px;border-radius:14px}.abw-layout{display:flex;flex-direction:column;gap:16px}.abw-panel,.abw-workspace{width:100%}.abw-panel{order:0}.abw-workspace{order:1}.abw fieldset{max-height:350px}.abw-config-tabs{grid-template-columns:repeat(4,1fr)}.abw-config-tabs button{padding:8px 4px;font-size:11px}.abw-heading{align-items:flex-start}.abw-badge{display:none}.abw h3{font-size:21px}.abw-stage{height:340px}.abw-totals strong{font-size:19px}.abw-request-fab{left:12px;bottom:12px}.abw-request{padding-inline:18px}.abw-request-head{margin-inline:-18px;padding-inline:18px}.abw-request-item>img{width:85px}.abw-toolbar button{flex:1}.abw-quote{padding:16px}}
@media(prefers-reduced-motion:reduce){.abw *{animation:none!important;transition:none!important}}
@media print{@page{size:A4;margin:14mm}body.air-printing> *{display:none!important}body.air-printing>#air-print-root{display:block!important;color:#111;font:11pt Arial;background:#fff}#air-print-root header{display:flex;justify-content:space-between;border-bottom:1px solid #aaa;padding-bottom:8mm}#air-print-root section{break-before:page}#air-print-root section img{width:100%;max-height:90mm;object-fit:contain}#air-print-root p,#air-print-root li{overflow-wrap:anywhere}#air-print-root .note{white-space:pre-wrap}#air-print-root footer{margin-top:10mm;font-size:9pt}dialog{display:none!important}}

/* Put the estimate beside the scene when the available width allows it. */
.abw-panel{grid-column:1;grid-row:1/3}.abw-workspace{grid-column:2;grid-row:1}.abw-layout>.abw-quote{grid-column:2;grid-row:2;margin:0}.abw fieldset{max-height:480px}
@media(min-width:1300px){.abw-layout{grid-template-columns:250px minmax(0,1fr) 220px;gap:18px}.abw-panel{grid-row:1}.abw-layout>.abw-quote{grid-column:3;grid-row:1;display:block;padding:18px}.abw-quote>strong{display:block;font-size:28px;overflow-wrap:anywhere}.abw-quote>label{margin-top:22px}.abw-quote>.abw-add{margin-top:14px}.abw-quote>.abw-add button{flex-basis:100%}.abw-stage{height:360px}.abw-caption{flex-direction:column}.abw-totals strong{font-size:20px}}
@media(max-width:767px){.abw-layout>.abw-quote{order:2;width:100%}.abw fieldset{max-height:350px}}
@media screen{html:has(.abw-request[open]){overflow:hidden}}

.abw-help{font-size:12px;margin-top:16px}.abw-help summary{cursor:pointer;min-height:44px;color:var(--air-link,var(--blue))}.abw-help small{margin-bottom:10px}.abw-request [data-request-form-message]:not(:empty){padding:12px;background:var(--soft);border-radius:6px}

.abw-request-fab{left:auto!important;right:24px;bottom:max(24px,env(safe-area-inset-bottom))}.abw-edit-tools{display:flex;gap:6px;padding:8px;background:var(--soft);border-bottom:1px solid var(--line);border-radius:12px 12px 0 0}.abw-edit-tools button{flex:1}.abw-edit-tools [aria-pressed=true]{color:white;background:var(--blue);border-color:var(--blue)}.abw-stage canvas[data-edit-mode=parts],.abw-stage canvas[data-edit-mode=artwork]{cursor:grab}.abw-stage canvas.is-dragging{cursor:grabbing}.abw-toolbar{border-radius:0}.abw-segments{display:flex;gap:8px;margin:12px 0 20px}.abw-segments label{position:relative;flex:1;margin:0;cursor:pointer}.abw-segments input[type=radio]{position:absolute;opacity:0;width:1px;height:1px;min-height:0;padding:0;margin:0}.abw-segments span{display:grid;place-items:center;min-height:44px;padding:8px;border:1px solid var(--line);border-radius:8px;font-size:13px}.abw-segments input:checked+span{color:#fff;background:var(--blue);border-color:var(--blue)}.abw-segments input:focus-visible+span{outline:3px solid var(--air-link,var(--blue));outline-offset:3px}.abw-request-item .abw-add button{min-height:44px}.abw-saved{margin:24px 0;font-size:12px}.abw-saved summary{cursor:pointer;min-height:44px}.abw-request [data-request-last]{margin:0;border:0;padding:0}.abw-request-item p{max-height:5.2em;overflow:auto}.abw-editor-open{overflow:hidden}.abw-fullscreen{position:fixed!important;inset:0!important;z-index:99999;width:100%!important;height:100dvh!important;max-width:none!important;margin:0!important;border:0!important;border-radius:0!important;padding:16px!important;display:flex;flex-direction:column;overflow:auto;overscroll-behavior:contain}.abw-fullscreen::backdrop{background:var(--surface)}.abw-fullscreen .abw-intro,.abw-fullscreen>.abw-footnote,.abw-fullscreen .abw-badge{display:none}.abw-fullscreen .abw-heading{flex:none;margin-bottom:10px}.abw-fullscreen .abw-heading h3{font-size:18px}.abw-fullscreen .abw-layout{flex:1;min-height:0;grid-template-columns:280px minmax(0,1fr) 230px;grid-template-rows:minmax(0,1fr);gap:12px}.abw-fullscreen .abw-panel{grid-column:1;grid-row:1;max-height:100%;display:flex;flex-direction:column}.abw-fullscreen fieldset{max-height:none;overflow:auto;min-height:0}.abw-fullscreen .abw-workspace{grid-column:2;grid-row:1;height:100%;min-height:0;display:flex;flex-direction:column}.abw-fullscreen .abw-stage{height:auto;min-height:180px;flex:1}.abw-fullscreen .abw-quote{grid-column:3;grid-row:1;display:block;max-height:100%;overflow:auto;padding:16px}.abw-fullscreen .abw-quote>strong{display:block;font-size:26px}.abw-fullscreen .abw-quote>label{margin-top:20px}.abw-fullscreen .abw-quote>.abw-add{margin-top:12px}.abw-fullscreen .abw-totals{padding:8px 0}.abw-fullscreen .abw-totals strong{font-size:16px}.abw-fullscreen .abw-bom{max-height:20vh;overflow:auto;margin:4px 0}.abw-fullscreen .abw-bottom{padding-right:0}.abw-fullscreen .abw-request-fab{right:20px;bottom:20px}.abw-fullscreen .abw-quote{padding-bottom:80px}.abw-fullscreen .abw-caption span:last-child{display:none}
@media(max-width:1100px){.abw-fullscreen .abw-layout{grid-template-columns:250px minmax(0,1fr);grid-template-rows:minmax(0,1fr) auto}.abw-fullscreen .abw-panel{grid-row:1/3}.abw-fullscreen .abw-quote{grid-column:2;grid-row:2;max-height:180px;padding-bottom:16px}.abw-fullscreen .abw-quote>small{display:none}.abw-fullscreen .abw-quote>label{margin:8px 0}.abw-fullscreen .abw-quote>.abw-add{padding-right:120px}.abw-fullscreen .abw-totals,.abw-fullscreen .abw-bottom,.abw-fullscreen .abw-bom{display:none}}
@media(max-width:767px){.abw-request-fab{right:12px;bottom:max(12px,env(safe-area-inset-bottom))}.abw-heading [data-editor-fullscreen]{max-width:125px}.abw-fullscreen{padding:10px!important}.abw-fullscreen .abw-layout{display:flex;overflow:auto;min-height:0;gap:10px}.abw-fullscreen .abw-workspace{order:0;flex:none;height:48dvh;min-height:300px}.abw-fullscreen .abw-panel{order:1;flex:none;max-height:none}.abw-fullscreen fieldset{max-height:230px}.abw-fullscreen .abw-quote{order:2;flex:none;width:100%;max-height:none;padding-bottom:80px}.abw-fullscreen .abw-quote>.abw-add{padding-right:0}.abw-fullscreen .abw-heading h3{font-size:15px}.abw-fullscreen .abw-status{font-size:11px;margin:5px 0}.abw-ways{gap:5px}.abw-ways span{padding:7px 5px;font-size:12px}}

@media(min-width:768px){.abw-fullscreen .abw-layout{align-items:stretch}.abw-fullscreen .abw-panel{height:100%;min-height:0}.abw-fullscreen .abw-config-tabs{flex:none}.abw-fullscreen fieldset{flex:1}}

/* Guided editor: one settings column and a wide scene, estimate below. */
.abw .abw-layout{grid-template-columns:280px minmax(0,1fr);grid-template-rows:auto;gap:18px}.abw .abw-panel{grid-row:1;grid-column:1}.abw .abw-workspace{grid-row:1;grid-column:2}.abw-heading-actions{display:flex;gap:8px;align-items:center}.abw .abw-config-tabs{grid-template-columns:1fr 1fr}.abw-config-tabs [data-config-tab="4"]{grid-column:1/-1;background:transparent}.abw .abw-stage{height:480px}.abw .abw-quote{display:grid;grid-template-columns:minmax(180px,1fr) minmax(180px,1.1fr) minmax(170px,1fr);gap:10px 18px;margin:16px 0 0;padding:16px;align-items:center}.abw .abw-quote>*{grid-column:auto;grid-row:auto;margin:0}.abw-price-summary span{display:block;font-size:11px;color:var(--muted)}.abw-price-summary strong{display:block;font-size:clamp(19px,2vw,27px);line-height:1.2;overflow-wrap:normal;word-break:normal}.abw-price-summary p{font-size:12px;margin:6px 0 0}.abw .abw-quote>label{grid-column:2;grid-row:1;margin:0}.abw .abw-quote>.abw-add{grid-column:3;grid-row:1;margin:0}.abw .abw-quote [data-save-status]{grid-row:2;grid-column:2/-1;font-size:12px;margin:0}.abw .abw-price-details{grid-column:1;grid-row:2;font-size:11px}.abw-price-details summary{cursor:pointer}.abw .abw-quote>.abw-add button{flex-basis:100%}.abw-guide{border-top:1px solid var(--line);padding-top:10px;flex:none}.abw-guide p{font-size:12px;line-height:1.45;color:var(--muted);margin:0 0 10px}.abw-guide>div{display:flex;gap:8px}.abw-guide button{flex:1}.abw [data-guide-next],.abw [data-guide-save]{background:var(--blue);color:#fff}.abw [data-review-summary]{white-space:pre-line;font-size:13px;line-height:1.85;padding:10px 0 20px}.abw-optimal{width:100%;margin-bottom:8px}.abw .abw-fullscreen{border-radius:0}.abw.abw-fullscreen .abw-layout{grid-template-columns:280px minmax(0,1fr);grid-template-rows:minmax(0,1fr)}.abw-fullscreen .abw-panel{grid-row:1}.abw-fullscreen .abw-stage{height:auto;min-height:160px}.abw-fullscreen .abw-quote{max-height:none;overflow:visible;padding:12px;margin-top:10px;flex:none}.abw-fullscreen .abw-price-summary strong{font-size:24px}.abw-fullscreen .abw-request-fab{bottom:16px;right:16px}.abw-fullscreen .abw-workspace{padding-bottom:62px}.abw-fullscreen .abw-quote>small{display:none}.abw-fullscreen .abw-quote>.abw-add{padding-right:0}.abw [data-config-panel] p{font-size:13px}
@media(max-width:1100px){.abw .abw-layout{grid-template-columns:250px minmax(0,1fr)}.abw .abw-quote{grid-template-columns:1fr 1fr}.abw .abw-quote>label{grid-column:1;grid-row:2}.abw .abw-quote>.abw-add{grid-column:2;grid-row:2}.abw .abw-price-details{grid-column:2;grid-row:1}.abw .abw-quote [data-save-status]{grid-column:1/-1;grid-row:3}.abw-fullscreen .abw-workspace{grid-row:1}.abw-fullscreen .abw-quote{max-height:none}}
@media(max-width:767px){.abw .abw-layout{display:flex}.abw .abw-stage{height:340px}.abw .abw-config-tabs{grid-template-columns:1fr 1fr}.abw .abw-quote{display:grid;width:100%;padding:12px}.abw .abw-quote>.abw-add{grid-column:1/-1;grid-row:3}.abw .abw-quote>label{grid-column:1/-1;grid-row:2}.abw .abw-quote [data-save-status]{grid-row:4}.abw .abw-price-details{grid-column:2}.abw-heading{align-items:flex-start}.abw-heading-actions{flex-direction:column-reverse;align-items:stretch;max-width:130px}.abw-heading-actions button{font-size:11px}.abw-fullscreen .abw-stage{height:auto;min-height:200px}.abw-fullscreen .abw-workspace{height:auto;min-height:55dvh;padding-bottom:0}.abw-fullscreen .abw-panel{padding-bottom:70px}.abw-fullscreen .abw-quote{padding-bottom:12px}.abw-fullscreen .abw-heading h3{max-width:180px}.abw-fullscreen .abw-bom,.abw-fullscreen .abw-totals{display:none}}

@media print{@page{size:A4;margin:0}html:has(body.air-printing),body.air-printing{margin:0!important;padding:0!important;width:210mm!important;background:white!important;overflow:visible!important;height:auto!important}#air-print-root .air-print-sheet{width:210mm;height:297mm;margin:0;padding:0;break-inside:avoid;break-after:page}#air-print-root .air-print-sheet:last-child{break-after:auto}#air-print-root .air-print-sheet img{display:block;width:210mm;height:297mm;max-width:none;max-height:none;margin:0}}

.abw .abw-panel .abw-bom{max-height:none;overflow:visible}.abw .abw-panel .abw-totals{display:grid}.abw .abw-panel .abw-bom{display:block}.abw .abw-panel .abw-totals{grid-template-columns:1fr;gap:8px}.abw .abw-panel .abw-totals strong{font-size:16px}.abw-config-tabs [data-config-tab="4"][aria-selected=true]{background:var(--blue);color:#fff}

/* Standard frame editor and right-hand request drawer. */
.abw-display-tools{display:flex;align-items:center;gap:16px;flex-wrap:wrap;padding:8px 12px;background:var(--soft);border-top:1px solid var(--line);flex:none}.abw .abw-display-tools label{display:flex;align-items:center;gap:7px;margin:0;font-size:11px}.abw .abw-display-tools input[type=color]{width:32px;height:30px;min-height:30px;padding:2px;margin:0}.abw .abw-display-tools .abw-check{align-items:center}.abw-display-tools input[type=checkbox]{margin:0}.abw .abw-request{inset:0 0 0 auto;box-shadow:-20px 0 80px #0003}.abw-request[open]{animation:abw-slide-right .25s ease-out}@keyframes abw-slide-right{from{transform:translateX(100%)}to{transform:translateX(0)}}.abw-request-item{position:relative;padding-right:42px}.abw .abw-icon-button{flex:none;width:44px;height:44px;display:inline-grid;place-items:center;padding:10px!important}.abw-icon-button svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.abw .abw-item-remove{position:absolute;right:0;top:12px;border-color:transparent;background:transparent}.abw .abw-request-item .abw-add{gap:8px}.abw .abw-request .abw-print-choice{max-height:none;overflow:visible;padding:0;margin:22px 0}.abw-print-choice legend{margin:0 0 10px}.abw-print-choice a{font-size:12px;color:var(--air-link,var(--blue))}.abw .abw-print-choice p{font-size:12px}.abw-print-file{display:flex;align-items:center;gap:8px;margin:8px 0;font-size:12px}.abw-print-file span{flex:1;overflow-wrap:anywhere}.abw-print-file button{flex:none}.abw-document-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:12px 0}.abw [data-request-confirm]{width:100%;background:var(--blue);color:white}.abw [data-request-documents]{margin-top:16px}.abw .abw-request-actions [data-request-next]{grid-column:1/-1}.abw [data-review-summary]{padding-bottom:10px}.abw-fullscreen .abw-display-tools{padding-block:5px}
@media(prefers-reduced-motion:reduce){.abw-request[open]{animation:none}}@media(max-width:767px){.abw-display-tools{gap:10px;padding:8px}.abw .abw-display-tools label{font-size:10px}.abw .abw-request-item{padding-right:38px}}

.abw .abw-toolbar{align-items:center}.abw .abw-display-tools{border:0;padding:0 4px;gap:10px;margin-left:auto}.abw-fullscreen .abw-workspace{padding-bottom:0}.abw-fullscreen .abw-request-fab{position:static;box-shadow:none;min-height:44px!important;padding:8px 14px!important;white-space:nowrap}.abw-fullscreen .abw-heading-actions{max-width:none}.abw-fullscreen .abw-quote{margin-bottom:0}@media(max-width:767px){.abw-fullscreen .abw-request-fab{position:fixed;right:12px;bottom:12px}.abw-fullscreen .abw-heading-actions{max-width:130px}.abw .abw-display-tools{margin-left:0;width:100%;padding-block:4px}.abw-fullscreen .abw-panel{padding-bottom:70px}}

/* Dimension preferences and an aligned primary action, including edit/copy mode. */
.abw .abw-display-tools select{width:auto;min-height:34px;margin:0;padding:5px;font-size:11px}.abw .abw-quote>label{align-self:start;line-height:18px}.abw .abw-quote>label input{height:44px}.abw .abw-quote>.abw-add{align-self:start;padding-top:23px}
@media(min-width:768px){.abw:not(.abw-fullscreen) .abw-stage{height:540px}}
@media(max-width:767px){.abw .abw-quote>.abw-add{padding-top:0}.abw .abw-display-tools{gap:8px}}

/* Mobile: a single scroll surface, scene first and direct return controls. */
.abw .abw-mobile-jump{display:none}
@media(max-width:1050px){
.abw{padding:12px}.abw .abw-layout,.abw-fullscreen .abw-layout{display:flex;flex-direction:column;overflow:visible;flex:none;gap:10px;min-height:auto}.abw .abw-workspace,.abw-fullscreen .abw-workspace{display:contents}.abw .abw-edit-tools{order:0;width:100%;gap:8px}.abw .abw-toolbar{order:1;width:100%;gap:8px;padding:8px}.abw .abw-toolbar>button{flex:1 0 44px;min-height:44px;padding:8px}.abw .abw-stage,.abw-fullscreen .abw-stage{order:2;width:100%;height:clamp(260px,45dvh,380px);min-height:260px;flex:none}.abw .abw-caption{order:3;width:100%}.abw [data-show-settings]{order:4;width:100%}.abw [data-status]{order:5;margin:0}.abw .abw-panel,.abw-fullscreen .abw-panel{order:6;width:100%;height:auto;max-height:none;padding-bottom:12px;flex:none}.abw .abw-quote,.abw-fullscreen .abw-quote{order:7;width:100%;max-height:none;overflow:visible;margin:0 0 65px}.abw fieldset,.abw-fullscreen fieldset{max-height:none;overflow:visible;flex:none}.abw .abw-mobile-jump{display:block;background:var(--surface);color:var(--air-link,var(--blue));min-height:44px}.abw .abw-guide>[data-show-model]{width:100%;margin-bottom:8px}.abw .abw-config-tabs{gap:8px}.abw .abw-display-tools{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:0;padding:8px 0 0;border-top:1px solid var(--line)}.abw .abw-display-tools label{font-size:12px;min-height:44px;gap:8px}.abw .abw-display-tools input[type=color]{width:44px;min-width:44px;height:44px}.abw .abw-display-tools select{min-height:44px;font-size:16px}.abw input:not([type=checkbox]):not([type=radio]),.abw select,.abw textarea{font-size:16px;min-height:44px}.abw input[type=file]{font-size:12px;width:100%;padding:8px 4px}.abw input[type=file]::file-selector-button{min-height:36px;max-width:100%;margin-right:5px}.abw .abw-heading{flex-wrap:wrap}.abw .abw-heading-actions{flex-direction:row;max-width:none;width:100%}.abw .abw-heading-actions>button{flex:1;max-width:none}.abw-fullscreen .abw-heading{margin-bottom:10px}.abw-fullscreen .abw-heading h3{max-width:none}.abw-fullscreen .abw-heading-actions{max-width:none}.abw-fullscreen .abw-heading-actions .abw-request-fab{flex:none;width:auto}.abw .abw-caption span:first-child{white-space:normal}.abw .abw-request-item>img{width:65px;height:75px}.abw .abw-request-item{gap:10px}.abw .abw-request .abw-ways{display:grid;grid-template-columns:1fr 1fr;gap:8px}.abw .abw-bom>div{max-height:none}.abw-fullscreen{padding-bottom:max(16px,env(safe-area-inset-bottom))!important}
}

@media(max-width:1050px){.abw .abw-dimensions>label{display:flex;flex-direction:column;justify-content:space-between}.abw .abw-quote{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.abw .abw-quote>label{grid-column:1/-1;grid-row:2}.abw .abw-quote>.abw-add{grid-column:1/-1;grid-row:3;padding-top:0}.abw .abw-quote [data-save-status]{grid-row:4;grid-column:1/-1}.abw .abw-price-details{grid-column:2}.abw-fullscreen .abw-stage{flex:none}.abw .abw-quote>*{min-width:0}.abw-fullscreen .abw-heading-actions .abw-request-fab{position:fixed;right:12px;bottom:12px;width:auto;flex:none}}

@media(max-width:1050px){.abw .abw-toolbar>[data-zoom]{flex:0 0 44px}.abw [data-add-side]{width:100%}.abw .abw-request-fab,.abw-fullscreen .abw-request-fab{font-size:0!important;padding:8px 10px!important;min-height:44px!important}.abw-request-fab::before{content:'';display:inline-block;width:18px;height:20px;border:1.5px solid currentColor;border-radius:3px;vertical-align:middle;background:linear-gradient(currentColor,currentColor) 3px 5px/10px 1px no-repeat,linear-gradient(currentColor,currentColor) 3px 10px/10px 1px no-repeat}.abw-request-fab span{font-size:12px;margin-left:7px}.abw input[type=file]:not([type=checkbox]):not([type=radio]){font-size:12px}.abw .abw-dimensions>label input{margin-top:auto}}
@media(pointer:coarse){.abw input:not([type=checkbox]):not([type=radio]),.abw select,.abw textarea{font-size:16px;min-height:44px}}

@media(max-width:1050px){.abw .abw-quote{display:flex;flex-direction:column;align-items:stretch;gap:12px}.abw .abw-quote .abw-price-summary{order:0}.abw .abw-quote .abw-price-details{order:1}.abw .abw-quote>label{order:2;align-self:stretch}.abw .abw-quote>.abw-add{order:3;align-self:stretch}.abw .abw-quote [data-save-status]{order:4}.abw .abw-price-summary span{white-space:nowrap}.abw .abw-quote>.abw-add button{flex:1}}
@media(pointer:coarse){.abw-caption span:last-child{display:none}}

/* 0.15.0: phones — no outer card around the editor and tighter nested paddings, so fields use the screen width. */
@media(max-width:767px){.abw{padding:0;border:0;border-radius:0;background:transparent}.abw .abw-panel{padding:10px;border-radius:12px}.abw fieldset{padding:10px 4px}.abw .abw-heading{margin-bottom:8px}.abw .abw-intro{margin-bottom:12px}.abw .abw-quote{padding:12px}}
/* 0.15.1: fullscreen always has its own opaque background (the phone rule above makes the inline editor transparent). */
.abw.abw-fullscreen{background:var(--surface)!important}
@media(max-width:767px){.abw.abw-fullscreen{padding:10px!important}}
/* 0.16.0: the request button stands out on light, dark and navy sections — brass fill, navy counter, soft halo pulse. */
.abw-request-fab{background:var(--air-brass,#caa977)!important;color:var(--air-on-brass,#1d1406)!important;font-weight:700!important;box-shadow:0 0 0 3px rgba(10,38,88,.9),0 0 0 6px rgba(202,169,119,.45),0 14px 34px -8px rgba(5,14,34,.55)!important;animation:abw-fab-halo 3.2s ease-in-out infinite}
.abw-request-fab span{background:var(--air-navy,#0a2658)!important;color:#fff!important}
.abw-request-fab:hover{transform:translateY(-2px)}
.abw-fullscreen .abw-heading-actions .abw-request-fab{animation:none}
@keyframes abw-fab-halo{50%{box-shadow:0 0 0 3px rgba(10,38,88,.9),0 0 0 12px rgba(202,169,119,0),0 14px 34px -8px rgba(5,14,34,.55)}}
@media(prefers-reduced-motion:reduce){.abw-request-fab{animation:none}}
/* 0.17.0: request panel on pages without the editor — the root takes no space, only the fixed button and the dialog. */
.abw.abw-request-only{padding:0!important;margin:0!important;border:0!important;border-radius:0!important;background:none!important;min-height:0}
/* 0.17.1: round close/back buttons in the request panel header. */
.abw .abw-request-head button{display:grid;place-items:center;width:44px;height:44px;min-width:44px;min-height:44px!important;padding:0;border-radius:50%;line-height:1;font-size:22px;transition:background .2s,border-color .2s}.abw .abw-request-head button:hover{background:#ffffff26;border-color:#ffffff80}
