body.dashboard-review { background:#f7f9fc; }
.dashboard-review > header.site-header, .dashboard-review #site-footer { display:none; }
.dashboard-review main { width:100%; max-width:none; margin:0; padding:0; }
.dashboard-review .workspace-layout {
  --dashboard-topbar-height:52px;
  --dashboard-divider:#e0e6ef;
  grid-template-columns:224px minmax(0,1fr); gap:0; padding:0; min-height:100dvh;
}
.dashboard-review .workspace-sidebar {
  box-sizing:border-box; position:sticky; top:0; align-self:start; display:flex; flex-direction:column;
  align-items:stretch; gap:14px; min-height:100dvh; padding:12px;
  border-inline-end:1px solid #e0e6ef; background:#fff; z-index:15;
}
.dashboard-sidebar-heading { display:flex; align-items:center; justify-content:space-between; gap:10px; padding:10px 6px 14px; }
.dashboard-sidebar-heading .brand-wordmark {
  display:inline-flex; align-items:center; gap:6px; color:#233e68;
  font-size:18px; font-weight:700; letter-spacing:-.035em;
}
.dashboard-sidebar-heading .brand-wordmark::before {
  content:""; width:25px; height:25px; flex:none; background:url("/assets/logo.svg") center / contain no-repeat;
}
.dashboard-sidebar-heading .brand-wordmark-accent { color:#2946bf; }
.dashboard-review .workspace-sidebar nav { display:grid; gap:4px; }
.dashboard-review .workspace-sidebar nav a {
  position:relative; display:flex; align-items:center; gap:9px;
  min-height:37px; padding:5px 9px; border-radius:6px;
  color:#455974; font-size:13px; font-weight:550;
}
.dashboard-review .workspace-sidebar nav a .workspace-nav-icon { width:16px; height:16px; opacity:.83; }
.dashboard-review .workspace-sidebar nav a:hover { background:#f3f6fb; color:#243e68; }
.dashboard-review .workspace-sidebar nav a[aria-current=page] { background:#edf2ff; color:#254490; font-weight:650; }
.dashboard-review .workspace-sidebar nav a[aria-current=page]::before {
  content:""; position:absolute; inset-inline-start:0; inset-block:10px;
  width:2px; border-radius:2px; background:#4b61db;
}
.dashboard-review .dashboard-quota { margin-block-start:auto; padding:10px 6px 4px; border-top:1px solid #e7ecf3; color:#425574; font-size:13px; }
.dashboard-quota-heading { display:flex; align-items:center; justify-content:space-between; gap:8px; }
.dashboard-quota p { margin:5px 0 7px; }
.dashboard-quota a { color:#29478e; font-size:12px; white-space:nowrap; }
.dashboard-quota-icon { display:none; width:18px; height:18px; }
.dashboard-review button.dashboard-rail-toggle {
  display:grid; place-items:center; flex:none; width:30px; min-height:30px;
  margin:0; padding:0; border:1px solid transparent; border-radius:5px;
  background:transparent; color:#526581; cursor:pointer;
}
.dashboard-review button.dashboard-rail-toggle:hover { background:#edf2fb; color:#29478e; }
.dashboard-utility-bar {
  position:sticky; top:0; z-index:12; display:flex; justify-content:space-between; align-items:center; gap:9px;
  min-height:48px; margin:-26px calc(-1 * var(--dashboard-gutter)) 22px;
  padding:4px var(--dashboard-gutter); background:#f7f9fc;
  background:rgb(247 249 252 / .9); backdrop-filter:blur(8px);
  border-bottom:1px solid var(--dashboard-divider);
}
.dashboard-utility-title { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; color:#405372; font-size:14px; font-weight:400; }
.dashboard-utility-title[hidden] { display:none; }
.dashboard-utility-items { display:grid; flex:none; gap:3px; margin-block-start:auto; }
.dashboard-quota:not([hidden]) + .dashboard-utility-items { margin-block-start:0; }
.dashboard-utility-items :is(.site-language,.nav-account-side) { margin:0; }
.dashboard-utility-items > .nav-account-side,
.dashboard-utility-items .nav-account-side .account-nav { display:block; width:100%; min-width:0; }
.dashboard-utility-items .language-switcher { display:block; }
.dashboard-utility-items .language-trigger:not(:has(.home-language-globe))::before {
  content:""; flex:none; width:16px; height:16px; background:currentColor;
  mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cellipse cx='12' cy='12' rx='4' ry='9'/%3E%3Cpath d='M3 12h18'/%3E%3C/svg%3E") center / contain no-repeat;
}
.dashboard-utility-items .language-trigger {
  width:auto; min-width:0; min-height:36px; padding:3px 7px; border:0; background:transparent;
}
.dashboard-utility-items .language-trigger:is(:hover,[aria-expanded=true]),
.dashboard-utility-items .account-dropdown > summary:is(:hover,:focus-visible) { background:#edf2ff; }
.dashboard-utility-items :is(.account-dropdown > summary,.nav-signin,.language-trigger) {
  box-sizing:border-box; display:flex; align-items:center; min-height:32px; border-radius:5px;
}
.dashboard-utility-items .nav-signin { gap:6px; font-size:12px; padding:3px 7px; }
.dashboard-utility-items .nav-signin::before {
  content:""; flex:none; width:16px; height:16px; background:currentColor;
  mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'%3E%3Ccircle cx='12' cy='8' r='3'/%3E%3Cpath d='M5 20v-2a5 5 0 0 1 5-5h4a5 5 0 0 1 5 5v2'/%3E%3C/svg%3E") center / contain no-repeat;
}
.dashboard-utility-items .account-dropdown { display:block; width:100%; }
.dashboard-utility-items .account-dropdown > summary {
  width:100%; min-height:34px; gap:8px; padding:3px 7px; color:#334864;
}
.dashboard-utility-items .account-dropdown > summary::after { margin-inline-start:auto; flex:none; }
.dashboard-utility-items .account-dropdown[open] > summary { background:#edf2ff; }
.dashboard-utility-items .account-avatar { flex:none; width:24px; height:24px; font-size:11px; }
.dashboard-utility-items .account-label {
  flex:1; min-width:0; max-width:none; overflow:hidden; text-overflow:ellipsis;
  white-space:nowrap; font-size:12px; font-weight:600;
}
.dashboard-utility-items .home-language-globe { width:18px; height:18px; flex:none; }
.dashboard-utility-items :is(.switcher-flag,.language-chevron,.account-tier) { display:none; }
.dashboard-utility-items :is(.language-menu,.account-dropdown-panel) {
  top:auto; bottom:calc(100% + 6px); inset-inline-start:0; inset-inline-end:auto;
  max-width:calc(100vw - 24px);
}
.dashboard-utility-items .account-dropdown-panel .site-language { display:block; }
.dashboard-utility-items .account-dropdown-panel .language-trigger { width:100%; justify-content:flex-start; }
.dashboard-utility-items .account-dropdown-panel .language-menu { z-index:2; }
button.dashboard-mobile-menu { display:none; }
.dashboard-review .workspace-content {
  --dashboard-gutter:clamp(18px,3.4vw,50px);
  box-sizing:border-box; min-width:0; width:100%; padding:26px var(--dashboard-gutter);
}
.dashboard-review .workspace-content:has(#tasks-view:not([hidden])) {
  --dashboard-gutter:clamp(12px,2vw,28px);
  display:flex;
  flex-direction:column;
}
.dashboard-review #tasks-view:not([hidden]) {
  display:flex;
  flex:1;
  flex-direction:column;
}
.dashboard-review #tasks-view > .retention-note {
  margin-block:auto 0;
  margin-inline:82px;
  padding-block-start:24px;
  text-align:center;
}
.dashboard-review .page-heading {
  display:flex; flex-wrap:wrap; align-items:flex-start; justify-content:space-between; gap:12px;
  margin:0 0 19px; padding-bottom:16px; border-bottom:1px solid #e0e6ef;
}
.dashboard-review .page-heading h1 {
  margin:0; color:#172844; font-size:clamp(21px,2.25vw,26px);
  line-height:1.22; font-weight:700; letter-spacing:-.025em;
}
.dashboard-review .page-heading h1:lang(zh) { letter-spacing:normal; }
.dashboard-review .page-heading p { margin:6px 0 0; color:#5d708b; font-size:13px; }
.dashboard-task-actions, .dashboard-empty-actions { display:flex; flex-wrap:wrap; align-items:center; gap:8px; }
.dashboard-review button.dashboard-primary,
.dashboard-review button.dashboard-quick {
  width:auto; min-height:40px; margin:0; padding:7px 12px; border:1px solid #d7e0ef; border-radius:6px;
  background:#fff; color:#28446e; font:600 13px/1.4 system-ui,sans-serif; cursor:pointer;
}
.dashboard-review button.dashboard-primary { background:#283cf1; border-color:#283cf1; color:#fff; box-shadow:0 2px 5px #283cf123; }
.dashboard-review button.dashboard-primary:hover { background:#202fc4; border-color:#202fc4; }
.dashboard-review button.dashboard-quick:hover { background:#f1f5ff; }
.dashboard-review .dashboard-task-actions .dashboard-primary { display:inline-flex; align-items:center; gap:7px; }
.dashboard-review .dashboard-task-actions .dashboard-primary::before { content:""; width:12px; height:12px; background:linear-gradient(currentColor,currentColor) center/12px 1.5px no-repeat,linear-gradient(currentColor,currentColor) center/1.5px 12px no-repeat; }
.dashboard-review #history-refresh { margin:0; min-height:40px; padding:6px 10px; border:1px solid #dce4f0; border-radius:6px; background:#fff; color:#4b607e; font-size:13px; font-weight:550; }
.dashboard-review #history-refresh:hover { background:#eff4fe; color:#29478e; }
.dashboard-review .task-stats { display:none; }
.dashboard-review .task-panel { border:0; border-radius:0; background:transparent; box-shadow:none; overflow:visible; margin-bottom:12px; }
.dashboard-review .task-toolbar { display:flex; align-items:center; flex-wrap:wrap; gap:6px 10px; padding:0 0 8px; border-radius:0; background:transparent; }
.dashboard-review .task-toolbar .search-label { min-width:min(160px,100%); max-width:360px; flex:1; }
.dashboard-review .task-toolbar #history-search {
  box-sizing:border-box; width:100%; height:32px; min-height:32px;
  padding:4px 9px; border:1px solid #dbe2ed; border-radius:5px;
  background:#fff; color:#243650; font:400 12px/1.35 system-ui,sans-serif;
}
.dashboard-review .task-toolbar #history-search:focus-visible { outline:2px solid #5470c8; outline-offset:1px; }
.dashboard-review .task-filters { display:flex; flex-wrap:wrap; gap:3px; }
@media (max-width:600px) {
  .dashboard-review .task-toolbar .search-label { flex:1 0 100%; max-width:none; }
}
.dashboard-review .task-filters button {
  min-height:32px; margin:0; padding:4px 8px; border:1px solid transparent;
  border-radius:6px; background:transparent; color:#526581; font-size:12px; font-weight:550;
}
.dashboard-review .task-filters button:hover { background:#f2f5fb; }
.dashboard-review .task-filters button[aria-pressed=true] { border-color:#dce5f8; background:#edf2ff; color:#29478e; font-weight:650; }
.dashboard-review .task-batchbar:not(:has(.batch-count:not(:empty))) { display:none; }
.dashboard-review #tasks-view { --task-select-width:0px; }
.dashboard-workspace-shortcuts {
  min-width:0; color:#455974;
}
.dashboard-workspace-label,.dashboard-workspace-shortcuts h2 {
  margin:0 0 6px; padding-inline:6px; color:#6a7b91;
  font-size:10px; font-weight:650; letter-spacing:.025em; text-transform:uppercase;
}
.dashboard-shortcut-links,.dashboard-recent-files ul { display:grid; gap:2px; }
.dashboard-recent-files { margin-top:18px; }
.dashboard-recent-files ul { padding:0; margin:0; list-style:none; }
.dashboard-review .dashboard-workspace-shortcuts :is(a,button.dashboard-shortcut) {
  box-sizing:border-box; display:flex; align-items:center; gap:6px; min-height:28px;
  width:100%; padding:4px 6px; margin:0; border:0; border-radius:5px;
  background:transparent; color:inherit; font:500 12px/1.3 system-ui,sans-serif; text-align:start;
}
.dashboard-review .dashboard-workspace-shortcuts :is(a,button):hover,
.dashboard-review .dashboard-workspace-shortcuts a[aria-current=page] { background:#e9edf3; color:#243650; }
.dashboard-shortcut-icon { flex:none; width:12px; text-align:center; }
.dashboard-review .dashboard-recent-files a { display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
@media(min-width:781px) {
  .dashboard-rail-collapsed :is(.dashboard-workspace-label,.dashboard-workspace-shortcuts) { display:none; }
}
.dashboard-review #tasks-view.dashboard-selecting { --task-select-width:18px; }
.dashboard-review #tasks-view:not(.dashboard-selecting) .task-select { display:none; }
.dashboard-review .dashboard-select-tasks[aria-pressed=true] { background:#edf3ff; border-color:#b9cbed; }
.dashboard-review .dashboard-table-heading,
.dashboard-review .task-row.dashboard-task-row {
  --task-columns:var(--task-select-width) minmax(0,1fr) minmax(76px,.28fr) minmax(106px,.38fr) minmax(55px,.22fr) 98px;
  display:grid; grid-template-columns:var(--task-columns); align-items:center;
  gap:12px; padding:9px 8px;
}
.dashboard-review .dashboard-table-heading { background:#f6f8fb; border-block:1px solid #e7edf4; color:#465871; font-size:12px; font-weight:600; }
.dashboard-review .dashboard-table-heading[hidden] { display:none; }
.dashboard-review .task-row.dashboard-task-row:is(:hover,:focus-within) { background:#f7faff; }
.dashboard-review .task-row.dashboard-task-row:has(input[type=checkbox]:checked) { background:#edf3ff; }
.dashboard-review .task-row.dashboard-task-row { border-block-end:1px solid #e7edf4; }
.dashboard-review .task-panel .pagination { padding:10px 0; }
.dashboard-file { display:flex; min-width:0; align-items:center; gap:8px; }
.dashboard-file-state {
  display:grid; place-items:center; flex:none; width:24px; height:24px;
  border-radius:5px; background:#f0f3f7; color:#586b83;
}
.dashboard-file-state svg { width:15px; height:15px; }
.dashboard-file-state[data-state=done] { background:#eaf6ef; color:#287045; }
.dashboard-file-state[data-state=error] { background:#fbeef0; color:#a33f53; }
.dashboard-file-state:is([data-state=processing],[data-state=uploading],[data-state=validating]) { background:#eef3ff; color:#315eb0; }
.dashboard-review .dashboard-file .task-name { color:#233b60; font-weight:650; overflow-wrap:anywhere; }
.dashboard-review .dashboard-file a.task-name:is(:hover,:focus-visible) { color:#244f9e; text-decoration:underline; text-underline-offset:3px; }
.dashboard-review :is(.dashboard-task-date,.dashboard-task-duration) { font-size:12px; color:#526581; font-variant-numeric:tabular-nums; overflow-wrap:anywhere; }
.dashboard-review .dashboard-duration-label { display:none; }
.dashboard-review .dashboard-task-row .task-state { justify-self:start; }
.dashboard-review .dashboard-task-row > .task-select { grid-column:1; }
.dashboard-review .dashboard-task-row > .dashboard-file { grid-column:2; }
.dashboard-review .dashboard-task-row > .task-state { grid-column:3; }
.dashboard-review .dashboard-task-row > .dashboard-task-date { grid-column:4; }
.dashboard-review .dashboard-task-row > .dashboard-task-duration { grid-column:5; }
.dashboard-review .dashboard-task-row .task-actions {
  grid-column:6; min-width:0; margin:0; max-width:none;
  flex-wrap:wrap; align-items:center; gap:6px; justify-content:flex-start;
}
.dashboard-review .dashboard-task-row .task-actions > :is(a,details,select) { max-width:100%; }
.dashboard-review .dashboard-task-row .task-actions :is(a,summary) { border-radius:6px; font-weight:550; }
.dashboard-review .dashboard-task-row .task-actions > a:hover { background:#eaf1ff; }
.dashboard-review .dashboard-task-row .task-actions { gap:4px; }
.dashboard-review .task-actions .dashboard-task-icon {
  box-sizing:border-box; display:grid; place-items:center; flex:none;
  width:30px; height:32px; min-height:32px; margin:0; padding:0;
  border:1px solid #dce5f3; border-radius:6px; background:#fff; color:#415777; cursor:pointer;
}
.dashboard-review .task-actions .dashboard-task-icon svg { width:16px; height:16px; }
.dashboard-review .task-actions .dashboard-task-icon:hover,
.dashboard-review .task-actions details[open] > .dashboard-task-icon { background:#eef3fb; }
.dashboard-review .task-actions .task-delete.dashboard-task-icon { position:static; color:#963f55; }
.dashboard-review .task-actions .task-delete.dashboard-task-icon:hover { background:#fceef1; border-color:#ebc9d2; }
.dashboard-review .task-download > .dashboard-task-icon::after { content:none; }
.dashboard-folder-menu { position:relative; }
.dashboard-folder-menu summary { list-style:none; }
.dashboard-folder-menu summary::-webkit-details-marker { display:none; }
.dashboard-folder-menu-content {
  position:absolute; z-index:35; inset-inline-end:0; top:calc(100% + 4px);
  padding:5px; border:1px solid #dce5f1; border-radius:6px;
  background:#fff; box-shadow:0 8px 20px #273f651a;
}
.dashboard-review .dashboard-empty { min-height:240px; display:grid; align-content:center; gap:9px; padding:24px 16px; }
.dashboard-review .dashboard-empty h3 { margin:0; color:#1e3355; font-size:20px; font-weight:650; }
.dashboard-empty-actions { justify-content:center; margin-top:8px; }
.dashboard-review .dashboard-first-task :is(.task-toolbar,.pagination) { display:none; }
.dashboard-billing #tier { display:inline-block; margin:0 0 12px; padding:4px 9px; border-radius:6px; background:#e9efff; color:#29478e; font-weight:600; }
.dashboard-review #profile-view #member { padding:18px; border:1px solid #e0e6ef; border-radius:10px; background:#fff; }
.dashboard-review :is(button,a,summary):focus-visible { outline:2px solid #5470c8; outline-offset:2px; }
dialog.dashboard-upload {
  box-sizing:border-box; position:fixed; inset:0 0 0 auto; width:min(640px,100vw);
  max-width:none; height:100dvh; max-height:none; margin:0; padding:0; border:0;
  background:#fbfcfe; color:#16243c; box-shadow:-12px 0 50px #16254126;
}
.dashboard-upload[open] { display:grid; grid-template-rows:auto minmax(0,1fr); }
.dashboard-upload::backdrop { background:#1a2b4860; }
.dashboard-upload-heading { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:17px 22px; border-bottom:1px solid #e0e6ef; }
.dashboard-upload-heading h2 { margin:0; color:#172844; font-size:20px; font-weight:700; }
.dashboard-upload-heading button { width:auto; margin:0; padding:6px 10px; border:1px solid #d7e0ef; border-radius:6px; background:#fff; color:#28446e; cursor:pointer; }
.dashboard-upload-frame { width:100%; height:100%; border:0; }
@media(min-width:781px) {
  .dashboard-review .workspace-sidebar {
    --sidebar-inset:12px;
    padding-block-start:0;
    padding-inline:var(--sidebar-inset);
  }
  .dashboard-sidebar-heading {
    box-sizing:border-box; min-height:var(--dashboard-topbar-height);
    margin-inline:calc(-1 * var(--sidebar-inset)); padding-block:0;
    padding-inline:calc(var(--sidebar-inset) + 6px);
    border-bottom:1px solid var(--dashboard-divider);
  }
  .dashboard-utility-bar { box-sizing:border-box; min-height:var(--dashboard-topbar-height); }
  .dashboard-review.dashboard-rail-collapsed .workspace-layout { grid-template-columns:58px minmax(0,1fr); }
  .dashboard-review.dashboard-rail-collapsed .workspace-sidebar { --sidebar-inset:9px; }
  .dashboard-rail-collapsed .dashboard-sidebar-heading {
    flex-direction:column; justify-content:center; gap:3px; padding:6px 0;
  }
  .dashboard-rail-collapsed .dashboard-sidebar-heading .brand-wordmark > span,
  .dashboard-rail-collapsed .workspace-sidebar nav a > span,
  .dashboard-rail-collapsed .dashboard-quota :is(strong,p) { display:none; }
  .dashboard-review.dashboard-rail-collapsed .workspace-sidebar nav a { justify-content:center; padding-inline:0; }
  .dashboard-review.dashboard-rail-collapsed .dashboard-quota { padding-inline:0; }
  .dashboard-rail-collapsed .dashboard-quota-heading { justify-content:center; }
  .dashboard-rail-collapsed .dashboard-quota a { display:grid; place-items:center; min-height:34px; font-size:0; }
  .dashboard-rail-collapsed .dashboard-quota-icon { display:block; }
  .dashboard-review.dashboard-rail-collapsed .dashboard-rail-toggle { align-self:center; }
  .dashboard-rail-collapsed .dashboard-utility-items :is(.language-trigger,.account-dropdown > summary,.nav-signin) { justify-content:center; width:100%; min-width:0; padding-inline:0; }
  .dashboard-rail-collapsed .dashboard-utility-items :is(.account-label,.account-chevron),
  .dashboard-rail-collapsed .dashboard-utility-items > .site-language .language-trigger > span:not(.home-language-globe) { display:none; }
  .dashboard-rail-collapsed .dashboard-utility-items .account-dropdown > summary::after { display:none; }
  .dashboard-rail-collapsed .dashboard-utility-items .nav-signin { font-size:0; }
}
@media(max-width:780px) {
  .dashboard-review .workspace-layout { grid-template-columns:1fr; align-content:start; }
  .dashboard-review .workspace-layout:has(#tasks-view:not([hidden])) { grid-template-rows:auto 1fr; }
  .dashboard-review #tasks-view > .retention-note { margin-inline:0; padding-block-end:56px; }
  .dashboard-review .workspace-sidebar {
    position:relative; display:block; min-height:0; padding:6px 12px;
    border-inline-end:0; border-bottom:1px solid #e0e6ef;
  }
  .dashboard-sidebar-heading { padding:2px 0; }
  .dashboard-review .workspace-content { --dashboard-gutter:14px; padding-block:16px; }
  .dashboard-utility-bar { min-height:40px; margin-block:-16px 14px; padding-block:1px; }
  .dashboard-utility-items .account-label { max-width:72px; }
  .dashboard-review .workspace-sidebar:not(:has(.dashboard-mobile-menu[aria-expanded=true])) .dashboard-utility-items { display:none; }
  .dashboard-utility-items { display:flex; flex-wrap:wrap; margin-block-start:5px; }
  .dashboard-utility-items :is(.language-menu,.account-dropdown-panel) { top:calc(100% + 4px); bottom:auto; }
  .dashboard-review button.dashboard-mobile-menu { display:block; width:auto; min-height:36px; margin:0; padding:5px 8px; background:#fff; border:0; color:#29478e; font-weight:600; cursor:pointer; }
  .dashboard-review button.dashboard-rail-toggle { display:none; }
  .dashboard-review .workspace-sidebar nav { display:none; padding-top:5px; }
  .dashboard-review .workspace-sidebar:has(.dashboard-mobile-menu[aria-expanded=true]) nav { display:grid; }
  .dashboard-review .dashboard-quota { display:none; }
  .dashboard-review .workspace-sidebar:has(.dashboard-mobile-menu[aria-expanded=true]) .dashboard-quota:not([hidden]) { display:block; }
  .dashboard-review .dashboard-table-heading { display:none; }
  .dashboard-review .task-row.dashboard-task-row { grid-template-columns:var(--task-select-width) minmax(0,1fr) minmax(0,auto); gap:8px; padding-inline:12px; }
  .dashboard-review .dashboard-task-row > .dashboard-file { grid-column:2 / -1; grid-row:1; }
  .dashboard-review .dashboard-task-row > .task-state { grid-column:2; grid-row:2; }
  .dashboard-review .dashboard-task-row > .dashboard-task-duration { grid-column:3; grid-row:2; }
  .dashboard-review .dashboard-duration-label { display:inline; }
  .dashboard-review .dashboard-task-row > .dashboard-task-date { grid-column:2 / -1; grid-row:3; }
  .dashboard-review .dashboard-task-row .task-actions { grid-column:2 / -1; grid-row:4; justify-content:flex-start; flex-wrap:wrap; }
  .dashboard-review .dashboard-task-row .task-actions:empty { display:none; }
  .dashboard-upload-heading { padding:13px 14px; }
}
.dashboard-task-page .dashboard-task-surface { min-width:0; }
.dashboard-task-page .dashboard-task-breadcrumb { display:flex; align-items:center; gap:8px; min-width:0; font-size:.875rem; color:#536782; }
.dashboard-task-breadcrumb > a { flex:none; color:var(--result-ink,#172844); }
.dashboard-task-breadcrumb > [aria-current] { min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.dashboard-back-choices { position:relative; flex:none; }
.dashboard-task-breadcrumb .dashboard-back-trigger {
  display:grid; place-items:center; width:28px; height:28px;
  border-radius:5px; color:#425979; cursor:pointer; list-style:none;
}
.dashboard-back-trigger::-webkit-details-marker { display:none; }
.dashboard-back-trigger svg { width:17px; height:17px; }
.dashboard-task-breadcrumb .dashboard-back-trigger:hover,
.dashboard-back-choices[open] > summary { background:#e9eff9; }
.dashboard-back-choices ul {
  position:absolute; z-index:20; inset-inline-start:0; top:calc(100% + 4px);
  width:max-content; min-width:130px; max-width:min(260px, calc(100vw - 32px));
  margin:0; padding:4px; list-style:none; border:1px solid #dce4ef;
  border-radius:6px; background:#fff; box-shadow:0 8px 20px #273f651a;
}
.dashboard-back-choices a {
  display:block; padding:5px 8px; padding-inline-start:calc(8px + min(var(--folder-depth) * 9px,40px));
  border-radius:4px; color:#334b6d; overflow-wrap:anywhere;
}
.dashboard-back-choices a:hover { background:#eef3fb; }
.dashboard-result-toolbar:not([hidden]) {
  display:flex; align-items:center; justify-content:flex-end; flex-wrap:wrap;
  gap:5px; min-width:0; margin-inline-start:auto;
}
.dashboard-result-toolbar .editor-views {
  display:flex; align-items:center; flex-wrap:nowrap; gap:2px; margin:0 4px 0 0;
  min-width:0; padding:2px; border:0; border-radius:5px; background:#edf2f8;
}
.dashboard-result-toolbar :is(.editor-views button,#saveedit,.result-open-export,.dashboard-result-tool-icon) {
  width:auto; min-height:30px; margin:0; padding:4px 8px; border-radius:5px;
  font-size:12px; box-shadow:none;
}
.dashboard-result-toolbar .editor-views button { border:0; background:transparent; color:#536782; }
.dashboard-result-toolbar .editor-views button[aria-pressed=true] { background:#e9eff9; color:#274d96; }
.dashboard-result-toolbar .editor-views button:disabled { opacity:.5; }
.dashboard-result-toolbar #saveedit:disabled { opacity:.56; }
.dashboard-result-toolbar .dashboard-result-tool-icon {
  box-sizing:border-box; display:grid; place-items:center; width:30px;
  border:1px solid #dce4ef; background:#fff; color:#425979;
  list-style:none; cursor:pointer; padding:0;
}
.dashboard-result-tool-icon::-webkit-details-marker { display:none; }
.dashboard-result-tool-icon svg { width:16px; height:16px; }
.dashboard-result-toolbar .dashboard-result-tool-icon:hover,
.dashboard-result-toolbar .dashboard-result-tool-icon[aria-expanded=true],
.dashboard-result-more[open] > summary { background:#eaf0fa; }
.dashboard-result-toolbar .dashboard-insights-control {
  flex:none; display:flex; align-items:center; margin-inline-start:2px; padding-inline-start:7px;
  border-inline-start:1px solid var(--result-border,#dce4ef);
}
.dashboard-result-toolbar .dashboard-insights-toggle { background:transparent; }
.dashboard-result-toolbar .dashboard-insights-toggle[aria-expanded=true] { color:var(--result-accent); }
.dashboard-result-more { position:relative; }
.dashboard-task-page .dashboard-result-more > .result-file-sidebar {
  position:absolute; z-index:21; inset-inline-end:0; top:calc(100% + 5px);
  box-sizing:border-box; width:min(260px,calc(100vw - 24px)); max-height:65dvh;
  overflow:auto; padding:10px 12px; margin:0;
  border:1px solid #dce4ef; border-radius:6px; box-shadow:0 8px 20px #273f651a;
}
.dashboard-result-toolbar .dashboard-result-save-state { font-size:11px; }
.dashboard-result-toolbar button.dashboard-result-translate {
  display:inline-flex; align-items:center; justify-content:center; gap:5px;
  flex:none; width:auto; min-height:30px; margin:0; padding:4px 8px;
  border:0; border-radius:5px; background:#2457b8; color:#fff;
  font-size:12px; font-weight:650; white-space:nowrap; box-shadow:none;
}
.dashboard-result-toolbar button.dashboard-result-translate:hover { background:#1c458f; }
.dashboard-result-translate:focus-visible { outline:2px solid #4f71bc; outline-offset:2px; }
.dashboard-result-translate svg { width:16px; height:16px; flex:none; }
.dashboard-task-page #editor .editor-controls > .dashboard-collapsible-tools:not(.is-open) { display:none; }
.dashboard-task-page #editor .editorbar:not(:has(> :not([hidden],div:has(> #cue-count)))) { display:none; }
body.dashboard-task-page.is-result #editor .editor-controls:not(:has(.dashboard-collapsible-tools.is-open)) {
  padding-block:0; border-block-end:0;
}
@media(max-width:780px) {
  .dashboard-task-page .dashboard-result-toolbar:not([hidden]) { flex:1 0 100%; justify-content:flex-start; gap:4px; }
  .dashboard-result-toolbar .editor-views {
    display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); flex:1 0 100%;
    margin:0; padding:2px; width:auto;
  }
  .dashboard-result-toolbar .editor-views button {
    min-width:0; padding-inline:3px; white-space:normal; overflow-wrap:anywhere;
  }
  .dashboard-result-toolbar #saveedit { min-width:0; padding-inline:6px; }
  .dashboard-result-toolbar .dashboard-insights-control { margin-inline-start:auto; padding-inline-start:5px; }
  .dashboard-result-more { position:static; }
  .dashboard-task-page .dashboard-result-more > .result-file-sidebar {
    top:calc(100% + 4px); inset-inline:12px; width:auto;
  }
}
.dashboard-folders, .dashboard-folder-create:not([hidden]) {
  display:flex; align-items:center; flex-wrap:wrap; gap:8px;
}
.dashboard-folders { margin:0 0 10px; }
.dashboard-utility-bar > .dashboard-folders { flex:1; min-width:0; margin:0; padding-block:5px; }
.workspace-content:not(:has(#tasks-view:not([hidden]))) > .dashboard-utility-bar > .dashboard-folders { display:none; }
.dashboard-folders > .dashboard-task-actions { margin-inline-start:auto; justify-content:flex-end; }
.dashboard-folder-create { flex-basis:100%; }
.dashboard-folder-tree { min-width:0; }
.dashboard-folder-root { display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:center; gap:3px; }
.dashboard-review button.dashboard-folder-toggle {
  display:grid; place-items:center; width:28px; min-height:30px; padding:0; margin:0;
  border:0; border-radius:5px; background:transparent; color:#526581;
}
.dashboard-review button.dashboard-folder-toggle:hover { background:#f3f6fb; }
.dashboard-folder-toggle svg { width:14px; height:14px; }
.dashboard-folder-toggle[aria-expanded=false] svg { transform:rotate(-90deg); }
.dashboard-folder-tree ul {
  display:grid; gap:2px; margin:3px 0 4px 13px; padding:0 0 0 8px;
  border-inline-start:1px solid #e0e6ef; list-style:none;
}
.dashboard-folder-tree ul[hidden] { display:none; }
.dashboard-folder-tree ul ul { margin-inline-start:9px; padding-inline-start:6px; }
.dashboard-folder-tree li { min-width:0; }
.dashboard-review .workspace-sidebar .dashboard-folder-children a {
  min-height:30px; padding:4px 7px; gap:7px; font-size:12px; font-weight:500;
}
.dashboard-review .workspace-sidebar .dashboard-folder-children a .workspace-nav-icon { flex:none; width:14px; height:14px; }
.dashboard-folder-children a span { min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.dashboard-review .workspace-sidebar .dashboard-folder-tree a[aria-current=location] {
  background:#edf2ff; color:#254490; font-weight:650;
}
@media(min-width:781px) {
  .dashboard-rail-collapsed .dashboard-folder-root { grid-template-columns:1fr; }
  .dashboard-review.dashboard-rail-collapsed .dashboard-folder-toggle,
  .dashboard-rail-collapsed .dashboard-folder-tree ul { display:none; }
}
.dashboard-review .dashboard-folders > button,
.dashboard-review .dashboard-folders .dashboard-task-actions > button:not(.dashboard-primary),
.dashboard-review .dashboard-folder-create :is(button,input),
.dashboard-review .task-actions .dashboard-folder-move {
  box-sizing:border-box; width:auto; max-width:100%; min-height:34px; margin:0; padding:5px 9px;
  border:1px solid #dbe2ed; border-radius:6px; background:#fff; color:#243650; font-size:.875rem;
}
.dashboard-review .task-actions .dashboard-folder-move { max-width:135px; }
.dashboard-review .dashboard-folders > .dashboard-task-actions { gap:6px; }
.dashboard-review .dashboard-folders > button,
.dashboard-review .dashboard-folders .dashboard-task-actions > button,
.dashboard-review .dashboard-folders #history-refresh {
  min-height:32px; padding:4px 9px; border-radius:5px;
  font:550 12px/1.35 system-ui,sans-serif; box-shadow:none;
}
.dashboard-review .dashboard-folders > button:hover,
.dashboard-review .dashboard-folders .dashboard-task-actions > button:not(.dashboard-primary):hover { background:#f1f5ff; }
.dashboard-review .dashboard-folders .dashboard-task-actions > .dashboard-primary { gap:5px; font-weight:650; }
.dashboard-review .dashboard-folders .dashboard-primary::before {
  width:10px; height:10px;
  background-size:10px 1.5px,1.5px 10px;
}
.dashboard-folders button,.dashboard-folders select,.dashboard-folder-move { cursor:pointer; }
.dashboard-folder-status { flex-basis:100%; margin:0; color:#536782; font-size:.875rem; }
.dashboard-folder-status:empty { display:none; }
.dashboard-review .dashboard-folder-delete,
.dashboard-review .dashboard-folders .dashboard-task-actions > button.dashboard-folder-delete { color:#963f55; }
.dashboard-review .dashboard-folder-dialog {
  box-sizing:border-box; width:min(390px,calc(100% - 32px)); padding:18px;
  border:1px solid #dce4ef; border-radius:8px; background:#fff; color:#233b60;
  box-shadow:0 16px 42px #1d2a4333;
}
.dashboard-folder-dialog::backdrop { background:#17284455; }
.dashboard-folder-dialog h2 { margin:0 0 8px; font-size:17px; }
.dashboard-folder-dialog p { margin:0; font-size:14px; line-height:1.5; }
.dashboard-folder-dialog-actions { display:flex; justify-content:flex-end; gap:8px; margin-top:16px; }
.dashboard-task-page .dashboard-task-surface > .task-card,
.dashboard-task-page .dashboard-task-surface > .result-layout { margin-inline:0; max-width:none; }
body.dashboard-task-page.is-result .dashboard-utility-bar { margin-block-end:0; padding-inline-end:0; }
body.dashboard-task-page.is-result .dashboard-task-surface > .result-layout {
  margin-inline:calc(-1 * var(--dashboard-gutter));
}
body.dashboard-task-page.is-result .dashboard-task-surface > .result-layout:not(:has(> :is(.result-file-sidebar,.dashboard-insights-panel):not([hidden]))) {
  grid-template-columns:minmax(0,1fr);
  column-gap:0;
}
body.dashboard-task-page.is-result .dashboard-task-surface > .result-layout:has(> .dashboard-insights-panel:not([hidden])) {
  display:grid; grid-template-columns:minmax(0,1fr) clamp(255px,29%,360px);
  align-items:stretch; gap:0;
}
.dashboard-insights-panel {
  min-width:0; min-height:0; overflow:auto; border-inline-start:1px solid var(--result-border);
  color:var(--result-ink); background:var(--result-surface,#fff);
}
.dashboard-insights-panel[hidden] { display:none; }
.dashboard-insights-header {
  display:flex; align-items:center; justify-content:space-between; gap:8px;
  padding:8px 12px 0; border-block-end:1px solid var(--result-border);
}
.dashboard-insights-tabs { display:flex; align-items:center; gap:10px; min-width:0; }
.dashboard-insights-tabs button,.dashboard-insights-header > button {
  width:auto; min-height:32px; margin:0; padding:3px 6px;
  border-radius:0; background:transparent; color:var(--result-muted); font-size:12px;
}
.dashboard-insights-tabs button[aria-selected=true] {
  color:var(--result-accent); font-weight:650; box-shadow:inset 0 -2px var(--result-accent);
}
.dashboard-insights-header > button { padding:4px; border-radius:5px; flex:none; }
.dashboard-insights-header > button:hover { background:var(--result-toolbar); }
.dashboard-insights-header svg { display:block; width:15px; height:15px; }
.dashboard-insights-panel [role=tabpanel] { padding:18px 16px; color:var(--result-muted); font-size:13px; }
.dashboard-insights-panel [role=tabpanel] p { margin:0; }
@media(max-width:900px) {
  body.dashboard-task-page.is-result .dashboard-task-surface > .result-layout:has(> .dashboard-insights-panel:not([hidden])) {
    grid-template-columns:minmax(0,1fr);
  }
  .dashboard-insights-panel { order:-1; border-inline-start:0; border-block-end:1px solid var(--result-border); }
}
body.dashboard-task-page.is-result .dashboard-task-surface .result-layout #editor,
body.dashboard-task-page.is-result .result-layout:has(.result-file-sidebar:not([hidden])) #editor,
body.dashboard-task-page.is-result .result-layout > .result-file-sidebar {
  border:0; border-radius:0; box-shadow:none;
}
body.dashboard-task-page.is-result .result-layout > .result-file-sidebar { border-block-start:1px solid var(--result-border); }
@media (min-width:901px) {
  body.dashboard-task-page.is-result .result-layout > .result-file-sidebar {
    border-block-start:0; border-inline-start:1px solid var(--result-border);
  }
}
.dashboard-task-page .task-card:has(> #progress:not([hidden])) .result-file-row {
  display:grid; grid-template-columns:minmax(0,1fr); width:100%;
}
.dashboard-task-page .task-card:has(> #progress:not([hidden])) { border-block-end:0; }
.dashboard-task-page .task-card:has(> #progress:not([hidden])) #filename {
  box-sizing:border-box; width:100%; max-width:100%;
  margin-inline:auto; padding-inline:0; justify-content:center;
  text-align:center; overflow-wrap:anywhere;
}
.dashboard-task-page .task-card:has(> #progress:not([hidden])) #result-file-actions[hidden] { display:none; }
body.dashboard-review.dashboard-task-page > main { width:100%; max-width:none; margin:0; padding:0; }
.dashboard-task-page .workspace-content { --dashboard-gutter:clamp(14px,1.5vw,24px); }
.dashboard-task-page .dashboard-utility-bar { background:var(--result-toolbar,#f7f9fc); backdrop-filter:none; }
.dashboard-task-page .result-file-sidebar:not([hidden]) { display:flex; flex-direction:column; }
.dashboard-task-page .dashboard-result-actions:not([hidden]) {
  display:flex; flex-wrap:wrap; align-items:center; justify-content:flex-end; gap:6px;
  flex:none; margin:0 0 10px; padding-block:0 8px; border-bottom:1px solid var(--result-border);
  background-color:inherit;
}
.dashboard-task-page .dashboard-result-actions .dashboard-result-save-state { flex-basis:100%; text-align:end; }
body.dashboard-task-page.is-result #result-meta { display:none; }
body.dashboard-task-page.is-result .dashboard-task-surface:has(> .result-layout:not([hidden]) #editor:not([hidden]))
  > .task-card:not(:has(#message:not([hidden]),#cancel:not([hidden]))) { display:none; }
.dashboard-task-page .dashboard-result-actions :is(button,#saveedit) {
  width:auto; min-height:32px; margin:0; padding:4px 9px; border-radius:6px;
  font-size:12px; box-shadow:none; white-space:nowrap;
}
.dashboard-result-save-state { color:var(--result-muted); font-size:12px; }
.dashboard-result-save-state:empty { display:none; }
.dashboard-result-save-state[data-state=error] { color:#b14550; }
.dashboard-result-save-state[data-state=dirty] { color:#93631e; }
body.dashboard-task-page.is-result .task-card { padding-block:0 9px; margin-block:0 10px; }
.dashboard-task-page .result-file-sidebar #result-file-actions:not([hidden]) {
  display:grid; gap:6px; width:auto; margin:0; padding-block:10px;
  border-top:1px solid var(--result-border);
}
.dashboard-task-page .result-file-sidebar .privacy-delete {
  width:100%; min-height:32px; margin:0; padding:4px 7px; text-align:start;
  border:1px solid var(--result-border); border-radius:6px;
  background:var(--result-toolbar); color:var(--result-ink); font-size:12px;
}
.dashboard-task-page .result-file-sidebar .privacy-delete-all { color:#bd4657; }
.dashboard-task-page .result-file-sidebar .privacy-delete:not(:disabled):hover {
  border-color:#bd4657; color:#bd4657;
}
.dashboard-task-page .dashboard-delete-confirm {
  box-sizing:border-box; width:min(400px,calc(100% - 28px)); max-height:calc(100dvh - 28px);
  padding:18px; border:1px solid var(--result-border); border-radius:8px;
  background:var(--result-toolbar); color:var(--result-ink); box-shadow:0 12px 34px rgb(15 28 51 / .18);
}
.dashboard-task-page .dashboard-delete-confirm::backdrop { background:rgb(15 23 42 / .44); }
.dashboard-task-page .dashboard-delete-confirm > form {
  margin:0; padding:0; border:0; border-radius:0; background:transparent; box-shadow:none;
}
.dashboard-task-page .dashboard-delete-confirm h2 { margin:0 0 8px; font-size:17px; line-height:1.35; }
.dashboard-task-page .dashboard-delete-confirm p { margin:0; color:var(--result-muted); font-size:13px; line-height:1.55; }
.dashboard-task-page .dashboard-delete-actions { display:flex; flex-wrap:wrap; justify-content:flex-end; gap:7px; margin-top:15px; }
.dashboard-task-page .dashboard-delete-actions button {
  width:auto; min-height:34px; margin:0; padding:5px 10px; border:1px solid var(--result-border);
  border-radius:6px; background:var(--result-toolbar); color:var(--result-ink); font-size:12px;
}
.dashboard-task-page .dashboard-delete-actions button[value=delete] { background:#a73546; border-color:#a73546; color:#fff; }
.dashboard-task-page .dashboard-delete-actions button[value=delete]:hover { background:#922c3c; }
.dashboard-task-page .dashboard-delete-actions button:focus-visible { outline:2px solid var(--result-accent); outline-offset:2px; }
.dashboard-task-page .result-file-sidebar #task-privacy {
  min-width:0; margin:0 0 10px; padding:8px; border:1px solid var(--result-border); border-radius:6px;
  background:var(--result-toolbar); color:var(--result-ink); font-size:12px;
}
.dashboard-task-page .result-file-sidebar #task-privacy h2 { margin:0 0 4px; font-size:13px; }
.dashboard-task-page .result-file-sidebar #task-privacy p { margin:0; font-size:inherit; }
.dashboard-task-page #editor .editorbar { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; }
.dashboard-task-page #editor .editorbar > div:has(> #cue-count) { display:none; }
body.dashboard-task-page.is-result #editor .editor-controls { row-gap:7px; padding-block:12px; }
.dashboard-task-page #editor .editor-controls > .repair-tools {
  display:flex; flex-flow:row wrap; align-items:stretch;
  gap:2px 3px; margin-block:0; padding-block:0;
}
.dashboard-task-page #editor .editor-controls > .repair-tools > button {
  flex:0 0 auto; min-width:0; width:auto; max-width:100%; justify-content:flex-start;
  padding-inline:6px; gap:4px; white-space:nowrap; text-align:start;
}
.dashboard-task-page #editor .editor-controls > .repair-tools > button > span {
  min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap;
}
.dashboard-task-page #editor .editorbar > .editor-views {
  display:flex; flex-wrap:wrap; gap:2px; width:auto; max-width:100%; margin:0 0 0 auto;
  margin-inline-start:auto; padding:3px; border-radius:6px;
}
.dashboard-task-page .result-file-sidebar > h3 { margin:0; font-size:14px; font-weight:700; }
.dashboard-task-page .result-file-sidebar dl { margin:8px 0 10px; gap:4px; }
.dashboard-task-page .result-file-sidebar dl > div {
  display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); align-items:baseline; gap:8px;
}
.dashboard-task-page .result-file-sidebar :is(dt,dd) { margin:0; font-size:12px; line-height:1.45; }
.dashboard-task-page .result-file-sidebar dd { text-align:end; font-weight:550; font-variant-numeric:tabular-nums; }
.dashboard-task-page .dashboard-coverage-review { padding-block:8px; border-top:1px solid var(--result-border); }
.dashboard-task-page .dashboard-coverage-review h3 { margin:0 0 5px; color:var(--result-ink); font-size:12px; }
.dashboard-coverage-review ul { display:grid; gap:4px; margin:0; padding:0; list-style:none; }
.dashboard-task-page .dashboard-coverage-review button {
  width:auto; min-height:27px; margin:0; padding:2px 6px; border:1px solid var(--result-border);
  border-radius:5px; background:transparent; color:var(--result-ink); font-size:12px; font-variant-numeric:tabular-nums;
}
.dashboard-task-page #editor .editor-controls > .editor-tools {
  grid-column:1 / -1; display:flex; flex-wrap:wrap; align-items:center; gap:6px;
}
.dashboard-task-page #editor .editor-tools > .transcript-search { flex:1 1 130px; min-width:120px; margin-block:0; }
.dashboard-task-page #editor .transcript-search > .ui-icon {
  inset-inline-start:11px; top:50%; width:15px; height:15px; transform:translateY(-50%); pointer-events:none;
}
.dashboard-task-page #editor .transcript-search > #transcript-search {
  box-sizing:border-box; padding-inline:36px 10px;
}
.dashboard-task-page #editor .editor-tools > .result-replace { flex:2 1 320px; min-width:0; }
.dashboard-task-page #editor .result-replace-controls { margin:0; padding:0; border:0; }
.dashboard-task-page #editor .result-replace-controls input { flex:1 1 115px; min-width:100px; }
.dashboard-task-page .result-replace-controls output:empty { display:none; }
.dashboard-task-page #editor #cues .cue { border-inline:0; box-shadow:none; }
body.dashboard-task-page.is-result .dashboard-task-surface #editor #cues .cue:is(.playing,.result-selected-cue,.result-find-current,:focus-within) {
  background:#f0f2f5;
  border-block-color:transparent; outline:none; box-shadow:none;
}
body.dashboard-task-page.is-result .dashboard-task-surface #editor #cues .cue.result-find-current { background:#fff5df; }
body.dashboard-task-page.is-result .dashboard-task-surface #editor #cues .cue.playing { background:#eaf2ff; }
@media(prefers-color-scheme:dark) {
  body.dashboard-task-page.is-result .dashboard-task-surface #editor #cues .cue:is(.result-selected-cue,:focus-within) { background:#273244; }
  body.dashboard-task-page.is-result .dashboard-task-surface #editor #cues .cue.result-find-current { background:#3b3224; }
  body.dashboard-task-page.is-result .dashboard-task-surface #editor #cues .cue.playing { background:#233b5d; }
}
.dashboard-task-page.is-result #editor[data-view=reading] #cues .cue { padding-inline:10px 8px; }
.dashboard-task-page.is-result #editor[data-view=reading] #cues .cue.result-cue-continuation {
  padding-block:3px 6px; border-block-start:0;
}
.dashboard-task-page #editor #cues .cue-text-heading { padding-inline-end:30px; }
.dashboard-task-page #editor #cues .cue-text-heading .cue-stamp {
  position:static; inset:auto; font-size:11px; color:var(--result-muted);
}
.dashboard-task-page #editor[data-view=reading] #cues .cue-text-heading .dashboard-cue-start {
  display:inline-flex; align-items:center; width:auto; min-height:22px; margin:0;
  padding:2px 4px; border:0; border-radius:4px; background:transparent; color:var(--result-accent);
  box-shadow:none; cursor:pointer;
}
.dashboard-task-page #editor[data-view=reading] #cues .dashboard-cue-start:is(:hover,:focus-visible) {
  background:var(--result-toolbar); text-decoration:underline; text-underline-offset:2px;
}
.dashboard-task-page #editor[data-view=reading] #cues .dashboard-cue-start.is-segment-playing::before {
  content:""; width:6px; height:8px; margin-inline-end:4px; box-sizing:border-box;
  border-inline:2px solid currentColor;
}
.dashboard-task-page #editor #cues .cue-text-heading .cue-timing input {
  background:transparent; border-color:transparent;
}
.dashboard-task-page #editor #cues .cue-text-heading .cue-timing input:is(:hover,:focus) {
  background:var(--result-toolbar); border-color:var(--result-border);
}
.dashboard-task-page #editor #cues .cue-text-heading input.speaker-name {
  width:clamp(76px,12vw,126px); height:24px; min-height:24px; margin:0;
  padding:2px 5px; border:1px solid transparent; border-radius:4px;
  background:transparent; color:var(--speaker-ink,#46556a); font-size:12px; font-weight:600;
}
.dashboard-task-page #editor #cues .speaker-name[data-speaker-color="0"] { --speaker-ink:#244e94; }
.dashboard-task-page #editor #cues .speaker-name[data-speaker-color="1"] { --speaker-ink:#216448; }
.dashboard-task-page #editor #cues .speaker-name[data-speaker-color="2"] { --speaker-ink:#644090; }
.dashboard-task-page #editor #cues .speaker-name[data-speaker-color="3"] { --speaker-ink:#804a14; }
.dashboard-task-page #editor #cues .speaker-name[data-speaker-color="4"] { --speaker-ink:#23616c; }
.dashboard-task-page #editor #cues .speaker-name[data-speaker-color="5"] { --speaker-ink:#8c3858; }
.dashboard-task-page #editor #cues .cue-text-heading input.speaker-name:is(:hover,:focus) {
  border-color:currentColor;
}
.dashboard-task-page #editor .result-player-strip .follow-label {
  display:inline-flex; align-items:center; flex:none; gap:4px; min-height:30px; white-space:nowrap;
}
.dashboard-task-page #editor .follow-label input {
  appearance:none; display:inline-block; position:relative; flex:none; width:29px; height:17px;
  margin:0; padding:0; border:1px solid var(--result-muted); border-radius:10px;
  background:var(--result-toolbar); cursor:pointer;
}
.dashboard-task-page #editor .follow-label input::before {
  content:''; position:absolute; inset-block-start:2px; inset-inline-start:2px;
  width:11px; height:11px; border-radius:50%; background:var(--result-muted);
}
.dashboard-task-page #editor .follow-label input:checked { background:var(--result-accent); border-color:var(--result-accent); }
.dashboard-task-page #editor .follow-label input:checked::before { inset-inline-start:14px; background:#fff; }
.dashboard-task-page #editor .follow-label input:focus-visible { outline:2px solid var(--result-accent); outline-offset:2px; }
.dashboard-task-page #editor #cues .cue :is(button,input,textarea):focus-visible {
  outline:2px solid var(--result-accent); outline-offset:1px;
}
::highlight(transcript-find) { background:#ffdb88; color:#26211b; }
.dashboard-task-page .result-return-playback:not([hidden]) {
  width:auto; min-height:30px; margin:0; padding:3px 6px; border:1px solid var(--result-border);
  border-radius:5px; background:var(--result-toolbar); color:var(--result-ink); font-size:11px;
}
.dashboard-task-page :is(.result-file-sidebar,#cues) {
  min-width:0; overflow-wrap:anywhere;
}
.dashboard-task-page .result-file-sidebar :is(dd,button) { min-width:0; white-space:normal; }
.dashboard-task-page #editor #cues :is(.cue,.cue-texts,.word-line,textarea) { min-width:0; max-width:100%; }
.dashboard-task-page #editor #cues .word-line button { max-width:100%; overflow-wrap:anywhere; }
.dashboard-task-page #editor[data-view=reading] #cues .timed-word.word-current {
  color:var(--word-highlight,#0047e0); background:transparent; text-decoration:none;
}
body.dashboard-task-page #editor[data-word-highlight=amber] { --word-highlight:#925400; }
body.dashboard-task-page #editor[data-word-highlight=blue] { --word-highlight:#0047e0; }
body.dashboard-task-page #editor[data-word-highlight=green] { --word-highlight:#106743; }
body.dashboard-task-page #editor[data-word-highlight=purple] { --word-highlight:#742db1; }
@media(prefers-color-scheme:dark) {
  body.dashboard-task-page #editor { --word-highlight:#8cb6ff; }
  body.dashboard-task-page #editor[data-word-highlight=amber] { --word-highlight:#ffd36e; }
  body.dashboard-task-page #editor[data-word-highlight=blue] { --word-highlight:#8cb6ff; }
  body.dashboard-task-page #editor[data-word-highlight=green] { --word-highlight:#81e2ac; }
  body.dashboard-task-page #editor[data-word-highlight=purple] { --word-highlight:#d3a7ff; }
}
.dashboard-highlight-setting {
  display:flex; align-items:center; justify-content:space-between; gap:8px;
  margin-block-start:10px; padding-block-start:9px; border-block-start:1px solid var(--result-border);
  font-size:12px; color:var(--result-ink);
}
.dashboard-highlight-setting select {
  width:auto; min-width:82px; margin:0; padding:3px 6px; min-height:28px;
  border:1px solid var(--result-border); border-radius:5px; font-size:12px;
}
.dashboard-task-page #editor #cues .cue:has(.word-edit) { position:relative; }
.dashboard-task-page #editor #cues .cue:has(.word-edit) .word-line { padding-right:34px; }
.dashboard-task-page #editor #cues .cue .word-edit {
  position:absolute; z-index:1; top:8px; right:8px;
  display:grid; place-items:center; width:28px; height:28px; min-height:28px;
  margin:0; padding:0; border:1px solid var(--result-border); border-radius:5px;
  background:var(--result-toolbar); color:var(--result-ink); font-size:0;
}
.dashboard-task-page #editor #cues .cue .word-edit svg { width:15px; height:15px; }
@media (hover:hover) and (pointer:fine) {
  .dashboard-task-page #editor #cues .cue:not(:hover):not(:focus-within) .word-edit {
    opacity:0; pointer-events:none;
  }
}
.dashboard-task-page .result-player-controls > * { min-width:0; max-width:100%; }
.dashboard-task-page .result-volume > summary {
  display:grid; place-items:center; width:30px; height:30px; border-radius:5px; list-style:none;
}
.dashboard-task-page .result-volume > summary::-webkit-details-marker { display:none; }
.dashboard-task-page .result-volume > summary:is(:hover,:focus-visible) { color:var(--result-accent); }
.dashboard-task-page .result-volume > summary svg { width:18px; height:18px; }
.dashboard-task-page .result-volume:not(.is-silent) .result-volume-silent,
.dashboard-task-page .result-volume.is-silent .result-volume-waves { display:none; }
.dashboard-task-page .result-volume-controls {
  position:absolute; z-index:2; inset-inline-end:0; inset-block-end:calc(100% + 7px);
  display:grid; justify-items:center; gap:5px; min-width:58px; padding:8px 6px;
  border:1px solid var(--result-border); border-radius:7px;
  background:var(--result-toolbar); color:var(--result-ink); box-shadow:0 5px 16px #0f172a22;
}
.dashboard-task-page .result-volume-controls input {
  writing-mode:vertical-lr; direction:rtl; width:24px; min-width:0; height:100px;
  min-height:0; margin:0; padding:0; accent-color:var(--result-accent);
}
.dashboard-task-page .result-volume-controls output { font-size:11px; font-variant-numeric:tabular-nums; }
.dashboard-task-page .result-volume-controls :is(input,button):focus-visible {
  outline:2px solid var(--result-accent); outline-offset:2px;
}
body.dashboard-task-page.is-result .result-title > :is(#heading), 
body.dashboard-task-page.is-result .result-file-row > #filename {
  position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap;
}
.dashboard-task-page #editor #editstatus[data-state=saved] { display:none; }
.dashboard-inspector-resize { display:none; }
@media (max-width:780px) {
  .dashboard-task-page .dashboard-utility-bar { flex-wrap:wrap; }
  .dashboard-task-page .dashboard-task-breadcrumb { flex:1 1 65%; }
}

@media (min-width:901px) and (min-height:640px) {
  body.dashboard-task-page.is-result .workspace-layout { height:100dvh; }
  body.dashboard-task-page.is-result .workspace-content {
    display:flex; flex-direction:column; min-height:0; padding-bottom:0;
  }
  .dashboard-task-page .dashboard-utility-bar { flex:none; }
  body.dashboard-task-page.is-result .dashboard-task-surface {
    display:flex; flex:1; flex-direction:column; min-height:0;
  }
  body.dashboard-task-page.is-result .dashboard-task-surface > .result-layout {
    display:grid; flex:1; min-height:0; align-items:stretch; grid-template-rows:minmax(0,1fr);
  }
  body.dashboard-task-page.is-result .result-layout:has(.result-file-sidebar:not([hidden])) {
    position:relative; grid-template-columns:minmax(0,1fr) var(--dashboard-inspector-width,218px);
  }
  .dashboard-task-page .result-layout:has(.result-file-sidebar:not([hidden])) .dashboard-inspector-resize {
    display:block; position:absolute; inset-block:0;
    inset-inline-end:calc(var(--dashboard-inspector-width,218px) - 4px);
    width:8px; cursor:col-resize; touch-action:none; z-index:6;
  }
  .dashboard-inspector-resize:is(:hover,:focus-visible) { background:var(--result-accent); opacity:.55; }
  body.dashboard-task-page.is-result .result-layout #editor:not([hidden]) {
    display:flex; flex-direction:column; min-height:0; align-self:stretch;
  }
  body.dashboard-task-page.is-result .result-layout #editor > * { flex:none; }
  body.dashboard-task-page.is-result .result-layout #editor > #cues {
    flex:1; min-height:0; max-height:none; overflow:auto;
  }
  body.dashboard-task-page.is-result #editor > .result-player-strip { position:relative; bottom:auto; }
  body.dashboard-task-page.is-result #editor > .editor-controls { max-height:32dvh; overflow:auto; }
  body.dashboard-task-page.is-result #editor video#player { max-height:min(21dvh,210px); }
  body.dashboard-task-page.is-result .result-layout > .result-file-sidebar {
    align-self:stretch; min-height:0; overflow:auto;
  }
  .dashboard-task-page .result-file-sidebar .dashboard-result-actions:not([hidden]) {
    position:sticky; top:0; z-index:1;
  }
}

.dashboard-task-page dialog:is(.repair-dialog,.ai-summary-dialog,.task-notes-dialog,.video-caption-dialog,.result-export-drawer)[open] {
  box-sizing:border-box; max-inline-size:calc(100% - 24px); max-block-size:calc(100dvh - 24px);
  padding:clamp(14px,2.25vw,24px); overflow:auto; overscroll-behavior:contain;
  scrollbar-gutter:stable; border:1px solid var(--result-border); border-radius:9px;
  background:var(--result-toolbar); color:var(--result-ink);
  box-shadow:0 12px 34px rgb(15 28 51 / .18); overflow-wrap:anywhere;
}
.dashboard-task-page dialog:is(.repair-dialog,.ai-summary-dialog,.task-notes-dialog,.video-caption-dialog,.result-export-drawer)::backdrop {
  background:rgb(15 23 42 / .44);
}
.dashboard-task-page dialog:is(.ai-summary-dialog,.video-caption-dialog) :is(h2,[id$="-title"]) {
  padding-inline-end:36px;
}
.dashboard-task-page dialog:is(.repair-dialog,.ai-summary-dialog,.task-notes-dialog,.video-caption-dialog,.result-export-drawer)
  :is(button,a,input,select,textarea,summary):focus-visible {
  outline:2px solid var(--result-accent); outline-offset:2px;
}
.dashboard-task-page dialog:is(.repair-dialog,.ai-summary-dialog,.task-notes-dialog,.video-caption-dialog,.result-export-drawer)
  :is(input:not([type=checkbox],[type=radio]),select,textarea,pre,canvas,video) { box-sizing:border-box; min-inline-size:0; max-inline-size:100%; }
.dashboard-task-page dialog:is(.repair-dialog,.ai-summary-dialog,.task-notes-dialog,.video-caption-dialog,.result-export-drawer) :is(button,a) {
  max-inline-size:100%; white-space:normal; overflow-wrap:anywhere;
}
.dashboard-task-page dialog.result-export-drawer[open] { max-block-size:100dvh; border-start-end-radius:0; border-end-end-radius:0; }
.dashboard-task-page dialog.result-export-drawer .dashboard-export-heading { margin:0; }
.dashboard-task-page dialog.result-export-drawer .dashboard-export-heading h2 { font-size:17px; }
.dashboard-task-page dialog.result-export-drawer .result-panel-close {
  flex:none; width:auto; min-height:32px; margin:0; padding:4px 8px;
  background:transparent; color:var(--result-ink); border-color:var(--result-border);
}
.dashboard-task-page dialog.result-export-drawer #export-panel {
  background:transparent; margin-block-start:12px;
}
.dashboard-task-page dialog.result-export-drawer #downloads {
  display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); align-items:end; gap:10px;
}
.dashboard-task-page dialog.result-export-drawer #downloads > :not(label) { grid-column:1 / -1; }
.dashboard-task-page dialog.result-export-drawer #downloads label { min-inline-size:0; margin:0; color:var(--result-muted); }
.dashboard-task-page dialog.result-export-drawer #downloads select {
  width:100%; min-height:36px; margin:4px 0 0; border-color:var(--result-border);
  background:var(--result-toolbar); color:var(--result-ink); font-size:13px;
}
.dashboard-task-page dialog.result-export-drawer #downloads .format-shortcuts { flex-wrap:wrap; gap:5px; }
.dashboard-task-page dialog.result-export-drawer #downloads .format-shortcuts button {
  min-height:28px; padding:3px 8px; margin:0; background:transparent;
  border-color:var(--result-border); color:var(--result-ink);
}
.dashboard-task-page dialog.result-export-drawer #downloads .format-shortcuts button[aria-pressed=true] {
  border-color:var(--result-accent); color:var(--result-accent);
}
.dashboard-task-page dialog.result-export-drawer #downloads .export-filename {
  margin:3px 0 0; text-align:start; color:var(--result-muted); font-size:12px;
}
.dashboard-task-page dialog.result-export-drawer #downloads #export-download {
  min-height:38px; padding-block:6px; border-radius:6px;
}
.dashboard-task-page dialog.result-export-drawer #downloads a.export-raw {
  text-align:start; color:var(--result-muted);
}
.dashboard-task-page dialog :is(.dashboard-dialog-heading,.tn-head) {
  display:flex; justify-content:space-between; align-items:center; gap:8px;
  position:sticky; top:0; z-index:3; background:var(--result-toolbar);
  padding-block:6px; margin-bottom:8px; border-bottom:1px solid var(--result-border);
}
.dashboard-task-page dialog .dashboard-dialog-heading > h2 { margin:0; padding:0; }
.dashboard-task-page dialog .dashboard-dialog-heading > form { display:contents; }
.dashboard-task-page dialog .dashboard-dialog-heading :is(.ai-summary-close,.vc-close,.dashboard-repair-close) {
  position:static; flex:none; width:auto; margin:0; background:var(--result-toolbar); color:var(--result-ink);
}
.dashboard-task-page dialog :is(.dashboard-video-actions,.tn-footer,.repair-actions) {
  position:sticky; bottom:0; z-index:2; padding-block:8px;
  border-top:1px solid var(--result-border); background:var(--result-toolbar);
}
.dashboard-video-actions,.dashboard-gap-row { display:flex; align-items:center; flex-wrap:wrap; gap:8px; }
.dashboard-video-actions #vc-status:empty { display:none; }
.dashboard-repair-context { color:var(--result-muted); font-size:13px; }
.dashboard-task-page dialog.repair-dialog[open] { padding:0; overflow:hidden; scrollbar-gutter:auto; }
.dashboard-task-page .repair-dialog > form {
  display:grid; grid-template-rows:auto minmax(0,1fr) auto;
  max-block-size:calc(100dvh - 26px); min-width:0;
}
.dashboard-task-page .repair-dialog .dashboard-dialog-heading {
  position:static; margin:0; padding:12px 16px; align-items:center;
}
.dashboard-task-page .repair-dialog .dashboard-dialog-heading h2 {
  font-size:16px; font-weight:650; line-height:1.4;
}
.dashboard-task-page .dashboard-repair-body {
  display:grid; gap:12px; align-content:start; min-width:0; min-height:0;
  padding:14px 16px; overflow:auto; overscroll-behavior:contain;
}
.dashboard-task-page .dashboard-repair-body :is(label,p) { margin:0; }
.dashboard-task-page .dashboard-repair-body label > span { margin-bottom:4px; color:var(--result-muted); }
.dashboard-task-page .dashboard-repair-body :is(textarea,input:not([type=checkbox])) {
  border:1px solid var(--result-border); border-radius:6px; padding:6px 8px;
  background:var(--result-toolbar); color:var(--result-ink); font-size:14px;
}
.dashboard-task-page .dashboard-repair-body textarea { min-height:76px; }
.dashboard-task-page .dashboard-repair-times {
  display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:6px 10px; align-items:end;
}
.dashboard-task-page .dashboard-repair-duration {
  grid-column:1 / -1; color:var(--result-muted); font-size:12px; font-variant-numeric:tabular-nums;
}
.dashboard-task-page .dashboard-repair-duration:empty,
.dashboard-task-page .dashboard-repair-footer .repair-error:empty { display:none; }
.dashboard-task-page .dashboard-repair-footer {
  padding:9px 16px; border-top:1px solid var(--result-border); background:transparent;
}
.dashboard-task-page .dashboard-repair-footer .repair-actions {
  position:static; flex-wrap:wrap; gap:6px; margin:0; padding:0; border:0; background:transparent;
}
.dashboard-task-page .dashboard-repair-footer .repair-error { margin:0 0 8px; }
.dashboard-task-page .repair-dialog :is(.dashboard-repair-close,.repair-actions button,.dashboard-gap-row button) {
  width:auto; min-height:34px; margin:0; padding:4px 9px; border:1px solid var(--result-border);
  border-radius:6px; background:var(--result-toolbar); color:var(--result-ink); font-size:12px;
}
.dashboard-task-page .repair-dialog .repair-actions button[type=submit] {
  background:#3049bd; border-color:#3049bd; color:#fff;
}
.dashboard-task-page .dashboard-gap-row > span {
  flex:1 1 100%; color:var(--result-muted); font-size:12px; font-variant-numeric:tabular-nums;
}
.dashboard-dialog-steps,.dashboard-notes-finish { display:none; }
@media(max-width:680px) {
  .dashboard-dialog-steps {
    display:flex; align-items:center; flex-wrap:wrap; gap:6px; margin-block:8px;
  }
  .dashboard-dialog-steps > button {
    width:auto; min-height:34px; margin:0; padding:3px 8px;
    border:1px solid var(--result-border); border-radius:5px; background:var(--result-toolbar); color:var(--result-ink);
  }
  .dashboard-dialog-steps > button[aria-pressed=true] { border-color:var(--result-accent); color:var(--result-accent); }
  dialog[data-dialog-step="0"] [data-dialog-step]:not([data-dialog-step="0"]),
  dialog[data-dialog-step="1"] [data-dialog-step]:not([data-dialog-step="1"]),
  dialog[data-dialog-step="2"] [data-dialog-step]:not([data-dialog-step="2"]),
  .task-notes-dialog[data-dialog-step="2"] .tn-layout { display:none; }
  .task-notes-dialog[data-dialog-step="2"] .dashboard-notes-finish { display:block; }
}
@media(max-width:600px) {
  .dashboard-task-page #dashboard-translation-dialog select { font-size:16px; }
  .dashboard-task-page #dashboard-translation-dialog .dashboard-dialog-heading h2 {
    min-inline-size:0; margin-inline:0; padding-inline-end:0;
  }
  .dashboard-task-page dialog:is(.repair-dialog,.ai-summary-dialog,.task-notes-dialog,.video-caption-dialog)[open] {
    inline-size:calc(100% - 20px); max-inline-size:none;
  }
  .dashboard-task-page dialog.result-export-drawer[open] {
    inline-size:100%; max-inline-size:100%; max-block-size:calc(100dvh - 12px);
    border-radius:9px 9px 0 0; padding-bottom:max(14px,env(safe-area-inset-bottom));
  }
}
.dashboard-review, .dashboard-task-page {
  --workspace-button-height:32px;
  --workspace-button-radius:5px;
  --workspace-button-font:12px;
  --workspace-button-padding:4px 9px;
}

.dashboard-review .dashboard-folders #history-refresh,
.dashboard-review .workspace-layout :is(.view, .dashboard-upload, .dashboard-utility-bar, .workspace-sidebar) button,
.dashboard-task-page .dashboard-task-surface :is(#editor, .task-card, .result-file-sidebar, dialog) button:not(#cues button) {
  min-height:var(--workspace-button-height);
  border-radius:var(--workspace-button-radius);
  font-size:var(--workspace-button-font);
  box-shadow:none;
}
.dashboard-review .workspace-layout :is(.view, .dashboard-upload) button:not(.dashboard-task-icon),
.dashboard-task-page .dashboard-task-surface :is(#editor, .task-card, .result-file-sidebar, dialog) button:not(#cues button, .review-transport button) {
  padding:var(--workspace-button-padding);
}
.dashboard-task-page .result-volume > summary,
.dashboard-review .task-actions summary {
  min-height:var(--workspace-button-height);
  border-radius:var(--workspace-button-radius);
}
body.dashboard-review :is(button,summary,[role=button],a.secondary,a.button),
body.dashboard-task-page .result-file-sidebar #result-secondary-tools :is(button,a) {
  border-color:transparent !important;
}
.dashboard-task-page .dashboard-insights-panel .dashboard-insights-generate {
  display:inline-flex;
  align-items:center;
  gap:7px;
  width:auto;
  max-width:100%;
  min-height:32px;
  padding:5px 10px;
  border:0;
  border-radius:6px;
  color:#fff;
  background:#234a94;
  font-size:12px;
  font-weight:650;
  text-align:start;
  transition:background-color 150ms ease;
}
.dashboard-task-page .dashboard-insights-panel .dashboard-insights-generate[hidden] { display:none; }
.dashboard-task-page .dashboard-insights-panel .dashboard-insights-generate:hover:not(:disabled) { background:#1b3c7d; }
.dashboard-task-page .dashboard-insights-panel .dashboard-insights-generate:active:not(:disabled) { background:#153266; }
.dashboard-task-page .dashboard-insights-panel .dashboard-insights-generate:focus-visible { outline:2px solid var(--result-accent,#2858ac); outline-offset:2px; }
.dashboard-task-page .dashboard-insights-panel .dashboard-insights-generate:disabled { color:#fff; background:#526a92; opacity:1; cursor:default; }
.dashboard-insights-generate svg { flex:none; width:15px; height:15px; }
.dashboard-insights-template {
  display:grid;
  gap:5px;
  margin-block-end:10px;
  color:var(--result-ink,#203352);
  font-size:12px;
  font-weight:600;
}
.dashboard-insights-template[hidden] { display:none; }
.dashboard-insights-template select {
  width:100%;
  min-height:32px;
  padding:4px 8px;
  color:var(--result-ink,#203352);
  background:var(--result-toolbar,#f0f4fa);
  border:1px solid var(--result-border,#d6e0ef);
  border-radius:5px;
  font:inherit;
}
.dashboard-insights-template select:focus-visible { outline:2px solid var(--result-accent,#2858ac); outline-offset:2px; }
.dashboard-insights-template-note { font-size:12px; font-weight:650; }
@media (prefers-reduced-motion:reduce) {
  .dashboard-task-page .dashboard-insights-panel .dashboard-insights-generate { transition:none; }
}
.dashboard-insights-actions {
  display:flex;
  justify-content:flex-end;
  flex-wrap:wrap;
  gap:5px;
}
.dashboard-insights-actions[hidden] { display:none; }
.dashboard-task-page .dashboard-insights-panel .dashboard-insights-actions button {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:5px;
  width:auto;
  min-height:30px;
  padding:4px 8px;
  border:0;
  border-radius:6px;
  background:var(--result-toolbar,#f0f4fa);
  color:var(--result-ink,#203352);
  font-size:12px;
  font-weight:600;
  white-space:nowrap;
}
.dashboard-task-page .dashboard-insights-panel .dashboard-insights-actions button:hover:not(:disabled) {
  background:color-mix(in srgb,var(--result-accent,#2858ac) 13%,var(--result-toolbar,#f0f4fa));
}
.dashboard-task-page .dashboard-insights-panel .dashboard-insights-actions button:focus-visible {
  outline:2px solid var(--result-accent,#2858ac);
  outline-offset:2px;
}
.dashboard-task-page .dashboard-insights-panel .dashboard-insights-actions button:disabled {
  opacity:.65;
  cursor:default;
}
.dashboard-insights-actions svg { display:block; flex:none; width:14px; height:14px; }
.dashboard-feedback-dialog {
  box-sizing:border-box;
  position:fixed;
  inset:0 0 0 auto;
  inline-size:min(420px,100%);
  block-size:100dvh;
  max-inline-size:100%;
  max-block-size:100dvh;
  margin:0;
  padding:24px 20px;
  border:0;
  border-inline-start:1px solid #d6e0ef;
  overflow:auto;
  background:var(--result-toolbar,#fff);
  color:var(--result-ink,#203352);
}
.dashboard-review .dashboard-floating-feedback,
.dashboard-task-page .dashboard-floating-feedback {
  position:fixed;
  z-index:30;
  right:max(14px,env(safe-area-inset-right));
  bottom:calc(14px + env(safe-area-inset-bottom));
  display:inline-flex;
  align-items:center;
  gap:6px;
  inline-size:auto;
  margin:0;
  min-height:36px;
  padding:6px 11px;
  border:0;
  border-radius:7px;
  background:#234a94;
  color:#fff;
  font-size:13px;
  font-weight:650;
  box-shadow:0 2px 8px #0f1c3326;
}
.dashboard-task-page .result-player-strip > .dashboard-floating-feedback {
  position:absolute;
  inset-inline-end:12px;
  inset-block-end:calc(100% + 6px);
}
.dashboard-review .dashboard-upload-heading .dashboard-floating-feedback {
  position:static;
  margin-inline-start:auto;
  flex:none;
  min-height:32px;
}
.dashboard-floating-feedback svg { width:16px; height:16px; flex:none; }
.dashboard-review .dashboard-floating-feedback:hover,
.dashboard-task-page .dashboard-floating-feedback:hover { background:#193b7b; }
.dashboard-floating-feedback:focus-visible { outline:2px solid #4f71bc; outline-offset:3px; }
.dashboard-feedback-dialog::backdrop { background:#0f172a66; }
.dashboard-feedback-dialog form,.dashboard-feedback-dialog label { display:grid; gap:9px; }
.dashboard-feedback-dialog h2,.dashboard-feedback-dialog p { margin:0; }
.dashboard-feedback-dialog h2 { font-size:18px; }
.dashboard-feedback-dialog p,.dashboard-feedback-dialog label { font-size:13px; line-height:1.5; }
.dashboard-feedback-dialog p:empty { display:none; }
.dashboard-feedback-dialog label { gap:4px; font-weight:600; }
.dashboard-feedback-dialog :is(select,textarea) {
  box-sizing:border-box;
  width:100%;
  padding:6px 8px;
  border:1px solid #ccd7e7;
  border-radius:5px;
  background:var(--result-toolbar,#fff);
  color:inherit;
  font:inherit;
}
.dashboard-feedback-dialog textarea { resize:vertical; }
.dashboard-feedback-actions { display:flex; justify-content:flex-end; gap:8px; }
.dashboard-feedback-actions button { inline-size:auto; margin:0; border:0; border-radius:5px; padding:5px 10px; min-height:32px; font-size:12px; }
.dashboard-feedback-actions button[type=submit] { background:#234a94; color:#fff; }
.dashboard-feedback-dialog [hidden] { display:none; }
.dashboard-insights-panel .dashboard-summary-section {
  padding-block:15px;
  border-block-end:1px solid var(--result-border);
}
.dashboard-insights-panel .dashboard-summary-section h3 {
  margin:0 0 9px;
  font-size:11px;
  font-weight:650;
  letter-spacing:.065em;
  text-transform:uppercase;
}
.dashboard-insights-panel .dashboard-summary-section p,
.dashboard-insights-panel .dashboard-summary-section li {
  color:var(--result-text, inherit);
  font-size:14px;
  line-height:1.68;
}
.dashboard-summary-section ul { margin:0; padding-inline-start:17px; }
.dashboard-insights-panel .dashboard-insights-source {
  display:inline-block;
  padding:1px 5px;
  border:0;
  border-radius:4px;
  font:500 11px/1.4 inherit;
  color:#2555c2;
  background:color-mix(in srgb,currentColor 8%,transparent);
}
.dashboard-insights-panel .dashboard-insights-source:hover:not(:disabled) { text-decoration:underline; }
.dashboard-insights-panel .dashboard-insights-source:disabled { opacity:.72; }
.dashboard-insights-panel [role="tabpanel"] h3 { margin: 18px 0 8px; }
.dashboard-insights-panel [role="tabpanel"] h4 { margin: 14px 0 4px; }
.dashboard-insights-panel [role="tabpanel"] li { margin: 5px 0; }
.dashboard-details-actions {
  justify-content:space-between;
  align-items:center;
  margin-block-end:8px;
}
.dashboard-summary-section .dashboard-details-actions h3 { margin:0; }
.dashboard-mind-map {
  --map-surface:var(--result-toolbar,#f4f7fb);
  --map-border:var(--result-border,#d6e0ef);
  --map-ink:var(--result-ink,#213550);
  --map-link:color-mix(in srgb,var(--result-accent,#2858ac) 47%,var(--map-border));
  display:flex;
  flex-direction:column;
  min-width:0;
  margin-block-start:12px;
  background:var(--map-surface);
  color:var(--map-ink);
  border:1px solid var(--map-border);
  border-radius:7px;
}
.dashboard-mind-map-controls {
  align-items:center;
  padding:5px 8px;
  border-block-end:1px solid var(--map-border);
}
.dashboard-mind-map-controls > span {
  min-inline-size:36px;
  text-align:center;
  font:600 11px/1.4 system-ui,sans-serif;
  font-variant-numeric:tabular-nums;
}
.dashboard-mind-map-viewport {
  position:relative;
  overflow:auto;
  block-size:clamp(240px,60vh,650px);
  overscroll-behavior:contain;
  cursor:grab;
  background-image:radial-gradient(var(--map-border) .65px,transparent .65px);
  background-size:16px 16px;
}
.dashboard-mind-map-viewport.is-panning { cursor:grabbing; user-select:none; }
.dashboard-mind-map-viewport:focus-visible { outline:2px solid var(--map-link); outline-offset:-2px; }
.dashboard-mind-map:fullscreen { margin:0; border:0; border-radius:0; }
.dashboard-mind-map:fullscreen .dashboard-mind-map-viewport { flex:1; block-size:auto; }
.dashboard-mind-map-canvas { position:relative; inline-size:max-content; padding:22px; }
.dashboard-mind-map-canvas > svg {
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  fill:none;
  stroke:var(--map-link);
  stroke-width:1.6;
  pointer-events:none;
}
.dashboard-insights-panel .dashboard-mind-map-tree,
.dashboard-insights-panel .dashboard-mind-map-tree ul {
  display:flex;
  flex-direction:column;
  gap:13px;
  list-style:none;
  margin:0;
  padding:0;
}
.dashboard-insights-panel .dashboard-mind-map-tree li {
  display:flex;
  align-items:center;
  gap:32px;
  margin:0;
}
.dashboard-mind-map-node {
  z-index:1;
  display:block;
  inline-size:max-content;
  max-inline-size:180px;
  padding:7px 11px;
  border:1px solid var(--map-border);
  border-radius:6px;
  background:var(--map-surface);
  color:var(--map-ink);
  font-size:13px;
  font-weight:550;
  line-height:1.45;
  overflow-wrap:anywhere;
}
.dashboard-mind-map-node[data-depth="0"] {
  padding:10px 14px;
  border-color:#234a94;
  background:#234a94;
  color:#fff;
  font-size:15px;
  font-weight:700;
}
.dashboard-mind-map-node[data-depth="1"] {
  background:color-mix(in srgb,var(--result-accent,#2858ac) 10%,var(--map-surface));
  border-color:var(--map-link);
  font-weight:650;
}

/* Keep the translation action prominent in both the toolbar and modal. */
.dashboard-task-page #dashboard-translation-dialog #retranslate-start {
  min-block-size:42px;
  padding:8px 16px;
  border:0;
  border-radius:6px;
  background:#2457b8;
  color:#fff;
  font-weight:700;
}
.dashboard-task-page #dashboard-translation-dialog #retranslate-start:hover:not(:disabled) {
  background:#1c458f;
}
.dashboard-task-page #dashboard-translation-dialog #retranslate-start:disabled {
  background:#e3e9f3;
  color:#56657b;
  cursor:not-allowed;
  opacity:1;
}
.dashboard-task-page #dashboard-translation-dialog #retranslate-start:focus-visible {
  outline:2px solid #4f71bc;
  outline-offset:2px;
}
@media (max-width:600px) {
  .dashboard-task-page #dashboard-translation-dialog #retranslate-start { inline-size:100%; }
}

/* Compact transcript rows in Reading and Focus. */
body.dashboard-task-page.is-result #editor:is([data-view=reading],[data-view=focus]) #cues {
  .cue { padding:8px 10px; }
  .cue-head, .cue-texts > .seek, .cue-text-heading > :is(span,.timing-details),
  .cue-text-label > span { display:none; }
  .cue .cue-texts {
    display:grid; grid-template-columns:max-content fit-content(24%) minmax(0,1fr);
    align-items:start; gap:2px 8px; padding:0;
    padding-inline-end:32px;
  }
  .cue-text-heading, .cue-text-label:not(:has([data-field=translation])) { display:contents; }
  .cue-text-heading .dashboard-cue-start {
    grid-area:1 / 1; display:inline-flex; align-items:center; width:auto;
    min-height:24px; margin:3px 0 0; padding:1px 3px; border:0;
    background:transparent; color:var(--result-accent);
  }
  .cue-text-heading .dashboard-cue-start:is(:hover,:focus-visible) {
    background:var(--result-toolbar); text-decoration:underline;
  }
  .cue-text-heading input.speaker-name {
    grid-area:1 / 2; width:100%; max-width:104px; margin-block-start:3px;
  }
  .cue-texts :is(.word-line,[data-field=text]) { grid-area:1 / 3; padding-inline:0; }
  .cue-text-label:has([data-field=translation]) {
    grid-area:2 / 3; margin:0; padding:0; border:0;
  }
  .cue-text-label:has([data-field=translation]:placeholder-shown:not(:focus)) { display:none; }
  .cue textarea:is([data-field=text],[data-field=translation]) {
    field-sizing:content; height:auto !important; min-height:0; max-height:280px;
    padding:3px 0; line-height:1.7;
  }
  .cue textarea[data-field=translation] { color:var(--result-muted); }
}

body.dashboard-task-page.is-result #editor[data-view=reading] #cues .cue {
  max-inline-size:78ch;
  margin-inline:auto;
  padding-block:10px;
}
body.dashboard-task-page.is-result #editor[data-view=reading] #cues .cue .cue-texts {
  grid-template-columns:4.4rem clamp(3.5rem, 8vw, 5rem) minmax(0,1fr);
  column-gap:6px;
  row-gap:4px;
  padding-inline-end:0;
}
body.dashboard-task-page.is-result #editor[data-view=reading] #cues .cue :is(.word-line,textarea[data-field=text]) {
  line-height:1.8;
}
body.dashboard-task-page.is-result #editor[data-view=reading] #cues textarea[data-field=translation] {
  font-size:0.94rem;
  line-height:1.65;
}

.speaker-unidentified-hint, #speaker-recognition-notice { display:none; }
body.dashboard-task-page.is-result #editor:is([data-view=reading],[data-view=focus]) {
  #speaker-recognition-notice:not([hidden]) { display:block; margin:4px 12px; color:var(--result-muted); font-size:13px; }
  #cues .speaker-unidentified-hint { display:block; grid-area:1 / 2; margin-block-start:5px; font-size:11px; line-height:1.35; color:var(--result-muted); overflow-wrap:anywhere; }
  #cues.recognition-off .speaker-name, #cues .unidentified-speaker .speaker-name { display:none; }
  #cues .cue .cue-texts { grid-template-columns:4.4rem clamp(3.5rem, 8vw, 5rem) minmax(0,1fr); }
  #cues.recognition-off .cue .cue-texts { grid-template-columns:4.4rem 0 minmax(0,1fr); }
}
body.dashboard-task-page.is-result #editor[data-view=reading] #cues:not(.recognition-off) .cue:not(.unidentified-speaker) input.speaker-name { display:block; }

body.dashboard-task-page.is-result #editor:is([data-view=reading],[data-view=focus]) #cues .cue .cue-texts {
  align-items:first baseline;
}
body.dashboard-task-page.is-result #editor:is([data-view=reading],[data-view=focus]) #cues .cue-texts {
  .dashboard-cue-start, input.speaker-name, .speaker-unidentified-hint { margin-block-start:0; }
  textarea { align-self:start; }
  &:has(textarea[data-field=text]:not([hidden]))::before {
    content:"M"; visibility:hidden; pointer-events:none; grid-area:1 / 3;
    font:inherit; font-size:17px; line-height:1.8; padding-block-start:4px;
  }
}
body.dashboard-task-page #editor:is(:not([data-word-highlight]),[data-word-highlight=blue]) {
  --word-highlight:#003cdb;
}
@media(prefers-color-scheme:dark) {
  body.dashboard-task-page #editor:is(:not([data-word-highlight]),[data-word-highlight=blue]) { --word-highlight:#90caff; }
}
body.dashboard-task-page.is-result #editor[data-view=reading] #cues .timed-word.word-current {
  color:var(--word-highlight); -webkit-text-stroke:0.48px currentColor;
  background:transparent; text-decoration:none; transition:none;
}

body.dashboard-task-page #editor #cues .cue-text-heading input.speaker-name {
  color:oklch(46% 0.13 var(--speaker-name-hue,255)); font-weight:650;
}
@media(prefers-color-scheme:dark) {
  body.dashboard-task-page #editor #cues .cue-text-heading input.speaker-name {
    color:oklch(80% 0.12 var(--speaker-name-hue,255));
  }
}

.dashboard-task-page #editor #cues input.speaker-unidentified-hint {
  width:100%; min-width:0; height:24px; min-height:24px; padding:2px 3px;
  border:0; background:transparent; text-overflow:ellipsis; cursor:text;
}
.dashboard-task-page #editor #cues input.speaker-unidentified-hint:is(:hover,:focus-visible) { background:var(--result-toolbar); }
body.dashboard-task-page.is-result #editor:is([data-view=reading],[data-view=focus]) #cues input.speaker-unidentified-hint.assigned-speaker { font-weight:650; color:oklch(46% 0.13 var(--speaker-name-hue,255)); }
@media(prefers-color-scheme:dark) {
  body.dashboard-task-page.is-result #editor:is([data-view=reading],[data-view=focus]) #cues input.speaker-unidentified-hint.assigned-speaker { color:oklch(80% 0.12 var(--speaker-name-hue,255)); }
}

.dashboard-result-toolbar .dashboard-view-picker {
  position:relative; display:inline-flex; align-items:center; gap:5px; flex:none;
  padding:5px 8px; margin:0; border-radius:5px; color:var(--result-ink); font-size:13px;
}
.dashboard-view-picker svg { width:16px; height:16px; }
.dashboard-view-picker::after { content:''; width:5px; height:5px; border:solid currentColor; border-width:0 1px 1px 0; transform:rotate(45deg); margin-block-start:-3px; }
.dashboard-view-picker select { position:absolute; inset:0; width:100%; height:100%; margin:0; opacity:0; cursor:pointer; }
.dashboard-view-picker:is(:hover,:focus-within) { background:var(--result-toolbar); }
.dashboard-view-picker:has(select:focus-visible) { outline:2px solid var(--result-accent); }

@media (min-width:781px) {
  body.dashboard-rail-collapsed .workspace-sidebar .dashboard-sidebar-heading .brand-wordmark {
    position:relative; display:block; flex:none; width:32px; height:32px; min-width:0;
    padding:0; overflow:hidden; font-size:0; letter-spacing:0;
  }
  body.dashboard-rail-collapsed .workspace-sidebar .dashboard-sidebar-heading .brand-wordmark::before {
    position:absolute; inset:0; margin:auto;
  }
  body.dashboard-rail-collapsed .workspace-sidebar .dashboard-utility-items .site-language {
    width:100%; min-width:0;
  }
  body.dashboard-rail-collapsed .workspace-sidebar .dashboard-utility-items :is(.language-trigger,.nav-signin) {
    width:100%; justify-content:center; gap:0; padding-inline:0;
  }
}

.segment-range-bar[hidden],.segment-range-bar select[hidden] { display:none; }
.segment-range-bar { display:flex; align-items:center; flex-wrap:wrap; gap:8px; padding:6px 12px; background:var(--result-toolbar); }
.segment-range-bar span { margin-inline-end:auto; }
.segment-range-bar :is(button,select) { width:auto; min-height:30px; margin:0; }
#editor #cues .cue { position:relative; }
#editor #cues .segment-range-start { position:absolute; inset-block-start:6px; inset-inline-end:38px; width:28px; min-height:26px; margin:0; padding:2px; opacity:0; }
#editor #cues .cue:is(:hover,:focus-within) .segment-range-start { opacity:1; }
body.dashboard-task-page #editor.selecting-segments #cues .cue { display:block !important; cursor:pointer; }
body.dashboard-task-page #editor.selecting-segments #cues .cue.merge-selected { background:var(--result-toolbar); outline:2px solid var(--result-accent); outline-offset:-2px; }
#editor.selecting-segments #cues .cue > * { pointer-events:none; }
@media(hover:none){#editor #cues .segment-range-start {opacity:1;}}


#editor .segment-range-bar:not([hidden]) {
  position:relative; z-index:2; flex:none; grid-column:1 / -1; box-sizing:border-box;
  display:flex; align-items:center; flex-wrap:wrap; column-gap:16px; row-gap:6px;
  padding:8px 12px; border-bottom:1px solid var(--result-border);
  background:var(--result-toolbar,#f1f4f8); color:var(--result-ink,#243654);
}
.segment-range-bar [role=status] { font-size:13px; font-weight:600; font-variant-numeric:tabular-nums; }
.segment-range-bar .merge-speaker-choice { display:flex; align-items:center; gap:6px; margin:0; font-size:12px; }
.segment-range-bar .merge-speaker-choice[hidden] { display:none; }
.segment-range-bar .merge-range-actions { display:flex; align-items:center; gap:6px; margin-inline-start:auto; }
.segment-range-bar .merge-range-actions button:last-child:not(:disabled) { background:var(--result-accent,#2858ac); color:white; }
#editor .segment-range-undo:not([hidden]) { align-self:flex-start; width:auto; min-height:32px; margin:4px 12px; }
#editor.selecting-segments .segment-range-undo { display:none; }

@media (max-width: 780px) {
  body.dashboard-review dialog.dashboard-upload[open] {
    inset: 0;
    margin: 0;
    inline-size: 100%;
    max-inline-size: 100%;
    grid-template-columns: minmax(0, 1fr);
    overflow: hidden;
  }
  .dashboard-upload-heading,
  .dashboard-upload-frame {
    box-sizing: border-box;
    min-inline-size: 0;
    max-inline-size: 100%;
  }
  .dashboard-upload-heading { flex-wrap: wrap; }
  .dashboard-upload-heading h2 { overflow-wrap: anywhere; }
  .dashboard-upload-frame { display: block; }

  body.dashboard-task-page .dashboard-task-surface > .result-layout:not([hidden]) {
    display: flex;
    flex-direction: column;
    min-inline-size: 0;
  }
  body.dashboard-task-page .result-layout > :is(#editor, .result-file-sidebar, .dashboard-insights-panel) {
    box-sizing: border-box;
    inline-size: 100%;
    min-inline-size: 0;
    max-inline-size: 100%;
  }
  body.dashboard-task-page.is-result .dashboard-result-more[open] > .result-file-sidebar:not([hidden]) {
    position: fixed;
    inset: auto 8px 8px;
    z-index: 50;
    box-sizing: border-box;
    inline-size: auto;
    min-inline-size: 0;
    max-inline-size: none;
    max-block-size: 66dvh;
    overflow: auto;
    overscroll-behavior: contain;
    background: var(--result-surface, #fff);
  }
  .dashboard-task-page .dashboard-result-more:not([open]) > .result-file-sidebar { display: none; }
  .dashboard-task-page .result-file-sidebar #result-secondary-tools,
  .dashboard-task-page .result-file-sidebar #result-file-actions:not([hidden]) {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
  }
  .dashboard-task-page .result-file-sidebar :is(button, a) {
    min-inline-size: 0;
    max-inline-size: 100%;
    overflow-wrap: anywhere;
  }
  .dashboard-task-page .dashboard-highlight-setting {
    flex-wrap: wrap;
    min-inline-size: 0;
  }
  .dashboard-task-page .dashboard-highlight-setting select { max-inline-size: 100%; }
  .dashboard-task-page .result-player-controls { flex-wrap: wrap; }
}
