:root { --review-mono:"JetBrains Mono","Fira Code",Consolas,ui-monospace,monospace; }
.submission-filters { display:flex; flex-wrap:wrap; gap:6px; margin:14px 0 8px; }
.submission-filters button { border-radius:20px; padding:6px 12px; }
.submission-filters button[aria-pressed="true"] { background:#68e1fd; color:#090616; border-color:#68e1fd; }
.submission-row, .submission-column-head { display:grid; grid-template-columns:minmax(180px,2fr) minmax(90px,1fr) minmax(110px,1.4fr) 80px 100px; align-items:center; gap:16px; width:100%; }
.submission-column-head { padding:6px 8px; font:11px var(--review-mono); color:#736486; text-transform:uppercase; }
.cf-admin-panel .submission-row { text-align:left; background:transparent; border:0; border-top:1px solid #2b223a; border-radius:0; padding:14px 8px; color:#b4a5ce; font-weight:400; }
.submission-row:hover, .submission-row:focus-visible { background:#24102e; outline:1px solid #ff26c4; }
.submission-app { display:flex; align-items:center; gap:12px; min-width:0; }
.submission-app strong { color:#eee7fb; display:block; }
.submission-thumb { width:50px; height:26px; object-fit:contain; background:#000; border:1px solid #302639; border-radius:3px; flex-shrink:0; }
.submission-tag { font:10px var(--review-mono); color:#c48aff; background:#302044; padding:2px 5px; }
.submission-build { font:bold 11px var(--review-mono); color:#45ffc5; }
.submission-build.failed { color:#ff577b; }
.submission-row .sub-status { justify-self:start; }
body.admin-page.review-workspace-open { overflow:hidden; }
.review-workspace-open > .admin-header, .review-workspace-open > .admin-content { visibility:hidden; }
.review-workspace-open #bench-confirm-dialog { visibility:visible; }
.review-workspace[hidden] { display:none; }
.review-workspace { position:fixed; inset:0; z-index:var(--z-sheet-workspace); display:flex; flex-direction:column; background:#0c0718; color:#eee7fb; font:14px/1.45 Inter,system-ui,sans-serif; }
.review-workspace * { box-sizing:border-box; }
.review-workspace button, .review-back { font:inherit; border:1px solid #3a304b; border-radius:8px; background:transparent; color:#baa9dc; padding:5px 10px; cursor:pointer; text-decoration:none; }
.review-workspace button:focus-visible, .review-back:focus-visible { outline:2px solid #68e1fd; outline-offset:2px; }
.review-header { display:flex; align-items:center; gap:16px; padding:14px 16px; border-bottom:1px solid #241b33; min-height:76px; }
.review-identity { display:flex; gap:12px; align-items:center; min-width:0; }
.review-identity img { width:50px; height:28px; object-fit:contain; background:black; }
.review-header h1 { font-size:18px; line-height:1.2; margin:0 0 3px; overflow-wrap:anywhere; text-transform:uppercase; letter-spacing:.5px; }
.review-header p { margin:0; color:#b9a8dd; font-size:13px; }
.review-workspace .sub-status, .submission-row .sub-status { font:11px var(--review-mono); color:#ff26c4; background:#351032; padding:3px 6px; border-radius:3px; }
.review-confidential { padding:10px 16px; background:repeating-linear-gradient(135deg,#122132 0,#122132 10px,#0c1324 10px,#0c1324 20px); border-bottom:1px solid #284539; color:#b8f7df; }
.review-columns { display:grid; grid-template-columns:minmax(0,1fr) 300px 380px; min-height:0; flex:1; }
.review-code { display:flex; flex-direction:column; min-width:0; min-height:0; border-right:1px solid #241b33; }
.review-file-tabs, .review-side-tabs { display:flex; align-items:center; gap:3px; padding:8px 10px; border-bottom:1px solid #241b33; flex-shrink:0; }
.review-file-tabs button { font:13px var(--review-mono); border-color:transparent; }
.review-file-tabs button[aria-selected="true"] { background:#20203a; color:#fff; }
[data-review-editor] { flex:1; min-height:0; width:100%; }
.review-code .ace-monokai { background:#0c0718; }
.review-code .ace_editor { line-height:21px; }
.review-code .ace_gutter { background:#0c0718; color:#736486; }
[data-review-editor][hidden], [data-review-about][hidden] { display:none; }
[data-review-about] { padding:20px; overflow:auto; overflow-wrap:anywhere; }
.review-workspace pre { white-space:pre-wrap; overflow-wrap:anywhere; font:13px/1.5 var(--review-mono); }
.review-emulator { padding:16px 14px; min-width:0; overflow:auto; border-right:1px solid #241b33; }
.review-workspace h2 { font-size:13px; letter-spacing:.8px; text-transform:uppercase; margin:0 0 14px; }
.review-emulator > h2 { color:#736486; font:11px var(--review-mono); letter-spacing:2px; }
.review-emulator [data-bench-stage] { max-width:100%; }
.review-emulator .cf-device { max-width:100%; }
.review-emulator [data-bench-status] { color:#b9a8dd; font-size:13px; }
.review-console { margin-top:20px; }
.review-cards h2 .review-pill.failed { color:#ff577b; background:#3a1422; }
.review-console h2 { color:#736486; }
.review-console pre { height:120px; overflow:auto; background:#08050f; border:1px solid #241b33; padding:10px; color:#68e1fd; border-radius:8px; }
.review-console button { float:right; color:#68e1fd; border:0; padding:0; text-decoration:underline; font-weight:bold; }
.review-side { display:flex; flex-direction:column; min-height:0; min-width:0; background:#110a20; }
.review-side-tabs button { border:0; border-bottom:2px solid transparent; border-radius:0; color:#b9a8dd; font-weight:bold; }
.review-side-tabs button[aria-selected="true"] { border-bottom-color:#68e1fd; color:#fff; }
.review-count { font:bold 11px var(--review-mono); background:#2a2140; color:#b9a8dd; border-radius:10px; padding:1px 7px; margin-left:4px; }
.review-count:empty { display:none; }
.review-header-actions { margin-left:auto; display:flex; flex-direction:column; align-items:flex-end; gap:2px; flex-shrink:0; }
.review-header-actions [role="status"] { font-size:12px; color:#b9a8dd; }
.review-code-hint { margin:0; padding:4px 12px; font-size:12px; color:#736486; border-bottom:1px solid #241b33; }
[data-side-panel][hidden] { display:none !important; }
.review-thread { display:flex; flex-direction:column; flex:1; min-height:0; overflow:auto; padding:10px 14px 14px; }
.thread-list { list-style:none; margin:0; padding:0; }
.thread-event { text-align:center; font:bold 11px/1.5 var(--review-mono); letter-spacing:.5px; text-transform:uppercase; color:#68e1fd; margin:12px 0; padding:4px 8px; border-top:1px dashed #2c4c63; border-bottom:1px dashed #2c4c63; }
.thread-event.decision { color:#ffdd34; border-color:#5a4c1b; }
.thread-event.quiet { color:#8f80a8; border-color:#3a304b; }
.thread-message { display:flex; gap:10px; margin:10px 0; }
.thread-avatar { flex-shrink:0; width:28px; height:28px; border-radius:50%; display:grid; place-items:center; font:bold 10px var(--review-mono); color:#090616; background:linear-gradient(135deg,#8fb4ff,#c48aff); }
.thread-message.author .thread-avatar { background:linear-gradient(135deg,#ff6bd5,#c48aff); }
.thread-bubble { flex:1; min-width:0; background:#161027; border:1px solid #30263d; border-radius:12px; padding:9px 11px; }
.thread-message.author .thread-bubble { border-color:#4a2a5a; }
.thread-message.admin-note .thread-bubble { border:1px dashed #d9b43a; background:repeating-linear-gradient(135deg,#1d1722 0,#1d1722 8px,#211a1f 8px,#211a1f 16px); }
.thread-meta { display:flex; flex-wrap:wrap; align-items:center; gap:4px 8px; margin:0 0 4px; font-size:12px; color:#8f80a8; }
.thread-meta strong { color:#eee7fb; font-size:13px; }
.thread-role { font:bold 9px var(--review-mono); text-transform:uppercase; letter-spacing:.6px; color:#68e1fd; background:#12283a; padding:1px 5px; border-radius:3px; }
.thread-message.author .thread-role { color:#ff8ce0; background:#35123a; }
.thread-body { margin:0; white-space:pre-wrap; overflow-wrap:anywhere; color:#eee7fb; }
.thread-anchors { margin:2px 0 6px; display:flex; flex-wrap:wrap; gap:6px; }
.review-workspace .thread-anchor { font:bold 11px var(--review-mono); color:#ffdd34; background:#2d2710; border:1px solid #6b5a1b; border-radius:4px; padding:1px 6px; }
.thread-resolved { font:bold 9px var(--review-mono); text-transform:uppercase; color:#45ffc5; border:1px solid #278e75; border-radius:3px; padding:1px 5px; }
.thread-new { display:inline-block; font:bold 10px var(--review-mono); text-transform:uppercase; color:#090616; background:#ff26c4; border-radius:3px; padding:1px 6px; margin:0 0 4px; }
.thread-private { display:flex; align-items:center; gap:5px; margin:6px 0 0; font:bold 10px var(--review-mono); text-transform:uppercase; letter-spacing:.5px; color:#ffdd34; }
.review-workspace .thread-link { border:0; padding:0; margin-top:4px; color:#68e1fd; text-decoration:underline; font-size:12px; background:none; }
.thread-reply { border-top:1px solid #241b33; margin-top:12px; padding-top:10px; }
.thread-reply-label { margin:0 0 6px; font-size:13px; color:#b9a8dd; }
.thread-audience { display:inline-flex; gap:2px; padding:3px; border:1px solid #3a304b; border-radius:9px; margin-bottom:8px; max-width:100%; }
.review-workspace .thread-audience button { border:0; font-size:13px; font-weight:bold; overflow-wrap:anywhere; }
.review-workspace .thread-audience button[aria-pressed="true"] { background:#1b3342; color:#68e1fd; }
.review-workspace .thread-audience [data-thread-audience="admins"][aria-pressed="true"] { background:#2d2710; color:#ffdd34; }
.thread-reply textarea { width:100%; min-height:70px; resize:vertical; background:#0c0815; color:#eee7fb; border:1px solid #3a304b; border-radius:8px; padding:8px 10px; font:14px Inter,system-ui,sans-serif; }
.thread-audience-note, .thread-saved, .thread-reply [role="status"] { margin:5px 0; font-size:12px; color:#8f80a8; overflow-wrap:anywhere; }
.review-workspace .thread-send { color:#68e1fd; border-color:#3e6c88; font-weight:bold; background:#12202d; }
.review-life { border:1px solid #6b5a1b; background:#1c1812; border-radius:12px; padding:10px 12px; margin-bottom:10px; font-size:12px; color:#c9bfa4; }
.review-life.ready { border-color:#ff577b; background:#23121b; }
.review-life.closed { border-color:#3a304b; background:#161027; color:#b9a8dd; }
.review-life p { margin:4px 0; overflow-wrap:anywhere; }
.review-life-title { display:flex; align-items:center; gap:10px; font-size:14px; color:#fff; }
.review-life-pill { font:bold 10px var(--review-mono); text-transform:uppercase; letter-spacing:.6px; color:#ffdd34; background:#3a3012; padding:3px 7px; border-radius:3px; }
.review-life.ready .review-life-pill { color:#ff577b; background:#3a1422; }
.review-life-bar { position:relative; height:8px; border-radius:4px; background:#352f3d; margin:8px 0; }
.review-life-bar i { position:absolute; inset:0 auto 0 0; border-radius:4px; background:linear-gradient(90deg,#ffdd34,#ff9a3c); }
.review-life-bar span { position:absolute; top:-3px; width:2px; height:14px; background:#fff; }
.review-life-help { color:#a99f86; }
.review-life-settings { display:flex; flex-wrap:wrap; align-items:center; gap:6px; margin:6px 0; }
.review-life-settings input { width:70px; margin-left:6px; background:#0c0815; color:#eee7fb; border:1px solid #3a304b; border-radius:6px; padding:3px 6px; }
.review-life-settings p { flex-basis:100%; }
.review-life-actions { display:flex; flex-wrap:wrap; gap:6px; margin-top:8px; }
.review-life-actions button { flex:1; font-size:13px; font-weight:bold; }
.review-line-widget { box-sizing:border-box; padding:6px 12px 8px 8px; font:13px/1.45 Inter,system-ui,sans-serif; white-space:normal; }
.review-line-note, .review-line-composer { background:#161027; border:1px solid #30263d; border-radius:10px; padding:7px 10px; margin-bottom:6px; max-width:720px; }
.review-line-note.admin-note { border:1px dashed #d9b43a; }
.review-line-note.resolved { opacity:.62; }
.review-line-note.flash { outline:2px solid #ffdd34; }
.review-line-actions { display:flex; flex-wrap:wrap; align-items:center; gap:10px; margin:4px 0 0; }
.review-line-actions .thread-private { margin:0; }
.review-line-composer label { display:block; font-size:12px; color:#b9a8dd; }
.review-line-composer textarea { display:block; width:100%; margin-top:4px; background:#0c0815; color:#eee7fb; border:1px solid #3a304b; border-radius:8px; padding:6px 8px; font:13px Inter,system-ui,sans-serif; resize:vertical; }
.review-line-composer [role="status"] { margin:4px 0 0; font-size:12px; color:#ff577b; }
.review-line-composer [role="status"]:empty { display:none; }
.submission-row.unread { box-shadow:inset 3px 0 #ff26c4; background:#1a0f24; }
.submission-row.unread strong { font-weight:800; }
.submission-row:not(.unread) strong { font-weight:600; }
.submission-unread { font:bold 10px var(--review-mono); text-transform:uppercase; color:#090616; background:#ff26c4; padding:1px 6px; border-radius:3px; margin-right:6px; }
.submission-unread.soft { color:#ff8ce0; background:transparent; border:1px solid #ff26c4; }
.submission-unread-note { font-size:13px; color:#8f80a8; margin:12px 0 0; }
.review-cards { padding:14px; overflow:auto; flex:1; min-height:0; }
.review-cards article { background:#161027; border:1px solid #30263d; border-radius:13px; padding:14px 12px; margin-bottom:10px; }
.review-cards p { margin:8px 0; color:#b9a8dd; font-size:13px; }
.review-cards h2 .review-pill { font:bold 10px var(--review-mono); color:#45ffc5; background:#123029; padding:2px 6px; border-radius:3px; letter-spacing:.5px; margin-left:6px; text-transform:uppercase; vertical-align:middle; }
.review-cards dl { display:grid; grid-template-columns:36% minmax(0,1fr); gap:4px 10px; margin:0; font-size:14px; }
.review-cards dt { color:#736486; }
.review-cards dd { margin:0; overflow-wrap:anywhere; }
.review-cards details { margin:12px 0; color:#b9a8dd; }
.review-cards details pre { max-height:240px; overflow:auto; }
.review-try-actions { display:flex; gap:6px; flex-wrap:wrap; }
.review-try-actions button:first-child { color:#68e1fd; border-color:#3e6c88; }
.review-workspace button:disabled { opacity:.5; cursor:default; }
.review-decide { border-top:1px solid #3a304b; padding:12px 14px; background:#10091c; flex-shrink:0; }
.review-decide:has(.review-life) { max-height:55%; overflow:auto; }
.review-decide textarea { width:100%; min-height:55px; max-height:120px; resize:vertical; background:#0c0815; color:#eee7fb; border:1px solid #3a304b; border-radius:8px; padding:8px 10px; font:14px Inter,system-ui,sans-serif; }
.review-decisions { display:flex; gap:6px; margin-top:9px; }
.review-decisions button { font-size:13px; font-weight:bold; flex:1; padding:6px 8px; white-space:nowrap; }
.review-decisions [data-review-decision="approve"] { color:#45ffc5; border-color:#278e75; background:#152d32; }
.review-decisions [data-review-decision="request_changes"] { color:#ffdd34; border-color:#89712b; background:#30282b; }
.review-decisions [data-review-decision="reject"] { color:#ff577b; border-color:#853046; background:#30172c; }
.review-decide p { margin:5px 0 0; font-size:12px; color:#b9a8dd; overflow-wrap:anywhere; }
.review-mark { font-size:12px !important; margin-top:6px; }
.review-loading { padding:20px; }
.review-phone-tabs { display:none; }
@media (max-width:899px) {
  .submission-column-head { display:none; }
  .submission-row { grid-template-columns:52px auto minmax(0,1fr) auto; grid-template-areas:"thumb name name status" "thumb author age status" "thumb build build status"; gap:2px 8px; }
  .submission-row .submission-app { display:contents; }
  .submission-row .submission-app > :first-child { grid-area:thumb; }
  .submission-row .submission-app > :last-child { grid-area:name; min-width:0; }
  .submission-row > .submission-author { grid-area:author; font-size:13px; }
  .submission-row > .submission-age { grid-area:age; font-size:13px; }
  .submission-row > .submission-age::before { content:"- "; }
  .submission-row > .submission-build { grid-area:build; }
  .submission-row > .sub-status { grid-area:status; }
  .review-header { align-items:flex-start; gap:16px; padding:14px 16px; }
  .review-back { flex-shrink:0; font-size:13px; }
  .review-identity img { width:40px; }
  .review-header h1 { font-size:16px; }
  .review-phone-tabs { display:flex; border-bottom:1px solid #241b33; }
  .review-phone-tabs button { flex:1; border:0; border-radius:0; text-transform:uppercase; font:bold 11px var(--review-mono); padding:12px 0; }
  .review-phone-tabs button[aria-selected="true"] { color:#fff; border-bottom:2px solid #68e1fd; }
  .review-columns { display:flex; overflow:hidden; }
  .review-columns > * { display:none; width:100%; border-right:0; }
  .review-workspace[data-pane="code"] .review-code { display:flex; }
  .review-workspace[data-pane="emulator"] .review-emulator { display:block; }
  .review-workspace[data-pane="review"] .review-side, .review-workspace[data-pane="talk"] .review-side { display:flex; }
  .review-header { flex-wrap:wrap; }
  .review-header-actions { margin-left:0; flex-direction:row; align-items:center; gap:8px; }
  .review-code-hint { display:none; }
  .review-workspace[data-pane="talk"] .review-side { display:block; overflow:auto; }
  .review-workspace[data-pane="talk"] .review-thread { overflow:visible; }
  .review-workspace[data-pane="talk"] .review-decide { max-height:none; }
  .review-side-tabs { display:none; }
  .review-cards { padding:14px 16px; }
  .review-emulator { padding:20px 16px; }
  .review-emulator [data-bench-stage] { max-width:300px; margin:0 auto; }
  .review-file-tabs { flex-wrap:wrap; }
  .review-decide { padding:10px 16px; }
}

/* Long status labels wrap instead of pushing the header wider. */
.review-identity > div { min-width:0; }
.admin-page .review-identity .status, .review-identity .status { white-space:normal; }
