:root{font-family:'Segoe UI',Arial,sans-serif;color:#253046;background:#f5f7fc}*{box-sizing:border-box}body{margin:0;display:flex;min-height:100vh}aside{width:235px;background:white;border-right:1px solid #e6e9f2;position:sticky;top:0;height:100vh;display:flex;flex-direction:column;flex-shrink:0}.brand{padding:17px;text-align:center;border-bottom:1px solid #eceef3}.brand img{max-width:174px;max-height:100px;object-fit:contain;background:#111;border-radius:9px}.brand small{display:block;letter-spacing:2px;font-size:10px;margin-top:8px;color:#68728b}.nav{padding:12px;overflow:auto;flex:1}.navbutton{border:0;background:none;width:100%;text-align:left;display:flex;align-items:center;gap:12px;border-radius:12px;padding:13px 11px;margin:3px 0;cursor:pointer;font-weight:750;font-size:13px;color:#33405c}.navbutton:hover,.navbutton.active{background:#f0f4ff}.ico{font-size:25px;width:32px;text-align:center}.sidebarfoot{font-size:10px;color:#8790a3;padding:12px;border-top:1px solid #eee}main{flex:1;min-width:0}header{background:white;border-bottom:1px solid #e8eaf1;padding:19px 28px;display:flex;justify-content:space-between;align-items:center}h1{margin:0;font-size:26px}header p{margin:4px 0 0;color:#8a93a6;font-size:13px}.pill{background:#fff0c4;border-radius:22px;padding:8px 14px;font-weight:700;font-size:11px;color:#8c6818}#view{padding:23px 26px 130px}.homegrid{display:grid;grid-template-columns:repeat(auto-fit,minmax(205px,1fr));gap:18px}.tile{padding:29px 18px;border:none;border-radius:19px;cursor:pointer;text-align:center;min-height:177px;box-shadow:0 6px 20px #3040600c;transition:transform .12s}.tile:hover{transform:translateY(-3px)}.tile .picture{font-size:55px;display:block;margin-bottom:11px}.tile strong{display:block;font-size:16px}.tile small{display:block;margin-top:7px;color:#515c70}.panel{background:white;border:1px solid #e8ecf5;border-radius:17px;padding:20px;box-shadow:0 3px 15px #31405d08;margin-bottom:17px}.columns{display:grid;grid-template-columns:1fr 300px;gap:18px}.row{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.spread{justify-content:space-between}.field{display:flex;flex-direction:column;gap:5px;min-width:0}.field label,.mutedlabel{font-size:11px;font-weight:800;color:#748098;letter-spacing:.4px;text-transform:uppercase}input,select,textarea{font:inherit;border:1px solid #d9deec;border-radius:10px;padding:11px;color:#1e2e45;background:white;outline-color:#849fe8;max-width:100%}input[type=number]{width:100%}input[type=checkbox]{width:19px;height:19px;accent-color:#248763;cursor:pointer}button{font:inherit;cursor:pointer}.btn{border:0;border-radius:12px;padding:12px 17px;font-weight:800;font-size:13px;display:inline-flex;gap:8px;align-items:center;justify-content:center}.primary{background:#344c83;color:white}.light{background:#eff3fa;color:#385070}.success{background:#d9f4e6;color:#176d46}.danger{background:#ffebea;color:#af2c38}.pink{background:#fce3ed;color:#93436e}.gold{background:#fff0cc;color:#87601b}.secondary{background:white;border:1px solid #dce2ef;color:#374664}.btn:hover{filter:brightness(.97)}.btn:disabled{opacity:.4;cursor:not-allowed}.bigbtn{min-height:70px;font-size:12px;flex:1;min-width:170px}.bigbtn .bigicon{font-size:29px}table{width:100%;border-collapse:collapse}th{text-align:left;color:#69768d;background:#f4f6fb;padding:10px 9px;font-size:11px;white-space:nowrap}td{padding:9px;border-bottom:1px solid #f0f2f8;vertical-align:middle;font-size:13px}td input,td select{padding:7px;font-size:12px}.tablewrap{overflow-x:auto}.docgrid{min-width:920px}.photo{width:100%;height:225px;object-fit:contain;border-radius:13px;background:#f5f7fb}.photo-placeholder{height:225px;display:flex;align-items:center;justify-content:center;background:#f4f5f9;border-radius:12px;font-size:74px;color:#aab5c6}.result{display:flex;text-align:left;align-items:center;gap:10px;padding:9px;border:1px solid #e9edf5;border-radius:10px;width:100%;background:white;margin-top:6px;cursor:pointer}.result:hover{background:#eef5ff}.result strong{min-width:145px;color:#314e89}.result span{font-size:12px;flex:1}.result small{color:#6a8197}.stickyactions{position:fixed;bottom:0;left:235px;right:0;background:#ffffffed;backdrop-filter:blur(8px);border-top:1px solid #e0e4ef;padding:10px 20px;display:flex;gap:8px;z-index:4;box-shadow:0 -5px 20px #27385214}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.stat{background:#f3f6fc;border-radius:13px;text-align:center;padding:13px 6px}.stat strong{display:block;font-size:26px}.stat small{color:#697893;font-size:11px}.status{padding:10px 14px;border-radius:10px;background:#f4f6fc;color:#61708c;font-size:13px}.bad{background:#fff0f0;color:#b02732}.good{background:#e4f9ec;color:#1c7850}.modal-back{position:fixed;inset:0;background:#14223b80;display:flex;align-items:center;justify-content:center;z-index:9;padding:22px}.modal{max-width:710px;width:100%;max-height:90vh;overflow:auto;background:white;border-radius:18px;padding:23px;box-shadow:0 17px 80px #0d1f4840}.modal h2{margin:0 0 14px}.bar{display:flex;gap:9px;flex-wrap:wrap}.colorrow{display:grid;grid-template-columns:1fr 105px 95px;gap:9px;align-items:center;margin:7px 0}.colorrow input{width:100%}.mininote{font-size:12px;color:#8590a2}.formsizes{display:grid;grid-template-columns:repeat(5,1fr);gap:8px}.sizetile{background:#f5f7fa;border-radius:10px;padding:10px 6px;text-align:center}.sizetile input{text-align:center;margin-top:6px}.top-actions{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:15px}.tag{font-size:11px;font-weight:bold;border-radius:7px;padding:5px 8px;background:#eef0f8}.linecols{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.photo-small{width:50px;height:50px;object-fit:cover;border-radius:9px;background:#f4f5f8}#toast{position:fixed;right:18px;top:15px;z-index:30;pointer-events:none}.toastitem{padding:13px 19px;color:white;background:#2a805b;border-radius:12px;box-shadow:0 9px 27px #0003;margin-bottom:8px}.toastitem.error{background:#bc3447}a{color:#3c6197}h2{font-size:19px;margin:0 0 12px}h3{margin:10px 0}.right{text-align:right}.mini-btn{padding:8px 10px;border:0;background:#fee9e9;border-radius:8px;color:#c73441;font-size:20px}@media(max-width:1000px){.columns{grid-template-columns:1fr}.stats{grid-template-columns:repeat(2,1fr)}}@media(max-width:680px){aside{width:70px}.brand{padding:10px}.brand img{width:45px}.brand small,.navbutton span:not(.ico),.sidebarfoot{display:none}.navbutton{justify-content:center}.stickyactions{left:70px;flex-wrap:wrap}.bigbtn{min-width:140px}header{padding:12px}#view{padding:13px 12px 165px}.formsizes{grid-template-columns:repeat(3,1fr)}.homegrid{grid-template-columns:repeat(2,minmax(0,1fr))}.tile{min-height:155px;padding:16px 8px}.tile .picture{font-size:36px}.tile strong{font-size:12px}}

.productresults{height:630px;overflow:auto;margin-top:15px;border:1px solid #e8edf5;border-radius:11px}.searchtable{width:100%;border-collapse:collapse}.searchtable thead th{position:sticky;top:0;z-index:2;background:#e5eefb;cursor:pointer}.searchtable td{padding:6px 10px;height:58px}.productrow{cursor:pointer}.productrow:hover,.productrow.selected{background:#dfedff}.catlist{padding:12px;max-height:300px;overflow:auto;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px;background:white;border:1px solid #ddd;border-radius:10px;min-width:330px}.catcheck{font-size:12px;display:flex;align-items:center;gap:5px}details summary{padding:13px;cursor:pointer;font-weight:700;background:#e8ecfa;border-radius:9px}.navbutton{border-left:5px solid transparent}.navbutton.active{border-left-color:#4b73b7}tr[hidden]{display:none}
/* V12 ajustes universales */
#view .tablewrap{overflow-x:auto} #view th{position:relative;min-width:48px;white-space:nowrap;cursor:grab;user-select:none} #view td{overflow-wrap:anywhere} .v12-resize{position:absolute;top:0;right:0;bottom:0;width:9px;cursor:col-resize;border-right:2px solid transparent;z-index:3}.v12-resize:hover{border-color:#a766b8}.paging{display:flex;gap:8px;flex-wrap:wrap;align-items:center;margin:10px 0}.paging button,.paging select{border:1px solid #ddd;border-radius:7px;padding:6px;background:white}.paging span{font-weight:600}.searchtable{min-width:100%;width:100%}

.brand img.hidden{display:none}.brand-placeholder{font-family:Georgia,serif;text-align:center;letter-spacing:1.3px;font-size:22px;line-height:.9;color:#333;padding:10px 4px}.v12queue{width:100%;table-layout:auto}.v12queue th{white-space:nowrap}

/* V12 revisión: entrada directa y logotipo completo provisional mientras se incorpora archivo original */
.brand-official-text{background:#000;color:white!important;border-radius:6px;text-align:center;padding:7px 8px;line-height:1.08;max-width:220px;margin:auto}.brand-official-text b{font-family:Georgia,serif;font-size:20px;font-weight:400;line-height:1}.brand-official-text span{display:block;font-size:8px;letter-spacing:2px;border-top:1px solid #fff;margin-top:5px;padding-top:2px}.brand-official-text small{display:block;font-size:6px;letter-spacing:0;line-height:1.2;padding-top:3px;color:white!important}.docgrid{width:100%;table-layout:auto}.docgrid td{position:relative}.docgrid input.docsku{width:128px;min-width:100px}.docgrid input.docdesc{width:100%;min-width:220px}.docgrid td input[type=number]{width:85px}.doc-suggestions{position:absolute;z-index:20;top:100%;left:0;width:max(270px,100%);max-width:440px;background:#fff;box-shadow:0 8px 22px #0002;max-height:270px;overflow:auto;border-radius:8px}.doc-choice{display:block;text-align:left;width:100%;padding:9px;border:0;border-bottom:1px solid #e9e9e9;background:white;font-size:12px;cursor:pointer}.doc-choice:hover{background:#e7f0fe}

/* Clientes: desplegable inmediatamente debajo de la casilla. */
#customerinput{width:100%}#customerinput+.client-matches{position:absolute;left:0;right:0;top:100%;z-index:100;max-height:285px;overflow-y:auto;background:white;border:1px solid #cbd6ed;box-shadow:0 12px 30px #162b4b30;border-radius:10px;padding:4px}#customerinput+.client-matches[hidden]{display:none}#customerinput+.client-matches .client-option{display:flex;flex-direction:column;gap:3px;width:100%;border:0;background:white;text-align:left;padding:9px 11px;border-radius:7px;cursor:pointer;color:#253046}#customerinput+.client-matches .client-option small{font-size:11px;color:#697893}#customerinput+.client-matches .client-option:hover,#customerinput+.client-matches .client-option.active{background:#e8efff}.client-empty{padding:12px;color:#64748b;font-size:12px}
.field:has(#customerinput){position:relative}
.brand img{width:100%;max-width:210px;max-height:160px;background:transparent;border-radius:0;object-fit:contain}

.column-header{border:0;background:transparent;font:inherit;font-weight:700;color:inherit;cursor:pointer;padding:0;text-align:left}.column-header:hover{text-decoration:underline}

.state-pill{display:inline-flex;padding:6px 9px;border-radius:8px;font-size:11px;font-weight:800;white-space:nowrap}
.status-pending{background:#e5e7eb;color:#374151}.status-progress{background:#fff0d1;color:#965c0e}.status-print{background:#e2effd;color:#175fa6}.status-complete{background:#daf5e7;color:#166a47}.status-review{background:#fee2e2;color:#a71f2c}

.dm-client-card{background:#f8faff;border:1px solid #e2e8f4;padding:22px!important}.dm-client-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 20px;margin-top:18px}.dm-client-item{display:flex;flex-direction:column;gap:7px;background:white;border:1px solid #edf0f8;border-radius:11px;padding:12px 16px;min-width:0}.dm-client-item small{font-weight:700;color:#657591;font-size:11px}.dm-client-item strong{overflow-wrap:anywhere;color:#243351;font-size:14px}.dm-flag{margin-left:10px}.dm-report-nav{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;margin:16px 0}.dm-report-nav .btn{white-space:normal;min-height:54px}.dm-report-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.dm-report-kpis h2{margin:8px 0 0}.dm-report-kpis small{color:#6b7890;font-weight:700}.dm-report-scroll{max-height:65vh;overflow:auto}.dm-report-scroll td{max-width:300px;overflow-wrap:anywhere}@media(max-width:1000px){.dm-report-nav,.dm-report-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:650px){.dm-client-grid,.dm-report-nav,.dm-report-kpis{grid-template-columns:1fr}}

.dm-warning-head{display:flex;align-items:center;justify-content:center;gap:12px;color:#ad7320;background:#fff3db;padding:13px;border-radius:11px}.dm-warning-head h2{margin:0}.dm-warning-stats{display:grid;grid-template-columns:repeat(2,1fr);gap:12px;margin:18px 0}.dm-warning-stats>div{background:#f6f8fb;border-radius:10px;padding:14px;display:flex;flex-direction:column;gap:8px}.dm-warning-stats small{font-size:11px;color:#73819a;font-weight:700}.dm-warning-stats b{font-size:19px}

.client-invoice-active{background:#dce9fd!important;color:#214b91!important;border:2px solid #3664b4!important}.client-estimate-active{background:#fbe2ef!important;color:#973a70!important;border:2px solid #b45088!important}.client-addresses{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:12px 0}.client-addresses>div{background:var(--panel,#f8f8fb);padding:12px;border-radius:10px;border:1px solid #ddd}.client-addresses p{margin:5px 0;white-space:pre-wrap}@media(max-width:650px){.client-addresses{grid-template-columns:1fr}}

/* V17: full-table contextual tint + row reorder affordance */
.dm-estimate-table,.dm-estimate-table table,.dm-estimate-table tbody tr{background:#fff0f6!important}
.dm-estimate-table thead tr,.dm-estimate-table th{background:#f7dbea!important}
.dm-invoice-table,.dm-invoice-table table,.dm-invoice-table tbody tr{background:#eff5ff!important}
.dm-invoice-table thead tr,.dm-invoice-table th{background:#dce9fd!important}
.dm-drag-handle{display:inline-flex;cursor:grab;padding:8px 5px;user-select:none;font-size:20px;color:#69789d}
.dm-drag-handle:active{cursor:grabbing}

/* V18: product list scrolls only with main page, no nested vertical scrollbar */
.productresults{max-height:none!important;height:auto!important;overflow-y:visible!important}#results .searchtable{max-height:none!important}.dm-totals-right{max-width:440px;margin:15px 0 10px auto;padding:12px;border:1px solid #e3e8f2;border-radius:12px}.dm-total-line{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:7px 0;text-align:right}.dm-total-line label{text-align:left;display:flex;gap:8px;align-items:center;flex-wrap:wrap}.dm-total-strong{border-top:1px solid #9ba9c1;font-size:18px}.dm-original-disabled{opacity:.38;filter:grayscale(1);pointer-events:none;background:#f3f4f7;border-radius:10px}.dm-reprint-switch{display:block;margin:10px 0;padding:12px;border:1px solid #f0d3a4;background:#fff4de;border-radius:10px;font-weight:700}

.dm-country-flag{width:27px;height:18px;vertical-align:middle;object-fit:cover;border:1px solid #d7dce7;border-radius:2px;margin-right:5px}

.dm-modal-handle{background:#eaf0fb;color:#536b96;border-radius:10px;padding:8px 12px;margin:-6px 0 16px;cursor:grab;user-select:none;font-size:11px;font-weight:800;letter-spacing:.5px;touch-action:none}.dm-modal-handle:active{cursor:grabbing}
.dm-customer-input{display:flex;align-items:center;position:relative}.dm-customer-input input{width:100%;padding-right:48px}.dm-search-inside{position:absolute;right:4px;top:4px;border:0;background:#eef2f9;border-radius:8px;width:40px;height:36px;cursor:pointer}
.dm-discount-switch{display:inline-flex;border-radius:10px;background:#e9eef6;padding:3px;gap:2px}.dm-discount-switch button{background:transparent;border:none;border-radius:8px;min-width:33px;height:30px;font-weight:800;color:#63718a}.dm-discount-switch button.on{background:#344c83;color:#fff}
.dm-kpi-links{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:12px 0}.dm-kpi-links button{padding:13px 7px;border:1px solid #dce5f3;border-radius:12px;background:#f5f7fc;color:#334b79;font-weight:700;cursor:pointer}.dm-kpi-links button:nth-child(1){background:#fce7e7}.dm-kpi-links button:nth-child(2){background:#f9eaf7}.dm-kpi-links button:nth-child(3){background:#fff2d9}.dm-kpi-links strong,.dm-kpi-links small{display:block;margin-top:8px}
tr.dm-row-dragging{opacity:.55;background:#e6ecfa}tr.dm-row-target{outline:2px dashed #4b71b5}

/* V21: vistas compactas y previsualizaciones de SKU */
.dm-client-letterhead{padding:8px 2px 14px;line-height:1.35}.dm-client-letterhead p,.dm-client-letterhead div{margin:4px 0}.dm-suggest-photo{display:inline-block;width:38px;height:38px;object-fit:contain;vertical-align:middle;margin-right:7px;background:#f5f6fa;border-radius:5px}.dm-empty-photo{text-align:center;padding-top:8px}.dm-sku-camera{position:absolute;right:3px;bottom:2px;border:0;background:#edf2fa;border-radius:6px;cursor:pointer}.doc-suggest-cell{position:relative}.doc-suggestions .doc-choice{display:block;min-height:42px}.dm-client-letterhead strong{font-size:18px}

/* V22: recent clients and legible label-related controls */
.dm-client-recent{padding:12px 0;border-bottom:1px solid #ddd;margin-bottom:12px}.dm-recent-clients{display:flex;flex-wrap:wrap;gap:8px}

/* V23 etapa 1: identidad neutral y navegación. */
:root{--pink:#333;--primary:#333;--gold:#777}
.navbutton .ico{background:#eee!important}.navbutton.active{background:#ddd!important;color:#111!important}
.btn.primary,.btn.success,.btn.pink,.btn.gold,.btn.client-invoice-active,.btn.client-estimate-active{background:#333!important;color:#fff!important;border-color:#333!important}
.dm-kpi{cursor:pointer;text-align:left;color:#222}.dm-kpi strong,.dm-unavailable strong{display:block;font-size:1.5rem;margin-top:12px}
.dm-unavailable{padding:14px;border:1px solid #ddd;border-radius:8px}.dm-unavailable strong{font-size:1rem;color:#666}
.dm-empty-chart{height:140px;border:1px dashed #aaa;border-radius:8px;display:flex;align-items:center;justify-content:center;color:#666;margin:16px 0;padding:12px;text-align:center}
.dm-country-flag{width:25px;height:17px;object-fit:contain;vertical-align:middle;margin:0 4px}
.dm-product-thumb{width:54px;height:64px;object-fit:contain}.dm-apartados{min-width:1080px}
.dm-date-caption{display:block;color:#555;margin-top:4px}pre{max-height:55vh;overflow:auto}

:root{background:#f5f5f5;color:#222}.panel{border-color:#ddd}.pill{background:#eee;color:#333}.navbutton.active{border-left-color:#333!important}.btn.light{background:#eee;color:#333}th{background:#eee;color:#444}.modal-back{background:#0007}.modal .field{margin-bottom:10px}.modal .row>.field{flex:1}.dm-modal-handle{background:#eee!important;color:#333!important}.dm-country-results{max-height:210px;overflow:auto;background:white;border:1px solid #ccc;border-radius:6px}.dm-country-results button{display:block;text-align:left;background:white;border:0;border-bottom:1px solid #eee;padding:8px;width:100%;font-size:12px}.dm-country-results button:hover{background:#eee}

/* V23 authenticated operations. Green/yellow carry explicit text, not color alone. */
.ops-login{max-width:560px;margin:25px auto}.ops-login .field{margin:15px 0}.ops-session{display:flex;gap:8px;align-items:center;flex-wrap:wrap;font-size:12px;justify-content:flex-end}.ops-session .btn{font-size:10px;padding:8px}.ops-balances{display:flex;gap:8px;margin:10px 0;flex-wrap:wrap}.ops-free,.ops-held{padding:12px;border-radius:9px;flex:1;min-width:155px;max-width:100%;font-size:11px}.ops-free{background:#ddf3e4;color:#134c2a;border:1px solid #90bea0}.ops-held{background:#fff0b8;color:#58400b;border:1px solid #d3bc68}.ops-free strong,.ops-held strong{display:block;margin-top:7px;font-size:16px}.ops-held .btn{font-size:9px;padding:6px;margin-top:8px}.ops-alert{padding:12px;margin:7px 0;border:1px solid #aaa;background:#eee;border-radius:8px;font-weight:700}.ops-MUESTRA,.ops-ULTIMA,.ops-RESERVADO{background:#fff1c7;border-color:#d0b767}.ops-SIN_CONCILIAR,.ops-REPETIDO{background:#eee;color:#444}.ops-sizes{display:grid;grid-template-columns:repeat(auto-fit,minmax(85px,1fr));gap:8px;margin:15px 0}.ops-sizes label{display:flex;flex-direction:column;gap:4px;font-size:11px}.ops-scanner input{width:55%;min-width:180px}.ops-line-stock{max-width:460px;min-width:220px}.ops-scanner h2{font-size:18px}.stickyactions{overflow-x:auto}.ops-login p[role=alert]{color:#8b2020}.ops-login input{width:100%}

.ops-data-notice{padding:12px 26px;background:#fff1c7;border-bottom:2px solid #c7a94d;color:#4f3c0a;font-size:12px;font-weight:700;line-height:1.5}

/* Resumen financiero y reservas: sin series comerciales ficticias. */
.ops-financial-card{text-align:left;cursor:pointer;color:#222}.ops-financial-card small{display:block;font-weight:700;font-size:11px}.ops-financial-card strong{display:block;font-size:17px;line-height:1.4;margin-top:12px}.ops-financial-card:focus-visible{outline:3px solid #777}.ops-financial-card:hover{border-color:#999}#opsSellerComparison{min-width:980px}#opsSellerComparison td{font-size:11px}#opsSellerComparison small{display:block;margin-top:5px;color:#666}.ops-performance-chart{padding:16px;border:1px solid #ccc;border-radius:8px}.ops-performance-bar{display:grid;grid-template-columns:140px 1fr 100px;align-items:center;gap:12px;margin:12px 0}.ops-performance-bar span{font-size:12px}.ops-performance-bar b{font-size:12px}.ops-performance-bar div{min-height:20px;border-radius:3px}#opsTotalClients h2{margin:10px 0}#opsPerformanceContent>p{line-height:1.5}

/* Ficha de cliente: solo tres pestañas; acción de creación dentro de APARTADOS. */
#dmClientTabs .btn.dm-client-apartado-tab{background:#dff1e4!important;color:#185b31!important;border:1px solid #94c5a4}#dmClientTabs .btn.dm-client-apartado-tab[aria-selected="true"]{background:#217a43!important;color:#fff!important;border-color:#16562e}#dmClientActions{margin-bottom:12px}

.ops-res-product-lookup{min-width:220px;max-width:100%;position:relative}
.ops-res-product-lookup input{width:100%!important}
.ops-res-product-suggestions{background:#fff;border:1px solid #dce2ef;border-radius:9px;margin-top:5px;max-height:270px;overflow:auto;box-shadow:0 5px 15px #0001}
.ops-res-product-suggestions[hidden],.ops-res-selected-product[hidden]{display:none}
.ops-res-product-suggestions .doc-choice{display:flex;align-items:center;gap:5px;white-space:normal}
.ops-res-product-suggestions .doc-choice.active{background:#e7f0fe;outline:2px solid #6c86ad;outline-offset:-2px}
.ops-res-selected-product{padding:12px;margin:10px 0;background:#f5f7fb;border:1px solid #e2e7ee;border-radius:11px;text-align:center}
.ops-res-selected-product p{font-size:13px;margin:5px 0 10px;white-space:normal}
.ops-res-selected-photo{display:block;height:240px;width:100%;object-fit:contain;background:white;border-radius:8px}
.ops-res-photo-missing{height:150px;display:flex;align-items:center;justify-content:center;color:#69768d;background:#fff;border-radius:8px}
#opsResEditLines .ops-res-selected-photo{height:200px}


.dm-system-alert-back{z-index:100;padding:22px;align-items:center;justify-content:center}
.dm-system-alert{max-width:650px;max-height:90vh;margin:auto;border:1px solid #e8dbbf}
.dm-system-alert-actions{justify-content:center;margin-top:20px}
.dm-system-alert-message{white-space:pre-wrap;line-height:1.55;margin:20px 0}
.dm-system-alert .dm-warning-stats b{overflow-wrap:anywhere}
@media(max-width:600px){.dm-system-alert{padding:17px}.dm-system-alert-actions .btn{width:100%}}

.ops-ap-color-row{display:grid;grid-template-columns:minmax(0,1fr) 140px auto;gap:10px;align-items:end;margin:10px 0;padding:12px;background:#f6f8fb;border:1px solid #e2e7ee;border-radius:9px}
.ops-ap-color-row .field{margin:0;min-width:0}
.ops-ap-color-row [hidden]{display:none}
#apAddColor{margin:0 0 14px}
@media(max-width:600px){.ops-ap-color-row{grid-template-columns:minmax(0,1fr) 95px}.ops-ap-color-row [data-ap-remove]{grid-column:1/-1}}

/* Shared invoice/estimate SKU cell: camera beside the left edge of the SKU field. */
.docgrid td.doc-suggest-cell:has(> .dm-sku-camera){padding-left:45px}
.docgrid .dm-sku-camera{left:8px;right:auto;top:50%;bottom:auto;transform:translateY(-50%);width:28px;height:30px;padding:0;font-size:18px;display:flex;align-items:center;justify-content:center}

/* Compact document balances and one selected color per line. */
.docgrid .dm-doc-stock{min-width:0;max-width:none;margin-top:4px;color:#8b8f96;font-size:11px;font-weight:400;line-height:1.45}
.dm-doc-balance{display:block;margin:0;padding:0;background:none;border:0;color:#8b8f96;font-size:11px;font-weight:400;line-height:1.45}
.dm-doc-held-link{display:inline;padding:0;margin:0;border:0;background:none;color:inherit;font:inherit;line-height:inherit;text-decoration:underline dotted;text-underline-offset:2px;cursor:pointer}
.dm-doc-held-link:hover,.dm-doc-held-link:focus-visible{color:#555b65;text-decoration:underline}
.dm-doc-test-label{color:inherit}
.docgrid .dm-doc-color-button{display:block;background:none;border:0;border-radius:0;padding:2px 0;margin:0;text-align:left;color:#6e747c;font-size:11px;font-weight:400;line-height:16px;cursor:pointer}
.dm-doc-color-line{display:block;white-space:nowrap;line-height:16px}
.docgrid .dm-doc-color-button:hover,.docgrid .dm-doc-color-button:focus-visible{color:#34383f;text-decoration:underline}

.ops-password-control{position:relative;width:100%}
.ops-password-control input{padding-right:48px}
.ops-password-toggle{position:absolute;right:5px;top:50%;transform:translateY(-50%);width:38px;height:36px;padding:8px;border:0;border-radius:7px;background:transparent;color:#737985;cursor:pointer;display:flex;align-items:center;justify-content:center}
.ops-password-toggle:hover,.ops-password-toggle:focus-visible{background:#f0f2f5;color:#333}
.ops-password-toggle svg{height:21px;width:21px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.ops-password-control input::-ms-reveal{display:none}
.ops-login .ops-remember-user{display:flex;align-items:center;gap:8px;color:#737985;font-size:12px;font-weight:400;margin:12px 0}
.ops-login .ops-remember-user input{width:auto;margin:0}

.dm-history-toolbar{display:flex;align-items:end;gap:12px;margin:14px 0;flex-wrap:wrap}
.dm-history-toolbar .field{flex:1;min-width:240px}
.dm-history-filters{border:1px solid #e3e6eb;border-radius:10px;padding:8px;margin-bottom:10px}
.dm-history-filters>summary,.dm-history-choice>summary{background:#f2f3f5;color:#4f555f;font-size:11px;padding:10px}
.dm-history-choice-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin:10px 0}
.dm-history-options{max-height:170px;overflow:auto;padding:8px;border:1px solid #e6e8ec;border-radius:8px;background:#fff}
.dm-history-options label{display:flex;gap:7px;align-items:center;font-size:12px;font-weight:400;color:#555;margin:5px 0;overflow-wrap:anywhere}
.dm-history-options input{width:auto;margin:0;flex:none}
.dm-history-range-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:12px}
#dmHistoryTable th button{border:0;background:none;color:inherit;font:inherit;font-weight:700;padding:3px 0;cursor:pointer;text-align:left;white-space:nowrap}
#dmHistoryTable th[aria-sort=ascending],#dmHistoryTable th[aria-sort=descending]{background:#e8ecef;color:#30363d}
#dmHistoryError{color:#a62f3a;font-size:12px}
@media(max-width:700px){.dm-history-choice-grid,.dm-history-range-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}

.ops-line-scan{margin-top:5px;max-width:460px;font-size:11px}
.ops-line-scan h3{font-size:11px;margin:3px 0}
.ops-line-scan p{font-size:11px;margin:3px 0}
.ops-line-scan .ops-alert{font-size:11px;padding:7px;margin:4px 0}
.ops-line-scan .btn{font-size:10px;padding:7px}

.dm-color-availability{min-width:560px}
.dm-color-availability td,.dm-color-availability th{font-size:12px;padding:9px}
.dm-color-availability input{max-width:100px;min-width:65px}

#opsQuickActions{padding:8px 12px 10px;border-bottom:1px solid #e6e8ec;flex:none}
#opsQuickActions h3{font-size:10px;letter-spacing:1px;color:#89919e;margin:2px 0 7px}
#opsQuickActions button{width:100%;display:flex;align-items:center;gap:9px;text-align:left;background:#f4f5f6;border:1px solid #e4e6e9;border-radius:8px;padding:7px 9px;margin:4px 0;font-size:11px;color:#4c535f;cursor:pointer;font-weight:600}
#opsQuickActions button:hover{background:#e8ecef}
.ops-quick-icon{font-size:12px;color:#747e8c;min-width:20px}
.dm-manual-color{max-width:150px;min-width:95px;font-size:11px}
@media(max-width:680px){#opsQuickActions{padding:7px}#opsQuickActions h3,.ops-quick-label{display:none}#opsQuickActions button{justify-content:center;padding:7px 3px}}

.dm-qty-choices{align-items:stretch}
.dm-qty-choices .dm-qty-configured{background:#f0f7f2;border:1px solid #c6dfcf;padding:12px;gap:8px}
.dm-qty-hint{margin:0;font-size:11px;color:#607569}
.dm-qty-suggestion{width:100%;display:flex;flex-direction:column;gap:5px;text-align:center;background:#dcefe2;color:#245c37;border:1px solid #92c8a4;border-radius:9px;padding:12px;cursor:pointer}
.dm-qty-suggestion strong{font-size:19px}.dm-qty-suggestion span{font-size:11px}
.dm-qty-requested{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:12px;text-align:center;background:#fff0cc;color:#795415;border:1px solid #d9b96a;border-radius:10px;padding:18px;cursor:pointer;font:inherit}
.dm-qty-requested small{font-size:11px;font-weight:700}.dm-qty-requested strong{font-size:25px}.dm-qty-requested span{font-size:11px;font-weight:700}
.dm-qty-suggestion:hover,.dm-qty-requested:hover{filter:brightness(.97)}
.dm-qty-suggestion:focus-visible,.dm-qty-requested:focus-visible{outline:2px solid #555;outline-offset:2px}

#dmClientTabs #dmClientTabFACTURA{background:#e2edff!important;color:#244b83!important;border:1px solid #9ab8e4!important}
#dmClientTabs #dmClientTabESTIMADO{background:#fce2e2!important;color:#8c3434!important;border:1px solid #dfa0a0!important}
#dmClientTabs #dmClientTabAPARTADO{background:#ddf0e3!important;color:#245e37!important;border:1px solid #91bea0!important}
#dmClientTabs [role=tab][aria-selected=true]{box-shadow:inset 0 -3px 0 currentColor}
#view>.panel[data-dm-client-section=FACTURA]>.tablewrap th{background:#e2edff!important;color:#244b83}
#view>.panel[data-dm-client-section=ESTIMADO]>.tablewrap th{background:#fce2e2!important;color:#8c3434}
#dmClientApartados th{background:#ddf0e3!important;color:#245e37}
#view>.panel[data-dm-client-section=FACTURA] #dmClientActions>.btn{background:#e2edff!important;color:#244b83!important;border:1px solid #9ab8e4!important}
#view>.panel[data-dm-client-section=ESTIMADO] #dmClientActions>.btn{background:#fce2e2!important;color:#8c3434!important;border:1px solid #dfa0a0!important}
#view>.panel[data-dm-client-section=APARTADO] #dmClientActions>.btn{background:#ddf0e3!important;color:#245e37!important;border:1px solid #91bea0!important}

#view>.panel[data-dm-client-section=FACTURA]>.tablewrap,#view>.panel[data-dm-client-section=FACTURA]>.tablewrap table,#view>.panel[data-dm-client-section=FACTURA]>.tablewrap tbody tr{background:#f5f8ff!important}
#view>.panel[data-dm-client-section=ESTIMADO]>.tablewrap,#view>.panel[data-dm-client-section=ESTIMADO]>.tablewrap table,#view>.panel[data-dm-client-section=ESTIMADO]>.tablewrap tbody tr{background:#fff4f4!important}
#dmClientApartados .tablewrap,#dmClientApartados table,#dmClientApartados tbody tr{background:#f3faf5!important}

.ops-recent-product-searches{padding:13px 16px}
.ops-recent-product-searches h3{font-size:11px;color:#7e8794;letter-spacing:.7px;margin:0 0 9px}
.ops-recent-product-searches .mininote{margin:0}
.ops-recent-product-list{display:flex;flex-wrap:wrap;gap:7px}
.ops-recent-product-list button{display:flex;align-items:center;gap:7px;padding:7px 10px;font-size:11px;font-weight:400;max-width:250px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.ops-recent-product-list button span{font-size:10px;color:#939ba6;flex:none}

.ops-client-create-tools{display:flex;gap:7px;align-items:center;min-width:0;flex-wrap:wrap}
.ops-client-create-tools>.dm-customer-input,.ops-client-create-tools>select{flex:1;min-width:160px}
.ops-client-create-tools>.btn{font-size:10px;padding:9px;white-space:nowrap;flex:none}

.ops-ap-product-block{border-top:1px solid #dde1e5;margin:18px 0;padding:15px 0 5px}.ops-ap-product-block h3{font-size:13px;margin:0}.ops-ap-product-block .ops-res-selected-photo{max-height:220px}
#opsAddReservationProduct{margin:12px 0}

.dm-unsaved-urgent .dm-warning-head{background:#fce1e1;color:#991b1b;border:1px solid #efb0b0}.dm-unsaved-urgent .dm-system-alert{border-top:6px solid #be2929}.dm-unsaved-urgent .dm-system-alert-message{font-weight:600;line-height:1.6}

#opsQuickActions .ops-quick-square-row{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}
#opsQuickActions .ops-quick-square-row button{display:flex;align-items:center;justify-content:center;aspect-ratio:1;min-height:0;margin:0;width:100%;padding:4px;border-radius:10px;font-size:25px;font-weight:800;border:1px solid transparent}
#opsQuickActions .ops-quick-invoice{background:#e3efff;color:#175cb0;border-color:#b6d2f7!important}
#opsQuickActions .ops-quick-estimate{background:#fde5e7;color:#aa2936;border-color:#f0bcc3!important}
#opsQuickActions .ops-quick-reservation{background:#e0f3e6;color:#22723c;border-color:#aed8ba!important}
#opsQuickActions .ops-quick-square-row button:hover{filter:brightness(.96)}
#opsQuickActions .ops-quick-square-row button:focus-visible{outline:3px solid #555;outline-offset:2px}
.ops-shipping-info{margin-top:5px;overflow-wrap:anywhere}.ops-shipping-info .btn{font-size:10px;padding:5px 8px;margin-top:4px}

#opsQuickActions .ops-quick-invoice:hover{background:#d7e8ff}#opsQuickActions .ops-quick-estimate:hover{background:#fbd8dd}#opsQuickActions .ops-quick-reservation:hover{background:#d2eddb}

#opsShippingOtherField[hidden]{display:none!important}

#opsShippingTrackingField[hidden]{display:none!important}
.ops-save-blocker .ops-blocker-contingency{display:block;margin-top:9px;border:1px solid #f2cccc;background:#fff3f3;color:#8a2020;border-radius:7px;padding:7px 10px;font-size:11px;font-weight:700;cursor:pointer}

.ops-save-blocker{pointer-events:auto;max-width:min(460px,90vw)}

.ops-clear-field{position:absolute;z-index:2;width:21px;height:22px;padding:0;border:0;border-radius:5px;background:transparent;color:#8b929d;font-size:20px;line-height:20px;font-family:Arial,sans-serif;cursor:pointer;display:flex;align-items:center;justify-content:center}
.ops-clear-field:hover{color:#a52331;background:#fbe8eb}.ops-clear-field:focus-visible{outline:2px solid #64748b;outline-offset:1px}.ops-clear-field[hidden]{display:none!important}
input.ops-clearable-input,textarea.ops-clearable-input{padding-right:29px!important}input.ops-clearable-with-eye{padding-right:62px!important}
input[type=search].ops-clearable-input::-webkit-search-cancel-button{display:none}

.ops-clear-field:disabled{opacity:.5;cursor:default;background:transparent;color:#8b929d}

.ops-label-remainder-warning{background:#fff1c9;color:#805b00;border:1px solid #e6cb72;padding:12px;font-weight:700}
.ops-loose-label-dialog{max-width:960px}.ops-loose-color{padding:14px;margin:12px 0;border:1px solid #e5c77d;border-radius:12px;background:#fffbef}
.ops-loose-package{padding:12px;margin:10px 0;border:1px solid #d9dee8;border-radius:9px;background:white}.ops-loose-package>strong{font-size:12px}
.ops-loose-sizes{display:grid;grid-template-columns:repeat(auto-fit,minmax(95px,1fr));gap:9px;margin:10px 0}.ops-loose-sizes label{font-size:12px}.ops-loose-sizes input{width:100%;min-width:0;margin-top:5px}.ops-loose-color [hidden]{display:none!important}

#opsPrimaryReservationProduct[hidden]{display:none!important}
#opsPrimaryReservationProduct>.row{margin:10px 0}#opsPrimaryReservationProduct h3{font-size:13px;margin:0}
#opsPrimaryReservationProduct [hidden],#opsAdditionalReservationProducts [data-remove-product][hidden]{display:none!important}


.ops-pack-list-photo{width:52px;height:62px;object-fit:contain;border-radius:6px;background:#fafafa;display:inline-flex;vertical-align:middle}
.ops-pack-no-photo{align-items:center;justify-content:center;flex-direction:column;color:#89919b;font-size:20px;text-align:center}
.ops-pack-no-photo small{font-size:8px;line-height:1.2}
.ops-pack-list-photo[hidden],.ops-receipt-confirm-photo[hidden]{display:none!important}
.ops-receipt-confirm-photo{width:145px;height:170px;object-fit:contain;border-radius:9px;flex-shrink:0}
.ops-receipt-confirm-product{display:flex;align-items:center;gap:20px;margin:12px 0}
.ops-pack-photo-suggestions{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:8px;margin:10px 0 18px}
.ops-pack-photo-choice{display:flex;gap:12px;align-items:center;text-align:left;padding:9px;border:1px solid #dde1e6;border-radius:9px;background:white;cursor:pointer;color:inherit}
.ops-pack-photo-choice:hover,.ops-pack-photo-choice:focus-visible{background:#eef5fa;border-color:#98b8ce}
.ops-pack-photo-choice small{display:block;font-size:12px;margin-top:4px}

.ops-E_CRITICO,.ops-e-critical{border:2px solid #bb3946;background:#fff2f2;color:#762430}.ops-e-critical-item{padding:12px 0;border-top:1px solid #e5adb3}.ops-e-critical-badge{background:#a82c3a!important;color:white!important}

.ops-shoe-storage{background:#f6f8fa;border:1px solid #dfe4e8;border-radius:10px;padding:15px;margin:14px 0}.ops-shoe-storage h3{margin:0 0 10px}.ops-shoe-storage-fields{display:flex;flex-wrap:wrap;gap:18px}.ops-shoe-storage-fields label{display:grid;gap:6px;min-width:180px;font-size:12px;font-weight:700}.ops-shoe-storage-fields select{min-height:40px}

.ops-recent-photo-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(100px,1fr));gap:10px}.ops-recent-photo-card{border:1px solid #e0e4e9;border-radius:12px;background:#fff;padding:8px;cursor:pointer;display:flex;flex-direction:column;align-items:center;gap:7px;min-width:0}.ops-recent-photo-card>.ops-pack-list-photo{width:100%;height:105px;object-fit:contain}.ops-recent-photo-card strong{font-size:12px;color:#354158;text-align:center;overflow-wrap:anywhere}.ops-recent-photo-card:hover{border-color:#738faa;background:#f6f9fc}.ops-recent-photo-panel{margin-bottom:14px}.ops-sizes-locked{opacity:.45}.ops-sizes-locked input{cursor:not-allowed;background:#e7eaf0}.ops-clothing-preset{margin:10px 0}

.ops-pack-bar-suggestions{max-height:360px;overflow:auto;border:1px solid #ccd6e3;border-radius:12px;background:#fff;box-shadow:0 6px 16px #25304716;margin-top:5px;padding:5px;position:relative;z-index:20}.ops-pack-bar-suggestions[hidden]{display:none}.ops-pack-bar-option{display:flex;width:100%;align-items:center;gap:12px;text-align:left;border:0;border-bottom:1px solid #edf0f5;background:#fff;padding:8px;cursor:pointer}.ops-pack-bar-option:hover,.ops-pack-bar-option[aria-selected=true]{background:#edf4fc}.ops-pack-bar-option>span:last-child{display:flex;flex-direction:column;gap:4px}.ops-pack-bar-option small{color:#738097}.ops-pack-bar-option .ops-pack-list-photo{width:60px;height:72px;object-fit:contain;flex-shrink:0}

/* Uppercase presentation only; stored responsible names are unchanged. */
#pkoperator,#pkoperator option,#operator,#operator option{text-transform:uppercase}

.ops-preset-options{border:0;padding:0;margin:0;min-width:0}.ops-preset-options legend{font-size:12px;font-weight:700;color:#738097;margin-bottom:8px}.ops-preset-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.ops-preset-choice{display:flex;align-items:center;gap:8px;padding:12px 10px;border:1px solid #d6dfeb;border-radius:10px;background:#fff;cursor:pointer;font-size:13px;min-width:0}.ops-preset-choice:has(input:checked){background:#e7f0fc;border-color:#7c9cc5;color:#263f63}.ops-preset-choice input[type=radio]{width:16px;height:16px;flex-shrink:0;accent-color:#486d99}.ops-preset-custom{margin-top:8px}.ops-receipt-operation-summary th:last-child,.ops-receipt-operation-summary td:last-child{text-align:right}.ops-receipt-operation-summary tfoot{background:#edf3fb}

.ops-preset-choice span{display:flex;flex-direction:column;gap:4px}.ops-preset-choice small{font-size:11px;color:#748198;font-weight:400}

.ops-products-more{display:flex;justify-content:flex-end;margin-top:12px}.ops-product-create-bar{margin-bottom:12px}

.ops-preferred-e-choice{display:flex;align-items:center;gap:7px;font-weight:700;font-size:12px;color:#76602b;background:#fff6df;padding:8px;border-radius:8px}.ops-preferred-e-choice input{width:16px;height:16px;accent-color:#b58b35}

.ops-loose-warning-icon{display:inline-block;width:22px;height:22px;vertical-align:middle;margin-right:6px;flex-shrink:0}.ops-loose-color.ops-loose-quantity-error{border:2px solid #bd2438;background:#fff5f5}.ops-loose-package.ops-loose-excess-row{outline:2px solid #bd2438;outline-offset:-2px;background:#fff0f1}.ops-loose-error-message{color:#a51e31;font-weight:700}.ops-loose-sizes input[aria-invalid="true"]{border-color:#bd2438;box-shadow:0 0 0 1px #bd2438}

.ops-saved-label-e>td{background:#fff7df!important}.ops-label-e-badge{display:inline-block;padding:5px 9px;border-radius:6px;background:#f8e5aa;color:#5e4300}.ops-label-print-check{display:inline-flex;align-items:center;gap:9px;cursor:pointer;white-space:nowrap;font-size:12px;font-weight:700}.ops-label-print-check input[type="checkbox"]{appearance:auto!important;-webkit-appearance:checkbox!important;display:inline-block!important;visibility:visible!important;opacity:1!important;width:24px!important;height:24px!important;min-width:24px;padding:0;margin:0;accent-color:#246d9b}

.ops-saved-label-e>td{background:#edf1f7!important}.ops-label-e-badge{font-size:26px;font-weight:900;line-height:1.1;color:#263b58;background:transparent;padding:3px 8px}

.ops-res-detail-photo{width:76px;height:76px;object-fit:contain;display:inline-flex;align-items:center;justify-content:center;background:#f1f4f8;border-radius:8px;font-size:10px;text-align:center}.ops-res-photo-button{border:0;padding:0;background:transparent;cursor:zoom-in}.ops-res-photo-overlay{z-index:120}.ops-res-photo-overlay .modal{max-width:740px}.ops-res-photo-overlay img{display:block;max-width:100%;max-height:70vh;margin:auto;object-fit:contain}

.ops-res-sku-gallery{display:grid;grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:16px;margin-top:18px}.ops-res-sku-card{display:flex;flex-direction:column;gap:10px;align-items:center;border:1px solid #dce3ef;background:white;border-radius:12px;padding:12px;color:#263b58}.ops-res-sku-card img,.ops-res-sku-no-photo{height:145px;width:145px;max-width:100%;object-fit:contain;background:#f1f4f8;border-radius:8px}.ops-res-sku-no-photo{display:flex;flex-direction:column;align-items:center;justify-content:center;font-size:12px}

.ops-reservation-search{position:relative;margin:14px 0}.ops-reservation-search .ops-pack-bar-suggestions{z-index:60}

.ops-product-create-bar{justify-content:flex-end}.ops-new-action-row{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.ops-new-action{margin-left:auto!important;gap:10px;min-height:44px}.ops-new-action-plus{font-size:29px;line-height:1;font-weight:900;color:#268965}.ops-doc-action-cell{width:98px;min-width:98px;text-align:center;padding-left:10px!important;padding-right:10px!important}.ops-doc-action-cell .btn{min-width:70px;justify-content:center}.ops-doc-action-cell .btn:disabled{opacity:.4}body[data-module-theme="invoice"]{--ops-module-light:#e5edfb;--ops-module-ink:#245ba0}body[data-module-theme="estimate"]{--ops-module-light:#fde9e8;--ops-module-ink:#a52a32}body[data-module-theme="reservation"]{--ops-module-light:#e3f3e9;--ops-module-ink:#237548}body[data-module-theme]:not([data-module-theme=""]) #pagetitle{color:var(--ops-module-ink)}body[data-module-theme]:not([data-module-theme=""]) #view>section.panel{border-top:3px solid var(--ops-module-ink)}body[data-module-theme]:not([data-module-theme=""]) #view table thead th{background:var(--ops-module-light)}

body[data-module-theme=""] #view table thead th{background:#ededed}
.ops-product-size-line{display:inline-flex;align-items:center;gap:6px;vertical-align:middle;white-space:nowrap}.ops-product-size-stack{display:inline-flex;flex-direction:column;align-items:center;justify-content:center;line-height:1.15;gap:2px}.ops-product-size-dot{align-self:center}.ops-product-size-separator{padding:0 8px}

#opsPackStoragePanel .ops-shoe-storage-fields{display:grid;grid-template-columns:1fr;gap:10px}#opsPackStoragePanel .ops-shoe-storage{margin-top:0}#opsPackStoragePanel select{width:100%;min-width:0}

.ops-package-size-grid{display:inline-grid;grid-template-columns:repeat(var(--ops-size-count),minmax(30px,max-content));align-items:stretch;max-width:100%;vertical-align:middle;margin:3px 0}.ops-package-size-name,.ops-package-size-quantity{display:flex;align-items:center;justify-content:center;padding:3px 7px;white-space:nowrap;text-align:center}.ops-package-size-name{font-weight:700}.ops-package-size-quantity{background:#1c1c1c;color:#fff;font-weight:700}

.ops-saved-distribution .ops-dist-sizes{display:grid;grid-template-columns:repeat(auto-fit,minmax(78px,1fr));gap:8px}.ops-dist-sizes label{font-size:12px;font-weight:700}.ops-dist-sizes input{display:block;width:100%;min-width:0;margin-top:4px}.ops-dist-package{padding:12px;border:1px solid #d9dee8;border-radius:10px;margin:10px 0;background:#fff}.ops-dist-color-total{font-weight:700;padding:8px;border-radius:7px;background:#e9f4ef}.ops-dist-color-total.bad{background:#fff0f1;color:#a32838}

/* Keep the combined clothing sizes together below XS through XXL. */
.ops-loose-sizes{grid-template-columns:repeat(6,minmax(0,1fr))}
.ops-loose-sizes .ops-loose-secondary-sizes{grid-column:1}
@media(max-width:700px){.ops-loose-sizes{grid-template-columns:repeat(3,minmax(0,1fr))}}
/* Reservation editor: use the available window width and keep all columns inside it. */
.modal:has(#opsResEditLines){max-width:1100px;width:100%;min-width:0}
.modal:has(#opsResEditLines) .tablewrap table{table-layout:fixed;width:100%;min-width:0}
.modal:has(#opsResEditLines) th,.modal:has(#opsResEditLines) td{min-width:0;white-space:normal;overflow-wrap:anywhere}
.modal:has(#opsResEditLines) th:nth-child(1){width:36%}
.modal:has(#opsResEditLines) th:nth-child(2){width:20%}
.modal:has(#opsResEditLines) th:nth-child(3){width:18%}
.modal:has(#opsResEditLines) th:nth-child(4){width:26%}
#opsResEditLines .ops-res-product-lookup{min-width:0;width:100%}
#opsResEditLines input{width:100%!important;min-width:0}
#opsResEditLines .btn{display:block;max-width:100%;width:100%;white-space:normal;overflow-wrap:anywhere;margin:4px 0}
@media(max-width:700px){.modal:has(#opsResEditLines){padding:14px}.modal:has(#opsResEditLines) th,.modal:has(#opsResEditLines) td{padding:7px 5px}#opsResEditLines .btn{padding:10px 6px}}
.ops-merged-line{outline:2px solid #6b9bcb;outline-offset:-2px;border-radius:8px}.ops-merged-line>td,.ops-merged-line.ops-ap-color-row{background:#e8f1fb!important;transition:background-color .25s}
.ops-client-list-filters{margin:12px 0 18px}.ops-client-list-filters .field{min-width:230px}.ops-client-recent-panel{margin-top:18px;background:#f8fafc}.ops-client-recent-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:10px}.ops-client-recent-grid button{display:flex;flex-direction:column;gap:5px;align-items:flex-start;text-align:left;overflow-wrap:anywhere}.ops-client-recent-grid small{font-weight:400}
.modal .dm-modal-handle{cursor:move;touch-action:none;user-select:none;position:sticky;top:0;z-index:6;background:#eee;color:#333;border-radius:9px;padding:9px 12px;margin-bottom:16px;font-size:11px;font-weight:800;letter-spacing:.3px}.modal .dm-modal-handle:focus-visible{outline:2px solid #6c89bb;outline-offset:2px}.ops-numbered-alerts{padding-left:28px;margin:12px 0}.ops-numbered-alerts>li{padding-left:5px;margin:14px 0}.ops-numbered-alerts>li::marker{content:counter(list-item) ") ";font-weight:800}.ops-numbered-alerts p{margin:6px 0}.ops-alert-count{font-size:16px;margin:10px 0}

/* Keep reservation actions compact at the right edge, under their own heading. */
#opsReservationViewContent table {width:100%;}
#opsReservationViewContent table th:last-child,
#opsReservationViewContent table td:last-child:not([colspan]) {
  width:1%;
  white-space:nowrap;
  text-align:center;
  padding-left:8px;
  padding-right:8px;
}
#opsReservationViewContent table td:last-child:not([colspan]) .btn {
  vertical-align:middle;
  margin:0 3px;
}

.ops-client-name-link{border:0;background:transparent;color:#245885;font:inherit;font-weight:700;padding:2px 0;text-align:left;text-decoration:underline;text-underline-offset:3px;cursor:pointer}.ops-client-name-link:focus-visible{outline:2px solid #245885;outline-offset:3px}
#dmClientActions{justify-content:flex-end;}
#dmClientActions button[onclick*="newDocForCustomer"],#dmClientActions #dmClientNewApartado{order:10;}
.ops-payment-action{text-align:center;white-space:nowrap;}
.stickyactions:has(#opsInvoicePaymentLink) .bigbtn{min-width:0;}

th[data-dm-sort-label]{cursor:pointer}th[data-dm-sort-label]:focus-visible{outline:2px solid #426895;outline-offset:-2px}.dm-sort-indicator{font-size:.85em;opacity:.7;white-space:nowrap}

.ops-confirm-receipt-right{justify-content:flex-end}#opsReceiptSizeGate:disabled{opacity:.55}#opsReceiptSizeNotice[hidden]{display:none}

.ops-table-photo-zoom{cursor:zoom-in}.ops-table-photo-zoom:focus-visible{outline:3px solid #426895;outline-offset:3px}.ops-res-photo-overlay .modal{width:min(900px,94vw);max-width:900px}.ops-res-photo-overlay img{width:auto;height:auto;max-width:100%;max-height:75vh}

.ops-release-confirm-grid{display:grid;grid-template-columns:minmax(0,1fr) 180px;align-items:center;gap:22px}.ops-release-confirm-photo{width:180px;min-height:180px;display:flex;align-items:center;justify-content:center}.ops-release-confirm-photo img{width:180px;height:180px;object-fit:contain;background:#f2f5fa;border-radius:12px;cursor:zoom-in}.ops-release-photo-pending{width:180px;height:180px;display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center;background:#f2f5fa;border-radius:12px;color:#7d899c;font-size:12px}@media(max-width:600px){.ops-release-confirm-grid{grid-template-columns:1fr}.ops-release-confirm-photo{justify-self:center}}

.ops-large-photo-pending{min-height:260px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;background:#f2f5fa;color:#7d899c;border-radius:12px;padding:24px}
.ops-res-photo-overlay .modal{width:min(540px,90vw,66vh);max-width:540px;aspect-ratio:3/4;max-height:90vh;box-sizing:border-box;display:flex;flex-direction:column;gap:12px;overflow:hidden}.ops-res-photo-overlay .modal>.row{flex:0 0 auto}.ops-res-photo-overlay .modal>img{flex:1 1 0;min-height:0;width:100%;height:0;max-height:none;object-fit:contain}.ops-res-photo-overlay .ops-large-photo-pending{flex:1;min-height:0;overflow:auto}

/* Recent product photo galleries: two complete rows of nine on wide screens. */
.ops-recent-photo-grid{grid-template-columns:repeat(9,minmax(0,1fr))}
@media(max-width:1100px){.ops-recent-photo-grid{grid-template-columns:repeat(6,minmax(0,1fr))}}
@media(max-width:760px){.ops-recent-photo-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:480px){.ops-recent-photo-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}

#opsQuickActions .ops-quick-budget{background:#efe4fa;color:#7138a3;border-color:#c5a1e4!important}
body[data-module-theme="budget"]{--ops-module-light:#efe4fa;--ops-module-ink:#7138a3}
body[data-module-theme="budget"] #nav .navbutton.active{background:#efe4fa}

.document-client-actions{display:flex;justify-content:flex-end;align-items:center;flex-wrap:wrap;gap:10px;margin:0 0 14px}.document-client-actions .btn{margin:0}

.ops-payment-fields{display:grid;grid-template-columns:minmax(145px,auto) minmax(0,1fr);align-items:center;gap:12px 16px;margin:16px 0}.ops-payment-fields [hidden]{display:none!important}.ops-payment-fields input,.ops-payment-fields select{width:100%;min-width:0}.ops-payment-fields input:invalid:not(:placeholder-shown){outline-color:#b52e3c}@media(max-width:520px){.ops-payment-fields{grid-template-columns:1fr;gap:8px}}

.ops-payment-fields [aria-invalid="true"]{border:2px solid #b52e3c!important;background:#fff1f1}

.invoice-payment-summary{min-width:245px;padding:12px;background:#f2f5fa;border-radius:10px}.invoice-payment-summary>div{display:flex;justify-content:space-between;gap:20px;margin:7px 0}.invoice-payment-summary>div:last-child{border-top:1px solid #ccd5e0;padding-top:8px}

.ops-invoice-list-balance{display:block;font-size:11px;color:#737d8a;margin-top:5px;white-space:nowrap}.ops-payment-date{min-width:0}.ops-payment-date>input{width:100%}

.ops-payment-history-link{background:none;border:0;padding:0;margin:0;color:#245ba0;text-decoration:underline;cursor:pointer;font:inherit;text-align:left}.ops-payment-history-entry{display:block;width:100%;text-align:left;margin:8px 0;white-space:normal}
#view table.ops-invoice-compact{width:100%;table-layout:fixed}#view table.ops-invoice-compact th,#view table.ops-invoice-compact td{padding:7px 4px!important;min-width:0!important;width:auto;overflow-wrap:anywhere;font-size:11px}#view table.ops-invoice-compact .btn{font-size:10px;min-width:0;min-height:30px;padding:5px 4px;white-space:normal;width:100%;max-width:85px;justify-content:center}#view table.ops-invoice-compact th{white-space:normal}#view table.ops-invoice-compact .ops-invoice-list-balance{white-space:normal;font-size:10px}

.ops-qb-column{text-align:center!important}.ops-qb-not-synced{color:#bf253b;font-size:22px;font-weight:900}.ops-qb-synced{color:#23804a;font-size:24px;font-weight:900}#view table.ops-invoice-compact .ops-payment-dollar{color:#111;font-weight:900;font-size:22px;letter-spacing:0;white-space:nowrap}#view table.ops-invoice-compact .ops-invoice-open-icon{font-size:23px}#view table.ops-invoice-compact .ops-invoice-list-balance{white-space:nowrap;font-size:10px}

#view table.ops-invoice-compact .ops-doc-action-cell,#view table.ops-invoice-compact .ops-payment-action{width:64px;min-width:64px!important;text-align:center;overflow-wrap:normal}
#view table.ops-invoice-compact .ops-doc-action-cell .btn,#view table.ops-invoice-compact .ops-payment-action .btn{box-sizing:border-box;width:52px!important;min-width:52px!important;max-width:52px!important;height:44px;min-height:44px;padding:4px!important;display:inline-flex;align-items:center;justify-content:center;border:0;border-radius:10px;background:#eee;font-size:22px;font-weight:900;line-height:1;white-space:nowrap}
#view table.ops-invoice-compact th.ops-doc-action-cell,#view table.ops-invoice-compact th.ops-payment-action{font-size:10px;overflow-wrap:normal;word-break:normal}

#view table.ops-invoice-compact th{text-align:center}#view table.ops-invoice-compact th.ops-qb-column,#view table.ops-invoice-compact td.ops-qb-column{width:32px!important;min-width:32px!important;max-width:32px!important;padding:3px 0!important}#view table.ops-invoice-compact .ops-invoice-action-head,#view table.ops-invoice-compact .ops-invoice-action-cell{width:78px!important;min-width:78px!important;max-width:78px!important;padding:3px 0!important;text-align:center}.ops-invoice-action-split{display:flex;justify-content:center;align-items:center;gap:2px}#view table.ops-invoice-compact .ops-invoice-action-split .btn{height:40px;min-height:40px;margin:0;font-size:22px;width:44px;max-width:44px;padding:3px}#view table.ops-invoice-compact .ops-invoice-action-split [data-invoice-action-toggle]{width:26px;max-width:26px;font-size:18px}.ops-invoice-action-menu{position:fixed;z-index:10050;background:#fff;padding:6px;border:1px solid #d8dce2;border-radius:10px;box-shadow:0 8px 28px #0003;min-width:200px}.ops-invoice-action-menu .btn{display:block;width:100%;text-align:left;justify-content:flex-start;white-space:nowrap;padding:10px;margin:0;border-radius:5px;background:white;color:#20252c}.ops-invoice-action-menu .btn:hover{background:#eaf0f8}.ops-invoice-status[data-status="overdue"]{color:#b33525;font-weight:700}.ops-invoice-status[data-status="paid"]{color:#237748;font-weight:700}[data-v12-no-resize="true"] .v12-resize{display:none!important}

/* Unified invoice alignment: compact identifiers and balanced customer columns. */
#view table.ops-invoice-compact th,#view table.ops-invoice-compact td{text-align:center!important;vertical-align:middle!important;line-height:1.45;box-sizing:border-box}
#view table.ops-invoice-compact thead th{padding:11px 8px!important;font-size:11px;font-weight:800}
#view table.ops-invoice-compact tbody td{padding:13px 8px!important}
#view table.ops-invoice-compact .ops-invoice-list-balance{margin:3px 0 0;font-size:10px;line-height:1.5;text-align:center}
#view table.ops-invoice-compact .ops-client-name-link{display:inline;padding:0;margin:0;line-height:1.45;text-align:center;white-space:normal}
#view table.ops-invoice-compact .ops-invoice-status{font-size:11px;white-space:normal}
#view table.ops-invoice-compact .ops-qb-column,#view table.ops-invoice-compact .ops-invoice-action-cell{padding:3px 0!important}

.ops-payment-history-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 0;border-bottom:1px solid #e8ecf2}.ops-payment-history-row>div,.ops-payment-record-actions{display:flex;gap:8px;justify-content:center}.ops-payment-record-actions .btn,.ops-payment-history-row .btn{font-size:12px;padding:8px 12px;margin:0}

.ops-client-country-icon,.ops-client-sync-icon{text-align:center;vertical-align:middle}.ops-client-country-icon{width:60px}.ops-client-sync-icon{width:70px}

.ops-client-balance{text-align:center;white-space:nowrap}.ops-client-balance small{display:block;font-size:10px;color:#7b8390;margin-top:5px}

.ops-payment-form-actions{justify-content:flex-end;align-items:center}.ops-payment-form-actions #opsPayConfirm{background:#26865e!important;color:#fff!important;border-color:#26865e!important}.ops-invoice-paid .ops-payment-history-link{color:#237748;font-weight:800}

.ops-client-balance-top{display:flex;align-items:center;justify-content:center;gap:5px}.ops-client-balance-top .ops-client-balance-toggle{padding:2px 6px;margin:0;min-height:25px;font-size:15px}

.ops-invoice-due-alert{color:#c52b3d;font-weight:900;font-size:1.15em;display:inline-block;margin-left:4px}
.ops-invoice-paid-check{color:#26865e;font-weight:900;display:inline-block;margin-left:4px}

#clientresults th:has([data-client-sort="balance_due"]){text-align:center!important}
#clientresults [data-client-sort="balance_due"]{width:100%;text-align:center;justify-content:center}
#clientresults .ops-client-balance{text-align:center!important;vertical-align:middle}
.ops-client-balance-stack{display:inline-block;text-align:center;position:relative;padding:0 28px}
.ops-client-balance-stack .ops-client-balance-top{position:relative;display:block;text-align:center}
.ops-client-balance-stack .ops-client-balance-toggle{position:absolute;left:calc(100% + 6px);top:50%;transform:translateY(-50%)}
.ops-client-overdue-alert{position:absolute;right:calc(100% + 6px);color:#c52b3d;font-weight:900;font-size:1.15em}

#opsHistoryRegisterPayment{background:#26865e!important;color:#fff!important;border-color:#26865e!important}

.ops-client-paid-check{position:absolute;left:calc(100% + 6px);color:#26865e;font-weight:900;font-size:1.15em}

.ops-client-balance-days .ops-client-overdue-alert{position:static;display:inline-block;margin-left:4px}

.ops-client-balance-stack small .ops-client-paid-check{position:static;display:inline-block}

/* Uppercase business interface; preserve case-sensitive credentials and URLs. */
body{text-transform:uppercase}
input,textarea{text-transform:none}
input[data-dm-uppercase],textarea[data-dm-uppercase],button,select,option{ text-transform:uppercase }

.modal.dm-credit-modal{width:1180px;max-width:96vw}
.modal.dm-return-modal{width:960px;max-width:96vw}
.dm-credit-modal table td:first-child{white-space:nowrap}
.dm-credit-modal [data-credit-line] input[type="number"]{min-width:90px;width:100%}
.dm-credit-modal [data-credit-line] input[list]{min-width:130px;width:100%}
.dm-return-modal .formsizes label{min-width:0}
.dm-return-modal .formsizes input{width:100%;min-width:0}
@media(max-width:680px){.dm-return-modal .ops-preset-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.dm-return-modal .formsizes{grid-template-columns:repeat(3,minmax(0,1fr))!important}}

/* Keep the Action title centered in customer and reservation tables too. */
#view table th.ops-invoice-action-head{text-align:center!important;vertical-align:middle}
#view table th.ops-invoice-action-head .column-header{width:100%;text-align:center;justify-content:center}

/* Keep Credit Memo descriptions readable beside compact label details. */
.dm-credit-modal [data-credit-line] td{vertical-align:middle}
.dm-credit-modal [data-credit-line] td:nth-child(2){white-space:nowrap;min-width:90px}
.dm-credit-modal .dm-credit-description{min-width:220px;white-space:normal;word-break:normal;overflow-wrap:normal;line-height:1.45}
.dm-credit-modal .dm-credit-package{width:170px;min-width:150px;max-width:190px;white-space:normal}
.dm-credit-package-read{display:flex;flex-direction:column;align-items:flex-start;gap:6px;font-size:13px;line-height:1.4}
.dm-credit-package-read .btn{padding:7px 10px;font-size:12px;width:auto}
.dm-credit-modal .dm-credit-package input{width:100%;min-width:120px;max-width:180px}
.dm-credit-modal [data-credit-line] input[type="number"]{min-width:75px;width:85px}
.dm-credit-modal [data-credit-line] input[list]{min-width:85px;width:100px}
.dm-credit-modal [data-credit-line] td:nth-last-child(2){white-space:nowrap}

.dm-credit-modal .dm-credit-add-product{display:block;width:100%;margin-top:14px}
.dm-credit-modal .dm-credit-add-product>button{display:block;width:100%;min-height:56px;font-size:17px;font-weight:800;padding:16px 22px}

.dm-credit-modal [data-credit-color]{min-width:125px;width:100%;max-width:185px}
.dm-credit-modal .dm-credit-add-product>button{background:#23864b!important;border-color:#23864b!important;color:#fff!important}
.dm-credit-modal .dm-credit-add-product>button:hover{background:#196d3b!important}

.dm-credit-sizes{display:flex;gap:8px;flex-wrap:wrap;margin:7px 0}.dm-credit-sizes label{display:flex;flex-direction:column;gap:4px;min-width:42px;text-align:center;font-size:13px}.dm-credit-sizes select{min-width:42px!important;width:48px!important;padding:5px!important}.dm-credit-package>select{max-width:185px;font-size:12px}.dm-credit-sizes+small{font-size:11px}

.dm-credit-modal [data-credit-other-color]{display:block;width:100%;max-width:185px;min-width:125px;margin-top:8px}

.dm-client-profile-body{display:grid;grid-template-columns:minmax(0,1fr) minmax(280px,420px);gap:24px;align-items:center;margin:10px 0 16px}
.dm-client-financial-summary{display:grid;grid-template-columns:1fr 1fr;gap:12px;width:100%;justify-self:end}
.dm-client-financial-card{border:1px solid #dce2ef;border-radius:14px;background:#f5f7fb;padding:18px 14px;text-align:center;display:flex;flex-direction:column;gap:7px;min-width:0}
.dm-client-financial-card span{font-size:14px;font-weight:800;color:#52627b;letter-spacing:.04em}
.dm-client-financial-card strong{font-size:clamp(24px,2.1vw,36px);font-weight:800;line-height:1.2;white-space:nowrap;font-variant-numeric:tabular-nums}
.dm-client-financial-card.has-due strong{color:#b53439}.dm-client-financial-card.has-credit strong{color:#23864b}
@media(max-width:850px){.dm-client-profile-body{grid-template-columns:1fr;gap:10px}.dm-client-financial-summary{max-width:440px;justify-self:end}}

/* Compact single account box: credit is negative; receivable remains separate. */
.dm-client-profile-body{grid-template-columns:minmax(0,1fr) auto;gap:18px}
.dm-client-financial-summary{display:flex;flex-direction:column;gap:9px;width:290px;max-width:100%;padding:13px 16px;border:1px solid #dce2ef;border-radius:10px;background:#f7f8fb;box-sizing:border-box}
.dm-client-financial-summary .dm-client-financial-card{display:grid;grid-template-columns:1fr auto;gap:15px;align-items:center;padding:0;border:0;border-radius:0;background:transparent;text-align:left}
.dm-client-financial-summary .dm-client-financial-card span{font-size:13px;letter-spacing:0;white-space:nowrap}
.dm-client-financial-summary .dm-client-financial-card strong{font-size:21px;line-height:1.2;text-align:right}
@media(max-width:850px){.dm-client-profile-body{grid-template-columns:1fr}.dm-client-financial-summary{width:290px;justify-self:end}}

.dm-return-e-circle{display:inline-flex;align-items:center;justify-content:center;width:38px;height:38px;border:2px solid currentColor;border-radius:50%;font-size:25px;font-weight:800;line-height:1;vertical-align:middle}

/* Account summary must never inherit the full-viewport sidebar layout. */
.dm-client-profile-body{align-items:start}
#dmCustomerFinancials.dm-client-financial-summary{height:auto;min-height:0;max-height:none;position:static;top:auto;align-self:start;flex-shrink:0}

.dm-split-size-picker{display:flex;gap:12px;flex-wrap:wrap;margin-top:10px}.dm-split-size-picker label{display:flex;flex-direction:column;gap:6px;text-align:center}.dm-split-size-picker select{min-width:65px}

#dmHoverProductPhoto{position:fixed;z-index:10000;pointer-events:none;width:min(340px,calc(100vw - 24px));height:min(420px,calc(100vh - 24px));padding:10px;border:1px solid #d9deec;border-radius:12px;background:#fff;box-shadow:0 10px 35px #0003}#dmHoverProductPhoto img{display:block;width:100%;height:100%;object-fit:contain}

.dm-transition-doc-color{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin:10px 0}.dm-transition-doc-color select,.dm-transition-doc-color input{max-width:210px}.dm-transition-doc-color input[type=number]{width:110px}.dm-transition-res-color{grid-column:1/-1;margin-top:7px}.dm-transition-res-color input{max-width:280px}

.dm-split-size-picker,#dmSplitOriginal{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0}.dm-split-size-picker label,#dmSplitOriginal>div{display:flex;flex-direction:column;text-align:center;min-width:64px;font-weight:700}.dm-split-size-picker select,#dmSplitOriginal select,.dm-split-edit-grid .ops-package-size-quantity{background:#1c1c1c;color:white;border-radius:0;text-align:center}.dm-split-edit-grid{grid-template-columns:repeat(var(--ops-size-count),minmax(64px,95px));overflow-x:auto;max-width:100%}.dm-split-edit-grid input{width:100%;min-width:0;border-radius:0;text-align:center}.dm-split-edit-grids{display:flex;gap:20px;flex-wrap:wrap}#dmSplitOriginal input{width:90px;text-align:center;border-radius:0}

#dmSplitJobs .ops-label-e-badge,.dm-system-alert-back .ops-label-e-badge{display:inline-flex;align-items:center;justify-content:center;width:26px;height:26px;border:2px solid currentColor;border-radius:50%;font-weight:800}

/* Editable size cards follow the blue packing panel; printed summaries retain their black bar. */
.dm-split-edit-grids{display:grid;grid-template-columns:1fr;gap:16px;margin:18px 0}
.dm-split-edit-grids>section{background:#edf4ff;border:1px solid #bfd3ed;border-radius:16px;padding:18px;min-width:0}
.dm-split-edit-grids h3{margin:0 0 14px;color:#36577e;font-size:15px;letter-spacing:.35px}
.dm-split-edit-grid{display:grid;grid-template-columns:repeat(var(--ops-size-count),minmax(64px,100px));gap:8px;margin:0;width:max-content;max-width:100%;padding-bottom:4px}
.dm-split-edit-grid input.ops-package-size-name{background:#e1ecfc;border:1px solid #c0d3ec;color:#36577e;border-radius:10px;padding:10px 6px;min-height:42px;font-size:15px;font-weight:800}
.dm-split-edit-grid input.ops-package-size-quantity{background:#fff;color:#253b57;border:1px solid #b9cde6;border-radius:10px;padding:12px 6px;min-height:46px;font-size:17px;font-weight:700}
.dm-split-edit-grid input:focus{outline:2px solid #6d9cd4;outline-offset:1px;box-shadow:0 0 0 4px #b9d3f533}

.dm-connected-tabs{display:flex;align-items:stretch;gap:6px;flex-wrap:wrap;position:relative;z-index:1;margin:18px 0 0!important;padding:0 8px;border-bottom:2px solid #9fb7d3}
.dm-connected-tabs>button.btn{position:relative;bottom:-2px;border:2px solid transparent;border-bottom:2px solid #9fb7d3;border-radius:12px 12px 0 0;background:#e8eef6;color:#52657b;margin:0;padding:13px 18px}
.dm-connected-tabs>button.btn.dm-connected-tab-active{border-color:#9fb7d3;border-bottom-color:white;background:white;color:#264c78;box-shadow:inset 0 4px 0 #527eaf;font-weight:850}
.dm-connected-pane{background:white;border:2px solid #9fb7d3;border-top:0;border-radius:0 0 15px 15px;padding:20px;margin:0 0 18px;min-width:0;box-shadow:0 4px 12px #31405d08}
.dm-connected-pane[hidden]{display:none!important}
#dmReturnsNormal.dm-connected-pane>.panel:first-child{margin-top:0}
#dmReturnsQueue.dm-connected-pane,#dmSplitJobs.dm-connected-pane{border-top:0;margin-top:0}

/* The partial-package entry dialogs use the same blue editor treatment. */
.dm-split-size-picker,#dmSplitOriginal{padding:18px;background:#edf4ff;border:1px solid #bfd3ed;border-radius:16px;gap:10px}
.dm-split-size-picker label,#dmSplitOriginal>div{gap:8px;color:#36577e;min-width:78px}
.dm-split-size-picker select,#dmSplitOriginal select{background:white;color:#253b57;border:1px solid #b9cde6;border-radius:10px;padding:11px;font-size:16px;font-weight:700}
#dmSplitOriginal input{background:#e1ecfc;border:1px solid #bfd3ed;border-radius:10px;color:#36577e;font-weight:800;padding:10px}

#dmClientTabs.dm-connected-tabs>.btn[aria-selected="true"]{background:white!important;color:#264c78!important;border-color:#9fb7d3!important;border-bottom-color:white!important}
select[data-ap-color],select[data-extra-color],select[data-credit-color],select[id^="opsResColor"],.dm-transition-doc-color select,table select[aria-label*="Color"],table select[aria-label*="COLOR"]{background:#edf4ff;color:#2b4c74;border:1px solid #b7cce7;border-radius:10px}
