#online-history-backdrop[hidden]{display:none}
#online-history-backdrop{position:fixed;inset:0;z-index:1300;background:#071d19ed;display:grid;place-items:center;padding:12px;direction:rtl}
.online-history-dialog{width:min(760px,100%);max-height:92dvh;overflow:auto;background:#123c32;color:#fff;border:1px solid #548777;border-radius:18px;padding:20px;box-sizing:border-box}
.online-history-heading,.online-history-tabs,.online-history-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap;justify-content:space-between}
.online-history-tabs button{flex:1;min-width:130px;white-space:normal}.online-history-tabs [aria-selected=true]{background:#237f60;color:#fff;outline:2px solid #b8e3cf}
.online-history-card{padding:14px;margin-block:12px;border:1px solid #538273;border-radius:12px;overflow-wrap:anywhere}.online-history-card h3{font-size:1rem}.online-history-card button{min-height:44px;max-width:100%;white-space:normal}
.online-history-dialog button:disabled{opacity:.55;cursor:not-allowed}#online-history-notice{min-height:2em;overflow-wrap:anywhere}
@media(max-width:480px){.online-history-dialog{padding:12px}.online-history-tabs{display:grid;grid-template-columns:1fr}.online-history-card{padding:10px}}
