/* ==========================================================================
   Dashboard design "overview" — Overview (clean tiles and panels)
   --------------------------------------------------------------------------
   Scoped to .dashx-overview (renderDashboard wraps the page in it). No green
   card: the business, greeting, period and Options sit on the page, then
   five colour-filled stat tiles, then a 12-column grid of white panels with
   tinted icon tiles (donut + coloured columns, then three panels).
   Primary text is true black; greys no lighter than #475569. Chart colours
   sit only on marks and icon tiles, never on text.
   Thumbnail for the design picker: .dshp-t-overview (at the end).
   ========================================================================== */

.dashx-overview .dov { display: flex; flex-direction: column; gap: 14px; padding-bottom: 8px; min-width: 0; }
.dashx-overview .dov > * { min-width: 0; }
.dashx-overview .dov-anim { animation: dovIn .5s cubic-bezier(.2, .7, .2, 1) both; animation-delay: calc(var(--i, 0) * 50ms); }
.dashx-overview .dov.is-soft .dov-anim { animation: none; }
@keyframes dovIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .dashx-overview .dov-anim { animation: none; } }

/* ---- The header: on the page, no card --------------------------------- */
.dashx-overview .dov-top { display: flex; align-items: center; justify-content: space-between; gap: 12px 16px; flex-wrap: wrap; padding: 2px 2px 0; }
.dashx-overview .dov-id { display: flex; align-items: center; gap: 12px; min-width: 0; flex: 1 1 260px; margin: -4px; padding: 4px; border: 0; border-radius: 16px; background: none; color: #000; font: inherit; text-align: left; cursor: pointer; }
.dashx-overview .dov-id:hover { background: rgba(15, 23, 42, .04); }
.dashx-overview .dov-id:focus-visible { outline: 2px solid #4f46e5; outline-offset: 2px; }
.dashx-overview .dov-logo { position: relative; flex-shrink: 0; width: 48px; height: 48px; border-radius: 15px; overflow: hidden; display: grid; place-items: center; background: linear-gradient(135deg, #4f46e5, #db2777); color: #fff; font-size: 20px; font-weight: 800; box-shadow: 0 8px 18px -10px rgba(79, 70, 229, .7); }
.dashx-overview .dov-logo-img { position: absolute; inset: 0; background: #fff center / cover no-repeat; }
.dashx-overview .dov-logo.is-all { background: linear-gradient(135deg, #2563eb, #7c3aed); }
.dashx-overview .dov-id-copy { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.dashx-overview .dov-id-name { display: flex; align-items: center; gap: 6px; min-width: 0; font-size: clamp(1.25rem, 3.4vw, 1.6rem); font-weight: 800; letter-spacing: -.01em; line-height: 1.15; }
.dashx-overview .dov-id-name span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dashx-overview .dov-id-name i { font-size: 13px; color: #475569; }
.dashx-overview .dov-greet { font-size: 13px; font-weight: 600; color: #475569; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dashx-overview .dov-top-r { display: flex; align-items: center; gap: 8px; min-width: 0; }
.dashx-overview .dov-period { display: inline-flex; align-items: center; gap: 7px; min-height: 40px; padding: 0 14px; max-width: 100%; border: 1px solid #e2e6ee; border-radius: 999px; background: #fff; color: #000; font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; box-shadow: 0 1px 2px rgba(15, 23, 42, .05); }
.dashx-overview .dov-period i:first-child { color: #4f46e5; }
.dashx-overview .dov-period span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dashx-overview .dov-period:hover { background: #f8fafc; }
.dashx-overview .dov-period:focus-visible { outline: 2px solid #4f46e5; outline-offset: 2px; }
.dashx-overview .dov-top .dbx-opt-btn { background: #fff; border-color: #e2e6ee; color: #000; box-shadow: 0 1px 2px rgba(15, 23, 42, .05); }
.dashx-overview .dov-top .dbx-opt-btn:hover { background: #f8fafc; }
.dashx-overview .dov-top .dbx-opt-btn:focus-visible { outline-color: #4f46e5; }
.dashx-overview .dov-top .dbx-opt-dot { box-shadow: 0 0 0 2px #fff; }
@media (min-width: 700px) {
    .dashx-overview .dov-top .dbx-opt-btn { width: auto; padding: 0 15px; }
    .dashx-overview .dov-top .dbx-opt-lbl { display: inline; }
}
@media (max-width: 520px) { .dashx-overview .dov-top-r { width: 100%; } .dashx-overview .dov-period { flex: 1; justify-content: center; } }

/* ---- Tinted icon square (tiles, glance, low stock) ---------------------- */
.dashx-overview .dov-ic {
    flex-shrink: 0; width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; font-size: 19px;
    color: var(--c); background: color-mix(in srgb, var(--c) 13%, #fff); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c) 18%, transparent);
}

/* ---- Five colour-filled stat tiles ------------------------------------ */
/* Deep fills (--f1 → --f2) keep white text above 4.5:1 everywhere. */
.dashx-overview .dov-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.dashx-overview .dov-tile-revenue { grid-column: 1 / -1; }
@media (min-width: 760px) { .dashx-overview .dov-tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1400px) {
    .dashx-overview .dov-tiles { grid-template-columns: 1.5fr repeat(4, minmax(0, 1fr)); }
    .dashx-overview .dov-tile-revenue { grid-column: auto; }
}
.dashx-overview .dov-tile:not(.dov-tile-revenue) .dov-tile-v { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* Revenue: a full-width tile below 1400px (bigger figure), one of five above. */
@media (min-width: 760px) and (max-width: 1399px) {
    .dashx-overview .dov-tile-revenue { padding: 18px 20px; }
    .dashx-overview .dov-tile-revenue .dov-tile-v { font-size: clamp(2rem, 3.6vw, 2.6rem); }
    .dashx-overview .dov-tile-revenue .dov-tile-bg { font-size: 92px; right: 24px; }
}
@media (min-width: 1400px) { .dashx-overview .dov-tile-revenue .dov-tile-v { font-size: 1.65rem; } }
.dashx-overview .dov-tile {
    position: relative; overflow: hidden; isolation: isolate;
    display: flex; flex-direction: column; gap: 8px; min-width: 0; padding: 16px; border-radius: 22px; text-align: left; cursor: pointer;
    font: inherit; color: #fff; background: linear-gradient(140deg, var(--f1), var(--f2));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), 0 14px 28px -18px var(--f1);
    transition: transform .15s ease, box-shadow .15s ease;
}
.dashx-overview .dov-tile::before {
    content: ""; position: absolute; z-index: -1; right: -40px; top: -50px; width: 150px; height: 150px; border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, .22), rgba(255, 255, 255, 0) 70%);
}
.dashx-overview .dov-tile::after {
    content: ""; position: absolute; z-index: -1; left: -30px; bottom: -60px; width: 130px; height: 130px; border-radius: 50%;
    background: rgba(255, 255, 255, .07);
}
.dashx-overview .dov-tile:hover { transform: translateY(-2px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), 0 20px 34px -18px var(--f1); }
.dashx-overview .dov-tile:focus-visible { outline: 3px solid #000; outline-offset: 2px; }
.dashx-overview .dov-tile-bg { position: absolute; z-index: -1; right: 10px; bottom: -6px; font-size: 62px; line-height: 1; color: rgba(255, 255, 255, .13); pointer-events: none; }
.dashx-overview .dov-tile-top { display: flex; align-items: center; gap: 10px; min-width: 0; }
.dashx-overview .dov-tile-ic { flex-shrink: 0; width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; font-size: 18px; background: rgba(255, 255, 255, .18); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22); }
.dashx-overview .dov-tile-l { font-size: 13.5px; font-weight: 800; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dashx-overview .dov-tile-v { font-size: clamp(1.35rem, 4vw, 1.7rem); font-weight: 800; letter-spacing: -.02em; line-height: 1.1; color: #fff; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; min-width: 0; }
.dashx-overview .dov-tile-revenue .dov-tile-v { font-size: clamp(1.6rem, 4.6vw, 2.1rem); }
.dashx-overview .dov-tile-fig { display: flex; align-items: center; gap: 8px; min-width: 0; }
.dashx-overview .dov-eye { flex-shrink: 0; width: 32px; height: 32px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .3); background: rgba(255, 255, 255, .16); color: #fff; font-size: 14px; display: grid; place-items: center; cursor: pointer; }
.dashx-overview .dov-eye:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.dashx-overview .dov-tile-d .dsz-delta { background: rgba(255, 255, 255, .2); color: #fff; font-size: 12px; }
.dashx-overview .dov-tile-d .dsz-delta em { color: rgba(255, 255, 255, .9); }
.dashx-overview .dov-tile-s { font-size: 12px; font-weight: 600; color: rgba(255, 255, 255, .92); line-height: 1.35; }
@media (max-width: 420px) { .dashx-overview .dov-tile { padding: 13px; border-radius: 18px; } .dashx-overview .dov-tile-ic { width: 34px; height: 34px; font-size: 16px; } }

/* ---- Grid of panels ---------------------------------------------------- */
.dashx-overview .dov-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
@media (min-width: 760px) {
    .dashx-overview .dov-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .dashx-overview .dov-grid > .dov-bdays:last-child, .dashx-overview .dov-grid > .dov-low:last-child { grid-column: 1 / -1; }
}
@media (min-width: 1100px) {
    .dashx-overview .dov-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); }
    .dashx-overview .dov-s4 { grid-column: span 4; } .dashx-overview .dov-s5 { grid-column: span 5; }
    .dashx-overview .dov-s6 { grid-column: span 6; } .dashx-overview .dov-s7 { grid-column: span 7; }
    .dashx-overview .dov-grid > .dov-bdays:last-child, .dashx-overview .dov-grid > .dov-low:last-child { grid-column: auto / span 4; }
    .dashx-overview .dov-grid > .dov-low.dov-s6:last-child { grid-column: auto / span 6; }
}
.dashx-overview .dov-card {
    display: flex; flex-direction: column; gap: 12px; min-width: 0; padding: 16px 16px 14px; border-radius: 22px;
    background: #fff; border: 1px solid #e7ecf1; box-shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 12px 30px -20px rgba(15, 23, 42, .24);
}
.dashx-overview .dov-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.dashx-overview .dov-head-copy { min-width: 0; flex: 1; }
.dashx-overview .dov-head-ic { width: 36px; height: 36px; border-radius: 11px; font-size: 16px; }
.dashx-overview .dov-title { margin: 0; font-size: 16px; font-weight: 800; color: #000; line-height: 1.25; }
.dashx-overview .dov-sub { margin: 2px 0 0; font-size: 12px; font-weight: 600; color: #475569; }
.dashx-overview .dov-link { flex-shrink: 0; display: inline-flex; align-items: center; gap: 4px; padding: 6px 8px; margin: -4px -6px 0 0; border: 0; border-radius: 10px; background: none; color: #047857; font: inherit; font-size: 12.5px; font-weight: 800; cursor: pointer; }
.dashx-overview .dov-link:hover { background: #ecfdf5; }
.dashx-overview .dov-gift { flex-shrink: 0; width: 36px; height: 36px; border-radius: 11px; border: 0; display: grid; place-items: center; color: #7c3aed; background: #f5f3ff; cursor: pointer; font-size: 17px; }
.dashx-overview .dov-empty { display: flex; flex-direction: column; align-items: center; gap: 5px; text-align: center; padding: 18px 8px; color: #475569; font-size: 12.5px; font-weight: 600; }
.dashx-overview .dov-empty b { color: #000; font-size: 14px; }
.dashx-overview .dov-empty-ic { width: 48px; height: 48px; border-radius: 15px; display: grid; place-items: center; background: #f1f5f9; color: #475569; font-size: 21px; margin-bottom: 4px; }
.dashx-overview .dov-outline { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; min-height: 36px; padding: 0 14px; border-radius: 12px; border: 1.5px solid #cbd5e1; background: #fff; color: #000; font: inherit; font-size: 12.5px; font-weight: 800; cursor: pointer; }

/* ---- Donut ------------------------------------------------------------- */
.dashx-overview .dov-donut-wrap { flex: 1; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; justify-content: center; }
.dashx-overview .dov-donut { position: relative; width: 150px; height: 150px; flex-shrink: 0; }
.dashx-overview .dov-donut-svg { width: 100%; height: 100%; display: block; }
.dashx-overview .dov-donut-svg path { transition: opacity .15s; }
.dashx-overview .dov-donut-svg path:hover, .dashx-overview .dov-donut-svg path:focus { opacity: .85; outline: none; }
.dashx-overview .dov-donut-c { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; pointer-events: none; }
.dashx-overview .dov-donut-c b { font-size: 18px; font-weight: 800; color: #000; }
.dashx-overview .dov-donut-c span { font-size: 11.5px; font-weight: 700; color: #475569; }
.dashx-overview .dov-legs { flex: 1 1 150px; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.dashx-overview .dov-leg { display: flex; align-items: center; gap: 10px; padding: 8px; border: 0; border-radius: 12px; background: none; font: inherit; text-align: left; cursor: pointer; color: #000; }
.dashx-overview .dov-leg:hover { background: #f6f8fa; }
.dashx-overview .dov-dot { width: 12px; height: 12px; border-radius: 50%; flex-shrink: 0; }
.dashx-overview .dov-leg-t { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.dashx-overview .dov-leg-t b { font-size: 13.5px; font-weight: 800; }
.dashx-overview .dov-leg-t span { font-size: 11.5px; font-weight: 600; color: #475569; }
.dashx-overview .dov-leg-p { font-size: 15px; font-weight: 800; color: #000; font-variant-numeric: tabular-nums; }

/* ---- Columns ----------------------------------------------------------- */
.dashx-overview .dov-cols { display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); gap: 10px; height: 236px; padding-top: 4px; }
.dashx-overview .dov-col { display: flex; flex-direction: column; align-items: stretch; height: 100%; min-width: 0; padding: 0; border: 0; background: none; font: inherit; cursor: pointer; }
.dashx-overview .dov-col-plot { position: relative; flex: 1; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; min-height: 0; border-bottom: 1px solid #dfe5eb; }
.dashx-overview .dov-col-plot em { font-style: normal; font-size: 12px; font-weight: 800; color: #000; margin-bottom: 5px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.dashx-overview .dov-col-plot i { display: block; width: min(46px, 72%); border-radius: 8px 8px 0 0; background: linear-gradient(180deg, color-mix(in srgb, var(--bar, #059669) 78%, #fff), var(--bar, #059669)); opacity: .9; transition: opacity .15s; transform-origin: bottom; }
.dashx-overview .dov-col.is-top .dov-col-plot i { opacity: 1; }
.dashx-overview .dov-col:hover .dov-col-plot i, .dashx-overview .dov-col:focus-visible .dov-col-plot i { opacity: 1; }
.dashx-overview .dov-col:focus-visible { outline: 2px solid #047857; outline-offset: 2px; border-radius: 8px; }
.dashx-overview .dov-col-l { flex: none; height: 2.6em; margin-top: 6px; font-size: 11.5px; font-weight: 700; color: #000; text-align: center; line-height: 1.25; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; word-break: break-word; }
@media (max-width: 520px) { .dashx-overview .dov-cols { height: 206px; gap: 6px; } .dashx-overview .dov-col-plot em { font-size: 10.5px; } .dashx-overview .dov-col-l { font-size: 10.5px; } }
@keyframes dovGrow { from { transform: scaleY(0); } to { transform: scaleY(1); } }
.dashx-overview .dov:not(.is-soft) .dov-col-plot i { animation: dovGrow .6s cubic-bezier(.2, .7, .2, 1) both; animation-delay: .15s; }
@media (prefers-reduced-motion: reduce) { .dashx-overview .dov-col-plot i { animation: none !important; } }

/* ---- Rows (recent sales, birthdays, low stock) ------------------------- */
.dashx-overview .dov-rows { display: flex; flex-direction: column; gap: 2px; }
.dashx-overview .dov-row { display: flex; align-items: center; gap: 12px; min-width: 0; padding: 9px 8px; border: 0; border-radius: 14px; background: none; font: inherit; text-align: left; cursor: pointer; color: #000; }
.dashx-overview .dov-row:hover { background: #f6f8fa; }
.dashx-overview .dov-row.is-today { background: #f5f3ff; }
.dashx-overview .dov-av { flex-shrink: 0; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 800; }
.dashx-overview .dov-av.is-walk { background: #f1f5f9; color: #475569; font-size: 17px; }
.dashx-overview .dov-av.is-bday { border-radius: 14px; }
.dashx-overview .dov-row-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.dashx-overview .dov-row-main b { font-size: 13.5px; font-weight: 800; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dashx-overview .dov-row-main span { font-size: 12px; font-weight: 600; color: #475569; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dashx-overview .dov-row-end { flex-shrink: 0; display: flex; flex-direction: column; align-items: flex-end; gap: 1px; text-align: right; }
.dashx-overview .dov-row-end b { font-size: 13.5px; font-weight: 800; font-variant-numeric: tabular-nums; }
.dashx-overview .dov-row-end span { font-size: 11.5px; font-weight: 600; color: #475569; }
.dashx-overview .dov-bday-d { color: #000; }
.dashx-overview .dov-bday-tag { display: inline-flex; align-items: center; gap: 4px; font-size: 11px !important; font-weight: 800 !important; color: #5b21b6 !important; }

/* ---- At a glance ------------------------------------------------------- */
.dashx-overview .dov-glance { display: flex; flex-direction: column; gap: 6px; }
.dashx-overview .dov-g { display: flex; align-items: center; gap: 12px; padding: 9px 8px; border: 0; border-radius: 14px; background: none; font: inherit; text-align: left; cursor: pointer; color: #000; }
.dashx-overview .dov-g:hover { background: #f6f8fa; }
.dashx-overview .dov-g-t { flex: 1; min-width: 0; display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 10px; align-items: baseline; }
.dashx-overview .dov-g-t b { grid-row: span 2; font-size: 1.55rem; font-weight: 800; line-height: 1; letter-spacing: -.02em; font-variant-numeric: tabular-nums; min-width: 2ch; }
.dashx-overview .dov-g-t span { font-size: 13px; font-weight: 800; }
.dashx-overview .dov-g-t small { font-size: 11.5px; font-weight: 600; color: #475569; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dashx-overview .dov-chev { color: #94a3b8; font-size: 13px; }

/* ---- Foot -------------------------------------------------------------- */
.dashx-overview .dov-setup { min-width: 0; }
.dashx-overview .dov-foot-link { align-self: center; display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; border: 0; border-radius: 999px; background: none; color: #475569; font: inherit; font-size: .76rem; font-weight: 700; cursor: pointer; }
.dashx-overview .dov-foot-link span { color: #047857; text-decoration: underline; text-underline-offset: 2px; }
.dashx-overview .dov-foot-link:hover { background: #f1f5f9; }

/* ==========================================================================
   Picker thumbnail: a slim green band, four tiles, a donut beside columns,
   three panels.
   ========================================================================== */
.dshp-t.dshp-t-overview { padding: 0; overflow: hidden; background: #f4f6f8; }
.dshp-t-overview > span { position: absolute; display: block; }
.dshp-t-overview .to-band { top: 6px; left: 6px; right: 6px; height: 26px; border-radius: 8px; background: transparent; }
.dshp-t-overview .to-band > i { position: absolute; display: block; border-radius: 2px; background: #0f172a; }
.dshp-t-overview .to-fig { left: 8px; top: 7px; width: 30px; height: 5px; }
.dshp-t-overview .to-sub { right: 8px; top: 9px; width: 26px; height: 7px; opacity: .8; }
.dshp-t-overview .to-tiles { top: 32px; left: 6px; right: 6px; height: 27px; display: grid; grid-template-columns: 1.3fr repeat(4, 1fr); gap: 4px; }
.dshp-t-overview .to-tiles i { position: relative; display: block; border-radius: 6px; background: linear-gradient(140deg, #4338ca, #7e22ce); }
.dshp-t-overview .to-tiles i:nth-child(2) { background: linear-gradient(140deg, #047857, #0f766e); } .dshp-t-overview .to-tiles i:nth-child(3) { background: linear-gradient(140deg, #1d4ed8, #2563eb); }
.dshp-t-overview .to-tiles i:nth-child(4) { background: linear-gradient(140deg, #c2410c, #b45309); } .dshp-t-overview .to-tiles i:nth-child(5) { background: linear-gradient(140deg, #be185d, #9d174d); }
.dshp-t-overview .to-tiles u { position: absolute; left: 4px; top: 4px; width: 7px; height: 7px; border-radius: 2px; background: rgba(255, 255, 255, .4); }
.dshp-t-overview .to-tiles b { position: absolute; left: 4px; bottom: 4px; width: 55%; height: 4px; border-radius: 2px; background: #fff; }
.dshp-t-overview .to-mid { top: 64px; left: 6px; right: 6px; height: 34px; display: grid; grid-template-columns: 1fr 1.5fr; gap: 4px; }
.dshp-t-overview .to-mid > span { position: relative; display: block; border-radius: 6px; background: #fff; border: 1px solid #e2e8f0; }
.dshp-t-overview .to-donut i {
    position: absolute; left: 50%; top: 50%; width: 22px; height: 22px; border-radius: 50%; transform: translate(-50%, -50%);
    background: conic-gradient(from 8deg, #059669 0 52%, #7c3aed 52% 78%, #0d9488 78% 96%, transparent 96% 100%);
    -webkit-mask: radial-gradient(circle, transparent 5px, #000 6px); mask: radial-gradient(circle, transparent 5px, #000 6px);
}
.dshp-t-overview .to-mid > .to-cols { display: flex; align-items: flex-end; gap: 4px; padding: 5px 7px 4px; }
.dshp-t-overview .to-cols b { flex: 1; display: block; border-radius: 2px 2px 0 0; background: #059669; }
.dshp-t-overview .to-cols b:nth-child(2) { background: #2a78d6; } .dshp-t-overview .to-cols b:nth-child(3) { background: #eb6834; } .dshp-t-overview .to-cols b:nth-child(4) { background: #7c3aed; } .dshp-t-overview .to-cols b:nth-child(5) { background: #db2777; }
.dshp-t-overview .to-cols b:nth-child(1) { height: 90%; opacity: 1; } .dshp-t-overview .to-cols b:nth-child(2) { height: 70%; } .dshp-t-overview .to-cols b:nth-child(3) { height: 55%; }
.dshp-t-overview .to-cols b:nth-child(4) { height: 40%; } .dshp-t-overview .to-cols b:nth-child(5) { height: 30%; }
.dshp-t-overview .to-low { top: 103px; left: 6px; right: 6px; bottom: 6px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
.dshp-t-overview .to-low i { display: block; border-radius: 6px; background: #fff; border: 1px solid #e2e8f0; background-image: linear-gradient(#e2e8f0, #e2e8f0), linear-gradient(#e2e8f0, #e2e8f0); background-size: 60% 3px, 45% 3px; background-position: 5px 6px, 5px 13px; background-repeat: no-repeat; }

/* ==========================================================================
   Smaller type (28 Oct 2026): the user asked for smaller fonts. Every size
   here steps down; later rules win over the ones above.
   ========================================================================== */
.dashx-overview .dov-id-name { font-size: clamp(1.05rem, 2.6vw, 1.25rem); }
.dashx-overview .dov-greet { font-size: 12px; }
.dashx-overview .dov-logo { width: 42px; height: 42px; border-radius: 13px; font-size: 17px; }
.dashx-overview .dov-period { min-height: 36px; font-size: 12px; }
.dashx-overview .dov-tile { gap: 6px; padding: 14px; }
.dashx-overview .dov-tile-ic { width: 32px; height: 32px; border-radius: 10px; font-size: 15px; }
.dashx-overview .dov-tile-l { font-size: 12px; }
.dashx-overview .dov-tile-v { font-size: clamp(1.1rem, 3vw, 1.3rem); }
.dashx-overview .dov-tile-revenue .dov-tile-v { font-size: clamp(1.3rem, 3.4vw, 1.6rem); }
@media (min-width: 760px) and (max-width: 1399px) { .dashx-overview .dov-tile-revenue .dov-tile-v { font-size: clamp(1.5rem, 2.8vw, 1.9rem); } }
@media (min-width: 1400px) { .dashx-overview .dov-tile-revenue .dov-tile-v { font-size: 1.4rem; } }
.dashx-overview .dov-tile-s { font-size: 11px; }
.dashx-overview .dov-tile-d .dsz-delta { font-size: 11px; }
.dashx-overview .dov-tile-bg { font-size: 52px; }
.dashx-overview .dov-eye { width: 28px; height: 28px; font-size: 13px; }
.dashx-overview .dov-card { padding: 14px 14px 12px; gap: 10px; }
.dashx-overview .dov-title { font-size: 14px; }
.dashx-overview .dov-sub { font-size: 11px; }
.dashx-overview .dov-head-ic { width: 32px; height: 32px; border-radius: 10px; font-size: 14px; }
.dashx-overview .dov-link { font-size: 11.5px; }
.dashx-overview .dov-gift { width: 32px; height: 32px; font-size: 15px; }
.dashx-overview .dov-donut { width: 132px; height: 132px; }
.dashx-overview .dov-donut-c b { font-size: 15px; }
.dashx-overview .dov-donut-c span { font-size: 10.5px; }
.dashx-overview .dov-leg { padding: 6px 8px; }
.dashx-overview .dov-leg-t b { font-size: 12.5px; }
.dashx-overview .dov-leg-t span { font-size: 11px; }
.dashx-overview .dov-leg-p { font-size: 13px; }
.dashx-overview .dov-cols { height: 210px; }
.dashx-overview .dov-col-plot em { font-size: 11px; }
.dashx-overview .dov-col-l { font-size: 10.5px; }
.dashx-overview .dov-row { padding: 7px 8px; gap: 10px; }
.dashx-overview .dov-av { width: 34px; height: 34px; font-size: 12px; }
.dashx-overview .dov-row-main b, .dashx-overview .dov-row-end b { font-size: 12.5px; }
.dashx-overview .dov-row-main span, .dashx-overview .dov-row-end span { font-size: 11px; }
.dashx-overview .dov-g { padding: 7px 8px; gap: 10px; }
.dashx-overview .dov-g .dov-ic { width: 36px; height: 36px; border-radius: 11px; font-size: 16px; }
.dashx-overview .dov-g-t b { font-size: 1.2rem; }
.dashx-overview .dov-g-t span { font-size: 12px; }
.dashx-overview .dov-g-t small { font-size: 11px; }
.dashx-overview .dov-empty { font-size: 11.5px; }
.dashx-overview .dov-empty b { font-size: 13px; }

/* ---- Shortcuts (action buttons) ---------------------------------------- */
.dashx-overview .dov-dock {
    display: flex; gap: 4px; padding: 8px; border-radius: 20px; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none;
    background: #fff; border: 1px solid #e7ecf1; box-shadow: 0 1px 2px rgba(15, 23, 42, .04);
}
.dashx-overview .dov-dock::-webkit-scrollbar { display: none; }
.dashx-overview .dov-qa {
    flex: 1 0 auto; display: flex; flex-direction: column; align-items: center; gap: 5px; min-width: 60px; padding: 6px 4px;
    border: 0; border-radius: 14px; background: none; cursor: pointer; font: inherit; color: #000;
}
.dashx-overview .dov-qa:hover { background: #f1f5f9; }
.dashx-overview .dov-qa:focus-visible { outline: 2px solid #4f46e5; outline-offset: 1px; }
.dashx-overview .dov-qa-tile {
    position: relative; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; color: #fff; font-size: 16px;
    box-shadow: 0 6px 14px -8px rgba(15, 23, 42, .5);
}
.dashx-overview .dov-qa-badge {
    position: absolute; top: -5px; right: -6px; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 999px;
    background: #dc2626; color: #fff; font-size: 9.5px; font-weight: 800; font-style: normal; line-height: 17px; text-align: center; box-shadow: 0 0 0 2px #fff;
}
.dashx-overview .dov-qa-lbl { font-size: 10.5px; font-weight: 700; white-space: nowrap; }
@media (min-width: 900px) { .dashx-overview .dov-qa { flex: 1 1 0; } }
