/* Manager reviews: dense decision queue with blockers and actions kept in view. */
body.product-foundation #reviews-panel{display:grid;gap:10px;min-width:0}
body.product-foundation #reviews-panel .reviews-overview{margin:0;padding:0 0 10px!important;border:0!important;border-block-end:1px solid var(--line)!important;border-radius:0!important;background:transparent!important;box-shadow:none!important}
body.product-foundation #reviews-panel .reviews-overview-top{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:0;background:transparent}
body.product-foundation #reviews-panel .reviews-overview-top .section-heading{margin:0;align-items:center}
body.product-foundation #reviews-panel .reviews-overview-top h1{font-size:1.25rem}
body.product-foundation #reviews-panel .reviews-overview-top .muted{font-size:.72rem}
body.product-foundation #reviews-panel .reviews-overview-top .tabs{gap:2px;margin:0;padding:3px;border:1px solid var(--line);border-radius:8px;background:#080d12}
body.product-foundation #reviews-panel .reviews-overview-top .tab{min-height:44px;border:0;border-radius:6px;background:transparent}
body.product-foundation #reviews-panel .reviews-overview-top .tab.active{color:#fff;background:#263844}
body.product-foundation #reviews-panel .reviews-kpis{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(88px,1fr));gap:0;margin:8px 0 0;border-block:1px solid var(--line)}
body.product-foundation #reviews-panel .reviews-kpis>.hidden{display:none!important}
body.product-foundation #reviews-panel .reviews-kpis article{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:48px;padding:6px 12px;border:0;border-inline-start:1px solid var(--line);border-radius:0;background:transparent}
body.product-foundation #reviews-panel .reviews-kpis article::after{display:none}
body.product-foundation #reviews-panel .reviews-kpis span{font-size:.68rem}
body.product-foundation #reviews-panel .reviews-kpis strong{font-size:1.2rem;line-height:1;color:#fff}
body.product-foundation #reviews-panel .reviews-kpis article.warning strong{color:#ffc963}
body.product-foundation #reviews-panel #reviews-filters-disclosure{margin-top:6px;border:0;background:transparent}
body.product-foundation #reviews-panel #reviews-filters-disclosure>summary{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:44px;padding:4px 0;font-size:.72rem;font-weight:900;cursor:pointer}
body.product-foundation #reviews-panel #reviews-filters{padding:8px;border:1px solid var(--line);border-radius:7px;background:#091016}
body.product-foundation #reviews-panel :is(button,input,select,textarea,summary,a.button){min-height:44px}
body.product-foundation #reviews-panel .reviews-workspace{display:grid;direction:rtl;grid-template-columns:minmax(280px,330px) minmax(0,1fr);gap:10px;align-items:start}
body.product-foundation #reviews-panel .reviews-queue,
body.product-foundation #reviews-panel #reviews-detail{direction:rtl;margin:0;padding:10px!important;border:1px solid var(--line)!important;border-radius:8px!important;background:#080d12!important;box-shadow:none!important}
body.product-foundation #reviews-panel .reviews-queue{grid-column:1;max-height:calc(100vh - 130px);overflow:auto}
body.product-foundation #reviews-panel #reviews-detail{grid-column:2;position:sticky;inset-block-start:8px;min-height:420px}
body.product-foundation #reviews-panel .reviews-queue .section-heading{padding-bottom:7px;border-block-end:1px solid var(--line)}
body.product-foundation #reviews-panel #reviews-list{display:grid;gap:0}
body.product-foundation #reviews-panel #reviews-list .call{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;min-height:64px;padding:8px 6px;border:0;border-block-end:1px solid #293743;border-inline-start:3px solid #ffb72b;border-radius:0;text-align:start;background:transparent}
body.product-foundation #reviews-panel #reviews-list .call:hover{background:#101820}
body.product-foundation #reviews-panel #reviews-list .call[aria-current=true]{background:#211315;box-shadow:inset 3px 0 #ff665e}
body.product-foundation #reviews-panel #reviews-list .call p{margin:3px 0 0;font-size:.69rem}
body.product-foundation #reviews-panel .review-queue-signals{display:grid;gap:4px;justify-items:end;align-content:start}
body.product-foundation #reviews-panel .review-blocker-count{font-size:.65rem;color:#ffd6a0}
body.product-foundation #reviews-panel #reviews-detail>.section-heading{margin-block-end:8px;padding-block-end:7px;border-block-end:1px solid var(--line)}
body.product-foundation #reviews-panel #reviews-detail-body{display:grid;gap:8px}
body.product-foundation #reviews-panel .review-links{display:flex;flex-wrap:wrap;gap:6px}
body.product-foundation #reviews-panel .review-links a{display:inline-flex;align-items:center;min-height:44px;padding:6px 9px;border:1px solid #486271;border-radius:7px}
body.product-foundation #reviews-panel .review-flow{display:grid;grid-template-columns:1fr;gap:8px}
body.product-foundation #reviews-panel .review-step{min-width:0;margin:0;padding:9px;border:1px solid var(--line);border-radius:7px;background:#0b1218}
body.product-foundation #reviews-panel .review-step-pricing{border-inline-start:3px solid #66c9ee}
body.product-foundation #reviews-panel .completion-pricing{max-width:480px}
body.product-foundation #reviews-panel .review-step-service-fees{border-inline-start:3px solid #b695ef}
body.product-foundation #reviews-panel .review-step>header{display:flex;align-items:center;gap:7px;margin-bottom:7px;padding-bottom:6px;border-block-end:1px solid var(--line)}
body.product-foundation #reviews-panel .review-step>header>span{display:grid;place-items:center;flex:0 0 26px;width:26px;height:26px;border-radius:50%;font-size:.72rem;font-weight:900;color:#111820;background:#b9d6e5}
body.product-foundation #reviews-panel .review-step :is(h3,h4){margin:0;font-size:.82rem}
body.product-foundation #reviews-panel .review-step h4{margin-top:9px}
body.product-foundation #reviews-panel .review-step ul,
body.product-foundation #reviews-panel .review-secondary ul{display:grid;gap:4px;margin:5px 0 0;padding:0;list-style:none}
body.product-foundation #reviews-panel .review-step li,
body.product-foundation #reviews-panel .review-secondary li{padding:5px 0;border-block-end:1px solid #2c3b45;font-size:.72rem}
body.product-foundation #reviews-panel .review-blockers{padding:8px;border:1px solid #7d4d34;border-radius:7px;background:#251913}
body.product-foundation #reviews-panel .review-worker-summary{margin-block-end:8px;padding:9px;border:1px solid #36505f;border-inline-start:3px solid #66c9ee;border-radius:7px;background:#0d171e}
body.product-foundation #reviews-panel .review-worker-summary :is(h4,p){margin:0}
body.product-foundation #reviews-panel #review-worker-summary-title+p{margin-block-start:5px;font-size:.8rem;line-height:1.55}
body.product-foundation #reviews-panel .review-worker-facts{margin-block-start:8px}
body.product-foundation #reviews-panel .review-secondary>summary{font-weight:900;cursor:pointer}
body.product-foundation #reviews-panel .review-evidence[open]>summary{margin-block-end:8px}
body.product-foundation #reviews-panel .review-customer-documents{display:grid;gap:5px}
body.product-foundation #reviews-panel .review-customer-documents label{display:flex;align-items:center;gap:7px;min-height:44px}
body.product-foundation #reviews-panel .review-customer-documents input{min-height:auto;width:20px;height:20px}
body.product-foundation #reviews-panel #reviews-decision-form{position:sticky;inset-block-start:8px;display:grid;grid-template-columns:1fr;gap:7px;margin:0;padding:10px;border:1px solid #87504b;border-block-start:3px solid var(--brand);border-radius:8px;background:#11171d;box-shadow:none}
body.product-foundation #reviews-panel #reviews-decision-form::before{display:none}
body.product-foundation #reviews-panel .review-decision-readiness{padding-block-end:8px;border-block-end:1px solid var(--line)}
body.product-foundation #reviews-panel .review-decision-readiness :is(h3,p){margin:0}
body.product-foundation #reviews-panel .review-decision-readiness h3{font-size:.88rem}
body.product-foundation #reviews-panel .review-decision-readiness p{margin-block-start:5px;font-size:.72rem}
body.product-foundation #reviews-panel .review-decision-readiness ul{display:grid;gap:4px;margin:7px 0 0;padding:0;list-style:none}
body.product-foundation #reviews-panel .review-decision-readiness li{padding:5px 7px;border-inline-start:3px solid #d59a42;background:#211912;font-size:.68rem}
body.product-foundation #reviews-panel #reviews-decision-form .field-actions{display:grid;grid-template-columns:1fr;gap:6px}
body.product-foundation #reviews-panel #reviews-decision-form .field-actions button{min-width:0;min-height:44px;text-align:start}
body.product-foundation #reviews-panel #reviews-decision-form .field-actions button.selected{outline:3px solid #fff;outline-offset:2px}
body.product-foundation #reviews-panel #reviews-decision-form [data-decision=APPROVED]{background:#137653;border-color:#31b683}
body.product-foundation #reviews-panel #reviews-decision-form [data-decision=REJECTED]{border-color:#b64c45;color:#ffb9b5;background:#2b1517}
body.product-foundation #reviews-panel .review-decision-save{width:100%;background:#f5f7f8;color:#111820;border-color:#f5f7f8;font-weight:900}
body.product-foundation #reviews-panel :is(button,input,select,textarea,a,summary):focus-visible{outline:3px solid #d7e6f0;outline-offset:2px}
@media(min-width:621px){
  body.product-foundation #reviews-detail #reviews-decision-form .field-actions{position:static!important;inset:auto!important;margin:0;padding:0;border:0;background:transparent}
  body.product-foundation #reviews-panel .review-decision-save{position:relative;z-index:1}
}
@media(min-width:901px){
  body.product-foundation #reviews-panel #reviews-detail{display:grid;grid-template-columns:minmax(0,1fr) minmax(240px,290px);gap:10px;align-items:start}
  body.product-foundation #reviews-panel #reviews-detail>:not(#reviews-decision-form){grid-column:1}
  body.product-foundation #reviews-panel #reviews-detail>#reviews-decision-form{grid-column:2;grid-row:1/7;align-self:start}
}
@media(max-width:1050px) and (min-width:901px){body.product-foundation #reviews-panel .review-flow{grid-template-columns:1fr}}
@media(max-width:900px){
  body.product-foundation #reviews-panel .reviews-workspace{grid-template-columns:1fr}
  body.product-foundation #reviews-panel .reviews-queue{grid-column:1;max-height:none}
  body.product-foundation #reviews-panel #reviews-detail{position:fixed;inset:0;z-index:120;grid-column:1;max-height:100dvh;overflow:auto;border-radius:0!important}
  body.product-foundation #reviews-panel #reviews-decision-form{position:static;margin-top:10px}
}
@media(max-width:620px){
  body.product-foundation #reviews-panel .reviews-overview-top{align-items:stretch;flex-direction:column}
  body.product-foundation #reviews-panel .reviews-overview-top .tabs{display:grid;grid-template-columns:repeat(3,1fr);width:100%}
  body.product-foundation #reviews-panel .reviews-kpis{grid-template-columns:1fr 1fr}
  body.product-foundation #reviews-panel .reviews-kpis article{min-height:44px;padding:5px 9px}
  body.product-foundation #reviews-panel .review-flow{grid-template-columns:1fr}
  body.product-foundation #reviews-panel #reviews-detail[aria-modal="true"]{padding-block-end:14px}
  body.product-foundation #reviews-panel #reviews-detail[aria-modal="true"]>.section-heading{margin-inline:-10px;padding-inline:10px}
  body.product-foundation #reviews-panel #reviews-detail[aria-modal="true"] #reviews-decision-form .field-actions{position:static;inset:auto;display:grid;margin:0;padding:0;border:0;background:transparent}
}
@media(prefers-reduced-motion:reduce){body.product-foundation #reviews-panel *{scroll-behavior:auto!important;transition:none!important}}
