:root{color-scheme:light;--wine-950: #351018;--wine-900: #461721;--wine-800: #58202c;--wine-700: #6d2a38;--wine-600: #834050;--wine-100: #f1e1e3;--wine-50: #f8eff0;--stone-950: #211d1a;--stone-800: #403a35;--stone-700: #5d554d;--stone-600: #776e64;--stone-500: #93897c;--stone-300: #cfc5b7;--stone-200: #dfd7cc;--stone-150: #e9e2d8;--stone-100: #f0ebe3;--stone-50: #f7f4ee;--paper: #fdfbf7;--gold-700: #8e6934;--gold-600: #a77f42;--gold-500: #be995c;--gold-200: #e5d2ad;--gold-100: #f3ead7;--green-700: #35634d;--green-100: #e5efe8;--amber-700: #9a6427;--amber-100: #f7ead5;--red-700: #a23d3d;--red-100: #f7e1df;--blue-700: #426573;--blue-100: #e4edf0;--shadow-sm: 0 8px 20px rgba(59, 41, 27, .05);--shadow-md: 0 24px 60px rgba(54, 30, 24, .09);--shadow-lg: 0 40px 100px rgba(39, 18, 19, .18);--sidebar-width: 264px;--sidebar-preferred-width: 264px}.development-workspace{color:#403a35}.development-entry{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:18px 20px;border:1px solid rgba(88,32,44,.22);border-left:5px solid #6d2a38;background:#f7f2ea}.development-entry h3,.development-entry p{margin:3px 0 0}.development-baseline{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;margin-bottom:18px;padding:20px 22px;border:1px solid rgba(88,32,44,.2);border-left:5px solid #58202c;background:#fdfbf7}.development-baseline h3,.development-baseline p{margin:4px 0 0}.development-baseline-meta{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px;max-width:440px}.development-baseline-meta>span{padding:7px 10px;border:1px solid rgba(88,32,44,.13);background:#f0ebe3;font-size:12px;font-weight:700}.development-layout{display:grid;grid-template-columns:minmax(190px,230px) minmax(0,1fr);gap:18px;align-items:start}.development-version-rail{position:sticky;top:0;display:grid;gap:14px;max-height:calc(100vh - 170px);overflow:auto}.development-version-rail>section{border:1px solid rgba(88,32,44,.18);background:#fdfbf7}.development-version-rail>section>header{display:grid;gap:2px;padding:12px 14px;border-bottom:1px solid rgba(88,32,44,.14);background:#f0ebe3}.development-version-rail header small,.requirement-item-heading small,.development-attachments header small{color:#6f665f;font-size:11px}.development-rail-list{display:grid;gap:1px}.development-rail-list>button{display:grid;grid-template-columns:1fr auto;gap:5px 8px;width:100%;padding:12px 14px;border:0;border-left:3px solid transparent;border-bottom:1px solid rgba(88,32,44,.08);color:#403a35;background:transparent;text-align:left;cursor:pointer}.development-rail-list>button:hover,.development-rail-list>button:focus-visible{background:#f7f2ea}.development-rail-list>button.is-active{border-left-color:#6d2a38;background:#f7eadf}.development-rail-list>button>b{grid-column:1 / -1;overflow:hidden;font-size:12px;text-overflow:ellipsis;white-space:nowrap}.development-rail-list>p{margin:0;padding:14px;color:#756c65;font-size:12px}.development-content{display:grid;gap:18px;min-width:0}.development-panel{padding:20px;border:1px solid rgba(88,32,44,.18);background:#fdfbf7}.development-panel-header,.development-actions,.development-form-actions,.requirement-item-heading,.development-attachments>header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.development-panel-header{margin-bottom:16px;padding-bottom:13px;border-bottom:1px solid rgba(88,32,44,.12)}.development-panel-header h3{margin:3px 0 0}.development-actions{flex-wrap:wrap;justify-content:flex-end}.development-form,.development-decision-form{display:grid;gap:18px}.development-field-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.development-field-grid .field,.development-decision-form .field{display:grid;gap:6px}.development-field-grid .field>span,.development-decision-form .field>span{font-size:12px;font-weight:800}.development-field-grid .is-full{grid-column:1 / -1}.development-field-grid input,.development-field-grid select,.development-field-grid textarea,.development-decision-form input,.development-decision-form select,.development-decision-form textarea{width:100%}.requirement-item-heading{align-items:center;padding-top:5px}.requirement-item-heading>div{display:grid;gap:3px}.requirement-item-list{display:grid;gap:10px}.requirement-item{display:grid;grid-template-columns:58px minmax(130px,.45fr) minmax(180px,1fr);gap:12px;padding:14px;border:1px solid rgba(88,32,44,.14);background:#fbf8f2}.requirement-item>.is-full,.requirement-item>.danger-text{grid-column:2 / -1}.requirement-item-order{grid-row:1 / span 3;display:grid;align-content:start;justify-items:center;gap:5px;padding-right:10px;border-right:1px solid rgba(88,32,44,.13)}.requirement-item-order>strong{color:#6d2a38;font-size:17px}.requirement-item-order>button{width:28px;height:26px;border:1px solid rgba(88,32,44,.2);color:#58202c;background:#fdfbf7}.customer-sample-evidence,.development-attachments,.development-conflicts,.immutable-notice{padding:14px;border:1px solid rgba(154,100,39,.28);background:#f7ead5}.development-attachments{border-color:#58202c26;background:#f7f3ec}.development-attachments>header>div{display:grid;gap:3px}.attachment-upload-button{position:relative;overflow:hidden}.attachment-upload-button input{position:absolute;width:1px;height:1px;opacity:0}.attachment-upload-button.is-disabled{cursor:not-allowed;opacity:.55}.development-attachment-list,.development-timeline,.legacy-sample-list{display:grid;gap:8px;margin-top:12px}.development-attachment-list>article,.legacy-sample-list>article{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 12px;border:1px solid rgba(88,32,44,.1);background:#fdfbf7}.development-attachment-list article>div,.legacy-sample-list article{display:grid;gap:3px}.development-conflicts{display:grid;gap:9px;margin-bottom:14px;border-color:#a23d3d59;background:#f7e1df}.development-conflicts>p{margin:0}.development-conflicts>article{display:flex;align-items:center;justify-content:space-between;gap:10px}.development-conflicts>article>div{display:flex;gap:8px}.development-form-actions{justify-content:flex-end;padding-top:14px;border-top:1px solid rgba(88,32,44,.12)}.development-timeline>article{display:grid;grid-template-columns:54px minmax(0,1fr);gap:12px;padding:14px 0;border-bottom:1px solid rgba(88,32,44,.1)}.development-timeline-sequence{color:#6d2a38;font-weight:900}.development-timeline article>div:last-child,.development-timeline article>div:last-child>header{display:grid;gap:6px}.development-timeline article>div:last-child>header{grid-template-columns:1fr auto}.development-timeline p{margin:0;white-space:pre-wrap}.development-timeline small{display:block;color:#6f665f}.timeline-correction,.danger-text{color:#a23d3d!important}.feature-permission-control{min-height:42px}@media(max-width:768px){.development-entry{align-items:stretch;flex-direction:column}.development-baseline,.development-panel-header,.requirement-item-heading,.development-attachments>header{align-items:stretch;flex-direction:column}.development-baseline-meta{justify-content:flex-start;max-width:none}.development-layout{grid-template-columns:minmax(0,1fr)}.development-version-rail{position:static;grid-template-columns:minmax(0,1fr);max-height:none}.development-field-grid,.requirement-item{grid-template-columns:minmax(0,1fr)}.requirement-item-order{grid-row:auto;grid-template-columns:1fr auto auto;justify-items:start;padding:0 0 8px;border-right:0;border-bottom:1px solid rgba(88,32,44,.13)}.requirement-item>.is-full,.requirement-item>.danger-text{grid-column:auto}.development-actions,.development-form-actions{justify-content:stretch}.development-actions .button,.development-form-actions .button{flex:1}}*{box-sizing:border-box}html{min-width:320px;background:var(--stone-100);color:var(--stone-950);scroll-behavior:smooth}body{margin:0;min-width:320px;min-height:100vh;background:radial-gradient(circle at 95% 0%,rgba(172,132,73,.1),transparent 25rem),linear-gradient(180deg,#f4f0e9,#f0ebe3);color:var(--stone-950);font-family:PingFang SC,Microsoft YaHei,Noto Sans CJK SC,Source Han Sans SC,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;-webkit-font-smoothing:antialiased}button,input,select,textarea{font:inherit}button{color:inherit}button,a{-webkit-tap-highlight-color:transparent}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,a:focus-visible{outline:2px solid var(--gold-500);outline-offset:2px}::selection{background:var(--gold-200);color:var(--wine-950)}.app-shell{min-height:100vh;--sidebar-width: var(--sidebar-preferred-width, 264px);--record-header-height: 44px;--record-row-height: 78px;--record-card-row-padding: 12px}.page-section[data-row-density=low],.customer-style-workspace[data-row-density=low]{--record-header-height: 40px;--record-row-height: 60px;--record-card-row-padding: 8px}.page-section[data-row-density=medium],.customer-style-workspace[data-row-density=medium]{--record-header-height: 44px;--record-row-height: 78px;--record-card-row-padding: 12px}.page-section[data-row-density=high],.customer-style-workspace[data-row-density=high]{--record-header-height: 50px;--record-row-height: 100px;--record-card-row-padding: 16px}.page-section[data-row-density=extraHigh],.customer-style-workspace[data-row-density=extraHigh]{--record-header-height: 56px;--record-row-height: 128px;--record-card-row-padding: 22px}.app-shell.is-sidebar-collapsed{--sidebar-width: var(--sidebar-collapsed-width, 76px)}.sidebar{position:fixed;inset:0 auto 0 0;z-index:60;display:flex;width:var(--sidebar-width);flex-direction:column;overflow:hidden;color:#f7f0e5;background:radial-gradient(circle at 0 0,rgba(205,164,94,.11),transparent 17rem),linear-gradient(155deg,#45141e,#331116 56%,#211717);border-right:1px solid rgba(255,255,255,.06);box-shadow:16px 0 40px #3a1b1d0f;transition:width .18s ease}.sidebar:before,.login-visual:before{position:absolute;top:-5rem;right:-7rem;width:18rem;height:18rem;content:"";opacity:.28;border:1px solid rgba(212,178,113,.22);border-radius:44% 56% 52% 48%;transform:rotate(28deg);pointer-events:none}.brand{position:relative;z-index:1;display:flex;min-height:92px;align-items:center;gap:13px;padding:0 22px;border-bottom:1px solid rgba(255,255,255,.08)}.brand-mark,.login-brand>span{display:grid;width:43px;height:43px;flex:0 0 auto;place-items:center;color:var(--wine-950);background:linear-gradient(145deg,#e0c58e,#a5783a);border:1px solid rgba(255,255,255,.27);border-radius:12px;font-family:Songti SC,STSong,SimSun,serif;font-size:23px;box-shadow:inset 0 1px #ffffff5c}.brand>div,.login-brand>div{display:flex;min-width:0;flex-direction:column}.brand strong,.login-brand strong{overflow:hidden;font-family:Songti SC,STSong,SimSun,serif;font-size:20px;font-weight:600;letter-spacing:.08em;text-overflow:ellipsis;white-space:nowrap}.brand small,.login-brand small{margin-top:4px;color:#ffffff6e;font-size:9px;letter-spacing:.13em}.side-nav{position:relative;z-index:1;display:flex;flex:1;flex-direction:column;gap:2px;overflow:auto;padding:16px 11px 22px;scrollbar-color:rgba(255,255,255,.12) transparent;scrollbar-width:thin}.nav-group{display:flex;flex-direction:column;gap:2px;margin-top:12px}.nav-group>p{margin:0;padding:8px 12px 6px;color:#ffffff4d;font-size:10px;letter-spacing:.2em}.nav-item{display:grid;width:100%;min-height:48px;grid-template-columns:31px 1fr 10px;align-items:center;gap:10px;padding:6px 10px;cursor:pointer;text-align:left;color:#ffffffab;background:transparent;border:0;border-radius:9px;transition:color .15s ease,background .15s ease,transform .15s ease}.nav-item:hover{color:#fff;background:#ffffff0e;transform:translate(1px)}.nav-item.is-active{color:#fff;background:linear-gradient(90deg,#d0a76038,#d0a7600a);box-shadow:inset 2px 0 #c9a661,0 8px 24px #12060824}.nav-item>span{display:grid;width:30px;height:30px;place-items:center;color:#ffffffa1;background:#ffffff08;border:1px solid rgba(255,255,255,.1);border-radius:8px;font-family:Songti SC,STSong,serif;font-size:12px}.nav-item.is-active>span{color:#ead29d;background:#d4ae6617;border-color:#d4ae6657}.nav-item>div{display:flex;min-width:0;flex-direction:column}.nav-item strong{font-size:13px;font-weight:600;letter-spacing:.02em}.nav-item small{overflow:hidden;margin-top:2px;color:#ffffff80;font-size:10px;text-overflow:ellipsis;white-space:nowrap}.nav-item>b{color:#fff3;font-size:16px;font-weight:400}.sidebar-footer{position:relative;z-index:1;display:grid;gap:8px;padding:12px;background:#1208092e;border-top:1px solid rgba(255,255,255,.08)}.cloud-status{display:flex;align-items:center;gap:9px;padding:9px 10px;color:#ffffff85;background:#ffffff08;border:1px solid rgba(255,255,255,.06);border-radius:9px}.cloud-status>span{width:7px;height:7px;background:#79bc89;border-radius:50%;box-shadow:0 0 0 4px #79bc891a}.cloud-status>div{display:flex;min-width:0;flex-direction:column}.cloud-status strong{color:#ffffffbd;font-size:11px}.cloud-status small{overflow:hidden;margin-top:2px;font-size:10px;text-overflow:ellipsis;white-space:nowrap}.user-card{display:grid;width:100%;grid-template-columns:35px 1fr 16px;align-items:center;gap:9px;padding:8px;cursor:pointer;text-align:left;color:#fff;background:transparent;border:0;border-radius:9px}.user-card:hover{background:#ffffff0b}.user-card>span{display:grid;width:34px;height:34px;place-items:center;background:#ffffff14;border:1px solid rgba(255,255,255,.1);border-radius:50%;font-family:Songti SC,STSong,serif}.user-card>div{display:flex;min-width:0;flex-direction:column}.user-card strong{font-size:12px}.user-card small{margin-top:2px;color:#ffffff8f;font-size:10px}.user-card>b{color:#ffffff47;font-weight:400}.main-shell{width:calc(100% - var(--sidebar-width));min-height:100vh;min-width:0;margin-left:var(--sidebar-width);transition:margin-left .18s ease}.topbar{position:sticky;top:0;z-index:40;display:grid;min-height:68px;grid-template-columns:minmax(190px,1fr) auto minmax(230px,1fr);align-items:center;gap:20px;padding:0 28px;background:#f8f5efe0;border-bottom:1px solid rgba(199,188,172,.7);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px)}.breadcrumb{display:flex;align-items:center;gap:9px;color:var(--stone-500);font-size:11px}.breadcrumb b{color:var(--stone-300)}.breadcrumb strong{color:var(--stone-950);font-weight:650}.topbar-center{display:flex;align-items:center;gap:8px;color:var(--stone-500);font-size:9px}.local-badge{padding:5px 7px;color:var(--green-700);background:var(--green-100);border:1px solid rgba(53,99,77,.12);border-radius:6px;font-size:8px;font-weight:800;letter-spacing:.08em}.topbar-actions{display:flex;justify-content:flex-end;gap:7px}.row-density-control{display:inline-flex;min-height:34px;align-items:center;gap:5px;padding:0 6px 0 9px;color:var(--stone-600);background:#fdfbf7cc;border:1px solid var(--stone-200);border-radius:9px;font-size:10px;font-weight:700;white-space:nowrap}.row-density-control .themed-select.is-compact{min-width:64px}.row-density-control .select-trigger{min-height:30px}.quick-action{display:flex;min-height:34px;align-items:center;gap:6px;padding:0 10px;cursor:pointer;color:var(--stone-700);background:#ffffff8c;border:1px solid var(--stone-200);border-radius:8px;font-size:9px}.quick-action:hover{color:var(--wine-800);background:#fff;border-color:var(--gold-200)}.quick-action>span{color:var(--wine-600);font-weight:800}.mobile-menu{display:none}.workspace-mode-control{position:relative;z-index:35;display:flex;min-height:58px;align-items:center;gap:14px;padding:9px 30px;background:#fdfbf7f0;border-bottom:1px solid var(--stone-200);box-shadow:0 8px 24px #3b291b09}.workspace-mode-buttons{display:inline-flex;flex:0 0 auto;gap:3px;padding:3px;background:var(--stone-100);border:1px solid var(--stone-200);border-radius:12px}.workspace-mode-buttons>button{min-height:36px;padding:0 15px;cursor:pointer;color:var(--stone-600);background:transparent;border:0;border-radius:9px;font-size:11px;font-weight:700}.workspace-mode-buttons>button.is-active{color:#fff;background:var(--wine-800);box-shadow:0 5px 14px #671f2c33}.workspace-mode-buttons>button:disabled{cursor:not-allowed;opacity:.55}.workspace-mode-hint,.workspace-customer-picker>span{color:var(--stone-500);font-size:10px}.workspace-customer-picker{display:flex;min-width:0;flex:1;align-items:center;gap:10px}.workspace-customer-picker .themed-select{width:min(420px,45vw)}.workspace-picker-cancel,.workspace-current-customer{min-height:34px;padding:0 12px;cursor:pointer;color:var(--wine-700);background:#ffffffb3;border:1px solid var(--stone-200);border-radius:9px;font-size:10px;font-weight:700}.customer-workspace-header{display:grid;width:min(1920px,calc(100% - clamp(28px,3.4vw,72px)));min-height:118px;grid-template-columns:minmax(280px,1.05fr) minmax(340px,1fr) minmax(430px,1.35fr);align-items:center;gap:clamp(12px,1.4vw,24px);margin:22px auto 0;padding:clamp(15px,1.2vw,22px);background:linear-gradient(120deg,#fffffffa,#faf4eaf5);border:1px solid var(--stone-200);border-radius:16px;box-shadow:0 14px 34px #3b291b0f}.customer-workspace-context{display:flex;min-width:0;align-items:center;gap:clamp(13px,1vw,18px)}.customer-workspace-mark{display:grid;width:clamp(46px,3vw,58px);height:clamp(46px,3vw,58px);flex:0 0 auto;place-items:center;color:var(--wine-800);background:var(--gold-100);border:1px solid var(--gold-200);border-radius:14px;font-family:Songti SC,STSong,SimSun,serif;font-size:clamp(21px,1.5vw,28px)}.customer-workspace-context p{margin:0 0 4px;color:var(--gold-700);font-size:clamp(10px,.72vw,12px);font-weight:800;letter-spacing:.08em}.customer-workspace-context h2,.customer-workspace-context strong{display:block;overflow-wrap:anywhere;margin:0;color:var(--stone-950);font-size:clamp(22px,1.55vw,31px);line-height:1.35}.customer-workspace-header dl{display:grid;min-width:0;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(8px,.7vw,12px);margin:0}.customer-workspace-header dl>div{min-width:0;padding:clamp(10px,.8vw,14px);background:#ffffff9e;border:1px solid rgba(199,188,172,.58);border-radius:10px}.customer-workspace-header dt{color:var(--stone-500);font-size:clamp(9px,.65vw,11px)}.customer-workspace-header dd{overflow:hidden;margin:5px 0 0;color:var(--stone-800);font-size:clamp(11px,.8vw,14px);font-weight:700;text-overflow:ellipsis;white-space:nowrap}.customer-workspace-actions{display:grid;min-width:0;grid-template-columns:minmax(250px,1fr) auto auto;align-items:center;gap:clamp(8px,.7vw,12px)}.customer-workspace-group-switch{display:grid;min-width:0;grid-template-columns:auto minmax(160px,1fr);align-items:center;gap:7px}.customer-workspace-group-switch>span{flex:0 0 auto;color:var(--stone-500);font-size:clamp(10px,.68vw,11px);font-weight:700}.customer-workspace-group-switch .themed-select{min-width:0;width:100%}.customer-workspace-group-switch>small{grid-column:1 / -1;color:var(--stone-500);font-size:clamp(9px,.64vw,11px);line-height:1.4}.customer-workspace-error{display:block;color:var(--red-700);font-size:10px}.content-shell{width:100%;min-width:0}.page-section{width:min(1600px,100%);min-width:0;margin:0 auto;padding:30px 30px 52px}.page-heading{display:flex;min-height:92px;align-items:flex-start;justify-content:space-between;gap:24px;margin-bottom:22px}.page-heading>div{min-width:0}.eyebrow{margin:0 0 7px;color:var(--gold-700);font-size:9px;font-weight:700;letter-spacing:.14em;text-transform:uppercase}.page-heading h1{margin:0;color:var(--stone-950);font-family:Songti SC,STSong,SimSun,serif;font-size:clamp(27px,2.5vw,37px);font-weight:600;letter-spacing:.03em}.page-heading>div>p:last-child{max-width:780px;margin:9px 0 0;color:var(--stone-600);font-size:11px;line-height:1.8}.button{display:inline-flex;min-height:39px;align-items:center;justify-content:center;gap:7px;padding:0 14px;cursor:pointer;border:1px solid transparent;border-radius:9px;font-size:10px;font-weight:650;transition:transform .15s ease,box-shadow .15s ease,background .15s ease}.button:hover:not(:disabled){transform:translateY(-1px)}.button:disabled{cursor:not-allowed;opacity:.55}.button.primary{color:#fff8eb;background:linear-gradient(145deg,var(--wine-700),var(--wine-900));border-color:#ffffff0f;box-shadow:0 10px 24px #531f2b2e}.button.primary:hover:not(:disabled){box-shadow:0 14px 30px #531f2b3d}.button.danger{color:#fff;background:linear-gradient(145deg,#a23d3d,#722a34);border-color:#ffffff14;box-shadow:0 10px 24px #722a3433}.button.danger:hover:not(:disabled){box-shadow:0 14px 30px #722a3447}.button.secondary{color:var(--wine-800);background:var(--paper);border-color:var(--stone-200);box-shadow:var(--shadow-sm)}.button.ghost{color:var(--stone-700);background:transparent;border-color:var(--stone-200)}.button.compact{min-height:32px;padding:0 10px;font-size:9px}.text-button{padding:0;cursor:pointer;color:var(--wine-700);background:transparent;border:0;font-size:9px;font-weight:650}.text-button:hover{color:var(--gold-700)}.toolbar{display:flex;min-height:56px;align-items:center;flex-wrap:wrap;gap:9px;margin-bottom:12px;padding:8px;background:#fdfbf7d1;border:1px solid var(--stone-200);border-radius:12px;box-shadow:var(--shadow-sm)}.module-context-card{display:flex;min-width:0;align-items:center;justify-content:space-between;gap:18px;margin:-4px 0 12px;padding:12px 14px;color:var(--stone-700);background:linear-gradient(90deg,#f3ead7e6,#fdfbf7eb);border:1px solid var(--gold-200);border-radius:12px;box-shadow:var(--shadow-sm)}.module-context-card>div{display:grid;min-width:0;grid-template-columns:auto minmax(0,1fr);align-items:baseline;gap:3px 10px}.module-context-card span{color:var(--gold-700);font-size:10px;font-weight:800;letter-spacing:.08em}.module-context-card strong{min-width:0;overflow:hidden;color:var(--wine-800);font-size:13px;text-overflow:ellipsis;white-space:nowrap}.module-context-card small{grid-column:1 / -1;color:var(--stone-600);font-size:11px;line-height:1.45}.module-context-card>.text-button{flex:0 0 auto;white-space:nowrap}.material-sourcing-page,.garment-costing-page{display:grid;min-width:0;gap:14px}.material-sourcing-page>.page-section,.garment-costing-page>.page-section,.table-card,.table-scroll{min-width:0}.material-sourcing-switcher,.garment-costing-switcher{display:flex;align-items:center;justify-content:space-between;gap:24px;margin:22px 30px -8px;padding:16px 18px;background:linear-gradient(120deg,#faf5ebfa,#fffdf9f5);border:1px solid var(--gold-200);border-radius:16px;box-shadow:var(--shadow-sm)}.material-sourcing-switcher>div:first-child,.garment-costing-switcher>div:first-child{display:grid;min-width:0;gap:4px}.material-sourcing-switcher .eyebrow,.garment-costing-switcher .eyebrow{margin:0}.material-sourcing-switcher strong,.garment-costing-switcher strong{color:var(--stone-950);font-family:Songti SC,STSong,SimSun,serif;font-size:24px}.material-sourcing-switcher small,.garment-costing-switcher small{color:var(--stone-600);font-size:12px;line-height:1.55}.material-sourcing-tabs,.garment-costing-tabs{display:grid;flex:0 0 min(420px,42%);grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:6px;background:#ece5dab8;border:1px solid var(--stone-200);border-radius:14px}.material-sourcing-tabs button,.garment-costing-tabs button{min-height:44px;padding:9px 14px;color:var(--stone-600);font-weight:700;background:transparent;border:1px solid transparent;border-radius:10px;cursor:pointer}.material-sourcing-tabs button:hover,.garment-costing-tabs button:hover,.garment-checklist-tabs button:hover{color:var(--wine-800)}.material-sourcing-tabs button.is-active,.garment-costing-tabs button.is-active,.garment-checklist-tabs button.is-active{color:var(--wine-800);background:var(--paper);border-color:var(--gold-200);box-shadow:var(--shadow-sm)}.material-quote-context{margin:0 30px -8px}.garment-checklist-tabs{display:flex;gap:8px;margin:0 30px -8px;padding-bottom:2px;border-bottom:1px solid var(--stone-200)}.garment-checklist-tabs button{min-height:38px;padding:7px 16px;color:var(--stone-600);font-weight:700;background:transparent;border:1px solid transparent;border-radius:10px 10px 0 0;cursor:pointer}.garment-checklist-tabs button.is-active{border-bottom-color:var(--paper)}.garment-costing-context{margin:0 30px -8px}.record-customer-context,.customer-context-gate{display:grid;gap:5px;margin-bottom:14px;padding:13px 15px;background:linear-gradient(120deg,#f3ead7d1,#fdfbf7f5);border:1px solid var(--gold-200);border-radius:12px;box-shadow:var(--shadow-sm)}.record-customer-context{grid-template-columns:auto minmax(0,1fr);align-items:baseline;gap:4px 12px}.record-customer-context span{color:var(--gold-700);font-size:10px;font-weight:800;letter-spacing:.08em}.record-customer-context strong{color:var(--wine-800);font-size:14px}.record-customer-context small{grid-column:1 / -1;color:var(--stone-600);font-size:11px}.record-customer-context.is-list-scope{margin:-4px 0 12px}.customer-context-gate{grid-template-columns:minmax(0,1fr) minmax(260px,.62fr);align-items:center;gap:16px}.customer-context-gate h3,.customer-context-gate p{margin:0}.customer-context-gate h3{color:var(--wine-800);font-family:Songti SC,STSong,serif;font-size:18px}.customer-context-gate p:not(.eyebrow){margin-top:4px;color:var(--stone-600);font-size:11px}.row-customer-context{display:block;margin-bottom:5px;color:var(--stone-500);font-size:9px;line-height:1.35}.search-box{display:grid;width:min(430px,100%);min-height:38px;flex:1 1 300px;grid-template-columns:27px 1fr;align-items:center;padding:0 8px;color:var(--stone-500);background:#fff;border:1px solid var(--stone-200);border-radius:9px}.search-box:focus-within{border-color:var(--gold-500);box-shadow:0 0 0 3px #be995c1c}.search-box>.search-icon{display:grid;width:20px;height:20px;place-items:center}.search-icon svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-linecap:round;stroke-width:1.8}.search-box input{width:100%;height:36px;color:var(--stone-950);background:transparent;border:0;outline:0;font-size:13px;line-height:1.35}.search-box input::placeholder{color:var(--stone-500)}.compact-filter{display:flex;min-height:40px;align-items:center;gap:6px;padding:0 8px 0 10px;color:var(--stone-500);background:var(--stone-50);border:1px solid var(--stone-200);border-radius:9px;font-size:8px;white-space:nowrap}.toolbar-filters{display:flex;min-width:0;flex:1 1 auto;flex-wrap:wrap;align-items:center;gap:8px}.toolbar-actions{display:flex;flex:0 0 auto;align-items:center;gap:8px;margin-left:auto}.clear-filters{min-height:36px;padding:0 5px;white-space:nowrap}.table-card,.dashboard-card{overflow:hidden;background:#fdfbf7f0;border:1px solid var(--stone-200);border-radius:13px;box-shadow:var(--shadow-sm)}.table-meta{display:flex;min-height:calc(var(--record-header-height) + 3px);align-items:center;justify-content:space-between;gap:16px;padding:0 16px;color:var(--stone-500);border-bottom:1px solid var(--stone-150);font-size:9px}.table-meta b{color:var(--wine-700)}.table-meta small{font-size:8px}.table-meta .scan-warning{color:#9d5c00;font-weight:700}.table-scroll{position:relative;overflow-x:auto}.table-scroll.is-empty{overflow-x:hidden}.table-scroll.is-empty table{display:none}table{width:100%;min-width:980px;border-collapse:collapse;table-layout:auto}thead{background:#f6f2eb}th{height:var(--record-header-height);padding:0 12px;text-align:left;color:var(--stone-600);border-bottom:1px solid var(--stone-200);font-size:8px;font-weight:700;letter-spacing:.06em;white-space:nowrap}td{height:var(--record-row-height);max-width:310px;padding:8px 12px;color:var(--stone-700);border-bottom:1px solid var(--stone-150);font-size:9px;vertical-align:middle}tbody tr{transition:background .12s ease}tbody tr:hover{background:#f5eee273}tbody tr:last-child td{border-bottom:0}tr.record-commit-highlight>td{animation:record-commit-highlight 2.4s ease-out}@keyframes record-commit-highlight{0%,35%{background-color:#ebd8a26b;box-shadow:inset 3px 0 0 var(--wine-600)}to{background-color:transparent;box-shadow:inset 3px 0 0 transparent}}.style-group-workspace-scope{display:grid;grid-template-columns:auto auto minmax(220px,1fr);align-items:center;gap:9px;margin:0 0 12px;padding:10px 13px;color:var(--stone-700);background:var(--green-100);border:1px solid rgba(71,111,86,.16);border-radius:11px}.style-group-workspace-scope>span,.style-group-workspace-scope>small{font-size:11px}.style-group-workspace-scope>strong{color:var(--green-700);font-size:12px}.style-group-workspace-scope>small{min-width:0;color:var(--stone-600);line-height:1.55}.style-group-workspace-scope.is-summary{background:var(--gold-100);border-color:var(--gold-200)}.style-group-workspace-scope.is-summary>strong{color:var(--gold-700)}.style-record-group-row,.style-record-group-row:hover{background:linear-gradient(90deg,var(--wine-50),rgba(248,244,238,.96))}.style-record-group-row td{height:auto;padding:9px 12px;border-top:1px solid var(--wine-100);border-bottom:1px solid var(--wine-100)}.style-record-group-row td>span,.style-record-group-row td>strong,.style-record-group-row td>small{display:inline-block;margin-right:9px}.style-record-group-row td>span,.style-record-group-row td>small{color:var(--stone-500);font-size:10px}.style-record-group-row td>strong{color:var(--wine-800);font-size:12px}.actions-column{width:265px}.cell-button{display:block;width:100%;overflow:hidden;padding:0;cursor:pointer;text-align:left;color:inherit;background:transparent;border:0;font-size:9px;text-overflow:ellipsis;white-space:nowrap}.cell-button:hover{color:var(--wine-700)}.cell-button.is-primary{color:var(--stone-950);font-weight:700}.style-description-cell{display:grid;width:100%;min-width:0;justify-items:start;gap:5px;text-align:left;white-space:normal}.style-description-cell>strong{width:100%;min-width:0;color:var(--stone-900);font-size:10px;line-height:1.45;overflow-wrap:anywhere;text-align:left;white-space:normal}.style-description-cell>small,.style-variant-components{width:100%;min-width:0;color:var(--stone-500);font-size:9px;font-weight:600;line-height:1.45;overflow-wrap:anywhere;text-align:left;white-space:normal}.status-pill{display:inline-flex;min-height:23px;align-items:center;justify-content:center;max-width:150px;padding:3px 8px;overflow:hidden;color:var(--stone-700);background:var(--stone-100);border:1px solid rgba(119,110,100,.08);border-radius:999px;font-size:8px;font-weight:700;line-height:1.2;text-overflow:ellipsis;white-space:nowrap}.status-pill.success{color:var(--green-700);background:var(--green-100);border-color:#35634d17}.status-pill.warning{color:var(--amber-700);background:var(--amber-100);border-color:#9a642717}.status-pill.danger{color:var(--red-700);background:var(--red-100);border-color:#a23d3d17}.status-pill.info{color:var(--blue-700);background:var(--blue-100);border-color:#42657317}.realtime-disconnect-warning{display:block;margin:0 0 14px;padding:9px 12px;border:1px solid rgba(154,100,39,.34);border-left:3px solid #9a6427;border-radius:8px;background:#f7ead5;color:#58202c;font-size:13px;font-weight:650;line-height:1.5}.pending-structural-marker{display:inline-flex;width:fit-content;max-width:100%;align-items:center;gap:6px;margin:0 0 6px;padding:3px 7px;border:1px solid transparent;border-radius:999px;font-size:12px;font-weight:700;line-height:1.35;white-space:normal}.pending-structural-marker.is-warning{border-color:#9a642757;background:#f7ead5;color:#9a6427}.pending-structural-marker.is-danger{border-color:#a23d3d4d;background:#f7e1df;color:#a23d3d}tr.is-structural-pending>td{background-color:#f7ead53d}tr.is-structural-pending.is-write-blocked>td{background-color:#f7e1df4d}.style-group-pending-shell{display:grid;gap:7px}.style-group-pending-markers{display:flex;flex-wrap:wrap;gap:6px;padding-inline:2px}.style-group-pending-markers .pending-structural-marker{margin:0}.style-variant-pending-shell{display:grid;border-bottom:1px solid var(--stone-150)}.style-variant-pending-shell:last-child{border-bottom:0}.style-variant-pending-shell>.pending-structural-marker{width:fit-content;margin:7px 18px 0}.style-variant-pending-shell>.style-variant-row{border-bottom:0}.row-actions{display:flex;align-items:center;gap:8px;white-space:nowrap}.row-actions button{padding:0;cursor:pointer;color:var(--wine-700);background:transparent;border:0;font-size:8px;font-weight:650}.row-actions button:hover{color:var(--gold-700)}.row-actions button:disabled,.mobile-menu:disabled{opacity:.42;cursor:not-allowed}.row-actions .danger-text{color:var(--red-700)}.pagination{display:flex;min-height:48px;align-items:center;justify-content:space-between;padding:0 14px;color:var(--stone-500);background:#f8f5ef;border-top:1px solid var(--stone-150);font-size:8px}.pagination>div{display:flex;gap:6px}.pagination button{min-height:29px;padding:0 10px;cursor:pointer;color:var(--stone-700);background:var(--paper);border:1px solid var(--stone-200);border-radius:7px;font-size:8px}.pagination button:disabled{cursor:not-allowed;opacity:.45}.empty-state{display:flex;min-height:300px;align-items:center;justify-content:center;flex-direction:column;padding:40px;text-align:center;color:var(--stone-500)}.empty-state>span{display:grid;width:48px;height:48px;place-items:center;margin-bottom:14px;color:var(--gold-700);background:var(--gold-100);border:1px solid var(--gold-200);border-radius:50%;font-family:Songti SC,serif}.empty-state strong{color:var(--stone-800);font-family:Songti SC,serif;font-size:16px}.empty-state p{max-width:420px;margin:8px 0 0;font-size:9px;line-height:1.7}.mini-empty{display:grid;min-height:82px;place-items:center;color:var(--stone-500);background:var(--stone-50);border:1px dashed var(--stone-200);border-radius:9px;font-size:9px}.skeleton-row span,.skeleton-block{background:linear-gradient(90deg,#dcd4c86b 25%,#efeae2e6,#dcd4c86b 75%);background-size:200% 100%;animation:shimmer 1.3s infinite}.skeleton-row span{display:block;width:75%;height:9px;border-radius:5px}@keyframes shimmer{to{background-position:-200% 0}}.state-card{display:flex;min-height:160px;align-items:center;justify-content:center;flex-direction:column;gap:8px;padding:30px;text-align:center;background:var(--paper);border:1px solid var(--stone-200);border-radius:13px}.danger-state{color:var(--red-700);background:var(--red-100);border-color:#a23d3d24}.danger-state span{color:var(--stone-700);font-size:9px}.state-actions{display:flex;flex-wrap:wrap;justify-content:center;gap:10px}.state-actions .button,.bulk-action-bar .button,.bulk-action-bar .text-button,.bulk-plan-footer .button,.bulk-plan-section .button{min-height:44px}.selection-column{width:48px;min-width:48px;text-align:center}.selection-column input{width:20px;height:20px;accent-color:var(--wine-700)}.bulk-action-bar{position:fixed;z-index:70;right:max(20px,calc((100vw - 1440px)/2 + 20px));bottom:24px;left:max(20px,calc(var(--sidebar-width, 250px) + 24px));display:flex;align-items:center;justify-content:center;gap:12px;padding:12px 16px;color:var(--stone-950);background:#fffcf6f7;border:1px solid var(--gold-300);border-radius:16px;box-shadow:0 18px 48px #42262033;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}.bulk-action-bar strong{margin-right:10px;color:var(--wine-800)}.bulk-plan{display:grid;gap:18px}.bulk-plan-summary{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:10px}.bulk-plan-summary span,.bulk-plan-section{padding:14px;background:var(--paper-warm);border:1px solid var(--stone-200);border-radius:12px}.bulk-plan-summary b{display:block;color:var(--wine-800);font-size:22px}.bulk-plan-summary .bulk-plan-pending-summary{background:linear-gradient(135deg,var(--gold-100),var(--paper-warm));border-color:var(--gold-300)}.bulk-pending-upload-note{border-left:4px solid var(--gold-500)}.bulk-pending-upload-note p{margin:0;color:var(--stone-700)}.state-card.bulk-cleanup-retry-card{min-height:0;align-items:center;justify-content:space-between;flex-direction:row;gap:18px;margin-bottom:16px;padding:16px 18px;text-align:left;background:linear-gradient(135deg,var(--gold-100),var(--paper));border-color:var(--gold-300);border-left:4px solid var(--wine-700)}.bulk-cleanup-retry-copy{display:grid;gap:4px}.bulk-cleanup-retry-copy strong{color:var(--wine-800)}.bulk-cleanup-retry-copy span{color:var(--stone-700);line-height:1.6}.bulk-cleanup-retry-card .button{min-height:44px;flex:0 0 auto}.bulk-plan-section{display:grid;gap:10px}.bulk-plan-section-header,.bulk-cycle-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.bulk-plan-section-header .button{flex:0 0 auto}.bulk-plan-section ul{max-height:180px;margin:0;overflow:auto}.bulk-plan-section li{display:flex;min-height:44px;align-items:center;justify-content:space-between;gap:12px}.bulk-plan-section li .text-button{min-height:44px;flex:0 0 auto}.bulk-cycle-list{display:grid;gap:12px;padding:0;list-style:none}.bulk-cycle-list>li{display:grid;gap:8px;padding:12px;border:1px solid color-mix(in srgb,var(--wine-700) 24%,transparent);border-radius:10px;background:color-mix(in srgb,var(--paper-warm) 82%,white)}.bulk-cycle-list>li>ul{padding-left:18px}.bulk-cycle-heading span{color:var(--stone-600);font-size:13px}.bulk-cycle-position{color:var(--stone-600);font-size:13px;white-space:nowrap}.bulk-plan-footer{display:flex;align-items:center;justify-content:flex-end;gap:10px}.bulk-plan-footer small{margin-right:auto;color:var(--stone-600)}@media(max-width:768px){.bulk-action-bar{right:12px;bottom:12px;left:12px;flex-wrap:wrap}.bulk-plan-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.bulk-plan-section-header{align-items:stretch;flex-direction:column}.bulk-plan-section-header .button{width:100%}.bulk-plan-footer,.state-card.bulk-cleanup-retry-card{align-items:stretch;flex-direction:column}.bulk-cleanup-retry-card .button{width:100%}}body.is-modal-open{overflow:hidden}.modal-backdrop{position:fixed;inset:0;z-index:100;display:grid;place-items:center;padding:18px;background:#1e0f1085;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);animation:fade-in .14s ease-out}@keyframes fade-in{0%{opacity:0}}.modal-panel{position:relative;display:flex;width:min(670px,100%);max-height:min(92vh,970px);flex-direction:column;overflow:hidden;background:var(--paper);border:1px solid rgba(255,255,255,.55);border-radius:16px;box-shadow:var(--shadow-lg);animation:modal-in .17s ease-out}.modal-panel.is-wide{width:min(1140px,100%)}@keyframes modal-in{0%{opacity:0;transform:translateY(12px) scale(.985)}}.modal-header{display:flex;min-height:80px;align-items:center;justify-content:space-between;gap:16px;padding:16px 20px;background:linear-gradient(90deg,rgba(241,225,227,.55),transparent 45%),var(--paper);border-bottom:1px solid var(--stone-200)}.modal-header h2{margin:0;color:var(--stone-950);font-family:Songti SC,STSong,serif;font-size:21px;font-weight:600}.icon-button{display:grid;width:40px;height:40px;flex:0 0 40px;place-items:center;padding:0;cursor:pointer;color:var(--stone-600);background:var(--stone-50);border:1px solid var(--stone-200);border-radius:50%;line-height:0}.icon-button svg{display:block;width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round}.icon-button:hover{color:var(--wine-700);background:#fff}.modal-body{min-height:0;flex:1 1 auto;overflow:auto;padding:20px}.confirm-dialog-content{display:grid;grid-template-columns:42px minmax(0,1fr);align-items:flex-start;gap:13px;padding:2px 0 18px}.confirm-dialog-mark{display:grid;width:40px;height:40px;place-items:center;color:var(--wine-800);background:var(--gold-100);border:1px solid var(--gold-200);border-radius:50%;font-family:Songti SC,STSong,serif;font-size:21px;font-weight:700}.confirm-dialog-content.is-danger .confirm-dialog-mark{color:var(--red-700);background:var(--red-100);border-color:#a23d3d2e}.confirm-dialog-content strong{display:block;margin:1px 0 6px;color:var(--stone-900);font-family:Songti SC,STSong,serif;font-size:16px}.confirm-dialog-content p{margin:0;color:var(--stone-600);font-size:11px;line-height:1.75}.confirm-dialog-actions{display:flex;justify-content:flex-end;gap:9px;margin:0 -20px -20px;padding:14px 20px 20px;background:var(--stone-50);border-top:1px solid var(--stone-150)}.record-form{display:grid;gap:18px}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px 17px}.style-identity-fields{display:grid;grid-column:1 / -1;gap:14px;padding:15px;background:linear-gradient(135deg,rgba(190,153,92,.08),transparent 54%),var(--stone-50);border:1px solid var(--stone-150);border-radius:13px}.style-identity-fields>header{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}.style-identity-fields>header>div{display:grid;gap:3px}.style-identity-fields>header strong{color:var(--wine-800);font-family:Songti SC,STSong,serif;font-size:15px;font-weight:650}.style-identity-fields>header small{color:var(--stone-500);font-size:12px;line-height:1.5}.style-identity-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px 15px}.style-identity-content-fields{display:grid;grid-column:1 / -1;grid-template-columns:minmax(0,1fr);gap:13px}.style-composition-fields{display:grid;gap:13px;padding:14px;background:var(--paper);border:1px solid var(--stone-200);border-left:4px solid var(--wine-700);border-radius:10px}.style-composition-fields>header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.style-composition-fields>header>div{display:grid;gap:4px}.style-composition-fields>header strong{color:var(--wine-800);font-family:Songti SC,STSong,serif;font-size:16px;font-weight:650}.style-composition-fields>header small,.style-composition-count>small{color:var(--stone-500);font-size:12px;line-height:1.55}.style-composition-label{display:block;width:360px;min-width:0;max-width:46%;flex:0 1 360px;padding:6px 9px;color:var(--wine-800);background:var(--gold-100);border:1px solid var(--gold-200);border-radius:14px;font-size:12px;font-weight:750;line-height:1.5;overflow-wrap:anywhere;text-align:left;white-space:normal}.style-composition-count{max-width:300px}.style-composition-count .select-trigger,.style-composition-row .select-trigger{min-height:44px}.style-composition-list{display:grid;gap:9px}.style-composition-row{display:grid;grid-template-columns:42px repeat(2,minmax(0,1fr));align-items:end;gap:10px;padding:11px;background:var(--stone-50);border:1px solid var(--stone-150);border-radius:9px}.style-composition-index{display:grid;width:34px;height:44px;place-items:center;align-self:end;color:var(--paper);background:var(--wine-800);border-radius:7px 2px;font-variant-numeric:tabular-nums;font-size:12px;font-weight:800}.style-composition-row .field{min-width:0}.style-component-stable-id{grid-column:2 / -1;color:var(--green-700);font-size:12px}.style-component-stable-id.is-new{color:var(--amber-700)}.style-composition-save-row{display:flex;min-height:44px;align-items:center;justify-content:space-between;gap:12px;padding-top:3px}.style-composition-save-row>div{display:grid;gap:4px}.style-composition-save-success{color:var(--green-700);font-size:12px}.style-composition-fields.has-error{border-color:var(--red-700)}@media(max-width:720px){.style-composition-fields>header{align-items:stretch;flex-direction:column}.style-composition-label{width:100%;max-width:none;flex-basis:auto;border-radius:7px;text-align:left}.style-composition-count{max-width:none}.style-composition-row{grid-template-columns:42px minmax(0,1fr)}.style-composition-row .field,.style-component-stable-id{grid-column:2}}.style-identity-fields input[readonly]{color:var(--wine-800);background:#ffffff9e;font-weight:700}.business-choice-multi{display:grid;gap:9px}.business-choice-multi-values{display:flex;min-height:40px;flex-wrap:wrap;align-items:center;gap:7px;padding:8px;background:#ffffffb3;border:1px solid var(--stone-200);border-radius:9px}.business-choice-multi-values>span{display:inline-flex;align-items:center;gap:6px;padding:5px 7px 5px 10px;color:var(--wine-800);background:var(--gold-100);border:1px solid var(--gold-200);border-radius:999px;font-size:12px;font-weight:700}.business-choice-multi-values button{display:grid;width:20px;height:20px;place-items:center;padding:0;cursor:pointer;color:var(--wine-700);background:#ffffffb8;border:0;border-radius:50%;line-height:1}.business-choice-multi-empty{margin:0;padding:10px 12px;color:var(--stone-500);background:var(--stone-50);border:1px dashed var(--stone-200);border-radius:9px;font-size:12px}.style-code-status{padding:9px 11px;border:1px solid transparent;border-radius:9px;font-size:12px;line-height:1.55}.style-code-status.success{color:#49623f;background:#5b844e1a;border-color:#5b844e29}.style-code-status.warning{color:#876225;background:#be995c1f;border-color:#be995c33}.style-code-status.danger{color:var(--red-700);background:var(--red-100);border-color:#a23d3d21}.field{display:flex;min-width:0;flex-direction:column;gap:6px}.field.is-full{grid-column:1 / -1}.field>label{color:var(--stone-700);font-size:9px;font-weight:700}.field>label b{margin-left:3px;color:var(--red-700)}.field input,.field select,.field textarea,.login-card input{width:100%;color:var(--stone-950);background:#fff;border:1px solid var(--stone-200);border-radius:9px;outline:0;font-size:10px;transition:border .14s ease,box-shadow .14s ease}.field input,.field select,.login-card input{min-height:40px;padding:0 11px}.field textarea{min-height:92px;padding:10px 11px;resize:vertical;line-height:1.65}.field input:focus,.field select:focus,.field textarea:focus,.login-card input:focus{border-color:var(--gold-500);box-shadow:0 0 0 3px #be995c1f}.field.has-error input,.field.has-error select,.field.has-error textarea,.field.has-error .select-trigger,.select-trigger[aria-invalid=true]{border-color:var(--red-700);box-shadow:0 0 0 3px #a23d3d1a}.field-error{display:flex;align-items:flex-start;gap:5px;margin:0;color:var(--red-700);font-size:11px;font-weight:650;line-height:1.45}.field small{color:var(--stone-500);font-size:8px;line-height:1.5}.checkbox-control{display:flex;min-height:40px;align-items:center;gap:8px;padding:0 11px;background:var(--stone-50);border:1px solid var(--stone-200);border-radius:9px}.checkbox-control input{width:15px;min-height:auto;height:15px;accent-color:var(--wine-700)}.checkbox-control span{color:var(--stone-700);font-size:9px}.form-actions{position:sticky;bottom:-20px;z-index:5;display:flex;justify-content:flex-end;gap:8px;margin:0 -20px -20px;padding:14px 20px 20px;background:#fdfbf7fa;border-top:1px solid var(--stone-150);box-shadow:0 -10px 22px #3b291b0e}.form-alert{padding:11px 13px;color:var(--red-700);background:var(--red-100);border:1px solid rgba(162,61,61,.13);border-radius:9px;font-size:9px;line-height:1.6}.form-alert.is-recoverable{display:flex;align-items:center;justify-content:space-between;gap:12px}.form-alert-recovery{min-height:44px;flex:0 0 auto}.form-alert.is-remote-sync,.form-alert.is-remote-deleted{font-size:13px}.form-alert.is-remote-sync{color:var(--stone-800);background:var(--amber-100);border-color:#b06a183d}.record-remote-conflicts{display:grid;gap:12px;padding:14px;background:var(--stone-50);border:1px solid rgba(162,61,61,.28);border-left:4px solid var(--red-700);border-radius:10px}.record-remote-conflicts:focus-visible{outline:3px solid rgba(122,38,58,.24);outline-offset:3px}.record-remote-conflicts>header{display:grid;gap:3px}.record-remote-conflicts>header strong{color:var(--wine-800);font-size:14px}.record-remote-conflicts>header span{color:var(--stone-600);font-size:12px;line-height:1.5}.record-remote-conflict{display:grid;gap:8px;padding-top:11px;border-top:1px solid var(--stone-200)}.record-remote-conflict>strong{color:var(--stone-950);font-size:13px}.record-remote-conflict-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.record-remote-conflict-option{display:grid;min-width:0;min-height:52px;gap:3px;padding:9px 11px;color:var(--stone-800);text-align:left;background:var(--paper);border:1px solid var(--stone-300);border-radius:8px;cursor:pointer}.record-remote-conflict-option:hover,.record-remote-conflict-option:focus-visible{border-color:var(--wine-600);box-shadow:0 0 0 3px #7a263a1f}.record-remote-conflict-option span{color:var(--stone-600);font-size:12px}.record-remote-conflict-option b{overflow-wrap:anywhere;font-size:14px;font-weight:650}.detail-layout{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(280px,.72fr);gap:20px}.detail-layout.is-single{grid-template-columns:minmax(0,1fr)}.detail-main{min-width:0}.detail-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1px;overflow:hidden;background:var(--stone-200);border:1px solid var(--stone-200);border-radius:11px}.detail-item{display:flex;min-height:66px;align-items:flex-start;justify-content:center;flex-direction:column;gap:6px;padding:12px 14px;background:#fff}.detail-item.is-full{grid-column:1 / -1}.detail-item>span{color:var(--stone-500);font-size:8px}.detail-item>strong,.detail-item>a{overflow-wrap:anywhere;color:var(--stone-900);font-size:10px;font-weight:650;line-height:1.6;white-space:pre-wrap}.detail-item>a{color:var(--wine-700)}.detail-item>.detail-inline-error{color:var(--danger-700, #9f2d2d)}.record-system-meta{display:flex;flex-wrap:wrap;gap:8px 20px;margin-top:12px;padding:12px 14px;color:var(--stone-500);background:var(--stone-50);border:1px solid var(--stone-150);border-radius:9px;font-size:8px}.record-system-meta>div{display:flex;align-items:center;gap:7px}.record-system-meta b,.record-system-meta code{color:var(--stone-700);font-size:8px}.record-system-meta code{max-width:200px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.attachment-panel{min-width:0;padding:14px;background:#f6f2eb;border:1px solid var(--stone-200);border-radius:11px}.attachment-panel>header{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.attachment-panel h3{margin:0;font-family:Songti SC,serif;font-size:16px}.attachment-hint{margin:10px 0 12px;color:var(--stone-500);font-size:8px;line-height:1.6}.attachment-dropzone{display:grid;min-height:142px;place-items:center;align-content:center;gap:5px;margin:12px 0;padding:16px;cursor:pointer;text-align:center;color:var(--stone-600);background:radial-gradient(circle at 50% 0%,rgba(190,153,92,.1),transparent 8rem),#ffffff8f;border:1px dashed var(--stone-300);border-radius:10px;transition:color .14s ease,background .14s ease,border-color .14s ease,transform .14s ease}.attachment-dropzone:hover,.attachment-dropzone:focus-visible,.attachment-dropzone.is-dragging{color:var(--wine-800);background:var(--gold-100);border-color:var(--gold-500)}.attachment-dropzone.is-dragging{transform:translateY(-2px)}.attachment-dropzone.is-disabled{cursor:wait;opacity:.62}.attachment-dropzone>span{display:grid;width:34px;height:34px;place-items:center;color:var(--wine-700);background:#fff;border:1px solid var(--gold-200);border-radius:50%;font-size:22px;line-height:1}.attachment-dropzone>strong{color:var(--stone-800);font-size:13px}.attachment-dropzone>p,.attachment-dropzone>small{max-width:360px;margin:0;font-size:11px;line-height:1.55}.attachment-dropzone>small{color:var(--stone-500)}.attachment-preview{display:grid;gap:10px;margin:12px 0;padding:11px;background:#ffffffb8;border:1px solid var(--gold-200);border-radius:10px}.attachment-preview>header,.attachment-preview>footer{display:flex;align-items:center;justify-content:space-between;gap:9px}.attachment-preview>header>div{display:grid;gap:3px}.attachment-preview>header strong{color:var(--stone-800);font-size:11px}.attachment-preview>header small{color:var(--stone-500);font-size:8px}.attachment-preview-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(112px,1fr));gap:8px}.attachment-preview-card{display:grid;min-width:0;min-height:112px;place-items:center;overflow:hidden;margin:0;color:var(--wine-700);background:var(--stone-50);border:1px solid var(--stone-200);border-radius:8px}.attachment-preview-card>span{display:grid;width:42px;height:42px;place-items:center;margin:13px 0 5px;background:var(--wine-50);border-radius:10px;font-size:9px;font-weight:800}.attachment-preview-card img{display:block;width:100%;height:96px;object-fit:cover;background:var(--stone-100)}.attachment-preview-image-button,.style-thumbnail-button{display:block;padding:0;cursor:zoom-in;background:transparent;border:0}.attachment-preview-image-button{width:100%}.attachment-preview-image-button:focus-visible,.style-thumbnail-button:focus-visible{outline:2px solid var(--gold-500);outline-offset:2px}.attachment-image-preview-frame{position:relative;min-width:0}.attachment-image-preview-dialog{position:relative;display:block;min-height:min(52vh,520px);max-height:min(66vh,720px);padding:0;overflow:auto;overscroll-behavior:contain;touch-action:none;cursor:grab;background:var(--stone-50);border:1px solid var(--stone-200);border-radius:10px}.attachment-image-preview-dialog.is-swipe-ready{touch-action:pan-y}.attachment-image-preview-dialog.is-dragging{cursor:grabbing;-webkit-user-select:none;user-select:none}.attachment-image-canvas{display:flex;min-width:100%;min-height:inherit;align-items:center;justify-content:center;padding:14px}.attachment-image-canvas>img{display:block;flex:0 0 auto;max-width:none;max-height:none;background-color:var(--paper);background-image:linear-gradient(45deg,var(--stone-100) 25%,transparent 25%),linear-gradient(-45deg,var(--stone-100) 25%,transparent 25%),linear-gradient(45deg,transparent 75%,var(--stone-100) 75%),linear-gradient(-45deg,transparent 75%,var(--stone-100) 75%);background-position:0 0,0 6px,6px -6px,-6px 0;background-size:12px 12px;border-radius:7px;-webkit-user-select:none;user-select:none;-webkit-user-drag:none}.attachment-image-viewer{display:grid;gap:10px}.attachment-image-edge-nav{position:absolute;top:50%;z-index:3;display:grid;width:44px;height:44px;place-items:center;padding:0;transform:translateY(-50%);color:var(--wine-700);background:#fdfbf7f0;border:1px solid var(--gold-200);border-radius:999px;box-shadow:var(--shadow-sm);transition:opacity .16s ease,background-color .16s ease}.attachment-image-edge-nav.is-previous{left:12px}.attachment-image-edge-nav.is-next{right:12px}.attachment-image-edge-nav svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.8}.attachment-image-edge-nav:hover,.attachment-image-edge-nav:focus-visible,.style-editor-media-nav:hover:not(:disabled),.style-editor-media-nav:focus-visible:not(:disabled){color:#fff;background:var(--wine-700);border-color:var(--wine-700)}.attachment-image-viewer-status{display:flex;min-width:0;align-items:center;gap:8px;color:var(--stone-600);font-size:12px;line-height:1.5}.attachment-image-viewer-status>span:nth-child(2){min-width:0;flex:1}.attachment-image-kind{display:inline-flex;flex:0 0 auto;align-items:center;min-height:26px;padding:3px 9px;color:var(--green-700);background:var(--green-100);border:1px solid var(--green-100);border-radius:999px;font-weight:800}.attachment-image-viewer-toolbar,.attachment-image-viewer-zoom,.attachment-image-viewer-footer{display:flex;align-items:center;gap:7px}.attachment-image-viewer-toolbar,.attachment-image-viewer-footer{justify-content:space-between}.attachment-image-viewer-toolbar{justify-content:flex-end}.attachment-image-viewer-toolbar,.attachment-image-viewer-zoom{flex-wrap:wrap}.attachment-image-viewer-zoom .button[aria-pressed=true]{color:var(--wine-800);background:var(--wine-50);border-color:var(--wine-100)}.attachment-image-zoom-value{display:inline-grid;min-width:52px;min-height:34px;place-items:center;color:var(--stone-700);font-size:12px;font-weight:800}.attachment-image-viewer-footer small{color:var(--stone-500);font-size:11px;line-height:1.45}.attachment-preview-card figcaption{display:grid;width:100%;min-width:0;gap:2px;padding:8px;background:#fff}.attachment-preview-card figcaption strong,.attachment-preview-card figcaption small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.attachment-preview-card figcaption strong{color:var(--stone-800);font-size:8px}.attachment-preview-card figcaption small{color:var(--stone-500);font-size:7px}.attachment-preview>footer{justify-content:flex-end}.attachment-error{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;margin:9px 0;padding:9px 10px;color:var(--red-700);background:var(--red-100);border:1px solid rgba(162,61,61,.14);border-radius:8px;font-size:11px;line-height:1.5}.attachment-error>span{min-width:0;overflow-wrap:anywhere}.attachment-error .text-button{flex:0 0 auto;min-height:44px;padding:0 8px;font-size:12px}.attachment-error.is-warning{color:var(--stone-800);background:var(--amber-100);border-color:#8e69343d}.upload-progress{display:grid;gap:7px;margin-top:11px;padding:9px 10px;color:var(--stone-600);background:#fff;border:1px solid var(--gold-200);border-radius:8px}.upload-progress>div{display:flex;align-items:center;justify-content:space-between;font-size:8px}.upload-progress b{color:var(--wine-700)}.upload-progress>i{display:block;height:5px;overflow:hidden;background:var(--stone-150);border-radius:999px}.upload-progress>i>span{display:block;height:100%;background:linear-gradient(90deg,var(--wine-700),var(--gold-600));border-radius:inherit;transition:width .16s ease}.attachment-list{display:grid;gap:7px}.attachment-row{display:grid;min-width:0;grid-template-columns:minmax(0,1fr) auto;align-items:stretch;gap:6px}.attachment-item{display:grid;width:100%;grid-template-columns:34px 1fr 14px;align-items:center;gap:9px;padding:9px;cursor:pointer;text-align:left;background:#fff;border:1px solid var(--stone-200);border-radius:9px}.attachment-item:hover{border-color:var(--gold-200);box-shadow:var(--shadow-sm)}.attachment-item>span{display:grid;width:32px;height:32px;place-items:center;color:var(--wine-700);background:var(--wine-50);border-radius:8px;font-size:8px;font-weight:800}.attachment-item>div{display:flex;min-width:0;flex-direction:column}.attachment-item strong{overflow:hidden;color:var(--stone-800);font-size:8px;text-overflow:ellipsis;white-space:nowrap}.attachment-item small{margin-top:3px;color:var(--stone-500);font-size:7px}.attachment-delete{padding:0 9px;cursor:pointer;color:var(--red-700);background:#ffffffb8;border:1px solid rgba(162,61,61,.16);border-radius:8px;font-size:11px;font-weight:700}.attachment-delete:hover:not(:disabled){color:#fff;background:var(--red-700)}.attachment-delete:disabled{cursor:wait;opacity:.55}.attachment-item>b{color:var(--gold-700);font-size:10px}.toast{position:fixed;right:22px;bottom:22px;z-index:160;max-width:420px;padding:12px 16px;color:#fff;background:var(--green-700);border:1px solid rgba(255,255,255,.15);border-radius:10px;box-shadow:var(--shadow-lg);overflow-wrap:anywhere;font-size:13px;animation:toast-in .18s ease-out}.toast.danger{background:var(--red-700)}@keyframes toast-in{0%{opacity:0;transform:translateY(12px)}}.metric-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px;margin-bottom:12px}.metric-card{position:relative;min-height:125px;overflow:hidden;padding:16px;cursor:pointer;text-align:left;background:var(--paper);border:1px solid var(--stone-200);border-radius:12px;box-shadow:var(--shadow-sm)}.metric-card:after{position:absolute;right:-24px;bottom:-30px;width:90px;height:90px;content:"";background:var(--stone-100);border-radius:50%;opacity:.75}.metric-card:hover{border-color:var(--gold-200);box-shadow:var(--shadow-md);transform:translateY(-1px)}.metric-card>span{position:relative;z-index:1;color:var(--stone-600);font-size:9px;font-weight:700}.metric-card>strong{position:relative;z-index:1;display:block;margin:11px 0 7px;color:var(--stone-950);font-family:Songti SC,serif;font-size:28px;font-weight:600}.metric-card>small{position:relative;z-index:1;color:var(--stone-500);font-size:8px}.metric-card.wine:after{background:var(--wine-100)}.metric-card.red:after{background:var(--red-100)}.metric-card.amber:after{background:var(--amber-100)}.metric-card.green:after{background:var(--green-100)}.metric-card.gold:after{background:var(--gold-100)}.dashboard-card{padding:17px}.dashboard-card>header,.detail-section>header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:14px}.dashboard-card h2,.detail-section h3{margin:0;color:var(--stone-950);font-family:Songti SC,serif;font-size:18px;font-weight:600}.dashboard-card header>small{color:var(--stone-500);font-size:8px}.flow-card{margin-bottom:12px}.stage-flow{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}.stage-node{display:grid;min-height:72px;grid-template-columns:26px 1fr auto;align-items:center;gap:8px;padding:10px;cursor:pointer;text-align:left;background:linear-gradient(135deg,rgba(241,225,227,.35),transparent 55%),#f8f5ef;border:1px solid var(--stone-150);border-radius:9px}.stage-node:hover{background:#fff;border-color:var(--gold-200)}.stage-node>span{display:grid;width:25px;height:25px;place-items:center;color:var(--gold-700);border:1px solid var(--gold-200);border-radius:50%;font-size:7px}.stage-node strong{color:var(--stone-700);font-size:9px}.stage-node b{color:var(--wine-700);font-family:Songti SC,serif;font-size:18px;font-weight:600}.dashboard-columns{display:grid;grid-template-columns:1.2fr .8fr;gap:12px;margin-bottom:12px}.compact-columns{grid-template-columns:repeat(2,minmax(0,1fr))}.work-list,.issue-list,.queue-list{display:grid;gap:6px}.work-item{display:grid;width:100%;min-height:60px;grid-template-columns:88px minmax(130px,1fr) auto 82px;align-items:center;gap:10px;padding:8px 9px;cursor:pointer;text-align:left;background:#faf8f3;border:1px solid var(--stone-150);border-radius:9px}.work-item:hover,.issue-item:hover{background:#fff;border-color:var(--gold-200)}.work-code{color:var(--wine-700);font-size:9px;font-weight:800}.work-item>div,.issue-item>div{display:flex;min-width:0;flex-direction:column}.work-item strong,.issue-item strong{overflow:hidden;color:var(--stone-800);font-size:9px;text-overflow:ellipsis;white-space:nowrap}.work-item small,.issue-item small{overflow:hidden;margin-top:3px;color:var(--stone-500);font-size:7px;text-overflow:ellipsis;white-space:nowrap}.work-item time{color:var(--stone-600);font-size:8px;text-align:right}.issue-item{display:grid;width:100%;min-height:58px;grid-template-columns:10px 1fr auto;align-items:center;gap:9px;padding:8px 9px;cursor:pointer;text-align:left;background:#faf8f3;border:1px solid var(--stone-150);border-radius:9px}.severity-dot{width:7px;height:7px;background:var(--stone-300);border-radius:50%}.severity-dot.danger{background:var(--red-700);box-shadow:0 0 0 4px var(--red-100)}.severity-dot.warning{background:var(--amber-700);box-shadow:0 0 0 4px var(--amber-100)}.severity-dot.info{background:var(--blue-700);box-shadow:0 0 0 4px var(--blue-100)}.queue-list>div{display:grid;min-height:42px;grid-template-columns:120px 1fr auto;align-items:center;gap:10px;padding:0 10px;color:var(--stone-600);background:#faf8f3;border:1px solid var(--stone-150);border-radius:8px;font-size:8px}.queue-list strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.queue-list b{color:var(--wine-700)}.dashboard-skeleton .tall{height:210px}.style-detail{display:grid;min-width:0;grid-template-columns:minmax(0,1fr);gap:14px}.loading-state{display:grid;min-height:380px;place-items:center;color:var(--stone-500);font-size:10px}.style-summary{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:1px;overflow:hidden;background:var(--stone-200);border:1px solid var(--stone-200);border-radius:10px}.style-summary>div{display:flex;min-height:70px;align-items:flex-start;justify-content:center;flex-direction:column;gap:7px;padding:10px 13px;background:#fff}.style-summary span{color:var(--stone-500);font-size:8px}.style-summary strong{color:var(--stone-800);font-size:10px}.warning-stack{display:grid;gap:6px}.warning-item{display:grid;grid-template-columns:28px 1fr;align-items:center;gap:9px;padding:9px 11px;color:var(--red-700);background:var(--red-100);border:1px solid rgba(162,61,61,.12);border-radius:9px}.warning-item>span{display:grid;width:27px;height:27px;place-items:center;color:#fff;background:var(--red-700);border-radius:50%;font-size:10px;font-weight:800}.warning-item>div{display:flex;flex-direction:column}.warning-item strong{font-size:9px}.warning-item small{margin-top:2px;color:var(--stone-600);font-size:8px}.integrity-ok{display:flex;min-height:45px;align-items:center;gap:9px;padding:0 12px;color:var(--green-700);background:var(--green-100);border:1px solid rgba(53,99,77,.12);border-radius:9px;font-size:9px;font-weight:700}.integrity-ok>span{display:grid;width:24px;height:24px;place-items:center;color:#fff;background:var(--green-700);border-radius:50%}.detail-section{min-width:0;padding:15px;background:#f8f5ef;border:1px solid var(--stone-200);border-radius:11px}.ledger-flow{display:flex;align-items:stretch;gap:0;overflow-x:auto;padding-bottom:4px}.ledger-node-wrap{display:flex;min-width:93px;align-items:center;flex:1 0 93px}.ledger-node-wrap>b{padding:0 5px;color:var(--stone-300);font-weight:400}.ledger-node{display:flex;min-width:78px;flex:1;align-items:center;justify-content:center;flex-direction:column;gap:6px;padding:10px 7px;background:#fff;border:1px solid var(--stone-200);border-radius:8px}.ledger-node span{color:var(--stone-500);font-size:7px}.ledger-node strong{color:var(--wine-700);font-family:Songti SC,serif;font-size:17px}.terminal-inspection-summary{display:grid;gap:8px;margin-top:10px;padding-top:10px;border-top:1px dashed var(--stone-200)}.terminal-inspection-summary>small{color:var(--stone-600);font-size:10px;line-height:1.55}.terminal-inspection-summary>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.terminal-inspection-summary article{display:grid;grid-template-columns:minmax(72px,1fr) repeat(3,auto);align-items:center;gap:8px;padding:10px 12px;background:#fff;border:1px solid var(--stone-200);border-radius:8px}.terminal-inspection-summary article>strong{color:var(--wine-700);font-size:11px}.terminal-inspection-summary article>span{color:var(--stone-500);font-size:10px;white-space:nowrap}.terminal-inspection-summary article b{color:var(--stone-900)}.material-ledger-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.material-ledger-grid>article{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1px;overflow:hidden;background:var(--stone-150);border:1px solid var(--stone-200);border-radius:9px}.material-ledger-grid article>header{display:flex;grid-column:1 / -1;align-items:center;justify-content:space-between;padding:10px 11px;background:var(--wine-800)}.material-ledger-grid header strong,.material-ledger-grid header span{color:#fff;font-size:8px}.material-ledger-grid article>div{display:flex;min-height:54px;justify-content:center;flex-direction:column;gap:5px;padding:8px 10px;background:#fff}.material-ledger-grid article>div span{color:var(--stone-500);font-size:7px}.material-ledger-grid article>div b{color:var(--stone-800);font-size:9px}.material-ledger-grid article>.material-available b{color:var(--wine-700)}.material-ledger-grid article>.material-source-summary{display:grid;grid-column:1 / -1;min-height:0;gap:4px;padding:9px 10px;background:var(--gold-50)}.material-ledger-grid article>.material-source-summary>span{color:var(--gold-800)}.material-ledger-grid article>.material-source-summary>b{color:var(--stone-800);font-size:8px;line-height:1.45}.material-source-summary .text-button{justify-self:start;padding:0;font-size:8px}.empty-inline{padding:18px;color:var(--stone-500);text-align:center;background:#fff;border:1px dashed var(--stone-250);border-radius:8px;font-size:8px}.cost-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.cost-total{display:flex;min-height:92px;justify-content:center;flex-direction:column;padding:12px;background:#fff;border:1px solid var(--stone-200);border-radius:9px}.cost-total>span{color:var(--stone-500);font-size:8px}.cost-total strong{margin:7px 0 4px;color:var(--wine-800);font-family:Songti SC,serif;font-size:20px}.cost-total small{color:var(--stone-500);font-size:7px}.positive{color:var(--green-700)}.negative{color:var(--red-700)}.cost-breakdown{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:6px;margin-top:8px}.cost-breakdown>div{display:flex;min-width:0;flex-direction:column;gap:5px;padding:8px;background:#fff;border:1px solid var(--stone-150);border-radius:8px}.cost-breakdown span{color:var(--stone-500);font-size:7px}.cost-breakdown b{overflow:hidden;color:var(--stone-800);font-size:8px;text-overflow:ellipsis}.cost-method-note{max-width:920px;margin:-3px 0 12px;color:var(--stone-600);font-size:12px;line-height:1.65}.cost-overview-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.cost-comparison-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:10px}.cost-comparison-grid>article,.cost-line-group{min-width:0;overflow:hidden;background:#fff;border:1px solid var(--stone-200);border-radius:10px}.cost-comparison-grid>article>header,.cost-line-group>header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px 13px;background:var(--stone-100);border-bottom:1px solid var(--stone-150)}.cost-comparison-grid>article>header strong,.cost-line-group>header strong{color:var(--stone-900);font-size:13px}.cost-comparison-grid>article>header small,.cost-line-group>header small{color:var(--stone-500);font-size:11px}.cost-comparison-grid .cost-breakdown{grid-template-columns:repeat(2,minmax(0,1fr));margin:0;padding:10px}.cost-comparison-grid .cost-breakdown span,.cost-comparison-grid .cost-breakdown b{font-size:11px}.cost-missing-panel{margin-top:10px;overflow:hidden;background:#fff9eb;border:1px solid var(--gold-200);border-radius:10px}.cost-missing-panel>header{padding:11px 13px;border-bottom:1px solid var(--gold-200)}.cost-missing-panel>header div,.cost-missing-panel>div article>div{display:grid;gap:3px}.cost-missing-panel>header strong,.cost-missing-panel>div article strong{color:var(--wine-800);font-size:12px}.cost-missing-panel>header small,.cost-missing-panel>div article span{color:var(--stone-600);font-size:11px;line-height:1.55}.cost-missing-panel>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.cost-missing-panel>div article{display:flex;min-width:0;align-items:center;justify-content:space-between;gap:12px;padding:10px 13px;border-right:1px solid var(--gold-100);border-bottom:1px solid var(--gold-100)}.cost-missing-panel .text-button{flex:0 0 auto;font-size:11px}.cost-line-groups{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:10px}.cost-line-table{min-width:0}.cost-line-table-head,.cost-line-row{display:grid;grid-template-columns:minmax(150px,1.35fr) minmax(130px,1fr) minmax(86px,auto);align-items:center;gap:12px;padding:10px 13px}.cost-line-table-head{color:var(--stone-500);background:var(--stone-50);border-bottom:1px solid var(--stone-150);font-size:10px}.cost-line-row+.cost-line-row{border-top:1px solid var(--stone-150)}.cost-line-row>div{display:grid;min-width:0;gap:3px}.cost-line-row strong,.cost-line-row b{color:var(--stone-900);font-size:12px}.cost-line-row small,.cost-line-row>span{overflow:hidden;color:var(--stone-500);font-size:10px;line-height:1.45;text-overflow:ellipsis}.cost-line-row b{color:var(--wine-700);text-align:right;white-space:nowrap}@media(max-width:1120px){.cost-overview-grid,.cost-comparison-grid,.cost-line-groups{grid-template-columns:repeat(2,minmax(0,1fr))}.cost-comparison-grid,.cost-line-groups{grid-template-columns:1fr}}@media(max-width:680px){.cost-overview-grid,.cost-missing-panel>div{grid-template-columns:1fr}.cost-line-table-head{display:none}.cost-line-row{grid-template-columns:1fr auto}.cost-line-row>div{grid-column:1 / -1}.cost-line-row b{text-align:left}}.relation-counts{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:7px}.relation-counts>div,.relation-counts>button{display:flex;min-height:58px;align-items:center;justify-content:space-between;gap:7px;padding:9px;background:#fff;border:1px solid var(--stone-150);border-radius:8px}.relation-count-button{flex-wrap:wrap;cursor:pointer;text-align:left;color:inherit;font:inherit;transition:transform .14s ease,border-color .14s ease,box-shadow .14s ease}.relation-count-button:hover{transform:translateY(-1px);background:var(--gold-100);border-color:var(--gold-200);box-shadow:var(--shadow-sm)}.relation-count-button>span{min-width:0;flex:1}.relation-count-button>small{flex-basis:100%;color:var(--wine-600);font-size:10px;line-height:1.35;white-space:nowrap}.relation-counts span{color:var(--stone-500);font-size:8px}.relation-counts strong{color:var(--wine-700);font-family:Songti SC,serif;font-size:18px}.settings-grid{display:grid;grid-template-columns:1.1fr .9fr;gap:12px;margin-bottom:12px}.business-choice-settings{margin-bottom:12px}.business-choice-settings>header,.business-choice-catalog>header{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}.business-choice-settings>header>small,.business-choice-catalog>header p,.business-choice-note{margin:0;color:var(--stone-500);font-size:12px;line-height:1.6}.business-choice-bulk-bar,.business-choice-task,.business-choice-task-actions,.business-choice-replacement-fields{display:flex;align-items:center;gap:12px}.business-choice-bulk-bar{justify-content:space-between;min-height:52px;padding:8px 2px;border-bottom:1px solid var(--stone-150)}.business-choice-bulk-select,.business-choice-select{display:inline-flex;align-items:center;gap:8px}.business-choice-bulk-select{min-height:44px;color:var(--stone-800);cursor:pointer;font-weight:700}.business-choice-select{align-self:start;justify-content:center;width:44px;height:44px;cursor:pointer}.business-choice-row{position:relative}.business-choice-bulk-select input[type=checkbox],.business-choice-select input[type=checkbox]{width:19px;min-width:19px;height:19px;min-height:19px;margin:0;padding:0;cursor:pointer;accent-color:var(--wine-700)}.business-choice-bulk-select input[type=checkbox]:focus-visible,.business-choice-select input[type=checkbox]:focus-visible{outline:3px solid color-mix(in srgb,var(--gold-500) 68%,white);outline-offset:3px}.business-choice-select:has(input:disabled){cursor:not-allowed}.business-choice-task{position:sticky;z-index:20;bottom:18px;justify-content:space-between;margin-top:18px;padding:14px 18px;border:1px solid rgba(124,42,57,.26);border-radius:18px;background:#fffbf6f7;box-shadow:0 18px 44px #4b2a1e29}.business-choice-task>div:first-child{display:grid;gap:4px}.business-choice-task span,.business-choice-removal-list span,.business-choice-removal-list small{color:var(--stone-600)}.business-choice-removal-backdrop{z-index:110}.business-choice-removal-modal{width:min(980px,calc(100vw - 32px))}.business-choice-removal-list{display:grid;gap:12px;margin-top:18px}.business-choice-removal-list article{display:grid;grid-template-columns:minmax(180px,.7fr) minmax(320px,1.3fr);gap:18px;align-items:center;padding:16px;border:1px solid var(--stone-150);border-radius:16px;background:var(--stone-50)}.business-choice-removal-list article>div:first-child{display:grid;gap:5px}.business-choice-replacement-fields>.themed-select,.business-choice-replacement-fields>input{min-width:0;flex:1}.business-choice-removal-confirm{display:grid;gap:8px;margin-top:18px;padding:16px;border:1px solid rgba(159,48,48,.28);border-radius:16px;background:#ac30300f}.business-choice-removal-confirm input{width:160px;min-height:44px}.business-choice-removal-modal .modal-actions{display:flex;justify-content:flex-end;gap:12px;padding:16px 20px 20px;border-top:1px solid var(--stone-150)}@media(max-width:760px){.business-choice-bulk-bar,.business-choice-task,.business-choice-task-actions,.business-choice-replacement-fields{align-items:stretch;flex-direction:column}.business-choice-bulk-bar,.business-choice-task{align-items:stretch}.business-choice-removal-list article{grid-template-columns:minmax(0,1fr)}.business-choice-removal-modal .modal-actions{flex-direction:column-reverse}.business-choice-removal-modal .button,.business-choice-task-actions .button{min-height:44px;width:100%}}.business-choice-settings>header>small{max-width:390px;text-align:right}.business-choice-catalogs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:15px}.business-choice-catalog{min-width:0;padding:14px;background:#f8f5ef;border:1px solid var(--stone-150);border-radius:11px}.business-choice-catalog h3{margin:0 0 4px;color:var(--stone-800);font-size:14px}.business-choice-add{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;margin:13px 0 10px}.business-choice-add input,.business-choice-row>input,.business-choice-row label input:not([type=checkbox]){width:100%;min-width:0;min-height:36px;padding:7px 9px;color:var(--stone-800);background:#fff;border:1px solid var(--stone-200);border-radius:7px;font-size:12px}.business-choice-add .button{min-height:36px}.business-choice-add>.button{grid-column:2;grid-row:1;min-height:44px}.business-choice-v3-field,.business-choice-v3-scope{grid-column:1 / -1}.business-choice-v3-scope{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.business-choice-v3-field{display:grid;gap:5px;color:var(--stone-600);font-size:12px;font-weight:700}.business-choice-v3-field .select-trigger{min-height:44px;background:#fff;border-color:var(--stone-200);box-shadow:none}.business-choice-v3-classes{display:flex;min-width:0;min-height:44px;align-items:center;gap:10px;margin:0;padding:6px 9px;background:#fff;border:1px solid var(--stone-200);border-radius:7px}.business-choice-v3-classes legend{padding:0 4px;color:var(--stone-600);font-size:12px;font-weight:700}.business-choice-v3-classes label{display:inline-flex;min-height:32px;align-items:center;gap:5px;color:var(--stone-700);font-size:12px}.business-choice-v3-marker{display:grid;width:32px;height:32px;place-items:center;align-self:center;color:var(--wine-800);background:var(--paper);border:1px solid var(--gold-500);border-radius:999px;font-size:12px;font-weight:800}.business-choice-v3-status{display:flex;min-width:0;align-items:center;gap:8px}.business-choice-v3-status small{overflow:hidden;color:var(--stone-500);font-size:12px;text-overflow:ellipsis;white-space:nowrap}@media(max-width:720px){.business-choice-v3-scope{grid-template-columns:minmax(0,1fr)}.business-choice-v3-status{align-items:flex-start;flex-direction:column}.business-choice-v3-status small{white-space:normal}}.business-choice-list{display:grid;gap:7px;max-height:420px;overflow:auto;padding-right:2px}.business-choice-row{display:grid;grid-template-columns:44px minmax(0,1.35fr) minmax(118px,.85fr) minmax(72px,.45fr);align-items:end;gap:10px;padding:12px;background:#ffffffbd;border:1px solid var(--stone-150);border-radius:8px;transition:border-color .15s ease,background-color .15s ease,box-shadow .15s ease}.business-choice-row.is-selected{background:color-mix(in srgb,var(--paper-warm) 84%,#f3dfe2);border-color:color-mix(in srgb,var(--wine-700) 42%,var(--stone-150));box-shadow:inset 3px 0 0 var(--wine-700)}.business-choice-row.is-inactive{background:var(--stone-100)}.business-choice-row.is-inactive.is-selected{background:color-mix(in srgb,var(--stone-100) 78%,#f3dfe2)}.business-choice-field{display:grid;gap:5px;color:var(--stone-500);font-size:11px;font-weight:700}.business-choice-field .themed-select.is-compact{width:100%;min-width:0}.business-choice-field .themed-select.is-compact .select-trigger{min-height:36px;padding:0 9px;background:#fff;border-color:var(--stone-200);box-shadow:none}.business-choice-field input{min-width:0}.business-choice-row .status-pill{white-space:nowrap}.business-choice-row-footer{display:flex;grid-column:2 / -1;align-items:center;justify-content:space-between;gap:10px;padding-top:2px;border-top:1px solid var(--stone-150)}.business-choice-actions{display:flex;align-items:center;flex-wrap:wrap;justify-content:flex-end;gap:8px;min-height:32px;white-space:nowrap}.business-choice-note{margin-top:10px}.business-choice-workbench-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding-bottom:14px;border-bottom:1px solid var(--stone-150)}.business-choice-workbench-heading h2,.business-choice-workbench-heading p{margin:0}.business-choice-workbench-heading>div>p:last-child{max-width:720px;margin-top:5px;color:var(--stone-500);font-size:12px;line-height:1.6}.business-choice-workbench{display:grid;grid-template-columns:242px minmax(0,1fr) minmax(286px,326px);min-width:0;margin:0 -18px -18px}.business-catalog-nav{min-width:0;padding:20px 14px 22px 18px;background:#f3eee6;border-right:1px solid var(--stone-150)}.business-catalog-nav-heading h3,.business-catalog-nav-heading p{margin:0}.business-catalog-nav-heading h3{color:var(--wine-900);font-family:Songti SC,STSong,SimSun,serif;font-size:22px}.business-catalog-nav-heading>p:last-child,.business-catalog-nav-note{color:var(--stone-500);font-size:12px;line-height:1.55}.business-catalog-nav-heading>p:last-child{margin-top:6px}.business-catalog-nav-list{display:grid;gap:7px;margin-top:16px}.business-catalog-nav-item{display:grid;grid-template-columns:34px minmax(0,1fr) auto;min-height:58px;align-items:center;gap:9px;width:100%;padding:7px 8px;cursor:pointer;text-align:left;color:var(--stone-700);background:transparent;border:1px solid transparent;border-radius:10px}.business-catalog-nav-item:hover,.business-catalog-nav-item:focus-visible{background:#ffffffb3;border-color:var(--stone-200)}.business-catalog-nav-item:focus-visible,.business-choice-current-actions button:focus-visible,.garment-position-tree button:focus-visible,.garment-position-mobile-browser button:focus-visible,.business-catalog-table button:focus-visible,.business-choice-editor-close:focus-visible{outline:3px solid color-mix(in srgb,var(--gold-500) 72%,white);outline-offset:2px}.business-catalog-nav-item.is-active{color:var(--wine-900);background:var(--paper);border-color:color-mix(in srgb,var(--wine-700) 45%,var(--stone-150));box-shadow:inset 4px 0 0 var(--wine-700)}.business-catalog-nav-symbol{display:grid;width:32px;height:32px;place-items:center;color:var(--wine-700);background:#eadfd8;border-radius:8px;font-family:Songti SC,STSong,SimSun,serif;font-weight:800}.business-catalog-nav-item>span:nth-child(2){display:grid;min-width:0;gap:2px}.business-catalog-nav-item strong{overflow:hidden;font-size:13px;text-overflow:ellipsis;white-space:nowrap}.business-catalog-nav-item small{overflow:hidden;color:var(--stone-500);font-size:11px;text-overflow:ellipsis;white-space:nowrap}.business-catalog-nav-item b{min-width:25px;padding:3px 6px;color:var(--stone-500);background:#ffffffb8;border-radius:999px;font-size:10px;text-align:center}.business-catalog-nav-note{margin:18px 2px 0;padding-top:14px;border-top:1px solid var(--stone-200)}.business-choice-current-catalog{min-width:0;padding:22px 20px 28px;background:var(--paper-warm)}.business-choice-current-catalog>header{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:16px}.business-choice-current-catalog>header h3,.business-choice-current-catalog>header p{margin:0}.business-choice-current-catalog>header h3{color:var(--stone-900);font-family:Songti SC,STSong,SimSun,serif;font-size:26px;line-height:1.2}.business-choice-current-catalog>header>div:first-child>p:last-child{margin-top:5px;color:var(--stone-500);font-size:12px}.business-choice-current-actions{display:flex;gap:8px;flex:0 0 auto}.business-choice-current-actions .button{min-height:44px}.business-catalog-table-shell{min-width:0}.business-catalog-table{display:grid;gap:6px;min-width:0}.business-catalog-table-head,.business-catalog-table-row{display:grid;grid-template-columns:54px minmax(170px,1.35fr) minmax(86px,.6fr) 64px 78px;min-width:0;align-items:center;gap:8px}.business-catalog-table-head{min-height:34px;padding:0 10px;color:var(--stone-500);border-bottom:1px solid var(--stone-200);font-size:11px;font-weight:700}.business-catalog-table-row{min-height:58px;padding:6px 10px;background:#ffffffc2;border:1px solid var(--stone-150);border-radius:9px}.business-catalog-table-row.is-current{background:color-mix(in srgb,var(--paper) 86%,#f1dfe2);border-color:color-mix(in srgb,var(--wine-700) 45%,var(--stone-150));box-shadow:inset 3px 0 0 var(--wine-700)}.business-catalog-table-row.is-inactive{opacity:.7;background:var(--stone-100)}.business-catalog-table-select,.business-catalog-table-select label{display:grid;width:44px;height:44px;place-items:center}.business-catalog-table-select input[type=checkbox]{width:19px;height:19px;margin:0;accent-color:var(--wine-700)}.business-catalog-table-select b{display:grid;width:30px;height:30px;place-items:center;color:var(--wine-700);background:#efe4df;border-radius:8px;font-size:11px}.business-catalog-table-name button{display:grid;min-width:0;min-height:44px;align-content:center;width:100%;padding:2px 4px;cursor:pointer;text-align:left;color:inherit;background:transparent;border:0}.business-catalog-table-name strong,.business-catalog-table-name small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.business-catalog-table-name strong{color:var(--stone-800);font-size:14px}.business-catalog-table-name small{margin-top:2px;color:var(--stone-500);font-size:10px}.garment-position-tree-toolbar{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;min-height:54px;margin-bottom:12px;padding:5px 10px;background:#ffffffb8;border:1px solid var(--stone-150);border-radius:10px}.garment-position-tree-toolbar label{min-width:0}.garment-position-tree-toolbar input{width:100%;min-height:44px;padding:0 12px;color:var(--stone-800);background:transparent;border:0;font-size:16px}.garment-position-tree{display:grid;min-width:0;gap:7px}.garment-position-tree-row{position:relative;display:grid;grid-template-columns:44px minmax(0,1fr);min-width:0;margin-left:calc((var(--tree-depth) - 1) * 26px)}.garment-position-tree-row:before{position:absolute;top:-8px;bottom:-8px;left:21px;width:1px;content:"";background:var(--stone-200)}.garment-position-tree-row[style*="--tree-depth: 1"]:before{display:none}.garment-position-tree-toggle{z-index:1;display:grid;width:44px;height:44px;place-items:center;align-self:center;cursor:pointer;color:var(--wine-700);background:var(--paper-warm);border:0;border-radius:8px;font-size:18px}.garment-position-tree-toggle:disabled{cursor:default;color:var(--stone-300)}.garment-position-tree-item{display:grid;grid-template-columns:36px minmax(130px,1fr) auto 46px 50px;min-width:0;min-height:56px;align-items:center;gap:9px;width:100%;padding:7px 10px;cursor:pointer;text-align:left;color:var(--stone-800);background:#ffffffc7;border:1px solid var(--stone-150);border-radius:10px}.garment-position-tree-row.is-current .garment-position-tree-item{background:color-mix(in srgb,var(--paper) 84%,#f2dce1);border-color:var(--wine-600);box-shadow:inset 4px 0 0 var(--wine-700)}.garment-position-node-symbol{display:grid;width:32px;height:32px;place-items:center;color:var(--wine-700);background:#f2e5df;border:1px solid #dfcdc2;border-radius:8px;font-family:Songti SC,STSong,SimSun,serif;font-weight:800}.kind-whole .garment-position-node-symbol{color:#7b5823;background:#fbf0dc;border-color:#dfc691}.garment-position-node-copy{display:grid;min-width:0;gap:2px}.garment-position-node-copy strong,.garment-position-node-copy small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.garment-position-node-copy strong{font-size:14px}.garment-position-node-copy small{color:var(--stone-500);font-size:10px}.garment-position-node-type{padding:4px 8px;color:var(--stone-600);background:#f8f1e6;border:1px solid #e5d7c2;border-radius:999px;font-size:10px;white-space:nowrap}.garment-position-node-rank{color:var(--stone-500);font-variant-numeric:tabular-nums;text-align:center}.garment-position-node-state{color:var(--stone-500);font-size:11px}.garment-position-node-state.is-active{color:var(--green-700)}.garment-position-tree-legend{margin:14px 0 0 44px;padding-top:12px;color:var(--stone-500);border-top:1px solid var(--stone-150);font-size:11px}.garment-position-mobile-browser{display:none}.business-choice-node-editor{min-width:0;padding:22px 18px;background:var(--paper);border-left:1px solid var(--stone-150)}.business-choice-node-editor>header{position:relative;display:flex;align-items:flex-start;justify-content:space-between;gap:10px;padding-bottom:14px;border-bottom:1px solid var(--stone-150)}.business-choice-node-editor>header h3,.business-choice-node-editor>header p{margin:0}.business-choice-node-editor>header h3{color:var(--wine-900);font-family:Songti SC,STSong,SimSun,serif;font-size:22px}.business-choice-node-editor>header>div>p:last-child{margin-top:4px;color:var(--stone-500);font-size:11px}.business-choice-node-editor>header>span{padding:4px 8px;color:var(--wine-700);background:#f3e1e4;border-radius:999px;font-size:10px;font-weight:700;white-space:nowrap}.business-choice-editor-close{display:none;width:44px;height:44px;place-items:center;color:var(--wine-700);background:transparent;border:1px solid var(--stone-200);border-radius:999px}.business-choice-editor-close svg{width:18px;height:18px;stroke-width:2}.business-choice-node-editor-fields{display:grid;gap:14px;margin-top:16px}.business-choice-editor-field{display:grid;min-width:0;gap:6px;color:var(--stone-700);font-size:12px;font-weight:700}.business-choice-editor-field input,.business-choice-editor-field .select-trigger,.business-choice-read-field{width:100%;min-height:44px;padding:9px 11px;color:var(--stone-800);background:#fffefa;border:1px solid var(--stone-200);border-radius:8px;box-shadow:none;font-size:16px}.business-choice-editor-field small{color:var(--stone-500);font-size:12px;font-weight:400;line-height:1.5}.business-choice-read-field{display:flex;align-items:center;color:var(--stone-600);background:var(--stone-100);font-size:13px}.business-choice-editor-reference{display:grid;gap:4px;padding:12px;color:#755724;background:#fbf1dc;border:1px solid #ead2a2;border-radius:9px}.business-choice-editor-reference strong,.business-choice-editor-reference span{font-size:12px;line-height:1.45}.business-choice-node-editor>footer{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:8px;margin-top:18px;padding-top:14px;border-top:1px solid var(--stone-150)}.business-choice-node-editor>footer .button{min-height:44px}.business-choice-node-editor.is-empty{display:grid;min-height:280px;place-items:center}@media(max-width:1180px){.business-choice-workbench{grid-template-columns:220px minmax(0,1fr)}.business-choice-node-editor{grid-column:1 / -1;border-top:1px solid var(--stone-150);border-left:0}.business-choice-node-editor-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.business-choice-editor-reference,.business-choice-node-editor-fields>fieldset{grid-column:1 / -1}}@media(max-width:899px){body.is-business-editor-open{overflow:hidden}.business-choice-workbench-heading{align-items:stretch;flex-direction:column}.business-choice-workbench{grid-template-columns:minmax(0,1fr);margin-right:-12px;margin-left:-12px}.business-catalog-nav{padding:12px;border-right:0;border-bottom:1px solid var(--stone-150)}.business-catalog-nav-heading,.business-catalog-nav-note{display:none}.business-catalog-nav-list{display:flex;gap:8px;margin-top:0;overflow-x:auto;padding-bottom:3px;scroll-snap-type:x proximity}.business-catalog-nav-item{grid-template-columns:auto;min-width:128px;min-height:48px;justify-items:center;padding:6px 10px;text-align:center;scroll-snap-align:start}.business-catalog-nav-symbol,.business-catalog-nav-item small,.business-catalog-nav-item b{display:none}.business-catalog-nav-item.is-active{box-shadow:inset 0 -3px 0 var(--wine-700)}.business-choice-current-catalog{padding:18px 12px 28px}.business-choice-current-catalog>header{align-items:stretch;flex-direction:column}.business-choice-current-actions{display:grid;grid-template-columns:1fr 1.4fr}.garment-position-tree-shell{display:none}.garment-position-mobile-browser{display:block}.garment-position-breadcrumbs{display:flex;gap:4px;overflow-x:auto;padding:4px 0 10px}.garment-position-breadcrumbs button{min-height:44px;padding:0 10px;color:var(--wine-700);background:#f6eee5;border:1px solid var(--stone-150);border-radius:8px;white-space:nowrap}.garment-position-breadcrumbs button[aria-current=page]{color:#fff;background:var(--wine-700);border-color:var(--wine-700)}.garment-position-mobile-list{display:grid;gap:7px}.garment-position-mobile-list article{display:grid;grid-template-columns:minmax(0,1fr) 58px;min-width:0;background:#fffc;border:1px solid var(--stone-150);border-radius:10px}.garment-position-mobile-list article.is-current{border-color:var(--wine-600);box-shadow:inset 3px 0 0 var(--wine-700)}.garment-position-mobile-open{display:grid;grid-template-columns:32px minmax(0,1fr) auto;min-width:0;min-height:58px;align-items:center;gap:8px;padding:6px 9px;text-align:left;color:var(--stone-800);background:transparent;border:0}.garment-position-mobile-open>b{display:grid;width:30px;height:30px;place-items:center;color:var(--wine-700);background:#f0e3df;border-radius:8px}.garment-position-mobile-open>span{display:grid;min-width:0;gap:2px}.garment-position-mobile-open strong,.garment-position-mobile-open small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.garment-position-mobile-open small{color:var(--stone-500);font-size:10px}.garment-position-mobile-open em{color:var(--green-700);font-size:10px;font-style:normal}.garment-position-mobile-edit{min-width:58px;min-height:44px;align-self:stretch;color:var(--wine-700);background:transparent;border:0;border-left:1px solid var(--stone-150);font-weight:700}.business-choice-node-editor{display:none}.business-choice-node-editor.is-mobile-open{position:fixed;z-index:120;inset:0;display:block;overflow-y:auto;padding:max(18px,env(safe-area-inset-top)) 16px max(20px,env(safe-area-inset-bottom));background:var(--paper);border:0}.business-choice-node-editor.is-mobile-open>header{padding-right:54px}.business-choice-editor-close{position:absolute;top:0;right:0;display:grid}.business-choice-node-editor-fields{grid-template-columns:minmax(0,1fr)}.business-choice-node-editor>footer{position:sticky;bottom:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));padding-bottom:max(8px,env(safe-area-inset-bottom));background:var(--paper)}.business-choice-node-editor>footer .button:last-child{grid-column:auto}.business-catalog-table-head{display:none}.business-catalog-table-row{grid-template-columns:44px minmax(0,1fr) auto;align-items:center}.business-catalog-table-row>span:nth-child(3),.business-catalog-table-row>span:nth-child(4){display:none}.business-catalog-table-row>span:nth-child(5){grid-column:3}}@media(max-width:560px){.business-choice-current-actions{grid-template-columns:minmax(0,1fr)}.business-choice-bulk-bar{align-items:stretch;flex-direction:column}.business-choice-bulk-bar .button{width:100%;min-height:44px}.business-catalog-table-row{grid-template-columns:44px minmax(0,1fr) 54px;padding-right:6px;padding-left:6px}}.system-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.system-facts>div{display:flex;min-height:48px;justify-content:center;flex-direction:column;gap:5px;padding:8px 10px;background:#f8f5ef;border:1px solid var(--stone-150);border-radius:8px}.system-facts span{color:var(--stone-500);font-size:7px}.system-facts strong{overflow:hidden;color:var(--stone-800);font-size:8px;text-overflow:ellipsis;white-space:nowrap}.architecture-line{display:flex;align-items:center;justify-content:center;gap:7px;margin-top:10px;padding:10px;color:var(--stone-700);background:var(--gold-100);border:1px solid var(--gold-200);border-radius:8px;font-size:7px}.architecture-line b{color:var(--gold-700)}.backup-list{display:grid;gap:6px;max-height:242px;overflow:auto}.backup-list>button{display:grid;width:100%;min-height:54px;grid-template-columns:39px 1fr auto;align-items:center;gap:9px;padding:7px 9px;cursor:pointer;text-align:left;background:#f8f5ef;border:1px solid var(--stone-150);border-radius:8px}.backup-list>button:hover{background:#fff;border-color:var(--gold-200)}.backup-list>button>span{display:grid;width:37px;height:34px;place-items:center;color:var(--wine-700);background:var(--wine-50);border-radius:7px;font-size:8px;font-weight:800}.backup-list>button>div{display:flex;min-width:0;flex-direction:column}.backup-list strong{color:var(--stone-800);font-size:8px}.backup-list small{margin-top:3px;color:var(--stone-500);font-size:7px}.backup-list b{color:var(--wine-700);font-size:8px}.backup-note{margin:10px 0 0;color:var(--stone-500);font-size:7px;line-height:1.6}.recycle-bin-card{position:relative;margin-bottom:12px;overflow:hidden;border-top:4px solid var(--gold-500, #be995c)}.recycle-bin-heading{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:24px}.recycle-bin-heading>div>p:last-child{max-width:760px;margin:7px 0 0;color:var(--stone-600, #5f5750);font-size:14px;line-height:1.7}.recycle-bin-total{display:grid;min-width:128px;padding:10px 16px;text-align:right;background:var(--gold-100, #f7edd9);border:1px solid var(--gold-200, #e5cfa6);border-radius:0 0 0 22px}.recycle-bin-total strong{color:var(--wine-800, #351018);font-family:Songti SC,STSong,SimSun,serif;font-size:28px;font-variant-numeric:tabular-nums;line-height:1}.recycle-bin-total small{margin-top:5px;color:var(--stone-600, #5f5750);font-size:12px}.recycle-bin-entity-rail{display:flex;gap:8px;margin:18px -2px 0;padding:2px 2px 10px;overflow-x:auto;scrollbar-width:thin}.recycle-bin-entity-rail button{display:inline-flex;min-width:max-content;min-height:44px;align-items:center;gap:9px;padding:8px 13px;cursor:pointer;color:var(--stone-700, #403a35);background:var(--paper-50, #fdfbf7);border:1px solid var(--stone-200, #ded7ce);border-radius:22px 7px 7px 22px;font:inherit;font-size:13px;transition:background .18s ease,border-color .18s ease,color .18s ease}.recycle-bin-entity-rail button strong{display:grid;min-width:25px;height:25px;place-items:center;padding:0 6px;color:var(--wine-700, #58202c);background:var(--wine-50, #f8eef0);border-radius:999px;font-size:12px;font-variant-numeric:tabular-nums}.recycle-bin-entity-rail button:hover,.recycle-bin-entity-rail button.is-active{color:#fff;background:var(--wine-700, #58202c);border-color:var(--wine-700, #58202c)}.recycle-bin-entity-rail button:hover strong,.recycle-bin-entity-rail button.is-active strong{color:var(--wine-800, #351018);background:var(--gold-100, #f7edd9)}.recycle-bin-toolbar{display:grid;grid-template-columns:150px minmax(0,1fr);align-items:center;gap:12px;margin-top:10px;padding:12px;background:#f8f5ef;border:1px solid var(--stone-150, #ebe5dc);border-radius:10px}.recycle-bin-toolbar>label{color:var(--stone-700, #403a35);font-size:14px;font-weight:700}.recycle-bin-toolbar>div{display:grid;grid-template-columns:minmax(200px,1fr) auto auto;gap:8px}.recycle-bin-toolbar input,.recycle-bin-confirmation input{width:100%;min-height:44px;padding:0 13px;color:var(--stone-800, #403a35);background:#fff;border:1px solid var(--stone-250, #d4cabe);border-radius:8px;font:inherit;font-size:16px}.recycle-bin-toolbar input:focus-visible,.recycle-bin-confirmation input:focus-visible,.recycle-bin-entity-rail button:focus-visible,.recycle-bin-list button:focus-visible{outline:3px solid rgba(190,153,92,.48);outline-offset:2px;border-color:var(--wine-700, #58202c)}.recycle-bin-status{min-height:34px;padding:8px 2px;color:var(--stone-600, #5f5750);font-size:13px;line-height:1.4}.recycle-bin-error,.recycle-bin-inline-error{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:12px 14px;color:#7c2727;background:#fff3f1;border:1px solid #dfb2ad;border-radius:9px;font-size:14px}.recycle-bin-error p,.recycle-bin-inline-error p{margin:0;line-height:1.6}.recycle-bin-inline-error button{min-height:44px;cursor:pointer;color:var(--wine-700, #58202c);background:transparent;border:0;font:inherit;font-weight:700}.recycle-bin-empty{padding:28px 20px;text-align:left;background:#f8f5ef;border:1px dashed var(--gold-300, #d7b77e);border-radius:10px}.recycle-bin-empty strong{color:var(--stone-800, #403a35);font-family:Songti SC,STSong,SimSun,serif;font-size:17px}.recycle-bin-empty p{margin:7px 0 0;color:var(--stone-600, #5f5750);font-size:13px}.recycle-bin-list{display:grid;gap:10px}.recycle-bin-list>article{overflow:hidden;background:var(--paper-50, #fdfbf7);border:1px solid var(--stone-200, #ded7ce);border-left:4px solid var(--gold-400, #c8a76c);border-radius:9px}.recycle-bin-list>article.is-expanded{border-left-color:var(--wine-700, #58202c);box-shadow:0 12px 28px #35101814}.recycle-bin-row{display:grid;min-height:82px;grid-template-columns:minmax(210px,1.25fr) minmax(260px,1fr) auto;align-items:center;gap:18px;padding:14px 16px}.recycle-bin-record-title{min-width:0}.recycle-bin-record-title>span{display:inline-block;margin-bottom:5px;color:var(--gold-800, #765522);font-size:12px;font-weight:700}.recycle-bin-record-title h3{margin:0;overflow-wrap:anywhere;color:var(--wine-800, #351018);font-family:Songti SC,STSong,SimSun,serif;font-size:18px;line-height:1.45}.recycle-bin-record-title small{display:block;margin-top:4px;color:var(--stone-500, #746b63);font-size:12px}.recycle-bin-row dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 14px;margin:0}.recycle-bin-row dl>div{min-width:0}.recycle-bin-row dt{color:var(--stone-500, #746b63);font-size:12px}.recycle-bin-row dd{margin:4px 0 0;color:var(--stone-800, #403a35);font-size:13px;font-variant-numeric:tabular-nums;line-height:1.45}.recycle-bin-inspect-button{min-width:160px;min-height:44px;white-space:nowrap}.recycle-bin-dependency-panel{padding:16px;background:#f8f5ef;border-top:1px solid var(--stone-200, #ded7ce)}.recycle-bin-dependency-panel>header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.recycle-bin-dependency-panel>header div{display:grid;gap:4px}.recycle-bin-dependency-panel>header strong{color:var(--stone-800, #403a35);font-size:16px}.recycle-bin-dependency-panel>header small{color:var(--stone-600, #5f5750);font-size:12px;line-height:1.6}.recycle-bin-dependency-panel>header>span{min-width:max-content;padding:6px 10px;border-radius:999px;font-size:12px;font-weight:700}.recycle-bin-dependency-panel>header>span.is-ready{color:#24543f;background:#e4f1e8;border:1px solid #a8cfb6}.recycle-bin-dependency-panel>header>span.is-blocked{color:#805019;background:#f8edd5;border:1px solid #dcc18c}.recycle-bin-dependency-panel ul{display:grid;gap:9px;margin:14px 0 0;padding:0;list-style:none}.recycle-bin-dependency-panel li{display:grid;grid-template-columns:minmax(170px,.55fr) minmax(280px,1.3fr) minmax(230px,1fr);align-items:center;gap:14px;min-height:68px;padding:11px 13px;background:#fff;border:1px solid var(--stone-200, #ded7ce);border-radius:8px}.recycle-bin-dependency-panel li>div{display:grid;gap:4px}.recycle-bin-dependency-panel li>div span{color:var(--wine-700, #58202c);font-size:12px;font-weight:700}.recycle-bin-dependency-panel li>div strong{color:var(--stone-800, #403a35);font-size:14px}.recycle-bin-dependency-panel li p,.recycle-bin-dependency-panel li small{margin:0;overflow-wrap:anywhere;line-height:1.6}.recycle-bin-dependency-panel li p{color:var(--stone-700, #403a35);font-size:13px}.recycle-bin-dependency-panel li small{color:var(--stone-600, #5f5750);font-size:12px}.recycle-bin-ready-note{margin:14px 0 0;padding:13px 14px;color:#24543f;background:#eaf4ed;border:1px solid #b8d7c2;border-radius:8px;font-size:13px;line-height:1.6}.recycle-bin-dependency-actions,.recycle-bin-pagination{display:flex;align-items:center;justify-content:flex-end;gap:10px;margin-top:14px}.recycle-bin-pagination{justify-content:space-between}.recycle-bin-pagination span{color:var(--stone-600, #5f5750);font-size:13px;font-variant-numeric:tabular-nums}.recycle-bin-footnote{margin:14px 0 0;padding:11px 13px;color:var(--stone-600, #5f5750);background:var(--gold-100, #f7edd9);border-left:3px solid var(--gold-500, #be995c);font-size:12px;line-height:1.65}.recycle-bin-confirmation{display:grid;gap:16px}.recycle-bin-confirmation-warning{margin:0;padding:13px 14px;color:#7c2727;background:#fff3f1;border:1px solid #dfb2ad;border-radius:8px;font-size:14px;line-height:1.65}.recycle-bin-confirmation label{display:grid;gap:7px;color:var(--stone-700, #403a35);font-size:14px}.recycle-bin-confirmation label strong{padding:9px 11px;-webkit-user-select:all;user-select:all;color:var(--wine-800, #351018);background:var(--gold-100, #f7edd9);border-radius:6px;font-family:Songti SC,STSong,SimSun,serif;font-size:16px}@media(max-width:900px){.recycle-bin-row{grid-template-columns:minmax(0,1fr) auto}.recycle-bin-row dl{grid-column:1}.recycle-bin-inspect-button{grid-column:2;grid-row:1 / 3}.recycle-bin-dependency-panel li{grid-template-columns:minmax(150px,.7fr) minmax(0,1.3fr)}.recycle-bin-dependency-panel li small{grid-column:1 / -1}}@media(max-width:680px){.recycle-bin-heading,.recycle-bin-toolbar,.recycle-bin-toolbar>div,.recycle-bin-row,.recycle-bin-dependency-panel li{grid-template-columns:1fr}.recycle-bin-total{width:100%;text-align:left;border-radius:8px}.recycle-bin-toolbar>div .button,.recycle-bin-inspect-button{width:100%}.recycle-bin-inspect-button{grid-column:1;grid-row:auto}.recycle-bin-row dl{grid-template-columns:1fr}.recycle-bin-dependency-panel>header{align-items:stretch;flex-direction:column}.recycle-bin-dependency-panel>header>span{width:fit-content}.recycle-bin-dependency-panel li small{grid-column:1}}.recycle-bin-card{overflow:visible}.recycle-bin-card .button{min-height:44px;touch-action:manipulation}.recycle-bin-card .icon-button{width:44px;height:44px;flex-basis:44px;touch-action:manipulation}.recycle-bin-selection-toolbar{display:flex;min-height:52px;align-items:center;gap:12px;margin:0 0 10px;padding:8px 10px;background:var(--gold-100, #f7edd9);border:1px solid var(--gold-200, #e5cfa6);border-left:4px solid var(--gold-500, #be995c);border-radius:9px}.recycle-bin-selection-toolbar label,.recycle-bin-record-checkbox{display:inline-flex;min-height:44px;align-items:center;gap:9px;cursor:pointer;color:var(--stone-800, #403a35);font-size:13px;font-weight:700;touch-action:manipulation}.recycle-bin-selection-toolbar input,.recycle-bin-record-checkbox input{width:20px;height:20px;flex:0 0 auto;margin:0;accent-color:var(--wine-700, #58202c)}.recycle-bin-selection-toolbar>span{margin-right:auto;color:var(--stone-600, #5f5750);font-size:12px}.recycle-bin-selection-toolbar button{min-height:44px}.recycle-bin-selectable-list .recycle-bin-row{grid-template-columns:44px minmax(220px,1.25fr) minmax(260px,1fr)}.recycle-bin-record-checkbox{justify-content:center}.recycle-bin-selectable-list>article{transition:background .16s ease,border-color .16s ease}.recycle-bin-selectable-list>article.is-selected{background:#fbf3e4;border-color:var(--gold-500, #be995c);border-left-color:var(--wine-700, #58202c);box-shadow:0 8px 20px #35101812}.recycle-bin-bulk-bar{position:sticky;bottom:12px;z-index:8;display:grid;grid-template-columns:minmax(220px,1fr) auto auto;align-items:center;gap:10px;margin:16px 0 0;padding:12px 14px;color:#fff;background:var(--wine-800, #351018);border:1px solid var(--gold-500, #be995c);border-radius:12px 6px;box-shadow:0 16px 36px #35101842}.recycle-bin-bulk-bar>div{display:grid;gap:3px}.recycle-bin-bulk-bar strong{font-family:Songti SC,STSong,SimSun,serif;font-size:17px}.recycle-bin-bulk-bar small{color:#e7d8ca;font-size:12px}.recycle-bin-bulk-bar .button.ghost{color:#fff;background:#ffffff14;border-color:#ffffff47}.recycle-bin-cascade-confirmation{display:grid;gap:16px}.recycle-bin-cascade-confirmation>p{margin:0;padding:12px 14px;color:var(--stone-700, #403a35);background:var(--gold-100, #f7edd9);border-left:4px solid var(--gold-500, #be995c);font-size:13px;line-height:1.7}.recycle-bin-impact-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}.recycle-bin-impact-grid>div{display:grid;min-height:122px;align-content:space-between;padding:12px;background:var(--paper-50, #fdfbf7);border:1px solid var(--stone-200, #ded7ce);border-top:3px solid var(--gold-500, #be995c);border-radius:5px 10px}.recycle-bin-impact-grid span,.recycle-bin-impact-grid small{color:var(--stone-600, #5f5750);font-size:12px;line-height:1.5}.recycle-bin-impact-grid strong{color:var(--wine-800, #351018);font-family:Songti SC,STSong,SimSun,serif;font-size:30px;font-variant-numeric:tabular-nums;line-height:1}.recycle-bin-cascade-confirmation>label{display:grid;grid-template-columns:minmax(220px,1fr) minmax(160px,.45fr);align-items:center;gap:12px;color:var(--wine-800, #351018);font-size:14px;font-weight:700}.recycle-bin-cascade-confirmation input{width:100%;min-height:48px;padding:0 14px;color:var(--wine-800, #351018);background:#fff;border:2px solid var(--gold-400, #c8a76c);border-radius:8px;font:inherit;font-size:18px;font-variant-numeric:tabular-nums}.recycle-bin-task-view{display:grid;gap:18px;min-height:560px;background:var(--paper-50, #fdfbf7)}.recycle-bin-task-heading{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:18px}.recycle-bin-task-heading h2{margin:0;color:var(--wine-800, #351018);font-family:Songti SC,STSong,SimSun,serif;font-size:25px}.recycle-bin-task-heading>div>p:last-child{max-width:720px;margin:7px 0 0;color:var(--stone-600, #5f5750);font-size:13px;line-height:1.7}.recycle-bin-task-status{max-width:240px;padding:8px 12px;color:#805019;background:#f8edd5;border:1px solid #dcc18c;border-radius:999px 6px;font-size:12px;font-weight:700;line-height:1.4}.recycle-bin-task-status.is-completed{color:#24543f;background:#e4f1e8;border-color:#a8cfb6}.recycle-bin-task-status.is-attention{color:#7c2727;background:#fff3f1;border-color:#dfb2ad}.recycle-bin-task-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1px;overflow:hidden;background:var(--stone-200, #ded7ce);border:1px solid var(--stone-200, #ded7ce);border-radius:10px 4px}.recycle-bin-task-summary>div{display:grid;min-height:92px;align-content:center;gap:7px;padding:13px 16px;background:#f8f5ef}.recycle-bin-task-summary span{color:var(--stone-600, #5f5750);font-size:12px}.recycle-bin-task-summary strong{color:var(--wine-800, #351018);font-family:Songti SC,STSong,SimSun,serif;font-size:26px;font-variant-numeric:tabular-nums}.recycle-bin-progress-meter{display:grid;gap:8px;padding:13px 15px;background:var(--gold-100, #f7edd9);border-left:4px solid var(--wine-700, #58202c);border-radius:4px 9px 9px 4px}.recycle-bin-progress-meter>div{display:flex;align-items:center;justify-content:space-between;gap:12px}.recycle-bin-progress-meter strong{color:var(--wine-800, #351018);font-size:14px;font-variant-numeric:tabular-nums}.recycle-bin-progress-meter span{color:var(--stone-600, #5f5750);font-size:12px}.recycle-bin-progress-meter progress{width:100%;height:12px;accent-color:var(--wine-700, #58202c)}.recycle-bin-task-phases{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px;margin:0;padding:0;list-style:none}.recycle-bin-task-phases li{display:grid;min-width:0;align-content:start;gap:9px;padding:12px 10px;background:#f8f5ef;border:1px solid var(--stone-200, #ded7ce);border-radius:6px 10px}.recycle-bin-task-phases li>span{display:grid;width:28px;height:28px;place-items:center;color:var(--stone-600, #5f5750);background:#fff;border:1px solid var(--stone-250, #d4cabe);border-radius:50%;font-size:12px;font-weight:700}.recycle-bin-task-phases li>div{display:grid;gap:5px}.recycle-bin-task-phases strong{color:var(--stone-800, #403a35);font-size:13px;line-height:1.45}.recycle-bin-task-phases small{color:var(--stone-600, #5f5750);font-size:11px;line-height:1.55}.recycle-bin-task-phases li.is-complete{background:#eaf4ed;border-color:#b8d7c2}.recycle-bin-task-phases li.is-complete>span{color:#fff;background:#35634d;border-color:#35634d}.recycle-bin-task-phases li.is-current{background:#fbf0d9;border-color:var(--gold-500, #be995c);box-shadow:inset 4px 0 0 var(--wine-700, #58202c)}.recycle-bin-task-phases li.is-current>span{color:#fff;background:var(--wine-700, #58202c);border-color:var(--wine-700, #58202c)}.recycle-bin-task-phases li.is-failed{background:#fff3f1;border-color:#dfb2ad}.recycle-bin-task-phases li.is-failed>span{color:#fff;background:#a23d3d;border-color:#a23d3d}.recycle-bin-task-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px}.recycle-bin-task-footnote{margin:0;padding:11px 13px;color:#7c2727;background:#fff3f1;border-left:3px solid #a23d3d;font-size:12px;line-height:1.65}.recycle-bin-visually-hidden{position:absolute!important;width:1px!important;height:1px!important;margin:-1px!important;padding:0!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}.recycle-bin-restore-error{display:grid;justify-items:start;gap:14px}.recycle-bin-restore-error h2,.recycle-bin-restore-error>p{margin:0}.recycle-bin-restore-error>p:not(.eyebrow){max-width:720px;color:var(--stone-600, #5f5750);font-size:13px;line-height:1.7}.recycle-bin-selection-toolbar input:focus-visible,.recycle-bin-record-checkbox input:focus-visible,.recycle-bin-bulk-bar button:focus-visible,.recycle-bin-task-view button:focus-visible,.recycle-bin-cascade-confirmation input:focus-visible{outline:3px solid rgba(190,153,92,.48);outline-offset:2px}@media(max-width:1100px){.recycle-bin-impact-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.recycle-bin-task-phases{grid-template-columns:repeat(4,minmax(0,1fr))}}@media(max-width:900px){.recycle-bin-selectable-list .recycle-bin-row{grid-template-columns:44px minmax(0,1fr)}.recycle-bin-selectable-list .recycle-bin-row dl{grid-column:2}.recycle-bin-bulk-bar{grid-template-columns:minmax(0,1fr) auto}.recycle-bin-bulk-bar>div{grid-column:1 / -1}.recycle-bin-task-summary{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:899px){body.is-recycle-bin-task-open{overflow:hidden}.recycle-bin-task-view{position:fixed;inset:0;z-index:120;width:100%;height:100vh;height:100dvh;min-height:0;margin:0;padding:max(18px,env(safe-area-inset-top)) max(16px,env(safe-area-inset-right)) max(32px,env(safe-area-inset-bottom)) max(16px,env(safe-area-inset-left));overflow-y:auto;overscroll-behavior:contain;background:var(--paper-50, #fdfbf7);border:0;border-radius:0}.recycle-bin-task-status{width:fit-content;max-width:100%}}@media(max-width:680px){.recycle-bin-selection-toolbar{display:grid;grid-template-columns:1fr}.recycle-bin-selection-toolbar>span{margin-right:0}.recycle-bin-selection-toolbar .button{width:100%}.recycle-bin-selectable-list .recycle-bin-row,.recycle-bin-selectable-list .recycle-bin-row dl,.recycle-bin-bulk-bar,.recycle-bin-impact-grid,.recycle-bin-cascade-confirmation>label,.recycle-bin-task-heading,.recycle-bin-task-summary,.recycle-bin-task-phases{grid-template-columns:1fr}.recycle-bin-record-checkbox{justify-content:flex-start}.recycle-bin-selectable-list .recycle-bin-row dl{grid-column:1}.recycle-bin-bulk-bar{bottom:0;margin-right:-8px;margin-left:-8px;border-radius:10px 10px 0 0}.recycle-bin-bulk-bar .button{width:100%}.recycle-bin-task-phases li{grid-template-columns:32px minmax(0,1fr)}.recycle-bin-task-actions{align-items:stretch;flex-direction:column}.recycle-bin-task-actions .button{width:100%;min-height:48px}.recycle-bin-progress-meter>div{align-items:flex-start;flex-direction:column}}@media(prefers-reduced-motion:reduce){.recycle-bin-entity-rail button,.recycle-bin-selectable-list>article{transition:none}}.formula-card{margin-bottom:12px}.formula-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.formula-grid>div{display:grid;min-height:116px;grid-template-columns:27px 1fr;align-content:start;gap:5px 8px;padding:11px;background:#f8f5ef;border:1px solid var(--stone-150);border-radius:9px}.formula-grid>div>span{display:grid;width:26px;height:26px;grid-row:1 / 4;place-items:center;color:var(--gold-700);background:var(--gold-100);border:1px solid var(--gold-200);border-radius:50%;font-size:7px}.formula-grid strong{color:var(--stone-800);font-size:9px}.formula-grid code{color:var(--wine-700);font-family:inherit;font-size:8px;font-weight:650;line-height:1.5}.formula-grid small{color:var(--stone-500);font-size:7px;line-height:1.5}.conservation-card>div{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.conservation-card p{display:flex;min-height:46px;align-items:center;gap:8px;margin:0;padding:8px 10px;color:var(--stone-700);background:var(--green-100);border:1px solid rgba(53,99,77,.1);border-radius:8px;font-size:8px}.conservation-card p>span{display:grid;width:22px;height:22px;flex:0 0 auto;place-items:center;color:#fff;background:var(--green-700);border-radius:50%;font-size:7px}.boot-screen,.setup-page{display:flex;min-height:100vh;align-items:center;justify-content:center;flex-direction:column;gap:10px;padding:30px;text-align:center}.boot-mark,.setup-mark{display:grid;width:60px;height:60px;place-items:center;margin-bottom:8px;color:var(--wine-950);background:linear-gradient(145deg,#e4c88f,#a3783b);border-radius:16px;font-family:Songti SC,serif;font-size:28px;box-shadow:var(--shadow-md)}.boot-screen strong{color:var(--stone-800);font-family:Songti SC,serif;font-size:20px}.boot-screen>span{color:var(--stone-500);font-size:9px}.setup-page>section{width:min(720px,100%);padding:40px;background:var(--paper);border:1px solid var(--stone-200);border-radius:18px;box-shadow:var(--shadow-md)}.setup-page .setup-mark{margin:0 auto 18px}.setup-page h1{margin:0;font-family:Songti SC,serif;font-size:30px}.setup-page>section>p:not(.eyebrow){margin:12px auto 24px;color:var(--stone-600);font-size:10px;line-height:1.8}.setup-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.setup-steps>div{display:flex;align-items:center;flex-direction:column;gap:6px;padding:14px 9px;background:var(--stone-50);border:1px solid var(--stone-150);border-radius:10px}.setup-steps span{display:grid;width:28px;height:28px;place-items:center;color:#fff;background:var(--wine-700);border-radius:50%;font-size:8px}.setup-steps strong{font-size:9px}.setup-steps small{color:var(--stone-500);font-size:7px;line-height:1.5}.login-page{display:grid;min-height:100vh;grid-template-columns:minmax(480px,1.15fr) minmax(400px,.85fr);background:var(--stone-100)}.login-visual{position:relative;display:flex;min-height:100vh;justify-content:space-between;flex-direction:column;overflow:hidden;padding:clamp(32px,5vw,70px);color:#f9f2e6;background:radial-gradient(circle at 85% 15%,rgba(220,181,107,.17),transparent 22rem),linear-gradient(145deg,var(--wine-800) 0%,var(--wine-950) 58%,#241516 100%)}.login-brand{position:relative;z-index:1;display:flex;align-items:center;gap:13px}.login-brand strong{font-size:22px}.login-copy{position:relative;z-index:1;max-width:690px}.login-copy .eyebrow{color:#d9b975}.login-copy h1{margin:0;font-family:Songti SC,STSong,serif;font-size:clamp(42px,5.4vw,74px);font-weight:500;line-height:1.13;letter-spacing:.02em}.login-copy>p:not(.eyebrow){max-width:560px;margin:20px 0 28px;color:#ffffff8c;font-size:12px;line-height:1.9}.login-points{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.login-points>div{display:grid;grid-template-columns:31px 1fr;gap:2px 8px;padding:12px;background:#ffffff0b;border:1px solid rgba(255,255,255,.08);border-radius:10px;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px)}.login-points span{display:grid;width:30px;height:30px;grid-row:1 / 3;place-items:center;color:#e0c381;border:1px solid rgba(224,195,129,.28);border-radius:50%;font-size:7px}.login-points strong{font-size:9px}.login-points small{color:#ffffff63;font-size:7px;line-height:1.5}.login-ornament{position:absolute;right:-90px;bottom:-140px;width:420px;height:420px;opacity:.25;transform:rotate(12deg)}.login-ornament i{position:absolute;inset:0;border:1px solid rgba(225,190,124,.27);border-radius:47% 53% 50% 50%}.login-ornament i:nth-child(2){inset:50px;transform:rotate(24deg)}.login-ornament i:nth-child(3){inset:105px;transform:rotate(50deg)}.login-form-side{display:grid;min-height:100vh;place-items:center;padding:clamp(28px,6vw,80px);background:radial-gradient(circle at 100% 0%,rgba(190,153,92,.11),transparent 19rem),var(--stone-100)}.login-card{display:grid;width:min(430px,100%);gap:17px;padding:clamp(25px,4vw,42px);background:var(--paper);border:1px solid var(--stone-200);border-radius:17px;box-shadow:var(--shadow-md)}.login-card h2{margin:0;font-family:Songti SC,serif;font-size:28px;font-weight:600}.login-card>div:first-child>p:last-child{margin:8px 0 0;color:var(--stone-500);font-size:9px}.login-card>label{display:flex;flex-direction:column;gap:7px}.login-card>label>span{color:var(--stone-700);font-size:9px;font-weight:700}.login-card input{min-height:45px;padding:0 12px}.login-button{min-height:46px;margin-top:3px}.login-meta{display:flex;justify-content:space-between;gap:10px;padding-top:11px;color:var(--stone-500);border-top:1px solid var(--stone-150);font-size:7px}.session-lock-backdrop{position:fixed;z-index:400;display:grid;inset:0;grid-template-columns:minmax(0,1fr) minmax(380px,560px);overflow-y:auto;padding:clamp(24px,5vw,72px);background:linear-gradient(90deg,#35101829,#3510186b),#f0ebe3c2;-webkit-backdrop-filter:blur(7px) saturate(.82);backdrop-filter:blur(7px) saturate(.82)}.session-lock-backdrop:before{position:fixed;top:0;right:clamp(18px,4vw,64px);bottom:0;width:1px;content:"";background:linear-gradient(180deg,transparent,rgba(190,153,92,.7) 18%,rgba(88,32,44,.55) 82%,transparent)}.session-lock-panel{position:relative;display:grid;width:min(100%,520px);align-self:center;grid-column:2;gap:18px;padding:clamp(26px,4vw,44px);color:var(--stone-950);background:linear-gradient(135deg,rgba(243,234,215,.62),transparent 42%),var(--paper);border:1px solid var(--gold-200);border-right:5px solid var(--wine-700);border-radius:18px 4px 4px 18px;box-shadow:var(--shadow-lg)}.session-lock-header{display:grid;align-items:center;grid-template-columns:58px minmax(0,1fr);gap:15px}.session-lock-seal{position:relative;display:block;width:54px;height:54px;background:var(--wine-50);border:1px solid var(--wine-600);border-radius:14px 14px 4px}.session-lock-seal:before,.session-lock-seal:after{position:absolute;left:50%;content:"";transform:translate(-50%)}.session-lock-seal:before{top:11px;width:18px;height:15px;border:2px solid var(--wine-700);border-bottom:0;border-radius:10px 10px 0 0}.session-lock-seal:after{bottom:10px;width:26px;height:22px;background:var(--wine-700);border-radius:5px;box-shadow:inset 0 0 0 7px var(--wine-700)}.session-lock-header .eyebrow{margin:0 0 5px;color:var(--gold-700);font-size:12px}.session-lock-header h2{margin:0;color:var(--wine-950);font-family:Songti SC,STSong,SimSun,serif;font-size:clamp(24px,3vw,32px);font-weight:600;line-height:1.25}.session-lock-explanation{margin:0;color:var(--stone-700);font-size:14px;line-height:1.8}.session-lock-preserved{display:grid;grid-template-columns:auto minmax(0,1fr);gap:4px 12px;padding:13px 15px;background:var(--gold-100);border:1px solid var(--gold-200);border-radius:10px 2px}.session-lock-preserved strong{color:var(--wine-800);font-size:12px}.session-lock-preserved span{color:var(--stone-600);font-size:13px;line-height:1.6}.session-lock-form{display:grid;gap:13px}.session-lock-form>label{display:grid;gap:7px}.session-lock-form>label>span{color:var(--stone-700);font-size:12px;font-weight:700}.session-lock-form input{min-height:46px;padding:0 13px;font-size:14px}.session-lock-submit{min-height:46px;margin-top:2px}.session-lock-diagnostic{padding-top:12px;color:var(--stone-600);border-top:1px solid var(--stone-150);font-size:12px;letter-spacing:.03em}@media(max-width:720px){.session-lock-backdrop{grid-template-columns:minmax(0,1fr);align-items:end;padding:16px 12px max(16px,env(safe-area-inset-bottom))}.session-lock-panel{width:100%;grid-column:1;padding:24px 20px;border-right-width:1px;border-bottom:5px solid var(--wine-700);border-radius:16px 16px 5px 5px}.session-lock-preserved{grid-template-columns:1fr}}@media(max-width:1280px){.metric-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.stage-flow{grid-template-columns:repeat(4,minmax(0,1fr))}.topbar-center{display:none}.topbar{grid-template-columns:minmax(180px,1fr) minmax(230px,1fr)}.cost-breakdown{grid-template-columns:repeat(4,minmax(0,1fr))}.material-ledger-grid{grid-template-columns:1fr}.business-choice-catalogs{grid-template-columns:repeat(2,minmax(0,1fr))}}.sidebar-collapse{display:grid;width:29px;height:29px;flex:0 0 auto;place-items:center;margin-left:auto;cursor:pointer;color:#ffffffb8;background:#ffffff0b;border:1px solid rgba(255,255,255,.1);border-radius:8px;font-size:19px;line-height:1}.sidebar-collapse:hover{color:#fff;background:#ffffff17;border-color:#d8b56f59}.sidebar-resizer{position:absolute;top:0;right:-4px;bottom:0;z-index:5;width:9px;cursor:col-resize;touch-action:none}.sidebar-resizer:after{position:absolute;top:0;right:3px;bottom:0;width:2px;content:"";background:transparent;transition:background .14s ease}.sidebar-resizer:hover:after,.sidebar-resizer:focus-visible:after,.is-sidebar-resizing .sidebar-resizer:after{background:var(--gold-500)}.is-sidebar-resizing{cursor:col-resize;-webkit-user-select:none;user-select:none}.is-sidebar-resizing .sidebar,.is-sidebar-resizing .main-shell{transition:none}.sort-header{display:inline-flex;min-height:32px;align-items:center;gap:6px;padding:0;cursor:pointer;color:inherit;background:transparent;border:0;font-size:inherit;font-weight:inherit;letter-spacing:inherit}.sort-header b{color:var(--stone-400, var(--stone-500));font-size:12px;font-weight:500}.sort-header:hover,.sort-header.is-active,.sort-header.is-active b{color:var(--wine-700)}.themed-select{position:relative;width:100%;min-width:0}.select-trigger{display:grid;width:100%;min-height:40px;grid-template-columns:minmax(0,1fr) 18px;align-items:center;gap:8px;padding:0 11px 0 12px;cursor:pointer;text-align:left;color:var(--stone-950);background:linear-gradient(180deg,#fffffff5,#faf7f1f5);border:1px solid var(--stone-200);border-radius:9px;box-shadow:inset 0 1px #fffc;font-size:13px}.select-trigger:hover:not(:disabled){border-color:var(--gold-200);background:#fff}.themed-select.is-open .select-trigger{border-color:var(--gold-500);box-shadow:0 0 0 3px #be995c1f}.themed-select.is-open .select-trigger[aria-invalid=true]{border-color:var(--red-700);box-shadow:0 0 0 3px #a23d3d1a}.select-trigger>span{display:block;min-width:0;overflow:hidden;line-height:1.3;text-overflow:ellipsis;white-space:nowrap}.select-trigger .is-placeholder{color:var(--stone-500)}.select-trigger>.select-chevron{display:grid;width:18px;height:18px;place-items:center;color:var(--wine-700);line-height:0;transition:transform .14s ease}.select-chevron svg{display:block;width:16px;height:16px;overflow:visible}.select-chevron path{fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.themed-select.is-open .select-trigger>.select-chevron{transform:rotate(180deg)}.themed-select.is-compact{width:auto;min-width:92px}.themed-select.is-compact .select-trigger{min-height:36px;padding:0 7px 0 9px;background:transparent;border-color:transparent;box-shadow:none;font-size:12px}.select-popover{position:fixed;z-index:320;display:flex;flex-direction:column;overflow:hidden;color:var(--stone-800);background:radial-gradient(circle at 100% 0%,rgba(190,153,92,.12),transparent 10rem),var(--paper);border:1px solid var(--stone-200);border-radius:12px;box-shadow:0 22px 60px #2e191633;animation:select-in .12s ease-out}@keyframes select-in{0%{opacity:0;transform:translateY(-4px)}}.select-search{display:grid;grid-template-columns:25px 1fr;align-items:center;margin:8px;padding:0 8px;color:var(--stone-500);background:#fff;border:1px solid var(--stone-200);border-radius:8px}.select-search:focus-within{border-color:var(--gold-500);box-shadow:0 0 0 3px #be995c1a}.select-search>span{font-size:18px}.select-search input{width:100%;height:38px;color:var(--stone-950);background:transparent;border:0;outline:0;font-size:13px}.select-listbox{min-height:0;overflow-y:auto;padding:4px 6px 7px;scrollbar-color:var(--stone-300) transparent;scrollbar-width:thin}.select-create-choice{width:100%;min-height:38px;padding:8px 11px;cursor:pointer;color:var(--wine-800);background:var(--gold-50);border:0;border-radius:7px;font:inherit;font-size:12px;font-weight:700;text-align:left}.select-create-choice:hover:not(:disabled){color:var(--wine-900);background:var(--gold-100)}.select-group+.select-group{margin-top:5px;padding-top:5px;border-top:1px solid var(--stone-150)}.select-group-label{padding:6px 9px 4px;color:var(--gold-700);font-size:10px;font-weight:800;letter-spacing:.09em}.select-group>button{display:grid;width:100%;min-height:38px;grid-template-columns:minmax(0,1fr) 18px;align-items:center;gap:8px;padding:6px 10px;cursor:pointer;text-align:left;color:var(--stone-700);background:transparent;border:0;border-radius:8px;font-size:13px}.select-group>button:hover,.select-group>button.is-active{color:var(--wine-900);background:var(--wine-50)}.select-group>button.is-selected{color:var(--wine-800);background:linear-gradient(90deg,var(--wine-100),var(--gold-100));font-weight:700}.select-group>button.has-description{min-height:52px;padding-block:8px;border-left:3px solid transparent}.select-group>button.has-description.is-selected{border-left-color:var(--wine-700)}.select-option-copy{display:grid;min-width:0;gap:2px}.select-option-label{overflow:hidden;line-height:1.35;text-overflow:ellipsis;white-space:nowrap}.select-option-copy small{overflow:hidden;color:var(--stone-500);font-size:12px;font-weight:500;line-height:1.35;text-overflow:ellipsis;white-space:nowrap}.select-group>button.is-selected .select-option-copy small{color:var(--stone-700)}.pmf-material-picker-actions .pmf-secondary-button,.pmf-material-picker-actions .pmf-text-button{min-height:44px;padding:9px 12px;border-radius:8px;font:inherit;font-size:13px;font-weight:700}.pmf-material-picker-actions .pmf-secondary-button{color:var(--wine-800);background:var(--paper);border:1px solid var(--stone-300)}.pmf-material-picker-actions .pmf-text-button{color:var(--wine-700);background:transparent;border:1px solid transparent}.pmf-material-picker-popover .select-search{border-color:var(--stone-300)}.pmf-material-picker-popover .select-search:focus-within{border-color:var(--wine-700);box-shadow:0 0 0 3px #6d2a381f}.pmf-material-picker-popover .select-search input{height:44px;font-size:16px}.pmf-material-picker-popover .select-group-label{color:var(--gold-700);font-size:12px}.pmf-material-picker-popover .select-option-label{color:var(--wine-900);font-size:14px}.select-group>button b{color:var(--wine-700);text-align:right}.select-empty{padding:30px 16px;text-align:center;color:var(--stone-500);font-size:12px}.form-section-title{display:flex;grid-column:1 / -1;align-items:center;gap:12px;margin-top:8px;color:var(--wine-800)}.form-section-title:first-child{margin-top:0}.form-section-title strong{flex:0 0 auto;font-family:Songti SC,STSong,serif;font-size:15px;font-weight:650}.form-section-title span{height:1px;flex:1;background:linear-gradient(90deg,var(--gold-200),transparent)}.modal-backdrop.is-workspace{z-index:80;display:flex;align-items:stretch;justify-content:flex-end;padding:68px 0 0;pointer-events:none;background:transparent;-webkit-backdrop-filter:none;backdrop-filter:none}.modal-panel.is-workspace,.modal-panel.is-wide.is-workspace{width:min(660px,calc(100vw - var(--sidebar-width) - 32px));max-height:calc(100vh - 68px);height:calc(100vh - 68px);pointer-events:auto;border-color:var(--stone-200);border-radius:18px 0 0 18px;box-shadow:-24px 0 70px #331e1929;animation-name:workspace-in}.modal-workspace-rail{flex:0 0 auto;padding:12px 20px 0;pointer-events:auto;background:var(--paper);border-bottom:1px solid var(--stone-200)}.modal-workspace-rail>.style-editor-media{margin-bottom:12px}@media(min-width:1280px){.modal-panel.is-workspace.has-workspace-rail,.modal-panel.is-wide.is-workspace.has-workspace-rail{overflow:visible}.modal-panel.is-workspace.has-workspace-rail>.modal-header{border-radius:17px 0 0}.modal-panel.is-workspace.has-workspace-rail>.modal-body{background:var(--paper);border-radius:0 0 0 17px}.modal-workspace-rail{position:absolute;top:16px;right:calc(100% + 16px);width:272px;max-height:calc(100% - 32px);padding:0;overflow:auto;background:transparent;border:0;overscroll-behavior:contain}.modal-workspace-rail>.style-editor-media{margin-bottom:0}}@keyframes workspace-in{0%{opacity:0;transform:translate(24px)}}.workspace-context{display:block;margin-top:5px;color:var(--stone-500);font-size:11px}.main-shell .breadcrumb{font-size:13px}.main-shell .topbar-center,.main-shell .quick-action{font-size:12px}.main-shell .local-badge{font-size:10px}.main-shell .eyebrow{font-size:11px}.main-shell .page-heading>div>p:last-child{font-size:14px}.main-shell .button,.main-shell .text-button{font-size:12px}.main-shell .search-box input{font-size:13px}.main-shell .compact-filter{font-size:11px}.main-shell .table-meta,.main-shell .table-meta small{font-size:12px}.main-shell th{font-size:11px}.main-shell td,.main-shell .cell-button{font-size:13px}.main-shell .status-pill,.main-shell .row-actions button,.main-shell .pagination,.main-shell .pagination button{font-size:11px}.main-shell .empty-state p,.main-shell .mini-empty,.main-shell .danger-state span{font-size:12px}.main-shell .metric-card>span{font-size:12px}.main-shell .metric-card>small,.main-shell .dashboard-card header>small{font-size:11px;line-height:1.45}.main-shell .stage-node>span{font-size:10px}.main-shell .stage-node strong,.main-shell .work-code,.main-shell .work-item strong,.main-shell .issue-item strong{font-size:12px}.main-shell .work-item small,.main-shell .issue-item small,.main-shell .work-item time{font-size:11px}.main-shell .queue-list>div,.main-shell .loading-state,.main-shell .integrity-ok,.main-shell .empty-inline{font-size:12px}.main-shell .style-summary span,.main-shell .warning-item small,.main-shell .ledger-node span,.main-shell .material-ledger-grid header span,.main-shell .material-ledger-grid article>div span,.main-shell .cost-total>span,.main-shell .cost-total small,.main-shell .cost-breakdown span,.main-shell .relation-counts span{font-size:11px}.main-shell .style-summary strong,.main-shell .warning-item>span,.main-shell .warning-item strong,.main-shell .material-ledger-grid article>div b,.main-shell .cost-breakdown b{font-size:12px}.modal-panel .loading-state,.modal-panel .integrity-ok,.modal-panel .empty-inline{font-size:12px}.modal-panel .style-summary span,.modal-panel .warning-item small,.modal-panel .ledger-node span,.modal-panel .material-ledger-grid header span,.modal-panel .material-ledger-grid article>div span,.modal-panel .cost-total>span,.modal-panel .cost-total small,.modal-panel .cost-breakdown span,.modal-panel .relation-counts span{font-size:11px}.modal-panel .style-summary strong,.modal-panel .warning-item>span,.modal-panel .warning-item strong,.modal-panel .material-ledger-grid article>div b,.modal-panel .cost-breakdown b{font-size:12px}.modal-panel .status-pill{max-width:100%;overflow:visible;font-size:11px;line-height:1.4;text-align:center;text-overflow:clip;white-space:normal}.main-shell .system-facts span,.main-shell .architecture-line,.main-shell .backup-list>button>span,.main-shell .backup-list small,.main-shell .backup-note,.main-shell .formula-grid>div>span,.main-shell .formula-grid small,.main-shell .conservation-card p,.main-shell .conservation-card p>span{font-size:11px;line-height:1.45}.main-shell .system-facts strong,.main-shell .backup-list strong,.main-shell .backup-list b,.main-shell .formula-grid strong,.main-shell .formula-grid code{font-size:12px}.modal-panel .eyebrow{font-size:11px}.modal-panel .field>label{font-size:12px}.modal-panel .field input,.modal-panel .field textarea,.modal-panel .login-card input{font-size:13px}.modal-panel .field small,.modal-panel .checkbox-control span,.modal-panel .form-alert{font-size:11px}.modal-panel .detail-item>span{font-size:11px}.modal-panel .detail-item>strong,.modal-panel .detail-item>a{font-size:13px}.modal-panel .record-system-meta,.modal-panel .record-system-meta code,.modal-panel .attachment-hint,.modal-panel .upload-progress>div,.modal-panel .attachment-item>span,.modal-panel .attachment-item strong,.modal-panel .attachment-item small{font-size:11px}.modal-panel .button.compact,.modal-panel .text-button,.modal-panel .mini-empty{font-size:12px}.select-group-label{font-size:11px}.customer-style-workspace{width:min(1600px,100%);margin:0 auto;padding:30px 30px 52px}.customer-style-workspace.is-table-view{width:100%;max-width:none;padding:0}.customer-style-table-controls{width:min(1600px,100%);display:flex;align-items:center;justify-content:space-between;gap:18px;margin:0 auto;padding:22px 30px 0}.customer-style-table-context{min-width:0;display:grid;grid-template-columns:auto auto minmax(220px,1fr);align-items:center;gap:9px;padding:10px 13px;color:var(--stone-700);background:#fdfbf7e6;border:1px solid var(--stone-200);border-left:3px solid var(--wine-700);border-radius:11px;box-shadow:var(--shadow-sm)}.customer-style-table-context>span,.customer-style-table-context>small{font-size:12px}.customer-style-table-context>strong{min-width:0;overflow:hidden;color:var(--wine-800);font-size:13px;text-overflow:ellipsis;white-space:nowrap}.customer-style-table-context>small{min-width:0;color:var(--stone-600);line-height:1.55}.customer-style-table-actions{display:flex;flex:0 0 auto;align-items:center;gap:10px}.customer-style-workspace.is-table-view .table-scroll{outline:0}.customer-style-workspace.is-table-view .table-scroll:focus-visible{outline:3px solid var(--gold-500);outline-offset:2px}.customer-style-workspace.is-table-view .button,.customer-style-workspace.is-table-view .search-box,.customer-style-workspace.is-table-view .search-box input,.customer-style-workspace.is-table-view .sort-header,.customer-style-workspace.is-table-view .compact-filter,.customer-style-workspace.is-table-view .compact-filter .select-trigger,.customer-style-workspace.is-table-view .row-actions button,.customer-style-workspace.is-table-view .pagination button{min-height:44px}.customer-style-workspace.is-table-view .sort-header,.customer-style-workspace.is-table-view .row-actions button,.customer-style-workspace.is-table-view .pagination button{min-width:44px}.customer-style-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;margin-bottom:20px}.customer-style-heading>div:first-child{min-width:0}.customer-style-heading h1{margin:0;color:var(--stone-950);font-family:Songti SC,STSong,SimSun,serif;font-size:clamp(27px,2.5vw,37px);font-weight:600}.customer-style-heading p:not(.eyebrow){max-width:740px;margin:9px 0 0;color:var(--stone-600);font-size:12px;line-height:1.8}.customer-style-heading-actions{display:flex;flex:0 0 auto;align-items:center;gap:10px}.customer-style-view-toggle{display:inline-flex;gap:3px;padding:3px;background:#f0ebe3d1;border:1px solid var(--stone-200);border-radius:11px}.customer-style-view-toggle>button{min-height:44px;padding:0 14px;cursor:pointer;color:var(--stone-600);background:transparent;border:0;border-radius:8px;font-size:12px;font-weight:800}.customer-style-view-toggle>button.is-active{color:#fff;background:var(--wine-800);box-shadow:0 5px 14px #671f2c2e}.customer-style-toolbar{display:flex;align-items:center;gap:12px;margin-bottom:16px;padding:12px;background:#fdfbf7e0;border:1px solid var(--stone-200);border-radius:14px;box-shadow:var(--shadow-sm)}.customer-style-toolbar .search-box{width:min(520px,55%)}.customer-style-toolbar .compact-filter{margin-left:auto}.customer-style-media-warning{margin:-5px 0 14px;padding:8px 12px;color:var(--gold-700);background:var(--gold-100);border:1px solid var(--gold-200);border-radius:10px;font-size:12px;line-height:1.55}.customer-style-toolbar .row-density-control{flex:0 0 auto}.customer-style-loading{display:flex;min-height:190px;align-items:center;justify-content:center;gap:12px;color:var(--stone-600);background:#fdfbf7d1;border:1px solid var(--stone-200);border-radius:16px}.customer-style-loading>span{width:17px;height:17px;border:2px solid var(--gold-200);border-top-color:var(--wine-700);border-radius:50%;animation:spin .7s linear infinite}.customer-style-loading strong{font-size:11px}.style-group-list{display:grid;gap:16px}.style-group-card{overflow:hidden;background:#fdfbf7f5;border:1px solid var(--stone-200);border-radius:17px;box-shadow:0 13px 34px #3b291b0e}.style-group-heading{display:flex;min-height:90px;align-items:center;justify-content:space-between;gap:24px;padding:16px 18px;background:linear-gradient(110deg,#f8eff0cc,#f7f4eee6);border-bottom:1px solid var(--stone-150)}.style-group-heading>div:first-child{min-width:0}.style-group-heading>div:first-child>span{color:var(--gold-700);font-size:8px;font-weight:800;letter-spacing:.12em}.style-group-heading h2{margin:4px 0 0;color:var(--stone-950);font-family:Songti SC,STSong,SimSun,serif;font-size:21px;font-weight:600}.style-group-heading p{margin:5px 0 0;color:var(--stone-600);font-size:10px;line-height:1.55}.style-group-summary{display:flex;flex:0 0 auto;align-items:center;gap:10px}.style-group-summary>strong{color:var(--stone-700);font-size:10px}.style-variant-list{display:grid}.style-variant-row{display:grid;min-width:0;grid-template-columns:minmax(190px,auto) minmax(165px,.9fr) minmax(330px,1.45fr) minmax(180px,.8fr) auto;align-items:center;gap:14px;padding:var(--record-card-row-padding) 18px;border-bottom:1px solid var(--stone-150)}.style-variant-media{display:flex;min-width:190px;align-items:center;gap:10px}.style-variant-media .style-row-attachment-carousel{min-width:146px;grid-template-columns:20px auto 20px 26px}.style-variant-media .style-row-attachment-carousel>button:not(.style-row-media-button){width:20px}.style-variant-media .style-row-attachment-carousel>.style-row-gallery-toggle{width:26px}.style-variant-row:last-child{border-bottom:0}.style-variant-row:hover{background:#faf7f1c2}.style-variant-cover{display:grid;width:72px;height:72px;overflow:hidden;place-items:center;background:var(--stone-100);border:1px solid var(--stone-200);border-radius:11px}.style-variant-cover>img,.style-variant-cover>div{width:100%;height:100%}.style-variant-cover>img{display:block;object-fit:cover}.style-variant-cover>div{display:grid;place-content:center;place-items:center;gap:3px;color:var(--stone-500);background:radial-gradient(circle at 70% 20%,rgba(190,153,92,.18),transparent 45%),var(--stone-50)}.style-variant-cover>div>span{color:var(--gold-700);font-family:Songti SC,STSong,SimSun,serif;font-size:22px}.style-variant-cover small{font-size:8px}.style-variant-identity{display:flex;min-width:0;flex-direction:column;align-items:flex-start;gap:5px}.style-variant-identity>button{padding:0;cursor:pointer;color:var(--wine-800);background:transparent;border:0;font-family:Songti SC,STSong,SimSun,serif;font-size:18px;font-weight:700}.style-variant-identity>span{max-width:100%;overflow:hidden;color:var(--gold-700);font-size:9px;font-weight:700;text-overflow:ellipsis;white-space:nowrap}.style-variant-identity>strong{max-width:100%;overflow:hidden;color:var(--stone-800);font-size:11px;text-overflow:ellipsis;white-space:nowrap}.style-variant-facts{display:grid;grid-template-columns:repeat(4,minmax(72px,1fr));gap:7px;margin:0}.style-variant-facts>div{min-width:0;padding:7px 8px;background:#f7f4eec2;border:1px solid rgba(223,215,204,.72);border-radius:8px}.style-variant-facts dt{color:var(--stone-500);font-size:8px}.style-variant-facts dd{overflow:hidden;margin:4px 0 0;color:var(--stone-800);font-size:10px;font-weight:700;text-overflow:ellipsis;white-space:nowrap}.style-variant-exception{min-width:0}.style-variant-exception .status-pill{max-width:100%;white-space:normal}.style-variant-clear{color:var(--green-700);font-size:9px;font-weight:700}.style-variant-actions{min-width:126px;justify-content:flex-end}.style-group-empty,.customer-style-empty{display:flex;min-height:120px;align-items:center;justify-content:center;flex-direction:column;gap:5px;color:var(--stone-500)}.style-group-empty strong{color:var(--stone-700);font-size:11px}.style-group-empty span{font-size:9px}.customer-style-pagination{margin-top:14px;background:#fdfbf7db;border:1px solid var(--stone-200);border-radius:12px}@media(min-width:801px){.sidebar.is-collapsed .brand{justify-content:center;padding:0}.sidebar.is-collapsed .brand-copy,.sidebar.is-collapsed .nav-item>div,.sidebar.is-collapsed .nav-item>b,.sidebar.is-collapsed .nav-group>p,.sidebar.is-collapsed .cloud-status>div,.sidebar.is-collapsed .user-card>div,.sidebar.is-collapsed .user-card>b{display:none}.sidebar.is-collapsed .sidebar-collapse{position:absolute;top:70px;right:5px;width:24px;height:24px}.sidebar.is-collapsed .side-nav{padding:12px 10px 18px}.sidebar.is-collapsed .nav-group{margin-top:4px}.sidebar.is-collapsed .nav-item{min-height:45px;grid-template-columns:31px;justify-content:center;padding:6px}.sidebar.is-collapsed .sidebar-footer{padding:9px}.sidebar.is-collapsed .cloud-status,.sidebar.is-collapsed .user-card{display:flex;justify-content:center;padding:8px}.sidebar.is-collapsed .sidebar-resizer{display:none}.table-scroll th:last-child,.table-scroll td:last-child{position:sticky;right:0;z-index:2;background:#fdfbf7fa;box-shadow:-12px 0 18px #3b291b0e}.table-scroll thead th:last-child{z-index:3;background:#f6f2eb}.table-scroll tbody tr:hover td:last-child{background:#fbf8f2}.table-scroll .style-record-group-row td:last-child{position:static;background:transparent;box-shadow:none}}@media(min-width:801px)and (max-width:1280px){.modal-panel.is-workspace,.modal-panel.is-wide.is-workspace{width:min(660px,52vw)}}@media(min-width:801px)and (max-width:1020px){.modal-panel.is-workspace .form-grid{grid-template-columns:minmax(0,1fr)}.modal-panel.is-workspace .field.is-full{grid-column:1}}@media(max-width:1100px){.customer-style-table-controls{align-items:stretch;flex-direction:column}.customer-style-table-actions{justify-content:space-between}}@media(max-width:1020px){.app-shell:not(.is-sidebar-collapsed){--sidebar-width: min(var(--sidebar-preferred-width, 264px), 238px)}.page-section{padding:25px 22px 45px}.toolbar{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center}.toolbar>.search-box{grid-column:1 / -1;width:100%}.toolbar-filters{grid-column:1}.toolbar-actions{grid-column:2;justify-content:flex-end}.customer-workspace-header{width:calc(100% - 44px);grid-template-columns:minmax(250px,.85fr) minmax(320px,1.15fr)}.customer-workspace-actions{grid-column:1 / -1;grid-template-columns:minmax(260px,1fr) auto auto}.dashboard-columns,.settings-grid{grid-template-columns:1fr}.stage-flow{grid-template-columns:repeat(3,minmax(0,1fr))}.relation-counts{grid-template-columns:repeat(4,minmax(0,1fr))}.formula-grid,.conservation-card>div{grid-template-columns:repeat(2,minmax(0,1fr))}.detail-layout{grid-template-columns:1fr}.customer-style-heading{align-items:stretch;flex-direction:column}.customer-style-heading-actions{justify-content:space-between}.style-variant-row{grid-template-columns:minmax(190px,auto) minmax(150px,.8fr) minmax(320px,1.4fr)}.style-variant-exception{grid-column:2}.style-variant-actions{grid-column:3;justify-content:flex-start}}@media(max-width:900px){.business-choice-catalogs{grid-template-columns:1fr}}@media(max-width:800px){.style-group-workspace-scope{grid-template-columns:auto minmax(0,1fr)}.style-group-workspace-scope>small{grid-column:1 / -1}.material-sourcing-switcher,.garment-costing-switcher{align-items:stretch;margin:16px 18px -6px;flex-direction:column;gap:14px}.material-sourcing-tabs,.garment-costing-tabs{flex-basis:auto}.material-quote-context,.garment-costing-context,.garment-checklist-tabs{margin:0 18px -6px}.sidebar-resizer,.sidebar-collapse{display:none}.sidebar{visibility:hidden;width:min(285px,86vw);pointer-events:none;transform:translate(-105%);transition:transform .2s ease,visibility 0s linear .2s}.sidebar.is-open{visibility:visible;pointer-events:auto;transform:translate(0);transition-delay:0s}.sidebar-scrim{position:fixed;inset:0;z-index:55;background:#190d0e7a;border:0}.main-shell{width:100%;margin-left:0}.mobile-menu{display:grid;width:34px;height:34px;place-items:center;cursor:pointer;color:var(--wine-700);background:var(--paper);border:1px solid var(--stone-200);border-radius:8px}.topbar{grid-template-columns:34px minmax(150px,1fr) auto;gap:10px;padding:0 13px}.workspace-mode-control{align-items:stretch;flex-direction:column;gap:8px;padding:10px 13px}.workspace-mode-buttons{align-self:flex-start}.workspace-customer-picker{align-items:stretch;flex-wrap:wrap}.workspace-customer-picker .themed-select{width:100%;flex-basis:100%}.customer-workspace-header{width:calc(100% - 26px);grid-template-columns:1fr;gap:14px;margin-top:13px}.customer-workspace-header dl{grid-template-columns:repeat(3,minmax(0,1fr))}.customer-workspace-actions{grid-column:auto;align-items:stretch;grid-template-columns:minmax(0,1fr) auto auto}.customer-workspace-group-switch{width:100%}.topbar-actions .quick-action:first-child{display:none}.row-density-control>span{display:none}.quick-action{padding:0 8px}.page-heading{align-items:stretch;flex-direction:column}.page-heading>.button{align-self:flex-start}.customer-style-workspace{padding:25px 22px 45px}.customer-style-workspace.is-table-view{padding:0}.customer-style-table-controls{align-items:stretch;flex-direction:column;padding:20px 22px 0}.customer-style-table-actions{justify-content:space-between}.customer-style-heading-actions{align-items:stretch;flex-direction:column}.customer-style-heading-actions>.button{align-self:flex-start}.customer-style-view-toggle{align-self:flex-start}.customer-style-toolbar{align-items:stretch;flex-wrap:wrap}.customer-style-toolbar .search-box{width:100%;flex-basis:100%}.customer-style-toolbar .compact-filter{margin-left:0}.style-group-heading{align-items:flex-start;flex-direction:column;gap:12px}.style-group-summary{width:100%;flex-wrap:wrap}.style-group-summary>.button{margin-left:auto}.style-variant-row{grid-template-columns:minmax(0,1fr);align-items:start}.style-variant-media,.style-variant-identity,.style-variant-facts,.style-variant-exception,.style-variant-actions{grid-column:1 / -1}.style-variant-media{width:100%;min-width:0;flex-wrap:wrap}.style-variant-actions{min-width:0;justify-content:flex-start}.toolbar{display:flex;align-items:stretch;flex-direction:column;flex-wrap:wrap}.search-box,.toolbar-filters{width:100%;flex-basis:100%}.toolbar-actions{width:100%;flex-wrap:wrap;justify-content:flex-end;margin-left:0}.metric-grid,.stage-flow{grid-template-columns:repeat(2,minmax(0,1fr))}.work-item{grid-template-columns:74px 1fr auto}.work-item time{display:none}.style-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.cost-grid{grid-template-columns:1fr}.cost-breakdown{grid-template-columns:repeat(2,minmax(0,1fr))}.material-ledger-grid>article{grid-template-columns:repeat(2,minmax(0,1fr))}.relation-counts{grid-template-columns:repeat(3,minmax(0,1fr))}.login-page{grid-template-columns:1fr}.login-visual{min-height:auto;padding:30px 24px}.login-copy{margin-top:75px}.login-copy h1{font-size:43px}.login-points{grid-template-columns:1fr}.login-form-side{min-height:auto;padding:35px 20px 60px}.setup-steps{grid-template-columns:1fr}.modal-backdrop.is-workspace{top:68px;padding:0}.modal-panel.is-workspace,.modal-panel.is-wide.is-workspace{width:min(680px,100vw);max-height:calc(100vh - 68px);height:calc(100vh - 68px);border-radius:16px 0 0}}@media(max-width:560px){.customer-workspace-group-switch{width:100%;grid-template-columns:minmax(0,1fr)}.customer-workspace-group-switch>small{grid-column:1}.style-group-workspace-scope{grid-template-columns:minmax(0,1fr)}.style-group-workspace-scope>small{grid-column:1}.material-sourcing-switcher,.garment-costing-switcher,.material-quote-context,.garment-costing-context,.garment-checklist-tabs{margin-right:12px;margin-left:12px}.material-sourcing-tabs,.garment-costing-tabs{grid-template-columns:1fr}.material-quote-context,.garment-costing-context{align-items:flex-start;flex-direction:column}.business-choice-catalogs{grid-template-columns:1fr}.business-choice-settings>header,.business-choice-catalog>header{align-items:flex-start;flex-direction:column}.business-choice-settings>header>small{max-width:none;text-align:left}.business-choice-row{grid-template-columns:44px minmax(0,1fr);align-items:start}.business-choice-select{grid-column:1;grid-row:1}.business-choice-field{grid-column:2}.business-choice-row-footer{grid-column:2;align-items:stretch;flex-direction:column}.business-choice-actions{width:100%;justify-content:stretch}.business-choice-actions .button{flex:1 1 0}.business-choice-row .status-pill{align-self:flex-start}.page-section{padding:22px 13px 38px}.toolbar-filters{display:grid;grid-template-columns:minmax(0,1fr)}.compact-filter{width:100%;justify-content:space-between}.compact-filter .themed-select{flex:1 1 116px}.modal-header{align-items:flex-start;gap:12px;padding:14px 15px}.modal-header>div{min-width:0}.modal-header .icon-button{width:40px;height:40px;flex:0 0 40px}.workspace-mode-buttons{width:100%}.workspace-mode-buttons>button{min-width:0;flex:1}.workspace-current-customer{width:100%;text-align:left}.customer-style-workspace{padding:22px 13px 38px}.customer-style-workspace.is-table-view{padding:0}.customer-style-table-controls{padding:14px 13px 0}.customer-style-table-context{grid-template-columns:minmax(0,1fr);gap:4px}.customer-style-table-context>strong{white-space:normal}.customer-style-table-actions{align-items:stretch;flex-direction:column}.customer-style-table-actions>.button{width:100%}.customer-style-view-toggle{width:100%}.customer-style-view-toggle>button{min-width:0;flex:1;padding:0 9px}.style-group-heading{padding:14px}.style-group-summary>.button{width:100%;margin-left:0}.style-variant-row{gap:11px;padding:13px}.style-variant-facts{grid-template-columns:repeat(2,minmax(0,1fr))}.style-variant-actions{flex-wrap:wrap}.style-editor-media{padding:11px}.style-editor-media>header{align-items:stretch;flex-direction:column}.style-editor-media>header .button{width:100%}.style-editor-media-viewer{max-width:none}.style-row-gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.customer-workspace-header dl,.customer-workspace-actions{grid-template-columns:1fr}.customer-workspace-actions>.button{width:100%}.breadcrumb>span,.breadcrumb>b{display:none}.topbar-actions .quick-action{font-size:0}.topbar-actions .quick-action span{font-size:14px}.toast{right:13px;bottom:13px;left:13px;max-width:none}.metric-grid{grid-template-columns:1fr 1fr}.metric-card{min-height:112px;padding:13px}.metric-card>strong{font-size:23px}.stage-flow,.compact-columns,.formula-grid,.conservation-card>div{grid-template-columns:1fr}.work-item{grid-template-columns:68px 1fr}.work-item .status-pill{display:none}.form-grid,.detail-grid,.system-facts,.record-remote-conflict-options{grid-template-columns:1fr}.style-identity-fields{padding:13px}.style-identity-fields>header{align-items:stretch;flex-direction:column}.style-identity-fields>header .button{width:100%}.style-identity-grid{grid-template-columns:1fr}.field.is-full,.detail-item.is-full{grid-column:1}.modal-backdrop{align-items:end;padding:0}.modal-panel,.modal-panel.is-wide{width:100%;max-height:96vh;border-radius:16px 16px 0 0}.modal-panel.is-workspace,.modal-panel.is-wide.is-workspace{width:100%;border-radius:16px 16px 0 0}.modal-body{padding:15px}.confirm-dialog-actions{margin:0 -15px -15px;padding:12px 15px calc(15px + env(safe-area-inset-bottom))}.confirm-dialog-actions .button{flex:1}.form-actions{bottom:-15px;margin:0 -15px -15px;padding:12px 15px calc(15px + env(safe-area-inset-bottom))}.table-meta{min-height:0;align-items:flex-start;flex-direction:column;gap:4px;padding:10px 14px}.table-meta small{line-height:1.5}.module-context-card{align-items:flex-start;flex-direction:column;gap:9px}.module-context-card>div{grid-template-columns:1fr}.module-context-card small{grid-column:1}.style-summary,.relation-counts{grid-template-columns:repeat(2,minmax(0,1fr))}.terminal-inspection-summary>div{grid-template-columns:minmax(0,1fr)}.terminal-inspection-summary article{grid-template-columns:minmax(78px,1fr) repeat(3,auto)}.login-copy h1{font-size:36px}.login-copy>p:not(.eyebrow){font-size:10px}.setup-page{padding:14px}.setup-page>section{padding:27px 18px}.setup-page h1{font-size:24px}}.style-thumbnail{display:block;width:68px;min-width:68px;height:68px;object-fit:cover;color:var(--wine-700);background:var(--wine-50);border:1px solid var(--stone-200);border-radius:10px}span.style-thumbnail{display:grid;place-items:center;font-size:11px;font-weight:800}.style-thumbnail-button .style-thumbnail{transition:transform .16s ease,box-shadow .16s ease}.style-thumbnail-button:hover .style-thumbnail{box-shadow:var(--shadow-sm);transform:scale(1.03)}@media(max-width:560px){.attachment-image-preview-dialog{min-height:46vh;max-height:58vh}.attachment-image-canvas{padding:8px}.attachment-image-viewer-status,.attachment-image-viewer-toolbar,.attachment-image-viewer-footer{align-items:stretch;flex-direction:column}.attachment-image-viewer-nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.attachment-image-viewer-zoom{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}.attachment-image-viewer-zoom>:first-child{grid-column:1 / -1;grid-row:1}.attachment-image-viewer-zoom>:nth-child(2){grid-column:1 / -1;grid-row:2}.attachment-image-viewer-zoom>:nth-child(3),.attachment-image-viewer-zoom>:nth-child(4),.attachment-image-viewer-zoom>:nth-child(5){grid-row:3}.attachment-image-viewer-footer .button,.attachment-image-viewer-status .button{width:100%}}.style-table-primary-cell{display:flex;align-items:center;gap:10px;min-width:220px}.style-table-primary-cell .style-thumbnail{width:48px;min-width:48px;height:48px;border-radius:8px}.style-table-primary-cell .cell-button{min-width:0}.style-row-cover-strip{display:flex;flex:0 0 auto;align-items:center;gap:4px}.style-row-media-button,.style-row-media-empty{position:relative;display:grid;width:clamp(38px,calc((var(--record-row-height) - 12px) * .74),88px);min-width:clamp(38px,calc((var(--record-row-height) - 12px) * .74),88px);height:clamp(38px,calc((var(--record-row-height) - 12px) * .74),88px);overflow:hidden;place-items:center;padding:0;color:var(--wine-700);background:var(--wine-50);border:1px solid var(--stone-200);border-radius:8px}.style-row-media-button:not(:disabled){cursor:zoom-in}.style-row-media-button:disabled{cursor:default;opacity:.72}.style-row-media-button img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .15s ease}.style-row-media-button:hover:not(:disabled) img,.style-row-media-button:focus-visible:not(:disabled) img{transform:scale(1.06)}.style-row-media-zoom-icon{position:absolute;right:4px;bottom:4px;display:grid;width:20px;height:20px;place-items:center;color:#fff;pointer-events:none;background:#3a161dd1;border-radius:999px;box-shadow:0 2px 8px #2116123d}.style-row-media-zoom-icon svg{width:13px;height:13px;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.8}.style-row-media-empty{font-size:10px;font-weight:800}.style-row-attachment-carousel{display:grid;min-width:158px;grid-template-columns:24px auto 24px 30px;align-items:center;justify-content:start;gap:4px}.style-row-attachment-carousel>button:not(.style-row-media-button){display:grid;width:24px;height:30px;place-items:center;padding:0;cursor:pointer;color:var(--wine-700);background:var(--stone-50);border:1px solid var(--stone-200);border-radius:7px}.style-row-attachment-carousel>button:disabled{cursor:default;opacity:.35}.style-row-attachment-carousel>small{grid-column:1 / -1;color:var(--stone-500);font-size:8px;text-align:center}.style-row-attachment-carousel>.style-row-gallery-toggle{width:30px}.style-row-gallery-toggle svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.5}.style-row-gallery-backdrop{position:fixed;z-index:198;inset:0;background:#2116121f}.style-row-gallery-popover{position:fixed;z-index:199;display:grid;min-height:280px;overflow:hidden;grid-template-rows:auto auto minmax(0,1fr) auto;color:var(--stone-800);background:#fdfbf7fc;border:1px solid var(--gold-200);border-radius:14px;box-shadow:var(--shadow-lg)}.style-row-gallery-popover>header{grid-row:1;display:flex;align-items:start;justify-content:space-between;gap:16px;padding:14px 16px;border-bottom:1px solid var(--stone-200)}.style-row-gallery-popover>header>div{display:grid;gap:3px}.style-row-gallery-popover>header strong{color:var(--wine-900);font-size:14px}.style-row-gallery-popover>header small{color:var(--stone-500);font-size:10px}.style-row-gallery-popover>header>button{display:grid;width:30px;height:30px;flex:0 0 auto;place-items:center;padding:0;color:var(--wine-700);background:var(--stone-50);border:1px solid var(--stone-200);border-radius:999px}.style-row-gallery-popover>.attachment-error,.style-row-gallery-popover>.mini-empty{margin:12px 14px}.style-row-gallery-popover>.attachment-error{grid-row:2}.style-row-gallery-popover>.mini-empty{grid-row:3}.style-row-gallery-grid{min-height:0;grid-row:3;display:grid;align-content:start;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;padding:12px 14px 16px;overflow:auto}.style-row-gallery-grid>article{display:grid;min-width:0;gap:6px;padding:7px;background:#fff;border:1px solid var(--stone-200);border-radius:10px}.style-row-gallery-grid>article[draggable=true]{cursor:grab}.style-row-gallery-grid>article.is-dragging{cursor:grabbing;opacity:.58;border-color:var(--gold-500);box-shadow:0 0 0 2px #be912c24}.style-row-gallery-image{display:grid;width:100%;aspect-ratio:1;overflow:hidden;place-items:center;padding:0;cursor:zoom-in;background:var(--stone-50);border:0;border-radius:8px}.style-row-gallery-image img.style-thumbnail{width:auto;max-width:100%;height:auto;max-height:100%;object-fit:contain;background-color:var(--paper);background-image:linear-gradient(45deg,var(--stone-100) 25%,transparent 25%),linear-gradient(-45deg,var(--stone-100) 25%,transparent 25%),linear-gradient(45deg,transparent 75%,var(--stone-100) 75%),linear-gradient(-45deg,transparent 75%,var(--stone-100) 75%);background-position:0 0,0 6px,6px -6px,-6px 0;background-size:12px 12px;border:0;border-radius:0}.style-row-gallery-grid footer{display:grid;min-width:0;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:5px}.style-row-gallery-grid footer>span{color:var(--wine-700);font-size:9px;font-weight:800}.style-row-gallery-grid footer>strong{overflow:hidden;font-size:9px;text-overflow:ellipsis;white-space:nowrap}.style-row-gallery-grid footer>div{display:flex;gap:3px}.style-row-gallery-grid footer button{width:24px;height:24px;padding:0;color:var(--wine-700);background:var(--stone-50);border:1px solid var(--stone-200);border-radius:6px}.style-row-gallery-limit{grid-row:4;padding:8px 14px;color:var(--stone-500);font-size:9px;border-top:1px solid var(--stone-200)}.style-row-media-none{color:var(--stone-400);font-size:9px;white-space:nowrap}.style-row-attachment-cell{display:grid;min-width:138px;justify-items:start;gap:4px}.style-row-upload-status{color:var(--wine-700);font-size:9px;font-weight:800;white-space:nowrap}tr.style-row-drop-target>td,.style-variant-row.style-row-drop-target{background:#ebd8a247;box-shadow:inset 0 0 0 2px var(--gold-400)}.style-editor-media{position:relative;display:grid;gap:8px;margin-bottom:16px;padding:12px;background:#faf7f1d6;border:1px solid var(--stone-200);border-radius:15px}.style-editor-media.is-file-dragging{border-color:var(--gold-500);box-shadow:inset 0 0 0 2px #c2933838}.style-editor-media>header{display:flex;align-items:center;justify-content:space-between;gap:12px}.style-editor-media>header>div{display:grid;min-width:0;gap:3px}.style-editor-media>header .button{min-height:44px}.style-editor-media>header small,.style-editor-media>small{color:var(--stone-500);font-size:11px;line-height:1.45}.style-editor-media-viewer{position:relative;display:grid;min-width:0;gap:7px;border-radius:11px;outline:none}.style-editor-media-viewer:focus-visible{outline:3px solid var(--gold-500);outline-offset:3px}.style-editor-media-stage{position:relative;display:grid;width:100%;height:clamp(140px,22vh,180px);min-width:0;overflow:hidden;place-items:center;touch-action:pan-y;background:var(--stone-50);border:1px solid var(--stone-200);border-radius:10px}.style-editor-media-image{display:grid;width:100%;height:100%;overflow:hidden;place-items:center;padding:0;cursor:zoom-in;background:var(--stone-50);border:0;border-radius:9px}.style-editor-media-image.is-featured{width:100%;height:100%}.style-editor-media-image img.style-thumbnail{width:auto;min-width:0;max-width:100%;height:auto;max-height:100%;object-fit:contain;background-color:var(--paper);background-image:linear-gradient(45deg,var(--stone-100) 25%,transparent 25%),linear-gradient(-45deg,var(--stone-100) 25%,transparent 25%),linear-gradient(45deg,transparent 75%,var(--stone-100) 75%),linear-gradient(-45deg,transparent 75%,var(--stone-100) 75%);background-position:0 0,0 6px,6px -6px,-6px 0;background-size:12px 12px;border:0;border-radius:0}.style-editor-media-nav{position:absolute;top:50%;z-index:2;display:grid;width:44px;height:44px;place-items:center;padding:0;transform:translateY(-50%);color:var(--wine-700);background:#fdfbf7eb;border:1px solid var(--gold-200);border-radius:999px;box-shadow:var(--shadow-sm);transition:opacity .16s ease,background-color .16s ease}.style-editor-media-nav.is-previous{left:8px}.style-editor-media-nav.is-next{right:8px}.style-editor-media-nav svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.8}.style-editor-media-nav:disabled{color:var(--stone-400);cursor:not-allowed;opacity:.55}.style-editor-media-viewer footer{display:flex;align-items:center;justify-content:space-between;gap:5px;min-width:0}.style-editor-media-viewer footer>strong,.style-editor-media-viewer footer>span{overflow:hidden;color:var(--wine-700);font-size:11px;font-weight:800;text-overflow:ellipsis;white-space:nowrap}.style-editor-media-viewer footer>strong{color:var(--stone-700)}@media(max-width:1279px){.modal-workspace-rail{max-height:150px;padding:8px 20px;overflow-y:auto;overscroll-behavior:contain}.modal-workspace-rail>.style-editor-media{grid-template-columns:minmax(144px,200px) minmax(0,1fr);grid-template-rows:auto minmax(0,1fr);column-gap:12px;row-gap:6px;margin-bottom:0;padding:8px 10px}.modal-workspace-rail .style-editor-media>header{grid-column:2;grid-row:1;align-items:flex-start}.modal-workspace-rail .style-editor-media>header small,.modal-workspace-rail .style-editor-media>small{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2}.modal-workspace-rail .style-editor-media-viewer{grid-column:1;grid-row:1 / span 2;align-self:start}.modal-workspace-rail .style-editor-media-stage{height:clamp(88px,12vh,104px)}.modal-workspace-rail .style-editor-media>small,.modal-workspace-rail .style-editor-media>.attachment-error{grid-column:2;grid-row:2;align-self:start}.modal-workspace-rail .style-editor-media>.mini-empty{min-height:104px;grid-column:1;grid-row:1 / span 2}.modal-workspace-rail .style-editor-media-drop{position:absolute;inset:8px;z-index:4;min-height:0}}@media(max-width:560px){.modal-workspace-rail{padding-right:8px;padding-left:8px}.modal-workspace-rail>.style-editor-media{grid-template-columns:116px minmax(0,1fr);column-gap:8px;padding:7px}.modal-workspace-rail .style-editor-media-stage{height:88px}.modal-workspace-rail .style-editor-media>header{align-items:stretch;gap:6px;flex-direction:column}.modal-workspace-rail .style-editor-media>small{-webkit-line-clamp:1}}@media(hover:hover)and (pointer:fine){.style-editor-media-nav,.style-editor-media-nav:disabled,.attachment-image-edge-nav,.attachment-image-edge-nav:disabled{opacity:0}.style-editor-media-stage:hover .style-editor-media-nav,.style-editor-media-stage:focus-within .style-editor-media-nav,.style-editor-media-viewer:focus-visible .style-editor-media-nav,.attachment-image-preview-frame:hover .attachment-image-edge-nav,.attachment-image-preview-frame:focus-within .attachment-image-edge-nav{opacity:1}.style-editor-media-stage:hover .style-editor-media-nav:disabled,.style-editor-media-stage:focus-within .style-editor-media-nav:disabled,.style-editor-media-viewer:focus-visible .style-editor-media-nav:disabled,.attachment-image-preview-frame:hover .attachment-image-edge-nav:disabled,.attachment-image-preview-frame:focus-within .attachment-image-edge-nav:disabled{opacity:.55}}@media(min-width:1280px){.modal-workspace-rail .style-editor-media-stage{height:auto;aspect-ratio:3 / 4}}.style-editor-media-drop{display:grid;min-height:54px;place-items:center;color:var(--wine-700);font-size:11px;font-weight:800;background:#ebd8a238;border:1px dashed var(--gold-500);border-radius:10px}.style-row-media-hover{position:fixed;z-index:190;width:260px;height:320px;display:grid;overflow:hidden;place-items:center;padding:0;pointer-events:none;background:var(--stone-50);border:0;border-radius:12px;box-shadow:var(--shadow-lg)}.style-row-media-hover img{display:block;width:auto;max-width:100%;height:auto;max-height:100%;object-fit:contain;background-color:var(--paper);background-image:linear-gradient(45deg,var(--stone-100) 25%,transparent 25%),linear-gradient(-45deg,var(--stone-100) 25%,transparent 25%),linear-gradient(45deg,transparent 75%,var(--stone-100) 75%),linear-gradient(-45deg,transparent 75%,var(--stone-100) 75%);background-position:0 0,0 6px,6px -6px,-6px 0;background-size:12px 12px;border-radius:12px}@media(hover:none),(pointer:coarse){.style-row-media-hover{display:none}}@media(prefers-reduced-motion:reduce){.select-popover{animation:none}.select-trigger>.select-chevron{transition:none}.style-editor-media-nav,.attachment-image-edge-nav{transition:none}tr.record-commit-highlight>td{animation:none;background:#ebd8a252;box-shadow:inset 3px 0 0 var(--wine-600)}}.style-thumbnail-attachment-row{grid-template-columns:minmax(0,1fr) auto auto}.style-thumbnail-attachment-row .attachment-item{grid-template-columns:68px minmax(0,1fr) 14px}.style-thumbnail-cover-action,.style-thumbnail-cover-status{align-self:stretch;padding:0 10px;border-radius:8px;font-size:10px;font-weight:750;white-space:nowrap}.style-thumbnail-cover-action{cursor:pointer;color:var(--wine-700);background:var(--gold-100);border:1px solid var(--gold-200)}.style-thumbnail-cover-action:hover:not(:disabled){color:#fff;background:var(--wine-700);border-color:var(--wine-700)}.style-thumbnail-cover-action:disabled{cursor:wait;opacity:.55}.style-thumbnail-cover-status{display:grid;place-items:center;color:var(--green-700);background:var(--green-100);border:1px solid rgba(47,107,76,.18)}.style-thumbnail-summary{grid-template-columns:minmax(170px,1.35fr) repeat(5,minmax(0,1fr))}.style-thumbnail-summary>.style-summary-cover{align-items:center;padding-inline:8px}.style-summary-cover-list{display:grid;grid-template-columns:repeat(3,minmax(42px,1fr));gap:6px;width:100%}.style-summary-cover-list .style-thumbnail-button,.style-summary-cover-list .style-thumbnail{width:100%;min-width:0}@media(max-width:800px){.style-thumbnail-summary{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:560px){.style-thumbnail-attachment-row{grid-template-columns:minmax(0,1fr) auto}.style-thumbnail-attachment-row .attachment-item{grid-column:1 / -1}.style-thumbnail-cover-action,.style-thumbnail-cover-status{min-height:38px}}.supplier-qr-field{grid-column:1 / -1;display:grid;gap:14px;padding:clamp(14px,2vw,20px);border:1px solid var(--line);border-radius:16px;background:#faf7f1b8}.supplier-qr-heading,.supplier-qr-body,.supplier-qr-picker,.supplier-qr-results,.supplier-qr-retry,.supplier-qr-duplicate{display:flex;gap:12px}.supplier-qr-heading{align-items:flex-start;justify-content:space-between}.supplier-qr-heading>div,.supplier-qr-picker,.supplier-qr-results,.supplier-qr-retry,.supplier-qr-duplicate{flex-direction:column}.supplier-qr-heading strong{display:block;margin-bottom:4px;font-size:15px}.supplier-qr-heading small,.supplier-qr-picker small,.supplier-qr-result small{color:var(--stone-600);line-height:1.55}.supplier-qr-status{flex:0 0 auto;padding:6px 10px;border-radius:999px;color:var(--gold-700);background:var(--gold-100);font-size:12px;font-weight:750}.supplier-qr-status.is-recognized{color:var(--green-700);background:var(--green-100)}.supplier-qr-status.is-failed,.supplier-qr-status.is-no_code{color:var(--wine-700);background:var(--red-100)}.supplier-qr-picker input[type=file]{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%)}.supplier-qr-picker-actions{display:flex;flex-wrap:wrap;gap:10px}.supplier-qr-picker .button{align-self:flex-start;cursor:pointer}.supplier-qr-body{align-items:flex-start}.supplier-qr-preview{width:140px;height:140px;flex:0 0 140px;object-fit:contain;border:1px solid var(--line);border-radius:12px;background:#fff}.supplier-qr-results{min-width:0;flex:1}.supplier-qr-results>p{margin:0;color:var(--stone-600);line-height:1.6}.supplier-qr-result{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:10px;width:100%;padding:12px;cursor:pointer;text-align:left;color:var(--stone-800);border:1px solid var(--line);border-radius:12px;background:#fff}.supplier-qr-result span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.supplier-qr-result.is-selected{border-color:var(--gold-500);box-shadow:0 0 0 2px #bf8b351f}.supplier-qr-duplicate{margin:0}.supplier-qr-retry{align-items:flex-start;padding-top:4px}.supplier-qr-field progress{width:100%;accent-color:var(--wine-700)}.attachment-panel>.supplier-qr-field{margin-top:12px}.supplier-qr-verified-list{display:grid;gap:8px}.supplier-qr-verified-list article{display:grid;grid-template-columns:72px minmax(0,1fr) auto;align-items:center;gap:12px;padding:8px;border:1px solid var(--stone-200);border-radius:12px;background:#fff}.supplier-qr-verified-list img{width:72px;height:72px;border-radius:9px;object-fit:contain;background:var(--stone-100)}.supplier-qr-verified-list strong,.supplier-qr-verified-list small{display:block;overflow-wrap:anywhere}.supplier-qr-verified-list small{margin-top:4px;color:var(--stone-600)}@media(max-width:680px){.supplier-qr-body{flex-direction:column}.supplier-qr-preview{width:min(100%,240px);height:180px;flex-basis:180px}.supplier-qr-result{grid-template-columns:1fr}.supplier-qr-result span{white-space:normal;overflow-wrap:anywhere}.supplier-qr-verified-list article{grid-template-columns:60px minmax(0,1fr)}.supplier-qr-verified-list img{width:60px;height:60px}.supplier-qr-verified-list .text-button{grid-column:1 / -1;justify-self:start}}@media(min-width:1900px){.page-section,.customer-style-workspace{width:min(1840px,100%);padding:36px 38px 62px}.customer-style-workspace.is-table-view{width:100%;padding:0}.customer-style-table-controls{width:min(1840px,100%);padding:28px 38px 0}.topbar{min-height:74px}.main-shell .breadcrumb,.main-shell .topbar-center,.main-shell .quick-action,.main-shell .button,.main-shell .text-button,.main-shell .search-box input,.main-shell .select-trigger,.main-shell .compact-filter{font-size:14px}.main-shell .page-heading h1{font-size:44px}.main-shell .page-heading>div>p:last-child,.main-shell .table-meta,.main-shell .table-meta small,.main-shell .status-pill,.main-shell .row-actions button,.main-shell .pagination,.main-shell .pagination button{font-size:13px}.main-shell th{font-size:12px}.main-shell td,.main-shell .cell-button{font-size:14px}.main-shell .business-choice-settings>header>small,.main-shell .business-choice-catalog>header p,.main-shell .business-choice-note,.main-shell .business-choice-field{font-size:13px}}.material-source-workspace{width:100%;max-height:calc(100vh - 164px);overflow:auto;color:var(--stone-800);background:var(--stone-50);border:1px solid var(--stone-200);border-radius:18px;box-shadow:var(--shadow-sm)}.material-source-initial-loading,.material-source-empty-workbench{min-height:220px;display:grid;place-items:center;padding:32px;color:var(--stone-600);border:1px dashed var(--stone-300);background:var(--paper)}.material-source-heading{position:sticky;top:0;z-index:4;display:flex;align-items:flex-start;justify-content:space-between;gap:24px;padding:22px 26px 18px;border-bottom:1px solid var(--stone-200);background:#fdfbf7fa}.material-source-heading h2{margin:3px 0 4px;color:var(--wine-950);font-family:Songti SC,STSong,SimSun,serif;font-size:clamp(24px,2.3vw,34px);font-weight:600}.material-source-heading p,.material-source-heading small,.material-source-section small,.material-source-version-rail small{margin:0;color:var(--stone-600);line-height:1.55}.material-source-kicker{color:var(--gold-700);font-size:12px;font-weight:700;letter-spacing:.12em}.material-source-heading-actions,.material-source-form-actions,.material-source-choice-row,.material-source-submit-bar{display:flex;align-items:center;flex-wrap:wrap;gap:10px}.material-source-workspace>.form-alert{margin:14px 20px 0}.material-source-layout{display:grid;grid-template-columns:minmax(218px,.29fr) minmax(0,1fr);gap:0;align-items:start}.material-source-version-rail{position:sticky;top:96px;max-height:calc(100vh - 270px);overflow:auto;padding:20px 16px;border-right:1px solid var(--stone-200);background:var(--stone-100)}.material-source-version-rail>header,.material-source-section>header,.material-source-legacy-list>header,.material-source-repeat-row>header,.material-source-attachments>header{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}.material-source-version-rail header>div,.material-source-section header>div,.material-source-repeat-row header>div,.material-source-attachments header>div{display:grid;gap:3px}.material-source-series-list,.material-source-repeat-list{display:grid;gap:12px;margin-top:14px}.material-source-series{padding:12px;border:1px solid var(--stone-200);border-left:3px solid var(--wine-700);border-radius:10px;background:var(--paper)}.material-source-series-heading{display:grid;gap:2px;padding-bottom:8px;border-bottom:1px solid var(--stone-150)}.material-source-version-buttons{display:grid;gap:7px;margin-top:9px}.material-source-version-buttons>div{display:grid;gap:4px}.material-source-version-button{width:100%;display:flex;align-items:center;justify-content:space-between;gap:8px;padding:8px 9px;color:var(--stone-800);text-align:left;border:1px solid transparent;border-radius:7px;background:transparent;cursor:pointer}.material-source-version-button:hover,.material-source-version-button:focus-visible,.material-source-version-button.is-active{color:var(--wine-800);border-color:var(--wine-100);background:var(--wine-50);outline:none}.material-source-primary-mark,.material-source-safety-mark,.material-source-unlocked{width:fit-content;padding:2px 7px;color:var(--amber-700);font-size:11px;font-weight:700;border:1px solid color-mix(in srgb,var(--amber-700) 28%,transparent);border-radius:999px;background:var(--amber-100)}.material-source-safety-mark.is-danger{color:var(--red-700);border-color:color-mix(in srgb,var(--red-700) 28%,transparent);background:var(--red-100)}.material-source-load-more{width:100%;margin-top:14px}.material-source-legacy-list{display:grid;gap:9px;margin-top:20px;padding-top:16px;border-top:1px solid var(--stone-300)}.material-source-legacy-list>article{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:9px;border:1px dashed var(--stone-300);border-radius:8px;background:color-mix(in srgb,var(--paper) 78%,var(--stone-100))}.material-source-legacy-list>article>div{display:grid;gap:2px}.material-source-workbench{min-width:0;padding:20px;background:var(--paper)}.material-source-form{display:grid;gap:16px}.material-source-form-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding:0 2px 15px;border-bottom:2px solid var(--wine-100)}.material-source-form-heading>div:first-child{display:grid;gap:2px}.material-source-form-heading>div:first-child>span{color:var(--gold-700);font-size:12px;font-weight:700}.material-source-form-heading>div:first-child>strong{color:var(--wine-950);font-family:Songti SC,STSong,SimSun,serif;font-size:24px}.material-source-section{display:grid;gap:14px;padding:16px;border:1px solid var(--stone-200);border-radius:12px;background:var(--paper)}.material-source-section>header>strong,.material-source-section>header>div>strong{color:var(--wine-800)}.material-source-field-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.material-source-field-grid .field.is-full{grid-column:1 / -1}.material-source-derived-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;padding:10px;border-top:1px solid var(--stone-150);border-bottom:1px solid var(--stone-150);background:var(--stone-50)}.material-source-derived-grid>div{display:grid;gap:3px;min-width:0}.material-source-derived-grid span{color:var(--stone-600);font-size:12px}.material-source-derived-grid strong{overflow-wrap:anywhere;color:var(--wine-800);font-variant-numeric:tabular-nums}.material-source-frozen-reason{display:grid;gap:4px;padding:10px 12px;color:var(--stone-800);border-left:3px solid var(--wine-600);background:var(--stone-50)}.material-source-frozen-reason span{color:var(--stone-600);font-size:12px}.material-source-choice-row label{display:inline-flex;align-items:center;gap:6px;padding:7px 10px;border:1px solid var(--stone-200);border-radius:7px;background:var(--stone-50)}.material-source-choice-row input{accent-color:var(--wine-700)}.material-source-repeat-row{padding:13px;border:1px solid var(--stone-200);border-radius:10px;background:var(--stone-50)}.material-source-repeat-row>header{margin-bottom:12px;padding-bottom:9px;border-bottom:1px solid var(--stone-150)}.material-source-repeat-row>header>div:last-child{display:flex;align-items:center;gap:8px}.material-source-conflicts{display:grid;gap:9px;padding:13px;color:var(--red-700);border:1px solid color-mix(in srgb,var(--red-700) 32%,transparent);border-radius:10px;background:var(--red-100)}.material-source-conflicts article{display:flex;align-items:center;justify-content:space-between;gap:12px}.material-source-conflicts article>div{display:flex;gap:7px}.material-source-field-error-summary{display:grid;gap:8px;padding:12px 14px;color:var(--wine-800);border:1px solid var(--wine-100);border-left:4px solid var(--wine-700);border-radius:10px;background:color-mix(in srgb,var(--paper) 72%,var(--wine-50))}.material-source-field-error-summary:focus-visible{outline:2px solid var(--wine-700);outline-offset:2px}.material-source-field-error-summary ul{display:flex;flex-wrap:wrap;gap:6px 14px;margin:0;padding-left:18px}.material-source-field-error-summary li{min-width:0;overflow-wrap:anywhere;color:var(--red-700);font-size:12px}.material-source-derived-error{flex-direction:column;gap:2px}.material-source-derived-error span:last-child{color:var(--wine-800);overflow-wrap:anywhere}.material-source-performance-note{padding:8px 10px;color:var(--amber-700);border-left:3px solid var(--amber-700);background:var(--amber-100)}.material-source-attachment-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(132px,1fr));gap:10px}.material-source-attachment-grid>article{min-width:0;display:grid;grid-template-columns:68px minmax(0,1fr);align-items:center;gap:8px;padding:8px;border:1px solid var(--stone-200);border-radius:8px;background:var(--stone-50)}.material-source-attachment-grid>article>div{min-width:0;display:grid;gap:2px}.material-source-attachment-grid strong,.material-source-attachment-grid small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.material-source-attachment-grid .text-button{grid-column:1 / -1;justify-self:end}.material-source-submit-bar{position:sticky;bottom:0;z-index:3;justify-content:flex-end;padding:12px;border-top:1px solid var(--stone-200);background:#fdfbf7fa}.material-source-primary-panel{border-left:4px solid var(--wine-700);background:var(--wine-50)}@media(max-width:1024px){.material-source-workspace{max-height:none}.material-source-layout{grid-template-columns:1fr}.material-source-version-rail{position:static;max-height:none;border-right:0;border-bottom:1px solid var(--stone-200)}.material-source-series-list{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:768px){.material-source-heading,.material-source-form-heading,.material-source-section>header,.material-source-conflicts article{align-items:stretch;flex-direction:column}.material-source-heading-actions,.material-source-form-actions{width:100%}.material-source-heading-actions .button,.material-source-form-actions .button{flex:1 1 auto}.material-source-field-error-summary ul{display:grid;grid-template-columns:minmax(0,1fr)}.material-source-series-list,.material-source-field-grid,.material-source-derived-grid{grid-template-columns:1fr}.material-source-workbench,.material-source-version-rail{padding:14px}.material-source-attachment-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:480px){.material-source-heading,.material-source-workbench,.material-source-version-rail{padding:12px}.material-source-section,.material-source-repeat-row{padding:11px}.material-source-attachment-grid{grid-template-columns:1fr}.material-source-submit-bar{align-items:stretch;flex-direction:column-reverse}.material-source-submit-bar .button{width:100%}}.business-archive-page{display:grid;min-width:0;gap:12px}.business-archive-panel{min-width:0}.business-archive-switcher{display:grid;grid-template-columns:minmax(190px,.72fr) minmax(520px,1.45fr) auto;align-items:center;gap:18px;margin:22px 30px -4px;padding:16px 18px;color:var(--stone-800);background:linear-gradient(112deg,rgba(243,234,215,.82),transparent 46%),var(--paper);border:1px solid var(--gold-200);border-left:5px solid var(--wine-800);border-radius:14px;box-shadow:var(--shadow-sm)}.business-archive-switcher-copy{display:grid;min-width:0;gap:4px}.business-archive-switcher-copy .eyebrow{margin:0}.business-archive-switcher-copy>strong{color:var(--wine-950);font-family:Songti SC,STSong,SimSun,serif;font-size:24px;font-weight:600}.business-archive-switcher-copy>small{color:var(--stone-600);font-size:12px;line-height:1.55}.business-archive-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;padding:6px;background:#e9e2d8c7;border:1px solid var(--stone-200);border-radius:12px}.business-archive-tabs>button{display:flex;min-width:0;min-height:44px;align-items:center;justify-content:center;gap:7px;padding:8px 10px;cursor:pointer;color:var(--stone-700);background:transparent;border:1px solid transparent;border-radius:9px;font-size:14px;font-weight:750}.business-archive-tabs>button:hover:not(:disabled){color:var(--wine-800);background:#fdfbf7b8}.business-archive-tabs>button.is-active{color:var(--wine-800);background:var(--paper);border-color:var(--gold-200);box-shadow:var(--shadow-sm)}.business-archive-tabs>button:disabled,.business-archive-legacy-link:disabled{cursor:not-allowed;opacity:.58}.business-archive-tabs b,.business-archive-legacy-link b{display:inline-grid;min-width:23px;height:23px;place-items:center;padding:0 5px;color:var(--wine-800);background:var(--gold-100);border:1px solid var(--gold-200);border-radius:999px;font-size:12px;font-variant-numeric:tabular-nums}.business-archive-legacy-slot{min-width:0}.business-archive-legacy-link,.business-archive-count-error{display:inline-flex;min-height:44px;align-items:center;gap:7px;color:var(--stone-700);background:transparent;border:0;font-size:12px;line-height:1.4}.business-archive-legacy-link{cursor:pointer;text-align:left}.business-archive-legacy-link:hover:not(:disabled),.business-archive-legacy-link.is-active{color:var(--wine-800)}.business-archive-count-error{color:var(--amber-700)}.business-archive-count-error>button{min-width:44px;min-height:44px;cursor:pointer;color:var(--wine-700);background:transparent;border:0;font-weight:750}.business-archive-panel>.page-section{padding-top:18px}.record-form.is-business-archive-form{color:var(--stone-800)}.is-business-archive-form .business-archive-type-step{display:grid;gap:18px;padding:clamp(16px,2.4vw,24px);background:linear-gradient(135deg,rgba(243,234,215,.74),transparent 48%),var(--paper);border:1px solid var(--gold-200);border-left:5px solid var(--wine-800);border-radius:14px}.business-archive-type-step>header{display:grid;gap:4px}.business-archive-type-step>header .eyebrow{margin:0}.business-archive-type-step>header>strong{color:var(--wine-950);font-family:Songti SC,STSong,SimSun,serif;font-size:25px;font-weight:600}.business-archive-type-step>header>small{color:var(--stone-600);font-size:13px;line-height:1.6}.business-archive-type-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.business-archive-type-grid>button{display:grid;min-width:0;min-height:132px;grid-template-columns:auto minmax(0,1fr);align-content:start;gap:7px 12px;padding:17px;cursor:pointer;text-align:left;color:var(--stone-800);background:#fdfbf7f5;border:1px solid var(--stone-200);border-radius:12px;box-shadow:0 8px 18px #3b291b09;transition:border-color .14s ease,box-shadow .14s ease,transform .14s ease}.business-archive-type-grid>button:hover{transform:translateY(-2px);border-color:var(--gold-500);box-shadow:0 14px 28px #3b291b14}.business-archive-type-grid>button>span{grid-row:1 / span 2;display:grid;width:38px;height:38px;place-items:center;color:var(--paper);background:var(--wine-800);border-radius:4px 11px 4px 4px;font-family:Songti SC,STSong,SimSun,serif;font-size:15px;font-variant-numeric:tabular-nums}.business-archive-type-grid>button>strong{color:var(--wine-950);font-family:Songti SC,STSong,SimSun,serif;font-size:20px;font-weight:600}.business-archive-type-grid>button>small{grid-column:2;color:var(--stone-600);font-size:12px;line-height:1.55}.business-archive-type-note{margin:0;padding:11px 13px;color:var(--stone-800);background:var(--amber-100);border:1px solid rgba(154,100,39,.2);border-radius:9px;font-size:13px;line-height:1.55}.business-archive-selected-type{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:13px 15px;background:var(--gold-100);border:1px solid var(--gold-200);border-left:4px solid var(--wine-700);border-radius:10px}.business-archive-selected-type>div{display:grid;min-width:0;grid-template-columns:auto minmax(0,1fr);align-items:baseline;gap:3px 10px}.business-archive-selected-type span,.business-archive-selected-type small{color:var(--stone-800);font-size:12px}.business-archive-selected-type strong{color:var(--wine-800);font-family:Songti SC,STSong,SimSun,serif;font-size:20px}.business-archive-selected-type small{grid-column:1 / -1;line-height:1.5}.is-business-archive-form .field>label{font-size:14px;line-height:1.45}.is-business-archive-form .field input,.is-business-archive-form .field select,.is-business-archive-form .field textarea,.is-business-archive-form .select-trigger{min-height:44px;font-size:16px}.is-business-archive-form .field small,.is-business-archive-form .supplier-qr-heading small,.is-business-archive-form .supplier-qr-picker small,.is-business-archive-form .supplier-qr-result small{font-size:12px}.is-business-archive-form .checkbox-control{min-height:44px}.is-business-archive-form .checkbox-control span,.is-business-archive-form .form-alert{font-size:13px}.is-business-archive-form .button,.is-business-archive-form .text-button,.business-archive-page .button,.business-archive-page .text-button{min-height:44px;font-size:14px}.business-archive-page .search-box{min-height:44px}.business-archive-page .search-box input{height:44px;font-size:16px}.business-archive-page .compact-filter{min-height:44px;font-size:13px}.business-archive-page .themed-select.is-compact .select-trigger{min-height:44px;font-size:14px}.business-archive-page .pagination{min-height:60px;padding-top:8px;padding-bottom:8px;font-size:12px}.business-archive-page .pagination button,.business-archive-page .sort-header,.business-archive-page .cell-button,.business-archive-page .row-actions button{min-height:44px;font-size:13px}.business-archive-page .cell-button{display:inline-flex;align-items:center}.business-archive-page .row-actions button{padding-right:5px;padding-left:5px}.business-archive-page .selection-control{display:inline-grid;width:44px;height:44px;place-items:center;cursor:pointer}.business-archive-page button:focus-visible,.business-archive-page input:focus-visible,.business-archive-page select:focus-visible,.business-archive-page textarea:focus-visible,.is-business-archive-form button:focus-visible,.is-business-archive-form input:focus-visible,.is-business-archive-form select:focus-visible,.is-business-archive-form textarea:focus-visible{outline:3px solid var(--wine-700);outline-offset:2px}.business-archive-page .search-box:focus-within{border-color:var(--wine-700);box-shadow:0 0 0 3px #6d2a382e}@media(max-width:1180px){.business-archive-switcher{grid-template-columns:minmax(190px,.72fr) minmax(390px,1.3fr)}.business-archive-legacy-slot{grid-column:1 / -1;justify-self:end}}@media(max-width:800px){.business-archive-switcher{grid-template-columns:minmax(0,1fr);align-items:stretch;margin:16px 18px -4px}.business-archive-legacy-slot{grid-column:1;justify-self:start}.business-archive-tabs{grid-template-columns:repeat(2,minmax(0,1fr))}.business-archive-panel>.page-section{padding-top:14px}}@media(max-width:560px){.business-archive-switcher{margin-right:12px;margin-left:12px;padding:14px}.business-archive-switcher-copy>strong{font-size:22px}.business-archive-tabs>button{padding:7px 8px;font-size:13px}.business-archive-type-grid,.is-business-archive-form .form-grid{grid-template-columns:minmax(0,1fr)}.business-archive-type-grid>button{min-height:118px}.business-archive-selected-type{align-items:stretch;flex-direction:column}.business-archive-selected-type>.button{width:100%}.business-archive-page .table-scroll{overflow-x:visible}.business-archive-page .table-scroll table,.business-archive-page .table-scroll tbody{display:block;width:100%;min-width:0}.business-archive-page .table-scroll thead{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%)}.business-archive-page .table-scroll tbody>tr{display:grid;width:100%;min-width:0;margin:10px 0;padding:10px 12px;background:var(--paper);border:1px solid var(--stone-200);border-left:4px solid var(--wine-700);border-radius:10px;box-shadow:var(--shadow-sm)}.business-archive-page .table-scroll tbody>tr>td{display:grid;width:100%;min-width:0;min-height:44px;grid-template-columns:minmax(88px,34%) minmax(0,1fr);align-items:center;gap:9px;padding:7px 0;border-bottom:1px solid var(--stone-150);overflow-wrap:anywhere;white-space:normal}.business-archive-page .table-scroll tbody>tr>td:last-child{border-bottom:0}.business-archive-page .table-scroll tbody>tr>td[data-label]:before{content:attr(data-label);color:var(--stone-600);font-size:12px;font-weight:750}.business-archive-page .table-scroll .selection-column{display:flex;min-height:44px;align-items:center}.business-archive-page .table-scroll .row-actions{min-width:0;flex-wrap:wrap}.business-archive-page .table-scroll .row-actions button,.business-archive-page .table-scroll .cell-button{min-height:44px;font-size:14px;white-space:normal}}@media print{.sidebar,.topbar,.toolbar,.button,.row-actions,.toast{display:none!important}.main-shell{margin:0}.page-section{max-width:none;padding:0}body{background:#fff}}
