@charset "UTF-8";
.topbar-right a.auth-link{text-decoration:none;color:#d8e5ed;font-weight:500}.topbar-right a.auth-link[hidden]{display:none!important}@media(max-width:430px){.topbar-right a.auth-link{font-size:16px;padding-inline:5px}.topbar-right a.auth-link span{display:inline}.topbar-right a.auth-link svg{display:none}}
.clone-work .file-attached{background:#101b2777;border-color:var(--line)}
.clone-work .file-attached>svg{color:var(--muted)}
.clone-work .file-attached[data-clone-file-state="ok"]{background:#12271f77;border-color:#3a5a4a}
.clone-work .file-attached[data-clone-file-state="ok"]>svg{color:var(--mint)}
.clone-work .file-attached[data-clone-file-state="rejected"]{border-color:#805454}
.clone-work .clone-file-status{display:block;margin-top:10px;font-size:11px;line-height:1.5}
.clone-work .clone-file-status[data-clone-state="ok"]{color:var(--mint)}
.clone-work .clone-file-status[data-clone-state="rejected"],.clone-work .clone-pair-status{color:#e9a3a3}
.clone-work .clone-file-status[data-clone-state="checking"],.clone-work .clone-file-status[data-clone-state="unavailable"]{color:var(--muted)}
.clone-work .clone-pair-status{font-size:11px;margin-top:15px}
.km-work .km-fields{display:flex;gap:20px;flex-wrap:wrap;margin-top:22px}
.km-work .km-fields label{display:grid;gap:8px;color:var(--muted);font-size:11px;min-width:0;max-width:100%}
.km-work .km-fields input{width:180px;max-width:100%;padding:10px 12px;border:1px solid #3a514f;border-radius:9px;background:#101b27;color:var(--text);font-size:14px}
.km-work .km-fields input[readonly]{color:var(--muted)}
.km-work .off-price{display:flex;align-items:baseline;gap:12px;color:var(--muted);font-size:12px}
.km-work .off-price strong{color:var(--text);font-weight:550;white-space:nowrap}
/* ECU/TCU IMMO OFF keeps the approved theme and exposes only its own input/output. */
.immo-off-work .off-variant{display:flex;align-items:center;gap:12px;margin-bottom:18px;color:var(--muted);font-size:11px}
.immo-off-work .off-variant select{max-width:100%;min-width:150px;padding:8px 12px;border:1px solid #3a514f;border-radius:9px;background:#182b2b;color:#d7e9e3;font-size:12px}
.immo-off-work .off-output{display:flex;align-items:baseline;gap:12px;flex-wrap:wrap;margin-top:19px;font-size:11px;color:var(--muted)}
.immo-off-work .off-output strong{font-size:12px;font-weight:450;color:#c9dcd5;overflow-wrap:anywhere}
.immo-off-work .off-price{display:flex;align-items:baseline;gap:12px;color:var(--muted);font-size:12px}
.immo-off-work .off-price strong{color:var(--text);font-weight:550;white-space:nowrap}
/* Keep navigation within its panel; names may wrap without widening the buttons. */
.sidebar .category-nav{grid-template-columns:minmax(0,1fr);min-width:0;width:100%;max-width:100%}
.sidebar .category-button{min-width:0;max-width:100%}
.sidebar .category-button>span{min-width:0;flex:1 1 0}
.sidebar .category-button small{white-space:normal;overflow-wrap:anywhere;line-height:1.4}
/* Reuse the category image next to each unit, independently of sidebar icon size. */
.unit-service-name{display:grid;grid-template-columns:30px minmax(0,1fr);column-gap:12px;align-items:center}
.unit-service-name>.unit-row-icon{grid-column:1;grid-row:1 / span 2;display:block;width:30px;height:30px;object-fit:contain}
.unit-service-name>h2{grid-column:2;grid-row:1}
.unit-service-name>span{grid-column:2;grid-row:2}
/* Brand-first navigation: shared selector stays above the existing category icons. */
.sidebar .sidebar-brand{display:flex;flex-direction:column;align-items:stretch;gap:8px;min-width:0;width:auto;margin:0 13px 23px;flex-shrink:0}
.sidebar-brand>span{font-size:16px;font-weight:500;line-height:1.25;color:#d8e5ed}
.sidebar .sidebar-brand select{display:block;min-width:0;width:100%;height:44px;flex:none}
.sidebar:has(.sidebar-brand){overflow-y:auto;overflow-x:hidden}
.selection-list .empty-catalog.brand-prompt{min-height:110px}
@media(min-width:761px) and (max-width:1000px){body{--sidebar-width:213px}.sidebar .wordmark>span,.sidebar .nav-heading,.sidebar .category-button>span,.sidebar .category-button>svg,.sidebar .utility-nav span{display:block}.sidebar .wordmark{margin:0 11px 34px}.sidebar .category-button{justify-content:flex-start;padding:9px;gap:9px}.sidebar .utility-nav button{justify-content:flex-start;padding:10px 14px}.sidebar .sidebar-brand{margin-left:9px;margin-right:9px}.unit-choices .unit-service-row{grid-template-columns:1fr;gap:16px}.direct-unit-list .unit-list-heading{display:none}}
.focused-work .work-action-area>#process-button{margin-left:auto}
/* Collapse only the marked header on the direct unit list; keep its count on the right. */
.selection-panel.direct-unit-list{position:relative}
.direct-unit-list>.selection-header{position:absolute;top:0;right:0;min-height:44px;margin:0;align-items:center}
.direct-unit-list>.selection-header>div{display:none}
.direct-unit-list>.catalogue-controls{padding-right:56px}
:root{--bg:#0c1119;--sidebar:#101721;--panel:#131c28;--panel-high:#182331;--line:#25303e;--line-soft:#1e2936;--text:#edf2f6;--muted:#8e9aab;--faint:#617083;--mint:#82e6c4;--mint-bg:#19372f;--amber:#d9bb85;--radius:16px;--sidebar-width:246px;--unit-icon:48px;--shadow:0 16px 50px #00000018;font-family:Inter,"Segoe UI",Arial,sans-serif;color:var(--text);background:var(--bg);font-synthesis:none}
*{box-sizing:border-box}body{margin:0;font-size:14px;line-height:1.5;background:radial-gradient(ellipse at 80% 0,#152b2b38,transparent 42%),var(--bg);min-width:340px}button,input,select{font:inherit}button,a,input,select{-webkit-tap-highlight-color:transparent}button{color:inherit;cursor:pointer}button{border:0;background:none}button:disabled{cursor:not-allowed}button,select,input,a{outline-offset:5px}button:focus-visible,a:focus-visible,select:focus-visible,input:focus-visible{outline:2px solid var(--mint)}a{color:inherit;text-decoration:none}button:focus:not(:focus-visible){outline:none}[hidden]{display:none!important}button svg,svg.icon{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}svg.icon-library{position:absolute;width:0;height:0;overflow:hidden}.skip-link{position:fixed;top:-60px;left:280px;z-index:100;background:var(--mint);color:var(--bg);padding:10px 18px;border-radius:8px}.skip-link:focus{top:12px}.sidebar{position:fixed;inset:0 auto 0 0;width:var(--sidebar-width);background:var(--sidebar);border-right:1px solid var(--line-soft);display:flex;flex-direction:column;padding:33px 16px 0;z-index:30}.wordmark{display:flex;gap:10px;align-items:center;margin:0 15px 51px;font-size:18px;font-weight:800;letter-spacing:-.6px;white-space:nowrap}.wordmark>span{line-height:1.1}.wordmark-light{font-weight:400;margin-left:3px}.wordmark small{display:block;margin-top:9px;color:#6d7f92;font-family:"Cascadia Code",Consolas,monospace;font-size:7px;font-weight:500;letter-spacing:1.5px}.nav-heading{font-size:10px;letter-spacing:1.8px;color:#7b8899;font-weight:600;padding:0 17px;margin-bottom:14px}.category-nav{display:grid;gap:8px}.category-button{position:relative;display:flex;align-items:center;width:100%;min-height:75px;padding:9px 13px;gap:13px;text-align:left;border:1px solid transparent;border-radius:12px;transition:background .18s,border-color .18s}.category-button img{width:var(--unit-icon);height:var(--unit-icon);object-fit:contain;filter:drop-shadow(0 4px 5px #0005);flex-shrink:0}.category-button:hover{background:#192432}.category-button.active{background:linear-gradient(105deg,#213b37,#182e2b);border-color:#375c51}.category-button.active:before{content:"";position:absolute;width:3px;height:24px;left:-17px;background:var(--mint);border-radius:0 3px 3px 0}.category-button strong{font-size:15px;letter-spacing:.6px;display:block;font-weight:650}.category-button small{font-size:10px;color:var(--muted);display:block;margin-top:2px;white-space:nowrap}.category-button.active small{color:#a4c7ba}.category-button>svg{width:14px;margin-left:auto;color:#6c8e81;opacity:0}.category-button.active>svg{opacity:1}.nav-separator{height:1px;background:var(--line-soft);margin:30px 16px 27px}.utility-nav{display:grid;gap:6px}.utility-nav button{display:flex;align-items:center;gap:13px;min-height:44px;padding:10px 16px;border-radius:9px;color:#a6b1bf;text-align:left;font-size:13px}.utility-nav svg{width:18px;color:#7e8ca0}.utility-nav button:hover,.utility-nav button.active{background:#1b2634;color:var(--text)}.utility-nav button.active svg{color:var(--mint)}.tiny-count{margin-left:auto;font-family:Consolas,monospace;font-size:10px;border:1px solid #2b3543;padding:0 5px;border-radius:4px;color:#758599}.sidebar-bottom{margin-top:auto;padding-top:38px}.demo-note{display:flex;align-items:center;gap:8px;font-size:11px;color:#899bac;padding:12px 15px;width:100%;text-align:left}.demo-dot{width:6px;height:6px;background:var(--amber);border-radius:50%;box-shadow:0 0 0 4px #d9bb850c}.demo-note svg{width:14px;margin-left:auto;color:#62758b}.profile-button{border-top:1px solid var(--line-soft);width:100%;display:flex;gap:11px;align-items:center;text-align:left;padding:20px 10px 23px}.avatar{width:34px;height:34px;background:#253137;color:#d8e9e1;border:1px solid #394746;border-radius:10px;display:grid;place-items:center;font-size:13px;font-weight:600}.profile-button b{display:block;font-size:12px;font-weight:500}.profile-button small{display:block;font-size:10px;color:var(--faint);margin-top:3px}.profile-button svg{width:14px;color:#6d7a8b;margin-left:auto}.app-body{margin-left:var(--sidebar-width)}.topbar{height:88px;border-bottom:1px solid var(--line-soft);display:flex;align-items:center;justify-content:space-between;padding:0 42px;gap:20px;background:#10172160}.topbar-left,.topbar-right{display:flex;align-items:center;gap:16px}.topbar-app{font-size:12px;color:#a0acb9}.slash{color:#3f4b5a;font-size:18px;font-weight:300}.demo-tag{display:inline-flex;align-items:center;gap:10px;font-size:9px;letter-spacing:1.6px;color:var(--amber);font-weight:600}.demo-tag span{background:#d9bb8510;color:#cbb181;border:1px solid #d9bb8528;border-radius:4px;padding:1px 5px;letter-spacing:.3px;font-family:Consolas,monospace}.balance{display:flex;align-items:center;gap:9px;color:#d8e5ed;font:inherit;font-size:16px;font-weight:500;line-height:1.25;min-height:40px;padding:6px}.balance svg{width:18px;height:18px;flex:none;color:var(--mint);fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}.balance b{font-size:16px;color:var(--text);font-weight:500;padding-left:8px}.top-divider{height:19px;width:1px;background:var(--line)}.language-picker{display:flex;gap:8px;align-items:center}.language-picker>svg{width:18px;height:18px;flex:none;fill:none;stroke:var(--mint);stroke-width:1.5}.language-picker select{width:112px;font-size:16px;font-weight:500;background:transparent;color:#d8e5ed;border:0;cursor:pointer;padding:6px 0}.language-picker option,.language-picker optgroup{background:#18212d;color:var(--text)}.language-picker option:disabled{color:#6b788b}.icon-button{border:1px solid transparent;border-radius:8px;width:34px;height:34px;display:grid;place-items:center;color:#9aa9bb;transition:background .15s,border-color .15s}.icon-button:hover{background:#263344;border-color:#344154;color:#e6f3f0}.icon-button svg{width:17px;height:17px}.mobile-menu{display:none}main{padding:38px 42px 0;max-width:1610px;margin:0 auto}.page-intro{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:29px}.eyebrow{font-size:9px;font-weight:600;letter-spacing:1.8px;color:#8c9aaa;display:flex;align-items:center;gap:8px}.mint-line{height:1px;width:19px;background:var(--mint)}h1{font-size:clamp(27px,2.6vw,39px);line-height:1.2;font-weight:600;letter-spacing:-1.5px;margin:13px 0 9px}p{color:var(--muted);margin:0}.page-intro p{font-size:12px}.workspace-stamp{font-family:"Cascadia Code",Consolas,monospace;text-align:right;align-self:flex-end;padding-bottom:4px}.workspace-stamp>span{font-size:9px;color:#526274;letter-spacing:2px;display:block}.workspace-stamp b{font-size:12px;color:#99aaa7;display:block;margin-top:5px;font-weight:400;letter-spacing:1px}.function-bar{display:flex;align-items:center;gap:5px;border-bottom:1px solid var(--line);padding:0 0 17px;margin-bottom:26px;overflow:auto;scrollbar-width:thin;scrollbar-color:#2e3d48 transparent}.function-button{display:flex;align-items:center;justify-content:center;gap:8px;white-space:nowrap;font-size:12px;font-weight:500;color:#8492a4;padding:10px 13px;border:1px solid transparent;border-radius:8px;min-height:40px;transition:all .18s}.function-button svg{width:15px;height:15px;stroke-width:1.7}.function-button:hover{background:#192330;color:#dce9e6}.function-button.active{background:var(--mint-bg);border-color:#356152;color:var(--mint)}.function-button .action-count{font-family:Consolas,monospace;font-size:9px;color:#80aa9a;margin-left:3px}.function-button:disabled{opacity:.3;background:none;border-color:transparent;color:#9cabbc}.workspace-grid{display:grid;grid-template-columns:320px minmax(0,1fr);gap:25px;align-items:start}.catalog-panel{min-width:0;background:#111924;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden}.section-title{padding:21px 20px 18px;display:flex;align-items:center;justify-content:space-between}.section-title>div,.upload-heading>div{display:flex;align-items:center;gap:10px}.step-number{font-family:Consolas,monospace;font-size:9px;letter-spacing:.5px;display:inline-flex;align-items:center;color:#80958f;border:1px solid #35443f;border-radius:4px;padding:2px 4px;line-height:1.1}.section-title h2,.upload-heading h3{font-size:13px;font-weight:550;margin:0;letter-spacing:-.15px}.catalog-count{font-size:10px;font-family:Consolas,monospace;color:#7b8c9f}.catalog-tools{padding:0 15px 18px;display:grid;gap:9px;border-bottom:1px solid var(--line-soft)}.search-box{display:flex;gap:8px;align-items:center;border:1px solid #2c3a49;border-radius:8px;background:#0c141f;padding:0 10px;min-height:39px;transition:border-color .18s}.search-box:focus-within{border-color:#69b49d}.search-box svg{width:15px;height:15px;fill:none;stroke:#718297;stroke-width:1.6;flex-shrink:0}.search-box input{width:100%;min-width:0;padding:10px 0;border:0;background:transparent;color:var(--text);font-size:11px;outline:none}.search-box input::placeholder{color:#607084}.search-box kbd{font-family:Consolas,monospace;border:1px solid #2a3644;border-radius:3px;font-size:10px;padding:0 4px;color:#657b8e}.brand-filter{position:relative}.brand-filter select{width:100%;appearance:none;padding:9px 28px 9px 10px;border:1px solid var(--line);border-radius:7px;background:#151f2c;color:#9aa9bb;font-size:11px;cursor:pointer}.brand-filter svg{position:absolute;right:10px;top:12px;width:13px;height:13px;transform:rotate(90deg);stroke:#7d8e9f;stroke-width:1.5;fill:none;pointer-events:none}.catalog-list{display:grid;padding:8px;min-height:160px;max-height:482px;overflow:auto;scrollbar-width:thin;scrollbar-color:#35434f transparent;align-content:start}.unit-card{display:flex;align-items:center;gap:12px;width:100%;min-width:0;padding:14px 13px;text-align:left;border:1px solid transparent;border-radius:9px;position:relative;transition:background .18s,border-color .18s}.unit-card:hover{background:#1a2635}.unit-card.active{background:linear-gradient(105deg,#1c322e,#172720);border-color:#36554a}.unit-initials{font-size:11px;font-weight:650;width:30px;height:30px;display:grid;place-items:center;flex-shrink:0;border-radius:8px;background:#1b2837;border:1px solid #324151;letter-spacing:-.5px;color:#a5b4c3}.unit-card.active .unit-initials{background:#253f36;border-color:#436352;color:#b6edce}.unit-card-copy{min-width:0;flex:1}.unit-card-copy>small{display:block;font-size:9px;font-weight:500;text-transform:uppercase;letter-spacing:1px;color:#6e8195;margin-bottom:3px}.unit-card.active .unit-card-copy>small{color:#88b59f}.unit-card-copy>strong{display:block;font-weight:550;font-size:12px;color:#b8c7d4;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.unit-card.active strong{color:#e2f2e9}.unit-card-copy>span{display:block;color:#647991;font-size:10px;margin-top:4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.unit-card.active .unit-card-copy>span{color:#88a295}.unit-card>svg{width:14px;height:14px;margin-left:4px;color:#5b716c}.unit-card.active>svg{color:var(--mint)}.catalog-footer{font-size:9px;color:#637688;display:flex;align-items:center;gap:7px;padding:17px 19px;border-top:1px solid var(--line-soft)}.outline-dot{width:5px;height:5px;border:1px solid #668879;border-radius:50%}.empty-catalog{text-align:center;padding:40px 15px;color:#8395a9;font-size:12px}.empty-catalog svg{width:24px;height:24px;display:block;margin:0 auto 12px;color:#486153}.empty-catalog p{font-size:11px;margin:5px 0 16px}.work-panel{background:linear-gradient(115deg,#17222e,#131d29 60%);border:1px solid #2e3d49;border-radius:var(--radius);min-width:0;box-shadow:var(--shadow);overflow:hidden}.work-panel-header{display:flex;gap:17px;align-items:center;padding:25px 26px;border-bottom:1px solid var(--line);position:relative;background:radial-gradient(ellipse at 0 0,#24483c28,transparent 70%)}.selected-icon{width:78px;height:78px;border:1px solid #34483f;border-radius:16px;display:grid;place-items:center;background:linear-gradient(150deg,#233c31,#1b2925);flex-shrink:0;position:relative}.selected-icon:after{content:"";position:absolute;width:3px;height:3px;top:7px;left:7px;border:1px solid #66897d;border-radius:50%}.selected-icon img{width:var(--unit-icon);height:var(--unit-icon);object-fit:contain;filter:drop-shadow(0 6px 4px #0007)}.selected-heading{flex:1;min-width:0}.breadcrumbs{display:flex;align-items:center;gap:6px;color:#7e95a0;font-size:9px;letter-spacing:.4px;margin-bottom:5px;flex-wrap:wrap}.breadcrumbs button{padding:0;font-size:9px;color:#7e95a0}.breadcrumbs button:hover{color:var(--mint)}.breadcrumbs svg{width:9px;height:9px;stroke:#4b5c6d;fill:none;stroke-width:1.5}.selected-heading h2{font-size:clamp(20px,2vw,27px);font-weight:550;letter-spacing:-.8px;line-height:1.2;margin:0 0 11px}.unit-tags{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.unit-tags span{font-size:9px;padding:2px 7px;border-radius:4px;color:#8fa2b4;background:#1b2a38;border:1px solid #2a3c4a;font-weight:450}.unit-tags .function-tag{color:#a2ddc5;border-color:#38574c;background:#1c352b}.info-button{align-self:flex-start;width:27px;height:27px;color:#78939f}.flow-steps{display:flex;align-items:center;justify-content:center;gap:15px;padding:18px 22px;border-bottom:1px solid var(--line-soft);background:#0b141d3d;font-size:10px;color:#64768b;white-space:nowrap}.flow-steps>span{display:flex;align-items:center;gap:7px}.flow-steps b{display:grid;place-items:center;width:18px;height:18px;border:1px solid #344353;border-radius:50%;font-size:8px;font-family:Consolas,monospace;font-weight:400;color:#718499}.flow-steps i{height:1px;background:#34404e;width:30px;max-width:6%;flex-shrink:1}.flow-steps .current{color:#bddbce}.flow-steps .current b{color:var(--mint);border-color:#477460;background:#29433455}.flow-steps .done{color:#88a99b}.flow-steps .done b{background:#284a3d;color:var(--mint);border-color:#355d4b}.work-content{padding:24px 26px 0;min-height:280px}.upload-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:15px}.memory-kind{font-family:Consolas,monospace;font-size:8px;letter-spacing:1px;padding:3px 6px;border-radius:4px;border:1px solid #34414e;color:#7f91a5}.file-slots{display:grid;gap:13px}.drop-zone{position:relative;border:1px dashed #405260;border-radius:11px;background:radial-gradient(ellipse at 50% 100%,#1c343039,transparent 80%),#101b2777;min-height:172px;display:flex;align-items:center;justify-content:center;text-align:center;padding:23px 18px;transition:all .2s;outline-offset:4px}.drop-zone:hover,.drop-zone.dragging{border-color:var(--mint);background:#1e393044}.drop-zone:before,.drop-zone:after{position:absolute;content:"+";font-family:Consolas,monospace;font-size:10px;color:#627384;line-height:1}.drop-zone:before{top:8px;left:8px}.drop-zone:after{bottom:8px;right:8px}.upload-glyph{display:grid;place-items:center;border:1px solid #3a4d53;border-radius:12px;background:linear-gradient(150deg,#293e3e,#182b31);color:#c9e7d8;width:43px;height:43px;margin:0 auto 13px}.upload-glyph svg{width:21px;height:21px;stroke-width:1.4}.drop-zone strong{font-size:13px;font-weight:500;display:block}.drop-zone p{font-size:10px;color:#71869b;margin-top:5px}.drop-zone p span{color:#b8dbc9;text-decoration:underline;text-underline-offset:3px}.drop-zone .slot-label{display:block;color:#91a994;font-size:9px;margin-bottom:12px;text-transform:uppercase;letter-spacing:1.1px}.file-slots.multiple{grid-template-columns:1fr 1fr}.file-slots.multiple .drop-zone{min-height:172px;padding:20px 10px}.file-slots.multiple .drop-zone strong{font-size:11px}.file-slots.multiple .drop-zone p{font-size:9px}.file-input{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}.file-attached{display:flex;align-items:center;gap:12px;background:#12271f77;border:1px solid #3a5a4a;border-radius:10px;padding:15px;min-height:100px;position:relative}.file-attached>svg{color:#9bd7bb;width:30px;height:30px}.file-details{min-width:0;flex:1}.file-details strong{display:block;font-size:12px;font-weight:500;word-break:break-word;line-height:1.5}.file-details span{display:block;font-size:10px;color:#7f9f90;margin-top:5px}.file-details .file-local{font-size:9px;color:#7c92a4}.file-attached .icon-button{flex-shrink:0;width:26px;height:26px;align-self:flex-start;color:#839e92}.file-attached .icon-button:hover{color:#f09d9d;background:#3e2025}.sample-row{display:flex;gap:12px;align-items:center;justify-content:center;padding:17px 0 20px;font-size:10px;color:#718397;flex-wrap:wrap}.text-button{display:inline-flex;align-items:center;gap:7px;padding:0;color:#b2cbbb;font-size:10px}.text-button svg{width:13px;height:13px}.text-button:hover{color:var(--mint)}.work-action-area{display:grid;gap:17px;padding:0 26px 24px}.price-summary{padding:14px 0 0;border-top:1px solid #2b3b48;display:flex;align-items:center;gap:10px}.price-summary>svg{width:17px;height:17px;fill:none;stroke:#6d8b83;stroke-width:1.4}.price-summary>div{flex:1}.price-summary span:not(.small-demo){font-size:9px;color:#8b9cae;display:block}.price-summary b{font-size:11px;font-weight:400;color:#c3d1d8;display:block;margin-top:2px}.small-demo{font-family:Consolas,monospace;font-size:8px;letter-spacing:1px;color:#a89774;border:1px solid #4e4639;border-radius:4px;padding:3px 6px}.primary-button{display:flex;justify-content:center;align-items:center;gap:12px;background:var(--mint);color:#12352c;min-height:46px;border:1px solid #9ff6d6;border-radius:8px;padding:11px 18px;font-size:12px;font-weight:650;box-shadow:0 2px 8px #74efc017;transition:background .18s,transform .18s}.primary-button:not(:disabled):hover{background:#a6f1d7;transform:translateY(-1px)}.primary-button svg{width:16px;height:16px;stroke-width:1.8}.primary-button:disabled{color:#7b8d96;background:#26343e;border-color:#354550;box-shadow:none}.work-panel-footer{font-size:9px;color:#6f8696;padding:14px 15px;background:#0a141d60;border-top:1px solid var(--line-soft);display:flex;align-items:center;justify-content:center;gap:7px}.work-panel-footer svg{width:12px;height:12px;fill:none;stroke:#729d8f;stroke-width:1.6}.workspace-bottom{display:flex;justify-content:space-between;align-items:center;margin:19px 0 0;gap:15px;font-size:10px;color:#566c7e}.technical-caption{font-family:Consolas,monospace;letter-spacing:1.1px;font-size:8px;color:#4e6575}.technical-caption>span{margin:0 7px;color:#486b61}.page-footer{display:flex;align-items:center;justify-content:space-between;padding:27px 0 21px;font-size:9px;color:#4b5e72;margin-top:21px;border-top:1px solid #1c2936}.page-footer>span:first-child{letter-spacing:.6px}.page-footer>span:last-child{font-family:Consolas,monospace;letter-spacing:.6px;font-size:8px}.footer-divider{margin:0 9px;color:#394c61}.result-panel{border:1px solid #416554;background:radial-gradient(ellipse at 100% 0,#31563f44,transparent 90%),#1b32288c;border-radius:11px;padding:25px 21px;margin-bottom:22px;animation:appear .25s ease}.result-title{display:flex;gap:12px;align-items:center;margin-bottom:19px}.result-check{display:grid;place-items:center;width:38px;height:38px;border:1px solid #5d9574;background:#244d37;border-radius:50%;color:#a5f1bf}.result-check svg{width:20px;height:20px}.result-title h3{margin:0;font-size:16px;font-weight:550;letter-spacing:-.3px}.result-title p{font-size:10px;color:#8bb09a;margin-top:3px}.result-file{display:flex;align-items:center;gap:11px;border-top:1px solid #365347;padding:16px 0;color:#b8d7c6}.result-file>svg{width:23px;height:23px}.result-file>div{min-width:0}.result-file strong{font-size:11px;display:block;font-weight:500;overflow-wrap:anywhere}.result-file small{font-size:9px;color:#82a391}.result-notice{font-size:10px;color:#91b2a4;margin-bottom:17px;line-height:1.7}.result-panel .primary-button{width:100%}.result-reset{margin-top:14px;width:100%;justify-content:center}.processing-panel{text-align:center;padding:20px 0 32px}.processing-orbit{width:61px;height:61px;margin:0 auto 16px;border-radius:50%;border:1px solid #487d66;border-top-color:#bcf9d5;display:grid;place-items:center;animation:pulse 1s ease infinite}.processing-orbit svg{width:25px;height:25px;stroke:#a4e8c7;fill:none;stroke-width:1.3}.processing-panel h3{font-size:15px;font-weight:500;margin:0 0 8px}.processing-panel p{font-size:10px}.processing-track{height:3px;border-radius:2px;background:#294235;max-width:230px;margin:25px auto 0;overflow:hidden}.processing-track span{display:block;height:100%;background:var(--mint);width:45%;animation:progress 1s ease-in-out infinite}.view{animation:appear .2s ease}.content-page{max-width:1050px}.content-page .page-intro{margin-bottom:32px}.large-panel{background:var(--panel);border:1px solid var(--line);border-radius:var(--radius);overflow:hidden}.panel-heading{display:flex;align-items:center;justify-content:space-between;padding:22px 25px;border-bottom:1px solid var(--line);gap:15px}.panel-heading h2{font-size:14px;font-weight:550;margin:0}.muted-badge{font-size:9px;letter-spacing:.4px;color:#9aabbd;border:1px solid #344354;border-radius:5px;padding:4px 7px}.history-table{width:100%;border-collapse:collapse;text-align:left}.history-table th{font-size:9px;text-transform:uppercase;letter-spacing:.9px;color:#6e8297;font-weight:500;padding:15px 23px;background:#101a27}.history-table td{padding:19px 23px;border-top:1px solid #263343;font-size:12px}.history-table td small{display:block;font-size:10px;color:#788da2;margin-top:4px}.history-table .mono{font-family:Consolas,monospace;font-size:10px;color:#8192a5}.history-table tbody tr:hover{background:#1b2a38}.history-table .table-action{display:flex;justify-content:center}.history-table .table-action svg{width:15px;height:15px}.access-grid{display:grid;grid-template-columns:1.1fr 1fr;gap:22px}.access-card{padding:29px;border:1px solid var(--line);border-radius:var(--radius);background:var(--panel);display:flex;flex-direction:column}.access-card.featured{background:radial-gradient(ellipse at 100% 0,#29524259,transparent 80%),#182b26;border-color:#466757}.access-eyebrow{display:flex;align-items:center;gap:9px;font-size:10px;font-weight:500;color:#b6ccb9}.access-eyebrow svg{width:18px;height:18px;stroke:var(--mint);fill:none;stroke-width:1.6}.access-card h2{font-size:26px;letter-spacing:-.7px;font-weight:500;margin:19px 0 10px}.price-large{font-size:51px;letter-spacing:-2px;color:#e5f8e9;font-weight:500;line-height:1.1;margin:16px 0 0}.price-large span{font-size:12px;font-weight:400;letter-spacing:0;color:#98b5a2}.access-card>p{font-size:12px;line-height:1.8;margin-top:14px;color:#8fa7a1}.feature-list{padding:0;margin:25px 0 30px;list-style:none;display:grid;gap:13px;font-size:12px;color:#c1d1cc}.feature-list li{display:flex;align-items:center;gap:10px}.feature-list svg{width:15px;height:15px;stroke:#94d7b4;fill:none;stroke-width:1.6}.access-card button{margin-top:auto}.secondary-button{padding:12px 17px;border:1px solid #465b68;border-radius:8px;color:#c7d6dd;font-size:12px;background:#263a43;display:flex;justify-content:center;align-items:center;gap:10px;min-height:46px}.secondary-button:hover{background:#304a52}.secondary-button svg{width:16px;height:16px}.page-note{display:flex;gap:9px;align-items:flex-start;padding:19px 2px;color:#71879a;font-size:11px}.page-note svg{width:15px;height:15px;stroke:#6d8b7e;fill:none;stroke-width:1.5;flex-shrink:0}.account-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px}.account-card{padding:25px;background:var(--panel);border:1px solid var(--line);border-radius:var(--radius)}.account-card h2{font-weight:500;font-size:14px;margin:0 0 25px}.account-profile{display:flex;align-items:center;gap:16px;padding-bottom:22px;border-bottom:1px solid var(--line)}.account-profile .avatar{width:48px;height:48px;font-size:19px}.account-profile strong{font-size:14px;font-weight:500}.account-profile p{font-size:11px;margin-top:4px}.account-row{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:18px 0;border-bottom:1px solid var(--line-soft);font-size:12px;color:#8ba0b4}.account-row:last-child{border-bottom:0;padding-bottom:0}.account-row>b{font-weight:450;color:#c6d4de}.size-buttons{display:flex;border:1px solid #3c4f5a;border-radius:7px;padding:3px;gap:3px}.size-buttons button{font-family:Consolas,monospace;font-size:11px;padding:5px 10px;border-radius:4px;color:#8fa2b2}.size-buttons button.active{background:#33584b;color:#c8f3d9}.setting-caption{font-size:10px;line-height:1.8;color:#768ea0;padding-top:20px}.modal-title{font-size:26px;letter-spacing:-.7px;line-height:1.2;font-weight:550;margin:22px 0 15px}.modal-copy{font-size:13px;color:#93a6b6;line-height:1.9;margin-bottom:21px}.dialog-list{font-size:12px;list-style:none;padding:0;border-top:1px solid var(--line)}.dialog-list li{display:flex;justify-content:space-between;gap:16px;padding:13px 0;border-bottom:1px solid var(--line);color:#8fa4b6}.dialog-list b{color:#d0dedf;font-weight:450;text-align:right}dialog{background:#16212d;color:var(--text);border:1px solid #40544f;box-shadow:0 40px 130px #0009;border-radius:18px;padding:25px;width:min(480px,calc(100vw - 35px));max-height:85vh;overflow:auto}dialog::backdrop{background:#050a11b8;backdrop-filter:blur(5px)}.dialog-top{display:flex;justify-content:space-between;align-items:center}.dialog-top .eyebrow{font-size:8px}.toast{position:fixed;bottom:25px;right:28px;z-index:60;background:#203b30;border:1px solid #47735b;box-shadow:0 12px 40px #0006;border-radius:10px;padding:15px 19px;color:#d3eddd;font-size:12px;max-width:min(440px,calc(100vw - 32px));display:flex;align-items:center;gap:12px;animation:appear .2s}.toast svg{width:17px;height:17px;fill:none;stroke:var(--mint);stroke-width:1.5;flex-shrink:0}.mobile-scrim{display:none}body.icons-60{--unit-icon:60px}
@keyframes appear{from{opacity:0;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}@keyframes pulse{50%{box-shadow:0 0 0 8px #7de6ad0c}}@keyframes progress{0%{transform:translateX(-100%)}100%{transform:translateX(330%)}}
@media(min-width:1600px){.workspace-grid{grid-template-columns:345px minmax(0,1fr);gap:30px}.work-panel-header{padding:28px 32px}.work-content{padding:27px 32px 0}.work-action-area{padding:0 32px 27px}.drop-zone{min-height:190px}.function-button{padding:11px 19px}.catalog-list{max-height:525px}}
@media(max-width:1220px){:root{--sidebar-width:213px}.sidebar{padding-left:10px;padding-right:10px}.wordmark{margin-left:11px;gap:8px;font-size:16px}.wordmark img{width:30px;height:30px}.wordmark small{font-size:6px}.category-button{padding-left:9px;gap:9px}.category-button small{font-size:9px}.category-button.active:before{left:-11px}.nav-heading{padding-left:14px}.topbar{padding-left:27px;padding-right:27px}main{padding-left:27px;padding-right:27px}.workspace-grid{grid-template-columns:270px minmax(0,1fr);gap:20px}.work-panel-header{padding:20px;gap:13px}.selected-icon{width:66px;height:66px;border-radius:13px}.selected-heading h2{font-size:23px}.work-content{padding:21px 20px 0}.work-action-area{padding:0 20px 21px}.function-button{font-size:11px;padding-left:10px;padding-right:10px;gap:6px}.flow-steps{padding:17px 15px;gap:10px;font-size:9px}.flow-steps i{width:20px}.unit-card{padding-left:10px;padding-right:9px;gap:9px}.profile-button{gap:9px;padding-left:7px}.profile-button small{font-size:9px}.workspace-stamp{display:none}.language-picker select{width:112px}.topbar-right{gap:11px}.topbar-left{gap:12px}.topbar-app{font-size:11px}.history-table td,.history-table th{padding-left:17px;padding-right:17px}.file-slots.multiple{grid-template-columns:1fr}.file-slots.multiple .drop-zone{min-height:120px}.file-slots.multiple .upload-glyph{width:30px;height:30px;margin-bottom:8px}}
@media(max-width:1000px){:root{--sidebar-width:86px}.sidebar{padding:27px 10px 0}.wordmark{margin:0 auto 43px}.wordmark img{width:36px;height:36px}.wordmark>span,.nav-heading,.category-button>span,.category-button>svg,.utility-nav span,.profile-button>span:not(.avatar),.profile-button>svg,.demo-note>span:not(.demo-dot),.demo-note>svg{display:none}.category-button{justify-content:center;padding:10px 0;min-height:72px}.category-button img{width:48px;height:48px}.nav-separator{margin:25px 5px}.utility-nav button{justify-content:center;padding:12px 0}.demo-note{justify-content:center}.profile-button{justify-content:center;padding:20px 0}.topbar{height:75px}.sidebar-bottom{padding-top:25px}main{padding-top:28px}.page-intro h1{font-size:32px}.page-intro p{font-size:11px}.workspace-grid{grid-template-columns:255px minmax(0,1fr);gap:18px}.technical-caption{display:none}.work-panel-header{padding:19px 17px}.work-content{padding-left:17px;padding-right:17px}.work-action-area{padding-left:17px;padding-right:17px}.selected-icon{width:57px;height:64px}.selected-heading h2{font-size:21px}.info-button{width:21px}.flow-steps{font-size:9px;gap:8px}.flow-steps i{width:12px}.flow-steps b{width:16px;height:16px}.topbar-app{display:none}.topbar-left>.slash{display:none}body.icons-60 .category-button img{width:60px;height:60px}}
@media(max-width:760px){:root{--sidebar-width:0px}.sidebar{width:250px;transform:translateX(-100%);transition:transform .2s;padding:26px 16px 0}.sidebar.mobile-open{transform:translateX(0)}.mobile-scrim:not([hidden]){display:block;position:fixed;inset:0;background:#02060ba0;backdrop-filter:blur(3px);z-index:25}.sidebar .wordmark{margin:0 12px 35px}.sidebar .wordmark>span{display:block}.sidebar .wordmark img{width:34px;height:34px}.sidebar .nav-heading{display:block}.sidebar .category-button{justify-content:flex-start;padding:8px 12px}.sidebar .category-button>span,.sidebar .category-button>svg{display:block}.sidebar .category-button small{font-size:10px}.sidebar .utility-nav button{justify-content:flex-start;padding:11px 15px}.sidebar .utility-nav span{display:block}.sidebar .demo-note{justify-content:flex-start}.sidebar .demo-note>span:not(.demo-dot){display:block}.sidebar .profile-button{justify-content:flex-start;padding:20px 10px}.sidebar .profile-button>span:not(.avatar){display:block}.topbar{height:67px;padding:0 19px;gap:12px}.topbar-right{gap:8px}.topbar-left{gap:12px}.demo-tag{font-size:8px;letter-spacing:1px;gap:6px}.mobile-menu{display:grid}.top-divider{margin:0 2px}.balance{gap:6px;font-size:16px}.balance>b{padding-left:0}.language-picker{gap:5px}.language-picker select{font-size:16px;width:112px}.language-picker>svg{display:none}main{padding:26px 19px 0}.page-intro{margin-bottom:22px}.page-intro h1{font-size:30px;letter-spacing:-1px}.page-intro p{font-size:11px;max-width:270px;line-height:1.8}.page-intro .eyebrow{font-size:8px;letter-spacing:1.2px}.function-bar{margin-bottom:20px;padding-bottom:13px;gap:3px}.function-button{font-size:11px;padding:9px 12px}.workspace-grid{grid-template-columns:1fr;gap:20px}.catalog-tools{grid-template-columns:1.4fr 1fr;gap:9px;padding-bottom:12px}.catalog-tools .search-box input{font-size:10px}.search-box kbd{display:none}.catalog-list{max-height:230px;grid-template-columns:1fr 1fr;gap:3px;padding:6px}.unit-card{padding:10px 8px;gap:8px;min-height:74px}.unit-card>svg{display:none}.unit-initials{width:26px;height:28px;font-size:10px}.unit-card-copy>small{font-size:8px}.unit-card-copy>strong{font-size:11px}.unit-card-copy>span{font-size:9px}.section-title{padding:16px}.catalog-footer{font-size:9px;padding:11px 15px}.selected-icon{width:70px;height:70px}.work-panel-header{padding:22px;gap:15px}.selected-heading h2{font-size:24px}.work-content{padding:22px 22px 0}.work-action-area{padding:0 22px 22px}.drop-zone{min-height:172px}.flow-steps{font-size:10px;gap:12px;padding:17px 14px}.flow-steps i{width:22px}.flow-steps b{width:18px;height:18px}.workspace-bottom{font-size:9px}.page-footer{margin-top:22px;padding:22px 0;gap:15px;font-size:8px}.page-footer>span:last-child{font-size:7px}.access-grid,.account-grid{grid-template-columns:1fr}.access-card{padding:25px}.history-table th:nth-child(3),.history-table td:nth-child(3){display:none}.history-table td,.history-table th{padding:15px 12px}.history-table td{font-size:10px}.history-table td small{font-size:9px}.file-slots.multiple{grid-template-columns:1fr 1fr}.file-slots.multiple .drop-zone{min-height:150px}.skip-link{left:20px}}
@media(max-width:430px){.topbar-right .balance span{display:none}.topbar-right .top-divider{display:none}.topbar-right{gap:4px}.topbar-left{gap:8px}.topbar{padding:0 12px}.icon-button{width:30px;height:30px}main{padding-left:14px;padding-right:14px}.page-intro h1{font-size:27px}.catalog-tools{grid-template-columns:1fr}.catalog-list{max-height:250px}.unit-card{gap:6px}.unit-initials{display:none}.unit-card-copy>strong{font-size:11px}.selected-heading h2{font-size:22px}.work-panel-header{padding:19px 16px;gap:12px}.selected-icon{width:61px;height:66px}.unit-tags{gap:4px}.unit-tags span{font-size:8px;padding:2px 5px}.work-content{padding:19px 16px 0}.work-action-area{padding:0 16px 20px}.flow-steps{gap:7px;font-size:9px}.flow-steps i{width:12px}.flow-steps>span{gap:5px}.file-slots.multiple{grid-template-columns:1fr}.file-slots.multiple .drop-zone{min-height:120px}.price-summary b{font-size:10px}.work-panel-footer{font-size:8px}.toast{right:16px;bottom:16px}.page-footer>span:last-child{display:none}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;animation:none!important;transition:none!important}}

/* Version 02: retain the visual language, separate selection from file work. */
/* Version 03 below refines the catalogue; these shared visual rules remain. */
main{max-width:1520px;margin:0 auto;padding-top:28px;min-height:calc(100vh - 88px);display:flex;flex-direction:column}
.view{flex:1}.topbar{height:78px}.wordmark{margin-bottom:44px}.page-footer{margin-top:34px}
.selection-path{min-height:43px;display:flex;align-items:center;gap:24px;margin:0 0 25px;flex-wrap:wrap}
.back-button{display:inline-flex;align-items:center;gap:8px;color:#c8d5d9;font-size:12px;padding:9px 13px 9px 9px;background:#17232e;border:1px solid #2c3a47;border-radius:8px}
.back-button svg{width:16px;height:16px}.back-button:hover{background:#21352f;border-color:#416052;color:var(--mint)}
.path-crumbs{display:flex;align-items:center;gap:11px;font-size:12px;min-width:0;flex-wrap:wrap;color:#7f91a2}
.path-crumbs svg{width:12px;height:12px;color:#4b5c6e}.path-crumbs button{padding:4px 0;color:#b0bfc9}.path-crumbs button:hover{color:var(--mint)}.path-crumbs [aria-current]{color:var(--mint);font-weight:550}
.selection-panel{max-width:1120px}.selection-header{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:0 0 25px}
.selection-header h1{font-size:26px;font-weight:550;letter-spacing:-.7px;margin:0;line-height:1.35;outline-offset:7px}.selection-header p{font-size:12px;color:var(--muted);margin:6px 0 0}
.selection-header .catalog-count{position:static;border:1px solid var(--line);border-radius:7px;padding:4px 9px;background:#111a24;color:#8da3b0;min-width:34px;text-align:center}
.selection-search{max-width:460px;margin:0 0 20px}.selection-search .search-box{height:44px;border:1px solid #2d3c4d;border-radius:9px;padding:0 13px;background:#131e29;display:flex;align-items:center;gap:10px}.selection-search input{font-size:12px;color:var(--text)}
.selection-list{display:grid;gap:14px}.function-choices{grid-template-columns:repeat(3,minmax(0,1fr))}.brand-choices{grid-template-columns:repeat(3,minmax(0,1fr))}.unit-choices{grid-template-columns:1fr;max-width:900px;gap:10px}
.service-card,.brand-card,.unit-choice{display:flex;align-items:center;text-align:left;background:var(--panel);border:1px solid #2a3745;border-radius:13px;transition:background .15s,border-color .15s,transform .15s;min-width:0}
.service-card:hover:not(:disabled),.brand-card:hover,.unit-choice:hover{background:#192b30;border-color:#4e7564;transform:translateY(-1px)}
.service-card.chosen,.brand-card.chosen,.unit-choice.chosen{border-color:#4a7663;background:#172d28}
.service-card{min-height:152px;padding:23px;align-items:flex-start;gap:16px;position:relative;flex-direction:column}.service-symbol{display:grid;place-items:center;width:40px;height:40px;border:1px solid #37544b;border-radius:11px;background:#1d332d;color:var(--mint)}
.service-symbol svg{width:21px;height:21px}.service-copy{display:block}.service-copy strong{display:block;font-size:17px;font-weight:550;letter-spacing:-.2px}.service-copy small{display:block;color:#93a4b2;font-size:11px;margin-top:5px;line-height:1.5}
.service-card>svg{position:absolute;top:30px;right:24px;width:16px;color:#84ad9b}.service-card:disabled{background:#111922;border-color:#202c39;opacity:.62}.service-card:disabled .service-symbol{background:#18232d;color:#84929f;border-color:#2b3845}.service-card:disabled .service-copy small{color:#72808f}.unavailable-label{position:absolute;right:17px;top:17px;font-size:9px;letter-spacing:.2px;color:#a3aebb;border:1px solid #35414e;border-radius:5px;padding:2px 6px}
.brand-card{min-height:98px;padding:23px;gap:16px}.brand-initial{width:43px;height:43px;display:grid;place-items:center;background:#1d2b35;color:#bdd6cd;border:1px solid #33484a;border-radius:10px;font-family:Consolas,monospace;font-size:14px}
.brand-card strong{font-size:15px;font-weight:500}.brand-card>svg{margin-left:auto;width:17px;color:#719a87}
.unit-choice{min-height:91px;padding:20px 24px;gap:20px}.unit-choice-copy{min-width:0;display:block}.unit-choice strong{display:block;font-size:17px;font-weight:500;letter-spacing:-.2px}.unit-choice small{display:block;font-size:12px;color:#94a6b5;margin-top:5px}.unit-choice>svg{margin-left:auto;color:var(--mint);width:18px;flex-shrink:0}
.selection-footer{font-size:10px;color:#6e8294;margin-top:23px;display:flex;align-items:center;gap:8px}.selection-footer .outline-dot{width:5px;height:5px}
.selection-list .empty-catalog{grid-column:1/-1;max-width:none;min-height:180px;border:1px dashed var(--line);border-radius:12px;gap:13px}.empty-catalog strong{font-weight:450}
.focused-work{max-width:970px;width:100%;background:var(--panel);border:1px solid #2b3b48;border-radius:16px;box-shadow:var(--shadow)}
.focused-work .work-panel-header{padding:25px 30px;border-bottom:1px solid var(--line);align-items:center;gap:20px}.focused-work .selected-icon{background:#1b2935;border:1px solid #324350;display:grid;place-items:center;width:82px;height:82px;border-radius:15px;flex-shrink:0}.focused-work .selected-icon img{width:var(--unit-icon);height:var(--unit-icon);object-fit:contain}
.selected-brand{margin:0 0 3px;color:#92a8b6;font-size:12px}.focused-work .selected-heading h1{font-size:27px;font-weight:550;line-height:1.25;letter-spacing:-.7px;margin:0 0 10px}.focused-work .selected-heading{min-width:0;flex:1}.focused-work .unit-tags{gap:6px}.focused-work .unit-tags span{font-size:10px;padding:3px 8px}.focused-work .info-button{align-self:flex-start;margin-top:3px}
.focused-work .work-content{padding:26px 30px 0}.job-heading{font-size:13px;font-weight:500;color:#c3d1dc;margin:0 0 14px}.focused-work .file-slots{margin:0}.focused-work .file-slots.multiple{grid-template-columns:1fr 1fr;align-items:stretch}.file-slot{min-width:0}.slot-heading{font-size:11px;color:#9db0bd;margin:0 0 10px}
.focused-work .drop-zone{min-height:192px;padding:23px 16px;width:100%}.focused-work .drop-zone strong{font-size:14px;font-weight:500}.focused-work .drop-zone p{font-size:12px}.focused-work .drop-zone .upload-glyph{width:45px;height:45px;margin-bottom:15px}
.focused-work .file-attached{min-height:110px;padding:20px;gap:15px;margin-bottom:0}.focused-work .file-details{min-width:0;flex:1}.focused-work .file-details strong{overflow-wrap:anywhere;font-size:12px}.focused-work .file-details>span{display:block;font-size:10px;color:#94aaae;margin-top:5px}
.focused-work .sample-row{justify-content:flex-end;margin:14px 0 0;padding:0;min-height:35px}.focused-work .sample-row .text-button{font-size:11px}.focused-work .work-action-area{padding:23px 30px 25px;display:flex;flex-direction:row;align-items:center;justify-content:space-between;gap:20px}.focused-work .work-action-area .primary-button{width:auto;min-width:210px;margin:0}.demo-price-note{font-size:11px;color:#8299a9}.focused-work .work-panel-footer{border-top:1px solid var(--line);background:#101b25;border-radius:0 0 16px 16px;padding:14px 24px;font-size:10px;color:#7f96a6}
.focused-work .result-panel{padding:0 0 25px}.focused-work .result-title h3{font-size:21px}.focused-work .result-file{font-size:12px}.focused-work .result-panel>.primary-button{width:auto;min-width:230px}.focused-work .result-reset{display:inline-flex;margin-left:20px}.focused-work .result-notice{max-width:590px;font-size:12px;line-height:1.8}.focused-work .processing-panel{padding:28px 0 42px}
.compact-intro{margin:0 0 26px}.compact-intro h1{font-size:27px;font-weight:550;letter-spacing:-.7px;margin:0 0 8px}.compact-intro p{font-size:12px;color:var(--muted);margin:0}.table-scroll{overflow-x:auto}.content-page{max-width:1120px}.access-card h2{font-size:23px}.page-note{max-width:900px}
.catalogue-controls{display:flex;align-items:flex-end;gap:16px;margin-bottom:21px;flex-wrap:wrap}.catalogue-controls .selection-search{margin:0;flex:1;max-width:440px;min-width:200px}.brand-switcher{display:flex;align-items:center;gap:11px;min-width:260px;color:#d8e5ed;font-size:16px;font-weight:500}.brand-switcher select{height:44px;min-width:185px;padding:0 32px 0 13px;border:1px solid #3a514f;border-radius:9px;background:#182b2b;color:#e4efeb;font-size:20px;font-weight:600;cursor:pointer}
.unit-choices{max-width:none;gap:0;border:1px solid #2b3b49;border-radius:13px;overflow:hidden}.unit-service-row{display:grid;grid-template-columns:minmax(220px,1fr) minmax(390px,1.45fr);gap:24px;align-items:center;padding:22px 25px;background:#131e29;border-bottom:1px solid #273644;min-height:110px}.unit-service-row:last-child{border-bottom:0}.unit-service-row:nth-child(even){background:#15202b}.unit-service-row.last-used{box-shadow:inset 3px 0 #82e6c4;background:#192c2d}.unit-service-name{min-width:0}.unit-service-name h2{font-size:17px;font-weight:550;letter-spacing:-.25px;margin:0 0 7px;line-height:1.4}.unit-service-name>span{display:block;font-size:11px;color:#8fa6b7;line-height:1.5;overflow-wrap:anywhere}.unit-service-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.operation-choice{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;min-width:114px;min-height:64px;padding:11px 8px;background:#1b302e;border:1px solid #36534b;border-radius:9px;text-align:center;transition:border-color .15s,background .15s}.operation-choice:hover,.operation-choice:focus-visible{border-color:#82e6c4;background:#25453c}.operation-choice.chosen{border-color:#82e6c4;background:#24473b}.operation-name{display:flex;align-items:center;justify-content:center;gap:7px;white-space:nowrap;color:#daf1e6}.operation-name svg{width:15px;height:15px;color:#82e6c4}.operation-name strong{font-size:11px;font-weight:600;letter-spacing:.15px}.operation-price{font-size:10px;color:#91b6a7;line-height:1;white-space:nowrap;padding-left:0}.unit-list-heading{display:grid;grid-template-columns:minmax(220px,1fr) minmax(390px,1.45fr);gap:24px;padding:0 25px 12px;color:#748c9f;font-size:10px}.selection-footer{flex-wrap:wrap;row-gap:6px}#prices-note{margin-left:auto;color:#7d93a2}.account-grid.profile-only{grid-template-columns:1fr;max-width:620px}
@media(min-width:1700px){.function-choices{grid-template-columns:repeat(3,minmax(0,1fr))}.service-card{min-height:176px;padding:27px;gap:21px}}
@media(max-width:1220px){.service-card{padding:20px;min-height:155px}.service-copy strong{font-size:16px}.service-copy small{font-size:10px}.brand-card{padding:18px;gap:13px}.brand-card strong{font-size:13px}.brand-initial{width:36px;height:36px}.focused-work .work-panel-header{padding:24px}.focused-work .work-content{padding:23px 24px 0}.focused-work .work-action-area{padding:23px 24px}.focused-work .selected-heading h1{font-size:25px}}
@media(max-width:1000px){main{padding-top:23px}.topbar{height:75px}.function-choices{grid-template-columns:repeat(3,minmax(0,1fr))}.brand-choices{grid-template-columns:repeat(2,minmax(0,1fr))}.service-card{padding:18px;gap:13px}.service-copy small{font-size:10px;max-width:145px}.service-card>svg{right:18px;top:25px}.focused-work .selected-icon{width:72px;height:72px}.focused-work .work-action-area{gap:14px}.focused-work .work-action-area .primary-button{min-width:190px}.unavailable-label{font-size:8px;right:9px;top:10px}}
@media(max-width:760px){main{padding-top:22px;min-height:calc(100vh - 67px)}.topbar{height:67px}.selection-path{margin-bottom:22px;gap:12px}.back-button{font-size:11px}.path-crumbs{font-size:11px;gap:8px}.selection-header{margin-bottom:21px}.selection-header h1{font-size:24px}.function-choices{grid-template-columns:repeat(2,minmax(0,1fr))}.service-card{min-height:152px}.service-copy small{max-width:none;font-size:10px}.brand-choices{grid-template-columns:repeat(2,minmax(0,1fr))}.brand-card{min-height:90px;padding:16px;gap:11px}.selection-search{max-width:none}.unit-choice{padding:18px;min-height:86px}.unit-choice strong{font-size:15px}.unit-choice small{font-size:11px}.focused-work .work-panel-header{padding:23px 20px;gap:15px}.focused-work .selected-icon{width:66px;height:74px}.focused-work .selected-heading h1{font-size:23px}.focused-work .work-content{padding:23px 20px 0}.focused-work .work-action-area{padding:22px 20px;flex-wrap:wrap}.focused-work .file-slots.multiple{grid-template-columns:1fr}.focused-work .file-slots.multiple .drop-zone{min-height:145px}.focused-work .work-action-area .primary-button{min-width:190px;margin-left:auto}.demo-price-note{font-size:10px}.focused-work .work-panel-footer{padding:14px 20px}.compact-intro h1{font-size:24px}.page-footer{margin-top:27px}}
@media(max-width:430px){.path-crumbs{font-size:10px}.selection-path{gap:10px}.back-button{padding:7px 9px}.service-card{padding:17px 14px;min-height:150px}.service-symbol{width:35px;height:35px}.service-copy strong{font-size:15px}.service-copy small{font-size:10px}.service-card>svg{right:15px;top:24px;width:14px}.brand-choices{grid-template-columns:1fr}.brand-card{min-height:80px}.focused-work .selected-icon{width:57px;height:65px}.focused-work .work-panel-header{padding:20px 15px;gap:12px}.focused-work .selected-heading h1{font-size:21px}.focused-work .unit-tags span{font-size:9px}.focused-work .work-content{padding:20px 16px 0}.focused-work .work-action-area{padding:20px 16px;gap:12px}.focused-work .work-action-area .primary-button{width:100%}.focused-work .work-panel-footer{font-size:9px;padding:13px 16px}.focused-work .result-panel>.primary-button{width:100%;min-width:0}.focused-work .result-reset{margin-left:0;margin-top:18px}}
@media(max-width:1220px){.unit-service-row,.unit-list-heading{grid-template-columns:minmax(210px,1fr) minmax(310px,1.4fr);gap:18px;padding-left:20px;padding-right:20px}.unit-service-actions{gap:8px}.unit-service-name h2{font-size:16px}}
@media(max-width:1000px){.unit-service-row,.unit-list-heading{grid-template-columns:minmax(190px,1fr) minmax(270px,1.4fr);gap:17px}.unit-service-name h2{font-size:15px}.operation-name strong{font-size:10px}}
@media(max-width:760px){.unit-list-heading{display:none}.unit-service-row{grid-template-columns:1fr;gap:16px;padding:22px;min-height:0}.unit-service-name h2{font-size:17px}.unit-service-name>span{font-size:11px}.unit-service-actions{gap:9px}.operation-choice{min-height:62px}.operation-name strong{font-size:11px}.catalogue-controls{gap:13px}.brand-switcher{width:100%}.brand-switcher select{flex:1}.catalogue-controls .selection-search{max-width:none;width:100%;flex-basis:100%}#prices-note{margin-left:13px;flex-basis:100%}}
@media(max-width:430px){.unit-service-row{padding:19px 16px}.unit-service-actions{gap:8px}.unit-service-name h2{font-size:16px}.brand-switcher{min-width:0}.brand-switcher select{min-width:0}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;animation:none!important;transition:none!important}}
/* PCR2.1 input validation: visible activity in existing controls, no new panel. */
.pcr-clone-work #process-button[aria-busy="true"]{color:var(--mint);cursor:progress}
.pcr-clone-work #process-button[aria-busy="true"]>svg{display:none}
.pcr-clone-work #process-button[aria-busy="true"]::before,.pcr-clone-work .clone-file-status[data-clone-state="checking"]::before{content:"";display:inline-block;width:14px;height:14px;box-sizing:border-box;flex:0 0 14px;border:2px solid #36534b;border-top-color:var(--mint);border-radius:50%;animation:pcr-input-check .8s linear infinite}
.pcr-clone-work .clone-file-status[data-clone-state="checking"]{display:flex;align-items:center;gap:7px;color:var(--mint)}
.pcr-clone-work .file-attached[data-clone-file-state="checking"]{border-color:#4d7969}
@keyframes pcr-input-check{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){.pcr-clone-work #process-button[aria-busy="true"]::before,.pcr-clone-work .clone-file-status[data-clone-state="checking"]::before{animation:none}}
/* IMMO Edit uses the existing work card; all additions are scoped to this operation. */
.edit-work .edit-fields{margin-top:25px;padding-bottom:4px}
.edit-work .edit-fields-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:14px}
.edit-work .edit-fields-heading h3{font-size:16px;font-weight:500;color:#c3d1dc;margin:0}
.edit-work .edit-fields-heading>span{font-size:14px;color:var(--muted)}
.edit-work .edit-field-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 20px}
.off-parameter,.edit-work .edit-field{display:grid;gap:7px;min-width:0;color:var(--muted);font-size:14px}
.edit-work .edit-field.wide{grid-column:1/-1}
.edit-work .edit-field>span{display:flex;align-items:center;gap:6px}
.edit-work .field-lock{display:inline-flex;color:var(--faint)}
.edit-work .field-lock svg{width:12px;height:12px}
.off-parameter input,.edit-work .edit-field input{width:100%;min-width:0;padding:10px 12px;border:1px solid #3a514f;border-radius:9px;background:#101b27;color:var(--text);font-family:Consolas,monospace;font-size:18px;line-height:1.5}
.off-parameter{margin-top:14px;width:min(100%,400px)}
.off-parameter input{font-size:clamp(12px,4vw,16px)}
.edit-work .edit-field input[readonly]{color:var(--muted);border-color:var(--line)}
.edit-work .edit-field input:disabled{opacity:1;color:var(--faint);-webkit-text-fill-color:var(--faint)}
.edit-work .file-attached{background:#101b2777;border-color:var(--line)}
.edit-work .file-attached>svg{color:var(--muted)}
.edit-work .file-attached[data-clone-file-state="ok"]{background:#12271f77;border-color:#3a5a4a}
.edit-work .file-attached[data-clone-file-state="ok"]>svg{color:var(--mint)}
.edit-work .file-attached[data-clone-file-state="rejected"]{border-color:#805454}
.edit-work .clone-file-status{display:block;margin-top:10px;font-size:11px;line-height:1.5;color:var(--muted)}
.edit-work .clone-file-status[data-clone-state="ok"]{color:var(--mint)}
.edit-work .clone-file-status[data-clone-state="rejected"]{color:#e9a3a3}
@media(max-width:560px){.edit-work .edit-field-grid{grid-template-columns:minmax(0,1fr)}.edit-work .edit-field input{font-size:18px}}
/* Compact BCM2 Edit only; no change to menu, other units or other operations. */
.focused-work.bcm2-edit-work{max-width:none;width:calc(100% + 32px)}
.bcm2-edit-work .work-panel-header{padding:8px 20px;gap:16px}
.bcm2-edit-work .selected-icon{width:54px;height:54px;border-radius:10px}
.bcm2-edit-work .selected-heading{display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:14px;align-items:center}
.bcm2-edit-work .selected-brand{grid-column:1;grid-row:1;margin:0}
.bcm2-edit-work .selected-heading h1{grid-column:1;grid-row:2;margin:0}
.bcm2-edit-work .unit-tags{grid-column:2;grid-row:1/span 2;justify-content:flex-end;max-width:220px}
.bcm2-edit-work .work-content{padding:10px 20px 0}
.bcm2-edit-work .job-heading{margin-bottom:7px}
.bcm2-edit-work .slot-heading{margin-bottom:4px}
.bcm2-edit-work .file-slots.multiple{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.bcm2-edit-work .file-slots .drop-zone{min-height:64px;padding:9px 12px}
.bcm2-edit-work .drop-zone>span{display:grid;grid-template-columns:32px minmax(0,1fr);column-gap:12px;align-items:center;text-align:left}
.bcm2-edit-work .drop-zone .upload-glyph{grid-column:1;grid-row:1/span 2;width:32px;height:32px;margin:0;border-radius:8px}
.bcm2-edit-work .drop-zone strong{grid-column:2}
.bcm2-edit-work .drop-zone p{grid-column:2;margin:0}
.bcm2-edit-work .drop-zone:before,.bcm2-edit-work .drop-zone:after{display:none}
.bcm2-edit-work .file-attached{min-height:64px;padding:9px 12px;gap:10px}
.bcm2-edit-work .file-details{display:grid;grid-template-columns:auto minmax(0,1fr);gap:3px 10px}
.bcm2-edit-work .file-details strong{grid-column:1/-1}
.bcm2-edit-work .file-details>span{margin:0}
.bcm2-edit-work .file-details>.clone-file-status{justify-self:end;margin:0}
.bcm2-edit-work .edit-fields{margin-top:12px;padding-bottom:0}
.bcm2-edit-work .edit-fields-heading{margin-bottom:9px}
.bcm2-edit-work .edit-field-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px 20px}
.bcm2-edit-work .edit-field{gap:4px}
.bcm2-edit-work .edit-field.wide{grid-column:auto}
.bcm2-edit-work .edit-field input{padding:5px 10px;line-height:1.5}
.bcm2-edit-work .work-action-area{padding:10px 20px 12px}
.bcm2-edit-work .work-action-area .primary-button{min-height:38px;padding:8px 14px}
@media(min-width:1536px){.bcm2-edit-work .edit-field{grid-template-columns:104px minmax(0,1fr);gap:4px;align-items:center}}
@media(max-width:760px){.bcm2-edit-work .selected-heading{display:block}.bcm2-edit-work .selected-heading h1{margin:3px 0 7px}.bcm2-edit-work .unit-tags{justify-content:flex-start;max-width:none}}
@media(max-width:560px){.bcm2-edit-work .file-slots.multiple,.bcm2-edit-work .edit-field-grid{grid-template-columns:minmax(0,1fr)}}
/* Every row reserves the same six service slots; empty slots stay empty. */
.selection-list.unit-choices{overflow-x:auto;overscroll-behavior-x:contain}
.unit-choices .unit-service-row{grid-template-columns:minmax(220px,1fr) 734px;column-gap:24px;min-width:1028px;padding-left:25px;padding-right:25px}
.unit-choices .unit-service-actions{display:grid;grid-template-columns:repeat(6,114px);gap:10px;min-width:0}
.unit-service-actions>.operation-choice{width:114px;min-width:0}
.unit-service-actions>.operation-empty{display:block;min-width:0;pointer-events:none}
.unit-list-heading{grid-template-columns:minmax(220px,1fr) minmax(0,734px);column-gap:24px;padding-left:25px;padding-right:25px}
/* Compact data windows; retain the readable 18px values and 14px labels. */
main:has(#view-workspace:not([hidden]) .edit-work:not([hidden])){padding-top:18px}
main:has(#view-workspace:not([hidden]) .edit-work:not([hidden])) .selection-path{margin-bottom:12px}
main:has(#view-workspace:not([hidden]) .edit-work:not([hidden])) .page-footer{margin-top:12px;padding-top:10px;padding-bottom:10px}
.focused-work.edit-work .work-panel-header{padding:8px 20px;gap:16px}
.focused-work.edit-work .selected-icon{width:54px;height:54px;border-radius:10px}
.focused-work.edit-work .selected-heading{display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:14px;align-items:center}
.focused-work.edit-work .selected-brand{grid-column:1;grid-row:1;margin:0}
.focused-work.edit-work .selected-heading h1{grid-column:1;grid-row:2;margin:0}
.focused-work.edit-work .unit-tags{grid-column:2;grid-row:1/span 2;justify-content:flex-end;max-width:260px}
.focused-work.edit-work .work-content{padding:12px 20px 0}
.focused-work.edit-work .job-heading{margin-bottom:6px}
.focused-work.edit-work .slot-heading{margin-bottom:4px}
.focused-work.edit-work .file-slots.multiple{gap:16px}
.focused-work.edit-work .file-slots .drop-zone{min-height:76px;padding:9px 12px}
.focused-work.edit-work .drop-zone>span{display:grid;grid-template-columns:32px minmax(0,1fr);column-gap:12px;align-items:center;text-align:left}
.focused-work.edit-work .drop-zone .upload-glyph{grid-column:1;grid-row:1/span 2;width:32px;height:32px;margin:0;border-radius:8px}
.focused-work.edit-work .drop-zone strong{grid-column:2}
.focused-work.edit-work .drop-zone p{grid-column:2;margin:0}
.focused-work.edit-work .file-attached{min-height:76px;padding:8px 12px;gap:12px}
.focused-work.edit-work .file-details{display:grid;grid-template-columns:auto minmax(0,1fr);gap:2px 10px}
.focused-work.edit-work .file-details strong{grid-column:1/-1}
.focused-work.edit-work .file-details>span{margin:0}
.focused-work.edit-work .file-details>.clone-file-status{justify-self:end;margin:0}
.focused-work.edit-work .edit-fields{margin-top:12px;padding-bottom:0}
.focused-work.edit-work .edit-fields-heading{margin-bottom:8px}
.focused-work.edit-work .edit-field-grid{gap:8px 20px}
.focused-work.edit-work .edit-field{gap:4px}
.focused-work.edit-work .edit-field input{padding:6px 10px}
.focused-work.edit-work .edit-field input[readonly]{color:var(--text)}
.focused-work.edit-work .work-action-area{padding:10px 20px 12px}
.focused-work.edit-work .work-action-area .primary-button{min-height:40px;padding:8px 14px}
@media(max-width:1099px){.focused-work.edit-work .edit-field-grid{grid-template-columns:minmax(0,1fr)}.focused-work.edit-work .edit-field.wide{grid-column:auto}}
@media(max-width:760px){.focused-work.edit-work .selected-heading{display:block}.focused-work.edit-work .selected-heading h1{margin:2px 0 6px}.focused-work.edit-work .unit-tags{justify-content:flex-start;max-width:none}}

/* Configuration entries use the same row and button dimensions as other units. */
.unit-choices .bsi-configuration-entry{grid-template-columns:minmax(220px,1fr) 114px}
.bsi-configuration-entry>.operation-choice{width:114px;min-width:0;justify-self:end}
/* BCM2 uses the free right gutter; retain the existing value font and byte spacing. */
.focused-work.bcm2-edit-work .edit-field-grid{column-gap:12px}
.focused-work.bcm2-edit-work .edit-field input{padding-inline:6px}
.focused-work.bcm2-edit-work .off-price{display:flex;align-items:baseline;gap:12px;color:var(--muted);font-size:12px}
.focused-work.bcm2-edit-work .off-price strong{color:var(--text);font-weight:550;white-space:nowrap}
@media(max-width:1230px){.focused-work.bcm2-edit-work .edit-field-grid{grid-template-columns:minmax(0,1fr)}}
@media(max-width:1099px){.focused-work.bcm2-edit-work{width:100%}}

/* Readable navigation controls wrap when the header runs out of room. */
.topbar{height:auto;min-height:78px;flex-wrap:wrap;padding-top:10px;padding-bottom:10px}
.topbar-left{max-width:100%}
.topbar-right{min-width:0;flex-wrap:wrap;justify-content:flex-end;row-gap:6px;margin-left:auto}

/* Keep every service action visible when the catalog has less room than the desktop table. */
@media(max-width:1359px){
  .selection-list.unit-choices{overflow-x:hidden}
  .unit-choices .unit-service-row{min-width:0;grid-template-columns:minmax(0,1fr);gap:14px;min-height:0;padding:20px}
  .unit-choices .unit-service-actions{width:100%;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
  .unit-choices .unit-service-actions>.operation-empty{display:none}
  .unit-choices .unit-service-actions>.operation-choice,
  .unit-choices .unit-service-actions>.operation-with-help{width:min(100%,152px);min-width:0}
  .unit-choices .unit-service-actions>.operation-with-help>.operation-choice{width:100%}
  .unit-choices .operation-name{min-width:0;white-space:normal}
  .unit-choices .operation-name strong{overflow-wrap:anywhere}
  .unit-choices .bsi-configuration-entry{grid-template-columns:minmax(0,1fr)}
  body .unit-choices .bsi-configuration-entry>.operation-with-help{width:min(100%,152px);justify-self:start}
  .unit-list-heading{display:none}
}
@media(max-width:760px){
  .unit-choices .unit-service-actions{grid-template-columns:repeat(2,minmax(0,1fr))}
  .unit-choices .unit-service-name>span{font-size:12px}
  .unit-choices .operation-name strong{font-size:12px}
  .unit-choices .operation-price{font-size:11px}
}
@media(max-width:430px){
  body{min-width:0}
  .unit-choices .unit-service-row{padding:17px 14px}
  body .unit-choices .bsi-configuration-entry>.operation-with-help{width:min(100%,152px)}
}
@media(max-width:600px){
  .topbar{position:relative;min-height:0;gap:4px;padding:8px 14px 10px;align-items:stretch}
  .topbar-left{width:calc(100% - 110px);min-height:34px}
  .topbar-left .secondary-button{min-width:0;max-width:calc(100% - 38px);overflow:hidden}
  .topbar-left .secondary-button span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .topbar-right{width:100%;margin-left:0;justify-content:space-between;flex-wrap:wrap;column-gap:4px;row-gap:2px}
  .topbar-right .balance{min-height:34px;padding:4px;font-size:14px;gap:4px}
  .topbar-right .balance b{font-size:14px;padding-left:0}
  .topbar-right a.auth-link{font-size:14px}
  .topbar-right .top-divider{display:none}
  .topbar-right .language-picker{position:absolute;top:8px;right:14px}
  .topbar-right .language-picker select{width:96px;font-size:14px}
}

/* Keep tablet catalog rows compact while preserving room for multiple actions. */
@media(min-width:900px) and (max-width:1359px){
  .unit-choices .unit-service-row,
  .unit-choices .bsi-configuration-entry{grid-template-columns:minmax(190px,34%) minmax(0,1fr);gap:14px;min-height:82px;padding:12px 16px}
  .unit-choices .unit-service-actions{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:7px}
  .unit-choices .unit-service-actions>.operation-choice,
  .unit-choices .unit-service-actions>.operation-with-help{width:114px;flex:0 0 114px}
  body .unit-choices .bsi-configuration-entry>.operation-with-help{width:114px;justify-self:end}
  .unit-choices .operation-choice{min-height:52px;padding:7px 8px;gap:3px}
}

/* A short landscape viewport needs the full width and controls that stay in view. */
@media(min-width:601px) and (max-width:1100px) and (max-height:600px) and (orientation:landscape){
  body{--sidebar-width:0px}
  .app-body{margin-left:0}
  .sidebar{width:min(280px,85vw);transform:translateX(-100%);transition:transform .2s;padding:18px 16px 0}
  .sidebar.mobile-open{transform:translateX(0)}
  .sidebar .wordmark{margin-bottom:20px}
  .mobile-scrim:not([hidden]){display:block;position:fixed;inset:0;background:#02060ba0;backdrop-filter:blur(3px);z-index:25}
  .mobile-menu{display:grid;width:44px;height:44px}
  .topbar{position:sticky;top:0;z-index:20;min-height:56px;padding:6px 18px;background:#101721;box-shadow:0 2px 12px #0003}
  .topbar-left{gap:8px}
  .topbar-right{gap:8px;row-gap:2px}
  .topbar-right .balance,.topbar-right a.auth-link{font-size:13px}
  .topbar-right .language-picker select{width:96px;font-size:13px}
  main{padding:15px 20px 0}
  .unit-choices .unit-service-row,
  .unit-choices .bsi-configuration-entry{grid-template-columns:minmax(170px,32%) minmax(0,1fr);gap:12px;min-height:74px;padding:10px 16px}
  .unit-choices .unit-service-name h2{margin-bottom:3px;font-size:15px}
  .unit-choices .unit-service-name>span{font-size:11px}
  .unit-choices .unit-service-actions{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:6px;width:100%}
  .unit-choices .unit-service-actions>.operation-choice,
  .unit-choices .unit-service-actions>.operation-with-help{width:114px;flex:0 0 114px}
  body .unit-choices .bsi-configuration-entry>.operation-with-help{width:114px;justify-self:end}
  .unit-choices .operation-choice{min-height:48px;padding:6px 8px;gap:2px}
  .unit-choices .operation-name{gap:5px}
  .unit-choices .operation-name strong{font-size:11px}
}

/* Mobile catalog: compact cards, visible navigation, and a separate help target. */
.mobile-context{display:none}
@media(max-width:1000px), (min-width:1001px) and (max-width:1100px) and (max-height:600px) and (orientation:landscape){
  .mobile-menu{display:flex;align-items:center;justify-content:center;gap:6px;width:auto;min-width:78px;height:44px;padding:0 10px;border:1px solid #568f7c;border-radius:10px;background:#204038;color:#ddf6eb;font-size:13px;font-weight:650}
  .mobile-menu svg{width:22px;height:22px;stroke-width:2.3}
  .mobile-context{display:block;min-width:0;max-width:150px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#d7e9e3;font-size:14px;font-weight:650}
  .topbar-left:has(#view-back:not([hidden])) .mobile-context{display:none}
  .topbar-left{gap:9px;min-width:0}
  main{padding-top:12px}
  .selection-panel.direct-unit-list .selection-header{display:none}
  .selection-panel.direct-unit-list .selection-search{width:100%;max-width:none;margin-bottom:12px}
  .selection-list.unit-choices{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));gap:9px;border:0;border-radius:0;overflow:visible}
  .unit-choices .unit-service-row{display:flex;flex-direction:column;align-items:stretch;gap:8px;min-width:0;min-height:0;padding:11px 12px;border:1px solid #2b3b49;border-radius:12px}
  .unit-choices .unit-service-row.single-action{display:grid;grid-template-columns:minmax(0,1fr) 142px;align-items:center;gap:8px;min-height:72px}
  .unit-choices .unit-service-name{grid-template-columns:32px minmax(0,1fr);column-gap:8px;align-items:center}
  .unit-choices .unit-service-name>.unit-row-icon{width:32px;height:32px}
  .unit-choices .unit-service-name h2{margin:0;font-size:15px;line-height:1.3}
  .unit-choices .unit-service-name>span{font-size:11px;line-height:1.25}
  .unit-choices .unit-service-actions{display:flex;justify-content:flex-start;align-items:stretch;flex-wrap:wrap;gap:8px;width:100%}
  .unit-choices .unit-service-row.single-action .unit-service-actions{justify-content:flex-end}
  .unit-choices .unit-service-actions>.operation-empty{display:none}
  .selection-list.unit-choices .operation-with-help,
  body .selection-list.unit-choices .bsi-configuration-entry.single-action>.operation-with-help{display:flex;align-items:stretch;gap:4px;width:142px;min-width:0;flex:0 0 142px;justify-self:end;align-self:center}
  .selection-list.unit-choices .operation-with-help>.operation-choice{display:flex;flex:1 1 0;width:94px;min-width:0;min-height:48px;padding:5px 4px;gap:2px;border-radius:8px}
  .selection-list.unit-choices .operation-name{gap:3px}
  .selection-list.unit-choices .operation-name svg{width:14px;height:14px}
  .selection-list.unit-choices .operation-name strong{font-size:11px;line-height:1.15}
  .selection-list.unit-choices .bsi-configuration-entry .operation-name svg{display:none}
  .selection-list.unit-choices .bsi-configuration-entry .operation-name strong{font-size:10px;white-space:nowrap}
  .selection-list.unit-choices .operation-price{font-size:10px;line-height:1.15}
  body .selection-list.unit-choices .operation-with-help>.operation-help{position:relative;display:grid;place-items:center;flex:0 0 44px;width:44px;height:auto;min-height:48px;padding:0;border:0;border-radius:8px;background:transparent;color:#a6dcca;font:600 12px/1 system-ui}
  body .selection-list.unit-choices .operation-with-help>.operation-help::before{content:"";position:absolute;left:50%;top:50%;width:22px;height:22px;transform:translate(-50%,-50%);border:1px solid #628a7e;border-radius:50%;pointer-events:none}
  body .selection-list.unit-choices .operation-with-help>.operation-help:hover{background:transparent;color:#e7fff3}
  body .selection-list.unit-choices .operation-with-help>.operation-help:hover::before{border-color:#a6e8d8;background:#24443c55}
}
@media(max-width:600px){
  .topbar{padding-top:7px;padding-bottom:7px}
  .topbar-left{width:calc(100% - 108px)}
  .topbar-left .secondary-button{max-width:calc(100% - 87px)}
  .topbar-right .balance{min-height:44px}
  .focused-work.edit-work .work-action-area .primary-button{min-height:44px}
}
@media(max-width:1000px), (min-width:1001px) and (max-width:1100px) and (max-height:600px) and (orientation:landscape){
  .unit-choices .unit-service-row{align-self:start}
}
@media(min-width:601px) and (max-width:1100px) and (max-height:600px) and (orientation:landscape){
  .selection-panel.direct-unit-list .selection-search{width:min(100%,460px);max-width:460px}
}
@media(max-width:360px){
  .selection-list.unit-choices .unit-service-row:not(.single-action) .unit-service-actions .operation-with-help{width:calc((100% - 8px)/2);flex:0 0 calc((100% - 8px)/2)}
  .selection-list.unit-choices .unit-service-row:not(.single-action) .operation-name{flex-wrap:wrap}
}

/* Tablet portrait uses the same drawer navigation as a phone. */
@media(min-width:761px) and (max-width:1000px){
  body{--sidebar-width:0px}
  .app-body{margin-left:0}
  .sidebar{width:min(300px,85vw);transform:translateX(-100%);transition:transform .2s;padding:24px 16px 0}
  .sidebar.mobile-open{transform:translateX(0)}
  .sidebar .wordmark{margin:0 12px 26px}
  .sidebar .wordmark>span,.sidebar .nav-heading,.sidebar .category-button>span,.sidebar .category-button>svg,.sidebar .utility-nav span,.sidebar .profile-button>span:not(.avatar),.sidebar .profile-button>svg,.sidebar .demo-note>span:not(.demo-dot),.sidebar .demo-note>svg{display:block}
  .sidebar .category-button{justify-content:flex-start;padding:8px 12px}
  .sidebar .utility-nav button,.sidebar .demo-note,.sidebar .profile-button{justify-content:flex-start}
  .sidebar .sidebar-brand{margin:0 12px 23px}
  .sidebar .sidebar-brand select{font-size:16px}
  .mobile-scrim:not([hidden]){display:block;position:fixed;inset:0;background:#02060ba0;backdrop-filter:blur(3px);z-index:25}
  .topbar{position:sticky;top:0;z-index:20;height:auto;min-height:64px;padding:9px 18px;gap:10px;background:#101721}
  .topbar-right{gap:6px;flex-wrap:wrap;justify-content:flex-end}
  .topbar-right .balance,.topbar-right a.auth-link{font-size:13px;min-height:40px}
  .topbar-right .language-picker select{width:96px;font-size:13px}
  main{padding:16px 20px 0}
}

.main-brand-choice{display:none}
.brand-grid{display:none}
.selection-list.brand-choices>.brand-prompt{grid-column:1/-1}
@media(max-width:1000px){
  .sidebar .sidebar-brand select{font-size:16px;padding-left:10px;padding-right:26px}
  .main-brand-choice:not([hidden]){display:grid;gap:8px;max-width:480px;margin:0 0 20px}
  .main-brand-choice span{font-size:16px;font-weight:600;color:#dbe8e5}
  .main-brand-choice select{min-width:0;width:100%;height:50px;padding:0 42px 0 14px;border:1px solid #507265;border-radius:10px;background:#1b302e;color:#e9f4ef;font-size:16px;font-weight:550}
  .selection-list .empty-catalog.brand-prompt{display:none}
  .selection-list.brand-choices>.brand-grid{display:grid;grid-column:1/-1;grid-template-columns:repeat(auto-fit,minmax(min(100%,140px),1fr));gap:8px}
  .brand-grid .brand-card{min-height:52px;padding:8px 10px;justify-content:center;text-align:center}
  .brand-grid .brand-card strong{font-size:13px;line-height:1.3;overflow-wrap:anywhere}
}
