.item-picker-dialog{width:min(1160px,96vw);max-width:96vw;height:min(940px,94dvh);max-height:94dvh;padding:0;border:1px solid var(--line,#39424e);border-radius:12px;background:var(--panel,#20242a);color:var(--ink,#f1f4f8);overflow:hidden;box-sizing:border-box;display:flex;flex-direction:column}
.item-picker-dialog:not([open]){display:none}.item-picker-dialog::backdrop{background:#060b14b8}.item-picker-dialog *{box-sizing:border-box}.item-picker-dialog button,.item-picker-dialog input,.item-picker-dialog select{font:inherit}.item-picker-dialog button{min-height:34px}.item-picker-dialog button[aria-pressed=true]{background:var(--accent,#2867ba);color:#fff}.item-picker-header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 22px;border-bottom:1px solid var(--line,#39424e);flex:none}.item-picker-header h2{font-size:19px;margin:0}.item-picker-header p{font-size:12px;color:var(--muted,#a6b1bf);margin:5px 0 0}.item-picker-body{display:grid;grid-template-columns:200px minmax(0,1fr);flex:1;min-height:170px;overflow:hidden}.item-picker-categories{padding:16px 10px;border-right:1px solid var(--line,#39424e);overflow:auto}.item-picker-categories h3{font-size:11px;text-transform:uppercase;letter-spacing:.08em;margin:0 8px 12px;color:var(--muted,#a6b1bf)}.item-picker-categories button{display:block;width:100%;text-align:left;border:0;background:transparent;white-space:normal;overflow-wrap:anywhere;margin-bottom:4px}.item-picker-main{padding:16px 20px;overflow:auto;min-width:0}.item-picker-sources{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:16px}.item-picker-sources button{font-size:12px}.item-picker-search{display:block;margin-bottom:12px}.item-picker-search input{width:100%;margin-top:5px}.item-picker-filters{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.item-picker-filters label{min-width:0;display:block;font-size:12px}.item-picker-filters select{width:100%;max-width:100%;margin-top:5px}.item-picker-filters .item-picker-mobile-category{display:none}.item-picker-results-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:18px 0 12px}.item-picker-results-heading>div{display:flex;gap:6px}.item-picker-results-heading button{font-size:11px;padding:5px 8px}.item-picker-results{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.item-picker-product{border:1px solid var(--line,#39424e);border-radius:9px;overflow:hidden;min-width:0;background:var(--bg,#191c21)}.item-picker-product.item-picker-picked{border-color:var(--accent,#3984ec);box-shadow:inset 0 0 0 1px var(--accent,#3984ec)}.item-picker-thumbnail{position:relative;height:98px;background:var(--panel2,#252a32);display:grid;place-items:center}.item-picker-thumbnail .product-visual{width:105px;height:75px}.item-picker-star{position:absolute;top:6px;right:6px;width:28px;min-height:28px!important;font-size:19px!important;padding:0;line-height:1;background:var(--panel,#20242a)}.item-picker-product-copy{padding:11px;min-width:0}.item-picker-name{display:block;font-size:13px;font-weight:700;line-height:1.4;cursor:pointer;overflow-wrap:anywhere}.item-picker-product-copy>small{display:block;font-size:10px;color:var(--muted,#a6b1bf);margin-top:4px;overflow-wrap:anywhere}.item-picker-product-copy>p{font-size:11px;color:var(--muted,#a6b1bf);margin:8px 0;overflow-wrap:anywhere}.item-picker-product-facts{display:flex;flex-wrap:wrap;justify-content:space-between;gap:5px;font-size:11px}.item-picker-product-facts strong small{font-weight:400}.item-picker-product-facts>span{color:var(--success,#81d7b1)}.item-picker-product-facts>.item-picker-out{color:#e8ad59}.item-picker-product-controls{display:flex;align-items:center;justify-content:space-between;gap:6px;border-top:1px solid var(--line,#39424e);margin-top:10px;padding-top:8px;font-size:12px}.item-picker-product-controls label{display:flex;align-items:center;gap:5px}.item-picker-product-controls input[type=number]{width:66px;min-width:0;padding:5px}.item-picker-product-controls input[type=checkbox],.item-picker-group input{width:auto;margin:0;accent-color:var(--accent,#3984ec)}.item-picker-pages{display:flex;justify-content:space-between;align-items:center;margin-top:15px;font-size:12px}.item-picker-pages button{font-size:12px}.item-picker-empty{grid-column:1/-1;padding:28px 8px;text-align:center;color:var(--muted,#a6b1bf)}.item-picker-footer{border-top:1px solid var(--line,#39424e);padding:13px 20px;flex:none}.item-picker-basket-heading{display:flex;justify-content:space-between;align-items:center;font-size:13px}.item-picker-basket-heading button{font-size:11px;padding:4px 7px}.item-picker-basket{list-style:none;padding:0;margin:10px 0;max-height:140px;overflow:auto}.item-picker-basket li{display:flex;align-items:center;gap:10px;padding:6px 0;border-bottom:1px solid var(--line,#39424e);font-size:12px}.item-picker-basket li>span{flex:1;min-width:0;overflow-wrap:anywhere}.item-picker-basket label{display:flex;align-items:center;gap:5px}.item-picker-basket input{width:82px;min-width:0;padding:5px}.item-picker-basket button{font-size:11px;padding:4px 7px}.item-picker-footer-actions{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-top:12px}.item-picker-footer-actions>div:first-child{flex:1;min-width:0}.item-picker-footer-actions strong{display:block}.item-picker-footer-actions small{display:block;color:var(--muted,#a6b1bf);font-size:10px;margin-top:3px}.item-picker-group{display:flex;gap:8px;align-items:center;font-size:12px}.item-picker-warning{font-size:11px;color:#e8ad59;margin:7px 0}.item-picker-message{font-size:12px;margin:6px 0 0;min-height:0;color:var(--muted,#a6b1bf)}.item-picker-message:empty{display:none}.item-picker-compact{display:block}.item-picker-compact .item-picker-product{display:grid;grid-template-columns:80px minmax(0,1fr);margin-bottom:8px}.item-picker-compact .item-picker-thumbnail{height:auto;min-height:100px}.item-picker-compact .product-visual{width:65px;height:65px}.item-picker-compact .item-picker-star{width:23px;min-height:23px!important;top:4px;right:4px;font-size:16px!important}.item-picker-compact .item-picker-product-copy>p{margin:4px 0}.item-picker-insert-row{display:flex;justify-content:flex-end;padding:3px 0 9px}.item-picker-insert-row button{font-size:10px;padding:4px 7px;opacity:.8}.item-picker-browse-button{display:flex;align-items:center;gap:10px;margin:8px 0 15px}.item-picker-browse-button small{color:var(--muted,#a6b1bf)}
.item-picker-main{margin:0;max-width:none}.item-picker-dialog input:not([type=checkbox]),.item-picker-dialog select{border:1px solid var(--line,#39424e);border-radius:6px;background:var(--bg,#191c21);color:var(--ink,#f1f4f8);padding:8px;min-width:0}.item-picker-dialog button:focus-visible,.item-picker-dialog input:focus-visible,.item-picker-dialog select:focus-visible{outline:2px solid var(--green,#68a6ff);outline-offset:2px}.document-item-block{border:1px solid var(--line,#39424e);border-radius:8px;padding:0 10px;margin:10px 0}.document-item-block>header{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:9px 0;border-bottom:1px solid var(--line,#39424e);font-size:11px}.document-item-block>header>div{display:flex;gap:7px;flex-wrap:wrap}.document-item-block>header button{font-size:10px;padding:5px 8px}.document-item-block .edit-line:last-child{border-bottom:0}.item-picker-quick-search>summary{cursor:pointer;font-size:12px;color:var(--muted,#a6b1bf)}
.item-picker-categories .item-picker-category-button{display:flex;align-items:center;gap:9px;min-height:42px;padding:6px 8px}.item-picker-category-image{display:grid;place-items:center;width:30px;height:30px;flex:none}.item-picker-category-image .product-visual{width:30px;height:30px;min-width:0;min-height:0;border-radius:5px}.item-picker-category-image .product-visual-art{transform:scale(.4)}.item-picker-category-image .product-visual img{padding:2px;object-fit:contain}.item-picker-category-name{flex:1;min-width:0;overflow-wrap:anywhere}.item-picker-category-symbol{display:grid;place-items:center;width:30px;height:30px;border-radius:5px;background:var(--panel,#20242a);color:var(--muted,#a6b1bf);font-size:19px;line-height:1}
.item-picker-basket li>span>small{display:block;font-size:10px;color:var(--muted,#a6b1bf);margin-top:3px}
.item-picker-count-product .item-picker-product-copy{display:flex;flex-direction:column}
.item-picker-count-product .item-picker-count-stock{margin-top:auto;padding-top:8px;color:var(--ink,#f1f4f8);font-size:12px}
.item-picker-count-product .item-picker-product-controls{justify-content:stretch}
.item-picker-count-product .item-picker-product-controls>button{width:100%;white-space:normal}
.item-picker-count-footer p{margin:0;font-size:12px;color:var(--muted,#a6b1bf);line-height:1.5}
.item-picker-count-dialog .item-picker-filters{grid-template-columns:repeat(2,minmax(0,1fr))}
@media(max-width:370px){.item-picker-count-dialog .item-picker-product{grid-template-columns:64px minmax(0,1fr)}.item-picker-count-product .item-picker-product-controls{flex-wrap:wrap}.item-picker-count-product .item-picker-count-stock{font-size:11px}}
.document-item-block-title{flex:1;min-width:110px;width:100%;max-width:50%;padding:6px 8px;border:1px solid transparent;border-radius:5px;background:transparent;color:var(--ink,#e3e7ee);font-family:inherit;font-size:12px;font-weight:700;line-height:1.4}.document-item-block-title::placeholder{color:var(--muted,#a6b1bf);opacity:1}.document-item-block-title:hover,.document-item-block-title:focus{border-color:var(--line,#39424e);background:var(--bg,#191c21)}
@media(max-width:650px){.document-item-block>header{flex-wrap:wrap}.document-item-block-title{flex-basis:100%;min-width:0;max-width:100%}.document-item-block>header>div{width:100%;justify-content:flex-end}}
@media(max-width:1000px){.item-picker-results{grid-template-columns:repeat(2,minmax(0,1fr))}.item-picker-body{grid-template-columns:185px minmax(0,1fr)}}
@media(max-width:650px){.item-picker-dialog{width:98vw;max-width:98vw;height:96dvh;max-height:96dvh}.item-picker-header{padding:12px;gap:8px}.item-picker-header h2{font-size:16px}.item-picker-header>button{font-size:11px;max-width:100px;white-space:normal}.item-picker-body{display:block;overflow:auto}.item-picker-categories{display:none}.item-picker-main{padding:12px;overflow:visible}.item-picker-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.item-picker-filters .item-picker-mobile-category{display:block}.item-picker-results{gap:8px}.item-picker-product-copy{padding:8px}.item-picker-thumbnail{height:80px}.item-picker-results-heading{align-items:flex-start;font-size:12px}.item-picker-results-heading>div{flex-wrap:wrap;justify-content:flex-end}.item-picker-sources{gap:4px}.item-picker-sources button{font-size:11px;padding:6px}.item-picker-product-controls{flex-wrap:wrap}.item-picker-footer{padding:10px 12px}.item-picker-footer-actions{gap:10px;flex-wrap:wrap}.item-picker-footer-actions>div:first-child{flex-basis:100%}.item-picker-footer-actions>button{flex:1}.item-picker-basket{max-height:90px}.item-picker-basket li{gap:6px}.item-picker-basket input{width:66px}.item-picker-basket li>button{font-size:10px}.item-picker-browse-button{flex-wrap:wrap}}
@media(max-width:370px){.item-picker-results{grid-template-columns:minmax(0,1fr)}.item-picker-product{display:grid;grid-template-columns:72px minmax(0,1fr)}.item-picker-thumbnail{height:auto}.item-picker-thumbnail .product-visual{width:58px;height:65px}.item-picker-product-controls{flex-wrap:nowrap}.item-picker-header p{font-size:10px}.item-picker-name{font-size:12px}}
