/* History only: immutable release; existing administration layouts stay unchanged. */
#admin-section-operations.active{display:flex;flex-direction:column;height:100%;min-height:0;padding:12px 16px;overflow:hidden}
#admin-section-operations .operation-history-panel{display:flex;flex-direction:column;flex:1;min-height:0;width:100%;padding:12px;gap:10px;overflow:hidden}
#admin-section-operations .operation-history-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;flex:none}
#admin-section-operations .operation-history-heading h2{margin:0;font-size:17px}
.operation-history-filters{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px 12px;flex:none}
.operation-history-filters label,.operation-history-pagination label{display:flex;flex-direction:column;gap:4px;min-width:0;font-size:11px;color:#655e54}
#admin-section-operations .operation-history-filters select,#admin-section-operations .operation-history-filters input{width:100%;min-width:0;min-height:32px;height:32px;margin:0;padding:4px 8px;font-size:12px}
#admin-section-operations .operation-history-scroll{min-height:80px;flex:1;overflow:auto;max-height:none;border:1px solid #e5dfd7;border-radius:6px;overscroll-behavior:contain}
#admin-section-operations .operation-history-table{width:100%;min-width:1400px;border-collapse:separate;border-spacing:0;table-layout:auto}
#admin-section-operations .operation-history-table th{position:sticky;top:0;z-index:2;height:34px;padding:5px 8px;white-space:nowrap;background:#f7f4ee;font-size:10px}
#admin-section-operations .operation-history-row{height:34px}
#admin-section-operations .operation-history-row td{height:34px;max-width:200px;padding:3px 8px;font-size:12px;line-height:18px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;vertical-align:middle}
#admin-section-operations .operation-history-row:nth-of-type(even){background:#fcfbf9}
#admin-section-operations .operation-history-row.is-expanded{background:#fff3e7}
#admin-section-operations .operation-history-row .operation-tenant,#admin-section-operations .operation-history-row .operation-actor{max-width:180px}
#admin-section-operations .operation-amount{text-align:right;font-variant-numeric:tabular-nums}
#admin-section-operations [data-operation-detail]{display:block;width:28px;min-height:26px;height:26px;padding:0;border:1px solid #d6ccc0;background:white;border-radius:4px;font-size:18px;cursor:pointer;color:#714c29}
#admin-section-operations .operation-detail>td{padding:0;white-space:normal}
.operation-detail-content{padding:14px;background:#fffaf4;max-width:100%;font-size:12px}
.operation-detail-content dl{display:flex;flex-wrap:wrap;gap:6px 12px;margin:0 0 12px}
.operation-detail-content dt{color:#776d60}.operation-detail-content dd{margin:0 16px 0 0;overflow-wrap:anywhere}
.operation-mark-fields{display:flex;align-items:end;flex-wrap:wrap;gap:10px}
.operation-mark-fields label{display:flex;flex-direction:column;gap:4px}.operation-mark-fields label:nth-child(3){flex:1;min-width:180px}
#admin-section-operations .operation-mark-fields select,#admin-section-operations .operation-mark-fields input{width:100%;height:34px;min-height:34px;font-size:12px}
.operation-mark-fields [data-field=multiplier]{max-width:100px}
.operation-mark-fields button,.operation-history-pagination button{border:1px solid #d6ccc0;background:#fff;border-radius:5px;min-height:32px;padding:4px 10px;cursor:pointer}
.operation-history-pagination button:disabled{opacity:.4;cursor:default}
.operation-mark-status:empty{display:none}.operation-mark-status{color:#9a3412}
.operation-detail-content small{display:block;margin-top:10px;color:#776d60}
#admin-section-operations .operation-history-pagination{display:flex;align-items:center;gap:16px;flex:none;flex-wrap:wrap;font-size:12px}
.operation-history-pagination>span{margin-right:auto}.operation-history-pagination label{flex-direction:row;align-items:center;gap:6px}
#admin-section-operations .operation-history-pagination select{width:70px;min-height:30px;height:30px;margin:0;padding:2px 6px}
.operation-history-pagination>div{display:flex;align-items:center;gap:10px}
.operation-history-status{margin:0;padding:8px;border-radius:4px;background:#f5f1e9;font-size:12px}.operation-history-status[hidden]{display:none}.operation-history-status[data-kind=error]{color:#9a3412;background:#fff1e9}
.operation-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:980px){
 #admin-section-operations.active{padding:8px;overflow:auto}
 #admin-section-operations .operation-history-panel{flex:none;min-height:500px;height:calc(100dvh - 235px);padding:10px;overflow:visible}
 .operation-history-filters{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
 #admin-section-operations .operation-history-filters select,#admin-section-operations .operation-history-filters input{min-height:36px;height:36px}
 #admin-section-operations .operation-history-pagination{gap:8px}
 .operation-history-pagination>span{flex-basis:100%}
 #admin-section-operations .operation-history-row,#admin-section-operations .operation-history-row td{height:40px}
 #admin-section-operations [data-operation-detail]{min-height:34px;height:34px;width:34px}
 .operation-detail-content{max-width:calc(100vw - 58px)}
}
