.operation-history-overlay{position:fixed;inset:0;z-index:1600;background:rgba(50,38,28,.42);display:flex;align-items:center;justify-content:center;padding:24px;box-sizing:border-box;text-align:left;white-space:normal}
.operation-history-dialog{width:min(980px,100%);max-height:calc(100dvh - 48px);display:flex;flex-direction:column;background:#fffdf9;color:#493d33;border:1px solid #e6d5c6;border-radius:20px;box-shadow:0 20px 64px #39271933;overflow:hidden;font-size:14px;line-height:1.5}
.operation-history-dialog>header{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:18px 24px;border-bottom:1px solid #e6d5c6;flex:none}
.operation-history-dialog h2{font-size:22px;margin:0}.operation-history-dialog button{width:auto;white-space:nowrap}
.operation-history-content{overflow:auto;padding:18px 24px;min-height:120px}.operation-history-hint{color:#8b7766;font-size:13px}
.operation-history-event{padding:16px 0;border-bottom:1px solid #e6d5c6}.operation-history-event:last-child{border-bottom:0}
.operation-history-event-heading{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap}.operation-history-event-heading time{color:#877360}
.operation-history-dialog .operation-history-changes{width:100%;table-layout:fixed;border-collapse:collapse;margin-top:12px;min-width:0}
.operation-history-dialog .operation-history-changes th,.operation-history-dialog .operation-history-changes td{padding:9px 12px;border:1px solid #e6d5c6;background:#fffdf9;white-space:pre-wrap;overflow-wrap:anywhere;text-align:left;font-size:14px;vertical-align:top;min-width:0}
.operation-history-dialog .operation-history-changes thead th{background:#f4ece1}.operation-history-changes th:first-child{width:20%}
.operation-history-dialog dl{display:grid;grid-template-columns:minmax(90px,20%) minmax(0,1fr);gap:8px 12px}.operation-history-dialog dd{margin:0;white-space:pre-wrap;overflow-wrap:anywhere}
@media(max-width:600px){.operation-history-overlay{padding:10px}.operation-history-dialog{max-height:calc(100dvh - 20px)}.operation-history-dialog>header,.operation-history-content{padding:14px}}
.operation-history-toolbar{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:12px}
.operation-history-search{display:flex;gap:8px;align-items:center;padding:14px 24px;border-bottom:1px solid #e6d5c6;flex:none;margin:0}
.operation-history-search input{flex:1;min-width:0;width:auto}
.operation-history-results{border-bottom:1px solid #e6d5c6;padding-bottom:14px;margin-bottom:14px}
.operation-history-results button{margin:4px 8px 4px 0;text-align:left;white-space:normal;overflow-wrap:anywhere}
.operation-history-results button[aria-pressed=true]{background:#f4ece1;border-color:#805a40}
.customer-page-header:has(>.operation-history-toolbar){display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;column-gap:16px}
.customer-page-header>.operation-history-toolbar{grid-column:2;grid-row:1 / span 4;justify-content:flex-end;margin-top:0}
.customer-page-header>:not(.operation-history-toolbar){grid-column:1}
.operation-history-image{padding:12px;border:1px solid #e6d5c6;border-radius:10px;background:#f8f3ec;margin-bottom:16px;display:flex;flex-direction:column;align-items:center;gap:10px}
.operation-history-image img{display:block;width:auto;height:auto;max-width:100%;max-height:65vh;object-fit:contain}
