.new-stock{color:#192532;max-width:1300px;margin:auto}.new-stock header,.stock-summary,.stock-actions{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;margin:16px 0;display:flex}.new-stock p{color:#536479;line-height:1.55}.new-stock label{gap:8px;margin:12px 0;font-weight:600;display:grid}.new-stock input,.new-stock select{color:#192532;width:100%;min-width:0;min-height:46px;font:inherit;background:#fff;border:1px solid #b9c6d4;border-radius:8px;padding:10px}.stock-summary{background:#e9f1f7;border-radius:12px;justify-content:flex-start;gap:24px;padding:18px}.stock-summary strong{font-size:24px}.stock-actions{justify-content:flex-start}.new-stock button{white-space:normal;min-height:44px}.stock-form,.stock-empty{background:#fff;border:1px solid #bccddd;border-radius:12px;margin:20px 0;padding:24px}.stock-form fieldset{border:0;min-width:0;padding:0}.stock-cards{grid-template-columns:repeat(auto-fit,minmax(min(100%,290px),1fr));gap:16px;margin:20px 0;display:grid}.stock-cards article,.stock-history article{overflow-wrap:anywhere;background:#fff;border:1px solid #d6dfe8;border-radius:10px;padding:18px}.stock-cards h3{margin:8px 0}.stock-cards dl{gap:10px;display:grid}.stock-cards dl div{justify-content:space-between;gap:12px;display:flex}.stock-cards dd{margin:0;font-weight:700}.stock-history{gap:10px;display:grid}.new-stock [role=alert]{color:#a31a1a}.new-stock ul{overflow-wrap:anywhere;padding-left:22px}@media (max-width:600px){.stock-actions button{width:100%}.stock-form{padding:16px}.new-stock header{flex-direction:column;align-items:stretch}.stock-summary{gap:12px}.new-stock select{max-width:100%}}.new-stock,.new-stock *{box-sizing:border-box}.new-stock header{color:#192532;background:0 0;padding:0}.new-stock button{font:inherit;cursor:pointer;color:#192532;background:#fff;border:1px solid #bdcad9;border-radius:8px;padding:10px 16px}.new-stock button.primary{color:#fff;background:#163650;border-color:#163650}.new-stock button:disabled{opacity:.6;cursor:wait}.stock-needs article,.stock-order{overflow-wrap:anywhere;background:#fff;border:1px solid #d6dfe8;border-radius:10px;margin:12px 0;padding:18px}.stock-order ul{padding-left:20px}.stock-order li{margin:12px 0}.new-stock .stock-success{color:#17623e;background:#e8f6ee;border-radius:8px;padding:14px}.new-stock small{font-size:14px}.new-stock button{min-height:48px}.new-stock :focus-visible{outline-offset:3px;outline:3px solid #197ab7}.stock-form{scroll-margin-top:20px}.stock-form h3{margin-top:0}@media (max-width:600px){.new-stock button,.new-stock input,.new-stock select{min-height:52px}.stock-summary span{flex:120px}}.stock-selection{overflow-wrap:anywhere;color:#42576b;font-weight:400;line-height:1.5;display:block}.stock-filters,.stock-price-fields{grid-template-columns:2fr 1fr;gap:18px;display:grid}.stock-level{color:#14643c;background:#e2f4e9;border-radius:20px;margin-bottom:12px;padding:5px 12px;font-weight:700;display:inline-block}.stock-level.empty{color:#ac1624;background:#fee4e4}.stock-level.low{color:#8a5400;background:#fff0cf}.stock-level.held{color:#294b8e;background:#e2eafa}.stock-cards article>small{display:block}.stock-alert-button.has-alert{font-weight:750;color:#b41524!important;background:#fff0f0!important;border:2px solid #c82030!important}.stock-alert-button span{font-size:22px}.stock-alert-card{border-left:5px solid #c82030!important}.stock-alert-card h3{color:#a91020}.stock-order label{gap:8px;margin:12px 0;display:grid}.stock-order select,.stock-order input{border:1px solid #b9c6d4;border-radius:8px;width:100%;max-width:100%;min-height:44px;padding:10px}.stock-order button{cursor:pointer;background:#fff;border:1px solid #b9c6d4;border-radius:8px;padding:10px}.new-stock details>summary{cursor:pointer;padding:16px;font-weight:700}@media (max-width:650px){.stock-filters,.stock-price-fields{grid-template-columns:1fr}}.stock-header-actions{align-items:stretch}.stock-header-actions .btn{justify-content:center;align-items:center;gap:8px;min-height:48px;padding:10px 18px;display:inline-flex}.stock-alert-dot{color:#a50c22;background:#ffdde0;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:28px;height:28px;line-height:1;display:inline-flex}.stock-compact-list{gap:8px;margin:20px 0;display:grid}.stock-compact-row{background:#fff;border:1px solid #d6dfe8;border-radius:10px;overflow:hidden}.new-stock .stock-compact-row>summary{justify-content:space-between;align-items:center;gap:16px;padding:12px 16px;list-style:none;display:flex}.stock-compact-row>summary::-webkit-details-marker{display:none}.stock-compact-row>summary:after{content:"⌄";color:#52657a;flex-shrink:0;font-size:20px}.stock-compact-row[open]>summary:after{transform:rotate(180deg)}.stock-row-title{flex:1;gap:5px;min-width:0;display:grid}.stock-row-title strong{overflow-wrap:anywhere;font-size:16px}.stock-row-title small{color:#536479;overflow-wrap:anywhere;font-weight:400}.stock-row-right{text-align:right;flex-shrink:0;justify-items:end;gap:4px;display:grid}.stock-row-right>strong{font-size:18px}.stock-row-right>strong small{font-size:12px;font-weight:400}.stock-row-right .stock-level{margin:0;padding:2px 7px;font-size:11px}.stock-row-detail{border-top:1px solid #e4eaf0;padding:0 16px 16px}.stock-row-detail dl{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 24px;display:grid}.stock-row-detail dl>div{justify-content:space-between;gap:12px;display:flex}.stock-row-detail dd{text-align:right;margin:0;font-weight:700}.stock-lot-list{gap:8px;margin-bottom:16px;display:grid}.stock-lot-list article{background:#f2f5f8;border-radius:8px;padding:10px 12px}.stock-lot-list p{margin:4px 0;font-size:13px}.stock-order-link{max-width:800px}.new-stock input[readonly]{color:#536479;background:#f0f4f8}@media (max-width:600px){.stock-header-actions{grid-template-columns:1fr 1fr;gap:8px;width:100%;display:grid}.stock-header-actions .btn{width:auto;min-height:52px;padding:10px 8px;font-size:14px}.new-stock .stock-compact-row>summary{gap:8px;padding:12px}.stock-row-title strong{font-size:14px}.stock-row-title small{font-size:12px}.stock-row-right>strong{font-size:16px}.stock-row-detail{padding:0 12px 12px}.stock-row-detail dl{grid-template-columns:1fr}.stock-row-right{max-width:120px}.stock-row-right>strong{overflow-wrap:anywhere}}.stock-search-filters{grid-template-columns:repeat(3,minmax(0,1fr));align-items:end}.stock-main-search{grid-column:1/-1}.stock-reset{place-self:center start;font-size:13px!important}.stock-flags{flex-wrap:wrap;gap:5px;display:flex}.stock-flags:empty{display:none}.stock-flags>span{color:#6e490d;background:#fff3d8;border-radius:4px;padding:2px 6px;font-size:11px;font-weight:500}.stock-row-detail dd{overflow-wrap:anywhere;min-width:0}@media (max-width:600px){.stock-search-filters{grid-template-columns:1fr 1fr}.stock-search-filters label{min-width:0}.stock-reset{grid-column:1/-1;width:auto!important}.stock-row-right{max-width:95px}}.new-stock,.new-stock input:not([type=hidden]),.new-stock textarea,.new-stock select,.new-stock .stock-reference-original,.new-stock .stock-reference-history,.new-stock .stock-reference-warning p{text-transform:none}.stock-reference-warning{overflow-wrap:anywhere;background:#fff6df;border:1px solid #c98d28;border-radius:8px;margin:12px 0;padding:12px}.stock-reference-history{overflow-wrap:anywhere;border-left:3px solid #215e83;padding-left:10px}.stock-order form{min-width:0}.stock-order form label{flex-direction:column;gap:5px;min-width:0;display:flex}.stock-order form input,.stock-order form select{width:100%;min-width:0;max-width:100%;min-height:44px;font-size:16px}.stock-order form button{min-height:44px}.stock-order form p{overflow-wrap:anywhere}@media (max-width:600px){.stock-order form{flex-direction:column;gap:8px;display:flex}.stock-order form select{white-space:normal}.stock-order .stock-actions{flex-wrap:wrap;display:flex}}.stock-order .stock-search-results{gap:4px;max-height:320px;display:grid;overflow:auto}.stock-order .stock-search-results button{text-align:left;white-space:normal;overflow-wrap:anywhere;justify-content:space-between;align-items:center;gap:12px;width:100%;min-height:48px;display:flex}.stock-order .stock-search-results button:hover{background:#edf4f9;border-color:#346583}.stock-order .stock-search-results button>span:first-child{flex:1;min-width:0}.stock-order .stock-search-results small{display:block}.stock-order .stock-selected-part{background:#edf4f9;border-left:3px solid #346583;margin:10px 0;padding:10px}@media (max-width:600px){.stock-order .stock-search-results button{flex-direction:column;align-items:flex-start;gap:3px;padding:8px}}.new-stock .stock-form .trackon-record-table{--trackon-lot-layout:189;margin:18px 0 24px;overflow-x:auto}.new-stock .stock-form .trackon-record-table table{border-collapse:collapse;text-align:left;width:100%;font-size:13px}.new-stock .stock-form .trackon-record-table th{color:#174653;white-space:normal;background:#e9f2f3;border-bottom:2px solid #bbd2d7;padding:11px 10px;font-size:11px;line-height:1.45}.new-stock .stock-form .trackon-record-table td{vertical-align:top;border-bottom:1px solid #d8e2e8;padding:12px 10px;line-height:1.6}.new-stock .stock-form .trackon-record-table td:first-child{min-width:145px}.new-stock .stock-form .trackon-record-table small{color:#607586;font-size:11px;display:block}.new-stock .stock-form .trackon-record-table summary{padding:8px 0;font-size:11px}.new-stock .stock-form .trackon-record-table button{min-height:36px;font-size:12px}.new-stock .stock-form .purchase-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:0 18px;display:grid}.new-stock .stock-form label:has(input[type=checkbox]){align-items:center;gap:10px;display:flex}.new-stock .stock-form input[type=checkbox]{accent-color:#17616c;flex:none;width:18px;height:18px;min-height:18px;padding:0}@media (max-width:650px){.new-stock .stock-form .purchase-fields{grid-template-columns:1fr}.new-stock .stock-form .trackon-record-table table{min-width:670px}}.stock-secondary-fields{border-top:1px solid #d6dfe8;grid-column:1/-1;margin-top:8px;padding:8px 0}.stock-secondary-fields>summary{cursor:pointer;align-items:center;min-height:44px;font-weight:600;display:flex}.stock-secondary-fields[open]{display:block}.stock-secondary-fields label{margin-top:12px}.purchasing .purchase-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:0 18px;display:grid}.purchasing .receipt-line{border-top:1px solid #d6dfe8;margin-top:16px;padding:12px 0}.purchasing textarea{width:100%;min-height:140px;font:inherit;border:1px solid #b9c6d4;border-radius:8px;padding:12px}.purchasing [aria-pressed=true]{color:#fff;background:#163650}.purchasing summary{cursor:pointer;min-height:44px;padding:12px 0}.purchasing li{margin:12px 0}.purchasing h4{margin:8px 0}.purchasing article{overflow-wrap:anywhere}@media (max-width:650px){.purchasing .purchase-fields{grid-template-columns:1fr}.purchasing .stock-form{padding:14px}}.purchasing .purchase-composer{min-width:0;margin:18px 0}.purchasing .purchase-composer h4{margin-top:22px}.purchasing .purchase-search-results{gap:6px;max-height:300px;margin:8px 0 14px;display:grid;overflow:auto}.purchasing .purchase-search-results button{text-align:left;white-space:normal;flex-direction:column;align-items:flex-start;gap:4px;width:100%;min-height:48px;display:flex}.purchasing .purchase-step-note{background:#edf3f7;border-left:3px solid #235e86;padding:12px}.purchasing .purchase-draft-lines{padding:0;list-style:none}.purchasing .purchase-draft-lines li{border-bottom:1px solid #d6dfe8;justify-content:space-between;align-items:center;gap:14px;padding:12px 0;display:flex}.purchasing .purchase-draft-lines li>div{overflow-wrap:anywhere;gap:5px;min-width:0;display:grid}.purchasing .purchase-draft-lines small{color:#536676}@media (max-width:650px){.purchasing .purchase-draft-lines li{flex-direction:column;align-items:stretch}}.purchase-budget{background:#fff;border:1px solid #cbd5e1;border-left:5px solid #16a34a;border-radius:12px;margin:18px 0;padding:20px}.purchase-budget header{justify-content:space-between;align-items:center;display:flex}.purchase-budget h3{margin:4px 0}.budget-metrics{grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin:20px 0;display:grid}.budget-metrics small,.budget-metrics strong{display:block}.budget-metrics strong{color:#153649;font-size:23px}.purchase-budget progress{accent-color:#16a34a;width:100%;height:12px}.budget-orange{border-left-color:#ea8800}.budget-orange progress{accent-color:#ea8800}.budget-red,.budget-ceiling,.budget-blocked{border-left-color:#dc2626}.budget-red progress,.budget-ceiling progress,.budget-blocked progress{accent-color:#dc2626}.purchase-budget>small{line-height:1.6;display:block}.purchase-budget details{margin-top:15px}.purchase-history-filters{flex-wrap:wrap;gap:14px;margin:15px 0;display:flex}@media (max-width:750px){.budget-metrics{grid-template-columns:1fr 1fr}}.purchase-budget.purchase-budget{min-height:0;margin:12px 0;padding:12px 16px;display:block}.purchase-budget.purchase-budget>header{gap:12px;min-height:0;margin:0;padding:0}.purchase-budget.purchase-budget h3{margin:0;font-size:17px}.purchase-budget.purchase-budget header label{align-items:center;gap:10px;margin:0;display:flex}.purchase-budget.purchase-budget input[type=month]{width:175px;height:36px;min-height:36px;padding:5px 9px}.purchase-budget.purchase-budget .budget-metrics{gap:16px;margin:10px 0 6px}.purchase-budget.purchase-budget .budget-metrics strong{font-size:21px;line-height:1.3}.purchase-budget.purchase-budget small{font-size:12px}.purchase-budget.purchase-budget progress{height:8px;margin:6px 0;display:block}.purchase-budget.purchase-budget>details{vertical-align:top;margin:4px 24px 0 0;padding:0;display:inline-block}.purchase-budget.purchase-budget>details[open]{display:block}.purchase-budget.purchase-budget summary{min-height:0;padding:6px 0;font-size:12px}.purchase-budget.purchase-budget>p{margin:6px 0;font-size:13px}@media (max-width:600px){.purchase-budget.purchase-budget>header{flex-wrap:wrap;align-items:flex-start}.purchase-budget.purchase-budget .budget-metrics{grid-template-columns:1fr 1fr}}.receipt-toolbar,.receipt-summary{justify-content:space-between;align-items:center;gap:12px;padding:12px 0;display:flex}.receipt-toolbar span{color:#52687b;font-size:13px}.receipt-summary{background:#f1f6fa;border:1px solid #d6dfe8;border-radius:10px;padding:14px}.receipt-options>summary{color:#42566b;font-size:13px}.purchasing .purchase-draft-lines li>div.stock-actions{flex-wrap:wrap;display:flex}.purchasing .purchase-history-filters label{flex:1;min-width:150px}@media (max-width:650px){.receipt-toolbar,.receipt-summary{flex-direction:column;align-items:stretch}.purchasing .purchase-draft-lines .stock-actions button{flex:1;min-height:44px}.purchasing .stock-actions button{white-space:normal;min-height:44px}.purchasing .purchase-history-filters{grid-template-columns:1fr;width:100%;display:grid}.purchasing .purchase-history-filters select{width:100%}}.new-stock.stock-pilot{width:100%;min-width:0;max-width:1280px;margin:0 auto}.stock-pilot.crm-ui :is(button,input,select,textarea){font-family:var(--crm-font);border-radius:var(--crm-radius);min-height:44px;font-size:14px;line-height:20px}.stock-pilot.crm-ui button{border-color:var(--crm-control-line);padding:10px 14px;font-weight:600}.stock-pilot.crm-ui button:not(.crm-button-primary):not(.primary):hover:not(:disabled){background:var(--crm-soft)}.stock-pilot.crm-ui .crm-button-primary,.stock-pilot.crm-ui button.primary{background:var(--crm-navy);border-color:var(--crm-navy);color:#fff}.stock-pilot.crm-ui .crm-button-quiet{color:var(--crm-brand);background:0 0;border-color:#0000}.stock-pilot.crm-ui .crm-header-actions .crm-button{flex-shrink:0;min-width:154px;margin:0}.stock-pilot.crm-ui .stock-alert-count{background:var(--crm-soft);font-variant-numeric:tabular-nums;border-radius:5px;place-items:center;min-width:20px;height:20px;margin-left:6px;padding:0 5px;font-size:11px;display:inline-grid}.stock-pilot.crm-ui .stock-alert-count.active{background:var(--crm-danger-bg);color:var(--crm-danger)}.stock-pilot.crm-ui .has-stock-alert>svg{color:var(--crm-danger)}.stock-pilot.crm-ui .stock-operation-bar{border-bottom:1px solid var(--crm-line);gap:8px;margin:0 0 18px;padding:0 0 14px}.stock-pilot.crm-ui .stock-operation-bar .crm-button{color:var(--crm-muted);background:0 0;border-color:#0000}.stock-pilot.crm-ui .stock-operation-bar .crm-button[aria-pressed=true]{background:var(--crm-soft);color:var(--crm-navy);border-color:var(--crm-line)}.stock-pilot.crm-ui .stock-summary{background:var(--crm-surface);border:1px solid var(--crm-line);border-radius:var(--crm-radius);grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin:0 0 18px;padding:16px 20px;display:grid}.stock-pilot.crm-ui .stock-summary>.crm-metric+.crm-metric{border-left:1px solid var(--crm-line);padding-left:20px}.stock-pilot.crm-ui .stock-search-filters{background:var(--crm-surface);border:1px solid var(--crm-line);border-radius:var(--crm-radius);grid-template-columns:repeat(3,minmax(0,1fr)) auto;gap:14px 16px;margin:0;padding:18px;display:grid}.stock-pilot.crm-ui label{color:var(--crm-ink);align-content:start;gap:6px;min-width:0;margin:0;font-size:13px;font-weight:600}.stock-pilot.crm-ui input,.stock-pilot.crm-ui select,.stock-pilot.crm-ui textarea{background:var(--crm-surface);border:1px solid var(--crm-control-line);width:100%;min-width:0;max-width:100%;color:var(--crm-ink);padding:10px 12px;font-weight:400}.stock-pilot.crm-ui input::placeholder{color:#627386;opacity:1}.stock-pilot.crm-ui input[readonly]{background:var(--crm-soft);color:var(--crm-muted)}.stock-pilot.crm-ui .stock-main-search{grid-column:1/-1}.stock-pilot.crm-ui .stock-search-control{border:1px solid var(--crm-control-line);background:var(--crm-surface);border-radius:7px;align-items:center;gap:9px;min-width:0;padding:0 10px;display:flex;position:relative}.stock-pilot.crm-ui .stock-search-control>svg{pointer-events:none;color:var(--crm-muted);flex:0 0 18px;position:static}.stock-pilot.crm-ui .stock-search-control>input{background:0 0;border:0;flex:1;min-width:0;padding-left:0}.stock-pilot.crm-ui .stock-reset{place-self:end;min-height:44px;font-size:13px!important}.stock-pilot.crm-ui .stock-results-line{color:var(--crm-muted);justify-content:space-between;align-items:center;gap:12px;margin:18px 0 9px;font-size:12px;display:flex}.stock-pilot.crm-ui .stock-results-line p{margin:0}.stock-pilot.crm-ui .stock-results-line strong{color:var(--crm-ink);font-weight:600}.stock-pilot.crm-ui .stock-compact-list{gap:6px;margin:0 0 18px}.stock-pilot.crm-ui .stock-compact-row{border-color:var(--crm-line);border-radius:var(--crm-radius)}.stock-pilot.crm-ui .stock-compact-row>summary{cursor:pointer;grid-template-columns:minmax(0,1fr) minmax(72px,110px) 18px;align-items:center;gap:16px;min-height:68px;padding:10px 16px;font-weight:400;transition:background-color .15s;display:grid}.stock-pilot.crm-ui .stock-compact-row>summary:after{display:none}.stock-pilot.crm-ui .stock-compact-row>summary:hover{background:#f7f9fb}.stock-pilot.crm-ui .stock-compact-row[open]>summary{background:var(--crm-soft)}.stock-pilot.crm-ui .stock-row-chevron{color:var(--crm-muted);width:18px;height:18px;transition:transform .15s}.stock-pilot.crm-ui .stock-compact-row[open]>summary>.stock-row-chevron{transform:rotate(180deg)}.stock-pilot.crm-ui .stock-row-title{flex-direction:column;gap:5px;min-width:0;display:flex}.stock-pilot.crm-ui .stock-row-title>strong{white-space:nowrap;text-overflow:ellipsis;font-size:14px;font-weight:600;line-height:20px;display:block;overflow:hidden}.stock-pilot.crm-ui .stock-row-meta{min-width:0;color:var(--crm-muted);align-items:center;gap:10px;font-size:12px;font-weight:400;line-height:18px;display:flex}.stock-pilot.crm-ui .stock-row-reference{white-space:nowrap;text-overflow:ellipsis;min-width:0;overflow:hidden}.stock-pilot.crm-ui .stock-flags{flex-wrap:nowrap;flex-shrink:0;gap:5px}.stock-pilot.crm-ui .stock-flags>.crm-badge{color:var(--crm-warning);background:var(--crm-warning-bg);border-radius:4px;padding:1px 5px;font-size:11px;font-weight:500;display:inline-flex}.stock-pilot.crm-ui .stock-row-right{gap:4px;min-width:0;max-width:none}.stock-pilot.crm-ui .stock-row-right>strong{font-variant-numeric:tabular-nums;overflow-wrap:anywhere;font-size:17px;font-weight:650;line-height:21px}.stock-pilot.crm-ui .stock-row-right>strong small{color:var(--crm-muted);font-size:11px;font-weight:400}.stock-pilot.crm-ui .stock-level{background:var(--crm-success-bg);color:var(--crm-success);border-radius:4px;margin:0;padding:1px 6px;font-size:11px;font-weight:600;line-height:15px}.stock-pilot.crm-ui .stock-level.empty{background:var(--crm-danger-bg);color:var(--crm-danger)}.stock-pilot.crm-ui .stock-level.low{background:var(--crm-warning-bg);color:var(--crm-warning)}.stock-pilot.crm-ui .stock-level.held{background:var(--crm-info-bg);color:var(--crm-info)}.stock-pilot.crm-ui .stock-row-detail{border-top:1px solid var(--crm-line);overflow-wrap:anywhere;padding:18px 20px;font-size:13px}.stock-pilot.crm-ui .stock-detail-heading{margin:0 0 16px;font-size:16px;font-weight:650;line-height:1.4}.stock-pilot.crm-ui .stock-row-detail h4{letter-spacing:0;margin:20px 0 10px;font-size:13px;font-weight:650}.stock-pilot.crm-ui .stock-row-detail dl{gap:0 28px;margin:0 0 18px}.stock-pilot.crm-ui .stock-row-detail dl>div{border-bottom:1px solid var(--crm-line);align-items:baseline;min-width:0;padding:9px 0}.stock-pilot.crm-ui .stock-row-detail dt{color:var(--crm-muted);flex:1}.stock-pilot.crm-ui .stock-row-detail dd{font-variant-numeric:tabular-nums;flex:1;font-weight:600}.stock-pilot.crm-ui .stock-row-detail p{margin:8px 0}.stock-pilot.crm-ui .stock-lot-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.stock-pilot.crm-ui .stock-lot-list article{background:var(--crm-soft);border:1px solid var(--crm-line);border-radius:6px;min-width:0;padding:12px}.stock-pilot.crm-ui .stock-lot-list strong{font-variant-numeric:tabular-nums;font-weight:600}.stock-pilot.crm-ui .stock-row-detail>.stock-actions{border-top:1px solid var(--crm-line);gap:8px;margin:18px 0;padding-top:12px}.stock-pilot.crm-ui details:not(.stock-compact-row)>summary{cursor:pointer;min-height:44px;color:var(--crm-ink);padding:12px 0;font-size:13px;font-weight:600}.stock-pilot.crm-ui .stock-form{border-color:var(--crm-line);border-radius:var(--crm-radius);width:100%;max-width:960px;margin:0 0 20px;padding:24px}.stock-pilot.crm-ui .stock-form h3{margin:0 0 20px;font-size:18px;font-weight:650;line-height:1.35}.stock-pilot.crm-ui .stock-form fieldset{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 20px;margin:0;display:grid}.stock-pilot.crm-ui .stock-form fieldset>p,.stock-pilot.crm-ui .stock-form fieldset>div,.stock-pilot.crm-ui .stock-form fieldset>h4{grid-column:1/-1;margin:0}.stock-pilot.crm-ui .stock-price-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 20px}.stock-pilot.crm-ui label>small{color:var(--crm-muted);font-size:12px;font-weight:400;line-height:1.5}.stock-pilot.crm-ui .stock-form .stock-actions{border-top:1px solid var(--crm-line);gap:8px;margin-top:4px;padding-top:16px}.stock-pilot.crm-ui .stock-order-link{border:1px solid var(--crm-line);border-radius:var(--crm-radius);background:var(--crm-surface);max-width:960px;margin:0 0 16px;padding:16px 20px}.stock-pilot.crm-ui .stock-history{gap:8px}.stock-pilot.crm-ui .stock-history article{border-color:var(--crm-line);padding:14px 16px;font-size:13px}.stock-pilot.crm-ui .stock-history small{color:var(--crm-muted);font-size:12px}.stock-pilot.crm-ui .stock-success{background:var(--crm-success-bg);color:var(--crm-success);border-radius:var(--crm-radius);border:1px solid #91bca3;margin:0 0 16px;padding:12px 16px;font-size:14px}.stock-pilot.crm-ui [role=alert]{color:var(--crm-danger);background:var(--crm-danger-bg);border-radius:var(--crm-radius);grid-column:1/-1;padding:12px 16px}.stock-pilot.crm-ui .stock-alert-card{border-color:var(--crm-line);padding:18px;border-left:3px solid var(--crm-danger)!important}.stock-pilot.crm-ui .stock-alert-card h3{color:var(--crm-ink);align-items:flex-start;gap:8px;margin:0 0 8px;font-size:15px;display:flex}.stock-pilot.crm-ui .stock-alert-card h3 svg{color:var(--crm-danger);flex-shrink:0;margin-top:2px}.stock-pilot.crm-ui .stock-alert-card p{font-size:13px}.main-content:has(>.stock-pilot)>.pagehead{display:none}@media (max-width:1000px){.stock-pilot.crm-ui .stock-search-filters{grid-template-columns:repeat(3,minmax(0,1fr))}.stock-pilot.crm-ui .stock-reset{grid-column:1/-1;justify-self:start;padding:0}.stock-pilot.crm-ui .stock-flags .crm-badge-label{display:none}.stock-pilot.crm-ui .stock-flags>.crm-badge{padding:2px}.stock-pilot.crm-ui .stock-summary{gap:12px;padding:16px}.stock-pilot.crm-ui .stock-summary>.crm-metric+.crm-metric{padding-left:12px}.stock-pilot.crm-ui .crm-metric>div{flex-direction:column;gap:2px}}@media (max-width:600px){.stock-pilot.crm-ui .crm-header-actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.stock-pilot.crm-ui .crm-header-actions .crm-button{width:100%;min-width:0;padding:10px 8px;font-size:13px}.stock-pilot.crm-ui .stock-operation-bar{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;display:grid}.stock-pilot.crm-ui .stock-operation-bar .crm-button{justify-content:flex-start;width:100%;padding:8px;font-size:12px}.stock-pilot.crm-ui .stock-summary{gap:10px;padding:14px 12px}.stock-pilot.crm-ui .crm-metric>svg{display:none}.stock-pilot.crm-ui .crm-metric strong{font-size:20px}.stock-pilot.crm-ui .crm-metric span{font-size:11px;line-height:1.4}.stock-pilot.crm-ui .stock-summary>.crm-metric+.crm-metric{padding-left:10px}.stock-pilot.crm-ui .stock-search-filters{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 10px;padding:14px}.stock-pilot.crm-ui .stock-search-filters label:last-of-type{grid-column:1/-1}.stock-pilot.crm-ui :is(input,select,textarea){font-size:16px}.stock-pilot.crm-ui .stock-results-hint{display:none}.stock-pilot.crm-ui .stock-compact-row>summary{grid-template-columns:minmax(0,1fr) 82px 16px;gap:8px;min-height:68px;padding:10px}.stock-pilot.crm-ui .stock-row-meta{gap:6px}.stock-pilot.crm-ui .stock-row-right>strong{font-size:16px}.stock-pilot.crm-ui .stock-row-detail{padding:16px 12px}.stock-pilot.crm-ui .stock-row-detail dl,.stock-pilot.crm-ui .stock-lot-list{grid-template-columns:1fr}.stock-pilot.crm-ui .stock-row-detail .stock-actions{grid-template-columns:1fr;display:grid}.stock-pilot.crm-ui .stock-form{padding:18px 14px}.stock-pilot.crm-ui .stock-form fieldset,.stock-pilot.crm-ui .stock-price-fields{grid-template-columns:1fr;gap:16px}.stock-pilot.crm-ui .stock-form fieldset>p{font-size:13px}.stock-pilot.crm-ui .stock-form .stock-actions{flex-wrap:wrap;display:flex}.stock-pilot.crm-ui .stock-form .stock-actions button{flex:1;width:auto}.stock-pilot.crm-ui .stock-reset{grid-column:1/-1;width:auto!important}}@media (prefers-reduced-motion:reduce){.stock-pilot.crm-ui .stock-row-chevron,.stock-pilot.crm-ui .stock-compact-row>summary{transition:none}}.stock-pilot.crm-ui .stock-level.unknown{background:var(--crm-soft);color:var(--crm-muted)}.stock-pilot.crm-ui .stock-compact-row>summary{grid-template-columns:minmax(0,1fr) 300px 110px 18px}.stock-pilot.crm-ui .stock-row-title>strong,.stock-pilot.crm-ui .stock-detail-heading{text-transform:uppercase}.stock-pilot.crm-ui .stock-row-markers{grid-template-columns:120px 172px;justify-content:center;align-items:center;gap:8px;min-width:0;display:grid}.stock-pilot.crm-ui .stock-marker-slot{background:0 0;justify-content:center;align-items:center;min-width:0;padding:0;display:flex}.stock-pilot.crm-ui .stock-row-markers .crm-badge{justify-content:center}@media (max-width:1000px){.stock-pilot.crm-ui .stock-compact-row>summary{grid-template-columns:minmax(0,1fr) 64px 96px 18px}.stock-pilot.crm-ui .stock-row-markers{grid-template-columns:28px 28px;gap:8px}.stock-pilot.crm-ui .stock-row-markers .crm-badge{padding:3px}}@media (max-width:600px){.stock-pilot.crm-ui .stock-compact-row>summary{grid-template-columns:minmax(0,1fr) 48px 76px 16px;gap:6px}.stock-pilot.crm-ui .stock-row-markers{grid-template-columns:22px 22px;gap:4px}.stock-pilot.crm-ui .stock-row-title>strong{font-size:13px}.stock-pilot.crm-ui .stock-row-reference{font-size:11px}}.stock-reference-actions{margin:12px 0}.stock-reference-decision{background:#fff;border:1px solid #c7d4df;border-left:4px solid #b66531;border-radius:8px;padding:16px}.stock-reference-decision fieldset{border:0;min-width:0;padding:0}.stock-reference-decision p{overflow-wrap:anywhere}.stock-reference-decision select{width:100%;min-width:0;max-width:100%}.stock-reference-decision .stock-decision-confirm{align-items:flex-start;gap:10px;margin:14px 0;display:flex}.stock-reference-decision .stock-decision-confirm input{flex:0 0 18px;width:18px;height:18px;margin-top:2px}
