/* Generated by scripts/build_styles.py. */
:root{--ink:#202c31;--muted:#7a858b;--line:#e7ebe9;--green:#227965;--bg:#f6f8f7;--soft:#eaf3ee}*{box-sizing:border-box}body{margin:0;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;background:var(--bg);color:var(--ink);font-size:14px}button,input,textarea,select{font:inherit}button,a,input,textarea,select{outline-offset:3px}button{cursor:pointer;border:0;background:none;color:inherit}button:disabled{opacity:.5;cursor:wait}a{color:inherit;text-decoration:none}.hidden{display:none!important}.sidebar{position:fixed;width:238px;inset:0 auto 0 0;background:white;border-right:1px solid var(--line);padding:35px 22px;display:flex;flex-direction:column;z-index:2}.brand{display:flex;align-items:center;gap:12px;font-size:20px;font-weight:700;letter-spacing:1px}.brand-mark{display:inline-grid;place-items:center;background:var(--green);color:#fff;width:41px;height:43px;border-radius:12px 12px 12px 3px;font-family:Georgia,serif;font-size:29px;font-weight:bold}.brand small{display:block;font-size:9px;letter-spacing:2px;color:#819088;margin-top:5px}.workspace-label{border:1px solid var(--line);border-radius:7px;margin:37px 0 24px;padding:12px;color:#7a858b;font-size:12px}.workspace-label span{float:right;color:var(--green);font-weight:bold}.nav{display:flex;align-items:center;gap:13px;width:100%;padding:14px 13px;text-align:left;border-radius:7px;color:#69777c;margin-bottom:8px}.nav span{font-size:20px;width:22px}.nav.active{background:var(--soft);color:var(--green);font-weight:600}.nav b{margin-left:auto;font-size:11px;background:white;border-radius:5px;padding:2px 6px}.sidebar-bottom{margin-top:auto;border-top:1px solid var(--line);padding-top:22px;font-size:12px}.dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:#48a685;margin-right:7px}.sidebar-bottom p{font-size:11px;color:var(--muted);line-height:1.8}.text-button{color:var(--green);font-size:12px;padding:6px 0}.workspace{margin-left:238px}header{height:79px;padding:0 42px;border-bottom:1px solid var(--line);background:#fff;display:flex;align-items:center;justify-content:space-between;font-size:12px}.breadcrumb{color:#8a9497}.slash{padding:0 14px;color:#bec5c3}.header-right{display:flex;gap:22px;align-items:center}.tag{color:#727e7a;font-size:11px}.avatar{width:33px;height:33px;display:grid;place-items:center;background:#eeeae3;border-radius:50%;font-weight:bold;color:#8d7862}main{padding:39px 42px 20px;max-width:1800px;margin:auto}.page-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:30px;gap:20px}.eyebrow{font-size:10px;letter-spacing:2px;color:var(--green);font-weight:700;margin:0 0 12px}h1{font-size:29px;font-weight:600;letter-spacing:-.7px;margin:0 0 10px}h2{font-size:20px;margin:0 0 18px}h3{font-size:14px}.muted{color:var(--muted);font-size:12px;line-height:1.8;margin:0}.primary,.secondary,.dark-button{border-radius:6px;padding:12px 17px;font-size:12px;font-weight:500;white-space:nowrap}.primary{background:var(--green);color:white}.primary:hover{background:#185e4e}.secondary{border:1px solid #dce3df;background:white}.dark-button{background:#263a33;color:white}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:17px;margin-bottom:30px}.stats article{background:white;border:1px solid var(--line);border-radius:10px;padding:22px}.stats span{font-size:12px;color:#6d787d}.stats strong{font-size:32px;display:block;margin:13px 0 8px;font-weight:500}.stats small{font-size:10px;color:#909a9c}.stats .stat-accent{background:#edf4ef;border-color:#deebe2}.stat-accent strong{color:var(--green)}.panel,.list-panel{border:1px solid var(--line);border-radius:10px;background:white;overflow:hidden}.panel-toolbar{display:flex;align-items:center;justify-content:space-between;padding:21px 23px;gap:10px}.panel-title{font-size:15px;font-weight:600;white-space:nowrap}.panel-title span{font-size:11px;color:#819087;margin-left:7px;border-radius:4px;background:#f1f4f2;padding:3px 7px}.toolbar-actions{display:flex;align-items:center;gap:9px}.toolbar-actions select{max-width:190px}.filters{display:flex;justify-content:space-between;padding:0 23px;border-top:1px solid #f2f4f3;border-bottom:1px solid var(--line);align-items:center;gap:20px}.tabs{display:flex;gap:23px}.tabs button{padding:19px 0;font-size:12px;color:#87918f;border-bottom:2px solid transparent;white-space:nowrap}.tabs .selected{color:var(--green);border-bottom-color:var(--green);font-weight:600}input,select,textarea{border:1px solid #dfe6e2;border-radius:6px;padding:10px 12px;background:#fff;color:var(--ink);max-width:100%}input:focus,select:focus,textarea:focus{border-color:var(--green);outline:2px solid #e5f1eb}textarea{resize:vertical;line-height:1.7}.search{font-size:11px;width:210px;background:#f9faf9;border-color:#edf0ee}.product-grid{padding:23px;display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:20px;min-height:240px}.product-card{border:1px solid var(--line);border-radius:8px;overflow:hidden;cursor:pointer;transition:transform .15s,box-shadow .15s;background:#fff}.product-card:hover{transform:translateY(-3px);box-shadow:0 8px 22px #23372d10}.product-image{height:230px;position:relative;background:#f0f2ee;overflow:hidden}.product-image img{width:100%;height:100%;object-fit:contain;background:#f3f0eb}.image-placeholder{height:100%;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:14px;color:#a3afa8;font-size:12px}.image-placeholder span{font-size:38px;font-weight:200}.source-badge{position:absolute;top:10px;left:10px;background:#fffffff0;padding:4px 8px;border-radius:4px;font-size:10px}.card-body{padding:14px}.card-top{display:flex;justify-content:space-between;align-items:center;gap:6px;margin-bottom:10px}.number{font-family:monospace;font-size:10px;color:#8e9893}.badge{display:inline-block;font-size:10px;padding:4px 7px;border-radius:4px;white-space:nowrap}.badge.approved,.badge.succeeded{background:#e7f3ec;color:#297659}.badge.pending,.badge.needs_review,.badge.queued,.badge.running{background:#fcf3df;color:#9b7b30}.badge.draft,.badge.canceled{background:#f0f2f3;color:#82908b}.badge.failed{background:#fbece9;color:#b26558}.card-title{font-size:12px;font-weight:500;line-height:1.7;height:40px;overflow:hidden}.card-footer{display:flex;justify-content:space-between;margin-top:14px;padding-top:11px;border-top:1px solid #f0f2f0;font-size:10px;color:#8c9892}.empty{grid-column:1/-1;padding:45px 20px;text-align:center;color:#84918a}.empty .empty-icon{font-size:34px;color:#8db09b;margin-bottom:12px}.empty h3{color:#4b6255;font-size:16px}.empty p{font-size:12px;line-height:1.9}.workflow{display:flex;align-items:center;justify-content:center;gap:24px;padding:27px 12px;color:#8a9690;font-size:10px}.workflow-label{color:#52685b}.workflow i{font-style:normal;color:#b2bfb7}footer{padding:25px 42px;color:#8d9992;font-size:9px;letter-spacing:1px}footer span{float:right;letter-spacing:0}.settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px}.settings-card{padding:27px}.settings-card.full{grid-column:1/-1}.connection{display:flex;align-items:center;justify-content:space-between;padding:16px 0;border-bottom:1px solid #f0f3f1;gap:10px}.connection b{font-size:13px}.settings-card .muted{margin:18px 0}.inline-form{display:flex;gap:12px}.inline-form input{flex:1}.note{font-size:11px;color:#8b9690;line-height:1.9}.list-row{padding:22px 25px;display:flex;justify-content:space-between;gap:20px;border-bottom:1px solid var(--line);align-items:center}.list-row:last-child{border:0}.list-row h3{margin:0 0 8px}.list-row p{margin:4px 0;font-size:12px;color:#87938c;line-height:1.7;overflow-wrap:anywhere}.list-row .error{color:#b26558}.row-actions{display:flex;align-items:center;gap:15px}dialog{width:min(570px,94vw);border:1px solid var(--line);border-radius:12px;padding:28px;box-shadow:0 25px 100px #18352525;color:var(--ink);max-height:92vh}dialog::backdrop{background:#14271e66;backdrop-filter:blur(2px)}.dialog-top{display:flex;justify-content:space-between;align-items:flex-start;gap:15px}.dialog-top h2{margin-bottom:22px}.close{font-size:28px;line-height:1;color:#89968d}label{display:flex;flex-direction:column;gap:8px;font-size:12px;color:#66786d;margin-bottom:18px}label input,label select,label textarea{width:100%}.checkbox{flex-direction:row;align-items:center;margin-top:22px}.checkbox input{width:auto}form>.primary{width:100%;margin-top:8px}.editor-dialog{width:min(1050px,96vw)}.editor-body{display:grid;grid-template-columns:350px 1fr;gap:30px}.editor-media{min-width:0}#media-main{background:#f1f4f0;border-radius:8px;overflow:hidden;height:370px;display:flex;align-items:center;justify-content:center;color:#9ba89e}#media-main img,#media-main video{width:100%;height:100%;object-fit:contain}.thumbs{display:flex;gap:7px;overflow-x:auto;margin:12px 0}.thumb{flex:0 0 54px;width:54px;height:62px;border:2px solid transparent;border-radius:5px;overflow:hidden;padding:0;background:#edf1ed}.thumb.active{border-color:var(--green)}.thumb img{width:100%;height:100%;object-fit:cover}.upload-zone{border:1px dashed #b1c6b8;border-radius:7px;text-align:center;padding:16px;cursor:pointer;display:block;font-size:12px;color:var(--green)}.upload-zone input{display:none}.media-actions{display:flex;align-items:center;justify-content:space-between}.danger{color:#b26558}.generation-box{border-top:1px solid var(--line);padding-top:15px;margin-top:22px}.generation-box button{width:100%;margin-bottom:10px;text-align:left}.two-cols{display:grid;grid-template-columns:1fr 1fr;gap:15px}.preview-heading{display:flex;justify-content:space-between;align-items:center;font-size:12px;margin-bottom:7px}.editor-fields>textarea{width:100%;margin-bottom:18px;font-family:monospace;font-size:12px}details{margin:8px 0 20px}summary{cursor:pointer;font-size:12px;color:#657c6c;margin-bottom:12px}#description-frame{width:100%;height:65vh;border:1px solid var(--line);border-radius:6px}.toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);background:#243b30;color:white;padding:14px 24px;border-radius:8px;box-shadow:0 8px 30px #0002;z-index:100;max-width:90vw;white-space:pre-line;line-height:1.8;font-size:13px}.login{min-height:100vh;display:grid;place-items:center;background:radial-gradient(at 20% 20%,#e5efe7,transparent 60%),#f5f7f3}.login-card{width:min(440px,92vw);background:white;border:1px solid var(--line);border-radius:16px;padding:40px}.login-card .brand-mark{margin-bottom:30px}.login-card h1{font-size:24px}.login-card>p:not(.eyebrow){color:var(--muted);font-size:12px;margin-bottom:28px}.error{color:#b26558;font-size:12px;white-space:pre-line}.success{color:var(--green);font-size:12px}.login form label{margin-top:15px}@media(min-width:1600px){.product-grid{grid-template-columns:repeat(auto-fill,minmax(230px,1fr))}.product-image{height:280px}}@media(max-width:1100px){.sidebar{width:195px;padding:30px 15px}.workspace{margin-left:195px}main{padding:30px 22px}.panel-toolbar{flex-wrap:wrap}.workflow{gap:12px}.editor-body{grid-template-columns:300px 1fr;gap:20px}.stats article{padding:16px}.toolbar-actions{flex-wrap:wrap}}@media(max-width:760px){.sidebar{position:static;width:100%;padding:14px 18px;border-right:0;border-bottom:1px solid var(--line)}.sidebar .brand{font-size:17px}.brand-mark{width:32px;height:34px;font-size:23px}.workspace-label,.sidebar-bottom{display:none}.sidebar nav{display:flex;margin-top:15px;gap:4px}.nav{font-size:11px;padding:8px;justify-content:center;margin:0;gap:5px}.nav span{font-size:15px;width:auto}.nav b{display:none}.workspace{margin:0}header{height:55px;padding:0 20px}.tag{display:none}main{padding:25px 16px}.page-heading{align-items:flex-start;flex-direction:column}.page-heading h1{font-size:25px}.stats{grid-template-columns:repeat(2,1fr);gap:10px}.stats strong{font-size:27px}.stats small{font-size:9px}.panel-toolbar{padding:17px}.toolbar-actions{gap:6px}.toolbar-actions button{padding:10px;font-size:10px}.filters{padding:0 15px;flex-wrap:wrap;gap:0}.tabs{gap:18px}.tabs button{font-size:11px}.search{margin-bottom:12px;width:100%}.product-grid{grid-template-columns:repeat(2,minmax(0,1fr));padding:13px;gap:12px}.product-image{height:190px}.card-body{padding:11px}.card-top{flex-wrap:wrap}.workflow{flex-wrap:wrap;line-height:1.5}.workflow-label{width:100%;text-align:center}.settings-grid{grid-template-columns:1fr}.editor-body{grid-template-columns:1fr}.editor-media{max-width:100%}#media-main{height:300px}.list-row{padding:18px;align-items:flex-start;flex-direction:column}.list-row .row-actions{align-self:flex-end}footer{padding:20px 16px;font-size:8px}.inline-form{flex-direction:column}.login-card{padding:30px}.settings-card{padding:20px}}
.section-heading{margin-top:32px}.analysis-summary{font-size:12px;line-height:1.8;color:#64786b}.analysis-summary:not(:empty){background:#f2f7f3;border:1px solid #e0ebe3;border-radius:7px;padding:14px;margin:12px 0}.generation-box .primary{width:100%;margin-bottom:12px;text-align:left}#provider-form{margin-top:20px}.settings-grid>.settings-card{align-self:start}
/* Production workbench */
.production-tabs{gap:18px;overflow-x:auto;max-width:100%;min-width:0}.filters:has(.production-tabs){flex-wrap:wrap;gap:0}.production-tabs button{font-size:11px}.filters .search{width:300px;margin:8px 0 12px}.library-controls{display:flex;align-items:center;gap:18px;padding:14px 23px;border-bottom:1px solid var(--line);font-size:12px;color:var(--muted)}.library-controls .checkbox{margin:0}.library-controls input,.product-table input,.card-select input{accent-color:var(--green);width:16px;height:16px}.view-switch{display:flex;gap:3px;margin-left:auto;background:#f1f5f2;border-radius:6px;padding:3px}.view-switch button{padding:6px 13px;border-radius:4px}.view-switch .selected{background:white;color:var(--green);box-shadow:0 1px 5px #193d2010}.bulk-toolbar{padding:13px 23px;display:flex;align-items:center;gap:12px;background:#eaf4ee;flex-wrap:wrap}.bulk-toolbar strong{margin-right:auto;font-size:12px}.bulk-feedback{padding:14px 23px;white-space:pre-line;font-size:12px;line-height:1.9;max-height:190px;overflow:auto;background:#faf6ec;color:#7c673b}.product-table-wrap{overflow:auto;min-height:240px}.product-table{border-collapse:collapse;width:100%;text-align:left;font-size:12px;min-width:1000px}.product-table th{background:#f8faf8;color:#809087;font-weight:500;padding:16px 17px;white-space:nowrap}.product-table td{padding:19px 17px;border-top:1px solid var(--line);vertical-align:middle}.product-table tr:hover td{background:#fcfdfb}.product-table th:first-child,.product-table td:first-child{padding-right:0;width:45px}.product-identity{min-width:165px;max-width:210px}.product-identity strong{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;line-height:1.7;font-size:12px;font-weight:600;margin:7px 0}.product-identity small{display:block;color:var(--muted);font-size:10px;line-height:1.8}.source-pair{display:flex;align-items:center;gap:9px;padding:0}.source-pair>span{display:block;position:relative;width:58px;height:83px;background:#f0f2ec;border-radius:5px;overflow:hidden}.source-pair img{width:100%;height:100%;object-fit:contain}.source-pair b{position:absolute;bottom:6px;right:5px;background:#183c2bcc;color:white;border-radius:50%;font-size:10px;padding:5px}.source-pair i{font-style:normal;color:#9bada1}.source-pair em{font-style:normal;color:#8d9c93;font-size:10px;display:grid;height:100%;place-items:center}.production-stages{display:flex;gap:12px;align-items:flex-start;min-width:245px}.stage{display:flex;flex-direction:column;align-items:center;gap:7px;font-size:10px;color:#94a198;white-space:nowrap}.stage i{font-style:normal;border:1px solid #dfe5e1;border-radius:50%;width:23px;height:23px;display:grid;place-items:center;color:#a6b1a8}.stage.done{color:var(--green)}.stage.done i{background:#e9f5ec;border-color:#a6d2b6;color:var(--green)}.stage small{font-size:9px}.row-note{display:block;color:#96a198;font-size:10px;margin-top:12px}.next-action{font-size:11px;line-height:1.7;color:#8a7964;max-width:170px;max-height:40px;overflow:hidden;margin:8px 0 0;overflow-wrap:anywhere}.product-table .secondary{font-size:11px;white-space:nowrap;padding:9px 12px}.card-select{position:absolute;right:10px;top:10px;background:#fffffff0;border-radius:4px;padding:5px;margin:0;display:block}.product-card .production-stages{min-width:0;gap:7px;justify-content:space-between;border-top:1px solid var(--line);padding-top:12px;margin-top:10px}.product-card .stage{font-size:9px}.product-card .next-action{max-width:100%}.editor-readiness{padding:15px 18px;background:#f3f7f1;border:1px solid #e0e9de;border-radius:8px;line-height:1.8;margin-bottom:24px;display:flex;gap:15px;flex-wrap:wrap;font-size:12px}.editor-readiness strong{color:var(--green)}.editor-readiness small{flex-basis:100%;color:#8a947e}.editor-media>#compare-product{width:100%;margin:8px 0 12px}.compare-dialog{width:min(1200px,96vw)}.comparison-grid{display:grid;grid-template-columns:1fr 1.5fr;gap:28px}.comparison-grid h3{font-size:13px}.comparison-grid video{width:100%;height:440px;object-fit:contain;background:#eff2ed;border-radius:8px}.reference-strip{display:flex;gap:6px;overflow:auto;padding:12px 0}.reference-strip img{width:64px;height:90px;object-fit:contain;background:#f1f3ef;border-radius:4px}.comparison-images{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.comparison-images figure{margin:0}.comparison-images img{width:100%;height:205px;object-fit:contain;background:#f4f3ee;border-radius:6px}.comparison-images figcaption{font-size:10px;color:var(--muted);margin-top:7px;text-align:center}.preflight-heading{margin:20px 0 12px;font-weight:600}.preflight-row{padding:12px 0;border-top:1px solid var(--line);font-size:12px}.preflight-row>b,.preflight-row>span,.preflight-row>small{display:block;line-height:1.8}.preflight-row>span,.preflight-row>small{color:var(--muted)}#export-check{max-height:40vh;overflow:auto;margin:12px 0}.preflight-row .error{margin:3px 0}@media(max-width:760px){.library-controls{padding:12px;gap:10px}.bulk-toolbar{padding:12px;gap:8px}.bulk-toolbar button{font-size:11px;padding:9px}.comparison-grid{grid-template-columns:1fr}.comparison-grid video{height:300px}.comparison-images img{height:150px}.production-tabs{width:100%;gap:18px}.filters .search{width:100%}.editor-readiness{gap:5px}.product-table{min-width:1000px}.product-card .stage{font-size:8px;gap:5px}.product-card .production-stages{gap:4px}}
/* Unified SVG, typography and adjustable workspace appearance */
:root{--base-size:14px;--ui-radius:10px;--surface:#fff;--field:#fff;--ink:#23312e;--muted:#75837d;--line:#e5eae7;--bg:#f5f7f6;--soft:color-mix(in srgb,var(--green) 9%,white)}html{font-size:var(--base-size);text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased}body{font-family:"Inter","SF Pro Text",-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Hiragino Sans GB","Microsoft YaHei",sans-serif;font-size:1rem;line-height:1.6;letter-spacing:.01em}.icon{width:18px;height:18px;flex:none;display:inline-block;vertical-align:-.2em;pointer-events:none}button .icon,a .icon{width:16px;height:16px}button.primary,button.secondary,button.dark-button,a.secondary{display:inline-flex;align-items:center;justify-content:center;gap:7px}.nav>.icon,.nav>span>.icon{width:20px;height:20px}.nav{font-size:.95rem;font-weight:500;min-height:48px;gap:12px;padding:12px 14px}.nav.active{box-shadow:inset 3px 0 var(--green)}.nav span{display:inline-flex}.nav b{font-variant-numeric:tabular-nums}.sidebar{padding:28px 20px;background:var(--surface)}.brand{font-size:1.4rem;letter-spacing:.02em}.brand-mark{font-family:Georgia,serif}.workspace-label{font-size:.85rem;padding:11px 12px;margin:30px 0 24px}.sidebar-bottom{font-size:.83rem}.sidebar-bottom p{font-size:.8rem}.sidebar-bottom .text-button{padding:8px 0}header{background:var(--surface);height:64px;font-size:.9rem}.breadcrumb{font-size:.86rem}.header-right .tag{font-size:.8rem}main{padding:30px 34px}.page-heading{margin-bottom:26px}.page-heading h1{font-size:2rem;letter-spacing:-.04em;line-height:1.4;margin:6px 0 10px;font-weight:650}.eyebrow{font-size:.7rem;letter-spacing:.2em;color:var(--green);font-weight:650}.muted{font-size:.95rem;line-height:1.8}.stats{gap:16px;margin-bottom:26px}.stats article{padding:19px 23px;border-radius:var(--ui-radius);background:var(--surface)}.stats span{font-size:.88rem}.stats strong{font-size:2.3rem;line-height:1.2;font-weight:600;font-variant-numeric:tabular-nums;margin:12px 0}.stats small{font-size:.78rem}.stats .stat-accent{background:var(--soft);border-color:color-mix(in srgb,var(--green) 20%,var(--line))}.panel,.list-panel,dialog,.product-card{border-radius:var(--ui-radius);background:var(--surface)}.primary{background:var(--green);color:white;border:1px solid transparent}.primary,.secondary,.dark-button{font-size:.88rem;font-weight:550;line-height:1.5;border-radius:calc(var(--ui-radius)*.65);min-height:39px;padding:9px 14px}.secondary{background:var(--surface);border-color:var(--line)}input,textarea,select{font-size:.93rem;background:var(--field);color:var(--ink);border-color:var(--line);border-radius:calc(var(--ui-radius)*.6);line-height:1.6}label{font-size:.89rem;color:var(--ink);font-weight:500}.panel-title{font-size:1rem}.panel-toolbar{padding:19px 22px}.tabs button,.production-tabs button{font-size:.84rem;padding:17px 0}.tabs{gap:20px}.filters .search{font-size:.87rem;width:310px}.library-controls{font-size:.87rem;background:var(--surface);padding:12px 22px}.library-controls .checkbox{font-size:.87rem}.product-table{font-size:.9rem}.product-table th{font-size:.83rem;padding:14px 16px;font-weight:550;background:color-mix(in srgb,var(--surface) 60%,var(--bg));color:var(--muted)}.product-table td{padding:19px 16px}.product-identity{min-width:185px;max-width:240px}.product-identity strong{font-size:.92rem;font-weight:600;line-height:1.6}.number{font-family:"SFMono-Regular",Consolas,"Liberation Mono",monospace;font-size:.78rem;letter-spacing:.01em}.product-identity small{font-size:.76rem}.source-pair>span{width:62px;height:90px;border:1px solid var(--line);border-radius:calc(var(--ui-radius)*.6)}.source-pair i .icon{width:14px}.source-pair b{display:flex;align-items:center;justify-content:center}.source-pair b .icon{width:12px;height:12px}.production-stages{gap:13px;min-width:275px}.stage{font-size:.76rem;gap:7px}.stage i{width:26px;height:26px}.stage i .icon{width:14px;height:14px}.stage small{font-size:.7rem}.row-note{font-size:.75rem}.badge{font-size:.75rem;padding:4px 8px;font-weight:500}.next-action{font-size:.8rem;line-height:1.7;max-height:44px;max-width:210px}.product-table .secondary{font-size:.82rem;padding:8px 11px}.card-title{font-size:.94rem;height:48px}.card-footer{font-size:.76rem}.note{font-size:.85rem;line-height:1.8}.product-card .stage{font-size:.73rem}.product-card .production-stages{gap:8px}.product-card .next-action{font-size:.8rem}.toolbar-actions select{font-size:.88rem}.product-grid{grid-template-columns:repeat(auto-fill,minmax(245px,1fr))}.editor-dialog{width:min(1180px,96vw)}.editor-body{grid-template-columns:390px 1fr;gap:34px}.editor-fields>textarea{font-size:.9rem}.thumb{flex-basis:60px;width:60px;height:72px}.settings-card{padding:26px}.settings-card h2,.dialog-top h2{font-size:1.2rem;font-weight:600;letter-spacing:-.02em}.settings-card h2{display:flex;align-items:center;gap:10px}.system-grid{display:grid;grid-template-columns:minmax(360px,1.15fr) minmax(320px,1fr);gap:24px;max-width:1180px}.system-grid>aside{display:flex;flex-direction:column;gap:24px}.settings-actions{display:flex;gap:10px;flex-wrap:wrap}.color-presets{display:flex;gap:12px;margin:-6px 0 24px}.color-presets button{width:28px;height:28px;border:3px solid var(--surface);outline:1px solid var(--line);border-radius:50%}.appearance-preview{background:linear-gradient(135deg,var(--surface),var(--soft));color:var(--ink)}.appearance-preview>p:not(.eyebrow){font-size:.92rem;color:var(--muted);line-height:1.8}.preview-sample{background:var(--surface);border:1px solid var(--line);border-radius:var(--ui-radius);padding:18px;display:flex;align-items:center;gap:13px;margin:24px 0}.preview-sample>.icon{width:30px;height:30px;color:var(--green)}.preview-sample small{display:block;font-size:.78rem;color:var(--muted);margin-top:3px}.preview-sample .badge{margin-left:auto}.login-card{width:min(460px,94vw);border-radius:var(--ui-radius);box-shadow:0 20px 60px #23432a0b}.login-card h1{font-size:1.8rem}.login-card>p:not(.eyebrow){font-size:.9rem}.list-row h3{font-size:1rem}.list-row p{font-size:.86rem}.workflow{font-size:.8rem}.workflow .icon{width:14px;height:14px}.row-actions .text-button{font-size:.85rem}.close .icon{width:24px;height:24px}.bulk-toolbar strong{font-size:.88rem}.thumb>.icon{width:22px;height:22px}.preflight-row{font-size:.9rem}.editor-readiness{font-size:.9rem}.comparison-grid h3{font-size:1rem}.comparison-images figcaption{font-size:.8rem}.search{background:var(--field)}.product-table tr:hover td{background:var(--soft)}.stage.done i{background:var(--soft);border-color:color-mix(in srgb,var(--green) 35%,var(--surface));color:var(--green)}.stage.done{color:var(--green)}.badge.approved,.badge.succeeded{background:var(--soft);color:var(--green)}.badge.pending,.badge.needs_review,.badge.queued,.badge.running{background:#fbf2df;color:#826016}.success{color:var(--green)}.view-switch{background:var(--bg)}.view-switch .selected{background:var(--surface)}.connection{border-color:var(--line)}.panel,.stats article,.list-panel{box-shadow:0 2px 6px #20352b03}
html[data-font=sans] body{font-family:"Arial","Noto Sans CJK SC","Microsoft YaHei",sans-serif}html[data-font=serif] body{font-family:"Noto Serif CJK SC","Songti SC","SimSun",Georgia,serif}html[data-density=compact] .product-table td{padding-top:10px;padding-bottom:10px}html[data-density=compact] .source-pair>span{height:67px;width:48px}html[data-density=compact] .stats article{padding:14px 20px}html[data-density=compact] main{padding-top:22px}html[data-density=compact] .page-heading{margin-bottom:18px}html[data-density=compact] .panel-toolbar{padding:12px 20px}html[data-motion=reduced] *,html[data-motion=reduced] *:before,html[data-motion=reduced] *:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}
html[data-theme=dark]{color-scheme:dark;--surface:#202b28;--field:#26332e;--ink:#e1ebe6;--muted:#a2b3a9;--line:#35463d;--bg:#17211d;--soft:color-mix(in srgb,var(--green) 22%,#202b28)}html[data-theme=dark] .dark-button{background:#d5e7dc;color:#1b3025}html[data-theme=dark] .sidebar,html[data-theme=dark] header{background:var(--surface)}html[data-theme=dark] .workspace-label,html[data-theme=dark] .filters,html[data-theme=dark] .generation-box,html[data-theme=dark] .card-footer{border-color:var(--line)}html[data-theme=dark] .source-badge{background:#23352ce8;color:var(--ink)}html[data-theme=dark] .badge.pending,html[data-theme=dark] .badge.needs_review{background:#463b20;color:#efd398}html[data-theme=dark] .editor-readiness,html[data-theme=dark] .analysis-summary,html[data-theme=dark] .bulk-toolbar{background:var(--soft);border-color:var(--line);color:var(--ink)}html[data-theme=dark] .login{background:var(--bg)}html[data-theme=dark] .login-card{background:var(--surface)}html[data-theme=dark] .next-action{color:#d4bfa0}html[data-theme=dark] .badge.draft{background:#33433a;color:#c1d0c6}html[data-theme=dark] .avatar,html[data-theme=dark] .nav b{background:var(--field);color:var(--ink)}html[data-theme=dark] .product-card{background:var(--surface)}html[data-theme=dark] .empty h3{color:var(--ink)}@media(max-width:1100px){.system-grid{grid-template-columns:1fr}.editor-body{grid-template-columns:320px 1fr}.production-stages{min-width:250px;gap:10px}main{padding:26px 22px}.stats article{padding:16px}.stats small{font-size:.74rem}.product-identity{min-width:170px}.sidebar{padding:25px 15px}.nav{font-size:.88rem}}@media(max-width:760px){.sidebar{padding:16px}.sidebar nav{overflow-x:auto;justify-content:space-between}.nav{min-width:64px;flex-shrink:0;flex-direction:column;gap:5px;min-height:56px;font-size:.73rem;padding:7px}.nav.active{box-shadow:inset 0 -2px var(--green)}main{padding:22px 14px}.page-heading h1{font-size:1.65rem}.page-heading .muted{font-size:.86rem}.stats strong{font-size:1.9rem}.stats article{padding:16px}.stats span{font-size:.82rem}.stats small{font-size:.7rem}.product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.editor-body{grid-template-columns:1fr}.system-grid{grid-template-columns:minmax(0,1fr)}.settings-card{padding:20px}.two-cols{gap:12px}.product-card .production-stages{min-width:0;gap:3px}.product-card .stage{font-size:.6rem}.product-card .stage i{height:20px;width:20px}.toolbar-actions{width:100%}.product-card .card-footer{flex-wrap:wrap;gap:5px}.product-card .number{font-size:.66rem}.card-title{font-size:.85rem}.library-controls{padding:12px}.settings-actions button{flex:1}.product-image{height:220px}.sidebar .brand{font-size:1.2rem}.sidebar .brand-mark{width:32px;height:34px}.comparison-grid{grid-template-columns:1fr}.product-table{min-width:1080px}}
.brand-logo{width:31px;height:31px}.brand-mark{display:inline-grid;place-items:center}.sidebar .brand-mark{flex-shrink:0}html[data-theme=dark] .card-select{background:var(--surface)}html[data-theme=dark] .badge.failed{background:#472f2b;color:#f1b2a8}html[data-theme=dark] .badge.queued,html[data-theme=dark] .badge.running{background:#463b20;color:#efd398}html[data-theme=dark] .bulk-feedback{background:#3c3526;color:#e4cfa0}html[data-theme=dark] .nav{color:var(--muted)}html[data-theme=dark] .product-image,html[data-theme=dark] #media-main{background:var(--field)}.settings-actions .primary{width:auto;margin-top:0}.toolbar-actions .icon{width:15px;height:15px}
:root{--accent-ink:var(--green)}html[data-theme=dark]{--accent-ink:color-mix(in srgb,var(--green) 55%,white)}.text-button,.eyebrow,.nav.active,.stage.done,.badge.approved,.badge.succeeded,.success{color:var(--accent-ink)}.primary:hover{background:color-mix(in srgb,var(--green) 86%,black)}.workspace-label span,.tabs .selected{color:var(--accent-ink)}input[type=color]{height:43px;padding:4px;cursor:pointer}input[type=range],input[type=checkbox]{accent-color:var(--green)}.stat-icon{float:right;display:inline-grid;place-items:center;width:34px;height:34px;border-radius:8px;background:var(--soft);color:var(--accent-ink);margin-top:-3px}.stats .stat-icon .icon{width:18px;height:18px}.appearance-preview>.secondary{margin-left:8px}
@media(max-width:760px){.sidebar nav{gap:3px;overflow:visible}.sidebar nav .nav{width:auto;flex:1 1 0;min-width:0;padding:8px 2px;font-size:.72rem;white-space:nowrap}.sidebar nav .nav .icon{width:19px;height:19px}}
.brand-mark:has(>.brand-logo){background:transparent;border-radius:0}.brand-mark>.brand-logo{width:100%;height:100%;object-fit:contain}.brand small{font-size:7px;letter-spacing:1.25px;white-space:nowrap}.login-card>.brand-mark{width:62px;height:62px;margin-bottom:22px}.login-card .brand-tagline{margin-top:-8px;margin-bottom:25px;font-size:.94rem}.login-card .eyebrow{font-size:.65rem;letter-spacing:.17em}@media(max-width:760px){.brand small{font-size:6.5px;letter-spacing:1px}}
/* Production operations */
.issue-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-bottom:30px}.issue-card{padding:22px;text-align:left;background:var(--surface);border:1px solid var(--line);border-radius:var(--ui-radius);transition:border-color .15s}.issue-card:hover{border-color:var(--green)}.issue-card>span{font-size:.9rem;color:var(--muted)}.issue-card strong{display:block;font-size:2rem;font-weight:600;line-height:1.5;margin:9px 0;color:var(--ink);font-variant-numeric:tabular-nums}.issue-card small{display:flex;align-items:center;gap:8px;font-size:.8rem;color:var(--accent-ink)}.section-toolbar{display:flex;align-items:baseline;justify-content:space-between;gap:20px;margin:26px 0 16px}.section-toolbar h2{font-size:1.15rem;white-space:nowrap;margin:0}.section-toolbar .note{margin:0;text-align:right}.batch-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.batch-card{text-align:left;padding:21px 23px;border:1px solid var(--line);border-radius:var(--ui-radius);background:var(--surface)}.batch-card>div:first-child{display:flex;justify-content:space-between;gap:15px}.batch-card strong{font-size:.95rem;overflow-wrap:anywhere}.batch-card span,.batch-card p{font-size:.84rem;color:var(--muted)}.batch-card small{font-size:.78rem;color:var(--muted)}.batch-track{margin:18px 0 13px}.batch-track progress{appearance:none;width:100%;height:6px;border:0;border-radius:6px;background:var(--line);overflow:hidden}.batch-track progress::-webkit-progress-bar{background:var(--line)}.batch-track progress::-webkit-progress-value{background:var(--green)}.batch-track progress::-moz-progress-bar{background:var(--green)}.activity-row{display:flex;align-items:flex-start;gap:13px;padding:17px 22px;border-bottom:1px solid var(--line)}.activity-row:last-child{border-bottom:0}.activity-dot{height:8px;width:8px;flex:none;border-radius:50%;background:var(--green);margin-top:7px}.activity-row b{font-size:.87rem;font-weight:550}.activity-row p{margin:4px 0 0;color:var(--muted);font-size:.8rem;line-height:1.7;overflow-wrap:anywhere}.activity-row small{margin-left:auto;color:var(--muted);font-size:.74rem;white-space:nowrap}.filters:has(#quality-filter){gap:8px 12px;padding-bottom:12px}.filters:has(#quality-filter) .production-tabs{flex:1 0 100%;margin-bottom:4px}.filters:has(#quality-filter) .search{margin:0;width:310px;margin-left:auto}#quality-filter{font-size:.84rem;min-width:170px;padding:8px 11px}.bulk-toolbar{gap:9px}.bulk-toolbar button{font-size:.82rem}.bulk-edit-field{display:grid;grid-template-columns:110px 1fr;gap:14px;align-items:center;margin:14px 0}.bulk-edit-field .checkbox{margin:0}.bulk-edit-field input[disabled]{background:var(--bg);opacity:.6}.bulk-price-note{margin:16px 0}.preflight-row>p{overflow-wrap:anywhere;font-size:.82rem;color:var(--muted)}#intake-result{max-height:60vh;overflow:auto}#recycle-list{max-height:60vh;overflow:auto}.toolbar-actions #open-recycle{white-space:nowrap}#recycle-count{font-size:.76rem;background:var(--bg);padding:1px 5px;border-radius:4px}#recycle-product{margin:8px 0}#view-jobs .row-actions{flex-wrap:wrap;justify-content:flex-end}@media(max-width:1000px){.toolbar-actions{flex-wrap:wrap}.activity-row{flex-wrap:wrap}.activity-row small{margin-left:21px}.section-toolbar{flex-direction:column;gap:7px}.section-toolbar .note{text-align:left}.batch-grid{grid-template-columns:1fr}}@media(max-width:760px){.issue-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.issue-card{padding:16px}.issue-card strong{font-size:1.8rem}.activity-row{padding:15px}.bulk-edit-field{grid-template-columns:95px 1fr;gap:10px}.toolbar-actions{width:100%}.filters:has(#quality-filter) .search{width:100%;margin:0}#quality-filter{width:100%}.batch-card{padding:18px}.sidebar nav .nav{font-size:.66rem;padding-left:0;padding-right:0}.batch-card>div:first-child{align-items:flex-start}.batch-card span{white-space:nowrap}}
/* Model connection and accountable usage */
.settings-grid:has(.provider-card){grid-template-columns:minmax(250px,.7fr) minmax(0,1.3fr)}.provider-heading{display:flex;align-items:center;justify-content:space-between;gap:15px}.provider-heading>.icon{width:30px;height:30px;color:var(--accent-ink)}.provider-heading .eyebrow{margin:0 0 8px}.provider-heading h2{margin:0 0 15px}.provider-card #provider-form{margin-top:22px}.provider-card .settings-actions .primary{width:auto}.transport-notice{padding:14px 16px;border:1px solid #e8d6ad;background:#fcf6e9;border-radius:var(--ui-radius);color:#7b6332;line-height:1.8;margin-bottom:15px}.transport-notice p{margin:6px 0}.model-plan,.model-info{border:1px solid var(--line);background:var(--bg);border-radius:var(--ui-radius);padding:16px;margin:-3px 0 22px;line-height:1.8;font-size:.86rem}.model-plan>p{margin:0}.model-info p{margin:7px 0;color:var(--ink)}.model-info small{display:block;color:var(--muted)}.model-info>b{color:var(--accent-ink);font-size:.91rem}.model-price{font-size:.8rem;border-top:1px solid var(--line);margin-top:12px;padding-top:10px;font-variant-numeric:tabular-nums;color:var(--ink)}.plan-stages{display:flex;flex-direction:column;gap:9px;margin:14px 0}.plan-stages>div{display:flex;align-items:baseline;justify-content:space-between;gap:18px}.plan-stages span{color:var(--muted);white-space:nowrap}.plan-stages strong{font-family:Consolas,monospace;font-weight:500;font-size:.8rem;overflow-wrap:anywhere;text-align:right}.cost-filters{padding:19px 22px;display:flex;gap:18px;flex-wrap:wrap;align-items:flex-end;margin-bottom:22px}.cost-filters label{margin:0;min-width:145px;flex:1}.cost-filters .note{margin:0 0 6px}.cost-stats strong{font-size:1.95rem;overflow-wrap:anywhere}.cost-stats small{display:block;line-height:1.7}.cost-coverage{border:1px solid var(--line);border-radius:var(--ui-radius);padding:16px 21px;background:var(--soft);font-size:.85rem;line-height:1.8;margin-bottom:24px}.cost-coverage b{color:var(--accent-ink);margin-right:22px}.cost-coverage span{color:var(--muted)}.cost-coverage p{margin:5px 0 0;color:var(--muted)}.cost-panels{display:grid;grid-template-columns:1fr 1fr;gap:22px}.cost-panels article{align-self:start}.cost-panels h2{margin-top:0}#cost-trend,#cost-comparison{max-height:380px;overflow:auto}.trend-row{margin:16px 0}.trend-row>div{display:flex;justify-content:space-between;gap:12px;font-size:.84rem}.trend-row span,.trend-row small{color:var(--muted);font-size:.77rem}.trend-row progress{width:100%;height:6px;appearance:none;border:0;border-radius:5px;overflow:hidden;margin:9px 0 3px}.trend-row progress::-webkit-progress-bar{background:var(--line)}.trend-row progress::-webkit-progress-value{background:var(--green)}.trend-row progress::-moz-progress-bar{background:var(--green)}.comparison-model{padding:16px 0;border-bottom:1px solid var(--line)}.comparison-model b{font-size:.9rem;overflow-wrap:anywhere}.comparison-model strong{float:right;font-size:1rem;color:var(--accent-ink);font-variant-numeric:tabular-nums}.comparison-model p{font-size:.8rem;color:var(--muted);margin:7px 0 4px}.comparison-model small{font-size:.77rem;color:var(--muted);line-height:1.7}.cost-records{overflow:hidden}#cost-records{overflow:auto}.cost-table{width:100%;border-collapse:collapse;min-width:1000px;text-align:left;font-size:.84rem}.cost-table th{padding:15px 18px;background:var(--bg);color:var(--muted);font-size:.8rem;font-weight:500;white-space:nowrap}.cost-table td{padding:17px 18px;vertical-align:top;border-top:1px solid var(--line);font-variant-numeric:tabular-nums}.cost-table td small{display:block;max-width:220px;font-size:.75rem;color:var(--muted);line-height:1.8;margin-top:5px;overflow-wrap:anywhere}.cost-pagination{display:flex;align-items:center;justify-content:flex-end;gap:17px;padding:15px 20px;border-top:1px solid var(--line);font-size:.85rem}.call-detail{font-size:.86rem;line-height:1.8}.call-detail dt{font-weight:600;margin:18px 0 5px}.call-detail dd{margin:0;overflow-wrap:anywhere;color:var(--muted)}.call-detail pre{font: .8rem/1.8 Consolas,monospace;white-space:pre-wrap;background:var(--bg);border-radius:var(--ui-radius);padding:14px}.provider-card label input[type=password]{font-family:Consolas,monospace}.provider-card input:disabled{background:var(--bg);opacity:.85}.cost-stats{margin-top:22px}html[data-theme=dark] .transport-notice{background:#423a28;border-color:#605131;color:#efd7a9}@media(max-width:1100px){.cost-panels{grid-template-columns:1fr}.settings-grid:has(.provider-card){grid-template-columns:1fr}.cost-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.cost-filters .note{width:100%}}@media(max-width:760px){.cost-filters{padding:16px;gap:14px}.cost-filters label{min-width:calc(50% - 14px)}.cost-stats strong{font-size:1.5rem}.cost-coverage{padding:15px}.cost-coverage span{display:block}.plan-stages>div{gap:12px}.plan-stages strong{font-size:.73rem}.model-price{font-size:.75rem}.provider-heading h2{font-size:1.1rem}.sidebar nav .nav{font-size:.61rem}.sidebar nav{gap:0}.cost-pagination{gap:12px;padding:12px}.provider-card .settings-actions button{width:auto;flex:1}.cost-stats small{font-size:.68rem}.cost-filters select{font-size:.83rem}.comparison-model strong{float:none;display:block;margin:7px 0}}

/* Separate catalog outputs from original evidence. */
.media-preview-label{font-size:.85rem;font-weight:600;color:var(--green);margin-bottom:8px}.media-groups{margin:18px 0}.media-group{border-top:1px solid var(--line);padding-top:14px;margin-top:18px}.media-group h3{display:flex;justify-content:space-between;margin:0 0 10px;font-size:.94rem}.media-group h3 small{font-weight:400;color:var(--muted)}.media-thumb-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.media-thumb-grid .thumb{position:relative;width:100%;height:104px;min-width:0;display:flex;align-items:center;justify-content:center;padding:0 0 24px;background:var(--bg)}.media-thumb-grid .thumb img{height:100%;object-fit:contain}.thumb-caption{position:absolute;bottom:0;left:0;right:0;height:24px;padding:3px 2px;background:var(--surface);font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:var(--ink)}.thumb.active .thumb-caption{color:var(--green);font-weight:600}.media-empty{grid-column:1/-1;margin:0;padding:15px;background:var(--bg);font-size:.82rem;color:var(--muted);border-radius:6px}.media-history{padding:12px;background:var(--bg);border-radius:8px;margin-top:16px}.media-history summary{margin-bottom:0}.media-history .media-group{border-top:0;margin-top:8px}.media-actions{gap:8px;flex-wrap:wrap}#media-main{height:410px}@media(max-width:760px){.media-thumb-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.media-thumb-grid .thumb{height:96px}#media-main{height:350px}.editor-body{grid-template-columns:minmax(0,1fr)}.editor-fields{min-width:0}}

.hero-actions{display:flex;flex-direction:column;gap:8px;margin-top:12px}.hero-actions:has(button.hidden):has(#reset-gallery.hidden){display:none}.hero-actions button{width:100%}

/* Site-native confirmations and dismissible notifications. */
.app-confirm{width:min(480px,calc(100vw - 32px));padding:26px;border:1px solid var(--line);border-radius:16px;box-shadow:0 24px 90px #132a2a36;max-height:85dvh;overflow:auto;background:var(--surface)}.app-confirm::backdrop{background:#14271e70;backdrop-filter:blur(4px)}.confirm-heading{display:flex;align-items:flex-start;justify-content:space-between;margin-bottom:18px}.confirm-icon{display:grid;place-items:center;width:46px;height:46px;border-radius:14px;color:var(--green);background:var(--soft)}.confirm-icon .icon{width:24px;height:24px}.confirm-heading>button{display:grid;place-items:center;width:32px;height:32px;border-radius:8px;color:var(--muted)}.confirm-heading>button:hover{background:var(--bg)}.app-confirm .eyebrow{margin:0 0 7px;font-size:.72rem;letter-spacing:.1em}.app-confirm h2{margin:0 0 13px;font-size:1.35rem;line-height:1.5}.app-confirm #confirm-message{font-size:.96rem;line-height:1.9;color:var(--muted);white-space:pre-wrap;overflow-wrap:anywhere;margin:0}.confirm-footer{display:flex;justify-content:flex-end;gap:10px;margin-top:25px;padding-top:20px;border-top:1px solid var(--line)}.confirm-footer button{min-width:110px}.app-confirm.is-danger .confirm-icon{color:#b34b3e;background:#fbefeb}.app-confirm.is-danger #confirm-accept{background:#b34b3e}.app-confirm button:focus-visible{outline:3px solid color-mix(in srgb,var(--green) 35%,transparent);outline-offset:3px}.toast{display:flex;align-items:center;gap:12px;background:var(--surface);color:var(--ink);border:1px solid var(--line);border-left:4px solid var(--green);border-radius:12px;padding:14px 14px 14px 17px;box-shadow:0 12px 40px #17342b25;z-index:200;max-width:min(620px,calc(100vw - 32px));width:max-content;font-size:.92rem;pointer-events:auto}.toast.hidden{display:none}.toast #toast-icon{color:var(--green);display:flex}.toast #toast-message{white-space:pre-line;overflow-wrap:anywhere;min-width:0}.toast #toast-close{flex:none;align-self:flex-start;display:grid;place-items:center;width:28px;height:28px;border:0;border-radius:6px;background:transparent;color:var(--muted);padding:4px}.toast #toast-close:hover{background:var(--bg)}.toast[data-type=error]{border-left-color:#b34b3e}.toast[data-type=error] #toast-icon{color:#b34b3e}@media(max-width:480px){.app-confirm{padding:22px}.confirm-footer{display:grid;grid-template-columns:1fr 1fr}.confirm-footer button{min-width:0;padding:10px}.toast{bottom:16px}}

.toast[popover]{position:fixed;inset:auto;bottom:25px;left:50%;margin:0;transform:translateX(-50%)}.toast::backdrop{background:transparent;pointer-events:none}@media(max-width:480px){.toast[popover]{bottom:16px}}

.generation-settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px}.generation-wide{grid-column:1/-1}.generation-slot-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin:20px 0}.generation-slot{padding:22px;min-width:0}.generation-slot-heading{display:flex;align-items:center;gap:14px;margin-bottom:16px}.generation-slot-heading>span{width:42px;height:42px;border-radius:12px;display:grid;place-items:center;background:var(--soft);color:var(--green);font-weight:650;font-size:1.2rem}.generation-slot-heading label{flex:1;margin:0}.generation-layout-preview{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}.generation-layout-preview>span{aspect-ratio:var(--generation-ratio,9/16);display:flex;flex-direction:column;justify-content:center;align-items:center;gap:8px;background:var(--soft);border:1px solid var(--line);border-radius:7px;color:var(--green)}.generation-layout-preview small{font-size:.72rem}.generation-save-bar{position:sticky;bottom:12px;display:flex;justify-content:space-between;align-items:center;padding:18px 22px;gap:18px;z-index:2;box-shadow:0 4px 25px #17352b12}.generation-save-bar>div{display:flex;gap:10px;flex:none}.generation-slot textarea{font-size:.85rem}.generation-slot select:disabled{opacity:.8}#generation-form textarea{resize:vertical;max-width:100%}@media(max-width:850px){.generation-settings-grid,.generation-slot-cards{grid-template-columns:minmax(0,1fr)}.generation-save-bar{position:static;align-items:stretch;flex-direction:column}.generation-save-bar>div{flex-wrap:wrap}.generation-wide{grid-column:auto}}

@keyframes studio-working-spin{to{transform:rotate(360deg)}}.stage.working{color:var(--green);font-weight:600}.stage.working i{border-color:color-mix(in srgb,var(--green) 40%,var(--line));background:var(--soft);box-shadow:0 0 0 3px color-mix(in srgb,var(--green) 6%,transparent)}.stage.working i .icon,.button-working>.icon{animation:studio-working-spin 1s linear infinite;transform-origin:center}.stage.working small{font-weight:400;color:var(--green)}.button-working>.icon{width:17px;height:17px}.ui-update-banner{display:flex;gap:18px;justify-content:space-between;align-items:center;padding:12px 34px;background:var(--soft);border-bottom:1px solid var(--line);color:var(--ink);font-size:.87rem}.ui-update-banner.hidden{display:none}.ui-update-banner button{flex:none}@media(max-width:760px){.ui-update-banner{padding:12px 16px;align-items:flex-start;flex-direction:column}}@media(prefers-reduced-motion:reduce){.stage.working i .icon,.button-working>.icon{animation:none;opacity:.8}}html[data-motion=reduced] .stage.working i .icon{animation:none}

.permission-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:16px;background:var(--bg,#f5f7f6);border-radius:10px;margin:12px 0 20px}.permission-grid label{margin:0;font-size:13px}.permission-grid input{width:auto}.team-table-wrap{overflow-x:auto}.team-table{width:100%;border-collapse:collapse}.team-table th,.team-table td{padding:14px 12px;border-bottom:1px solid var(--line,#e3e9e6);text-align:left;vertical-align:top}.team-table small{display:block;margin-top:5px;color:var(--muted,#75838a)}#workspace-switch{width:100%;margin-bottom:15px}#workspace-create-card{margin-bottom:20px}#user-dialog,#store-dialog{width:min(680px,94vw)}@media(max-width:600px){.permission-grid{grid-template-columns:1fr}.team-table{min-width:620px}}

#header-user-name{max-width:160px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.header-right{min-width:0}@media(max-width:600px){#header-user-name{max-width:90px}.header-right>.tag:not(#header-user-name){display:none}}

.sales-summary{display:flex;flex-wrap:wrap;gap:20px;padding:22px;background:var(--surface,#f3f7f5);border-radius:12px;margin:16px 0}.sales-spinner{display:inline-block;width:18px;height:18px;border:2px solid #cdded9;border-top-color:#217e69;border-radius:50%;animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}

/* Daily-use workspace: operational hierarchy, restrained surfaces and responsive navigation. */
:root{--ui-radius:8px;--bg:#f5f6f8;--line:#e1e5e9;--muted:#66727d;--ink:#202b36}
body{letter-spacing:0;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif}
button,input,select,textarea{font-size:.9rem}button{transition:background .12s,border-color .12s}button:disabled{cursor:not-allowed}button:focus-visible,a:focus-visible{outline:2px solid var(--green);outline-offset:3px}.icon-button{width:34px;height:34px;display:grid;place-items:center;border-radius:6px}.icon-button:hover{background:var(--bg)}
.sidebar{width:216px;padding:24px 14px 16px;z-index:30;overflow-y:auto;overscroll-behavior:contain}.sidebar .brand{padding:0 8px;gap:10px;font-size:19px;letter-spacing:0}.sidebar .brand-mark{width:35px;height:35px}.sidebar .brand small{font-size:6px;letter-spacing:1px;margin-top:3px}.workspace-label{margin:24px 6px 5px;padding:10px 8px;background:var(--bg);border:0;color:var(--ink);border-radius:6px;min-height:39px}.workspace-label span{float:none;font-weight:500;color:var(--ink);display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sidebar #workspace-switch{margin:8px 6px 0;width:calc(100% - 12px);font-size:.85rem}.nav-group{margin-top:21px}.nav-group-label{margin:0 12px 7px;color:var(--muted);font-size:.73rem;font-weight:500;letter-spacing:.04em}.nav{min-height:39px;padding:9px 12px;gap:10px;margin:2px 0;font-size:.9rem;line-height:1.5;border-radius:6px;color:var(--muted)}.nav>.icon,.nav>span>.icon{width:17px;height:17px}.nav>span{width:18px;flex:none}.nav:hover{background:var(--bg);color:var(--ink)}.nav.active{box-shadow:none;background:var(--soft);color:var(--accent-ink);font-weight:600}.nav.active .icon{stroke-width:2}.nav b{background:var(--surface);font-size:.73rem}.sidebar-bottom{margin:26px 8px 0;padding-top:16px;font-size:.76rem;color:var(--muted)}.sidebar-bottom #logout{display:block;padding-top:8px;color:var(--muted)}.workspace{margin-left:216px}header{height:58px;padding:0 28px;position:sticky;top:0;z-index:10;font-size:.85rem;background:var(--surface)}.header-location{display:flex;align-items:center;gap:9px}.breadcrumb{color:var(--muted)}.slash{padding:0 10px}#page-label{font-weight:500}.header-right{gap:13px}.header-right .tag{font-size:.8rem}.avatar{width:28px;height:28px;font-size:.82rem;background:var(--soft);color:var(--green)}#nav-toggle{display:none}.nav-scrim{display:none}main{padding:25px 28px 32px;max-width:1800px}.page-heading{margin-bottom:21px;gap:16px;align-items:center}.page-heading h1{font-size:1.45rem;line-height:1.4;letter-spacing:0;font-weight:650;margin:0 0 5px}.page-heading .muted{font-size:.85rem;line-height:1.6}.page-heading .eyebrow{display:none}h2{font-size:1.05rem;font-weight:600;line-height:1.5}h3{font-weight:600}.primary,.secondary,.dark-button{min-height:35px;padding:8px 13px;font-size:.85rem;border-radius:6px;font-weight:500}.secondary:hover{background:var(--bg);border-color:#bac4cd}.dark-button{background:var(--ink)}.text-button{font-size:.85rem}.panel,.list-panel{border-radius:var(--ui-radius);box-shadow:none}.stats{gap:12px;margin-bottom:20px}.stats article{padding:15px 18px;position:relative;border-radius:var(--ui-radius)}.stats strong{font-size:1.85rem;font-weight:600;line-height:1.3;margin:8px 0 3px;font-variant-numeric:tabular-nums}.stats small{font-size:.74rem;line-height:1.6;color:var(--muted)}.stats span{font-size:.82rem;color:var(--muted)}.stats .stat-icon{width:28px;height:28px;background:transparent;border-radius:0;color:var(--muted);margin:0}.stats .stat-icon .icon{width:17px;height:17px}.stats .stat-accent{background:var(--surface);border-color:var(--line)}
.panel-toolbar{padding:14px 18px}.panel-title{font-size:.97rem}.panel-title span{font-size:.75rem}.toolbar-actions{gap:7px}.toolbar-actions select{font-size:.84rem;min-height:34px}.filters:has(#quality-filter){padding:0 18px 12px;gap:8px 12px}.tabs.production-tabs{gap:20px}.tabs button{padding:13px 0;font-size:.82rem;color:var(--muted)}.tabs .selected{color:var(--accent-ink)}.filters:has(#quality-filter) .search{font-size:.85rem;width:310px;background:var(--surface);border:1px solid var(--line);padding:8px 11px}#quality-filter{padding:8px 10px;font-size:.84rem}.library-controls{padding:10px 18px;font-size:.82rem;gap:14px}.view-switch button{font-size:.82rem;padding:4px 12px}.product-table{min-width:1010px;font-size:.85rem}.product-table th{padding:11px 15px;font-size:.79rem;background:var(--bg);font-weight:500;color:var(--muted)}.product-table td{padding:15px;vertical-align:middle}.product-table th:first-child,.product-table td:first-child{width:37px;padding-left:16px}.product-table .product-identity{min-width:200px;max-width:260px}.product-identity strong{font-size:.88rem;margin:4px 0;font-weight:550;line-height:1.6}.product-identity .number{font-size:.75rem;color:var(--muted);font-variant-numeric:tabular-nums}.product-identity small{font-size:.73rem;line-height:1.65}.source-pair>span{height:76px;width:48px;border-radius:4px}.source-pair{gap:7px}.source-pair .icon{width:13px;height:13px}.production-stages{gap:12px;min-width:245px}.stage{font-size:.72rem;gap:6px}.stage i{height:21px;width:21px}.stage .icon{height:12px;width:12px}.stage small{font-size:.68rem}.row-note{margin-top:7px;font-size:.73rem;color:var(--muted)}.next-action{font-size:.77rem;line-height:1.6;margin-top:6px;max-width:190px}.badge{font-size:.73rem;padding:3px 7px;line-height:1.5;font-weight:500}.bulk-toolbar{padding:10px 18px}.bulk-feedback{padding:9px 18px;font-size:.81rem}.product-card{transition:border-color .15s;box-shadow:none}.product-card:hover{transform:none;border-color:#acbdb6;box-shadow:none}.product-grid{gap:15px;padding:18px;grid-template-columns:repeat(auto-fill,minmax(215px,1fr))}.card-title{font-size:.88rem}.product-card .card-footer{font-size:.73rem}.product-card .stage{font-size:.68rem}.empty{padding:38px 22px;color:var(--muted)}.empty h3{font-size:1rem;font-weight:500;color:var(--ink);margin:0 0 7px}.empty p{font-size:.86rem;line-height:1.8;margin:0}.workflow,footer{display:none}.section-toolbar{margin:22px 0 13px}.section-toolbar h2{font-size:1.05rem}.issue-grid{gap:12px;margin-bottom:22px}.issue-card{padding:17px 19px}.issue-card>span{font-size:.86rem}.issue-card strong{font-size:1.8rem;margin:4px 0}.issue-card small{font-size:.77rem}.batch-card{padding:17px 19px}.activity-row{padding:13px 18px}.activity-row b{font-size:.85rem}.activity-row small{font-size:.74rem}
/* Tabs keep specialized controls close to their work, not in one long settings wall. */
.section-tabs{display:flex;align-items:center;gap:24px;border-bottom:1px solid var(--line);margin:0 0 19px;overflow:auto}.section-tabs>button{padding:11px 1px;border-bottom:2px solid transparent;color:var(--muted);white-space:nowrap;font-size:.9rem}.section-tabs>button.selected{border-bottom-color:var(--green);color:var(--accent-ink);font-weight:600}.connection-layout,.settings-grid.connection-layout:has(.provider-card){display:block;max-width:940px}.connection-layout>[data-connection-pane]{margin-bottom:18px}.connection-layout .provider-heading .eyebrow{display:none}.connection-layout .provider-heading>.icon{display:none}.connection-layout .provider-heading h2{margin:0}.provider-card #provider-form{margin-top:13px}.settings-card{padding:21px 23px}.settings-card>.eyebrow{display:none}.settings-card .muted{margin:13px 0}.settings-card .note{font-size:.8rem;line-height:1.7}.settings-card.full{grid-column:1/-1}.settings-grid,.system-grid,.generation-settings-grid{gap:18px}.provider-card .settings-actions,.settings-actions{gap:9px}.model-plan,.model-info{font-size:.85rem;border-radius:6px;padding:14px}.plan-stages{gap:6px}.plan-stages strong{font-size:.79rem}.connection{padding:11px 0}.provider-card form>label:first-child{font-weight:550}.provider-card form>label:first-child input{height:42px}.cost-filters{padding:15px 18px;gap:14px;margin-bottom:18px}.cost-filters label{min-width:130px;font-size:.82rem}.cost-stats strong{font-size:1.8rem}.cost-coverage{font-size:.82rem;padding:12px 17px;margin-bottom:18px}.cost-panels{gap:18px}.cost-table td{font-size:.84rem;padding:13px 15px}.cost-table th{padding:11px 15px}.cost-pagination{font-size:.82rem;padding:12px 16px}.list-row{padding:17px 20px;align-items:flex-start}.list-row h3{font-size:.94rem;margin-bottom:5px}.list-row p{font-size:.82rem;line-height:1.7}.list-row .row-actions{flex-shrink:0;gap:9px}.list-row:has(.error){border-left:3px solid #c56b5b}#calls-pane .list-row p{max-width:920px}#calls-pane .list-row p:nth-of-type(2){font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:.75rem;max-height:66px;overflow:auto}#view-jobs .section-heading{display:none}.generation-slot-cards{gap:16px}.generation-slot{padding:18px}.generation-slot-heading>span{width:31px;height:31px;border-radius:6px;font-size:1rem}.generation-save-bar{padding:12px 18px;bottom:10px;box-shadow:0 3px 14px #162c2110}.generation-save-bar .note{max-width:640px}.generation-slot textarea{min-height:105px}.team-table th{font-size:.8rem;background:var(--bg);color:var(--muted);font-weight:500}.team-table td{font-size:.86rem;padding:13px 12px}.team-table td small{font-size:.76rem}.team-table-wrap{border:1px solid var(--line);border-radius:6px}.account-card{margin-top:18px}.appearance-preview{background:var(--bg)}.appearance-preview .eyebrow{display:none}.appearance-preview p{font-size:.83rem;color:var(--muted)}#workspace-create-card .note{max-width:1000px}
/* Form rhythm and contained dialog scroll. */
input,select,textarea{border-color:var(--line);background:var(--field);border-radius:6px;padding:9px 11px}label{font-size:.86rem;gap:6px;margin-bottom:16px;color:var(--ink);font-weight:450}label small,.field-help{font-size:.78rem;font-weight:400;line-height:1.7;color:var(--muted)}input::placeholder,textarea::placeholder{color:#87929c}.note{font-size:.8rem;color:var(--muted)}dialog{padding:24px;box-shadow:0 16px 64px #17212c30;border-radius:10px;border:1px solid var(--line);max-height:calc(100dvh - 48px);background:var(--surface)}dialog::backdrop{background:#17212c66;backdrop-filter:none}.dialog-top h2{font-size:1.12rem;margin:0 0 18px}.dialog-top .close{width:30px;height:30px;display:grid;place-items:center;border-radius:5px;padding:0}.dialog-top .close:hover{background:var(--bg)}.close .icon{width:19px;height:19px}.checkbox{font-size:.84rem;margin-top:15px}.checkbox input{width:15px;height:15px;accent-color:var(--green)}.two-cols{gap:16px}.editor-dialog{width:min(1180px,calc(100vw - 42px))}.editor-body{grid-template-columns:minmax(280px,375px) minmax(0,1fr);gap:26px}.editor-fields{min-width:0}.editor-readiness{padding:11px 14px;margin-bottom:19px;font-size:.83rem;gap:10px}.editor-readiness small{font-size:.77rem}#media-main{height:445px;background:var(--bg)}.editor-fields>textarea{font-size:.79rem;line-height:1.7}.media-group h3{font-size:.9rem}.media-preview-label{font-size:.83rem}.app-confirm{border-radius:10px}.app-confirm::backdrop{backdrop-filter:none}.app-confirm .eyebrow{display:none}.confirm-icon{width:35px;height:35px;border-radius:8px}.app-confirm h2{font-size:1.16rem}.app-confirm #confirm-message{font-size:.9rem;line-height:1.8}.toast{border-radius:7px;box-shadow:0 5px 22px #17212c20;font-size:.86rem;max-width:min(580px,calc(100vw - 32px))}
/* Store setup keeps credentials in the first flow, with export details secondary. */
#store-dialog.store-setup-dialog{width:min(720px,calc(100vw - 36px));padding:0;overflow:hidden;max-height:calc(100dvh - 44px)}#store-form{display:flex;flex-direction:column;max-height:calc(100dvh - 46px);min-height:0}#store-form>.dialog-top{padding:21px 24px 17px;border-bottom:1px solid var(--line);flex:none}#store-form>.dialog-top h2{margin:0 0 4px}#store-form>.dialog-top .muted{font-size:.82rem}.dialog-content{padding:20px 24px;overflow:auto;min-height:0;overscroll-behavior:contain}.form-section{padding:0;border:0;margin:0 0 19px;min-width:0}.form-section h3,.form-section legend{font-size:.92rem;font-weight:600;margin:0 0 13px;padding:0}.form-section .two-cols:last-child label{margin-bottom:0}#store-shopify-fields{border:1px solid var(--line);background:var(--bg);border-radius:8px;padding:16px 18px 2px;margin-top:20px}#store-shopify-fields legend{padding:0 6px;margin-left:-6px;margin-bottom:0}.optional-label{font-size:.72rem;font-weight:400;color:var(--muted);margin-left:6px}.field-help{margin:0 0 12px}#store-token-field input{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:.87rem}#store-client-fields input{font-family:ui-monospace,SFMono-Regular,Consolas,monospace}.store-export-options{margin:12px 0 0}.store-export-options summary{margin:0;font-size:.84rem;color:var(--muted)}.store-export-options label{margin-top:13px}.dialog-actions{padding:14px 24px;border-top:1px solid var(--line);display:flex;justify-content:flex-end;gap:9px;background:var(--surface);flex:none}.dialog-actions button{min-width:90px}#store-save-feedback:empty{display:none}#store-save-feedback{padding:11px;background:#fbece9;border-radius:5px;margin-bottom:0;font-size:.84rem}#store-form input:disabled{opacity:.65}.store-onboarding{display:flex;align-items:center;gap:19px;padding:27px 24px;margin-bottom:21px}.store-platform-mark{width:41px;height:41px;display:grid;place-items:center;background:var(--soft);color:var(--accent-ink);border-radius:8px;flex:none}.store-platform-mark .icon{width:22px;height:22px}.store-onboarding h2{margin:0 0 5px;font-size:1.03rem}.store-onboarding p{font-size:.87rem;color:var(--muted);margin:0 0 6px}.store-onboarding .field-help{margin:0}.store-onboarding>button{margin-left:auto}.store-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-bottom:21px}.store-card{padding:20px;border:1px solid var(--line);background:var(--surface);border-radius:var(--ui-radius);min-width:0}.store-card-heading{display:flex;align-items:center;gap:12px}.store-card-heading>div{flex:1;min-width:0}.store-card-heading h2{font-size:1rem;margin:0 0 2px;overflow-wrap:anywhere}.store-card-heading a{font-size:.78rem;color:var(--muted);overflow-wrap:anywhere}.store-card-heading a .icon{width:12px;height:12px}.store-card-heading>.badge{align-self:flex-start}.store-card-meta{display:flex;justify-content:space-between;gap:10px;font-size:.77rem;color:var(--muted);border-top:1px solid var(--line);margin-top:16px;padding-top:12px}.store-sync-note{color:var(--muted);font-size:.8rem;line-height:1.7;margin:11px 0}.store-card-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:14px}.store-card-actions .text-button{margin-left:auto}.sales-panel .section-toolbar{margin:0 0 20px;align-items:center;flex-wrap:wrap}.sales-controls{display:flex;gap:8px;flex-wrap:wrap}.sales-controls select{font-size:.83rem;min-height:35px}.report-notes{border-top:1px solid var(--line);margin:20px 0 0;padding-top:14px}.report-notes summary{color:var(--muted);font-size:.79rem;margin-bottom:0}.report-notes .note{max-width:1000px}#sales-report>.muted{font-size:.8rem}.sales-summary{padding:16px 18px;border:1px solid var(--line);background:var(--bg);gap:12px 22px;border-radius:7px;font-size:.86rem}.sales-summary>strong{color:var(--accent-ink)}.sales-spinner{vertical-align:-3px;width:15px;height:15px}
html[data-density=compact] .product-table td{padding-top:10px;padding-bottom:10px}html[data-density=compact] .source-pair>span{height:62px;width:41px}html[data-density=compact] .stats article{padding:12px 17px}html[data-density=compact] .page-heading{margin-bottom:16px}html[data-theme=dark]{--bg:#172021;--ink:#e1e8e8;--muted:#a6b2b6;--line:#354244}html[data-theme=dark] .dark-button{background:#d9e6e4;color:#20312e}html[data-theme=dark] .stats .stat-accent{background:var(--surface)}html[data-theme=dark] #store-save-feedback{background:#402c29}html[data-theme=dark] .secondary{border-color:var(--line)}
@media(min-width:1700px){main{padding:28px 34px}.product-table td{padding-top:17px;padding-bottom:17px}.store-cards{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:1180px){.sidebar{width:196px;padding-left:11px;padding-right:11px}.workspace{margin-left:196px}header{padding:0 22px}main{padding:23px 22px}.stats article{padding:14px}.toolbar-actions{flex-wrap:wrap}.store-cards{grid-template-columns:1fr}.store-card-meta{justify-content:flex-start;gap:20px}.store-onboarding{align-items:flex-start;flex-wrap:wrap}.store-onboarding>button{margin-left:60px}.cost-panels{grid-template-columns:1fr}.generation-save-bar{align-items:flex-start}.generation-save-bar .note{font-size:.78rem}}
@media(max-width:900px){.sidebar{position:fixed;inset:0 auto 0 0;transform:translateX(-100%);width:240px;padding:24px 15px;box-shadow:10px 0 35px #17212c20;transition:transform .18s ease}.workspace{margin-left:0}.nav-open .sidebar{transform:translateX(0)}.nav-scrim:not(.hidden){display:block;position:fixed;inset:0;background:#17212c70;z-index:29}.nav-open{overflow:hidden}#nav-toggle{display:grid}.sidebar .workspace-label,.sidebar .sidebar-bottom{display:block}.sidebar nav{display:block;overflow:visible;margin-top:0}.sidebar nav .nav{display:flex;flex-direction:row;justify-content:flex-start;width:100%;flex:none;font-size:.92rem;min-height:41px;padding:10px 12px;gap:10px}.sidebar nav .nav b{display:block}.sidebar nav .nav .icon{width:18px;height:18px}.nav-group-label{font-size:.77rem}.nav.active{box-shadow:none}header{height:55px;padding:0 16px}.header-right{gap:10px}.header-right .tag#workspace-context{display:none}main{padding:21px 18px}.page-heading{flex-direction:row;align-items:center}.page-heading h1{font-size:1.35rem}.stats{grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}.stats article{padding:13px}.stats strong{font-size:1.65rem}.stats small{display:none}.stats .stat-icon{display:none}.stats span{font-size:.78rem}.editor-body{grid-template-columns:minmax(250px,310px) minmax(0,1fr);gap:20px}.system-grid{grid-template-columns:1fr}.product-grid{grid-template-columns:repeat(auto-fill,minmax(195px,1fr))}.sidebar-bottom{margin-top:25px}.generation-save-bar{position:static}.header-location{min-width:0}.header-location>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}}
@media(max-width:600px){main{padding:18px 12px}.page-heading{gap:12px;align-items:flex-start;margin-bottom:17px}.page-heading h1{font-size:1.25rem}.page-heading .muted{font-size:.78rem;max-width:240px}.page-heading>.primary{font-size:.77rem;padding:8px 10px;min-height:33px}.stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-bottom:15px}.stats article{padding:12px 14px}.stats strong{font-size:1.65rem;margin:5px 0 0}.stats .stat-icon{display:block;width:20px;height:20px}.stats small{display:none}.panel-toolbar{padding:12px;align-items:flex-start;gap:10px}.toolbar-actions{width:auto;gap:6px}.toolbar-actions button{font-size:.76rem;padding:7px 9px}.toolbar-actions select{max-width:160px}.panel-title{font-size:.9rem}.filters:has(#quality-filter){padding:0 12px 12px;gap:8px}.tabs.production-tabs{gap:18px;margin-bottom:0}.tabs button{font-size:.8rem;padding:12px 0}.filters:has(#quality-filter) .search{width:100%;margin:0}#quality-filter{width:100%;font-size:.81rem}.library-controls{padding:9px 12px;gap:8px}.library-controls .checkbox{font-size:.76rem}#selection-count{font-size:.75rem}.view-switch button{padding:4px 8px;font-size:.78rem}.product-table{min-width:1000px}.bulk-toolbar{padding:10px 12px}.bulk-toolbar strong{flex-basis:100%}.product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:11px}.product-image{height:210px}.card-title{font-size:.8rem}.product-card .stage{font-size:.59rem}.product-card .card-footer{font-size:.67rem}.settings-card{padding:17px}.two-cols{grid-template-columns:1fr;gap:0}#store-form .two-cols{grid-template-columns:1fr}.section-tabs{gap:22px;margin-bottom:16px}.section-tabs>button{font-size:.87rem}.row-actions{flex-wrap:wrap}.list-row{padding:15px;gap:10px}.list-row h3{font-size:.88rem}.list-row p{font-size:.78rem}.list-row .row-actions{align-self:flex-start}.cost-filters label{min-width:calc(50% - 14px)}.cost-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.cost-stats strong{font-size:1.55rem}.cost-filters{padding:13px}.editor-dialog{width:calc(100vw - 16px);max-height:calc(100dvh - 16px);padding:18px}.editor-body{grid-template-columns:minmax(0,1fr);gap:20px}#media-main{height:390px}.editor-readiness{font-size:.79rem;gap:6px}.editor-readiness small{font-size:.73rem}.generation-layout-preview{gap:6px}.generation-slot-heading{gap:10px}.generation-slot-cards{gap:12px}.generation-slot{padding:17px}.store-onboarding{padding:21px 17px;gap:13px}.store-onboarding>div{flex:1;min-width:0}.store-onboarding>button{margin-left:0;width:100%}.store-onboarding h2{font-size:.96rem}.store-onboarding p{font-size:.81rem}.store-cards{gap:12px}.store-card{padding:17px}.store-card-heading>.badge{font-size:.66rem}.store-platform-mark{width:35px;height:35px}.store-card-heading{gap:10px}.store-card-heading h2{font-size:.94rem}.store-card-meta{font-size:.74rem;gap:12px}.store-card-actions .primary,.store-card-actions .secondary{font-size:.77rem}.sales-panel .section-toolbar{align-items:flex-start;gap:12px}.sales-controls{width:100%;gap:6px}.sales-controls select:first-child{width:100%}.sales-controls select{flex:1;min-width:0}.sales-controls .secondary{flex:none}.sales-summary{display:grid;grid-template-columns:1fr;gap:9px;padding:15px}.store-setup-dialog#store-dialog{width:calc(100vw - 16px);max-height:calc(100dvh - 16px)}#store-form{max-height:calc(100dvh - 18px)}#store-form>.dialog-top{padding:17px 18px 14px}.dialog-content{padding:18px}#store-shopify-fields{padding:12px 13px 0}.dialog-actions{padding:12px 18px}.dialog-actions>.primary{flex:1}.form-section .two-cols:last-child label{margin-bottom:15px}.form-section{margin-bottom:12px}.store-export-options{margin-top:15px}.empty{padding:29px 17px}.section-toolbar .note{text-align:left}.report-notes .note{font-size:.76rem}.ui-update-banner{font-size:.81rem;padding:10px 14px}.header-right .tag{font-size:.77rem}.breadcrumb{display:none}.slash{display:none}#page-label{font-size:.88rem}#workspace-create-card .inline-form{gap:5px}.issue-card{padding:14px}.issue-card>span{font-size:.8rem}.issue-card strong{font-size:1.6rem}.issue-card small{font-size:.72rem}.team-table{min-width:650px}.toast{width:calc(100vw - 32px)}}
@media(prefers-reduced-motion:reduce){.sidebar{transition:none}}
@media(max-width:600px){#store-form .form-section>.two-cols{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px}#store-form .form-section>.two-cols label{font-size:.81rem}#store-form .form-section>.two-cols input,#store-form .form-section>.two-cols select{font-size:.82rem;padding:9px}#store-form #store-client-fields{grid-template-columns:minmax(0,1fr)}}
.context-help{margin:12px 0 16px}.context-help summary{font-size:.8rem;color:var(--muted)}.context-help .note{padding:11px 13px;border:1px solid var(--line);background:var(--bg);border-radius:6px}.call-tokens{font-variant-numeric:tabular-nums}.call-error{margin-top:8px}.call-error summary{font-size:.8rem;color:#b26558}.call-error p{padding:10px 12px;background:var(--bg);border-radius:5px}.calls-overview{display:flex;align-items:center;justify-content:space-between;padding:11px 18px;background:var(--bg);border-bottom:1px solid var(--line);font-size:.81rem;color:var(--muted)}
.product-pagination{display:flex;align-items:center;justify-content:space-between;padding:12px 18px;border-top:1px solid var(--line);font-size:.81rem;color:var(--muted);gap:12px}.product-pagination>div{display:flex;align-items:center;gap:10px}.product-pagination label{display:flex;flex-direction:row;align-items:center;margin:0;font-size:.8rem;gap:7px}.product-pagination select{padding:5px 8px;width:64px}.product-pagination .secondary{font-size:.78rem;min-height:31px;padding:6px 10px}#product-grid{scroll-margin-top:65px}@media(max-width:600px){.product-pagination{padding:11px 12px;flex-wrap:wrap}.product-pagination>div{width:100%;gap:8px;justify-content:flex-end}.product-pagination label{margin-right:auto}.product-pagination .secondary{padding:6px 8px}}
#sales-connect-now{margin-top:17px}
.rule-preview-toolbar{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:20px 0 8px}.rule-preview-toolbar h3{margin:0 auto 0 0;font-size:.94rem}.rule-preview-toolbar .checkbox{margin:0;font-size:.8rem}.rule-preview-toolbar .secondary{font-size:.8rem;padding:6px 10px}#rule-preview-status{min-height:36px;line-height:1.6;margin-bottom:12px;font-size:.79rem}.generation-layout-preview{grid-template-columns:repeat(4,minmax(0,1fr));align-items:start}.rule-example{padding:0;background:var(--surface);border:1px solid var(--line);border-radius:7px;overflow:hidden;text-align:left;min-width:0}.rule-example:disabled{opacity:1;cursor:default}.rule-example-image{aspect-ratio:var(--generation-ratio,9/16);background:var(--bg);display:flex;align-items:center;justify-content:center;overflow:hidden}.rule-example-image img{width:100%;height:100%;object-fit:contain}.rule-example-image>span{display:flex;flex-direction:column;gap:8px;align-items:center;color:var(--muted)}.rule-example-caption{display:block;padding:8px 7px;border-top:1px solid var(--line)}.rule-example-caption b{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:.73rem;font-weight:500}.rule-example-caption small{font-size:.67rem;color:var(--muted)}.rule-large-example{text-align:center}.rule-large-example img{max-width:100%;height:70vh;object-fit:contain}.rule-large-example p{font-size:.87rem;color:var(--muted)}@media(max-width:1100px){.generation-layout-preview{grid-template-columns:repeat(4,minmax(0,1fr))}}@media(max-width:600px){.generation-layout-preview{grid-template-columns:repeat(2,minmax(0,1fr))}}
.export-feedback{position:fixed;bottom:22px;right:22px;width:min(410px,calc(100vw - 28px));background:var(--surface);border:1px solid var(--line);border-radius:10px;padding:17px 19px;z-index:190;box-shadow:0 8px 30px #17212c24}.export-feedback-heading{display:flex;align-items:center;justify-content:space-between;gap:15px}.export-feedback-heading strong{font-size:.95rem}.export-feedback-heading button{font-size:22px;line-height:1;color:var(--muted)}.export-feedback p{font-size:.82rem;line-height:1.7;margin:9px 0;overflow-wrap:anywhere;color:var(--muted)}.export-feedback progress{width:100%;height:7px;accent-color:var(--green)}.export-feedback-actions{display:flex;gap:14px;flex-wrap:wrap;align-items:center;margin-top:12px}.export-feedback-actions .text-button{font-size:.8rem}@media(max-width:600px){.export-feedback{right:14px;bottom:14px}}

/* Durable Shopify deliveries */
.delivery-dialog{width:min(860px,calc(100vw - 32px));max-height:90vh}.delivery-dialog .dialog-content{overflow:auto;max-height:66vh}.delivery-summary{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:12px 0}.delivery-dialog progress,.delivery-history progress{width:100%;height:7px;accent-color:var(--primary,#207b69)}.delivery-item{display:flex;gap:12px;align-items:center;padding:12px 0;border-bottom:1px solid #e4e9ed}.delivery-item>div{flex:1;min-width:0}.delivery-item b,.delivery-item small,.delivery-item span:not(.badge){display:block}.delivery-item small{margin-top:5px;color:#61717c;overflow-wrap:anywhere}.delivery-record{padding:16px 0;border-bottom:1px solid #dde5e8}.delivery-history{margin:20px 0}.delivery-item a{white-space:nowrap}@media(max-width:650px){.delivery-item{flex-wrap:wrap}.delivery-item>div{flex-basis:100%}.delivery-summary{align-items:flex-start}}

#publish-store[multiple]{min-height:104px;height:auto;padding:6px}#publish-store[multiple] option{padding:8px;border-radius:4px}.publish-store-target{border:1px solid #dce5e8;border-radius:8px;padding:12px;margin:10px 0}.publish-store-target .two-cols{margin-top:10px}#export-csv,#bulk-export-csv{white-space:nowrap}

/* Consistent operational surfaces and theme controls. */
.theme-control{margin:0}.theme-control select{width:auto;min-height:32px;padding:5px 28px 5px 10px;font-size:12px;background:var(--surface);color:var(--ink);border:1px solid var(--line)}
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}
.sku-defaults-card{margin-bottom:20px}.currency-repair{padding:16px;margin:12px 0;background:var(--bg);border:1px solid var(--line);border-radius:8px}.currency-repair p{font-size:13px;color:var(--muted);line-height:1.6}
:root{--bg:#f4f5f6;--ink:#252a30;--muted:#69717a;--line:#e0e3e7}
html[data-theme=dark]{color-scheme:dark;--bg:#17191c;--surface:#222529;--ink:#eceef1;--muted:#a8afb8;--line:#3b4047;--soft:#263c36}
html[data-theme=light]{color-scheme:light}
body{line-height:1.55}.page-heading h1{font-size:26px;font-weight:650;letter-spacing:-.5px}.page-heading p{font-size:13px}.eyebrow{display:none}.panel{box-shadow:none;border-color:var(--line)}
header,.sidebar{background:var(--surface)}.header-right{gap:14px}.nav{font-size:13px}.sidebar .nav-group-label{font-size:11px;color:var(--muted)}
button.primary{box-shadow:inset 0 1px 0 #ffffff18}.secondary{background:var(--surface)}input,select,textarea{color:var(--ink);background:var(--surface)}
table th{font-size:12px;font-weight:600;background:var(--bg)}table td{font-size:13px}.product-title{font-weight:600}
html[data-theme=dark] .publish-store-target,html[data-theme=dark] .empty-state,html[data-theme=dark] .generation-save-bar,html[data-theme=dark] .sku-defaults-card{background:var(--surface);color:var(--ink)}
html[data-theme=dark] .error{color:#ffaaa0}html[data-theme=dark] .badge.failed{background:#492c2d;color:#ffb0aa}html[data-theme=dark] .badge.pending{background:#493c26;color:#efcd8c}html[data-theme=dark] .badge.approved{background:#25483d;color:#a1dfc7}
@media(max-width:600px){.header-right .tag{display:none}.theme-control select{max-width:110px}.page-heading h1{font-size:22px}}
.production-economics{margin-bottom:30px}.production-economics .cost-stats article strong{font-size:23px}.production-economics .cost-stats article small{line-height:1.65}.production-economics .settings-card{margin:18px 0}.production-economics #cost-product-search{width:min(320px,100%)}.cost-space-details{padding:15px 20px;margin-top:15px}.cost-space-details summary,.product-cost-detail summary{cursor:pointer;color:var(--muted)}.cost-space-row{display:flex;justify-content:space-between;gap:15px;padding:13px 0;border-bottom:1px solid var(--line);font-size:13px}.cost-space-row span{color:var(--muted)}.product-cost-total{display:grid;gap:6px;padding:20px;background:var(--bg);border:1px solid var(--line);border-radius:8px}.product-cost-total strong{font-size:27px}.product-cost-total small{color:var(--muted)}.product-cost-detail h3{margin:22px 0 12px}.product-cost-detail .cost-records{max-height:350px;overflow:auto}.product-cost-detail .cost-table td{white-space:normal;min-width:110px}#call-detail-dialog:has(.product-cost-detail){width:min(1050px,94vw)}.product-cost-detail details{margin-top:20px}@media(max-width:700px){.cost-space-row{flex-direction:column;gap:5px}.production-economics .cost-stats article strong{font-size:20px}}
.production-economics .cost-stats .cost-pending{display:block;font-size:12px;font-weight:400;color:var(--muted);margin-top:4px;line-height:1.5}
.task-runtime-note{display:flex;align-items:center;justify-content:space-between;padding:15px 18px;margin-bottom:16px;gap:12px;font-size:13px;color:var(--muted)}.task-bubble{position:fixed;right:24px;bottom:28px;width:78px;height:78px;border-radius:50%;background:var(--surface);border:1px solid var(--line);box-shadow:0 5px 22px #0002;z-index:210;touch-action:none;user-select:none;cursor:grab;display:flex;flex-direction:column;align-items:center;justify-content:center}.task-bubble:active{cursor:grabbing}.task-bubble svg{position:absolute;inset:3px;width:70px;height:70px;pointer-events:none;fill:none;stroke-width:3}.task-ring-track{stroke:var(--line)}.task-ring{stroke:var(--green);stroke-dasharray:55 121;transform-origin:32px 32px}.is-working .task-ring{animation:task-ring-turn 1.4s linear infinite}.task-bubble>span{font-size:22px;font-weight:650;line-height:1.15}.task-bubble>small{font-size:10px;color:var(--muted);line-height:1.7}.task-progress-panel{position:fixed;right:24px;bottom:24px;width:min(430px,calc(100vw - 28px));max-height:70dvh;overflow:auto;background:var(--surface);border:1px solid var(--line);border-radius:12px;padding:20px;box-shadow:0 12px 45px #0003;z-index:211;color:var(--ink);font-size:13px}.task-progress-heading{display:flex;justify-content:space-between;align-items:center;gap:10px}.task-progress-heading h2{font-size:17px;margin:0}.task-progress-panel progress{width:100%;height:7px;accent-color:var(--green);margin-bottom:12px}.task-progress-panel article{padding:12px 0;border-top:1px solid var(--line)}.task-progress-panel article b{font-size:13px;font-weight:600}.task-progress-panel article small{display:block;color:var(--muted)}.task-stage{display:flex;align-items:center;gap:7px;margin-top:7px;color:var(--muted)}.task-stage.is-running{color:var(--green)}.task-mini-spinner{width:12px;height:12px;border:2px solid var(--line);border-top-color:var(--green);border-radius:50%;display:inline-block;animation:task-ring-turn 1s linear infinite}.task-progress-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;border-top:1px solid var(--line);padding-top:14px;margin-top:8px}.task-progress-footer small{color:var(--muted)}@keyframes task-ring-turn{to{transform:rotate(360deg)}}.product-specs{padding:14px;background:var(--bg);border:1px solid var(--line);border-radius:7px;margin:14px 0}.product-specs .note{margin-bottom:0}.chart-columns{display:flex;gap:15px;flex-wrap:wrap;margin:15px 0}.measurement-table{border-collapse:collapse;width:100%;font-size:12px}.measurement-table th,.measurement-table td{padding:7px;border:1px solid var(--line)}.measurement-table input{width:92px;min-width:75px}#size-chart-dialog{width:min(880px,94vw)}#size-chart-dialog .dialog-content{max-height:68dvh;overflow:auto;padding:20px}#size-chart-dialog details{margin:15px 0}#concurrency-settings{margin-bottom:20px}@media(max-width:600px){.task-progress-panel{right:14px;bottom:14px}.task-runtime-note{align-items:flex-start;flex-direction:column}.task-bubble{width:74px;height:74px}.task-bubble svg{width:66px;height:66px}.task-progress-footer{flex-wrap:wrap}}

.task-progress-panel{display:flex;flex-direction:column;overflow:hidden}#task-progress-items{overflow:auto;min-height:0}.task-progress-heading,.task-progress-footer,#task-progress-summary,#task-progress-bar{flex-shrink:0}

/* Operational workspace. Three visual systems share the same functional DOM. */
:root{--ops-primary:#303030;--ops-sidebar:#202020;--ops-side-ink:#e7e7e7;--ops-side-muted:#a4a4a4;--ops-selected:#383838;--ops-accent:#276957;--ops-gap:20px;--ops-shadow:0 1px 2px #0000000a;--bg:#f1f1f1;--surface:#fff;--field:#fff;--ink:#242424;--muted:#686868;--line:#dedede;--soft:#ecefed;--accent-ink:#275c4c}
html[data-style=slate]{--ops-primary:#34517b;--ops-sidebar:#edf1f6;--ops-side-ink:#2d3b4d;--ops-side-muted:#637184;--ops-selected:#dce5f0;--ops-accent:#34517b;--bg:#f5f7fa;--line:#dde3ea;--soft:#eaf0f7;--accent-ink:#34517b;--ops-gap:24px}
html[data-style=linen]{--ops-primary:#51483b;--ops-sidebar:#f1eee7;--ops-side-ink:#463f34;--ops-side-muted:#7b7367;--ops-selected:#e2ddd2;--ops-accent:#746047;--bg:#f7f5f0;--surface:#fffefa;--field:#fffefa;--line:#e5e0d6;--ink:#36332c;--muted:#787267;--soft:#eeeae0;--accent-ink:#6c573a;--ops-gap:28px}
html[data-theme=dark]{--ops-primary:#dedede;--ops-sidebar:#141414;--ops-side-ink:#eeeeee;--ops-side-muted:#a2a2a2;--ops-selected:#303030;--ops-accent:#a2c9b9;--bg:#1c1c1c;--surface:#252525;--field:#2a2a2a;--ink:#ededed;--muted:#aaa;--line:#414141;--soft:#303833;--accent-ink:#b2d8c3;--ops-shadow:0 1px 2px #0003}
html[data-theme=dark][data-style=slate]{--ops-sidebar:#18212e;--ops-selected:#2b3d54;--ops-primary:#b7cee9;--ops-accent:#b7cee9;--bg:#1c2532;--surface:#242f3e;--field:#283545;--line:#3e4c5f;--soft:#2d4057;--accent-ink:#c1d4ed}
html[data-theme=dark][data-style=linen]{--ops-sidebar:#25231e;--ops-selected:#413b30;--ops-primary:#e2d2b6;--ops-accent:#d7c39f;--bg:#24231f;--surface:#2e2c27;--field:#35322c;--line:#4d483e;--soft:#3d382f;--accent-ink:#e2d2b6}
body{font-size:13px;line-height:1.5;color:var(--ink);background:var(--bg)}button,input,select,textarea{font-size:13px}h1,h2,h3{letter-spacing:0}.sidebar{width:220px;padding:18px 12px 14px;background:var(--ops-sidebar);border:0;color:var(--ops-side-ink)}.sidebar .brand{font-size:18px;padding:0 10px;gap:10px}.sidebar .brand-mark{width:30px;height:32px;background:transparent}.sidebar .brand small{display:none}.sidebar nav{flex:1;margin-top:9px}.sidebar .workspace-label{margin:22px 6px 3px;background:var(--ops-selected);color:var(--ops-side-ink);min-height:34px;padding:8px 10px;font-size:12px}.sidebar .workspace-label span{color:inherit}.sidebar #workspace-switch{background:transparent;color:var(--ops-side-ink);border-color:color-mix(in srgb,var(--ops-side-muted) 35%,transparent);font-size:12px;padding:7px 9px;margin-top:7px}.sidebar #workspace-switch option{background:var(--ops-sidebar);color:var(--ops-side-ink)}.nav-group{margin-top:18px}.sidebar .nav-group-label{font-size:11px;letter-spacing:0;color:var(--ops-side-muted);margin:0 10px 6px}.sidebar .nav{min-height:33px;padding:7px 10px;margin:2px 0;border-radius:7px;font-size:13px;font-weight:450;color:var(--ops-side-ink);gap:9px}.sidebar .nav:hover{background:var(--ops-selected);color:var(--ops-side-ink)}.sidebar .nav.active{background:var(--ops-selected);color:var(--ops-side-ink);box-shadow:none;font-weight:600}.sidebar .nav>.icon,.sidebar .nav>span>.icon{width:16px;height:16px}.sidebar .nav b{background:color-mix(in srgb,var(--ops-side-ink) 12%,transparent);color:var(--ops-side-ink);font-size:10px;padding:1px 5px}.sidebar-bottom{border-color:color-mix(in srgb,var(--ops-side-muted) 25%,transparent);margin:18px 9px 0;padding-top:12px;color:var(--ops-side-muted);font-size:11px}.sidebar-bottom #logout{color:var(--ops-side-muted);padding-top:5px;font-size:11px}.workspace{margin-left:220px}.workspace>header{height:56px;padding:0 24px;border-color:var(--line);box-shadow:var(--ops-shadow)}.header-location{font-size:12px}.header-right{gap:12px}.header-right select{min-height:30px;padding:4px 25px 4px 9px;font-size:11px;background:var(--bg);border-color:transparent}.header-right .avatar{background:var(--soft);color:var(--ink);font-size:11px}.header-right .tag{font-size:11px}.header-location .slash{padding:0 8px}main{padding:22px var(--ops-gap) 30px;max-width:1900px}.page-heading{margin-bottom:18px}.page-heading h1{font-size:21px;line-height:1.35;font-weight:650;margin:0 0 5px}.page-heading .muted{font-size:12px;color:var(--muted)}h2{font-size:15px}h3{font-size:13px}.primary,.secondary,.dark-button{min-height:32px;padding:6px 12px;font-size:12px;border-radius:7px;font-weight:550;line-height:1.5}.primary,.dark-button{background:var(--ops-primary);border:1px solid color-mix(in srgb,var(--ops-primary) 85%,black);color:var(--surface);box-shadow:inset 0 1px 0 #ffffff18,0 1px 1px #0001}.primary:hover,.dark-button:hover{background:color-mix(in srgb,var(--ops-primary) 88%,var(--ink));filter:none}.secondary{background:var(--surface);border:1px solid var(--line);color:var(--ink);box-shadow:var(--ops-shadow)}.secondary:hover{background:var(--bg);border-color:color-mix(in srgb,var(--line) 65%,var(--muted))}.text-button{color:var(--ops-accent);font-size:12px}button:focus-visible,a:focus-visible{outline-color:var(--ops-accent)}input:focus,select:focus,textarea:focus{border-color:var(--ops-accent);outline:2px solid color-mix(in srgb,var(--ops-accent) 15%,transparent)}input,select,textarea{border-radius:6px;padding:8px 10px;line-height:1.5}.panel,.list-panel{border-radius:9px!important;border-color:var(--line);box-shadow:var(--ops-shadow);background:var(--surface)}.stats{gap:0;margin-bottom:18px;border:1px solid var(--line);border-radius:9px;background:var(--surface);box-shadow:var(--ops-shadow);overflow:hidden}.stats article,.stats .stat-accent{padding:13px 18px;border:0;border-radius:0;background:transparent;border-right:1px solid var(--line)}.stats article:last-child{border-right:0}.stats strong,.stats .stat-accent strong{font-size:24px;margin:5px 0 2px;font-weight:600;color:var(--ink)}.stats span{font-size:11px;color:var(--muted)}.stats small{font-size:10px}.stats .stat-icon{display:none}.panel-toolbar{padding:12px 16px;gap:14px}.panel-title{font-size:14px}.panel-title span{background:var(--bg);color:var(--muted);font-size:11px}.toolbar-actions{gap:7px;flex-wrap:wrap}.toolbar-actions select{font-size:12px;padding:6px 9px;min-height:32px}.tabs.production-tabs{gap:6px;padding:8px 12px;overflow-x:auto;border-bottom:1px solid var(--line)}.tabs.production-tabs button{font-size:11px;padding:6px 10px;border:0;border-radius:6px;color:var(--muted)}.tabs.production-tabs button.selected{background:var(--soft);color:var(--ink);font-weight:600}.filters:has(#quality-filter){padding:10px 16px;border-top:0;gap:12px}.filters:has(#quality-filter) .search{font-size:12px;padding:7px 10px;width:300px;background:var(--field)}#quality-filter{font-size:12px;padding:7px 10px}.library-controls{padding:9px 16px;font-size:11px;border-top:1px solid var(--line)}.view-switch{background:var(--bg)}.view-switch button{font-size:11px;padding:4px 10px}.bulk-toolbar{padding:9px 16px;background:var(--soft)}.bulk-feedback{padding:8px 16px;font-size:11px}.product-table{min-width:980px;font-size:12px;table-layout:auto}.product-table th{font-size:11px;padding:9px 12px;background:var(--bg);color:var(--muted);font-weight:500;white-space:nowrap}.product-table td{padding:12px;vertical-align:middle;border-color:var(--line)}.product-table th:first-child,.product-table td:first-child{width:30px;padding-left:14px;padding-right:4px}.product-table .product-identity{min-width:180px;max-width:310px}.product-identity strong{font-size:12px;line-height:1.5;margin:3px 0;font-weight:550}.product-identity .number{font-size:10px;color:var(--muted)}.product-identity small{font-size:10px;line-height:1.6}.product-table tr:hover{background:color-mix(in srgb,var(--bg) 50%,var(--surface))}.product-table input[type=checkbox],#select-visible{accent-color:var(--ops-accent);width:14px;height:14px}.source-pair>span{height:62px;width:40px;background:var(--bg);border-radius:4px;border-color:var(--line)}.source-pair{gap:6px}.production-stages{min-width:220px;gap:8px}.stage{font-size:10px;gap:4px;color:var(--muted)}.stage i{width:18px;height:18px;background:transparent;border-color:var(--line)}.stage .icon{width:10px;height:10px}.stage.done{color:var(--ops-accent)}.stage.done i{background:var(--soft);border-color:color-mix(in srgb,var(--ops-accent) 25%,var(--line))}.stage small{font-size:9px}.stage.working i{color:var(--ops-accent)}.row-note{font-size:10px;margin-top:5px}.badge{font-size:10px;padding:2px 7px;border-radius:5px;line-height:1.5}.next-action{font-size:11px;line-height:1.5;max-width:215px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;margin-top:5px}.product-pagination{padding:10px 16px;font-size:11px}.product-pagination label{font-size:11px}.product-pagination select{min-height:28px;padding:3px 7px}.product-pagination .secondary{min-height:28px;padding:4px 9px;font-size:11px}.settings-grid,.system-grid,.generation-settings-grid{gap:16px}.settings-card{padding:20px}.connection-layout,.settings-grid.connection-layout:has(.provider-card){max-width:1100px}.section-tabs{gap:6px;margin-bottom:16px;padding:4px;border:1px solid var(--line);border-radius:8px;background:var(--surface);width:fit-content}.section-tabs>button{border:0;border-radius:5px;padding:7px 16px;font-size:12px}.section-tabs>button.selected{background:var(--soft);color:var(--ink)}.connection-layout .provider-heading{padding-bottom:14px;border-bottom:1px solid var(--line)}.connection-layout .provider-card form{display:grid;grid-template-columns:1fr 1fr;gap:0 22px}.connection-layout .provider-card form>label:first-child,.connection-layout .provider-card form>.note,.connection-layout .provider-card form>details,.connection-layout .provider-card form>.settings-actions,.connection-layout .provider-card form>.model-plan,.connection-layout .provider-card form>.connection{grid-column:1/-1}.list-row{padding:15px 18px}.list-row h3{font-size:13px}.list-row p{font-size:11px}.issue-card,.batch-card{padding:16px}.issue-card strong{font-size:24px}.empty,.empty-state{padding:36px 24px!important}.empty h3,.empty-state h3{font-size:14px;margin-top:8px}.empty p,.empty-state p{font-size:12px}.store-grid{gap:16px}.store-card{padding:18px}dialog{border:1px solid var(--line);box-shadow:0 20px 80px #0004;border-radius:11px!important}dialog::backdrop{background:#1118;backdrop-filter:blur(2px)}.dialog-top{padding:18px 22px}.dialog-top h2{font-size:16px}.dialog-content{padding:20px 22px}.dialog-actions{padding:14px 22px;background:var(--bg)}.editor-grid{gap:25px}.product-specs{background:var(--bg)}label{font-size:12px}.note{font-size:11px;line-height:1.7}.generation-save-bar{border-radius:9px;box-shadow:0 -2px 16px #0000000a}.generation-preview-grid{gap:10px}.style-gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin:16px 0 8px}.style-card{padding:8px;border:1px solid var(--line);border-radius:8px;text-align:left;background:var(--surface)}.style-card.selected{outline:2px solid var(--ops-accent);outline-offset:1px}.style-card strong{font-size:11px;display:block;margin-top:8px}.style-card small{font-size:10px;line-height:1.5;display:block;color:var(--muted);margin-top:4px}.style-mini{display:block;height:70px;border-radius:4px;background:#f1f1f1;position:relative;overflow:hidden;border:1px solid #ddd}.style-mini i{position:absolute;inset:0 auto 0 0;width:23%;background:#252525}.style-mini b{position:absolute;left:28%;right:6%;top:12%;height:16%;background:#fff;border-radius:2px}.style-mini em{position:absolute;left:28%;right:6%;top:40%;height:47%;background:repeating-linear-gradient(#fff 0 8px,#e6e6e6 8px 9px)}.style-mini-slate{background:#f5f7fa}.style-mini-slate i{background:#dce5f0}.style-mini-linen{background:#f7f5f0}.style-mini-linen i{background:#e7e0d2}.style-mini-linen em{background:#fffefa}.style-mini-linen b{background:#ebe5d8}
html[data-style=linen] .product-table td{padding-top:18px;padding-bottom:18px}html[data-style=linen] .source-pair>span{height:78px;width:50px}html[data-style=linen] .page-heading{margin-bottom:24px}html[data-style=linen] .stats article{padding:17px 20px}html[data-style=slate] .nav.active{box-shadow:inset 3px 0 var(--ops-primary)}html[data-density=compact] .product-table td{padding-top:8px;padding-bottom:8px}
@media(max-width:1250px){.panel-toolbar{align-items:flex-start;flex-wrap:wrap}.toolbar-actions{justify-content:flex-start}.header-right .tag{display:none}}
@media(max-width:900px){.sidebar{width:200px}.workspace{margin-left:200px}.workspace>header{padding:0 18px}main{padding:20px 18px}.connection-layout .provider-card form{display:block}.stats article{padding:12px}.stats strong{font-size:22px}.header-right{gap:5px}.header-right select{max-width:116px}}
@media(max-width:760px){.sidebar{width:220px}.workspace{margin-left:0}.workspace>header{padding:0 12px}.header-right select{max-width:105px;font-size:10px}.header-location .breadcrumb,.header-location .slash{display:none}#nav-toggle{display:grid}.stats{grid-template-columns:repeat(2,1fr)}.stats article:nth-child(2){border-right:0}.stats article:nth-child(-n+2){border-bottom:1px solid var(--line)}main{padding:18px 12px}.page-heading h1{font-size:19px}.page-heading .muted{font-size:11px}.page-heading{align-items:flex-start}.page-heading .primary{font-size:11px;padding:6px 9px}.toolbar-actions{width:100%}.filters:has(#quality-filter){flex-wrap:wrap}.filters:has(#quality-filter) .search{width:100%}.style-gallery{gap:7px}.style-card{padding:6px}.style-card small{display:none}.style-mini{height:55px}.dialog-top{padding:16px}.dialog-content{padding:16px}.dialog-actions{padding:12px 16px}.settings-card{padding:16px}.product-pagination{flex-wrap:wrap}.header-right .avatar{display:none}}
.sidebar:has(#workspace-switch:not(.hidden)) .workspace-label{display:none}.sidebar #workspace-switch:not(.hidden){margin-top:22px}.connection-layout #auto-profile{display:contents}.connection-layout #profile-explanation,.connection-layout #manual-models,.connection-layout #provider-validation,.connection-layout #provider-form>.checkbox{grid-column:1/-1}.connection-layout #profile-explanation{margin:8px 0 16px}.connection-layout .provider-heading>.icon{display:none}.connection-layout #provider-form label{font-weight:500}.connection-layout .plan-stages{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.connection-layout .plan-stages>div{display:flex;flex-direction:column;gap:5px}.connection-layout .model-plan{background:var(--bg);border:1px solid var(--line)}
@media(max-width:900px){.workspace{margin-left:0}.sidebar{width:220px}}
@media(max-width:760px){.connection-layout #auto-profile{display:block}.connection-layout .plan-stages{grid-template-columns:1fr;gap:6px}.connection-layout .plan-stages>div{flex-direction:row;justify-content:space-between}}
.view-switch .selected{background:var(--surface);color:var(--ink);box-shadow:var(--ops-shadow)}.product-table tr:hover td{background:color-mix(in srgb,var(--bg) 60%,var(--surface))}
.provider-heading>[data-icon]{display:none}

/* Product-first information hierarchy, readable type and consolidated controls. */
body{font-size:14px;line-height:1.55}.workspace>header{height:60px}.sidebar{padding:23px 12px 18px}.sidebar .brand{font-size:19px}.sidebar .nav{font-size:14px;min-height:38px;padding:8px 12px}.sidebar .nav-group-label{font-size:11px;margin-bottom:8px}.nav-group{margin-top:22px}.sidebar .nav>.icon,.sidebar .nav>span>.icon{width:17px;height:17px}.sidebar-bottom{font-size:12px}.sidebar-bottom #logout{font-size:12px}.header-location{font-size:13px}.header-right select{font-size:12px;background:transparent;border:1px solid var(--line)}main{max-width:1640px;padding:30px 32px 40px}.page-heading{margin-bottom:24px}.page-heading h1{font-size:24px;letter-spacing:-.4px;font-weight:650}.page-heading .muted{font-size:13px;margin-top:8px}.primary,.secondary,.dark-button{font-size:13px;min-height:36px;padding:7px 13px;border-radius:7px}.product-page-actions{display:flex;align-items:center;gap:9px}.product-page-actions #new-batch{margin-left:3px}.product-summary{display:flex;align-items:center;gap:0;border:0;border-radius:0;box-shadow:none;background:transparent;margin:0 0 22px;overflow:visible}.product-summary article,.product-summary .stat-accent{display:flex;align-items:center;gap:12px;padding:0 26px 0 0;margin-right:26px;border:0;border-right:1px solid var(--line);background:transparent}.product-summary article:last-child{border:0;margin-right:0;padding-right:0}.product-summary article>span{font-size:13px;color:var(--muted)}.product-summary article>strong{font-size:20px;line-height:1.3;margin:0;color:var(--ink);font-weight:600}.product-summary article>small{display:none}.product-library{border-radius:11px!important;box-shadow:0 2px 6px #00000004}.product-library-heading{padding:0 20px;border-bottom:1px solid var(--line)}.product-library .tabs.production-tabs{padding:0;gap:24px;border:0;flex-wrap:nowrap;overflow-x:auto;scrollbar-width:thin}.product-library .tabs.production-tabs button{border-radius:0;padding:16px 0 13px;font-size:12px;background:none;border-bottom:3px solid transparent}.product-library .tabs.production-tabs button.selected{border-bottom-color:var(--ink);background:none;color:var(--ink)}.product-querybar{display:flex;align-items:center;gap:10px;padding:16px 20px}.product-search{display:flex;align-items:center;gap:9px;flex:1;min-width:160px;padding:0 12px;border:1px solid var(--line);border-radius:7px;background:var(--field)}.product-search>.icon{width:17px;height:17px;color:var(--muted)}.product-search .search{width:100%;border:0;background:transparent;padding:9px 0;font-size:13px;margin:0;outline:none}.product-search:focus-within{outline:2px solid color-mix(in srgb,var(--ops-accent) 20%,transparent);border-color:var(--ops-accent)}.product-querybar select,.product-querybar #quality-filter{font-size:12px;min-height:37px;padding:8px 30px 8px 11px;max-width:180px}.product-more{position:relative;flex-shrink:0}.product-more>summary{list-style:none;display:flex;align-items:center;gap:7px;font-size:12px;border:1px solid var(--line);padding:8px 12px;border-radius:7px;cursor:pointer;min-height:37px}.product-more>summary::-webkit-details-marker{display:none}.product-more>summary>.icon{height:13px;width:13px}.product-more[open]>summary{background:var(--bg)}.product-more-menu{position:absolute;top:calc(100% + 6px);right:0;min-width:190px;padding:5px;background:var(--surface);border:1px solid var(--line);box-shadow:0 8px 28px #0002;border-radius:9px;z-index:20}.product-more-menu button{display:flex;align-items:center;gap:9px;font-size:13px;width:100%;text-align:left;padding:10px;border-radius:5px}.product-more-menu button:hover{background:var(--bg)}.product-more-menu #open-recycle{color:var(--muted);border-top:1px solid var(--line);border-radius:0;margin-top:4px}.product-more-menu #recycle-count{margin-left:auto}.product-library .library-controls{border-top:0;padding:0 20px 13px;font-size:12px;color:var(--muted);gap:12px}.product-library .library-controls label{font-size:12px}.product-library .view-switch button{font-size:12px;padding:4px 11px}.product-table{min-width:1000px;font-size:13px}.product-table th{font-size:12px;padding:11px 16px;background:var(--bg)}.product-table td{padding:18px 16px}.product-table th:first-child,.product-table td:first-child{width:34px;padding-left:20px;padding-right:0}.product-table th:last-child,.product-table td:last-child{padding-right:20px;width:120px}.product-table .product-identity{min-width:200px;max-width:350px}.product-identity strong{font-size:14px;font-weight:550;line-height:1.5;margin:4px 0}.product-identity .number{font-size:11px;color:var(--muted)}.product-identity small{font-size:11px;line-height:1.6}.source-pair>span{height:82px;width:52px;border-radius:6px}.source-pair{gap:8px}.source-pair>i{font-size:13px;color:var(--muted)}.product-table .badge{font-size:11px;line-height:1.5;padding:3px 8px;border-radius:5px}.product-table .next-action{font-size:12px;max-width:210px;line-height:1.6;margin:7px 0 0}.product-table td:last-child .secondary{font-size:12px;padding:6px 12px;min-height:33px}.product-progress{min-width:155px;max-width:190px}.product-progress-label{display:flex;align-items:center;gap:6px;font-size:12px;font-weight:500}.product-progress-label>small{font-size:11px;margin-left:auto;color:var(--muted);font-weight:400}.product-progress-track{display:flex;gap:4px;margin:9px 0 7px}.product-progress-track>span{height:4px;flex:1;border-radius:3px;background:var(--line)}.product-progress-track>span.done{background:var(--ops-accent)}.product-progress-track>span.working{background:var(--ops-accent);animation:progress-breathe 1.2s ease-in-out infinite}.product-progress-meta{font-size:11px;color:var(--muted);white-space:nowrap}.product-progress .task-mini-spinner{height:11px;width:11px}.product-pagination{font-size:12px;padding:13px 20px}.product-pagination label,.product-pagination .secondary{font-size:12px}.product-pagination select{font-size:12px}.settings-card h2{font-size:16px}.settings-card label{font-size:13px}.settings-card input,.settings-card select,.settings-card textarea{font-size:13px}.settings-card .note{font-size:12px}.section-tabs>button{font-size:13px}.list-row h3{font-size:14px}.list-row p{font-size:12px}.empty h3,.empty-state h3{font-size:16px}.empty p,.empty-state p{font-size:13px}.dialog-top h2{font-size:18px}.dialog-content label{font-size:13px}.dialog-content input,.dialog-content select,.dialog-content textarea{font-size:14px}.note{font-size:12px}.product-grid .product-image{height:310px}.product-grid{grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:20px;padding:20px}.product-card .card-title{font-size:14px}.product-card .card-footer{font-size:11px}.product-card .card-body{padding:15px}.product-library .bulk-toolbar{padding:12px 20px}.product-library .bulk-toolbar button{font-size:12px}@keyframes progress-breathe{50%{opacity:.3}}
html[data-style=linen] .product-table td{padding-top:22px;padding-bottom:22px}html[data-style=linen] .source-pair>span{height:94px;width:60px}html[data-density=compact] .product-table td{padding-top:12px;padding-bottom:12px}html[data-density=compact] .source-pair>span{height:70px;width:45px}html[data-motion=reduced] .product-progress-track>span.working{animation:none}
@media(min-width:1700px){main{padding-top:36px}.product-table .product-identity{max-width:380px}.product-querybar{padding-top:18px;padding-bottom:18px}}
@media(max-width:1200px){main{padding:24px 22px}.product-summary article{margin-right:18px;padding-right:18px;gap:8px}.product-page-actions{gap:6px}.product-page-actions .secondary{padding:7px 9px}.product-library .tabs.production-tabs{gap:19px}.product-querybar{gap:8px}.product-querybar select{max-width:145px}}
@media(max-width:900px){.product-page-actions{flex-wrap:wrap;justify-content:flex-end}.product-summary{flex-wrap:wrap;gap:15px 0}.product-summary article{border:0;padding-right:10px;margin-right:16px}.product-summary article>span{font-size:12px}.product-summary article>strong{font-size:19px}.product-querybar{flex-wrap:wrap}.product-search{flex-basis:100%}.product-querybar select{flex:1;max-width:none}.product-library .tabs.production-tabs{gap:20px}.product-more{margin-left:auto}.sidebar .nav{font-size:14px}.page-heading{gap:15px}.page-heading h1{font-size:22px}.page-heading .muted{max-width:330px;font-size:12px}}
@media(max-width:600px){main{padding:20px 12px}.page-heading{flex-direction:column;align-items:stretch}.product-page-actions{justify-content:flex-start;flex-wrap:wrap}.product-page-actions #publish-products{display:inline-flex}.product-page-actions #new-batch{margin-left:auto}.product-page-actions .primary,.product-page-actions .secondary{font-size:12px;padding:7px 9px}.product-summary{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:18px}.product-summary article{margin:0;padding:0;border:0;justify-content:space-between}.product-summary article>small{display:none}.product-summary article:nth-child(-n+2){border:0}.product-library-heading{padding:0 14px}.product-library .tabs.production-tabs button{font-size:12px}.product-querybar{padding:13px 14px}.product-querybar select{font-size:11px;max-width:calc(50% - 4px)}.product-querybar #quality-filter{font-size:11px}.product-more{flex-basis:100%;margin-left:0}.product-more>summary{justify-content:center;min-height:32px;padding:5px}.product-more-menu{left:0;right:0}.product-library .library-controls{padding:0 14px 12px}.product-pagination{padding:13px 14px}.header-right select{font-size:10px}.product-grid{padding:14px;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.product-grid .product-image{height:210px}.product-card .card-body{padding:10px}.product-card .card-title{font-size:12px}.product-card .production-stages{display:none}}

@media(min-width:601px) and (max-width:1050px){#view-products>.page-heading{flex-wrap:wrap}#view-products .product-page-actions{justify-content:flex-start}}

/* The navigation surface frames a single inset content canvas. */
html{background:var(--ops-sidebar)}
body{background:var(--ops-sidebar)}
#shell>.workspace{margin:6px 6px 6px 220px;height:calc(100dvh - 12px);min-width:0;overflow:auto;overscroll-behavior:contain;border-radius:16px;background:var(--surface);box-shadow:0 0 0 1px #00000009;scrollbar-width:thin;scrollbar-color:var(--line) var(--surface);scrollbar-gutter:stable}
body:has(#shell:not(.hidden)){overflow:hidden}
.workspace>header{top:0;height:54px;background:var(--surface);box-shadow:none;border-bottom:1px solid color-mix(in srgb,var(--line) 65%,transparent);padding:0 24px}
.workspace>main{max-width:none;margin:0;background:var(--surface);padding:24px 24px 32px;min-height:calc(100% - 54px)}
.sidebar{background:var(--ops-sidebar)}
.product-library{border:0!important;border-radius:0!important;box-shadow:none!important;background:var(--surface);overflow:visible}
#view-products>.page-heading{margin-bottom:18px;align-items:center}
#view-products>.page-heading h1{font-size:21px;margin-bottom:4px}
#view-products>.page-heading .muted{font-size:12px}
.product-summary{padding:10px 0 16px;margin-bottom:8px;border-bottom:1px solid color-mix(in srgb,var(--line) 65%,transparent)}
.product-library-heading{padding:0 12px;border:0}
.product-library .tabs.production-tabs{gap:20px}
.product-library .tabs.production-tabs button{padding:11px 0 10px;font-size:12px;border-bottom-width:2px}
.product-querybar{margin:4px 0 10px;padding:5px 8px 5px 12px;gap:7px;min-height:42px;border:1px solid var(--line);border-radius:12px;box-shadow:0 1px 3px #00000006;background:var(--surface)}
.product-search{border:0;border-radius:6px;padding:0 4px;background:transparent}
.product-search .search{padding:5px 0;font-size:13px;min-height:29px}
.product-querybar select,.product-querybar #quality-filter{min-height:29px;border-color:transparent;background:transparent;padding-top:4px;padding-bottom:4px;border-radius:7px}
.product-more>summary{border:0;min-height:29px;padding:4px 9px;border-radius:7px}
.product-more>summary:hover,.product-querybar select:hover{background:var(--bg)}
.product-more-menu{border-radius:11px;padding:6px;box-shadow:0 8px 24px #0000001a,0 1px 3px #00000012}
.product-library .library-controls{padding:2px 12px 10px;border:0;min-height:32px}
.product-library .view-switch{padding:2px;border-radius:8px}
.product-library .view-switch button{border-radius:6px;font-size:11px;padding:3px 10px}
.product-table thead{background:transparent}
.product-table th{border:0;background:var(--bg);padding-top:9px;padding-bottom:9px;font-size:12px}
.product-table th:first-child{border-radius:9px 0 0 9px}
.product-table th:last-child{border-radius:0 9px 9px 0}
.product-table tbody tr:first-child td{border-top:0}
.product-table td{border-color:color-mix(in srgb,var(--line) 65%,transparent)}
.product-pagination{border-color:color-mix(in srgb,var(--line) 65%,transparent);padding:15px 12px}
.product-page-actions .primary,.product-page-actions .secondary{border-radius:10px;font-size:12px;min-height:33px;padding:6px 12px}
.product-page-actions .primary{box-shadow:inset 0 1px 0 #ffffff1f,0 1px 2px #0002}
.product-page-actions .secondary{box-shadow:0 1px 2px #00000008;border-color:color-mix(in srgb,var(--line) 75%,transparent)}
.sidebar .nav{border-radius:10px}
html[data-style=graphite] .sidebar .nav.active{background:linear-gradient(#363636,#2d2d2d);box-shadow:inset 0 1px 0 #ffffff0c,0 1px 1px #0001}
.sidebar #workspace-switch{border-radius:8px}
.header-right select{border-radius:8px;border-color:transparent;color:var(--muted)}
.header-right select:hover{border-color:var(--line);background:var(--bg)}
html[data-style=slate] #shell>.workspace,html[data-style=linen] #shell>.workspace{box-shadow:0 0 0 1px #0000000b,0 2px 8px #00000004}
@media(min-width:901px){.sidebar{bottom:0}.workspace>main{padding-bottom:40px}}
@media(max-width:900px){#shell>.workspace{margin-left:6px}.workspace>header{padding:0 16px}.workspace>main{padding:20px 18px 28px}}
@media(max-width:600px){#shell>.workspace{margin:4px;height:calc(100dvh - 8px);border-radius:13px}.workspace>header{height:54px;padding:0 10px}.workspace>main{padding:18px 12px 24px}.product-querybar{padding:7px 8px;gap:5px}.product-search{flex-basis:100%;min-height:32px}.product-querybar select,.product-querybar #quality-filter{flex:1;max-width:calc(50% - 4px)}.product-more{flex-basis:auto;margin-left:auto}.product-more>summary{font-size:11px}.product-more-menu{left:auto;right:0;min-width:180px}.product-library-heading{padding:0 5px}.product-library .library-controls{padding-left:5px;padding-right:5px}.product-summary{padding-top:0}.product-page-actions .primary,.product-page-actions .secondary{font-size:11px;padding:6px 9px}.product-table-wrap{border-radius:9px 9px 0 0}.product-table th{font-size:11px}}
.product-querybar .product-more{margin:0}.product-querybar .product-more>summary{margin:0}.product-querybar{height:42px}.product-querybar .product-search{height:30px}
@media(max-width:900px){.product-querybar{height:auto}}
/* Separate clip and scroll layers: native Windows scrollbars stay inside the frame. */
html:has(#shell:not(.hidden)){overflow:hidden}
.workspace-frame{position:fixed;inset:8px 8px 8px 220px;border-radius:16px;overflow:hidden;isolation:isolate;background:var(--surface);box-shadow:0 0 0 1px #0000000b}
.workspace-frame>.workspace{margin:0!important;width:100%;height:100%;min-width:0;overflow:auto;overscroll-behavior:contain;border-radius:0;box-shadow:none;background:var(--surface);scrollbar-width:thin;scrollbar-color:var(--line) var(--surface);scrollbar-gutter:stable}
@media(max-width:900px){.workspace-frame{left:8px}}
@media(max-width:600px){.workspace-frame{inset:4px;border-radius:13px}}
#shell:not(.hidden){min-height:100dvh}
/* Compact desktop navigation with stronger labels. */
:root{--navigation-width:184px}
@media(min-width:901px){.sidebar{width:var(--navigation-width);padding-left:10px;padding-right:10px}.workspace-frame{left:var(--navigation-width)}.sidebar .brand{gap:8px;padding:0 8px;font-size:18px}.sidebar .brand-mark{width:28px;height:30px}.sidebar .nav{padding-left:10px;padding-right:10px;gap:8px}.sidebar .nav-group-label{margin-left:10px;margin-right:10px}.sidebar .site-select{width:calc(100% - 8px);margin-left:4px;margin-right:4px}.sidebar-bottom{margin-left:7px;margin-right:7px}}
.sidebar .nav{font-weight:600}.sidebar .nav.active{font-weight:700}.sidebar .nav-group-label{font-weight:550}.sidebar .site-select-trigger{font-weight:550}

/* Native controls retain values and form participation; only the site UI is interactive. */
.site-select{display:inline-block;position:relative;width:100%;min-width:0;vertical-align:middle}.site-select[hidden]{display:none!important}.site-select-native{position:absolute!important;width:1px!important;height:1px!important;min-height:0!important;min-width:0!important;margin:0!important;padding:0!important;opacity:0!important;pointer-events:none!important;border:0!important;clip-path:inset(50%)}
.site-select-trigger{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;height:36px;min-width:0;margin:0;padding:7px 11px;border:1px solid var(--line);border-radius:8px;background:var(--field);color:var(--ink);font:inherit;font-size:13px;font-weight:400;line-height:20px;text-align:left;box-shadow:0 1px 1px #00000004}.site-select-trigger:hover{border-color:color-mix(in srgb,var(--muted) 60%,var(--line))}.site-select-trigger[aria-expanded=true]{border-color:var(--ops-accent);box-shadow:0 0 0 2px color-mix(in srgb,var(--ops-accent) 12%,transparent)}.site-select-trigger:focus-visible{outline:2px solid var(--ops-accent);outline-offset:2px}.site-select-value{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}.site-select-chevron{flex:none;width:7px;height:7px;border-bottom:1.5px solid currentColor;border-right:1.5px solid currentColor;transform:rotate(45deg);margin:-4px 2px 0 0;opacity:.65}.site-select-trigger[aria-expanded=true] .site-select-chevron{transform:rotate(225deg);margin-top:3px}.site-select-trigger:disabled{opacity:.5;cursor:not-allowed}.site-select-trigger[aria-invalid=true]{border-color:#c13e32}
.site-select-menu{position:fixed;inset:auto;margin:0;padding:5px;border:1px solid var(--line);border-radius:11px;background:var(--surface);color:var(--ink);box-shadow:0 10px 32px #00000020,0 2px 5px #0000000c;overflow:auto;overscroll-behavior:contain;font-size:13px;scrollbar-width:thin}.site-select-menu::backdrop{background:transparent}.site-select-options{display:flex;flex-direction:column;gap:2px}.site-select-option{display:flex;align-items:center;justify-content:space-between;gap:15px;width:100%;padding:9px 10px;min-height:35px;border:0;border-radius:6px;text-align:left;font:inherit;line-height:1.5;background:transparent;color:inherit}.site-select-option>span:first-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.site-select-option.is-active{background:var(--bg)}.site-select-option[aria-selected=true]{background:var(--soft);color:var(--accent-ink);font-weight:550}.site-select-option:disabled{opacity:.4;cursor:not-allowed}.site-select-check{min-width:14px;font-size:13px;font-weight:600;color:currentColor}.site-select-search{display:block;width:100%;min-height:34px;margin:0 0 5px;padding:7px 9px;font-size:12px;border:1px solid var(--line);border-radius:7px;background:var(--field);color:var(--ink)}.site-select-empty{margin:0;padding:14px 10px;text-align:center;color:var(--muted);font-size:12px}
.site-select-menu--sidebar{background:var(--ops-sidebar);border-color:color-mix(in srgb,var(--ops-side-muted) 40%,transparent);color:var(--ops-side-ink)}.site-select-menu--sidebar .site-select-option.is-active,.site-select-menu--sidebar .site-select-option[aria-selected=true]{background:var(--ops-selected);color:var(--ops-side-ink)}.sidebar .site-select{display:block;width:calc(100% - 12px);margin:22px 6px 0}.sidebar .site-select-trigger{background:transparent;color:var(--ops-side-ink);border-color:color-mix(in srgb,var(--ops-side-muted) 35%,transparent);font-size:12px;height:34px}.sidebar:has(#workspace-switch:not(.hidden)) .workspace-label{display:none}
.header-right{display:flex;align-items:center;gap:12px}.header-right>.style-control,.header-right>.theme-control{display:flex;align-items:center;flex:0 0 auto;margin:0!important;padding:0;line-height:1}.header-right .site-select{width:118px;vertical-align:middle;margin:0}.header-right .site-select-trigger{height:32px;min-height:32px;padding:5px 9px;border-color:transparent;box-shadow:none;background:transparent;font-size:12px;color:var(--muted);line-height:20px}.header-right .site-select-trigger:hover,.header-right .site-select-trigger[aria-expanded=true]{background:var(--bg);border-color:var(--line)}.header-right .avatar{flex:none}
.product-querybar>.site-select{flex:0 1 170px;width:170px;max-width:180px}.product-querybar .site-select-trigger{height:30px;min-height:30px;border-color:transparent;box-shadow:none;padding:4px 10px;background:transparent;font-size:12px}.product-querybar .site-select-trigger:hover{background:var(--bg)}.product-pagination .site-select{width:64px}.product-pagination .site-select-trigger{height:29px;min-height:29px;font-size:12px;padding:4px 8px}.toolbar-actions>.site-select{width:auto;min-width:140px}.cost-filters .site-select{min-width:120px}.sales-controls>.site-select{width:auto;min-width:120px}.site-select:has(select.hidden){display:none!important}
@media(max-width:900px){.product-querybar>.site-select{flex:1;width:auto;max-width:none}.header-right{gap:5px}.header-right .site-select{width:106px}}
@media(max-width:600px){.header-right .site-select{width:94px}.header-right .site-select-trigger{font-size:10px;gap:6px;padding:5px 6px}.product-querybar>.site-select{max-width:calc(50% - 4px)}.site-select-menu{font-size:13px}.sales-controls>.site-select{flex:1;width:auto;min-width:0}.site-select-option{min-height:39px}}

/* Settings use named sections, scoped controls and compact save rows. */
.settings-hub{display:grid;grid-template-columns:178px minmax(0,1fr);gap:34px;align-items:start;margin-top:26px}.settings-section-nav{position:sticky;top:75px;display:flex;flex-direction:column;gap:5px;padding-right:10px}.settings-nav-item{display:block;text-align:left;padding:11px 13px;border-radius:8px;color:var(--muted);font-size:13px;font-weight:550;border:1px solid transparent}.settings-nav-item small{display:block;font-size:11px;font-weight:400;margin-top:3px;line-height:1.5;color:var(--muted)}.settings-nav-item:hover{background:var(--bg);color:var(--ink)}.settings-nav-item.selected{background:var(--soft);color:var(--ink);border-color:color-mix(in srgb,var(--line) 65%,transparent)}.settings-section-content{min-width:0}.settings-pane{display:flex;flex-direction:column;gap:18px}.settings-hub .settings-card{padding:22px 24px;margin:0;border-radius:var(--ui-radius)!important}.setting-card-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:18px}.setting-card-heading h2{font-size:16px;margin:0;line-height:1.5}.setting-card-heading p{font-size:12px;line-height:1.7;margin:5px 0 0;color:var(--muted)}.setting-scope{font-size:10px;white-space:nowrap;padding:3px 7px;border-radius:5px;background:var(--bg);color:var(--muted);border:1px solid var(--line);line-height:1.5}.setting-row{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:18px 0;border-top:1px solid var(--line)}.setting-row label{display:block;margin:0;font-size:13px;font-weight:550}.setting-row p{font-size:12px;color:var(--muted);line-height:1.7;margin:4px 0 0}.setting-row>.site-select{flex:0 0 230px;width:230px}.setting-save{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:16px 0 0;margin-top:8px;border-top:1px solid var(--line)}.setting-save>div{display:flex;gap:8px;align-items:center}.settings-hub .setting-save button,.settings-hub .settings-actions button{width:auto;flex:none;min-height:34px;padding:6px 12px;font-size:12px;align-self:center}.setting-save>.note{margin:0}.settings-hub .inline-form{display:block}.settings-hub .inline-form>label{display:block;width:280px;max-width:100%;margin-bottom:16px}.settings-hub #concurrency-settings{margin:0}.settings-hub #concurrency-settings>.note{font-size:12px;line-height:1.8;margin:16px 0 0}.settings-runtime{padding:12px 15px;border:1px solid var(--line);background:var(--bg);border-radius:8px;display:flex;align-items:center;gap:16px;font-size:12px;flex-wrap:wrap}.settings-runtime>span{color:var(--muted)}.settings-runtime>b{font-size:12px;font-weight:550}.settings-runtime>button{margin-left:auto;font-size:12px}.setting-toggle{display:flex;align-items:center;justify-content:space-between;gap:30px;padding:18px 0;border-top:1px solid var(--line);margin:0;cursor:pointer}.setting-toggle b{font-size:13px;font-weight:550;display:block}.setting-toggle small{font-size:12px;font-weight:400;line-height:1.7;color:var(--muted);display:block;margin-top:4px}.setting-toggle input[type=checkbox]{appearance:none;width:34px;height:20px;min-width:34px;border:0;border-radius:20px;background:var(--line);padding:0;position:relative;cursor:pointer;transition:background .15s}.setting-toggle input:before{content:'';display:block;width:16px;height:16px;border-radius:50%;background:#fff;position:absolute;top:2px;left:2px;box-shadow:0 1px 3px #0002;transition:transform .15s}.setting-toggle input:checked{background:var(--ops-primary)}.setting-toggle input:checked:before{transform:translateX(14px)}.settings-shortcuts{display:grid;gap:1px}.settings-shortcuts button{display:flex;justify-content:space-between;align-items:center;gap:20px;text-align:left;padding:13px 0;border-top:1px solid var(--line)}.settings-shortcuts b{font-size:13px;font-weight:550}.settings-shortcuts span{font-size:12px;color:var(--muted)}.settings-shortcuts button:hover b{color:var(--ops-accent)}.settings-info{margin:0}.settings-info>div{display:grid;grid-template-columns:150px 1fr;gap:22px;border-top:1px solid var(--line);padding:14px 0;font-size:13px}.settings-info dt{color:var(--muted)}.settings-info dd{margin:0;word-break:break-all}.setting-divider{border-top:1px solid var(--line);margin:24px 0}.settings-hub .style-gallery{margin:0 0 10px;gap:14px}.settings-hub .style-card{padding:10px;border-radius:8px}.settings-hub .style-mini{height:85px}.settings-hub .style-card strong{font-size:12px}.settings-hub .style-card small{font-size:11px;margin-top:5px}.settings-hub .style-card.selected{outline-width:2px}.settings-hub .color-presets{margin-top:-3px;margin-bottom:22px}.settings-hub #appearance-form{display:block}.settings-hub #appearance-form label{font-size:13px}.settings-hub #appearance-form .two-cols{gap:22px}.settings-hub #appearance-form .settings-actions{border-top:1px solid var(--line);padding-top:17px;justify-content:flex-end;align-items:center;flex-wrap:wrap}.settings-hub #appearance-save-note{margin-right:auto}.settings-hub .account-card{max-width:none}.settings-hub #account-form{max-width:none}.settings-hub #account-form .settings-actions{border-top:1px solid var(--line);padding-top:16px}.settings-hub #account-form .primary{width:auto}.settings-hub input[type=range]{accent-color:var(--ops-accent);padding:0;min-height:28px}.settings-hub .settings-card>.note{font-size:12px}.settings-hub .setting-row .site-select-trigger{height:36px}
/* These controls now reflect the saved font size and card radius. The outer frame stays consistent. */
#shell main{font-size:var(--base-size)}.product-identity strong{font-size:var(--base-size)}.settings-hub input,.settings-hub textarea{font-size:var(--base-size)}.settings-hub .site-select-trigger{font-size:calc(var(--base-size) - 1px)}.sidebar .nav{font-size:var(--base-size)}html[data-theme=light]{--ops-accent:var(--green)}html[data-theme=dark]{--ops-accent:color-mix(in srgb,var(--green) 55%,white)}
@media(max-width:1200px){.settings-hub{grid-template-columns:160px minmax(0,1fr);gap:22px}.settings-hub .settings-card{padding:20px}.setting-card-heading{gap:12px}.setting-row>.site-select{flex-basis:205px;width:205px}}
@media(max-width:760px){.settings-hub{display:block;margin-top:20px}.settings-section-nav{position:static;display:flex;flex-direction:row;gap:4px;overflow-x:auto;white-space:nowrap;padding:0 0 12px;margin:0 0 16px;border-bottom:1px solid var(--line);scrollbar-width:thin}.settings-nav-item{flex:none;padding:8px 11px;font-size:12px}.settings-nav-item small{display:none}.settings-hub .settings-card{padding:17px}.setting-row{gap:14px}.setting-row>.site-select{flex:0 0 160px;width:160px}.setting-card-heading{flex-wrap:wrap}.settings-shortcuts button{gap:15px;flex-wrap:wrap}.settings-hub .style-mini{height:65px}.settings-info>div{grid-template-columns:115px 1fr;gap:15px;font-size:12px}.settings-runtime{gap:10px}.settings-hub .settings-card h2{font-size:15px}}
@media(max-width:480px){.setting-row{align-items:stretch;flex-direction:column;gap:10px}.setting-row>.site-select{width:100%;flex-basis:auto}.setting-save{flex-wrap:wrap}.setting-save>div{margin-left:auto}.settings-hub .style-gallery{gap:8px}.settings-hub .style-card{padding:7px}.settings-hub .style-card strong{font-size:11px}.settings-hub .style-mini{height:54px}.settings-hub #appearance-form .two-cols{gap:0}.settings-hub #appearance-save-note{flex-basis:100%}.setting-toggle small{font-size:11px}.setting-scope{font-size:10px}}
.view:not(#view-products) .panel{border-radius:var(--ui-radius)!important}

/* Business pages share an action hierarchy; configuration pages expose one task at a time. */
.view>.page-heading{margin-bottom:22px}.view>.page-heading h1{font-size:22px}.view>.page-heading .muted{max-width:780px;line-height:1.7}.page-config-layout{display:grid;grid-template-columns:178px minmax(0,1fr);gap:34px;align-items:start}.page-config-nav{position:sticky;top:74px;display:flex;flex-direction:column;gap:5px;padding-right:10px;min-width:0}.page-config-nav>button{display:block;padding:11px 13px;text-align:left;font-size:13px;font-weight:550;color:var(--muted);border:1px solid transparent;border-radius:8px;line-height:1.6}.page-config-nav>button small{display:block;font-size:11px;font-weight:400;color:var(--muted);margin-top:3px}.page-config-nav>button:hover{background:var(--bg);color:var(--ink)}.page-config-nav>button.selected{background:var(--soft);border-color:color-mix(in srgb,var(--line) 65%,transparent);color:var(--ink)}.page-config-content{min-width:0}.page-config-content>.page-pane{display:flex;flex-direction:column;gap:18px}.page-config-content .settings-card{margin:0;padding:22px 24px}.page-config-content h2{font-size:16px;margin-bottom:18px}.page-config-content .settings-card label{font-size:13px}.page-config-content textarea{font-size:14px;line-height:1.8}.page-config-content .two-cols{gap:22px}.page-config-content .section-toolbar{margin-top:0;align-items:center}.page-config-content .section-toolbar h2{margin:0}.page-config-content .sku-defaults-card{margin-bottom:0}.page-config-content .sku-defaults-card>.note{line-height:1.8}.page-config-content .generation-save-bar{position:sticky;bottom:0;z-index:4;margin:18px 0 0;padding:13px 16px;display:flex;align-items:center;justify-content:space-between;gap:16px;background:var(--surface);border:1px solid var(--line);border-radius:9px;box-shadow:0 -3px 14px #00000008}.generation-save-bar>span{font-size:11px;line-height:1.7;max-width:470px}.generation-save-bar>div{display:flex;gap:8px;flex:none}.generation-save-bar button{font-size:12px;padding:7px 12px;min-height:34px}.page-context-strip{font-size:12px;color:var(--muted);padding:0 0 18px;margin:0 0 20px;border-bottom:1px solid var(--line)}.module-context{border:1px solid var(--line);border-radius:8px;padding:15px 18px;font-size:12px;color:var(--muted);background:var(--bg);line-height:1.8}.module-context>b{display:block;color:var(--ink);font-size:13px;font-weight:550;margin-bottom:4px}.slot-switcher{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.slot-switcher button{padding:10px 12px;border:1px solid var(--line);border-radius:8px;background:var(--surface);text-align:left;display:flex;align-items:center;gap:9px;font-size:12px;line-height:1.5}.slot-switcher button b{font-size:11px;color:var(--muted);font-weight:500}.slot-switcher button span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.slot-switcher button.selected{background:var(--soft);border-color:var(--ops-accent);color:var(--ink)}.page-config-content .generation-slot-cards{display:block}.page-config-content .generation-slot{padding:22px 24px;margin:0}.page-config-content .generation-slot-heading>span{background:var(--bg);color:var(--muted);border:1px solid var(--line)}.page-config-content .generation-slot .two-cols{margin-top:16px}.page-config-content .generation-slot textarea{min-height:120px}.page-config-content .generation-layout-preview{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.page-config-content .rule-preview-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.rule-preview-toolbar h3{margin:0;font-size:16px}.rule-preview-toolbar .checkbox{font-size:12px;margin:0 0 0 auto}.page-config-content .rule-example{border-radius:7px}.page-config-content .rule-example-caption b{font-size:12px}.page-config-content .rule-example-caption small{font-size:10px}.page-config-content .note{font-size:12px}.provider-config-layout>.connection-layout{display:block;min-width:0;max-width:none}.provider-config-layout .settings-card{padding:22px 24px}.provider-config-layout .provider-heading h2{font-size:16px}.provider-config-layout #provider-form>.settings-actions{margin-top:8px;padding-top:16px;border-top:1px solid var(--line)}.provider-config-layout form>.note{font-size:12px}.provider-config-layout #config-form{display:flex;gap:10px;align-items:center}.provider-config-layout #config-form>input{min-width:0;flex:1}.provider-config-layout #config-form>button{flex:none;width:auto;min-height:36px}.provider-config-layout .model-plan{background:var(--bg)}.page-section-tabs{display:flex;align-items:center;gap:24px;border-bottom:1px solid var(--line);margin-bottom:20px;overflow-x:auto;white-space:nowrap}.page-section-tabs>button{padding:11px 0;font-size:13px;color:var(--muted);border-bottom:2px solid transparent;font-weight:500}.page-section-tabs>button.selected{color:var(--ink);border-bottom-color:var(--ink)}.page-pane{min-width:0}.record-toolbar{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:0 0 16px}.record-toolbar .record-search{flex:1;min-width:200px;max-width:460px;font-size:13px;min-height:36px;background:var(--field);padding:8px 11px}.record-toolbar>.site-select{width:170px;flex:0 1 170px}.record-toolbar>.note{font-size:12px;margin-left:4px}.record-toolbar>button{margin-left:auto}.record-toolbar .site-select-trigger{font-size:12px}.page-context-note{font-size:12px;color:var(--muted);line-height:1.8;margin:0 0 17px}.page-table-wrap{overflow:auto}.page-record-table{border-collapse:collapse;width:100%;text-align:left;font-size:13px;min-width:650px}.page-record-table th{background:var(--bg);font-size:12px;font-weight:500;color:var(--muted);padding:11px 16px;white-space:nowrap}.page-record-table td{border-top:1px solid var(--line);padding:16px;vertical-align:middle}.page-record-table td:first-child b{font-size:13px;font-weight:550;word-break:break-word}.page-record-table td small{display:block;font-size:11px;margin-top:5px;color:var(--muted)}.page-record-table td:last-child{white-space:nowrap;width:130px}.file-type-badge{display:inline-block;background:var(--bg);border:1px solid var(--line);border-radius:5px;font-size:10px;font-weight:600;color:var(--muted);padding:4px 6px;margin-right:10px;vertical-align:middle}.page-record-table a.secondary{font-size:12px;padding:6px 12px;min-height:32px}.record-date{color:var(--muted);font-size:11px!important}.list-row h3{font-size:14px;font-weight:550}.list-row>.row-actions{align-items:center}.list-row p{line-height:1.7}.list-row details>summary{font-size:12px;color:var(--muted);cursor:pointer}.list-row details p{white-space:pre-wrap;overflow-wrap:anywhere}.list-row .error{max-width:1000px}#view-jobs .task-runtime-note{padding:13px 16px;font-size:12px;background:var(--bg);box-shadow:none}#view-jobs .section-tabs{margin-bottom:15px}#model-calls .list-row .call-tokens{font-variant-numeric:tabular-nums;font-size:12px}.calls-overview{font-size:12px;color:var(--muted);padding:12px 18px;background:var(--bg);border-bottom:1px solid var(--line)}#view-stores .delivery-history{margin-top:0}#view-stores .sales-panel{margin-top:0;padding:20px 22px}#view-stores .store-cards{grid-template-columns:repeat(auto-fit,minmax(min(100%,310px),1fr));gap:16px}#view-stores .store-card{padding:20px;max-width:none}#view-stores .store-card-heading h2{font-size:16px}#view-stores .store-card-actions{padding-top:14px;margin-top:12px;border-top:1px solid var(--line)}#view-stores .store-onboarding{padding:25px}#view-stores .sales-panel .section-toolbar{margin-top:0}.report-notes{border-top:1px solid var(--line);padding-top:14px;margin-top:20px}.report-notes summary{font-size:12px;color:var(--muted);cursor:pointer}#view-costs .cost-filters{box-shadow:none;background:var(--bg);padding:14px 18px;gap:15px;margin-bottom:20px;align-items:flex-end}#view-costs .cost-filters label{font-size:12px;margin:0;min-width:150px}#view-costs .cost-filters>.note{font-size:11px;margin:0 0 8px auto}#view-costs .production-economics{margin:0}#view-costs .section-toolbar{margin:16px 0 12px}#view-costs .settings-card{padding:20px}#view-costs .stats strong{font-size:24px}.cost-coverage{border-radius:7px;font-size:12px;line-height:1.8}.cost-table th,.cost-table td{font-size:12px}.cost-panels{gap:16px}.cost-space-details{font-size:12px}.cost-pagination{font-size:12px}#view-users .settings-card{padding:20px 22px}#workspace-form{display:grid;grid-template-columns:minmax(220px,1fr) 230px auto;gap:16px;align-items:end;max-width:none}#workspace-form>label{margin:0}#workspace-form>button{width:auto;flex:none;min-height:36px;padding:7px 13px;margin:0 0 1px}#workspace-create-card .settings-actions{justify-content:space-between;border-top:1px solid var(--line);padding-top:15px;margin-top:15px}#view-users .team-table-wrap{border:0;border-top:1px solid var(--line);border-radius:0}#view-users .record-toolbar{padding-top:5px}#view-users .preview-heading{margin-bottom:15px}#view-users .preview-heading h2{font-size:15px;margin:0}.team-table th{font-size:12px}.team-table td{font-size:13px;padding:15px 12px}.team-table td small{font-size:11px}
/* Overview is a work queue, not a collection of oversized promotional cards. */
#view-overview .issue-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:26px}#view-overview .issue-card{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:auto auto;gap:4px 16px;padding:15px 18px;box-shadow:none;border-radius:9px;text-align:left;background:var(--surface)}#view-overview .issue-card>span{font-size:13px;grid-column:1}#view-overview .issue-card>strong{font-size:26px;grid-column:2;grid-row:1/3;align-self:center;margin:0;font-weight:600}#view-overview .issue-card>small{font-size:11px;color:var(--muted);grid-column:1}#view-overview .issue-card:hover{background:var(--bg);transform:none}#view-overview .batch-grid{display:flex;flex-direction:column;gap:0;border:1px solid var(--line);border-radius:9px;overflow:hidden}#view-overview .batch-card{display:grid;grid-template-columns:minmax(220px,1fr) minmax(130px,220px) minmax(150px,210px);gap:8px 22px;align-items:center;padding:16px 18px;border:0;border-bottom:1px solid var(--line);border-radius:0;text-align:left;background:var(--surface)}#view-overview .batch-card:last-child{border-bottom:0}#view-overview .batch-card>div:first-child{gap:18px;justify-content:flex-start;font-size:13px}#view-overview .batch-card>div:first-child>strong{font-size:13px;font-weight:550}#view-overview .batch-card>div:first-child>span{font-size:11px;white-space:nowrap;color:var(--muted)}#view-overview .batch-card .batch-track{margin:0}#view-overview .batch-card p{margin:0;font-size:12px}#view-overview .batch-card small{grid-column:1/-1;font-size:11px;color:var(--muted)}#view-overview .batch-card:hover{background:var(--bg)}#view-overview .activity-row{padding:14px 18px}#view-overview .activity-row b{font-size:13px}#view-overview .activity-row p{font-size:12px}#view-overview .section-toolbar>.note{max-width:650px;line-height:1.7}
@media(max-width:1200px){.page-config-layout{grid-template-columns:155px minmax(0,1fr);gap:22px}.page-config-content .settings-card,.page-config-content .generation-slot{padding:20px}.slot-switcher{grid-template-columns:repeat(4,minmax(0,1fr))}.slot-switcher button{padding:9px 8px;font-size:11px}.page-config-content .generation-save-bar{flex-wrap:wrap}.generation-save-bar>span{max-width:none}.generation-save-bar>div{margin-left:auto}#view-overview .batch-card{grid-template-columns:minmax(180px,1fr) 160px}#view-overview .batch-card p{grid-column:1}.page-config-content .generation-layout-preview{grid-template-columns:repeat(2,minmax(0,1fr))}#workspace-form{grid-template-columns:1fr 190px}#workspace-form>button{grid-column:1/-1;justify-self:end}}
@media(max-width:760px){.page-config-layout{display:block}.page-config-nav{position:static;display:flex;flex-direction:row;gap:6px;padding:0 0 12px;border-bottom:1px solid var(--line);margin-bottom:18px;overflow-x:auto;white-space:nowrap;scrollbar-width:thin}.page-config-nav>button{flex:none;padding:8px 10px;font-size:12px}.page-config-nav>button small{display:none}.page-context-strip{font-size:11px;margin-bottom:14px;padding-bottom:12px}.page-config-content .settings-card,.page-config-content .generation-slot,.provider-config-layout .settings-card{padding:17px}.page-config-content .two-cols{gap:0}.page-section-tabs{gap:22px;margin-bottom:16px}.page-section-tabs>button{font-size:12px}.record-toolbar{gap:9px}.record-toolbar .record-search{max-width:none;flex-basis:100%}.record-toolbar>.site-select{flex:1}.record-toolbar>.note{font-size:11px}.page-record-table{font-size:12px}.page-config-content .generation-save-bar{position:static;gap:10px;padding:13px}.generation-save-bar>div{flex-wrap:wrap;justify-content:flex-end}.generation-save-bar button{font-size:11px}.slot-switcher{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}.slot-switcher button{padding:8px 5px;gap:4px;font-size:10px}.slot-switcher button b{display:none}.page-config-content .rule-preview-toolbar{gap:10px}.rule-preview-toolbar .checkbox{margin-left:0}.rule-preview-toolbar h3{flex-basis:100%}.provider-config-layout #config-form{flex-wrap:wrap}.provider-config-layout #config-form>input{flex-basis:100%}.provider-config-layout #config-form>button{margin-left:auto}#view-overview .issue-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}#view-overview .issue-card{padding:12px;gap:4px 10px}#view-overview .issue-card>strong{font-size:23px}#view-overview .issue-card>span{font-size:12px}#view-overview .batch-card{display:block;padding:15px}#view-overview .batch-card .batch-track{margin:10px 0}#view-overview .batch-card p{margin:7px 0}#view-overview .batch-card small{display:block}#view-overview .section-toolbar{flex-wrap:wrap;gap:8px}#view-overview .section-toolbar>.note{font-size:11px}#view-stores .sales-panel,#view-users .settings-card{padding:17px}#workspace-form{display:block}#workspace-form>label{margin-bottom:15px}#workspace-form>button{margin-left:auto;display:flex}#view-costs .cost-filters{padding:13px;gap:10px}#view-costs .cost-filters label{min-width:calc(50% - 5px);flex:1}#view-costs .cost-filters>.note{margin:0;flex-basis:100%;font-size:10px}.record-toolbar>button{font-size:12px}}

/* A single connected store uses a full-width row instead of reserving empty card columns. */
@media(min-width:1201px){#view-stores .store-card:only-child{display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:32px}#view-stores .store-card:only-child .store-card-heading,#view-stores .store-card:only-child .store-card-meta,#view-stores .store-card:only-child .store-sync-note{grid-column:1}#view-stores .store-card:only-child .store-card-actions{grid-column:2;grid-row:1/4;align-self:center;border-top:0;padding-top:0;margin-top:0}#view-stores .store-card:only-child .store-card-heading>.badge{margin-left:18px}#view-stores .store-card:only-child .store-card-meta{justify-content:flex-start;gap:24px}}

.provider-config-layout>.settings-grid.connection-layout:has(.provider-card){max-width:none;width:100%}

/* Visible batch shortcuts select the whole batch, independently of pagination. */
.batch-shortcuts{display:flex;align-items:center;gap:12px;padding:13px 0;border-bottom:1px solid var(--line)}.batch-shortcuts>span{font-size:12px;font-weight:600;white-space:nowrap;color:var(--muted)}.batch-shortcut-list{display:flex;gap:8px;align-items:center;overflow-x:auto;min-width:0;scrollbar-width:thin;flex:1}.batch-shortcut-list>button{display:inline-flex;align-items:center;gap:10px;flex:none;padding:7px 11px;border:1px solid var(--line);border-radius:7px;font-size:12px;color:var(--ink);background:var(--surface);white-space:nowrap}.batch-shortcut-list>button>span{max-width:230px;overflow:hidden;text-overflow:ellipsis}.batch-shortcut-list>button>b{font-size:11px;font-weight:550;color:var(--muted)}.batch-shortcut-list>button:hover,.batch-shortcut-list>button.selected{background:var(--soft);border-color:var(--ops-accent)}.batch-shortcuts>#choose-batch{flex:none;white-space:nowrap;font-size:12px}.library-controls>#select-current-batch{font-size:12px}.batch-choice-dialog{width:min(720px,calc(100vw - 28px))}.batch-choice-dialog .dialog-top h2{font-size:19px;margin:0}.batch-choice-dialog .dialog-top p{margin:8px 0 0;font-size:12px;line-height:1.8}.batch-choice-dialog .dialog-content{overflow:auto;max-height:65vh;padding-top:4px}.batch-choice-dialog #batch-choice-search{width:100%;margin-bottom:16px}.batch-choice-list>article{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:17px 0;border-bottom:1px solid var(--line)}.batch-choice-list>article>div:first-child{min-width:0}.batch-choice-list b{font-size:14px;overflow-wrap:anywhere}.batch-choice-list small{display:block;color:var(--muted);font-size:12px;margin-top:6px}.batch-choice-actions{display:flex;gap:8px;flex:none}.batch-choice-actions button{font-size:12px;min-height:34px;padding:6px 10px}
@media(max-width:760px){.batch-shortcuts{gap:8px}.batch-shortcut-list>button>span{max-width:160px}.batch-choice-list>article{align-items:flex-start;flex-direction:column;gap:12px}.batch-choice-actions{align-self:flex-end}.library-controls{flex-wrap:wrap}.batch-choice-dialog .dialog-top{padding-bottom:12px}.batch-choice-dialog .dialog-content{max-height:60vh}.batch-shortcuts>#choose-batch{font-size:11px}}

.batch-context{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:13px 15px;background:var(--bg);border-bottom:1px solid var(--line)}.batch-context>div:first-child{min-width:160px}.batch-context b{font-size:13px}.batch-context small{display:block;font-size:11px;color:var(--muted);margin-top:4px}.batch-context-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}.batch-context-actions button{font-size:12px;padding:6px 10px;min-height:32px}.batch-choice-dialog{width:min(960px,calc(100vw - 28px))}.batch-choice-list>article{flex-wrap:wrap}.batch-choice-list>article>div:first-child{flex:1;min-width:200px}.batch-choice-actions{flex-wrap:wrap;justify-content:flex-end;gap:7px}.batch-choice-dialog .batch-choice-actions .text-button{padding:6px}.library-controls #select-filtered{font-size:12px}.batch-choice-list small{line-height:1.8}#export-range-note{padding:10px 12px;background:var(--bg);border:1px solid var(--line);border-radius:6px;line-height:1.8;overflow-wrap:anywhere}#batch-rename-dialog{width:min(520px,calc(100vw - 28px))}#job-batch-filter,#export-batch-filter{width:200px}#view-products .empty button{margin:10px 4px 0}
@media(max-width:760px){.batch-context{flex-direction:column;align-items:stretch}.batch-context-actions{justify-content:flex-start}.batch-choice-actions{align-self:stretch;justify-content:flex-start}.batch-context-actions button{font-size:11px}.library-controls{gap:9px}.library-controls .view-switch{margin-left:auto}#jobs-filter-toolbar>.site-select,#view-exports .record-toolbar>.site-select{flex:1 1 140px}}

/* Source backup: restrained settings rows and readable version history. */
#view-backups .page-head{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:24px}
.backup-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));padding:18px 0 24px;border-bottom:1px solid var(--line);margin-bottom:28px;gap:24px}
.backup-summary>div{display:grid;gap:7px;min-width:0}.backup-summary span,.backup-summary small{color:var(--muted);font-size:12px}.backup-summary strong{font-size:16px;font-weight:600;overflow-wrap:anywhere}
.backup-layout{display:grid;grid-template-columns:minmax(220px,.7fr) minmax(0,2fr);gap:40px;margin-bottom:32px}.backup-intro h2,.backup-panel h2,.backup-history h2{font-size:16px;margin:0 0 12px}.backup-intro p{font-size:13px;line-height:1.8;color:var(--muted)}
.backup-panel{border:1px solid var(--line);border-radius:12px;padding:24px;display:grid;gap:16px}.backup-panel label{display:grid;gap:8px}.backup-panel p{margin:0}.backup-panel .backup-check{display:flex;align-items:center;gap:8px}.backup-check input{width:16px;height:16px}.backup-fields{display:grid;grid-template-columns:1fr 1fr;gap:20px}.backup-form-footer{display:flex;align-items:center;justify-content:space-between;gap:24px;border-top:1px solid var(--line);padding-top:18px}.backup-form-footer button{flex-shrink:0}
#view-backups .section-heading{display:flex;justify-content:space-between;align-items:center;gap:20px}#view-backups .section-heading p{color:var(--muted);font-size:13px}.backup-table-wrap{overflow:auto;border:1px solid var(--line);border-radius:10px;margin:16px 0}.backup-table-wrap table{width:100%;border-collapse:collapse;text-align:left}.backup-table-wrap th{background:var(--soft);font-size:12px;color:var(--muted);font-weight:500}.backup-table-wrap td,.backup-table-wrap th{padding:14px 18px;border-bottom:1px solid var(--line)}.backup-table-wrap td{font-size:13px;vertical-align:top}.backup-table-wrap small{display:block;color:var(--muted);font-size:12px;margin-top:6px;max-width:400px;overflow-wrap:anywhere}.backup-table-wrap tr:last-child td{border-bottom:0}.backup-table-wrap b{font-weight:500}.backup-table-wrap .backup-error{color:#b34832}
#source-restore-dialog{width:min(720px,94vw)}#source-restore-files{max-height:230px;overflow:auto;white-space:pre-wrap;font-size:12px;padding:14px;background:var(--soft);border-radius:8px}
@media(max-width:900px){.backup-layout{grid-template-columns:1fr;gap:16px}.backup-summary{gap:12px}.backup-fields{grid-template-columns:1fr}.backup-form-footer{align-items:flex-start;flex-direction:column}#view-backups .section-heading{flex-wrap:wrap}}
#view-backups .page-head h1{font-size:22px;margin:0 0 6px}#view-backups .page-head p{font-size:12px;line-height:1.7;color:var(--muted);margin:0}
#source-backup-form label{margin:0}#source-backup-form .backup-check{flex-direction:row;justify-content:flex-start;margin:4px 0}#source-backup-form .section-heading h2{margin:0}#source-backup-feedback:empty{display:none}#source-backup-form{gap:16px;align-content:start}

/* Owner security centre: compact source identification and persistent audit history. */
.security-center{display:grid;gap:20px;margin-bottom:20px}.security-center .actions{display:flex;gap:8px;flex-wrap:wrap}.security-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));padding:0 0 22px;margin-bottom:20px;border-bottom:1px solid var(--line);gap:20px}.security-summary>div{display:grid;gap:8px}.security-summary span{font-size:12px;color:var(--muted)}.security-summary strong{font-size:24px;font-weight:600}.security-toolbar{display:flex;gap:14px;align-items:center;flex-wrap:wrap;margin-bottom:16px}.security-toolbar>.site-select{width:180px;flex:none}.security-device-row{display:flex;gap:24px;align-items:flex-start;justify-content:space-between;padding:20px 0;border-top:1px solid var(--line)}.security-device-main{min-width:0}.security-device-title{display:flex;align-items:center;flex-wrap:wrap;gap:10px}.security-device-title strong{font-size:14px;font-weight:600}.security-device-row p{font-size:12px;color:var(--muted);margin:9px 0;line-height:1.6}.security-device-address span{margin-left:10px}.security-device-row small{display:block;font-size:12px;color:var(--muted);line-height:1.7}.security-device-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap;justify-content:flex-end;flex-shrink:0;max-width:300px}.security-risk{font-size:12px;color:#98621b;margin:10px 0;line-height:1.7}.security-danger{color:#b84938}.security-table-wrap{overflow:auto;border:1px solid var(--line);border-radius:10px}.security-event-table{width:100%;border-collapse:collapse;text-align:left}.security-event-table th{padding:12px 15px;background:var(--soft);font-size:12px;font-weight:500;color:var(--muted)}.security-event-table td{padding:14px 15px;border-top:1px solid var(--line);vertical-align:top;font-size:12px}.security-event-table b{font-weight:550}.security-event-table small{display:block;line-height:1.7;color:var(--muted);margin-top:5px;max-width:480px;overflow-wrap:anywhere}.security-event-table .security-route{font-size:11px;opacity:.75}.security-pagination{display:flex;gap:16px;justify-content:flex-end;align-items:center;margin-top:16px}#security-device-dialog{width:min(560px,94vw)}#security-device-form{padding:24px}#security-device-dialog label{margin:16px 0}html[data-theme=dark] .security-risk{color:#d7b477}@media(max-width:1100px){.security-device-row{flex-direction:column;gap:12px}.security-device-actions{max-width:none;justify-content:flex-start}}@media(max-width:700px){.security-summary{grid-template-columns:1fr 1fr;gap:20px}.security-device-address span{display:block;margin:6px 0}.security-event-table{min-width:610px}.security-center .setting-card-heading{align-items:flex-start}.security-summary strong{font-size:21px}}

:root{--workspace-build:20261019-03}

/* Selected products can span intake batches. */
.export-selection-card{background:var(--bg);border:1px solid var(--line);border-radius:8px;padding:14px 16px;margin:12px 0 18px}.export-selection-card strong{display:block}.export-selection-card p{margin:7px 0 0;overflow-wrap:anywhere}#export-dialog .preflight-row .text-button{margin-top:8px;font-size:.8rem}#export-dialog .dialog-top>div{min-width:0}#export-source-batches{max-height:90px;overflow:auto}

#detail-options-dialog{width:min(900px,95vw)}#detail-style-frame{width:100%;height:410px;border:1px solid var(--border,#ddd);border-radius:10px;background:#fff}#detail-options-dialog .dialog-content{max-height:70vh;overflow:auto}

/* Product recycle bin: visual identity first, selection always visible. */
#recycle-dialog.recycle-dialog{width:min(1060px,calc(100vw - 32px));max-width:1060px;padding:28px;max-height:90dvh;overflow:auto}#recycle-dialog .dialog-top{margin-bottom:12px}#recycle-summary{margin:6px 0 0}.recycle-filters{display:flex;gap:10px;margin:18px 0 12px}.recycle-filters input{flex:1;min-width:160px}.recycle-filters select{width:280px;max-width:40%}.recycle-actions{display:flex;gap:12px;align-items:center;flex-wrap:wrap;padding:12px;background:var(--bg);border-radius:8px}.recycle-actions .checkbox{margin:0;font-size:13px}.recycle-actions .primary{margin-left:auto}.recycle-actions>span{font-size:12px;color:var(--muted)}#recycle-list{max-height:48dvh;overflow:auto;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.recycle-card{display:grid;grid-template-columns:20px 82px minmax(0,1fr) auto;gap:16px;padding:16px 6px;align-items:center;border-bottom:1px solid var(--line)}.recycle-card:last-child{border-bottom:0}.recycle-check{margin:0}.recycle-thumbnail{height:116px;position:relative;border-radius:7px;overflow:hidden;background:var(--bg);border:1px solid var(--line)}.recycle-thumbnail a{display:block;height:100%}.recycle-thumbnail img{height:100%;width:100%;object-fit:contain}.recycle-thumbnail>span:not(.recycle-no-image){position:absolute;bottom:0;left:0;right:0;text-align:center;font-size:10px;background:var(--surface);color:var(--muted);pointer-events:none;opacity:.9}.recycle-no-image{display:flex;align-items:center;justify-content:center;height:100%;font-size:11px;text-align:center;color:var(--muted)}.recycle-identity h3{font-size:15px;line-height:1.5;margin:3px 0}.recycle-identity .number{font-size:11px;color:var(--muted)}.recycle-identity p{margin:3px 0;font-size:12px;overflow-wrap:anywhere}.recycle-identity .recycle-original{color:var(--muted)}.recycle-identity .recycle-batch-name{margin-top:7px}.recycle-identity small{display:inline-block;margin-right:16px;font-size:11px;color:var(--muted)}.recycle-pagination{display:flex;gap:10px;align-items:center;padding-top:16px}.recycle-pagination>span{margin-right:auto;font-size:12px;color:var(--muted)}.recycle-feedback{padding:12px 16px;margin-bottom:12px;border:1px solid var(--line);border-radius:8px;background:var(--bg);font-size:13px}.recycle-feedback p{margin:5px 0}.recycle-feedback ul{margin:8px 0 0;padding-left:18px;overflow-wrap:anywhere}#recycle-loading:empty{display:none}@media(max-width:640px){#recycle-dialog.recycle-dialog{padding:18px;width:calc(100vw - 20px)}.recycle-filters{flex-wrap:wrap}.recycle-filters input{flex-basis:100%}.recycle-filters select{width:auto;flex:1;max-width:none;min-width:0}.recycle-actions{gap:8px}.recycle-actions .text-button{font-size:11px}.recycle-actions .primary{width:100%;margin:0}.recycle-card{grid-template-columns:18px 64px minmax(0,1fr);gap:10px}.recycle-thumbnail{height:96px}.recycle-card>[data-restore]{grid-column:3;justify-self:start}.recycle-identity h3{font-size:13px}.recycle-identity small{display:block}.recycle-pagination{gap:6px}.recycle-pagination>span{font-size:11px}}
.recycle-filters>.site-select{flex:0 1 300px;min-width:160px;max-width:40%;width:300px}.recycle-filters>input{width:0;flex:1 1 320px}.recycle-filters .site-select select{max-width:none;width:100%}@media(max-width:640px){.recycle-filters>.site-select{flex:1;max-width:none;width:auto}.recycle-filters>input{width:100%;flex:1 0 100%}}

#intake-dialog.intake-recovery-dialog{width:min(950px,calc(100vw - 32px));max-width:950px;max-height:90dvh;overflow:auto;padding:28px}#intake-result{max-height:none;overflow:visible}.intake-summary{padding:14px 16px;border-radius:8px;background:var(--bg);font-size:14px}.intake-summary p{font-size:12px;margin:6px 0 0;color:var(--muted)}.intake-recovery-bulk{display:flex;flex-wrap:wrap;align-items:center;gap:8px;padding:12px 0}.intake-recovery-bulk>span{font-size:12px;color:var(--muted)}.intake-recovery-row{display:grid;grid-template-columns:76px minmax(0,1fr);gap:16px;border-top:1px solid var(--line);padding:18px 0}.intake-recovery-row:last-child{border-bottom:1px solid var(--line)}.intake-recovery-image{height:108px;border:1px solid var(--line);border-radius:7px;overflow:hidden;background:var(--bg);display:flex;align-items:center;justify-content:center}.intake-recovery-image img{width:100%;height:100%;object-fit:contain}.intake-recovery-image span{font-size:11px;color:var(--muted)}.intake-recovery-identity h3{font-size:15px;margin:0 0 5px;overflow-wrap:anywhere}.intake-recovery-identity p{font-size:12px;line-height:1.6;margin:6px 0;overflow-wrap:anywhere}.intake-recovery-identity small{font-size:11px;color:var(--muted)}.intake-source{color:var(--muted)}.intake-recovery-buttons{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}#intake-recovery-feedback{white-space:pre-wrap;overflow-wrap:anywhere}@media(max-width:600px){#intake-dialog.intake-recovery-dialog{padding:18px;width:calc(100vw - 20px)}.intake-recovery-row{grid-template-columns:55px minmax(0,1fr);gap:10px}.intake-recovery-image{height:82px}.intake-recovery-buttons{display:grid;grid-template-columns:1fr}.intake-recovery-bulk>span{width:100%}.intake-recovery-bulk button{flex:1;font-size:11px}.intake-recovery-identity h3{font-size:13px}}

#target-review-dialog.target-review-dialog{width:min(1100px,calc(100vw - 32px));max-width:1100px;padding:28px;max-height:92dvh;overflow:auto}#target-review-product{margin:5px 0;font-size:16px}.target-review-reason{font-size:12px;padding:10px 12px;background:var(--bg);border-radius:6px;overflow-wrap:anywhere}.target-review-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:24px}.target-review-layout h3{font-size:13px;margin:10px 0}.target-review-layout section{min-width:0}#target-review-video video{display:block;width:100%;height:150px;object-fit:contain;background:#181818;border-radius:7px}.target-review-frames{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:12px 0}.target-review-frames button{padding:3px;border:2px solid var(--line);border-radius:7px;text-align:center;min-width:0;background:var(--surface)}.target-review-frames button.selected{border-color:var(--green);background:var(--bg)}.target-review-frames img{width:100%;height:106px;object-fit:contain;display:block;border-radius:3px}.target-review-frames small{display:block;font-size:10px;margin:3px 0;overflow-wrap:anywhere}.target-review-frames button>span{display:flex;align-items:center;justify-content:center;height:106px;font-size:11px;color:var(--muted)}.target-review-preview{display:flex;align-items:center;justify-content:center;flex-direction:column;min-height:300px;background:var(--bg);border-radius:8px;padding:10px}.target-review-preview>img{width:100%;height:410px;object-fit:contain}.target-review-preview>p{font-size:12px;margin:8px 0}.target-review-consent{font-size:13px!important;margin:14px 0!important;align-items:flex-start!important}.target-review-dialog .dialog-actions{gap:9px;flex-wrap:wrap}#target-review-summary{padding:24px 10px}#target-review-summary h3{font-size:18px}#target-review-error{font-size:12px;overflow-wrap:anywhere}.task-runtime-note:has(#jobs-target-review){flex-wrap:wrap;gap:10px}@media(max-width:700px){#target-review-dialog.target-review-dialog{padding:18px;width:calc(100vw - 20px)}.target-review-layout{grid-template-columns:1fr;gap:8px}.target-review-frames{grid-template-columns:repeat(3,minmax(0,1fr))}.target-review-preview{min-height:180px}.target-review-preview>img{height:240px}.target-review-dialog .dialog-actions>button{flex:1;min-width:110px}#review-targets{font-size:11px;padding:6px}.target-review-frames img{height:95px}}
.confirm-product-list{max-height:40vh;overflow:auto;margin:16px 0}.confirm-product-list article{display:flex;align-items:center;gap:12px;padding:10px;border-bottom:1px solid var(--border,#ddd)}.confirm-product-list img{width:48px;height:64px;object-fit:contain;border-radius:6px}.confirm-product-list b,.confirm-product-list small{display:block;overflow-wrap:anywhere}

/* Grouped administration and explicit editing. */
#view-users .page-section-tabs{margin-bottom:24px}#view-users .settings-card{padding:26px;margin:0 0 22px}#view-users .admin-config-card{max-width:1100px}#view-users .admin-card-heading{display:flex;justify-content:space-between;gap:22px;align-items:flex-start;margin-bottom:22px}#view-users .admin-card-heading h2{margin:4px 0 8px;font-size:1.12rem}#view-users .admin-card-heading p{margin:0;max-width:680px}#view-users .admin-eyebrow{font-size:.73rem;color:var(--muted);letter-spacing:.06em}#view-users .admin-readonly-badge{display:inline-flex;padding:5px 9px;background:var(--bg);border:1px solid var(--line);border-radius:5px;color:var(--muted);font-size:.76rem;margin-bottom:20px}#view-users .admin-target{max-width:520px}#view-users .admin-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;padding:22px;background:var(--bg);border-radius:8px;margin:0 0 22px}#view-users .admin-summary span{display:block;font-size:.78rem;color:var(--muted);margin-bottom:10px}#view-users .admin-summary strong{font-size:1.04rem;font-weight:600}#view-users fieldset{padding:0;border:0;margin:0;min-width:0}#view-users .admin-config-card form{padding:20px;border:1px solid var(--line);border-radius:8px;margin:0 0 22px}#billing-policy-form label{max-width:360px}#view-users .admin-rule-note{border-top:1px solid var(--line);padding-top:18px;color:var(--muted);font-size:.82rem;line-height:1.8}#view-users .admin-rule-note p{margin:9px 0 14px}#view-users .admin-storage-summary{margin:0 0 24px}#view-users .admin-storage-summary>div{display:grid;grid-template-columns:140px minmax(0,1fr);gap:18px;padding:15px 0;border-bottom:1px solid var(--line)}#view-users .admin-storage-summary dt{color:var(--muted);font-size:.82rem}#view-users .admin-storage-summary dd{margin:0;overflow-wrap:anywhere;font-size:.88rem}#view-users #workspace-form{border-top:1px solid var(--line);padding-top:22px;margin-top:10px}@media(max-width:720px){#view-users .settings-card{padding:18px}#view-users .admin-summary{grid-template-columns:1fr;gap:18px}#view-users .admin-card-heading{gap:12px}#view-users .admin-storage-summary>div{grid-template-columns:1fr;gap:7px}}

.workspace-directory{display:grid;gap:12px;margin:18px 0}.workspace-entry{border:1px solid var(--border,#dce2e7);border-radius:12px;padding:18px;display:flex;align-items:center;justify-content:space-between;gap:18px}.workspace-entry h3{margin:0 0 8px;font-size:16px}.workspace-entry p{margin:5px 0}.workspace-entry .row-actions{flex-wrap:wrap;justify-content:flex-end}@media(max-width:700px){.workspace-entry{align-items:flex-start;flex-direction:column}.workspace-entry .row-actions{justify-content:flex-start}}

/* Closed until server identity is known and all permission-dependent views are rendered. */
#shell[hidden],#shell:not([data-access-ready="true"]){display:none!important}
.workspace-loading{min-height:100dvh;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16px;color:var(--muted,#647078);font-size:14px}.workspace-loading-mark{width:30px;height:30px;border:3px solid var(--line,#dce2e7);border-top-color:var(--accent,#227965);border-radius:50%;animation:workspace-ready-spin 1s linear infinite}@keyframes workspace-ready-spin{to{transform:rotate(360deg)}}@media(prefers-reduced-motion:reduce){.workspace-loading-mark{animation:none}}

/* Shopify setup: actionable granted shops and two clear business purposes. */
.shopify-welcome{padding:24px;margin-bottom:20px}.shopify-welcome h2{margin:6px 0 10px}.shopify-eyebrow{font-size:11px;letter-spacing:.08em;color:var(--primary,#287467)}.shopify-benefits{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:20px 0}.shopify-benefits article{border:1px solid var(--border,#dedede);border-radius:10px;padding:18px}.shopify-benefits p{color:var(--muted,#666);line-height:1.7;margin:10px 0 0}.shopify-granted-list{display:grid;gap:10px;margin:14px 0}.shopify-granted-list article{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:16px;border:1px solid var(--border,#dedede);border-radius:10px}.shopify-granted-list small{display:block;margin-top:6px;color:var(--muted,#666)}.shopify-granted-list .field-help{display:block;margin-top:8px}.shopify-sales-product{display:flex;align-items:center;gap:12px}.shopify-sales-product img{width:44px;height:60px;object-fit:cover;border-radius:5px}#oauth-platform-fields{border:0;padding:0;margin-top:16px}#oauth-platform-fields:disabled{opacity:.7}@media(max-width:640px){.shopify-benefits{grid-template-columns:1fr}.shopify-granted-list article{align-items:flex-start;flex-direction:column}.shopify-welcome{padding:16px}}

.workbench-scope{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:18px 20px;margin:10px 0 20px;border:1px solid var(--border,#dedede);border-radius:10px;background:var(--panel,#fff)}.workbench-scope strong{font-size:15px}.workbench-scope p{margin:7px 0 0;color:var(--muted,#666);font-size:12px;line-height:1.6}.workbench-scope-controls{display:flex;align-items:flex-end;gap:12px;flex-wrap:wrap}.workbench-scope-controls label{font-size:12px;color:var(--muted,#666);min-width:160px;margin:0}.workbench-scope-controls select{margin-top:6px;max-width:240px}.product-origin{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin:8px 0;font-size:11px;line-height:1.5}.origin-space{padding:3px 7px;border-radius:5px;background:var(--soft,#edf3f2);color:var(--primary,#296c61);max-width:100%;overflow-wrap:anywhere}.origin-creator{color:var(--muted,#666);overflow-wrap:anywhere}.workbench-preview-dialog{width:min(1050px,96vw);padding:0}.workbench-preview-dialog .dialog-top,.workbench-preview-dialog .dialog-actions{padding:20px}.workbench-preview-images{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.workbench-preview-images img{width:100%;border-radius:8px;object-fit:contain;max-height:340px}.workbench-preview-specs{display:flex;flex-wrap:wrap;gap:24px;margin:20px 0}.workbench-preview-specs dt{font-size:12px;color:var(--muted,#666)}.workbench-preview-specs dd{margin:5px 0;font-size:14px}.product-table input:disabled{cursor:not-allowed;opacity:.4}@media(max-width:1000px){.workbench-scope{align-items:flex-start;flex-direction:column}.workbench-scope-controls{width:100%}.workbench-scope-controls label{flex:1;min-width:130px}.workbench-scope-controls select{max-width:100%;width:100%}}@media(max-width:640px){.workbench-scope{padding:14px}.workbench-preview-images{grid-template-columns:repeat(2,minmax(0,1fr))}}

.generation-scope{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:20px 22px;margin-bottom:12px}.generation-scope h2{margin:0 0 6px;font-size:16px}.generation-scope p{margin:0}.generation-save-bar>div{display:flex;gap:8px;flex-wrap:wrap}@media(max-width:640px){.generation-scope{align-items:flex-start;flex-direction:column}}
