.home-module-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; align-items: start; }
@container (min-width: 820px) {
  .home-module-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-module-grid[data-packed] { grid-auto-rows: 1px; row-gap: 0; }
  .home-module-grid[data-packed] > .home-module-card { grid-row-end: span calc(var(--home-card-height, 1) + 10); }
}
.home-module-card {
  --module-bg: #15242b;
  --module-edge: #36505b;
  --module-color: var(--home-blue);
  min-width: 0;
  border: 1px solid var(--module-edge);
  border-top: 2px solid var(--module-edge);
  border-radius: 8px;
  background: var(--module-bg);
  container-type: inline-size;
}
.home-module-card[data-home-module="cards"] { --module-bg: #142723; --module-edge: #355751; --module-color: var(--home-mint); }
.home-module-card[data-home-module="packages"] { --module-bg: #28221c; --module-edge: #5b4836; --module-color: var(--home-amber); }
.home-module-card[data-home-module="suggestions"] { --module-bg: #261e29; --module-edge: #533e56; --module-color: #e7bceb; }
.home-module-card[data-home-module="roles"] { --module-bg: #181f26; --module-edge: #3a4a5a; }
.home-module-card :is(.home-work-hours, .team-work-hours, .task-card-panel, .task-package-panel, .suggestion-panel, .home-role-board) {
  border: 0;
  background: transparent;
  box-shadow: none;
}
.home-module-card .home-role-task { min-height: 42px; }
.home-module-card .home-role-stats { grid-template-columns: repeat(auto-fit, minmax(min(105px, 100%), 1fr)); }
.home-module-card .home-role-stats dd { font-size: 17px; }
.home-module-move {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 10px;
  border-bottom: 1px solid var(--module-edge);
}
.home-module-move[hidden], [data-home-customize][hidden], [data-home-reset-layout][hidden] { display: none !important; }
.home-module-move .secondary-button { min-height: 34px; min-width: 34px; padding: 4px 8px; }
.home-module-move [data-home-handle] { margin-inline-end: auto; cursor: grab; touch-action: none; color: var(--module-color); }
.home-module-move [data-home-handle]:active { cursor: grabbing; }
.home-module-move svg { width: 15px; height: 15px; }
.home-module-dragging { opacity: .66; }
.home-module-drop { outline: 2px solid var(--module-color); outline-offset: 2px; }
[data-home-customize][aria-pressed="true"] { border-color: var(--home-mint) !important; }
[data-home-layout-status] { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }

.studio-media button, .studio-media:not(.studio-media-player) :is(.studio-video, .studio-cover) { pointer-events: none; }
.studio-cover { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.studio-cover[hidden] { display: none; }
.studio-thumbnail { opacity: 0; object-fit: cover; }
.studio-thumbnail.studio-thumbnail-loaded { opacity: 1; }
.studio-playback-feedback { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 12px; flex-wrap: wrap; font-size: 13px; color: var(--studio-muted); }
.studio-playback-feedback[hidden], .studio-playback-feedback a[hidden] { display: none; }
.studio-preview-screen:has(.studio-playback-feedback:not([hidden])) { grid-template-rows: minmax(0, 1fr) auto auto; }
.studio-preview-screen:has(.studio-playback-feedback:not([hidden])):has(.studio-video-replacement:not([hidden])) { grid-template-rows: minmax(0, 1fr) auto auto auto; }

.workflow-surface {
  --ink: var(--home-ink);
  --muted: var(--home-muted);
  --line: var(--home-line);
  --accent: var(--home-mint);
  --surface: var(--home-surface);
  --radius: 8px;
  min-width: 0;
  color: var(--ink);
  color-scheme: dark;
  container-type: inline-size;
}
.workflow-surface [hidden] { display: none !important; }
.workflow-head { padding: 16px 18px; border: 1px solid #3d5358; border-radius: 8px; background: #17282a; flex-wrap: wrap; }
.workflow-head h3 { font-size: 24px; margin: 4px 0 0; }
.workflow-head .eyebrow { color: var(--home-mint); }
.workbench-header-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; min-width: 0; }
.workflow-steps { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 14px; padding: 0; margin: 0; list-style: none; counter-reset: flow; color: var(--muted); font-size: 13px; }
.workflow-steps li { counter-increment: flow; display: inline-flex; align-items: center; gap: 6px; }
.workflow-steps li::before, .workflow-step-number { content: "0" counter(flow); padding: 3px 5px; border: 1px solid #456960; border-radius: 5px; color: var(--home-mint); background: #1b3331; font-size: 11px; font-weight: 800; }
.workflow-step-number { margin-inline-end: 7px; }
.workflow-surface :is(.editor-block, .preview-block, .workbench-side, .column-config, .video-board, .metric-card) {
  border-color: var(--line);
  background: var(--home-surface);
  color: var(--ink);
  box-shadow: none;
}
.workflow-surface :is(.reference-column, .preview-dialog, .generation-control-panel, .generation-status, .preview-summary span, .shot-preview-list article, .copy-preview-card, .empty-state) { border-color: var(--line); background: var(--home-deep); color: var(--ink); }
.workflow-surface :is(.option-pill, .tag-pill, .board-readonly-pill, .product-choice-button small, .product-choice-button span) { color: var(--muted); }
.workflow-surface :is(.option-pill, .tag-pill, .mini-check, .status-badge) { border-color: var(--line); background: #22323a; color: #c5e2e3; }
.workflow-surface .workbench-grid { grid-template-columns: minmax(0, 1fr); gap: 14px; }
.workflow-surface .preview-dialog { min-height: 260px; }
.workflow-surface .preview-dialog-script { min-height: 0; }
.workflow-surface .preview-dialog-script .script-editor {
  display: block;
  width: 100%;
  min-height: 164px;
  max-height: max(220px, 55dvh);
  field-sizing: content;
  resize: vertical;
}
.workflow-surface #submitReviewBtn { min-inline-size: min(9em, 100%); }
.workflow-surface #submitReviewBtn[data-review-status="pending"] { opacity: 1; border-color: #866b49; background: #382d22; color: var(--home-amber); }
.workflow-surface #submitReviewBtn[data-review-status="approved"] { opacity: 1; border-color: #427569; background: #1b3630; color: var(--home-mint); }
.workbench-voice {
  display: grid;
  gap: 10px;
  min-width: 0;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.workbench-voice-heading { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }
.workbench-voice-heading h5 { margin: 0; font-size: 16px; }
.workbench-voice-tools, .voice-prompt-actions { display: flex; flex-wrap: wrap; align-items: end; gap: 8px; }
.workbench-voice-label { display: flex; align-items: end; justify-content: space-between; gap: 8px; }
.workbench-voice-label small, [data-voice-meta] { color: var(--muted); font-size: 12px; font-variant-numeric: tabular-nums; }
.workbench-voice-prompt-summary:not([hidden]) { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.workbench-voice-prompt-summary span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--muted); font-size: 13px; }
.workbench-voice-prompt-summary button { flex: none; min-height: 32px; }
.workbench-voice-advanced-fields { display: grid; gap: 12px; min-width: 0; border: 0; margin: 10px 0 0; padding: 0; }
.workbench-voice-advanced-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(136px, 100%), 1fr)); gap: 8px 12px; }
.workbench-voice-advanced-grid :is(.field, select, input) { min-width: 0; width: 100%; }
.workbench-voice-advanced-grid input[type="range"] { margin-inline: 0; min-height: 30px; accent-color: var(--home-mint); }
.workbench-voice-advanced-grid output { color: var(--muted); font-size: 12px; }
[data-voice-meta] { flex: 1 0 100%; }
.voice-prompt-dialog { width: min(640px, calc(100vw - 24px)); --prompt-edge: #50666e; }
.voice-prompt-body { display: grid; gap: 14px; }
.voice-prompt-actions .field { flex: 1 1 180px; min-width: 0; }
.voice-prompt-buttons { display: flex; flex-wrap: wrap; gap: 8px; min-width: 0; }
.voice-prompt-dialog :is(input, select, textarea) { border-color: var(--prompt-edge); }
.voice-prompt-dialog select { padding-inline-end: 24px; }
.voice-prompt-body textarea { width: 100%; min-height: 110px; padding: 9px; color: var(--ink); background: #10171c; resize: vertical; }
.voice-prompt-body textarea::placeholder { color: var(--muted); opacity: 1; }
.voice-prompt-dialog .secondary-button { color: var(--ink); background: #1d2d34; border-color: var(--prompt-edge); }
.voice-prompt-dialog .danger-button { color: #ffadb7; background: #35252a; border-color: #7e525c; }
.voice-prompt-dialog .primary-button { color: #10211f; background: var(--hours-mint); border-color: var(--hours-mint); }
.voice-prompt-dialog :is(button, select):disabled { color: #93a6ad; background: #182229; border-color: #354850; opacity: 1; }
.voice-prompt-dialog :is(button, input, select, textarea):focus-visible { outline: 2px solid var(--hours-mint); outline-offset: 2px; }
@media (hover: hover) {
  .voice-prompt-dialog :is(.secondary-button, .danger-button):not(:disabled):hover { border-color: currentColor; }
}
@media (max-width: 520px) {
  .voice-prompt-actions .field { flex-basis: 100%; }
}
.voice-prompt-body [role="status"]:empty { display: none; }
.workbench-copy-status { margin: 4px 0; color: var(--muted); font-size: 13px; }
.workbench-copy-status.is-fallback { color: #eac68c; }
.workbench-script-reference { white-space: pre-wrap; overflow-wrap: anywhere; }
.workbench-voice textarea {
  width: 100%;
  min-height: 96px;
  resize: vertical;
}
.workbench-voice-controls, .workbench-voice-result:not([hidden]) {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  gap: 10px;
}
.workbench-voice-settings {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}
.workbench-voice-controls .field { min-width: 0; max-width: 100%; }
.workbench-voice-controls select, .workbench-voice-controls input[type="file"] { max-width: 100%; }
.workbench-voice-settings:disabled { opacity: 0.6; }
.workbench-voice-service, .workbench-voice-clone small { color: var(--muted); font-size: 13px; }
.workbench-voice-service { margin: 0; }
.workbench-voice-clone {
  min-width: 0;
  padding: 9px 10px;
  border: 1px solid var(--line);
  border-radius: 7px;
}
.workbench-voice-clone summary { cursor: pointer; font-weight: 800; }
.workbench-voice-clone-body { display: grid; gap: 10px; min-width: 0; padding-top: 10px; }
.workbench-voice-clone-entry { display: grid; gap: 8px; min-width: 0; }
.workbench-voice-clone audio { width: min(100%, 380px); }
.workbench-voice-consent, .workbench-voice-library label { display: flex; align-items: start; gap: 8px; }
.workbench-voice-consent input, .workbench-voice-library input { flex: none; margin-top: 3px; }
.workbench-voice-library h5 { margin: 0 0 6px; }
.workbench-voice-library ul { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; overflow-wrap: anywhere; }
.workbench-voice-library li { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; min-width: 0; }
.workbench-voice-library li > span { min-width: 0; margin-inline-end: auto; }
.workbench-voice-library li .secondary-button { min-height: 32px; padding: 4px 8px; }
.workbench-voice-result audio {
  flex: 1 1 220px;
  width: 100%;
  min-width: 0;
  height: 48px;
}
.workbench-voice-result a { text-decoration: none; }
.workbench-voice-status { margin: 0; color: var(--muted); font-size: 13px; }
.workbench-voice-status.voice-error { color: #ffadb7; }
.workflow-surface .reference-column { padding: 0; border: 0; background: none; }
.workflow-surface :is(.workbench-product-grid, .reference-layout, .responsible-list) { grid-template-columns: minmax(0, 1fr); }
.workflow-surface .block-title-row { flex-wrap: wrap; }
.workflow-surface .generation-status span { color: var(--home-blue); background: #1e3441; }
.workflow-surface .generation-status span.done { color: var(--home-mint); background: #214038; }
.workflow-surface :is(input, select, textarea) { color: var(--ink); background: var(--home-deep); border-color: var(--line); min-width: 0; }
.workflow-surface :is(.secondary-button, .preview-mode-button, .product-choice-button, .workbench-creative-button, .responsible-item, .board-preview-button, .inline-disclosure) { color: var(--ink); background: #1b272e; border-color: #3a4c54; box-shadow: none; }
.workflow-surface :is(.product-choice-button, .workbench-creative-button, .responsible-item).selected,
.workflow-surface .preview-mode-button.active { border-color: #57988b; color: #c7faee; background: #23413c; box-shadow: none; }
.workflow-surface :is(.primary-button, .selection-mark, .board-preview-button span) { border-color: var(--home-mint); color: #10211f; background: var(--home-mint); }
.workflow-surface :is(button, input, select, textarea):focus-visible { outline: 2px solid var(--home-mint); outline-offset: -2px; }
.workflow-board :is(.board-row, .board-row > span) { border-color: var(--line); }
.workflow-board .board-row { background: #162127; color: var(--ink); }
.workflow-board .board-head { background: #213139; color: #c1d5d7; }
.workflow-board .board-product { background: #1a302f; }
.workflow-board .board-product-info { align-items: flex-start; gap: 7px; }
.board-product-toggle {
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  text-align: left;
  overflow-wrap: anywhere;
  cursor: pointer;
}
.board-product-expand { min-height: 32px; }
.board-plan-button { max-width: 100%; }
.workflow-board .board-product > span:last-child { color: var(--home-mint); font-weight: 700; }
.workflow-board .board-mother { background: #1b282f; }
.workflow-board .board-row > span :is(.mother-name-input, .video-title-input):not(:focus) { background: transparent; }
.workflow-board .mini-check:has(input:checked) { color: #c7faee; background: #23413c; border-color: #57988b; }
.workflow-board .metric-card strong { color: var(--home-mint); }
.workflow-board .metric-card:nth-child(4) strong { color: var(--home-blue); }
.workflow-board .metric-card:nth-child(5) strong { color: var(--home-amber); }
.workflow-board .board-toolbar { grid-template-columns: minmax(0, 1fr) minmax(0, 150px) auto; }

.workflow-detail {
  --ink: var(--home-ink);
  --muted: var(--home-muted);
  --line: var(--home-line);
  --accent: var(--home-mint);
  --ok: var(--home-mint);
  --danger: #ffadb7;
  border-radius: 8px;
  border-color: var(--line);
  color: var(--ink);
  background: var(--home-surface);
  color-scheme: dark;
}
.workflow-detail :is(.modal-head, .modal-actions, .detail-section, .custom-return-panel, .modal-body input, .modal-body select, .modal-body textarea) {
  color: var(--ink);
  border-color: var(--line);
  background: var(--home-deep);
}
.workflow-detail :is(.return-kpi, .return-reminder, .return-data-table, .detail-board-field-table, .analysis-card, .preview-source-note, .empty-mini, .boolean-toggle, .production-detail-button, .secondary-button, .icon-button, .option-pill, .status-badge) {
  color: var(--ink);
  background: var(--home-raised);
  border-color: var(--line);
}
.workflow-detail :is(.return-data-head, .detail-board-field-head) { color: var(--ink); background: #25353c; }
.workflow-detail .detail-board-field-head > span { color: inherit; }
.workflow-detail .return-data-row:nth-child(odd):not(.return-data-head) { background: #162127; }
.workflow-detail .return-kpi strong { color: var(--accent); }
.workflow-detail .return-status.idle { color: var(--home-blue); }
.workflow-detail :is(.return-reminder.due, .return-status.due) { color: var(--home-amber); }
.workflow-detail .return-reminder.due { background: #2b261f; border-color: #725b40; }
.workflow-detail :is(.return-reminder.done, .boolean-toggle.yes, .production-detail-button.done) {
  background: #172e2a;
  border-color: #426d62;
  color: var(--ok);
}
.workflow-detail .boolean-toggle.no { color: var(--danger); background: #30232a; border-color: #714953; }
.workflow-detail .danger-button { color: var(--danger); background: #35252a; border-color: #714953; }
.workflow-detail .primary-button { color: #10211f; background: var(--accent); border-color: var(--accent); }
.workflow-detail .modal-body :is(input, textarea)::placeholder { color: var(--muted); opacity: 1; }
.workflow-detail .modal-body :is(input, textarea, select):disabled { color: var(--muted); opacity: 1; }
.workflow-detail .modal-body :is(input, textarea, select):not(:disabled) { border-color: #50666e; }
.workflow-detail :is(button, input, select, textarea):focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.project-team-list, .project-team-inbox {
  display: grid;
  gap: 7px;
  padding: 0;
  margin: 8px 0;
  list-style: none;
}
.project-team-person, .project-team-inbox li {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
  justify-content: space-between;
  align-items: center;
  min-width: 0;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 7px;
  overflow-wrap: anywhere;
}
.project-team-person label, .project-team-inbox-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; min-width: 0; }
.project-team-person input[type="checkbox"] { flex: 0 0 auto; width: 16px; height: 16px; min-height: 0; }
.project-team-person small, .project-team-inbox small { display: block; margin-top: 2px; color: var(--muted); }
.project-team-message, .project-team-state { color: var(--muted); font-size: 13px; }
.project-team-message:empty { display: none; }
.project-team-state[data-complete="true"] { color: #69e1cb; }
.project-team-inbox p { margin: 6px 0 0; white-space: pre-wrap; }
.video-plan-dialog { width: min(880px, calc(100vw - 24px)); }
.video-plan-reference { width: min(680px, calc(100vw - 24px)); }
.video-plan-head { gap: 16px; padding: 16px 20px; background: #1c3031; }
.video-plan-head .eyebrow { color: var(--hours-mint); margin: 0 0 5px; }
.video-plan-head h3 { font-size: 20px; margin: 0; line-height: 1.3; }
.video-plan-head form, .video-plan-head button { flex: 0 0 auto; }
.video-plan-body { display: grid; align-content: start; gap: 12px; }
.video-plan-toolbar { display: flex; flex-wrap: wrap; align-items: end; gap: 8px 12px; padding: 0 0 12px; border-bottom: 1px solid var(--line); }
.video-plan-toolbar[hidden], .video-plan-toolbar [hidden], .video-plan-actions [hidden] { display: none; }
.video-plan-toolbar label { width: min(440px, 100%); min-width: 0; }
.video-plan-section { min-width: 0; padding: 15px 0; }
.video-plan-section:first-child { padding-top: 0; }
.video-plan-section + .video-plan-section { border-top: 1px solid var(--line); }
.video-plan-section h4, .video-plan-section-heading { display: flex; align-items: center; gap: 8px; }
.video-plan-section h4, .video-plan-reference h4 { font-size: 15px; margin: 0 0 9px; }
.video-plan-section-heading { justify-content: space-between; flex-wrap: wrap; margin-bottom: 9px; }
.video-plan-section-heading h4 { margin: 0; }
.video-plan-index {
  display: inline-grid;
  place-items: center;
  flex: none;
  min-width: 28px;
  min-height: 25px;
  border: 1px solid #456960;
  border-radius: 6px;
  background: #1b3331;
  color: var(--hours-mint);
  font-size: 12px;
  font-weight: 700;
}
.video-plan-meta { margin: 0; }
.video-plan-meta :is(dt, dd), .video-plan-section :is(strong, p, h5) { overflow-wrap: anywhere; }
.video-plan-empty { margin: 0; color: var(--muted); font-size: 14px; }
.video-plan-copy {
  margin: 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #10171c;
  color: var(--ink);
  font: inherit;
  line-height: 1.6;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}
.video-plan-dialog, .video-plan-reference { color: var(--ink); }
.video-plan-dialog textarea {
  box-sizing: border-box;
  width: 100%;
  min-height: 68px;
  padding: 9px 11px;
  border: 1px solid #50666e;
  border-radius: 7px;
  background: #10171c;
  color: var(--ink);
  font: inherit;
  line-height: 1.55;
  resize: vertical;
}
.video-plan-dialog textarea[data-plan-field] { min-height: 110px; }
.video-plan-shots, .video-plan-references ul { list-style: none; padding: 0; margin: 0; }
.video-plan-shots li { display: flex; align-items: start; gap: 9px; min-width: 0; padding: 10px 0; }
.video-plan-shots li + li, .video-plan-references li + li { border-top: 1px solid var(--line); }
.video-plan-shot-main { display: grid; gap: 6px; flex: 1; min-width: 0; }
.video-plan-shot-main h5, .video-plan-shot-main p { margin: 0; }
.video-plan-shot-main h5 { font-size: 14px; }
.video-plan-shot-main .video-plan-time { margin-inline-end: 7px; color: var(--hours-amber); font-variant-numeric: tabular-nums; }
.video-plan-shot-main p { color: var(--muted); line-height: 1.55; white-space: pre-wrap; }
.video-plan-shot-fields { display: grid; grid-template-columns: minmax(0, 130px) minmax(0, 1fr); gap: 8px; }
.video-plan-references li { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 14px; padding: 10px 0; }
.video-plan-references li span { min-width: 0; }
.video-plan-references small { display: block; color: var(--muted); }
.video-plan-references strong { display: block; margin-top: 3px; }
.video-plan-reference .work-hours-dialog-body > :is(video, .studio-media-player) { max-width: 100%; max-height: 38dvh; }
.video-plan-reference .studio-metrics { margin-block: 12px; }
.video-plan-reference .video-plan-meta { margin-block: 14px; }
.video-plan-actions { padding: 10px 20px; min-height: 56px; align-items: center; }
.video-plan-message { margin: 0 auto 0 0; color: var(--hours-mint); font-size: 13px; overflow-wrap: anywhere; }
.video-plan-message:empty { display: none; }
.video-plan-actions .primary-button { border-color: var(--hours-mint); background: var(--hours-mint); color: #10211f; }
.video-plan-actions .primary-button:disabled { border-color: #50696a; background: #273f40; color: var(--muted); }
:is(.video-plan-dialog, .video-plan-reference) .secondary-button { border-color: #496068; background: #1b2a31; color: var(--ink); }
:is(.video-plan-dialog, .video-plan-reference) .secondary-button:not(:disabled):hover { border-color: #69a59b; background: #243a40; }
.video-plan-dialog :is(button, textarea, select, input):focus-visible,
.video-plan-reference :is(button, a):focus-visible { outline: 2px solid var(--hours-mint); outline-offset: 2px; }
@media (max-width: 460px) {
  .video-plan-head, .video-plan-body, .video-plan-actions { padding-inline: 12px; }
  .video-plan-head h3 { font-size: 17px; }
  .video-plan-shot-fields { grid-template-columns: minmax(0, 1fr); }
  .video-plan-message:not(:empty) { flex-basis: 100%; }
}

@container (min-width: 880px) {
  .workflow-surface .workbench-grid { grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr); }
  .workflow-surface :is(.workbench-product-grid, .responsible-list) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@container (max-width: 670px) {
  .workflow-board:not(.workflow-board-expanded) .video-board-table { min-width: 0; }
  .workflow-board:not(.workflow-board-expanded) .board-row { grid-template-columns: minmax(0, 1fr) minmax(0, 72px) minmax(0, 62px); }
  .workflow-board:not(.workflow-board-expanded) .board-row > span:not(:first-child):not(:nth-last-child(-n+2)), .workflow-board:not(.workflow-board-expanded) .board-product > span:nth-last-child(2) { display: none; }
  .workflow-board:not(.workflow-board-expanded) .board-product > span:last-child { grid-column: 3; }
  .workflow-board .board-row > span { padding: 6px; }
  .workflow-board .board-title-cell { gap: 4px; }
  .workflow-board .board-preview-button { padding: 0 4px; gap: 4px; }
  .workflow-board .board-preview-button span { display: none; }
  .workflow-board .asset-stats { grid-template-columns: repeat(auto-fit, minmax(min(70px, 100%), 1fr)); }
  .workflow-board .metric-card { padding: 8px; }
  .workflow-board .metric-card strong { font-size: 18px; }
}
@container (max-width: 390px) {
  .workflow-board .board-toolbar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .workflow-board #boardSearch { grid-column: 1 / -1; }
}
@media (hover: hover) {
  .workflow-surface :is(button, input, select):not(:disabled):hover { border-color: #69a59b; }
  .workflow-board .board-product:hover { background: #24423e; }
}
