#history-panel{--order-bg:#fffefa;--order-line:#e4e3e8;--order-muted:#737783}
html[data-theme=dark] #history-panel{--order-bg:#191b23;--order-line:#30333e;--order-muted:#a8adba}
#history-panel>h2{font-size:22px;margin-bottom:8px}
#history-panel>.muted{color:var(--order-muted);font-size:13px;line-height:1.7;margin-bottom:24px}
#shop-history{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.order-card{min-width:0;padding:24px;background:var(--order-bg);border:1px solid var(--order-line);border-radius:20px}
.order-card-head{display:flex;align-items:center;gap:12px;margin-bottom:24px}
.order-symbol{width:42px;height:46px;flex:0 0 42px;border-radius:12px;background:#df294712;color:#d7294c;display:grid;place-items:center}
.order-symbol svg{width:24px;height:24px;stroke:currentColor;stroke-width:1.5;fill:none;stroke-linecap:round;stroke-linejoin:round}
.order-title{min-width:0;flex:1}.order-title small{display:block;font-size:11px;color:var(--order-muted);margin-bottom:5px}.order-title h3{font-size:18px;line-height:1.4;margin:0;overflow-wrap:anywhere}
.order-state{font-size:11px;font-weight:700;padding:6px 10px;border-radius:20px;background:#8b8e971c;color:var(--order-muted);white-space:nowrap;flex-shrink:0}
.order-done .order-state,.order-ready .order-state{color:#247c55;background:#64b98e21}.order-failed .order-state{color:#d02d50;background:#ee5b7a1c}.order-waiting .order-state{color:#ad741b;background:#dba34d20}
html[data-theme=dark] .order-done .order-state,html[data-theme=dark] .order-ready .order-state{color:#7ed2a5}html[data-theme=dark] .order-failed .order-state{color:#f68da4}html[data-theme=dark] .order-waiting .order-state{color:#ecc27e}
.order-facts{display:grid;grid-template-columns:.65fr 1fr 1.1fr;gap:10px;padding:16px 0;border-top:1px solid var(--order-line);border-bottom:1px solid var(--order-line)}
.order-facts small{display:block;font-size:11px;margin-bottom:8px;color:var(--order-muted)}.order-facts strong{font-size:15px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.order-balance{display:flex;justify-content:space-between;gap:8px;color:var(--order-muted);font-size:12px;line-height:1.7;padding-top:14px;flex-wrap:wrap;font-variant-numeric:tabular-nums}
.order-note{font-size:13px;line-height:1.65;margin:18px 0 0}.order-help{font-size:12px;color:var(--order-muted);line-height:1.65;margin:5px 0 0}
.order-footer{display:flex;justify-content:space-between;gap:8px;align-items:center;margin-top:22px;font-size:11px;color:var(--order-muted);flex-wrap:wrap}.order-channel{border:1px solid var(--order-line);border-radius:6px;padding:4px 6px}
.order-empty{grid-column:1/-1;padding:65px 20px;border:1px dashed var(--order-line);border-radius:20px;text-align:center;color:var(--order-muted);font-size:14px}
#support-bell{position:relative;overflow:visible}
#support-bell #support-unread{position:absolute;right:-7px;top:-9px;min-width:21px;height:21px;box-sizing:border-box;padding:0 5px;display:grid;place-items:center;border-radius:99px;background:#f23f43;color:#fff;border:2px solid #fff;font:700 11px/1 system-ui,sans-serif;box-shadow:0 2px 5px #0003}
html[data-theme=dark] #support-bell #support-unread{border-color:#101116}
#support-bell #support-unread[hidden]{display:none!important}
#support-alert-count{color:#858b99;font-size:13px;line-height:1.7;margin:20px 0}
#support-alerts>header{padding:0 0 18px;background:transparent;border:0;border-bottom:1px solid #8b8b8b33;position:static;min-height:0}
.support-alert-item{position:relative;padding-left:19px}
.support-alert-item::before{content:'';position:absolute;left:0;top:15px;bottom:15px;width:3px;border-radius:3px;background:#d72a50}
.support-alert-item.alert-verification::before{background:#7289f7}
.support-alert-item.alert-verification small:first-child{color:#778ce7;opacity:1}
.support-empty-alert{padding:35px 16px;text-align:center;color:#8a90a0;font-size:14px;line-height:1.8}
.support-dialog-actions a{display:inline-flex;align-items:center;border:1px solid #8b8b8b55;border-radius:9px;padding:9px 12px;font-size:12px;color:inherit;text-decoration:none}
@media(max-width:800px){#shop-history{grid-template-columns:1fr}.order-card{padding:20px}.order-card-head{gap:10px}.order-title h3{font-size:17px}.order-facts strong{font-size:14px}}
