*{box-sizing:border-box}body{font-family:Arial,Helvetica,sans-serif;margin:0;background:#f4f6fb;color:#182235;font-size:15px}.wrap{max-width:1500px;margin:0 auto;padding:24px}.top{background:#101827;color:#fff;padding:14px 24px;display:flex;align-items:center;gap:18px;flex-wrap:wrap;box-shadow:0 4px 16px rgba(0,0,0,.12)}.brand{font-size:20px;font-weight:800;margin-right:10px}.links{display:flex;gap:8px;flex-wrap:wrap}.top a{color:#fff;text-decoration:none;padding:8px 10px;border-radius:8px;font-weight:700}.top a:hover{background:rgba(255,255,255,.14)}h1{font-size:32px;margin:0 0 8px}h2{margin:0 0 12px}.card{background:#fff;border-radius:16px;padding:18px;margin:16px 0;box-shadow:0 6px 22px rgba(16,24,39,.08);border:1px solid #eef0f5}.grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin:18px 0}.kpi{background:#fff;border-radius:16px;padding:18px;box-shadow:0 6px 22px rgba(16,24,39,.08);border:1px solid #eef0f5;color:#475467}.kpi b{font-size:30px;display:block;margin-top:8px;color:#101827}.muted{color:#667085}.btn{display:inline-block;background:#2563eb;color:#fff!important;padding:10px 14px;border-radius:10px;text-decoration:none;border:0;cursor:pointer;font-weight:700}.btn:hover{background:#1d4ed8}.btn2{display:inline-block;background:#eef2ff;color:#1d4ed8!important;padding:9px 12px;border-radius:10px;text-decoration:none;border:0;cursor:pointer;margin:3px;font-weight:700}.danger{color:#b42318}.ok{color:#027a48}.warn{color:#b54708}.pill{display:inline-block;padding:6px 10px;border-radius:999px;font-size:12px;font-weight:bold;background:#eef2ff;color:#1d4ed8;margin:3px}.pill.red{background:#fee4e2;color:#b42318}.pill.green{background:#dcfae6;color:#027a48}.pill.orange{background:#fef0c7;color:#b54708}.tablebox{overflow:auto;border:1px solid #e5e7eb;border-radius:14px;background:#fff;box-shadow:0 6px 22px rgba(16,24,39,.06)}table{width:100%;border-collapse:collapse;font-size:13px}th,td{padding:10px 11px;border-bottom:1px solid #eef0f3;text-align:left;white-space:nowrap}th{background:#f8fafc;position:sticky;top:0;z-index:2;cursor:pointer;color:#344054}tr:hover{background:#fbfdff}input,select{padding:10px;border:1px solid #d0d5dd;border-radius:10px;margin:3px;background:#fff}.filters{display:flex;gap:8px;flex-wrap:wrap;align-items:end}.login{max-width:420px;margin:80px auto}.small{font-size:12px}.colpanel label{display:inline-block;margin:5px 10px 5px 0}.hidden-col{display:none}.notice{background:#fffbeb;border:1px solid #fedf89;border-radius:14px;padding:14px;margin:14px 0}.footer{color:#667085;font-size:12px;margin-top:20px}@media(max-width:1000px){.grid{grid-template-columns:repeat(2,1fr)}.top{align-items:flex-start}}@media(max-width:650px){.grid{grid-template-columns:1fr}.wrap{padding:14px}.links{gap:4px}.top a{padding:7px 8px}h1{font-size:26px}}


/* V8 table usability fixes */
.tablebox{
  overflow:auto;
  max-height:calc(100vh - 245px);
  resize:vertical;
  min-height:260px;
  position:relative;
}
table{width:max-content;min-width:100%;border-collapse:separate;border-spacing:0;}
th,td{min-width:90px;}
th{user-select:none;}
th .sortmark:after{content:' ⇅';font-size:11px;color:#98a2b3;font-weight:400;}
th.sort-asc .sortmark:after{content:' ↑';color:#2563eb;font-weight:800;}
th.sort-desc .sortmark:after{content:' ↓';color:#2563eb;font-weight:800;}
.col-resizer{position:absolute;right:0;top:0;width:8px;height:100%;cursor:col-resize;z-index:5;}
.col-resizer:hover{background:rgba(37,99,235,.18);}
.channel-count{display:inline-block;min-width:32px;text-align:center;padding:6px 9px;border-radius:999px;font-weight:800;background:#dcfae6;color:#027a48;}
.channel-count.zero{background:#fee4e2;color:#b42318;}
.channel-count.multi{background:#eef2ff;color:#1d4ed8;}
.table-note{font-size:12px;color:#667085;margin-top:8px;}

/* V9 merged coverage/status + stronger Excel-like resizing */
.tablebox.sticky-scroll{
  overflow:auto;
  max-height:calc(100vh - 235px);
  min-height:360px;
  resize:vertical;
}
table.resizable{table-layout:fixed;width:max-content;min-width:100%;}
table.resizable th, table.resizable td{overflow:hidden;text-overflow:ellipsis;vertical-align:middle;}
.resizing-cols{cursor:col-resize!important;user-select:none!important;}
.resizing-cols *{cursor:col-resize!important;}
.col-resizer{position:absolute;right:-4px;top:0;width:10px;height:100%;cursor:col-resize;z-index:10;border-right:2px solid transparent;}
.col-resizer:hover{border-right-color:#2563eb;background:rgba(37,99,235,.12);}
.channel-th{min-width:145px;text-align:center;}
.sort-actions{display:flex;gap:4px;justify-content:center;margin-top:5px;}
.sort-actions button{font-size:10px;border:1px solid #d0d5dd;background:#fff;border-radius:7px;padding:3px 5px;cursor:pointer;color:#344054;}
.sort-actions button:hover{background:#eef2ff;color:#1d4ed8;border-color:#a5b4fc;}
.coverage-cell{text-align:center;font-weight:800;line-height:1.2;min-width:125px;}
.coverage-cell.live{background:#ecfdf3;color:#027a48;}
.coverage-cell.blocked{background:#fee4e2!important;color:#b42318;}
.coverage-cell.missing{background:#fff7ed;color:#b54708;}
.mark{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:50%;font-weight:900;font-size:18px;}
.mark.tick{background:#12b76a;color:#fff;}
.mark.cross{background:#f04438;color:#fff;}
.detail-status-label{font-size:11px;margin-top:4px;font-weight:900;color:#344054;white-space:normal;line-height:1.2;}
.coverage-cell.blocked .detail-status-label{color:#b42318;}
.count-badge{display:block;font-size:10px;margin-top:4px;color:#344054;font-weight:700;}
.coverage-cell[data-tooltip]{cursor:pointer;}


/* V10 final resize fix: widths are applied to every cell, not only colgroup */
table.resizable{table-layout:fixed!important;border-collapse:separate!important;width:auto;}
table.resizable th, table.resizable td{box-sizing:border-box;overflow:hidden;text-overflow:ellipsis;}
.col-resizer{right:-5px!important;width:12px!important;background:transparent;}
.col-resizer:active{background:rgba(37,99,235,.28)!important;border-right-color:#1d4ed8!important;}

/* V11 persistent widths + compact coverage page + click tooltip */
.page-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:10px 0 14px;}
.page-toolbar .filters{margin:0;}
.page-count{font-weight:800;background:#fff;border:1px solid #e5e7eb;border-radius:12px;padding:10px 13px;box-shadow:0 4px 14px rgba(16,24,39,.05);white-space:nowrap;}
.compact-title{display:flex;align-items:end;justify-content:space-between;gap:14px;flex-wrap:wrap;margin-bottom:8px;}
.compact-title h1{margin:0;font-size:26px;}
.tablebox.sticky-scroll{max-height:calc(100vh - 170px)!important;min-height:440px;}
.coverage-cell{cursor:pointer!important;}
.coverage-tooltip{display:none;position:fixed;z-index:99999;width:420px;max-width:calc(100vw - 24px);max-height:250px;overflow:auto;background:#101827;color:#fff;border-radius:14px;box-shadow:0 18px 45px rgba(0,0,0,.28);padding:0;border:1px solid rgba(255,255,255,.12);}
.coverage-tooltip .tooltip-head{position:sticky;top:0;display:flex;align-items:center;justify-content:space-between;gap:10px;background:#182235;padding:10px 12px;border-bottom:1px solid rgba(255,255,255,.12);}
.coverage-tooltip button{background:#2563eb;color:#fff;border:0;border-radius:8px;padding:6px 10px;font-weight:700;cursor:pointer;}
.coverage-tooltip pre{white-space:pre-wrap;word-break:break-word;margin:0;padding:12px;font-family:Consolas,Monaco,monospace;font-size:12px;line-height:1.45;}


/* V15 requested changes */
.top{position:sticky;top:0;z-index:10000;}
.tablebox thead th{position:sticky!important;top:0!important;z-index:50!important;}
.coverage-cell{cursor:default!important;}
.coverage-cell[data-tooltip]{cursor:default!important;}
.mark[data-tooltip]{cursor:pointer!important;}
.listing-count-mini{display:block;font-size:9px;line-height:1;margin-top:3px;color:#344054;font-weight:700;opacity:.85;}
.coverage-cell.blocked .listing-count-mini{color:#7a271a;}
.detail-status-label{font-size:10px!important;font-weight:800!important;}
.sort-actions button{font-size:11px!important;padding:4px 8px!important;}


/* V16 issue filters + out-of-stock products */
.issue-toolbar form{display:flex;gap:8px;flex-wrap:wrap;align-items:center;margin:0;}
.quick-filters{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 12px;}
.quick-filters a{display:inline-block;background:#fff;border:1px solid #d0d5dd;color:#344054;text-decoration:none;border-radius:999px;padding:7px 10px;font-size:12px;font-weight:800;box-shadow:0 2px 8px rgba(16,24,39,.04);}
.quick-filters a:hover{background:#eef2ff;border-color:#a5b4fc;color:#1d4ed8;}
.stock-zero{background:#fff1f3!important;color:#c01048!important;font-weight:900;}
.coverage-cell.closed{background:#fff1f3!important;color:#c01048!important;}
.coverage-cell.closed .detail-status-label{color:#c01048!important;}
.coverage-cell.live .detail-status-label{color:#027a48!important;}
.sort-actions button[title="Sort channel issues"]{background:#fff7ed;}


/* V17 tooltip placement/content refinement */
.coverage-tooltip{width:420px;pointer-events:auto;}
.coverage-tooltip pre{font-size:12px;line-height:1.5;}
.mark[data-tooltip]{position:relative;}


/* V18 hover compare: sold qty header + side-by-side listing cards */
.coverage-tooltip-v18{
  width:auto!important;
  min-width:420px;
  max-width:calc(100vw - 24px);
  max-height:360px;
  overflow:auto;
  padding:0!important;
}
.coverage-tooltip-v18 .tooltip-body{padding:0;}
.tooltip-sold{
  position:sticky;
  top:0;
  z-index:2;
  background:#182235;
  color:#fff;
  padding:10px 12px;
  font-weight:900;
  border-bottom:1px solid rgba(255,255,255,.14);
}
.tooltip-cards{
  display:flex;
  gap:10px;
  align-items:stretch;
  padding:12px;
  overflow:auto;
  max-width:calc(100vw - 24px);
}
.listing-card{
  flex:0 0 285px;
  background:#fff;
  color:#182235;
  border-radius:12px;
  padding:10px;
  line-height:1.45;
  font-size:12px;
  box-shadow:0 8px 22px rgba(0,0,0,.18);
}
.listing-card-title{
  font-weight:900;
  color:#1d4ed8;
  margin-bottom:6px;
  border-bottom:1px solid #e5e7eb;
  padding-bottom:5px;
}
.listing-card div{white-space:normal;word-break:break-word;margin:3px 0;}
.profit-table .group-head th{position:sticky;top:54px;z-index:4;background:#eef3ff;text-align:center;font-size:12px;border-bottom:1px solid #cfd8ee}
.profit-table thead tr:nth-child(2) th{top:86px}
.channel-group{background:#e9f1ff!important;color:#12244a}
.dup-row td{border-top:1px solid rgba(0,0,0,.08)}
.dup-colour-1 td{background:#fff7e6}
.dup-colour-2 td{background:#eefaf1}
.dup-colour-3 td{background:#eef6ff}
.dup-colour-4 td{background:#fff0f5}
.dup-colour-5 td{background:#f5f0ff}
.dup-colour-6 td{background:#f7f7f7}
.compact-filter-row form{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.small-note{font-size:12px;margin-top:8px}


/* V22.2 compact profitability widths/performance */
.profit-tablebox{max-height:calc(100vh - 185px)!important;min-height:460px!important;}
.profit-table{font-size:12px!important;table-layout:fixed!important;}
.profit-table th,.profit-table td{padding:6px 7px!important;line-height:1.25!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;min-width:45px!important;}
.profit-table .group-head th{padding:7px!important;font-size:12px!important;}
.profit-table thead tr:nth-child(2) th{font-size:11px!important;}
.profit-table td:nth-child(2){white-space:nowrap!important;}
.profit-table td,.profit-table th{max-width:260px;}
.profit-table .danger,.profit-table .warn,.profit-table .ok{font-weight:800;}
.profit-table .dup-row td{border-top:1px solid rgba(0,0,0,.10)!important;}
.profit-table .channel-group{font-size:12px!important;}
.profit-tablebox .col-resizer{width:10px!important;}


/* V24 profitability resize fix: use same effective resizing behaviour as Coverage/Status */
.profit-table th,.profit-table td{max-width:none!important;}
.profit-table .group-head th{max-width:none!important;width:auto!important;min-width:0!important;}
.profit-table.resizable{width:auto!important;min-width:100%!important;table-layout:fixed!important;}
.profit-tablebox{overflow:auto!important;}
.profit-table .col-resizer{right:-5px!important;width:12px!important;}

/* V25 profitability resize fix */
.profit-table.resizable{table-layout:fixed!important;width:max-content!important;min-width:100%!important;}
.profit-table th,.profit-table td{box-sizing:border-box!important;}
.profit-tablebox{overflow:auto!important;}

/* V26 Pricing visual refinements */
.compact-colpanel{padding:10px 12px!important;margin:10px 0!important;}
.compact-colpanel summary{cursor:pointer;font-size:14px;user-select:none;}
.column-toggle-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(145px,1fr));gap:4px 10px;margin-top:10px;max-height:210px;overflow:auto;padding:6px;border:1px solid #eef0f5;border-radius:12px;background:#fbfdff;}
.column-toggle-grid label{font-size:12px;margin:0!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.profit-table thead tr:last-child th{white-space:normal!important;line-height:1.08!important;text-align:center!important;vertical-align:middle!important;font-size:11px!important;padding:6px 7px!important;}
.profit-table .group-head th{white-space:normal!important;line-height:1.15!important;}
.profit-table td{font-size:12px!important;}

/* V27 Pricing grouped header + channel colour refinements */
.profit-table .group-head th{position:sticky!important;top:0!important;z-index:80!important;text-align:center!important;font-size:12px!important;border-bottom:1px solid rgba(0,0,0,.12)!important;}
.profit-table thead tr:nth-child(2) th{position:sticky!important;top:31px!important;z-index:75!important;}
.profit-table .product-group,.profit-table .product-col{background:#f8fafc!important;}
.profit-table th.ch-color-1,.profit-table td.ch-color-1{background:#eef6ff!important;}
.profit-table th.ch-color-2,.profit-table td.ch-color-2{background:#f0fff4!important;}
.profit-table th.ch-color-3,.profit-table td.ch-color-3{background:#fff7ed!important;}
.profit-table th.ch-color-4,.profit-table td.ch-color-4{background:#f5f3ff!important;}
.profit-table th.ch-color-5,.profit-table td.ch-color-5{background:#fff1f2!important;}
.profit-table th.ch-color-6,.profit-table td.ch-color-6{background:#ecfeff!important;}
.profit-table .group-head th.ch-color-1{background:#dbeafe!important;color:#102a56!important;}
.profit-table .group-head th.ch-color-2{background:#dcfce7!important;color:#14532d!important;}
.profit-table .group-head th.ch-color-3{background:#ffedd5!important;color:#7c2d12!important;}
.profit-table .group-head th.ch-color-4{background:#ede9fe!important;color:#3b0764!important;}
.profit-table .group-head th.ch-color-5{background:#ffe4e6!important;color:#881337!important;}
.profit-table .group-head th.ch-color-6{background:#cffafe!important;color:#164e63!important;}
.profit-table tbody tr:hover td{filter:brightness(.985);}
.profit-table .danger{color:#b42318!important;}
.profit-table .warn{color:#b54708!important;}
.profit-table .ok{color:#027a48!important;}

/* V28 Pricing visual + column behaviour fixes */
.profit-table thead tr:last-child th{
  text-align:center!important;
  position:sticky!important;
  padding-right:22px!important;
}
.profit-table thead tr:last-child th .th-label{
  display:block!important;
  text-align:center!important;
  width:100%!important;
}
.profit-table thead tr:last-child th .sortmark{
  position:absolute!important;
  right:9px!important;
  top:50%!important;
  transform:translateY(-50%)!important;
  display:inline-block!important;
  width:12px!important;
  text-align:right!important;
}
.profit-table thead tr:last-child th .sortmark:after{margin-left:0!important;}
.profit-table .group-head th{transition:none!important;}
.compact-colpanel .colpanel-actions{margin:8px 0 10px 0;display:flex;gap:8px;align-items:center;}
.profit-tablebox{overflow:auto!important;}
.profit-table.resizable{table-layout:fixed!important;width:max-content!important;min-width:100%!important;}
.profit-table th[style*="display: none"], .profit-table td[style*="display: none"]{width:0!important;min-width:0!important;max-width:0!important;padding:0!important;border:0!important;}


/* V30 product image thumbnails */
.product-thumb{width:46px;height:46px;object-fit:cover;border-radius:8px;border:1px solid #d9e2ef;background:#fff;cursor:pointer;display:block;margin:auto;box-shadow:0 1px 3px rgba(15,23,42,.10);}
.product-thumb:hover{transform:scale(1.04);box-shadow:0 4px 14px rgba(15,23,42,.18);}
.product-no-image{font-size:11px;color:#94a3b8;white-space:nowrap;}
.image-modal{position:fixed;inset:0;z-index:9999;display:none;align-items:center;justify-content:center;padding:24px;}
.image-modal-backdrop{position:absolute;inset:0;background:rgba(15,23,42,.68);backdrop-filter:blur(2px);}
.image-modal-box{position:relative;z-index:1;max-width:min(92vw,980px);max-height:92vh;background:#fff;border-radius:16px;padding:14px;box-shadow:0 24px 80px rgba(0,0,0,.35);}
.image-modal-box img{display:block;max-width:100%;max-height:82vh;object-fit:contain;border-radius:10px;}
.image-modal-close{position:absolute;right:8px;top:8px;width:34px;height:34px;border:0;border-radius:50%;background:#111827;color:#fff;font-size:22px;line-height:32px;cursor:pointer;z-index:2;}
.image-modal-close:hover{background:#dc2626;}

/* V31 row numbering, row selection, and Excel export */
.export-toolbar{display:flex;align-items:center;gap:10px;margin:0 0 8px 0;position:sticky;left:0;z-index:20;width:max-content;max-width:100%;}
.export-toolbar .btn2{font-size:12px;padding:7px 10px;}
th.rownum-col,td.rownum-col{width:42px!important;min-width:42px!important;max-width:42px!important;text-align:center!important;font-weight:800!important;background:#f8fafc!important;color:#344054!important;}
th.select-col,td.select-col{width:70px!important;min-width:70px!important;max-width:70px!important;text-align:center!important;background:#f8fafc!important;}
th.select-col input,td.select-col input{width:16px;height:16px;cursor:pointer;}
.resizing-cols th.select-col,.resizing-cols td.select-col,.resizing-cols th.rownum-col,.resizing-cols td.rownum-col{user-select:none;}
table tbody tr.selected-row td, table tbody tr:has(input.row-select:checked) td{outline:1px solid rgba(37,99,235,.18);background-color:#eff6ff!important;}

/* V33 performance cleanup: faster large tables */
table.resizable, #mainTable{table-layout:fixed!important;}
th,td{overflow:hidden;text-overflow:ellipsis;}
.product-thumb{width:48px;height:48px;object-fit:cover;border-radius:6px;display:block;cursor:pointer;}
.rownum-col{width:42px!important;min-width:42px!important;max-width:42px!important;text-align:center;}
.select-col{width:70px!important;min-width:70px!important;max-width:70px!important;text-align:center;}
.select-col input{margin:0;padding:0;}


/* V34 unified table header text sizing - same logic as Pricing page */
.tablebox table thead tr:last-child th{
  font-size:11px!important;
  line-height:1.08!important;
  text-align:center!important;
  vertical-align:middle!important;
  white-space:normal!important;
  padding:6px 22px 6px 7px!important;
  position:sticky!important;
}
.tablebox table thead tr:last-child th .th-label{
  display:block!important;
  width:100%!important;
  text-align:center!important;
  white-space:normal!important;
  line-height:1.08!important;
}
.tablebox table thead tr:last-child th .sortmark{
  position:absolute!important;
  right:9px!important;
  top:50%!important;
  transform:translateY(-50%)!important;
  display:inline-block!important;
  width:12px!important;
  text-align:right!important;
}
.tablebox table thead tr:last-child th .sortmark:after{margin-left:0!important;}
.tablebox table thead tr:last-child th.rownum-col,
.tablebox table thead tr:last-child th.select-col{
  padding:6px 4px!important;
  font-size:11px!important;
}
.tablebox table thead tr:last-child th.rownum-col .sortmark,
.tablebox table thead tr:last-child th.select-col .sortmark{display:none!important;}
.channel-th .sort-actions{margin-top:4px;}
.channel-th .sort-actions button{font-size:10px!important;padding:3px 5px!important;}

/* subtle column separators */
.tablebox table th,.tablebox table td{border-right:1px solid #f1f3f5!important;}
.tablebox table th:last-child,.tablebox table td:last-child{border-right:none!important;}
.tablebox table thead th{border-bottom:1px solid #dfe3e8!important;}


/* Sales page lightweight SVG trend sparkline */
.sales-sparkline{display:block;width:96px;height:28px;margin:0 auto;}
.sales-sparkline polyline{fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;}
.sales-sparkline.empty{display:block;text-align:center;color:#98a2b3;font-weight:700;line-height:28px;}
.profit-table td.trend-col{padding-top:4px!important;padding-bottom:4px!important;}

/* V44 centered sales metrics */
#mainTable th:nth-child(4),
#mainTable td:nth-child(4),
#mainTable th:nth-child(5),
#mainTable td:nth-child(5),
#mainTable th:nth-child(n+7),
#mainTable td:nth-child(n+7){
  text-align:center!important;
  vertical-align:middle!important;
}

#mainTable td:nth-child(4),
#mainTable td:nth-child(5),
#mainTable td:nth-child(n+7){
  font-weight:600;
}

/* V46 sales header alignment fix: keep header text centered to the data column while sort icon stays on the right */
body.sales-page #mainTable thead tr:last-child th,
#mainTable.sales-table thead tr:last-child th{
  padding-left:22px!important;
  padding-right:22px!important;
  text-align:center!important;
  position:sticky!important;
}
body.sales-page #mainTable thead tr:last-child th .th-label,
#mainTable.sales-table thead tr:last-child th .th-label{
  display:block!important;
  width:100%!important;
  text-align:center!important;
  margin:0 auto!important;
}
body.sales-page #mainTable thead tr:last-child th .sortmark,
#mainTable.sales-table thead tr:last-child th .sortmark{
  position:absolute!important;
  right:7px!important;
  top:50%!important;
  transform:translateY(-50%)!important;
  width:12px!important;
  text-align:right!important;
  pointer-events:none!important;
}


/* V47 clean sheet functionality only */
.sheet-toolbar{position:sticky;left:0;z-index:25;width:max-content;max-width:100%;display:flex;align-items:center;justify-content:space-between;gap:14px;margin:0 0 8px 0;padding:8px 10px;border:1px solid #e5e7eb;border-radius:12px;background:#ffffff;box-shadow:0 2px 8px rgba(16,24,40,.04);}
.sheet-tabs{display:flex;align-items:center;gap:6px;flex-wrap:wrap;}
.sheet-tab,.sheet-add{border:1px solid #d0d5dd;background:#f8fafc;color:#344054;border-radius:999px;padding:6px 10px;font-size:12px;font-weight:800;cursor:pointer;}
.sheet-tab span{display:inline-block;margin-left:4px;background:#e5e7eb;color:#344054;border-radius:999px;padding:1px 6px;font-size:10px;line-height:1.4;}
.sheet-tab.active{background:#1d4ed8;color:#fff;border-color:#1d4ed8;}
.sheet-tab.active span{background:rgba(255,255,255,.24);color:#fff;}
.sheet-add{background:#ecfeff;color:#155e75;border-color:#a5f3fc;}
.sheet-actions{display:flex;align-items:center;gap:6px;flex-wrap:wrap;}
.sheet-actions select{height:30px;border:1px solid #d0d5dd;border-radius:9px;padding:4px 8px;font-size:12px;background:#fff;}
.sheet-actions .btn2{font-size:12px!important;padding:6px 9px!important;}
@media(max-width:900px){.sheet-toolbar{align-items:flex-start;flex-direction:column;width:auto;}.sheet-actions{width:100%;}}

/* V48 header/page space improvements */
.wrap{padding-top:14px!important;}
.top{background:linear-gradient(135deg,#0f172a 0%,#1e3a8a 52%,#2563eb 100%);padding:12px 24px;}
.links a{border:1px solid rgba(255,255,255,.10);background:rgba(255,255,255,.06);transition:all .18s ease;}
.links a.active{background:#fff!important;color:#1d4ed8!important;box-shadow:0 6px 18px rgba(0,0,0,.18);border-color:#fff;}
.links a.active:hover{background:#fff!important;color:#1d4ed8!important;}
.quick-filters{display:none!important;}
.page-toolbar{margin-top:0!important;}


/* V49 Status page and top navigation polish */
.top{flex-wrap:nowrap!important;}
.links{flex:1;align-items:center;}
.top a.active{background:linear-gradient(135deg,#2563eb,#7c3aed);box-shadow:0 8px 18px rgba(37,99,235,.28);}
.top a.logout-link{margin-left:auto;background:#ef4444;color:#fff!important;}
.top a.logout-link:hover{background:#dc2626;}
th.no-sort{cursor:default!important;}
th.no-sort .sortmark:after{content:''!important;}
.channel-th.no-sort{padding-top:12px;padding-bottom:12px;}
.channel-th.no-sort .th-label{display:block;text-align:center;width:100%;}
@media(max-width:650px){.top{flex-wrap:wrap!important}.top a.logout-link{margin-left:0;}}

/* V50 brand, compact sheets, selection action polish */
.brand{white-space:nowrap;}
.sheet-toolbar{gap:10px;padding:7px 9px;border-radius:14px;background:linear-gradient(180deg,#ffffff,#f8fafc);}
.sheet-tabs{gap:5px;flex-wrap:nowrap;overflow-x:auto;max-width:calc(100vw - 390px);padding-bottom:1px;scrollbar-width:thin;}
.sheet-tab,.sheet-add{position:relative;white-space:nowrap;padding:6px 9px;line-height:1;border-radius:999px;}
.sheet-add{min-width:30px;height:30px;padding:0;font-size:18px;font-weight:900;display:inline-flex;align-items:center;justify-content:center;}
.sheet-tab .sheet-count{display:inline-flex;margin-left:5px;min-width:18px;height:18px;align-items:center;justify-content:center;background:#e5e7eb;color:#344054;border-radius:999px;padding:0 5px;font-size:10px;line-height:1;}
.sheet-tab.active .sheet-count{background:rgba(255,255,255,.24);color:#fff;}
.sheet-edit{display:none;margin-left:5px;width:18px;height:18px;border-radius:999px;align-items:center;justify-content:center;background:rgba(255,255,255,.25);font-size:12px;line-height:18px;}
.sheet-tab.active:hover .sheet-edit{display:inline-flex;}
.sheet-actions{margin-left:auto;background:#eff6ff;border:1px solid #bfdbfe;border-radius:999px;padding:4px 5px 4px 10px;box-shadow:0 4px 12px rgba(37,99,235,.10);}
.sheet-selected-count{font-size:12px;font-weight:900;color:#1d4ed8;padding-right:4px;}
.sheet-move-label{font-size:12px;font-weight:700;color:#475467;}
.sheet-actions select{height:28px;border-radius:999px;font-weight:700;}
.sheet-actions .sheet-move{border-radius:999px!important;background:#2563eb!important;color:#fff!important;border-color:#2563eb!important;}
@media(max-width:900px){.sheet-tabs{max-width:100%;flex-wrap:wrap}.sheet-actions{margin-left:0;border-radius:14px}.sheet-toolbar{width:auto}}

/* V51 clean sheet tabs: only count badge is highlighted */
.sheet-tab,
.sheet-tab.active{
  background:transparent !important;
  color:#344054 !important;
  border-color:#d0d5dd !important;
  font-size:12px !important;
  font-weight:600 !important;
  box-shadow:none !important;
}
.sheet-tab:hover,
.sheet-tab.active:hover{
  background:#f8fafc !important;
  color:#1d2939 !important;
}
.sheet-tab .sheet-name{
  background:transparent !important;
  color:inherit !important;
  font-size:12px !important;
  font-weight:600 !important;
  padding:0 !important;
  margin:0 !important;
  line-height:1.2 !important;
}
.sheet-tab .sheet-count,
.sheet-tab.active .sheet-count{
  display:inline-flex !important;
  margin-left:5px !important;
  min-width:18px !important;
  height:18px !important;
  align-items:center !important;
  justify-content:center !important;
  background:#1d4ed8 !important;
  color:#ffffff !important;
  border-radius:999px !important;
  padding:0 5px !important;
  font-size:10px !important;
  font-weight:800 !important;
  line-height:1 !important;
}
.sheet-edit{
  background:#eef2ff !important;
  color:#1d4ed8 !important;
}

/* V52 overview dashboard */
.overview-wrap{max-width:1600px;}
.overview-head{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:8px 0 14px;}
.overview-head h1{margin:0 0 3px;font-size:24px;letter-spacing:-.03em;color:#101828;}
.overview-head p{margin:0;}
.overview-grid{display:grid;gap:12px;}
.overview-top-grid{grid-template-columns:repeat(4,minmax(180px,1fr));margin-bottom:14px;}
.overview-card{display:block;text-decoration:none;border:1px solid #e5e7eb;background:#fff;border-radius:18px;padding:16px;box-shadow:0 10px 26px rgba(16,24,40,.06);color:#101828;transition:.16s ease;}
.overview-card:hover{transform:translateY(-1px);box-shadow:0 14px 30px rgba(16,24,40,.10);}
.overview-card span{display:block;font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.03em;color:#667085;}
.overview-card b{display:block;font-size:34px;line-height:1;margin:9px 0 6px;letter-spacing:-.04em;}
.overview-card small{color:#667085;font-weight:600;}
.overview-card.blue{border-color:#bfdbfe;background:linear-gradient(180deg,#eff6ff,#fff);}
.overview-card.orange{border-color:#fed7aa;background:linear-gradient(180deg,#fff7ed,#fff);}
.overview-card.red{border-color:#fecaca;background:linear-gradient(180deg,#fef2f2,#fff);}
.overview-card.grey{border-color:#e5e7eb;background:linear-gradient(180deg,#f8fafc,#fff);}
.overview-section{margin-top:14px;}
.section-title{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0 0 8px;}
.section-title h2{margin:0;font-size:17px;color:#101828;letter-spacing:-.02em;}
.channel-overview{display:grid;grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:12px;}
.channel-card,.overview-panel{background:#fff;border:1px solid #e5e7eb;border-radius:18px;padding:14px;box-shadow:0 10px 26px rgba(16,24,40,.05);}
.channel-card h3{margin:0 0 10px;font-size:16px;color:#101828;}
.metric-grid{display:grid;grid-template-columns:repeat(2,minmax(120px,1fr));gap:8px;}
.metric{display:flex;align-items:center;justify-content:space-between;gap:8px;text-decoration:none;border:1px solid #e5e7eb;border-radius:14px;padding:10px;background:#f9fafb;color:#344054;}
.metric span{font-size:12px;font-weight:700;}
.metric b{font-size:20px;color:#101828;}
.metric.good{background:#f0fdf4;border-color:#bbf7d0;}
.metric.warn{background:#fff7ed;border-color:#fed7aa;}
.metric.bad{background:#fef2f2;border-color:#fecaca;}
.metric.info{background:#eff6ff;border-color:#bfdbfe;}
.overview-split{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;}
.mini-table-wrap{overflow:auto;border:1px solid #eef2f7;border-radius:14px;max-height:420px;}
.mini-table{width:100%;border-collapse:separate;border-spacing:0;font-size:12px;}
.mini-table th{position:sticky;top:0;background:#f8fafc;color:#475467;text-align:left;padding:9px;border-bottom:1px solid #e5e7eb;font-weight:800;z-index:1;}
.mini-table td{padding:8px 9px;border-bottom:1px solid #f1f5f9;color:#344054;vertical-align:top;}
.mini-table tr:hover td{background:#f9fafb;}
.tag-red{display:inline-flex;background:#fee2e2;color:#991b1b;border:1px solid #fecaca;border-radius:999px;padding:2px 7px;font-weight:800;font-size:11px;}
@media(max-width:1000px){.overview-top-grid,.overview-split{grid-template-columns:1fr 1fr}.overview-head{align-items:flex-start;flex-direction:column}.channel-overview{grid-template-columns:1fr}}
@media(max-width:650px){.overview-top-grid,.overview-split{grid-template-columns:1fr}.metric-grid{grid-template-columns:1fr}}

/* V53 overview info buttons */
.info-dot{display:inline-flex;align-items:center;justify-content:center;width:17px;height:17px;border-radius:999px;background:#eef2ff;color:#1d4ed8;border:1px solid #c7d2fe;font-style:normal;font-size:11px;font-weight:900;line-height:1;cursor:pointer;margin-left:5px;vertical-align:middle;text-transform:none;letter-spacing:0;}
.info-dot:hover{background:#1d4ed8;color:#fff;border-color:#1d4ed8;}
.info-modal{display:none;position:fixed;inset:0;background:rgba(15,23,42,.38);z-index:9999;align-items:center;justify-content:center;padding:18px;}
.info-modal.open{display:flex;}
.info-modal-card{position:relative;max-width:560px;width:100%;background:#fff;border:1px solid #e5e7eb;border-radius:18px;box-shadow:0 24px 70px rgba(15,23,42,.22);padding:22px;}
.info-modal-card h3{margin:0 0 10px;font-size:18px;color:#101828;}
.info-modal-card p{margin:0;color:#344054;line-height:1.55;font-size:14px;}
.info-close{position:absolute;right:12px;top:10px;border:0;background:#f2f4f7;color:#344054;border-radius:999px;width:28px;height:28px;cursor:pointer;font-size:18px;line-height:1;}
.info-close:hover{background:#e5e7eb;}
/* v54 overview click-through polish */
.click-row{cursor:pointer;}
.click-row:hover{background:#f8fafc;}

/* v55 overview detailed status badges */
.detail-breakdown{margin-top:10px;padding-top:10px;border-top:1px solid #e5e7eb;}
.detail-breakdown-title{font-size:12px;font-weight:700;color:#475569;margin-bottom:6px;}
.detail-counts{display:flex;flex-wrap:wrap;gap:6px;}
.detail-count-pill{display:inline-flex;align-items:center;gap:6px;padding:5px 7px;border:1px solid #e5e7eb;border-radius:999px;background:#fff;color:#334155;text-decoration:none;font-size:12px;font-weight:400;}
.detail-count-pill b{background:#e0f2fe;color:#075985;border-radius:999px;padding:2px 6px;font-weight:700;min-width:18px;text-align:center;}
.detail-count-pill:hover{border-color:#93c5fd;background:#eff6ff;}
/* v56 simplified overview */
.metric.status{background:#f8fafc;border-color:#e2e8f0;}
.metric.status b{background:#e0f2fe;color:#075985;border-radius:999px;padding:2px 8px;font-size:16px;min-width:22px;text-align:center;}

/* V59 Product Title left alignment across all pages */
.tablebox table th.product-title-col,
.tablebox table td.product-title-col,
.profit-table th.product-title-col,
.profit-table td.product-title-col,
#mainTable th.product-title-col,
#mainTable td.product-title-col{
  text-align:left!important;
}
.tablebox table th.product-title-col .th-label,
.profit-table th.product-title-col .th-label,
#mainTable th.product-title-col .th-label{
  text-align:left!important;
}
.tablebox table td.product-title-col,
.profit-table td.product-title-col,
#mainTable td.product-title-col{
  font-weight:400!important;
  white-space:normal!important;
  line-height:1.25!important;
}

/* v60 Sales Listing Info compact cell */
.sales-table th .th-label{line-height:1.05;}
.sales-listing-info{position:relative;text-align:center!important;min-width:118px;max-width:135px;overflow:visible!important;white-space:normal!important;vertical-align:middle;}
.sales-info-top{display:flex;flex-direction:column;gap:1px;align-items:center;line-height:1.15;font-size:12px;color:#334155;}
.sales-info-top b{font-size:12px;color:#111827;font-weight:800;}
.sales-info-top span{font-size:11px;color:#64748b;}
.sales-info-badges{display:flex;align-items:center;justify-content:center;gap:4px;margin-top:4px;flex-wrap:wrap;}
.traffic-badge,.status-badge,.multi-badge{display:inline-flex;align-items:center;justify-content:center;border-radius:999px;padding:2px 6px;font-size:10px;font-weight:800;line-height:1.2;border:1px solid transparent;}
.traffic-normal{background:#ecfdf3;color:#027a48;border-color:#abefc6;}
.traffic-low{background:#fffaeb;color:#b54708;border-color:#fedf89;}
.traffic-restricted{background:#fef3f2;color:#b42318;border-color:#fecdca;}
.status-live{background:#eef4ff;color:#1d4ed8;border-color:#c7d7fe;}
.status-blocked{background:#fee4e2;color:#b42318;border-color:#fda29b;}
.status-closed{background:#f2f4f7;color:#344054;border-color:#d0d5dd;}
.status-oos{background:#fff7ed;color:#c2410c;border-color:#fed7aa;}
.status-missing,.status-nostatus,.status-other{background:#f8fafc;color:#475467;border-color:#e2e8f0;}
.multi-badge{background:#eef2ff;color:#3730a3;border-color:#c7d2fe;}
.sales-info-tooltip{display:none;position:absolute;left:50%;top:100%;transform:translateX(-50%);z-index:9999;width:310px;max-width:calc(100vw - 28px);background:#101827;color:#fff;border-radius:12px;box-shadow:0 18px 45px rgba(0,0,0,.28);padding:8px;text-align:left;white-space:normal;}
/* Tooltip is now handled by JS so it can stay open after click. */
.sales-info-card{background:#fff;color:#182235;border-radius:10px;padding:9px;margin:6px 0;font-size:12px;line-height:1.45;box-shadow:0 4px 14px rgba(0,0,0,.14);}
.sales-info-card b{display:block;color:#1d4ed8;margin-bottom:4px;}


/* v61 Sales Listing Info hover + click-pinned details */
.sales-listing-info{cursor:pointer;}
.sales-listing-info.info-open{outline:2px solid rgba(37,99,235,.35);outline-offset:-2px;background:#eff6ff!important;}
.sales-info-floating-tooltip{display:none;position:fixed;z-index:999999;max-width:calc(100vw - 24px);background:#101827;color:#fff;border-radius:13px;box-shadow:0 18px 50px rgba(15,23,42,.35);padding:8px;text-align:left;white-space:normal;pointer-events:auto;border:1px solid rgba(255,255,255,.12);}
.sales-info-floating-tooltip:before{content:'Hover details • click the cell to keep open';display:block;color:#cbd5e1;font-size:11px;font-weight:700;padding:5px 7px 7px;border-bottom:1px solid rgba(255,255,255,.12);margin-bottom:6px;}
.sales-info-floating-tooltip.is-pinned:before{content:'Pinned details • click elsewhere to close';}
.sales-info-floating-tooltip .sales-info-card{background:#fff;color:#182235;border-radius:10px;padding:9px;margin:6px 0;font-size:12px;line-height:1.45;box-shadow:0 4px 14px rgba(0,0,0,.14);}
.sales-info-floating-tooltip .sales-info-card b{display:block;color:#1d4ed8;margin-bottom:4px;}

/* v63 Sales Listing Info visual status icons */
.sales-listing-info{min-width:104px;max-width:118px;}
.sales-info-icons{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;margin-top:4px;}
.traffic-icon,.status-icon{width:23px;height:23px;border-radius:999px;display:inline-flex;align-items:center;justify-content:center;font-size:12px;font-weight:900;line-height:1;color:#fff;box-shadow:0 1px 3px rgba(15,23,42,.18);border:1px solid rgba(255,255,255,.55);}
.traffic-icon.traffic-normal{background:#16a34a;color:#fff;border-color:#15803d;}
.traffic-icon.traffic-restricted{background:#dc2626;color:#fff;border-color:#b91c1c;}
.traffic-icon.traffic-low{background:#2563eb;color:#fff;border-color:#1d4ed8;}
.status-icon.status-live{background:#16a34a;color:#fff;border-color:#15803d;}
.status-icon.status-blocked{background:#dc2626;color:#fff;border-color:#b91c1c;}
.status-icon.status-closed{background:#facc15;color:#111827;border-color:#eab308;}
.status-icon.status-oos{background:#2563eb;color:#fff;border-color:#1d4ed8;}
.status-icon.status-missing{background:#64748b;color:#fff;border-color:#475569;}
.status-icon.status-nostatus{background:#94a3b8;color:#fff;border-color:#64748b;}
.status-icon.status-other{background:#7c3aed;color:#fff;border-color:#6d28d9;}
.sales-info-card div{margin:2px 0;}


/* v64 Sales Listing Info: one-row icons + horizontal offer cards */
.sales-listing-info{min-width:128px;max-width:150px;}
.sales-info-row{display:flex;align-items:center;justify-content:center;gap:7px;white-space:nowrap;}
.sales-info-top{align-items:flex-start;text-align:left;min-width:62px;}
.sales-info-icons{flex-direction:row!important;margin-top:0!important;gap:4px!important;}
.traffic-icon,.status-icon{width:22px;height:22px;font-size:12px;flex:0 0 auto;}
.sales-info-floating-tooltip{width:auto;max-width:min(900px, calc(100vw - 24px));}
.sales-info-floating-tooltip .sales-info-tooltip{display:flex!important;gap:8px;align-items:stretch;overflow-x:auto;max-width:calc(100vw - 48px);padding-bottom:2px;}
.sales-info-floating-tooltip .sales-info-card{min-width:245px;max-width:285px;margin:0;flex:0 0 auto;}
.sales-info-card div{white-space:nowrap;}


/* v65 Sales Listing Info refinements */
.sales-listing-info{
  text-align:left!important;
  min-width:165px!important;
  max-width:190px!important;
}
.sales-info-row{
  justify-content:flex-start!important;
  width:100%;
}
.sales-info-top{
  min-width:78px!important;
}
.sales-info-floating-tooltip .sales-info-tooltip{
  display:flex!important;
  flex-direction:row!important;
  gap:8px!important;
  align-items:stretch!important;
  overflow-x:auto!important;
  max-width:calc(100vw - 48px)!important;
  padding-bottom:2px;
}
.sales-info-floating-tooltip .sales-info-card{
  min-width:260px!important;
  max-width:310px!important;
  margin:0!important;
  flex:0 0 auto!important;
}
.sales-info-floating-tooltip .sales-info-card div{
  white-space:nowrap!important;
}


/* v66 Sales Listing Info loss/compact visual refinements */
.sales-listing-info{
  min-width:132px!important;
  max-width:150px!important;
  width:142px!important;
}
.sales-info-top{
  min-width:54px!important;
}
.sales-info-top span{
  font-weight:700;
}
.sales-listing-info.loss-listing-info{
  background:#fff1f2!important;
  box-shadow:inset 3px 0 0 #dc2626;
}
.sales-listing-info.loss-listing-info .sales-info-top b,
.sales-listing-info.loss-listing-info .sales-info-top span{
  color:#b91c1c!important;
}
.sales-listing-info.loss-listing-info.info-open{
  background:#ffe4e6!important;
  outline-color:rgba(220,38,38,.35)!important;
}
.sales-info-floating-tooltip .sales-info-card:has(div:nth-child(n)){
  flex:0 0 auto!important;
}

/* v67 Sales tooltip clean white panel + no horizontal scrolling */
.sales-info-floating-tooltip{
  background:#fff!important;
  color:#182235!important;
  border:1px solid #e5e7eb!important;
  box-shadow:0 18px 50px rgba(15,23,42,.25)!important;
  padding:8px!important;
  max-width:calc(100vw - 24px)!important;
  width:auto!important;
}
.sales-info-floating-tooltip:before,
.sales-info-floating-tooltip.is-pinned:before{
  content:none!important;
  display:none!important;
  border:0!important;
  margin:0!important;
  padding:0!important;
}
.sales-info-floating-tooltip .sales-info-tooltip{
  display:flex!important;
  flex-direction:row!important;
  flex-wrap:wrap!important;
  align-items:stretch!important;
  gap:0!important;
  overflow-x:visible!important;
  overflow-y:visible!important;
  max-width:none!important;
  padding:0!important;
}
.sales-info-floating-tooltip .sales-info-card{
  background:#fff!important;
  color:#182235!important;
  box-shadow:none!important;
  border-radius:0!important;
  border:0!important;
  border-right:1px dotted #94a3b8!important;
  padding:8px 12px!important;
  margin:0!important;
  min-width:250px!important;
  max-width:none!important;
  flex:0 0 auto!important;
}
.sales-info-floating-tooltip .sales-info-card:last-child{
  border-right:0!important;
}
.sales-info-floating-tooltip .sales-info-card b{
  color:#1d4ed8!important;
  margin-bottom:4px!important;
}


/* v68 Sales tooltip stable placement + plain bordered box */
.sales-info-floating-tooltip{
  background:#fff!important;
  color:#111827!important;
  border:1.5px solid #111!important;
  border-radius:8px!important;
  box-shadow:0 10px 24px rgba(15,23,42,.18)!important;
  padding:0!important;
  overflow:visible!important;
  width:max-content!important;
  max-width:calc(100vw - 24px)!important;
}
.sales-info-floating-tooltip .sales-info-tooltip{
  display:flex!important;
  flex-direction:row!important;
  flex-wrap:wrap!important;
  align-items:stretch!important;
  gap:0!important;
  overflow:visible!important;
  max-width:calc(100vw - 28px)!important;
  padding:0!important;
}
.sales-info-floating-tooltip .sales-info-card{
  background:#fff!important;
  color:#111827!important;
  box-shadow:none!important;
  border:0!important;
  border-right:1px dotted #111!important;
  border-radius:0!important;
  padding:10px 12px!important;
  margin:0!important;
  min-width:245px!important;
  max-width:300px!important;
  flex:0 0 auto!important;
}
.sales-info-floating-tooltip .sales-info-card:last-child{
  border-right:0!important;
}
.sales-info-floating-tooltip .sales-info-card b{
  color:#111827!important;
}

/* v69 Sales tooltip redesign: proper white bordered popover, side-by-side listings */
.sales-info-floating-tooltip{
  background:#fff!important;
  color:#111827!important;
  border:1.5px solid #111!important;
  border-radius:8px!important;
  box-shadow:0 12px 26px rgba(15,23,42,.18)!important;
  padding:0!important;
  overflow:visible!important;
  width:max-content!important;
  max-width:calc(100vw - 24px)!important;
}
.sales-info-floating-tooltip .sales-info-tooltip{
  position:static!important;
  left:auto!important;
  top:auto!important;
  transform:none!important;
  display:flex!important;
  flex-direction:row!important;
  flex-wrap:nowrap!important;
  align-items:stretch!important;
  gap:0!important;
  overflow:visible!important;
  width:auto!important;
  max-width:calc(100vw - 28px)!important;
  padding:0!important;
  margin:0!important;
  background:#fff!important;
  color:#111827!important;
  border:0!important;
  border-radius:8px!important;
  box-shadow:none!important;
}
.sales-info-floating-tooltip .sales-info-card{
  background:#fff!important;
  color:#111827!important;
  box-shadow:none!important;
  border:0!important;
  border-radius:0!important;
  padding:12px 16px!important;
  margin:0!important;
  min-width:285px!important;
  max-width:330px!important;
  flex:0 0 auto!important;
  font-size:12px!important;
  line-height:1.55!important;
}
.sales-info-floating-tooltip .sales-info-card + .sales-info-card{
  border-left:1px dotted #9ca3af!important;
}
.sales-info-floating-tooltip .sales-info-card b{
  display:block!important;
  color:#111827!important;
  font-size:13px!important;
  margin:0 0 7px!important;
  padding:0!important;
}
.sales-info-floating-tooltip .sales-info-card div{
  white-space:nowrap!important;
  margin:2px 0!important;
}
.sales-info-floating-tooltip .sales-info-card div:nth-child(5){
  border-top:1px dashed #d1d5db!important;
  padding-top:6px!important;
  margin-top:7px!important;
}

/* v71 Status page hover popup redesign - visual only */
.coverage-tooltip.coverage-tooltip-v18{
  background:#fff!important;
  color:#111827!important;
  border:1px solid #111827!important;
  border-radius:12px!important;
  box-shadow:0 12px 28px rgba(15,23,42,.18)!important;
  padding:10px!important;
  overflow:visible!important;
  max-height:none!important;
  width:auto!important;
  min-width:360px!important;
  max-width:min(980px, calc(100vw - 24px))!important;
}
.coverage-tooltip-v18 .tooltip-body{
  padding:0!important;
  background:#fff!important;
  color:#111827!important;
}
.coverage-tooltip-v18 .tooltip-sold{
  position:static!important;
  background:#fff!important;
  color:#111827!important;
  border:0!important;
  border-bottom:1px dotted #cbd5e1!important;
  padding:0 0 8px!important;
  margin:0 0 10px!important;
  font-size:12px!important;
  font-weight:900!important;
}
.coverage-tooltip-v18 .tooltip-cards{
  display:flex!important;
  flex-wrap:wrap!important;
  gap:0!important;
  align-items:stretch!important;
  padding:0!important;
  overflow:visible!important;
  max-width:none!important;
}
.coverage-tooltip-v18 .listing-card{
  flex:0 0 285px!important;
  max-width:285px!important;
  min-width:245px!important;
  background:#fff!important;
  color:#111827!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  padding:2px 14px!important;
  margin:0!important;
  font-size:12px!important;
  line-height:1.5!important;
}
.coverage-tooltip-v18 .listing-card:not(:last-child){
  border-right:1px dotted #94a3b8!important;
}
.coverage-tooltip-v18 .listing-card-title{
  color:#111827!important;
  font-weight:900!important;
  border:0!important;
  border-bottom:1px dotted #cbd5e1!important;
  padding:0 0 5px!important;
  margin:0 0 6px!important;
}
.coverage-tooltip-v18 .listing-card div{
  white-space:normal!important;
  word-break:break-word!important;
  margin:2px 0!important;
}
.coverage-tooltip-v18 .listing-card b{
  color:#111827!important;
  font-weight:900!important;
}

/* v74 user login/header refinements */
.top{display:flex;align-items:center;gap:14px;}
.top .links{display:flex;align-items:center;gap:8px;flex:1;}
.userbar{margin-left:auto;display:flex;align-items:center;gap:10px;}
.user-pill{display:inline-flex;align-items:center;border:1px solid #d7dde8;background:#fff;border-radius:999px;padding:6px 10px;font-size:12px;font-weight:600;color:#334155;white-space:nowrap;}
.logout-link{white-space:nowrap;}
.login.card{max-width:380px;margin:80px auto;padding:24px;}
.login input{box-sizing:border-box;border:1px solid #cfd8e3;border-radius:10px;padding:11px 12px;font-size:14px;}
.login h2{margin-top:0;}
