@font-face{font-family:Golos;src:url('/fonts/GolosText-Regular.woff2') format('woff2');font-weight:400;font-display:swap}
@font-face{font-family:Golos;src:url('/fonts/GolosText-Medium.woff2') format('woff2');font-weight:500;font-display:swap}
@font-face{font-family:Golos;src:url('/fonts/GolosText-SemiBold.woff2') format('woff2');font-weight:600;font-display:swap}
@font-face{font-family:Golos;src:url('/fonts/GolosText-Bold.woff2') format('woff2');font-weight:700;font-display:swap}
:root{color-scheme:light dark;font-family:Golos,sans-serif;--bg:#f4f3ef;--surface:#fff;--text:#202722;--muted:#4b5b51;--line:#c7cfc7;--accent:#205c43;--accent-text:#fff;--soft:#e2ede5}
@media(prefers-color-scheme:dark){:root{--bg:#171e1a;--surface:#232d27;--text:#f0f4ef;--muted:#c2d0c4;--line:#526457;--accent:#b2e0bf;--accent-text:#10271a;--soft:#304438}}
*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);line-height:1.5}main{max-width:76rem;margin:auto;padding:2rem clamp(1rem,4vw,3rem) 4rem}h1,h2,h3,p{margin:0}h1{font-size:clamp(2rem,4vw,3rem);line-height:1.1;letter-spacing:-.025em}h2{font-size:1.4rem;line-height:1.2}h3{font-size:1.05rem;line-height:1.35;overflow-wrap:anywhere}section{margin:3rem 0}button,input,select,textarea{font:inherit}button,select{min-height:44px;border:1px solid var(--line);border-radius:.65rem;background:var(--surface);color:var(--text);padding:.55rem .85rem}button{cursor:pointer;font-weight:600}button:hover,select:hover{border-color:var(--accent)}button:disabled{opacity:.65;cursor:not-allowed}a{color:inherit}a:focus-visible,button:focus-visible,select:focus-visible,summary:focus-visible,input:focus-visible,textarea:focus-visible{outline:3px solid var(--accent);outline-offset:3px}[hidden]{display:none!important}
.eyebrow{font-size:.78rem;font-weight:700;color:var(--muted);text-transform:uppercase;letter-spacing:.04em}.page-heading>p:last-child{color:var(--muted);margin-top:.75rem}.page-heading .eyebrow{margin-bottom:.7rem}.section-heading{display:flex;align-items:baseline;justify-content:space-between;gap:.75rem;flex-wrap:wrap;margin-bottom:1rem}.section-heading p,.meta{color:var(--muted);font-size:.9rem}.card-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,17rem),1fr));gap:1rem}.card{background:var(--surface);border:1px solid var(--line);border-radius:1rem;overflow:hidden;text-decoration:none;min-width:0}.card:is(a):hover{border-color:var(--accent)}.waiting-card{padding:1.25rem;display:grid;gap:.5rem;align-content:start}.waiting-card p{color:var(--muted)}.action{color:var(--accent);font-weight:700;display:block;margin-top:.5rem}.work-preview{aspect-ratio:16/9;background:var(--soft);overflow:hidden;display:grid;place-items:center}.work-preview img{width:100%;height:100%;object-fit:cover;object-position:top}.preview-placeholder{color:var(--muted);font-size:.85rem;padding:1rem;text-align:center}.card-body{padding:1.15rem;display:grid;gap:.35rem}.empty{color:var(--muted);padding:1rem 0}.run-list{display:grid;gap:.6rem}.run-card{background:var(--surface);border:1px solid var(--line);border-radius:.8rem;padding:1rem 1.15rem;display:flex;justify-content:space-between;gap:1rem;align-items:center}.run-card p,.run-card time{color:var(--muted);font-size:.9rem}.run-card time{white-space:nowrap}details{margin-top:1rem}summary{cursor:pointer;min-height:44px;display:flex;align-items:center;gap:.5rem;font-weight:600}summary::before{content:'▸'}details[open]>summary::before{content:'▾'}
.back-link{display:inline-flex;align-items:center;min-height:44px;color:var(--accent);font-weight:600;text-decoration:none;margin-bottom:1rem}.stand>.eyebrow{margin-bottom:.4rem}.controls{display:flex;flex-wrap:wrap;gap:.75rem;margin:1.5rem 0}.controls label,#comparison label{display:grid;gap:.3rem;font-size:.9rem;font-weight:600}.action-bar{display:flex;flex-wrap:wrap;gap:.5rem;padding:.75rem;background:var(--surface);border:1px solid var(--line);border-radius:.85rem}.action-bar button:first-child{background:var(--accent);color:var(--accent-text);border-color:var(--accent)}#notice:not(:empty){padding:.85rem 1rem;background:var(--soft);border-radius:.7rem;margin:1rem 0}textarea{font:inherit;display:block;width:100%;min-height:6rem;background:var(--surface);color:var(--text);border:1px solid var(--line);border-radius:.5rem;padding:.75rem}.stand section h2{margin-bottom:1rem}.stand section button{margin:.4rem .35rem .4rem 0}#marks{padding-left:1.5rem}#color-controls label{display:grid;margin:1rem 0}#color-controls input{min-height:44px;max-width:100%}#diff{max-height:24rem;overflow:auto;white-space:pre;background:var(--surface);padding:1rem}
.previews{display:flex;gap:1rem;overflow:hidden}.previews>div{min-width:0}.phone{width:390px;flex:none}.desktop{flex:1}.previews h2{font-size:1rem;margin-bottom:.7rem}.previews iframe{border:1px solid var(--line);border-radius:.6rem;width:100%;height:70vh;background:white}.desktop iframe{width:1440px;transform:scale(.5);transform-origin:top left}.frame-wrap{position:relative}.pins{position:absolute;inset:0;pointer-events:none}.pin{position:absolute;pointer-events:auto;min-width:44px;min-height:44px;border-radius:50%;transform:translate(-50%,-50%)}.shutter{position:relative;max-width:100%;overflow:hidden}.shutter img{display:block;max-width:100%;height:auto}.shutter #new-clip{position:absolute;inset:0 auto 0 0;width:50%;overflow:hidden}.shutter #new-shot{max-width:none;width:var(--shot-width)}
@media(max-width:700px){main{padding:1.25rem 1rem 5rem}.stand{padding-bottom:11rem}.previews .phone{width:100%}.previews .desktop{display:none}.action-bar{position:fixed;z-index:10;bottom:0;left:0;right:0;border-radius:.85rem .85rem 0 0;padding:.6rem .75rem max(.6rem,env(safe-area-inset-bottom));box-shadow:0 -4px 20px #0002;display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.action-bar button{padding:.45rem;min-width:0}.run-card{align-items:flex-start;flex-direction:column;gap:.35rem}}

.action-bar #notice{flex-basis:100%;margin:0;padding:.4rem .6rem}.action-bar #notice:empty{display:none}#color-controls label{display:flex;align-items:center;gap:.75rem}#color-controls label span:nth-child(2){flex:1}.color-swatch{width:2rem;height:2rem;border:1px solid var(--line);border-radius:.4rem}#color-controls input[type=color]{width:3.5rem;padding:.2rem}#mark-editor,#color-editor,#comparison{scroll-margin:1rem}@media(max-width:700px){.action-bar #notice{grid-column:1/-1}.stand{padding-bottom:18rem}#mark-editor,#color-editor,#comparison{scroll-margin-bottom:18rem}}

.draft-card{margin:1.25rem 0;padding:1rem;background:var(--surface);border:1px solid var(--line);border-radius:.85rem;overflow-wrap:anywhere}.draft-card h2{font-size:1.1rem}.draft-card p{margin-top:.4rem}.steps{margin:1rem 0;color:var(--muted)}.steps strong{color:var(--text)}.confirm-shots{display:flex;gap:1rem;align-items:start}.confirm-shots figure{margin:1rem 0;min-width:0;flex:1}.confirm-shots img{display:block;width:100%;max-width:390px;height:auto;border:1px solid var(--line)}

@media(max-width:700px){.previews iframe{scroll-margin-bottom:18rem}}

.compare-toggle{display:none}.compare-slider{display:flex!important;align-items:center;gap:.75rem;margin:1rem 0}.compare-slider input{flex:1}.confirm-shots figcaption{position:static;margin-bottom:.5rem}
@media(max-width:700px){.compare-controls{position:sticky;top:0;z-index:5;background:var(--surface)}.compare-toggle{display:flex;gap:.5rem}.compare-toggle button[aria-pressed=true]{background:var(--accent);color:var(--accent-text)}.compare-slider{display:none!important}.shutter #new-clip{position:static;width:100%!important}.shutter #new-shot{width:100%;max-width:100%}.shutter[data-show=old] #new-clip{display:none}.shutter[data-show=new] #old-shot{display:none}}

.pins.picking .pin{pointer-events:none}

.shutter{width:min(100%, var(--image-width, 390px))}.shutter img{width:100%}.shot-wrap{position:relative;width:min(100%, 390px)}.diff-overlay{position:absolute;inset:0;pointer-events:none}.diff-box{position:absolute;border:2px solid var(--accent);border-radius:6px;box-shadow:0 2px 8px #0003;box-sizing:border-box;min-height:4px}.diff-box span{position:absolute;top:-10px;left:-10px;width:18px;height:18px;display:grid;place-items:center;border-radius:50%;background:var(--accent);color:var(--accent-text);font-size:11px;line-height:1}.diff-navigation{display:flex;align-items:center;gap:.5rem}.diff-navigation p{margin:.25rem 0}.shutter[data-show=new] > .diff-overlay{display:none}@media(min-width:701px){.shutter[data-show=new] > .diff-overlay{display:block}.shutter > .diff-overlay{clip-path:inset(0 0 0 var(--split, 50%))}}

@media(max-width:700px){.shutter,.shutter #new-clip{overflow:visible}}
.room-screen{max-width:54rem;padding-bottom:12rem}.room-screen #tabs,.room-variants{display:flex;gap:.4rem;overflow-x:auto;margin:1rem 0}.room-screen #tabs button,.room-variants button{white-space:nowrap}.room-screen button[aria-pressed=true]{background:var(--accent);color:var(--accent-text)}.room-screen section{margin:1rem 0}.room-screen #plan{display:block;width:100%;height:auto;background:var(--surface);border:1px solid var(--line);border-radius:.7rem;touch-action:none}.room-screen #plan .fixed{fill:#c2c8c3;stroke:#66766c}.room-screen #plan .movable{fill:#b4d8bd;stroke:#205c43;cursor:grab}.room-screen #plan .selected,.room-screen #plan .highlight{stroke:#b93220;stroke-width:18}.room-screen #plan text{fill:#1b3023;font-size:75px;pointer-events:none}.room-screen #plan .desk-outline{fill:#eee7d8;stroke:#827761;stroke-width:12}.room-screen #plan .door-arc{fill:none;stroke:#9b4c37;stroke-width:10;stroke-dasharray:35 20}.room-screen #plan .fitting{fill:#a0422d;stroke:#fff;stroke-width:5}.room-coordinates{display:flex;gap:.5rem;flex-wrap:wrap;align-items:end}.room-coordinates label{display:grid;max-width:7rem}.room-coordinates input{width:100%;min-height:44px;background:var(--surface);color:var(--text);border:1px solid var(--line);border-radius:.5rem;padding:.4rem}.room-screen #selection{margin-top:1rem}.room-screen #unmeasured{color:var(--muted);margin-top:.5rem}.room-check{display:block;text-align:left;width:100%;margin:.4rem 0!important;border-left:6px solid #3d8b59}.room-check.fail{border-left-color:#bd3827}.room-check.unknown{border-left-color:#888}.room-check span{display:block;font-weight:400;overflow-wrap:anywhere}.room-bar{align-items:center}.room-bar #count{flex:1}.room-bar #notice{flex-basis:100%}@media(max-width:700px){.room-screen{padding-bottom:12rem}.room-bar{grid-template-columns:1fr 1fr}.room-bar #notice{grid-column:1/-1}}
.room-screen #tabs{flex-wrap:wrap;overflow:visible}.room-screen #layers{display:flex;gap:.4rem;margin-bottom:.7rem}.room-screen #wall{display:block;width:100%;height:auto;background:var(--surface);border:1px solid var(--line);border-radius:.7rem;touch-action:none}.room-screen #wall .movable{fill:#b4d8bd;stroke:#205c43;stroke-width:8;cursor:grab}.room-screen #wall .selected,.room-screen #wall .highlight{stroke:#b93220;stroke-width:18}.room-screen #wall text{fill:#1b3023;font-size:55px;pointer-events:none}.room-screen svg .ghost{fill:none;stroke:#a8b4ac;stroke-width:9;stroke-dasharray:18 12;pointer-events:none}.room-screen #wall .wall-bg{fill:#f5f1e8;stroke:#66766c;stroke-width:10}.room-screen #wall .fixed{fill:#c2c8c3;stroke:#66766c;stroke-width:8}.room-screen #wall .hatch{fill:#eee7d8;stroke:#827761;stroke-width:10}.room-screen #wall .counter{fill:#827761}.room-screen #wall .door-opening,.room-screen #plan .door-edge{fill:none;stroke:#9b4c37;stroke-width:12}.room-screen #wall .fitting{fill:#a0422d;stroke:white;stroke-width:5}.room-screen #wall .fitting-label{fill:white;font-size:38px;font-weight:bold}.room-screen #wall .limit{stroke:#a0422d;stroke-width:7;stroke-dasharray:30 20;pointer-events:none}.room-screen #wall .limit-label{fill:#863d2d;font-size:48px}

.room-screen #plan,.room-screen #wall,.room-screen #tabs,.room-screen #layers,.room-screen .room-bar{-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}
.room-screen #plan .selected,.room-screen #wall .selected{stroke:var(--accent);stroke-width:18}
.room-screen .room-bar #count.has-violations{background:#9b2c2c;color:#fff;border-color:#9b2c2c}.room-screen .room-bar #count.no-violations{background:#205c43;color:#fff;border-color:#205c43;opacity:1}
.room-screen #plan .violation,.room-screen #wall .violation{stroke:#bd3827;stroke-width:20}
.room-screen svg .warning{fill:#bd3827!important;font-size:75px!important;font-weight:bold}
.room-screen #plan .door-arc{stroke:#827761;stroke-dasharray:35 20}.room-screen #plan .door-arc.violation-zone{stroke:#bd3827;stroke-dasharray:none}
.room-screen #wall .limit{stroke:#827761}.room-screen #wall .limit.violation-zone{stroke:#bd3827}
.room-screen svg .access-zone{fill:url(#access-hatch);stroke:#bd3827;stroke-width:10;stroke-dasharray:20 12}
.violation-card{border:2px solid #bd3827;border-radius:.7rem;padding:1rem;background:#fff3ef;color:#501b14}.violation-card h2{font-size:1.1rem;margin:0}.violation-card p{margin:.5rem 0}.violation-card #violation-nav{display:flex;gap:1rem;align-items:center}
.room-screen .attention{animation:room-attention .5s ease-in-out 3 alternate}@keyframes room-attention{to{opacity:.35}}@media(prefers-reduced-motion:reduce){.room-screen .attention{animation:none}}
.room-bar #ar-options{flex-basis:100%;max-height:50vh;overflow:auto}.ar-button{display:flex;align-items:center;min-height:44px;padding:.65rem;border:1px solid var(--line);border-radius:.5rem;background:var(--surface);color:var(--text);margin:.35rem 0;text-decoration:none}.ar-button img{width:1px;height:1px}

@media(max-width:700px){.room-bar #count,.room-bar #ar-options{grid-column:1/-1}}

.desk .page-heading>p:not(.eyebrow){color:var(--muted);margin-top:.75rem}
.desk .page-heading>.order-primary{margin-top:1rem}
.order-page{max-width:44rem;overflow-wrap:anywhere;--field-line:#78867c;--warning-bg:#fff2cf;--warning-text:#593c08}
@media(prefers-color-scheme:dark){.order-page{--field-line:#83968a;--warning-bg:#463617;--warning-text:#ffe4a3}}
.order-page section,.order-panel{margin:1.25rem 0}
.order-panel{padding:clamp(1rem,4vw,1.5rem);border:1px solid var(--line);border-radius:1rem;background:var(--surface)}
.order-panel h2{margin-bottom:.55rem}
.order-panel p+p{margin-top:.45rem}
.order-notice:not(:empty){padding:.75rem 1rem;margin:1rem 0;background:var(--soft);border-radius:.65rem}
.order-page fieldset{border:0;margin:0;padding:0;min-width:0;display:grid;gap:.45rem}
.order-page fieldset>label{font-weight:600;margin-top:.7rem}
.order-hint{margin-top:.7rem;color:var(--muted);font-size:max(16px,1rem)}
.order-page textarea{min-height:4rem;resize:vertical}
.order-page select,.order-page input:is([type=date],[type=text]){min-height:44px;min-width:0;max-width:100%;width:100%}
/* Safari рисует системный select ниже 44 px и игнорирует min-height: свой вид с CSS-стрелкой, без картинок (CSP). */
.order-page select{-webkit-appearance:none;appearance:none;height:44px;padding-right:2.4rem;background-image:linear-gradient(45deg,transparent 50%,currentColor 50%),linear-gradient(135deg,currentColor 50%,transparent 50%);background-position:calc(100% - 1.15rem) 50%,calc(100% - .8rem) 50%;background-size:.36rem .36rem,.36rem .36rem;background-repeat:no-repeat}
.order-page input:is([type=date],[type=text]){padding:.55rem .85rem;background:var(--surface);color:var(--text);border:1px solid;border-radius:.65rem}
.order-page :is(textarea,select,input[type=date],input[type=text]){border-color:var(--field-line)}
.prices-page fieldset > button{justify-self:start;margin-top:.75rem}
.prices-page [aria-invalid=true]{border-color:var(--warning-text)}
.prices-current dd{margin:0 0 .45rem;white-space:pre-wrap}
.order-preview iframe{display:block;width:100%;height:75vh;margin-top:1rem;border:1px solid var(--line);border-radius:.65rem;background:white}
.order-preview-bar{position:sticky;top:0;z-index:10;background:var(--surface);border-bottom:1px solid var(--line);padding:.3rem clamp(1rem,4vw,3rem)}
.order-preview-bar a,.order-note-jump{display:inline-flex;align-items:center;min-height:44px;padding:.15rem .6rem;border:1px solid var(--line);border-radius:999px;background:transparent;color:var(--accent);font-size:.875rem;font-weight:600;text-decoration:none}
.order-preview-shot{display:block;width:100%;height:auto;margin-top:1rem}
.order-page select:hover{border-color:var(--accent)}
.order-field-error,.order-warning{color:var(--warning-text);background:var(--warning-bg);padding:.55rem .75rem;border-radius:.55rem}
.order-field-error{font-size:.9rem}
.order-warning{margin-top:.5rem}
.order-page .order-checkbox{display:flex;align-items:center;gap:.6rem;min-height:44px;width:fit-content;margin-top:0}
.order-checkbox input{inline-size:1.2rem;block-size:1.2rem;margin:0;accent-color:var(--accent)}
.order-actions{display:flex;flex-wrap:wrap;gap:.6rem;margin-top:1rem}
#order-quote-actions,#order-scope-title{margin-top:.85rem}
#order-quote-actions .order-actions{margin-top:.55rem}
.order-conflict{margin-top:.55rem;padding:.65rem .75rem;background:var(--soft);border-radius:.65rem}
.order-conflict ul{margin:.35rem 0 0}
.order-conflict:focus{outline:3px solid var(--accent);outline-offset:3px}
.order-summary{margin:0 0 .4rem}
.order-summary dd{display:inline;margin:0;font-weight:700}
.order-summary dt{display:inline}
.order-summary dt::after{content:' — '}
.order-summary .meta{display:block;font-weight:400}
.order-money{font-size:max(16px,1rem)}
.order-estimate dt::after{content:' '}
.order-idea-cost{font-weight:600;margin:.55rem 0}
#order-cost-breakdown dd{white-space:normal;text-align:right}
#order-cost-breakdown>div{flex-wrap:wrap}
#order-cost-breakdown .order-author-costs{flex-basis:100%;padding-left:1rem}
#order-cost-breakdown .order-author-costs p{margin:.25rem 0}
.order-primary{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:.55rem .95rem;border:1px solid var(--accent);border-radius:.65rem;background:var(--accent);color:var(--accent-text);font-weight:700;text-decoration:none}
.order-primary:hover{text-decoration:underline}
.order-actions :is(a,button):active,.order-primary:active{box-shadow:inset 0 0 0 2px currentColor}
.order-scope,.order-assumptions,.order-history{padding-left:1.3rem}
.order-timing,.order-brief-summary{margin:1rem 0}
.order-timing>div{display:flex;justify-content:space-between;align-items:baseline;gap:.5rem;padding:.45rem 0;border-top:1px solid var(--line)}
.order-timing dd{margin:0;font-weight:700;white-space:nowrap}
#order-economics-facts>div{flex-wrap:wrap}
#order-economics-facts dd{white-space:normal}
#order-economics :is(form,ul){margin-top:1rem}
#order-economics fieldset>button{justify-self:start;margin-top:.55rem}
#order-economics a{display:inline-flex;align-items:center;min-height:44px;color:var(--accent)}
#order-economics a:hover{text-decoration-thickness:2px}
#order-economics a:active{box-shadow:inset 0 -2px currentColor}
#order-quote-actions.order-launch-actions .order-checkbox input{inline-size:44px;block-size:44px;flex-shrink:0}
.order-brief-summary dt{font-weight:600}
.order-brief-summary dd{margin:0 0 .65rem;white-space:pre-wrap}
.order-history time{display:block;color:var(--muted);font-size:.875rem}
.order-history li+li{margin-top:.5rem}

.order-page [hidden]{display:none}
.order-timeline,.order-notes{padding-left:1.3rem}
.order-timeline li+li,.order-notes li+li{margin-top:.45rem}
#order-usage dd{white-space:normal;text-align:right;min-width:0}
.order-timeline [aria-current=step]{font-weight:700}
.order-receipts{margin:.4rem 0;padding-left:1.15rem;font-weight:400}
#order-pause{margin-top:1rem;padding:1rem;border-radius:.65rem;background:var(--soft)}
#order-pause h3{margin-bottom:.4rem}
#order-pause fieldset{margin-top:.8rem}
#order-status,#order-next,.order-saved-choice{margin-top:.75rem}
#order-notification{margin-top:.5rem}
.order-back{min-width:44px;font-size:.875rem}
#order-next:empty,#order-status:empty{display:none}
.order-saved-choice{padding:.75rem 1rem;background:var(--soft);border-radius:.65rem;font-weight:600}
.order-saved-choice:focus,.order-idea h3:focus,#order-decision-title:focus{outline:3px solid var(--accent);outline-offset:3px}
.order-idea-jumps{list-style:none;padding:0;margin:.35rem 0}
.order-idea-jumps .order-link{display:flex;padding-inline:0}
#order-idea-list{display:grid;gap:.8rem;margin-top:.7rem}
.order-idea{min-width:0;margin:0}
.order-idea h3{margin-bottom:.45rem}
.order-idea img{display:block;width:100%;max-width:390px;height:auto;margin-top:.65rem;border:1px solid var(--line);border-radius:.65rem}
.order-idea h4{margin:.9rem 0 .4rem}
.order-idea .order-brief-summary{margin-bottom:0}
.order-idea button[aria-pressed=true]{border-color:var(--accent);background:var(--soft);font-weight:700}
.order-page summary,.order-page button,.order-link{min-width:44px}
.order-link{display:inline-flex;align-items:center;min-height:44px;padding:.35rem .25rem;color:var(--accent);font-weight:600}
.order-scores{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.5rem;margin:.75rem 0}
.order-scores div{padding-top:.45rem;border-top:1px solid var(--line)}
.order-scores dt{color:var(--muted);font-size:.875rem}
.order-scores dd{margin:0;font-weight:700}
#order-history-toggle{margin-top:.75rem}
.order-detail{margin-top:.75rem}
.order-detail label,#order-reject-form label{display:block;font-weight:600}
.order-detail textarea,#order-reject-form textarea,#order-research-fields textarea{width:100%;min-width:0}
.order-detail button{margin-top:.35rem}
#order-reject-form{margin-top:1rem}
#order-cancel{margin-bottom:.5rem}
.order-research-text {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font-family: inherit;
  font-size: 16px;
}
.order-research-text > div { margin-bottom: .75rem; }
.order-research-text dt { font-weight: 600; }
.order-research-text dd { margin: .2rem 0 0; }
@media(max-width:700px){
  #order-quote[open]{margin-top:.65rem;padding-top:.7rem}
  #order-quote-actions{margin-top:.5rem}
  #order-quote-actions .order-actions{margin-top:.2rem}
  #order-queue-research{gap:0}
  #order-queue-research-text{margin:.2rem 0 .1rem}
  #order-queue-research-text>div{margin:0}
  #order-queue-research-text :is(dt,dd){display:inline;margin:0}
  #order-queue-research-text dt::after{content:' — '}
}

.order-preview :is(figure,fieldset){margin-inline:0}
#order-return-note :is(textarea,select,button){scroll-margin-top:4.5rem}
:is(#order-late-title,#order-return-title):focus{outline:3px solid var(--accent);outline-offset:3px}
.order-report{white-space:pre-wrap;overflow-wrap:anywhere}
.order-stage-actions:empty,.order-stage-actions:not(:has(> :not([hidden]))){display:none}
#order-late-primary-links{margin-top:0}
#order-accept:not(.order-primary){order:1}
.order-late-actions .order-primary{color:var(--accent-text);padding:.55rem .95rem;font-weight:700;text-align:center}
#order-download-done{justify-content:center;padding:.55rem .95rem;border:1px solid var(--line);border-radius:.65rem;text-decoration:none}
#order-download-done:hover{border-color:var(--accent);text-decoration:underline}
#order-selected-ideas #order-ideas{margin-bottom:0}
@media(max-width:480px){
  .order-stage-actions{display:grid;grid-template-columns:minmax(0,1fr)}
}
