.review-progress-card{background:#fff;border:1px solid #e2dff0;border-left:5px solid #8c35d7;border-radius:18px;padding:25px 28px;margin:0 0 22px;box-shadow:0 5px 24px #39305606}
.review-progress-heading{display:flex;justify-content:space-between;align-items:center;gap:16px}.progress-kicker{font-size:12px;color:#766d88;letter-spacing:.08em}.review-progress-heading h2{font-size:24px;line-height:1.5;color:#26233d;margin:5px 0 0}.review-progress-card>p{font-size:15px;line-height:1.9;color:#625a72;margin:12px 0 22px;max-width:76ch}.waiting-chip{display:flex;align-items:center;gap:7px;border-radius:30px;background:#f3edf9;color:#653487;padding:9px 14px;font-size:13px;white-space:nowrap}.waiting-chip svg{width:16px;height:16px}
.review-step-track{display:flex;list-style:none;margin:0;padding:0;gap:5px}.review-step-track li{flex:1;display:flex;align-items:center;gap:7px;font-size:12px;color:#8a8397;border-bottom:3px solid #edeaf2;padding:0 0 13px}.review-step-track li>span{width:23px;height:23px;display:grid;place-items:center;background:#f1eff6;border-radius:50%;font-size:11px;flex-shrink:0}.review-step-track .done{color:#5b7c70;border-color:#b9d4c8}.review-step-track .done>span{color:#fff;background:#679c84}.review-step-track .current{color:#7131ae;border-color:#9639da;font-weight:700}.review-step-track .current>span{background:#8e33cc;color:white}.review-progress-footer{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-top:19px}.review-progress-footer>span{font-size:13px;color:#746b83}.review-progress-footer .btn{min-height:44px;font-size:14px}
.review-progress-card[data-stage=revision],.review-progress-card[data-stage=internal_draft]{border-left-color:#c08b30}.review-progress-card[data-stage=check_fixes]{border-left-color:#5e9e84}.review-progress-card[data-stage=delivered]{border-left-color:#5e9e84}.focused-review-layout{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(320px,1fr);gap:22px;align-items:start}.focused-review-layout>*{min-width:0}.focused-review-layout .player-panel{position:sticky;top:90px}.focused-review-layout .player-header strong{font-size:15px;line-height:1.7}.focused-review-layout .player-header .version-tag{margin-top:5px;display:inline-flex}.focused-review-layout .video-stage video,.simple-review .video-stage video{max-height:58vh}.focused-review-layout .comment-card p,.simple-review .comment-card p{font-size:15px;line-height:1.9;color:#383147;white-space:pre-wrap;overflow-wrap:anywhere}.focused-comment-list .comment-card{padding:21px;border-bottom:1px solid #eeeaf4}.focused-comment-list .comment-card:last-child{border-bottom:0}.focused-comment-list .comment-state{margin-top:15px}.focused-comment-list .comment-state select{font-size:14px}.focused-comment-list .comment-meta{flex-wrap:wrap;gap:8px}.review-section-help{font-size:14px;line-height:1.9;padding:17px 21px 0;margin:0;color:#766b82}.review-change-note{padding:18px 22px;border-top:1px solid #eeeaf4;font-size:13px}.review-change-note p{margin:8px 0 0;white-space:pre-wrap;line-height:1.8;color:#766b82}
.review-history{background:white;border:1px solid #e7e3ef;border-radius:12px;margin:14px 0;overflow:hidden}.review-history>summary{font-size:13px;color:#756a84;padding:16px 20px;cursor:pointer;min-height:46px}.review-history[open]>summary{border-bottom:1px solid #eeeaf4}.review-history-row{display:flex;align-items:center;gap:15px;padding:15px 20px;color:#625471;border-bottom:1px solid #f2eef6;font-size:13px}.review-history-row span{margin-left:auto;font-size:12px}.review-history-row svg{width:16px}.production-extra[open]{padding-bottom:20px}.production-extra .comment-form{padding:22px;max-width:700px}.production-extra>p,.production-extra>.text-link,.production-extra>.btn{margin:14px 22px}.review-live-update:empty{display:none}.review-live-update{padding:13px 18px;background:#f3edf9;border-radius:10px;line-height:1.8;font-size:14px}.review-sync-status{display:block;text-align:right;font-size:11px;color:#91879d;margin:15px 0}.review-new-video{background:#f0f7f3;border:1px solid #bcd7c9;padding:20px;display:flex;align-items:center;flex-wrap:wrap;gap:15px;border-radius:14px;margin-bottom:20px}.review-new-video small{width:100%}.fix-scene-actions{display:flex;gap:8px;flex-wrap:wrap;margin:13px 0}.fix-scene-actions .time-chip{font-size:11px}.simple-review .simple-comment>.btn{width:100%;min-height:45px;font-size:14px}.simple-review .simple-finish:empty{display:none}.simple-review #client-finish-content{padding:22px}.simple-review #client-finish-content>p{font-size:14px;line-height:1.9;margin:0}.simple-review #required-review-items{border:0;border-bottom:1px solid #eee9f4;margin:0;padding:15px 21px;border-radius:0}.simple-review #required-review-items p{margin:0;line-height:1.8;font-size:14px}.review-draft-basket[hidden],.project-next[hidden],[hidden]{display:none!important}.simple-review .review-draft-basket{border:1px solid #d3b3eb}.simple-review{max-width:960px;margin-inline:auto}.simple-review .simple-review-toolbar p{font-size:14px}
@media(max-width:1000px){.focused-review-layout{grid-template-columns:1fr}.focused-review-layout .player-panel{position:static}.focused-review-layout .video-stage video{max-height:52vh}}
@media(max-width:600px){.review-progress-card{padding:19px 17px;border-radius:14px}.review-progress-heading{align-items:flex-start;flex-direction:column;gap:10px}.review-progress-heading h2{font-size:21px}.review-progress-card>p{font-size:14px;margin:13px 0 18px}.waiting-chip{font-size:12px;padding:7px 11px}.review-step-track{gap:3px}.review-step-track li{flex-direction:column;gap:7px;text-align:center;font-size:10px;line-height:1.5;padding-bottom:10px}.review-progress-footer{flex-direction:column;align-items:stretch;gap:12px}.review-progress-footer>.btn{width:100%;font-size:15px}.review-progress-footer>span{font-size:12px}.focused-review-layout{gap:0}.focused-review-layout .player-header strong{font-size:14px}.focused-comment-list .comment-card{padding:19px}.simple-review .simple-comment-form{padding:17px}.simple-review .instruction-composer textarea{font-size:16px}.review-history-row{gap:8px;padding:15px;font-size:12px}.review-history-row span{font-size:10px}.review-progress-card .review-step-track li{min-width:0}.focused-fixes .panel-head h2{font-size:16px}}
.current-role-banner{margin:18px 36px 0;padding:15px 20px;background:#f0edf9;border:1px solid #ded3ef;border-radius:12px;display:flex;align-items:center;justify-content:space-between;gap:18px}.current-role-banner>div{min-width:0}.current-role-banner strong{font-size:15px;display:flex;align-items:center;gap:8px;color:#4c2c70}.current-role-banner strong svg{width:19px;height:19px}.current-role-banner small{font-size:12px;display:block;line-height:1.8;margin-top:5px;color:#746582}.current-role-banner .btn{flex-shrink:0;font-size:12px}.upload-entry-panel{border:2px solid #b37be3;border-radius:18px;background:#fff;overflow:hidden;margin-bottom:28px;box-shadow:0 5px 20px #7537a60a}.upload-entry-head{padding:23px 24px;display:flex;gap:15px;align-items:center;background:#faf6ff}.upload-entry-head h2{font-size:23px;color:#39244f;margin:0}.upload-entry-head p{font-size:14px;line-height:1.8;margin:6px 0 0;color:#72617e}.upload-entry-head>.btn{margin-left:auto}.upload-entry-icon{width:49px;height:49px;display:grid;place-items:center;background:#8a32cb;color:#fff;border-radius:14px;flex-shrink:0}.upload-entry-icon svg{width:25px;height:25px}.upload-entry-row{display:flex;justify-content:space-between;gap:18px;align-items:center;padding:20px 24px;border-top:1px solid #eee6f7}.upload-entry-row>div{min-width:0}.upload-entry-row strong{display:block;font-size:16px;line-height:1.7;color:#332541;overflow-wrap:anywhere}.upload-entry-row small,.upload-entry-row span{display:block;font-size:12px;line-height:1.9;color:#81708b}.upload-entry-row>.btn{font-size:15px;min-height:48px;flex-shrink:0}.upload-entry-help{font-size:12px;padding:17px 24px;background:#faf8fc;margin:0;line-height:1.9;color:#867390}.upload-entry-empty{padding:20px 24px;font-size:14px;color:#87758e}.upload-entry-panel .btn svg{width:19px}.project-table td>.btn{white-space:nowrap}
@media(max-width:760px){.current-role-banner{margin:13px 18px 0;padding:15px;flex-direction:column;align-items:stretch;gap:12px}.current-role-banner strong{font-size:15px}.current-role-banner .btn{min-height:43px;font-size:13px}.upload-entry-head{padding:19px 17px;flex-wrap:wrap;gap:11px}.upload-entry-head h2{font-size:20px}.upload-entry-head p{font-size:13px}.upload-entry-head>div{flex:1;min-width:180px}.upload-entry-head>.btn{width:100%;margin:4px 0 0}.upload-entry-icon{width:41px;height:41px}.upload-entry-row{flex-direction:column;align-items:stretch;padding:19px 17px;gap:13px}.upload-entry-row>.btn{width:100%;font-size:15px;min-height:49px}.upload-entry-row strong{font-size:16px}.upload-entry-help{padding:16px 17px;font-size:12px}.upload-entry-panel{border-radius:15px}}
/* Review requests and responses have separate places; the full flow is optional. */
.review-next-step{display:flex;flex-direction:column;gap:7px;padding:15px 18px;background:#f6f7fa;border-radius:11px;color:#3b3f50;font-size:14px;line-height:1.7}.review-next-step strong{font-size:12px;color:#6a7080}.review-next-step small{color:#8c5636}.review-step-details{margin:18px 0 0;border-top:1px solid #ececf2;padding-top:12px}.review-step-details>summary{font-size:12px;color:#727787}.review-step-details .review-step-track{flex-direction:column;gap:0;padding-top:13px}.review-step-details .review-step-track li{flex:none;flex-direction:row;text-align:left;border:0;gap:12px;padding:7px 0}.review-progress-card[data-stage=clarification],.review-progress-card[data-stage=needs_review]{border-left-color:#b87637}
.revision-group{padding:14px 0 0}.revision-group>h3{margin:0 18px 6px;padding:12px 14px;display:flex;justify-content:space-between;gap:10px;border-radius:10px;font-size:15px;line-height:1.6}.revision-group>h3>span{white-space:nowrap}.revision-group.for-production>h3{background:#f2f4fa;color:#31446d}.revision-group.for-client>h3{background:#eaf5ef;color:#24614a}.revision-request{margin-top:13px;padding:14px 16px;background:#f5f6fa;border-left:3px solid #7c8dad;border-radius:0 9px 9px 0}.revision-request>span,.revision-response>span{display:block;font-size:11px;color:#66718a;margin-bottom:7px}.revision-request>p{margin:0!important}.revision-response{margin-top:12px;padding:14px 16px;background:#edf7f1;border-left:3px solid #5a9b79;border-radius:0 9px 9px 0;display:flex;align-items:flex-start;flex-direction:column;gap:9px}.revision-response>span{margin:0;color:#547866}.revision-response>strong{font-size:13px;line-height:1.7;color:#2d6048}.revision-response>.btn{white-space:normal;text-align:left;max-width:100%}
.revision-report{padding:20px 22px;border-top:1px solid #eceef2;background:#fbfcfd}.revision-report-heading{display:flex;align-items:center;justify-content:space-between;gap:9px;flex-wrap:wrap}.revision-report-heading>strong{font-size:14px;color:#2e4b42}.evidence-chip{font-size:11px;background:#e6f2eb;color:#38644e;border-radius:6px;padding:5px 8px}.revision-report>ul{padding-left:21px;margin:12px 0;color:#4b5562;font-size:13px;line-height:1.9}.revision-report-actions{display:flex;align-items:flex-start;flex-direction:column;gap:10px}.revision-report-actions>.btn{white-space:normal}.revision-report-actions>small{font-size:11px;color:#77818b;line-height:1.8}.revision-evidence-warning{color:#935c31;font-size:13px;line-height:1.8;margin-bottom:12px!important}
.comparison-view{min-width:0}.comparison-request{padding:14px 16px;background:#f2f4f8;border-radius:10px;margin-bottom:16px}.comparison-request>span{font-size:12px;color:#66718a}.comparison-request>p{font-size:14px;line-height:1.8;margin-top:7px;white-space:pre-wrap}.comparison-tabs{display:flex;gap:10px;margin-bottom:12px}.comparison-tabs>.btn{flex:1;min-height:46px;font-size:14px;white-space:normal}.comparison-tabs>.btn[aria-pressed=true]{background:#edf5f0;border-color:#5b9477;color:#245a40;box-shadow:0 0 0 1px #5b9477}.comparison-view>video{display:block;width:100%;max-height:48vh;background:#101827;border-radius:10px}.comparison-view>#comparison-caption{font-size:13px;font-weight:700;margin:10px 0;color:#3e4c5e}.comparison-position-note{font-size:12px;line-height:1.8;color:#955e32;margin:10px 0}.comparison-position-note:empty{display:none}.comparison-view>small{display:block;color:#76808b;font-size:11px;line-height:1.8;margin-top:12px}.comparison-tabs .btn:focus-visible{outline:3px solid #9cbbac;outline-offset:3px}
@media(max-width:600px){.revision-report{padding:17px}.revision-report-heading>strong{font-size:14px}.revision-report-actions>.btn{width:100%}.revision-group>h3{font-size:14px;margin-inline:12px}.revision-request,.revision-response{padding:13px}.revision-response>.btn{width:100%;justify-content:center}.review-step-details .review-step-track li{flex-direction:row;text-align:left;font-size:12px}.review-next-step{font-size:13px}.comparison-tabs{gap:7px}.comparison-tabs>.btn{font-size:13px}}
/* Preserve the actual video shape so portrait footage stays legible on phones. */
.focused-review-layout .video-stage,.simple-review .video-stage{aspect-ratio:auto;min-height:0;max-height:none}
.focused-review-layout .video-stage video,.simple-review .video-stage video{aspect-ratio:auto;height:auto;min-height:0;max-height:76vh}
.comparison-view>video{height:auto;max-height:62vh;object-fit:contain}
.video-stage video:fullscreen{width:100vw;height:100vh;max-height:none}

.manual-edit-entry{background:#fff;border:1px solid #e7e4ef;border-radius:16px;padding:18px 22px;margin:0 0 20px}.manual-edit-entry strong{font-size:16px}.manual-edit-entry p{font-size:13px;line-height:1.8;color:#69697d;margin:8px 0 14px}.manual-edit-actions{display:flex;flex-wrap:wrap;gap:10px}.manual-edit-file{display:flex;align-items:center;gap:14px;justify-content:space-between;padding:15px 0;border-top:1px solid #eeeaf5}.manual-edit-file>div{min-width:0;overflow-wrap:anywhere}.manual-edit-file small{display:block;color:#69697d;line-height:1.8}.manual-edit-file .btn{flex-shrink:0}.manual-edit-file [role=status]{font-size:13px;color:#7b520d}@media(max-width:600px){.manual-edit-entry{padding:16px}.manual-edit-actions{flex-direction:column}.manual-edit-actions .btn{white-space:normal}.manual-edit-file{align-items:flex-start;flex-direction:column}.manual-edit-file .btn{width:100%}}
