.iw .iw-stock-sheet { inset:auto 0 14px;width:800px;max-height:calc(100dvh - 28px);overflow:visible; }
.iw .iw-stock-sheet[open] { display:flex;flex-direction:column; }
.iw .iw-stock-sheet>header { flex:0 0 51px;min-width:0;padding:0 16px 0 20px;display:flex;align-items:center;gap:12px;justify-content:flex-start; }
.iw .iw-stock-sheet>header h2 { flex:1;min-width:0;font-size:16px;font-weight:700; }
.iw .iw-stock-sheet>header [data-iw-stock-action] { min-width:70px; }
.iw .iw-stock-sheet>header [data-iw-close] { margin-right:-3px; }
.iw .iw-stock-sheet>header [data-iw-close] .iw-icon { width:19px;height:19px; }
.iw .iw-stock-sheet .iw-stock-edit { min-height:0;display:flex;flex-direction:column; }
.iw .iw-stock-sheet .iw-stock-review { min-height:0;overflow:auto;padding:15px 20px 0; }
.iw .iw-stock-sheet .iw-stock-review footer { padding-inline:0;margin-top:14px; }
.iw .iw-opening-stock { height:min(600px,calc(100dvh - 28px)); }
.iw .iw-opening-stock .iw-stock-edit { flex:1; }
.iw .iw-opening-body { padding-top:23px; }
.iw .iw-sheet-search { display:flex;align-items:center;gap:10px;position:relative;flex:1;min-width:0;margin:0; }
.iw .iw-sheet-search>.iw-icon { width:20px;height:20px;stroke-width:2.6; }
.iw .iw-sheet-search input[type=text] { width:0;flex:1;height:29px;margin:0;padding:0 7px;border:0;border-left:1px solid #ffffff38;border-radius:0;
  background:transparent;color:white;font:500 16px/21px "Amar Inventory Manrope",Manrope,Arial,sans-serif; }
