.hchistory .hch-layout{display:grid;grid-template-columns:minmax(250px,.8fr) minmax(0,1.5fr);gap:24px}.hchistory .hch-controls,.hchistory .hch-visual{background:white;border:1px solid #dce3f3;border-radius:18px;padding:22px;min-width:0}.hchistory form{padding:0;border:0;margin-top:24px;border-radius:0}.hchistory h3{font-size:18px;margin:0 0 12px}.hchistory .hch-check{display:flex;align-items:flex-start;gap:10px;font-weight:600;font-size:14px;line-height:1.5;margin:18px 0 8px}.hchistory .hch-check input{width:20px;height:20px;min-height:20px;flex:0 0 20px;margin:0}.hchistory .hch-actions{display:flex;gap:8px;flex-wrap:wrap}.hchistory .hcscale-secondary{background:#edf1ff;color:#2947c8}.hchistory .hch-status{font-size:14px;color:#394d70;line-height:1.5;min-height:24px;overflow-wrap:anywhere}.hchistory .hch-backup{border-top:1px solid #dce3f3;padding-top:16px;margin-top:20px}.hchistory summary{cursor:pointer;font-weight:700;min-height:44px;padding:8px 0}.hchistory input[type=file]{font-size:13px;max-width:100%;padding:8px}.hchistory [data-template]{display:inline-block;padding:12px 0}.hchistory .hch-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-bottom:18px}.hchistory .hch-stat{padding:12px;background:#f1f4ff;border-radius:12px;min-width:0}.hchistory .hch-stat span{display:block;font-size:12px;color:#52627d}.hchistory .hch-stat strong{display:block;font-size:clamp(18px,2.5vw,26px);color:#2947c8;margin-top:5px;overflow-wrap:anywhere}.hchistory .hch-chart{min-height:300px;width:100%;position:relative}.hchistory .hch-chart svg{display:block;width:100%;height:auto;max-height:none;margin:0}.hchistory .hch-empty{padding:30px 18px;border:2px dashed #dce3f3;border-radius:14px;background:#fafbff;font-size:15px;line-height:1.7;min-height:280px}.hchistory .hch-empty h3{font-size:22px}.hchistory .hch-history-head{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-top:28px}.hchistory [data-count]{font-size:12px;color:#52627d;white-space:nowrap}.hchistory .hch-table-wrap{overflow:auto;max-height:420px;border:1px solid #dce3f3;border-radius:10px}.hchistory table{border-collapse:collapse;width:100%;font-size:13px;background:white}.hchistory th,.hchistory td{text-align:left;padding:10px 8px;border-bottom:1px solid #edf1f8;vertical-align:middle}.hchistory th{background:#f6f8ff;position:sticky;top:0;font-size:12px;z-index:1}.hchistory td:first-child{white-space:nowrap}.hchistory td button{font-size:12px;min-height:40px;padding:8px;margin:0 4px 4px 0;background:#edf1ff;color:#2947c8}.hchistory td:last-child{min-width:105px}.hchistory button[hidden],.hchistory [hidden]{display:none!important}.hchistory .screen-reader-text{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.hchistory [data-storage-conflict]{border:1px solid #dca64a;background:#fff9ec;border-radius:10px;padding:12px;font-size:13px}@media(max-width:860px){.hchistory .hch-layout{grid-template-columns:1fr}.hchistory .hch-controls,.hchistory .hch-visual{padding:16px}}@media(max-width:420px){.hchistory .hch-summary{grid-template-columns:1fr}.hchistory .hch-stat{display:flex;justify-content:space-between;align-items:center;gap:10px}.hchistory .hch-stat strong{margin:0}.hchistory .hch-table-wrap{margin:0 -5px}.hchistory th,.hchistory td{padding:8px 6px}.hchistory .hch-actions button{width:100%}}
