:root {
  color-scheme: light;
  --ink-950: #14201d;
  --ink-800: #2c3a36;
  --ink-650: #50605b;
  --ink-500: #70807a;
  --line-strong: #cdd8d3;
  --line: #dde5e1;
  --line-soft: #e9eeeb;
  --surface: #ffffff;
  --surface-subtle: #f6f8f7;
  --surface-soft: #eef3f1;
  --canvas: #f2f5f3;
  --green-800: #1e5649;
  --green-700: #276b5b;
  --green-600: #337d6a;
  --green-100: #e3f1ec;
  --green-50: #f0f8f5;
  --blue-700: #315f89;
  --blue-100: #e6f0f7;
  --amber-700: #9b641a;
  --amber-100: #fbefd8;
  --red-700: #9e4742;
  --red-100: #f8e6e4;
  --shadow-sm: 0 1px 2px rgba(27, 49, 42, 0.04), 0 7px 22px rgba(27, 49, 42, 0.05);
  --shadow-lg: 0 22px 70px rgba(23, 46, 39, 0.2);
  --radius-sm: 7px;
  --radius-md: 11px;
  --radius-lg: 16px;
  --row-pad: 13px;
  font-family: Inter, "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink-950);
  background: var(--canvas);
  font-size: 14px;
  line-height: 1.5;
}

button, input, select, textarea { font: inherit; }
button { color: inherit; }
button, select, input { min-height: 38px; }

svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.prototype-banner {
  min-height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 5px 18px;
  color: #6f4714;
  background: #fff6df;
  border-bottom: 1px solid #eed7a5;
  font-size: 12px;
}

.prototype-banner span {
  padding: 1px 8px;
  color: #fff;
  background: #a86f1e;
  border-radius: 999px;
}

.app-header {
  min-height: 64px;
  display: grid;
  grid-template-columns: minmax(210px, 1fr) auto minmax(210px, 1fr);
  align-items: center;
  gap: 24px;
  padding: 0 28px;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.brand {
  width: max-content;
  display: flex;
  align-items: center;
  gap: 11px;
  color: inherit;
  text-decoration: none;
}

.brand-mark {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--green-800);
  border-radius: 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
}

.brand > span:last-child,
.account > span:nth-child(2) { display: grid; }
.brand strong { font-size: 15px; }
.brand small, .account small { color: var(--ink-500); font-size: 11px; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: 10px;
}

.nav-item {
  min-height: 34px;
  padding: 7px 16px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: var(--ink-650);
  cursor: pointer;
}

.nav-item:hover { color: var(--ink-950); background: rgba(255,255,255,.65); }
.nav-item.is-active { color: var(--green-800); background: var(--surface); box-shadow: 0 1px 4px rgba(33,63,53,.11); font-weight: 600; }

.account {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 9px;
}

.account-avatar {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  color: var(--green-800);
  background: var(--green-100);
  border-radius: 50%;
  font-weight: 700;
}

.icon-button {
  min-width: 34px;
  width: 34px;
  height: 34px;
  min-height: 34px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
}
.icon-button:hover { background: var(--surface-soft); border-color: var(--line); }

main { padding: 26px 28px 36px; }

.page-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  max-width: 1880px;
  margin: 0 auto 20px;
}

.eyebrow {
  margin-bottom: 3px;
  color: var(--green-700);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
}

h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 4px; font-size: 28px; line-height: 1.25; letter-spacing: -.02em; }
.page-heading p { margin-bottom: 0; color: var(--ink-650); }

