/* Local navbar prototype. Product geometry, surfaces and motion follow the
   current AuroraStyle / NotchGeometry / NotchMotion, independently of the
   older, still-used feature illustrations in hero-demo.css. */
/* main.js reads this from documentElement, just like the anchor targets. */
:root { --nav-offset: 68px; }
.has-notch-demo::before { content: ''; position: fixed; inset: 0 0 auto; height: 3px; background: #000; z-index: 79; pointer-events: none; }
.nd-companion-art { display: flex; width: 43px; height: 36px; align-items: center; justify-content: center; overflow: hidden; }
.nd-extra-sprite { display: block; background-repeat: no-repeat; image-rendering: pixelated; animation-play-state: paused; flex-shrink: 0; }
.nd-extra-sprite.ct-samurai { transform: scale(.65); }
.nd-extra-sprite.ct-mushroom { transform: scale(.85); }
.nd[data-open="true"] .nd-extra-sprite { animation-play-state: running; }
/* Only the drawn notch catches the pointer. No screen-wide overlay. */
.nd { --nd-shoulder: 20px; --nd-width: 446px; --nd-sheet: #05050a; --nd-signal: #ff9f0a; position: fixed; top: 0; left: 50%; transform: translateX(-50%); width: min(var(--nd-width), calc(100vw - 24px)); z-index: 80; color: white; font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif; font-size: 11.5px; line-height: 1.4; letter-spacing: 0; transition: width 1s cubic-bezier(.22, 1, .28, 1); color-scheme: dark; }
.nd[data-open="true"] { --nd-width: 760px; }
/* Concave shoulders join the black top edge without extending the hit area. */
.nd::before, .nd::after { content: ''; position: absolute; top: 0; width: var(--nd-shoulder); height: var(--nd-shoulder); pointer-events: none; background: radial-gradient(circle at 0 100%, transparent calc(var(--nd-shoulder) - .4px), #000 var(--nd-shoulder)); }
.nd::before { right: 100%; }
.nd::after { left: 100%; transform: scaleX(-1); }
.nd *, .nd-terminal * { box-sizing: border-box; min-width: 0; }
.nd button, .nd select, .nd input, .nd textarea { font: inherit; }
.nd button { cursor: pointer; }
.nd button:disabled { opacity: .4; cursor: default; }
.nd button:focus-visible, .nd select:focus-visible, .nd input:focus-visible, .nd textarea:focus-visible { outline: 2px solid #ab9eff; outline-offset: 3px; }
.nd[data-input="pointer"] button:focus-visible { outline: none; }
.nd-shell { background: var(--nd-sheet); border-radius: 0 0 22px 22px; overflow: hidden; box-shadow: 0 5px 12px #0002; transition: box-shadow .5s, border-radius 1s; }
.nd[data-open="true"] .nd-shell { border-radius: 0 0 32px 32px; box-shadow: 0 16px 50px #110d2938, 0 2px 6px #0003; }
.nd-trigger { display: flex; justify-content: space-between; align-items: center; width: 100%; height: 42px; background: #000; border: 0; padding: 0 17px; color: white; }
.nd-trigger:focus-visible { outline-offset: -4px !important; border-radius: 0 0 16px 16px; }
.nd-camera { flex: 1; display: grid; place-items: center; height: 100%; }
.nd-nudge-label { font-size: 11px; color: #eee8f5; white-space: nowrap; letter-spacing: .01em; transition: opacity .2s; }
.nd-nudge-label > span { margin-left: 4px; color: #93839f; }
.nd[data-open="true"] .nd-nudge-label { opacity: 0; animation: none; }
.nd-wing { display: flex; align-items: center; flex: 0 0 auto; gap: 14px; }
.nd-wing-right { justify-content: flex-end; overflow: hidden; height: 42px; width: 43px; }
.nd-character-toggle { position: absolute; top: 0; right: 12px; height: 42px; width: 49px; background: none; border: 0; border-radius: 0 0 14px 14px; z-index: 2; }
.nd-character-toggle:hover { background: #ffffff0c; }
.nd-wing-left { transition: opacity .2s; }
.nd[data-open="true"] .nd-wing-left { opacity: 0; }
.nd-brand { position: relative; display: inline-block; width: 20px; height: 20px; flex: 0 0 20px; color: #fff; }
.nd-brand-mark { display: block; width: 100%; height: 100%; background: currentColor; mask: var(--nd-logo) center / contain no-repeat; -webkit-mask: var(--nd-logo) center / contain no-repeat; }
.nd-brand[data-brand="claude"] { --nd-logo: url('assets/brand/claude.svg'); color: #d97757; }
.nd-brand[data-brand="codex"] { --nd-logo: url('assets/brand/codex.svg'); }
.nd-brand[data-brand="cursor"] { --nd-logo: url('assets/brand/cursor.svg'); }
.nd-brand[data-brand="opencode"] { --nd-logo: url('assets/brand/opencode.svg'); }
.nd-brand-pip { position: absolute; right: -3px; top: -2px; width: 7px; height: 7px; border-radius: 50%; background: var(--nd-signal); box-shadow: 0 0 0 2px #27262b; }
.nd-brand-count { position: absolute; top: -3px; right: -7px; width: 12px; height: 12px; font-size: 8px; font-weight: 700; display: grid; place-items: center; background: #ff9f0a; color: #1b1000; border-radius: 50%; box-shadow: 0 0 0 2px black; }
.nd-fold { display: grid; grid-template-rows: 0fr; visibility: hidden; transition: grid-template-rows 1s cubic-bezier(.22,1,.28,1), visibility 1s; }
.nd[data-open="true"] .nd-fold { grid-template-rows: 1fr; visibility: visible; }
.nd-panel { display: flex; flex-direction: column; min-height: 0; max-height: calc(100dvh - 54px); overflow: hidden; width: min(760px, calc(100vw - 24px)); position: relative; left: 50%; transform: translateX(-50%); }
.nd-quota, .nd-demo-tools { flex-shrink: 0; }
.nd-list { max-height: min(480px, calc(100dvh - 140px)); overflow-y: auto; overscroll-behavior: contain; overflow-anchor: none; scrollbar-width: thin; scrollbar-color: #ffffff26 transparent; padding: 8px 24px 12px; opacity: 0; transform: translateY(-8px); transition: opacity .22s, transform .48s cubic-bezier(.22,1,.28,1); }
.nd[data-open="true"] .nd-list { opacity: 1; transform: translateY(0); transition-delay: .12s; }
.nd-list[data-overflow="true"] { mask-image: linear-gradient(#000 calc(100% - 24px), transparent); }
.nd-card { position: relative; padding: 11px 15px; border: 1px solid #ffffff14; border-radius: 20px; background: #ffffff0b; margin-bottom: 7px; }
.nd-card:last-child { margin-bottom: 0; }
.nd-card[data-state="permission"], .nd-card[data-state="plan"] { --nd-signal: #ff9f0a; background: linear-gradient(#ff9f0a0c,#ff9f0a03), #ffffff0b; border-color: #ff9f0a70; }
.nd-card[data-state="question"] { --nd-signal: #0a84ff; background: linear-gradient(#0a84ff0d,#0a84ff03), #ffffff0b; border-color: #0a84ff70; }
.nd-card[data-state="working"] { --nd-signal: #eeeeef; }
.nd-card[data-state="done"] { --nd-signal: #30d158; }
.nd-card[data-state="idle"] { --nd-signal: #777; }
.nd-card.nd-unread { border-color: #30d15860; background: linear-gradient(#30d1580a, #30d15802), #ffffff0b; }
.nd-card-head { display: flex; gap: 11px; align-items: flex-start; }
.nd-card-head > .nd-brand { margin-top: 1px; }
.nd-card-main { flex: 1; }
.nd-card-top { display: flex; align-items: center; gap: 7px; min-height: 22px; }
.nd-title { text-align: left; padding: 0; background: none; border: 0; color: white; font-size: 13.5px !important; line-height: 1.4; font-weight: 600 !important; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nd-title:hover { color: #d7d1f8; }
.nd-meta { display: flex; align-items: center; gap: 7px; margin-left: auto; flex-shrink: 0; }
.nd-pill { border-radius: 100px; padding: 2px 8px; background: #ffffff12; color: #ffffff94; font-size: 9.5px; white-space: nowrap; }
.nd-activity-btn { border: 1px solid #ffffff22; border-radius: 100px; padding: 3px 9px; background: #ffffff0f; color: #ffffffb0; font-size: 10px !important; font-weight: 600 !important; white-space: nowrap; }
.nd-activity-btn[aria-expanded="true"] { color: #ffffffe0; background: #ffffff21; border-color: #ffffff33; }
.nd-context { display: flex; align-items: center; gap: 4px; }
.nd-context i { position: relative; width: 12px; height: 12px; border-radius: 50%; background: conic-gradient(var(--nd-context-color, #5cd18c) var(--nd-context), #ffffff20 0); }
.nd-context i::before { content: ''; position: absolute; inset: 2px; background: #18181c; border-radius: 50%; }
.nd-context span { font-size: 9.5px; color: #ffffff80; }
.nd-folder { display: flex; gap: 7px; align-items: center; flex-wrap: wrap; margin: 2px 0 3px; color: #ffffff6b; font-size: 11.5px; }
.nd-folder button { color: inherit; background: none; border: 0; padding: 0; }
.nd-folder button:hover { color: #ffffffb0; }
.nd-folder button, .nd-branch { display: inline-flex; align-items: center; gap: 4px; }
.nd-small-icon { width: 10px; height: 10px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.nd-branch { font-size: 11.5px; padding: 1px 5px; border-radius: 4px; background: #ffffff0d; overflow-wrap: anywhere; }
.nd-status { color: #ffffff8c; margin: 2px 0 0; overflow-wrap: anywhere; }
.nd-card[data-state="permission"] .nd-status, .nd-card[data-state="plan"] .nd-status, .nd-card[data-state="question"] .nd-status { color: var(--nd-signal); }
.nd-subagents { border-left: 1px solid #ffffff24; padding-left: 7px; margin: 5px 0 0 1px; color: #ffffff8c; font-size: 10.5px; }
.nd-subagent-row { display: flex; gap: 5px; }
.nd-subagent-row strong { font-weight: 500; color: #ffffffb8; flex-shrink: 0; }
.nd-subagent-row span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nd-subagents > small { display: block; color: #ffffff6b; font-size: 10.5px; margin-top: 2px; }
.nd-card-content { margin-left: 31px; }
.nd-well { background: #00000057; border: 1px solid #ffffff12; border-radius: 12px; padding: 9px 11px; margin: 8px 0; overflow-wrap: anywhere; }
.nd-command { font: 11px/1.5 var(--font-mono); color: #ffffffd6; white-space: pre-wrap; }
.nd-actions { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; margin-top: 7px; }
.nd-secondary, .nd-primary { display: inline-flex; align-items: center; justify-content: center; gap: 5px; border: 1px solid #ffffff1a; border-radius: 100px; padding: 5px 13px; font-size: 10.5px !important; font-weight: 600 !important; line-height: 1.5; background: #ffffff14; color: #ffffffd9; text-decoration: none; }
.nd-secondary:hover { background: #ffffff21; }
.nd-primary { background: var(--nd-signal); border-color: transparent; color: #171007; }
.nd-primary:hover { filter: brightness(1.08); }
.nd-split { position: relative; display: inline-flex; border-radius: 100px; background: var(--nd-signal); }
.nd-split > .nd-primary { border-radius: 100px 0 0 100px; padding-right: 10px; }
.nd-scope-toggle { color: #171007; border: 0; border-left: 1px solid #0003; background: none; border-radius: 0 100px 100px 0; padding: 2px 9px; }
.nd-scope-menu { position: absolute; left: 0; top: calc(100% + 5px); width: 190px; padding: 4px; border: 1px solid #ffffff30; border-radius: 10px; background: #27262d; z-index: 4; box-shadow: 0 8px 24px #0008; }
.nd-scope-menu button { display: block; width: 100%; text-align: left; border: 0; padding: 8px; border-radius: 6px; background: none; color: #eee; }
.nd-scope-menu button:hover { background: #ffffff1f; }
.nd-question { border: 0; margin: 8px 0 0; padding: 0; }
.nd-question legend { color: #ffffff6b; font-size: 9px; letter-spacing: .1em; font-weight: 600; padding: 0 0 7px; }
.nd-choice { display: flex; align-items: center; gap: 9px; margin: 5px 0; padding: 8px 10px; border: 1px solid #ffffff12; border-radius: 14px; background: #ffffff0d; cursor: pointer; color: #ffffffd6; }
.nd-choice:has(input:checked) { background: linear-gradient(90deg,#0a84ff30,#0a84ff09); border-color: #0a84ff90; }
.nd-choice input { accent-color: #0a84ff; margin: 0; }
.nd-choice-button { width: 100%; text-align: left; font: inherit; }
.nd-choice-number { width: 18px; height: 18px; flex: 0 0 18px; display: grid; place-items: center; border-radius: 50%; background: #ffffff1f; font-size: 9px; font-weight: 700; }
.nd-choice-button:hover { background: #0a84ff25; border-color: #0a84ff70; }
.nd-choice-button[aria-pressed="true"] { background: linear-gradient(90deg,#0a84ff30,#0a84ff09); border-color: #0a84ff73; }
.nd-choice-button[aria-pressed="true"] .nd-choice-number { background: #0a84ff; color: #071321; }
.nd-choice-square { border-radius: 3px; }
.nd-choice strong { display: block; font-weight: 600; }
.nd-choice small { display: block; color: #ffffff7d; font-size: 10.5px; margin-top: 2px; }
.nd-text-input { display: block; width: 100%; resize: vertical; max-height: 130px; padding: 8px 10px; border: 1px solid #ffffff2b; border-radius: 9px; background: #ffffff0d; color: white; font-size: 12px !important; }
.nd-plan { max-height: 230px; overflow-y: auto; overscroll-behavior: contain; color: #ffffffd6; }
.nd-plan-preview .nd-plan { max-height: 76px; overflow: hidden; mask-image: linear-gradient(#000 55%, transparent); transition: max-height .5s cubic-bezier(.22,1,.28,1); margin-bottom: 0; }
.nd-plan-preview[data-expanded="true"] .nd-plan { max-height: 230px; overflow-y: auto; mask-image: none; }
.nd-read-plan { display: block; color: #e4b475; padding: 5px 0; background: none; border: 0; font-size: 10px !important; margin-bottom: 3px; }
.nd-plan h3 { font-size: 13px; font-weight: 600; margin: 0 0 7px; }
.nd-plan p { margin: 7px 0; }
.nd-plan ol { padding-left: 19px; margin: 6px 0; }
.nd-plan li { padding: 3px 0; }
.nd-plan code { color: #e0d8ff; background: #ffffff12; border: 1px solid #ffffff14; border-radius: 4px; padding: 1px 4px; font: 10.5px var(--font-mono); }
.nd-feedback { margin-top: 8px; }
.nd-feedback label { display: block; color: #ffffff9a; margin-bottom: 5px; }
.nd-activity-reveal { overflow: hidden; }
.nd-activity-inner { display: flow-root; }
.nd-feed { max-height: 250px; overflow-y: auto; overscroll-behavior: contain; padding: 10px 12px; margin-top: 9px; }
.nd-feed-entry { margin: 0 0 10px; color: #ffffffb8; white-space: pre-wrap; }
.nd-feed-entry:last-child { margin-bottom: 0; }
.nd-feed-entry[data-voice="tool"] { font: 10px/1.6 var(--font-mono); color: #ffffff69; }
.nd-feed-entry[data-voice="you"] { color: #ffffffb8; }
.nd-feed-entry b { display: block; color: #ffffff6b; font-size: 9px; font-weight: 600; letter-spacing: .1em; margin-bottom: 4px; }
.nd-feed-footer { font-size: 10px; color: #ffffff73; margin-top: -3px; }
.nd-feed-footer::before { content: ''; display: inline-block; width: 4px; height: 4px; border-radius: 50%; background: var(--nd-signal); margin: 0 5px 2px 0; }
.nd-quota { display: flex; align-items: center; gap: 12px; padding: 0 39px 13px; color: #ffffff70; font-size: 9.5px; }
.nd-quota strong { font-size: 9.5px; font-weight: 600; }
.nd-gauge { display: flex; gap: 6px; align-items: center; }
.nd-gauge-track { width: 58px; height: 14px; border-radius: 4px; background: #ffffff1a; position: relative; overflow: hidden; }
.nd-gauge-track i { display: block; height: 100%; background: #ffffff50; }
.nd-gauge-track.nd-warm i { background: #ff9f0a; }
.nd-gauge-track em { position: absolute; inset: 0; text-align: center; color: #fff; font-size: 8.5px; line-height: 14px; font-style: normal; text-shadow: 0 1px 2px #000b; }
.nd-demo-tools { border-top: 1px solid #ffffff0e; padding: 10px 25px 13px; display: flex; align-items: center; gap: 12px; font-size: 10px; color: #ffffff6e; background: #ffffff02; }
.nd-demo-label { font-size: 8px; letter-spacing: .1em; padding: 2px 5px; border: 1px solid #ffffff1a; border-radius: 4px; }
.nd-demo-tools button { background: none; color: #ffffff8c; border: 0; padding: 3px 0; white-space: nowrap; }
.nd-demo-tools button:hover { color: white; }
.nd-demo-tools select { max-width: 165px; background: transparent; color: #ffffffa6; border: 0; padding: 3px 3px 3px 0; cursor: pointer; }
.nd-demo-tools option { background: #16151b; }
.nd-scenario-label { margin-right: auto; }
.nd-options { display: flex; gap: 8px; }
.nd-options:empty { display: none; }
.nd-options label { display: flex; align-items: center; gap: 5px; }
.nd-esc { font-size: 8px; border: 1px solid #ffffff25; border-radius: 3px; padding: 1px 3px; margin-left: 3px; color: #ffffff60; }
.nd-sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.nd-sprite { display: block; width: 35.2px; height: 32px; background: url('assets/characters/crew-idle.png') 0 0 / auto 32px no-repeat; image-rendering: pixelated; }
.nd[data-open="true"] .nd-sprite[data-character="crew"] { animation: nd-crew-idle 2s steps(16) infinite; }
.nd-sprite[data-character="crew"][data-mood="alert"] { background-image: url('assets/characters/crew-alert.png'); }
.nd[data-open="true"] .nd-sprite[data-character="crew"][data-mood="alert"] { animation: nd-crew-alert 1s steps(6) infinite; }
.nd-sprite[data-character="crew"][data-mood="active"] { background-image: url('assets/characters/crew-running.png'); }
.nd[data-open="true"] .nd-sprite[data-character="crew"][data-mood="active"] { animation: nd-crew-active 1s steps(12) infinite; }
.nd-sprite[data-character="crew"][data-mood="celebrating"] { background-image: url('assets/characters/crew-happy.png'); }
.nd[data-open="true"] .nd-sprite[data-character="crew"][data-mood="celebrating"] { animation: nd-crew-happy .83s steps(9) forwards; }
/* Cat uses the native manifest's four clips and timing, even when collapsed. */
.nd-sprite[data-character="cat"] { width: 36px; height: 36px; background-image: url('assets/characters/cat-idle.png'); background-size: auto 36px; animation: nd-cat-six 1s steps(6) infinite; }
.nd-sprite[data-character="cat"][data-mood="active"] { background-image: url('assets/characters/cat-running.png'); animation: nd-cat-six .5s steps(6) infinite; }
.nd-sprite[data-character="cat"][data-mood="alert"] { background-image: url('assets/characters/cat-alert.png'); animation: nd-cat-alert .5s steps(4) infinite; }
.nd-sprite[data-character="cat"][data-mood="celebrating"] { background-image: url('assets/characters/cat-happy.png'); animation: nd-cat-happy .75s steps(9) forwards; }
.nd[data-page-visible="false"] .nd-sprite { animation-play-state: paused; }
.nd-mini-quota { width: 23px; height: 23px; display: grid; place-items: center; font-size: 8px; border-radius: 50%; border: 2px solid #aaa; color: #ddd; background: linear-gradient(to top, #ffffff30 34%, transparent 34%); }
.nd[data-open="true"] .nd-card[data-state="working"] .nd-brand-mark { animation: nd-spin 4s linear infinite; }
@keyframes nd-spin { to { transform: rotate(360deg); } }
@keyframes nd-crew-idle { to { background-position: -563.2px 0; } }
@keyframes nd-crew-alert { to { background-position: -211.2px 0; } }
@keyframes nd-crew-active { to { background-position: -422.4px 0; } }
@keyframes nd-crew-happy { to { background-position: -316.8px 0; } }
@keyframes nd-cat-six { to { background-position: -216px 0; } }
@keyframes nd-cat-alert { to { background-position: -144px 0; } }
/* Stop on the tenth frame; advancing a full strip would hold an empty cell. */
@keyframes nd-cat-happy { to { background-position: -324px 0; } }

.nd-terminal { position: fixed; inset: auto 28px 28px auto; margin: 0; padding: 0; width: min(680px, calc(100vw - 32px)); max-height: calc(100dvh - 50px); border: 1px solid #ffffff2b; border-radius: 13px; background: #151419; color: #eee; box-shadow: 0 28px 100px #0008; font: 12px/1.6 -apple-system, BlinkMacSystemFont, sans-serif; overflow: auto; color-scheme: dark; }
.nd-terminal::backdrop { background: #17102922; }
.nd-terminal[open] { transform-origin: 50% 20%; animation: nd-window-open .5s cubic-bezier(.16,1,.3,1) both; }
.nd-terminal[open]::backdrop { animation: nd-backdrop-in .3s ease-out both; }
@keyframes nd-window-open {
  from { opacity: 0; transform: translateY(24px) scale(.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes nd-backdrop-in { from { opacity: 0; } to { opacity: 1; } }
.nd-terminal-head { display: flex; align-items: center; justify-content: space-between; background: #222126; padding: 9px 13px; font-size: 11px; }
.nd-terminal-head small { color: #ffffff60; font-size: 9px; }
.nd-terminal-head button { background: none; border: 0; color: #aaa; font-size: 19px; cursor: pointer; width: 24px; }
.nd-window-dots { display: flex; gap: 6px; }
.nd-window-dots i { width: 10px; height: 10px; background: #ff5f57; border-radius: 50%; }
.nd-window-dots i:nth-child(2) { background: #febc2e; }
.nd-window-dots i:nth-child(3) { background: #28c840; }
.nd-terminal-tabs { display: flex; background: #1d1c22; padding: 0 9px; overflow-x: auto; }
.nd-terminal-tabs button { flex: 1; border: 0; border-bottom: 2px solid transparent; color: #888; background: none; padding: 10px 12px; font: 10px var(--font-mono); cursor: pointer; white-space: nowrap; }
.nd-terminal-tabs button[aria-selected="true"] { color: #eee; background: #ffffff07; border-color: #a08bde; }
.nd-terminal-body { min-height: 230px; max-height: 55dvh; overflow-y: auto; padding: 22px; font: 11.5px/1.8 var(--font-mono); white-space: pre-wrap; overflow-wrap: anywhere; }
.nd-terminal-body .nd-terminal-path { color: #a89bcf; }
.nd-terminal-body .nd-terminal-tool { color: #8c8a96; }
.nd-terminal-body .nd-terminal-result { color: #76d19b; }
.nd-terminal-note { border-top: 1px solid #ffffff0f; padding: 11px 18px; margin: 0; color: #9995a7; font-size: 10px; }
.nd-terminal button:focus-visible { outline: 2px solid #ab9eff; outline-offset: -2px; }

@media (max-width: 760px) {
  .nd { --nd-width: 366px; --nd-shoulder: 10px; }
  .nd-camera { flex-basis: 0; }
  .nd-trigger { padding-inline: 13px; }
  .nd-wing-left { gap: 9px; }
  .nd-wing-left .nd-brand { width: 18px; height: 18px; flex-basis: 18px; }
  .nd-nudge-label { font-size: 10px; }
  .nd-list { padding: 8px 12px 12px; }
  .nd-card { padding: 11px 12px; border-radius: 17px; }
  .nd-meta .nd-host { display: none; }
  .nd-quota { padding-inline: 27px; flex-wrap: wrap; gap: 8px; }
  .nd-demo-tools { padding-inline: 19px; gap: 10px; flex-wrap: wrap; }
  .nd-options { order: 5; width: 100%; }
  .nd-card-top { flex-wrap: wrap; gap: 4px; }
  .nd-title { flex-basis: 100%; white-space: normal; }
  .nd-meta { margin: 0; }
  .nd-card-head { gap: 8px; }
  .nd-card-content { margin-left: 28px; }
  .nd-secondary, .nd-primary { min-height: 32px; }
  .nd-activity-btn { min-height: 28px; }
  .nd-list { max-height: calc(100dvh - 185px); }
  .nd-terminal { right: 16px; bottom: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .nd, .nd *, .nd-terminal, .nd-terminal::backdrop { animation: none !important; transition: none !important; }
}
