/*
 * PC UI preview P2 — SaaS dashboard light/navy theme.
 * Loaded after pc-ui-preview.css and activated only by ?pcui=1 above 900px.
 */

@media (min-width: 901px) {
  html.pcui-preview {
    --pc-bg: #dfe9f9;
    --pc-bg-soft: #eef3fb;
    --pc-surface: #ffffff;
    --pc-surface-2: #f4f7fc;
    --pc-sidebar: rgba(248, 251, 255, .96);
    --pc-ink: #10213e;
    --pc-muted: #6d7f9c;
    --pc-line: #d5dfed;
    --pc-blue: #336fe8;
    --pc-blue-deep: #174aaf;
    --pc-blue-soft: #e8efff;
    --pc-control: #f4f7fc;
    --pc-shadow: 0 10px 30px rgba(18, 45, 88, .075);
    --pc-shadow-hover: 0 16px 38px rgba(18, 45, 88, .14);
  }

  html.pcui-preview[data-pc-theme="navy"] {
    --pc-bg: #071327;
    --pc-bg-soft: #0a1830;
    --pc-surface: #0f1e39;
    --pc-surface-2: #142744;
    --pc-sidebar: rgba(8, 22, 43, .98);
    --pc-ink: #f3f7ff;
    --pc-muted: #91a4c4;
    --pc-line: #22395e;
    --pc-blue: #5b88ff;
    --pc-blue-deep: #78a0ff;
    --pc-blue-soft: #182f59;
    --pc-control: #132641;
    --pc-shadow: 0 12px 34px rgba(0, 0, 0, .22);
    --pc-shadow-hover: 0 18px 42px rgba(0, 0, 0, .32);
  }

  html.pcui-preview body.v15-ui {
    grid-template-columns: 216px minmax(0, 1fr);
    color: var(--pc-ink);
    background:
      radial-gradient(circle at 78% -12%, rgba(75, 126, 235, .2), transparent 34rem),
      linear-gradient(150deg, var(--pc-bg), var(--pc-bg-soft));
  }

  html.pcui-preview body.v15-ui > aside {
    padding: 20px 15px;
    gap: 18px;
    color: var(--pc-ink);
    background: var(--pc-sidebar);
    border-right: 1px solid var(--pc-line);
    box-shadow: 8px 0 30px rgba(17, 43, 84, .055);
    backdrop-filter: blur(18px);
  }

  html.pcui-preview body.v15-ui > main {
    max-width: 1720px;
    padding: 22px 28px 52px;
  }

  html.pcui-preview body.v15-ui.page-internal > main {
    max-width: none;
  }

  html.pcui-preview body.v15-ui > main > header,
  html.pcui-preview body.v15-ui .workflow-header {
    min-height: 62px;
    margin: 0 0 14px;
    padding: 11px 14px 11px 17px;
    border: 1px solid var(--pc-line);
    border-radius: 17px;
    color: var(--pc-ink);
    background: color-mix(in srgb, var(--pc-surface) 92%, transparent);
    box-shadow: 0 5px 20px rgba(18, 45, 88, .045);
    backdrop-filter: blur(16px);
  }

  html.pcui-preview body.v15-ui :is(h1, h2, h3, strong, b) { color: inherit; }
  html.pcui-preview body.v15-ui :is(p, small) { color: var(--pc-muted); }

  html.pcui-preview body.v15-ui .brand {
    min-height: 52px;
    padding: 6px;
    border-radius: 14px;
  }

  html.pcui-preview body.v15-ui .brand img {
    width: 42px;
    height: 42px;
    border-radius: 13px;
    box-shadow: 0 8px 18px rgba(51, 111, 232, .2);
  }

  html.pcui-preview body.v15-ui .brand strong { color: var(--pc-ink); }
  html.pcui-preview body.v15-ui .brand strong { font-size: 13px; white-space: nowrap; }
  html.pcui-preview body.v15-ui .brand small,
  html.pcui-preview body.v15-ui .nav-group-title { color: var(--pc-muted); }

  html.pcui-preview body.v15-ui :is(.nav, .module-card) {
    border-color: transparent;
    color: var(--pc-muted);
    background: transparent;
    box-shadow: none;
  }

  html.pcui-preview body.v15-ui :is(.nav, .module-card):hover {
    color: var(--pc-ink);
    background: var(--pc-surface-2);
  }

  html.pcui-preview body.v15-ui .nav.active {
    color: var(--pc-blue-deep);
    background: var(--pc-blue-soft);
  }

  html.pcui-preview body.v15-ui .due-nav::after { display: none; }

  html.pcui-preview body.v15-ui .nav-icon,
  html.pcui-preview body.v15-ui .module-no {
    color: #fff;
    background: var(--pc-blue);
  }

  html.pcui-preview body.v15-ui .legend {
    color: var(--pc-muted);
    background: var(--pc-surface-2);
    border-color: var(--pc-line);
  }

  html.pcui-preview body.v15-ui :is(input, select, textarea) {
    color: var(--pc-ink);
    border-color: var(--pc-line);
    background-color: var(--pc-control);
  }

  html.pcui-preview body.v15-ui :is(input, textarea)::placeholder { color: var(--pc-muted); }

  html.pcui-preview body.v15-ui :is(.logout-button, .notification-button, .secondary, .text-button) {
    color: var(--pc-blue-deep);
    border-color: var(--pc-line);
    background: var(--pc-surface);
  }

  html.pcui-preview body.v15-ui :is(.primary, .workflow-create) {
    color: #fff;
    border-color: var(--pc-blue);
    background: var(--pc-blue);
    box-shadow: 0 8px 18px rgba(51, 111, 232, .18);
  }

  html.pcui-preview body.v15-ui .user-chip {
    color: var(--pc-ink);
    border-color: var(--pc-line);
    background: var(--pc-surface-2);
  }

  /* Keep the top-right actions on one predictable row. */
  html.pcui-preview body.page-workbench > main > header {
    display: grid;
    grid-template-columns: minmax(170px, 1fr) auto;
    align-items: center;
    gap: 14px;
  }

  html.pcui-preview body.page-workbench .header-actions,
  html.pcui-preview body.page-engineering .head-actions {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-end;
    gap: 7px;
    min-width: 0;
  }

  html.pcui-preview body.page-workbench .notification-button {
    position: relative;
    flex: 0 0 auto;
    min-width: 68px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    white-space: nowrap;
  }

  html.pcui-preview body.page-workbench .header-actions > :is(button, a, .user-chip) {
    box-sizing: border-box;
    min-height: 44px;
    height: 44px;
    padding: 0 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin: 0;
    color: var(--pc-blue-deep);
    border: 1px solid var(--pc-line);
    border-radius: 12px;
    background: var(--pc-surface);
    box-shadow: none;
    font-family: inherit;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0;
    text-decoration: none;
    white-space: nowrap;
  }

  html.pcui-preview body.page-workbench .header-actions > :is(.primary, .workflow-create, .new-button, .submit-main) {
    color: #fff;
    border-color: var(--pc-blue);
    background: var(--pc-blue);
    box-shadow: 0 8px 18px rgba(51, 111, 232, .18);
  }

  html.pcui-preview body.page-workbench .header-actions > :is(button, a):not(.primary, .workflow-create, .new-button, .submit-main):hover {
    color: var(--pc-blue-deep);
    border-color: var(--pc-blue);
    background: var(--pc-blue-soft);
    transform: translateY(-1px);
  }

  html.pcui-preview body.page-workbench .notification-button b {
    min-width: 19px;
    height: 19px;
    display: inline-grid;
    place-items: center;
    margin: 0;
    border-radius: 999px;
    color: #fff;
    background: #ef4444;
    font-size: 11px;
    line-height: 1;
  }

  html.pcui-preview .pc-theme-toggle {
    min-width: 88px;
    min-height: 38px;
    padding: 7px 11px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    border: 1px solid var(--pc-line);
    border-radius: 11px;
    color: var(--pc-ink);
    background: var(--pc-surface-2);
    box-shadow: none;
    cursor: pointer;
  }

  html.pcui-preview body.page-workbench .line-button.active small {
    color: #fff;
    opacity: 1;
  }

  html.pcui-preview .pc-theme-toggle:hover {
    border-color: var(--pc-blue);
    color: var(--pc-blue-deep);
    transform: translateY(-1px);
  }

  html.pcui-preview .pc-theme-toggle span {
    width: 22px;
    height: 22px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #fff;
    background: var(--pc-blue);
    font-size: 13px;
  }

  html.pcui-preview .pc-theme-toggle b {
    font-family: inherit;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
  }

  html.pcui-preview body.page-workbench .workspace-intro {
    color: #fff;
    background:
      radial-gradient(circle at 90% 12%, rgba(255, 255, 255, .18), transparent 23rem),
      linear-gradient(132deg, #1f4fae, #3975eb 66%, #5b89ef);
    box-shadow: 0 16px 34px rgba(31, 79, 174, .22);
  }

  html.pcui-preview body.page-workbench .workspace-intro :is(h2, p, span, b, small) { color: inherit; }
  html.pcui-preview body.page-workbench .workspace-copy p { opacity: .78; }

  html.pcui-preview body.page-workbench .personal-metric {
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .18);
    background: rgba(255, 255, 255, .11);
    box-shadow: none;
  }

  html.pcui-preview body.page-workbench .personal-metric :is(b, span) { color: inherit; }

  html.pcui-preview body.page-workbench :is(.pulse-panel, .module-panel, .line-panel, .task, .stat),
  html.pcui-preview body.page-design :is(.workflow-stat, .workflow-card) {
    color: var(--pc-ink);
    border-color: var(--pc-line);
    background: var(--pc-surface);
    box-shadow: var(--pc-shadow);
  }

  html.pcui-preview body.page-workbench .pulse-panel,
  html.pcui-preview body.page-workbench .module-panel {
    padding: 18px;
  }

  html.pcui-preview body.page-workbench .pulse-card {
    color: var(--pc-ink);
    border-color: var(--pc-line);
    background: var(--pc-surface-2);
  }

  html.pcui-preview body.page-workbench .pulse-metrics > div {
    border-color: var(--pc-line);
    background: var(--pc-surface);
  }

  html.pcui-preview body.page-workbench .pulse-metrics b { color: var(--pc-ink); }
  html.pcui-preview body.page-workbench .pulse-metrics span { color: var(--pc-muted); }

  html.pcui-preview body.page-workbench :is(.pulse-foot, .section-title, .task-section-heading),
  html.pcui-preview body.page-design .workflow-card-copy { color: var(--pc-muted); }

  html.pcui-preview body.page-workbench .module-grid {
    gap: 9px;
  }

  html.pcui-preview body.page-workbench .module-card {
    min-height: 66px;
    border: 1px solid var(--pc-line);
    color: var(--pc-ink);
    background: var(--pc-surface-2);
  }

  html.pcui-preview body.page-workbench :is(.toolbar, .active-task-filter),
  html.pcui-preview body.page-design .workflow-toolbar {
    color: var(--pc-ink);
    border-color: var(--pc-line);
    background: color-mix(in srgb, var(--pc-surface) 94%, transparent);
    box-shadow: var(--pc-shadow);
  }

  html.pcui-preview body.page-workbench .toolbar .sla-toggle input {
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    min-height: 0;
    margin: 0 6px 0 0;
    padding: 0;
    accent-color: var(--pc-blue);
  }

  html.pcui-preview body.page-workbench .task .tag,
  html.pcui-preview body.page-design .workflow-tag {
    color: var(--pc-muted);
    background: var(--pc-surface-2);
  }

  /* P2.1 workbench task table: compact rows with aligned information columns. */
  html.pcui-preview body.page-workbench .task-list {
    display: block;
    overflow: hidden;
    border: 1px solid var(--pc-line);
    border-radius: 14px;
    background: var(--pc-surface);
    box-shadow: var(--pc-shadow);
  }

  html.pcui-preview body.page-workbench .pc-task-table-head,
  html.pcui-preview body.page-workbench .pc-task-row {
    display: grid;
    grid-template-columns: 116px minmax(240px, 1fr) 100px 126px 112px 146px 154px;
    align-items: center;
    min-width: 0;
  }

  html.pcui-preview body.page-workbench .pc-task-table-head {
    min-height: 38px;
    color: var(--pc-muted);
    background: var(--pc-surface-2);
    border-bottom: 1px solid var(--pc-line);
    font-size: 12px;
    font-weight: 800;
  }

  html.pcui-preview body.page-workbench .pc-task-table-head > span,
  html.pcui-preview body.page-workbench .pc-task-row > .task-cell {
    min-width: 0;
    padding: 8px 12px;
  }

  html.pcui-preview body.page-workbench .task.pc-task-row {
    min-height: 52px;
    padding: 0;
    gap: 0;
    border: 0;
    border-bottom: 1px solid var(--pc-line);
    border-radius: 0;
    box-shadow: none;
    transform: none;
  }

  html.pcui-preview body.page-workbench .task.pc-task-row:last-child { border-bottom: 0; }
  html.pcui-preview body.page-workbench .task.pc-task-row:hover {
    border-color: var(--pc-line);
    background: color-mix(in srgb, var(--pc-blue-soft) 55%, var(--pc-surface));
    box-shadow: none;
    transform: none;
  }

  html.pcui-preview body.page-workbench .pc-task-row .task-key {
    display: flex;
    align-items: center;
    gap: 6px;
  }

  html.pcui-preview body.page-workbench .pc-task-row .task-select {
    position: static;
    flex: 0 0 auto;
    transform: none;
  }

  html.pcui-preview body.page-workbench .pc-task-row .task-select input { width: 16px; height: 16px; }
  html.pcui-preview body.page-workbench .pc-task-row .priority-badge { flex: 0 0 auto; }
  html.pcui-preview body.page-workbench .pc-task-row .task-code {
    overflow: hidden;
    margin: 0;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  html.pcui-preview body.page-workbench .pc-task-row .task-title .title,
  html.pcui-preview body.page-workbench .pc-task-row .task-owner > span {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  html.pcui-preview body.page-workbench .pc-task-row .task-title .title {
    max-width: 100%;
    font-size: 13px;
  }
  html.pcui-preview body.page-workbench .pc-task-row .task-owner { color: var(--pc-muted); font-size: 12px; }
  html.pcui-preview body.page-workbench .pc-task-row .tag { max-width: 100%; }
  html.pcui-preview body.page-workbench .pc-task-row .quick {
    display: flex;
    grid-column: auto;
    grid-row: auto;
    justify-content: flex-end;
    gap: 5px;
    margin: 0;
    padding: 7px 9px;
  }

  html.pcui-preview body.page-workbench .pc-task-row .quick button {
    min-width: 56px;
    min-height: 32px;
    padding: 5px 8px;
    font-size: 12px;
  }

  /* Engineering P2 uses the same table language as video data. */
  html.pcui-preview body.page-engineering .brand b { color: var(--pc-ink); }
  html.pcui-preview body.page-engineering .brand small,
  html.pcui-preview body.page-engineering .nav-section-title,
  html.pcui-preview body.page-engineering .aside-foot { color: var(--pc-muted); }
  html.pcui-preview body.page-engineering .aside-foot { border-color: var(--pc-line); }
  html.pcui-preview body.page-engineering .head-actions > span {
    max-width: 150px;
    overflow: hidden;
    color: var(--pc-muted);
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  html.pcui-preview body.page-engineering :is(.stats .stat, .stalled, .toolbar) {
    color: var(--pc-ink);
    border-color: var(--pc-line);
    background: var(--pc-surface);
    box-shadow: var(--pc-shadow);
  }
  html.pcui-preview body.page-engineering .stalled { border-radius: 14px; }
  html.pcui-preview body.page-engineering .toolbar {
    padding: 10px;
    border: 1px solid var(--pc-line);
    border-radius: 13px;
  }
  html.pcui-preview body.page-engineering .orders {
    display: block;
    overflow: hidden;
    border: 1px solid var(--pc-line);
    border-radius: 14px;
    background: var(--pc-surface);
    box-shadow: var(--pc-shadow);
  }
  html.pcui-preview body.page-engineering .pc-repair-table-head,
  html.pcui-preview body.page-engineering .pc-repair-row {
    display: grid;
    grid-template-columns: 132px minmax(130px, .85fr) minmax(220px, 1.55fr) minmax(150px, 1fr) 96px 92px 104px 66px;
    align-items: center;
    min-width: 0;
  }
  html.pcui-preview body.page-engineering .pc-repair-table-head {
    min-height: 38px;
    color: var(--pc-muted);
    background: var(--pc-surface-2);
    border-bottom: 1px solid var(--pc-line);
    font-size: 12px;
    font-weight: 800;
  }
  html.pcui-preview body.page-engineering .pc-repair-table-head > span,
  html.pcui-preview body.page-engineering .pc-repair-row > .repair-cell {
    min-width: 0;
    padding: 8px 9px;
  }
  html.pcui-preview body.page-engineering .order.pc-repair-row {
    min-height: 52px;
    padding: 0;
    gap: 0;
    border: 0;
    border-bottom: 1px solid var(--pc-line);
    border-radius: 0;
    background: var(--pc-surface);
    box-shadow: none;
    transform: none;
  }
  html.pcui-preview body.page-engineering .order.pc-repair-row:last-child { border-bottom: 0; }
  html.pcui-preview body.page-engineering .order.pc-repair-row:hover {
    background: color-mix(in srgb, var(--pc-blue-soft) 55%, var(--pc-surface));
    box-shadow: none;
    transform: none;
  }
  html.pcui-preview body.page-engineering .repair-code {
    display: flex;
    align-items: center;
    gap: 5px;
  }
  html.pcui-preview body.page-engineering .repair-code b,
  html.pcui-preview body.page-engineering .repair-store b,
  html.pcui-preview body.page-engineering .repair-problem,
  html.pcui-preview body.page-engineering .repair-requester {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  html.pcui-preview body.page-engineering :is(.repair-code, .repair-requester, .repair-date) {
    color: var(--pc-muted);
    font-size: 12px;
  }
  html.pcui-preview body.page-engineering .repair-store b { font-size: 13px; }
  html.pcui-preview body.page-engineering .repair-problem { color: var(--pc-ink); font-size: 12px; }
  html.pcui-preview body.page-engineering .repair-open {
    color: var(--pc-blue-deep);
    font-size: 12px;
    font-weight: 800;
    white-space: nowrap;
  }
  html.pcui-preview body.page-engineering .repair-pagination {
    display: grid;
    grid-template-columns: auto minmax(220px, auto) auto auto;
    justify-content: end;
    align-items: center;
    gap: 8px;
    min-height: 58px;
    margin-top: 10px;
    padding: 8px 10px;
    color: var(--pc-ink);
    border: 1px solid var(--pc-line);
    border-radius: 13px;
    background: var(--pc-surface);
  }
  html.pcui-preview body.page-engineering .repair-pagination[hidden] { display: none; }
  html.pcui-preview body.page-engineering .repair-pagination :is(button, select) {
    min-height: 36px;
    margin: 0;
    padding: 6px 10px;
    color: var(--pc-ink);
    border: 1px solid var(--pc-line);
    border-radius: 9px;
    background: var(--pc-control);
  }
  html.pcui-preview body.page-engineering .repair-pagination label {
    display: inline-flex;
    grid-template-columns: none;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
  }

  html.pcui-preview body.page-workbench .pagination,
  html.pcui-preview body.page-design .list-pagination {
    margin-top: 12px;
    padding: 10px 12px;
    border: 1px solid var(--pc-line);
    border-radius: 14px;
    color: var(--pc-ink);
    background: var(--pc-surface);
  }

  html.pcui-preview body.page-design .workflow-hero {
    color: #fff;
    background:
      radial-gradient(circle at 88% 18%, rgba(255, 255, 255, .18), transparent 22rem),
      linear-gradient(132deg, #132f63, #285cb9 62%, #4b7be2);
  }

  html.pcui-preview body.page-design .workflow-hero :is(h2, p, span, strong, small) { color: inherit; }
  html.pcui-preview body.page-design .workflow-owner {
    border-color: rgba(255, 255, 255, .2);
    background: rgba(255, 255, 255, .1);
  }

  html.pcui-preview body.v15-ui :is(dialog, dialog form, .notification-shell, .workflow-detail-shell) {
    color: var(--pc-ink);
    border-color: var(--pc-line);
    background: var(--pc-surface);
  }

  html.pcui-preview body.v15-ui::after {
    display: none;
  }

  html.pcui-preview[data-pc-theme="navy"] body.page-workbench .workspace-intro,
  html.pcui-preview[data-pc-theme="navy"] body.page-design .workflow-hero {
    background:
      radial-gradient(circle at 88% 14%, rgba(91, 136, 255, .28), transparent 24rem),
      linear-gradient(132deg, #0c1d38, #13294e 62%, #183660);
    box-shadow: 0 18px 42px rgba(0, 0, 0, .28);
  }

  html.pcui-preview[data-pc-theme="navy"] body.v15-ui :is(.primary, .workflow-create) {
    background: #4f7ff0;
    border-color: #4f7ff0;
  }

  html.pcui-preview[data-pc-theme="navy"] body.page-workbench .pulse-metrics > div {
    background: #172a48;
  }

  html.pcui-preview[data-pc-theme="navy"] body.v15-ui :is(.danger-action, .priority.p0) { color: #fff; }

  @media (max-width: 1120px) {
    html.pcui-preview body.v15-ui { grid-template-columns: 216px minmax(0, 1fr); }
    html.pcui-preview body.v15-ui > main { padding-inline: 20px; }
    html.pcui-preview body.page-workbench .workspace-intro {
      grid-template-columns: minmax(0, 1fr);
    }
    html.pcui-preview body.page-workbench .personal-summary {
      grid-template-columns: repeat(6, minmax(0, 1fr));
    }
    html.pcui-preview .pc-theme-toggle { min-width: 42px; padding-inline: 9px; }
    html.pcui-preview .pc-theme-toggle b { display: none; }
    html.pcui-preview body.page-workbench .user-chip { display: none; }
    html.pcui-preview body.page-workbench .pc-task-table-head,
    html.pcui-preview body.page-workbench .pc-task-row {
      grid-template-columns: 94px minmax(220px, 1fr) 92px 118px 142px;
    }
    html.pcui-preview body.page-workbench .pc-task-table-head > :nth-child(4),
    html.pcui-preview body.page-workbench .pc-task-table-head > :nth-child(5),
    html.pcui-preview body.page-workbench .pc-task-row > .task-line,
    html.pcui-preview body.page-workbench .pc-task-row > .task-owner { display: none; }
    html.pcui-preview body.page-engineering .pc-repair-table-head,
    html.pcui-preview body.page-engineering .pc-repair-row {
      grid-template-columns: 124px 132px minmax(210px, 1fr) 94px 104px 62px;
    }
    html.pcui-preview body.page-engineering .pc-repair-table-head > :nth-child(4),
    html.pcui-preview body.page-engineering .pc-repair-table-head > :nth-child(6),
    html.pcui-preview body.page-engineering .pc-repair-row > .repair-category,
    html.pcui-preview body.page-engineering .pc-repair-row > .repair-requester { display: none; }
  }

  @media (max-width: 1260px) {
    html.pcui-preview body.page-engineering .pc-repair-table-head,
    html.pcui-preview body.page-engineering .pc-repair-row {
      grid-template-columns: 124px 132px minmax(210px, 1fr) 94px 104px 62px;
    }
    html.pcui-preview body.page-engineering .pc-repair-table-head > :nth-child(4),
    html.pcui-preview body.page-engineering .pc-repair-table-head > :nth-child(6),
    html.pcui-preview body.page-engineering .pc-repair-row > .repair-category,
    html.pcui-preview body.page-engineering .pc-repair-row > .repair-requester { display: none; }
  }

  @media (max-width: 1020px) {
    html.pcui-preview body.page-workbench .header-actions { gap: 5px; }
    html.pcui-preview body.page-workbench .header-actions :is(.logout-button, .notification-button, .primary) { padding-inline: 9px; }
    html.pcui-preview body.page-engineering .head-actions > span { display: none; }
    html.pcui-preview body.page-engineering .pc-repair-table-head,
    html.pcui-preview body.page-engineering .pc-repair-row {
      grid-template-columns: 116px 124px minmax(190px, 1fr) 92px 58px;
    }
    html.pcui-preview body.page-engineering .pc-repair-table-head > :nth-child(7),
    html.pcui-preview body.page-engineering .pc-repair-row > .repair-date { display: none; }
  }
}

@media (prefers-reduced-motion: reduce) {
  html.pcui-preview .pc-theme-toggle { transition: none; }
}
