.company-history{display:inline-flex;align-items:center;gap:6px;padding:7px 10px;border:1px solid #b8c9df;border-radius:10px;background:#f1f6fc;color:#315d89;font-size:12px;font-weight:900;cursor:pointer;transition:.18s}.company-history:hover{background:#dfeaf7;transform:translateY(-1px)}
.history-dialog{width:min(900px,100%)}.history-loading,.history-empty{padding:45px;text-align:center;color:var(--muted)}.history-loading.error{color:var(--red)}
.history-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:18px}.history-summary>div{padding:13px;border:1px solid var(--line);border-radius:14px;background:#fff}.history-summary span,.history-summary b{display:block}.history-summary span{margin-bottom:6px;color:var(--muted);font-size:11px}.history-summary b{overflow-wrap:anywhere;color:var(--dark)}
.history-timeline{position:relative;display:grid;gap:12px}.history-timeline:before{content:"";position:absolute;inset-block:12px;inset-inline-start:19px;width:2px;background:#dfd2b2}.history-event{position:relative;display:grid;grid-template-columns:40px minmax(0,1fr);gap:12px}.history-marker{z-index:1;display:grid;place-items:center;width:40px;height:40px;border:3px solid #faf7ef;border-radius:50%;background:#ead394;font-size:16px}.history-event.payment .history-marker{background:#d9e8f7}.history-event.activity .history-marker{background:#dceede;color:#24774a}
.history-event-body{padding:14px;border:1px solid var(--line);border-radius:16px;background:#fff}.history-event-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:11px}.history-event-head h3{margin:0;color:var(--dark);font-size:15px}.history-event-head time{flex:0 0 auto;color:var(--muted);font-size:11px}.history-details{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.history-details>div{padding:8px 10px;border-radius:10px;background:#f8f5ed;min-width:0}.history-details span,.history-details b{display:block;overflow-wrap:anywhere}.history-details span{margin-bottom:4px;color:var(--muted);font-size:10px}.history-details b{font-size:12px}
.history-changes{display:grid;gap:7px;margin-top:12px;padding-top:12px;border-top:1px dashed var(--line)}.history-change{display:grid;grid-template-columns:minmax(110px,.8fr) minmax(0,1fr) 22px minmax(0,1fr);align-items:center;gap:8px;padding:9px;border-radius:11px;background:#faf7ef}.history-change>span{font-size:11px;font-weight:900;color:var(--dark)}.history-change>div{min-width:0}.history-change small,.history-change b{display:block;overflow-wrap:anywhere}.history-change small{color:var(--muted);font-size:9px}.history-change b{font-size:11px}.history-change i{text-align:center;color:var(--gold);font-style:normal;font-weight:900}
.history-proof{margin-top:12px;border:1px solid #b8c9df;border-radius:11px;padding:9px 13px;background:#eef5fc;color:#315d89;font:inherit;font-size:12px;font-weight:900;cursor:pointer}.history-proof:hover{background:#dfeaf7}.history-proof:disabled{opacity:.6;cursor:wait}
@media(max-width:700px){.company-foot{flex-wrap:wrap}.company-history,.subscription-manage{flex:1;justify-content:center;margin:0}.history-summary{grid-template-columns:1fr 1fr}.history-details{grid-template-columns:1fr}.history-event-head{display:block}.history-event-head time{display:block;margin-top:5px}.history-dialog{padding:14px}.history-timeline:before{inset-inline-start:15px}.history-event{grid-template-columns:32px minmax(0,1fr);gap:8px}.history-marker{width:32px;height:32px;font-size:13px}.history-change{grid-template-columns:1fr 1fr}.history-change>span{grid-column:1/-1}.history-change i{display:none}}
