.daily-sales-card{min-width:0}
.daily-sales-dates{display:flex;gap:16px;flex-wrap:wrap;margin:16px 0}
.daily-sales-dates label{display:grid;gap:6px;flex:1;min-width:130px;max-width:220px}
.daily-sales-dates input{width:100%;min-width:0;box-sizing:border-box}
.daily-sales-plots{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.daily-sales-plot{min-width:0}
.daily-sales-plot h3{font-size:1.05rem;margin:8px 0}
.daily-sales-plot svg{display:block;width:100%;height:auto;overflow:visible}
.daily-sales-plot text{fill:#62554c;font:17px system-ui,sans-serif}
.daily-sales-plot path{fill:none;stroke-width:3;stroke-linejoin:round;stroke-linecap:round}
.daily-sales-plot .sales-actual{stroke:#376c59}
.daily-sales-plot .sales-average{stroke:#98683e;stroke-dasharray:7 6}
.daily-sales-plot .sales-dot{fill:#376c59}
.daily-sales-plot .sales-gridline{stroke:#e6d9cf;stroke-width:1}
.daily-sales-legend{display:flex;gap:24px;font-size:.9rem}
.daily-sales-legend span:first-child{color:#376c59}
.daily-sales-legend span:last-child{color:#98683e}
@media(max-width:800px){.daily-sales-plots{grid-template-columns:minmax(0,1fr)}}
.sales-channel-dashboard th:first-child{min-width:160px;width:45%}
.sales-channel-dashboard th span{display:block}
.sales-channel-dashboard progress{display:block;width:90%;height:7px;margin:8px 0 2px;accent-color:#376c59}
.sales-channel-dashboard tfoot{font-weight:700;border-top:2px solid #e6d9cf}
.sales-channel-dashboard table{font-variant-numeric:tabular-nums}
.sales-channel-dashboard td{white-space:nowrap}

.daily-sales-mode{display:grid;gap:6px;max-width:300px;margin-top:12px}
.daily-sales-mode select{width:100%}

.daily-sales-hint{font-size:.9rem;color:#62554c;margin:14px 0}.sales-day-point{cursor:pointer;outline:none}.sales-day-hit{fill:transparent;stroke:none}.sales-day-point:hover .sales-dot,.sales-day-point:focus .sales-dot{stroke:#302b27;stroke-width:3;r:7}.daily-sales-plot .sales-value-label{font:600 14px system-ui,sans-serif;fill:#285642;paint-order:stroke;stroke:#fff;stroke-width:4px;stroke-linejoin:round;pointer-events:none}.daily-sales-day-dialog{width:min(440px,calc(100vw - 32px));max-height:85dvh;overflow:auto;box-sizing:border-box;border:1px solid #b69d89;border-radius:18px;padding:22px;background:#fffdfb;color:#302b27}.daily-sales-day-dialog::backdrop{background:rgb(40 30 20 / .45)}.daily-sales-day-dialog h2{font-size:1.3rem;margin-top:0}.daily-sales-day-dialog dl>div{display:flex;justify-content:space-between;gap:16px;padding:12px 0;border-bottom:1px solid #e4d8cd}.daily-sales-day-dialog dt{color:#62554c}.daily-sales-day-dialog dd{margin:0;font-weight:700;white-space:nowrap}.daily-sales-day-dialog button{width:100%;margin-top:16px}

.daily-sales-day-dialog{width:min(640px,calc(100vw - 32px))}.daily-sales-day-dialog h3{font-size:1rem;margin:18px 0 6px}.daily-sales-day-dialog p{line-height:1.45}.daily-sales-day-dialog summary{cursor:pointer;padding:12px 0;font-weight:600}.sales-day-records{list-style:none;padding:0;margin:0;}.sales-day-records li{padding:12px 0;border-bottom:1px solid #e4d8cd}.sales-day-records li>div{display:flex;justify-content:space-between;gap:12px}.sales-day-records li>div strong:last-child{white-space:nowrap}.sales-day-records p{margin:5px 0;overflow-wrap:anywhere}.sales-day-records small{color:#62554c}
.sales-day-payment-comparison,.sales-day-claims-comparison{border-top:2px solid #e4d8cd;margin-top:16px;padding-top:4px}.daily-sales-basis{color:#4d5145;line-height:1.5}

.daily-sales-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:18px 0 10px}.daily-sales-summary section{background:#fbf7f2;border:1px solid #e7dbd1;border-radius:12px;padding:16px;min-width:0}.daily-sales-summary h3{font-size:1rem;margin:0 0 8px}.daily-sales-summary strong{display:block;font-size:1.6rem;line-height:1.25;overflow-wrap:anywhere}.daily-sales-summary p{margin:8px 0;font-size:.9rem}.daily-sales-summary small{display:block;line-height:1.45;color:#62554c}@media(max-width:520px){.daily-sales-summary{grid-template-columns:1fr}}

.daily-sales-day-heading{display:flex;gap:12px;align-items:flex-start;justify-content:space-between;position:sticky;top:0;background:#fffdfb;padding:16px 0 12px;z-index:2}.daily-sales-day-heading h2{margin:0!important}.daily-sales-day-dialog .daily-sales-day-heading button{width:auto;min-width:60px;min-height:44px;margin:0;flex-shrink:0}
