/* stylelint-disable -- Migrated parity CSS: keep cascade, selector order, and declarations visually identical. */
  @media (max-width:900px) {
    .shell { grid-template-columns:1fr; }
    .shell.sidebar-collapsed { grid-template-columns:1fr; }
    .sidebar { position:fixed; top:0; left:0; margin:0; height:100vh; width:280px; border-radius:0 var(--r-lg) var(--r-lg) 0; transform:translateX(-110%); }
    .sidebar.collapsed { width:280px; padding:var(--s-5) var(--s-4); }
    .sidebar.collapsed .brandmark { justify-content:flex-start; }
    .sidebar.collapsed .brandmark .glyph { display:grid; }
    .sidebar.collapsed .brandmark > div:not(.glyph) { display:block; }
    .sidebar.collapsed .brandmark .name,
    .sidebar.collapsed .brandmark .sub { display:block; }
    .sidebar.collapsed .sidebar-toggle { margin-left:auto; }
    .sidebar.collapsed .nav-group h5,
    .sidebar.collapsed .nav-label,
    .sidebar.collapsed .scds-sidebar-bottom { display:block; }
    .sidebar.collapsed .nav-item { justify-content:flex-start; padding:6px 8px; }
    .sidebar.open { transform:translateX(0); }
    .topbar { display:flex; align-items:center; gap:12px; position:sticky; top:0; z-index:30; padding:12px 16px; margin:10px; border-radius:var(--r-md); }
    .topbar .burger { width:38px; height:38px; border-radius:var(--r-sm); border:1px solid var(--glass-brd); background:rgba(255,255,255,.6); display:grid; place-items:center; cursor:pointer; }
    .content { padding:var(--s-4); }
    .g4 { grid-template-columns:repeat(2,1fr); } .g3 { grid-template-columns:1fr; }
    .flow { grid-template-columns:1fr; gap:var(--s-4); } .flow-step:not(:last-child)::after { display:none; }
    .day-agenda-row, .validation-row { grid-template-columns:1fr; align-items:flex-start; }
    .run-step-top, .day-agenda-head, .approval-gate-top { flex-direction:column; align-items:flex-start; }
    .friendly-welcome { grid-template-columns:1fr; padding:var(--s-5); }
    .friendly-signal, .confidence-row-top { align-items:flex-start; flex-direction:column; }
  }
  @media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration:.001ms !important; animation-iteration-count:1 !important; transition-duration:.001ms !important; }
  }
