    [x-cloak] { display: none !important; }
    :root {
      --ph-red: #da1a21;
      --ph-red-dark: #b31219;
      --ph-red-deep: #7f1116;
      --ph-red-soft: #fff1f2;
      --system-border: #cbd5e1;
    }
    * { scrollbar-width: thin; scrollbar-color: #94a3b8 #e2e8f0; }
    ::-webkit-scrollbar { width: 8px; height: 8px; }
    ::-webkit-scrollbar-track { background: #e2e8f0; }
    ::-webkit-scrollbar-thumb { background: #94a3b8; border-radius: 0; }
    input, select, textarea { outline: none; }
    .field-control { width: 100%; min-height: 2.25rem; border: 1px solid var(--system-border); border-radius: .2rem; padding: .45rem .625rem; color: #0f172a; background: white; font-size: .8125rem; transition: border-color .12s, box-shadow .12s; }
    .field-control:focus { border-color: var(--ph-red); box-shadow: 0 0 0 2px rgba(218,26,33,.12); }
    .field-error { border-color: #fca5a5 !important; background: #fef2f2 !important; }
    .dashboard-number { font-variant-numeric: tabular-nums lining-nums; letter-spacing: -.025em; }
    .dashboard-comparison { display: inline-flex; align-items: center; gap: .3rem; font-variant-numeric: tabular-nums lining-nums; font-weight: 600; }
    .dashboard-comparison svg { width: .8rem; height: .8rem; flex: 0 0 auto; }
    .dashboard-comparison.is-increase { color: #047857; }
    .dashboard-comparison.is-decrease { color: #be123c; }
    .dashboard-comparison.is-unchanged, .dashboard-comparison.is-unavailable { color: #64748b; }
    .dashboard-shimmer { background: #e2e8f0; }
    .system-sidebar {
      position: fixed;
      inset: 0 auto 0 0;
      z-index: 60;
      width: 4rem;
      overflow: hidden;
      background: linear-gradient(180deg, var(--ph-red-dark) 0%, var(--ph-red-deep) 100%);
      transition: width .2s ease;
    }
    .system-sidebar:hover, .system-sidebar:has(:focus-visible) { width: 16rem; }
    .system-workspace { padding-left: 4rem; }
    .sidebar-brand, .sidebar-navigation, .sidebar-footer { width: 16rem; }
    .sidebar-item {
      position: relative;
      display: flex;
      width: 100%;
      min-height: 2.25rem;
      align-items: center;
      gap: .625rem;
      border-radius: .25rem;
      padding: .5rem .75rem;
      font-size: .8125rem;
      font-weight: 500;
      white-space: nowrap;
    }
    .sidebar-subitem {
      display: flex;
      width: 100%;
      min-height: 2rem;
      align-items: center;
      gap: .5rem;
      border-radius: .25rem;
      padding: .4rem .625rem;
      font-size: .75rem;
      font-weight: 500;
      white-space: nowrap;
    }
    .sidebar-expand-only { opacity: 0; transition: opacity .12s ease; }
    .system-sidebar:hover .sidebar-expand-only, .system-sidebar:has(:focus-visible) .sidebar-expand-only { opacity: 1; }
    .system-sidebar:not(:hover):not(:has(:focus-visible)) .sidebar-submenu { display: none !important; }
    .system-sidebar:not(:hover):not(:has(:focus-visible)) .sidebar-item { width: 2.5rem; }
    .system-sidebar:not(:hover):not(:has(:focus-visible)) .sidebar-footer > div { width: 2.5rem; justify-content: center; padding: .5rem; }
    .system-sidebar:not(:hover):not(:has(:focus-visible)) .sidebar-attention {
      position: absolute;
      top: .3rem;
      right: .25rem;
      margin-left: 0;
    }
    @media (max-width: 767px) { .system-workspace { padding-left: 0; } }
    @media (prefers-reduced-motion: reduce) {
      .system-sidebar, .sidebar-expand-only { transition: none; }
    }
    .system-table th { padding: .5rem .75rem !important; font-size: .6875rem; letter-spacing: .025em; }
    .system-table td { padding: .55rem .75rem !important; }
    .case-history-table {
      --case-action-width: 6.25rem;
      min-width: 92rem;
      width: 100%;
    }
    .case-history-table thead th { position: relative; z-index: 5; background: #f1f5f9; }
    .case-history-table .case-fixed-status,
    .case-history-table .case-fixed-action {
      position: sticky;
      background: #fff;
    }
    .case-history-table .case-fixed-status {
      right: var(--case-action-width);
      z-index: 3;
      width: 10rem;
      min-width: 10rem;
      box-shadow: -1px 0 0 #cbd5e1;
    }
    .case-history-table .case-fixed-action {
      right: 0;
      z-index: 4;
      width: var(--case-action-width);
      min-width: var(--case-action-width);
    }
    .case-history-table thead .case-fixed-status,
    .case-history-table thead .case-fixed-action { z-index: 12; background: #f1f5f9; }
    .case-history-table tbody tr:hover > .case-fixed-status,
    .case-history-table tbody tr:hover > .case-fixed-action { background: #f8fafc; }
    .case-history-table tbody tr.bg-slate-100 > .case-fixed-status,
    .case-history-table tbody tr.bg-slate-100 > .case-fixed-action { background: #f1f5f9; }
    .case-column-filter-menu {
      position: fixed;
      z-index: 60;
      display: flex;
      flex-direction: column;
      overflow: hidden;
      box-shadow: 0 3px 8px rgba(15,23,42,.12);
    }
    .system-modal-backdrop { background: rgba(15,23,42,.58); }
    .system-primary { background: var(--ph-red); color: white; }
    .system-primary:hover { background: var(--ph-red-dark); }
    .font-extrabold { font-weight: 600 !important; }
    .font-bold { font-weight: 600 !important; }
    .rounded-3xl, .rounded-2xl, .rounded-xl { border-radius: .25rem !important; }
    .rounded-lg { border-radius: .2rem !important; }
    .shadow-2xl, .shadow-xl, .shadow-lg, .shadow-sm { box-shadow: none !important; }
    .backdrop-blur-sm { backdrop-filter: none !important; }
    button, input, select, textarea { font-family: inherit; }
    button:focus-visible, a:focus-visible { outline: 2px solid var(--ph-red); outline-offset: 2px; }
    th { white-space: nowrap; }

    /* Kanban is intentionally more visual than the system's operational views. */
    .kanban-shell {
      overflow: hidden;
      border: 1px solid #fecdd3;
      border-radius: .75rem;
      background:
        radial-gradient(circle at top right, rgba(218,26,33,.09), transparent 32rem),
        linear-gradient(145deg, #fffafa 0%, #fff1f2 58%, #f8fafc 100%);
      box-shadow: 0 10px 30px rgba(127,17,22,.08);
    }
    .kanban-scroll { overflow-x: auto; padding: .75rem; }
    .kanban-board {
      --kanban-columns: 1;
      display: grid;
      grid-template-columns: repeat(var(--kanban-columns), minmax(17rem, 1fr));
      gap: .75rem;
      width: max-content;
      min-width: 100%;
      align-items: stretch;
    }
    .kanban-column {
      position: relative;
      min-height: 27rem;
      overflow: hidden;
      border: 1px solid rgba(203,213,225,.9);
      border-radius: .75rem;
      background: rgba(248,250,252,.94);
      box-shadow: 0 3px 12px rgba(15,23,42,.06);
      transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease;
    }
    .kanban-column::before {
      position: absolute;
      inset: 0 0 auto;
      height: 3px;
      background: var(--kanban-accent, var(--ph-red));
      content: '';
    }
    .kanban-column.is-drop-target {
      border-color: var(--kanban-accent, var(--ph-red));
      box-shadow: 0 0 0 3px color-mix(in srgb, var(--kanban-accent, var(--ph-red)) 15%, transparent), 0 12px 28px rgba(15,23,42,.1);
      transform: translateY(-2px);
    }
    .kanban-column-header {
      display: flex;
      min-height: 3.25rem;
      align-items: center;
      justify-content: space-between;
      gap: .75rem;
      border-bottom: 1px solid #e2e8f0;
      padding: .8rem .85rem .7rem;
      background: rgba(255,255,255,.76);
    }
    .kanban-column-count {
      display: inline-flex;
      min-width: 1.65rem;
      height: 1.45rem;
      align-items: center;
      justify-content: center;
      border: 1px solid #e2e8f0;
      border-radius: 999px;
      padding: 0 .4rem;
      background: white;
      color: #475569;
      font-size: .6875rem;
      font-weight: 700;
      font-variant-numeric: tabular-nums;
    }
    .kanban-card-list { display: flex; flex-direction: column; gap: .6rem; padding: .7rem; }
    .kanban-card {
      position: relative;
      cursor: pointer;
      border: 1px solid #e2e8f0;
      border-radius: .65rem;
      background: white;
      padding: .75rem;
      box-shadow: 0 2px 7px rgba(15,23,42,.06);
      transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease;
    }
    .kanban-card:hover {
      border-color: #fda4af;
      box-shadow: 0 8px 20px rgba(127,17,22,.11);
      transform: translateY(-2px);
    }
    .kanban-card:focus-visible { outline: 2px solid var(--ph-red); outline-offset: 2px; }
    .kanban-card.is-moving { cursor: wait; opacity: .55; transform: scale(.985); }
    .kanban-card-reference { color: var(--ph-red-dark); font-variant-numeric: tabular-nums; }
    .kanban-card-meta { display: flex; align-items: flex-start; gap: .4rem; min-width: 0; }
    .kanban-card-meta svg { width: .8rem; height: .8rem; flex: 0 0 auto; margin-top: .08rem; color: #94a3b8; }
    .kanban-status-control {
      width: 100%;
      min-height: 1.85rem;
      border: 1px solid #e2e8f0;
      border-radius: .4rem;
      padding: .25rem .45rem;
      background: #f8fafc;
      color: #475569;
      font-size: .6875rem;
    }
    .kanban-status-control:focus { border-color: var(--ph-red); box-shadow: 0 0 0 2px rgba(218,26,33,.1); }
    .kanban-export-header { display: none; grid-column: 1 / -1; }
    .kanban-board.is-exporting { padding: .9rem; background: #fff7f7; }
    .kanban-board.is-exporting .kanban-export-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 2rem;
      border-bottom: 1px solid #fecdd3;
      padding: 0 .15rem .8rem;
    }
    .kanban-board.is-exporting .kanban-export-hidden { display: none !important; }
    .kanban-board.is-exporting .kanban-card { transform: none; }

    /* Dedicated statistics display. */
    html.dashboard-document,
    html.dashboard-document body { background: transparent !important; }
    .dashboard-big-screen {
      --dashboard-logo-margin: clamp(2rem, 4vw, 5rem);
      --dashboard-control-radius: .75rem;
      --dashboard-panel-radius: 1rem;
      position: relative;
      isolation: isolate;
      min-width: 0;
      flex: 1 1 auto;
      overflow: auto;
      color: #0f172a;
      background: transparent;
    }
    .dashboard-big-screen-background {
      position: absolute;
      z-index: 0;
      inset: var(--dashboard-logo-margin);
      display: block;
      width: calc(100% - var(--dashboard-logo-margin) - var(--dashboard-logo-margin));
      height: calc(100% - var(--dashboard-logo-margin) - var(--dashboard-logo-margin));
      max-width: none;
      object-fit: contain;
      object-position: center;
      opacity: .5;
      pointer-events: none;
      user-select: none;
    }
    .dashboard-big-screen-candidate {
      position: absolute;
      z-index: 1;
      top: 0;
      right: 0;
      display: block;
      width: auto;
      height: 100%;
      max-width: none;
      object-fit: contain;
      object-position: right center;
      pointer-events: none;
      user-select: none;
    }
    .dashboard-big-screen-shell {
      position: relative;
      z-index: 2;
      display: grid;
      grid-template-rows: auto minmax(0, 1fr) minmax(0, 2fr) minmax(0, 1fr) auto;
      gap: clamp(.75rem, 1.4vw, 1.25rem);
      width: 100%;
      min-width: 70rem;
      min-height: 100vh;
      padding: clamp(.9rem, 1.7vw, 1.6rem);
    }
    .dashboard-big-screen-header {
      position: relative;
      display: flex;
      min-height: 3.75rem;
      align-items: center;
      justify-content: space-between;
      gap: 1.25rem;
      overflow: hidden;
      border: 1px solid #cbd5e1;
      border-left: .25rem solid var(--ph-red);
      border-radius: var(--dashboard-panel-radius, .35rem);
      padding: 0 .9rem;
      background: rgba(255,255,255,.76);
    }
    .dashboard-big-screen-brand {
      display: flex;
      min-width: 0;
      align-items: center;
      gap: .8rem;
    }
    .dashboard-big-screen-logo {
      width: clamp(10rem, 15vw, 15rem);
      height: 3.75rem;
      flex: 0 0 auto;
      object-fit: cover;
      object-position: left center;
    }
    .dashboard-big-screen-heading { color: #0f172a; }
    .dashboard-period-navigator {
      display: inline-flex;
      min-width: 0;
      align-items: center;
      gap: .35rem;
    }
    .dashboard-period-indicator {
      min-width: 9rem;
      text-align: center;
      font-variant-numeric: tabular-nums lining-nums;
      font-weight: 650;
    }
    .dashboard-big-screen-live {
      display: inline-flex;
      align-items: center;
      gap: .4rem;
      color: #475569;
      font-size: .65rem;
      font-weight: 600;
    }
    .dashboard-big-screen-live::before {
      width: .42rem;
      height: .42rem;
      border-radius: 50%;
      background: var(--ph-red);
      content: '';
    }
    .dashboard-big-screen-actions { display: flex; flex: 0 0 auto; align-items: center; gap: .45rem; }
    .dashboard-big-screen-button {
      display: inline-flex;
      min-height: 2.1rem;
      align-items: center;
      justify-content: center;
      gap: .35rem;
      border: 1px solid #cbd5e1;
      border-radius: var(--dashboard-control-radius);
      padding: .4rem .65rem;
      background: white;
      color: #334155;
      font-size: .7rem;
      font-weight: 600;
      transition: border-color .15s ease, background .15s ease, color .15s ease;
    }
    .dashboard-big-screen-button:hover { border-color: #fda4af; background: #fff1f2; color: #9f1239; }
    .dashboard-super-grid { display: grid; min-height: 0; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(.75rem, 1.4vw, 1.25rem); }
    .dashboard-big-screen-shell > .dashboard-super-grid,
    .dashboard-big-screen-shell > .dashboard-trend-chart {
      width: 75%;
      justify-self: start;
    }
    .dashboard-super-card {
      --super-accent: #fb7185;
      position: relative;
      min-height: clamp(8.6rem, 18vh, 12rem);
      overflow: hidden;
      border: 1px solid #cbd5e1;
      border-radius: var(--dashboard-panel-radius);
      padding: clamp(1rem, 1.6vw, 1.5rem);
      background: rgba(255,255,255,.72);
    }
    .dashboard-super-card::before {
      position: absolute;
      inset: 0 auto 0 0;
      width: .24rem;
      background: var(--super-accent);
      content: '';
    }
    .dashboard-super-label { color: #475569; font-size: clamp(.72rem, .9vw, .9rem); font-weight: 600; letter-spacing: .045em; }
    .dashboard-super-number {
      position: relative;
      z-index: 1;
      margin-top: .55rem;
      color: #0f172a;
      font-size: clamp(3.6rem, 6.7vw, 7.2rem);
      font-weight: 700;
      font-variant-numeric: tabular-nums lining-nums;
      letter-spacing: -.065em;
      line-height: .82;
    }
    .dashboard-super-meta { position: absolute; z-index: 1; right: 1rem; bottom: .8rem; color: #64748b; font-size: .66rem; font-weight: 600; }
    .dashboard-super-comparison {
      position: absolute;
      z-index: 2;
      top: 1rem;
      right: 1rem;
      max-width: 52%;
      border: 1px solid #e2e8f0;
      border-radius: 999px;
      padding: .35rem .55rem;
      background: #f8fafc;
      color: #475569;
      font-size: .62rem;
      line-height: 1.2;
    }
    .dashboard-super-comparison.is-increase { color: #047857; }
    .dashboard-super-comparison.is-decrease { color: #be123c; }
    .dashboard-super-comparison.is-unchanged, .dashboard-super-comparison.is-unavailable { color: #64748b; }
    .dashboard-trend-chart,
    .dashboard-display-chart {
      --chart-accent: #fb7185;
      display: flex;
      min-width: 0;
      min-height: 0;
      flex-direction: column;
      overflow: hidden;
      border: 1px solid #cbd5e1;
      border-radius: var(--dashboard-panel-radius, .35rem);
      background: rgba(255,255,255,.72);
    }
    .dashboard-trend-chart { min-height: clamp(11rem, 21vh, 15rem); }
    .dashboard-trend-header,
    .dashboard-display-chart-header {
      display: flex;
      min-height: 2.75rem;
      flex: 0 0 auto;
      align-items: center;
      justify-content: space-between;
      gap: .75rem;
      border-bottom: 1px solid #e2e8f0;
      padding: .65rem .85rem;
      background: rgba(248,250,252,.7);
    }
    .dashboard-trend-title,
    .dashboard-display-chart-title { display: flex; min-width: 0; align-items: center; gap: .55rem; color: #0f172a; font-size: .78rem; font-weight: 650; }
    .dashboard-trend-title svg,
    .dashboard-display-chart-title svg { width: .9rem; height: .9rem; flex: 0 0 auto; color: var(--chart-accent); }
    .dashboard-trend-switch { display: inline-flex; align-items: center; gap: .2rem; border: 1px solid #e2e8f0; border-radius: .3rem; padding: .18rem; background: white; }
    .dashboard-trend-switch button { border-radius: .2rem; padding: .28rem .55rem; color: #64748b; font-size: .62rem; font-weight: 650; }
    .dashboard-big-screen .dashboard-trend-switch { border-radius: var(--dashboard-control-radius); }
    .dashboard-big-screen .dashboard-trend-switch button { border-radius: .5rem; }
    .dashboard-trend-switch button:hover { color: #0f172a; }
    .dashboard-trend-switch button.is-active { background: #ffe4e6; color: #9f1239; }
    .dashboard-trend-body { position: relative; min-height: 8rem; flex: 1 1 0; overflow: hidden; }
    .dashboard-echart { width: 100%; min-width: 0; }
    .dashboard-echart-trend { position: absolute; inset: 0; width: auto; height: auto; min-height: 0; }
    .dashboard-echart-scroll { max-height: 24rem; overflow-y: auto; padding: .35rem .5rem; }
    .dashboard-echart-distribution { min-height: 11.25rem; }
    .dashboard-trend-empty { position: absolute; z-index: 2; inset: 50% 0 auto; margin: 0; transform: translateY(-50%); pointer-events: none; text-align: center; color: #64748b; font-size: .68rem; font-weight: 650; }
    .dashboard-trend-chart.is-light { min-height: 45rem; border-color: #cbd5e1; border-radius: 0; background: white; box-shadow: none; }
    .dashboard-big-screen .dashboard-super-card,
    .dashboard-big-screen .dashboard-trend-chart,
    .dashboard-big-screen .dashboard-echart-trend,
    .dashboard-big-screen .dashboard-display-plot,
    .dashboard-big-screen .dashboard-echart-display { min-height: 0; }
    .dashboard-trend-chart.is-light .dashboard-trend-header { border-bottom-color: #e2e8f0; background: #f8fafc; }
    .dashboard-trend-chart.is-light .dashboard-trend-title { color: #0f172a; }
    .dashboard-trend-chart.is-light .dashboard-trend-switch { border-color: #e2e8f0; background: white; }
    .dashboard-trend-chart.is-light .dashboard-trend-switch button { color: #64748b; }
    .dashboard-trend-chart.is-light .dashboard-trend-switch button:hover { color: #0f172a; }
    .dashboard-trend-chart.is-light .dashboard-trend-switch button.is-active { background: #ffe4e6; color: #be123c; }
    .dashboard-display-chart-grid {
      display: grid;
      min-height: 0;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      grid-template-rows: minmax(0, 1fr);
      gap: clamp(.75rem, 1.4vw, 1.25rem);
    }
    .dashboard-display-chart-count { color: #64748b; font-family: monospace; font-size: .66rem; font-weight: 700; }
    .dashboard-display-plot {
      display: flex;
      min-height: 8.5rem;
      flex: 1 1 auto;
      align-items: stretch;
      justify-content: space-around;
      gap: .55rem;
      overflow-x: auto;
      padding: .7rem .75rem .6rem;
    }
    .dashboard-echart-display { min-height: 8.5rem; flex: 1 1 auto; }
    .dashboard-big-screen-footer { display: flex; align-items: center; justify-content: space-between; gap: 1rem; color: #475569; font-size: .62rem; font-weight: 600; }
    @media (max-width: 1023px) {
      .dashboard-big-screen-shell { min-width: 50rem; min-height: 100%; }
      .dashboard-display-chart-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-rows: minmax(0, 1fr); }
    }
    @media (max-width: 767px) and (orientation: portrait) {
      .dashboard-big-screen {
        --dashboard-logo-margin: 0;
        overflow-x: hidden;
      }
      .dashboard-big-screen-background,
      .dashboard-big-screen-candidate {
        top: 0;
        right: auto;
        bottom: auto;
        left: 50%;
        width: 100%;
        height: 100vh;
        height: 100svh;
        transform: translateX(-50%);
        object-fit: contain;
        object-position: center;
      }
      .dashboard-big-screen-background { opacity: .5; }
      .dashboard-big-screen-shell {
        grid-template-rows: 3.5rem 8.75rem calc(100vh - 13.75rem) auto auto;
        grid-template-rows: 3.5rem 8.75rem calc(100svh - 13.75rem) auto auto;
        gap: .5rem;
        min-width: 0;
        min-height: 100vh;
        min-height: 100svh;
        padding: .5rem;
      }
      .dashboard-big-screen-header {
        min-height: 0;
        gap: .4rem;
        padding: 0 .5rem;
      }
      .dashboard-big-screen-brand { gap: .4rem; }
      .dashboard-big-screen-logo {
        width: clamp(5rem, 24vw, 6.5rem);
        height: 3rem;
      }
      .dashboard-big-screen-heading { font-size: clamp(.7rem, 3.2vw, .875rem); }
      .dashboard-big-screen-live {
        display: flex;
        max-width: 7.5rem;
        font-size: .55rem;
      }
      .dashboard-big-screen-live::before { width: .32rem; height: .32rem; flex: 0 0 auto; }
      .dashboard-big-screen-actions { gap: .25rem; }
      .dashboard-big-screen-button {
        width: 2.25rem;
        min-height: 2.25rem;
        gap: 0;
        padding: 0;
      }
      .dashboard-big-screen-button span { display: none; }
      .dashboard-big-screen-shell > .dashboard-super-grid,
      .dashboard-big-screen-shell > .dashboard-trend-chart { width: 100%; }
      .dashboard-super-grid { gap: .5rem; }
      .dashboard-super-card {
        min-height: 0;
        padding: .75rem .65rem;
        background: rgba(255,255,255,.82);
      }
      .dashboard-super-label {
        max-width: 45%;
        font-size: clamp(.6rem, 2.8vw, .72rem);
        letter-spacing: .02em;
        line-height: 1.25;
      }
      .dashboard-super-number {
        margin-top: .8rem;
        font-size: clamp(2.35rem, 13vw, 3.4rem);
      }
      .dashboard-super-comparison {
        top: .55rem;
        right: .5rem;
        max-width: 52%;
        padding: .25rem .35rem;
        font-size: .5rem;
      }
      .dashboard-super-meta {
        right: .55rem;
        bottom: .45rem;
        max-width: calc(100% - 1rem);
        overflow: hidden;
        font-size: .52rem;
        text-overflow: ellipsis;
        white-space: nowrap;
      }
      .dashboard-trend-chart {
        min-height: 0;
        background: rgba(255,255,255,.82);
      }
      .dashboard-trend-header {
        min-height: 2.5rem;
        gap: .35rem;
        padding: .4rem .5rem;
      }
      .dashboard-trend-title { gap: .3rem; font-size: .65rem; }
      .dashboard-trend-switch { gap: .1rem; padding: .12rem; }
      .dashboard-trend-switch button { padding: .22rem .3rem; font-size: .52rem; }
      .dashboard-trend-body { min-height: 0; }
      .dashboard-echart-trend { min-height: 0; }
      .dashboard-display-chart-grid {
        grid-template-columns: minmax(0, 1fr);
        grid-template-rows: none;
        gap: .5rem;
      }
      .dashboard-display-chart { min-height: 18rem; background: rgba(255,255,255,.82); }
      .dashboard-big-screen-footer {
        align-items: flex-start;
        flex-direction: column;
        gap: .2rem;
        padding: 0 .15rem .25rem;
      }
    }
    @media (max-height: 760px) and (min-width: 1024px) {
      .dashboard-big-screen-shell { gap: .65rem; padding: .7rem; }
      .dashboard-super-card { padding: .8rem 1rem; }
      .dashboard-super-number { margin-top: .35rem; }
      .dashboard-display-chart-grid { gap: .65rem; grid-template-rows: minmax(0, 1fr); }
      .dashboard-display-plot { padding-top: .45rem; }
    }
    .truth-markdown-editor { min-width: 0; }
    .forum-screen { position: relative; isolation: isolate; }
    .forum-content { overflow-wrap: anywhere; }
    .forum-content .toastui-editor-contents { font-size: 14px; font-family: inherit; }
    .forum-content pre, .forum-content table { max-width: 100%; overflow-x: auto; }
    .forum-content a { text-decoration: underline; }
    .shared-markdown-editor { min-width: 0; font-weight: 400; }
    .shared-markdown-editor .toastui-editor-defaultUI { border-radius: 3px; border-color: #cbd5e1; }
    .shared-markdown-editor:focus-within { outline: 2px solid #475569; outline-offset: 2px; }
    .markdown-editor-count { display: block; margin-top: 5px; color: #475569; text-align: right; }
    @media (max-width: 640px) {
      .shared-markdown-editor .toastui-editor-defaultUI-toolbar { height: auto; flex-wrap: wrap; padding: 0 4px; }
      .shared-markdown-editor .toastui-editor-toolbar-group { margin-left: 0; margin-right: 0; }
    }
    .truth-markdown-editor .toastui-editor-defaultUI {
      border-color: #cbd5e1;
      border-radius: .25rem;
      font-family: Arial, "Microsoft YaHei", sans-serif;
    }
    .truth-markdown-editor:focus-within .toastui-editor-defaultUI {
      outline: 2px solid rgba(220, 38, 38, .24);
      outline-offset: 1px;
    }
    .truth-markdown-editor .toastui-editor-toolbar,
    .truth-markdown-editor .toastui-editor-mode-switch { background: #f8fafc; }
    .truth-markdown-editor .toastui-editor-contents { font-family: Arial, "Microsoft YaHei", sans-serif; font-size: 13px; }
    .truth-markdown-editor .toastui-editor-contents img { width: auto; max-width: 100%; height: auto; object-fit: contain; }
    .system-monitor-strip > div { padding: .85rem 1rem; border-bottom: 1px solid rgba(255,255,255,.14); }
    .system-monitor-strip dt { color: #94a3b8; font-size: .625rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
    .system-monitor-strip dd { margin-top: .3rem; color: #fff; font-size: 1.15rem; font-variant-numeric: tabular-nums; font-weight: 650; }
    .system-monitor-strip dd small { color: #cbd5e1; font-size: .68rem; font-weight: 500; }
    .system-traffic-chart { height: 14rem; }
    .system-status-bar { transition: width .7s ease; }
    .system-status-bar.is-2 { background: #047857; }
    .system-status-bar.is-3 { background: #0369a1; }
    .system-status-bar.is-4 { background: #d97706; }
    .system-status-bar.is-5 { background: #dc2626; }
    .system-fact-list > div { min-height: 5.6rem; padding: 1rem; border-bottom: 1px solid #e2e8f0; border-right: 1px solid #e2e8f0; }
    .system-fact-list dt { color: #64748b; font-size: .7rem; }
    .system-fact-list dd { margin-top: .35rem; color: #0f172a; font-size: 1.35rem; font-variant-numeric: tabular-nums; font-weight: 650; }
    @media (min-width: 640px) {
      .system-monitor-strip > div { border-bottom: 0; border-right: 1px solid rgba(255,255,255,.14); }
      .system-monitor-strip > div:nth-child(3n) { border-right: 0; }
    }
    @media (min-width: 1280px) {
      .system-monitor-strip > div:nth-child(3n) { border-right: 1px solid rgba(255,255,255,.14); }
      .system-monitor-strip > div:last-child { border-right: 0; }
    }
    @media (prefers-reduced-motion: reduce) {
      .kanban-column, .kanban-card { transition: none; }
      .system-status-bar { transition: none; }
    }

    /* Service-record production workspace. */
    .service-record-admin {
      --service-record-accent: var(--ph-red);
      display: grid;
      gap: .75rem;
    }
    .service-record-admin-toolbar {
      overflow: hidden;
      border: 1px solid #cbd5e1;
      border-radius: .6rem;
      background: #fff;
    }
    .service-record-admin-controls {
      display: grid;
      grid-template-columns: minmax(12rem, 1.35fr) minmax(7.5rem, .65fr) minmax(16rem, 1.2fr) minmax(8rem, .65fr) minmax(8rem, .65fr) auto;
      align-items: end;
      gap: .6rem;
      padding: .75rem;
    }
    .service-record-admin-control,
    .service-record-admin-custom-range label,
    .service-record-admin-language {
      display: grid;
      min-width: 0;
      gap: .3rem;
      color: #475569;
      font-size: .68rem;
      font-weight: 650;
    }
    .service-record-admin-control select,
    .service-record-admin-intake-value,
    .service-record-admin-custom-range input,
    .service-record-admin-language select,
    .service-record-admin-copy textarea {
      width: 100%;
      min-height: 2.25rem;
      border: 1px solid #cbd5e1;
      border-radius: .35rem;
      padding: .42rem .55rem;
      color: #0f172a;
      background: #fff;
      font-size: .76rem;
      font-weight: 550;
    }
    .service-record-admin-intake-value {
      display: flex;
      min-height: 2.25rem;
      align-items: center;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }
    .service-record-admin-intake-value.is-empty { color: #64748b; }
    .service-record-admin-control select:focus,
    .service-record-admin-custom-range input:focus,
    .service-record-admin-language select:focus,
    .service-record-admin-copy textarea:focus {
      border-color: var(--ph-red);
      box-shadow: 0 0 0 2px rgba(218, 26, 33, .12);
    }
    .service-record-admin-control select:disabled,
    .service-record-admin-custom-range input:disabled,
    .service-record-admin-language select:disabled,
    .service-record-admin-copy textarea:disabled { cursor: not-allowed; opacity: .55; }
    .service-record-admin-period-nav {
      display: grid;
      min-height: 2.25rem;
      grid-template-columns: 2.25rem minmax(7rem, 1fr) 2.25rem;
      overflow: hidden;
      border: 1px solid #cbd5e1;
      border-radius: .35rem;
      background: #fff;
    }
    .service-record-admin-period-nav button {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      color: #475569;
      background: #f8fafc;
    }
    .service-record-admin-period-nav button:first-child { border-right: 1px solid #e2e8f0; }
    .service-record-admin-period-nav button:last-child { border-left: 1px solid #e2e8f0; }
    .service-record-admin-period-nav button:hover:not(:disabled) { color: #991b1b; background: #fff1f2; }
    .service-record-admin-period-nav button:disabled { cursor: not-allowed; opacity: .35; }
    .service-record-admin-period-nav svg { width: .9rem; height: .9rem; }
    .service-record-admin-period-nav output {
      display: flex;
      min-width: 0;
      align-items: center;
      justify-content: center;
      overflow: hidden;
      padding: 0 .45rem;
      color: #334155;
      font-size: .68rem;
      font-weight: 650;
      text-align: center;
      text-overflow: ellipsis;
      white-space: nowrap;
    }
    .service-record-admin-refresh,
    .service-record-admin-apply,
    .service-record-admin-download {
      display: inline-flex;
      min-height: 2.25rem;
      align-items: center;
      justify-content: center;
      gap: .4rem;
      border-radius: .35rem;
      padding: .45rem .75rem;
      color: #fff;
      background: var(--ph-red);
      font-size: .74rem;
      font-weight: 650;
    }
    .service-record-admin-refresh:hover:not(:disabled),
    .service-record-admin-apply:hover:not(:disabled),
    .service-record-admin-download:hover:not(:disabled) { background: var(--ph-red-dark); }
    .service-record-admin-refresh:disabled,
    .service-record-admin-apply:disabled,
    .service-record-admin-download:disabled { cursor: not-allowed; opacity: .45; }
    .service-record-admin-refresh svg,
    .service-record-admin-download svg { width: .9rem; height: .9rem; }
    .service-record-admin-refresh > span:first-child { display: inline-flex; }
    .service-record-admin-refresh .is-spinning,
    .service-record-admin-copy > p svg,
    .service-record-admin-loading svg { animation: service-record-spin .8s linear infinite; }
    .service-record-admin-custom-range {
      display: grid;
      grid-template-columns: auto minmax(9rem, 12rem) minmax(9rem, 12rem) auto;
      align-items: end;
      gap: .6rem;
      border-top: 1px solid #e2e8f0;
      padding: .65rem .75rem .75rem;
      background: #f8fafc;
    }
    .service-record-admin-presets {
      display: inline-grid;
      grid-template-columns: repeat(3, minmax(3.7rem, 1fr));
      gap: .25rem;
      align-self: end;
      border: 1px solid #cbd5e1;
      border-radius: .35rem;
      padding: .2rem;
      background: #fff;
    }
    .service-record-admin-presets button {
      min-height: 1.75rem;
      border-radius: .25rem;
      padding: .25rem .5rem;
      color: #475569;
      font-size: .68rem;
      font-weight: 650;
    }
    .service-record-admin-presets button:hover { color: #991b1b; background: #fff1f2; }
    .service-record-admin-presets button:disabled { cursor: not-allowed; opacity: .45; }
    .service-record-admin-layout {
      display: grid;
      grid-template-columns: minmax(0, 1fr) 22rem;
      align-items: start;
      gap: .75rem;
    }
    .service-record-admin-preview,
    .service-record-admin-publish {
      overflow: hidden;
      border: 1px solid #cbd5e1;
      border-radius: .65rem;
      background: #fff;
    }
    .service-record-admin-preview > header {
      display: flex;
      min-height: 2.75rem;
      align-items: center;
      justify-content: space-between;
      gap: 1rem;
      border-bottom: 1px solid #e2e8f0;
      padding: .65rem .8rem;
      background: #f8fafc;
    }
    .service-record-admin-preview > header h4,
    .service-record-admin-publish > h4 {
      margin: 0;
      color: #0f172a;
      font-size: .8rem;
      font-weight: 700;
    }
    .service-record-admin-preview > header span {
      overflow: hidden;
      color: #64748b;
      font-size: .68rem;
      font-weight: 600;
      text-overflow: ellipsis;
      white-space: nowrap;
    }
    .service-record-admin-canvas-wrap {
      position: relative;
      display: flex;
      min-height: 24rem;
      align-items: center;
      justify-content: center;
      padding: clamp(.75rem, 2.5vw, 1.75rem);
      background: #eef2f7;
    }
    .service-record-admin-canvas-wrap .service-record-canvas { width: min(100%, 46rem); }
    .service-record-admin-loading {
      position: absolute;
      inset: 0;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: .45rem;
      color: #334155;
      background: rgba(248, 250, 252, .84);
      font-size: .75rem;
      font-weight: 650;
    }
    .service-record-admin-loading svg { width: 1rem; height: 1rem; }
    .service-record-admin-publish {
      position: sticky;
      top: 0;
      display: grid;
      gap: .9rem;
      padding: .9rem;
    }
    .service-record-admin-publish > h4 {
      border-bottom: 1px solid #e2e8f0;
      padding-bottom: .75rem;
    }
    .service-record-admin-portraits {
      min-width: 0;
      border: 0;
      padding: 0;
    }
    .service-record-admin-portraits legend,
    .service-record-admin-copy label > span {
      margin-bottom: .4rem;
      color: #475569;
      font-size: .68rem;
      font-weight: 650;
    }
    .service-record-admin-candidates {
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: .4rem;
    }
    .service-record-admin-candidates button {
      position: relative;
      aspect-ratio: 4 / 5;
      overflow: hidden;
      border: 1px solid #cbd5e1;
      border-radius: .4rem;
      background: #f8fafc;
    }
    .service-record-admin-candidates button:hover { border-color: #94a3b8; }
    .service-record-admin-candidates button.is-selected {
      border-color: var(--ph-red);
      box-shadow: 0 0 0 2px rgba(218, 26, 33, .14);
    }
    .service-record-admin-candidates button.is-selected::after {
      position: absolute;
      right: .25rem;
      bottom: .25rem;
      width: .55rem;
      height: .55rem;
      border: 2px solid #fff;
      border-radius: 50%;
      background: var(--ph-red);
      content: '';
    }
    .service-record-admin-candidates img { width: 100%; height: 100%; object-fit: contain; object-position: center bottom; }
    .service-record-admin-empty {
      margin: 0;
      border: 1px dashed #cbd5e1;
      border-radius: .35rem;
      padding: .75rem;
      color: #64748b;
      background: #f8fafc;
      font-size: .7rem;
      text-align: center;
    }
    .service-record-admin-copy-option {
      display: flex;
      align-items: center;
      gap: .55rem;
      border-top: 1px solid #e2e8f0;
      padding-top: .85rem;
      color: #1e293b;
      font-size: .75rem;
      font-weight: 650;
    }
    .service-record-admin-copy-option input {
      width: 1rem;
      height: 1rem;
      accent-color: var(--ph-red);
    }
    .service-record-admin-copy > p {
      display: flex;
      min-height: 5rem;
      align-items: center;
      justify-content: center;
      gap: .4rem;
      margin: 0;
      border: 1px solid #e2e8f0;
      border-radius: .4rem;
      color: #475569;
      background: #f8fafc;
      font-size: .72rem;
      font-weight: 600;
    }
    .service-record-admin-copy > p svg { width: .95rem; height: .95rem; }
    .service-record-admin-copy label { display: grid; }
    .service-record-admin-copy textarea { min-height: 9rem; resize: vertical; line-height: 1.55; }
    .service-record-admin-actions {
      display: grid;
      gap: .75rem;
      border-top: 1px solid #e2e8f0;
      padding-top: .9rem;
    }
    .service-record-admin-socials { display: flex; flex-wrap: wrap; gap: .45rem; }
    .service-record-admin-socials button {
      display: inline-flex;
      width: 2.6rem;
      height: 2.6rem;
      align-items: center;
      justify-content: center;
      border: 1px solid transparent;
      border-radius: 50%;
      color: #fff;
    }
    .service-record-admin-socials button:hover:not(:disabled) { filter: brightness(.94); }
    .service-record-admin-socials button:disabled { cursor: not-allowed; opacity: .38; }
    .service-record-admin-socials .bi { font-size: 1.05rem; line-height: 1; }
    .service-record-admin-socials .facebook { background: #1877f2; }
    .service-record-admin-socials .whatsapp { background: #168a46; }
    .service-record-admin-socials .x { background: #111827; }
    .service-record-admin-socials .telegram { background: #168bd2; }
    .service-record-admin-socials .generic { border-color: #cbd5e1; color: #334155; background: #f8fafc; }
    .service-record-admin-download { width: 100%; }
    .service-record-admin-status {
      margin: 0;
      border-radius: .35rem;
      padding: .55rem .65rem;
      color: #166534;
      background: #f0fdf4;
      font-size: .7rem;
      font-weight: 600;
      line-height: 1.4;
    }
    .service-record-admin-status.is-error { color: #991b1b; background: #fef2f2; }
    @keyframes service-record-spin { to { transform: rotate(360deg); } }
    @media (max-width: 1279px) {
      .service-record-admin-controls { grid-template-columns: minmax(12rem, 1fr) minmax(7.5rem, .6fr) minmax(15rem, 1fr) minmax(8rem, .65fr); }
      .service-record-admin-refresh { grid-column: 4; }
    }
    @media (max-width: 1099px) {
      .service-record-admin-layout { grid-template-columns: minmax(0, 1fr); }
      .service-record-admin-publish { position: static; }
      .service-record-admin-candidates { grid-template-columns: repeat(6, minmax(0, 1fr)); }
      .service-record-admin-actions { grid-template-columns: auto minmax(10rem, 15rem); align-items: center; }
    }
    @media (max-width: 1023px) {
      .service-record-admin-controls { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
      .service-record-admin-period-control { grid-column: 1 / -1; }
      .service-record-admin-refresh { grid-column: auto; }
      .service-record-admin-custom-range { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
      .service-record-admin-presets { grid-column: 1 / -1; }
      .service-record-admin-apply { grid-column: 1 / -1; align-self: end; }
      .service-record-admin-candidates { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    }
    @media (max-width: 479px) {
      .service-record-admin-controls,
      .service-record-admin-custom-range { grid-template-columns: minmax(0, 1fr); }
      .service-record-admin-period-control,
      .service-record-admin-presets,
      .service-record-admin-refresh { grid-column: auto; }
      .service-record-admin-canvas-wrap { min-height: 0; padding: .5rem; }
      .service-record-admin-publish { padding: .75rem; }
      .service-record-admin-candidates { grid-template-columns: repeat(3, minmax(0, 1fr)); }
      .service-record-admin-actions { grid-template-columns: minmax(0, 1fr); }
    }
    @media (prefers-reduced-motion: reduce) {
      .service-record-admin-refresh .is-spinning,
      .service-record-admin-copy > p svg,
      .service-record-admin-loading svg { animation: none; }
    }
