/* SLK Command Center 1.1.12 – status og felles historikk */
.live-status{margin:0 0 10px;padding:7px 10px;border:1px solid #315358;border-radius:8px;font-size:12px;color:#9bd6d0;max-width:100%;}
.shared-history-panel{margin-top:16px;}
.shared-history-panel .tools{display:flex;align-items:end;gap:12px;flex-wrap:wrap;margin:12px 0;}
.shared-history-panel th,.shared-history-panel td{vertical-align:top;}
.shared-history-panel small{font-size:11px;color:#9cbdba;}

/* 1.1.13 – driftsstatus, endringspiler og kontrollert gjenoppretting */
.slk-ops-status{margin:0 0 12px;padding:9px 12px;border:1px solid var(--line,#315358);border-radius:8px;font-size:12px;}
.ops-ok{color:#42b78b;border-color:#277a5e}.ops-warning{color:#e4b45e;border-color:#9b7235}.ops-error{color:#e38b81;border-color:#b4554b}
.edit-change-indicator{font-size:11px;margin:5px 0 0}.registered-change.up{color:#41a578}.registered-change.down{color:#d96760}.registered-change.unchanged{color:#91a7ac}
.restore-panel{padding:16px;margin:16px 0;border:1px solid #638f85;border-radius:10px;background:rgba(48,110,100,.1)}
.restore-panel label{display:block;margin:12px 0}.restore-panel input{max-width:230px;margin-left:8px}
.restore-entry{margin-top:6px;font-size:11px;padding:4px 8px}.restore-panel[hidden]{display:none}

/* SLK 0.4.37: tydelig, filtrerbar revisjonstidslinje */
#data .history-controls{display:flex;flex-wrap:wrap;align-items:end;gap:10px;margin:12px 0;}
#data .history-controls label{flex:1 1 205px;min-width:170px;}
#data .history-controls input,#data .history-controls select{width:100%;}
#data #historyData{overflow-x:auto;}
#data #historyData table{min-width:1150px;}
#data #historyData th{white-space:nowrap;}
#data #historyData td{max-width:310px;word-wrap:break-word;}
.history-explain{font-size:12px;color:#9cbdba;line-height:1.5;margin:10px 0;}
#data [hidden]{display:none!important;}

/* 0.4.42: workbook metadata and signed deltas */
.workbook-editor-panel{border:1px solid var(--line,#315358);border-radius:10px;padding:12px;margin:12px 0 20px}.workbook-editor-panel summary{cursor:pointer;font-weight:600}.workbook-editor-panel table{min-width:430px}.history-delta{font-weight:600;white-space:nowrap}.history-delta.positive{color:#21835d}.history-delta.negative{color:#c64842}.history-delta.neutral{color:var(--muted)}#data #historyData table{min-width:1250px}
