:root{
  --rlv2-ink:#182230;
  --rlv2-copy:#344054;
  --rlv2-muted:#667085;
  --rlv2-line:#D5DDE7;
  --rlv2-soft:#F7F9FC;
  --rlv2-navy:#173B75;
  --rlv2-red:#B42318;
  --rlv2-green:#18794E;
  --rlv2-amber:#9A5B13;
}
.rlv2-review-backdrop{
  position:fixed;
  inset:0;
  z-index:12000;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:24px;
  background:rgba(15,28,49,.58);
  backdrop-filter:blur(2px);
}
.rlv2-review{
  display:flex;
  width:min(980px,100%);
  max-height:min(900px,calc(100dvh - 48px));
  overflow:hidden;
  flex-direction:column;
  border:1px solid #BEC9D7;
  border-radius:12px;
  background:#fff;
  color:var(--rlv2-ink);
  box-shadow:0 26px 80px rgba(15,28,49,.28);
  font:17px/1.55 -apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
}
.rlv2-review>header{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:22px;
  padding:22px 24px 18px;
  border-bottom:1px solid var(--rlv2-line);
}
.rlv2-review>header span,.rlv2-panel-head>div>span,.rlv2-client-stage-card>span{
  display:block;
  color:#526176;
  font-size:15px;
  font-weight:700;
  letter-spacing:.02em;
}
.rlv2-review h2,.rlv2-panel h2,.rlv2-change-queue h2{margin:3px 0 0;color:var(--rlv2-ink);font-size:24px;line-height:1.25}
.rlv2-review header p,.rlv2-panel-head p{max-width:760px;margin:6px 0 0;color:var(--rlv2-copy);font-size:16px;line-height:1.55}
.rlv2-close{
  display:inline-flex;
  width:44px;
  height:44px;
  padding:0;
  align-items:center;
  justify-content:center;
  flex:none;
  border:1px solid var(--rlv2-line);
  border-radius:7px;
  background:#fff;
  color:var(--rlv2-copy);
  font-size:25px;
  cursor:pointer;
}
.rlv2-review-body{padding:20px 24px;overflow:auto}
.rlv2-review>footer{display:flex;justify-content:flex-end;gap:10px;padding:16px 24px;border-top:1px solid var(--rlv2-line);background:var(--rlv2-soft)}
.rlv2-review button,.rlv2-panel button,.rlv2-change-queue button{min-height:44px!important;font-size:15px!important}
.rlv2-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));overflow:hidden;border:1px solid var(--rlv2-line);border-radius:8px;background:#fff}
.rlv2-summary>div{min-width:0;padding:15px 17px;border-right:1px solid var(--rlv2-line)}
.rlv2-summary>div:last-child{border-right:0}
.rlv2-summary span{display:block;color:var(--rlv2-muted);font-size:15px;line-height:1.4}
.rlv2-summary b{display:block;margin-top:4px;color:var(--rlv2-ink);font-size:19px;line-height:1.35;overflow-wrap:anywhere}
.rlv2-section{margin-top:16px;padding:17px;border:1px solid var(--rlv2-line);border-radius:8px;background:#fff}
.rlv2-section:first-child{margin-top:0}
.rlv2-section h3{margin:0 0 12px;color:var(--rlv2-ink);font-size:18px;line-height:1.35}
.rlv2-section>p{margin:0 0 12px;color:var(--rlv2-copy);font-size:16px;line-height:1.55}
.rlv2-two{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.rlv2-table-wrap{overflow-x:auto}
.rlv2-table{width:100%;border-collapse:collapse;table-layout:auto}
.rlv2-table th{padding:10px 11px;border-bottom:1px solid var(--rlv2-line);color:var(--rlv2-muted);font-size:15px;text-align:left;white-space:nowrap}
.rlv2-table td{padding:12px 11px;border-bottom:1px solid #E9EDF2;color:var(--rlv2-copy);font-size:16px;vertical-align:top}
.rlv2-table td b{color:var(--rlv2-ink)}
.rlv2-table td small{display:block;margin-top:2px;color:var(--rlv2-muted);font-size:15px}
.rlv2-table tfoot td{border-bottom:0;background:var(--rlv2-soft);font-weight:650}
.rlv2-terms,.rlv2-docs,.rlv2-problems ul,.rlv2-manager-changes ul,.rlv2-queue-main ul{margin:0;padding-left:21px;color:var(--rlv2-copy)}
.rlv2-terms li,.rlv2-queue-main li{margin:7px 0;font-size:16px}
.rlv2-docs{padding:0;list-style:none}
.rlv2-docs li{display:flex;justify-content:space-between;gap:14px;padding:9px 0;border-bottom:1px solid #E9EDF2;font-size:16px}
.rlv2-docs li:last-child{border-bottom:0}
.rlv2-docs span,.rlv2-muted{color:var(--rlv2-muted);font-size:15px!important;line-height:1.5}
.rlv2-problems>ul{padding:0;list-style:none}
.rlv2-issue{display:flex;margin-top:9px;padding:12px 13px;flex-direction:column;border-left:4px solid var(--rlv2-red);border-radius:5px;background:#FFF6F5}
.rlv2-issue.is-warning{border-left-color:var(--rlv2-amber);background:#FFF9ED}
.rlv2-issue b{font-size:16px}.rlv2-issue span{margin-top:2px;color:var(--rlv2-copy);font-size:15px}.rlv2-issue small{margin-top:4px;color:var(--rlv2-muted);font-size:15px}
.rlv2-panel,.rlv2-change-queue{margin:18px 0;padding:19px;border:1px solid #C9D3DF;border-radius:9px;background:#F8FAFC;color:var(--rlv2-ink)}
.rlv2-panel-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:15px}
.rlv2-version{display:inline-flex;min-height:30px;padding:5px 9px;align-items:center;border:1px solid var(--rlv2-line);border-radius:6px;background:#fff;color:var(--rlv2-copy);font-size:15px;white-space:nowrap}
.rlv2-client-progress{display:grid;grid-template-columns:repeat(5,minmax(110px,1fr));gap:0;margin:16px 0 20px;padding:0;overflow-x:auto;list-style:none}
.rlv2-client-progress li{position:relative;display:flex;min-width:110px;padding:4px 5px 0;align-items:center;flex-direction:column;color:var(--rlv2-muted);font-size:15px;text-align:center}
.rlv2-client-progress li:not(:last-child)::after{position:absolute;top:20px;left:calc(50% + 20px);right:calc(-50% + 20px);height:2px;background:#D5DDE7;content:""}
.rlv2-client-progress i{position:relative;z-index:1;display:flex;width:34px;height:34px;align-items:center;justify-content:center;border:2px solid #B8C2D0;border-radius:50%;background:#fff;font-style:normal;font-weight:700}
.rlv2-client-progress span{margin-top:8px;line-height:1.35}
.rlv2-client-progress .is-done i{border-color:var(--rlv2-green);background:var(--rlv2-green);color:#fff}
.rlv2-client-progress .is-done:not(:last-child)::after{background:var(--rlv2-green)}
.rlv2-client-progress .is-current{color:var(--rlv2-ink);font-weight:700}.rlv2-client-progress .is-current i{border-color:var(--rlv2-navy);background:var(--rlv2-navy);color:#fff}
.rlv2-client-stage,.rlv2-client-stage-card{margin:0 0 16px;padding:16px 17px;border:1px solid #CBD5E1;border-left:4px solid var(--rlv2-navy);border-radius:8px;background:#F8FAFC}
.rlv2-client-stage{display:flex;flex-direction:column}.rlv2-client-stage b,.rlv2-client-stage-card>b{display:block;margin-top:3px;font-size:19px}.rlv2-client-stage span,.rlv2-client-stage-card p{margin:3px 0 0;color:var(--rlv2-copy);font-size:16px;line-height:1.5}
.rlv2-client-stage-card dl{display:grid;grid-template-columns:auto 1fr;gap:5px 10px;margin:12px 0 0}.rlv2-client-stage-card dt{color:var(--rlv2-muted)}.rlv2-client-stage-card dd{margin:0;font-weight:700}
.rlv2-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}
.rlv2-form-grid label,.rlv2-section>label,.rlv2-queue-actions label,.rlv2-manager-changes label{display:flex;min-width:0;flex-direction:column;gap:5px;color:var(--rlv2-copy);font-size:15px;font-weight:650}
.rlv2-form-grid input,.rlv2-form-grid select,.rlv2-form-grid textarea,.rlv2-section>label textarea,.rlv2-queue-actions textarea,.rlv2-manager-changes textarea{width:100%;min-height:44px!important;padding:9px 11px;border:1px solid #B9C4D2;border-radius:7px;background:#fff;color:var(--rlv2-ink);font:16px/1.45 inherit}
.rlv2-form-grid textarea,.rlv2-section>label textarea,.rlv2-queue-actions textarea,.rlv2-manager-changes textarea{min-height:82px!important;resize:vertical}
.rlv2-change-comment{grid-column:1/-1}
.rlv2-form-actions{display:flex;align-items:center;gap:9px;margin-top:13px;flex-wrap:wrap}
.rlv2-form-actions>[role="status"],.rlv2-queue-actions>[role="status"]{color:var(--rlv2-copy);font-size:15px;line-height:1.45}
.rlv2-change-history{margin:0;padding:0;list-style:none}
.rlv2-change-history li{padding:11px 0;border-bottom:1px solid #E5EAF0}.rlv2-change-history li:last-child{border-bottom:0}
.rlv2-change-history li>div{display:flex;justify-content:space-between;gap:12px}.rlv2-change-history span,.rlv2-change-history small{color:var(--rlv2-muted);font-size:15px}.rlv2-change-history p{margin:5px 0;color:var(--rlv2-copy);font-size:16px}
.rlv2-accept fieldset{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin:0;padding:0;border:0}
.rlv2-accept fieldset label{display:flex;min-height:46px;padding:9px 11px;align-items:center;gap:9px;border:1px solid #D8E0E9;border-radius:7px;background:#fff;color:var(--rlv2-copy);font-size:16px}
.rlv2-accept input[type="checkbox"]{width:20px;height:20px;min-height:20px!important;flex:none}
.rlv2-success{display:flex;justify-content:space-between;gap:12px;padding:13px;border-left:4px solid var(--rlv2-green);background:#F0FAF5}.rlv2-success span{color:var(--rlv2-muted);font-size:15px}
.rlv2-waiting{display:flex;padding:13px;flex-direction:column;gap:3px;border-left:4px solid var(--rlv2-amber);background:#FFF9ED}.rlv2-waiting b{font-size:16px}.rlv2-waiting span{color:var(--rlv2-copy);font-size:15px;line-height:1.5}
.rlv2-client-proposal{border-color:#B9C7D8;background:#F5F8FC}.rlv2-proposal-decision{border-left:4px solid var(--rlv2-navy)}
.rlv2-error{color:var(--rlv2-red)!important;font-weight:650}
.rlv2-manager-changes{display:grid;gap:10px}.rlv2-manager-changes>article{padding:14px;border:1px solid var(--rlv2-line);border-radius:7px;background:#fff}.rlv2-manager-changes header>div{display:flex;justify-content:space-between;gap:12px}.rlv2-manager-changes header span,.rlv2-manager-changes small{color:var(--rlv2-muted);font-size:15px}.rlv2-manager-changes p{margin:7px 0;color:var(--rlv2-copy);font-size:16px}.rlv2-manager-changes li{margin:6px 0;font-size:15px}.rlv2-manager-changes li span{display:block;color:var(--rlv2-muted)}
.rlv2-change-queue{background:#fff}.rlv2-change-queue>.rlv2-panel-head{padding-bottom:14px;border-bottom:1px solid var(--rlv2-line)}.rlv2-change-queue>.rlv2-panel-head>b{font-size:26px}
.rlv2-queue-list{display:grid;gap:10px}.rlv2-queue-card{display:grid;grid-template-columns:minmax(0,1fr) minmax(300px,.65fr);gap:18px;padding:15px;border:1px solid var(--rlv2-line);border-radius:8px;background:var(--rlv2-soft)}
.rlv2-queue-main>span{color:var(--rlv2-muted);font-size:15px}.rlv2-queue-main>b{display:block;margin-top:3px;font-size:18px}.rlv2-queue-main p{margin:6px 0;color:var(--rlv2-copy);font-size:16px}.rlv2-queue-actions>div{display:flex;gap:7px;margin-top:8px;flex-wrap:wrap}
.rlv2-review button:focus-visible,.rlv2-panel button:focus-visible,.rlv2-panel input:focus-visible,.rlv2-panel select:focus-visible,.rlv2-panel textarea:focus-visible,.rlv2-change-queue button:focus-visible,.rlv2-change-queue textarea:focus-visible{outline:3px solid rgba(23,59,117,.28);outline-offset:2px}

@media(max-width:820px){
  .rlv2-review-backdrop{padding:12px}.rlv2-review{max-height:calc(100dvh - 24px)}
  .rlv2-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.rlv2-summary>div:nth-child(2){border-right:0}.rlv2-summary>div:nth-child(-n+2){border-bottom:1px solid var(--rlv2-line)}
  .rlv2-two,.rlv2-form-grid,.rlv2-accept fieldset,.rlv2-queue-card{grid-template-columns:1fr}
  .rlv2-panel-head{align-items:stretch;flex-direction:column}.rlv2-panel-head>button{width:100%}.rlv2-version{align-self:flex-start}
}
@media(max-width:640px){
  .rlv2-review-backdrop{padding:max(6px,env(safe-area-inset-top)) max(6px,env(safe-area-inset-right)) max(6px,env(safe-area-inset-bottom)) max(6px,env(safe-area-inset-left))}
  .rlv2-review{max-height:calc(100dvh - 12px);border-radius:9px}.rlv2-review>header{padding:17px 15px 14px}.rlv2-review-body{padding:14px}.rlv2-review>footer{padding:13px 14px;flex-direction:column-reverse}.rlv2-review>footer button{width:100%}
  .rlv2-review h2,.rlv2-panel h2,.rlv2-change-queue h2{font-size:21px}
  .rlv2-summary{grid-template-columns:1fr}.rlv2-summary>div,.rlv2-summary>div:nth-child(2){border-right:0;border-bottom:1px solid var(--rlv2-line)}.rlv2-summary>div:last-child{border-bottom:0}
  .rlv2-section,.rlv2-panel,.rlv2-change-queue{padding:14px}.rlv2-client-progress{grid-template-columns:repeat(5,minmax(92px,1fr))}.rlv2-client-progress li{min-width:92px}
  .rlv2-table thead{display:none}.rlv2-table,.rlv2-table tbody,.rlv2-table tr,.rlv2-table td{display:block;width:100%}.rlv2-table tr{padding:10px 0;border-bottom:1px solid var(--rlv2-line)}.rlv2-table td{display:flex;justify-content:space-between;gap:12px;padding:5px 0;border:0}.rlv2-table td::before{content:attr(data-label);color:var(--rlv2-muted);font-size:15px}.rlv2-table tfoot td{padding:10px}.rlv2-table tfoot td::before{content:""}
  .rlv2-docs li,.rlv2-change-history li>div{align-items:flex-start;flex-direction:column}.rlv2-form-actions{align-items:stretch;flex-direction:column}.rlv2-form-actions button{width:100%}.rlv2-queue-actions>div{flex-direction:column}.rlv2-queue-actions button{width:100%}
}
