@charset "UTF-8";
/* Compact review warnings; the optional file picker has its own step. */
html:root[data-theme].jp-workspace .review-download-confirm {--review-warning:#b91c1c;--review-warning-bg:#fff1f2;width:min(560px,calc(100vw - 24px));max-height:calc(100dvh - 24px);padding:18px;border:1px solid var(--lumen-border-strong);border-top:3px solid var(--review-warning);border-radius:18px;background:var(--paper);color:var(--ink);box-shadow:var(--ui-shadow);overflow:auto;overscroll-behavior:contain;transform:translateY(var(--review-confirm-offset,0px));transition:transform .18s ease-out;}
html:root[data-theme=dark].jp-workspace .review-download-confirm {--review-warning:#fca5a5;--review-warning-bg:#44212b;}
html:root[data-theme].jp-workspace .review-download-confirm::backdrop {background:#070b16b8;}
html:root[data-theme].jp-workspace .review-download-confirm form,html:root[data-theme].jp-workspace .review-download-confirm section {display:grid;grid-template-columns:minmax(0,1fr);gap:12px;min-width:0;}
html:root[data-theme].jp-workspace .review-download-confirm [data-review-confirm-drag] {min-width:0;}
html:root[data-theme].jp-workspace .review-download-confirm [hidden] {display:none!important;}
html:root[data-theme].jp-workspace .review-confirm-grip {display:none;justify-content:center;padding:0 0 10px;}
html:root[data-theme].jp-workspace .review-confirm-grip span {width:34px;height:4px;border-radius:4px;background:var(--muted);opacity:.5;}
html:root[data-theme].jp-workspace .review-confirm-heading {display:flex;gap:10px;align-items:center;}
html:root[data-theme].jp-workspace .review-download-confirm h2 {font-size:1.3rem;line-height:1.18;margin:0;}
html:root[data-theme].jp-workspace .review-download-warning {display:grid;place-items:center;flex:0 0 34px;width:34px;height:34px;border-radius:10px;background:var(--review-warning-bg);color:var(--review-warning);font-size:1.5rem;font-weight:800;}
html:root[data-theme].jp-workspace .review-download-confirm p {font-size:.86rem;line-height:1.45;margin:0;}
html:root[data-theme].jp-workspace .review-download-confirm-project {color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-top:8px!important;}
html:root[data-theme].jp-workspace .review-download-confirm-lead {padding:12px;border-left:3px solid var(--review-warning);border-radius:8px;background:var(--review-warning-bg);}
html:root[data-theme].jp-workspace .review-download-picks {display:grid;gap:6px;max-height:min(42dvh,360px);overflow:auto;overscroll-behavior:contain;padding:6px;border:1px solid var(--line);border-radius:10px;}
html:root[data-theme].jp-workspace :is(.review-download-picks label,.review-download-consent) {display:grid;grid-template-columns:22px minmax(0,1fr);gap:8px;align-items:start;font-size:.83rem;line-height:1.4;padding:8px;}
html:root[data-theme].jp-workspace .review-download-picks small {display:block;color:var(--muted);}
html:root[data-theme].jp-workspace .review-download-confirm :is(span,label) {min-width:0;overflow-wrap:anywhere;}
html:root[data-theme].jp-workspace .review-download-confirm input {width:20px;height:20px;margin:0;accent-color:var(--lumen-primary);}
html:root[data-theme].jp-workspace .review-download-consent {font-weight:650;background:var(--lumen-soft);border-radius:10px;padding:10px;}
html:root[data-theme].jp-workspace .review-download-selection {display:flex;gap:8px;align-items:center;justify-content:space-between;font-size:.81rem;}
html:root[data-theme].jp-workspace .review-download-selection button {min-height:40px;padding:6px 10px;font-size:.8rem;}
html:root[data-theme].jp-workspace .review-download-confirm .review-error:empty {display:none;}
html:root[data-theme].jp-workspace .review-download-confirm-actions {display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-end;}
html:root[data-theme].jp-workspace .review-download-confirm-actions button {min-height:44px;white-space:normal;font-size:.81rem;}
html:root[data-theme].jp-workspace .review-download-confirm.is-confirm-dragging {transition:none;user-select:none;}
@media(max-width:760px){html:root[data-theme].jp-workspace .review-confirm-grip{display:flex;}html:root[data-theme].jp-workspace [data-review-confirm-drag]{touch-action:none;}}
@media(max-width:650px){html:root[data-theme].jp-workspace .review-download-confirm{padding:14px;}html:root[data-theme].jp-workspace .review-download-confirm-actions{display:grid;grid-template-columns:1fr;}html:root[data-theme].jp-workspace .review-download-confirm-actions [type=submit]{grid-row:1;}}
@media(max-height:620px){html:root[data-theme].jp-workspace .review-download-confirm{padding:12px;}html:root[data-theme].jp-workspace .review-download-confirm :is(form,section){gap:8px;}html:root[data-theme].jp-workspace .review-download-confirm h2{font-size:1.15rem;}html:root[data-theme].jp-workspace .review-download-confirm-lead{padding:10px;}html:root[data-theme].jp-workspace .review-download-confirm-project{font-size:.76rem;}html:root[data-theme].jp-workspace .review-download-picks{max-height:calc(100dvh - 220px);}}
@media(prefers-reduced-motion:reduce){html:root[data-theme].jp-workspace .review-download-confirm{transition:none;}}
/* A compact context switcher keeps the start page separate from administration. */
html:root[data-theme].jp-workspace .workspace-switcher {display:grid;gap:8px;min-width:0;padding:0 8px;}
html:root[data-theme].jp-workspace .workspace-switcher .nav-caption {padding:0;}
html:root[data-theme].jp-workspace .workspace-switcher select {width:100%;min-width:0;max-width:100%;min-height:44px;padding:9px;border:1px solid var(--line);border-radius:9px;background:var(--paper);color:var(--ink);font-size:.78rem;text-overflow:ellipsis;}
html:root[data-theme].jp-workspace .workspace-current {display:grid;gap:6px;padding:0 12px;}
html:root[data-theme].jp-workspace .workspace-current .nav-caption {padding:0;}
html:root[data-theme].jp-workspace .workspace-current strong {font-size:.8rem;font-weight:550;overflow-wrap:anywhere;}
@media(max-width:760px){
 html:root[data-theme].jp-workspace .sidebar {touch-action:pan-y;overscroll-behavior:contain;transition:transform 160ms ease-out;}
 html:root[data-theme].jp-workspace .sidebar :is(nav,button,a,summary) {touch-action:pan-y;}
 html:root[data-theme].jp-workspace .sidebar.open {transform:translateX(var(--drawer-offset,0px));}
 html:root[data-theme].jp-workspace .sidebar.is-drawer-dragging {transition:none;user-select:none;}
}
@media(prefers-reduced-motion:reduce){html:root[data-theme].jp-workspace .sidebar {transition:none;}}
/* Shared workspace presentation. Login and functional module layouts stay independent. */
html:root[data-theme].jp-workspace {
  --ink:#242936; --muted:#697284; --line:#e2e5ec;
  --paper:#fff; --surface:#fff; --canvas:#f6f7fa; --nav:#fbfbfd;
  --blue:#6255c9; --light-blue:#eeecfa; --danger:#b13e53; --radius:16px;
  --lumen-glass:#ffffff; --lumen-card:#ffffff; --lumen-soft:#f5f6f9;
  --lumen-hover:#f0f1f7; --lumen-accent:#6255c9; --lumen-accent-soft:#eeecfa;
  --lumen-mint:#27745d; --lumen-mint-soft:#edf6f1;
  --lumen-warm:#896421; --lumen-warm-soft:#faf5e9; --lumen-danger-soft:#fff1f3;
  --lumen-border-strong:#b9becd; --lumen-shadow:0 2px 8px #20243804;
  --lumen-primary:#6255c9; --lumen-focus:#7a6bdb;
  --ui-sidebar:232px; --ui-shadow:0 16px 48px #1f25301c;
  background:var(--canvas); color:var(--ink);
}
html:root[data-theme="dark"].jp-workspace {
  --ink:#e7eaf2; --muted:#a2abbd; --line:#2c323e;
  --paper:#1b1f28; --surface:#1b1f28; --canvas:#13161c; --nav:#171a21;
  --blue:#b4a8ff; --light-blue:#302c46; --danger:#ff9bad;
  --lumen-glass:#1b1f28; --lumen-card:#1b1f28; --lumen-soft:#202530;
  --lumen-hover:#272d39; --lumen-accent:#b4a8ff; --lumen-accent-soft:#302c46;
  --lumen-mint:#8fd2b5; --lumen-mint-soft:#21362e;
  --lumen-warm:#e5c483; --lumen-warm-soft:#363022; --lumen-danger-soft:#3c2730;
  --lumen-border-strong:#535d70; --lumen-shadow:0 2px 8px #0000000a;
  --lumen-primary:#7463dc; --lumen-focus:#c4baff; --ui-shadow:0 18px 50px #0005;
}
html:root[data-theme].jp-workspace body {background:var(--canvas); background-image:none;}
html:root[data-theme].jp-workspace :is(h1,h2,h3,h4) {color:var(--ink);}
html:root[data-theme].jp-workspace h1 {font-size:clamp(1.55rem,2.3vw,1.9rem);font-weight:650;letter-spacing:-.035em;line-height:1.22;}
html:root[data-theme].jp-workspace h2 {font-size:1.02rem;font-weight:650;letter-spacing:-.015em;}
html:root[data-theme].jp-workspace :is(.eyebrow,.nav-caption) {font-size:.66rem;letter-spacing:.09em;line-height:1.5;font-weight:650;color:var(--muted);}
html:root[data-theme].jp-workspace .sidebar {
  width:var(--ui-sidebar);inset:0 auto 0 0;padding:26px 16px 18px;border:0;border-right:1px solid var(--line);
  border-radius:0;background:var(--nav);box-shadow:none;backdrop-filter:none;
}
html:root[data-theme].jp-workspace .sidebar .brand {padding:0 12px;gap:10px;margin:0 0 30px;letter-spacing:-.02em;font-size:1.05rem;color:var(--ink);}
html:root[data-theme].jp-workspace .brand-mark {display:grid;place-items:center;width:32px;height:32px;border-radius:10px;background:var(--lumen-primary);color:#fff;font-size:.85rem;font-weight:750;letter-spacing:-.04em;flex:none;}
html:root[data-theme].jp-workspace .nav-button {min-height:42px;padding:10px 12px;gap:10px;border-radius:10px;font-size:.82rem;font-weight:500;line-height:1.35;color:var(--muted);margin:2px 0;box-shadow:none;background:transparent;}
html:root[data-theme].jp-workspace .nav-button .icon {width:18px;height:18px;}
html:root[data-theme].jp-workspace .nav-button:hover {background:var(--lumen-hover);color:var(--ink);transform:none;}
html:root[data-theme].jp-workspace .nav-button.active {background:var(--light-blue);color:var(--blue);font-weight:650;box-shadow:none;}
html:root[data-theme].jp-workspace .nav-button.active .icon {color:inherit;}
html:root[data-theme].jp-workspace .nav-group-label {margin-top:19px;padding:0 12px 6px;}
html:root[data-theme].jp-workspace .space-nav {margin-top:24px;border-top:1px solid var(--line);padding-top:13px;}
html:root[data-theme].jp-workspace .space-nav .nav-caption {padding:0 12px 8px;}
html:root[data-theme].jp-workspace .space-link {font-size:.77rem;min-height:38px;}
html:root[data-theme].jp-workspace .space-link .space-dot {width:6px;height:6px;}
html:root[data-theme].jp-workspace .side-path {margin-top:22px;padding-top:14px;border-color:var(--line);}
html:root[data-theme].jp-workspace .side-path .nav-caption {padding:0 12px 8px;}
html:root[data-theme].jp-workspace .side-path-list button {font-size:.73rem;min-height:34px;border-radius:8px;}
html:root[data-theme].jp-workspace .side-bottom {padding-top:24px;}
html:root[data-theme].jp-workspace .identity {padding:16px 8px 0;gap:9px;border-color:var(--line);}
html:root[data-theme].jp-workspace .identity .name {color:var(--ink);font-size:.8rem;}
html:root[data-theme].jp-workspace .identity small {color:var(--muted);font-size:.68rem;}
html:root[data-theme].jp-workspace .avatar {width:32px;height:32px;font-size:.73rem;color:var(--blue);background:var(--light-blue);border:0;}
html:root[data-theme].jp-workspace .main {margin-left:var(--ui-sidebar);padding:0;min-width:0;}
html:root[data-theme].jp-workspace .topbar {height:66px;margin:0;padding:0 32px;border:0;border-bottom:1px solid var(--line);border-radius:0;background:var(--paper);box-shadow:none;backdrop-filter:none;gap:12px;}
html:root[data-theme].jp-workspace .top-title {font-size:.8rem;font-weight:500;color:var(--muted);min-width:0;gap:8px;}
html:root[data-theme].jp-workspace .top-title>span {overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
html:root[data-theme].jp-workspace .top-actions {gap:10px;}
html:root[data-theme].jp-workspace .status-pill {padding:5px 8px;font-size:.7rem;border-radius:7px;}
html:root[data-theme].jp-workspace .content {max-width:1440px;margin:auto;padding:32px;}
html:root[data-theme].jp-workspace .page-head {gap:16px;margin-bottom:24px;align-items:center;}
html:root[data-theme].jp-workspace .page-head p {font-size:.85rem;line-height:1.6;margin-top:7px;color:var(--muted);}
html:root[data-theme].jp-workspace :is(.btn,.review-button) {min-height:40px;padding:9px 13px;border:1px solid var(--line);border-radius:10px;background:var(--paper);color:var(--ink);font-size:.8rem;font-weight:550;box-shadow:none;line-height:1.4;gap:7px;transition:background .14s,border-color .14s;}
html:root[data-theme].jp-workspace :is(.btn,.review-button):hover:not(:disabled) {background:var(--lumen-hover);border-color:var(--lumen-border-strong);transform:none;box-shadow:none;}
html:root[data-theme].jp-workspace :is(.btn.primary,.review-button.primary,.review-button.review-primary) {color:#fff;background:var(--lumen-primary);border-color:transparent;box-shadow:none;}
html:root[data-theme].jp-workspace :is(.btn.primary,.review-button.primary,.review-button.review-primary):hover:not(:disabled) {background:color-mix(in srgb,var(--lumen-primary) 90%,#000);}
html:root[data-theme].jp-workspace :is(.btn.text,.review-button.text,.review-button.review-quiet) {background:transparent;border-color:transparent;color:var(--muted);}
html:root[data-theme].jp-workspace :is(.btn.text,.review-button.text,.review-button.review-quiet):hover:not(:disabled) {color:var(--ink);background:var(--lumen-hover);}
html:root[data-theme].jp-workspace :is(.btn.danger,.review-button.danger,.review-button.review-danger) {background:var(--lumen-danger-soft);color:var(--danger);border-color:color-mix(in srgb,var(--danger) 25%,var(--line));}
html:root[data-theme].jp-workspace :is(.icon-btn,.review-icon-button) {width:36px;height:36px;border-radius:9px;color:var(--muted);background:transparent;border:0;box-shadow:none;}
html:root[data-theme].jp-workspace :is(.icon-btn,.review-icon-button):hover {background:var(--lumen-hover);color:var(--ink);}
html:root[data-theme].jp-workspace :is(button,a,summary,input,textarea,select):focus-visible {outline:2px solid var(--lumen-focus);outline-offset:3px;}
html:root[data-theme].jp-workspace :is(.field,.review-field) {font-size:.8rem;font-weight:550;gap:7px;margin-bottom:16px;}
html:root[data-theme].jp-workspace :is(.field small,.review-field small,.dialog-desc) {color:var(--muted);font-size:.78rem;font-weight:400;line-height:1.6;}
html:root[data-theme].jp-workspace :is(.field input,.field select,.field textarea,.review-field input,.review-field select,.review-field textarea) {border-radius:9px;min-height:43px;padding:10px 12px;box-shadow:none;}
html:root[data-theme].jp-workspace :is(.search,.review-search,.chat-search) {border-radius:10px;background:var(--paper);border-color:var(--line);box-shadow:none;}
html:root[data-theme].jp-workspace :is(.badge,.review-status,.review-round-state) {border-radius:6px;padding:4px 7px;font-size:.68rem;font-weight:550;box-shadow:none;}
html:root[data-theme].jp-workspace :is(.space-card,.management-card,.user-card,.folder-card,.files-panel,.timeline,.review-panel,.review-round-card,.review-admin-package,.intake-project-content,.intake-project-shell,.intake-video-card,.intake-source,.ready-project,.chat-shell,.bridge-space,.abgleich-card,.system-dashboard,.access-panel,.emergency-panel) {border:1px solid var(--line);border-radius:var(--radius);background:var(--paper);box-shadow:none;}
html:root[data-theme].jp-workspace :is(.management-card,.user-card) {padding:20px;}
html:root[data-theme].jp-workspace .management-grid {gap:16px;}
html:root[data-theme].jp-workspace .management-identity h2 {font-size:1rem;}
html:root[data-theme].jp-workspace .management-identity small {font-size:.74rem;}
html:root[data-theme].jp-workspace .management-area {border-color:var(--line);background:var(--lumen-soft);border-radius:10px;min-height:64px;padding:13px 14px;}
html:root[data-theme].jp-workspace .management-area:hover {background:var(--lumen-hover);}
html:root[data-theme].jp-workspace .management-area-icon {color:var(--muted);background:transparent;}
html:root[data-theme].jp-workspace .management-area strong {font-size:.85rem;}
html:root[data-theme].jp-workspace .management-area small {font-size:.72rem;}
html:root[data-theme].jp-workspace .management-admin {margin-top:26px;border-color:var(--line);}
html:root[data-theme].jp-workspace .management-description {font-size:.8rem;line-height:1.6;}
html:root[data-theme].jp-workspace .section-label {margin:25px 0 12px;}
html:root[data-theme].jp-workspace .section-label h2 {font-size:.8rem;color:var(--muted);font-weight:550;}
html:root[data-theme].jp-workspace .share-strip {margin:0 0 24px;padding:13px 16px;border:1px solid var(--line);border-radius:12px;background:var(--paper);box-shadow:none;}
html:root[data-theme].jp-workspace .share-strip .strip-title {font-size:.8rem;}
html:root[data-theme].jp-workspace .share-strip small {font-size:.73rem;margin-top:4px;}
html:root[data-theme].jp-workspace .folder-topbar {gap:8px;margin-bottom:16px;}
html:root[data-theme].jp-workspace .folder-topbar .btn {min-height:34px;padding:6px 10px;font-size:.74rem;}
html:root[data-theme].jp-workspace .portal-entry-sections {display:grid;gap:25px;}
html:root[data-theme].jp-workspace .portal-entry-section {border:0;border-radius:0;background:none;padding:0;box-shadow:none;margin:0;}
html:root[data-theme].jp-workspace .portal-entry-section>header {margin:0 0 11px;}
html:root[data-theme].jp-workspace .portal-entry-section>header h2 {font-size:.85rem;font-weight:600;}
html:root[data-theme].jp-workspace .portal-entry-grid {gap:12px;}
html:root[data-theme].jp-workspace .portal-entry-card {min-height:84px;padding:17px 18px;gap:13px;border:1px solid var(--line);border-radius:13px;background:var(--paper);box-shadow:none;}
html:root[data-theme].jp-workspace .portal-entry-card:hover {background:var(--lumen-soft);border-color:var(--lumen-border-strong);transform:none;box-shadow:none;}
html:root[data-theme].jp-workspace .portal-entry-copy strong {font-size:.87rem;font-weight:600;}
html:root[data-theme].jp-workspace .portal-entry-copy small {font-size:.74rem;line-height:1.45;}
html:root[data-theme].jp-workspace .portal-brand {width:40px;height:40px;border-radius:11px;border:0;background:var(--lumen-soft);}
html:root[data-theme].jp-workspace .portal-brand .platform-logo {width:24px;height:24px;}
html:root[data-theme].jp-workspace .portal-entry-arrow {color:var(--muted);background:none;box-shadow:none;}
html:root[data-theme].jp-workspace .feedback-entry-group {border-radius:13px;box-shadow:none;}
html:root[data-theme].jp-workspace :is(.feedback-notifications,.intake-notifications) {margin-top:5px;border-color:var(--line);border-radius:9px;background:var(--lumen-soft);}
html:root[data-theme].jp-workspace .feedback-notifications>summary {padding:9px 12px;font-size:.73rem;}
html:root[data-theme].jp-workspace .files-toolbar {padding:14px 16px;gap:12px;background:var(--paper);}
html:root[data-theme].jp-workspace :is(th,td) {padding:13px 16px;border-color:var(--line);}
html:root[data-theme].jp-workspace th {background:var(--lumen-soft);font-size:.68rem;letter-spacing:.025em;color:var(--muted);font-weight:550;}
html:root[data-theme].jp-workspace .file-label {font-size:.82rem;font-weight:550;}
html:root[data-theme].jp-workspace .file-name {gap:10px;}
html:root[data-theme].jp-workspace .file-name small {font-size:.7rem;}
html:root[data-theme].jp-workspace .file-symbol {border-radius:9px;background:var(--lumen-soft);color:var(--muted);}
html:root[data-theme].jp-workspace .row-actions .icon-btn {width:34px;height:34px;}
html:root[data-theme].jp-workspace .footer-line {padding:12px 0;margin-top:10px;font-size:.72rem;line-height:1.5;gap:12px;}
html:root[data-theme].jp-workspace .selection-bar {padding:10px 14px;border-radius:10px;background:var(--light-blue);border-color:var(--line);box-shadow:none;}
html:root[data-theme].jp-workspace :is(.intake-tab-card,.intake-video-card>button:first-child) {min-height:92px;padding:16px;gap:7px 12px;background:transparent;box-shadow:none;}
html:root[data-theme].jp-workspace .intake-tab-card {border-color:var(--line);border-radius:13px;background:var(--paper);}
html:root[data-theme].jp-workspace .intake-tab-card>strong {font-size:.88rem;}
html:root[data-theme].jp-workspace .intake-tab-card>small {font-size:.74rem;}
html:root[data-theme].jp-workspace .intake-tab-card>span:first-child {width:38px;height:38px;border-radius:10px;background:var(--lumen-soft);color:var(--muted);}
html:root[data-theme].jp-workspace :is(.intake-drop-hint,.intake-drop-zone,.review-drop,.review-attachment-area,.review-add-video) {border:1px dashed var(--lumen-border-strong);border-radius:12px;background:var(--lumen-soft);box-shadow:none;}
html:root[data-theme].jp-workspace :is(.drop-active,.folder-drop-target,.touch-drop-target,.is-dragging) {outline-color:var(--blue);}
html:root[data-theme].jp-workspace :is(.intake-original-card,.intake-main-material,.intake-compact-panel,.intake-clip-card,.review-material-folder,.review-attachment,.review-title-preview) {border-radius:12px;border-color:var(--line);box-shadow:none;}
html:root[data-theme].jp-workspace .intake-project-content {padding:18px;}
html:root[data-theme].jp-workspace .intake-section-heading {margin-bottom:16px;}
html:root[data-theme].jp-workspace .intake-compact-panel>summary {font-size:.8rem;padding:13px 15px;}
html:root[data-theme].jp-workspace .review-head {margin-bottom:22px;gap:16px;}
html:root[data-theme].jp-workspace .review-head p {font-size:.82rem;line-height:1.6;margin-top:6px;}
html:root[data-theme].jp-workspace .review-panel {padding:20px;}
html:root[data-theme].jp-workspace .review-panel h2 {font-size:1rem;}
html:root[data-theme].jp-workspace .review-round-card {padding:17px 18px;gap:16px;}
html:root[data-theme].jp-workspace .review-round-card h2 {font-size:.97rem;}
html:root[data-theme].jp-workspace :is(.review-project-group,.review-round-family) {border-radius:13px;box-shadow:none;border-color:var(--line);background:var(--paper);}
html:root[data-theme].jp-workspace .review-project-group>summary {padding:16px 18px;}
html:root[data-theme].jp-workspace .review-project-group h3 {font-size:.93rem;}
html:root[data-theme].jp-workspace .review-round-tabs {border-radius:12px;padding:5px;background:var(--paper);border-color:var(--line);box-shadow:none;gap:4px;}
html:root[data-theme].jp-workspace .review-round-tabs button {border-radius:8px;font-size:.77rem;padding:10px 12px;}
html:root[data-theme].jp-workspace .review-round-tabs button.active {background:var(--light-blue);box-shadow:none;color:var(--blue);}
html:root[data-theme].jp-workspace .review-step-nav {border:1px solid var(--line);border-radius:13px;padding:8px;background:var(--paper);box-shadow:none;}
html:root[data-theme].jp-workspace .review-step-nav button {padding:11px 10px;gap:10px;font-size:.78rem;min-height:46px;border-radius:9px;background:transparent;color:var(--muted);border:0;box-shadow:none;}
html:root[data-theme].jp-workspace .review-step-nav button.active {background:var(--light-blue);color:var(--blue);}
html:root[data-theme].jp-workspace .review-step-nav button>span {width:25px;height:25px;border-radius:8px;font-size:.72rem;box-shadow:none;}
html:root[data-theme].jp-workspace :is(.review-admin-save,.review-video-controls,.review-marker-timeline,.review-folder-head,.review-feedback-row,.review-readiness,.review-finish-item) {background:var(--lumen-soft);border-color:var(--line);box-shadow:none;}
html:root[data-theme].jp-workspace .review-admin-save {border-radius:12px;padding:13px 16px;}
html:root[data-theme].jp-workspace .review-admin-package {padding:16px;}
html:root[data-theme].jp-workspace :is(.review-admin-asset,.review-package-preview,.review-upload-row,.review-chapter-row,.review-time-row,.review-marker-editor) {border-color:var(--line);border-radius:10px;box-shadow:none;}
html:root[data-theme].jp-workspace .review-save-indicator {font-size:.72rem;font-weight:550;border-radius:7px;min-height:29px;}
html:root[data-theme].jp-workspace .review-feedback-item {border-radius:11px;border-color:var(--line);box-shadow:none;}
html:root[data-theme].jp-workspace .review-work-group {margin-bottom:24px;}
html:root[data-theme].jp-workspace .review-work-group>.review-section-head h2 {font-size:.85rem;}
html:root[data-theme].jp-workspace .ready-toolbar {padding:12px 14px;gap:12px;border-radius:13px;box-shadow:none;}
html:root[data-theme].jp-workspace .ready-modes {border-radius:9px;padding:3px;}
html:root[data-theme].jp-workspace .ready-modes .btn {border-radius:7px;font-size:.75rem;min-height:34px;padding:7px 10px;}
html:root[data-theme].jp-workspace .ready-project>summary {padding:16px 18px;}
html:root[data-theme].jp-workspace .ready-video {border-radius:12px;border-color:var(--line);background:var(--lumen-soft);}
html:root[data-theme].jp-workspace .ready-video h4 {font-size:.83rem;}
html:root[data-theme].jp-workspace .ready-video.is-selected {outline-color:var(--blue);}
html:root[data-theme].jp-workspace .ready-video-select {border-radius:9px;width:36px;height:36px;}
html:root[data-theme].jp-workspace .ready-preview {height:180px;}
html:root[data-theme].jp-workspace .chat-shell {overflow:hidden;}
html:root[data-theme].jp-workspace :is(.chat-sidebar,.chat-head,.chat-compose,.chat-thread-head) {background:var(--paper);border-color:var(--line);box-shadow:none;}
html:root[data-theme].jp-workspace :is(.chat-room,.chat-thread-item,.chat-person) {border-radius:9px;box-shadow:none;}
html:root[data-theme].jp-workspace :is(.chat-message,.chat-bubble) {border-radius:13px;box-shadow:none;}
html:root[data-theme].jp-workspace .chat-compose textarea {border-radius:10px;font-size:.85rem;}
html:root[data-theme].jp-workspace .chat-header {padding:16px 20px;gap:12px;background:var(--paper);}
html:root[data-theme].jp-workspace .chat-header select {border-radius:9px;}
html:root[data-theme].jp-workspace .chat-history {padding:20px;background:var(--canvas);}
html:root[data-theme].jp-workspace .chat-message {padding:14px 16px;border-radius:13px 13px 13px 4px;box-shadow:none;}
html:root[data-theme].jp-workspace .chat-message.mine {border-radius:13px 13px 4px 13px;background:var(--light-blue);}
html:root[data-theme].jp-workspace .chat-message header {font-size:.68rem;gap:12px;margin-bottom:7px;}
html:root[data-theme].jp-workspace .chat-text {font-size:.84rem;line-height:1.65;}
html:root[data-theme].jp-workspace .chat-message footer {gap:2px;}
html:root[data-theme].jp-workspace .chat-message footer .btn {font-size:.68rem;padding:6px 9px;}
html:root[data-theme].jp-workspace .chat-composer {padding:16px 20px;background:var(--paper);}
html:root[data-theme].jp-workspace .chat-composer textarea {background:var(--lumen-soft);border-radius:10px;}
html:root[data-theme].jp-workspace .chat-topic-panel {background:var(--paper);border-color:var(--line);border-radius:13px;box-shadow:none;}
html:root[data-theme].jp-workspace .chat-topic {border-radius:9px;box-shadow:none;}
html:root[data-theme].jp-workspace .chat-picker-item {border-radius:10px;padding:12px;}
html:root[data-theme].jp-workspace .chat-reference {border-radius:9px;background:var(--paper);padding:10px 12px;}
html:root[data-theme].jp-workspace .chat-shell .btn {min-height:44px;}
html:root[data-theme].jp-workspace .abgleich-bereiche {gap:16px;}
html:root[data-theme].jp-workspace .abgleich-bereich {padding:20px;border-radius:16px;box-shadow:none;}
html:root[data-theme].jp-workspace .abgleich-bereich h2 {font-size:1rem;margin-bottom:14px;}
html:root[data-theme].jp-workspace .abgleich-eingang {padding:17px 0;}
html:root[data-theme].jp-workspace .abgleich-eingang h3 {font-size:.87rem;}
html:root[data-theme].jp-workspace .abgleich-ort {font-size:.8rem;line-height:1.6;margin:10px 0;}
html:root[data-theme].jp-workspace .abgleich-status {font-size:.76rem;line-height:1.6;}
html:root[data-theme].jp-workspace .abgleich-eingang select {border-radius:9px;font-size:.8rem;}
html:root[data-theme].jp-workspace .activity-filters {gap:6px;margin:12px 0;}
html:root[data-theme].jp-workspace .activity-filters .btn {font-size:.74rem;min-height:34px;padding:6px 10px;}
html:root[data-theme].jp-workspace .event {padding:15px 18px;gap:12px;border-color:var(--line);}
html:root[data-theme].jp-workspace .event p {font-size:.8rem;line-height:1.6;}
html:root[data-theme].jp-workspace .event small {font-size:.73rem;}
html:root[data-theme].jp-workspace .event time {font-size:.7rem;}
html:root[data-theme].jp-workspace :is(.system-dashboard,.access-panel,.emergency-panel) {padding:20px;margin-bottom:20px;}
html:root[data-theme].jp-workspace .emergency-panel {border-color:color-mix(in srgb,var(--danger) 22%,var(--line));}
html:root[data-theme].jp-workspace :is(.system-card,.system-stat,.system-detail-card,.system-metric) {border-radius:11px;background:var(--lumen-soft);border-color:var(--line);box-shadow:none;}
html:root[data-theme].jp-workspace .system-dashboard .empty {padding:30px 18px;}
html:root[data-theme].jp-workspace .bridge-space {padding:20px;}
html:root[data-theme].jp-workspace .bridge-space h2 {font-size:1rem;}
html:root[data-theme].jp-workspace :is(.bridge-platform,.bridge-folder,.bridge-destination) {background:var(--lumen-soft);border-radius:11px;border-color:var(--line);box-shadow:none;}
html:root[data-theme].jp-workspace dialog {background:var(--paper);color:var(--ink);padding:26px;border:1px solid var(--line);border-radius:18px;box-shadow:var(--ui-shadow);overscroll-behavior:contain;}
html:root[data-theme].jp-workspace dialog::backdrop {background:#12162185;backdrop-filter:blur(4px);}
html:root[data-theme].jp-workspace .dialog-head {margin-bottom:16px;gap:14px;}
html:root[data-theme].jp-workspace .dialog-head h2 {font-size:1.12rem;line-height:1.3;}
html:root[data-theme].jp-workspace .dialog-head .icon-btn {flex:none;}
html:root[data-theme].jp-workspace .dialog-desc:empty {display:none;}
html:root[data-theme].jp-workspace .dialog-actions {gap:8px;margin-top:24px;padding-top:18px;border-top:1px solid var(--line);}
html:root[data-theme].jp-workspace :is(.clip-dialog,.material-dialog) {padding:18px;}
html:root[data-theme].jp-workspace :is(.clip-dialog,.clip-preview-dialog,.material-dialog) .dialog-actions {margin-top:8px;padding-top:10px;}
html:root[data-theme].jp-workspace :is(.folder-menu-items,.account-menu-panel,.live-panel) {border:1px solid var(--line);border-radius:13px;background:var(--paper);box-shadow:var(--ui-shadow);}
html:root[data-theme].jp-workspace .folder-menu-items {padding:6px;min-width:210px;}
html:root[data-theme].jp-workspace .folder-menu-items .btn {min-height:38px;justify-content:flex-start;font-size:.78rem;border-radius:8px;padding:9px 11px;}
html:root[data-theme].jp-workspace :is(.folder-menu,.account-menu)>summary {border-radius:9px;}
html:root[data-theme].jp-workspace .folder-menu>summary {width:36px;height:36px;}
html:root[data-theme].jp-workspace .account-menu {position:relative;}
html:root[data-theme].jp-workspace .account-menu>summary {display:flex;gap:5px;align-items:center;cursor:pointer;list-style:none;padding:3px;}
html:root[data-theme].jp-workspace .account-menu>summary::-webkit-details-marker {display:none;}
html:root[data-theme].jp-workspace .account-menu>summary>.icon {width:13px;height:13px;transform:rotate(90deg);color:var(--muted);}
html:root[data-theme].jp-workspace .account-menu-panel {position:absolute;right:0;top:calc(100% + 10px);z-index:90;width:240px;padding:7px;max-width:calc(100vw - 32px);}
html:root[data-theme].jp-workspace .account-menu-identity {display:grid;gap:4px;padding:10px 11px 13px;border-bottom:1px solid var(--line);margin-bottom:5px;overflow-wrap:anywhere;}
html:root[data-theme].jp-workspace .account-menu-identity strong {font-size:.82rem;font-weight:600;}
html:root[data-theme].jp-workspace .account-menu-identity small {font-size:.7rem;color:var(--muted);}
html:root[data-theme].jp-workspace .account-menu-panel .btn {display:flex;justify-content:flex-start;width:100%;border:0;background:transparent;font-size:.78rem;min-height:40px;}
html:root[data-theme].jp-workspace .account-menu-panel .btn:hover {background:var(--lumen-hover);}
html:root[data-theme].jp-workspace .live-panel {top:76px;right:28px;}
html:root[data-theme].jp-workspace .live-side-items strong {font-size:.73rem;font-weight:550;}
html:root[data-theme].jp-workspace .live-side-items small {font-size:.65rem;}
html:root[data-theme].jp-workspace .live-count {border-color:var(--paper);background:var(--lumen-mint);}
html:root[data-theme].jp-workspace :is(#notice,.upload-card,.live-bubble) {border-radius:12px;border:1px solid var(--line);background:var(--paper);color:var(--ink);box-shadow:var(--ui-shadow);}
html:root[data-theme].jp-workspace #notice {font-size:.8rem;padding:12px 17px;left:calc(50% + var(--ui-sidebar)/2);}
html:root[data-theme].jp-workspace .empty {padding:38px 20px;font-size:.85rem;}
html:root[data-theme].jp-workspace .empty strong {font-size:.95rem;}
html:root[data-theme].jp-workspace .hint {border-radius:11px;background:var(--lumen-soft);font-size:.78rem;line-height:1.6;padding:13px 15px;box-shadow:none;}
html:root[data-theme].jp-workspace :is(.folder-menu[open]>.folder-menu-items,.account-menu[open]>.account-menu-panel,dialog[open]) {animation:ui-appear .14s ease-out;}
@keyframes ui-appear {from{opacity:0;translate:0 3px}to{opacity:1;translate:0 0}}
@media(min-width:1500px) {html:root[data-theme].jp-workspace .content {padding:38px 44px;}}
@media(max-width:1100px) {
  html:root[data-theme].jp-workspace {--ui-sidebar:216px;}
  html:root[data-theme].jp-workspace .sidebar {padding-inline:12px;}
  html:root[data-theme].jp-workspace .content {padding:28px 24px;}
  html:root[data-theme].jp-workspace .topbar {padding-inline:24px;}
  html:root[data-theme].jp-workspace .page-head {align-items:flex-start;}
}
@media(max-width:760px) {
  html:root[data-theme].jp-workspace {--ui-sidebar:0px;}
  html:root[data-theme].jp-workspace .sidebar {width:264px;padding:24px 16px 18px;z-index:40;}
  html:root[data-theme].jp-workspace .sidebar.open {box-shadow:var(--ui-shadow);}
  html:root[data-theme].jp-workspace .mobile-shade.open {z-index:39;backdrop-filter:blur(2px);background:#11172266;}
  html:root[data-theme].jp-workspace .main {margin-left:0;}
  html:root[data-theme].jp-workspace .topbar {height:60px;padding:0 15px;}
  html:root[data-theme].jp-workspace .top-actions {gap:4px;}
  html:root[data-theme].jp-workspace .top-actions .avatar {display:inline-flex;}
  html:root[data-theme].jp-workspace .content {padding:24px 17px;}
  html:root[data-theme].jp-workspace .page-head {gap:14px;align-items:stretch;margin-bottom:20px;}
  html:root[data-theme].jp-workspace .page-head .actions .btn {flex:0 1 auto;}
  html:root[data-theme].jp-workspace :is(.btn,.review-button) {min-height:44px;font-size:.78rem;}
  html:root[data-theme].jp-workspace :is(.field input,.field select,.field textarea,.review-field input,.review-field select,.review-field textarea,.abgleich-eingang select) {font-size:16px;}
  html:root[data-theme].jp-workspace :is(.icon-btn,.review-icon-button) {min-width:38px;min-height:38px;}
  html:root[data-theme].jp-workspace .management-card {padding:16px;}
  html:root[data-theme].jp-workspace .management-area {padding:12px;}
  html:root[data-theme].jp-workspace .share-strip {padding:12px;margin-bottom:22px;gap:12px;}
  html:root[data-theme].jp-workspace .share-strip small {margin-left:0;}
  html:root[data-theme].jp-workspace .portal-entry-sections {gap:22px;}
  html:root[data-theme].jp-workspace .portal-entry-grid {gap:9px;}
  html:root[data-theme].jp-workspace .portal-entry-card {min-height:78px;padding:15px;}
  html:root[data-theme].jp-workspace .portal-entry-copy strong {font-size:.82rem;}
  html:root[data-theme].jp-workspace .portal-brand {width:36px;height:36px;}
  html:root[data-theme].jp-workspace .files-toolbar {padding:12px;}
  html:root[data-theme].jp-workspace :is(th,td) {padding:11px 9px;}
  html:root[data-theme].jp-workspace .file-name {gap:7px;}
  html:root[data-theme].jp-workspace .file-label {font-size:.78rem;}
  /* Desktop action cells carry an inline width; mobile rows use a full grid track. */
  html:root[data-theme].jp-workspace .files-panel .file-row td:last-child {width:auto!important;justify-self:stretch;}
  html:root[data-theme].jp-workspace .files-panel .row-actions {justify-content:flex-start;flex-wrap:wrap;gap:3px;}
  html:root[data-theme].jp-workspace .row-actions .icon-btn {width:38px;min-width:38px;min-height:44px;}
  html:root[data-theme].jp-workspace .intake-project-content {padding:13px;}
  html:root[data-theme].jp-workspace .review-panel {padding:16px;}
  html:root[data-theme].jp-workspace .review-step-nav {padding:5px;border-radius:11px;}
  html:root[data-theme].jp-workspace .review-step-nav button {min-height:44px;font-size:.72rem;padding:8px;}
  html:root[data-theme].jp-workspace .review-admin-package {padding:13px;}
  html:root[data-theme].jp-workspace :is(.system-dashboard,.access-panel,.emergency-panel,.bridge-space) {padding:16px;}
  html:root[data-theme].jp-workspace .event {padding:14px;}
  html:root[data-theme].jp-workspace :is(.chat-header,.chat-composer) {padding:13px;}
  html:root[data-theme].jp-workspace .chat-history {padding:13px;}
  html:root[data-theme].jp-workspace .chat-message {padding:12px;}
  html:root[data-theme].jp-workspace .abgleich-bereich {padding:16px;}
  html:root[data-theme].jp-workspace dialog {padding:20px;max-height:calc(100dvh - 24px);width:min(510px,calc(100vw - 24px));border-radius:16px;}
  html:root[data-theme].jp-workspace dialog.dialog-wide {width:calc(100vw - 24px);}
  html:root[data-theme].jp-workspace :is(.clip-dialog,.material-dialog,.clip-preview-dialog) {padding:12px;width:calc(100vw - 16px);}
  html:root[data-theme].jp-workspace .dialog-actions {padding-top:15px;margin-top:20px;}
  html:root[data-theme].jp-workspace .live-panel {top:70px;right:12px;}
  html:root[data-theme].jp-workspace #notice {left:50%;min-width:0;width:max-content;max-width:calc(100vw - 28px);}
  html:root[data-theme].jp-workspace .account-menu-panel {right:0;width:232px;}
}
@media(prefers-reduced-motion:reduce) {
  html:root[data-theme].jp-workspace :is(.folder-menu[open]>.folder-menu-items,.account-menu[open]>.account-menu-panel,dialog[open]) {animation:none;}
}

/* JP Home / Studio. Deliberate density, one hierarchy, no external assets. */
html:root[data-theme].jp-workspace {
 --ink:#222334;--muted:#686a7d;--line:#e0e0e9;--canvas:#f4f3f8;--nav:#f8f7fc;--paper:#fff;--surface:#fff;
 --blue:#5845c7;--light-blue:#eeeafa;--lumen-primary:#6550cf;--lumen-accent:#5845c7;--lumen-accent-soft:#eeeafa;
 --lumen-soft:#f7f6fa;--lumen-hover:#eeecf4;--lumen-focus:#7761d9;--radius:14px;--ui-sidebar:220px;
}
html:root[data-theme="dark"].jp-workspace {
 --ink:#edeaf6;--muted:#aba7bc;--line:#333040;--canvas:#17151d;--nav:#1d1a26;--paper:#211e2b;--surface:#211e2b;
 --blue:#c0afff;--light-blue:#352d50;--lumen-primary:#7560d3;--lumen-accent:#c0afff;--lumen-accent-soft:#352d50;
 --lumen-soft:#272332;--lumen-hover:#302b3e;--lumen-focus:#c0afff;
}
html:root[data-theme].jp-workspace body {font-family:Inter,"Segoe UI",system-ui,sans-serif;}
html:root[data-theme].jp-workspace h1 {font-size:clamp(1.55rem,2.5vw,2rem);letter-spacing:-.045em;font-weight:700;}
html:root[data-theme].jp-workspace .sidebar {padding:25px 13px 16px;background:var(--nav);}
html:root[data-theme].jp-workspace .sidebar .brand {margin-bottom:24px;gap:10px;}
html:root[data-theme].jp-workspace .brand-mark {background:var(--ink);color:var(--paper);border-radius:11px 11px 11px 3px;}
html:root[data-theme].jp-workspace .nav-button {min-height:42px;border-radius:9px;padding:10px 11px;}
html:root[data-theme].jp-workspace .nav-button.active {background:var(--light-blue);box-shadow:inset 3px 0 var(--blue);}
html:root[data-theme].jp-workspace .space-nav {margin-top:18px;padding-top:14px;}
html:root[data-theme].jp-workspace .live-side {margin-top:18px;}
html:root[data-theme].jp-workspace .side-path {margin-top:14px;padding-top:12px;}
html:root[data-theme].jp-workspace .side-bottom {padding-top:12px;}
html:root[data-theme].jp-workspace .identity {padding-top:12px;}
html:root[data-theme].jp-workspace .topbar {height:62px;background:var(--canvas);padding:0 30px;border-bottom:1px solid var(--line);}
html:root[data-theme].jp-workspace .content {max-width:1540px;padding:25px 30px 32px;}
html:root[data-theme].jp-workspace .page-head {margin-bottom:20px;gap:14px;}
html:root[data-theme].jp-workspace .page-head p {max-width:68ch;}
html:root[data-theme].jp-workspace .back-to-folders {margin:0 0 13px;gap:6px;}
html:root[data-theme].jp-workspace .back-to-folders .btn {min-height:34px;padding:6px 9px;font-size:.74rem;}
html:root[data-theme].jp-workspace .btn.primary,html:root[data-theme].jp-workspace .review-button.review-primary {box-shadow:0 2px 3px #34257512;}
html:root[data-theme].jp-workspace :is(.btn,.review-button) {border-radius:9px;}
html:root[data-theme].jp-workspace :is(.field,.review-field) {margin-bottom:13px;}
html:root[data-theme].jp-workspace :is(input,textarea,select) {accent-color:var(--blue);}
html:root[data-theme].jp-workspace .workspace-skip {position:fixed;top:10px;left:10px;z-index:300;background:var(--paper);color:var(--ink);padding:12px;transform:translateY(-150%);border:2px solid var(--blue);border-radius:8px;}
html:root[data-theme].jp-workspace .workspace-skip:focus {transform:none;}
html:root[data-theme].jp-workspace .mobile-dock {display:none;}
html:root[data-theme].jp-workspace .workspace-heading {display:flex;justify-content:space-between;gap:16px;align-items:center;margin-bottom:20px;}
html:root[data-theme].jp-workspace .workspace-kicker {font-size:.7rem;font-weight:600;color:var(--muted);}
html:root[data-theme].jp-workspace :is(.workspace-toolbar,.workspace-toolbar-group,.workspace-section-head) {display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px;}
html:root[data-theme].jp-workspace .workspace-meta {font-size:.75rem;color:var(--muted);line-height:1.5;}
html:root[data-theme].jp-workspace .workspace-notice {padding:11px 14px;border-radius:10px;background:var(--lumen-soft);color:var(--muted);font-size:.78rem;line-height:1.5;}

/* Workspace landing: three purposeful groups instead of a tall stack of banners. */
html:root[data-theme].jp-workspace .share-strip {background:none;border:0;border-bottom:1px solid var(--line);border-radius:0;padding:0 0 15px;margin:0 0 22px;}
html:root[data-theme].jp-workspace .share-strip small {font-size:.7rem;}
html:root[data-theme].jp-workspace .portal-entry-sections {grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 20px;align-items:start;}
html:root[data-theme].jp-workspace .portal-entry-section>header {margin-bottom:11px;}
html:root[data-theme].jp-workspace .portal-entry-section>header h2 {font-size:.74rem;letter-spacing:.06em;text-transform:uppercase;color:var(--muted);}
html:root[data-theme].jp-workspace .portal-entry-grid {grid-template-columns:1fr;gap:11px;}
html:root[data-theme].jp-workspace .portal-entry-card {min-height:88px;border-radius:13px;padding:18px;gap:14px;}
html:root[data-theme].jp-workspace .portal-entry-card:hover {border-color:var(--blue);background:var(--paper);}
html:root[data-theme].jp-workspace .portal-entry-card .portal-brand {background:var(--lumen-soft);width:42px;height:42px;}
html:root[data-theme].jp-workspace .portal-entry-copy strong {font-size:.91rem;letter-spacing:-.015em;}
html:root[data-theme].jp-workspace .portal-entry-arrow {margin-left:auto;}
html:root[data-theme].jp-workspace .archive-zone {grid-column:1/-1;}
html:root[data-theme].jp-workspace .archive-zone .portal-entry-card {min-height:70px;padding-block:12px;}
html:root[data-theme].jp-workspace .feedback-entry-group {border:0;}
html:root[data-theme].jp-workspace .feedback-notifications {margin-top:0;border-radius:0 0 12px 12px;border:1px solid var(--line);border-top:0;background:var(--lumen-soft);}
html:root[data-theme].jp-workspace .has-new>.portal-entry-card {border-radius:13px 13px 0 0;}
html:root[data-theme].jp-workspace .feedback-notifications>summary {padding:9px 14px;min-height:37px;}
html:root[data-theme].jp-workspace .footer-line {padding:6px 0;font-size:.7rem;}

/* Files: one direct download, a named menu for the remaining actions. */
html:root[data-theme].jp-workspace .files-panel {overflow:visible;}
html:root[data-theme].jp-workspace .files-toolbar {border-radius:14px 14px 0 0;padding:12px 15px;}
html:root[data-theme].jp-workspace .folder-upload-zone {min-height:76px;padding:14px 16px;margin:0 14px 12px;border:1px dashed var(--lumen-border-strong);border-radius:10px;background:var(--lumen-soft);}
html:root[data-theme].jp-workspace .folder-upload-icon {width:35px;height:35px;background:transparent;}
html:root[data-theme].jp-workspace .folder-upload-copy strong {font-size:.79rem;}
html:root[data-theme].jp-workspace .folder-upload-copy small {font-size:.7rem;}
html:root[data-theme].jp-workspace .selection-bar {border:0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);border-radius:0;background:var(--lumen-soft);font-size:.74rem;margin:0;padding:10px 15px;}
html:root[data-theme].jp-workspace .selection-actions {position:sticky;top:8px;z-index:8;padding:10px;background:var(--paper);border-bottom:1px solid var(--line);}
html:root[data-theme].jp-workspace .file-row td {padding-top:9px;padding-bottom:9px;}
html:root[data-theme].jp-workspace .file-row td:last-child {width:106px!important;}
html:root[data-theme].jp-workspace .row-actions {justify-content:flex-end;flex-wrap:nowrap;opacity:1;}
html:root[data-theme].jp-workspace .file-menu {position:relative;display:block;}
html:root[data-theme].jp-workspace .file-menu>summary {display:grid;place-items:center;width:36px;height:36px;list-style:none;cursor:pointer;color:var(--muted);}
html:root[data-theme].jp-workspace .file-menu>summary::-webkit-details-marker {display:none;}
html:root[data-theme].jp-workspace .file-menu[open]>summary {background:var(--light-blue);color:var(--blue);}
html:root[data-theme].jp-workspace .folder-menu-items {z-index:65;width:225px;max-width:calc(100vw - 50px);padding:6px;border:1px solid var(--line);border-radius:12px;background:var(--paper);box-shadow:var(--ui-shadow);}
html:root[data-theme].jp-workspace .folder-menu-items .btn {width:100%;justify-content:flex-start;min-height:40px;}
html:root[data-theme].jp-workspace .file-menu-danger {color:var(--danger);border-top:1px solid var(--line);border-radius:0;}
html:root[data-theme].jp-workspace .folder-bottom-nav {margin-top:12px;padding:10px;border:1px dashed var(--line);border-radius:10px;}

/* Raw material: shorter upload bars and bounded thumbnail grids. */
html:root[data-theme].jp-workspace .intake-workflow {padding:0;margin:0 0 16px;border:0;background:none;box-shadow:none;}
html:root[data-theme].jp-workspace .intake-workflow h2 {font-size:1rem;}
html:root[data-theme].jp-workspace .intake-workflow p {margin:5px 0 0;font-size:.76rem;line-height:1.5;color:var(--muted);}
html:root[data-theme].jp-workspace .intake-project-grid {grid-template-columns:repeat(auto-fill,minmax(min(100%,300px),1fr));gap:13px;}
html:root[data-theme].jp-workspace .intake-project-shell {position:relative;padding:0;overflow:visible;}
html:root[data-theme].jp-workspace .intake-project-shell .intake-tab-card {border:0;border-radius:14px;padding:18px;min-height:110px;}
html:root[data-theme].jp-workspace .intake-project-shell .intake-delete {margin:0 14px 14px;min-height:34px;padding:6px 10px;font-size:.72rem;background:none;border-color:var(--line);}
html:root[data-theme].jp-workspace .intake-create-zone {display:flex;gap:18px;align-items:center;justify-content:space-between;padding:18px;margin-bottom:20px;border:1px dashed var(--lumen-border-strong);background:var(--paper);border-radius:12px;}
html:root[data-theme].jp-workspace .intake-create-hero {padding:0;gap:12px;}
html:root[data-theme].jp-workspace .intake-create-icon {width:40px;height:40px;}
html:root[data-theme].jp-workspace .intake-create-copy strong {font-size:.9rem;}
html:root[data-theme].jp-workspace .intake-create-copy small {font-size:.74rem;line-height:1.5;}
html:root[data-theme].jp-workspace .intake-create-actions {display:flex;padding:0;margin:0;gap:8px;flex-shrink:0;}
html:root[data-theme].jp-workspace .intake-create-actions>span {display:block;}
html:root[data-theme].jp-workspace .intake-create-actions small {display:block;font-size:.65rem;margin:5px 0 0;}
html:root[data-theme].jp-workspace .intake-drop-hint {padding:13px 16px;min-height:70px;gap:13px;margin-bottom:16px;}
html:root[data-theme].jp-workspace .intake-drop-icon {width:34px;height:34px;}
html:root[data-theme].jp-workspace .intake-drop-hint strong {font-size:.8rem;}
html:root[data-theme].jp-workspace .intake-drop-hint small {font-size:.72rem;}
html:root[data-theme].jp-workspace .intake-project-content {padding:0;border:0;background:none;}
html:root[data-theme].jp-workspace .intake-section-heading {align-items:center;gap:12px;margin-bottom:13px;}
html:root[data-theme].jp-workspace .intake-section-heading h3 {font-size:.84rem;}
html:root[data-theme].jp-workspace .intake-layout-tools {gap:8px;}
html:root[data-theme].jp-workspace .intake-download-tools {display:flex;flex-wrap:wrap;gap:5px;}
html:root[data-theme].jp-workspace .intake-download-tools .btn {font-size:.72rem;padding:7px 10px;min-height:34px;}
html:root[data-theme].jp-workspace .intake-video-grid:not(.is-list) {display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,230px),1fr));align-items:start;gap:14px;}
html:root[data-theme].jp-workspace .intake-video-card {border-radius:12px;overflow:hidden;}
html:root[data-theme].jp-workspace .intake-video-grid:not(.is-list) .intake-video-open {display:block;min-height:0;width:100%;padding:0;position:relative;text-align:left;}
html:root[data-theme].jp-workspace .intake-video-grid:not(.is-list) .intake-video-thumb {width:100%;height:auto;aspect-ratio:16/10;max-height:190px;min-height:0;border-radius:0;}
html:root[data-theme].jp-workspace .intake-video-thumb img {object-fit:contain;width:100%;height:100%;}
html:root[data-theme].jp-workspace .intake-video-grid:not(.is-list) .intake-video-copy {padding:12px 13px;min-width:0;}
html:root[data-theme].jp-workspace .intake-video-copy strong {display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:.83rem;line-height:1.45;}
html:root[data-theme].jp-workspace .intake-video-copy small {font-size:.69rem;line-height:1.5;margin-top:5px;}
html:root[data-theme].jp-workspace .intake-video-copy em {font-size:.68rem;font-style:normal;color:var(--blue);margin-top:6px;}
html:root[data-theme].jp-workspace .intake-video-grid:not(.is-list) .intake-video-open>.icon {display:none;}
html:root[data-theme].jp-workspace .intake-package-actions {padding:0 10px 10px;gap:5px;}
html:root[data-theme].jp-workspace .intake-package-actions .btn {min-height:34px;font-size:.71rem;padding:6px 8px;background:none;border-color:var(--line);}
html:root[data-theme].jp-workspace .intake-video-grid.is-list {gap:8px;}
html:root[data-theme].jp-workspace .intake-video-grid.is-list .intake-video-open {min-height:68px;padding:11px 14px;}
html:root[data-theme].jp-workspace .intake-video-detail {max-width:none;}
html:root[data-theme].jp-workspace .intake-original-card {background:var(--paper);overflow:hidden;}
html:root[data-theme].jp-workspace .intake-original-head {padding:13px 16px;background:var(--paper);}
html:root[data-theme].jp-workspace .intake-original-head strong {font-size:.85rem;}
html:root[data-theme].jp-workspace .intake-original-card>video {width:100%;height:auto;max-height:55vh;object-fit:contain;background:#0e0d12;}
html:root[data-theme].jp-workspace .intake-marker-editor {padding:13px;border-radius:0;border:0;display:flex;flex-direction:column;gap:10px;}
html:root[data-theme].jp-workspace .intake-marker-editor .field {margin:0;}
html:root[data-theme].jp-workspace .intake-marker-editor .field textarea {min-height:95px;}
html:root[data-theme].jp-workspace .intake-marker-attachment-drop {min-height:64px;padding:12px;border-radius:10px;}
html:root[data-theme].jp-workspace .intake-inline-marker-editor {padding:0;background:var(--lumen-soft);}
html:root[data-theme].jp-workspace .intake-marker-attachment {display:flex;flex-wrap:wrap;gap:8px;padding:10px;}
html:root[data-theme].jp-workspace .intake-marker-attachment>div {flex-wrap:wrap;gap:5px;}
html:root[data-theme].jp-workspace .intake-marker-attachment .btn {padding:6px 9px;min-height:34px;font-size:.72rem;}
html:root[data-theme].jp-workspace .intake-marker-timeline {padding:10px 14px;}
html:root[data-theme].jp-workspace .intake-video-marker-controls {padding:10px;gap:6px;}
html:root[data-theme].jp-workspace .intake-original-actions {padding:12px;border-top:1px solid var(--line);}
html:root[data-theme].jp-workspace .intake-resource-hub {margin-top:12px;gap:10px;}

/* Review station: the video and the decision share the same working area. */
html:root[data-theme].jp-workspace .review-toolbar {display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;padding:12px 14px;margin-bottom:16px;border:1px solid var(--line);border-radius:12px;background:var(--paper);}
html:root[data-theme].jp-workspace :is(.review-toolbar-context,.review-toolbar-actions,.review-action-group) {display:flex;flex-wrap:wrap;align-items:center;gap:7px;}
html:root[data-theme].jp-workspace .review-toolbar-actions .review-button {min-height:36px;font-size:.73rem;padding:7px 10px;}
html:root[data-theme].jp-workspace .review-focus-grid {display:grid;grid-template-columns:minmax(0,1.55fr) minmax(280px,1fr);gap:20px;align-items:start;}
html:root[data-theme].jp-workspace :is(.review-focus-media,.review-focus-notes,.review-proof-original,.review-proof-feedback,.review-completion-main,.review-completion-aside) {min-width:0;}
html:root[data-theme].jp-workspace .review-focus-media video {max-height:52vh;object-fit:contain;}
html:root[data-theme].jp-workspace .review-focus-notes :is(.review-panel,.review-time-comments) {margin:0 0 12px;}
html:root[data-theme].jp-workspace .review-proof-grid {display:grid;grid-template-columns:minmax(0,1.15fr) minmax(280px,1fr);gap:20px;align-items:start;}
html:root[data-theme].jp-workspace .review-completion-layout {display:grid;grid-template-columns:minmax(0,1.4fr) minmax(270px,1fr);gap:20px;align-items:start;}
html:root[data-theme].jp-workspace .review-panel {padding:18px;}
html:root[data-theme].jp-workspace .review-head {margin-bottom:16px;}
html:root[data-theme].jp-workspace .review-section-intro {font-size:.77rem;line-height:1.5;color:var(--muted);margin:5px 0 14px;}
html:root[data-theme].jp-workspace .review-content-section {margin:18px 0;}
html:root[data-theme].jp-workspace .review-project-identity {padding:0;margin-bottom:16px;}
html:root[data-theme].jp-workspace .review-project-identity input[readonly] {padding-left:0;background:none;border-color:transparent;font-size:1rem;font-weight:650;box-shadow:none;}
html:root[data-theme].jp-workspace .review-step-nav {position:sticky;top:8px;z-index:9;padding:5px;}
html:root[data-theme].jp-workspace .review-step-nav button {min-height:42px;padding:8px;font-size:.75rem;}
html:root[data-theme].jp-workspace .review-admin-save {padding:11px 14px;}
html:root[data-theme].jp-workspace .review-admin-asset {padding:13px;background:var(--lumen-soft);}
html:root[data-theme].jp-workspace .review-admin-asset video {max-height:320px;object-fit:contain;}
html:root[data-theme].jp-workspace .review-disclosure {border:1px solid var(--line);border-radius:10px;background:var(--lumen-soft);margin-top:10px;}
html:root[data-theme].jp-workspace .review-disclosure>summary {display:flex;align-items:center;justify-content:space-between;cursor:pointer;padding:12px;font-size:.78rem;font-weight:600;min-height:44px;}
html:root[data-theme].jp-workspace .review-disclosure>div {padding:0 12px 12px;}
html:root[data-theme].jp-workspace .review-time-comments {padding:14px;border-radius:12px;}
html:root[data-theme].jp-workspace .review-marker-editor {padding:12px;}
html:root[data-theme].jp-workspace .review-drop {min-height:75px;padding:13px;}
html:root[data-theme].jp-workspace .review-attachment-area {min-height:65px;padding:11px;}

/* Library, management, conversation and sync follow the same compact rhythm. */
html:root[data-theme].jp-workspace .management-grid {grid-template-columns:repeat(auto-fill,minmax(min(100%,310px),1fr));gap:16px;}
html:root[data-theme].jp-workspace .management-card {padding:20px;border-radius:16px;}
html:root[data-theme].jp-workspace .management-area {min-height:56px;padding:11px 13px;background:var(--lumen-soft);}
html:root[data-theme].jp-workspace .management-area-icon {width:30px;height:30px;}
html:root[data-theme].jp-workspace .management-card-meta {font-size:.73rem;color:var(--muted);display:flex;gap:7px;flex-wrap:wrap;}
html:root[data-theme].jp-workspace .ready-library-controls {margin-bottom:18px;}
html:root[data-theme].jp-workspace .ready-selection-tools {display:flex;align-items:center;flex-wrap:wrap;gap:8px;}
html:root[data-theme].jp-workspace .ready-project-heading {display:grid;gap:4px;min-width:0;}
html:root[data-theme].jp-workspace .ready-project>summary {padding:13px 16px;}
html:root[data-theme].jp-workspace .ready-toolbar {background:var(--paper);padding:10px 12px;}
html:root[data-theme].jp-workspace .ready-platforms {gap:5px;margin-bottom:10px;}
html:root[data-theme].jp-workspace .ready-platforms .btn {min-height:38px;}
html:root[data-theme].jp-workspace .ready-grid {gap:12px;}
html:root[data-theme].jp-workspace .ready-preview {height:150px;}
html:root[data-theme].jp-workspace .ready-compact .ready-video {padding:12px;border-radius:10px;}
html:root[data-theme].jp-workspace .abgleich-bereiche {gap:16px;}
html:root[data-theme].jp-workspace .abgleich-bereich {padding:18px;}
html:root[data-theme].jp-workspace .abgleich-target {min-width:0;}
html:root[data-theme].jp-workspace .abgleich-controls {display:flex;gap:7px;flex-wrap:wrap;align-items:center;}
html:root[data-theme].jp-workspace .chat-shell {height:min(780px,calc(100dvh - 160px));min-height:440px;border-radius:15px;}
html:root[data-theme].jp-workspace .chat-header {padding:13px 16px;}
html:root[data-theme].jp-workspace .chat-history {padding:16px;}
html:root[data-theme].jp-workspace .chat-message {padding:11px 13px;}
html:root[data-theme].jp-workspace .chat-composer {padding:12px 14px;}
html:root[data-theme].jp-workspace .chat-composer textarea {min-height:58px;}
html:root[data-theme].jp-workspace .system-dashboard {padding:18px;margin-bottom:16px;}
html:root[data-theme].jp-workspace .system-dashboard .section-label {margin:0 0 14px;}
html:root[data-theme].jp-workspace .system-metric {padding:14px;min-height:0;}
html:root[data-theme].jp-workspace .system-metric strong {font-size:1.5rem;}
html:root[data-theme].jp-workspace .system-metric svg {height:32px;}
html:root[data-theme].jp-workspace .system-hardware {margin-top:12px;border-top:1px solid var(--line);}
html:root[data-theme].jp-workspace .system-hardware>summary {display:flex;justify-content:space-between;align-items:center;padding:12px 0;cursor:pointer;font-size:.77rem;font-weight:600;}
html:root[data-theme].jp-workspace .system-detail-grid {margin:0;}
html:root[data-theme].jp-workspace .emergency-panel {background:var(--paper);}
html:root[data-theme].jp-workspace .emergency-panel .dialog-actions {border:0;margin-top:10px;padding-top:0;}
html:root[data-theme].jp-workspace .activity-section {margin-top:18px;}
html:root[data-theme].jp-workspace .activity-section>.section-label {margin:0 0 12px;}
html:root[data-theme].jp-workspace .activity-filters {gap:5px;}
html:root[data-theme].jp-workspace .activity-filters .btn {min-height:34px;padding:6px 10px;font-size:.72rem;}
html:root[data-theme].jp-workspace .activity-selectors {margin:12px 0;gap:12px;}
html:root[data-theme].jp-workspace .event {padding:12px 15px;gap:12px;}
html:root[data-theme].jp-workspace .event p {font-size:.8rem;}
html:root[data-theme].jp-workspace .event small {font-size:.72rem;}
html:root[data-theme].jp-workspace .activity-pagination {display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:8px;padding:12px 0;font-size:.74rem;color:var(--muted);}
html:root[data-theme].jp-workspace .activity-pagination>div {display:flex;gap:6px;}
html:root[data-theme].jp-workspace :is(.trash-panel,.trash-item) {border-radius:12px;}
html:root[data-theme].jp-workspace .trash-item {padding:12px 14px;}

/* All overlays belong to the same system. Native dialogs retain focus & backdrop behavior. */
html:root[data-theme].jp-workspace dialog {border-radius:17px;padding:24px;box-shadow:0 24px 80px #08061144;}
html:root[data-theme].jp-workspace dialog::backdrop {background:#1511208c;backdrop-filter:none;}
html:root[data-theme].jp-workspace .dialog-head {margin-bottom:12px;}
html:root[data-theme].jp-workspace .dialog-head h2 {font-size:1.15rem;letter-spacing:-.025em;}
html:root[data-theme].jp-workspace .dialog-actions {margin-top:18px;padding-top:14px;gap:8px;}
html:root[data-theme].jp-workspace .live-panel {border-radius:14px;top:68px;right:24px;}
html:root[data-theme].jp-workspace .upload-tray {bottom:18px;right:18px;}
html:root[data-theme].jp-workspace :is(.live-panel,.folder-menu-items,.account-menu-panel) {box-shadow:0 12px 35px #100b2526;}

@media(min-width:1101px) {
 html:root[data-theme].jp-workspace .intake-original-card:has(.intake-inline-marker-editor) {display:grid;grid-template-columns:minmax(0,1.65fr) minmax(280px,1fr);align-items:start;}
 html:root[data-theme].jp-workspace .intake-original-head {grid-column:1/-1;grid-row:1;}
 html:root[data-theme].jp-workspace .intake-original-card>video {grid-column:1;grid-row:2;max-height:46vh;}
 html:root[data-theme].jp-workspace .intake-original-card>.jp-video-speed {grid-column:1;grid-row:3;}
 html:root[data-theme].jp-workspace .intake-video-marker-controls {grid-column:1;grid-row:4;}
 html:root[data-theme].jp-workspace .intake-marker-timeline {grid-column:1;grid-row:5;}
 html:root[data-theme].jp-workspace .intake-inline-marker-editor {grid-column:2;grid-row:2/6;border-left:1px solid var(--line);align-self:stretch;}
 html:root[data-theme].jp-workspace .intake-original-actions {grid-column:1/-1;grid-row:6;}
}
@media(max-width:1100px) {
 html:root[data-theme].jp-workspace {--ui-sidebar:205px;}
 html:root[data-theme].jp-workspace .content {padding:22px;}
 html:root[data-theme].jp-workspace .topbar {padding-inline:22px;}
 html:root[data-theme].jp-workspace :is(.review-focus-grid,.review-proof-grid,.review-completion-layout) {grid-template-columns:1fr;gap:16px;}
 html:root[data-theme].jp-workspace .intake-create-zone {flex-wrap:wrap;}
}
@media(max-width:760px) {
 html:root[data-theme].jp-workspace {--ui-sidebar:0px;}
 html:root[data-theme].jp-workspace .sidebar {width:min(290px,calc(100vw - 42px));padding:20px 14px;z-index:60;}
 html:root[data-theme].jp-workspace .mobile-shade.open {z-index:59;backdrop-filter:none;}
 html:root[data-theme].jp-workspace .topbar {height:56px;padding:0 12px;}
 html:root[data-theme].jp-workspace .content {padding:18px 14px calc(88px + env(safe-area-inset-bottom));}
 html:root[data-theme].jp-workspace .mobile-dock {position:fixed;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));bottom:0;left:0;right:0;z-index:35;gap:3px;border-top:1px solid var(--line);background:var(--paper);padding:5px 8px calc(5px + env(safe-area-inset-bottom));}
 html:root[data-theme].jp-workspace .mobile-dock .nav-button {display:flex;flex-direction:column;justify-content:center;gap:4px;padding:6px 2px;min-height:53px;font-size:.65rem;margin:0;box-shadow:none;border-radius:10px;}
 html:root[data-theme].jp-workspace .mobile-dock .nav-button.active {background:var(--light-blue);}
 html:root[data-theme].jp-workspace .mobile-dock .icon {height:19px;width:19px;}
 html:root[data-theme].jp-workspace .page-head {margin-bottom:15px;gap:10px;}
 html:root[data-theme].jp-workspace h1 {font-size:1.55rem;}
 html:root[data-theme].jp-workspace :is(.btn,.review-button) {min-height:44px;}
 html:root[data-theme].jp-workspace :is(.icon-btn,.review-icon-button,.folder-menu>summary) {min-height:44px;min-width:44px;}
 html:root[data-theme].jp-workspace .workspace-heading {align-items:flex-start;flex-wrap:wrap;gap:12px;}
 html:root[data-theme].jp-workspace .share-strip {padding-bottom:12px;margin-bottom:18px;align-items:center;}
 html:root[data-theme].jp-workspace .portal-entry-sections {grid-template-columns:1fr;gap:18px;}
 html:root[data-theme].jp-workspace .portal-entry-grid {grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;}
 html:root[data-theme].jp-workspace .portal-entry-grid-single {grid-template-columns:1fr;}
 html:root[data-theme].jp-workspace .portal-entry-card {display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;min-height:121px;padding:13px;gap:10px;position:relative;}
 html:root[data-theme].jp-workspace .portal-entry-copy strong {font-size:.79rem;line-height:1.4;}
 html:root[data-theme].jp-workspace .portal-entry-card .portal-brand {width:32px;height:32px;border-radius:9px;}
 html:root[data-theme].jp-workspace .portal-entry-arrow {position:absolute;right:10px;top:17px;}
 html:root[data-theme].jp-workspace .archive-zone .portal-entry-card {flex-direction:row;align-items:center;min-height:62px;}
 html:root[data-theme].jp-workspace .feedback-notifications>summary {font-size:.66rem;padding:8px;min-height:44px;gap:3px;}
 html:root[data-theme].jp-workspace .feedback-notification-list {padding:4px;}
 html:root[data-theme].jp-workspace .feedback-notification-list strong {font-size:.72rem;overflow-wrap:anywhere;}
 html:root[data-theme].jp-workspace .feedback-notification-list small {font-size:.63rem;}
 html:root[data-theme].jp-workspace .footer-line {margin-top:12px;gap:7px;}
 html:root[data-theme].jp-workspace .file-row {display:grid;grid-template-columns:30px minmax(0,1fr) auto;padding:10px 8px;gap:4px;}
 html:root[data-theme].jp-workspace .file-row>td {padding:0;min-width:0;}
 html:root[data-theme].jp-workspace .file-row>.select-column {grid-column:1;grid-row:1;align-self:center;}
 html:root[data-theme].jp-workspace .file-row>td:nth-child(2) {grid-column:2;grid-row:1;}
 html:root[data-theme].jp-workspace .files-panel .file-row>td:last-child {grid-column:3;grid-row:1;width:auto!important;align-self:center;}
 html:root[data-theme].jp-workspace .file-name {gap:6px;align-items:center;}
 html:root[data-theme].jp-workspace .file-name .file-symbol {display:none;}
 html:root[data-theme].jp-workspace .file-name .file-drag-handle {width:22px;min-width:22px;}
 html:root[data-theme].jp-workspace .file-label {font-size:.77rem;overflow-wrap:anywhere;line-height:1.45;}
 html:root[data-theme].jp-workspace .file-name small {font-size:.65rem;line-height:1.4;}
 html:root[data-theme].jp-workspace .files-panel .row-actions {gap:0;flex-wrap:nowrap;flex-direction:column;}
 html:root[data-theme].jp-workspace .row-actions>.icon-btn {width:44px;min-width:44px;}
 html:root[data-theme].jp-workspace .file-menu>summary {width:44px;height:44px;}
 html:root[data-theme].jp-workspace .folder-menu-items {width:220px;right:0;}
 html:root[data-theme].jp-workspace .file-menu .btn {font-size:.78rem;min-height:44px;}
 html:root[data-theme].jp-workspace .files-toolbar {padding:12px;gap:8px;}
 html:root[data-theme].jp-workspace .folder-upload-zone {margin:0 10px 10px;min-height:0;padding:11px;gap:9px;}
 html:root[data-theme].jp-workspace .folder-upload-zone .folder-upload-icon {display:none;}
 html:root[data-theme].jp-workspace .folder-upload-actions {width:auto;}
 html:root[data-theme].jp-workspace .selection-bar {padding:10px;font-size:.7rem;}
 html:root[data-theme].jp-workspace .intake-release-actions {gap:6px;}
 html:root[data-theme].jp-workspace .intake-project-grid {grid-template-columns:1fr;}
 html:root[data-theme].jp-workspace .intake-create-zone {padding:13px;gap:13px;}
 html:root[data-theme].jp-workspace .intake-create-actions {width:100%;display:grid;grid-template-columns:1fr 1fr;}
 html:root[data-theme].jp-workspace .intake-create-actions .btn {width:100%;font-size:.72rem;padding:8px;}
 html:root[data-theme].jp-workspace .intake-create-actions small {font-size:.64rem;}
 html:root[data-theme].jp-workspace .intake-drop-hint {padding:11px;gap:9px;}
 html:root[data-theme].jp-workspace .intake-drop-hint>div {width:100%;}
 html:root[data-theme].jp-workspace .intake-section-heading {gap:10px;}
 html:root[data-theme].jp-workspace .intake-layout-tools {width:100%;gap:9px;}
 html:root[data-theme].jp-workspace .intake-download-tools {gap:5px;}
 html:root[data-theme].jp-workspace .intake-download-tools .btn {font-size:.7rem;padding:7px 8px;min-height:44px;}
 html:root[data-theme].jp-workspace .intake-video-grid:not(.is-list) {grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;}
 html:root[data-theme].jp-workspace .intake-video-grid:not(.is-list) .intake-video-copy {padding:10px;}
 html:root[data-theme].jp-workspace .intake-video-copy strong {font-size:.76rem;}
 html:root[data-theme].jp-workspace .intake-video-copy small {font-size:.65rem;}
 html:root[data-theme].jp-workspace .intake-video-copy em {font-size:.65rem;}
 html:root[data-theme].jp-workspace .intake-package-actions {display:grid;grid-template-columns:1fr;padding:0 8px 8px;gap:4px;}
 html:root[data-theme].jp-workspace .intake-package-actions .btn {min-height:44px;font-size:.68rem;}
 html:root[data-theme].jp-workspace .intake-original-card>video {max-height:48vh;}
 html:root[data-theme].jp-workspace .intake-marker-editor {padding:12px;}
 html:root[data-theme].jp-workspace .intake-marker-attachment .btn {min-height:44px;}
 html:root[data-theme].jp-workspace .review-toolbar {padding:10px;}
 html:root[data-theme].jp-workspace .review-toolbar-actions .review-button {min-height:44px;}
 html:root[data-theme].jp-workspace .review-panel {padding:13px;}
 html:root[data-theme].jp-workspace .review-focus-media video {max-height:48vh;}
 html:root[data-theme].jp-workspace .review-step-nav {position:static;gap:3px;}
 html:root[data-theme].jp-workspace .review-step-nav button {min-height:44px;font-size:.68rem;padding:7px 5px;}
 html:root[data-theme].jp-workspace .management-card {padding:16px;}
 html:root[data-theme].jp-workspace .chat-shell {height:calc(100dvh - 180px - env(safe-area-inset-bottom));min-height:360px;}
 html:root[data-theme].jp-workspace .chat-header {padding:11px 12px;}
 html:root[data-theme].jp-workspace .chat-history {padding:12px;}
 html:root[data-theme].jp-workspace .chat-composer {padding:10px;}
 html:root[data-theme].jp-workspace .system-metric-grid {grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;}
 html:root[data-theme].jp-workspace .system-metric {padding:11px;}
 html:root[data-theme].jp-workspace .system-metric strong {font-size:1.2rem;}
 html:root[data-theme].jp-workspace .system-metric small {font-size:.65rem;}
 html:root[data-theme].jp-workspace .system-metric>span {font-size:.62rem;}
 html:root[data-theme].jp-workspace .system-dashboard {padding:13px;}
 html:root[data-theme].jp-workspace .activity-filters .btn {min-height:44px;font-size:.7rem;}
 html:root[data-theme].jp-workspace .event {padding:11px;}
 html:root[data-theme].jp-workspace .activity-pagination .btn {min-height:44px;}
 html:root[data-theme].jp-workspace dialog {max-height:calc(100dvh - 20px);padding:20px 16px;border-radius:17px;}
 html:root[data-theme].jp-workspace .dialog-actions {gap:7px;}
 html:root[data-theme].jp-workspace .live-panel {top:62px;right:10px;max-height:calc(100dvh - 145px);}
 html:root[data-theme].jp-workspace .upload-tray {bottom:calc(78px + env(safe-area-inset-bottom));right:10px;}
 html:root[data-theme].jp-workspace #notice {bottom:calc(79px + env(safe-area-inset-bottom));}
}
/* Preserve permission/phase visibility even when a component is a grid. */
html:root[data-theme].jp-workspace [hidden] {display:none!important;}
@media(prefers-reduced-motion:reduce) {
 html:root[data-theme].jp-workspace *,html:root[data-theme].jp-workspace *::before,html:root[data-theme].jp-workspace *::after {animation-duration:0s!important;transition-duration:0s!important;scroll-behavior:auto!important;}
}
/* Entry screen shares the workspace palette without additional copy. */
html:root[data-theme] .login-shell {background:radial-gradient(ellipse at 50% 10%,#8972df15,transparent 55%),var(--canvas);}
html:root[data-theme] .login-card {border-radius:20px;border-color:var(--line);padding:36px;box-shadow:0 20px 65px #1e13330d;}
html:root[data-theme] .login-mark {background:#6550cf;border-radius:12px 12px 12px 3px;}
html:root[data-theme] .login-submit {background:#6550cf;box-shadow:none;}
html:root[data-theme] .login-card h1 {font-size:35px;letter-spacing:-.05em;margin:27px 0;}
@media(max-width:480px) {html:root[data-theme] .login-card {padding:29px 24px;}html:root[data-theme] .login-card h1 {font-size:31px;}}

/* Gallery and focused reviewer contracts. */
html:root[data-theme].jp-workspace :is(.review-youtube-videos,.review-instagram-grid) {display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,300px),1fr));gap:15px;align-items:start;}
html:root[data-theme].jp-workspace .review-admin-focus-grid {display:block;}
html:root[data-theme].jp-workspace .review-admin-video-panel {min-width:0;margin:0;padding:15px;}
html:root[data-theme].jp-workspace .review-admin-video-panel .review-video-shell {margin-top:10px;}
html:root[data-theme].jp-workspace .review-admin-video-panel :is(video,.review-admin-poster) {width:100%;max-height:230px;object-fit:contain;}
html:root[data-theme].jp-workspace .review-admin-package-list {display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,280px),1fr));gap:14px;align-items:start;}
html:root[data-theme].jp-workspace .review-admin-package {min-width:0;margin:0;}
html:root[data-theme].jp-workspace .review-package-preview img {max-height:180px;object-fit:contain;}
html:root[data-theme].jp-workspace .review-feedback-disclosure {margin-top:12px;border:1px solid var(--line);background:var(--lumen-soft);border-radius:10px;}
html:root[data-theme].jp-workspace .review-feedback-disclosure>summary {cursor:pointer;padding:11px;font-size:.75rem;font-weight:600;line-height:1.5;min-height:44px;}
html:root[data-theme].jp-workspace .review-feedback-disclosure>div {padding:0 10px 10px;}
html:root[data-theme].jp-workspace .review-workspace-focused {display:block;}
html:root[data-theme].jp-workspace .review-workspace-focused .review-step-nav {display:flex;overflow-x:auto;align-items:stretch;gap:4px;margin:0 0 18px;max-width:100%;}
html:root[data-theme].jp-workspace .review-workspace-focused .review-step-nav button {flex:1 0 auto;max-width:220px;white-space:normal;text-align:left;}
html:root[data-theme].jp-workspace .review-focus-notes .review-global-feedback {display:block;grid-template-columns:1fr;}
html:root[data-theme].jp-workspace .review-head>button {flex-shrink:0;white-space:nowrap;}
html:root[data-theme].jp-workspace .review-section-intro {display:flex;align-items:center;gap:10px;}
html:root[data-theme].jp-workspace .review-section-intro>span {border-radius:6px;background:var(--lumen-soft);padding:4px 8px;font-size:.75rem;}
html:root[data-theme].jp-workspace .review-completion-header {margin-bottom:16px;}
html:root[data-theme].jp-workspace .review-completion-actions {display:flex;flex-direction:column;gap:8px;}
html:root[data-theme].jp-workspace .review-project-identity {margin-bottom:15px;}
html:root[data-theme].jp-workspace .review-source-fields {padding:12px;}
html:root[data-theme].jp-workspace .review-notes-heading h3 {font-size:.9rem;}
html:root[data-theme].jp-workspace .review-notes-heading p {font-size:.75rem;color:var(--muted);}
html:root[data-theme].jp-workspace .management-name {font-size:1rem;line-height:1.35;letter-spacing:-.02em;margin:0;}
html:root[data-theme].jp-workspace .ready-project-status {font-size:.7rem;color:var(--muted);}
html:root[data-theme].jp-workspace .ready-area-heading {margin:16px 0 10px;font-size:.85rem;}
html:root[data-theme].jp-workspace .ready-usage-hint {font-size:.73rem;color:var(--muted);margin:8px 0 0;}
/* Keep the composer reachable when a voice draft or a long message grows. */
html:root[data-theme].jp-workspace .chat-shell {height:auto;min-height:0;}
html:root[data-theme].jp-workspace .chat-history {height:clamp(200px,calc(100dvh - 430px),520px);min-height:200px;}
html:root[data-theme].jp-workspace .chat-composer textarea {max-height:160px;overflow-y:auto;}
html:root[data-theme].jp-workspace .chat-current-heading {flex:1;min-width:0;display:grid;gap:3px;}
html:root[data-theme].jp-workspace .chat-current-heading strong {font-size:.85rem;overflow-wrap:anywhere;}
html:root[data-theme].jp-workspace .chat-topic-heading {padding:14px 16px 8px;font-size:.76rem;color:var(--muted);}
html:root[data-theme].jp-workspace .chat-choose-topic {width:auto;gap:6px;flex-shrink:0;}
html:root[data-theme].jp-workspace .chat-compose-actions {justify-content:space-between;align-items:center;}
html:root[data-theme].jp-workspace :is(.chat-compose-tools,.chat-compose-submit) {display:flex;align-items:center;flex-wrap:wrap;gap:6px;}
html:root[data-theme].jp-workspace .chat-compose-tools {flex:1;}
html:root[data-theme].jp-workspace .chat-compose-submit {margin-left:auto;}
html:root[data-theme].jp-workspace .management-section {margin-bottom:24px;}
html:root[data-theme].jp-workspace .management-section>.workspace-section-head {margin-bottom:12px;}
html:root[data-theme].jp-workspace .management-section>.workspace-section-head h2 {font-size:.8rem;color:var(--muted);}
html:root[data-theme].jp-workspace .abgleich-browser-notice {margin-bottom:18px;}
html:root[data-theme].jp-workspace .abgleich-browser-notice p {margin:4px 0 0;}
html:root[data-theme].jp-workspace .drawer-close {display:none;}
html:root[data-theme].jp-workspace .menu-up>.folder-menu-items,html:root[data-theme].jp-workspace .menu-up>.account-menu-panel {top:auto;bottom:calc(100% + 7px);}
html:root[data-theme].jp-workspace :is(.folder-menu-items,.account-menu-panel) {max-height:calc(100dvh - 100px);overflow-y:auto;}
@media(max-width:760px) {
 html:root[data-theme].jp-workspace .drawer-close {display:grid;place-items:center;position:absolute;top:15px;right:12px;}
 html:root[data-theme].jp-workspace body.workspace-drawer-open {overflow:hidden;}
 html:root[data-theme].jp-workspace .review-workspace-focused .review-step-nav {margin-bottom:13px;}
 html:root[data-theme].jp-workspace .review-workspace-focused .review-step-nav button {flex:0 0 auto;max-width:180px;}
 html:root[data-theme].jp-workspace .review-workspace-focused .review-step-nav button>div {max-width:120px;}
 html:root[data-theme].jp-workspace .review-admin-video-panel {padding:13px;}
 html:root[data-theme].jp-workspace .chat-history {height:clamp(180px,calc(100dvh - 430px),430px);min-height:180px;}
 html:root[data-theme].jp-workspace .chat-composer textarea {max-height:120px;}
}
@media(max-width:800px) {html:root[data-theme].jp-workspace .chat-topic-heading {display:none;}}
html:root[data-theme].jp-workspace .review-admin-package .review-proof-grid {grid-template-columns:minmax(0,1fr);gap:12px;}
html:root[data-theme].jp-workspace .review-admin-package-fields {grid-template-columns:minmax(0,1fr);}
html:root[data-theme].jp-workspace .review-admin-package-head {flex-wrap:wrap;gap:7px;}
html:root[data-theme].jp-workspace .review-admin-package-head h3 {flex:1;min-width:110px;}
html:root[data-theme].jp-workspace .review-admin-package-head .review-button {margin-left:0;white-space:nowrap;flex:0 0 auto;font-size:.72rem;}
html:root[data-theme].jp-workspace .review-admin-package .review-admin-asset {min-width:0;padding:10px;}
html:root[data-theme].jp-workspace .review-feedback-disclosure>summary {display:flex;gap:6px;flex-wrap:wrap;align-items:center;}
html:root[data-theme].jp-workspace .review-feedback-disclosure>summary::before {content:'›';margin-right:2px;font-size:1.1rem;}
html:root[data-theme].jp-workspace .review-feedback-disclosure[open]>summary::before {rotate:90deg;}
html:root[data-theme].jp-workspace .review-feedback-disclosure>summary::-webkit-details-marker {display:none;}
html:root[data-theme].jp-workspace .ready-grid.ready-compact {grid-template-columns:repeat(auto-fill,minmax(min(100%,260px),1fr));}
html:root[data-theme].jp-workspace .ready-compact .ready-video {padding:0;}
html:root[data-theme].jp-workspace .ready-compact .ready-info {padding:13px;}
html:root[data-theme].jp-workspace .ready-compact h4 {min-height:0;margin-bottom:13px;}
html:root[data-theme].jp-workspace .ready-actions {display:flex;gap:7px;flex-wrap:wrap;}
html:root[data-theme].jp-workspace .ready-actions .ready-download-one {min-width:100px;width:auto;flex:0 0 auto;white-space:nowrap;padding:8px 12px;}
html:root[data-theme].jp-workspace .ready-actions .ready-used {min-width:105px;white-space:nowrap;flex:1 0 auto;}
html:root[data-theme].jp-workspace .chat-choose-topic {min-width:90px;white-space:nowrap;padding:8px 10px;font-size:.75rem;}
html:root[data-theme].jp-workspace .chat-page-heading p {display:none;}
/* File drops share a clear target state, above the quiet workspace surface rules.
   Insets and a pointer-transparent badge preserve every control and page position. */
html:root[data-theme].jp-workspace :is(#drop-zone,#intake-project-create-drop,#intake-package-drop,#intake-video-drop,[data-intake-marker-drop],[data-material-drop],[data-feedback-drop],[data-instagram-drop],[data-instagram-create-drop],[data-youtube-drop],[data-youtube-create-drop],.parent-drop-target) {position:relative;}
html:root[data-theme].jp-workspace .jp-drop-active,
html:root[data-theme].jp-workspace :is(.parent-drop-target,.touch-parent-drop):is(.folder-drop-target,.touch-drop-target) {
 background:var(--lumen-mint-soft)!important;outline:3px solid var(--lumen-mint)!important;outline-offset:-3px!important;
 border-color:var(--lumen-mint)!important;box-shadow:inset 0 0 0 2px var(--lumen-mint),0 0 0 4px color-mix(in srgb,var(--lumen-mint) 16%,transparent)!important;filter:none!important;
}
html:root[data-theme].jp-workspace :is(.file-row.jp-drop-active,.file-row.folder-drop-target,.file-row.touch-drop-target)>td {
 background:var(--lumen-mint-soft)!important;box-shadow:inset 0 2px var(--lumen-mint),inset 0 -2px var(--lumen-mint)!important;color:var(--ink)!important;
}
html:root[data-theme].jp-workspace :is(.file-row.jp-drop-active,.file-row.folder-drop-target,.file-row.touch-drop-target)>td:first-child {box-shadow:inset 2px 0 var(--lumen-mint),inset 0 2px var(--lumen-mint),inset 0 -2px var(--lumen-mint)!important;}
html:root[data-theme].jp-workspace :is(.file-row.jp-drop-active,.file-row.folder-drop-target,.file-row.touch-drop-target)>td:last-child {box-shadow:inset -2px 0 var(--lumen-mint),inset 0 2px var(--lumen-mint),inset 0 -2px var(--lumen-mint)!important;}
html:root[data-theme].jp-workspace .jp-drop-active:not(.file-row)::after {content:attr(data-jp-drop-label);position:absolute;z-index:6;inset:7px 8px auto auto;max-width:calc(100% - 16px);padding:5px 9px;border-radius:7px;background:var(--lumen-mint);color:var(--paper);font-size:.72rem;font-weight:750;line-height:1.3;box-shadow:0 2px 8px #0002;pointer-events:none;}
html:root[data-theme].jp-workspace .jp-drop-active .review-drop-active-label {display:none!important;}
html:root[data-theme].jp-workspace .jp-drop-active :is(.folder-upload-icon,.intake-create-icon,.intake-drop-icon,.intake-marker-upload-icon,.material-add-icon,.review-instagram-create-icon,.review-import-icon,.review-attachment-drop-icon) {background:var(--lumen-mint)!important;color:var(--paper)!important;border-color:var(--lumen-mint)!important;}

/* File artwork shares the same footprint in lists, materials and feedback. */
html:root[data-theme].jp-workspace .jp-file-symbol {display:grid;place-items:center;position:relative;overflow:hidden;width:38px;height:42px;flex:0 0 38px;border:1px solid currentColor;border-radius:9px;background:var(--lumen-soft);color:#7774cf;}
html:root[data-theme].jp-workspace .jp-file-symbol>span {display:grid;place-items:center;}
html:root[data-theme].jp-workspace .jp-file-symbol .icon {width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linejoin:round;stroke-linecap:round;}
html:root[data-theme].jp-workspace .jp-file-symbol img {position:absolute;inset:0;width:100%;height:100%;max-width:none;max-height:none;object-fit:cover;border-radius:0;}
html:root[data-theme].jp-workspace .jp-file-symbol [hidden] {display:none!important;}
html:root[data-theme].jp-workspace :is(.jp-file-folder,.file-symbol.folder,.folder-mark) {color:#b28a39;}
html:root[data-theme].jp-workspace .jp-file-archive {color:#ad8b46;}
html:root[data-theme].jp-workspace .jp-file-pdf {color:#d77878;}
html:root[data-theme].jp-workspace :is(.jp-file-image,.jp-file-design) {color:#a47bce;}
html:root[data-theme].jp-workspace :is(.jp-file-video,.jp-file-slides) {color:#6e94ce;}
html:root[data-theme].jp-workspace :is(.jp-file-audio,.jp-file-sheet) {color:#5fa68c;}
html:root[data-theme].jp-workspace .individual-downloads {display:grid;gap:9px;}
html:root[data-theme].jp-workspace .individual-downloads>a {display:grid;grid-template-columns:38px minmax(0,1fr) 24px;text-align:left;}
html:root[data-theme].jp-workspace .individual-downloads>a>span:nth-child(2) {overflow-wrap:anywhere;}
html:root[data-theme].jp-workspace .review-document-row {display:flex;gap:12px;align-items:center;flex-wrap:wrap;}
html:root[data-theme].jp-workspace .review-document-row>span:not(.file-symbol) {flex:1;min-width:120px;}
@media(max-width:760px){
 html:root[data-theme].jp-workspace .folder-upload-zone {grid-template-columns:minmax(0,1fr);justify-items:stretch;}
 html:root[data-theme].jp-workspace .folder-upload-copy {grid-column:1;min-width:0;}
 html:root[data-theme].jp-workspace .folder-upload-copy :is(strong,small) {white-space:normal;word-break:normal;overflow-wrap:normal;}
 html:root[data-theme].jp-workspace .folder-upload-actions {grid-column:1;width:100%;}
 html:root[data-theme].jp-workspace .file-name .jp-file-symbol {display:grid;width:30px;height:36px;flex-basis:30px;}
 html:root[data-theme].jp-workspace .file-name>div {min-width:0;}
}
@media(prefers-reduced-motion:reduce) {html:root[data-theme].jp-workspace .jp-drop-active {transition:none!important;}}
@media(max-width:760px) {
 html:root[data-theme].jp-workspace .chat-compose-tools .btn {font-size:.65rem;padding-inline:7px;}
 html:root[data-theme].jp-workspace .chat-history {height:clamp(180px,calc(100dvh - 550px),360px);}
 html:root[data-theme].jp-workspace .ready-library-controls {gap:8px;}
 html:root[data-theme].jp-workspace .ready-library-controls .ready-platforms {margin:0;}
 html:root[data-theme].jp-workspace .ready-library-controls .ready-modes {margin:0;}
}
/* A phone-sized video review keeps transport and markers in one workspace.
   Notes remain the same live fields, moved into a native modal only when requested. */
html:root[data-theme].jp-workspace :is(.review-mobile-tools,.review-mobile-expand) {display:none;}
html:root[data-theme].jp-workspace .review-mobile-sheet:not([open]) {display:none;}
html:root[data-theme].jp-workspace .review-mobile-sheet[open] {position:fixed;inset:auto 0 0;width:min(100%,620px);max-width:100%;max-height:calc(100dvh - 12px - env(safe-area-inset-top));margin:0 auto;padding:16px calc(16px + env(safe-area-inset-right)) calc(16px + env(safe-area-inset-bottom)) calc(16px + env(safe-area-inset-left));border:1px solid var(--line);border-radius:20px 20px 0 0;background:var(--paper);color:var(--ink);overflow:auto;overscroll-behavior:contain;}
html:root[data-theme].jp-workspace .review-mobile-sheet::backdrop {background:#1015229c;}
html:root[data-theme].jp-workspace .review-mobile-sheet>header {display:flex;align-items:center;justify-content:space-between;gap:12px;position:sticky;top:-16px;z-index:8;margin:-1px -1px 12px;padding:4px 0 10px;background:var(--paper);border-bottom:1px solid var(--line);}
html:root[data-theme].jp-workspace .review-mobile-sheet>header strong {font-size:.9rem;}
html:root[data-theme].jp-workspace .review-mobile-sheet-status:empty {display:none;}
html:root[data-theme].jp-workspace .review-mobile-sheet-status {color:var(--danger);font-size:.8rem;line-height:1.5;}
html:root[data-theme].jp-workspace .review-mobile-sheet .review-focus-notes {display:block!important;}
html:root[data-theme].jp-workspace .review-mobile-sheet :is(.review-toolbar-actions,.review-preview-actions) {display:flex;flex-wrap:wrap;gap:8px;}
html:root[data-theme].jp-workspace .review-mobile-sheet .review-round-tabs {position:static!important;margin-top:16px;}
html:root[data-theme].jp-workspace .review-mobile-sheet .review-video-usage {margin:16px 0;}
html:root[data-theme].jp-workspace .review-attachment-chooser {display:inline-flex;flex:none;}
/* The chooser wrapper is the grid item; reserve the full compact button row. */
html:root[data-theme].jp-workspace .review-attachment-compact .review-attachment-chooser {grid-area:button;min-width:0;width:100%;}
html:root[data-theme].jp-workspace .review-attachment-chooser .review-attachment-upload {min-height:44px;cursor:pointer;}
html:root[data-theme].jp-workspace .review-attachment-chooser input[hidden] {display:none!important;}
html:root[data-theme].jp-workspace .review-sheet-grip {display:flex;align-items:center;justify-content:center;min-height:44px;margin:-16px -1px 0;touch-action:none;cursor:grab;}
html:root[data-theme].jp-workspace .review-sheet-grip span {width:38px;height:4px;border-radius:4px;background:var(--muted);opacity:.55;}
html:root[data-theme].jp-workspace :is(.review-mobile-sheet,.review-admin-sheet)>header[data-review-sheet-drag] {min-height:44px;touch-action:none;}
html:root[data-theme].jp-workspace :is(.review-mobile-sheet,.review-admin-sheet) {transform:translateY(var(--review-sheet-offset,0px));transition:transform 160ms ease-out;}
html:root[data-theme].jp-workspace :is(.review-mobile-sheet,.review-admin-sheet).is-sheet-dragging {transition:none;user-select:none;}
html:root[data-theme].jp-workspace .review-video-controls-markers>.review-button {min-height:44px;}
@media(prefers-reduced-motion:reduce) {html:root[data-theme].jp-workspace :is(.review-mobile-sheet,.review-admin-sheet) {transition:none;}}
@media(min-width:761px) {html:root[data-theme].jp-workspace .review-admin-sheet>.review-sheet-grip {display:none;}}
@media(max-width:600px) {html:root[data-theme].jp-workspace .review-attachment-chooser {display:flex;width:100%;}}
@media(max-width:760px) {
 html:root[data-theme].jp-workspace body:has(.review-mobile-video) {overflow:hidden;}
 html:root[data-theme].jp-workspace body:has(.review-mobile-video) :is(.sidebar,.topbar,.mobile-dock) {visibility:hidden;}
 html:root[data-theme].jp-workspace .review-mobile-video {position:fixed;inset:0;z-index:50;display:flex;flex-direction:column;gap:4px;width:100%;height:100dvh;min-height:0;padding:calc(6px + env(safe-area-inset-top)) calc(8px + env(safe-area-inset-right)) calc(6px + env(safe-area-inset-bottom)) calc(8px + env(safe-area-inset-left));background:var(--canvas);overflow:hidden;}
 html:root[data-theme].jp-workspace .review-mobile-video>.review-head {flex:none;min-height:40px;height:40px;gap:8px;align-items:center;margin:0;}
 html:root[data-theme].jp-workspace .review-mobile-video .review-heading-copy {min-width:0;}
 html:root[data-theme].jp-workspace .review-mobile-video>.review-head h1 {font-size:.86rem;line-height:1.3;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;margin:0;}
 html:root[data-theme].jp-workspace .review-mobile-video>.review-head>.review-button {min-height:40px;height:40px;padding:6px 9px;font-size:.67rem;}
 html:root[data-theme].jp-workspace .review-mobile-video>.review-notice {flex:none;max-height:42px;overflow:auto;margin:0;font-size:.72rem;}
 html:root[data-theme].jp-workspace .review-mobile-video>:is(.review-round-tabs,.review-preview-banner) {display:none;}
 html:root[data-theme].jp-workspace .review-mobile-video>.review-toolbar-reviewer {flex:none;min-height:22px;height:22px;padding:0 3px;margin:0;border:0;border-radius:0;box-shadow:none;background:transparent;overflow:hidden;}
 html:root[data-theme].jp-workspace .review-mobile-video>.review-toolbar-reviewer .review-toolbar-actions {display:none;}
 html:root[data-theme].jp-workspace .review-mobile-video>.review-toolbar-reviewer .review-toolbar-context {min-width:0;display:flex;gap:5px;flex-wrap:nowrap;}
 html:root[data-theme].jp-workspace .review-mobile-video .review-save-indicator {padding:2px 5px;font-size:.6rem;line-height:1.4;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
 html:root[data-theme].jp-workspace .review-mobile-video>.review-toolbar-reviewer .review-state {font-size:.6rem;padding:2px 5px;white-space:nowrap;}
 html:root[data-theme].jp-workspace .review-mobile-video>.review-workspace-focused {flex:1;min-height:0;display:flex;flex-direction:column;gap:4px;}
 html:root[data-theme].jp-workspace .review-mobile-video .review-workspace-focused>.review-step-nav {position:static!important;flex:none;height:44px;min-height:44px;padding:3px;margin:0;gap:4px;scrollbar-width:none;border-radius:10px;}
 html:root[data-theme].jp-workspace .review-mobile-video .review-step-nav::-webkit-scrollbar {display:none;}
 html:root[data-theme].jp-workspace .review-mobile-video .review-step-nav button {min-height:36px;max-height:36px;min-width:100px;max-width:150px;font-size:.62rem;padding:5px 6px;gap:6px;}
 html:root[data-theme].jp-workspace .review-mobile-video .review-step-nav button>span {width:22px;height:22px;flex-shrink:0;font-size:.62rem;}
 html:root[data-theme].jp-workspace .review-mobile-video .review-step-nav button small {display:none;}
 html:root[data-theme].jp-workspace .review-mobile-video .review-main {flex:1;min-height:0;display:flex;flex-direction:column;gap:4px;width:100%;}
 html:root[data-theme].jp-workspace .review-mobile-video .review-video-review {flex:1;min-height:0;display:flex;flex-direction:column;padding:0;margin:0;border:0;background:transparent;box-shadow:none;}
 html:root[data-theme].jp-workspace .review-mobile-video .review-video-review>:is(.review-section-head,.review-video-usage) {display:none;}
 html:root[data-theme].jp-workspace .review-mobile-video .review-focus-grid {flex:1;min-height:0;display:block;margin:0;}
 html:root[data-theme].jp-workspace .review-mobile-video .review-focus-notes {display:none;}
 html:root[data-theme].jp-workspace .review-mobile-video .review-focus-media {height:100%;min-height:0;display:flex;flex-direction:column;gap:4px;}
 html:root[data-theme].jp-workspace .review-mobile-video .review-video-shell {flex:1;min-height:0;display:flex;flex-direction:column;gap:2px;margin:0;padding:0;background:transparent;border:0;border-radius:0;}
 html:root[data-theme].jp-workspace .review-mobile-video .review-video-stage {position:relative;flex:1;min-height:70px;padding:0;border-radius:12px;overflow:hidden;display:flex;align-items:center;justify-content:center;}
 html:root[data-theme].jp-workspace .review-mobile-video .review-video-stage>.review-player {display:block;width:100%!important;height:100%!important;min-height:0;max-height:none!important;aspect-ratio:auto!important;object-fit:contain;}
 html:root[data-theme].jp-workspace .review-mobile-video .review-mobile-expand {position:absolute;top:7px;right:7px;display:grid;place-items:center;width:44px;height:44px;min-height:44px;padding:0;z-index:4;color:#fff;background:#101522b3;border:1px solid #fff5;border-radius:8px;font-size:1.3rem;}
 html:root[data-theme].jp-workspace .review-mobile-video .jp-video-speed {flex:none;min-height:32px;height:32px;padding:0 8px;gap:8px;border:0;border-radius:7px;background:var(--lumen-soft);font-size:.65rem;}
 html:root[data-theme].jp-workspace .review-mobile-video .jp-video-speed>label {font-size:.65rem;}
 html:root[data-theme].jp-workspace .review-mobile-video .jp-video-speed>input[type=range] {height:30px;}
 html:root[data-theme].jp-workspace .review-mobile-video .review-video-controls {flex:none;display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;height:44px;min-height:44px;padding:0;margin:0;border:0;border-radius:0;background:transparent;}
 html:root[data-theme].jp-workspace .review-mobile-video .review-video-controls .review-button {display:flex;align-items:center;justify-content:center;grid-column:auto!important;width:auto;min-width:0;min-height:44px;height:44px;padding:4px;font-size:.66rem;white-space:nowrap;}
 html:root[data-theme].jp-workspace .review-mobile-video .review-video-controls:not(.review-video-controls-markers) {grid-template-columns:1fr;}
 html:root[data-theme].jp-workspace .review-mobile-video .review-play-button .review-play-label {display:inline;}
 html:root[data-theme].jp-workspace .review-mobile-video .review-play-icon {font-size:1rem;}
 html:root[data-theme].jp-workspace .review-mobile-video .review-video-controls .review-marker-add {font-size:0;}
 html:root[data-theme].jp-workspace .review-mobile-video .review-marker-add::after {content:'＋ Marker';font-size:.68rem;}
 html:root[data-theme].jp-workspace .review-mobile-video [data-action=remove-selected-comment] {font-size:0!important;}
 html:root[data-theme].jp-workspace .review-mobile-video [data-action=remove-selected-comment]::after {content:'− Marker';font-size:.68rem;}
 html:root[data-theme].jp-workspace .review-mobile-video .review-marker-timeline {flex:none;height:64px;min-height:64px;padding:0 5px;margin:0;border:0;border-radius:0;background:transparent;}
 html:root[data-theme].jp-workspace .review-mobile-video .review-timeline-head {height:16px;min-height:16px;display:flex;flex-direction:row;align-items:center;justify-content:space-between;gap:5px;margin:0;font-size:.61rem;}
 html:root[data-theme].jp-workspace .review-mobile-video .review-timeline-head strong {font-size:.61rem;font-weight:500;}
 html:root[data-theme].jp-workspace .review-mobile-video .review-marker-rail {margin:0 9px;min-height:46px;}
 html:root[data-theme].jp-workspace .review-mobile-video .review-marker-spacer {height:26px!important;min-height:26px!important;}
 html:root[data-theme].jp-workspace .review-mobile-video .review-marker-rail [data-scrub] {height:20px;}
 html:root[data-theme].jp-workspace .review-mobile-video .review-marker-axis {display:none;}
 html:root[data-theme].jp-workspace .review-mobile-video .review-mobile-tools {flex:none;display:flex;align-items:center;gap:5px;height:44px;min-height:44px;}
 html:root[data-theme].jp-workspace .review-mobile-marker-picker {flex:1;min-width:0;}
 html:root[data-theme].jp-workspace .review-mobile-marker-picker>span {display:none;}
 html:root[data-theme].jp-workspace .review-mobile-marker-picker select {width:100%;height:44px;min-height:44px;max-width:100%;padding:5px 7px;border:1px solid var(--line);border-radius:9px;background:var(--paper);color:var(--ink);font:inherit;font-size:.7rem;}
 html:root[data-theme].jp-workspace .review-mobile-video .review-mobile-tools .review-button {min-height:44px;height:44px;padding:5px 10px;font-size:.7rem;}
 html:root[data-theme].jp-workspace .review-mobile-video .review-mobile-options-button {min-width:40px;padding-inline:5px!important;}
 html:root[data-theme].jp-workspace .review-mobile-video .review-pager {flex:none;min-height:44px;height:44px;padding:0;margin:0;gap:8px;border:0;}
 html:root[data-theme].jp-workspace .review-mobile-video .review-pager .review-button {min-height:44px;height:44px;min-width:76px;padding:5px 11px;font-size:.72rem;}
 html:root[data-theme].jp-workspace .review-mobile-video .review-pager>span {font-size:.65rem;}
 html:root[data-theme].jp-workspace .review-mobile-sheet .review-section-head {display:flex;gap:10px;flex-wrap:wrap;}
 html:root[data-theme].jp-workspace .review-mobile-sheet .review-section-head h2 {margin:0;font-size:1rem;}
 html:root[data-theme].jp-workspace .review-mobile-sheet .review-focus-notes {height:auto;}
}
@media(max-width:760px) and (max-height:480px) {
 html:root[data-theme].jp-workspace .review-mobile-video {overflow-y:auto;overscroll-behavior:contain;}
 html:root[data-theme].jp-workspace .review-mobile-video>.review-workspace-focused {flex:none;height:360px;min-height:360px;}
}
/* ADMIN WORKBENCH: one selected item, bounded library and contextual details. */
html:root[data-theme].jp-workspace .review-admin-workbench {display:flex;flex-direction:column;gap:8px;height:calc(100dvh - 126px);min-height:440px;min-width:0;}
html:root[data-theme].jp-workspace .review-admin-workbench>.review-head {flex:none;flex-direction:row;align-items:center;min-height:42px;height:42px;margin:0;gap:12px;}
html:root[data-theme].jp-workspace .review-admin-workbench .review-heading-copy {min-width:0;}
html:root[data-theme].jp-workspace .review-admin-workbench>.review-head :is(.review-eyebrow,p) {display:none;}
html:root[data-theme].jp-workspace .review-admin-workbench>.review-head h1 {margin:0;font-size:1.2rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
html:root[data-theme].jp-workspace .review-admin-workbench>.review-notice {flex:none;max-height:42px;overflow:auto;margin:0;font-size:.75rem;}
html:root[data-theme].jp-workspace .review-admin-commandbar {display:flex;justify-content:space-between;align-items:center;gap:10px;flex:none;min-height:44px;}
html:root[data-theme].jp-workspace .review-admin-commandbar>span,html:root[data-theme].jp-workspace .review-admin-commandbar>div {display:flex;align-items:center;gap:7px;min-width:0;}
html:root[data-theme].jp-workspace .review-admin-commandbar small {font-size:.7rem;color:var(--muted);white-space:nowrap;}
html:root[data-theme].jp-workspace .review-admin-commandbar .review-button {min-height:44px;white-space:nowrap;}
html:root[data-theme].jp-workspace .review-admin-workspace {flex:1;min-height:0;display:grid;grid-template-columns:210px minmax(0,1fr);gap:12px;}
html:root[data-theme].jp-workspace .review-admin-library {min-height:0;min-width:0;display:flex;flex-direction:column;border:1px solid var(--line);border-radius:13px;background:var(--paper);overflow:hidden;}
html:root[data-theme].jp-workspace .review-admin-library-heading {display:flex;align-items:center;justify-content:space-between;gap:8px;flex:none;height:44px;padding:10px 12px;border-bottom:1px solid var(--line);font-size:.75rem;}
html:root[data-theme].jp-workspace .review-admin-library-heading>span {color:var(--muted);}
html:root[data-theme].jp-workspace .review-admin-library nav {flex:1;min-height:0;overflow:auto;padding:5px;overscroll-behavior:contain;scrollbar-width:thin;}
html:root[data-theme].jp-workspace .review-admin-item {display:flex;align-items:center;gap:8px;width:100%;min-height:60px;margin:2px 0;padding:9px 7px;border:0;border-radius:8px;text-align:left;background:transparent;color:var(--ink);cursor:pointer;}
html:root[data-theme].jp-workspace .review-admin-item:hover {background:var(--lumen-hover);}
html:root[data-theme].jp-workspace .review-admin-item.is-selected {background:var(--light-blue);color:var(--blue);}
html:root[data-theme].jp-workspace .review-admin-item>span:nth-child(2) {min-width:0;flex:1;}
html:root[data-theme].jp-workspace .review-admin-item strong {display:-webkit-box;overflow:hidden;-webkit-line-clamp:2;-webkit-box-orient:vertical;font-size:.72rem;line-height:1.4;font-weight:600;overflow-wrap:anywhere;}
html:root[data-theme].jp-workspace .review-admin-item small {display:block;color:var(--muted);font-size:.6rem;line-height:1.5;margin-top:3px;}
html:root[data-theme].jp-workspace .review-admin-item-number {display:grid;place-items:center;flex:none;width:24px;height:24px;border:1px solid var(--line);border-radius:7px;font-size:.66rem;}
html:root[data-theme].jp-workspace .review-admin-center {min-width:0;min-height:0;display:flex;flex-direction:column;gap:8px;}
html:root[data-theme].jp-workspace .review-admin-item-nav {display:flex;align-items:center;gap:7px;flex:none;height:44px;}
html:root[data-theme].jp-workspace .review-admin-item-nav>.review-button {width:44px;min-width:44px;min-height:44px;height:44px;padding:5px;font-size:1.4rem;}
html:root[data-theme].jp-workspace .review-admin-item-nav>label {flex:1;min-width:0;}
html:root[data-theme].jp-workspace .review-admin-item-nav select {width:100%;height:44px;min-width:0;padding:6px 10px;border:1px solid var(--line);border-radius:9px;background:var(--paper);color:var(--ink);font:inherit;font-size:.78rem;}
html:root[data-theme].jp-workspace .review-admin-mobile-label {display:none;}
html:root[data-theme].jp-workspace .review-admin-item-counter {flex:none;font-size:.7rem;color:var(--muted);font-variant-numeric:tabular-nums;white-space:nowrap;}
html:root[data-theme].jp-workspace .review-admin-stage {flex:1;min-height:0;min-width:0;overflow:hidden;}
html:root[data-theme].jp-workspace .review-admin-stage>:is(.review-admin-video-panel,.review-admin-package) {display:grid;grid-template-columns:minmax(0,1fr) minmax(245px,.65fr);gap:12px;height:100%;min-height:0;padding:12px;margin:0;border:1px solid var(--line);border-radius:13px;background:var(--paper);overflow:hidden;}
html:root[data-theme].jp-workspace .review-admin-primary-media {display:flex;flex-direction:column;gap:6px;min-width:0;min-height:0;height:100%;}
html:root[data-theme].jp-workspace .review-admin-primary-media:has(video) {display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(80px,1fr) 36px 44px auto;align-content:stretch;}
html:root[data-theme].jp-workspace .review-admin-primary-media :is(.review-admin-asset-preview,.jp-video-speed,.review-video-controls,.review-received-timeline) {min-width:0;max-width:100%;grid-column:1;}
html:root[data-theme].jp-workspace .review-admin-primary-media:has(video) .review-admin-asset-preview {grid-row:1;}
html:root[data-theme].jp-workspace .review-admin-primary-media:has(video) .jp-video-speed {grid-row:2;}
html:root[data-theme].jp-workspace .review-admin-primary-media:has(video) .review-video-controls {grid-row:3;}
html:root[data-theme].jp-workspace .review-admin-primary-media:has(video) .review-received-timeline {grid-row:4;}
html:root[data-theme].jp-workspace .review-admin-primary-media>.review-admin-asset {display:contents;max-width:none;width:auto;}
html:root[data-theme].jp-workspace .review-admin-workbench .review-admin-primary-media .review-admin-asset-preview {position:relative;display:grid;place-items:center;flex:1 1 0;min-height:80px;height:auto!important;max-height:none!important;aspect-ratio:auto!important;width:100%;border-radius:9px;background:#0e1018;}
html:root[data-theme].jp-workspace .review-admin-primary-media .review-admin-asset-preview :is(video,img) {max-height:100%!important;object-fit:contain;}
html:root[data-theme].jp-workspace .review-admin-expand {position:absolute;inset:7px 7px auto auto;z-index:5;display:grid;place-items:center;width:44px;height:44px;min-height:44px;padding:0;border:1px solid #fff5;border-radius:8px;background:#101522b3;color:#fff;font-size:1.3rem;}
html:root[data-theme].jp-workspace .review-admin-primary-media .jp-video-speed {flex:none;height:36px;min-height:36px;padding:0 8px;border:0;border-radius:7px;background:var(--lumen-soft);}
html:root[data-theme].jp-workspace .review-admin-primary-media .review-video-controls {flex:none;min-height:44px;padding:0;background:transparent;border:0;}
html:root[data-theme].jp-workspace .review-admin-primary-media .review-play-button {min-height:44px;height:44px;width:100%;}
html:root[data-theme].jp-workspace .review-admin-workbench .review-admin-item-details {display:block;min-height:0;min-width:0;overflow-y:auto;overflow-x:hidden;padding:0 0 4px 12px;border-left:1px solid var(--line);overscroll-behavior:contain;scrollbar-width:thin;}
html:root[data-theme].jp-workspace .review-admin-item-details .review-subhead {gap:8px;flex-wrap:wrap;margin:0 0 12px;}
html:root[data-theme].jp-workspace .review-admin-item-details .review-admin-display-name {font-size:1rem;}
html:root[data-theme].jp-workspace .review-admin-item-details .review-video-usage {margin:0 0 12px;padding:9px;font-size:.7rem;}
html:root[data-theme].jp-workspace .review-admin-item-details .review-admin-asset-foot {padding:10px 0;margin:0;border-top:1px solid var(--line);flex-wrap:wrap;}
html:root[data-theme].jp-workspace .review-admin-item-details .review-feedback-disclosure {margin-top:0;}
html:root[data-theme].jp-workspace .review-admin-item-details .review-feedback-disclosure>summary {font-size:.72rem;}
html:root[data-theme].jp-workspace .review-admin-item-details .review-admin-package-fields {display:block;}
html:root[data-theme].jp-workspace .review-admin-primary-media .review-received-timeline {flex:none;margin:0;padding:6px 8px;}
html:root[data-theme].jp-workspace .review-admin-primary-media .review-received-timeline {height:92px;overflow:hidden;}
html:root[data-theme].jp-workspace .review-admin-primary-media .review-received-timeline-head {height:14px;min-height:14px;line-height:14px;margin:0;font-size:.65rem;}
html:root[data-theme].jp-workspace .review-admin-primary-media .review-received-track {height:4px;margin:4px 0;}
html:root[data-theme].jp-workspace .review-admin-primary-media .review-received-scale {height:10px;line-height:10px;font-size:.6rem;margin:0;}
html:root[data-theme].jp-workspace .review-admin-primary-media .review-received-jumps {display:flex;flex-wrap:nowrap;overflow-x:auto;overflow-y:hidden;height:40px;padding:2px 0;max-width:100%;scrollbar-width:thin;}
html:root[data-theme].jp-workspace .review-admin-primary-media .review-received-jumps>.review-button {flex:none;min-height:36px;height:36px;padding:4px 8px;white-space:nowrap;font-size:.65rem;}
html:root[data-theme].jp-workspace .review-admin-workspace-footer {display:flex;align-items:center;justify-content:flex-end;gap:7px;flex:none;min-height:44px;}
html:root[data-theme].jp-workspace .review-admin-workspace-footer>.review-button {min-height:44px;height:44px;white-space:nowrap;}
html:root[data-theme].jp-workspace .review-admin-workspace-footer .review-save-indicator {margin-right:auto;font-size:.65rem;}
html:root[data-theme].jp-workspace .review-admin-workspace-footer .review-save-indicator:empty {display:none;}
html:root[data-theme].jp-workspace .review-admin-details-button {display:none;}
html:root[data-theme].jp-workspace .review-admin-stage>:is(.review-admin-description,.review-admin-document,.review-overall-feedback,.review-empty) {height:100%;max-height:100%;overflow:auto;margin:0;}
html:root[data-theme].jp-workspace .review-admin-description textarea {min-height:160px;max-height:none;}
html:root[data-theme].jp-workspace .review-admin-document {display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;}
html:root[data-theme].jp-workspace .review-admin-document h2 {overflow-wrap:anywhere;}
html:root[data-theme].jp-workspace .review-admin-document-icon {font-size:3rem;color:var(--blue);}
html:root[data-theme].jp-workspace .review-admin-sheet:not([open]) {display:none;}
html:root[data-theme].jp-workspace .review-admin-sheet[open] {position:fixed;inset:0;width:min(700px,calc(100% - 28px));max-width:100%;max-height:calc(100dvh - 28px - env(safe-area-inset-top) - env(safe-area-inset-bottom));margin:auto;padding:18px;border:1px solid var(--line);border-radius:16px;background:var(--paper);color:var(--ink);overflow:auto;overscroll-behavior:contain;}
html:root[data-theme].jp-workspace .review-admin-sheet::backdrop {background:#1015229c;}
html:root[data-theme].jp-workspace .review-admin-sheet>header {position:sticky;top:-18px;z-index:8;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:3px 0 12px;margin:0 0 12px;background:var(--paper);border-bottom:1px solid var(--line);}
html:root[data-theme].jp-workspace .review-admin-sheet>header>.review-button {min-height:44px;}
html:root[data-theme].jp-workspace .review-admin-sheet .review-admin-item-details {display:block!important;max-height:none;padding:0;border:0;overflow:visible;}
html:root[data-theme].jp-workspace .review-admin-sheet .review-toolbar-admin {margin:0 0 16px;}
html:root[data-theme].jp-workspace .review-admin-sheet .review-toolbar-actions {display:flex;flex-direction:column;gap:8px;}
html:root[data-theme].jp-workspace .review-admin-sheet .review-action-group {display:flex;gap:7px;flex-wrap:wrap;}
html:root[data-theme].jp-workspace .review-admin-sheet .review-round-tabs {position:static!important;margin-bottom:12px;}
html:root[data-theme].jp-workspace .review-admin-sheet .review-project-identity {margin:14px 0;}
@media(min-width:761px) and (max-width:1100px) {
 html:root[data-theme].jp-workspace .review-admin-workspace {grid-template-columns:165px minmax(0,1fr);}
 html:root[data-theme].jp-workspace .review-admin-stage>:is(.review-admin-video-panel,.review-admin-package) {grid-template-columns:minmax(0,1fr);}
 html:root[data-theme].jp-workspace .review-admin-workbench .review-admin-item-details {display:none;}
 html:root[data-theme].jp-workspace .review-admin-details-button {display:inline-flex;}
}
@media(max-width:760px) {
 html:root[data-theme].jp-workspace body:has(.review-admin-workbench) {overflow:hidden;}
 html:root[data-theme].jp-workspace body:has(.review-admin-workbench) :is(.sidebar,.topbar,.mobile-dock) {visibility:hidden;}
 html:root[data-theme].jp-workspace .review-admin-workbench {position:fixed;inset:0;z-index:50;width:100%;height:100dvh;min-height:0;gap:5px;padding:calc(6px + env(safe-area-inset-top)) calc(8px + env(safe-area-inset-right)) calc(6px + env(safe-area-inset-bottom)) calc(8px + env(safe-area-inset-left));overflow:hidden;background:var(--canvas);}
 html:root[data-theme].jp-workspace .review-admin-workbench>.review-head {height:40px;min-height:40px;gap:7px;}
 html:root[data-theme].jp-workspace .review-admin-workbench>.review-head h1 {font-size:.86rem;}
 html:root[data-theme].jp-workspace .review-admin-workbench>.review-head>.review-button {height:40px;min-height:40px;padding:5px 8px;font-size:.66rem;}
 html:root[data-theme].jp-workspace .review-admin-commandbar {gap:5px;min-height:44px;height:44px;}
 html:root[data-theme].jp-workspace .review-admin-commandbar .review-button {min-height:44px;padding:5px 7px;font-size:.68rem;}
 html:root[data-theme].jp-workspace .review-admin-commandbar>span {gap:0;}
 html:root[data-theme].jp-workspace .review-admin-commandbar small {display:none;}
 html:root[data-theme].jp-workspace .review-admin-commandbar .review-state {font-size:.6rem;padding:4px 6px;}
 html:root[data-theme].jp-workspace .review-admin-workspace {display:block;min-height:0;}
 html:root[data-theme].jp-workspace .review-admin-library {display:none;}
 html:root[data-theme].jp-workspace .review-admin-center {height:100%;gap:5px;}
 html:root[data-theme].jp-workspace .review-admin-item-nav {gap:5px;height:44px;}
 html:root[data-theme].jp-workspace .review-admin-item-nav select {font-size:.7rem;padding:5px;}
 html:root[data-theme].jp-workspace .review-admin-item-counter {display:none;}
 html:root[data-theme].jp-workspace .review-admin-stage>:is(.review-admin-video-panel,.review-admin-package) {grid-template-columns:minmax(0,1fr);padding:7px;gap:0;border-radius:11px;}
 html:root[data-theme].jp-workspace .review-admin-workbench .review-admin-item-details {display:none;}
 html:root[data-theme].jp-workspace .review-admin-primary-media {gap:4px;}
 html:root[data-theme].jp-workspace .review-admin-primary-media:has(video) {grid-template-rows:minmax(80px,1fr) 32px 44px auto;}
 html:root[data-theme].jp-workspace .review-admin-primary-media .jp-video-speed {height:32px;min-height:32px;font-size:.65rem;}
 html:root[data-theme].jp-workspace .review-admin-primary-media .jp-video-speed label {font-size:.65rem;}
 html:root[data-theme].jp-workspace .review-admin-primary-media .jp-video-speed input {height:30px;}
 html:root[data-theme].jp-workspace .review-admin-primary-media .review-received-timeline {padding:3px 5px;}
 html:root[data-theme].jp-workspace .review-admin-primary-media .review-received-scale {display:none;}
 html:root[data-theme].jp-workspace .review-admin-primary-media .review-received-jumps>.review-button {min-height:36px;}
 html:root[data-theme].jp-workspace .review-admin-workspace-footer {gap:5px;height:44px;}
 html:root[data-theme].jp-workspace .review-admin-workspace-footer .review-button {flex:1;min-width:0;padding:5px 7px;font-size:.68rem;}
 html:root[data-theme].jp-workspace .review-admin-details-button {display:inline-flex;}
 html:root[data-theme].jp-workspace .review-admin-workspace-footer .review-save-indicator {display:none;}
 html:root[data-theme].jp-workspace .review-admin-sheet[open] {inset:auto 0 0;width:100%;max-height:calc(100dvh - 12px - env(safe-area-inset-top));margin:0;padding:16px calc(16px + env(safe-area-inset-right)) calc(16px + env(safe-area-inset-bottom)) calc(16px + env(safe-area-inset-left));border-radius:18px 18px 0 0;}
 html:root[data-theme].jp-workspace .review-admin-sheet>header {top:-16px;}
}
@media(max-height:560px) and (min-width:761px) {
 html:root[data-theme].jp-workspace .review-admin-workbench {height:440px;}
}
@media(max-width:760px) and (max-height:480px) {
 html:root[data-theme].jp-workspace .review-admin-workbench {overflow-y:auto;overscroll-behavior:contain;}
 html:root[data-theme].jp-workspace .review-admin-workspace {flex:none;height:350px;min-height:350px;}
}
/* END ADMIN WORKBENCH */

/* Compact final step: optional note, one clear completion action. */
html:root[data-theme].jp-workspace .review-finish-compact {width:100%;max-width:600px;margin-inline:auto;text-align:left;scroll-margin-top:80px;}
html:root[data-theme].jp-workspace .review-finish-compact .review-completion-header {margin:0 0 20px;text-align:center;}
html:root[data-theme].jp-workspace .review-finish-compact .review-finish-mark {width:36px;height:36px;border-radius:11px;margin:0 auto 10px;font-size:1.15rem;}
html:root[data-theme].jp-workspace .review-finish-compact h2 {margin:0;font-size:clamp(1.15rem,3vw,1.5rem);line-height:1.25;}
html:root[data-theme].jp-workspace .review-finish-compact .review-completion-header p {margin:8px 0 0;color:var(--muted);font-size:.84rem;line-height:1.45;}
html:root[data-theme].jp-workspace .review-finish-compact>.review-field {margin:0;}
html:root[data-theme].jp-workspace .review-finish-compact>.review-field textarea {min-height:88px;max-height:240px;resize:vertical;}
html:root[data-theme].jp-workspace .review-finish-submit {display:grid;gap:8px;margin-top:12px;}
html:root[data-theme].jp-workspace .review-finish-status {color:var(--muted);font-size:.78rem;line-height:1.4;overflow-wrap:anywhere;}
html:root[data-theme].jp-workspace .review-finish-status:empty {display:none;}
html:root[data-theme].jp-workspace .review-finish-submit>.review-button,html:root[data-theme].jp-workspace .review-finish-return>.review-primary {width:100%;min-height:48px;}
html:root[data-theme].jp-workspace .review-finish-return {display:grid;gap:8px;margin-top:14px;}
html:root[data-theme].jp-workspace .review-finish-extra {margin-top:12px;border-top:1px solid var(--line);text-align:left;}
html:root[data-theme].jp-workspace .review-finish-extra>summary {min-height:44px;display:flex;align-items:center;justify-content:space-between;gap:12px;cursor:pointer;font-size:.8rem;color:var(--muted);list-style:none;}
html:root[data-theme].jp-workspace .review-finish-extra>summary::after {content:'+';font-size:1.15rem;}
html:root[data-theme].jp-workspace .review-finish-extra[open]>summary::after {content:'−';}
html:root[data-theme].jp-workspace .review-finish-options>.review-button {margin:0 0 4px;min-height:44px;font-size:.78rem;}
html:root[data-theme].jp-workspace .review-finish-download-disclosure .review-finish-downloads {margin:0;padding:0;border:0;background:none;}
html:root[data-theme].jp-workspace .review-finish-download-disclosure .review-finish-downloads h3 {display:none;}
html:root[data-theme].jp-workspace .review-finish-reminder {width:min(430px,calc(100vw - 24px));max-height:calc(100dvh - 24px);padding:0;}
html:root[data-theme].jp-workspace .review-finish-reminder-form {display:grid;gap:18px;padding:18px;}
html:root[data-theme].jp-workspace .review-finish-reminder-form>p {margin:0;font-size:.88rem;line-height:1.5;}
html:root[data-theme].jp-workspace .review-finish-reminder-form>.review-actions {display:flex;flex-wrap:wrap;gap:8px;}
html:root[data-theme].jp-workspace .review-finish-reminder-form>.review-actions>.review-button {flex:1 1 140px;min-height:44px;font-size:.8rem;}
@media(max-width:600px) {
 html:root[data-theme].jp-workspace .review-finish-compact {padding:16px;}
 html:root[data-theme].jp-workspace .review-finish-compact .review-completion-header {margin-bottom:16px;}
 html:root[data-theme].jp-workspace .review-finish-compact .review-completion-header p {font-size:.8rem;}
}
/* End compact final step. */

/* Library: quiet status colours, with a separate, obvious view switch. */
html:root[data-theme].jp-workspace .ready-view-switch {display:flex;gap:4px;padding:4px;border:1px solid var(--line);border-radius:12px;background:var(--canvas);}
html:root[data-theme].jp-workspace .ready-view-switch .btn {display:flex;align-items:center;justify-content:center;gap:8px;min-height:42px;padding:9px 16px;border:1px solid transparent;border-radius:8px;background:transparent;color:var(--muted);font-weight:650;box-shadow:none;}
html:root[data-theme].jp-workspace .ready-view-switch .btn[aria-pressed="true"] {background:var(--lumen-primary);border-color:var(--lumen-primary);color:#fff;box-shadow:0 1px 4px #0002;}
html:root[data-theme].jp-workspace .ready-view-switch svg {width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex:none;}
html:root[data-theme].jp-workspace .ready-grid {--ready-fresh:#287653;--ready-fresh-bg:#eff7f2;--ready-fresh-line:#a9cbb8;--ready-used:#666674;--ready-used-bg:#eeeef1;--ready-used-line:#c7c7d0;}
html:root[data-theme="dark"].jp-workspace .ready-grid {--ready-fresh:#90cfad;--ready-fresh-bg:#222f2a;--ready-fresh-line:#446454;--ready-used:#c0bdc9;--ready-used-bg:#2c2a32;--ready-used-line:#57535f;}
html:root[data-theme].jp-workspace .ready-grid .ready-video {background:var(--ready-fresh-bg);border-color:var(--ready-fresh-line);border-inline-start:4px solid var(--ready-fresh);}
html:root[data-theme].jp-workspace .ready-grid .ready-video.is-used {background:var(--ready-used-bg);border-color:var(--ready-used-line);border-inline-start-color:var(--ready-used);}
html:root[data-theme].jp-workspace .ready-grid .ready-video h4 {color:var(--ink);}
html:root[data-theme].jp-workspace .ready-grid .ready-used-label {color:var(--ready-fresh);font-weight:650;}
html:root[data-theme].jp-workspace .ready-grid .ready-video.is-used .ready-used-label {color:var(--ready-used);}
html:root[data-theme].jp-workspace .ready-grid .ready-used {color:var(--ready-fresh);border-color:var(--ready-fresh-line);background:var(--paper);}
html:root[data-theme].jp-workspace .ready-grid .ready-video.is-used .ready-used {color:var(--ready-used);border-color:var(--ready-used-line);background:var(--paper);}
@media(max-width:650px) {
 html:root[data-theme].jp-workspace .ready-view-switch {width:100%;}
 html:root[data-theme].jp-workspace .ready-view-switch .btn {flex:1;}
}

/* Page controls stay available above and below the videos, including on phones. */
html:root[data-theme].jp-workspace .ready-content {overflow-anchor:none;}
html:root[data-theme].jp-workspace .ready-pages {display:flex;align-items:center;justify-content:center;gap:10px;padding:9px 10px;margin:14px 0 0;border:1px solid color-mix(in srgb,var(--blue) 28%,var(--line));border-radius:11px;background:color-mix(in srgb,var(--light-blue) 45%,var(--paper));}
html:root[data-theme].jp-workspace .ready-pages[data-placement="top"] {margin:0 0 14px;}
html:root[data-theme].jp-workspace .ready-pages .ready-page-arrow {display:grid;place-items:center;flex:none;width:40px;min-width:40px;height:40px;min-height:40px;padding:9px;border:1px solid var(--blue);border-radius:10px;background:var(--light-blue);color:var(--blue);}
html:root[data-theme].jp-workspace .ready-pages .ready-page-arrow:disabled {background:var(--canvas);border-color:var(--line);color:var(--muted);opacity:.45;}
html:root[data-theme].jp-workspace .ready-page-arrow svg {width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;}
html:root[data-theme].jp-workspace .ready-page-position {display:grid;min-width:0;gap:3px;text-align:center;}
html:root[data-theme].jp-workspace .ready-page-position select {width:100%;max-width:220px;min-width:0;min-height:36px;padding:4px 22px 4px 10px;border:1px solid var(--line);border-radius:7px;background:var(--paper);color:var(--ink);font:inherit;font-size:.82rem;font-weight:750;cursor:pointer;}
html:root[data-theme].jp-workspace .ready-page-position span {font-size:.69rem;line-height:1.4;color:var(--muted);}
@media(max-width:650px) {
 html:root[data-theme].jp-workspace .ready-pages {gap:8px;padding:7px 8px;}
 html:root[data-theme].jp-workspace .ready-pages .ready-page-arrow {width:44px;min-width:44px;height:44px;min-height:44px;}
 html:root[data-theme].jp-workspace .ready-page-position select {min-height:44px;}
}

/* Schildkroete revision: recognisable compact rows and a single focused player. */
html:root[data-theme].jp-workspace .ready-grid {align-items:start;grid-auto-rows:max-content;}
html:root[data-theme].jp-workspace .ready-video .ready-info {height:auto;min-width:0;}
html:root[data-theme].jp-workspace .ready-compact .ready-video {display:grid;grid-template-columns:74px minmax(0,1fr);align-items:start;}
html:root[data-theme].jp-workspace .ready-compact .ready-preview {height:110px;aspect-ratio:auto;border-radius:0;}
html:root[data-theme].jp-workspace .ready-compact .ready-info {display:flex;flex-direction:column;min-height:110px;padding:11px;}
html:root[data-theme].jp-workspace .ready-compact h4 {padding:0;margin:0 0 10px;font-size:.8rem;line-height:1.4;}
html:root[data-theme].jp-workspace .ready-compact .ready-video-select {top:5px;left:5px;width:26px;height:26px;z-index:2;background:var(--paper);border-radius:6px;}
html:root[data-theme].jp-workspace .ready-compact .ready-play span {width:32px;height:32px;font-size:15px;}
html:root[data-theme].jp-workspace .ready-compact .ready-actions {flex-wrap:wrap;gap:6px;}
html:root[data-theme].jp-workspace .ready-compact .ready-actions .btn {min-height:36px;font-size:.71rem;padding:6px 8px;}
html:root[data-theme].jp-workspace .ready-compact .ready-actions .ready-used {min-width:0;white-space:normal;}
html:root[data-theme].jp-workspace .ready-compact .ready-used-label {font-size:.72rem;}
html:root[data-theme].jp-workspace .ready-project-return {display:flex;gap:8px;flex-wrap:wrap;}
html.ready-viewer-open {overflow:hidden;scrollbar-gutter:stable;}
html:root[data-theme].jp-workspace dialog.ready-viewer {margin:auto;width:min(1000px,calc(100vw - 32px));max-width:none;height:min(820px,calc(100dvh - 32px));max-height:calc(100dvh - 32px);padding:0;border:1px solid var(--line);border-radius:18px;background:var(--paper);color:var(--ink);overflow:hidden;box-shadow:0 24px 90px #0007;transform:translateY(var(--viewer-drag,0px));}
html:root[data-theme].jp-workspace dialog.ready-viewer[open] {display:flex;flex-direction:column;}
html:root[data-theme].jp-workspace dialog.ready-viewer-portrait {width:min(560px,calc(100vw - 32px));}
html:root[data-theme].jp-workspace .ready-viewer::backdrop {background:#0b0a13b3;backdrop-filter:blur(5px);}
html:root[data-theme].jp-workspace .ready-viewer-heading {display:flex;flex:none;align-items:center;justify-content:space-between;gap:12px;padding:16px 20px;border-bottom:1px solid var(--line);}
html:root[data-theme].jp-workspace .ready-viewer-heading>div {min-width:0;}
html:root[data-theme].jp-workspace .ready-viewer-heading small {display:block;color:var(--muted);font-size:.72rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
html:root[data-theme].jp-workspace .ready-viewer-heading h2 {margin:5px 0 0;font-size:1rem;line-height:1.35;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;}
html:root[data-theme].jp-workspace .ready-viewer-close {flex:none;width:42px;height:42px;font-size:1.5rem;padding:0;}
html:root[data-theme].jp-workspace .ready-viewer-media {display:flex;flex:1;flex-direction:column;min-height:0;overflow:hidden;background:#0b0a10;}
html:root[data-theme].jp-workspace .ready-viewer-stage {display:flex;flex:1;min-height:0;align-items:center;justify-content:center;}
html:root[data-theme].jp-workspace .ready-viewer-stage video {width:100%;height:100%;min-height:0;max-width:100%;object-fit:contain;filter:none;opacity:1;background:#0b0a10;}
html:root[data-theme].jp-workspace .ready-viewer-media>.jp-video-speed {flex:none;}
html:root[data-theme].jp-workspace .ready-viewer-footer {display:flex;flex:none;align-items:center;justify-content:space-between;gap:12px;padding:12px 18px;border-top:1px solid var(--line);}
html:root[data-theme].jp-workspace .ready-viewer-navigation,.ready-viewer-actions {display:flex;align-items:center;gap:8px;}
html:root[data-theme].jp-workspace .ready-viewer-navigation .btn {min-width:42px;font-size:1.3rem;padding:5px;}
html:root[data-theme].jp-workspace [data-viewer-position] {min-width:52px;font-size:.8rem;text-align:center;color:var(--muted);font-variant-numeric:tabular-nums;}
html:root[data-theme].jp-workspace .ready-viewer-actions .btn {font-size:.8rem;white-space:nowrap;}
html:root[data-theme].jp-workspace .ready-viewer-usage {color:#287653;font-size:.8rem;font-weight:650;}
html:root[data-theme].jp-workspace .ready-viewer-usage.is-used {color:var(--muted);}
html:root[data-theme="dark"].jp-workspace .ready-viewer-usage:not(.is-used) {color:#90cfad;}
@media(max-width:650px) {
 html:root[data-theme].jp-workspace dialog.ready-viewer {width:calc(100vw - 16px);height:calc(100dvh - 24px - env(safe-area-inset-top));max-height:calc(100dvh - 24px - env(safe-area-inset-top));border-radius:16px;}
 html:root[data-theme].jp-workspace .ready-viewer-heading {padding:12px;touch-action:none;cursor:grab;}
 html:root[data-theme].jp-workspace .ready-viewer-heading h2 {font-size:.9rem;}
 html:root[data-theme].jp-workspace .ready-viewer-footer {flex-wrap:wrap;justify-content:center;padding:9px 12px calc(9px + env(safe-area-inset-bottom));gap:8px;}
 html:root[data-theme].jp-workspace .ready-viewer-navigation {justify-content:center;}
 html:root[data-theme].jp-workspace .ready-viewer-actions {width:100%;justify-content:center;}
 html:root[data-theme].jp-workspace .ready-viewer-actions>.btn {flex:1;min-width:0;min-height:44px;font-size:.76rem;}
 html:root[data-theme].jp-workspace .ready-viewer-usage {margin-right:auto;}
 html:root[data-theme].jp-workspace .ready-compact .ready-video {grid-template-columns:64px minmax(0,1fr);}
}

html:root[data-theme].jp-workspace .is-project-library .ready-platforms {display:none;}


/* All project videos on one page; the project heading is the visible toggle. */
html:root[data-theme].jp-workspace .ready-project>summary {display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px 18px;align-items:center;padding:18px 20px;cursor:pointer;background:var(--paper);border:1px solid transparent;border-radius:12px;transition:background .12s ease,border-color .12s ease;}
html:root[data-theme].jp-workspace .ready-project>summary:hover {background:var(--lumen-soft);border-color:var(--lumen-border-strong);}
html:root[data-theme].jp-workspace .ready-project>summary:focus-visible {outline:3px solid var(--lumen-primary);outline-offset:3px;}
html:root[data-theme].jp-workspace .ready-project[open]>summary {background:var(--lumen-soft);border-bottom-color:var(--lumen-border-strong);border-radius:12px 12px 0 0;box-shadow:0 3px 12px #00000008;}
html:root[data-theme].jp-workspace .ready-project-heading {grid-column:1;grid-row:1;min-width:0;}
html:root[data-theme].jp-workspace .ready-project-status {grid-column:1;grid-row:2;}
html:root[data-theme].jp-workspace .ready-project-toggle {grid-column:2;grid-row:1 / 3;display:flex;align-items:center;gap:10px;min-height:38px;padding:8px 11px;border:1px solid var(--lumen-border-strong);border-radius:9px;background:var(--paper);color:var(--lumen-primary);font-size:.76rem;font-weight:650;white-space:nowrap;}
html:root[data-theme].jp-workspace .ready-project-toggle svg {width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;}
html:root[data-theme].jp-workspace .ready-toggle-hide {display:none;}
html:root[data-theme].jp-workspace .ready-project[open] .ready-toggle-hide {display:inline;}
html:root[data-theme].jp-workspace .ready-project[open] .ready-toggle-show {display:none;}
html:root[data-theme].jp-workspace .ready-project[open] .ready-project-toggle svg {transform:rotate(180deg);}
html:root[data-theme].jp-workspace .ready-project-body {padding-top:14px;}
@media(min-width:769px) {
 html:root[data-theme].jp-workspace .ready-project[open]>summary {position:sticky;top:10px;z-index:6;}
}
@media(max-width:650px) {
 html:root[data-theme].jp-workspace .ready-project>summary {padding:14px 12px;gap:7px 10px;}
 html:root[data-theme].jp-workspace .ready-project-toggle {min-height:44px;gap:5px;padding:8px;font-size:.69rem;}
 html:root[data-theme].jp-workspace .ready-project-toggle svg {width:16px;height:16px;}
}

html:root[data-theme].jp-workspace .ready-project {overflow:visible;}
html:root[data-theme].jp-workspace .ready-viewer-close {width:auto;min-width:42px;gap:7px;padding:0 11px;}
html:root[data-theme].jp-workspace .ready-viewer-close-label {font-size:.76rem;font-weight:600;}
@media(max-width:650px) {
 html:root[data-theme].jp-workspace .ready-viewer-close-label {display:none;}
 html:root[data-theme].jp-workspace .ready-viewer-close {width:42px;padding:0;}
}

/* One review workspace: approval and use are separate states within one area. */
html:root[data-theme].jp-workspace .review-hub-header {margin-bottom:20px;}
html:root[data-theme].jp-workspace .review-hub-title p {color:var(--muted);font-size:.82rem;margin:8px 0 18px;}
html:root[data-theme].jp-workspace .review-hub-tabs {display:flex;gap:6px;padding:5px;background:var(--lumen-soft);border:1px solid var(--lumen-border-strong);border-radius:12px;max-width:520px;}
html:root[data-theme].jp-workspace .review-hub-tabs button {display:flex;gap:10px;align-items:center;justify-content:center;flex:1;min-height:44px;padding:9px 16px;border:1px solid transparent;border-radius:8px;background:transparent;color:var(--muted);font-weight:600;font-size:.86rem;}
html:root[data-theme].jp-workspace .review-hub-tabs button[aria-selected=true] {background:var(--paper);border-color:var(--line);color:var(--ink);box-shadow:0 2px 5px #00000008;}
html:root[data-theme].jp-workspace [data-hub-count] {padding:2px 7px;border-radius:6px;background:var(--lumen-soft);font-size:.72rem;}
html:root[data-theme].jp-workspace .is-scoped-library .ready-platforms {display:none;}
html:root[data-theme].jp-workspace .review-hub-panel>.review-head:has(h1:empty) {display:none;}
@media(max-width:650px) {
 html:root[data-theme].jp-workspace .review-hub-header {margin-bottom:14px;}
 html:root[data-theme].jp-workspace .review-hub-tabs {max-width:none;}
 html:root[data-theme].jp-workspace .review-hub-tabs button {padding:8px;font-size:.8rem;}
}

html:root[data-theme].jp-workspace .review-hub-history {margin-top:20px;border-top:1px solid var(--line);}
html:root[data-theme].jp-workspace .review-hub-history>summary {padding:14px 4px;font-size:.82rem;color:var(--muted);cursor:pointer;}

/* One conversation per space; the history scrolls while the composer stays in reach. */
html:root[data-theme].jp-workspace .chat-page-heading {margin-bottom:12px;}
html:root[data-theme].jp-workspace .chat-unified {display:flex;flex-direction:column;height:var(--chat-height,calc(100dvh - 200px));min-height:220px;max-width:1120px;margin-top:0;}
html:root[data-theme].jp-workspace .chat-unified .chat-workspace {display:flex;flex:1;min-height:0;}
html:root[data-theme].jp-workspace .chat-unified .chat-thread {display:flex;flex-direction:column;flex:1;min-height:0;max-width:100%;}
html:root[data-theme].jp-workspace .chat-unified .chat-history {height:auto;min-height:40px;flex:1;padding:20px;overflow:auto;background:var(--lumen-soft);}
html:root[data-theme].jp-workspace .chat-unified .chat-current {flex:none;min-height:64px;padding:10px 18px;}
html:root[data-theme].jp-workspace .chat-room-avatar {display:grid;place-items:center;width:40px;height:40px;flex:none;border-radius:14px;background:var(--light-blue);color:var(--blue);font-size:13px;font-weight:700;}
html:root[data-theme].jp-workspace .chat-unified .chat-current-heading {flex:1;min-width:0;display:grid;gap:3px;}
html:root[data-theme].jp-workspace .chat-unified .chat-current-heading small {font-size:11px;color:var(--muted);}
html:root[data-theme].jp-workspace .chat-unified .chat-message {width:auto;max-width:min(85%,650px);padding:10px 14px;box-shadow:none;}
html:root[data-theme].jp-workspace .chat-unified .chat-message header {gap:12px;margin-bottom:5px;}
html:root[data-theme].jp-workspace .chat-message-stamp {display:flex;gap:6px;align-items:center;color:var(--muted);font-size:10px;}
html:root[data-theme].jp-workspace .chat-unified .chat-message-actions {align-items:center;gap:3px;margin-top:2px;}
html:root[data-theme].jp-workspace .chat-unified .chat-message .btn.text {padding:5px 8px;font-size:11px;}
html:root[data-theme].jp-workspace .chat-message-menu {position:relative;}
html:root[data-theme].jp-workspace .chat-message-menu>summary {list-style:none;display:grid;place-items:center;min-height:44px;min-width:44px;cursor:pointer;border-radius:10px;font-size:24px;}
html:root[data-theme].jp-workspace .chat-message-menu>summary::-webkit-details-marker {display:none;}
html:root[data-theme].jp-workspace .chat-message-menu[open]>summary {background:var(--paper);}
html:root[data-theme].jp-workspace .chat-message-menu>div {position:absolute;bottom:100%;right:0;min-width:160px;padding:5px;display:grid;border:1px solid var(--line);border-radius:12px;background:var(--paper);box-shadow:0 8px 28px #0002;z-index:4;}
html:root[data-theme].jp-workspace .chat-unified .chat-composer {flex:none;padding:12px 16px;background:var(--paper);}
html:root[data-theme].jp-workspace .chat-unified .chat-composer textarea {background:var(--lumen-soft);border-radius:16px;margin-bottom:8px;}
html:root[data-theme].jp-workspace .chat-unified .chat-context-draft:empty {display:none;}
html:root[data-theme].jp-workspace .chat-unified .chat-context-draft {max-height:95px;overflow:auto;}
html:root[data-theme].jp-workspace .chat-unified .chat-compose-actions {justify-content:space-between;flex-wrap:nowrap;}
html:root[data-theme].jp-workspace .chat-unified .chat-compose-tools {display:flex;gap:4px;flex-wrap:wrap;}
html:root[data-theme].jp-workspace .chat-unified .chat-compose-tools .btn {font-size:12px;padding:7px 10px;}
html:root[data-theme].jp-workspace .chat-unified .chat-compose-submit {display:flex;gap:4px;}
html:root[data-theme].jp-workspace .review-hub-header {display:grid;grid-template-columns:minmax(0,1fr) auto;gap:0 12px;align-items:start;}
html:root[data-theme].jp-workspace .review-hub-header .review-hub-tabs {grid-column:1/-1;width:100%;}
html:root[data-theme].jp-workspace .review-hub-discuss {font-size:.8rem;}
@media(max-width:800px) {
 html:root[data-theme].jp-workspace .mobile-dock {grid-template-columns:repeat(3,minmax(0,1fr));}
 html:root[data-theme].jp-workspace .chat-unified .chat-history {padding:12px;}
 html:root[data-theme].jp-workspace .chat-unified .chat-message {max-width:94%;padding:9px 11px;}
 html:root[data-theme].jp-workspace .chat-unified .chat-current {padding:8px 12px;min-height:60px;}
 html:root[data-theme].jp-workspace .chat-unified .chat-composer {padding:8px 10px;}
 html:root[data-theme].jp-workspace .chat-unified .chat-compose-tools .btn {padding:6px 8px;font-size:11px;}
 html:root[data-theme].jp-workspace .chat-unified .chat-compose-submit .btn {padding:8px 12px;font-size:12px;}
 html:root[data-theme].jp-workspace .chat-unified .chat-current-heading strong {font-size:13px;}
 html:root[data-theme].jp-workspace .chat-unified .chat-room-avatar {width:34px;height:34px;border-radius:12px;}
 html:root[data-theme].jp-workspace .chat-unified .chat-context-shortcut {padding-inline:8px;}
}

html:root[data-theme].jp-workspace .chat-unified {position:relative;}
html:root[data-theme].jp-workspace .chat-unified .chat-header {position:absolute;right:12px;top:7px;width:44%;max-width:300px;z-index:1;border:0;padding:0;background:transparent;}
html:root[data-theme].jp-workspace .chat-unified .chat-header label {gap:2px;font-size:9px;}
html:root[data-theme].jp-workspace .chat-unified .chat-header select {padding:7px 10px;border-radius:10px;font-size:13px;min-height:38px;}
html:root[data-theme].jp-workspace .chat-unified:has(.chat-header:not([hidden])) .chat-current {padding-right:calc(44% + 24px);}
html:root[data-theme].jp-workspace .chat-unified:has(.chat-header:not([hidden])) :is(.chat-room-avatar,.chat-current-heading) {display:none;}
html:root[data-theme].jp-workspace .ready-viewer-actions .ready-viewer-discuss {flex:0 0 44px;min-width:44px;width:44px;padding:10px;}
html:root[data-theme].jp-workspace .ready-viewer-discuss svg {display:block;width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linejoin:round;}
@media(max-width:650px) {
 html:root[data-theme].jp-workspace .ready-viewer-actions>.btn {white-space:normal;font-size:.7rem;line-height:1.25;}
 html:root[data-theme].jp-workspace .chat-unified .chat-header select {font-size:16px;}
}

html:root[data-theme].jp-workspace .chat-shared-label {display:none;}
html:root[data-theme].jp-workspace .chat-unified:has(.chat-header:not([hidden])) .chat-shared-label {display:block;font-size:12px;color:var(--muted);line-height:1.4;}

html.ready-viewer-open {overflow-anchor:none;}

/* Review, approved use and conversation share one equally visible tab row. */
html:root[data-theme].jp-workspace .review-hub-tabs {max-width:680px;}
html:root[data-theme].jp-workspace .review-hub-tabs [data-hub-tab="chat"] {color:var(--blue);}
html:root[data-theme].jp-workspace .review-hub-tabs [data-hub-tab="chat"][aria-selected="true"] {background:var(--light-blue);border-color:var(--blue);}
html:root[data-theme].jp-workspace .chat-embedded .chat-current {display:none;}
html:root[data-theme].jp-workspace .chat-topic-switch {display:flex;flex:none;gap:6px;align-items:center;padding:6px 12px;border-bottom:1px solid var(--line);background:var(--paper);min-height:50px;}
html:root[data-theme].jp-workspace .chat-topic-switch label {display:flex;align-items:center;gap:8px;font-size:11px;flex:1;min-width:0;}
html:root[data-theme].jp-workspace .chat-topic-switch select {min-width:0;width:100%;max-width:360px;border:1px solid var(--line);border-radius:9px;padding:7px 10px;min-height:36px;color:var(--ink);background:var(--lumen-soft);font:inherit;font-size:13px;}
html:root[data-theme].jp-workspace .chat-drop-hint {display:block;color:var(--muted);font-size:10px;margin-bottom:5px;}
html:root[data-theme].jp-workspace .chat-composer.chat-drop-active {outline:3px solid var(--blue);outline-offset:-4px;background:var(--light-blue);}
html:root[data-theme].jp-workspace .chat-composer.chat-drop-active .chat-drop-hint {color:var(--blue);font-weight:700;}
html:root[data-theme].jp-workspace .chat-reference-row {display:flex;align-items:center;gap:4px;min-width:0;}
html:root[data-theme].jp-workspace .chat-reference-row>.chat-reference {flex:1;}
html:root[data-theme].jp-workspace .chat-reference .jp-file-symbol {flex:0 0 42px;width:42px;height:48px;}
html:root[data-theme].jp-workspace .chat-context-chip .jp-file-symbol {flex:0 0 22px;width:22px;height:25px;}
html:root[data-theme].jp-workspace .chat-context-chip .jp-file-symbol svg {width:20px;height:22px;}
html:root[data-theme].jp-workspace .chat-new-topic {width:min(480px,calc(100vw - 24px));max-height:90dvh;overflow:auto;border:1px solid var(--line);border-radius:16px;background:var(--paper);color:var(--ink);padding:20px;}
html:root[data-theme].jp-workspace .chat-new-topic form {display:grid;gap:14px;}
html:root[data-theme].jp-workspace .chat-unified .chat-compose-tools .btn {padding-inline:8px;}
html:root[data-theme].jp-workspace .chat-unified .chat-record-controls {background:var(--light-blue);border-radius:12px;padding:8px 10px;}
html:root[data-theme].jp-workspace .chat-unified .chat-record-controls:not([hidden]) {box-shadow:0 0 0 1px var(--blue);}
html:root[data-theme].jp-workspace .chat-topic-switch .btn {min-height:36px;}
@media(max-width:650px) {
 html:root[data-theme].jp-workspace .review-hub-tabs button {gap:5px;padding-inline:4px;font-size:.74rem;}
 html:root[data-theme].jp-workspace .chat-topic-switch label {font-size:0;gap:0;}
 html:root[data-theme].jp-workspace .chat-topic-switch select {font-size:16px;min-height:44px;}
 html:root[data-theme].jp-workspace .chat-unified .chat-compose-tools {gap:3px;}
 html:root[data-theme].jp-workspace .chat-unified .chat-compose-tools .btn {font-size:10px;padding-inline:6px;}
 html:root[data-theme].jp-workspace .chat-unified .chat-compose-submit .btn {font-size:11px;padding-inline:9px;}
}
@media(pointer:fine) {html:root[data-theme].jp-workspace [data-chat="lock-record"] {display:none;}}
@media(max-height:550px) {
 html:root[data-theme].jp-workspace .chat-unified .chat-topic-switch {padding-block:2px;min-height:44px;}
 html:root[data-theme].jp-workspace .chat-unified .chat-drop-hint {display:none;}
 html:root[data-theme].jp-workspace .chat-unified .chat-current {min-height:48px;padding-block:4px;}
 html:root[data-theme].jp-workspace .chat-unified .chat-composer {padding-block:6px;}
}

html:root[data-theme].jp-workspace .chat-file-preview {width:min(850px,calc(100vw - 24px));max-height:calc(100dvh - 24px);overflow:auto;background:var(--paper);color:var(--ink);border:1px solid var(--line);border-radius:16px;padding:18px;}
html:root[data-theme].jp-workspace .chat-file-preview .dialog-head h2 {min-width:0;overflow-wrap:anywhere;font-size:1rem;}
html:root[data-theme].jp-workspace .chat-file-preview-body {display:grid;gap:12px;}
html:root[data-theme].jp-workspace .chat-file-preview-body :is(img,video) {max-height:65dvh;max-width:100%;margin:auto;}
html:root[data-theme].jp-workspace .chat-file-preview-body iframe {width:100%;height:65dvh;border:0;}
html:root[data-theme].jp-workspace .chat-file-preview-body pre {white-space:pre-wrap;overflow-wrap:anywhere;}

/* Recording actions remain reachable; an explicit preview precedes sending. */
html:root[data-theme].jp-workspace .chat-unified.is-recording :is(.chat-compose-entry,.chat-compose-submit,.chat-drop-hint) {visibility:hidden;}
html:root[data-theme].jp-workspace .chat-unified.is-recording .chat-compose-tools [data-chat]:not([data-chat="record"]) {visibility:hidden;}
html:root[data-theme].jp-workspace .chat-unified .chat-voice-draft {margin:0 0 8px;max-height:180px;overflow:auto;}
html:root[data-theme].jp-workspace .chat-unified .chat-local-voice {width:min(360px,100%);max-width:100%;margin-left:auto;padding:8px 12px;}
html:root[data-theme].jp-workspace .chat-unified .chat-record-controls {margin:0;min-width:0;gap:6px;}
html:root[data-theme].jp-workspace .chat-record-controls .chat-record-wave {flex:1;min-width:40px;max-width:120px;}
html:root[data-theme].jp-workspace .chat-record-controls [data-chat-record-status] {flex:0 1 auto;}
html:root[data-theme].jp-workspace .chat-record-controls .btn {font-size:12px;padding:8px 10px;}
html:root[data-theme].jp-workspace .chat-wave-track {touch-action:pan-y;cursor:pointer;}
html:root[data-theme].jp-workspace .chat-wave-track input {pointer-events:none;}
@media(min-width:801px) and (pointer:fine) {
 html:root[data-theme].jp-workspace .chat-unified.is-recording .chat-record-controls {position:static;width:100%;padding:10px 12px;box-shadow:0 0 0 1px var(--blue);}
 html:root[data-theme].jp-workspace .chat-unified.is-recording .chat-composer {min-height:0;}
}
@media(max-width:650px) {
 html:root[data-theme].jp-workspace .chat-record-controls .chat-record-wave {display:none;}
 html:root[data-theme].jp-workspace .chat-record-controls .btn {font-size:11px;padding-inline:7px;}
 html:root[data-theme].jp-workspace .chat-unified .chat-local-voice header {font-size:10px;}
}

html:root[data-theme].jp-workspace .chat-unified.has-voice-draft :is(.chat-compose-tools,.chat-drop-hint,.chat-compose-entry textarea,.chat-local-voice footer) {display:none;}
html:root[data-theme].jp-workspace .chat-unified.has-voice-draft .chat-compose-entry {margin:0;}
html:root[data-theme].jp-workspace .chat-unified.has-voice-draft .chat-voice-draft {max-height:130px;}
html:root[data-theme].jp-workspace .ready-project {scroll-margin-top:18px;}

/* Unread messages are visible in the workspace where review work happens. */
html:root[data-theme].jp-workspace .hub-chat-signal {display:inline-flex;align-items:center;gap:3px;flex:none;border-radius:16px;padding:3px 6px;background:var(--blue);color:var(--paper);font-size:11px;line-height:1;}
html:root[data-theme].jp-workspace .hub-chat-signal[hidden],html:root[data-theme].jp-workspace .hub-chat-notice[hidden] {display:none;}
html:root[data-theme].jp-workspace .hub-chat-signal svg {width:13px;height:13px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linejoin:round;}
html:root[data-theme].jp-workspace .review-hub-tabs [data-hub-tab="chat"].has-unread {background:var(--light-blue);border-color:var(--blue);color:var(--ink);}
html:root[data-theme].jp-workspace .hub-chat-notice {grid-column:1/-1;display:flex;gap:12px;align-items:center;text-align:left;width:100%;max-width:900px;margin-top:12px;padding:14px;border:1px solid var(--blue);border-left:4px solid var(--blue);border-radius:12px;background:var(--light-blue);color:var(--ink);font:inherit;cursor:pointer;}
html:root[data-theme].jp-workspace .hub-chat-notice:focus-visible {outline:2px solid var(--blue);outline-offset:3px;}
html:root[data-theme].jp-workspace .hub-chat-avatar {display:grid;place-items:center;flex:0 0 40px;width:40px;height:40px;border-radius:12px;background:var(--paper);color:var(--blue);}
html:root[data-theme].jp-workspace .hub-chat-avatar svg {width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linejoin:round;}
html:root[data-theme].jp-workspace .hub-chat-notice-copy {min-width:0;flex:1;display:grid;gap:5px;}
html:root[data-theme].jp-workspace .hub-chat-notice-copy>strong {font-size:.82rem;}
html:root[data-theme].jp-workspace .hub-chat-preview {display:flex;gap:6px;min-width:0;font-size:.76rem;color:var(--muted);}
html:root[data-theme].jp-workspace .hub-chat-preview b {max-width:35%;flex:none;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;color:var(--ink);font-weight:600;}
html:root[data-theme].jp-workspace .hub-chat-preview>span {overflow:hidden;white-space:nowrap;text-overflow:ellipsis;}
html:root[data-theme].jp-workspace .hub-chat-open-label {flex:none;color:var(--blue);font-size:.76rem;font-weight:600;}
html:root[data-theme].jp-workspace .nav-chat-count {display:inline-grid;place-items:center;background:var(--blue);color:var(--paper);font-size:10px;line-height:1;min-width:19px;height:19px;border-radius:12px;padding:0 5px;margin-left:auto;}
html:root[data-theme].jp-workspace .account-password {font-size:11px;padding:7px 8px;min-height:34px;color:var(--muted);}
@media(max-width:650px){
 html:root[data-theme].jp-workspace .hub-chat-notice {gap:9px;padding:11px;}
 html:root[data-theme].jp-workspace .hub-chat-avatar {flex-basis:32px;width:32px;height:32px;border-radius:10px;}
 html:root[data-theme].jp-workspace .hub-chat-open-label {font-size:0;}
 html:root[data-theme].jp-workspace .hub-chat-open-label>span {font-size:20px;}
 html:root[data-theme].jp-workspace .hub-chat-preview {display:grid;gap:3px;}
 html:root[data-theme].jp-workspace .hub-chat-preview b {max-width:100%;font-size:10px;}
 html:root[data-theme].jp-workspace .hub-chat-signal {gap:2px;padding:3px 4px;font-size:10px;}
 html:root[data-theme].jp-workspace .hub-chat-signal svg {width:11px;height:11px;}
 html:root[data-theme].jp-workspace .mobile-dock .nav-chat-count {position:absolute;top:4px;left:calc(50% + 7px);margin:0;}
 html:root[data-theme].jp-workspace .mobile-dock [data-view="chat"] {position:relative;}
}

/* Desktop conversation peek: quick context without acknowledging messages. */
html:root[data-theme].jp-workspace .review-hub-header {position:relative;}
html:root[data-theme].jp-workspace .hub-chat-peek {position:absolute;z-index:60;display:flex;flex-direction:column;gap:10px;padding:12px;border:1px solid var(--line);border-radius:14px;background:var(--paper);color:var(--ink);box-shadow:0 12px 34px #0003;min-height:0;overflow:hidden;}
html:root[data-theme].jp-workspace .hub-chat-peek[hidden] {display:none;}
html:root[data-theme].jp-workspace .hub-chat-peek-head {display:flex;align-items:center;justify-content:space-between;gap:12px;flex:none;}
html:root[data-theme].jp-workspace .hub-chat-peek-head>strong {font-size:.84rem;}
html:root[data-theme].jp-workspace .hub-chat-peek-head .review-button {min-height:28px;width:28px;padding:2px;font-size:20px;}
html:root[data-theme].jp-workspace .hub-chat-peek-body {display:grid;gap:8px;min-height:0;overflow:auto;overscroll-behavior:contain;}
html:root[data-theme].jp-workspace .hub-chat-peek-message {border:1px solid var(--line);border-radius:10px;padding:9px 10px;background:var(--lumen-soft);min-width:0;}
html:root[data-theme].jp-workspace .hub-chat-peek-message.mine {background:var(--light-blue);}
html:root[data-theme].jp-workspace .hub-chat-peek-message header {display:flex;justify-content:space-between;gap:12px;align-items:center;font-size:10px;}
html:root[data-theme].jp-workspace .hub-chat-peek-message header strong {min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
html:root[data-theme].jp-workspace .hub-chat-peek-message time {color:var(--muted);flex:none;}
html:root[data-theme].jp-workspace .hub-chat-peek-message p {margin:5px 0 0;font-size:12px;line-height:1.45;overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;}
html:root[data-theme].jp-workspace .hub-chat-peek-message small {display:block;font-size:10px;color:var(--muted);margin-top:4px;}
html:root[data-theme].jp-workspace .hub-chat-peek>.review-button {flex:none;font-size:12px;min-height:36px;}
html:root[data-theme].jp-workspace .hub-chat-peek-empty {font-size:12px;color:var(--muted);margin:4px;}
@media(prefers-reduced-motion:no-preference){
 html:root[data-theme].jp-workspace .hub-chat-peek:not([hidden]) {animation:hub-chat-peek-in .16s ease-out;}
 html:root[data-theme].jp-workspace .hub-chat-signal:not([hidden]) {animation:hub-chat-waiting 4s ease-in-out infinite;}
 html:root[data-theme].jp-workspace .nav-chat-count {animation:hub-chat-waiting 5s ease-in-out infinite;}
}
@keyframes hub-chat-peek-in {from{opacity:0;transform:translateY(-5px)}to{opacity:1;transform:translateY(0)}}
@keyframes hub-chat-waiting {0%,70%,100%{box-shadow:0 0 0 0 transparent}35%{box-shadow:0 0 0 4px color-mix(in srgb,var(--blue) 22%,transparent)}}
@media(hover:none),(pointer:coarse){html:root[data-theme].jp-workspace .hub-chat-peek {display:none;}}

/* Visible unread signal also when the OS requests reduced spatial motion. */
html:root[data-theme].jp-workspace .nav-chat-unread>.icon {color:var(--blue);animation:jp-chat-icon-light 3s ease-in-out infinite;}
html:root[data-theme].jp-workspace :is(.nav-chat-count,.hub-chat-signal:not([hidden])) {animation:jp-chat-count-light 3s ease-in-out infinite;}
@keyframes jp-chat-icon-light {0%,100%{opacity:1;filter:brightness(1)}50%{opacity:.45;filter:brightness(1.45)}}
@keyframes jp-chat-count-light {0%,100%{opacity:1;filter:brightness(1)}50%{opacity:.78;filter:brightness(1.35)}}
html:root[data-theme].jp-workspace .live-navigation-peek {position:fixed;z-index:82;}
html:root[data-theme].jp-workspace .live-navigation-peek .hub-chat-peek-head small {display:block;margin-top:3px;color:var(--muted);font-size:10px;}
html:root[data-theme].jp-workspace .live-navigation-peek .hub-chat-peek-head .btn {min-height:28px;width:28px;padding:2px;font-size:20px;}
html:root[data-theme].jp-workspace .live-navigation-peek>.btn {flex:none;font-size:12px;min-height:36px;}

/* Explicit requested message motion: transform-only bursts, no layout or server work. */
html:root[data-theme].jp-workspace :is(.hub-chat-notice:not([hidden]) .hub-chat-avatar svg,.hub-chat-signal:not([hidden]) svg) {animation:jp-message-attention 2.8s ease-in-out infinite;animation-duration:2.8s!important;animation-iteration-count:infinite!important;transform-origin:50% 70%;}
@keyframes jp-message-attention {
 0%,46%,100% {transform:translateY(0) rotate(0deg) scale(1);}
 6% {transform:translateY(-6px) rotate(-18deg) scale(1.13);}
 12% {transform:translateY(-3px) rotate(18deg) scale(1.13);}
 18% {transform:translateY(-7px) rotate(-16deg) scale(1.13);}
 24% {transform:translateY(-2px) rotate(16deg) scale(1.13);}
 31% {transform:translateY(-5px) rotate(-10deg) scale(1.08);}
 38% {transform:translateY(0) rotate(8deg) scale(1.04);}
}
html:root[data-theme].jp-workspace .hub-chat-signal:not([hidden]) {animation:none;}

/* Identical platform rows across screen sizes. */
html:root[data-theme].jp-workspace .portal-entry-sections {grid-template-columns:minmax(0,1fr);}
html:root[data-theme].jp-workspace .platform-zone .portal-entry-grid {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));}
html:root[data-theme].jp-workspace .chat-unified .chat-compose-tools .btn {display:inline-flex;align-items:center;justify-content:center;gap:6px;border-radius:11px;min-height:44px;white-space:nowrap;}
html:root[data-theme].jp-workspace .chat-compose-tools svg {width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex:none;pointer-events:none;}
html:root[data-theme].jp-workspace .chat-compose-tools [data-chat="attach"] {background:var(--light-blue);color:var(--blue);}
html:root[data-theme].jp-workspace .chat-compose-tools [data-chat="references"] {background:var(--lumen-soft);color:var(--ink);}
html:root[data-theme].jp-workspace .chat-compose-tools [data-chat="record"] {background:color-mix(in srgb,#b73547 9%,var(--paper));border-color:color-mix(in srgb,#b73547 25%,var(--line));color:#b73547;min-width:102px;touch-action:none;}
html:root[data-theme].jp-workspace .chat-unified.is-recording [data-chat="record"] {background:#b73547;color:white;}
html:root[data-theme].jp-workspace .chat-unified .chat-composer {position:relative;}
html:root[data-theme].jp-workspace .chat-unified.is-recording .chat-record-controls {position:absolute;left:10px;right:10px;bottom:64px;z-index:2;margin:0;min-height:44px;}
html:root[data-theme].jp-workspace .chat-conversation-empty {padding:18px;font-size:13px;}
html:root[data-theme].jp-workspace .review-chat-nav {display:none;}
html:root[data-theme].jp-workspace .ready-project>summary {position:relative;isolation:isolate;}
html:root[data-theme].jp-workspace .ready-project>summary::before {content:"";position:absolute;inset:0 auto 0 0;width:var(--ready-used,0%);background:linear-gradient(90deg,transparent,color-mix(in srgb,#248456 13%,transparent));pointer-events:none;z-index:-1;}
html:root[data-theme].jp-workspace .ready-project-status {display:flex;gap:4px;align-items:center;flex-wrap:wrap;max-width:240px;}
html:root[data-theme].jp-workspace .ready-count-available {color:var(--blue);}
html:root[data-theme].jp-workspace .ready-count-used {color:color-mix(in srgb,#248456 80%,var(--ink));}
html:root[data-theme].jp-workspace .ready-usage-track {display:block;flex-basis:100%;height:3px;border-radius:3px;background:var(--line);overflow:hidden;}
html:root[data-theme].jp-workspace .ready-usage-track>span {display:block;width:var(--ready-used,0%);height:100%;background:#408b64;border-radius:inherit;}
html:root[data-theme].jp-workspace .ready-collapse {display:block;min-height:40px;margin:12px auto 0;padding:6px 18px;border:0;border-radius:9px;background:var(--lumen-soft);color:var(--muted);font:inherit;font-size:12px;cursor:pointer;}
@media(max-width:800px) {
 html:root[data-theme].jp-workspace .review-hub-header.is-chat {display:block;margin-bottom:6px;}
 html:root[data-theme].jp-workspace .review-hub-header.is-chat .review-hub-title {display:none;}
 html:root[data-theme].jp-workspace .review-hub-header.is-chat .review-chat-nav {display:block;position:relative;width:max-content;z-index:6;}
 html:root[data-theme].jp-workspace .review-chat-nav>summary {display:flex;align-items:center;min-height:36px;padding:4px 10px;list-style:none;font-size:12px;color:var(--blue);border-radius:9px;cursor:pointer;}
 html:root[data-theme].jp-workspace .review-chat-nav>summary::-webkit-details-marker {display:none;}
 html:root[data-theme].jp-workspace .review-chat-nav>div {position:absolute;top:100%;left:0;min-width:180px;padding:5px;display:grid;background:var(--paper);border:1px solid var(--line);border-radius:11px;box-shadow:0 6px 18px #0002;}
 html:root[data-theme].jp-workspace .review-chat-nav button {min-height:44px;padding:8px 12px;border:0;background:transparent;color:var(--ink);text-align:left;font:inherit;font-size:13px;cursor:pointer;}
 html:root[data-theme].jp-workspace .chat-drop-hint {display:none;}
 html:root[data-theme].jp-workspace .chat-unified .chat-compose-tools {flex-wrap:nowrap;gap:4px;}
 html:root[data-theme].jp-workspace .chat-unified .chat-compose-tools .btn {padding:6px 7px;font-size:11px;gap:4px;}
 html:root[data-theme].jp-workspace .chat-compose-tools [data-chat="record"] {min-width:94px;}
 html:root[data-theme].jp-workspace .chat-unified .chat-compose-submit .btn {padding:7px 9px;}
 html:root[data-theme].jp-workspace .ready-project-status {max-width:100%;}
}
@media(hover:none),(pointer:coarse) {html:root[data-theme].jp-workspace .chat-drop-hint {display:none;}}

@media(max-width:370px){
 html:root[data-theme].jp-workspace .chat-compose-tools [data-chat="references"] {width:44px;min-width:44px;padding:6px;}
 html:root[data-theme].jp-workspace .chat-compose-tools [data-chat="references"] span {display:none;}
 html:root[data-theme].jp-workspace .chat-unified .chat-compose-submit [data-chat="send"] {font-size:0;width:44px;min-width:44px;padding:8px;}
 html:root[data-theme].jp-workspace .chat-compose-submit [data-chat="send"]::after {content:"↑";font-size:20px;}
}
/* Direct return and gesture-only lock indication. */
html:root[data-theme].jp-workspace button.review-chat-nav {border:1px solid var(--line);background:var(--paper);color:var(--blue);font:inherit;font-size:12px;min-height:36px;padding:5px 11px;border-radius:9px;cursor:pointer;}
html:root[data-theme].jp-workspace .chat-lock-hint {position:absolute;left:var(--chat-lock-x,78%);bottom:64px;transform:translateX(-50%);width:66px;height:100px;display:flex;flex-direction:column;align-items:center;justify-content:space-between;padding:5px;border:1px solid var(--line);border-radius:28px;background:var(--paper);color:var(--blue);pointer-events:none;z-index:4;}
html:root[data-theme].jp-workspace .chat-lock-hint[hidden] {display:none;}
html:root[data-theme].jp-workspace .chat-lock-arrow {font-size:20px;line-height:20px;}
html:root[data-theme].jp-workspace .chat-lock-hint small {font-size:9px;white-space:nowrap;}
html:root[data-theme].jp-workspace .chat-lock-track {position:relative;width:30px;height:52px;border:1px dashed var(--line);border-radius:20px;}
html:root[data-theme].jp-workspace .chat-lock-puck {position:absolute;bottom:0;left:0;display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:var(--light-blue);transform:translateY(calc(var(--lock-progress,0) * var(--lock-travel,-24px)));}
html:root[data-theme].jp-workspace .chat-lock-puck svg {width:18px;height:18px;stroke:currentColor;stroke-width:1.8;fill:none;}
html:root[data-theme].jp-workspace .chat-unified.is-holding .chat-compose-entry {visibility:visible;opacity:0;pointer-events:none;}
html:root[data-theme].jp-workspace .chat-unified.is-holding .chat-record-controls {right:calc(100% - var(--chat-lock-x,78%) + 42px);}
html:root[data-theme].jp-workspace .chat-unified.is-holding .chat-record-controls button {display:none;}
html:root[data-theme].jp-workspace .chat-unified .chat-record-controls {transform:none;animation:none;transition:none;}
@media(max-width:800px){html:root[data-theme].jp-workspace .review-hub-header.is-chat button.review-chat-nav {display:inline-flex;align-items:center;position:relative;width:max-content;}}
/* Pin the chat chrome to the currently visible browser area, not a guessed screen height. */
@media(max-width:760px){
 html:root[data-theme].jp-workspace.jp-mobile-chat {overflow:hidden;overscroll-behavior:none;}
 html:root[data-theme].jp-workspace.jp-mobile-chat body {overflow:hidden;overscroll-behavior:none;}
 html:root[data-theme].jp-workspace.jp-mobile-chat .main {position:fixed;inset:auto 0 auto;top:var(--chat-vv-top,0px);height:calc(var(--chat-vv-height,100dvh) - var(--chat-dock-height,64px));min-height:0;margin:0;display:flex;flex-direction:column;overflow:hidden;}
 html:root[data-theme].jp-workspace.jp-mobile-chat .main>.topbar {position:relative;top:auto;flex:none;height:calc(48px + env(safe-area-inset-top));min-height:calc(48px + env(safe-area-inset-top));margin:0;padding:env(safe-area-inset-top) calc(10px + env(safe-area-inset-right)) 0 calc(10px + env(safe-area-inset-left));z-index:30;}
 html:root[data-theme].jp-workspace.jp-mobile-chat .topbar .mobile-menu {display:grid;visibility:visible;flex:none;}
 html:root[data-theme].jp-workspace.jp-mobile-chat .mobile-path:not([hidden]) {position:relative;top:auto;flex:none;min-height:34px;height:34px;margin:0;padding:3px calc(10px + env(safe-area-inset-right)) 3px calc(10px + env(safe-area-inset-left));white-space:nowrap;overflow-x:auto;overflow-y:hidden;backdrop-filter:none;}
 html:root[data-theme].jp-workspace.jp-mobile-chat .content {display:flex;flex-direction:column;flex:1;min-height:0;max-width:none;width:100%;margin:0;padding:5px calc(10px + env(safe-area-inset-right)) 8px calc(10px + env(safe-area-inset-left));overflow:hidden;}
 html:root[data-theme].jp-workspace.jp-mobile-chat .review-hub-header {flex:none;}
 html:root[data-theme].jp-workspace.jp-mobile-chat .review-hub-panel {display:flex;flex-direction:column;flex:1;min-height:0;overflow:hidden;}
 html:root[data-theme].jp-workspace.jp-mobile-chat .chat-unified {flex:1;height:auto;min-height:0;max-height:100%;width:100%;}
 html:root[data-theme].jp-workspace.jp-mobile-chat .chat-unified .chat-history {min-height:0;}
 html:root[data-theme].jp-workspace.jp-mobile-chat .chat-unified .chat-composer {padding-bottom:8px;}
 html:root[data-theme].jp-workspace.jp-mobile-chat .mobile-dock {top:calc(var(--chat-vv-top,0px) + var(--chat-vv-height,100dvh) - var(--chat-dock-height,64px));bottom:auto;}
 html:root[data-theme].jp-workspace.jp-mobile-chat.jp-chat-keyboard .mobile-dock {display:none;}
 html:root[data-theme].jp-workspace.jp-mobile-chat .sidebar {top:var(--chat-vv-top,0px);bottom:auto;height:var(--chat-vv-height,100dvh);padding-top:calc(12px + env(safe-area-inset-top));padding-bottom:calc(12px + env(safe-area-inset-bottom));}
 html:root[data-theme].jp-workspace.jp-mobile-chat .mobile-shade {top:var(--chat-vv-top,0px);bottom:auto;height:var(--chat-vv-height,100dvh);}
}

@media(max-width:760px){
 html:root[data-theme].jp-workspace.jp-mobile-chat .mobile-path:empty {display:none;}
 html:root[data-theme].jp-workspace.jp-mobile-chat .chat-page-heading {display:none;}
 html:root[data-theme].jp-workspace.jp-mobile-chat.jp-chat-tight .mobile-dock {display:none;}
 html:root[data-theme].jp-workspace.jp-mobile-chat.jp-chat-tight .main>.topbar {height:calc(44px + env(safe-area-inset-top));min-height:calc(44px + env(safe-area-inset-top));}
 html:root[data-theme].jp-workspace.jp-mobile-chat.jp-chat-tight .mobile-path:not([hidden]) {height:28px;min-height:28px;padding-block:0;}
 html:root[data-theme].jp-workspace.jp-mobile-chat.jp-chat-tight button.review-chat-nav {min-height:32px;padding-block:3px;}
 html:root[data-theme].jp-workspace.jp-mobile-chat.jp-chat-tight .chat-unified .chat-composer {padding:5px 8px;}
 html:root[data-theme].jp-workspace.jp-mobile-chat.jp-chat-tight .chat-unified textarea {min-height:36px;padding:8px 10px;}
 html:root[data-theme].jp-workspace.jp-mobile-chat.jp-chat-tight .chat-current {min-height:32px;padding-block:3px;}
 html:root[data-theme].jp-workspace.jp-mobile-chat.jp-chat-tight .chat-lock-hint {height:76px;--lock-travel:-8px;}
 html:root[data-theme].jp-workspace.jp-mobile-chat.jp-chat-tight .chat-lock-track {height:36px;}
}

/* One brief orientation cue after closing a content panel, on desktop and mobile. */
html:root[data-theme].jp-workspace #content .jp-collapse-confirm {
 position:relative;border-radius:10px;isolation:isolate;
}
html:root[data-theme].jp-workspace #content .jp-collapse-confirm::after {
 content:"";position:absolute;inset:0;pointer-events:none;border-radius:inherit;z-index:3;
 background:color-mix(in srgb,var(--blue) 9%,transparent);
 box-shadow:inset 0 0 0 2px var(--blue),0 0 0 4px color-mix(in srgb,var(--blue) 18%,transparent);
 opacity:0;animation:jp-orientation-pulse 3.6s ease-in-out 1;
}
@keyframes jp-orientation-pulse {
 0%,100% {opacity:0;}
 22%,58% {opacity:.78;}
 40%,74% {opacity:.55;}
}
html:root[data-theme].jp-workspace .ready-video {cursor:pointer;}
html:root[data-theme].jp-workspace .ready-project {scroll-margin-top:86px;}
/* Explicitly requested gentle opacity cue: override only this cue, never global motion preferences. */
@media(prefers-reduced-motion:reduce){html:root[data-theme].jp-workspace #content .jp-collapse-confirm::after{animation:jp-orientation-pulse 3.6s ease-in-out 1!important;}}

/* Project-linked conversation notes share existing protected files, without copying. */
html:root[data-theme].jp-workspace .review-project-conversation {height:100%;max-height:100%;min-height:0;overflow:auto;overscroll-behavior:contain;}
html:root[data-theme].jp-workspace .review-project-message-list {display:grid;gap:12px;margin-top:14px;}
html:root[data-theme].jp-workspace .review-project-message {min-width:0;padding:14px;border:1px solid var(--line);border-radius:12px;background:var(--lumen-soft);overflow-wrap:anywhere;}
html:root[data-theme].jp-workspace .review-project-message header {display:flex;align-items:baseline;justify-content:space-between;gap:8px;flex-wrap:wrap;}
html:root[data-theme].jp-workspace .review-project-message header time {font-size:.72rem;color:var(--muted);}
html:root[data-theme].jp-workspace .review-project-message p {white-space:pre-wrap;line-height:1.55;}
html:root[data-theme].jp-workspace .review-project-message audio {display:block;width:100%;max-width:100%;min-width:0;margin-top:10px;}
html:root[data-theme].jp-workspace .review-project-message-file {display:flex;align-items:center;gap:8px;min-width:0;margin-top:9px;}
html:root[data-theme].jp-workspace .review-project-message-file>.file-symbol {flex:none;}
html:root[data-theme].jp-workspace .review-project-message-file>button {flex:1;min-width:0;overflow-wrap:anywhere;}
@media(max-width:760px){html:root[data-theme].jp-workspace .review-project-conversation>.review-subhead {align-items:stretch;flex-direction:column;gap:8px;}html:root[data-theme].jp-workspace .review-project-message {padding:11px;}}
/* A single tempo control on voice messages and project-linked audio. */
html:root[data-theme].jp-workspace .jp-audio-tempo {min-width:52px;min-height:34px;padding:5px 7px;border:1px solid var(--line);border-radius:9px;background:var(--light-blue);color:var(--blue);font:inherit;font-size:.74rem;font-weight:750;white-space:nowrap;cursor:pointer;}
html:root[data-theme].jp-workspace .chat-player {grid-template-columns:36px minmax(0,1fr) auto auto;gap:6px;}
html:root[data-theme].jp-workspace .jp-audio-tempo-wrap {display:grid;grid-template-columns:minmax(0,1fr) auto;gap:7px;align-items:center;min-width:0;}
html:root[data-theme].jp-workspace .jp-audio-tempo-wrap>audio {min-width:0;width:100%;margin:0;}
/* Keep the pre-existing optional audio tools on their own row. */
html:root[data-theme].jp-workspace .jp-audio-tempo-wrap>audio {grid-column:1;grid-row:1;}
html:root[data-theme].jp-workspace .jp-audio-tempo-wrap>.jp-audio-tempo {grid-column:2;grid-row:1;}
html:root[data-theme].jp-workspace .jp-audio-tempo-wrap>.audio-tools {grid-column:1/-1;grid-row:2;}

/* Review completion makes the current files available, independently of open notes. */
.ready-change-note{display:inline-flex;align-items:center;width:fit-content;max-width:100%;padding:.22rem .48rem;border:1px solid rgba(218,157,39,.4);border-radius:6px;background:rgba(218,157,39,.14);color:var(--text);font-size:.72rem;line-height:1.3;font-weight:600;white-space:normal;overflow-wrap:anywhere}
.ready-info .ready-change-note{margin:.1rem 0 .45rem}
.review-finish-download-panel{min-width:0}
.review-finish-download-panel .review-download-list{max-height:min(42dvh,340px);overflow-y:auto;overflow-x:hidden;overscroll-behavior-y:contain;scrollbar-gutter:stable;min-width:0;padding-right:.3rem}
.review-finish-download-panel .review-download-list>label{min-width:0}
.review-finish-download-panel .review-download-list>label>span{min-width:0;overflow-wrap:anywhere}
.review-finish-options h3{font-size:.88rem;margin:0 0 .5rem}
@media(max-width:760px){.review-finish-download-panel .review-download-list{max-height:min(32dvh,260px)}.review-finish-download-panel .review-finish-downloads{padding:.65rem}.review-finish-options{padding:.65rem}}
/* Format-aware video windows: keep controls readable and the picture prominent. */
html:root[data-theme].jp-workspace dialog.ready-viewer {width:min(1440px,calc(100vw - 24px));height:calc(100dvh - 24px - env(safe-area-inset-top) - env(safe-area-inset-bottom));max-height:calc(100dvh - 24px - env(safe-area-inset-top) - env(safe-area-inset-bottom));}
html:root[data-theme].jp-workspace .ready-viewer-body {display:flex;flex:1;flex-direction:column;min-width:0;min-height:0;overflow:hidden;}
html:root[data-theme].jp-workspace .ready-viewer-media {min-width:0;min-height:0;}
html:root[data-theme].jp-workspace .ready-viewer-stage {min-width:0;overflow:hidden;}
html:root[data-theme].jp-workspace .ready-viewer-stage video {display:block;max-height:100%;}
html:root[data-theme].jp-workspace .ready-viewer-navigation {flex:none;min-height:52px;justify-content:center;padding:7px 12px;background:var(--paper);color:var(--ink);border-top:1px solid var(--line);}
html:root[data-theme].jp-workspace .ready-viewer-tools {flex:none;min-width:0;padding:12px;background:var(--paper);border-top:1px solid var(--line);overflow-y:auto;overscroll-behavior:contain;}
html:root[data-theme].jp-workspace .ready-viewer-settings {min-width:0;}
html:root[data-theme].jp-workspace .ready-viewer-settings>.jp-video-speed {padding:0 0 8px;border:0;background:transparent;}
html:root[data-theme].jp-workspace .ready-viewer-actions {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;width:auto;min-width:0;}
html:root[data-theme].jp-workspace .ready-viewer-actions :is(.ready-change-note,.ready-viewer-usage) {grid-column:1/-1;width:auto;min-width:0;max-width:100%;white-space:normal;overflow-wrap:normal;word-break:normal;line-height:1.45;}
html:root[data-theme].jp-workspace .ready-viewer-actions .ready-change-note {padding:8px 10px;}
html:root[data-theme].jp-workspace .ready-viewer-actions .btn {width:100%;min-width:0;min-height:44px;padding:10px;white-space:normal;line-height:1.3;font-size:.8rem;}
html:root[data-theme].jp-workspace .ready-viewer-actions .ready-viewer-discuss {grid-column:1/-1;width:100%;max-width:none;flex:initial;order:1;}
html:root[data-theme].jp-workspace .ready-viewer-discuss svg {flex:none;}
html:root[data-theme].jp-workspace .jp-preview-layout {min-width:0;display:grid;gap:0;}
html:root[data-theme].jp-workspace .jp-preview-media {min-width:0;display:flex;align-items:center;justify-content:center;background:#0b0a10;border-radius:12px;overflow:hidden;}
html:root[data-theme].jp-workspace .jp-preview-media>video {display:block;width:100%;height:auto;max-width:100%;max-height:60dvh;object-fit:contain;margin:0;border-radius:0;background:#0b0a10;}
html:root[data-theme].jp-workspace .jp-preview-tools {min-width:0;display:grid;align-content:start;gap:12px;padding:14px 0;overflow-y:auto;overscroll-behavior:contain;}
html:root[data-theme].jp-workspace .jp-preview-tools :is(.actions,.clip-preview-actions) {display:grid;gap:8px;margin:0;padding:0;}
html:root[data-theme].jp-workspace .jp-preview-tools .btn {min-width:0;white-space:normal;}
html:root[data-theme].jp-workspace .jp-preview-tools p {margin:0;overflow-wrap:anywhere;}
html:root[data-theme].jp-workspace .jp-preview-settings>.jp-video-speed {padding:0;border:0;background:transparent;}
@media(min-width:900px) {
 html:root[data-theme].jp-workspace dialog.ready-viewer {--jp-picture-height:min(calc(100dvh - 160px),calc(min(1198px,100vw - 292px)/var(--jp-video-aspect,1.777778)));width:min(1440px,calc(100vw - 32px),calc(var(--jp-picture-height)*var(--jp-video-aspect,1.777778) + 242px));height:fit-content;max-height:calc(100dvh - 32px);}
 html:root[data-theme].jp-workspace .ready-viewer-heading {padding:12px 16px;}
 html:root[data-theme].jp-workspace .ready-viewer-body {display:grid;grid-template-columns:minmax(0,1fr) 240px;flex:none;}
 html:root[data-theme].jp-workspace .ready-viewer-media {display:flex;flex-direction:column;}
 html:root[data-theme].jp-workspace .ready-viewer-stage {flex:none;height:var(--jp-picture-height);}
 html:root[data-theme].jp-workspace .ready-viewer-tools {border-top:0;border-left:1px solid var(--line);padding:18px;max-height:calc(var(--jp-picture-height) + 52px);}
 html:root[data-theme].jp-workspace .ready-viewer-actions {grid-template-columns:minmax(0,1fr);gap:10px;margin-top:16px;}
 html:root[data-theme].jp-workspace .ready-viewer-actions .ready-viewer-discuss {order:0;}
 html:root[data-theme].jp-workspace dialog.jp-video-dialog:not(.ready-viewer):has(.jp-preview-layout,.review-preview-content>video) {--jp-picture-height:min(calc(100dvh - 240px),calc(min(1198px,100vw - 340px)/var(--jp-video-aspect,1.777778)));width:min(1480px,calc(100vw - 32px),calc(var(--jp-picture-height)*var(--jp-video-aspect,1.777778) + 296px));max-width:none;}
 html:root[data-theme].jp-workspace .jp-preview-layout {grid-template-columns:minmax(0,1fr) 240px;align-items:start;}
 html:root[data-theme].jp-workspace .jp-preview-media {height:var(--jp-picture-height);}
 html:root[data-theme].jp-workspace .jp-preview-media>video {width:100%;height:100%;max-height:none;}
 html:root[data-theme].jp-workspace .jp-preview-tools {max-height:var(--jp-picture-height);padding:0 0 0 18px;}
 html:root[data-theme].jp-workspace #dialog:has(.jp-preview-layout) :is(.dialog-desc,.dialog-actions) {margin-block:8px;}
 html:root[data-theme].jp-workspace .review-dialog.jp-video-dialog:has(.review-preview-content>video)[open] {display:grid;grid-template-columns:minmax(0,1fr) 240px;grid-template-rows:auto minmax(0,1fr);}
 html:root[data-theme].jp-workspace .review-dialog.jp-video-dialog .review-preview-dialog-head {grid-column:1/-1;}
 html:root[data-theme].jp-workspace .review-dialog.jp-video-dialog .review-preview-content:has(>video) {height:var(--jp-picture-height);min-height:0;max-height:none;padding:0;overflow:hidden;background:#0b0a10;}
 html:root[data-theme].jp-workspace .review-dialog.jp-video-dialog .review-preview-content>video {width:100%;height:100%;max-height:none;border-radius:0;object-fit:contain;}
 html:root[data-theme].jp-workspace .review-dialog.jp-video-dialog .review-preview-download {display:flex;flex-direction:column;align-items:stretch;gap:14px;min-width:0;padding:18px;max-height:var(--jp-picture-height);overflow:auto;}
 html:root[data-theme].jp-workspace .review-dialog.jp-video-dialog .review-preview-download>.jp-video-speed {padding:0;border:0;}
}
@media(max-width:899px) {
 html:root[data-theme].jp-workspace .ready-viewer-heading {padding:10px 12px;}
 html:root[data-theme].jp-workspace .ready-viewer-heading h2 {-webkit-line-clamp:2;}
 html:root[data-theme].jp-workspace .ready-viewer-tools {padding:8px 12px calc(8px + env(safe-area-inset-bottom));max-height:42%;}
 html:root[data-theme].jp-workspace .ready-viewer-settings>.jp-video-speed {min-height:36px;}
 html:root[data-theme].jp-workspace dialog.jp-video-dialog:has(.jp-preview-layout) {width:calc(100vw - 16px);padding:12px;}
 html:root[data-theme].jp-workspace .jp-preview-media>video {max-height:55dvh;}
}

@media(max-width:899px) {
 html:root[data-theme].jp-workspace dialog.ready-viewer:not(.ready-viewer-portrait) {height:fit-content;}
 html:root[data-theme].jp-workspace .ready-viewer:not(.ready-viewer-portrait) .ready-viewer-body {flex:none;}
 html:root[data-theme].jp-workspace .ready-viewer:not(.ready-viewer-portrait) .ready-viewer-media {flex:none;}
 html:root[data-theme].jp-workspace .ready-viewer:not(.ready-viewer-portrait) .ready-viewer-stage {flex:none;aspect-ratio:var(--jp-video-aspect,1.777778);height:auto;max-height:56dvh;}
 html:root[data-theme].jp-workspace .ready-viewer:not(.ready-viewer-portrait) .ready-viewer-tools {max-height:min(42dvh,300px);}
}
html:root[data-theme].jp-workspace :is(.jp-preview-media,.review-dialog.jp-video-dialog .review-preview-content)>video {min-width:0;min-height:0;}
html:root[data-theme].jp-workspace .review-correction-entry {display:flex;align-items:center;justify-content:space-between;gap:14px;padding:14px 16px;margin-bottom:12px;border:1px solid var(--lumen-border-strong);border-radius:12px;background:var(--lumen-soft);}
html:root[data-theme].jp-workspace .review-correction-entry>div:first-child {display:grid;gap:4px;min-width:0;}
html:root[data-theme].jp-workspace .review-correction-entry small {color:var(--muted);font-size:.76rem;}
html:root[data-theme].jp-workspace .review-correction-entry>div:last-child {display:flex;gap:8px;flex-wrap:wrap;}
html:root[data-theme].jp-workspace dialog.review-correction-dialog {width:min(920px,calc(100vw - 24px));max-width:none;max-height:calc(100dvh - 24px - env(safe-area-inset-top) - env(safe-area-inset-bottom));padding:20px;overflow:auto;overscroll-behavior:contain;}
html:root[data-theme].jp-workspace .review-correction-dialog>header {display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:14px;}
html:root[data-theme].jp-workspace .review-correction-dialog h2 {font-size:1.15rem;margin:0 0 5px;}
html:root[data-theme].jp-workspace .review-correction-dialog p {font-size:.83rem;line-height:1.5;margin:8px 0 14px;overflow-wrap:anywhere;}
html:root[data-theme].jp-workspace .review-correction-dialog header p {color:var(--muted);margin:0;}
html:root[data-theme].jp-workspace .review-correction-drop {padding:14px;margin-top:10px;border:1px dashed var(--line);border-radius:9px;text-align:center;font-size:.8rem;color:var(--muted);}
html:root[data-theme].jp-workspace .review-correction-drop.is-dragging {background:var(--lumen-soft);outline:3px solid var(--blue);color:var(--ink);}
html:root[data-theme].jp-workspace .review-correction-consent {display:flex;align-items:flex-start;gap:9px;font-size:.82rem;line-height:1.45;}
html:root[data-theme].jp-workspace .review-correction-consent input {width:18px;height:18px;flex:none;}
html:root[data-theme].jp-workspace .review-correction-dialog footer {display:flex;gap:8px;justify-content:flex-end;margin-top:14px;}
html:root[data-theme].jp-workspace .ready-version-history {margin-top:16px;padding:12px;border:1px solid var(--line);border-radius:10px;color:var(--muted);background:var(--lumen-soft);font-size:.8rem;}
html:root[data-theme].jp-workspace .ready-version-history summary {cursor:pointer;font-weight:600;}
html:root[data-theme].jp-workspace .ready-version-history section {margin-top:12px;}
html:root[data-theme].jp-workspace .ready-version-history ul {padding-left:20px;margin-top:7px;line-height:1.6;}
@media(max-width:760px) {
 html:root[data-theme].jp-workspace .review-correction-entry {display:grid;gap:9px;padding:12px;}
 html:root[data-theme].jp-workspace .review-correction-entry>div:last-child {display:grid;grid-template-columns:1fr 1fr;gap:7px;}
 html:root[data-theme].jp-workspace .review-correction-entry .review-button {min-width:0;font-size:.73rem;white-space:normal;}
 html:root[data-theme].jp-workspace dialog.review-correction-dialog {padding:12px;}
 html:root[data-theme].jp-workspace .review-correction-drop {display:none;}
 html:root[data-theme].jp-workspace .review-correction-dialog footer .review-button {min-width:0;white-space:normal;font-size:.78rem;}
}

html:root[data-theme].jp-workspace .review-correction-bulk-drop {display:grid;gap:10px;padding:24px;border:2px dashed var(--lumen-border-strong);background:var(--lumen-soft);color:var(--ink);}
html:root[data-theme].jp-workspace .review-correction-bulk-drop>span {font-size:.78rem;color:var(--muted);}
html:root[data-theme].jp-workspace .review-correction-bulk-drop>div {display:flex;justify-content:center;gap:8px;flex-wrap:wrap;}
html:root[data-theme].jp-workspace .review-correction-bulk-drop.is-dragging {outline:4px solid var(--blue);box-shadow:inset 0 0 0 2px var(--paper);}
html:root[data-theme].jp-workspace .review-correction-files {max-height:40dvh;overflow-y:auto;overscroll-behavior:contain;margin-top:14px;min-width:0;}
html:root[data-theme].jp-workspace .review-correction-files ol {padding:0;margin:8px 0;list-style:none;border:1px solid var(--line);border-radius:10px;overflow:hidden;}
html:root[data-theme].jp-workspace .review-correction-files li {display:flex;align-items:center;gap:10px;justify-content:space-between;padding:10px 12px;border-bottom:1px solid var(--line);}
html:root[data-theme].jp-workspace .review-correction-files li:last-child {border-bottom:0;}
html:root[data-theme].jp-workspace .review-correction-files li>span {display:grid;gap:3px;min-width:0;}
html:root[data-theme].jp-workspace .review-correction-files :is(strong,small) {overflow-wrap:anywhere;font-size:.8rem;}
html:root[data-theme].jp-workspace .review-correction-files small {color:var(--muted);font-size:.72rem;}
@media(max-width:760px) {
 html:root[data-theme].jp-workspace .review-correction-bulk-drop {padding:16px 12px;}
 html:root[data-theme].jp-workspace .review-correction-bulk-drop>strong,html:root[data-theme].jp-workspace .review-correction-bulk-drop>span {display:none;}
 html:root[data-theme].jp-workspace .review-correction-folder {display:none;}
}

/* One small, touch-friendly project-order control for both review states. */
.jp-project-sort{display:flex;align-items:center;gap:8px;min-width:0;margin-left:auto;font-size:.78rem;color:var(--muted)}
.jp-project-sort select{font:inherit;color:var(--text);background:var(--paper);border:1px solid var(--line);border-radius:10px;padding:8px 30px 8px 10px;min-height:40px;max-width:100%;cursor:pointer}
.review-order-tools{display:flex;justify-content:flex-end;margin:8px 0 14px}.ready-area-heading{flex-wrap:wrap}
@media(max-width:650px){.jp-project-sort{margin-left:0;gap:6px}.jp-project-sort select{min-height:44px;font-size:.8rem}.ready-area-heading .jp-project-sort{margin-left:auto}.jp-project-sort>span{display:none}.review-order-tools{margin-top:4px}}

/* Administration: separate work queue, one content navigator at each screen size. */
html:root[data-theme].jp-workspace .review-hub-tabs.has-corrections{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));max-width:820px}
html:root[data-theme].jp-workspace .review-hub-tabs.has-corrections button{min-width:0;white-space:nowrap;padding-inline:10px}
html:root[data-theme].jp-workspace .review-hub-tabs [data-hub-tab="corrections"]{color:var(--amber,#ae6d14)}
html:root[data-theme].jp-workspace .review-hub-tabs [data-hub-tab="corrections"][aria-selected="true"]{background:var(--paper);border-color:var(--amber,#ae6d14)}
.review-correction-heading{display:flex;gap:14px;align-items:center;justify-content:space-between;margin:4px 0 16px}.review-correction-heading h2{font-size:1.15rem;margin:0}.review-correction-heading p{font-size:.8rem;color:var(--muted);margin:5px 0 0}.review-correction-tasks{display:grid;gap:12px}
.review-task-signals{display:flex;flex-wrap:wrap;gap:6px;margin:9px 0}.review-task-signals span{font-size:.7rem;line-height:1.4;padding:4px 8px;border:1px solid var(--line);border-radius:7px;color:var(--muted);background:var(--paper)}
html:root[data-theme].jp-workspace .review-admin-current-content{flex:1;min-width:0;font-size:.8rem;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
html:root[data-theme].jp-workspace .review-admin-round-switch{flex:none;min-width:0}.review-admin-round-switch label{display:flex;align-items:center;gap:10px;min-width:0;font-size:.75rem;color:var(--muted)}.review-admin-round-switch select{flex:1;min-width:0;max-width:100%;min-height:40px;padding:7px 10px;border:1px solid var(--line);border-radius:9px;color:var(--ink);background:var(--paper);font:inherit}
@media(min-width:761px){html:root[data-theme].jp-workspace .review-admin-content-picker{display:none}}
@media(max-width:760px){html:root[data-theme].jp-workspace .review-admin-current-content{display:none}.review-admin-round-switch select{min-height:36px;padding-block:5px}.review-correction-heading{align-items:flex-start;gap:8px;flex-wrap:wrap}.review-correction-heading .jp-project-sort{margin-left:auto}.review-correction-task .review-card-actions{flex-wrap:wrap}}
@media(max-width:520px){html:root[data-theme].jp-workspace .review-hub-tabs.has-corrections{grid-template-columns:repeat(2,minmax(0,1fr))}html:root[data-theme].jp-workspace .review-hub-tabs.has-corrections button{min-height:42px}}

/* Completed feedback amendments: distinct from new approval or published media. */
.review-amendment-badge{display:inline-flex;align-items:center;border:1px solid #d69b3d77;background:#d69b3d18;color:var(--text);padding:5px 9px;border-radius:8px;font-size:12px;font-weight:700;white-space:nowrap}
.review-amendment-dot{color:#c28a27;font-size:20px;font-weight:800;align-self:center}
.review-amendment-notice{padding:10px 14px;border-inline-start:3px solid #ce983e;background:#ce983e12;border-radius:9px;margin:8px 0;font-size:13px}
.review-amendment-history{border:1px solid #d69b3d66;border-radius:10px;margin:10px 0;background:#d69b3d09;max-width:100%;min-width:0}
.review-amendment-history>summary{cursor:pointer;padding:10px 12px;font-size:13px;font-weight:650;display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.review-amendment-history>article{padding:12px;border-top:1px solid #8883}.review-amendment-history h4{margin:10px 0 5px}.review-amendment-diff{display:grid;grid-template-columns:1fr 1fr;gap:12px;min-width:0}.review-amendment-diff>div{min-width:0;border:1px solid #8883;border-radius:8px;padding:10px}.review-amendment-diff small{opacity:.7}.review-amendment-diff p{white-space:pre-wrap;overflow-wrap:anywhere;max-height:180px;overflow:auto;margin:6px 0;font-size:13px}
@media(max-width:760px){.review-amendment-diff{grid-template-columns:1fr}.review-amendment-history>summary{font-size:12px}}

.review-amendment-button{border-color:#ce983e88!important;background:#ce983e13!important}.review-amendment-stage{height:100%;overflow:auto;min-height:0}.review-reviewer-mode .review-amendment-history[open]{max-height:38dvh;overflow:auto}

/* Keep correction actions legible beside the return cue on narrow phones. */
@media(max-width:760px){
 html:root[data-theme].jp-workspace .review-correction-task .review-card-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%;gap:8px;}
 html:root[data-theme].jp-workspace .review-correction-task .review-card-actions:has(>:nth-child(3))>.review-primary{grid-column:1/-1;}
 html:root[data-theme].jp-workspace .review-correction-task .review-card-actions>.review-button{min-width:0;min-height:44px;white-space:normal;overflow-wrap:normal;word-break:normal;}
}

/* Navigation feedback stays local; no layout animation or global all-transition. */
.jp-flow-placeholder{display:grid;gap:16px;padding:24px 0;max-width:760px;min-height:240px}
.jp-flow-placeholder i{display:block;height:64px;border-radius:16px;background:color-mix(in srgb,currentColor 6%,transparent)}
.jp-flow-placeholder i:first-child{width:45%;height:24px}
.jp-flow-placeholder i:last-child{width:80%}
.jp-flow-wait{cursor:progress}
.jp-flow-slow{box-shadow:inset 0 2px 0 color-mix(in srgb,#aaa0fa 65%,transparent)}
.jp-flow-snapshot{view-transition-name:jp-flow-content}
::view-transition{pointer-events:none}
::view-transition-group(root){animation:none}
::view-transition-old(root){display:none}
::view-transition-new(root){animation:none}
::view-transition-group(jp-flow-content){animation-duration:300ms;animation-timing-function:ease-out}
::view-transition-old(jp-flow-content){animation:jp-flow-out 220ms ease-out both}
::view-transition-new(jp-flow-content){animation:jp-flow-in 300ms cubic-bezier(.2,.7,.25,1) both}
@keyframes jp-flow-out{from{opacity:1;transform:translateX(0)}to{opacity:0;transform:translateX(-24px)}}
@keyframes jp-flow-in{from{opacity:0;transform:translateX(40px)}to{opacity:1;transform:translateX(0)}}
.jp-flow-back::view-transition-old(jp-flow-content){animation-name:jp-flow-back-out}
.jp-flow-back::view-transition-new(jp-flow-content){animation-name:jp-flow-back-in}
@keyframes jp-flow-back-out{from{opacity:1;transform:translateX(0)}to{opacity:0;transform:translateX(24px)}}
@keyframes jp-flow-back-in{from{opacity:0;transform:translateX(-40px)}to{opacity:1;transform:translateX(0)}}
/* Explicit in-app request: visible navigation even when the OS reduces motion.
   Only this named snapshot participates. Existing accessibility rules stay scoped. */
@media(prefers-reduced-motion:reduce){
 html.jp-flow-enabled::view-transition-group(jp-flow-content){animation-duration:300ms!important}
 html.jp-flow-enabled::view-transition-old(jp-flow-content){animation:jp-flow-out 220ms ease-out both!important}
 html.jp-flow-enabled::view-transition-new(jp-flow-content){animation:jp-flow-in 300ms cubic-bezier(.2,.7,.25,1) both!important}
 html.jp-flow-enabled.jp-flow-back::view-transition-old(jp-flow-content){animation-name:jp-flow-back-out!important}
 html.jp-flow-enabled.jp-flow-back::view-transition-new(jp-flow-content){animation-name:jp-flow-back-in!important}
}

/* Viewport-sized page snapshots, with navigation held still even for long pages. */
html.jp-flow-page .sidebar{view-transition-name:jp-flow-sidebar}
html.jp-flow-page .topbar{view-transition-name:jp-flow-topbar}
html.jp-flow-page .mobile-dock{view-transition-name:jp-flow-dock}
html.jp-flow-page .mobile-path{view-transition-name:jp-flow-path}
html.jp-flow-page .review-hub-header{view-transition-name:jp-flow-hub}
html.jp-flow-enabled.jp-flow-page::view-transition-old(root){display:block;animation:jp-flow-out 220ms ease-out both!important}
html.jp-flow-enabled.jp-flow-page::view-transition-new(root){animation:jp-flow-in 300ms cubic-bezier(.2,.7,.25,1) both!important}
html.jp-flow-enabled.jp-flow-page.jp-flow-back::view-transition-old(root){animation-name:jp-flow-back-out!important}
html.jp-flow-enabled.jp-flow-page.jp-flow-back::view-transition-new(root){animation-name:jp-flow-back-in!important}
::view-transition-group(jp-flow-sidebar),::view-transition-group(jp-flow-topbar),::view-transition-group(jp-flow-dock),::view-transition-group(jp-flow-path),::view-transition-group(jp-flow-hub){animation:none!important}
::view-transition-old(jp-flow-sidebar),::view-transition-old(jp-flow-topbar),::view-transition-old(jp-flow-dock),::view-transition-old(jp-flow-path),::view-transition-old(jp-flow-hub){display:none}
::view-transition-new(jp-flow-sidebar),::view-transition-new(jp-flow-topbar),::view-transition-new(jp-flow-dock),::view-transition-new(jp-flow-path),::view-transition-new(jp-flow-hub){animation:none!important}
@keyframes jp-dialog-out{from{opacity:1;transform:translateY(0) scale(1)}to{opacity:0;transform:translateY(14px) scale(.985)}}
html.jp-flow-enabled.jp-flow-dialog.jp-flow-exit::view-transition-old(jp-flow-content){animation:jp-dialog-out 180ms ease-in both!important}
html.jp-flow-enabled.jp-flow-dialog.jp-flow-exit::view-transition-new(jp-flow-content){display:none}
/* Both directions for native details, including menus; no DOM copies or delayed clicks. */
html:root[data-theme].jp-workspace details::details-content{opacity:0;transition:opacity 180ms ease,content-visibility 180ms allow-discrete!important}
html:root[data-theme].jp-workspace details[open]::details-content{opacity:1}
@supports(interpolate-size:allow-keywords){
 html:root[data-theme].jp-workspace #content details:not(.folder-menu):not(.account-menu){interpolate-size:allow-keywords}
 html:root[data-theme].jp-workspace #content details:not(.folder-menu):not(.account-menu)::details-content{block-size:0;overflow:clip;transition:block-size 200ms ease,opacity 180ms ease,content-visibility 200ms allow-discrete!important}
 html:root[data-theme].jp-workspace #content details[open]:not(.folder-menu):not(.account-menu)::details-content{block-size:auto}
}
html:root[data-theme].jp-workspace :is(.folder-menu[open]>.folder-menu-items,.account-menu[open]>.account-menu-panel,dialog[open]){animation:none!important}
html:root[data-theme].jp-workspace .sidebar{transition:transform 240ms cubic-bezier(.2,.7,.25,1)!important}
html:root[data-theme].jp-workspace .sidebar.is-drawer-dragging{transition:none!important}
html:root[data-theme].jp-workspace .mobile-shade{transition:opacity 220ms ease!important}
html:root[data-theme].jp-workspace .hub-chat-peek{animation:none!important;transition:opacity 160ms ease,translate 160ms ease,display 160ms allow-discrete!important;opacity:1;translate:0 0}
html:root[data-theme].jp-workspace .hub-chat-peek[hidden]{opacity:0;translate:0 8px}
@starting-style{html:root[data-theme].jp-workspace .hub-chat-peek:not([hidden]){opacity:0;translate:0 8px}}
/* Supporting overlays follow the same two-way reveal without changing notification logic. */
html:root[data-theme].jp-workspace .live-panel,html:root[data-theme].jp-workspace .live-bubble{transition:opacity 160ms ease,translate 160ms ease,display 160ms allow-discrete!important;opacity:1;translate:0 0}
html:root[data-theme].jp-workspace .live-panel[hidden],html:root[data-theme].jp-workspace .live-bubble[hidden]{opacity:0;translate:0 8px;pointer-events:none}
@starting-style{html:root[data-theme].jp-workspace .live-panel:not([hidden]),html:root[data-theme].jp-workspace .live-bubble:not([hidden]){opacity:0;translate:0 8px}}
@media(max-width:760px){
 html:root[data-theme].jp-workspace .mobile-shade{opacity:0;transition:opacity 220ms ease,display 220ms allow-discrete!important}
 html:root[data-theme].jp-workspace .mobile-shade.open{opacity:1}
 html:root[data-theme].jp-workspace .mobile-shade:not(.open){pointer-events:none}
 @starting-style{html:root[data-theme].jp-workspace .mobile-shade.open{opacity:0}}
}
/* Snapshot layers must never intercept navigation clicks. */
::view-transition-group(*),::view-transition-image-pair(*),::view-transition-old(*),::view-transition-new(*){pointer-events:none!important}

/* Upload drafts remain in the overview; selection uses the existing publish checks. */
html:root[data-theme].jp-workspace .review-draft-tools{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:10px 16px;padding:12px 16px;margin:12px 0 18px;border:1px solid var(--line);border-radius:14px;background:var(--surface)}
.review-draft-tools>label{display:flex;align-items:center;gap:10px;min-height:44px;font-weight:650;font-size:.84rem;cursor:pointer}
.review-draft-tools input,.review-draft-choice input{width:22px;height:22px;accent-color:var(--blue);cursor:pointer}
.review-draft-tools [data-draft-count]{font-size:.8rem;color:var(--muted);min-width:0}
.review-draft-result{grid-column:1/-1;min-width:0;font-size:.82rem;overflow-wrap:anywhere}
.review-draft-result:empty{display:none}.review-draft-result p{margin:0}.review-draft-result ul{max-height:160px;overflow:auto;margin:8px 0 0;padding-left:20px}
html:root[data-theme].jp-workspace .review-round-card:has(.review-draft-choice){padding-inline-start:64px!important}
.review-draft-choice{position:absolute;inset-inline-start:12px;top:12px;display:flex;align-items:center;justify-content:center;width:40px;height:44px;cursor:pointer}
.review-draft-upload:empty{display:none}.review-draft-upload{display:block;color:var(--muted);margin:4px 0}
@media(max-width:700px){html:root[data-theme].jp-workspace .review-draft-tools{grid-template-columns:minmax(0,1fr);gap:6px;padding:10px 12px}.review-draft-tools>.review-button{width:100%;white-space:normal}.review-draft-tools [data-draft-count]{padding-bottom:5px}html:root[data-theme].jp-workspace .review-round-card:has(.review-draft-choice){padding-inline-start:58px!important}}

/* Keep the recording send control readable beside mobile attachment tools. */
@media(min-width:371px) and (max-width:520px){html:root[data-theme].jp-workspace .chat-recording-thread .chat-compose-tools [data-chat="references"] {width:44px;min-width:44px;padding:6px}html:root[data-theme].jp-workspace .chat-recording-thread .chat-compose-tools [data-chat="references"] span{display:none}html:root[data-theme].jp-workspace .chat-recording-thread .chat-compose-submit [data-chat="send"]{min-width:94px;white-space:normal;overflow-wrap:normal;word-break:normal}}

/* Give mobile conversations their space; preserve the existing navigation/actions. */
@media(max-width:760px){
 html:root[data-theme].jp-workspace.jp-mobile-chat .jp-recording-bar:not(.is-capturing){display:none!important}
 html:root[data-theme].jp-workspace.jp-mobile-chat .jp-recording-bar.is-capturing{flex:none;padding:6px 10px;gap:8px}
 html:root[data-theme].jp-workspace.jp-mobile-chat .review-hub-header.is-chat{margin:0 0 5px}
 html:root[data-theme].jp-workspace.jp-mobile-chat .review-hub-header.is-chat button.review-chat-nav{display:none!important}
 html:root[data-theme].jp-workspace.jp-mobile-chat .review-hub-header.is-chat .review-hub-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:3px;padding:3px;width:100%;max-width:none}
 html:root[data-theme].jp-workspace.jp-mobile-chat .review-hub-header.is-chat .review-hub-tabs button{min-width:0;min-height:44px;flex-direction:column;justify-content:center;gap:1px;padding:4px 1px;font-size:11px;line-height:1.2;white-space:nowrap}
 html:root[data-theme].jp-workspace.jp-mobile-chat .review-hub-header.is-chat [data-hub-count]{font-size:10px;line-height:1.15}
 html:root[data-theme].jp-workspace.jp-mobile-chat .chat-unified.chat-embedded:not(.chat-recording-thread) .chat-current{display:none!important}
 html:root[data-theme].jp-workspace.jp-mobile-chat .chat-modes{padding:3px 4px;gap:4px}
 html:root[data-theme].jp-workspace.jp-mobile-chat .chat-modes button{padding:6px 4px;min-height:44px;min-width:0;font-size:13px}
 html:root[data-theme].jp-workspace.jp-mobile-chat .chat-unified .chat-composer{padding:6px 8px}
 html:root[data-theme].jp-workspace.jp-mobile-chat .chat-unified .chat-composer textarea{min-height:44px;padding:9px 11px;line-height:1.4;margin-bottom:5px}
 html:root[data-theme].jp-workspace.jp-mobile-chat .chat-unified .chat-compose-tools .btn{width:44px;min-width:44px;min-height:44px;padding:10px;gap:0}
 html:root[data-theme].jp-workspace.jp-mobile-chat .chat-compose-tools .btn>span{display:none}
 html:root[data-theme].jp-workspace.jp-mobile-chat .chat-unified .chat-compose-submit .btn{white-space:nowrap;min-height:44px}
 html:root[data-theme].jp-workspace.jp-mobile-chat .chat-unified .chat-current{min-height:44px;padding:3px 8px}
 html:root[data-theme].jp-workspace.jp-mobile-chat .chat-unified:not(.chat-recording-thread) .chat-current .chat-room-avatar,
 html:root[data-theme].jp-workspace.jp-mobile-chat .chat-unified:not(.chat-recording-thread) .chat-current-heading small{display:none}
 html:root[data-theme].jp-workspace.jp-mobile-chat .chat-recording-list{flex:1;display:flex;flex-direction:column;padding:8px;gap:8px;scroll-padding:8px}
 html:root[data-theme].jp-workspace.jp-mobile-chat .chat-recording-list>*{flex-shrink:0}
 html:root[data-theme].jp-workspace.jp-mobile-chat .chat-recording-item{height:auto;padding:10px 12px;gap:4px;min-height:64px}
 html:root[data-theme].jp-workspace.jp-mobile-chat .chat-recording-item strong{font-size:14px;line-height:1.4}
 html:root[data-theme].jp-workspace.jp-mobile-chat .chat-recording-item small{font-size:11px}
 html:root[data-theme].jp-workspace.jp-mobile-chat .live-video-panel{flex:none;margin:3px 10px;padding:2px 4px;max-height:52px;overflow:auto;border-radius:9px}
 html:root[data-theme].jp-workspace.jp-mobile-chat .live-video-heading{display:none}
 html:root[data-theme].jp-workspace.jp-mobile-chat .live-video-panel>div{margin:0;gap:4px}
 html:root[data-theme].jp-workspace.jp-mobile-chat .live-video-panel [data-live-key]{min-height:40px;padding:3px 6px}
 html:root[data-theme].jp-workspace.jp-mobile-chat.jp-chat-keyboard :is(.mobile-path,.review-hub-header.is-chat,.live-video-panel),
 html:root[data-theme].jp-workspace.jp-mobile-chat.jp-chat-tight :is(.mobile-path,.review-hub-header.is-chat,.live-video-panel){display:none!important}
}
/* Intake attachments: reserve readable action space and make the target explicit. */
html:root[data-theme].jp-workspace .intake-project-attachment{margin:0 14px 8px;display:grid;gap:4px;min-width:0;border-radius:10px}
html:root[data-theme].jp-workspace .intake-project-attachment>.btn{width:100%;min-height:44px;white-space:nowrap;word-break:normal;overflow-wrap:normal}
html:root[data-theme].jp-workspace .intake-project-attachment>small{text-align:center;font-size:11px;color:var(--muted);line-height:1.4}
html:root[data-theme].jp-workspace .intake-attachment-button{color:var(--blue);border-color:color-mix(in srgb,var(--blue) 45%,var(--line));background:color-mix(in srgb,var(--blue) 10%,var(--surface));font-weight:700;white-space:nowrap;overflow-wrap:normal;word-break:normal;min-height:44px}
html:root[data-theme].jp-workspace .intake-package-actions{display:flex;gap:6px;padding:8px 10px;flex-shrink:0;align-items:center}
html:root[data-theme].jp-workspace .intake-package-actions>.btn{min-width:0;min-height:44px;white-space:nowrap;overflow-wrap:normal;word-break:normal}
html:root[data-theme].jp-workspace .intake-project-page .intake-video-grid.is-list .intake-video-card{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px;padding:8px 10px;min-width:0}
html:root[data-theme].jp-workspace .intake-project-page .intake-video-grid.is-list .intake-video-open{display:grid;grid-template-columns:minmax(0,1fr) 20px;min-width:0;padding:8px 4px;width:100%;gap:8px}
html:root[data-theme].jp-workspace .intake-project-page .intake-video-grid.is-list .intake-video-copy{display:flex;flex-direction:column;align-items:flex-start;gap:5px;min-width:0;width:100%}
html:root[data-theme].jp-workspace .intake-project-page .intake-video-grid.is-list .intake-video-copy strong{white-space:normal;word-break:normal;overflow-wrap:anywhere;line-height:1.4;max-width:100%}
html:root[data-theme].jp-workspace .intake-project-page .intake-video-grid.is-list .intake-video-copy small{white-space:normal;line-height:1.4;overflow-wrap:anywhere;font-size:11px}
html:root[data-theme].jp-workspace .intake-project-page .intake-video-grid.is-list .intake-video-copy em{display:none}
html:root[data-theme].jp-workspace .intake-project-page .intake-video-grid.is-list .intake-package-actions{padding:0;flex-wrap:nowrap}
html:root[data-theme].jp-workspace .intake-project-page .intake-video-grid.is-list .intake-attachment-button{padding:8px 12px;min-width:124px}
html:root[data-theme].jp-workspace .intake-project-page .intake-video-grid.is-list .intake-remove-button{width:44px;min-width:44px;padding:10px}
html:root[data-theme].jp-workspace dialog.intake-target-dialog{width:min(660px,calc(100vw - 24px));max-width:100%;max-height:calc(100dvh - 24px);overflow:auto}
.intake-target-search{margin:10px 0}.intake-target-list{display:grid;gap:8px;max-height:48dvh;overflow:auto;overscroll-behavior:contain;padding:2px}
html:root[data-theme].jp-workspace .intake-target-choice{display:grid;grid-template-columns:22px 64px minmax(0,1fr);align-items:center;gap:10px;border:1px solid var(--line);border-radius:12px;padding:9px;cursor:pointer;min-width:0;background:var(--surface)}
html:root[data-theme].jp-workspace .intake-target-choice[hidden]{display:none!important}
html:root[data-theme].jp-workspace .intake-target-choice:has(input:checked){border-color:var(--blue);background:color-mix(in srgb,var(--blue) 12%,var(--surface));box-shadow:0 0 0 1px var(--blue)}
.intake-target-choice input{width:20px;height:20px;accent-color:var(--blue)}.intake-target-thumb{display:flex;align-items:center;justify-content:center;width:64px;height:48px;background:var(--bg);border-radius:6px;overflow:hidden}.intake-target-thumb img{width:100%;height:100%;object-fit:contain}.intake-target-choice strong{display:block;overflow-wrap:anywhere;line-height:1.4;font-size:13px}.intake-target-choice small{display:block;color:var(--muted);font-size:11px;margin-top:3px}.intake-pending-attachment{display:flex;gap:8px;align-items:center;padding:8px 10px;border-radius:8px;background:var(--bg);font-size:12px;overflow-wrap:anywhere}.intake-pending-attachment span{min-width:0}
html:root[data-theme].jp-workspace .material-link-entry{display:flex;align-items:flex-end;gap:10px;margin-top:12px}.material-link-entry .field{flex:1;min-width:0;margin:0}.material-link-entry input{min-width:0;width:100%}.material-link-entry>.btn{flex:none;min-height:44px;white-space:nowrap}.material-save-status{font-size:13px;line-height:1.4;margin:8px 0 0;color:var(--muted);overflow-wrap:anywhere}.material-save-status:empty{display:none}
@media(max-width:600px){
 html:root[data-theme].jp-workspace .intake-project-page .intake-video-grid.is-list .intake-video-card{grid-template-columns:minmax(0,1fr);gap:2px;padding:8px 10px}
 html:root[data-theme].jp-workspace .intake-project-page .intake-video-grid.is-list .intake-package-actions{justify-content:space-between;width:100%;padding-top:4px}
 html:root[data-theme].jp-workspace .intake-project-page .intake-video-grid.is-list .intake-attachment-button{flex:1}
 html:root[data-theme].jp-workspace .material-link-entry{flex-direction:column;align-items:stretch}
 html:root[data-theme].jp-workspace .material-link-entry>.btn{width:100%}
 html:root[data-theme].jp-workspace .material-add-actions{width:100%;justify-content:stretch}
 html:root[data-theme].jp-workspace .material-add-actions>.btn{width:100%}
 .intake-target-list{max-height:42dvh}.intake-target-choice strong{font-size:12px}
}
/* An icon-only trash control must never inherit the mobile equal-width actions. */
html:root[data-theme].jp-workspace .intake-project-page .intake-video-grid.is-list .intake-package-actions>.intake-remove-button{flex:0 0 44px!important;max-width:44px;width:44px}
html:root[data-theme].jp-workspace .intake-package-actions>.intake-attachment-button{background:var(--lumen-primary);border-color:transparent;color:#fff}
/* Playback inside the attachment chooser keeps list, selection and queued files in place. */
html:root[data-theme].jp-workspace .intake-target-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px;align-items:stretch;min-width:0}
html:root[data-theme].jp-workspace .intake-target-row[hidden],html:root[data-theme].jp-workspace .intake-target-browser[hidden],html:root[data-theme].jp-workspace .intake-target-preview[hidden],html:root[data-theme].jp-workspace .intake-target-dialog .dialog-actions[hidden],html:root[data-theme].jp-workspace .intake-target-playback-error[hidden]{display:none!important}
html:root[data-theme].jp-workspace .intake-target-row>.intake-target-choice{grid-template-columns:22px 52px minmax(0,1fr);gap:8px;margin:0;min-width:0}
html:root[data-theme].jp-workspace .intake-target-row .intake-target-thumb{width:52px}
html:root[data-theme].jp-workspace .intake-target-watch{align-self:stretch;min-width:44px;min-height:44px;padding:8px 10px;gap:6px;white-space:nowrap;color:var(--blue);border-color:var(--line);background:color-mix(in srgb,var(--blue) 10%,var(--surface))}
html:root[data-theme].jp-workspace .intake-target-preview{display:grid;gap:12px;min-width:0}
html:root[data-theme].jp-workspace .intake-target-preview-title{display:block;line-height:1.4;overflow-wrap:anywhere;font-size:14px}
html:root[data-theme].jp-workspace .intake-target-back{justify-self:start;min-height:44px;white-space:normal;text-align:left}
html:root[data-theme].jp-workspace .intake-target-player{min-width:0;width:100%;border:1px solid var(--line);border-radius:10px;overflow:hidden;background:#090b13}
html:root[data-theme].jp-workspace .intake-target-player video{display:block;width:100%;height:auto;max-height:min(52dvh,460px);object-fit:contain;background:#090b13}
html:root[data-theme].jp-workspace .intake-target-preview [data-target-select]{min-height:44px;white-space:normal;width:100%}
html:root[data-theme].jp-workspace .intake-target-dialog.has-target-preview>.dialog-desc,html:root[data-theme].jp-workspace .intake-target-dialog.has-target-preview .dialog-desc{display:none}
html:root[data-theme].jp-workspace .intake-target-playback-error{font-size:13px;line-height:1.5;overflow-wrap:anywhere}
.intake-target-playback-error a{text-decoration:underline}
@media(max-width:600px){
 html:root[data-theme].jp-workspace .intake-target-watch{width:44px;padding:10px}
 html:root[data-theme].jp-workspace .intake-target-watch span{display:none}
 html:root[data-theme].jp-workspace .intake-target-row>.intake-target-choice{grid-template-columns:20px 38px minmax(0,1fr);gap:6px;padding:8px}
 html:root[data-theme].jp-workspace .intake-target-row .intake-target-thumb{width:38px;height:44px}
 html:root[data-theme].jp-workspace .intake-target-preview{gap:9px}
 html:root[data-theme].jp-workspace .intake-target-player video{max-height:48dvh}
}
@media(max-height:500px){html:root[data-theme].jp-workspace .intake-target-player video{max-height:48dvh}}

/* Multi-video targets stay explicit, including selected rows hidden by search. */
html:root[data-theme].jp-workspace .intake-target-selection-tools{display:grid;grid-template-columns:minmax(0,1fr) auto 44px;align-items:center;gap:6px;margin:6px 0 10px;min-width:0}
html:root[data-theme].jp-workspace .intake-target-selection-tools strong{font-size:12px;line-height:1.3;overflow-wrap:anywhere}
html:root[data-theme].jp-workspace .intake-target-selection-tools .btn{min-width:0;min-height:44px;padding:7px 10px;font-size:12px;white-space:normal}
html:root[data-theme].jp-workspace .intake-target-selection-tools [data-attachment-clear]{width:44px;height:44px;padding:10px}
html:root[data-theme].jp-workspace .intake-batch-targets{border:1px solid var(--line);border-radius:10px;margin:8px 0;background:var(--surface)}
html:root[data-theme].jp-workspace .intake-batch-targets summary{min-height:44px;display:flex;align-items:center;padding:9px 12px;font-weight:650;font-size:13px;cursor:pointer}
html:root[data-theme].jp-workspace .intake-batch-targets ul{max-height:160px;overflow:auto;overscroll-behavior:contain;margin:0 12px 12px;padding-left:20px;font-size:12px;line-height:1.6;overflow-wrap:anywhere}
html:root[data-theme].jp-workspace [data-batch-change]{min-height:44px;margin-bottom:8px}
@media(max-width:600px){html:root[data-theme].jp-workspace .intake-target-dialog .intake-target-list{max-height:36dvh}html:root[data-theme].jp-workspace .intake-target-selection-tools{gap:4px}html:root[data-theme].jp-workspace .intake-target-selection-tools .btn{padding:6px;font-size:11px}}

/* MCP actions share the existing activity view in desktop and browser. */
html:root[data-theme].jp-workspace .activity-assistant{border-inline-start:3px solid var(--blue);}
html:root[data-theme].jp-workspace .activity-assistant>.file-symbol{color:var(--blue);background:var(--lumen-soft);}
html:root[data-theme].jp-workspace .activity-assistant-body{min-width:0;flex:1;overflow-wrap:anywhere;}
html:root[data-theme].jp-workspace .activity-assistant-title{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-bottom:4px;}
html:root[data-theme].jp-workspace .activity-assistant-status{font-size:.7rem;font-weight:600;padding:2px 8px;border-radius:999px;background:var(--lumen-soft);color:var(--ink);white-space:nowrap;}
html:root[data-theme].jp-workspace .activity-assistant-status[data-state="success"]{color:#27796b;background:#4eae961c;}
html:root[data-theme].jp-workspace .activity-assistant-status[data-state="error"]{color:var(--danger);background:#d564641a;}
html:root[data-theme].jp-workspace .activity-assistant-detail{font-size:.72rem;margin-top:6px;color:var(--muted);}
html:root[data-theme].jp-workspace .activity-assistant-detail summary{cursor:pointer;}
html:root[data-theme].jp-workspace .activity-assistant-detail code{display:block;white-space:pre-wrap;overflow-wrap:anywhere;margin-top:5px;}
@media(max-width:720px){html:root[data-theme].jp-workspace .activity-filters .btn{min-height:44px;}html:root[data-theme].jp-workspace .activity-assistant{flex-wrap:wrap;}html:root[data-theme].jp-workspace .activity-assistant>time{margin-left:auto;max-width:100%;}}

/* Recoverable library cleanup shares one selection and five review destinations. */
html:root[data-theme].jp-workspace .review-hub-tabs.has-library-trash{grid-template-columns:repeat(5,minmax(0,1fr));max-width:960px;}
html:root[data-theme].jp-workspace .review-hub-tabs [data-hub-tab="deleted"]{color:var(--muted);}
html:root[data-theme].jp-workspace .review-hub-tabs [data-hub-tab="deleted"][aria-selected="true"]{background:var(--paper);border-color:var(--line);color:var(--ink);}
html:root[data-theme].jp-workspace .ready-lifecycle,html:root[data-theme].jp-workspace .ready-batch-actions{display:flex;align-items:center;flex-wrap:wrap;gap:8px;min-width:0;}
html:root[data-theme].jp-workspace .ready-lifecycle .btn[aria-pressed="true"]{background:var(--light-blue);border-color:var(--blue);color:var(--blue);}
html:root[data-theme].jp-workspace .ready-selection-tools{flex-wrap:wrap;min-width:0;}
html:root[data-theme].jp-workspace :is(.ready-batch-actions>.btn,.ready-lifecycle>.btn,.ready-select-all,.ready-select-used){min-height:44px;}
html:root[data-theme].jp-workspace .ready-select-used{white-space:normal;}
html:root[data-theme].jp-workspace .ready-actions .ready-delete-one{display:inline-grid;place-items:center;flex:0 0 44px;min-width:44px;min-height:44px;padding:10px;}
html:root[data-theme].jp-workspace .ready-delete-one svg{display:block;width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;}
html:root[data-theme].jp-workspace .ready-soft-trash{color:var(--muted);}
html:root[data-theme].jp-workspace .ready-purge-request{display:inline-flex;width:fit-content;max-width:100%;padding:4px 7px;border-radius:6px;background:color-mix(in srgb,var(--amber,#ae6d14) 13%,var(--paper));color:var(--amber,#ae6d14);font-size:.72rem;line-height:1.35;overflow-wrap:anywhere;}
html:root[data-theme].jp-workspace .ready-blocked-reason{display:block;margin:3px 0 7px;color:var(--muted);font-size:.73rem;line-height:1.4;overflow-wrap:anywhere;}
html:root[data-theme].jp-workspace .ready-undo{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 12px;margin:10px 0 15px;border:1px solid var(--blue);border-radius:10px;background:var(--light-blue);color:var(--ink);font-size:.84rem;}
html:root[data-theme].jp-workspace .ready-undo .btn{flex:none;min-height:44px;}
html:root[data-theme].jp-workspace dialog.ready-library-dialog{width:min(560px,calc(100vw - 24px));max-width:none;max-height:calc(100dvh - 24px);margin:auto;padding:20px;overflow:auto;border:1px solid var(--line);border-radius:16px;background:var(--paper);color:var(--ink);box-shadow:0 24px 90px #0006;}
html:root[data-theme].jp-workspace .ready-library-dialog::backdrop{background:#0b0a1399;backdrop-filter:blur(4px);}
html:root[data-theme].jp-workspace .ready-library-dialog header{display:flex;gap:16px;align-items:flex-start;justify-content:space-between;}
html:root[data-theme].jp-workspace .ready-library-dialog h2{margin:0;font-size:1.1rem;line-height:1.4;}
html:root[data-theme].jp-workspace .ready-library-dialog p{line-height:1.55;}
html:root[data-theme].jp-workspace .ready-library-dialog footer{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:9px;margin-top:20px;}
html:root[data-theme].jp-workspace .ready-library-dialog .btn{min-height:44px;white-space:normal;}
html:root[data-theme].jp-workspace .ready-library-dialog header .btn{flex:none;min-width:44px;}
html:root[data-theme].jp-workspace .ready-library-plan{padding:12px;border:1px solid var(--line);border-radius:10px;background:var(--lumen-soft);overflow-wrap:anywhere;}
html:root[data-theme].jp-workspace .ready-library-plan ul{padding-left:20px;margin-bottom:0;line-height:1.6;}
html:root[data-theme].jp-workspace .ready-library-error{color:var(--danger);font-size:.85rem;}
html:root[data-theme].jp-workspace .ready-library-error:empty{display:none;}
html:root[data-theme].jp-workspace .ready-content{overflow-x:clip;}
html:root[data-theme].jp-workspace :is(.ready-video,.ready-project>summary){touch-action:pan-y;}
html:root[data-theme].jp-workspace .is-gesture-armed{user-select:none;-webkit-user-select:none;outline:2px solid var(--blue);outline-offset:-2px;will-change:transform;}
html:root[data-theme].jp-workspace .ready-gesture-moving{transform:translateX(var(--ready-swipe,0px));transition:none!important;}
html:root[data-theme].jp-workspace .is-gesture-armed::after{content:attr(data-ready-gesture-label);position:absolute;z-index:7;bottom:8px;right:8px;max-width:calc(100% - 16px);padding:6px 9px;border-radius:7px;background:var(--blue);color:#fff;box-shadow:0 3px 14px #0003;font-size:.73rem;line-height:1.35;pointer-events:none;}
@media(max-width:650px){
 html:root[data-theme].jp-workspace .review-hub-tabs.has-library-trash,
 html:root[data-theme].jp-workspace.jp-mobile-chat .review-hub-header.is-chat .review-hub-tabs.has-library-trash{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:4px;padding:4px;max-width:none;}
 html:root[data-theme].jp-workspace .review-hub-tabs.has-library-trash button,
 html:root[data-theme].jp-workspace.jp-mobile-chat .review-hub-header.is-chat .review-hub-tabs.has-library-trash button{grid-column:span 2;flex-direction:column;gap:2px;min-width:0;min-height:44px;padding:5px 3px;font-size:11px;line-height:1.25;}
 html:root[data-theme].jp-workspace .review-hub-tabs.has-library-trash button:nth-child(n+4),
 html:root[data-theme].jp-workspace.jp-mobile-chat .review-hub-header.is-chat .review-hub-tabs.has-library-trash button:nth-child(n+4){grid-column:span 3;}
 html:root[data-theme].jp-workspace .ready-batch-actions{width:100%;gap:7px;}
 html:root[data-theme].jp-workspace .ready-batch-actions>.btn{flex:1 1 130px;min-height:44px;white-space:normal;}
 html:root[data-theme].jp-workspace .ready-select-all,html:root[data-theme].jp-workspace .ready-select-used{min-height:44px;}
 html:root[data-theme].jp-workspace .ready-library-dialog{padding:15px;}
 html:root[data-theme].jp-workspace .ready-library-dialog footer>.btn{flex:1 1 120px;}
 html:root[data-theme].jp-workspace .ready-undo{align-items:flex-start;}
}
@media(prefers-reduced-motion:reduce){html:root[data-theme].jp-workspace .ready-gesture-moving{transition:none!important;}}

/* A project can be selected while its video list remains collapsed. */
html:root[data-theme].jp-workspace .ready-project>summary.ready-project-selectable{grid-template-columns:44px minmax(0,1fr) auto;}
html:root[data-theme].jp-workspace .ready-project-select{grid-column:1;grid-row:1 / span 2;display:flex;align-items:center;justify-content:center;align-self:center;width:44px;min-width:44px;min-height:44px;margin:0;border:1px solid var(--line);border-radius:8px;background:var(--paper);cursor:pointer;}
html:root[data-theme].jp-workspace .ready-project-select input{width:20px;height:20px;margin:0;accent-color:var(--blue);cursor:pointer;}
html:root[data-theme].jp-workspace .ready-project-select:focus-within{outline:3px solid var(--blue);outline-offset:2px;}
html:root[data-theme].jp-workspace .ready-project>summary.ready-project-selectable .ready-project-heading{grid-column:2;grid-row:1;}
html:root[data-theme].jp-workspace .ready-project>summary.ready-project-selectable .ready-project-status{grid-column:2;grid-row:2;}
html:root[data-theme].jp-workspace .ready-project>summary.ready-project-selectable .ready-project-toggle{grid-column:3;grid-row:1 / span 2;}
@media(max-width:650px){
 html:root[data-theme].jp-workspace .ready-project>summary.ready-project-selectable{grid-template-columns:44px minmax(0,1fr);gap:7px 10px;}
 html:root[data-theme].jp-workspace .ready-project-select{grid-row:1 / span 3;align-self:start;}
 html:root[data-theme].jp-workspace .ready-project>summary.ready-project-selectable .ready-project-toggle{grid-column:2;grid-row:3;justify-self:start;}
}
