/* Public ordering flow. These final overrides replace viewport-bound legacy layout. */
html body.amtServiceQuote{overflow-x:hidden}
html body.amtServiceQuote>.app{width:100%;max-width:none;height:auto!important;min-height:0;padding:28px clamp(16px,2vw,36px) 64px;overflow:visible}
.amtWelcome{max-width:1440px;margin:0 auto;padding:40px 32px 18px;text-align:center}.amtWelcome h2{font-size:clamp(27px,3.1vw,42px);margin:10px 0}.amtWelcome p{margin:0;color:var(--amt-muted);font-size:16px}
html body>nav.amtServiceNav{height:auto!important;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));max-width:1100px;margin:16px auto 0;padding:6px;gap:6px;border:1px solid var(--amt-line);border-radius:16px;background:#fff!important;position:sticky;top:88px;z-index:20;box-shadow:0 5px 24px #13394906;transition:max-width .3s,margin .3s,padding .3s}
html body>nav.amtServiceNav>a.serviceLink{height:64px!important;min-height:0;border:0!important;border-radius:11px;gap:12px;padding:10px 18px;background:transparent!important;transition:background .2s,transform .25s,height .3s}
html body>nav.amtServiceNav>a.serviceLink img{width:50px;height:44px;flex:0 0 50px;transition:width .3s,height .3s}
html body>nav.amtServiceNav>a.serviceLink b{font-size:14px;font-weight:650;line-height:1.3}
html body>nav.amtServiceNav>a.serviceLink small{font-size:11px;margin-top:3px;color:var(--amt-muted)}
html body>nav.amtServiceNav>a.serviceLink[aria-current=page]{background:var(--amt-soft)!important;color:var(--amt-accent)!important}
html body>nav.amtServiceNav>a.serviceLink:hover{background:#f0f7f8!important}
html body.amt-home>nav.amtServiceNav{position:relative;top:0;max-width:1400px;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;border:0;background:transparent!important;box-shadow:none;padding:10px 32px 60px;margin:0 auto}
html body.amt-home>nav.amtServiceNav>a.serviceLink{height:286px!important;display:flex;flex-direction:column;justify-content:center;text-align:center;gap:10px;padding:24px;background:white!important;border:1px solid var(--amt-line)!important;border-radius:20px;box-shadow:0 10px 26px #16374605;position:relative;overflow:hidden}
html body.amt-home>nav.amtServiceNav>a.serviceLink:hover{transform:translateY(-6px) scale(1.015);border-color:#6cbcc8!important;box-shadow:0 18px 42px #057a9120}
html body.amt-home>nav.amtServiceNav>a.serviceLink img{width:178px;height:144px;flex:none}
html body.amt-home>nav.amtServiceNav>a.serviceLink b{font-size:21px;letter-spacing:-.025em}
html body.amt-home>nav.amtServiceNav>a.serviceLink small{font-size:13px;margin-top:7px}
html body.amt-home>nav.amtServiceNav>a.serviceLink:first-child{background:linear-gradient(145deg,#fff,#edfafa)!important;border-color:#a4d9df!important}
.amtServiceBadge{position:absolute;right:17px;top:16px;font-size:10px!important;letter-spacing:.04em;padding:4px 8px;border-radius:20px;color:#64777f;background:#f0f4f5;font-weight:600}
body:not(.amt-home) .amtServiceBadge{display:none}
body.amt-home>.app,body.amt-home>.amtUnavailable,body:not(.amt-home)>.amtWelcome{display:none!important}
body:not(.amt-home) #amtBanners{display:none!important}
html body.amt-home #amtBanners{margin:0;max-width:none;border-radius:0;max-height:none}
.amtUnavailable{max-width:1100px;margin:40px auto 72px;padding:60px;background:white;border:1px solid var(--amt-line);border-radius:24px;display:grid;grid-template-columns:1fr 1fr;gap:48px;align-items:center}
.amtUnavailable img{width:100%;max-height:300px}.amtUnavailable h1{font-size:clamp(30px,4vw,48px);margin:15px 0 20px}.amtUnavailable p{font-size:16px;line-height:1.7;color:var(--amt-muted)}.amtUnavailable .amtComing{display:inline-flex;padding:5px 12px;border-radius:30px;background:var(--amt-soft);color:var(--amt-accent);font-size:12px;font-weight:650}.amtUnavailable a{display:inline-flex;align-items:center;text-decoration:none;padding:12px 20px;margin-top:16px;background:var(--amt-accent);color:white;border-radius:10px;font-size:14px;font-weight:650}
body.amt-unavailable>.app{display:none!important}
html body .layout{display:grid;grid-template-columns:minmax(300px,1.05fr) minmax(360px,1.15fr) minmax(320px,.75fr);gap:22px;align-items:start;overflow:visible;min-height:0;height:auto!important}
html body .modelColumn,html body .configurationColumn{height:auto!important;min-height:0;overflow:visible;gap:18px}
html body .panel{border-radius:16px!important;border-color:var(--amt-line)!important;box-shadow:0 6px 20px #19364804}
html body .configurationPanel,html body .configurationPanel .mainConfig{height:auto!important;max-height:none!important;overflow:visible!important}
html body .configurationPanel .mainConfig{padding:24px}
html body .summaryPanel{position:sticky;top:184px;max-height:none;overflow:visible}
html body .panelHead{height:auto;min-height:64px;padding:18px 20px}
html body .panelHead h2{font-size:17px;font-weight:700}
html body .section{padding:22px 0;border-color:var(--amt-line)}
html body .sectionTitle{margin-bottom:14px;gap:12px}.sectionTitle b{font-weight:650;font-size:15px}
html body .choiceCard{min-width:0;position:relative}.choiceCard .choiceInfo{right:6px;top:6px;width:22px;height:22px;min-height:22px;opacity:.7}
html body .materialGrid{gap:10px}.materialGrid .material{width:100%;height:48px;min-height:48px;padding:10px 28px 10px 10px!important;border-radius:10px!important;font-size:14px!important}
html body #tech{display:grid;grid-template-columns:1fr 1fr;gap:10px}html body #tech .option{width:100%;min-height:48px;padding:10px 28px 10px 12px;border-radius:10px;font-size:14px}
html body :is(.option,.material).active{background:var(--amt-soft)!important;color:var(--amt-accent)!important;border-color:var(--amt-accent)!important;box-shadow:inset 0 0 0 1px #078ba130}
html body .modeChoices{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:16px}
html body .modeChoice{padding:14px 12px!important;border-radius:12px;min-width:0;min-height:74px;gap:10px;box-shadow:none}
html body .modeChoice img{width:35px;height:35px}.modeChoice b{font-size:15px}.modeChoice small{font-size:11px!important;line-height:1.4;display:block;margin-top:3px}
html body .novicePresets{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}
html body .novicePresets button{min-height:49px;text-align:center;padding:12px 6px;border-radius:10px;font-size:13px}.novicePresets button small{display:none!important}
html body .printHint{font-size:12px;line-height:1.7;margin:16px 0 0;color:var(--amt-muted)}
html body .nozzleProfile{margin:0 0 22px!important}.nozzleProfile .control{margin:0}
html body .controls{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 18px}
html body .control{min-width:0}.control label{display:block;font-size:12px!important;font-weight:650!important;line-height:1.5;letter-spacing:.015em;margin-bottom:9px!important;text-transform:none;color:#5f727d}
html body .control :is(select,input:not([type=range])){height:46px!important;font-size:15px!important;border-radius:9px!important;padding:9px 12px!important}
html body .control input[type=range]{height:28px!important;margin:5px 0 0;padding:0}.rangeEnds{margin-top:2px;font-size:11px}
html body .precisionSettings{margin:22px 0 16px;padding:16px;border:1px solid var(--amt-line);border-radius:12px;background:#f7fafb!important}
html body .precisionSettings>summary{font-size:13px;font-weight:650;line-height:1.5;min-height:24px;color:var(--amt-text)}
html body .precisionSettings[open]>summary{margin-bottom:20px}.precisionSettings .controls{gap:20px 16px}
html body .printReset{min-height:38px;background:white!important;color:var(--amt-muted)!important;border:1px solid var(--amt-line);border-radius:8px;font-size:12px}
html body .summary{padding:10px 20px 22px}
html body .sumLine{display:grid!important;grid-template-columns:minmax(90px,1fr) minmax(0,1fr);gap:12px;margin:0;padding:11px 0;align-items:start;font-size:12px!important;line-height:1.5;border:0}
html body .sumLine span{display:flex;gap:8px;align-items:center;min-width:0;color:var(--amt-muted)}.sumLine i{flex:0 0 17px;width:17px;height:17px}.sumLine i svg{width:17px;height:17px}
html body .sumLine b{max-width:none;white-space:normal!important;overflow-wrap:anywhere;text-align:right;font-size:12px!important;font-weight:650}
html body .total{margin:10px 0 18px;padding-top:20px;display:flex;justify-content:space-between;align-items:center;gap:12px;border-color:var(--amt-line)}
html body .total b{font-size:30px!important;margin:0;letter-spacing:-.04em;line-height:1.2}.total span{font-size:15px!important;font-weight:650}
html body .fulfillment{margin:0 0 18px;border-radius:12px;background:#f5f8f9;padding:14px;display:grid;gap:13px;font-size:12px}.fulfillment b{font-weight:600}
html body .calculateHint{font-size:12px;line-height:1.5;margin:10px 0;color:var(--amt-muted)}
html body .summary :is(.checkout,.calculatePrice){width:100%;min-height:46px;height:auto;padding:12px 10px;border-radius:10px;font-size:13px;font-weight:650;margin-top:10px;line-height:1.4}
html body .summary .calculatePrice{background:var(--amt-soft)!important;color:var(--amt-accent)!important;border:1px solid #b7dfe5!important}
html body .summary .checkout{background:var(--amt-accent)!important;color:#fff!important;border:0!important}
html body .summary>.secondary{display:none!important}
html body .viewerCol{padding:12px}.viewerPanel .viewer{height:365px!important;border:0!important;border-radius:11px!important}
.viewerPanel.viewerFullscreen .viewer{height:100%!important}.viewerPanel .fileTitle{top:14px;left:14px;right:150px;max-width:calc(100% - 175px)}.viewerPanel .fileTitle h2{font-size:13px!important}.viewerPanel .viewerTools{top:14px;right:12px}.viewerPanel .viewerTools button{font-size:11px;padding:7px 9px;min-height:32px}
html body .viewerMeta{bottom:12px;left:12px;width:250px;max-width:calc(100% - 96px);padding:10px;border-radius:10px;font-size:12px}
html body .wallLegend{top:66px;left:14px;font-size:11px;padding:5px 9px!important}.viewerCol>p{font-size:11px!important;line-height:1.6;color:var(--amt-muted)}
html body .partsToolbar{gap:8px;padding:12px}.partsToolbar button{font-size:11px;min-height:36px;padding:8px;border-radius:8px}
html body .parts{padding:0 12px 12px}.parts .part{padding:14px;gap:10px;border-radius:10px!important;grid-template-columns:56px minmax(0,1fr)!important}.parts .part img{width:56px!important;height:56px!important}.parts .part h3{font-size:13px!important}.parts .part p{font-size:11px!important;line-height:1.5}
html body .partActions{flex-wrap:wrap;gap:10px}.partPrice{font-size:14px!important}
html body.empty-state:not(.amt-home) .layout{display:block;max-width:1000px;margin:auto}
html body.empty-state:not(.amt-home) .modelColumn{width:100%;display:block}
html body.empty-state:not(.amt-home) .editorEmpty{min-height:450px;height:auto!important;border:1.5px dashed #a8d4dd!important;border-radius:20px;background:#fbfefe!important;margin:0;padding:52px 28px;display:flex;gap:24px;align-items:center;justify-content:center;color:var(--amt-text)}
html body.empty-state .viewerPanel{border:0!important;background:transparent!important;box-shadow:none!important}
html body .uploadGuide{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:stretch;gap:12px;margin:0 0 12px;padding:0;list-style:none;width:min(100%,720px)}html body .uploadGuide li{display:flex;align-items:center;justify-content:center;gap:10px;min-height:56px;padding:12px;border:1px solid var(--amt-line);border-radius:10px;background:#fff;color:var(--amt-text);font-size:14px;font-weight:550;line-height:1.4}html body .uploadGuide b{display:inline;font-size:15px;color:var(--amt-accent);font-weight:750;width:auto;height:auto;padding:0;background:none;border-radius:0}
html body #emptyUpload{background:var(--amt-accent)!important;border-radius:12px!important;min-height:56px;padding:14px 25px;box-shadow:0 8px 24px #078ba11a;font-size:16px!important}.editorEmpty p{font-size:13px!important;color:var(--amt-muted);margin:0!important}
.amt-upload-heading{font-size:30px!important;line-height:1.25;margin:0!important;letter-spacing:-.03em}
html body #loadingDialog{width:min(520px,calc(100vw - 32px));padding:0;overflow:hidden;border-radius:20px;border:0}
html body #loadingPanel{padding:30px!important;background:white!important;border:0!important}.loadingHeader{gap:20px}.loadingHeader h2{font-size:18px;overflow-wrap:anywhere}.loadingEyebrow{color:var(--amt-accent);font-size:10px;letter-spacing:.14em}.loadingInfo{margin-top:24px;font-size:13px}.loadingBar{height:5px!important;background:#e3eff2!important;border-radius:8px;margin:14px 0}.loadingFill,.loadingPulse{background:var(--amt-accent)!important}.loadingSteps{font-size:11px;color:var(--amt-muted)}
html body #checkoutDialog{width:min(1120px,calc(100vw - 40px));max-width:1120px;max-height:92dvh;overflow:auto;padding:0;border-radius:20px;font-family:inherit;color:var(--amt-text);background:white!important}
html body #checkoutDialog .checkoutInner{padding:0 30px 24px}
html body #checkoutDialog .checkoutHead{top:0;margin:0 -2px;padding:24px 2px 20px;z-index:40;background:white!important}
html body #checkoutDialog .checkoutHead h2{font-size:26px!important}
html body #checkoutDialog .checkoutSteps{gap:12px;margin:24px 0 30px}
html body #checkoutDialog .checkoutSteps button{height:52px;border-radius:11px!important;font-size:13px;font-weight:650;border:1px solid var(--amt-line);background:#f7f9fa!important;color:var(--amt-muted)!important;gap:10px}
html body #checkoutDialog .stepNumber{width:26px;height:26px;border-radius:50%;background:#e5edf0!important;color:#526a75!important;display:grid;place-items:center}
html body #checkoutDialog .checkoutSteps button[aria-current=step]{background:var(--amt-soft)!important;border-color:#96ced8!important;color:var(--amt-accent)!important}
html body #checkoutDialog .checkoutSteps button[aria-current=step] .stepNumber{background:var(--amt-accent)!important;color:white!important}
html body #checkoutDialog .checkoutBody{grid-template-columns:minmax(0,1fr) 300px;gap:30px;align-items:start}
html body #checkoutDialog .checkoutGrid{gap:20px 18px}
html body #checkoutDialog :is(input:not([type=checkbox]):not([type=radio]),select,textarea){min-height:46px;height:auto;font-size:14px;border-radius:10px;margin-top:8px;border-color:var(--amt-line);color:var(--amt-text);padding:11px 13px}
html body #checkoutDialog label{font-size:13px;color:#536b77;font-weight:600;line-height:1.5}
html body #checkoutDialog .checkoutSummary{background:#f5f8f9!important;border:1px solid var(--amt-line);border-radius:16px;padding:20px;position:sticky;top:95px}
html body #checkoutDialog .checkoutSummary :is(p,small){line-height:1.6;font-size:12px}
html body #checkoutDialog .checkoutSummary strong{overflow-wrap:anywhere}
html body #checkoutDialog .checkoutFooter{border-color:var(--amt-line);margin-top:28px;padding:20px 0 0;background:white;gap:16px;position:static}
html body #checkoutDialog .checkoutFooter button{min-height:44px;padding:12px 20px;border-radius:10px;font-size:14px}
html body #checkoutDialog :is(.primary,.successActions a:first-child){background:var(--amt-accent)!important;color:#fff!important;border-color:var(--amt-accent)!important}
html body #checkoutDialog :is(.reviewCard,.checkoutTerms,.deliveryRateBox){background:#f5f9fa!important;border:1px solid var(--amt-line);border-radius:12px;padding:18px}
html body #checkoutDialog .reviewCard p{overflow-wrap:anywhere;color:var(--amt-muted)}
html body #checkoutDialog .deliveryRateOption{padding:14px!important;gap:12px;min-height:64px;border-radius:10px;line-height:1.5}
html body #checkoutDialog .deliveryRateOption:has(input:checked){background:var(--amt-soft)!important;border-color:var(--amt-accent)!important}
html body #checkoutDialog .deliveryRateOption b{font-size:13px}.deliveryRateOption small{font-size:12px}
html body #checkoutDialog .checkoutSuccess{grid-template-columns:220px minmax(0,1fr);gap:32px;padding:36px 0 16px;align-items:center}
html body #checkoutDialog .successActions{display:flex;flex-wrap:wrap;gap:10px;align-items:center}.successActions a,.successActions button{min-height:44px;border-radius:10px;padding:12px 16px!important;font-size:13px!important}
html body #checkoutDialog .leaflet-container{overscroll-behavior:contain;border-radius:12px;border:1px solid var(--amt-line)}
.amt-sla-notice{padding:32px 24px;text-align:center}.amt-sla-notice img{width:130px;height:100px;margin:auto}.amt-sla-notice h3{font-size:23px;margin:16px 0 12px}.amt-sla-notice p{font-size:14px;color:var(--amt-muted);line-height:1.7}.amt-sla-notice button{margin-top:16px;padding:12px 20px;border-radius:10px;min-height:44px;background:var(--amt-accent);color:white;border:0;font-size:13px}
body.amt-sla .mainConfig>.section:has(#materials),body.amt-sla .mainConfig>.section:has(#modeNovice),body.amt-sla .summaryPanel>.summary{display:none!important}
@media(max-width:1250px){html body .layout{grid-template-columns:minmax(300px,1fr) minmax(360px,1fr)}html body .summaryPanel{position:static;grid-column:2;grid-row:2}html body .modelColumn{grid-row:1/3}html body .summary{display:grid;grid-template-columns:1fr 1fr;gap:0 20px}.summary>.total,.summary>.fulfillment,.summary>#calculateHint,.summary>button,.summary>#quoteProgress{grid-column:1/-1}html body .sumLine{grid-template-columns:1fr}html body .sumLine b{text-align:left;padding-left:25px}}
@media(max-width:800px){html body>nav.amtServiceNav{margin:12px 16px 0;top:76px}html body>nav.amtServiceNav>a.serviceLink{padding:8px;gap:5px;height:68px!important;flex-direction:column;justify-content:center;text-align:center}html body>nav.amtServiceNav>a.serviceLink img{display:none}html body>nav.amtServiceNav>a.serviceLink b{font-size:12px}html body>nav.amtServiceNav>a.serviceLink small{font-size:10px}.amtWelcome{padding:28px 16px 12px}.amtWelcome p{font-size:14px}html body.amt-home>nav.amtServiceNav{padding:10px 16px 40px;gap:12px}html body.amt-home>nav.amtServiceNav>a.serviceLink{height:220px!important;padding:18px 10px}html body.amt-home>nav.amtServiceNav>a.serviceLink img{display:block;width:110px;height:100px}html body.amt-home>nav.amtServiceNav>a.serviceLink b{font-size:15px}html body.amt-home>nav.amtServiceNav>a.serviceLink small{font-size:11px}.amtServiceBadge{font-size:8px!important;right:10px;top:10px}.amtUnavailable{margin:24px 16px;padding:30px;gap:22px}.amtUnavailable h1{font-size:30px}html body .layout{display:flex;flex-direction:column;gap:18px}html body .layout>*{width:100%}html body .summary{display:block}html body .sumLine{grid-template-columns:1fr 1fr}html body .sumLine b{text-align:right;padding:0}html body .viewerPanel .viewer{height:380px!important}html body.amtServiceQuote>.app{padding:24px 16px 40px}html body #checkoutDialog .checkoutBody{grid-template-columns:1fr}.checkoutSummary{position:static!important}html body #checkoutDialog .checkoutInner{padding:0 20px 20px}html body #checkoutDialog .checkoutSteps{gap:6px}.uploadGuide{gap:14px!important}.amt-upload-heading{font-size:25px!important}}
@media(max-width:520px){html body.amt-home>nav.amtServiceNav{grid-template-columns:1fr}html body.amt-home>nav.amtServiceNav>a.serviceLink{flex-direction:row;height:135px!important;text-align:left;justify-content:flex-start;padding:16px;gap:10px}html body.amt-home>nav.amtServiceNav>a.serviceLink img{width:105px;height:95px}html body.amt-home>nav.amtServiceNav>a.serviceLink b{font-size:18px}.amtUnavailable{grid-template-columns:1fr}.amtUnavailable img{max-height:160px;grid-row:1}.amtWelcome{padding-top:25px}.uploadGuide{gap:9px!important}.uploadGuide span{font-size:10px!important;gap:5px}.uploadGuide b{width:22px;height:22px}.amt-upload-heading{font-size:23px!important}html body .modeChoice{padding:12px 8px!important}.modeChoice img{display:none}html body #checkoutDialog{width:calc(100vw - 16px);max-height:95dvh}html body #checkoutDialog .checkoutSteps button{font-size:10px;gap:5px;padding:10px 4px}html body #checkoutDialog .stepNumber{width:22px;height:22px}html body #checkoutDialog .checkoutSuccess{grid-template-columns:1fr;text-align:center}html body #checkoutDialog .successArtwork{max-width:180px;margin:auto}}

/* Keep the summary in the document flow when it exceeds the available viewport. */
html body.amtServiceQuote .summaryPanel{height:auto!important;min-height:0!important;position:static!important;align-self:start}
html body.amtServiceQuote .summaryPanel .summary{height:auto!important;min-height:0!important;display:block;padding:10px 18px 20px!important}
html body.amtServiceQuote .fulfillment{display:grid!important;grid-template-columns:1fr!important;gap:14px!important;height:auto!important;padding:12px!important}
html body.amtServiceQuote .fulfillment>div{display:flex;align-items:start;gap:9px;padding:0!important;min-height:0!important}
html body.amtServiceQuote .fulfillment i{width:18px;height:18px;flex:0 0 18px}
html body.amtServiceQuote .fulfillment svg{width:18px;height:18px}
html body.amtServiceQuote .fulfillment span{font-size:11px;line-height:1.5}.fulfillment b{display:block;font-size:12px!important}
html body.amtServiceQuote .mainConfig{border-radius:16px}
html body.amtServiceQuote .viewerPanel .fileTitle{left:14px;right:14px;max-width:calc(100% - 28px);top:12px;pointer-events:none}
html body.amtServiceQuote .viewerPanel .fileTitle h2{max-width:none!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-bottom:3px}
html body.amtServiceQuote .viewerPanel .fileTitle p{white-space:nowrap;font-size:11px}
html body.amtServiceQuote .viewerPanel .viewerTools{top:62px;right:12px}.viewerPanel .wallLegend{top:64px!important}
html body.amtServiceQuote .viewerPanel .viewer{height:420px!important}
html body.amtServiceQuote .viewerPanel.viewerFullscreen .viewer{height:100%!important}
html body.amtServiceQuote .summary .sumLine{padding:8px 0!important;line-height:1.5}
html body.amtServiceQuote .summary .sumLine b{font-size:12px!important}
html body #checkoutDialog .checkoutBrand{color:var(--amt-muted);font-size:11px;letter-spacing:.12em}
html body .amtUnavailable a{color:#fff!important;background:var(--amt-accent)!important}
html body #bootStatus[data-state=ready],html body.amt-home #bootStatus[data-state=loading],html body.amt-unavailable #bootStatus[data-state=loading]{display:none!important}
html body #bootStatus[data-state=error]{margin:20px auto;max-width:900px;padding:18px;border:1px solid #e7b8b8;border-radius:12px;background:#fff3f3;color:#972727}
html body.amtServiceQuote>.top.amtLogoHeader{display:flex;justify-content:space-between;align-items:center;position:sticky;top:0;z-index:30}
html body.amtServiceQuote{margin:0}
html body.amtServiceQuote .viewerPanel .fileTitle{top:12px!important;left:14px!important;right:14px!important;max-width:calc(100% - 28px)!important}
html body.amtServiceQuote .viewerPanel .viewerTools{top:62px!important;right:12px!important}
html body.amtServiceQuote .viewerPanel .viewerMeta{width:270px!important;max-width:calc(100% - 100px)!important;left:12px!important;bottom:12px!important}
html body.amtServiceQuote .viewerPanel .viewerMeta b{white-space:normal!important;overflow-wrap:anywhere}
@media(max-width:520px){html body.amtServiceQuote .viewerPanel .wallLegend{top:104px!important}.viewerPanel .fileTitle h2{font-size:12px!important}.viewerPanel .viewerMeta{font-size:10px!important}}

/* Review 2: compact text navigation belongs to the header, never over the editor. */
html body:not(.amt-home)>nav.amtServiceNav{display:none!important}
html body.amtServiceQuote>.top.amtLogoHeader{gap:24px!important;height:auto!important;min-height:76px!important;display:grid!important;grid-template-columns:1fr auto 1fr}
html body.amt-home>.top.amtLogoHeader{grid-template-columns:1fr auto}
html body.amtServiceQuote>.top.amtLogoHeader .topRight{justify-self:end;min-width:0}
.amtHeaderServices{display:flex;align-items:center;justify-content:center;gap:5px;min-width:0;padding:5px;border:1px solid #d4e3e8;border-radius:14px;background:#eff5f7}
.amtHeaderServices[hidden],.amtHeaderServices a[hidden]{display:none!important}
.amtHeaderServices a{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:10px 18px;border:1px solid #e0e9ed;border-radius:10px;background:white;box-shadow:0 1px 3px #17394706;color:var(--amt-text)!important;text-decoration:none;font-size:14px;font-weight:600;white-space:nowrap;transition:background .2s,color .2s,border-color .2s,box-shadow .2s}
.amtHeaderServices a:hover{background:var(--amt-soft);color:var(--amt-accent)!important;border-color:#89c9d5;box-shadow:0 2px 6px #078ba111}
.amtHeaderServices a:focus-visible{outline:2px solid var(--amt-accent);outline-offset:2px}
.amtWelcome{scroll-margin-top:95px}
html body .amtUnavailable{max-width:1180px;margin:clamp(28px,5vw,72px) auto 72px;grid-template-columns:1.15fr 1fr;padding:clamp(28px,5vw,64px)}
html body .amtUnavailable h1{margin:0 0 24px;font-size:clamp(30px,3.6vw,46px);line-height:1.15;letter-spacing:-.04em}
html body .amtUnavailable .amtComing{display:flex;align-items:center;gap:12px;width:fit-content;max-width:100%;padding:16px 20px;border:1px solid #9cd5df;border-radius:12px;background:#e5f5f8;color:#076d80;font-size:clamp(18px,2vw,23px);font-weight:700;line-height:1.35}
.amtComingDot{display:block;width:10px;height:10px;border-radius:50%;background:var(--amt-accent);box-shadow:0 0 0 5px #078ba116;flex:none}
html body .amtUnavailable p{margin:24px 0 8px}
html body .amtUnavailable img{width:100%;max-height:360px;object-fit:contain}
html body .amt-sla-notice>img{width:160px;height:150px;object-fit:contain}
html body.amtServiceQuote .sumLine{grid-template-columns:minmax(120px,1fr) minmax(0,1fr);font-size:13px!important}
html body.amtServiceQuote .summary .sumLine b{font-size:13px!important}
@media(min-width:1251px){html body.amtServiceQuote .layout{grid-template-columns:minmax(300px,1.05fr) minmax(360px,1.15fr) minmax(320px,.75fr)!important}html body.amtServiceQuote .configurationPanel .mainConfig{padding:24px clamp(20px,2vw,32px)}}
@media(max-width:1250px) and (min-width:801px){html body.amtServiceQuote .layout{grid-template-columns:minmax(0,1fr) minmax(0,1.08fr)}html body.amtServiceQuote .summary .sumLine b{text-align:right;padding-left:0}}
@media(max-width:1100px){html body.amtServiceQuote>.top.amtLogoHeader{gap:12px}.amtHeaderServices{gap:2px}.amtHeaderServices a{padding:10px;font-size:13px}html body .amtUnavailable{margin-left:24px;margin-right:24px;gap:24px}}
@media(max-width:760px){
 html body.amtServiceQuote>.top.amtLogoHeader{grid-template-columns:1fr auto;gap:0 12px!important;min-height:66px!important;padding-top:0!important;padding-bottom:0!important}
 html body.amtServiceQuote>.top.amtLogoHeader .amtLogoWrap,html body.amtServiceQuote>.top.amtLogoHeader .topRight{min-height:66px;display:flex;align-items:center}
 .amtHeaderServices{grid-column:1/-1;grid-row:2;width:100%;padding:4px;margin:0 0 10px;gap:4px;justify-content:center}
 .amtHeaderServices a{flex:1;padding:8px 10px;font-size:13px;min-height:40px}
 html body .amtUnavailable{grid-template-columns:1fr;margin:24px 16px 48px;gap:20px;padding:28px}
 html body .amtUnavailable img{max-height:220px;grid-row:auto}
 html body .amtUnavailable h1{font-size:30px}
 html body .amtUnavailable .amtComing{font-size:19px;padding:14px 16px}
 html body .uploadGuide{gap:9px!important}
 html body .uploadGuide li{font-size:12px;gap:7px;padding:12px 7px}
 .amtWelcome{scroll-margin-top:80px}
}
@media(max-width:520px){
 html body.empty-state:not(.amt-home) .editorEmpty{padding:32px 20px;gap:22px;min-height:440px}
 html body .uploadGuide{grid-template-columns:1fr;width:100%;max-width:300px;margin-bottom:0}
 html body .uploadGuide li{justify-content:flex-start;font-size:14px;padding:12px 18px;min-height:48px;gap:14px}
 html body .uploadGuide b{font-size:15px!important;width:auto;height:auto}
 html body #emptyUpload{font-size:14px!important;padding:14px 18px}
 html body .sumLine{font-size:12px!important}
}
@media(prefers-reduced-motion:reduce){.amtHeaderServices a,html body>nav.amtServiceNav,html body>nav.amtServiceNav>a.serviceLink{transition:none!important}}

html body.amtServiceQuote .uploadGuide b{background:transparent!important;color:var(--amt-accent)!important;line-height:inherit}
html body.amtServiceQuote .configurationPanel #editor{border-radius:16px}
@media(max-width:380px){html body.amtServiceQuote .amtLogoHeader .amtLogoWrap{width:160px!important;flex-basis:160px!important}html body.amtServiceQuote .amtLogoHeader img.amtSiteLogo{width:160px!important;min-width:160px!important;max-width:160px!important;height:28px!important;min-height:28px!important;max-height:28px!important}}

html[data-amt-theme] body #amtBanners .amtBannerCopy p{color:#c4cdd7!important}
html body.amtServiceQuote.amt-home>nav.amtServiceNav{background:transparent!important}

/* Directions unfold beside the logo; the editor always stays in normal flow. */
html body.amtServiceQuote>.top.amtLogoHeader{grid-template-columns:minmax(0,1fr) auto}
.amtBrandNav{display:flex;align-items:center;gap:10px;min-width:0}
.amtServiceToggle{display:inline-flex;align-items:center;justify-content:center;flex:0 0 30px;width:30px;height:32px;min-height:32px;padding:0;border:1px solid #d8e5e9;border-radius:9px;background:#f4f8f9;color:#16798b;cursor:pointer;transition:background .22s,border-color .22s}
.amtServiceToggle[hidden]{display:none!important}
.amtServiceToggle svg{transition:transform .25s}
.directionsOpen .amtServiceToggle svg{transform:rotate(180deg)}
.amtServiceToggle:hover{background:#e5f5f8;border-color:#8dcbd6}
.amtBrandNav .amtHeaderServices{max-width:0;opacity:0;visibility:hidden;overflow:hidden;padding:0;border-width:0;gap:5px;transform:translateX(-10px);transition:max-width .32s cubic-bezier(.2,.8,.2,1),opacity .2s,transform .3s,visibility .2s}
.amtBrandNav.directionsOpen .amtHeaderServices{max-width:390px;opacity:1;visibility:visible;padding:5px;border-width:1px;transform:translateX(0)}
.amtBrandNav .amtHeaderServices a{flex:none;color:#17323b!important}
html body #checkoutDialog{overscroll-behavior:contain}
@media(max-width:1000px){.amtBrandNav .amtHeaderServices a{padding:10px;font-size:12px}.amtBrandNav.directionsOpen .amtHeaderServices{max-width:320px}}
@media(max-width:760px){
 html body.amtServiceQuote>.top.amtLogoHeader{position:relative!important;grid-template-columns:minmax(0,1fr) auto;align-items:start!important;gap:0 10px!important}
 .amtBrandNav{flex-wrap:wrap;gap:0 8px;align-self:start}
 .amtBrandNav .amtServiceToggle{margin:17px 0}
 .amtBrandNav .amtHeaderServices{position:relative;order:3;flex-basis:100%;width:calc(100vw - 40px);max-width:none;max-height:0;margin:0;gap:4px;overflow:hidden;transition:max-height .3s,opacity .2s,transform .3s,visibility .2s}
 .amtBrandNav.directionsOpen .amtHeaderServices{flex:0 0 calc(100vw - 40px);width:calc(100vw - 40px);max-width:none;max-height:62px;margin:0 0 10px}
 .amtBrandNav .amtHeaderServices a{flex:1;font-size:13px;padding:8px;min-width:0}
 html body.amtServiceQuote .amtLogoHeader .amtLogoWrap{width:150px!important;flex-basis:150px!important}
 html body.amtServiceQuote .amtLogoHeader img.amtSiteLogo{width:150px!important;min-width:150px!important;max-width:150px!important;height:27px!important;min-height:27px!important;max-height:27px!important}
}
@media(prefers-reduced-motion:reduce){.amtBrandNav .amtHeaderServices,.amtServiceToggle,.amtServiceToggle svg{transition:none!important}}
/* These intentionally light cards remain readable if the saved global theme is dark. */
html[data-amt-theme=dark] body.amtServiceQuote :is(.amtUnavailable,.amtBrandNav){--amt-text:#15282e;--amt-muted:#5f7780;--amt-line:#d7e4e8;--amt-accent:#078ba1}
html[data-amt-theme=dark] body.amtServiceQuote.amt-home>nav.amtServiceNav :is(b,small){color:#17323b!important}

html[data-amt-theme] body.amtServiceQuote .amtServiceToggle{background:#f4f8f9!important;color:#16798b!important;border-color:#d8e5e9!important}

/* Upload instructions are a plain sequence. Keep their geometry independent
   of the legacy inline b reset, mobile overrides and shared theme surfaces. */
html body.amtServiceQuote .uploadGuide{
 display:grid;
 grid-template-columns:repeat(3,minmax(0,1fr));
 align-items:center;
 gap:clamp(12px,2vw,24px)!important;
 width:100%;
 max-width:720px;
 margin:0 0 12px;
 padding:0;
 list-style:none;
}
html body.amtServiceQuote .uploadGuide>li{
 display:flex;
 align-items:center;
 justify-content:flex-start;
 gap:10px;
 min-width:0;
 min-height:32px;
 margin:0;
 padding:0;
 border:0!important;
 border-radius:0;
 background:none!important;
 box-shadow:none!important;
 color:var(--amt-text);
 font-size:14px;
 font-weight:550;
 line-height:1.4;
 text-align:left;
 overflow-wrap:anywhere;
}
html body.amtServiceQuote .uploadGuide>li>b{
 display:inline-flex;
 align-items:center;
 justify-content:center;
 flex:0 0 32px;
 width:32px;
 min-width:32px;
 max-width:32px;
 height:32px;
 min-height:32px;
 max-height:32px;
 padding:0;
 border:0!important;
 border-radius:50%;
 background:var(--amt-selected,#e0f3fa)!important;
 color:var(--amt-accent)!important;
 font-size:15px!important;
 font-weight:750;
 line-height:1;
 text-align:center;
}
@media(max-width:640px){
 html body.amtServiceQuote .uploadGuide{
  grid-template-columns:minmax(0,1fr);
  max-width:300px;
  gap:14px!important;
  margin:0 0 12px;
 }
}
