
.rev-list,.rev-source,.rev-editor {padding:0}
.rev-list [hidden],.rev-workspace [hidden],.rev-dialog [hidden]{display:none!important}
.rev-tabs{display:flex;gap:18px;align-items:stretch;border-bottom:1px solid var(--line);padding:0 20px;overflow:auto}
.rev-tabs a,.rev-tabs button{flex:0 0 auto;display:flex;align-items:center;justify-content:center;gap:4px;min-height:49px;padding:0 2px;border:0;border-bottom:2px solid transparent;background:transparent;color:var(--muted);font-weight:550;white-space:nowrap}
.rev-tabs .active{border-bottom-color:var(--red);color:var(--red)}
.rev-filters {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));align-items:end;gap:12px 14px;margin:20px}
.rev-search{display:flex;align-items:center;gap:8px;border:1px solid var(--line);border-radius:7px;padding:0 10px;height:37px;color:var(--muted);background:white}
.rev-search input{width:100%;border:0;background:none;outline:0}
.rev-filters .field input,.rev-filters .field select,.rev-grid .field select,.rev-grid .field input,.rev-choose select{width:100%;min-width:0}
.rev-filter-actions,.rev-imagebar>div,.rev-source-tools>div,.rev-rowbar>div,.rev-check,.rev-back,.rev-evidence-link,.rev-weekdays,.rev-current,.rev-load,.rev-save,.rev-title,.rev-rowbar,.rev-imagebar,.rev-source-tools{display:flex;align-items:center;gap:8px}
.rev-link,.rev-evidence-link,.rev-back,.rev-text-action{color:var(--red);font-weight:550;font-size:13px}
.rev-filter-actions{height:37px;gap:14px}
.rev-rowbar,.rev-load{justify-content:space-between;padding:12px 20px;color:var(--muted);font-size:13px;border-top:1px solid var(--line)}
.rev-rowbar strong,.rev-summary dd{color:var(--ink)}
.rev-list .table-wrap{border-radius:0}
.rev-dish{display:flex;align-items:center;gap:10px}
.rev-dish img,.rev-noimg{width:52px;height:39px;object-fit:cover;border-radius:6px;flex:none}
.rev-noimg,.rev-preview-placeholder{display:grid;place-items:center;background:#f2eee7;color:#94877a}
.rev-dish b,.rev-dish small,.rev-date small,.rev-current small{display:block}
.rev-dish span:not(.rev-noimg){min-width:0}.rev-dish b{font-size:13px}.rev-dish small{max-width:200px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.rev-date{font-size:12px}.rev-nowrap{white-space:nowrap;font-variant-numeric:tabular-nums}
.rev-load{justify-content:center;min-height:44px;overflow-anchor:none}
.rev-list input[type=checkbox],.rev-workspace input[type=checkbox],.rev-dialog input[type=checkbox]{accent-color:var(--red);width:15px;height:15px;min-height:0;flex:none}
.rev-back{width:max-content;margin-bottom:6px;color:var(--muted);font-size:12px}
.rev-workspace{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);align-items:start;gap:18px}
.rev-source{position:sticky;top:12px;overflow:hidden}
.rev-source-heading,.rev-choose,.rev-section,.rev-scroll,.rev-pad,.rev-record{padding:16px 20px}
.rev-source-heading p,.rev-text-block small,.rev-ev small,.rev-crop-controls p,.rev-record>p{font-size:12px;color:var(--muted)}
.rev-source-heading p{margin-top:7px}.rev-title,.rev-imagebar,.rev-source-tools{justify-content:space-between}
.rev-source-tools,.rev-imagebar{padding:10px 14px;font-size:12px;color:var(--muted)}
.rev-source-tools{border-bottom:1px solid var(--line)}.rev-imagebar{gap:4px}
.rev-imagebar>div span{font-family:ui-monospace,monospace;min-width:38px;text-align:center}
.rev-viewport{position:relative;overflow:auto;max-height:min(65vh,740px);border-block:1px solid var(--line);background:#e7e5df;overscroll-behavior:contain}
.rev-stage{position:relative;line-height:0;margin:0 auto}
.rev-original{display:block;width:100%;height:auto;user-select:none}
.rev-stage.rev-cropping{cursor:crosshair;touch-action:none}
.rev-crop-box,.rev-proof-box{position:absolute;pointer-events:none;outline:2px solid #fff;outline-offset:-3px;border:2px solid #137c84;background:#198a8b19;box-sizing:border-box}
.rev-proof-box{border-color:#d84021;background:#ffa71736}
.rev-cropping .rev-crop-box{cursor:move;pointer-events:auto;box-shadow:0 0 0 100vmax #19222955}
.rev-cropping .rev-crop-box i{position:absolute;width:17px;height:17px;bottom:-2px;right:-2px;background:white;border:3px solid #137c84;cursor:nwse-resize}
.rev-citation,.rev-crop-controls,.rev-current{padding:12px 16px}
.rev-citation{color:#854c16;background:#fcf2df;border-left:3px solid #be7c29}
.rev-current img{width:72px;height:54px;border-radius:6px;object-fit:cover}.rev-current strong{font-size:13px}
.rev-coordinates{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin:8px 0}
.rev-coordinates input{width:100%}.rev-scroll{max-height:63vh;overflow:auto;overscroll-behavior:contain}
.rev-text-block{border-left:2px solid var(--line);padding:2px 0 2px 10px;margin-bottom:12px}.rev-text-block p{white-space:pre-wrap;overflow-wrap:anywhere}
.rev-highlight{border-color:var(--red)}.rev-highlight mark{background:#ffe3a0}
.rev-ev{display:block;text-align:left;padding:12px;width:100%;border:1px solid var(--line);border-radius:9px;background:white;margin-bottom:8px}
.rev-ev:hover,.rev-ocr-line:hover{background:var(--wash)}.rev-ev>span{display:flex;justify-content:space-between}
.rev-ev q,.rev-ev small{display:block;margin-top:5px}
.rev-ocr-line{padding:3px 6px;border:1px solid var(--line);border-radius:4px;background:white;margin:3px;font-size:13px}
.rev-unframed{border:0;margin:0;padding:0;min-width:0}
.rev-section+.rev-section,.rev-record+.rev-record,.rev-save,.rev-record{border-top:1px solid var(--line)}
.rev-section .rev-title,.rev-section>h3,.rev-choose h2{margin:0 0 12px}
.rev-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px 12px}
.rev-grid .field{min-width:0}
.rev-evidence-link{background:none;border:0;font-size:12px;padding:4px}
.rev-wide{grid-column:1/-1}
.rev-period,.rev-scope{padding:10px 12px 12px;border:1px solid var(--line);border-radius:9px;margin:0 0 14px;min-width:0}
.rev-period legend,.rev-scope legend{font-size:12px;color:var(--muted);padding:0 4px}
.rev-extra>summary,.rev-pick>summary,.rev-record summary,.rev-warnings summary{cursor:pointer}
.rev-extra>summary,.rev-pick>summary{font-size:12px}
.rev-extra>.rev-grid,.rev-diff,.rev-text-action,.rev-scope>[data-remove-scope],.rev-space,.rev-preview-card{margin-top:10px}
.rev-weekdays{gap:6px;flex-wrap:wrap}.rev-weekdays label{display:flex;align-items:center;gap:3px}
.rev-pick{border:1px solid var(--line);border-radius:6px;padding:7px 9px}
.rev-pick summary span{float:right;color:var(--muted)}
.rev-pick-list{max-height:190px;overflow:auto;border-top:1px solid var(--line);margin-top:6px;padding-top:6px}
.rev-check{align-items:flex-start;padding:3px 0;font-size:13px}.rev-check input{margin-top:3px}
.rev-save{justify-content:flex-end;padding:14px 20px;flex-direction:row-reverse}.rev-save span{font-size:12px}
.rev-warnings{padding:12px 17px;border:1px solid #ecd5a9;border-radius:12px;background:#fff8e9;color:#775016;margin:0 0 16px}
.rev-warnings ul,.rev-small-issues{padding-left:20px;margin:7px 0 0}
.rev-more{position:relative}.rev-more summary{list-style:none;cursor:pointer}.rev-more summary::-webkit-details-marker{display:none}
.rev-more[open]>div{position:absolute;right:0;z-index:5;padding:5px;border:1px solid var(--line);border-radius:9px;background:white;box-shadow:0 6px 20px #15212a18;min-width:150px}
.rev-more>div button{display:block;width:100%;text-align:left;justify-content:start;border:0;white-space:nowrap}
.rev-record>summary{font-weight:600}.rev-record>summary small{margin-left:8px;font-weight:400}
.rev-record>button,.rev-record>details,.rev-record>p{margin-top:10px}
.rev-small-issues,.rev-record p,.rev-diff{font-size:12px}.rev-diff pre{max-height:120px;margin:0;font-size:11px;white-space:pre-wrap}
.rev-diff table{width:100%;table-layout:fixed}.rev-diff th,.rev-diff td{white-space:normal;overflow-wrap:anywhere}
.rev-summary{margin:10px 0;display:grid;gap:4px}.rev-summary>div{display:grid;grid-template-columns:70px 1fr;gap:5px}.rev-summary dt{color:var(--muted)}.rev-summary dd{margin:0}
.rev-bottom{align-self:end}.rev-preview-card{max-width:320px;overflow:hidden;border:1px solid var(--line);border-radius:12px;background:white}
.rev-preview-card>img,.rev-preview-placeholder{display:block;width:100%;aspect-ratio:4/3;object-fit:cover}
.rev-preview-placeholder{display:grid}.rev-preview-card>div:not(.rev-preview-placeholder){padding:14px}.rev-preview-card strong{font-size:18px;color:var(--red)}
.rev-preview-card p{font-size:13px;margin-top:6px}.rev-choose{margin-bottom:14px}.rev-choose .field+.field{margin-top:10px}
.rev-dialog{width:min(560px,92vw);padding:0;border:1px solid var(--line);border-radius:16px;color:var(--ink);box-shadow:0 16px 54px #17202026;max-height:86vh}
.rev-dialog::backdrop{background:#20242765}.rev-dialog-form>.rev-title,.rev-dialog footer,.rev-dialog-body{padding:16px 20px}
.rev-dialog-form>.rev-title{border-bottom:1px solid var(--line)}.rev-dialog h2{font-size:18px}
.rev-dialog-body{display:grid;gap:12px}.rev-dialog footer{display:flex;gap:8px;justify-content:flex-end;border-top:1px solid var(--line)}
.rev-bulk-item,.rev-results li{border-bottom:1px solid var(--line);padding:6px 0}.rev-error{color:#a3342c;background:#fff1eb;padding:8px;border-radius:6px;white-space:pre-line}.rev-results{margin:0;padding-left:16px}
@media(max-width:1170px){.rev-workspace{grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:12px}.rev-tabs{gap:9px;padding:0 12px}.rev-tabs button{font-size:12px}.rev-section,.rev-record,.rev-source-heading{padding:14px}.rev-filters{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:850px){.rev-workspace{grid-template-columns:1fr}.rev-source{position:static}.rev-viewport,.rev-scroll{max-height:52vh}.rev-worktabs{position:sticky;top:0;background:white;z-index:2;border-radius:13px 13px 0 0}}
@media(max-width:560px){.rev-filters{grid-template-columns:repeat(2,minmax(0,1fr));margin:14px;gap:8px}.rev-tabs{gap:12px}.rev-filters .rev-search{grid-column:1/-1}.rev-rowbar,.rev-load{padding:10px 12px}.rev-filters .field{font-size:12px}.rev-dish small{max-width:140px}.rev-dialog-body,.rev-dialog footer,.rev-dialog-form>.rev-title{padding:12px}.rev-grid{gap:8px}.rev-source-tools,.rev-imagebar{padding:8px 10px}}

.rev-stage{overflow:hidden}
.rev-proof-field{position:relative;min-width:0}.rev-proof-field>.rev-evidence-link{position:absolute;right:0;top:-4px}
.rev-step-nav{padding:16px 20px;margin-bottom:16px}
.rev-progress,.rev-step-choice,.rev-step-heading,.rev-shortcuts,.rev-step-actions,.rev-candidate-notice{display:flex;align-items:center;gap:10px}
.rev-progress h2{margin-right:auto}.rev-progress span,.rev-step-choice small,.rev-step-heading small,.rev-step-evidence p,.rev-field-hint,.rev-diagnostics{font-size:12px;color:var(--muted)}
.rev-progress progress{appearance:none;width:88px;height:5px;border:0;background:#eceee8;border-radius:8px;color:var(--green)}
.rev-progress progress::-webkit-progress-bar{background:#eceee8;border-radius:8px}.rev-progress progress::-webkit-progress-value{background:var(--green);border-radius:8px}.rev-progress progress::-moz-progress-bar{background:var(--green);border-radius:8px}
.rev-step-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(145px,100%),1fr));gap:8px;margin-top:12px}
.rev-step-choice{min-width:0;text-align:left;border:1px solid var(--line);border-radius:8px;padding:9px 11px;background:#fafaf8;color:var(--ink);line-height:1.4}
.rev-step-choice:hover{border-color:#c8b5a9}.rev-step-choice[aria-current]{background:var(--tint);border-color:#cb9280}
.rev-step-number,.rev-finish-icon{display:grid;place-items:center;flex:none;width:25px;height:25px;background:#eceee9;color:#6f7674;border-radius:50%;font-size:12px;font-weight:650}
.rev-step-choice[aria-current] .rev-step-number{background:var(--red);color:#fff}.rev-step-choice.is-done .rev-step-number,.rev-finish-icon{color:var(--green);background:#e8f3eb}
.rev-step-choice b,.rev-step-choice small{display:block}.rev-step-choice b{font-size:13px}
.rev-step-body,.rev-finish{padding:20px}.rev-step-heading{justify-content:space-between;align-items:start}
.rev-step-heading h2,.rev-finish h2{font-size:21px;line-height:1.4;margin:3px 0}.rev-step-heading h2:focus,.rev-finish h2:focus{outline:0}
.rev-step-why{font-size:14px;margin:8px 0;color:#3a4547;line-height:1.6}
.rev-step-instruction{display:flex;align-items:flex-start;gap:8px;background:#f8f5ef;border-radius:7px;padding:10px 12px;font-size:13px;color:#62523e;line-height:1.6}
.rev-step-instruction .ico{flex:none;margin-top:2px}
.rev-step-evidence{margin:15px 0;padding-bottom:16px;border-bottom:1px solid var(--line)}
.rev-step-evidence p,.rev-field-hint{line-height:1.6;margin:6px 0}.rev-evidence-cards{display:grid;gap:6px;margin-top:8px;max-height:220px;overflow:auto}
.rev-evidence-cards button{display:flex;align-items:baseline;gap:8px;padding:6px 9px;background:#fafaf8;border:1px solid var(--line);border-radius:5px;text-align:left;font-size:13px}
.rev-evidence-cards button:hover{border-color:#bdb3a8}.rev-evidence-cards small{flex:none;color:var(--muted)}.rev-evidence-cards q{overflow-wrap:anywhere}
[data-step-form]>h3{margin-bottom:10px}.rev-input-group{min-width:0}.rev-input-group:has([data-periods]) .rev-period:last-child{margin-bottom:8px}
.rev-price-extra{border-top:1px solid var(--line);padding-top:9px}.rev-price-extra>summary{color:#596265}
.rev-shortcuts{flex-wrap:wrap;margin:12px 0}.rev-diagnostics{margin-top:16px}.rev-diagnostics summary{cursor:pointer}.rev-diagnostics ul{padding-left:17px}
.rev-step-actions{flex-wrap:wrap;border-top:1px solid var(--line);padding-top:14px;margin-top:14px}
.rev-step-actions [data-step-reset]{border:0;color:var(--muted);background:none}.rev-step-body .rev-error{font-size:13px;margin-top:12px}.rev-error [data-step-reload]{margin-left:8px}
.rev-input-group [aria-invalid=true]{border-color:var(--red)!important}.rev-detail [disabled],.heading-actions button:disabled{cursor:not-allowed}.heading-actions button:disabled{opacity:.6}
.rev-finish-icon{width:36px;height:36px;margin-bottom:8px}.rev-finish p,.rev-candidate-notice p{font-size:13px;color:var(--muted);margin:4px 0 12px}
.rev-candidate-notice{justify-content:space-between;padding:13px 16px;margin-bottom:15px;border:1px solid #ead6ad;border-radius:10px;background:#fff8e9}
.rev-candidate-notice strong{font-size:14px}.rev-candidate-notice p{margin-bottom:0}.rev-candidate-notice .btn{flex:none}
.rev-return-step{display:none}
@media(max-width:850px){.rev-return-step{display:inline-flex;margin-top:8px}}
@media(max-width:850px){.rev-detail .rev-editor{order:-1}.rev-detail .rev-source{scroll-margin-top:10px}.rev-worktabs{position:static}.rev-step-list{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.rev-proof-field>.rev-evidence-link{position:static}.rev-step-nav,.rev-step-body,.rev-finish{padding:13px}.rev-step-choice{padding:7px;gap:6px}.rev-progress progress{width:48px}.rev-detail .rev-worktabs{gap:13px}.rev-evidence-cards button{display:grid;gap:2px}.rev-candidate-notice{align-items:flex-start;flex-wrap:wrap}}
