.businessHistoryBody{padding:24px}.businessHistoryDialog .tableWrap{overflow:auto;border:1px solid #dce6df;border-radius:9px}.businessHistoryDialog .actions{margin:14px 0;flex-wrap:wrap}.businessHistoryDialog h3{margin-top:28px}.businessRevisionCompare{table-layout:fixed;white-space:normal}.businessRevisionCompare th:first-child{width:150px}.businessRevisionCompare pre{white-space:pre-wrap;overflow-wrap:anywhere;max-height:260px;overflow:auto;font:12px/1.7 monospace;margin:0}.businessRevisionCompare .revisionChanged{background:#fff8e8}.businessHistoryDialog{max-height:94vh;overflow:auto}.businessHistoryDialog #businessRevisionDetail{scroll-margin-top:12px}@media(max-width:700px){.businessHistoryBody{padding:16px}.businessRevisionCompare{min-width:680px}}
.businessHistoryDialog>.panelHead{position:sticky;top:0;z-index:2;background:white;border-bottom:1px solid #e1e9e4}
.businessHistoryDialog .adminSearchBar{display:flex;flex-wrap:wrap;align-items:flex-end;gap:12px;padding:16px;background:#f4f8f5;border:1px solid #e0e9e3;border-radius:10px}.businessHistoryDialog .adminSearchBar>label{margin:0;flex:1 1 180px;min-width:0}.businessHistoryDialog .adminSearchBar>button{height:42px;align-self:flex-end}.businessHistoryDialog .adminSearchBar input{width:100%}
.revisionFieldChoices{flex:1 1 100%;border:1px solid #dce7df;border-radius:8px;padding:14px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px 16px;min-width:0}.revisionFieldChoices legend{font-size:12px;color:#53715e;padding:0 6px}.revisionFieldChoices label.checkLabel{margin:0;font-size:12px;display:flex;align-items:center;gap:7px}.businessHistoryDialog .revisionFieldChoices input[type=checkbox]{width:auto;min-height:0;flex:none}.revisionFieldChoices small{grid-column:1/-1;color:#6c8273}@media(max-width:700px){.revisionFieldChoices{grid-template-columns:repeat(2,minmax(0,1fr))}}
.revisionHtmlPreview{display:block;width:100%;height:420px;border:1px solid #dce7df;border-radius:8px;background:white}.businessRevisionCompare td:has(.revisionHtmlPreview){vertical-align:top}.revisionViewBar{margin:14px 0}
.revisionCode-added{background:#dff4e6;color:#205d36}.revisionCode-deleted{background:#fbe2e2;color:#973c3c}.revisionCode-modified{background:#fff0bc;color:#725a11}.revisionHighlightOff .revisionCode-added,.revisionHighlightOff .revisionCode-deleted,.revisionHighlightOff .revisionCode-modified{background:transparent;color:inherit}.revisionDiffLegend{flex:1 1 100%;font-size:12px;color:#6a7d6e}.revisionDiffLegend>span{padding:3px 8px;border-radius:4px}
.revisionChangeNavigation{display:flex;align-items:center;justify-content:center;gap:14px;flex-wrap:wrap;padding:10px 14px;border:1px solid #dce7df;border-radius:9px;background:#fff;margin:12px 0;position:sticky;top:105px;z-index:2}.revisionChangeNavigation span{font-size:13px;color:#466c55;font-variant-numeric:tabular-nums}.businessRevisionCompare .revisionCurrentChange{outline:2px solid #3877b9;outline-offset:2px}.revisionChangeAnchor{display:inline-block;width:0;height:0}.businessRevisionCompare pre[data-revision-code]{position:relative}

.adminShell dialog.revisionResetDialog{width:min(600px,calc(100vw - 32px));max-height:90vh;overflow:auto;padding:0;border-radius:16px}.revisionResetDialog .panelHead{display:flex;align-items:center;justify-content:space-between;gap:16px}.adminShell .revisionResetDialog .panelHead h2{font-size:18px;border:0;padding:0;margin:0}.revisionResetBody{padding:0 24px 24px}.revisionResetBody>p{color:#687e70;font-size:13px;line-height:1.7}.revisionResetBusiness{display:flex;flex-direction:column;gap:6px;padding:16px 18px;background:#f2f7f3;border:1px solid #dce7df;border-radius:10px;margin:18px 0;overflow-wrap:anywhere}.revisionResetBusiness small,.revisionResetBusiness span{font-size:12px;color:#6a8172}.revisionResetBusiness strong{font-size:18px;color:#264e37}.revisionResetSections{display:grid;grid-template-columns:1fr 1fr;gap:14px}.revisionResetSections section{border:1px solid #e2e9e4;border-radius:10px;padding:16px}.revisionResetSections h3{margin:0 0 10px;font-size:14px}.revisionResetSections ul{margin:0;padding-left:18px;font-size:13px;line-height:1.9;color:#5e7265}.revisionResetRemoved{background:#fff8ee}.revisionResetRemoved h3{color:#976023}.revisionResetKept{background:#f3f9f5}.revisionResetKept h3{color:#37734f}.revisionResetDialog .actions{display:flex;justify-content:flex-end;gap:10px}.revisionResetNote{margin-top:16px}@media(max-width:520px){.revisionResetSections{grid-template-columns:1fr}.revisionResetBody{padding:0 18px 18px}}
