.ol-page{
  --bg:#f0f2f5;--bg-card:#ffffff;--fg:#1a1a2e;--fg-mut:#4a4a6a;
  --accent:#8e44ad;--green:#27ae60;--orange:#e87722;--red:#e74c3c;
  --row-hover:#e9d8f4;--th-bg:#d0d5dd;--border:#cccccc;
  max-width:1680px;margin:0 auto;padding:8px 10px 24px;
  color:var(--fg);font-family:Helvetica,Arial,sans-serif;font-size:14px;
}
.ol-page .tb,.ol-page .tb2,.ol-page .tb-leg,.ol-page .actbar,.ol-page .tbl-wrap{
  display:flex;flex-wrap:wrap;align-items:center;gap:6px;
  background:var(--bg-card);border-radius:10px;padding:6px 10px;margin-bottom:4px;
}
.ol-page .tb{margin-bottom:4px;padding:10px 12px;gap:14px}
.ol-page .tb2{margin-bottom:2px}
.ol-page h1{font-size:16px;font-weight:700;color:var(--accent);margin:0;letter-spacing:-.3px}
.ol-page .btn{
  display:inline-block;padding:5px 12px;border:none;border-radius:4px;color:#fff;
  font-size:11px;font-weight:600;cursor:pointer;white-space:nowrap;background:var(--accent)
}
.ol-page .btn:hover{opacity:.85}
.ol-page .inp{
  padding:5px 8px;border:1px solid var(--border);border-radius:4px;font-size:12px;background:#fff;color:var(--fg)
}
.ol-page .sel{
  padding:5px 6px;border:1px solid var(--border);border-radius:4px;font-size:11px;background:var(--th-bg);color:var(--fg)
}
.ol-page .leg-btn{
  background:#E3F2FD;color:#1a1a2e;padding:2px 8px;border-radius:4px;border:1px solid #ccc;
  font-weight:700;font-size:11px;cursor:pointer;user-select:none
}
.ol-page .tb-leg{gap:8px;padding:4px 10px}
.ol-page .tb-leg span{display:inline-flex;align-items:center;gap:4px}
.ol-page .actbar{gap:8px;padding:8px 12px;margin-top:0;margin-bottom:4px}
.ol-page .selcount{font-size:12px;font-weight:700;color:var(--fg)}
.ol-page .act-btn{
  display:inline-block;padding:6px 14px;border:none;border-radius:5px;color:#fff;
  font-size:11px;font-weight:700;cursor:pointer;white-space:nowrap
}
.ol-page .act-btn:disabled{opacity:.45;cursor:not-allowed}
.ol-page .tbl-wrap{display:block;overflow-x:auto;padding:0}
.ol-page table{width:100%;border-collapse:collapse;table-layout:fixed;font-size:13px;font-family:Helvetica,Arial,sans-serif}
.ol-page th{
  background:var(--th-bg);color:var(--fg);font-size:12px;font-weight:700;padding:9px 4px;
  text-align:left;border-bottom:1px solid var(--border);position:sticky;top:0;z-index:1;white-space:nowrap
}
.ol-page td{
  padding:5px 4px;border-bottom:1px solid #e0e0e0;vertical-align:middle;font-size:13px;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis
}
.ol-page tbody tr{cursor:pointer}
.ol-page tbody tr:hover td{background:var(--row-hover)!important}
.ol-page .col-eur{width:30px;text-align:center;padding:2px 1px}
.ol-page .col-eur .eur-h{font-size:16px;font-weight:700;color:#1a1a2e;line-height:1}
.ol-page .eur-box{display:inline-flex;align-items:center;justify-content:center;height:20px;font-size:19px;font-weight:700;line-height:1}
.ol-page .col-flagdocs{width:64px;padding:0 2px 0 0;overflow:visible}
.ol-page td.col-flagdocs{overflow:visible}
.ol-page .fd-head,.ol-page .flagdocs-grid{
  display:grid;grid-template-columns:26px 34px;align-items:center;justify-items:start;padding-left:1px
}
.ol-page .flagdocs-grid{height:26px}
.ol-page .flagdocs-grid>:nth-child(2),.ol-page .fd-head .fd-h-docs{justify-self:center}
.ol-page .fd-h-docs{font-size:10px;line-height:1.1}
.ol-page .chk-box{display:inline-flex;align-items:center;justify-content:center;width:22px;height:20px}
.ol-page .chk-box input{margin:0;width:20px;height:20px;cursor:pointer;accent-color:var(--accent)}
.ol-page .docs-box,.ol-page .ana-box{display:inline-flex;align-items:center;justify-content:center;line-height:1}
.ol-page .docs-box{
  width:28px;height:26px;font-size:22px;font-weight:700;overflow:visible;
  cursor:pointer;user-select:none;filter:drop-shadow(0 0 0.4px rgba(0,0,0,.35))
}
.ol-page .docs-box.clickable:hover{transform:scale(1.12)}
.ol-page .ana-box{width:22px;height:18px;font-size:15px;font-weight:800;cursor:pointer;user-select:none}
.ol-page .ana-box.clickable:hover{transform:scale(1.18)}
.ol-page .ana-gfx-wrap{display:inline-flex;align-items:center;justify-content:flex-start;gap:1px;white-space:nowrap}
.ol-page .gfx-list-btn{
  display:inline-flex;align-items:center;justify-content:center;width:18px;height:18px;margin:0;
  padding:0;border:0;border-radius:4px;background:#f3e8ff;color:#6b21a8;font-size:11px;cursor:pointer
}
.ol-page .gfx-list-btn:hover{background:#e9d5ff}
.ol-page .col-ord{width:11%}
.ol-page .col-sito{width:7%;text-align:center}
.ol-page .col-po{width:8%;text-align:center}
.ol-page .col-cli{width:16%}
.ol-page .col-data{width:8%;text-align:center}
.ol-page .col-job{width:9%;white-space:normal;overflow-wrap:anywhere}
.ol-page .col-art{width:11%;white-space:normal;overflow-wrap:anywhere}
.ol-page .col-qty{width:5%;text-align:center}
.ol-page .col-imp{width:7%;text-align:right;font-variant-numeric:tabular-nums;font-size:12px}
.ol-page .col-pi{width:7%;text-align:center;font-size:11px}
.ol-page td.col-pi{white-space:normal;overflow:visible}
.ol-page .col-fatt{width:7%;text-align:center;font-size:11px}
.ol-page td.col-fatt{white-space:normal;overflow:visible}
.ol-page .col-stato{width:12%;text-align:center;font-size:11px;white-space:normal}
.ol-page .col-sped,.ol-page .col-cons{width:8%;text-align:center;font-variant-numeric:tabular-nums}
.ol-page .col-shipst{width:8%;text-align:center;font-size:11px;font-weight:700;white-space:nowrap}
.ol-page a.ol-ship-track,.ol-page a.ol-fic-doc{
  color:inherit;font:inherit;font-weight:inherit;
  text-decoration:underline;text-underline-offset:2px;cursor:pointer
}
.ol-page a.ol-fic-doc{font-weight:700}
.ol-page a.ol-ship-track:hover,.ol-page a.ol-fic-doc:hover{opacity:.82}
.ol-page .ol-delay{color:#c2410c;font-weight:700}
.ol-page .col-ana{width:52px;text-align:center;padding:0 2px}
.ol-page[data-area="card"] .col-ana{width:72px;padding:2px 1px}
.ol-page[data-area="card"] td.col-ana{white-space:nowrap;overflow:visible}
.ol-page .ol-act-wrap{
  display:inline-flex;align-items:center;justify-content:flex-end;gap:4px;flex-wrap:wrap
}
.ol-page .ol-pdf-eye{
  display:inline-flex;align-items:center;justify-content:center;
  width:26px;height:26px;padding:0;border:0;border-radius:8px;
  background:#f3e8ff;color:#6b21a8;font-size:14px;line-height:1;cursor:pointer;appearance:none
}
.ol-page .ol-pdf-eye:hover{background:#e9d5ff}
.ol-page .ol-doc-btn{
  display:inline-flex;align-items:center;justify-content:center;
  height:18px;min-width:28px;padding:0 4px;border:0;border-radius:4px;
  background:#1d4ed8;color:#fff;font-size:9px;font-weight:800;letter-spacing:.02em;
  cursor:pointer;appearance:none;line-height:1
}
.ol-page .ol-doc-btn:hover{background:#1e40af}
.ol-page .ol-dett-btn{
  display:inline-flex;align-items:center;justify-content:center;
  height:26px;padding:0 8px;border:0;border-radius:999px;
  background:#7c3aed;color:#fff;font-size:10px;font-weight:700;cursor:pointer;
  white-space:nowrap;appearance:none
}
.ol-page .ol-dett-btn:hover{background:#6d28d9}
.ol-page .ol-fic-clip{
  display:inline-flex;align-items:center;justify-content:center;
  width:26px;height:26px;border-radius:8px;background:#ecfdf5;color:#047857;
  font-size:13px;line-height:1;text-decoration:none;flex:0 0 auto
}
.ol-page .ol-fic-clip:hover{background:#d1fae5}
.ol-page[data-area="printer"] .col-ana{width:154px;padding:4px 4px}
.ol-page[data-area="printer"] td.col-ana{white-space:normal;overflow:visible}
.ol-page[data-area="printer"] .col-cli{width:22%}
.ol-page[data-area="printer"] .col-ord{width:12%}
.ol-page[data-area="printer"] .col-stato{width:13%}
.ol-dett-box{width:min(920px,94vw);height:min(640px,86vh);display:flex;flex-direction:column}
.ol-dett-body{
  flex:1 1 auto;min-height:0;overflow:auto;padding:12px 14px;background:#fff;display:flex;flex-direction:column;gap:10px
}
.ol-dett-scroll{flex:1 1 auto;min-height:0;overflow:auto;-webkit-overflow-scrolling:touch}
.ol-dett-tbl{width:100%;border-collapse:collapse;font-size:13px}
.ol-dett-tbl th{
  position:sticky;top:0;background:#ede9fe;color:#1a1a2e;font-size:12px;font-weight:700;
  text-align:left;padding:8px 8px;border-bottom:1px solid #ddd6fe;white-space:nowrap
}
.ol-dett-tbl td{padding:8px;border-bottom:1px solid #eee;vertical-align:top}
.ol-dett-tbl .num{text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}
.ol-dett-tbl .ol-dett-nome{white-space:normal;overflow-wrap:anywhere}
.ol-dett-tbl .ol-dett-cod{font-weight:600;color:#6b21a8;white-space:nowrap}
.ol-dett-tot{
  flex:0 0 auto;text-align:right;font-size:15px;font-weight:700;color:#1a1a2e;
  padding:10px 4px 4px;border-top:1px solid #e5e7eb
}
.ol-dett-tot strong{color:#6d28d9;font-size:18px;margin-left:8px}
.ol-dett-empty{margin:24px 8px;text-align:center;color:#6b7280;font-size:14px}
.ol-dett-err{color:#b91c1c}
@media (max-width:720px){
  .ol-page[data-area="printer"] .col-ana{width:132px}
  .ol-page .ol-dett-btn{padding:0 7px;font-size:10px}
}
.ol-page .pg{display:flex;justify-content:space-between;align-items:center;margin-top:4px;font-size:11px;color:#666}
.ol-page .pg button{
  padding:4px 10px;border:1px solid #ccc;border-radius:4px;background:#fff;cursor:pointer;font-size:12px
}
.ol-page .ol-crumb{font-size:12px;color:var(--fg-mut);margin:0 0 8px}
.ol-page .ol-crumb a{color:var(--accent);font-weight:700;text-decoration:none}
.ol-page .btn.ol-new{
  margin-left:0;padding:12px 24px;font-size:16px;font-weight:700;
  border-radius:8px;background:var(--accent)!important;line-height:1.2
}
.ol-page .ol-area-tabs{
  margin:0 -10px 8px;border-radius:10px
}
.ol-page .ol-area-tabs .pt-orders-tab{color:#fff;text-decoration:none}
@media (max-width:720px){
  .ol-page .tb2 .leg-btn{min-height:36px;display:inline-flex;align-items:center;padding:6px 10px!important;font-size:12px!important}
}
.ol-ds-ov{z-index:12000}
.ol-ds-box{
  background:#fff;border-radius:10px;max-width:380px;width:100%;
  box-shadow:0 14px 44px rgba(0,0,0,.35);overflow:hidden
}
.ol-ds-h{padding:12px 16px;font-size:14px;font-weight:700;color:#fff;background:#2b2b3b}
.ol-ds-b{padding:14px 16px;font-size:15px;color:#1a1a2e;line-height:1.45}
.ol-ds-b #dsAwb{padding:6px 2px}
.ol-ds-fic{display:flex;align-items:center;gap:6px;padding:6px 2px}
.ol-ds-link{
  display:inline-flex;align-items:center;justify-content:center;border:0;background:transparent;
  cursor:pointer;color:#4dabf7;font-size:16px;padding:0 2px;line-height:1
}
.ol-ds-link[hidden]{display:none!important}
.ol-ds-f{padding:10px 16px;display:flex;gap:8px;justify-content:flex-end;border-top:1px solid #eee}
.ol-ds-btn{
  padding:7px 16px;border:none;border-radius:5px;font-size:12px;font-weight:700;
  cursor:pointer;background:#d0d5dd;color:#1a1a2e
}
.ol-cum-ban{
  display:none;background:#fff7ed;border:1px solid #fdba74;color:#9a3412;
  border-radius:10px;padding:8px 12px;margin:0 0 8px;font-size:13px;font-weight:600
}
.ol-cum-ban:not([hidden]){display:block}
