.mobile-nav { display: none; }
.header-tools { max-width: 100%; min-width: 0; }
.workspace-name { max-width: min(15rem, 52vw); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.menu-panel { min-width: min(260px, calc(100vw - 32px)); overflow-wrap: anywhere; }
.menu-panel a, .menu-panel button, .nav-dock a { min-height: 44px; }
.feature-card { width: 100%; max-width: 60rem; display: grid; gap: 1rem; }
.feature-form, .feature-list { display: grid; gap: .75rem; }
.feature-form fieldset { border: 0; padding: 0; display: grid; gap: .5rem; min-width: 0; }
.feature-form legend { font-size: clamp(1.25rem, 3vw, 1.75rem); font-weight: 600; margin-bottom: .75rem; }
.answer-choice { display: flex; gap: .65rem; align-items: center; min-height: 44px; padding: .5rem .75rem; border: 1px solid var(--line); border-radius: .5rem; }
.answer-choice:focus-within { outline: 2px solid currentColor; outline-offset: 1px; }
.answer-choice input { accent-color: var(--teal); }
.feature-controls { display: flex; align-items: end; flex-wrap: wrap; gap: .75rem; }
.feature-controls .btn:active { outline: 2px solid currentColor; outline-offset: 1px; }
.feature-list { margin: 0; padding: 0; list-style: none; }
.feature-list li { padding: .75rem 0; border-bottom: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .75rem; overflow-wrap: anywhere; }
.feature-list time { color: var(--ink-2); }
.feature-card code { overflow-wrap: anywhere; }
.mobile-nav a[aria-current="page"] { font-weight: 700; text-decoration: underline; }
@media (max-width: 820px) {
  .nav-wrap { display: none; }
  .mobile-nav { display: block; flex: 1 0 100%; order: 3; }
  .mobile-nav summary { min-height: 44px; display: inline-flex; align-items: center; cursor: pointer; }
  .mobile-nav .menu-panel { position: static; width: 100%; margin-top: .5rem; }
}
@media print {
  .app-header, .toast-stack, .no-print { display: none !important; }
  .page { display: block; max-width: none; padding: 0; }
  .feature-card { box-shadow: none; max-width: none; margin-bottom: .75rem; }
  .feature-list li { break-inside: avoid; }
}
