/* V5.1.5 — mapa compartilhado, pin da loja, cadastro e lote. */
:root{--bb-map-dark-filter:brightness(.62) invert(1) contrast(1.18) hue-rotate(180deg) saturate(.50)}
#heatMap.map-theme-dark .leaflet-tile-pane,#ordersMap.map-theme-dark .leaflet-tile-pane{filter:var(--bb-map-dark-filter)}
.bb-icon{width:18px;height:18px;flex:0 0 18px;vertical-align:middle;display:inline-block}
.boxboy-store-marker{background:none!important;border:0!important;overflow:visible!important}
.boxboy-store-pin{display:block;position:relative;width:40px;height:52px;filter:drop-shadow(0 2px 3px #0008)}
.boxboy-store-pin img{display:block!important;width:40px!important;height:52px!important;max-width:40px!important;object-fit:contain}
.boxboy-pin-count{position:absolute;left:29px;top:-5px;min-width:17px;padding:2px 5px;font:700 10px/1.4 Arial,sans-serif;border-radius:9px;background:#ffb153;color:#201508;border:1px solid #fff;white-space:nowrap;box-shadow:0 1px 4px #0006}
.orders-layer-controls{position:absolute;z-index:450;bottom:36px;left:12px;right:12px;display:flex;gap:6px;flex-wrap:wrap;align-items:center;pointer-events:none}
.orders-layer-controls>*{pointer-events:auto}.orders-layer-controls small{font-size:10px;color:#d0d9de;background:#172329e6;border-radius:5px;padding:6px}
.orders-layer-controls button,.bb-map-layer-controls button{border:1px solid #54636c;border-radius:7px;background:#1a262ceF;color:#edf0f2;padding:7px 10px;font-size:11px;cursor:pointer;min-height:32px}
.orders-layer-controls button:disabled,.bb-map-layer-controls button:disabled{cursor:not-allowed;opacity:.6}
.bb-map-layer-controls{display:flex;gap:7px;align-items:center;flex-wrap:wrap;margin-bottom:8px}.bb-map-layer-controls small{font-size:11px;color:#afbdc7}
.orders-map-legend{align-items:center;bottom:4px;left:12px;padding:3px 7px!important;gap:5px;font-size:10px!important;pointer-events:none;max-width:55%}
.orders-map-legend img{width:14px;height:19px;object-fit:contain}
.orders-form-sections{min-height:0;flex:1;overflow-y:auto;padding:14px;display:block;overscroll-behavior:contain;scrollbar-width:thin}
.orders-drawer-card{width:min(540px,100vw);max-width:100vw;display:flex;flex-direction:column;max-height:100dvh}
.orders-shop-block{padding:0 0 13px}.orders-shop-block .orders-origin{margin-top:10px}
.orders-form-section{border:1px solid #455057;border-radius:10px;margin:0 0 9px;background:#202a30;overflow:hidden}
.orders-form-section>summary{display:flex;align-items:center;gap:9px;padding:12px;font-weight:700;font-size:12px;color:#f3f6f7;cursor:pointer;list-style:none}
.orders-form-section>summary::-webkit-details-marker{display:none}.orders-form-section>summary::marker{content:""}.bb-chevron{margin-left:auto;font-size:17px;color:#9fb0bb;transition:transform .12s}.orders-form-section[open] .bb-chevron{transform:rotate(180deg)}
.orders-section-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px;min-width:0}
.orders-form-section .orders-section-grid{padding:0 12px 12px}.orders-section-grid>.wide{grid-column:1/-1;min-width:0}.bb-field{display:flex;flex-direction:column;gap:5px;min-width:0;font-size:11px;color:#bdcad3}
.bb-field>span{font-weight:650}.bb-field input,.bb-field select,.bb-field textarea{box-sizing:border-box;width:100%;min-width:0;padding:9px 10px;border:1px solid #57626b;border-radius:7px;background:#29333a;color:#f8fafb;font-family:inherit;font-size:12px}
.bb-field input,.bb-field select{height:38px}.bb-field input::placeholder,.bb-field textarea::placeholder{color:#9aa9b4;font-size:11px}.bb-field textarea{resize:vertical;min-height:65px}
.bb-field input:focus,.bb-field select:focus,.bb-field textarea:focus{outline:2px solid #ffb153;outline-offset:1px}.bb-field input:read-only{opacity:.8}
.orders-section-grid .orders-checkbox{display:flex;align-items:center;gap:8px;flex-direction:row;font-size:11px;padding:5px 0;margin:0}
.orders-field-hint{font-size:10px;line-height:1.5;color:#b0c0ca;margin:0}.orders-calculate-section .orders-quote{margin:11px 0 0}.orders-quote-toolbar{justify-content:space-between}.orders-quote-toolbar button{display:flex;gap:7px;align-items:center}
.orders-quote-prices.single{grid-template-columns:minmax(0,1fr)}.orders-quote-prices.single>div{max-width:100%}
.orders-drawer-actions{display:flex;gap:8px;align-items:center;flex-shrink:0;padding:12px 14px;border-top:1px solid #41505b;background:#172229}
.orders-create-hint{margin-right:auto;color:#a8bac6;font-size:10px;max-width:140px}.orders-drawer-actions .btn,.orders-drawer-actions .btn2{width:auto;flex:0 0 auto;white-space:nowrap}
.orders-mini-map{height:225px;min-width:200px;border-radius:9px;overflow:hidden;border:1px solid #435865;margin-top:10px;background:#172229}.orders-mini-map iframe{border:0;width:100%;height:100%;display:block}.orders-mini-map+p{margin-top:7px}
.orders-form-error{padding:10px 12px;border:1px solid #b35c59;border-radius:8px;font-size:12px;color:#ffd5ce;background:#3b2426;margin-bottom:10px;white-space:pre-line}
.orders-bulk-bar{display:flex;gap:6px 10px;flex-wrap:wrap;align-items:center;padding:9px 12px;border-bottom:1px solid #35464e;background:#18252b;font-size:10px;color:#c8d5dd}
.orders-bulk-bar>label{display:flex;gap:5px;align-items:center;cursor:pointer}.orders-bulk-bar input,.orders-pick{accent-color:#ffaa42;width:15px;height:15px;min-width:15px;margin:0}.orders-bulk-bar>div{display:flex;gap:6px;margin-left:auto}
.orders-bulk-bar button{font-size:10px;padding:6px 9px;border:1px solid #53616a;border-radius:6px;background:#23323a;color:#e3ecf2;cursor:pointer}#ordersBulkFinish{background:#ffb153;color:#211707;border-color:#ffb153;font-weight:700}
.orders-selection-notice{padding:8px 12px;font-size:11px;line-height:1.4;color:#ffdfa9;background:#483621}.orders-card.selected{border-color:#ffb153;box-shadow:inset 3px 0 #ffb153}
.orders-card-top{gap:7px}.orders-card-top input:disabled{cursor:not-allowed;opacity:.35}.orders-card-actions{display:block!important;width:100%}
.orders-status-menu{margin-top:8px;border:1px solid #4c5c66;border-radius:7px;overflow:hidden;background:#1b2a32;width:100%;box-sizing:border-box}
.orders-status-menu>summary{list-style:none;display:flex;align-items:center;justify-content:space-between;cursor:pointer;font-size:11px;font-weight:650;padding:8px 10px;color:#ffd29a}.orders-status-menu>summary::-webkit-details-marker{display:none}
.orders-status-menu .orders-status-options{padding:4px;border-top:1px solid #45565f;max-height:310px;overflow:auto;display:grid;gap:2px}
.orders-status-options button{width:100%;min-height:31px!important;background:transparent!important;border:0!important;border-radius:4px!important;display:flex;justify-content:space-between;text-align:left;gap:8px;align-items:center;padding:6px 8px!important;font-size:11px!important;color:#eff6f9!important}
.orders-status-options button small{color:#a0b1bc;font-size:9px;font-weight:400;text-align:right;max-width:45%}.orders-status-options button:disabled{opacity:.4;cursor:not-allowed}.orders-status-options button:not(:disabled):hover{background:#384a56!important}.orders-status-options button.cancel{border-top:1px solid #43545f!important;color:#ffb5b2!important;margin-top:3px}.orders-status-options button.current{background:#3b392b!important;opacity:.7}
.orders-card-extra{font-size:10px;color:#bdcbd4;line-height:1.5;margin:6px 0 0;overflow-wrap:anywhere}.orders-card-error{font-size:10px;background:#442c29;color:#ffd1bd;border-radius:5px;padding:6px;margin-top:6px}
.orders-action-body .orders-checkbox{display:flex;gap:8px;align-items:center;margin-top:12px;line-height:1.4;font-size:12px}.orders-action-body .orders-checkbox input{width:17px;height:17px;margin:0}
.orders-bulk-codes{max-height:130px;overflow:auto;display:flex;gap:5px;flex-wrap:wrap}.orders-bulk-codes span{background:#283c47;border:1px solid #4a5e6a;padding:4px 7px;border-radius:5px;font-size:11px}
.orders-bulk-results{font-size:12px;line-height:1.5;max-height:250px;overflow:auto;margin-top:12px;white-space:normal}.orders-bulk-result{padding:7px 9px;margin-top:6px;border:1px solid #4e616d;border-radius:6px}.orders-bulk-result.ok{color:#bcf2d1}.orders-bulk-result.error{color:#ffceb8}
.orders-toast{z-index:5000}.orders-panel-page button:disabled{cursor:not-allowed}.orders-form-section:focus-within{border-color:#6b7b87}
@media(max-width:600px){.orders-section-grid{grid-template-columns:minmax(0,1fr)}.orders-drawer-card{width:100vw}.orders-form-sections{padding:10px}.orders-layer-controls{bottom:45px}.orders-layer-controls small{flex-basis:100%;width:fit-content}.orders-create-hint{max-width:90px;font-size:9px}.orders-quote-toolbar>span{max-width:105px}.orders-map-legend{display:none}.orders-section-grid .wide{grid-column:auto}.orders-section-grid .orders-checkbox{padding-top:0}.orders-bulk-bar>div{margin-left:0}}
