.calculation-history{margin:16px 0;padding:12px 16px;background:#f3f6f8;border:1px solid #dbe4ea;border-radius:14px;color:#20374b;min-width:0}.history-bar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.history-label{display:flex;align-items:center;gap:9px;font-size:13px;font-weight:650}.history-label svg{width:18px;height:18px;fill:none;stroke:#348566;stroke-width:1.8;flex-shrink:0}.history-actions{display:flex;align-items:center;gap:16px;flex-wrap:wrap}.history-actions button{margin:0;font-size:13px;min-height:44px}.history-status{margin:0!important;font-size:12px;line-height:1.5;color:#526677}.history-details{margin-top:5px}.history-details>summary{display:inline-flex;align-items:center;gap:6px;cursor:pointer;font-size:13px;font-weight:650;min-height:44px}.history-details>summary::before{content:'▸';font-size:12px}.history-details[open]>summary::before{content:'▾'}.history-count{min-width:20px;padding:1px 6px;border-radius:8px;background:#e1e8ee;text-align:center;font-variant-numeric:tabular-nums}.history-note{max-width:86ch;font-size:12px!important;line-height:1.6!important;color:#526677!important;margin:4px 0 10px!important}.history-list{list-style:none;padding:0;margin:0}.history-row{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:10px 0;border-top:1px solid #dbe4ea}.history-row>div:first-child{display:grid;gap:3px;min-width:0}.history-row strong{font-size:13px}.history-row span{font-size:12px;overflow-wrap:anywhere}.history-row-actions{display:flex;gap:12px;flex-shrink:0}.history-row-actions button,.history-clear{min-height:44px;font-size:13px}.history-empty{font-size:13px!important}.history-clear{margin-top:8px;color:#8d433b!important}.history-details [hidden]{display:none!important}@media(max-width:640px){.calculation-history{padding:10px 12px}.history-bar{gap:3px}.history-actions{margin-left:auto}.history-row{align-items:flex-start;gap:6px}.history-row-actions{gap:6px}.history-row-actions button{padding-inline:6px}.history-label{font-size:12px}.history-status{font-size:12px}}@media print{.calculation-history{display:none!important}}
