.u-stock-preview-toggle{position:fixed;bottom:13px;left:148px;z-index:9998;padding:9px 12px;border:1px solid #99c9d4;border-radius:10px;background:#e7f8fc;color:#16435a;box-shadow:0 5px 18px #132e4422;font:600 12px system-ui;cursor:pointer}
.u-stock-preview-overlay{position:fixed;inset:0;z-index:120001;display:grid;place-items:center;padding:16px;background:#091c2ab8;font:14px system-ui,Arial,sans-serif}
.u-stock-preview-card{width:min(100%,740px);max-height:90vh;overflow:auto;background:#fff;color:#163449;border-radius:16px;padding:24px;box-shadow:0 20px 55px #0003;display:grid;gap:14px}
.u-stock-preview-head{display:flex;justify-content:space-between;align-items:center;gap:12px}.u-stock-preview-head h2{font-size:19px;margin:0}
.u-stock-preview-close,.u-stock-preview-refresh{padding:10px 13px;border-radius:9px;border:0;cursor:pointer;font:600 13px system-ui}.u-stock-preview-close{background:#e9f0f5;color:#214459}.u-stock-preview-refresh{background:#087ca1;color:#fff;justify-self:start}.u-stock-preview-refresh:disabled{opacity:.55;cursor:wait}
.u-stock-preview-warning{padding:11px 13px;background:#fff7e5;border:1px solid #f0d79a;border-radius:8px;margin:0;line-height:1.5}
.u-stock-preview-product{font-weight:600;margin:0}.u-stock-preview-output{display:grid;gap:14px}.u-stock-preview-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}.u-stock-preview-stat{padding:12px;border:1px solid #d9e7ef;border-radius:10px;display:grid;gap:6px}.u-stock-preview-stat small{color:#5c7180}.u-stock-preview-stat strong{font-size:19px}
.u-stock-preview-table{width:100%;border-collapse:collapse;font-size:13px}.u-stock-preview-table th,.u-stock-preview-table td{padding:11px 7px;text-align:left;border-bottom:1px solid #e6eef3}.u-stock-preview-table th{color:#5d7082}.u-stock-preview-fine{font-size:12px;color:#5c7080;margin:0}
@media(max-width:620px){.u-stock-preview-toggle{left:12px;bottom:57px}.u-stock-preview-card{padding:16px}.u-stock-preview-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.u-stock-preview-table{font-size:11px}}
/* Aşama 22.4b — yalnızca ilişkisel TEST stokları için işlem formu */
.u-stock-operation{border-top:1px solid #d9e7ef;padding-top:15px;display:grid;gap:9px}
.u-stock-operation h3{font-size:16px;margin:0;color:#163449}
.u-stock-operation-help{font-size:12px;color:#704d14;background:#fff8e9;padding:10px;border-radius:8px;margin:0}
.u-stock-operation-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.u-stock-operation-field{font-size:12px;color:#526b7d;display:grid;gap:5px}
.u-stock-operation-field input,.u-stock-operation-field select{border:1px solid #cbdce6;border-radius:8px;padding:10px;background:#fff;color:#153249;font:14px system-ui;min-width:0;width:100%;box-sizing:border-box}
.u-stock-operation-field[hidden]{display:none}
.u-stock-operation-agree{grid-column:1/-1;display:flex;align-items:flex-start;gap:9px;font-size:12px;color:#37576a}
.u-stock-operation-agree input{margin-top:2px}
.u-stock-operation-controls{grid-column:1/-1;display:flex;gap:8px;flex-wrap:wrap}
.u-stock-operation-controls button{padding:9px 12px;border-radius:8px;cursor:pointer;font:600 12px system-ui;border:1px solid #a9c8d8;background:#fff;color:#1d516a}
.u-stock-operation-controls .u-stock-operation-submit{border:0;background:#087ca1;color:white}
.u-stock-operation-controls button:disabled{opacity:.55;cursor:not-allowed}
.u-stock-operation-controls button[hidden]{display:none}
.u-stock-operation-status{grid-column:1/-1;font-size:12px;padding:10px;border-radius:8px;background:#ecf5f9;color:#255069;margin:0}
.u-stock-operation-status.pass{background:#eaf8ef;color:#19633a}
.u-stock-operation-status.error{background:#ffefef;color:#8e2831}
.u-stock-operation-status.warn{background:#fff3d8;color:#76500d}
@media(max-width:620px){.u-stock-operation-form{grid-template-columns:1fr}}
