.insights-shell{width:min(960px,calc(100% - 30px));margin:32px auto 80px}.insights-shell .card{padding:18px;margin:17px 0;border:1px solid #294f5c;border-radius:14px}.insights-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(165px,1fr));gap:10px;margin:13px 0}.insights-metric{border:1px solid #284c59;border-radius:11px;background:#0c202c;padding:14px}.insights-metric span{display:block;font-size:12px;color:#b6cbd3}.insights-metric strong{display:block;color:#86ebf6;font-size:27px;margin-top:7px}.insights-coupon-form{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:10px;align-items:end}.insights-shell .field{display:block;font-weight:600}.insights-shell input{display:block;width:100%;box-sizing:border-box;margin:8px 0 0;padding:10px;border:1px solid #395b66;border-radius:8px;color:#e8fbff;background:#081925}.insights-coupon-row{padding:12px 0;border-bottom:1px solid #315160;display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}.insights-shell .fine{color:#b6c5d1;line-height:1.45}
/* Location cards use existing Calenvella theme and remain readable on all devices. */
.cv-geo-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));gap:15px;margin:14px 0}
.cv-geo-grid>div{min-width:0;padding:12px;border:1px solid #2b5869;border-radius:12px;background:#0d2330}
.cv-geo-grid h3{font-size:17px;margin:2px 0 12px;color:#d8faff}
.cv-geo-list{display:grid;gap:7px}
.cv-geo-row{display:flex;align-items:start;justify-content:space-between;gap:10px;padding:8px 9px;background:#122f3e;border-radius:8px;overflow-wrap:anywhere}
.cv-geo-row span{min-width:0;font-size:14px;color:#d9f0fa}
.cv-geo-row strong{flex:0 0 auto;font-size:12px;color:#6ce5ef}
@media(max-width:640px){.cv-geo-row{gap:6px}.cv-geo-row strong{max-width:40%;text-align:right}}

.cv-history-head{display:flex;justify-content:space-between;gap:14px;align-items:center;flex-wrap:wrap}.cv-history-controls{display:flex;flex-direction:column;gap:3px;font-size:13px}.cv-history-controls input{margin:0;min-width:160px}.cv-history-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:14px 0}.cv-history-metrics>div{border:1px solid #2b5869;border-radius:12px;padding:12px;background:#0c202c}.cv-history-metrics strong{display:block;color:#8ce5f6;font-size:24px}.cv-history-metrics span{font-size:12px;color:#c2d7df}.cv-chart-legend{display:flex;gap:18px;flex-wrap:wrap;color:#c1d6df;font-size:12px;margin:12px 0}.cv-chart-legend span:first-child{color:#74dfe8}.cv-chart-legend span:last-child{color:#f5a76e}.cv-history-chart{display:flex;align-items:stretch;gap:3px;min-height:190px;overflow-x:auto;border-bottom:1px solid #4b6d7a;padding:12px 0 0}.cv-chart-day{display:flex;flex-direction:column;align-items:center;justify-content:flex-end;flex:1 0 13px;min-width:13px;height:190px;gap:3px}.cv-chart-bars{height:160px;width:100%;display:flex;align-items:end;justify-content:center;gap:1px}.cv-chart-bar{width:45%;min-height:0;border-radius:3px 3px 0 0;background:#74dfe8}.cv-chart-bar.checkout{background:#f5a76e}.cv-chart-day small{font-size:10px;color:#c2d7df}.cv-history-best{display:grid;gap:7px}.cv-history-best>div{display:flex;justify-content:space-between;gap:10px;background:#0c202c;padding:10px;border-radius:8px;font-size:13px}@media(max-width:560px){.cv-history-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.cv-history-metrics strong{font-size:21px}.cv-chart-day{flex-basis:15px}}

.cv-history-controls{display:flex;flex-direction:column;gap:8px;min-width:180px}.cv-history-controls select,.cv-history-controls input[type=date],.cv-history-controls input[type=week],.cv-history-controls input[type=month]{width:100%;min-width:0;max-width:100%;box-sizing:border-box;background:#091d29;color:#e8f7fc;border:1px solid #356075;border-radius:9px;padding:9px}.cv-history-controls [hidden]{display:none!important}.cv-auto-refresh{display:flex;align-items:center;gap:8px}.cv-auto-refresh input{width:auto!important}.cv-history-chart{min-height:200px}.cv-chart-day{min-width:15px}@media(max-width:650px){.cv-history-head{display:block}.cv-history-controls{margin-top:12px}.cv-history-best>div{flex-wrap:wrap}}
/* Consolidated live snapshot and historical chart */
.cv-history>.cv-live-summary{margin:18px 0 22px;padding:0;border:0;background:transparent;box-shadow:none}
.cv-history>.cv-live-summary h2{font-size:1.15rem;margin:0 0 14px}
.cv-history>.cv-location-insights{margin-top:24px;border-top:1px solid rgba(130,210,220,.22);padding-top:22px}
.cv-history>.cv-location-insights .cv-geo-grid{margin-top:12px}
@media(max-width:600px){.cv-history>.cv-live-summary .insights-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
