.history-tabs{display:flex;gap:6px;margin:0 0 24px;border-bottom:1px solid var(--line,#e0e5dc);padding-bottom:10px}.history-tabs button,.history-filters button{border:0;background:transparent;border-radius:10px;padding:11px 16px;font:inherit;color:var(--muted,#68766d);cursor:pointer}.history-tabs button.active,.history-filters button.active{background:#e6efdf;color:#264f3b;font-weight:700}.history-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-bottom:24px}.history-summary>div{display:flex;flex-direction:column;gap:8px;background:#f0f3eb;border-radius:16px;padding:22px}.history-summary strong{font-size:30px;line-height:1.2;font-variant-numeric:tabular-nums}.history-summary span{font-size:15px;color:#68766d}.history-panel{padding:24px}.history-filters{display:flex;flex-wrap:wrap;gap:4px;margin-bottom:10px}.history-filters button{padding:9px 12px}.history-task{display:flex;align-items:center;gap:14px;padding:24px 0;border-bottom:1px solid #e8ebe3}.history-task:last-child{border-bottom:0}.history-task>div{flex:1;min-width:0}.history-task strong{font-size:18px;overflow-wrap:anywhere}.history-meta{display:flex;flex-wrap:wrap;gap:12px;margin-top:8px;font-size:14px;color:#68766d}.history-status{display:inline-flex;align-items:center;justify-content:center;white-space:nowrap;padding:6px 10px;border-radius:8px;background:#f0f1ed;color:#677367;font-size:14px}.history-status.done{background:#e4efdf;color:#3b6647}.history-status.review{background:#fff0d2;color:#85601d}.history-status.running{background:#dcebf5;color:#315f7e}.history-status.archived{background:#efebe5;color:#7a6a58}.history-toolbar{display:flex;gap:12px;align-items:end;flex-wrap:wrap;margin-bottom:20px}.history-toolbar label{display:flex;flex-direction:column;gap:8px;font-size:15px}.history-toolbar input,.history-toolbar select{min-height:44px;padding:9px 12px;border:1px solid #dce3d5;border-radius:10px;background:#fff;font:inherit}.history-empty{padding:35px 12px;text-align:center;line-height:1.8;color:#68766d}.history-more{text-align:center;margin-top:20px}.audit-event{border-bottom:1px solid #e8ebe3}.audit-event:last-child{border-bottom:0}.audit-event summary{list-style:none;display:flex;align-items:center;gap:18px;padding:22px 0;cursor:pointer}.audit-event summary::-webkit-details-marker{display:none}.audit-event time{font-size:14px;color:#68766d;font-variant-numeric:tabular-nums;min-width:132px}.audit-event summary>div{flex:1;min-width:0}.audit-event strong{font-size:16px;overflow-wrap:anywhere}.audit-event summary p{font-size:15px;color:#68766d;margin:7px 0 0;overflow-wrap:anywhere}.audit-expand{font-size:20px;color:#728569}.audit-event[open] .audit-expand{transform:rotate(45deg)}.audit-detail{padding:4px 20px 22px;margin-bottom:10px;background:#f7f8f3;border-radius:12px;font-size:15px;line-height:1.7;overflow-wrap:anywhere}.audit-detail p{margin:12px 0}.audit-change{padding:10px 0;border-bottom:1px solid #e6e9df}.audit-change>strong{display:block;margin-bottom:6px;font-size:14px;color:#596956}.audit-change>div{display:flex;gap:12px;white-space:pre-wrap}.audit-change>div>span{flex:0 0 32px;color:#7e887a;font-size:13px}.audit-task-change{padding-top:16px}.history-detail-head{padding-bottom:20px;border-bottom:1px solid #e8ebe3;margin-bottom:20px}.history-detail-head h3{font-size:22px;margin:6px 0 10px}.history-detail-head p{font-size:15px;line-height:1.6;white-space:pre-wrap;overflow-wrap:anywhere}#task-audit .audit-event summary{flex-wrap:wrap;gap:8px}#task-audit .audit-event time{width:100%}
@media(max-width:600px){.history-tabs{gap:2px}.history-tabs button{padding:11px 13px}.history-summary{gap:8px;margin-bottom:16px}.history-summary>div{padding:16px 12px}.history-summary strong{font-size:23px}.history-summary span{font-size:13px}.history-panel{padding:16px}.history-task{flex-wrap:wrap;gap:10px;padding:20px 0}.history-task>div{flex-basis:calc(100% - 90px)}.history-task .btn{min-height:40px;padding:8px 14px}.history-meta{gap:5px 12px}.history-filters{gap:2px}.history-filters button{padding:8px 9px;font-size:14px}.audit-event summary{flex-wrap:wrap;gap:8px;padding:20px 0}.audit-event time{width:100%;min-width:0}.audit-detail{padding:4px 12px 16px}.history-toolbar{gap:10px}.history-toolbar label:first-child{flex:1}.history-toolbar label:last-child{width:100%}.history-toolbar input{min-width:0;width:100%}.history-toolbar .btn{padding:10px}.history-toolbar select{width:100%}.history-summary strong{white-space:nowrap}}
@media(max-width:600px){.heading:has(#history-date){align-items:flex-start;flex-direction:column;gap:14px}.heading:has(#history-date) .date-control{display:flex;flex-direction:row;flex-wrap:nowrap;gap:10px;max-width:none}#history-date{font-size:16px;padding:10px 12px;min-height:44px}.heading:has(#history-date) .date-control .btn{min-height:44px}}
@media(max-width:600px){.heading:has(#history-date) .date-control{width:auto}#history-date{width:180px;max-width:180px;flex:none}}
