#wpcontent{padding-left:0}.ooms-wrap{margin:0}.ooms-login,.ooms-denied{max-width:420px;margin:40px auto;padding:24px;background:#fff;border:1px solid #ddd;border-radius:12px}.ooms *{box-sizing:border-box}.ooms{--p:#0f4c81;--pd:#163b5c;--a:#ff8a00;--bg:#f4f7fb;--c:#fff;--t:#1f2937;--m:#6b7280;--l:#dfe6ee;--g:#15803d;--r:#b91c1c;font-family:Arial,Helvetica,sans-serif;color:var(--t);background:var(--bg);min-height:calc(100vh - 32px);display:flex}.ooms button,.ooms input,.ooms select,.ooms textarea{font:inherit}.ooms button{cursor:pointer}.ooms-side{width:245px;background:linear-gradient(180deg,var(--pd),#0b2236);color:#fff;padding:18px 14px;position:sticky;top:32px;height:calc(100vh - 32px);overflow:auto}.ooms-brand{display:flex;gap:10px;align-items:center;padding:4px 8px 18px;border-bottom:1px solid #ffffff24}.ooms-logo{width:42px;height:42px;border-radius:10px;background:var(--a);display:grid;place-items:center;font-weight:700}.ooms-brand h2{font-size:17px;margin:0;color:#fff}.ooms-brand small{opacity:.7}.ooms-nav{padding-top:14px}.ooms-nav button{width:100%;border:0;background:transparent;color:#dbeafe;padding:11px 12px;text-align:left;border-radius:8px;margin-bottom:4px}.ooms-nav button:hover,.ooms-nav button.active{background:#ffffff20;color:#fff}.ooms-main{flex:1;min-width:0}.ooms-top{height:68px;background:#fff;border-bottom:1px solid var(--l);display:flex;align-items:center;justify-content:space-between;padding:0 20px;position:sticky;top:32px;z-index:10}.ooms-top h1{font-size:21px;margin:0}.ooms-user{font-size:12px;color:var(--m)}.ooms-content{padding:20px}.ooms-page{display:none}.ooms-page.active{display:block}.ooms-grid{display:grid;gap:15px}.ooms-g4{grid-template-columns:repeat(4,1fr)}.ooms-g2{grid-template-columns:repeat(2,1fr)}.ooms-card{background:#fff;border:1px solid var(--l);border-radius:13px;padding:17px;box-shadow:0 3px 12px #0f172a0a}.ooms-stat{border-left:4px solid var(--p)}.ooms-stat:nth-child(2){border-left-color:var(--g)}.ooms-stat:nth-child(3){border-left-color:var(--a)}.ooms-stat:nth-child(4){border-left-color:var(--r)}.ooms-label{font-size:13px;color:var(--m)}.ooms-value{font-size:27px;font-weight:700;margin-top:7px}.ooms-head{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:13px}.ooms-head h3{margin:0;font-size:18px}.ooms-btn{border:0;border-radius:8px;padding:9px 12px;background:#e5e7eb}.ooms-primary{background:var(--p);color:#fff}.ooms-danger{background:var(--r);color:#fff}.ooms-success{background:var(--g);color:#fff}.ooms-outline{background:#fff;border:1px solid var(--l)}.ooms-sm{padding:6px 8px;font-size:12px}.ooms-form{display:grid;grid-template-columns:repeat(4,1fr);gap:11px}.ooms-field{display:flex;flex-direction:column;gap:5px}.ooms-field label{font-size:12px;font-weight:700}.ooms input,.ooms select,.ooms textarea{border:1px solid #cfd8e3;border-radius:8px;padding:9px;background:#fff;width:100%}.ooms textarea{min-height:76px;resize:vertical}.ooms input:focus,.ooms select:focus,.ooms textarea:focus{border-color:var(--p);outline:3px solid #0f4c8115}.ooms-table{overflow:auto;border:1px solid var(--l);border-radius:10px}.ooms table{width:100%;border-collapse:collapse;min-width:900px;background:#fff}.ooms th,.ooms td{padding:10px;border-bottom:1px solid var(--l);font-size:13px;text-align:left;vertical-align:top}.ooms th{background:#f8fafc;position:sticky;top:0}.ooms-actions{display:flex;gap:5px;flex-wrap:wrap}.ooms-filters{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:12px}.ooms-filters>*{max-width:190px}.ooms-badge{display:inline-block;padding:4px 8px;border-radius:99px;font-size:11px;font-weight:700}.new{background:#dbeafe;color:#1d4ed8}.processing{background:#fef3c7;color:#92400e}.ready{background:#e0e7ff;color:#4338ca}.dispatched,.paid{background:#dcfce7;color:#166534}.cancelled,.pending{background:#fee2e2;color:#991b1b}.partial{background:#fef3c7;color:#92400e}.ooms-summary{margin-left:auto;width:350px;max-width:100%}.ooms-srow{display:flex;justify-content:space-between;padding:7px 0;border-bottom:1px dashed var(--l)}.ooms-srow.total{font-size:18px;font-weight:700}.ooms-modal{position:fixed;inset:0;background:#0f172a88;z-index:99999;display:none;align-items:flex-start;justify-content:center;padding:25px;overflow:auto}.ooms-modal.show{display:flex}.ooms-modalbox{width:min(1100px,98vw);background:#fff;border-radius:14px;padding:18px}.ooms-toast{position:fixed;right:18px;bottom:18px;background:#111827;color:#fff;padding:12px 16px;border-radius:8px;z-index:100000;display:none}.ooms-toast.show{display:block}.ooms-muted{color:var(--m)}.ooms-empty{text-align:center;padding:25px;color:var(--m)}.ooms-print{display:none}.ooms-row-disabled{opacity:.6}.ooms-mobile{display:none}
@media(max-width:1100px){.ooms-g4{grid-template-columns:repeat(2,1fr)}.ooms-form{grid-template-columns:repeat(2,1fr)}}
@media(max-width:782px){.ooms{min-height:100vh}.ooms-side{position:fixed;top:0;left:-260px;height:100vh;z-index:30;transition:.2s}.ooms-side.open{left:0}.ooms-top{top:0}.ooms-mobile{display:inline-block}.ooms-content{padding:11px}.ooms-g4,.ooms-g2,.ooms-form{grid-template-columns:1fr}.ooms-top{padding:0 10px}}
@media print{body *{visibility:hidden!important}.ooms-print,.ooms-print *{visibility:visible!important}.ooms-print{display:block!important;position:absolute;inset:0;background:#fff;color:#111;padding:8mm;font-family:Arial}.ooms-print table{min-width:0}.ooms-print .print-head{display:flex;justify-content:space-between;border-bottom:2px solid #111;padding-bottom:10px}.ooms-print .print-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin:14px 0}.ooms-print table{width:100%;border-collapse:collapse}.ooms-print th,.ooms-print td{border:1px solid #777;padding:6px;font-size:11px}.ooms-print .totals{width:340px;margin-left:auto;margin-top:10px}.ooms-print .sign{display:flex;justify-content:space-between;margin-top:45px}@page{size:A4;margin:7mm}}

.ooms-master-form{grid-template-columns:repeat(4,minmax(180px,1fr))}.ooms-span-2{grid-column:span 2}.ooms-span-4{grid-column:span 4}.ooms-card h3{font-family:Arial,Helvetica,sans-serif}.ooms-table td{max-width:320px}.ooms-page#p-customers .ooms-card,.ooms-page#p-products .ooms-card{width:100%}@media(max-width:1100px){.ooms-master-form{grid-template-columns:repeat(2,1fr)}.ooms-span-4{grid-column:span 2}}@media(max-width:782px){.ooms-master-form{grid-template-columns:1fr}.ooms-span-2,.ooms-span-4{grid-column:span 1}}

/* Responsive UX hardening v3.1.0 */
.ooms img,.ooms svg{max-width:100%;height:auto}.ooms input,.ooms select,.ooms textarea,.ooms button{min-height:42px}.ooms textarea{line-height:1.45}.ooms-field{min-width:0}.ooms-field input,.ooms-field select,.ooms-field textarea{max-width:100%}.ooms-table{width:100%;-webkit-overflow-scrolling:touch}.ooms-modalbox{max-width:1100px}.ooms-head>*{min-width:0}.ooms-actions>a{text-decoration:none;display:inline-flex;align-items:center;justify-content:center}.ooms-top>div{min-width:0}.ooms-top strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ooms-mobile-overlay{display:none;position:fixed;inset:0;background:#0f172a80;z-index:29}.ooms-mobile-overlay.show{display:block}.ooms .ooms-required:after{content:' *';color:var(--r)}

@media(max-width:900px){
  .ooms-top{height:auto;min-height:64px;padding:9px 12px;gap:10px}.ooms-top>.ooms-actions{justify-content:flex-end}.ooms-user{display:none}
  .ooms-content{padding:12px}.ooms-card{padding:14px}.ooms-head{align-items:flex-start;flex-wrap:wrap}.ooms-head>input,.ooms-head>select{width:100%;max-width:none}
  .ooms-filters{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.ooms-filters>*{max-width:none}
  .ooms-modal{padding:0;align-items:stretch}.ooms-modalbox{width:100%;min-height:100vh;border-radius:0;padding:14px;padding-bottom:calc(84px + env(safe-area-inset-bottom))}
}

@media(max-width:782px){
  html{scroll-padding-top:72px}.ooms{font-size:15px}.ooms-main{width:100%}.ooms-side{width:min(86vw,300px);left:min(-88vw,-310px);box-shadow:12px 0 30px #0003}.ooms-side.open{left:0}
  .ooms-top{z-index:28}.ooms-mobile{display:inline-flex;align-items:center;justify-content:center;width:44px;padding:0;font-size:20px}.ooms-top>.ooms-actions{gap:6px}.ooms-top [data-new]{font-size:0;padding:0;width:44px}.ooms-top [data-new]::after{content:'+';font-size:24px}.ooms-top a.ooms-btn{padding:9px 10px;font-size:12px}
  .ooms-g4,.ooms-g2{grid-template-columns:1fr}.ooms-form,.ooms-master-form{grid-template-columns:1fr!important}.ooms-span-2,.ooms-span-4,.ooms-form [style*="grid-column"]{grid-column:1/-1!important}
  .ooms input,.ooms select,.ooms textarea{font-size:16px!important;min-height:46px;padding:11px 12px}.ooms textarea{min-height:96px}.ooms-btn{min-height:44px;padding:10px 13px}.ooms-actions{gap:8px}.ooms-actions .ooms-btn{flex:1 1 auto}
  .ooms-summary{width:100%;margin-left:0}.ooms-srow{gap:12px}.ooms-srow>*:last-child{text-align:right}
  .ooms-table.mobile-cards{border:0;overflow:visible}.ooms-table.mobile-cards table{min-width:0;background:transparent}.ooms-table.mobile-cards thead{display:none}.ooms-table.mobile-cards tbody,.ooms-table.mobile-cards tr,.ooms-table.mobile-cards td{display:block;width:100%}.ooms-table.mobile-cards tr{background:#fff;border:1px solid var(--l);border-radius:12px;margin-bottom:12px;padding:7px 12px;box-shadow:0 2px 8px #0f172a0a}.ooms-table.mobile-cards td{border:0;border-bottom:1px dashed var(--l);padding:9px 0;max-width:none;display:grid;grid-template-columns:minmax(108px,38%) 1fr;gap:10px;align-items:start;overflow-wrap:anywhere}.ooms-table.mobile-cards td:last-child{border-bottom:0}.ooms-table.mobile-cards td::before{content:attr(data-label);font-size:11px;line-height:1.25;font-weight:700;color:var(--m);text-transform:uppercase;letter-spacing:.02em}.ooms-table.mobile-cards td[colspan]{display:block;text-align:center}.ooms-table.mobile-cards td[colspan]::before{display:none}.ooms-table.mobile-cards .ooms-actions{justify-content:flex-start}.ooms-table.mobile-cards .ooms-actions .ooms-btn{flex:1}
  .ooms-page#p-new .ooms-table:not(.mobile-cards){overflow-x:auto}.ooms-page#p-new table{min-width:760px}
  .ooms-page#p-new .ooms-card:last-child,.ooms-page#p-customers .ooms-card:first-child,.ooms-page#p-products .ooms-card:first-child{scroll-margin-top:75px}
  .ooms-toast{left:12px;right:12px;bottom:calc(12px + env(safe-area-inset-bottom));text-align:center}
}

@media(max-width:480px){
  .ooms-content{padding:8px}.ooms-card{padding:12px;border-radius:11px}.ooms-value{font-size:23px}.ooms-head h3{font-size:16px}.ooms-filters{grid-template-columns:1fr}.ooms-top strong{font-size:15px}.ooms-top a.ooms-btn{font-size:0;width:44px;padding:0}.ooms-top a.ooms-btn::after{content:'↪';font-size:18px}.ooms-modalbox{padding:10px;padding-bottom:calc(84px + env(safe-area-inset-bottom))}.ooms-table.mobile-cards td{grid-template-columns:1fr}.ooms-table.mobile-cards td::before{margin-bottom:-4px}.ooms-print-preview{overflow-x:auto}
}

@media(hover:none){.ooms button,.ooms a,.ooms input,.ooms select,.ooms textarea{-webkit-tap-highlight-color:transparent}.ooms-btn:active{transform:scale(.98)}}

@media print{
  .ooms-print{width:100%;max-width:210mm;margin:0 auto;padding:6mm!important}.ooms-print .print-head{gap:15px;align-items:flex-start}.ooms-print .print-head>div{max-width:58%;overflow-wrap:anywhere}.ooms-print .print-grid>div{overflow-wrap:anywhere}.ooms-print th,.ooms-print td{word-break:break-word}.ooms-print .totals{max-width:100%}
}

/* Compact expandable master cards on mobile v3.2.0 */
@media(max-width:782px){
  #p-customers .ooms-table.mobile-cards tr.ooms-master-collapsible,
  #p-products .ooms-table.mobile-cards tr.ooms-master-collapsible{cursor:pointer;padding:0;overflow:hidden}
  #p-customers .ooms-table.mobile-cards tr.ooms-master-collapsible>td,
  #p-products .ooms-table.mobile-cards tr.ooms-master-collapsible>td{display:none;padding:10px 12px}
  #p-customers .ooms-table.mobile-cards tr.ooms-master-collapsible>td:first-child,
  #p-products .ooms-table.mobile-cards tr.ooms-master-collapsible>td:first-child{display:block;border-bottom:0;padding:14px 44px 14px 14px;position:relative;min-height:58px}
  #p-customers .ooms-table.mobile-cards tr.ooms-master-collapsible>td:first-child::before,
  #p-products .ooms-table.mobile-cards tr.ooms-master-collapsible>td:first-child::before{display:none}
  #p-customers .ooms-table.mobile-cards tr.ooms-master-collapsible>td:first-child::after,
  #p-products .ooms-table.mobile-cards tr.ooms-master-collapsible>td:first-child::after{content:'›';position:absolute;right:16px;top:50%;transform:translateY(-50%) rotate(90deg);font-size:25px;line-height:1;color:var(--p);transition:transform .18s ease}
  #p-customers .ooms-table.mobile-cards tr.ooms-master-collapsible>td:first-child .ooms-muted,
  #p-products .ooms-table.mobile-cards tr.ooms-master-collapsible>td:first-child .ooms-muted{margin-top:3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  #p-customers .ooms-table.mobile-cards tr.ooms-master-collapsible>td:first-child b,
  #p-products .ooms-table.mobile-cards tr.ooms-master-collapsible>td:first-child b{display:block;font-size:15px;line-height:1.35;padding-right:4px}
  #p-customers .ooms-table.mobile-cards tr.ooms-master-collapsible.ooms-expanded>td,
  #p-products .ooms-table.mobile-cards tr.ooms-master-collapsible.ooms-expanded>td{display:grid}
  #p-customers .ooms-table.mobile-cards tr.ooms-master-collapsible.ooms-expanded>td:first-child,
  #p-products .ooms-table.mobile-cards tr.ooms-master-collapsible.ooms-expanded>td:first-child{display:block;border-bottom:1px solid var(--l);background:#f8fafc}
  #p-customers .ooms-table.mobile-cards tr.ooms-master-collapsible.ooms-expanded>td:first-child::after,
  #p-products .ooms-table.mobile-cards tr.ooms-master-collapsible.ooms-expanded>td:first-child::after{transform:translateY(-50%) rotate(-90deg)}
  #p-customers .ooms-table.mobile-cards tr.ooms-master-collapsible.ooms-expanded>td:last-child,
  #p-products .ooms-table.mobile-cards tr.ooms-master-collapsible.ooms-expanded>td:last-child{display:block;padding:12px;border-top:1px solid var(--l);background:#f8fafc}
  #p-customers .ooms-table.mobile-cards tr.ooms-master-collapsible:focus-visible,
  #p-products .ooms-table.mobile-cards tr.ooms-master-collapsible:focus-visible{outline:3px solid #0f4c8130;outline-offset:2px}
}


/* Mobile compact order cards v3.4.0 */
.ooms-order-mobile-summary{display:none}
@media(max-width:782px){
  #p-orders .ooms-table.mobile-cards tr.ooms-order-collapsible{cursor:pointer;padding:0;overflow:hidden;border-radius:14px}
  #p-orders .ooms-table.mobile-cards tr.ooms-order-collapsible>td{display:none;padding:10px 13px}
  #p-orders .ooms-table.mobile-cards tr.ooms-order-collapsible>td:first-child{display:block;border:0;padding:0}
  #p-orders .ooms-table.mobile-cards tr.ooms-order-collapsible>td:first-child::before{display:none}
  #p-orders .ooms-table.mobile-cards tr.ooms-order-collapsible>td:first-child>b,
  #p-orders .ooms-table.mobile-cards tr.ooms-order-collapsible>td:first-child>.ooms-muted{display:none}
  #p-orders .ooms-order-mobile-summary{display:block;padding:14px 14px 12px;background:#fff}
  #p-orders .ooms-order-summary-top{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
  #p-orders .ooms-order-summary-top>div{min-width:0}
  #p-orders .ooms-order-summary-top b{display:block;font-size:17px;line-height:1.25;color:var(--t)}
  #p-orders .ooms-order-summary-top small{display:block;margin-top:3px;color:var(--m);font-size:12px}
  #p-orders .ooms-order-chevron{font-size:29px;line-height:1;color:var(--p);transform:rotate(90deg);transition:transform .18s ease;margin-top:2px}
  #p-orders .ooms-order-summary-customer{margin-top:11px;padding-top:10px;border-top:1px dashed var(--l);min-width:0}
  #p-orders .ooms-order-summary-customer strong{display:block;font-size:15px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  #p-orders .ooms-order-summary-customer small{display:block;color:var(--m);margin-top:3px}

  #p-orders .ooms-order-summary-product{margin-top:10px;background:#eef6ff;border:1px solid #cfe2f5;border-radius:9px;padding:9px 10px}
  #p-orders .ooms-order-summary-product small{display:block;color:var(--m);font-size:10px;text-transform:uppercase;font-weight:800;letter-spacing:.04em}
  #p-orders .ooms-order-summary-product strong{display:block;margin-top:3px;color:var(--p);font-size:14px;line-height:1.35;overflow-wrap:anywhere}
  #p-orders .ooms-order-summary-money{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:11px}
  #p-orders .ooms-order-summary-money span{display:block;background:#f8fafc;border:1px solid var(--l);border-radius:9px;padding:8px 10px;min-width:0}
  #p-orders .ooms-order-summary-money small{display:block;color:var(--m);font-size:10px;text-transform:uppercase;font-weight:700;letter-spacing:.03em}
  #p-orders .ooms-order-summary-money b{display:block;margin-top:3px;font-size:14px;overflow-wrap:anywhere}
  #p-orders .ooms-order-summary-badges{display:flex;gap:7px;flex-wrap:wrap;margin-top:10px}
  #p-orders .ooms-order-summary-badges .ooms-badge{flex:1;text-align:center;padding:6px 8px}
  #p-orders .ooms-order-tap-hint{text-align:center;color:var(--p);font-size:11px;font-weight:700;margin-top:10px}
  #p-orders .ooms-table.mobile-cards tr.ooms-order-collapsible.ooms-expanded>td{display:grid}
  #p-orders .ooms-table.mobile-cards tr.ooms-order-collapsible.ooms-expanded>td:first-child{display:block;border-bottom:1px solid var(--l)}
  #p-orders .ooms-table.mobile-cards tr.ooms-order-collapsible.ooms-expanded>td:first-child>b,
  #p-orders .ooms-table.mobile-cards tr.ooms-order-collapsible.ooms-expanded>td:first-child>.ooms-muted{display:none}
  #p-orders .ooms-table.mobile-cards tr.ooms-order-collapsible.ooms-expanded .ooms-order-chevron{transform:rotate(-90deg)}
  #p-orders .ooms-table.mobile-cards tr.ooms-order-collapsible.ooms-expanded .ooms-order-tap-hint::before{content:'Tap to close';font-size:11px}
  #p-orders .ooms-table.mobile-cards tr.ooms-order-collapsible.ooms-expanded .ooms-order-tap-hint{font-size:0}
  #p-orders .ooms-table.mobile-cards tr.ooms-order-collapsible.ooms-expanded>td:nth-child(2),
  #p-orders .ooms-table.mobile-cards tr.ooms-order-collapsible.ooms-expanded>td:nth-child(3),
  #p-orders .ooms-table.mobile-cards tr.ooms-order-collapsible.ooms-expanded>td:nth-child(4),
  #p-orders .ooms-table.mobile-cards tr.ooms-order-collapsible.ooms-expanded>td:nth-child(5),
  #p-orders .ooms-table.mobile-cards tr.ooms-order-collapsible.ooms-expanded>td:nth-child(7),
  #p-orders .ooms-table.mobile-cards tr.ooms-order-collapsible.ooms-expanded>td:nth-child(8),
  #p-orders .ooms-table.mobile-cards tr.ooms-order-collapsible.ooms-expanded>td:nth-child(9){display:none}
  #p-orders .ooms-table.mobile-cards tr.ooms-order-collapsible.ooms-expanded>td:last-child{display:block;background:#f8fafc;border-top:1px solid var(--l);padding:12px}
  #p-orders .ooms-table.mobile-cards tr.ooms-order-collapsible:focus-visible{outline:3px solid #0f4c8130;outline-offset:2px}
}
@media(max-width:390px){
  #p-orders .ooms-order-summary-money{grid-template-columns:1fr}
}

/* Product names in desktop order list v3.4.0 */
#p-orders .ooms-product-list{display:block;max-width:280px;line-height:1.35;white-space:normal;overflow-wrap:anywhere}


/* Mobile order item editor v3.5.0 */
@media(max-width:782px){
  #p-new .ooms-order-items-wrap{border:0;overflow:visible;border-radius:0;background:transparent}
  #p-new .ooms-order-items-table{display:block;min-width:0!important;width:100%;background:transparent}
  #p-new .ooms-order-items-table thead{display:none}
  #p-new .ooms-order-items-table tbody{display:block;width:100%}
  #p-new .ooms-order-items-table tr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;background:#f8fafc;border:1px solid var(--l);border-radius:14px;padding:14px;margin-bottom:14px;box-shadow:0 2px 8px #0f172a0a}
  #p-new .ooms-order-items-table td{display:flex;flex-direction:column;gap:6px;width:100%;min-width:0;max-width:none;padding:0;border:0!important;overflow:visible}
  #p-new .ooms-order-items-table td::before{content:attr(data-label);display:block;font-size:11px;font-weight:700;color:var(--m);text-transform:uppercase;letter-spacing:.02em}
  #p-new .ooms-order-items-table td:nth-child(1){grid-column:1/-1;display:flex;flex-direction:row;align-items:center;justify-content:space-between;padding-bottom:8px;border-bottom:1px dashed var(--l)!important;font-weight:700;color:var(--p)}
  #p-new .ooms-order-items-table td:nth-child(1)::before{content:'Item';margin-right:8px}
  #p-new .ooms-order-items-table td:nth-child(2){grid-column:1/-1}
  #p-new .ooms-order-items-table td:nth-child(3){grid-column:1/-1}
  #p-new .ooms-order-items-table td:nth-child(9){grid-column:1/-1;background:#fff;border:1px solid var(--l)!important;border-radius:9px;padding:10px 12px;display:flex;flex-direction:row;align-items:center;justify-content:space-between;font-weight:700}
  #p-new .ooms-order-items-table td:nth-child(9)::before{margin:0}
  #p-new .ooms-order-items-table td.item-remove{grid-column:1/-1}
  #p-new .ooms-order-items-table td.item-remove .ooms-btn{width:100%;min-height:44px}
  #p-new .ooms-order-items-table input,#p-new .ooms-order-items-table select{width:100%!important;min-width:0!important;max-width:100%!important}
  #p-new #additem{width:100%;margin-top:0!important}
}
@media(max-width:390px){
  #p-new .ooms-order-items-table tr{grid-template-columns:1fr}
  #p-new .ooms-order-items-table td:nth-child(n){grid-column:1/-1}
}

/* iPhone/mobile order editor rebuild v3.6.0 */
@media (max-width: 782px) {
  #p-new,
  #p-new .ooms-card,
  #p-new .ooms-form,
  #p-new .ooms-field,
  #p-new .ooms-order-items-wrap,
  #p-new .ooms-order-items-table,
  #p-new .ooms-order-items-table tbody,
  #p-new .ooms-order-items-table tr,
  #p-new .ooms-order-items-table td {
    min-width: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  #p-new .ooms-card {
    overflow: hidden !important;
    padding: 12px !important;
  }

  #p-new .ooms-head {
    display: grid !important;
    grid-template-columns: minmax(0,1fr) auto !important;
    align-items: center !important;
  }

  #p-new .ooms-form {
    display: grid !important;
    grid-template-columns: minmax(0,1fr) !important;
    gap: 14px !important;
  }

  #p-new .ooms-field,
  #p-new .ooms-form > div,
  #p-new .ooms-form [style*="grid-column"] {
    grid-column: 1 / -1 !important;
  }

  #p-new input,
  #p-new select,
  #p-new textarea {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    margin: 0 !important;
  }

  /* Safari date controls can otherwise use an intrinsic desktop width. */
  #p-new input[type="date"] {
    -webkit-appearance: none !important;
    appearance: none !important;
    inline-size: 100% !important;
    min-inline-size: 0 !important;
    max-inline-size: 100% !important;
    text-align: left !important;
    overflow: hidden !important;
  }

  #p-new textarea {
    min-height: 88px !important;
  }

  #p-new > .ooms-card > h3 {
    margin: 24px 0 12px !important;
    font-size: 24px !important;
  }

  /* Completely replace desktop table presentation with mobile item cards. */
  #p-new .ooms-order-items-wrap {
    display: block !important;
    overflow: visible !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
  }

  #p-new table.ooms-order-items-table {
    display: block !important;
    table-layout: fixed !important;
    border-collapse: separate !important;
    min-width: 0 !important;
    background: transparent !important;
  }

  #p-new table.ooms-order-items-table thead {
    display: none !important;
  }

  #p-new table.ooms-order-items-table tbody {
    display: block !important;
  }

  #p-new table.ooms-order-items-table tbody tr {
    display: grid !important;
    grid-template-columns: repeat(2,minmax(0,1fr)) !important;
    gap: 12px !important;
    padding: 12px !important;
    margin: 0 0 14px !important;
    border: 1px solid var(--l) !important;
    border-radius: 14px !important;
    background: #f8fafc !important;
    box-shadow: 0 2px 8px #0f172a0a !important;
  }

  #p-new table.ooms-order-items-table tbody td {
    display: flex !important;
    flex-direction: column !important;
    gap: 6px !important;
    padding: 0 !important;
    border: 0 !important;
    overflow: hidden !important;
  }

  #p-new table.ooms-order-items-table tbody td::before {
    content: attr(data-label) !important;
    display: block !important;
    font-size: 11px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    color: var(--m) !important;
    text-transform: uppercase !important;
  }

  #p-new table.ooms-order-items-table tbody td:nth-child(1) {
    grid-column: 1 / -1 !important;
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding-bottom: 9px !important;
    border-bottom: 1px dashed var(--l) !important;
    color: var(--p) !important;
    font-weight: 700 !important;
  }

  #p-new table.ooms-order-items-table tbody td:nth-child(2),
  #p-new table.ooms-order-items-table tbody td:nth-child(3),
  #p-new table.ooms-order-items-table tbody td:nth-child(9),
  #p-new table.ooms-order-items-table tbody td:nth-child(10) {
    grid-column: 1 / -1 !important;
  }

  #p-new table.ooms-order-items-table tbody td:nth-child(9) {
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 11px 12px !important;
    border: 1px solid var(--l) !important;
    border-radius: 9px !important;
    background: #fff !important;
    font-weight: 700 !important;
    overflow-wrap: anywhere !important;
  }

  #p-new table.ooms-order-items-table input,
  #p-new table.ooms-order-items-table select {
    min-height: 46px !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    padding: 10px !important;
  }

  #p-new table.ooms-order-items-table .item-remove .ooms-btn,
  #p-new #additem {
    width: 100% !important;
  }

  #p-new .ooms-grid.ooms-g2 {
    display: grid !important;
    grid-template-columns: minmax(0,1fr) !important;
  }

  #p-new .ooms-actions[style*="justify-content"] {
    display: grid !important;
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 390px) {
  #p-new table.ooms-order-items-table tbody tr {
    grid-template-columns: minmax(0,1fr) !important;
  }

  #p-new table.ooms-order-items-table tbody td {
    grid-column: 1 / -1 !important;
  }
}