.iw .iw-sheet-search input::placeholder { color:#dbedff;opacity:.92;font-size:14px; }
.iw .iw-sheet-search input:focus-visible { outline:none;box-shadow:none;border-left-color:#ffffff8c; }
.iw .iw-sheet-search [role=listbox] { position:absolute;top:calc(100% + 9px);left:0;right:0;z-index:10;max-height:270px;
  overflow:auto;background:white;color:#111;border:1px solid var(--iw-line);box-shadow:0 8px 22px #12284e33; }
.iw .iw-sheet-search [role=listbox]>p { padding:9px 13px; }
.iw .iw-opening-result { display:grid;grid-template-columns:minmax(0,1fr) auto;gap:1px 12px;text-align:left;background:white;
  border:0;border-bottom:1px solid var(--iw-line);color:var(--iw-blue);width:100%;padding:7px 11px; }
.iw .iw-opening-result small { grid-row:2;grid-column:1;color:#596981; }
.iw .iw-opening-result strong { grid-column:2;grid-row:1/3;align-self:center; }
.iw .iw-opening-result:hover,.iw .iw-opening-result[aria-selected=true] { background:#e8f5ff; }
.iw .iw-stock-tabs { background:var(--iw-blue);color:white;display:flex;height:49px;flex:0 0 49px;overflow:auto; }
.iw .iw-stock-tabs button { min-width:160px;padding:0 10px;height:49px;background:none;border:0;border-bottom:3px solid transparent;
  color:white;font-size:14px;font-weight:600; }
.iw .iw-stock-tabs button:disabled { opacity:.55; }
.iw .iw-stock-tabs button[aria-selected=true] { border-bottom-color:white; }
.iw .iw-stock-tabs button:focus-visible { outline-offset:-6px;outline-color:white; }
.iw .iw-stock-ident { display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:4px 12px;border-bottom:1px solid var(--iw-line);
  padding:0 0 10px;margin-bottom:10px;color:var(--iw-blue); }
.iw .iw-stock-ident b { font-weight:750; }
.iw .iw-stock-ident small { display:block;color:var(--iw-muted);font-size:12px; }
.iw .iw-stock-table-scroll { overflow:auto;max-width:100%; }
.iw .iw-new-lots { width:100%;min-width:540px;border-spacing:0;font-size:14px;table-layout:fixed; }
.iw .iw-new-lots.with-costs { min-width:720px; }
.iw .iw-new-lots th,.iw .iw-new-lots td { padding:0 9px 0 0;border:0;background:white;text-align:left; }
.iw .iw-new-lots th { height:25px;white-space:nowrap;color:var(--iw-blue);font-size:14px;font-weight:500;text-transform:none;letter-spacing:normal; }
.iw .iw-new-lots th:first-child { width:15%; }
.iw .iw-new-lots th:nth-child(2) { width:14%; }
.iw .iw-new-lots th:nth-child(3) { width:9%; }
.iw .iw-new-lots.with-costs th:nth-child(1) { width:15.26%; }
.iw .iw-new-lots.with-costs th:nth-child(2) { width:13.29%; }
.iw .iw-new-lots.with-costs th:nth-child(3),.iw .iw-new-lots.with-costs th:nth-child(4) { width:9.21%; }
.iw .iw-new-lots.with-costs th:nth-child(5) { width:11.32%; }
.iw .iw-new-lots.with-costs th:nth-child(6) { width:13.16%; }
.iw .iw-new-lots.with-costs th:nth-child(7),.iw .iw-new-lots.with-costs th:nth-child(8) { width:8.29%; }
.iw .iw-new-lots th:first-child .iw-icon,.iw .iw-new-lots th .iw-icon { width:12px;height:12px;color:#6183a6; }
.iw .iw-new-lots input[type=text],.iw .iw-new-lots output,.iw .iw-stock-master input[type=text],.iw .iw-stock-master input[readonly],
.iw .iw-cost-details input[type=text],.iw .iw-count-lots input[type=text] {
  display:block;width:100%;height:29px;padding:0 0 3px;margin:0;border:0;border-radius:0;border-bottom:1px solid #044c9d66;
  background:white;color:#111;font-size:16px;font-weight:500;
}
.iw .iw-new-lots input::placeholder,.iw .iw-cost-details input::placeholder { color:#838d96;opacity:1; }
.iw .iw-new-lots input:disabled::placeholder { color:#aab0b7; }
.iw .iw-new-lots input[readonly],.iw .iw-stock-master input[readonly],.iw .iw-new-lots output { color:#4a637c; }
.iw .iw-new-lots output { padding-top:2px; }
.iw .iw-exp-fields { display:flex;align-items:center;gap:4px;color:#8c9bab; }
.iw .iw-exp-fields input { flex:1; }
.iw .iw-cost-details,.iw .iw-count-add { padding:12px 0 7px;color:var(--iw-blue); }
.iw .iw-cost-details summary,.iw .iw-count-add summary { color:var(--iw-blue);font-weight:700; }
.iw .iw-cost-details summary::before { content:"▸";margin-right:6px; }
.iw .iw-cost-details[open] summary::before { content:"▾"; }
.iw .iw-cost-details>div { display:flex;flex-wrap:wrap;gap:8px;padding-top:8px; }
.iw .iw-cost-details label { width:122px;font-size:12px; }
.iw .iw-stock-fine { color:#566b7e;font-size:12px;padding:12px 0 4px;line-height:18px; }
.iw .iw-opening-link { display:inline-block;font-size:12px;margin-top:2px; }
.iw .iw-opening-tags { display:grid;gap:3px;margin-top:18px;color:var(--iw-blue);font-weight:600; }
.iw .iw-opening-tags .iw-icon { width:12px;height:12px;color:#6e86a5; }
.iw .iw-opening-tags span+span { min-height:27px;border-bottom:1px solid #044c9d66;color:#5e6973;font-weight:500; }
.iw .iw-stock-master { display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px 15px;padding-top:10px;color:var(--iw-blue); }
.iw .iw-stock-master label { display:grid;gap:4px;min-width:0;font-size:14px; }
.iw .iw-count-tools { display:flex;flex-wrap:wrap;gap:9px 16px;align-items:center;padding:9px 0;color:var(--iw-blue); }
.iw .iw-count-tools form { display:flex;flex:1;align-items:center;gap:4px;min-width:200px;margin:0; }
.iw .iw-count-tools input:not([type=checkbox]) { width:100%; }
.iw .iw-count-tools b { white-space:nowrap; }
.iw .iw-count-tools b span { color:#111;margin-left:4px; }
.iw .iw-count-lots { max-height:32dvh; }
.iw .iw-count-lots table { min-width:480px; }
.iw .iw-count-lots input[type=text] { width:74px; }
.iw .iw-count-pending { color:#146286;font-size:12px;padding-top:5px; }
.iw .iw-count-add { border-top:1px solid var(--iw-line);margin-top:8px; }
.iw .iw-count-add>[data-iw-count-new] { padding-top:8px; }
.iw .iw-batch-stock { width:640px; }
.iw .iw-batch-item { color:var(--iw-blue); }
.iw .iw-archive-stock { width:560px;inset:0;margin:auto;border-radius:4px; }
.iw .iw-review-title { color:var(--iw-blue);padding:0 0 9px; }
.iw .iw-review-title p { color:var(--iw-ink);margin-top:4px; }
.iw .iw-stock-review-grid { min-width:450px; }
.iw .iw-stock-review-grid td:not(:first-child) { white-space:nowrap; }
.iw .iw-archive-list { display:grid;gap:4px;list-style:none;padding:0; }
.iw .iw-archive-list li { display:flex;gap:10px;justify-content:space-between; }

@media (max-width:660px) {
  .iw .iw-stock-sheet { inset:auto 0 0;max-width:calc(100vw - 10px);max-height:calc(100dvh - 10px); }
  .iw .iw-stock-tabs button { min-width:108px;padding:0 6px;font-size:13px; }
  .iw .iw-stock-sheet>header { padding-inline:10px;gap:5px; }
  .iw .iw-stock-master { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .iw .iw-stock-sheet .iw-dialog-body { padding-inline:12px; }
}
