dialog.factory{width:min(1280px,96vw);max-width:96vw;height:94dvh;max-height:94dvh;padding:0;background:#0d2222;color:#e4f5ed;border:1px solid #cc9565;box-shadow:0 30px 100px #0009;font-size:16px;line-height:1.45;color-scheme:dark}
.factory .dismiss{position:sticky;float:right;top:12px;right:14px;margin-right:12px;z-index:3;background:#112c2c;border:1px solid #8adbc345;border-radius:50%;line-height:1}
.fx-frame{padding:clamp(18px,3vw,38px);background:radial-gradient(ellipse 80% 40% at 78% 0%,#20554b,transparent)}
.fx-brand{padding-right:46px}.fx-brand span{font:600 13px/1.3 "Segoe UI",sans-serif;color:#8edec2;letter-spacing:.12em;text-transform:uppercase}
.factory .fx-brand h2{font:500 clamp(25px,3vw,40px)/1.15 "Segoe UI",sans-serif;letter-spacing:-.035em;margin:8px 0 22px}
.factory h3,.factory h4{font:600 1.12rem/1.35 "Segoe UI",sans-serif;letter-spacing:-.01em;margin:0 0 14px}
.factory section{width:100%;background:#143131;border:1px solid #8dd1b926;border-radius:14px;padding:clamp(14px,2vw,24px);margin:0 0 16px;min-width:0}
.fx-head,.fx-tools,.fx-bottom,.fx-nav,.fx-guide{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.fx-head,.fx-bottom,.fx-guide{justify-content:space-between}.factory .fx-head h3{margin:0}.fx-head{margin-bottom:12px}
.fx-tools,.fx-bottom{margin-top:16px}.fx-controls{margin-top:0}.fx-frame button{color:#def2ea;padding:10px 15px;background:#28514b88;border:1px solid #b1f1dd3b;border-radius:8px;font-size:.95rem}
.fx-frame button:is(.touch-lit,:hover:where(html:not(.touch-input) *)),.fx-frame button:focus-visible{background:#32685d;color:white}.fx-frame .primary{background:#8ce6bf;color:#09271f;font-weight:600}.fx-frame .primary:is(.touch-lit,:hover:where(html:not(.touch-input) *)){background:#aff5d6;color:#09271f}
.fx-nav{margin:20px 0;gap:5px 18px;border-bottom:1px solid #a2ddcc38}
.fx-nav button{border:0;border-bottom:2px solid transparent;padding:9px 0;background:none;border-radius:0;color:#c5dbd6}
.fx-nav button.chosen{border-color:#85e2bd;color:#97f3cc}
.fx-kpis,.fx-layout,.fx-fields,.fx-board{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:16px}
.fx-kpis>div{padding:16px 19px;border-radius:12px;background:linear-gradient(115deg,#205047,#163837);border:1px solid #98e1c529}
.fx-kpis span,.factory small{font-size:.9rem;color:#bbe1d5;letter-spacing:0;text-transform:none}
.factory small:before{display:none}.fx-kpis b{display:block;font-size:2rem;line-height:1.3;font-weight:500;font-variant-numeric:tabular-nums}
.fx-layout{grid-template-columns:1.1fr 1fr;margin-bottom:0}
.fx-columns{display:flex;height:150px;align-items:end;gap:5%;background:repeating-linear-gradient(0deg,#beeadc13 0 1px,transparent 1px 36px);margin:0 0 10px}
.fx-columns div{flex:1;height:100%;display:flex;flex-direction:column;justify-content:flex-end;align-items:center;gap:3px;font-size:13px}
.fx-columns i{width:82%;background:linear-gradient(#8de2c0,#308977);border-radius:5px 5px 0 0;transform-origin:bottom;animation:fx-in calc(.45s * var(--studio-motion,1)) ease-out}.fx-columns span{color:#acc8be}
@keyframes fx-in{from{transform:scaleY(.05)}}
.fx-meter{display:grid;align-items:center;grid-template-columns:minmax(110px,1.15fr) 1fr 24px;gap:10px;margin:17px 0;font-size:15px}.fx-meter progress{width:100%;height:12px;accent-color:#80deb8}
.fx-table{overflow:auto;max-width:100%;border-radius:9px;background:#f4f9f6;color:#183832}
.fx-table table{width:100%;border-collapse:collapse;text-align:left;font-size:.94rem;font-variant-numeric:tabular-nums}
.fx-table th,.fx-table td{padding:11px 13px;border-bottom:1px solid #cddfd7}.fx-table th{color:#30524b;background:#d6e9df;font-weight:600}.fx-table tbody tr:nth-child(even){background:#eaf2ed}
.fx-table button{padding:4px 8px;background:#d2eae0;color:#15584a;font-weight:600}
.fx-warn{color:#ffbc86}.fx-ok{color:#8fe7be}.fx-table .fx-warn{color:#9a3317;font-weight:600}.fx-table .fx-ok{color:#196349}
.fx-board{grid-template-columns:repeat(5,minmax(0,1fr));overflow-x:auto}.factory .fx-board section{padding:12px}.fx-board button{display:block;width:100%;text-align:left;margin-bottom:8px}.fx-board b{color:#abf2d6}
.fx-fields{grid-template-columns:1fr 1.25fr .75fr 1fr 1fr}.fx-fields label{min-width:0;font-size:.9rem}
.factory select,.factory input{background:#0e2424;border:1px solid #8bceb974;color:#f1fff8;padding:10px;min-width:0;font-size:16px}
.fx-tools input{width:90px}.fx-tools select{width:auto;max-width:100%}.fx-alert,.fx-guide{background:#49382b;color:#ffdfb9;padding:14px;border-radius:10px;margin:14px 0;border-left:3px solid #f1ae71}
.fx-guide{background:#153f36;color:#e2f8ee;border-color:#86e7c0;animation:appear calc(.3s * var(--studio-motion,1)) ease-out}.fx-guide b{color:#8ce6bf;margin-right:10px}.fx-guide .fx-tools{margin:0}
.fx-sheet{display:block;width:100%;min-width:830px}.fx-bottom{padding-top:22px;border-top:1px solid #99d6c138}.fx-bottom p{margin:4px 0;color:#bcd5cf}.fx-bottom .btn{font-size:.95rem}
@media(max-width:960px){.fx-board{grid-template-columns:repeat(5,190px)}.fx-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.fx-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.fx-layout{grid-template-columns:1fr}.fx-table table{min-width:570px}}
@media(max-width:600px){.fx-frame{padding:14px}.fx-brand span{font-size:11px}.fx-frame button{padding:9px 10px;font-size:14px}.fx-kpis{gap:8px}.fx-kpis>div{padding:11px}.fx-kpis b{font-size:1.65rem}.fx-nav{gap:2px 12px}.fx-nav button{padding:8px 0}.fx-controls{gap:7px}.fx-fields{gap:9px}.fx-table th,.fx-table td{padding:9px}.fx-brand{padding-right:50px}.fx-head{gap:6px}.fx-bottom{align-items:start}.fx-tools .btn{white-space:normal}.fx-meter{font-size:14px}.fx-guide{font-size:.93rem}}
@media(prefers-reduced-motion:reduce){.fx-columns i,.fx-guide{animation:none}}
.fx-feature,.fx-success,.fx-portrait{display:flex;align-items:center;gap:18px}
.fx-feature,.fx-success{border-radius:15px;padding:12px 22px;margin:0 0 16px;background:radial-gradient(ellipse at 8% 90%,#b37a4642,transparent 48%),linear-gradient(105deg,#254240,#143832);border:1px solid #c0e8ca38}
.fx-feature>div,.fx-success>div{flex:1}
.fx-feature strong,.fx-portrait strong,.fx-success strong{display:block;line-height:1.25;font-size:clamp(18px,1.5vw,25px);letter-spacing:-.025em;margin:4px 0}
.fx-feature span,.fx-success span{color:#c0dbd3;font-size:14px}
.fx-object{flex:none;width:135px;height:auto;display:block;filter:drop-shadow(0 6px 7px #0002)}
.fx-portrait .fx-object{width:98px}
.fx-portrait{gap:12px;margin:5px 0}
.fx-icon{display:inline-block;vertical-align:middle;width:22px;height:22px;margin-right:7px;color:#8be0bd}
.fx-board .fx-object{width:68px;float:right;margin:-3px -6px 0 0}
.fx-board button{overflow-wrap:anywhere}
.fx-route{display:flex;position:relative;margin:12px 0 20px}
.fx-route>div{flex:1;min-width:0;position:relative;text-align:center;color:#b1c8c3;font-size:14px}
.fx-route>div:not(:first-child):before{content:"";position:absolute;right:50%;top:19px;width:100%;height:2px;background:#405f59}
.fx-route .fx-icon{position:relative;display:block;margin:0 auto 6px;padding:8px;width:40px;height:40px;border-radius:50%;background:#203c39;border:1px solid #42655d;color:inherit}
.fx-route .past .fx-icon{background:#22614e;color:#b4f6d5}
.fx-route .now .fx-icon{background:#93ebc6;color:#12322c;box-shadow:0 0 0 5px #83efbf1f}
.fx-route .now{color:#a5f1ce;font-weight:600}
.fx-route>div:is(.past,.now):before{background:#78d0aa}
.fx-route>div.now:before{animation:fx-fill calc(.5s * var(--studio-motion,1)) ease-out;transform-origin:left}
.fx-success strong{font-size:clamp(24px,2.6vw,37px)}.fx-success small{color:#a7efcc}
.fx-result .fx-table table{min-width:0}
.fx-result .fx-table td:nth-child(2){font-weight:700;color:#21614a}
.fx-bins{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:9px}
.fx-bins button{font-size:14px;text-align:left;padding:12px}
.fx-bins button[aria-pressed=true]{border-color:#87e4bb;background:#255549}
.fx-bins b{display:block;font-size:22px;font-weight:500;font-variant-numeric:tabular-nums}
.fx-level,.fx-legend{display:flex}.fx-level{height:7px;border-radius:6px;overflow:hidden;background:#0a2523;margin-top:6px}
.fx-level i,.fx-legend span:before{background:#8ce6bf}
.fx-level i:nth-child(2),.fx-legend span:nth-child(2):before{background:#d9a164}
.fx-level i:nth-child(3),.fx-legend span:nth-child(3):before{background:#ff7865}
.fx-legend{gap:6px 15px;flex-wrap:wrap;color:#dbece6;margin:0 0 14px;font-size:14px}
.fx-legend span:before{content:"";display:inline-block;width:9px;height:9px;border-radius:50%;margin-right:6px}
.fx-advice{padding:13px 15px;background:#0f2928;border-radius:9px;font-size:15px;margin-top:14px}
.fx-advice button{margin:6px 0 0;padding:6px 10px}
@keyframes fx-fill{from{transform:scaleX(0)}}
@keyframes fx-rise{from{transform:translateY(7px);opacity:.15}}
@media(prefers-reduced-motion:no-preference){
.fx-success,.fx-route .now .fx-icon,.fx-portrait .fx-object,.fx-feature .fx-object{animation:fx-rise calc(.42s * var(--studio-motion,1)) ease-out}
.fx-level,.fx-track i,.fx-meter progress{animation:fx-fill calc(.5s * var(--studio-motion,1)) ease-out;transform-origin:left}
}
@media(prefers-reduced-motion:reduce){.fx-route>div.now:before{animation:none}}
@media(max-width:960px){.fx-bins{grid-template-columns:repeat(3,minmax(0,1fr))}.fx-feature{gap:6px 14px;padding:12px 16px;display:grid;grid-template-columns:110px 1fr}.fx-feature>.fx-object{grid-row:1/3;width:110px}.fx-feature>.fx-portrait{grid-column:1/-1}.fx-feature>button{grid-column:2;justify-self:start}.fx-success{padding:10px 12px}.fx-success .fx-object{width:112px}.fx-route>div{font-size:13px}}
@media(max-width:560px){.fx-feature{grid-template-columns:76px 1fr;padding:10px;gap:8px}.fx-feature>.fx-object,.fx-success .fx-object{width:76px}.fx-feature>button{grid-column:1/-1;width:100%}.fx-feature>.fx-object{grid-row:1}.fx-success{gap:7px}.fx-success strong{font-size:20px}.fx-route>div{font-size:11px;overflow-wrap:anywhere}.fx-route>div:not(.now) span{display:none}.fx-route>div.now{flex:1.65}.fx-route>div.now:before{width:80%}.fx-route .now+div:before{width:130%}.fx-bins{grid-template-columns:repeat(2,minmax(0,1fr))}.fx-result .fx-table :is(td,th){font-size:12px;padding:8px 4px;overflow-wrap:anywhere}.fx-result .fx-table table{table-layout:fixed}.fx-result .fx-table th:first-child{width:31%}}
.fx-stock{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.fx-stock span{float:right}.fx-track{height:7px;border-radius:5px;overflow:hidden;background:#81dcba;margin:10px 0 5px}
.fx-track i{display:block;height:100%;background:#c58f65}
/* Miniature production dashboard and the order receipt */
.artwork.art1{container-type:inline-size;padding:0;background:radial-gradient(ellipse at 81% 27%,#427965 0%,transparent 52%),linear-gradient(118deg,#0f282c,#1b433d);color:#eff9ef}
.fc-sheet{position:absolute;inset:0;display:grid;grid-template-columns:52% 48%;grid-template-rows:46% 32% 17% 5%;padding:4% 6%;align-items:center;font:500 clamp(11px,2.85cqw,17px)/1.2 "Segoe UI",sans-serif;font-variant-numeric:tabular-nums}
.fc-brief,.fc-stats>span{display:flex;flex-direction:column;gap:.6cqw}
.fc-tag{font-size:.85em;color:#9be5c5;letter-spacing:.13em;text-transform:uppercase;font-weight:600}
.fc-title{font-size:1.9em;font-weight:600;letter-spacing:-.04em}
.fc-client,.fc-stats{color:#bdd9ce}
.fc-sheet .fx-object{position:absolute;right:4%;top:2%;width:42%;height:65%;filter:drop-shadow(0 8px 8px #05191b66)}
.fc-stats{grid-column:1/-1;display:flex;align-items:center;gap:4cqw;font-size:.94em}
.fc-stats>span+span{border-left:1px solid #97d5be52;padding-left:4cqw}
.fc-stats strong{font:600 1.95em/1 "Segoe UI",sans-serif;color:#f0fbef}
.fc-stats>span+span strong{color:#99ebcb}
.fc-stock,.fc-meter{grid-column:1/-1}
.fc-stock{display:flex;justify-content:space-between;align-items:center;font-size:.98em}
.fc-stock em{font-style:normal;color:#a3e6cc;margin-left:1.1cqw}
.fc-short{color:#ffceab;background:#553931;padding:.22em .65em;border-radius:30px}
.fc-meter{height:1.35cqw;background:#ec9f71;overflow:hidden;border-radius:20px}
.fc-meter i{display:block;height:100%;background:#88e4bd;transform-origin:left}
.related-item .art1 .fc-sheet>*:not(svg){display:none}
.related-item .art1 .fx-object{inset:0;width:100%;height:100%}
@container (max-width:365px){.fc-sheet{font-size:clamp(10px,3.25cqw,12px);padding:3.5% 5%}.fc-client{display:none}.fc-stats{font-size:.9em}.fc-title{font-size:1.65em}.fc-sheet .fx-object{top:1%;height:58%;right:2%;width:39%}}
.fx-check{display:inline-block;height:29px;width:29px;vertical-align:middle;margin-right:5px;fill:none;stroke:#88f3bb;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}
.fx-check circle{fill:#225a45;stroke-width:1.4}
.factory .fx-bottom{padding:clamp(16px,2.5vw,30px);background:linear-gradient(115deg,#21493f,#16332f);border:1px solid #92e6b937;border-radius:14px;gap:16px}
.factory .fx-bottom>div{flex:1 1 405px}
.factory .fx-bottom b{font-size:clamp(19px,1.65vw,25px);line-height:1.25;letter-spacing:-.025em;color:#f0fff6}
.factory .fx-bottom p{max-width:65ch;line-height:1.55;margin:8px 0 0}
.factory .fx-bottom .btn{background:#92e5c1;color:#0d2924;border:none;padding:.9em 1.25em;text-align:center;white-space:normal}
.factory .fx-bottom .btn:is(.touch-lit,:hover:where(html:not(.touch-input) *)){background:#b6f3d9}
@keyframes fx-stroke{from{stroke-dashoffset:1}to{stroke-dashoffset:0}}
@media(prefers-reduced-motion:no-preference){
.arriving .fc-meter i{animation:fx-fill calc(.85s * var(--studio-motion,1)) calc(.32s * var(--studio-motion,1)) both cubic-bezier(.2,.75,.25,1)}
.arriving .fc-stats strong,.arriving .fc-short{animation:fx-rise calc(.48s * var(--studio-motion,1)) calc(.2s * var(--studio-motion,1)) both ease-out}
.arriving .fc-stats>span+span strong{animation-delay:calc(.4s * var(--studio-motion,1))}.arriving .fc-short{animation-delay:calc(.78s * var(--studio-motion,1))}
.fc-sheet .fx-object{transition:transform calc(.6s * var(--studio-transition,1)) cubic-bezier(.2,.7,.3,1)}
.case:is(:is(.touch-lit,:hover:where(html:not(.touch-input) *)),:focus-within) .fc-sheet .fx-object{transform:translate(-2%,-3%) scale(1.05)}
.fx-check>*{stroke-dasharray:1;animation:fx-stroke calc(.45s * var(--studio-motion,1)) calc(.12s * var(--studio-motion,1)) ease-out both}
.fx-check path{animation-delay:calc(.5s * var(--studio-motion,1))}
.fx-result .fx-route,.fx-result h3,.fx-result tbody tr,.fx-result .fx-tools{animation:fx-rise calc(.38s * var(--studio-motion,1)) calc(.48s * var(--studio-motion,1)) both ease-out}
.fx-result h3{animation-delay:calc(.6s * var(--studio-motion,1))}.fx-result tbody tr{animation-delay:calc(.72s * var(--studio-motion,1))}.fx-result tbody tr:nth-child(2){animation-delay:calc(.86s * var(--studio-motion,1))}.fx-result tbody tr:nth-child(3){animation-delay:calc(1s * var(--studio-motion,1))}.fx-result .fx-tools{animation-delay:calc(1.1s * var(--studio-motion,1))}
}
.fx-breakdown tr>:is(:nth-child(3),:nth-child(4)){display:none}
.fx-breakdown .fx-table table{min-width:0}
.fx-breakdown th:last-child{width:38%}
@media(min-width:555px) and (max-width:960px){
.fx-table table{min-width:0;font-size:14px}
.fx-table th,.fx-table td{padding:9px 6px;overflow-wrap:anywhere}
}
@media(max-width:554px){.fx-breakdown .fx-table :is(td,th){padding:7px 4px;font-size:13px;overflow-wrap:anywhere}}
.is-touring .fx-controls,.is-touring .fx-nav{display:none}
.is-touring .fx-guide{position:sticky;top:0;z-index:2}
@media(max-width:960px){
.fx-stock{grid-template-columns:1fr;gap:16px}
.fx-controls button{padding:9px;font-size:14px}.fx-controls{gap:6px}
.factory .fx-brand h2{margin-bottom:14px}.fx-nav{margin:12px 0 14px}
.fx-kpis>div{padding:10px 14px}.fx-kpis{gap:9px}
.is-touring .fx-guide{padding:10px 40px 10px 12px;font-size:14px}
.is-touring .fx-tools button{padding:7px 9px;font-size:14px}
.is-touring .fx-fields{gap:6px}.is-touring .fx-fields input,.is-touring .fx-fields select{padding:6px}
}
@media(max-width:580px){.fx-controls{display:grid;grid-template-columns:auto auto}.fx-frame .fx-controls button{padding:8px 4px}.fx-nav{display:grid;grid-template-columns:repeat(3,1fr)}.fx-kpis span{font-size:13px}.fx-kpis>div{padding:8px}.fx-frame{padding:12px}.fx-guide .fx-tools{gap:5px}}