/* Mobile clarity improvements v3.7.0 */
#p-new .amt-title{display:none}
#p-new .item-remove-btn{white-space:nowrap}

@media (max-width:782px){
  #p-new table.ooms-order-items-table tbody td:nth-child(9){
    display:grid!important;
    grid-template-columns:1fr auto!important;
    gap:10px!important;
    align-items:center!important;
    background:#eef6ff!important;
    border:1px solid #b9d7f2!important;
    padding:13px 14px!important;
  }
  #p-new table.ooms-order-items-table tbody td:nth-child(9)::before{display:none!important}
  #p-new .amt-title{display:block;font-size:12px;font-weight:800;color:#475569;text-transform:uppercase;letter-spacing:.03em}
  #p-new .amt-value{font-size:18px;color:#0f3f6b;text-align:right;white-space:nowrap}
  #p-new table.ooms-order-items-table tbody td:nth-child(10){padding-top:2px!important}
  #p-new table.ooms-order-items-table tbody td:nth-child(10)::before{display:none!important}
  #p-new .item-remove-btn{
    width:100%!important;
    min-height:48px!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    gap:8px!important;
    font-size:16px!important;
    font-weight:700!important;
    border-radius:10px!important;
  }
  #p-new #additem{
    min-height:50px!important;
    font-size:16px!important;
    font-weight:700!important;
    border:2px dashed #8cb9df!important;
    background:#f6fbff!important;
    color:#0f4c81!important;
  }
}