.heading-actions { display: flex; gap: 9px; }
.button {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 8px 14px;
  border-radius: 8px;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  font-weight: 600;
  cursor: pointer;
}
.button:hover { border-color: #9eb2aa; box-shadow: 0 2px 8px rgba(31,68,55,.08); }
.button-primary { color: #fff; background: var(--green-700); border-color: var(--green-700); }
.button-primary:hover { background: var(--green-800); border-color: var(--green-800); }
.button-secondary { color: var(--green-800); background: var(--green-50); border-color: #b9d4ca; }
.button-ghost { background: var(--surface); }

.status-strip,
.filter-panel,
.bulk-bar,
.workspace {
  max-width: 1880px;
  margin-left: auto;
  margin-right: auto;
}

.status-strip {
  display: flex;
  align-items: stretch;
  padding: 7px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.status-item {
  min-height: 48px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
}
.status-item:hover { background: var(--surface-subtle); }
.status-item.is-active { color: var(--green-800); background: var(--green-100); }
.status-item strong { font-size: 17px; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; }
.status-dot.is-pending { background: var(--ink-500); }
.status-dot.is-scoring { background: #d38a29; }
.status-dot.is-done { background: var(--green-600); }

.status-help {
  margin-left: auto;
  padding: 7px 13px 7px 18px;
  display: grid;
  align-content: center;
  border-left: 1px solid var(--line);
}
.status-help strong { font-size: 12px; }
.status-help span { color: var(--ink-500); font-size: 12px; }

.filter-panel {
  display: grid;
  grid-template-columns: 150px 170px 170px 170px minmax(240px, 1fr);
  gap: 10px;
  margin-top: 12px;
  padding: 14px 16px 15px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.field { display: grid; gap: 5px; min-width: 0; }
.field > span:first-child { color: var(--ink-650); font-size: 12px; font-weight: 600; }
.field input, .field select, .search-control {
  width: 100%;
  min-width: 0;
  border: 1px solid var(--line-strong);
  border-radius: 7px;
  color: var(--ink-950);
  background: var(--surface);
  outline: none;
}
.field input, .field select { padding: 7px 10px; }
.field input:focus, .field select:focus, .search-control:focus-within { border-color: var(--green-600); box-shadow: 0 0 0 3px rgba(51,125,106,.12); }
.field-search { justify-self: end; width: min(100%, 380px); }
.search-control { display: flex; align-items: center; padding-left: 10px; }
.search-control svg { flex: 0 0 auto; color: var(--ink-500); }
.search-control input { border: 0; box-shadow: none !important; }

.bulk-bar {
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 12px;
  padding: 10px 14px;
  color: var(--green-800);
  background: var(--green-100);
  border: 1px solid #bdd8ce;
  border-radius: var(--radius-md);
}
.bulk-bar.is-visible { display: flex; }
.bulk-bar > div { display: flex; align-items: center; gap: 8px; }
.bulk-bar .button { min-height: 34px; padding: 6px 11px; }

.text-button, .icon-text-button {
  min-height: 30px;
  padding: 3px 4px;
  border: 0;
  color: var(--green-700);
  background: transparent;
  cursor: pointer;
  font-weight: 600;
}
.text-button:hover, .icon-text-button:hover { color: var(--green-800); text-decoration: underline; }

.workspace {
  display: grid;
  grid-template-columns: minmax(650px, 1fr) 455px;
  gap: 14px;
  align-items: start;
  margin-top: 12px;
}

.task-pane, .score-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.task-toolbar {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
}
.task-toolbar h2, .score-panel h2 { margin-bottom: 1px; font-size: 17px; }
.task-toolbar span { color: var(--ink-500); font-size: 12px; }
.task-toolbar-actions { display: flex; gap: 12px; }
.icon-text-button { display: inline-flex; align-items: center; gap: 6px; color: var(--ink-650); font-weight: 500; }

.task-list-head,
.task-row {
  display: grid;
  grid-template-columns: 36px minmax(245px, 1.8fr) minmax(130px, 1fr) minmax(120px, .8fr) minmax(105px, .7fr) 76px 28px;
  gap: 12px;
  align-items: center;
}

.task-list-head {
  min-height: 40px;
  padding: 7px 16px;
  color: var(--ink-500);
  background: var(--surface-subtle);
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  font-weight: 600;
}

.task-row {
  position: relative;
  min-height: 92px;
  padding: var(--row-pad) 16px;
  border-bottom: 1px solid var(--line-soft);
  cursor: pointer;
  transition: background .15s ease, box-shadow .15s ease;
}
.task-row:last-child { border-bottom: 0; }
.task-row:hover { background: #f8fbfa; }
.task-row.is-selected { background: var(--green-50); box-shadow: inset 3px 0 0 var(--green-600); }
.task-row[hidden] { display: none; }

input[type="checkbox"] { width: 16px; min-height: 16px; height: 16px; accent-color: var(--green-700); }

.task-primary { min-width: 0; display: flex; align-items: center; gap: 12px; }
.task-thumbnail {
  flex: 0 0 70px;
  height: 60px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 7px;
  background: #f1ece4;
}
.task-thumbnail .poster { transform: scale(.52); }
.task-copy { min-width: 0; }
.task-copy strong { display: block; margin-bottom: 3px; font-size: 14px; }
.task-copy p { margin: 0; color: var(--ink-650); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 12px; }
.task-copy span { color: var(--ink-500); font-size: 11px; }

.person-cell { display: grid; gap: 5px; }
.person-line { display: flex; align-items: center; gap: 7px; }
.person-avatar { width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; background: var(--blue-100); color: var(--blue-700); font-size: 11px; font-weight: 700; }
.person-line small { display: block; color: var(--ink-500); font-size: 10px; }
.operations-line { color: var(--ink-500); font-size: 11px; }

.type-cell { display: grid; justify-items: start; gap: 4px; }
.type-cell strong { font-size: 13px; }
.coefficient { padding: 2px 7px; border-radius: 999px; background: var(--surface-soft); color: var(--ink-650); font-size: 11px; }

.status-badge {
  width: max-content;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
}
.status-badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; }
.status-badge.is-pending { color: var(--ink-650); background: var(--surface-soft); }
.status-badge.is-pending::before { background: var(--ink-500); }
.status-badge.is-scoring { color: var(--amber-700); background: var(--amber-100); }
.status-badge.is-scoring::before { background: #c17c1e; }
.status-badge.is-done { color: var(--green-800); background: var(--green-100); }
.status-badge.is-done::before { background: var(--green-600); }
.status-note { margin-top: 4px; color: var(--ink-500); font-size: 10px; }

.total-cell { text-align: right; }
.total-cell strong { display: block; font-size: 18px; letter-spacing: -.02em; }
.total-cell span { color: var(--ink-500); font-size: 10px; }
.row-chevron { color: var(--ink-500); }

.score-panel { position: sticky; top: 12px; }
.score-panel-head {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 16px;
  border-bottom: 1px solid var(--line);
}
.panel-kicker { color: var(--green-700); font-size: 11px; font-weight: 700; }
.score-panel-head p { margin-bottom: 0; color: var(--ink-500); font-size: 11px; }
.record-navigation { display: flex; align-items: center; gap: 4px; color: var(--ink-650); font-size: 11px; }
.record-navigation .icon-button { border-color: var(--line); }

.score-panel-scroll { max-height: calc(100vh - 260px); overflow-y: auto; scrollbar-width: thin; scrollbar-color: #bfcac6 transparent; }
.asset-section { display: grid; grid-template-columns: 156px 1fr; gap: 14px; padding: 16px; border-bottom: 1px solid var(--line); }
.asset-preview { height: 130px; display: grid; place-items: center; overflow: hidden; border: 1px solid var(--line-strong); border-radius: 10px; background: #f2eee7; }
.asset-info { min-width: 0; }
.asset-label { color: var(--ink-500); font-size: 11px; font-weight: 600; }
.asset-info p { margin: 5px 0 10px; font-size: 13px; }
.asset-links { display: flex; flex-wrap: wrap; gap: 12px; }

.poster {
  position: relative;
  width: 134px;
  height: 104px;
  overflow: hidden;
  color: #27352f;
  background: linear-gradient(135deg, #f8f0e6 0%, #eee0cc 100%);
  border-radius: 4px;
  box-shadow: 0 4px 18px rgba(63,46,24,.13);
}
.poster::before { content: ""; position: absolute; width: 74px; height: 74px; right: -12px; bottom: -16px; border-radius: 50%; background: rgba(43,104,88,.16); }
.poster::after { content: ""; position: absolute; width: 46px; height: 70px; right: 20px; bottom: 7px; border-radius: 46% 46% 30% 30%; background: linear-gradient(160deg, #d8a47f 0 46%, #293f39 47% 100%); transform: rotate(8deg); box-shadow: inset 9px 0 0 rgba(255,255,255,.2); }
.poster-copy { position: absolute; z-index: 2; left: 10px; top: 11px; width: 72px; }
.poster-copy b { display: block; font-size: 10px; line-height: 1.2; }
.poster-copy strong { display: block; margin-top: 5px; color: var(--green-800); font-size: 15px; line-height: 1.05; }
.poster-copy small { display: block; margin-top: 5px; color: #6d746d; font-size: 6px; }
.poster-tag { position: absolute; z-index: 2; left: 10px; bottom: 10px; padding: 2px 5px; color: white; background: var(--green-700); border-radius: 999px; font-size: 6px; }
.poster-dark { color: #eff5f2; background: linear-gradient(135deg, #1e2729 0%, #536061 100%); }
.poster-dark .poster-copy strong { color: #d8eee6; }
.poster-dark .poster-copy small { color: #c1ceca; }
.poster-dark::before { background: rgba(231, 190, 89, .2); }
.poster-blue { background: linear-gradient(135deg, #eef5f9 0%, #c9dce7 100%); }
.poster-blue .poster-copy strong { color: #315f89; }
.poster-blue::before { background: rgba(49, 95, 137, .18); }
.poster-spec { background: linear-gradient(135deg, #f7f8f6 0%, #dfe5e0 100%); }
.poster-spec::after { border-radius: 9px; transform: rotate(-4deg); background: linear-gradient(180deg, #2c3c3a 0 36%, #9ba9a4 37% 42%, #26312f 43%); }
.poster-city { background: linear-gradient(135deg, #f5eee5 0%, #d9ddd5 62%, #c7d1c9 100%); }
.poster-city::before { width: 88px; height: 50px; right: -4px; bottom: 0; border-radius: 0; background: linear-gradient(90deg, rgba(50,75,68,.2) 30%, transparent 31% 45%, rgba(50,75,68,.15) 46% 68%, transparent 69%); }

.note-section, .scoring-section { padding: 15px 16px; border-bottom: 1px solid var(--line); }
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.section-heading h3 { display: inline; margin-right: 8px; margin-bottom: 0; font-size: 14px; }
.section-heading span { color: var(--ink-500); font-size: 10px; }
.note-section > p { margin-bottom: 0; padding: 10px 11px; background: var(--surface-subtle); border-radius: 7px; color: var(--ink-650); font-size: 12px; }
.note-section textarea { width: 100%; padding: 9px 10px; border: 1px solid var(--line-strong); border-radius: 7px; resize: vertical; outline: none; }
.note-section textarea:focus { border-color: var(--green-600); box-shadow: 0 0 0 3px rgba(51,125,106,.12); }

.scoring-heading { align-items: flex-start; }
.role-switch { display: flex; padding: 3px; background: var(--surface-soft); border-radius: 8px; }
.role-switch button { min-height: 28px; padding: 4px 9px; border: 0; border-radius: 6px; background: transparent; color: var(--ink-650); cursor: pointer; font-size: 11px; }
.role-switch button.is-active { color: var(--green-800); background: var(--surface); box-shadow: 0 1px 4px rgba(36,61,53,.12); font-weight: 700; }

.dimension-list { display: grid; gap: 8px; }
.dimension-card { padding: 10px 11px; border: 1px solid var(--line); border-radius: 9px; }
.dimension-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; margin-bottom: 7px; }
.dimension-name { display: grid; }
.dimension-name strong { font-size: 12px; }
.dimension-name span { color: var(--ink-500); font-size: 10px; }
.score-pill { flex: 0 0 auto; min-width: 41px; padding: 2px 7px; border-radius: 999px; color: var(--green-800); background: var(--green-100); text-align: center; font-size: 12px; font-weight: 700; }
.score-pill.is-low { color: var(--red-700); background: var(--red-100); }
.dimension-card select { width: 100%; min-height: 34px; padding: 6px 30px 6px 9px; border: 1px solid var(--line-strong); border-radius: 7px; color: var(--ink-800); background: var(--surface); font-size: 12px; outline: none; }
.dimension-card select:focus { border-color: var(--green-600); box-shadow: 0 0 0 3px rgba(51,125,106,.12); }

.score-panel-footer { min-height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 12px 16px; background: var(--surface); }
.score-summary { display: grid; grid-template-columns: auto auto; column-gap: 7px; align-items: baseline; }
.score-summary > span:first-child { color: var(--ink-500); font-size: 10px; }
.score-summary strong { grid-row: span 2; font-size: 24px; letter-spacing: -.03em; }
.score-summary small { color: var(--ink-500); font-size: 11px; }
.final-score { color: var(--ink-650); font-size: 10px; }
.final-score b { color: var(--green-800); }
.button-save { min-width: 128px; }

.empty-state { min-height: 320px; display: grid; place-items: center; align-content: center; gap: 8px; color: var(--ink-500); }
.empty-state[hidden] { display: none; }
.empty-state svg { width: 48px; height: 48px; }

.image-dialog { width: min(680px, calc(100vw - 28px)); border: 0; border-radius: 16px; padding: 44px 24px 18px; box-shadow: var(--shadow-lg); }
.image-dialog::backdrop { background: rgba(12,25,21,.66); }
.dialog-close { position: absolute; top: 9px; right: 12px; width: 34px; min-height: 34px; border: 0; border-radius: 50%; background: var(--surface-soft); cursor: pointer; font-size: 21px; }
.dialog-art { min-height: 430px; display: grid; place-items: center; border-radius: 12px; background: #eee8df; }
.dialog-art .poster { transform: scale(3.4); }
.image-dialog p { margin: 18px 0 0; text-align: center; color: var(--ink-650); }

.toast { position: fixed; z-index: 20; left: 50%; bottom: 24px; transform: translate(-50%, 16px); padding: 9px 14px; color: #fff; background: var(--ink-950); border-radius: 8px; opacity: 0; pointer-events: none; transition: opacity .18s ease, transform .18s ease; box-shadow: var(--shadow-lg); }
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

body.is-compact { --row-pad: 7px; }
body.is-compact .task-row { min-height: 72px; }
body.is-compact .task-thumbnail { width: 56px; flex-basis: 56px; height: 46px; }
body.is-compact .task-thumbnail .poster { transform: scale(.4); }

@media (max-width: 1450px) {
  .app-header { grid-template-columns: 210px 1fr auto; gap: 14px; }
  .nav-item { padding-left: 10px; padding-right: 10px; }
  .account > span:nth-child(2) { display: none; }
  .workspace { grid-template-columns: minmax(560px, 1fr) 410px; }
  .task-list-head, .task-row { grid-template-columns: 30px minmax(190px, 1.7fr) minmax(100px, .8fr) 96px 88px 58px 18px; gap: 6px; }
  .task-list-head, .task-row { padding-left: 12px; padding-right: 12px; }
  .task-thumbnail { flex-basis: 60px; height: 52px; }
  .task-thumbnail .poster { transform: scale(.45); }
  .task-copy strong { font-size: 13px; }
}

@media (max-width: 1020px) {
  main { padding-left: 18px; padding-right: 18px; }
  .app-header { padding: 0 18px; grid-template-columns: auto 1fr auto; }
  .brand > span:last-child { display: none; }
  .filter-panel { grid-template-columns: repeat(4, 1fr); }
  .field-search { grid-column: 1 / -1; justify-self: stretch; width: 100%; }
  .workspace { grid-template-columns: 1fr; }
  .score-panel { position: static; }
  .score-panel-scroll { max-height: none; }
}

@media (max-width: 760px) {
  .prototype-banner { align-items: flex-start; gap: 5px; flex-direction: column; }
  .app-header { min-height: auto; display: flex; flex-wrap: wrap; padding: 10px 14px; }
  .brand { order: 1; }
  .account { order: 2; margin-left: auto; }
  .main-nav { order: 3; width: 100%; overflow-x: auto; }
  .nav-item { flex: 1 0 auto; }
  main { padding: 18px 12px 26px; }
  .page-heading { align-items: flex-start; flex-direction: column; }
  h1 { font-size: 24px; }
  .heading-actions { width: 100%; overflow-x: auto; }
  .heading-actions .button { flex: 1 0 auto; }
  .status-strip { display: grid; grid-template-columns: 1fr 1fr; }
  .status-item { justify-content: center; padding-left: 9px; padding-right: 9px; }
  .status-help { grid-column: 1 / -1; margin-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .filter-panel { grid-template-columns: 1fr 1fr; }
  .field-search { grid-column: 1 / -1; }
  .bulk-bar { align-items: flex-start; flex-direction: column; }
  .bulk-bar > div { width: 100%; flex-wrap: wrap; }
  .task-toolbar { align-items: flex-start; }
  .task-toolbar-actions { display: none; }
  .task-list-head { display: none; }
  #taskRows { display: grid; gap: 9px; padding: 10px; background: var(--surface-subtle); }
  .task-row {
    min-height: 0;
    grid-template-columns: 26px minmax(0, 1fr) auto;
    gap: 8px 9px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--surface);
  }
  .task-row.is-selected { box-shadow: inset 3px 0 0 var(--green-600); }
  .task-primary { grid-column: 2 / 4; }
  .task-thumbnail { flex-basis: 62px; height: 54px; }
  .person-cell { grid-column: 2; }
  .type-cell { grid-column: 3; grid-row: 2; justify-items: end; }
  .task-status-cell { grid-column: 2; grid-row: 3; }
  .total-cell { grid-column: 3; grid-row: 3; }
  .row-chevron { display: none; }
  .score-panel-head { align-items: flex-start; }
  .asset-section { grid-template-columns: 120px 1fr; }
  .asset-preview { height: 112px; }
  .scoring-heading { flex-direction: column; }
  .role-switch { width: 100%; }
  .role-switch button { flex: 1; }
  .score-panel-footer { position: sticky; bottom: 0; border-top: 1px solid var(--line); }
  .dialog-art { min-height: 290px; }
  .dialog-art .poster { transform: scale(2.25); }
}

@media (max-width: 430px) {
  .filter-panel { grid-template-columns: 1fr; }
  .field-search { grid-column: auto; }
  .asset-section { grid-template-columns: 1fr; }
  .asset-preview { height: 160px; }
  .score-panel-head { flex-direction: column; }
  .record-navigation { align-self: flex-end; margin-top: -46px; }
  .score-panel-footer { align-items: stretch; flex-direction: column; }
  .score-summary { grid-template-columns: auto auto 1fr; }
  .final-score { justify-self: end; }
}
