@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial}}}@layer theme{:root,:host{--font-sans:-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring:where(:not(iframe)){outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab,red,red)){::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.visible{visibility:visible}.sr-only{clip-path:inset(50%);white-space:nowrap;border-width:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.static{position:static}.row-7{grid-row:7}.row-8{grid-row:8}.container{width:100%}@media(min-width:40rem){.container{max-width:40rem}}@media(min-width:48rem){.container{max-width:48rem}}@media(min-width:64rem){.container{max-width:64rem}}@media(min-width:80rem){.container{max-width:80rem}}@media(min-width:96rem){.container{max-width:96rem}}.block{display:block}.contents{display:contents}.table{display:table}.transform{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.rounded{border-radius:.25rem}}:root{color-scheme:light;--bg:#f3f6fb;--sidebar:#fff;--sidebar-soft:#f8fafc;--panel:#fff;--panel-soft:#f8fafc;--ink:#0f172a;--muted:#64748b;--line:#d7deea;--line-strong:#b8c3d4;--accent:#2563eb;--accent-strong:#1d4ed8;--accent-soft:#e8f0ff;--ok:#0f766e;--danger:#b42318;--warn:#b45309;--shadow:0 22px 60px #0f172a1f;--mono:"SFMono-Regular", Consolas, "Liberation Mono", monospace}*{box-sizing:border-box}body{min-height:100dvh;color:var(--ink);background:var(--bg);margin:0;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Microsoft YaHei,sans-serif}button,textarea,input,select{font:inherit}button{cursor:pointer}button:disabled,textarea:disabled,input:disabled{opacity:.62;cursor:not-allowed}a{color:inherit;text-decoration:none}.loading-screen{min-height:100dvh;color:var(--muted);place-items:center;display:grid}.home-shell,.accessory-shell{min-height:100dvh;padding:28px}.home-shell{background:#eef2f7;place-items:center;padding:18px;display:grid}.home-panel{border:1px solid var(--line);background:#fff;border-radius:8px;width:min(1424px,100%);padding:4px 28px;display:grid;box-shadow:0 18px 48px #0f172a14}.home-header{border-bottom:1px solid var(--line-strong);justify-content:space-between;align-items:end;gap:28px;padding:24px 0;display:flex}.home-brand{margin-bottom:0}.home-title h2{margin:0;font-size:42px;line-height:1.2}.home-title p{color:var(--muted);margin:8px 0 0;font-size:17px}.home-brand{grid-template-columns:52px minmax(0,1fr);gap:16px}.home-brand .brand-mark{border-radius:12px;width:52px;height:52px}.home-panel .home-brand h1{font-size:28px}.home-panel .home-brand p{margin-top:5px;font-size:17px}.workspace-section{border-bottom:1px solid var(--line);grid-template-columns:245px minmax(0,1fr);gap:24px;padding:24px 0;display:grid}.workspace-section:last-child{border-bottom:0}.workspace-section-heading{grid-template-columns:42px minmax(0,1fr);align-content:start;gap:14px;padding-top:3px;display:grid}.workspace-section-number{color:var(--accent);font-family:var(--mono);font-size:17px;font-weight:800}.workspace-section-heading h3{margin:0;font-size:23px;line-height:1.25}.workspace-section-heading p{color:var(--muted);margin:6px 0 0;font-size:16px;line-height:1.5}.workspace-entry-grid{gap:10px;display:grid}.workspace-entry-grid-bulk,.workspace-entry-grid-aluminum,.workspace-entry-grid-tools{grid-template-columns:repeat(2,minmax(0,1fr))}.workspace-entry-grid-procurement{grid-template-columns:minmax(0,1fr)}.workspace-entry-grid-custom{grid-template-columns:repeat(4,minmax(0,1fr))}.workspace-entry-grid-aluminum .workspace-entry-bulk{min-height:90px;padding:14px 18px}.workspace-entry{border:1px solid var(--line);min-width:0;color:var(--ink);text-align:left;background:#fff;border-radius:8px;grid-template-columns:42px minmax(0,1fr) 20px;align-items:center;gap:12px;padding:14px;transition:border-color .16s,box-shadow .16s,transform .16s;display:grid}.workspace-entry:hover{border-color:#94a3b8;transform:translateY(-1px);box-shadow:0 8px 20px #0f172a14}.workspace-entry:focus-visible{outline-offset:2px;outline:3px solid #2563eb33}.workspace-entry-bulk{border-left-width:4px;min-height:106px;padding:18px}.workspace-entry-bulk:not(.workspace-entry-procurement){grid-template-columns:56px minmax(0,1fr) 20px;gap:16px}.workspace-entry-bulk:not(.workspace-entry-procurement) .workspace-entry-icon{width:56px;height:56px}.workspace-entry-custom,.workspace-entry-tool{min-height:78px}.workspace-entry-custom{grid-template-columns:52px minmax(0,1fr) 20px;min-height:110px;padding:18px}.workspace-entry-custom .workspace-entry-icon{width:52px;height:52px}.workspace-entry-icon{color:#475569;background:#f1f5f9;border-radius:8px;place-items:center;width:42px;height:42px;display:grid}.workspace-entry-copy{gap:4px;min-width:0;display:grid}.workspace-entry-copy strong,.workspace-entry-copy small{overflow-wrap:anywhere}.workspace-entry-copy strong{font-size:16px;line-height:1.25}.workspace-entry-bulk .workspace-entry-copy strong{font-size:23px}.workspace-entry-bulk .workspace-entry-copy small{font-size:15px}.workspace-entry-custom .workspace-entry-copy strong{font-size:19px}.workspace-entry-custom .workspace-entry-copy small{font-size:14px}.workspace-entry-copy small{color:var(--muted);font-size:13px;line-height:1.4}.workspace-entry-arrow{color:#94a3b8}.workspace-entry-zebra_blind{border-left-color:#2563eb}.workspace-section-procurement{padding-top:24px;padding-bottom:24px}.workspace-entry-procurement{background:#fff;border:1px solid #2563eb;grid-template-columns:72px minmax(0,1fr) 28px;gap:32px;min-height:154px;padding:24px 30px}.workspace-entry-procurement .workspace-entry-icon{color:#0f7890;background:0 0;width:72px;height:72px}.workspace-entry-procurement .workspace-entry-icon svg{width:48px;height:48px}.workspace-entry-procurement .workspace-entry-arrow{color:#0b6ef3;width:30px;height:30px}.workspace-entry-procurement .workspace-entry-copy strong{font-size:38px}.workspace-entry-procurement .workspace-entry-copy small{font-size:18px}.workspace-entry-zebra_blind .workspace-entry-icon{color:#1d4ed8;background:#eff6ff}.workspace-entry-honeycomb_blind{border-left-color:#0f766e}.workspace-entry-honeycomb_blind .workspace-entry-icon{color:#0f766e;background:#ecfdf5}.workspace-entry-accessory .workspace-entry-icon{color:#a16207;background:#fefce8}.workspace-entry-honeycomb-aluminum .workspace-entry-icon{color:#7c3aed;background:#f5f3ff}.workspace-entry-zebra-aluminum .workspace-entry-icon{color:#1d4ed8;background:#eff6ff}.workspace-entry-shipping .workspace-entry-icon{color:#0369a1;background:#f0f9ff}.accessory-shell{background:linear-gradient(135deg,#eef2f7,#f8fafc);align-content:start;gap:16px;display:grid}.accessory-sidebar .ghost-button{justify-content:center;align-items:center;gap:8px;width:100%;min-height:34px;margin-top:8px;display:inline-flex}.accessory-rule-panel{gap:9px}.accessory-rule-item .history-meta{justify-content:flex-start}.accessory-rule-item .history-meta span{white-space:normal;line-height:1.45}.accessory-mini-metric{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:10px;padding:7px 0;display:flex}.accessory-mini-metric:last-child{border-bottom:0}.accessory-mini-metric span{color:var(--muted);font-size:12px}.accessory-mini-metric strong{min-width:0;color:var(--ink);text-overflow:ellipsis;white-space:nowrap;font-size:12px;overflow:hidden}.accessory-header,.accessory-upload,.accessory-card,.accessory-alert{width:min(1180px,100%);margin:0 auto}.accessory-header{border:1px solid var(--line);background:#fff;border-radius:18px;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:18px;padding:16px;display:grid;box-shadow:0 12px 30px #0f172a0f}.accessory-header h2{margin:0;font-size:22px}.accessory-header p{color:var(--muted);margin:5px 0 0;font-size:13px}.accessory-upload,.accessory-card{border:1px solid var(--line);background:#fff;border-radius:18px;padding:18px;box-shadow:0 12px 30px #0f172a0f}.accessory-upload{justify-content:space-between;align-items:center;gap:18px;display:flex}.upload-copy{align-items:center;gap:12px;display:flex}.upload-copy svg{color:var(--accent)}.upload-copy strong,.upload-copy span{display:block}.upload-copy span{color:var(--muted);margin-top:4px;font-size:13px}.upload-wide{width:auto;min-width:150px}.accessory-alert{color:var(--danger);background:#fff1f2;border:1px solid #fecaca;border-radius:14px;padding:13px 15px}.accessory-metrics{grid-template-columns:repeat(2,minmax(0,1fr));margin-bottom:14px}.calculate-button{margin-top:14px}.accessory-table-grid{grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:12px;display:grid}.cut-table-summary{border:1px solid var(--line);background:#fbfdff;border-radius:14px;gap:9px;padding:13px;display:grid}.cut-table-summary>strong{font-size:17px}.cut-table-summary>span{color:var(--muted);font-size:13px}.mini-cut-list{gap:6px;display:grid}.mini-cut-list div{background:#fff;border-radius:9px;grid-template-columns:28px minmax(0,1fr) auto;align-items:center;gap:8px;padding:6px 8px;font-size:12px;display:grid}.mini-cut-list span{color:#334155;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.mini-cut-list em{color:var(--muted);font-style:normal}.app-shell{background:radial-gradient(circle at 35% -10%,#2563eb29,#0000 34%),linear-gradient(135deg,#eef2f7,#f8fafc);grid-template-columns:300px minmax(0,1fr) 330px;height:100dvh;display:grid;overflow:hidden}.app-shell.activity-collapsed{grid-template-columns:300px minmax(0,1fr)}.sidebar{min-width:0;color:var(--ink);border-right:1px solid var(--line);background:linear-gradient(#fff,#f8fafc);padding:14px;overflow:auto}.brand{grid-template-columns:36px 1fr;gap:10px;margin-bottom:10px;display:grid}.brand-mark{border:1px solid var(--line);width:36px;height:36px;color:var(--accent);background:#f8fafc;border-radius:12px;place-items:center;display:grid}.brand h1,.thread-header h2,.activity-panel h3{letter-spacing:0;margin:0}.brand h1{color:var(--ink);font-size:18px;line-height:1.1}.brand p{color:var(--muted);margin:3px 0 0;font-size:11px}.workbench-sidebar-header{display:grid}.workbench-sidebar-actions{gap:7px;display:grid}.workbench-sidebar-actions .sidebar-back-button{margin-bottom:0}.sidebar-back-button{border:1px solid var(--line);color:#334155;background:#fff;border-radius:8px;justify-content:center;align-items:center;gap:7px;width:100%;min-height:34px;margin-bottom:7px;font-size:12px;font-weight:750;display:inline-flex}.sidebar-back-button:hover{background:#f8fafc;border-color:#94a3b8}.primary,.send-button{border:1px solid var(--accent);background:var(--accent);color:#fff}.primary:hover,.send-button:hover{background:var(--accent-strong)}.full{border-radius:9px;justify-content:center;align-items:center;gap:8px;width:100%;min-height:34px;padding:7px 10px;display:inline-flex}.panel-title{color:#475569;letter-spacing:.06em;align-items:center;gap:8px;margin:12px 0 6px;font-size:12px;font-weight:800;display:flex}.sidebar-section-heading{justify-content:space-between;align-items:center;gap:8px;display:flex}.sidebar-section-heading .panel-title{flex:1}.order-panel,.settings-panel,.history-item{border:1px solid var(--line);background:#fff;border-radius:14px;box-shadow:0 8px 22px #0f172a0a}.order-panel{gap:7px;padding:9px;display:grid}.order-panel label,.config-editor{gap:4px;display:grid}.order-panel label span,.segmented-field>span,.field-head>span,.config-editor span{color:var(--muted);font-size:11px;font-weight:700}.order-panel input,.settings-panel textarea{border:1px solid var(--line);width:100%;color:var(--ink);background:#f8fafc;border-radius:9px;outline:none;padding:6px 8px;font-size:13px}.order-panel input:focus,.settings-panel textarea:focus{border-color:var(--accent);box-shadow:0 0 0 3px #2563eb1f}.inline-fields{grid-template-columns:1fr 1fr;gap:7px;display:grid}.segmented-field,.locked-product-field{gap:5px;display:grid}.locked-product-value{color:#1e3a8a;background:#eff6ff;border:1px solid #bfdbfe;border-radius:8px;justify-content:space-between;align-items:center;gap:10px;min-height:38px;padding:7px 9px;display:flex}.locked-product-value strong{overflow-wrap:anywhere;min-width:0;font-size:14px}.locked-product-value span{color:#475569;flex:none;font-size:11px;font-weight:750}.field-head{justify-content:space-between;align-items:center;gap:8px;display:flex}.segmented{flex-wrap:wrap;gap:5px;display:flex}.segmented button,.template-button,.settings-button,.ghost-button{border:1px solid var(--line);color:#334155;background:#fff;border-radius:999px;padding:5px 9px;font-size:12px}.segmented button.active{border-color:var(--accent);color:#fff;background:var(--accent)}.mini-icon-button{border:1px solid var(--line);width:24px;height:24px;color:var(--muted);background:#fff;border-radius:8px;place-items:center;display:grid}.mini-icon-button:hover{color:var(--accent);background:#eff6ff;border-color:#bfdbfe}.rule-strip{flex-wrap:wrap;gap:6px;display:flex}.rule-strip span{color:#475569;background:#eef2ff;border-radius:999px;align-items:center;min-height:20px;padding:2px 7px;font-size:10px;font-weight:700;display:inline-flex}.bulk-width-summary{border-top:1px solid var(--line);gap:5px;padding-top:7px;display:grid}.bulk-width-title{color:var(--muted);font-size:11px;font-weight:700}.bulk-width-row{grid-template-columns:42px minmax(0,1fr);align-items:baseline;gap:7px;font-size:11px;display:grid}.bulk-width-row strong{color:var(--accent)}.bulk-width-row span{color:#475569;min-width:0;line-height:1.45}.template-grid{grid-template-columns:1fr 1fr;gap:7px;display:grid}.template-button{text-align:left;border-radius:10px;min-height:36px;font-size:12px;font-weight:750;line-height:1.25}.settings-button{border-radius:12px;justify-content:center;align-items:center;gap:8px;width:100%;min-height:40px;margin-top:12px;display:inline-flex}.settings-panel{gap:10px;margin-top:10px;padding:12px;display:grid}.settings-panel textarea{resize:vertical;min-height:220px;font-family:var(--mono);font-size:12px;line-height:1.55}.history-list{gap:8px;display:grid}.history-item{gap:6px;padding:9px;display:grid}.history-item:hover{background:#f8fbff;border-color:#bfdbfe}.history-top,.history-meta,.history-metrics{justify-content:space-between;align-items:center;gap:8px;display:flex}.history-top strong{color:var(--ink);font-size:13px}.history-top span,.history-meta span,.history-metrics span{color:var(--muted);font-size:11px}.history-top .history-status-voided{color:#b91c1c;white-space:nowrap;background:#fef2f2;border-radius:999px;padding:2px 7px;font-size:11px;font-weight:800}.history-meta span{background:#eef2ff;border-radius:999px;align-items:center;min-height:24px;padding:3px 8px;display:inline-flex}.empty-copy{color:var(--muted);margin:0;font-size:13px;line-height:1.55}.report-history-dialog{border:1px solid var(--line,#ddd);width:min(720px,100vw - 32px);max-height:85dvh;color:var(--ink,#222);background:var(--panel,#fff);border-radius:14px;margin:auto;padding:24px;overflow:auto}.report-history-dialog::backdrop{background:#0006}.history-dialog-head,.history-pagination{justify-content:space-between;align-items:center;gap:16px;margin-bottom:16px;display:flex}.history-pagination{margin:20px 0 0}.history-filters{flex-wrap:wrap;gap:12px;margin-bottom:20px;display:flex}.history-filters label{flex:1;gap:6px;min-width:140px;display:grid}.history-filters input{border:1px solid #bbb;border-radius:6px;width:100%;min-width:0;padding:8px}.history-caption{color:var(--muted);font-size:11px;line-height:1.5}.history-dialog-head h2{color:var(--ink);margin:0;font-size:18px}.history-filters label{color:var(--muted);font-size:12px}.history-filters input{border-color:var(--line);height:36px;color:var(--ink);background:#fff;font-size:13px}.history-pagination{color:var(--muted);font-size:12px}.history-pagination .ghost-button,.history-dialog-head .ghost-button{min-height:34px;padding:6px 14px}.report-history-dialog{box-shadow:var(--shadow)}.modal-backdrop{z-index:40;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#0f172a47;place-items:center;padding:18px;display:grid;position:fixed;inset:0}.config-modal{border:1px solid var(--line);width:min(680px,100%);max-height:min(720px,100dvh - 36px);box-shadow:var(--shadow);background:#fff;border-radius:18px;padding:16px;overflow:auto}.config-modal input[type=text],.config-modal input[type=number],.config-modal select{border:1px solid var(--line);width:100%;min-height:36px;color:var(--text);background:#fff;border-radius:9px;outline:none;padding:7px 9px}.config-modal input:focus,.config-modal select:focus{border-color:var(--accent);box-shadow:0 0 0 3px #2563eb24}.modal-head,.modal-actions{justify-content:space-between;align-items:center;gap:12px;display:flex}.modal-head strong{font-size:18px;display:block}.modal-head span{color:var(--muted);margin-top:3px;font-size:12px;display:block}.config-list{gap:9px;margin:14px 0;display:grid}.config-row{border:1px solid var(--line);background:#fbfdff;border-radius:13px;grid-template-columns:minmax(0,1.4fr) minmax(110px,.7fr) minmax(110px,.7fr) 34px;align-items:end;gap:9px;padding:10px;display:grid}.config-row>.icon-danger{grid-area:1/-2/auto/-1}.config-row.honeycomb{grid-template-columns:minmax(220px,1fr) minmax(140px,.6fr) minmax(140px,.6fr) 42px}.config-row.honeycomb>.icon-danger{grid-area:1/4}.spec-editor,.product-wrap-editor{grid-column:1/-1;gap:8px;padding-top:4px;display:grid}.bulk-product-editor{border-top:1px solid var(--line);grid-column:1/-1;gap:9px;padding-top:10px;display:grid}.bulk-product-head{justify-content:space-between;align-items:center;gap:8px;display:flex}.bulk-product-fields{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;display:grid}.bulk-hole-editor{border-top:1px solid var(--line);border-bottom:1px solid var(--line);gap:7px;padding:9px 0;display:grid}.bulk-hole-head{justify-content:space-between;align-items:baseline;gap:12px;display:flex}.bulk-hole-head strong{font-size:13px}.bulk-hole-head span{text-align:right;font-weight:500}.bulk-hole-table-wrap{overflow-x:auto}.bulk-hole-table{border-collapse:collapse;table-layout:fixed;width:100%}.bulk-hole-table th,.bulk-hole-table td{border:1px solid var(--line);text-align:center;padding:5px}.bulk-hole-table th{color:var(--muted);font-size:12px}.bulk-hole-table input{text-align:center;width:100%;min-width:64px}.bulk-color-list{gap:7px;display:grid}.bulk-color-row{grid-template-columns:minmax(0,1fr) minmax(92px,.38fr) 32px;align-items:end;gap:8px;display:grid}.bulk-color-row.with-roll-length{grid-template-columns:minmax(0,1fr) repeat(2,minmax(92px,.38fr)) 32px}.bulk-color-delete{color:var(--danger)}.product-wrap-grid{grid-template-columns:repeat(auto-fit,minmax(118px,1fr));gap:8px;display:grid}.spec-row{grid-template-columns:minmax(96px,.7fr) minmax(120px,.9fr) minmax(96px,.7fr) auto;align-items:center;gap:8px;display:grid}.spec-row .ghost-button{min-height:38px;padding:8px 12px}.config-row label{gap:5px;display:grid}.config-row span{color:var(--muted);font-size:12px;font-weight:700}.config-row input{border:1px solid var(--line);border-radius:9px;outline:none;width:100%;padding:8px 9px}.accessory-config-modal{width:min(980px,100%)}.accessory-bundle-settings{border:1px solid var(--line);background:var(--surface-subtle,#f8fafc);border-radius:12px;gap:12px;padding:14px;display:grid}.accessory-bundle-heading{justify-content:space-between;align-items:baseline;gap:16px;display:flex}.accessory-bundle-heading span{color:var(--muted);font-size:12px}.accessory-bundle-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;display:grid}.accessory-bundle-grid label{color:var(--muted);gap:6px;font-size:12px;display:grid}.accessory-bundle-grid input{width:100%}.accessory-config-modal>.accessory-bundle-settings{margin-top:12px}.cassette-bundle-grid{grid-template-columns:repeat(5,minmax(0,1fr))}.cassette-ratio-heading{margin-top:16px;padding:0 2px}.cassette-settings-status{width:min(520px,100%)}.cassette-settings-status .accessory-stock-status{margin:18px 0}.shipping-rate-modal{width:min(1180px,100%)}.shipping-rate-layout{grid-template-columns:260px minmax(0,1fr);gap:14px;margin-top:14px;display:grid}.shipping-rate-list{align-content:start;gap:8px;max-height:58dvh;padding-right:3px;display:grid;overflow:auto}.shipping-rule-button,.shipping-rate-list button{text-align:left;width:100%}.shipping-rate-list button{border:1px solid var(--line);background:#fff;border-radius:12px;gap:5px;padding:10px;line-height:1.35;display:grid}.shipping-rate-list button strong,.shipping-rule-button strong{overflow-wrap:anywhere;min-width:0;font-size:14px;line-height:1.35;display:block}.shipping-rate-list button.active{background:#eff6ff;border-color:#93c5fd;box-shadow:inset 0 0 0 1px #bfdbfe}.shipping-rate-list button span{color:var(--muted);font-size:12px}.shipping-add-channel-button{min-height:46px;color:var(--accent);justify-content:center;font-weight:800;text-align:center!important;background:#eff6ff!important;border-style:dashed!important}.shipping-rule-button .history-meta span{max-width:100%;display:inline-flex}.shipping-rate-editor{align-content:start;gap:10px;min-width:0;display:grid}.shipping-editor-actions{border:1px solid var(--line);background:#f8fafc;border-radius:12px;justify-content:space-between;align-items:center;gap:10px;padding:9px 10px;display:flex}.shipping-editor-actions span{overflow-wrap:anywhere;color:#334155;min-width:0;font-size:13px;font-weight:800}.ghost-button.danger{color:var(--danger);background:#fff7f7;border-color:#fecaca}.shipping-rate-editor label{gap:5px;display:grid}.shipping-rate-editor label span{color:var(--muted);font-size:12px;font-weight:800}.shipping-rate-editor input,.shipping-rate-editor select,.shipping-rate-table input{border:1px solid var(--line);background:#fff;border-radius:9px;outline:none;width:100%;min-height:36px;padding:7px 9px}.shipping-rate-table{max-height:40dvh;margin:0}.shipping-rate-table table{min-width:520px}.sub-title{justify-content:space-between;align-items:center;gap:10px;margin-top:4px;display:flex}.sub-title h3{margin:0;font-size:15px}.accessory-config-header,.accessory-config-row{grid-template-columns:repeat(5,minmax(88px,1fr)) minmax(96px,.9fr) 38px;align-items:center;gap:8px;display:grid}.accessory-config-header{color:var(--muted);margin:14px 0 7px;padding:0 10px;font-size:12px;font-weight:800}.accessory-config-list{max-height:52dvh;padding-right:3px;overflow:auto}.accessory-config-row{border:1px solid var(--line);background:#fbfdff;border-radius:13px;padding:9px}.accessory-config-row input,.accessory-config-row select{border:1px solid var(--line);background:#fff;border-radius:9px;outline:none;width:100%;min-height:36px;padding:7px 9px}.honeycomb-config-modal{width:min(1040px,100%)}.honeycomb-settings-grid{grid-template-columns:.8fr 1.7fr;gap:12px;display:grid}.honeycomb-cut-rule-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.honeycomb-bundle-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.honeycomb-config-header,.honeycomb-config-row{grid-template-columns:repeat(3,minmax(110px,1fr)) 38px;align-items:center;gap:8px;display:grid}.honeycomb-config-header{color:var(--muted);margin:14px 0 7px;padding:0 10px;font-size:12px;font-weight:800}.honeycomb-config-list{max-height:42dvh;padding-right:3px;overflow:auto}.honeycomb-config-row{border:1px solid var(--line);background:#fbfdff;border-radius:13px;margin-bottom:7px;padding:9px}.honeycomb-config-row input{border:1px solid var(--line);background:#fff;border-radius:9px;outline:none;width:100%;min-height:36px;padding:7px 9px}.icon-danger{width:34px;height:34px;color:var(--danger);background:#fff7f7;border:1px solid #fecaca;border-radius:10px;place-items:center;display:grid}.modal-actions .primary{border-radius:999px;min-height:36px;padding:8px 16px}.accessory-stock-modal{grid-template-rows:auto auto minmax(0,1fr) auto;width:min(1040px,100%);height:min(760px,100dvh - 36px);padding:0;display:grid;overflow:hidden}.accessory-stock-modal-head{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:16px;padding:20px 22px 16px;display:flex}.accessory-stock-title{align-items:center;gap:11px;display:flex}.accessory-stock-title-icon{color:#1d4ed8;background:#eff6ff;border-radius:11px;flex:none;place-items:center;width:38px;height:38px;display:grid}.accessory-stock-title strong,.accessory-stock-title span{display:block}.accessory-stock-title strong{color:var(--ink);font-size:18px}.accessory-stock-title span{color:var(--muted);margin-top:3px;font-size:12px}.accessory-stock-close{flex:none}.accessory-stock-summary{background:#f8fafc;grid-template-columns:120px 120px minmax(0,1fr);align-items:center;gap:12px;padding:12px 22px;display:grid}.cassette-stock-modal .accessory-stock-summary{grid-template-columns:repeat(3,120px) minmax(0,1fr)}.accessory-stock-summary>div{gap:2px;display:grid}.accessory-stock-summary span{color:var(--muted);font-size:11px}.accessory-stock-summary strong{color:var(--ink);font-size:15px}.accessory-stock-summary p{color:#475569;text-align:right;margin:0;font-size:12px;line-height:1.5}.accessory-stock-layout{grid-template-columns:minmax(300px,.8fr) minmax(440px,1.2fr);min-height:0;display:grid;overflow:auto}.accessory-stock-paste-panel,.accessory-stock-preview-panel{min-width:0;padding:20px 22px}.accessory-stock-paste-panel{border-right:1px solid var(--line);background:#fff}.accessory-stock-preview-panel{background:#fbfdff}.accessory-stock-section-head{justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:12px;display:flex}.accessory-stock-section-head strong,.accessory-stock-section-head span{display:block}.accessory-stock-section-head strong{color:var(--ink);font-size:14px}.accessory-stock-section-head div>span{color:var(--muted);margin-top:3px;font-size:11px}.accessory-stock-section-head .accessory-stock-step{color:#1d4ed8;background:#dbeafe;border-radius:999px;flex:none;place-items:center;width:24px;height:24px;font-size:11px;font-weight:800;display:grid}.accessory-stock-paste-zone{color:#2563eb;cursor:text;background:#f8fbff;border:1px dashed #93c5fd;border-radius:14px;justify-items:center;gap:5px;min-height:280px;padding:22px 14px 14px;display:grid}.accessory-stock-paste-zone:focus-within{border-color:#2563eb;box-shadow:0 0 0 3px #2563eb1f}.accessory-stock-paste-zone.is-busy{cursor:wait;opacity:.72}.accessory-stock-paste-zone>span{color:#1e3a8a;font-size:13px;font-weight:800}.accessory-stock-paste-zone small{color:#64748b;font-size:11px}.accessory-stock-paste-zone textarea{resize:none;width:100%;min-height:165px;color:var(--ink);background:0 0;border:0;border-top:1px solid #dbeafe;outline:none;margin-top:10px;padding:12px 2px 0;font:12px/1.55 ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace}.accessory-stock-paste-zone textarea::placeholder{color:#64748b}.accessory-stock-status{color:#475569;min-height:36px;margin:10px 0 0;font-size:11px;line-height:1.55}.accessory-stock-status.error{color:#b91c1c}.accessory-stock-table-wrap{border:1px solid var(--line);background:#fff;border-radius:12px;max-height:322px;overflow:auto}.accessory-stock-table-wrap table{border-collapse:collapse;width:100%;min-width:520px;font-size:11px}.accessory-stock-table-wrap th,.accessory-stock-table-wrap td{text-align:left;white-space:nowrap;border-bottom:1px solid #eef2f7;padding:9px 10px}.accessory-stock-table-wrap th{z-index:1;color:#475569;background:#f8fafc;font-weight:800;position:sticky;top:0}.accessory-stock-table-wrap td:last-child,.accessory-stock-table-wrap th:last-child{text-align:right}.accessory-stock-table-wrap tbody tr:last-child td{border-bottom:0}.accessory-stock-empty{color:#94a3b8;background:#fff;border:1px dashed #cbd5e1;border-radius:12px;align-content:center;place-items:center;gap:7px;min-height:322px;display:grid}.accessory-stock-empty strong{color:#475569;font-size:13px}.accessory-stock-empty span{font-size:11px}.accessory-stock-actions{border-top:1px solid var(--line);background:#fff;padding:14px 22px 18px}.accessory-stock-action-group{align-items:center;gap:9px;display:flex}.accessory-stock-actions .accessory-stock-action{justify-content:center;align-items:center;gap:6px;min-height:38px;padding:8px 14px;line-height:1;display:inline-flex}.accessory-stock-clear{color:#b91c1c;white-space:nowrap;min-width:108px}.accessory-stock-action-group button{white-space:nowrap}@media(max-width:780px){.accessory-bundle-grid,.cassette-bundle-grid,.honeycomb-settings-grid,.honeycomb-cut-rule-grid,.honeycomb-bundle-grid{grid-template-columns:1fr}.honeycomb-config-header,.honeycomb-config-row{min-width:540px}.honeycomb-config-modal{overflow-x:auto}.accessory-stock-modal{height:calc(100dvh - 24px);max-height:calc(100dvh - 24px);overflow:hidden}.accessory-stock-summary,.cassette-stock-modal .accessory-stock-summary{grid-template-columns:1fr 1fr}.accessory-stock-summary p{text-align:left;grid-column:1/-1}.accessory-stock-layout{grid-template-columns:1fr}.accessory-stock-paste-panel{border-right:0;border-bottom:1px solid var(--line)}.accessory-stock-actions{flex-direction:column-reverse;align-items:stretch;gap:10px}.accessory-stock-action-group{width:100%}.accessory-stock-action-group .accessory-stock-action{flex:1}.accessory-stock-clear{width:100%}}.thread{min-width:0;box-shadow:var(--shadow);background:#ffffffe6;border:1px solid #0f172a14;border-radius:22px;grid-template-rows:auto minmax(0,1fr) auto;margin:14px 0;display:grid;overflow:hidden}.thread-header{border-bottom:1px solid var(--line);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);background:#ffffffd1;justify-content:space-between;align-items:center;gap:18px;padding:18px 22px;display:flex}.thread-header h2{font-size:20px}.thread-header p{color:var(--muted);margin:5px 0 0;font-size:13px;line-height:1.5}.header-actions{align-items:center;gap:8px;display:inline-flex}.model-chip{border:1px solid var(--line);min-height:32px;color:var(--muted);white-space:nowrap;background:#fff;border-radius:999px;align-items:center;padding:5px 11px;font-size:12px;display:inline-flex}.model-chip.live{color:var(--accent);background:#eff6ff;border-color:#bfdbfe}.icon-button{border:1px solid var(--line);width:34px;height:34px;color:var(--muted);background:#fff;border-radius:10px;place-items:center;display:grid}.messages{background:radial-gradient(circle at 18% 0,#2563eb0f,#0000 32%),linear-gradient(#fbfdff,#fff);padding:30px 24px 28px;position:relative;overflow:auto}.message{gap:8px;max-width:940px;margin:0 auto 22px;display:grid}.message.user{justify-items:end;max-width:720px;margin-left:auto;margin-right:18px}.role{color:var(--muted);font-size:12px;font-weight:800}.bubble{border:1px solid var(--line);word-break:break-word;background:#fff;border-radius:16px;width:100%;padding:16px 17px;line-height:1.7;box-shadow:0 14px 35px #0f172a0f}.user .bubble{border-color:var(--accent);color:#fff;background:linear-gradient(135deg,#2563eb,#1d4ed8);width:auto;box-shadow:0 16px 38px #2563eb38}.message.error .bubble{color:var(--danger);background:#fff1f2;border-color:#fecaca}.markdown-body p{margin:0 0 10px}.markdown-body p:last-child{margin-bottom:0}.markdown-body h1,.markdown-body h2,.markdown-body h3,.markdown-body h4{margin:14px 0 8px;line-height:1.25}.markdown-body ul,.markdown-body ol{margin:8px 0 10px 22px;padding:0}.markdown-body code{font-family:var(--mono);background:#eef2ff;border-radius:6px;padding:2px 5px;font-size:.92em}.thinking-line{color:var(--muted);align-items:center;gap:10px;display:inline-flex}.thinking-line span{background:var(--accent);border-radius:999px;width:8px;height:8px;animation:1.2s ease-in-out infinite pulse}.scroll-bottom{color:var(--accent);background:#eff6ff;border:1px solid #bfdbfe;border-radius:999px;margin:0 auto;padding:8px 14px;display:flex;position:sticky;bottom:12px;left:50%;transform:translate(-50%);box-shadow:0 12px 28px #2563eb29}.work-process{border-top:1px solid var(--line);margin-top:14px;padding-top:12px}.work-process-head{color:#64748b;font-family:var(--mono);align-items:center;gap:6px;font-size:12px;display:inline-flex}.work-process-list{gap:8px;margin-top:10px;display:grid}.work-process-row{color:#334155;background:#f8fafc;border:1px solid #0000;border-radius:12px;grid-template-columns:22px minmax(0,1fr) auto;align-items:center;gap:9px;min-height:34px;padding:7px 9px;font-size:13px;display:grid}.work-process-row.running{background:#eff6ff;border-color:#bfdbfe}.work-process-row.done{color:var(--ok)}.work-process-row.blocked,.work-process-row.error{color:var(--danger);background:#fff7f7}.work-process-icon{place-items:center;display:grid}.work-process-label{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.work-process-status{color:var(--muted);font-size:12px}.preview-card,.result-card{border:1px solid var(--line);background:#fff;border-radius:16px;margin-top:14px;overflow:hidden}.card-head{border-bottom:1px solid var(--line);background:#f8fafc;justify-content:space-between;align-items:center;gap:12px;padding:13px 15px;display:flex}.card-head span{color:var(--muted);font-size:12px}.diagnostic-rule-list{color:#0f172a;gap:8px;padding:12px;display:grid}.diagnostic-rule{border:1px solid var(--line);background:#fff;border-radius:12px;gap:4px;padding:10px 12px;display:grid}.diagnostic-rule span{color:#475569;font-size:13px}.metric-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding:12px;display:grid}.preview-alert{color:var(--danger);background:#fff1f2;border:1px solid #fecaca;border-radius:12px;gap:4px;margin-top:14px;padding:12px 14px;font-size:13px;display:grid}.metric{border:1px solid var(--line);background:linear-gradient(#fff,#fbfdff);border-radius:12px;min-height:58px;padding:8px 10px}.metric span{color:var(--muted);font-size:12px;display:block}.metric strong{margin-top:4px;font-size:16px;line-height:1.18;display:block}.result-subsection+.result-subsection{border-top:1px solid var(--line)}.result-subsection-title{color:#0f172a;padding:12px 12px 0;font-size:14px;display:block}.audit-note{color:#166534;background:#f0fdf4;border-left:3px solid #16a34a;gap:4px;margin:0 12px 12px;padding:8px 10px;font-size:12px;display:grid}.audit-note.failed{color:#991b1b;background:#fef2f2;border-left-color:#dc2626}.audit-note span{color:inherit}.table-scroll{border:1px solid var(--line);border-radius:12px;margin:0 12px 12px;overflow:auto}.table-scroll table{border-collapse:collapse;width:100%;min-width:620px;font-size:13px}.table-scroll th,.table-scroll td{border-bottom:1px solid var(--line);text-align:left;white-space:nowrap;padding:9px 10px}.table-scroll th{color:#334155;background:#f8fafc;font-weight:800}.table-scroll tr:last-child td{border-bottom:0}.card-actions,.quick-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:9px;padding:0 12px 12px;display:flex}.result-actions{padding-top:12px}.quick-actions{padding:12px 0 0}.preview-actions{justify-content:space-between;padding-top:2px}.preview-actions span{color:var(--muted);font-size:13px}.preview-actions .primary{border-color:var(--accent);background:var(--accent);color:#fff;margin-left:auto}.card-actions button,.quick-actions button,.report-link{border:1px solid var(--line);background:#fff;border-radius:999px;justify-content:center;align-items:center;min-height:38px;padding:8px 13px;display:inline-flex}.card-actions button.primary{border-color:var(--accent);background:var(--accent);color:#fff}.card-actions button.primary:hover{background:var(--accent-strong)}.report-link{border-color:var(--accent);background:var(--accent);color:#fff}.composer{border-top:1px solid var(--line);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);background:#ffffffeb;min-width:0;padding:14px 18px 18px}.composer-card{border:1px solid var(--line);background:#fff;border-radius:18px;min-width:0;padding:12px;box-shadow:0 12px 32px #0f172a0f}.composer-status,.composer-actions{color:var(--muted);justify-content:space-between;align-items:center;gap:12px;font-size:12px;display:flex}.composer textarea{resize:vertical;width:100%;min-height:112px;max-height:260px;color:var(--ink);border:0;border-radius:12px;outline:none;margin-top:9px;padding:10px 2px;line-height:1.58}.composer textarea:disabled{background:#fff}.composer-actions{margin-top:8px}.spreadsheet-preview{border-top:1px solid var(--line);min-width:0;max-width:100%;margin-top:4px;padding-top:10px}.spreadsheet-preview-head,.spreadsheet-preview-title,.spreadsheet-preview-meta{align-items:center;display:flex}.spreadsheet-preview-head{justify-content:space-between;gap:12px}.spreadsheet-preview-actions{align-items:center;gap:6px;display:inline-flex}.spreadsheet-collapse-button{color:#1d4ed8;background:#eff6ff;border:1px solid #bfdbfe;border-radius:999px;align-items:center;gap:5px;min-height:32px;padding:5px 10px;font-size:12px;font-weight:700;display:inline-flex}.spreadsheet-collapse-button:hover{background:#dbeafe}.spreadsheet-preview.collapsed{background:#f8fbff;border:1px solid #bfdbfe;border-radius:10px;margin-top:8px;padding:8px 10px}.composer-card.spreadsheet-collapsed textarea{display:none}.spreadsheet-preview-title{min-width:0;color:var(--ink);gap:7px;font-size:13px}.spreadsheet-preview-title svg{color:#0f766e}.spreadsheet-preview-title>span{color:var(--muted);font-size:12px}.spreadsheet-parse-status{color:#0f766e;align-items:center;gap:7px;margin:6px 0 0;font-size:12px;display:flex}.spreadsheet-parse-status.warning{color:#b45309}.batch-repair-notice{color:#065f46;background:#ecfdf5;border:1px solid #a7f3d0;border-radius:6px;align-items:flex-start;gap:9px;margin:12px 0;padding:10px 12px;display:flex}.batch-repair-notice span{gap:2px;display:grid}.batch-repair-notice small{color:#047857}.spreadsheet-clear{flex:0 0 32px;width:32px;height:32px}.spreadsheet-color-tabs{gap:5px;margin-top:9px;padding-bottom:2px;display:flex;overflow-x:auto}.spreadsheet-color-tabs button{border:1px solid var(--line);color:#334155;background:#f8fafc;border-radius:6px;flex:none;justify-content:space-between;align-items:center;gap:10px;min-width:94px;min-height:38px;padding:7px 9px;display:inline-flex}.spreadsheet-color-tabs button>svg{color:#2563eb;flex:none}.spreadsheet-color-tabs button strong{color:#0f766e;font-variant-numeric:tabular-nums}.spreadsheet-color-tabs button.active{color:#1d4ed8;background:#eff6ff;border-color:#2563eb;box-shadow:inset 0 0 0 1px #2563eb}.spreadsheet-color-tabs button.active strong{color:#1d4ed8}.spreadsheet-batch-status{color:#475569;border-left:3px solid #2563eb;justify-content:space-between;align-items:center;gap:12px;margin-top:8px;padding:4px 8px;font-size:12px;display:flex}.spreadsheet-batch-status strong{color:#1d4ed8}.batch-report-table-wrap{overflow-x:auto}.batch-report-table{border-collapse:collapse;font-variant-numeric:tabular-nums;width:100%;font-size:13px}.batch-report-table th,.batch-report-table td{border-bottom:1px solid var(--line);text-align:left;white-space:nowrap;padding:10px 14px}.batch-report-table th{color:#64748b;background:#f8fafc;font-size:12px}.batch-report-table td small{color:var(--muted);margin-top:2px;display:block}.batch-result-list{display:grid}.batch-result-list>a{border-bottom:1px solid var(--line);min-height:58px;color:var(--ink);justify-content:space-between;align-items:center;gap:14px;padding:10px 14px;text-decoration:none;display:flex}.batch-result-list>a:last-child{border-bottom:0}.batch-result-list>a:hover{background:#f8fafc}.batch-result-list>a>span:first-child{gap:3px;min-width:0;display:grid}.batch-result-list small{color:var(--muted)}.batch-result-action{color:#2563eb;flex:none;align-items:center;gap:5px;font-size:13px;font-weight:700;display:inline-flex}.spreadsheet-table-wrap{border:1px solid var(--line);border-radius:6px;min-width:0;max-width:100%;margin-top:9px;overflow-x:auto}.spreadsheet-table{table-layout:fixed;border-collapse:collapse;font-variant-numeric:tabular-nums;width:100%;font-size:12px}.spreadsheet-table th,.spreadsheet-table td{border-right:1px solid var(--line);border-bottom:1px solid var(--line);text-align:left;white-space:nowrap;height:30px;padding:5px 8px}.spreadsheet-table th:last-child,.spreadsheet-table td:last-child{border-right:0}.spreadsheet-table tbody tr:last-child td{border-bottom:0}.spreadsheet-table th{color:#475569;background:#f1f5f9;font-weight:750}.spreadsheet-table td:last-child{color:#0f766e;font-weight:800}.spreadsheet-preview-meta{border-top:1px solid var(--line);color:var(--muted);background:#f8fafc;justify-content:space-between;gap:12px;padding:7px 9px;font-size:12px}.spreadsheet-preview-meta strong{color:#0f766e}.composer-buttons{align-items:center;gap:8px;display:inline-flex}.send-button,.stop-button,.upload-button{white-space:nowrap;border-radius:999px;align-items:center;gap:8px;min-height:40px;padding:9px 16px;display:inline-flex}.upload-button{color:var(--accent);background:#eff6ff;border-color:#bfdbfe;justify-content:center}.stop-button{color:var(--danger);background:#fff1f2;border:1px solid #fecaca}.composer-running{color:var(--accent);align-items:center;gap:7px;margin-top:8px;font-size:12px;display:inline-flex}.activity-panel{min-width:0;box-shadow:var(--shadow);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);background:#ffffffb8;border:1px solid #0f172a14;border-radius:22px;margin:14px 14px 14px 0;padding:18px;overflow:auto}.activity-panel h3{margin-bottom:14px;font-size:17px}.activity-head{justify-content:space-between;align-items:baseline;gap:12px;margin-bottom:14px;display:flex}.activity-head strong{min-width:0;font-size:17px}.activity-head span{color:var(--muted);white-space:nowrap;flex:none;font-size:11px}.runtime-card,.usage-card{border:1px solid var(--line);background:#fff;border-radius:16px;margin-bottom:18px;padding:13px}.runtime-card>strong,.usage-card>strong{margin-bottom:8px;display:block}.step{grid-template-columns:26px 1fr;gap:11px;margin-bottom:15px;display:grid}.step-icon{color:#fff;background:#c6cfdd;border-radius:999px;place-items:center;width:24px;height:24px;display:grid}.step.running .step-icon{background:var(--accent);box-shadow:0 0 0 5px #2563eb1f}.step.done .step-icon{background:var(--ok)}.step.error .step-icon,.step.blocked .step-icon{background:var(--danger)}.step strong,.step span{display:block}.step strong{font-size:13px;line-height:1.45}.step span{color:var(--muted);margin-top:2px;font-size:12px}.usage-row{color:var(--muted);justify-content:space-between;gap:8px;margin-top:7px;font-size:12px;display:flex}.usage-row strong{color:var(--ink);font-weight:750}.spin{animation:.8s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}@keyframes pulse{50%{opacity:.5}}@media(max-width:1180px){.app-shell{grid-template-columns:300px minmax(0,1fr)}.activity-panel{display:none}}@media(min-width:821px){.composer-card.has-spreadsheet{flex-direction:column;max-height:min(620px,100dvh - 160px);display:flex;overflow:hidden}.composer-card.has-spreadsheet .composer-status,.composer-card.has-spreadsheet .composer-actions,.composer-card.has-spreadsheet .composer-running{flex:none}.composer-card.has-spreadsheet textarea{flex:0 112px;min-height:64px}.composer-card.has-spreadsheet .spreadsheet-preview{overscroll-behavior:contain;flex:auto;min-height:0;overflow-y:auto}.composer-card.has-spreadsheet .composer-actions{z-index:1;background:#fff;padding-top:8px;position:relative}}@media(max-width:820px){.home-shell{place-items:start stretch;padding:12px}.home-panel{padding:4px 16px}.home-header{flex-direction:column;align-items:flex-start;gap:14px;padding:18px 0}.home-title h2{font-size:26px}.workspace-section{grid-template-columns:1fr;gap:14px;padding:18px 0}.workspace-section-heading{grid-template-columns:24px minmax(0,1fr)}.workspace-entry-grid-custom{grid-template-columns:repeat(2,minmax(0,1fr))}.app-shell{height:auto;min-height:100dvh;display:block;overflow:visible}.sidebar{border-right:0;border-bottom:1px solid var(--line);padding:12px;display:block}.brand{grid-template-columns:32px 1fr;align-items:center}.brand-mark{border-radius:10px;width:32px;height:32px}.order-panel{grid-template-columns:1fr}.thread{border-left:0;border-right:0;border-radius:0;min-height:78dvh;margin:0}.thread-header{flex-direction:column;align-items:flex-start}.messages{padding:18px 14px}.message.user{margin-right:0}.metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.composer-status,.composer-actions{flex-direction:column;align-items:stretch}.composer-buttons{grid-template-columns:1fr;width:100%;display:grid}.send-button,.stop-button,.upload-button{justify-content:center;width:100%}.preview-actions{flex-direction:column;align-items:stretch}.preview-actions .primary{width:100%;margin-left:0}.modal-backdrop{align-items:end;padding:10px}.config-modal{border-radius:16px;max-height:calc(100dvh - 20px)}.config-row,.config-row.honeycomb{grid-template-columns:1fr}.config-row>.icon-danger,.config-row.honeycomb>.icon-danger,.spec-editor,.product-wrap-editor,.bulk-product-editor{grid-area:auto/1}.bulk-product-fields,.bulk-color-row{grid-template-columns:1fr}.bulk-color-delete{width:100%}.spec-row{grid-template-columns:1fr}.accessory-config-header,.accessory-config-row{min-width:760px}.accessory-config-modal{overflow-x:auto}.shipping-rate-layout{grid-template-columns:1fr}.shipping-rate-list{max-height:220px}.icon-danger{width:100%}}@media(max-width:520px){.workspace-entry-grid-bulk,.workspace-entry-grid-aluminum,.workspace-entry-grid-custom,.workspace-entry-grid-tools,.inline-fields,.template-grid,.metric-grid,.composer-buttons{grid-template-columns:1fr}.workspace-entry-bulk{min-height:92px}.thread-header{padding:14px}.bubble{padding:13px}.composer{padding:10px}.spreadsheet-table{font-size:11px}.spreadsheet-table th,.spreadsheet-table td{padding:5px 4px}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}.accessory-stock-panel{gap:8px}.accessory-stock-metrics{grid-template-columns:1fr 1fr;gap:10px;display:grid}.accessory-stock-metrics .accessory-mini-metric{border-bottom:0;gap:2px;padding:4px 0;display:grid}.accessory-stock-metrics .accessory-mini-metric strong{font-size:14px}.honeycomb-color-grid{grid-template-columns:1fr 1fr;gap:7px;display:grid}.honeycomb-color-chip{border:1px solid var(--line);background:#fff;border-radius:999px;justify-content:center;align-items:center;min-height:30px;font-size:12px;font-weight:800;display:inline-flex}.honeycomb-color-chip.color-white{color:#475569;background:#fff}.honeycomb-color-chip.color-beige{color:#92400e;background:#fffbeb}.honeycomb-color-chip.color-gray{color:#334155;background:#f1f5f9}.honeycomb-color-chip.color-black{color:#fff;background:#111827}.honeycomb-stock-editor{max-height:58vh;padding:18px 22px;overflow:auto}.honeycomb-stock-editor-head,.honeycomb-stock-editor-row{grid-template-columns:1fr 1fr 1.2fr .8fr .65fr 36px;align-items:center;gap:8px;display:grid}.honeycomb-stock-editor-head{color:var(--muted);margin-bottom:7px;font-size:12px;font-weight:800}.honeycomb-stock-editor-row{margin-bottom:8px}.honeycomb-stock-editor-row input,.honeycomb-stock-editor-row select{border:1px solid var(--line);background:#fff;border-radius:8px;min-width:0;height:36px;padding:6px 8px}.procurement-shell{grid-template-columns:286px minmax(0,1fr) 310px}.procurement-sidebar{padding:14px 16px 22px}.procurement-thread{border-radius:18px;grid-template-rows:auto minmax(0,1fr) auto}.procurement-messages{scroll-padding-block:18px}.procurement-welcome-bubble{gap:12px;display:grid}.procurement-welcome-meta{color:#64748b;border-top:1px solid #e2e8f0;justify-content:space-between;align-items:center;gap:12px;padding-top:11px;font-size:11px;display:flex}.procurement-welcome-meta strong{color:#047857;font-size:11px}.procurement-message-with-action{justify-content:space-between;align-items:center;gap:12px;display:flex}.procurement-message-with-action>span{align-items:center;gap:8px;display:inline-flex}.procurement-message-with-action>button{color:currentColor;background:0 0;border:0;border-radius:8px;flex:0 0 28px;place-items:center;width:28px;height:28px;display:grid}.procurement-notice-message .bubble{color:#047857;background:#ecfdf5;border-color:#a7f3d0}.procurement-report-message{max-width:1220px}.procurement-report-bubble{padding:0;line-height:1.45;overflow:hidden}.procurement-report-bubble .procurement-report{max-width:none;box-shadow:none;border:0;border-radius:0;margin:0}.procurement-mobile-bom-button{display:none}.procurement-result-card .metric-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.procurement-result-card .card-actions{justify-content:flex-end;padding:0 12px 12px}.procurement-result-note{color:#9a3412;background:#fff7ed;border:1px solid #fed7aa;border-radius:10px;margin:0 12px 12px;padding:9px 11px;font-size:12px}.procurement-activity .steps{margin-bottom:18px}.procurement-history-item .history-top strong{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.procurement-history-item .history-top span{flex:none}.procurement-content{background:radial-gradient(circle at 12% 0,#2563eb12,#0000 28%),#f7f9fc;min-width:0;padding:22px;overflow:auto}.procurement-bom-summary,.procurement-bom-import,.procurement-inventory-import,.procurement-rule-card{box-shadow:none;border-radius:10px;gap:9px}.procurement-mini-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;display:grid}.procurement-mini-metrics>div{background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;gap:3px;padding:9px;display:grid}.procurement-mini-metrics span{color:var(--muted);font-size:10px;font-weight:700}.procurement-mini-metrics strong{font-family:var(--mono);text-overflow:ellipsis;font-size:17px;overflow:hidden}.procurement-source-name{color:#475569;text-overflow:ellipsis;white-space:nowrap;margin:0;font-size:11px;overflow:hidden}.procurement-file-button{color:#1d4ed8;cursor:pointer;background:#eff6ff;border:1px dashed #93c5fd;border-radius:8px;align-items:center;min-width:0;min-height:38px;padding:7px 9px;grid-template-columns:none!important;gap:7px!important;display:flex!important}.procurement-file-button span{text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;overflow:hidden;color:inherit!important}.procurement-file-button input,.procurement-dropzone input{display:none}.procurement-bom-import p,.procurement-inventory-import p,.procurement-rule-card p{color:var(--muted);margin:0;font-size:10px;line-height:1.55}.procurement-rule-card code{overflow-wrap:anywhere;color:#1e3a8a;font-family:var(--mono);background:#eff6ff;border-radius:7px;padding:8px;font-size:11px;line-height:1.5}.procurement-banner{color:#1e40af;background:#eff6ff;border:1px solid #bfdbfe;border-radius:10px;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:9px;margin-bottom:14px;padding:10px 12px;font-size:12px;line-height:1.45;display:grid}.procurement-banner.success{color:#047857;background:#ecfdf5;border-color:#a7f3d0}.procurement-banner.error{color:var(--danger);background:#fff1f2;border-color:#fecaca}.procurement-banner button{color:currentColor;background:0 0;border:0;border-radius:7px;place-items:center;width:26px;height:26px;display:grid}.procurement-intake-card,.procurement-report,.procurement-empty-state{background:#fff;border:1px solid #dbe2ec;border-radius:14px;max-width:1220px;margin:0 auto;box-shadow:0 12px 32px #0f172a0d}.procurement-intake-card{padding:20px}.procurement-card-heading,.procurement-report-heading{justify-content:space-between;align-items:flex-start;gap:18px;display:flex}.procurement-eyebrow{color:var(--accent);font-family:var(--mono);letter-spacing:.04em;text-transform:uppercase;margin-bottom:5px;font-size:11px;font-weight:800;display:block}.procurement-card-heading h3,.procurement-report-heading h3,.procurement-empty-state h3{letter-spacing:-.01em;margin:0;font-size:19px}.procurement-card-heading p,.procurement-report-heading p,.procurement-empty-state p{color:var(--muted);margin:6px 0 0;font-size:12px;line-height:1.5}.procurement-bom-import .procurement-file-button{position:relative}.procurement-bom-import .procurement-file-button input{opacity:0;cursor:pointer;width:100%;height:100%;display:block;position:absolute;inset:0}.procurement-bom-import .procurement-file-button:focus-within{outline-offset:3px;outline:2px solid #2563eb}.procurement-bom-import .procurement-file-button[aria-disabled=true]{opacity:.6}.procurement-bom-import .procurement-file-button input:disabled{cursor:not-allowed}.procurement-inventory-file{color:#334155;cursor:pointer;background:#f8fafc;border:1px dashed #cbd5e1;border-radius:8px;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:8px;min-width:0;padding:8px 9px;display:grid;position:relative}.procurement-inventory-file>span{min-width:0;display:grid}.procurement-inventory-file strong{font-size:11px}.procurement-inventory-file small{color:#64748b;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.procurement-inventory-file input{opacity:0;cursor:pointer;position:absolute;inset:0}.procurement-inventory-file[aria-disabled=true]{opacity:.6}.procurement-import-file{gap:4px;font-size:12px;display:grid}.procurement-import-file strong,.procurement-import-filename{overflow-wrap:anywhere}.procurement-import-file>span{color:#64748b;font-size:11px}.procurement-import-status{color:#1e40af;overflow-wrap:anywhere;background:#eff6ff;border:1px solid #bfdbfe;border-radius:9px;gap:8px;min-width:0;padding:12px;font-size:12px;line-height:1.6;display:grid}.procurement-import-status strong{font-size:13px}.procurement-import-status.success{color:#047857;background:#ecfdf5;border-color:#a7f3d0}.procurement-import-status.error{color:#b91c1c;background:#fff1f2;border-color:#fecaca}.procurement-import-progress{background:#dbeafe;border-radius:8px;height:7px;overflow:hidden}.procurement-import-progress>span{border-radius:inherit;background:#2563eb;height:100%;transition:width .2s;display:block}.procurement-import-progress.indeterminate>span{width:35%;animation:1.5s ease-in-out infinite alternate procurement-import-wait}@keyframes procurement-import-wait{0%{transform:translate(0)}to{transform:translate(185%)}}@media(prefers-reduced-motion:reduce){.procurement-import-progress>span{transition:none}.procurement-import-progress.indeterminate>span{animation:none}}.procurement-mode-tabs{border:1px solid var(--line);background:#f8fafc;border-radius:9px;flex:none;gap:3px;padding:3px;display:inline-flex}.procurement-mode-tabs button{color:#64748b;background:0 0;border:0;border-radius:7px;align-items:center;gap:6px;min-height:32px;padding:6px 10px;font-size:11px;font-weight:700;display:inline-flex}.procurement-mode-tabs button.active{color:#1d4ed8;background:#fff;box-shadow:0 2px 8px #0f172a14}.procurement-paste-layout{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px;min-height:190px;margin-top:16px;display:grid}.procurement-paste-layout textarea{resize:vertical;color:#334155;width:100%;min-height:190px;font-family:var(--mono);background:#f8fbff;border:1px dashed #93c5fd;border-radius:11px;outline:none;padding:14px;font-size:11px;line-height:1.55}.procurement-paste-layout textarea:focus{border-style:solid;border-color:var(--accent);box-shadow:0 0 0 3px #2563eb1a}.procurement-paste-empty,.procurement-paste-preview{background:#f8fafc;border:1px solid #e2e8f0;border-radius:11px;min-width:0;overflow:hidden}.procurement-paste-empty{color:#94a3b8;align-content:center;place-items:center;gap:8px;font-size:11px;display:grid}.procurement-paste-preview>div:first-child{border-bottom:1px solid #e2e8f0;justify-content:space-between;align-items:center;gap:10px;padding:10px 12px;display:flex}.procurement-paste-preview>div:first-child strong{font-family:var(--mono);font-size:12px}.procurement-paste-preview>div:first-child span{color:var(--muted);font-size:10px}.procurement-mini-table-wrap{overflow:auto}.procurement-mini-table-wrap table{border-collapse:collapse;width:100%;font-size:10px}.procurement-mini-table-wrap td{text-overflow:ellipsis;white-space:nowrap;border-bottom:1px solid #e2e8f0;border-right:1px solid #e2e8f0;max-width:150px;padding:8px 9px;overflow:hidden}.procurement-mini-table-wrap tr:first-child td{color:#334155;background:#eef2f7;font-weight:800}.procurement-dropzone{color:#2563eb;text-align:center;cursor:pointer;background:#f8fbff;border:1px dashed #93c5fd;border-radius:11px;align-content:center;place-items:center;gap:9px;min-height:190px;margin-top:16px;padding:24px;display:grid}.procurement-dropzone strong{color:#1e3a8a;font-size:14px}.procurement-dropzone span{color:var(--muted);font-size:11px}.procurement-intake-actions{border-top:1px solid #eef2f7;justify-content:space-between;align-items:center;gap:14px;margin-top:14px;padding-top:14px;display:flex}.procurement-intake-status{color:var(--muted);align-items:center;gap:7px;font-size:11px;display:inline-flex}.procurement-intake-status>span{background:#cbd5e1;border-radius:999px;width:7px;height:7px}.procurement-intake-status>span.ready{background:#10b981;box-shadow:0 0 0 4px #10b9811a}.procurement-calculate-button{border-radius:9px;align-items:center;gap:8px;min-height:40px;padding:8px 16px;font-size:12px;font-weight:800;display:inline-flex}.procurement-empty-state{grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:16px;margin-top:16px;padding:22px;display:grid}.procurement-empty-icon{color:#2563eb;background:#eff6ff;border-radius:12px;place-items:center;width:50px;height:50px;display:grid}.procurement-empty-state ol{gap:12px;margin:0;padding:0;list-style:none;display:flex}.procurement-empty-state li{color:#475569;white-space:nowrap;align-items:center;gap:6px;font-size:11px;display:inline-flex}.procurement-empty-state li span{color:#1d4ed8;width:20px;height:20px;font-family:var(--mono);background:#eff6ff;border:1px solid #bfdbfe;border-radius:999px;place-items:center;font-size:10px;font-weight:800;display:grid}.procurement-report{margin-top:16px;overflow:hidden}.procurement-report-heading{border-bottom:1px solid #e2e8f0;padding:18px 20px}.procurement-report-actions{gap:7px;display:flex}.procurement-report-actions button,.procurement-edit-button,.procurement-edit-actions button,.procurement-pagination button{border:1px solid var(--line);color:#334155;background:#fff;border-radius:8px;justify-content:center;align-items:center;gap:6px;padding:7px 10px;font-size:11px;font-weight:700;display:inline-flex}.procurement-report-actions button:hover,.procurement-edit-button:hover{color:#1d4ed8;background:#eff6ff;border-color:#93c5fd}.procurement-kpi-grid{background:#e2e8f0;border-bottom:1px solid #e2e8f0;grid-template-columns:repeat(4,minmax(0,1fr));gap:1px;display:grid}.procurement-kpi-grid>div{background:#fff;gap:4px;padding:16px 20px;display:grid}.procurement-kpi-grid span,.procurement-kpi-grid small{color:var(--muted);font-size:10px}.procurement-kpi-grid strong{font-family:var(--mono);font-size:23px;line-height:1.1}.procurement-kpi-grid>div.warning strong{color:var(--warn)}.procurement-missing-banner{color:#9a3412;background:#fff7ed;border:1px solid #fed7aa;border-radius:9px;align-items:flex-start;gap:10px;margin:14px 18px 0;padding:10px 12px;display:flex}.procurement-missing-banner strong{font-size:12px}.procurement-missing-banner p{font-family:var(--mono);margin:4px 0 0;font-size:10px;line-height:1.5}.procurement-table-toolbar{justify-content:space-between;align-items:center;gap:12px;padding:14px 18px 10px;display:flex}.procurement-table-toolbar label,.procurement-bom-search label{border:1px solid var(--line);color:#94a3b8;background:#fff;border-radius:8px;align-items:center;gap:7px;min-width:260px;padding:0 9px;display:flex}.procurement-table-toolbar input,.procurement-bom-search input{width:100%;min-height:34px;color:var(--ink);background:0 0;border:0;outline:none;font-size:11px}.procurement-table-toolbar>span{color:var(--muted);font-size:11px}.procurement-table-wrap,.procurement-bom-table-wrap{overflow:auto}.procurement-table{border-collapse:separate;border-spacing:0;width:100%;font-size:11px}.procurement-table th{z-index:1;color:#475569;text-align:left;white-space:nowrap;background:#f8fafc;border-top:1px solid #e2e8f0;border-bottom:1px solid #cbd5e1;padding:9px 10px;font-size:10px;font-weight:800;position:sticky;top:0}.procurement-table td{color:#334155;vertical-align:top;border-bottom:1px solid #edf1f5;max-width:260px;padding:9px 10px}.procurement-table tbody tr:hover td{background:#f8fbff}.procurement-screen-hidden{display:none}.procurement-table td strong,.procurement-table td small{display:block}.procurement-table td strong{color:#1e293b;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.procurement-table td small{color:#94a3b8;text-overflow:ellipsis;white-space:nowrap;max-width:260px;margin-top:3px;overflow:hidden}.procurement-table .code-cell{font-family:var(--mono);white-space:nowrap;font-size:10px}.procurement-table .number-cell{font-family:var(--mono);text-align:right;white-space:nowrap}.procurement-table .demand-cell{color:#1d4ed8;font-weight:800}.procurement-table-empty{text-align:center;color:#94a3b8!important;padding:34px!important}.procurement-pagination{justify-content:flex-end;align-items:center;gap:8px;padding:11px 18px 14px;display:flex}.procurement-pagination button{width:30px;height:28px;padding:0}.procurement-pagination span{min-width:58px;color:var(--muted);font-family:var(--mono);text-align:center;font-size:10px}.procurement-modal-backdrop{z-index:100;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);background:#0f172a7a;place-items:center;padding:24px;display:grid;position:fixed;inset:0}.procurement-modal{background:#fff;border:1px solid #cbd5e1;border-radius:14px;grid-template-rows:auto auto auto minmax(0,1fr) auto;width:min(1280px,100%);height:min(820px,100dvh - 48px);display:grid;overflow:hidden;box-shadow:0 28px 80px #0f172a47}.procurement-modal>header{border-bottom:1px solid #e2e8f0;justify-content:space-between;align-items:flex-start;gap:18px;padding:18px 20px;display:flex}.procurement-modal>header h2{margin:0;font-size:20px}.procurement-modal>header p{color:var(--muted);margin:5px 0 0;font-size:11px}.procurement-modal>header>button,.procurement-edit-heading button{border:1px solid var(--line);color:#64748b;background:#fff;border-radius:8px;place-items:center;width:32px;height:32px;display:grid}.procurement-bom-search{background:#f8fafc;border-bottom:1px solid #e2e8f0;gap:8px;padding:12px 20px;display:flex}.procurement-bom-search label{flex:1}.procurement-bom-search>button{border-radius:8px;min-width:72px;font-size:11px;font-weight:800}.procurement-modal .procurement-banner{margin:10px 20px 0}.procurement-bom-table-wrap{min-height:0;position:relative}.procurement-bom-table{min-width:1080px}.procurement-bom-table td{text-overflow:ellipsis;white-space:nowrap;max-width:210px;overflow:hidden}.procurement-edit-button{white-space:nowrap;padding:5px 8px}.procurement-modal-loading{color:var(--muted);background:#ffffffd9;place-items:center;font-size:12px;display:grid;position:absolute;inset:0}.procurement-modal>footer{color:var(--muted);border-top:1px solid #e2e8f0;justify-content:space-between;align-items:center;gap:12px;padding-left:20px;font-size:11px;display:flex}.procurement-modal>footer .procurement-pagination{padding:9px 18px}.procurement-edit-panel{background:#f8fbff;border:1px solid #bfdbfe;border-radius:10px;margin:12px 20px 0;padding:12px}.procurement-edit-heading{color:#1e3a8a;justify-content:space-between;align-items:center;margin-bottom:10px;font-size:12px;display:flex}.procurement-edit-heading button{width:26px;height:26px}.procurement-edit-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;display:grid}.procurement-edit-grid label{gap:4px;min-width:0;display:grid}.procurement-edit-grid span{color:var(--muted);font-size:10px;font-weight:700}.procurement-edit-grid input{border:1px solid var(--line);width:100%;min-width:0;min-height:32px;color:var(--ink);background:#fff;border-radius:7px;outline:none;padding:6px 8px;font-size:11px}.procurement-edit-grid input:focus{border-color:var(--accent);box-shadow:0 0 0 3px #2563eb1a}.procurement-edit-actions{justify-content:flex-end;gap:7px;margin-top:10px;display:flex}.procurement-edit-actions button.primary{color:#fff;background:var(--accent)}@media(max-width:1080px){.procurement-paste-layout{grid-template-columns:1fr}.procurement-empty-state{grid-template-columns:auto 1fr}.procurement-empty-state ol{flex-wrap:wrap;grid-column:1/-1}.procurement-edit-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:1180px){.procurement-shell{grid-template-columns:286px minmax(0,1fr)}}@media(max-width:760px){.procurement-shell{grid-template-columns:1fr;height:auto;min-height:100dvh;overflow:visible}.procurement-sidebar{border-right:0;border-bottom:1px solid var(--line);max-height:none}.procurement-bom-import-title,.procurement-bom-import,.procurement-inventory-import-title,.procurement-inventory-import,.procurement-rule-title,.procurement-rule-card,.procurement-current-bom-title,.procurement-bom-summary,.procurement-source-name,.procurement-bom-summary .ghost-button:last-child{display:none}.procurement-mobile-bom-button{display:grid}.procurement-thread{border-radius:0;min-height:0;margin:0}.procurement-thread .composer textarea{min-height:72px;max-height:160px}.procurement-content{padding:14px}.procurement-welcome-meta{flex-direction:column;align-items:flex-start}.procurement-card-heading,.procurement-report-heading,.procurement-intake-actions{flex-direction:column;align-items:stretch}.procurement-mode-tabs,.procurement-calculate-button{width:100%}.procurement-mode-tabs button{flex:1;justify-content:center}.procurement-kpi-grid,.procurement-result-card .metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.procurement-report-actions{width:100%}.procurement-report-actions button{flex:1}.procurement-edit-grid{grid-template-columns:1fr}.procurement-modal-backdrop{padding:0}.procurement-modal{border:0;border-radius:0;height:100dvh}}@media print{body{background:#fff}.procurement-shell{background:#fff;height:auto;display:block}.procurement-sidebar,.procurement-thread>.thread-header,.procurement-thread>.composer,.procurement-messages>.message:not(.procurement-report-message),.procurement-report-message>.role,.procurement-intake-card,.procurement-banner,.procurement-empty-state,.no-print{display:none!important}.procurement-thread{box-shadow:none;border:0;margin:0;display:block;overflow:visible}.procurement-messages{background:#fff;padding:0;display:block;overflow:visible}.procurement-report-message{max-width:none;margin:0}.procurement-report-bubble{box-shadow:none;border:0;border-radius:0;overflow:visible}.procurement-content{background:#fff;padding:0;overflow:visible}.procurement-report{max-width:none;box-shadow:none;border:0;margin:0;overflow:visible}.procurement-report-heading{padding:0 0 14px}.procurement-table-wrap{overflow:visible}.procurement-table{font-size:9px}.procurement-table th{padding:6px;position:static}.procurement-table td{padding:6px}.procurement-screen-hidden{display:table-row}.procurement-kpi-grid>div{padding:10px}.procurement-missing-banner{margin:10px 0}}.workspace-entry-work-report-card .workspace-entry-icon{color:#0f6b52;background:#dff2eb}.work-report-preview-table{table-layout:auto}.work-report-preview-table th:nth-child(6),.work-report-preview-table td:nth-child(6){min-width:170px}.work-report-preview-table select{color:#0f172a;background:#fff;border:1px solid #cbd5e1;border-radius:8px;width:100%;min-height:34px;padding:5px 30px 5px 9px;font:650 12px/1.3 inherit}.work-report-source-table-wrap{background:#fff}.work-report-source-table{table-layout:auto;min-width:1040px}.work-report-source-table th,.work-report-source-table td{vertical-align:middle}.work-report-source-table th:first-child{width:70px}.work-report-source-table th:nth-child(2){width:58px}.work-report-source-table th:nth-child(3){width:128px}.work-report-source-table th:nth-child(4){width:170px}.work-report-source-table th:nth-child(5){width:92px}.work-report-source-table th:nth-child(6){width:112px}.work-report-source-table th:nth-child(7),.work-report-source-table th:nth-child(8){width:178px}.work-report-source-table th:nth-child(9){width:112px}.work-report-source-table td{white-space:normal;line-height:1.35}.work-report-source-table td strong,.work-report-source-table td small{display:block}.work-report-source-table td small{color:#64748b;margin-top:2px;font-size:10px}.work-report-attention-cell{color:#475569;max-width:190px}.work-report-activity .steps{margin-bottom:18px}.work-report-activity .step:last-child{margin-bottom:0}.match-state{color:#166534;white-space:nowrap;background:#dcfce7;border-radius:999px;align-items:center;min-height:24px;padding:3px 8px;font-size:11px;font-weight:750;display:inline-flex}.match-state.overridden{color:#1d4ed8;background:#dbeafe}.match-state.unmatched{color:#b45309;background:#fef3c7}.work-report-settings-backdrop{align-items:stretch;padding:22px}.work-report-settings-modal{grid-template-rows:auto minmax(0,1fr) auto auto;width:min(1180px,96vw);max-height:calc(100vh - 44px);display:grid}.work-report-settings-body{background:#f8fafc;grid-template-columns:210px 260px minmax(0,1fr);gap:14px;min-height:0;padding:16px 18px;display:grid;overflow:hidden}.work-report-group-panel,.work-report-route-list-panel,.work-report-route-editor{background:#fff;border:1px solid #dbe2ea;border-radius:14px;min-width:0;padding:13px;overflow:auto}.settings-section-head{justify-content:space-between;align-items:flex-start;gap:10px;margin-bottom:12px;display:flex}.settings-section-head>div{gap:3px;display:grid}.settings-section-head strong{color:#0f172a;font-size:13px}.settings-section-head span{color:#64748b;font-size:11px;line-height:1.4}.ghost-button.compact{white-space:nowrap;align-items:center;gap:4px;min-height:29px;padding:5px 8px;font-size:11px;display:inline-flex}.ghost-button.danger,.mini-icon-button.danger{color:#b91c1c}.work-report-group-list,.work-report-route-list,.process-editor-list{gap:7px;display:grid}.work-report-group-row{grid-template-columns:minmax(0,1fr) 28px;align-items:center;gap:6px;display:grid}.work-report-group-row input,.route-fields input,.process-editor-row input,.process-editor-row select{color:#0f172a;background:#fff;border:1px solid #cbd5e1;border-radius:8px;width:100%;min-width:0;min-height:34px;padding:6px 8px;font:550 12px/1.35 inherit}.work-report-route-row{background:#fff;border:1px solid #e2e8f0;border-radius:10px;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:5px;padding:5px;display:grid}.work-report-route-row.active{background:#effaf6;border-color:#6bbba1;box-shadow:inset 3px 0 #0f6b52}.route-select-button{text-align:left;background:0 0;border:0;gap:2px;min-width:0;padding:5px 6px;display:grid}.route-select-button strong{color:#0f172a;text-overflow:ellipsis;white-space:nowrap;font-size:12px;overflow:hidden}.route-select-button span{color:#64748b;font-size:10px}.route-order-actions,.process-row-actions{gap:3px;display:inline-flex}.route-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin-bottom:14px;display:grid}.route-fields label{gap:5px;min-width:0;display:grid}.route-fields label:first-child{grid-column:1/-1}.route-fields label span{color:#475569;font-size:11px;font-weight:700}.process-table-head{justify-content:space-between;align-items:center;margin:4px 0 8px;display:flex}.process-table-head strong{font-size:13px}.process-table-labels,.process-editor-row{grid-template-columns:38px minmax(150px,1.7fr) minmax(100px,1fr) 105px 90px;align-items:center;gap:6px;display:grid}.process-table-labels{color:#64748b;padding:0 4px 5px;font-size:10px;font-weight:700}.process-editor-row{border-top:1px solid #eef2f7;padding-top:7px}.process-editor-row>strong{color:#475569;text-align:center;font-size:12px}@media(max-width:980px){.work-report-settings-body{grid-template-columns:190px minmax(0,1fr);overflow:auto}.work-report-route-editor{grid-column:1/-1;overflow:visible}}@media(max-width:680px){.work-report-settings-backdrop{padding:0}.work-report-settings-modal{border-radius:0;width:100vw;max-height:100vh}.work-report-settings-body{display:block}.work-report-group-panel,.work-report-route-list-panel,.work-report-route-editor{margin-bottom:12px;overflow:visible}.route-fields{grid-template-columns:1fr}.route-fields label:first-child{grid-column:auto}.process-table-labels{display:none}.process-editor-row{grid-template-columns:28px minmax(0,1fr) 86px}.process-editor-row input:first-of-type{grid-column:2/-1}.process-editor-row select{grid-column:2}}.workspace-entry-quotation .workspace-entry-icon{color:#9a3412;background:#fff7ed}.quotation-workbench.app-shell.activity-collapsed{grid-template-columns:300px minmax(0,1fr)}.quotation-sidebar .quotation-order-panel textarea{resize:vertical;border:1px solid var(--line);width:100%;min-height:58px;color:var(--ink);background:#f8fafc;border-radius:9px;padding:7px 8px;font-size:12px;line-height:1.4}.quotation-empty-panel{color:var(--muted);font-size:12px;line-height:1.5}.quotation-empty-panel strong{color:var(--ink);font-size:13px}.quotation-editor-scroll{background:#f8fafc;min-height:0;padding:22px;overflow:auto}.quotation-products-panel{width:min(1120px,100%);margin:0 auto}.quotation-products-heading{justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:12px;display:flex}.quotation-products-heading>div{align-items:flex-start;gap:9px;display:flex}.quotation-products-heading svg{color:#9a3412;flex:none;margin-top:2px}.quotation-products-heading h3{margin:0;font-size:18px}.quotation-products-heading p{color:var(--muted);margin:3px 0 0;font-size:12px}.quotation-products-heading>span{color:#64748b;text-overflow:ellipsis;white-space:nowrap;max-width:45%;font-size:11px;overflow:hidden}.quotation-importer{margin-bottom:12px}.quotation-import-card{background:#fff;border:1px dashed #94a3b8;border-radius:8px;overflow:hidden}.quotation-import-head,.quotation-import-actions{justify-content:space-between;align-items:center;gap:12px;padding:10px 12px;display:flex}.quotation-import-head{background:#fffaf5;border-bottom:1px solid #e2e8f0}.quotation-import-head>div,.quotation-import-actions>div{align-items:center;gap:7px;min-width:0;display:flex}.quotation-import-head>div{color:#7c2d12;font-size:13px;font-weight:750}.quotation-import-head>span{color:#64748b;font-size:11px}.quotation-import-card textarea{resize:vertical;color:#0f172a;width:100%;min-height:88px;font:12px/1.5 var(--mono);background:#fff;border:0;outline:0;padding:13px;display:block}.quotation-import-card textarea:focus{box-shadow:inset 0 0 0 2px #2563eb38}.quotation-import-actions{border-top:1px solid #e2e8f0}.quotation-import-actions .send-button{border-radius:7px;justify-content:center;align-items:center;gap:6px;min-height:34px;padding:7px 11px;font-size:12px;font-weight:750;display:inline-flex}.quotation-import-error{color:#b91c1c;text-overflow:ellipsis;white-space:nowrap;font-size:11px;overflow:hidden}.quotation-inline-status{color:#115e59;background:#f0fdfa;border-left:3px solid #0f766e;margin:0 0 12px;padding:8px 10px;font-size:12px}.quotation-inline-status.error{color:#991b1b;background:#fef2f2;border-left-color:#dc2626}.quotation-empty-state{color:#64748b;text-align:center;background:#fff;border:1px solid #e2e8f0;border-radius:8px;place-content:center;gap:5px;min-height:180px;font-size:12px;display:grid}.quotation-empty-state strong{color:#334155;font-size:14px}.quotation-preview-card{border-radius:8px;margin-top:0}.quotation-copy-tabs{flex-wrap:nowrap;display:inline-flex}.quotation-metrics{grid-template-columns:repeat(4,minmax(0,1fr))}.quotation-warning{color:#92400e;background:#fffbeb;border-left:3px solid #d97706;margin:0 12px 10px;padding:8px 10px;font-size:12px;line-height:1.45}.quotation-table-wrap{border:1px solid var(--line);background:#fff;border-radius:8px;margin:0 12px 12px;overflow:auto}.quotation-editor-table{border-collapse:collapse;table-layout:fixed;width:100%;min-width:900px;font-size:12px}.quotation-editor-table th,.quotation-editor-table td{text-align:left;vertical-align:top;border-bottom:1px solid #e2e8f0;border-right:1px solid #e2e8f0;padding:7px}.quotation-editor-table th{color:#475569;background:#f8fafc;font-size:11px}.quotation-editor-table th:first-child{width:54px}.quotation-editor-table th:nth-child(2){width:90px}.quotation-editor-table th:nth-child(3){width:auto}.quotation-editor-table th:nth-child(4),.quotation-editor-table th:nth-child(5){width:126px}.quotation-editor-table th:nth-child(6){width:44px}.quotation-editor-table th:last-child,.quotation-editor-table td:last-child{border-right:0}.quotation-editor-table tr:last-child td{border-bottom:0}.quotation-editor-table input,.quotation-editor-table textarea{color:#0f172a;background:#fff;border:1px solid #cbd5e1;border-radius:6px;outline:0;width:100%;min-width:0;padding:7px 8px;font-size:12px}.quotation-editor-table textarea{resize:vertical;min-height:76px;line-height:1.4}.quotation-editor-table input:focus,.quotation-editor-table textarea:focus{border-color:#2563eb;box-shadow:0 0 0 2px #2563eb1a}.quotation-preview-actions{justify-content:flex-start;padding-top:2px}.quotation-preview-actions>span{color:var(--muted);font-size:11px}.quotation-generate-button{gap:6px;margin-left:auto}.quotation-result-standalone{border-radius:8px;margin-top:12px}.quotation-result-standalone .card-actions>span{color:var(--muted);margin-right:auto;font-size:11px}@media(max-width:820px){.quotation-workbench.app-shell.activity-collapsed{display:block}.quotation-editor-scroll{padding:14px}.quotation-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:560px){.quotation-products-heading,.quotation-import-head,.quotation-import-actions{flex-direction:column;align-items:stretch}.quotation-products-heading>span{max-width:100%}.quotation-import-actions>div{flex-direction:column;align-items:stretch}.quotation-import-actions .send-button{width:100%}.quotation-preview-card .card-head{flex-direction:column;align-items:stretch}.quotation-copy-tabs{width:100%}.quotation-copy-tabs button{flex:1}.quotation-preview-actions{flex-direction:column;align-items:stretch}.quotation-generate-button{width:100%;margin-left:0}}.wood-grooving-settings .config-section-title{width:100%;color:var(--ink);margin-bottom:10px;display:block}.wood-grooving-settings .config-row{display:block}.workspace-entry-wood-grooving .workspace-entry-icon{color:#8a5a25;background:#f5ead8}.wood-grooving-rule-heading{justify-content:space-between;align-items:center;gap:8px;display:flex}.wood-grooving-rule-heading .panel-title{flex:1}.wood-grooving-template-download{color:#1d4ed8;white-space:nowrap;background:#eff6ff;border:1px solid #bfdbfe;border-radius:9px;align-items:center;gap:6px;min-height:32px;padding:6px 10px;font-size:12px;font-weight:750;text-decoration:none;display:inline-flex}.wood-grooving-template-download:hover{background:#dbeafe;border-color:#60a5fa}.wood-grooving-preview-table{table-layout:auto}.wood-grooving-preview-table th:last-child,.wood-grooving-preview-table td:last-child{white-space:normal;min-width:260px;line-height:1.45}.workbench-center{flex-direction:column;min-width:0;min-height:0;display:flex}.workbench-thread-content{flex:1;min-width:0;min-height:0;display:flex}.workbench-thread-content>.thread{flex:1;width:100%;min-height:0}.aluminum-workbench .material-rules{color:var(--ink);margin-bottom:12px;font-size:12px}.aluminum-workbench .material-rules>summary{cursor:pointer;border:1px solid var(--line);color:#475569;background:#fff;border-radius:8px;padding:9px 10px;font-weight:750}.aluminum-workbench .material-rules[open]>summary{margin-bottom:8px}.aluminum-workbench .accessory-rule-panel .accessory-rule-item{border:0;border-bottom:1px solid var(--line);box-shadow:none;background:0 0;border-radius:0;padding:8px 0}.aluminum-workbench .accessory-rule-panel .accessory-rule-item:last-child{border-bottom:0}.aluminum-workbench .accessory-rule-item strong{font-size:13px;line-height:1.45}.aluminum-workbench .accessory-rule-item .history-meta{margin-top:4px}.aluminum-workbench .accessory-stock-panel .empty-copy{margin:0;font-size:12px;line-height:1.55}.aluminum-workbench .runtime-card .usage-row{align-items:start;gap:12px}.aluminum-workbench .runtime-card .usage-row strong{text-align:right;overflow-wrap:anywhere}.calculation-recovery{background:#eef6ff;border-bottom:1px solid #cbddef;flex-wrap:wrap;align-items:center;gap:12px;padding:12px 20px;display:flex}.calculation-recovery small{color:#526176}.report-history-dialog[open]{flex-direction:column;display:flex;overflow:hidden}.report-history-dialog>.history-list{min-height:0;overflow:auto}.report-history-dialog>.history-pagination,.report-history-dialog>.history-filters,.report-history-dialog>.history-dialog-head{flex-shrink:0}.workbench-mobile-nav{display:none}.aluminum-workbench .sidebar .order-panel{box-shadow:none}.aluminum-workbench .accessory-stock-metrics{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.aluminum-workbench .runtime-card{margin-bottom:14px}.aluminum-workbench .usage-row{font-size:12px}.aluminum-workbench .runtime-card .usage-row strong{max-width:68%;line-height:1.5}.aluminum-workbench button:focus-visible,.aluminum-workbench summary:focus-visible{outline:2px solid var(--accent);outline-offset:3px}.aluminum-workbench .sidebar,.aluminum-workbench .activity-panel{scrollbar-width:thin;scrollbar-color:#cbd5e1 transparent}@media(min-width:1024px)and (max-width:1439px){.app-shell.aluminum-workbench{grid-template-columns:260px minmax(0,1fr) 280px}.aluminum-workbench>.activity-panel{padding:14px;display:block}.aluminum-workbench .thread-header{padding:18px}.aluminum-workbench .messages{padding:22px 18px}}@media(max-width:1023px){.app-shell.aluminum-workbench{flex-direction:column;height:100dvh;min-height:0;display:flex;overflow:hidden}.workbench-mobile-nav{border-bottom:1px solid var(--line);background:#fff;flex:none;gap:4px;padding:8px 12px;display:flex}.workbench-mobile-nav button{color:#64748b;background:0 0;border:0;border-radius:8px;flex:1;padding:10px 6px;font-size:12px;font-weight:750}.workbench-mobile-nav button[aria-pressed=true]{color:var(--accent);background:#eff6ff}.aluminum-workbench>.sidebar,.aluminum-workbench>.activity-panel,.aluminum-workbench>.workbench-center{display:none}.aluminum-workbench[data-panel=parameters]>.sidebar{flex:1;min-height:0;display:block;overflow:auto}.aluminum-workbench[data-panel=activity]>.activity-panel{flex:1;min-height:0;margin:12px;display:block}.aluminum-workbench[data-panel=workbench]>.workbench-center{flex:1;display:flex}.aluminum-workbench .thread{border-radius:0;min-height:0;margin:0}}.aluminum-workbench .honeycomb-color-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:4px}.aluminum-workbench .honeycomb-color-chip{min-height:26px;font-size:11px}.aluminum-settings-button{border-radius:8px;justify-content:center;align-items:center;gap:8px;min-height:36px;margin:10px 0 4px;display:flex}.aluminum-workbench .sidebar>button.history-item{text-align:left;width:100%}.aluminum-workbench .sidebar>button.history-item strong{font-size:13px}.aluminum-workbench .sidebar>button.history-item>span{color:var(--muted);font-size:11px;line-height:1.5}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}