@media (max-width:390px){
  #p-new table.ooms-order-items-table tbody td:nth-child(9){grid-template-columns:1fr!important}
  #p-new .amt-value{text-align:left}
}

/* Enterprise 3.8.0 fancy invoice */
.invoice-modal-head{position:sticky;top:0;background:#fff;z-index:3;padding-bottom:12px;border-bottom:1px solid var(--l)}
.invoice-tools{justify-content:flex-end}.ooms-print-preview{background:#eef3f8;padding:18px;border-radius:14px;overflow:auto}
.ooms-invoice{max-width:960px;margin:auto;background:#fff;border:1px solid #d9e2ec;border-radius:16px;overflow:hidden;box-shadow:0 12px 35px #0f172a18;color:#182230}
.invoice-hero{display:flex;justify-content:space-between;gap:24px;padding:28px 30px;background:linear-gradient(135deg,#0e3f68,#0f5d96);color:#fff}
.invoice-company{display:flex;gap:16px;min-width:0}.invoice-mark{width:58px;height:58px;flex:0 0 58px;border-radius:14px;background:#ff8a00;display:grid;place-items:center;font-size:22px;font-weight:800}
.invoice-company h1{font-size:20px;margin:0 0 8px;color:#fff}.invoice-company p{margin:3px 0;font-size:12px;opacity:.9;overflow-wrap:anywhere}
.invoice-title{text-align:right;display:flex;flex-direction:column;align-items:flex-end}.invoice-title span{font-size:12px;letter-spacing:1.8px;opacity:.85}.invoice-title strong{font-size:28px;margin:7px 0}.invoice-title small{opacity:.8}
.invoice-meta{display:grid;grid-template-columns:repeat(4,1fr);gap:0;background:#f8fafc;border-bottom:1px solid #dbe3ec}.invoice-meta>div{padding:14px 18px;border-right:1px solid #dbe3ec}.invoice-meta>div:last-child{border-right:0}.invoice-meta span{display:block;font-size:10px;letter-spacing:.8px;color:#64748b;margin-bottom:5px}.invoice-meta b{font-size:13px}.invoice-chip{display:inline-flex;padding:5px 10px;border-radius:99px;background:#dbeafe;color:#1d4ed8}
.invoice-parties{display:grid;grid-template-columns:1fr 1fr;gap:18px;padding:22px 30px}.invoice-party{border:1px solid #dde5ee;border-radius:12px;padding:17px;background:#fff}.invoice-party h3{margin:0 0 9px;color:#0f5d96;text-transform:uppercase;font-size:11px;letter-spacing:1px}.invoice-party h2{margin:0 0 9px;font-size:17px}.invoice-party p{margin:5px 0;font-size:12px;line-height:1.5;overflow-wrap:anywhere}
.invoice-items{padding:0 30px 22px;overflow:auto}.invoice-items table{min-width:720px;border:1px solid #dbe3ec;border-radius:10px;overflow:hidden}.invoice-items th{background:#0f4c81;color:#fff;position:static;font-size:11px}.invoice-items td{font-size:12px}.invoice-items td small{display:block;color:#64748b;margin-top:4px}
.invoice-bottom{display:grid;grid-template-columns:1fr 340px;gap:24px;padding:0 30px 25px}.invoice-notes{border:1px solid #dbe3ec;border-radius:12px;padding:17px;min-height:220px}.invoice-notes h3{margin:0 0 10px;font-size:13px}.invoice-notes p{font-size:12px;line-height:1.6;white-space:pre-line}.invoice-signatures{display:flex;justify-content:space-between;gap:20px;margin-top:70px;font-size:11px;font-weight:700}.invoice-signatures span{border-top:1px solid #94a3b8;padding-top:7px;min-width:130px;text-align:center}
.invoice-totals{border:1px solid #dbe3ec;border-radius:12px;overflow:hidden;align-self:start}.invoice-totals>div{display:flex;justify-content:space-between;padding:10px 14px;border-bottom:1px dashed #dbe3ec;font-size:12px}.invoice-totals>div:last-child{border-bottom:0}.invoice-totals .grand{background:#0f4c81;color:#fff;font-size:16px;padding:14px}.invoice-totals .balance{background:#fff3cd;color:#7c5200;font-size:14px}.invoice-footer{text-align:center;padding:14px 20px;background:#f8fafc;border-top:1px solid #dbe3ec;font-size:11px;color:#64748b}
@media(max-width:782px){.invoice-modal-head{align-items:flex-start}.invoice-modal-head h3{padding-top:8px}.invoice-tools{display:grid!important;grid-template-columns:1fr 1fr;width:100%}.invoice-tools .ooms-btn{width:100%;font-size:13px;padding:10px 8px}.ooms-print-preview{padding:0;background:#fff}.ooms-invoice{border-radius:10px;box-shadow:none}.invoice-hero{padding:20px 16px;display:block}.invoice-company{display:block}.invoice-mark{margin-bottom:12px}.invoice-title{text-align:left;align-items:flex-start;margin-top:20px;padding-top:16px;border-top:1px solid #ffffff40}.invoice-title strong{font-size:24px}.invoice-meta{grid-template-columns:1fr 1fr}.invoice-meta>div{padding:12px;border-bottom:1px solid #dbe3ec}.invoice-parties{grid-template-columns:1fr;padding:15px;gap:12px}.invoice-items{padding:0 15px 16px}.invoice-bottom{grid-template-columns:1fr;padding:0 15px 16px}.invoice-totals{order:-1}.invoice-notes{min-height:180px}.invoice-signatures{margin-top:55px}.invoice-footer{padding-bottom:22px}}
@media(max-width:390px){.invoice-tools{grid-template-columns:1fr}.invoice-meta{grid-template-columns:1fr}.invoice-meta>div{border-right:0}.invoice-company h1{font-size:17px}.invoice-signatures{gap:8px}.invoice-signatures span{min-width:0;flex:1}}
@media print{.ooms-print .ooms-invoice{max-width:none;border:0;border-radius:0;box-shadow:none}.ooms-print .invoice-hero{-webkit-print-color-adjust:exact;print-color-adjust:exact;background:#0f4c81!important;color:#fff!important}.ooms-print .invoice-meta,.ooms-print .invoice-parties,.ooms-print .invoice-bottom{break-inside:avoid}.ooms-print .invoice-items{padding:0 0 12px}.ooms-print .invoice-parties,.ooms-print .invoice-bottom{padding-left:0;padding-right:0}.ooms-print .invoice-hero{padding:16px}.ooms-print .invoice-meta>div{padding:9px}.ooms-print .invoice-party{padding:11px}.ooms-print .invoice-footer{display:none}.ooms-print .invoice-totals .grand{-webkit-print-color-adjust:exact;print-color-adjust:exact;background:#0f4c81!important;color:#fff!important}}

/* Enterprise 3.9.0 sales-person reporting */
.ooms-report-filters{display:grid;grid-template-columns:minmax(180px,1.3fr) minmax(150px,1fr) minmax(150px,1fr) minmax(150px,1fr) auto auto auto;gap:10px;align-items:end}
.ooms-report-filters select,.ooms-report-filters input{width:100%;min-width:0}
#report-results .ooms-value{overflow-wrap:anywhere}
@media(max-width:1100px){.ooms-report-filters{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:782px){
 .ooms-report-filters{grid-template-columns:1fr 1fr}
 .ooms-report-filters .ooms-btn{width:100%}
 #p-reports .ooms-g4{grid-template-columns:1fr 1fr!important}
 #p-reports .ooms-g2{grid-template-columns:1fr!important}
}
@media(max-width:430px){
 .ooms-report-filters{grid-template-columns:1fr}
 #p-reports .ooms-g4{grid-template-columns:1fr!important}
}

/* v4.1.0 — Mobile PDF actions, Sales Order styling, Sales Person filters */
.invoice-sales-person{background:#eef6ff;border-left:4px solid #0f4c81;padding:9px 10px;border-radius:7px;color:#123b5d}
#p-orders .ooms-filters{align-items:end}
@media(max-width:782px){
  .invoice-modal-head{position:sticky;top:0;z-index:15;background:#fff;margin:-14px -14px 14px;padding:12px 14px;border-bottom:1px solid #dfe6ee;display:block!important}
  .invoice-modal-head h3{margin:0 0 10px!important;font-size:20px!important;color:#163b5c}
  .invoice-tools{display:grid!important;grid-template-columns:1fr 1fr!important;gap:8px!important;width:100%!important}
  .invoice-tools [data-print]{grid-column:1 / -1}
  .invoice-tools [data-pdf],.invoice-tools [data-share]{min-height:48px!important;font-size:14px!important;font-weight:700!important}
  .invoice-tools [data-close]{grid-column:1 / -1}
  .preview{width:100%;overflow:hidden}
  .ooms-invoice{width:100%!important;max-width:100%!important;overflow:hidden!important}
  #p-orders .ooms-filters{display:grid!important;grid-template-columns:1fr 1fr!important}
  #p-orders .ooms-filters>*{max-width:none!important;width:100%!important}
  #p-orders #os,#p-orders #ocsv{grid-column:1 / -1}
}
@media(max-width:430px){
  .invoice-tools{grid-template-columns:1fr!important}
  .invoice-tools [data-print],.invoice-tools [data-pdf],.invoice-tools [data-share],.invoice-tools [data-close]{grid-column:1!important}
  #p-orders .ooms-filters{grid-template-columns:1fr!important}
  #p-orders .ooms-filters>*{grid-column:1!important}
}

/* v4.2.0 consistent form controls */
.ooms-field>select,.ooms-field>input{height:48px;min-height:48px;line-height:1.25}
.ooms-field>select{appearance:auto;-webkit-appearance:menulist;padding-top:0;padding-bottom:0}

/* Corporate authentication portal */
.ooms-auth-page{min-height:100vh;background:linear-gradient(135deg,#eef4fb 0%,#f8fafc 48%,#edf3f8 100%);display:grid;place-items:center;padding:32px 18px;font-family:Arial,Helvetica,sans-serif;color:#172033}
.ooms-auth-page *{box-sizing:border-box}
.ooms-auth-shell{width:min(1040px,100%);min-height:620px;display:grid;grid-template-columns:1.02fr .98fr;background:#fff;border:1px solid #dce5ef;border-radius:24px;overflow:hidden;box-shadow:0 24px 70px rgba(15,48,79,.14)}
.ooms-auth-side{position:relative;padding:44px;background:linear-gradient(145deg,#0c3152,#0f568c 62%,#0b416b);color:#fff;display:flex;flex-direction:column;overflow:hidden}
.ooms-auth-side:before,.ooms-auth-side:after{content:"";position:absolute;border-radius:50%;background:rgba(255,255,255,.07)}
.ooms-auth-side:before{width:330px;height:330px;right:-150px;top:-100px}.ooms-auth-side:after{width:240px;height:240px;left:-110px;bottom:-95px}
.ooms-auth-brand{display:flex;align-items:center;gap:13px;position:relative;z-index:1}.ooms-auth-logo{width:52px;height:52px;border-radius:14px;background:#ff8a00;display:grid;place-items:center;color:#fff;font-size:20px;font-weight:800;box-shadow:0 10px 24px rgba(0,0,0,.15)}
.ooms-auth-brand strong{display:block;font-family:Georgia,serif;font-size:23px;letter-spacing:.4px}.ooms-auth-brand span{display:block;font-size:13px;opacity:.78;margin-top:3px}
.ooms-auth-sidecopy{margin:auto 0;position:relative;z-index:1}.ooms-auth-sidecopy>span{font-size:12px;font-weight:700;letter-spacing:1.5px;color:#ffbe70}.ooms-auth-sidecopy h2{font-size:40px;line-height:1.12;margin:14px 0 18px;color:#fff;max-width:430px}.ooms-auth-sidecopy p{font-size:16px;line-height:1.7;color:#d9e9f7;max-width:430px}
.ooms-auth-feature{position:relative;z-index:1;border-top:1px solid rgba(255,255,255,.17);padding-top:20px;font-size:12px;color:#dbeafe;line-height:1.8}
.ooms-auth-card{padding:58px 54px 32px;display:flex;flex-direction:column;justify-content:center;background:#fff}.ooms-auth-mobilebrand{display:none}.ooms-auth-heading p{margin:0 0 10px;font-size:11px;font-weight:800;letter-spacing:1.6px;color:#0f568c}.ooms-auth-heading h1{margin:0 0 10px;font-size:34px;line-height:1.15;color:#172033}.ooms-auth-heading>span{display:block;color:#667085;font-size:14px;line-height:1.55;margin-bottom:28px}
.ooms-auth-form form,.ooms-auth-form{display:flex;flex-direction:column;gap:17px}.ooms-auth-form p{margin:0}.ooms-auth-form label{display:flex;flex-direction:column;gap:7px;font-size:13px;font-weight:700;color:#344054}.ooms-auth-form label br{display:none}.ooms-auth-form input[type=text],.ooms-auth-form input[type=email],.ooms-auth-form input[type=password]{display:block;width:100%;height:50px;border:1px solid #cdd8e5;border-radius:10px;background:#fff;padding:0 14px;font-size:16px;color:#172033;outline:none;transition:.2s}.ooms-auth-form input:focus{border-color:#0f568c;box-shadow:0 0 0 4px rgba(15,86,140,.11)}
.ooms-auth-form .login-remember label{flex-direction:row;align-items:center;gap:9px;font-weight:500}.ooms-auth-form input[type=checkbox]{width:18px;height:18px;accent-color:#0f568c}.ooms-auth-form .login-submit{margin-top:2px}.ooms-auth-form input[type=submit],.ooms-auth-btn{width:100%;height:50px;border:0;border-radius:10px;background:linear-gradient(135deg,#0f568c,#0c416d);color:#fff;font-size:15px;font-weight:800;cursor:pointer;display:grid;place-items:center;text-decoration:none;box-shadow:0 8px 18px rgba(15,86,140,.18)}.ooms-auth-btn:hover,.ooms-auth-form input[type=submit]:hover{filter:brightness(1.05)}.ooms-auth-btn.secondary{background:#e8eef5;color:#17324d;box-shadow:none;max-width:180px}
.ooms-auth-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.ooms-auth-links{display:flex;justify-content:space-between;gap:15px;margin-top:18px;font-size:13px}.ooms-auth-links a{color:#0f568c;text-decoration:none;font-weight:700}.ooms-auth-links a:hover{text-decoration:underline}.ooms-auth-help{font-size:12px!important;line-height:1.5;color:#667085}.ooms-auth-alert{border-radius:10px;padding:12px 14px;margin:0 0 18px;font-size:13px;line-height:1.5}.ooms-auth-alert.error{background:#fff1f1;border:1px solid #fecaca;color:#991b1b}.ooms-auth-alert.success{background:#ecfdf3;border:1px solid #bbf7d0;color:#166534}.ooms-auth-footer{margin-top:auto;padding-top:28px;text-align:center;color:#98a2b3;font-size:11px}
.ooms-denied{max-width:520px!important;text-align:center;margin:80px auto!important;padding:35px!important;border-radius:18px!important;box-shadow:0 15px 45px rgba(15,48,79,.10)}
@media(max-width:800px){.ooms-auth-page{padding:0;background:#fff;display:block}.ooms-auth-shell{display:block;min-height:100vh;border:0;border-radius:0;box-shadow:none}.ooms-auth-side{display:none}.ooms-auth-card{min-height:100vh;padding:32px 24px;justify-content:flex-start}.ooms-auth-mobilebrand{display:block;background:linear-gradient(145deg,#0c3152,#0f568c);color:#fff;padding:18px;border-radius:16px;margin-bottom:35px}.ooms-auth-heading h1{font-size:30px}.ooms-auth-grid{grid-template-columns:1fr}.ooms-auth-links{flex-direction:column;align-items:center}.ooms-auth-footer{margin-top:35px}}
@media(max-width:390px){.ooms-auth-card{padding:22px 18px}.ooms-auth-heading h1{font-size:27px}}


/* v4.3.0 — Desktop item-entry redesign and universal clickable order rows */
.ooms-clickable-order{cursor:pointer;transition:background-color .16s ease,box-shadow .16s ease,transform .16s ease}
.ooms-clickable-order:hover{background:#f3f8fd!important;box-shadow:inset 4px 0 0 #0f568c}
.ooms-clickable-order:focus{outline:3px solid rgba(15,86,140,.18);outline-offset:-3px}
.ooms-clickable-order td:first-child b{text-decoration:underline;text-decoration-color:#9bb9d2;text-underline-offset:3px}

@media(min-width:783px){
  #p-new .ooms-order-items-wrap{border:0!important;overflow:visible!important;background:transparent!important}
  #p-new table.ooms-order-items-table{display:block!important;min-width:0!important;width:100%!important;background:transparent!important}
  #p-new table.ooms-order-items-table thead{display:none!important}
  #p-new table.ooms-order-items-table tbody{display:block!important;width:100%!important}
  #p-new table.ooms-order-items-table tbody tr{
    display:grid!important;
    grid-template-columns:52px minmax(260px,2.2fr) minmax(145px,1fr) minmax(105px,.72fr) minmax(120px,.82fr) minmax(145px,1fr) minmax(115px,.78fr) minmax(105px,.72fr);
    gap:12px 14px!important;
    align-items:end!important;
    width:100%!important;
    padding:18px!important;
    margin:0 0 16px!important;
    border:1px solid #d8e3ee!important;
    border-radius:14px!important;
    background:linear-gradient(180deg,#fbfdff,#f7fafc)!important;
    box-shadow:0 5px 18px rgba(15,48,79,.06)!important;
  }
  #p-new table.ooms-order-items-table tbody td{
    display:flex!important;
    flex-direction:column!important;
    gap:7px!important;
    width:100%!important;
    min-width:0!important;
    max-width:none!important;
    padding:0!important;
    border:0!important;
    overflow:visible!important;
  }
  #p-new table.ooms-order-items-table tbody td::before{
    content:attr(data-label)!important;
    display:block!important;
    font-size:11px!important;
    font-weight:800!important;
    color:#607084!important;
    text-transform:uppercase!important;
    letter-spacing:.045em!important;
  }
  #p-new table.ooms-order-items-table tbody td:nth-child(1){
    grid-column:1!important;grid-row:1!important;align-self:stretch!important;justify-content:center!important;align-items:center!important;
    background:#0f568c!important;color:#fff!important;border-radius:10px!important;font-size:19px!important;font-weight:800!important;min-height:78px!important
  }
  #p-new table.ooms-order-items-table tbody td:nth-child(1)::before{content:'Item'!important;color:#dbeafe!important;font-size:10px!important}
  #p-new table.ooms-order-items-table tbody td:nth-child(2){grid-column:2!important;grid-row:1!important}
  #p-new table.ooms-order-items-table tbody td:nth-child(3){grid-column:3!important;grid-row:1!important}
  #p-new table.ooms-order-items-table tbody td:nth-child(4){grid-column:4!important;grid-row:1!important}
  #p-new table.ooms-order-items-table tbody td:nth-child(5){grid-column:5!important;grid-row:1!important}
  #p-new table.ooms-order-items-table tbody td:nth-child(6){grid-column:6!important;grid-row:1!important}
  #p-new table.ooms-order-items-table tbody td:nth-child(7){grid-column:7!important;grid-row:1!important}
  #p-new table.ooms-order-items-table tbody td:nth-child(8){grid-column:8!important;grid-row:1!important}
  #p-new table.ooms-order-items-table tbody td:nth-child(9){
    grid-column:2 / span 4!important;grid-row:2!important;display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:space-between!important;
    min-height:54px!important;padding:10px 14px!important;background:#eaf3fb!important;border:1px solid #c7dced!important;border-radius:10px!important
  }
  #p-new table.ooms-order-items-table tbody td:nth-child(9)::before{content:'Item Total (Incl. GST)'!important;color:#31516f!important;margin:0!important}
  #p-new table.ooms-order-items-table tbody td:nth-child(9) .amt-title{display:none!important}
  #p-new table.ooms-order-items-table tbody td:nth-child(9) .amt-value{font-size:18px!important;color:#0f4c81!important}
  #p-new table.ooms-order-items-table tbody td:nth-child(10){grid-column:6 / -1!important;grid-row:2!important;align-self:stretch!important}
  #p-new table.ooms-order-items-table tbody td:nth-child(10)::before{display:none!important}
  #p-new table.ooms-order-items-table tbody td:nth-child(10) .ooms-btn{width:100%!important;min-height:54px!important;font-size:14px!important;font-weight:700!important}
  #p-new table.ooms-order-items-table input,#p-new table.ooms-order-items-table select{height:48px!important;min-height:48px!important;width:100%!important;min-width:0!important;padding:10px 12px!important;background:#fff!important}
  #p-new #additem{min-height:48px!important;padding-left:18px!important;padding-right:18px!important;font-weight:700!important}
}
@media(min-width:783px) and (max-width:1250px){
  #p-new table.ooms-order-items-table tbody tr{grid-template-columns:48px minmax(230px,2fr) minmax(130px,1fr) repeat(2,minmax(95px,.75fr)) minmax(125px,1fr);}
  #p-new table.ooms-order-items-table tbody td:nth-child(7){grid-column:2!important;grid-row:2!important}
  #p-new table.ooms-order-items-table tbody td:nth-child(8){grid-column:3!important;grid-row:2!important}
  #p-new table.ooms-order-items-table tbody td:nth-child(9){grid-column:4 / span 2!important;grid-row:2!important}
  #p-new table.ooms-order-items-table tbody td:nth-child(10){grid-column:6!important;grid-row:2!important}
}
.invoice-tools{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.invoice-tools [data-print],.invoice-tools [data-pdf],.invoice-tools [data-share]{font-weight:700;min-height:44px}


/* v4.4.0 — Professional low-ink A4 Sales Order and corrected print pagination */
.invoice-hero-light{background:#fff!important;color:#111!important;border-top:5px solid #155a8a;border-bottom:1px solid #aebdca;padding:22px 26px}
.invoice-hero-light .invoice-company h1{color:#111!important;font-family:Arial,sans-serif;font-size:19px;letter-spacing:.2px}
.invoice-hero-light .invoice-company p{color:#394653!important;opacity:1!important}
.invoice-mark-light{background:#f5f7f9!important;color:#155a8a!important;border:1px solid #aebdca!important;border-radius:8px!important;box-shadow:none!important}
.invoice-hero-light .invoice-title span{color:#155a8a!important;opacity:1!important;font-weight:800}
.invoice-hero-light .invoice-title strong{color:#111!important}
.invoice-hero-light .invoice-title small{color:#5d6872!important;opacity:1!important}
.invoice-items th{background:#e9eef2!important;color:#111!important;border-color:#9eabb6!important}
.invoice-totals .grand{background:#eef2f5!important;color:#111!important;border-top:2px solid #155a8a!important}
.invoice-totals .balance{background:#faf7e8!important;color:#3d3421!important}
.invoice-sales-person{background:#f5f8fa!important;border-left:3px solid #155a8a!important;color:#1d3448!important}
.invoice-chip{background:#eef2f5!important;color:#183e5d!important;border:1px solid #c4ced7}

@media print{
  html,body{margin:0!important;padding:0!important;width:210mm!important;height:auto!important;background:#fff!important;overflow:visible!important}
  body *{visibility:visible!important}
  #ooms-app>.ooms,#ooms-app>.ooms-modal,#ooms-app>.ooms-toast{display:none!important}
  #ooms-app>.ooms-print{display:block!important;position:static!important;inset:auto!important;width:194mm!important;min-height:0!important;margin:0 auto!important;padding:0!important;background:#fff!important;color:#111!important;font-family:Arial,Helvetica,sans-serif!important;overflow:visible!important}
  .ooms-print .ooms-invoice{display:block!important;width:194mm!important;max-width:194mm!important;margin:0!important;border:1px solid #8f9aa5!important;border-radius:0!important;box-shadow:none!important;overflow:hidden!important;page-break-inside:avoid!important;break-inside:avoid-page!important}
  .ooms-print .invoice-hero{padding:7mm 7mm 5mm!important;background:#fff!important;color:#111!important;border-top:2mm solid #155a8a!important;border-bottom:1px solid #9ba7b2!important;display:flex!important;min-height:0!important}
  .ooms-print .invoice-mark{width:13mm!important;height:13mm!important;flex:0 0 13mm!important;border-radius:2mm!important;background:#f5f7f9!important;color:#155a8a!important;border:1px solid #9ba7b2!important;font-size:15px!important}
  .ooms-print .invoice-company{gap:4mm!important}.ooms-print .invoice-company h1{font-size:14px!important;margin:0 0 2mm!important;color:#111!important}.ooms-print .invoice-company p{font-size:8px!important;margin:1mm 0!important;color:#333!important;opacity:1!important}
  .ooms-print .invoice-title span{font-size:8px!important;color:#155a8a!important}.ooms-print .invoice-title strong{font-size:20px!important;margin:2mm 0!important;color:#111!important}.ooms-print .invoice-title small{font-size:7px!important;color:#444!important}
  .ooms-print .invoice-meta{grid-template-columns:repeat(4,1fr)!important;background:#f5f6f7!important}.ooms-print .invoice-meta>div{padding:3mm 4mm!important}.ooms-print .invoice-meta span{font-size:7px!important;margin-bottom:1mm!important}.ooms-print .invoice-meta b{font-size:9px!important}
  .ooms-print .invoice-parties{grid-template-columns:1fr 1fr!important;gap:4mm!important;padding:5mm 7mm!important;break-inside:avoid!important}.ooms-print .invoice-party{padding:4mm!important;border-radius:2mm!important}.ooms-print .invoice-party h3{font-size:7px!important;margin-bottom:2mm!important;color:#155a8a!important}.ooms-print .invoice-party h2{font-size:12px!important;margin-bottom:2mm!important}.ooms-print .invoice-party p{font-size:8px!important;line-height:1.35!important;margin:1.2mm 0!important}.ooms-print .invoice-sales-person{padding:2mm!important}
  .ooms-print .invoice-items{padding:0 7mm 4mm!important;overflow:visible!important}.ooms-print .invoice-items table{min-width:0!important;width:100%!important;table-layout:fixed!important;border-collapse:collapse!important}.ooms-print .invoice-items th,.ooms-print .invoice-items td{font-size:7.5px!important;padding:1.8mm 1.5mm!important;border:1px solid #919ba5!important}.ooms-print .invoice-items th{background:#eceff1!important;color:#111!important}.ooms-print .invoice-items th:nth-child(1){width:4%}.ooms-print .invoice-items th:nth-child(2){width:34%}.ooms-print .invoice-items th:nth-child(3){width:12%}.ooms-print .invoice-items th:nth-child(4){width:14%}.ooms-print .invoice-items th:nth-child(5){width:9%}.ooms-print .invoice-items th:nth-child(6){width:9%}.ooms-print .invoice-items th:nth-child(7){width:18%}.ooms-print .invoice-items td small{font-size:6.5px!important;margin-top:1mm!important}
  .ooms-print .invoice-bottom{grid-template-columns:1fr 68mm!important;gap:4mm!important;padding:0 7mm 5mm!important;break-inside:avoid!important}.ooms-print .invoice-notes{min-height:42mm!important;padding:4mm!important;border-radius:2mm!important}.ooms-print .invoice-notes h3{font-size:9px!important;margin-bottom:2mm!important}.ooms-print .invoice-notes p{font-size:7.5px!important;line-height:1.35!important;margin:0!important}.ooms-print .invoice-signatures{margin-top:19mm!important;font-size:7px!important}.ooms-print .invoice-signatures span{min-width:30mm!important;padding-top:1.5mm!important}
  .ooms-print .invoice-totals{border-radius:2mm!important}.ooms-print .invoice-totals>div{padding:2.1mm 3mm!important;font-size:8px!important}.ooms-print .invoice-totals .grand{background:#eef2f5!important;color:#111!important;font-size:10px!important;padding:3mm!important;border-top:1.2mm solid #155a8a!important}.ooms-print .invoice-totals .balance{background:#faf7e8!important;color:#111!important;font-size:9px!important}
  .ooms-print .invoice-footer{display:block!important;padding:2.5mm!important;background:#f6f7f8!important;color:#444!important;font-size:7px!important;border-top:1px solid #aeb7c0!important}
  @page{size:A4 portrait;margin:8mm!important}
}


/* v4.5.0 — assignment-only workflow, spacious product entry and consistent invoice */
.ooms-order-header-form{align-items:start}
.ooms-assign-field select{width:100%;min-height:50px}
.ooms-section-title{display:flex;align-items:end;justify-content:space-between;gap:16px;margin:24px 0 12px}
.ooms-section-title h3{margin:0}.ooms-section-title span{color:#64748b;font-size:14px}
.ooms-order-item-cards{display:grid;gap:16px}
.ooms-order-item-card{border:1px solid #d6e0eb;border-radius:14px;background:#fbfdff;padding:16px;box-shadow:0 2px 7px rgba(15,23,42,.04)}
.ooms-item-card-head{display:flex;align-items:center;justify-content:space-between;padding-bottom:12px;margin-bottom:14px;border-bottom:1px solid #dce5ee}
.ooms-item-card-head>div{display:flex;align-items:center;gap:10px}.ooms-item-card-head span{font-size:12px;font-weight:800;color:#64748b}.ooms-item-card-head strong{display:grid;place-items:center;width:34px;height:34px;border-radius:8px;background:#15588c;color:#fff}
.ooms-item-fields{display:grid;grid-template-columns:minmax(280px,2fr) minmax(120px,.8fr) minmax(100px,.55fr) minmax(100px,.6fr);gap:14px;align-items:end}
.ooms-item-product{grid-column:span 2}.ooms-item-total{grid-column:span 2;display:flex;justify-content:space-between;align-items:center;min-height:52px;padding:12px 16px;border:1px solid #bfd2e4;border-radius:10px;background:#eef6fc}.ooms-item-total span{font-size:12px;font-weight:800;color:#475569;text-transform:uppercase}.ooms-item-total strong{font-size:19px;color:#124f7e}
.invoice-meta-five{grid-template-columns:repeat(5,1fr)!important}
@media (max-width:1180px){.ooms-item-fields{grid-template-columns:repeat(3,minmax(0,1fr))}.ooms-item-product{grid-column:span 2}.ooms-item-total{grid-column:span 2}}
@media (max-width:760px){.ooms-section-title{align-items:flex-start;flex-direction:column;gap:3px}.ooms-item-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.ooms-item-product,.ooms-item-total{grid-column:1/-1}.ooms-item-card-head{align-items:flex-start}.ooms-item-card-head .item-remove-btn{width:auto}.invoice-meta-five{grid-template-columns:repeat(2,1fr)!important}.invoice-meta-five>div:last-child{grid-column:span 2}}
@media (max-width:390px){.ooms-item-fields{grid-template-columns:1fr}.ooms-item-product,.ooms-item-total{grid-column:auto}.ooms-item-total{align-items:flex-start;flex-direction:column;gap:5px}}
@media print{.invoice-meta-five{grid-template-columns:repeat(5,1fr)!important}.ooms-invoice{color:#111!important}.invoice-hero,.invoice-meta,.invoice-party,.invoice-items,.invoice-bottom{break-inside:avoid!important}.invoice-title span,.invoice-party h3{color:#111!important}.invoice-chip{background:#fff!important;border:1px solid #555!important;color:#111!important}}


/* v4.6.0 - Sales Order theme matched to the supplied Omicron tax invoice */
.invoice-reference-theme{font-family:Arial,Helvetica,sans-serif!important;background:#fff!important;color:#111!important;border:1px solid #aaa!important;box-shadow:none!important;max-width:900px;margin:auto;padding:28px 34px 18px}
.ref-doc-title{display:flex;gap:10px;align-items:center;font-size:16px;margin-bottom:22px}.ref-doc-title span{border:1px solid #aaa;background:#f3f3f3;color:#666;padding:4px 8px;font-weight:700;font-size:12px}
.ref-company{display:grid;grid-template-columns:150px 1fr;gap:18px;align-items:center;border-bottom:6px solid #bf5a00;padding:0 0 18px}.ref-company img{width:145px;height:110px;object-fit:contain}.ref-company h1{margin:0 0 8px;color:#bd5700;font-size:27px;line-height:1.08}.ref-company p{margin:3px 0;font-size:13px;line-height:1.3}
.ref-order-strip{display:grid;grid-template-columns:repeat(3,1fr);background:#e8e8e8;padding:16px 18px;margin-bottom:14px;gap:18px;font-size:14px}.ref-order-strip>div:nth-child(2){text-align:center}.ref-order-strip>div:last-child{text-align:right}
.ref-bill{padding:0 0 15px}.ref-bill h3,.ref-left h3{font-size:14px;margin:0 0 8px}.ref-bill h2{font-size:17px;margin:0 0 7px}.ref-bill p,.ref-left p{font-size:13px;margin:4px 0;line-height:1.35}
.ref-items table{width:100%;border-collapse:collapse;table-layout:fixed}.ref-items th,.ref-items td{padding:9px 8px;text-align:right;vertical-align:top;font-size:12px;border-bottom:1px solid #ddd}.ref-items thead th{border-top:2px solid #bf5a00;border-bottom:2px solid #bf5a00;background:#fff}.ref-items th:first-child,.ref-items td:first-child{text-align:left;width:43%}.ref-items td small{display:block;color:#777;margin-top:3px;font-size:10px}.ref-items tfoot th{border-top:2px solid #bf5a00;border-bottom:2px solid #bf5a00;font-size:12px}
.ref-bottom{display:grid;grid-template-columns:1.12fr .88fr;gap:24px;padding:16px 8px 0}.ref-left h3{margin-top:15px}.ref-left h3:first-child{margin-top:0}.ref-terms{white-space:pre-line}.ref-right>div{display:flex;justify-content:space-between;padding:5px 0;font-size:13px}.ref-right .ref-total{border-top:1px solid #555;border-bottom:1px solid #555;padding:9px 0;font-weight:800}.ref-right h4{text-align:center;margin:17px 0 5px;font-size:13px}.ref-right>p{text-align:center;font-size:12px;line-height:1.35}.ref-sign{text-align:center;margin-top:36px;font-size:12px;line-height:1.5}.ref-footer{text-align:center;border-top:1px solid #bf5a00;margin-top:14px;padding-top:9px;font-size:10px;color:#555}
@media(max-width:760px){.invoice-reference-theme{padding:18px 14px}.ref-company{grid-template-columns:85px 1fr}.ref-company img{width:80px;height:70px}.ref-company h1{font-size:18px}.ref-company p{font-size:10px}.ref-order-strip{grid-template-columns:1fr;padding:11px}.ref-order-strip>div:nth-child(2),.ref-order-strip>div:last-child{text-align:left}.ref-items{overflow:auto}.ref-items table{min-width:720px}.ref-bottom{grid-template-columns:1fr}.ref-sign{margin-top:24px}}
@media print{@page{size:A4 portrait;margin:7mm}.ooms-print .invoice-reference-theme{display:block!important;width:196mm!important;max-width:196mm!important;min-height:280mm!important;margin:0!important;padding:6mm 7mm 4mm!important;border:1px solid #777!important;box-sizing:border-box!important;page-break-inside:avoid!important;break-inside:avoid-page!important}.ooms-print .ref-doc-title{font-size:10px!important;margin-bottom:3mm!important}.ooms-print .ref-doc-title span{font-size:7px!important;padding:1mm 2mm!important}.ooms-print .ref-company{grid-template-columns:32mm 1fr!important;gap:3mm!important;border-bottom:1.2mm solid #bf5a00!important;padding-bottom:3mm!important}.ooms-print .ref-company img{width:29mm!important;height:24mm!important}.ooms-print .ref-company h1{font-size:15px!important;margin-bottom:1.5mm!important}.ooms-print .ref-company p{font-size:7px!important;margin:.5mm 0!important}.ooms-print .ref-order-strip{padding:3mm 4mm!important;margin-bottom:3mm!important;font-size:7.5px!important;gap:3mm!important}.ooms-print .ref-bill{padding-bottom:3mm!important}.ooms-print .ref-bill h3,.ooms-print .ref-left h3{font-size:8px!important;margin-bottom:1mm!important}.ooms-print .ref-bill h2{font-size:10px!important;margin-bottom:1mm!important}.ooms-print .ref-bill p,.ooms-print .ref-left p{font-size:7px!important;margin:.6mm 0!important;line-height:1.25!important}.ooms-print .ref-items{overflow:visible!important}.ooms-print .ref-items table{min-width:0!important}.ooms-print .ref-items th,.ooms-print .ref-items td{padding:1.4mm 1.2mm!important;font-size:6.8px!important}.ooms-print .ref-items td small{font-size:5.7px!important}.ooms-print .ref-bottom{grid-template-columns:1.12fr .88fr!important;gap:5mm!important;padding:3mm 2mm 0!important}.ooms-print .ref-left h3{margin-top:3mm!important}.ooms-print .ref-right>div{padding:.9mm 0!important;font-size:7px!important}.ooms-print .ref-right h4{font-size:7px!important;margin:3mm 0 1mm!important}.ooms-print .ref-right>p,.ooms-print .ref-sign{font-size:6.5px!important}.ooms-print .ref-sign{margin-top:8mm!important}.ooms-print .ref-footer{margin-top:2mm!important;padding-top:1.5mm!important;font-size:6px!important}}


/* v4.7.0 - software-theme Sales Order: reference layout, unified navy/orange PDF/view */
.invoice-reference-theme{border:1px solid #b9c8d5!important}
.ref-doc-title{background:#0b3b5e;color:#fff;padding:9px 12px;margin:-28px -34px 20px!important;justify-content:space-between;letter-spacing:.04em}
.ref-doc-title span{border:0!important;background:transparent!important;color:#fff!important;padding:0!important}
.ref-company{border-bottom:4px solid #ff7308!important}
.ref-company h1{color:#0b3b5e!important}
.ref-order-strip{background:#f1f6fa!important;border:1px solid #c6d4df}
.ref-items thead th{background:#0b3b5e!important;color:#fff!important;border-color:#0b3b5e!important}
.ref-items tfoot th{border-color:#0b3b5e!important}
.ref-right .ref-total{background:#f1f6fa;border:1px solid #0b3b5e!important;padding:9px 10px!important;color:#0b3b5e}
.ref-footer{border-color:#0b3b5e!important}
@media print{
 .ooms-print .ref-doc-title{background:#0b3b5e!important;color:#fff!important;margin:-6mm -7mm 3mm!important;padding:2.2mm 3mm!important;-webkit-print-color-adjust:exact!important;print-color-adjust:exact!important}
 .ooms-print .ref-company{border-bottom-color:#ff7308!important}
 .ooms-print .ref-items thead th{background:#0b3b5e!important;color:#fff!important;-webkit-print-color-adjust:exact!important;print-color-adjust:exact!important}
 .ooms-print .ref-right .ref-total{background:#f1f6fa!important;-webkit-print-color-adjust:exact!important;print-color-adjust:exact!important}
}


/* v4.8.0 - original executive Sales Order design */
.invoice-executive-theme{font-family:Inter,Arial,Helvetica,sans-serif!important;background:#fff;color:#17212b;border:1px solid #cbd5df;box-shadow:0 20px 55px rgba(11,59,94,.12);max-width:940px;margin:auto;padding:0;overflow:hidden}
.invoice-executive-theme .exec-topline{height:8px;background:linear-gradient(90deg,#0b3b5e 0 82%,#ff7308 82%);font-size:0}
.invoice-executive-theme .ref-doc-title{margin:0!important;padding:18px 30px 8px;background:#fff;color:#0b3b5e;display:flex;justify-content:space-between;align-items:center;letter-spacing:.14em;border:0}
.invoice-executive-theme .ref-doc-title strong{font-size:13px}.invoice-executive-theme .ref-doc-title span{font-size:11px;text-transform:uppercase;color:#697684!important;background:#f4f7f9!important;padding:5px 9px!important;border-radius:99px}
.invoice-executive-theme .ref-company{display:grid;grid-template-columns:120px 1fr;gap:18px;align-items:center;padding:8px 30px 22px;border-bottom:1px solid #d7e0e8!important}
.invoice-executive-theme .ref-company img{width:110px;height:78px;object-fit:contain}.invoice-executive-theme .ref-company h1{font-size:25px;color:#17212b!important;margin:0 0 7px}.invoice-executive-theme .ref-company p{margin:3px 0;font-size:12px;color:#44515e}
.invoice-executive-theme .ref-order-strip{display:grid;grid-template-columns:repeat(4,1fr);margin:0;padding:0;background:#f6f8fa!important;border:0;border-bottom:1px solid #d7e0e8;gap:0}
.invoice-executive-theme .ref-order-strip>div{padding:14px 18px;border-right:1px solid #d7e0e8;text-align:left!important}.invoice-executive-theme .ref-order-strip>div:last-child{border-right:0}.invoice-executive-theme .ref-order-strip small{display:block;font-size:9px;letter-spacing:.1em;color:#75818d;margin-bottom:5px}.invoice-executive-theme .ref-order-strip b{font-size:13px;color:#17212b}
.invoice-executive-theme .exec-party-grid{display:grid;grid-template-columns:1.18fr .82fr;gap:18px;padding:22px 30px 18px}
.invoice-executive-theme .ref-bill,.invoice-executive-theme .exec-order-info{border:1px solid #d7e0e8;border-radius:8px;padding:16px 18px;background:#fff}.invoice-executive-theme .ref-bill{padding-bottom:16px}
.invoice-executive-theme .ref-bill h3,.invoice-executive-theme .exec-order-info h3{font-size:10px;letter-spacing:.12em;color:#0b3b5e;margin:0 0 10px}.invoice-executive-theme .ref-bill h2{font-size:17px;margin:0 0 8px}.invoice-executive-theme .ref-bill p{font-size:12px;line-height:1.45;margin:4px 0}
.invoice-executive-theme .exec-order-info p{display:grid;grid-template-columns:105px 1fr;gap:8px;font-size:12px;padding:6px 0;margin:0;border-bottom:1px dashed #d7e0e8}.invoice-executive-theme .exec-order-info p:last-child{border-bottom:0}.invoice-executive-theme .exec-order-info span{color:#44515e}
.invoice-executive-theme .ref-items{padding:0 30px}.invoice-executive-theme .ref-items table{width:100%;border-collapse:collapse;table-layout:fixed}.invoice-executive-theme .ref-items thead th{background:#0b3b5e!important;color:#fff!important;border:0!important;padding:10px 8px;font-size:10px;letter-spacing:.04em}.invoice-executive-theme .ref-items td{padding:11px 8px;font-size:11px;border-bottom:1px solid #d7e0e8}.invoice-executive-theme .ref-items th:first-child,.invoice-executive-theme .ref-items td:first-child{text-align:left;width:38%}.invoice-executive-theme .ref-items tfoot th{padding:10px 8px;border-top:2px solid #0b3b5e;border-bottom:0;background:#f6f8fa;color:#17212b;font-size:11px}
.invoice-executive-theme .ref-bottom{display:grid;grid-template-columns:1.1fr .9fr;gap:22px;padding:22px 30px 20px}.invoice-executive-theme .ref-left{border:1px solid #d7e0e8;border-radius:8px;padding:16px}.invoice-executive-theme .ref-left h3{font-size:10px;letter-spacing:.1em;color:#0b3b5e;margin:13px 0 7px}.invoice-executive-theme .ref-left h3:first-child{margin-top:0}.invoice-executive-theme .ref-left p{font-size:11px;margin:4px 0;line-height:1.4}
.invoice-executive-theme .ref-right{border:1px solid #d7e0e8;border-radius:8px;padding:12px 16px}.invoice-executive-theme .ref-right>div{display:flex;justify-content:space-between;padding:7px 0;font-size:11px;border-bottom:1px dashed #d7e0e8}.invoice-executive-theme .ref-right .ref-total{margin:6px -16px 0;padding:11px 16px!important;background:#0b3b5e!important;color:#fff!important;border:0!important;font-size:13px}.invoice-executive-theme .ref-right h4{font-size:10px;text-align:left;color:#0b3b5e;margin:14px 0 5px}.invoice-executive-theme .ref-right>p{text-align:left;font-size:10px}.invoice-executive-theme .ref-sign{margin-top:24px;text-align:right;font-size:10px}
.invoice-executive-theme .ref-footer{display:flex;justify-content:space-between;gap:12px;margin:0;padding:10px 30px;background:#f6f8fa;border-top:1px solid #d7e0e8!important;color:#66727e;font-size:9px}
@media(max-width:760px){.invoice-executive-theme .ref-company{grid-template-columns:75px 1fr;padding:8px 16px 16px}.invoice-executive-theme .ref-company img{width:70px;height:55px}.invoice-executive-theme .ref-company h1{font-size:17px}.invoice-executive-theme .ref-company p{font-size:9px}.invoice-executive-theme .ref-order-strip{grid-template-columns:repeat(2,1fr)}.invoice-executive-theme .exec-party-grid,.invoice-executive-theme .ref-bottom{grid-template-columns:1fr;padding:16px}.invoice-executive-theme .ref-items{padding:0 16px;overflow:auto}.invoice-executive-theme .ref-items table{min-width:700px}.invoice-executive-theme .ref-footer{padding:9px 16px;flex-wrap:wrap}}
@media print{@page{size:A4 portrait;margin:7mm}.ooms-print .invoice-executive-theme{width:196mm!important;max-width:196mm!important;min-height:280mm!important;margin:0!important;border:1px solid #8c99a5!important;box-shadow:none!important;break-inside:avoid-page!important}.ooms-print .invoice-executive-theme .exec-topline{height:2mm!important}.ooms-print .invoice-executive-theme .ref-doc-title{padding:3mm 5mm 1.5mm!important}.ooms-print .invoice-executive-theme .ref-doc-title strong{font-size:8px!important}.ooms-print .invoice-executive-theme .ref-doc-title span{font-size:6px!important;padding:1mm 2mm!important}.ooms-print .invoice-executive-theme .ref-company{grid-template-columns:25mm 1fr!important;gap:3mm!important;padding:1.5mm 5mm 4mm!important}.ooms-print .invoice-executive-theme .ref-company img{width:23mm!important;height:17mm!important}.ooms-print .invoice-executive-theme .ref-company h1{font-size:13px!important;margin-bottom:1mm!important}.ooms-print .invoice-executive-theme .ref-company p{font-size:6.5px!important;margin:.4mm 0!important}.ooms-print .invoice-executive-theme .ref-order-strip{grid-template-columns:repeat(4,1fr)!important}.ooms-print .invoice-executive-theme .ref-order-strip>div{padding:2.5mm 3mm!important}.ooms-print .invoice-executive-theme .ref-order-strip small{font-size:5.5px!important;margin-bottom:.8mm!important}.ooms-print .invoice-executive-theme .ref-order-strip b{font-size:7px!important}.ooms-print .invoice-executive-theme .exec-party-grid{grid-template-columns:1.18fr .82fr!important;gap:3mm!important;padding:4mm 5mm 3mm!important}.ooms-print .invoice-executive-theme .ref-bill,.ooms-print .invoice-executive-theme .exec-order-info{padding:3mm!important;border-radius:1mm!important}.ooms-print .invoice-executive-theme .ref-bill h3,.ooms-print .invoice-executive-theme .exec-order-info h3{font-size:6px!important;margin-bottom:1.2mm!important}.ooms-print .invoice-executive-theme .ref-bill h2{font-size:9px!important;margin-bottom:1mm!important}.ooms-print .invoice-executive-theme .ref-bill p,.ooms-print .invoice-executive-theme .exec-order-info p{font-size:6.2px!important;line-height:1.25!important;margin:.5mm 0!important;padding:.6mm 0!important}.ooms-print .invoice-executive-theme .exec-order-info p{grid-template-columns:23mm 1fr!important}.ooms-print .invoice-executive-theme .ref-items{padding:0 5mm!important;overflow:visible!important}.ooms-print .invoice-executive-theme .ref-items table{min-width:0!important}.ooms-print .invoice-executive-theme .ref-items thead th{font-size:6px!important;padding:1.6mm 1mm!important}.ooms-print .invoice-executive-theme .ref-items td,.ooms-print .invoice-executive-theme .ref-items tfoot th{font-size:6.2px!important;padding:1.5mm 1mm!important}.ooms-print .invoice-executive-theme .ref-bottom{grid-template-columns:1.1fr .9fr!important;gap:3mm!important;padding:3mm 5mm!important}.ooms-print .invoice-executive-theme .ref-left,.ooms-print .invoice-executive-theme .ref-right{padding:3mm!important;border-radius:1mm!important}.ooms-print .invoice-executive-theme .ref-left h3{font-size:6px!important;margin:2mm 0 1mm!important}.ooms-print .invoice-executive-theme .ref-left p,.ooms-print .invoice-executive-theme .ref-right>div{font-size:6.1px!important;line-height:1.25!important;padding:.8mm 0!important}.ooms-print .invoice-executive-theme .ref-right .ref-total{margin:1mm -3mm 0!important;padding:2mm 3mm!important;font-size:7px!important}.ooms-print .invoice-executive-theme .ref-right h4,.ooms-print .invoice-executive-theme .ref-right>p,.ooms-print .invoice-executive-theme .ref-sign{font-size:5.8px!important}.ooms-print .invoice-executive-theme .ref-sign{margin-top:4mm!important}.ooms-print .invoice-executive-theme .ref-footer{padding:1.8mm 5mm!important;font-size:5.4px!important}}
