/* Product scenarios reuse the website's theme tokens and local Fluent icons. */
[hidden] {
  display: none !important;
}
.hero-description {
  max-width: 660px;
  margin-inline: auto;
}
.hero-scenes {
  margin: 28px auto 0;
  width: fit-content;
}
.hero-scenes + .showcase {
  margin-top: 24px;
}
.segmented {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface-muted);
}
.segmented button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 8px 14px;
  min-height: 36px;
  border-radius: 7px;
  background: transparent;
  color: var(--secondary);
  font-size: 12px;
  line-height: 1.4;
}
.segmented button[aria-pressed="true"] {
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 1px 4px #0000000a;
}
.segmented button:hover {
  color: var(--accent);
}
.segmented .icon {
  width: 16px;
  height: 16px;
}
.type-filter {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  color: var(--secondary);
  white-space: nowrap;
}
.type-filter select {
  border: 0;
  background: var(--surface-muted);
  color: var(--ink);
  font: inherit;
  padding: 5px 8px;
  border-radius: 5px;
  max-width: 100px;
}
.app-toolbar .decorative-tools {
  display: none;
}
.scene-window {
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: var(--surface);
  box-shadow: 0 16px 44px -28px #26395740;
}
.scene-bar {
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 13px 18px;
  background: var(--window-chrome);
  border-bottom: 1px solid var(--line);
  color: var(--secondary);
  font-size: 12px;
}
.scene-bar > .icon {
  width: 16px;
  height: 16px;
}
.demo-label {
  margin-left: auto;
  font-size: 10px;
  color: var(--muted);
  font-weight: 400;
}
.section-footnote,
.inline-note {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.8;
}
.section-footnote {
  margin-top: 20px;
  max-width: 800px;
}
.inline-note {
  padding: 13px 18px;
  margin: 0;
}
.organize-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
}
.scene-notes {
  color: var(--secondary);
}
.scene-notes article + article {
  margin-top: 24px;
}
.scene-notes h3 {
  color: var(--ink);
  font-size: 20px;
  letter-spacing: -0.5px;
  margin-bottom: 10px;
}
.scene-notes article h3 {
  font-size: 17px;
  margin-top: 6px;
}
.scene-notes p {
  font-size: 14px;
  line-height: 1.9;
}
.scene-notes p + p {
  margin-top: 16px;
}
.scene-notes .note-number {
  font-size: 10px;
  color: var(--accent);
}
.collection-demo {
  padding: 22px;
  text-align: left;
}
.recent-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
  font-size: 11px;
  color: var(--muted);
  align-items: center;
}
.recent-strip > span,
.recent-strip button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.recent-strip button {
  font-size: 11px;
  color: var(--secondary);
  background: transparent;
  padding: 4px 0;
}
.recent-strip .icon {
  width: 15px;
  height: 15px;
  color: var(--accent);
}
.collection-heading {
  display: flex;
  align-items: center;
  margin: 18px 0 12px;
}
.collection-heading strong {
  font-size: 14px;
}
.collection-tabs {
  width: fit-content;
}
.collection-tabs button {
  font-size: 11px;
  padding: 7px 11px;
}
.folder-stage {
  padding: 20px 6px 8px;
  min-height: 235px;
  display: flex;
  align-items: flex-start;
}
.collection-card {
  position: relative;
  width: 78%;
  padding: 14px 12px 26px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: color-mix(in srgb, var(--surface-muted) 52%, var(--surface));
  box-shadow: 0 6px 16px -10px #0003;
  transition: width 0.25s var(--ease);
}
.collection-demo[data-size="large"] .collection-card {
  width: 100%;
}
.collection-title {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 12px;
  font-weight: 600;
  background: transparent;
  color: var(--ink);
  padding: 0 0 12px 3px;
}
.collection-title .icon {
  width: 13px;
  height: 13px;
  color: var(--muted);
}
.collection-grid,
.expanded-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px 5px;
}
.collection-demo[data-size="large"] .collection-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.collection-file {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 0;
  padding: 8px 4px;
  border-radius: 8px;
  background: transparent;
  color: var(--ink);
  font-size: 10px;
}
.collection-file:hover {
  background: var(--accent-soft);
}
.collection-file > span:last-child {
  width: 100%;
  text-align: center;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.collection-art {
  display: flex;
  width: 100%;
  height: 42px;
  align-items: center;
  justify-content: center;
}
.collection-art .icon {
  width: 35px;
  height: 35px;
  color: var(--accent);
}
.collection-art img {
  width: 56px;
  height: 42px;
  object-fit: contain;
  border-radius: 3px;
}
.resize-handle {
  position: absolute;
  right: 3px;
  bottom: 3px;
  background: transparent;
  color: var(--muted);
  padding: 7px;
  cursor: nwse-resize;
  touch-action: none;
}
.resize-handle .icon {
  width: 13px;
  height: 13px;
}
.collection-controls {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
  font-size: 11px;
  color: var(--muted);
}
.collection-controls button {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--accent);
  background: transparent;
  font-size: 11px;
  padding: 5px 0;
}
.collection-controls .icon {
  width: 13px;
  height: 13px;
}
.collection-size {
  margin-right: auto;
}
.collection-footnote {
  margin-top: 12px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.8;
}
.compact-home {
  max-width: 780px;
  margin-inline: auto;
  min-height: 365px;
}
.compact-home .folder-stage {
  min-height: 170px;
}
.compact-home .collection-card {
  max-width: 430px;
}
.compact-home .collection-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.compact-home .collection-file {
  padding-block: 4px;
}
.collection-dialog {
  padding: 0;
  width: min(640px, calc(100% - 32px));
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
}
.collection-dialog::backdrop {
  background: #10182780;
  backdrop-filter: blur(7px);
}
.collection-dialog .dialog-toolbar {
  justify-content: space-between;
}
.collection-dialog .expanded-grid {
  padding: 24px;
  min-height: 230px;
}
.expanded-grid .collection-file {
  font-size: 12px;
}
.expanded-grid .collection-art {
  height: 60px;
}
.expanded-grid .collection-art img {
  width: 78px;
  height: 60px;
}
.collection-pagination {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0 24px;
  gap: 10px;
  color: var(--muted);
  font-size: 12px;
}
.collection-pagination button {
  background: var(--surface-muted);
  color: var(--ink);
  border-radius: 6px;
  padding: 7px;
}
.collection-pagination .icon {
  width: 16px;
  height: 16px;
}
body:has(.collection-dialog[open]) {
  overflow: hidden;
}
.find-section,
.extend-section {
  background: var(--page-muted);
}
.search-scene {
  max-width: 100%;
}
.search-modes {
  margin: 22px 24px 0;
  width: fit-content;
}
.search-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 44px;
  padding: 30px;
  min-height: 275px;
}
.search-query label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 10px;
}
.content-search-field {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--surface-muted);
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 9px;
}
.content-search-field .icon {
  width: 18px;
  height: 18px;
  color: var(--muted);
}
.content-search-field input {
  width: 100%;
  min-width: 0;
  background: transparent;
  color: var(--ink);
  border: 0;
  font-size: 14px;
}
.content-search-field kbd {
  color: var(--muted);
  font-size: 11px;
}
.search-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}
.search-chips button {
  border-radius: 30px;
  background: var(--accent-soft);
  color: var(--accent);
  padding: 5px 12px;
  font-size: 12px;
}
#search-scope {
  font-size: 12px;
  color: var(--secondary);
  line-height: 1.8;
  margin-top: 18px;
}
.search-keyboard {
  display: block;
  margin-top: 12px;
  font-size: 11px;
  color: var(--muted);
}
.search-keyboard > span {
  margin-inline: 5px;
}
.results-label {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 11px;
  margin-bottom: 8px;
}
.search-result {
  width: 100%;
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 15px 10px;
  border-bottom: 1px solid var(--line);
  background: transparent;
  text-align: left;
  color: var(--ink);
}
.search-result:hover {
  background: var(--surface-muted);
}
.search-result > .icon {
  width: 26px;
  height: 26px;
  color: var(--accent);
  flex-shrink: 0;
}
.search-result > .icon:last-child {
  width: 14px;
  height: 14px;
  color: var(--muted);
  margin-left: auto;
}
.search-result > span {
  min-width: 0;
}
.search-result strong {
  display: block;
  font-size: 13px;
  overflow-wrap: anywhere;
}
.search-result small {
  display: block;
  font-size: 11px;
  color: var(--secondary);
  margin-top: 4px;
}
.search-empty {
  padding: 30px 10px;
  color: var(--muted);
  font-size: 13px;
}
.processing-section {
  padding-block: 70px 95px;
}
.processing-heading {
  margin-bottom: 28px;
}
.processing-heading h2 {
  font-size: 27px;
  letter-spacing: -1px;
}
.processing-heading p {
  color: var(--secondary);
  font-size: 14px;
  margin-top: 10px;
}
.processing-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 40px;
}
.markdown-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 290px;
}
.markdown-columns > label {
  display: flex;
  flex-direction: column;
  font-size: 10px;
  color: var(--muted);
  padding: 18px;
  background: var(--surface-muted);
  min-width: 0;
}
#markdown-input {
  background: transparent;
  color: var(--secondary);
  border: 0;
  resize: vertical;
  min-height: 240px;
  width: 100%;
  margin-top: 10px;
  font:
    12px/1.9 ui-monospace,
    SFMono-Regular,
    Menlo,
    monospace;
}
#markdown-output {
  padding: 25px 20px;
  min-width: 0;
  overflow-wrap: anywhere;
}
#markdown-output h3 {
  font-size: 22px;
  margin-block: 0 16px;
}
#markdown-output p,
#markdown-output li {
  font-size: 12px;
  line-height: 1.9;
  color: var(--secondary);
}
#markdown-output ul {
  padding-left: 18px;
  margin-top: 18px;
}
.processing-tools article + article {
  margin-top: 22px;
  border-top: 1px solid var(--line);
  padding-top: 20px;
}
.processing-tools h3,
.extension-notes h3 {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 16px;
}
.processing-tools h3 .icon,
.extension-notes h3 .icon {
  width: 20px;
  height: 20px;
  color: var(--accent);
}
.processing-tools p,
.extension-notes p {
  font-size: 13px;
  color: var(--secondary);
  line-height: 1.85;
  margin-top: 9px;
}
.rename-example,
.format-example {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 12px;
  font-size: 11px;
}
.rename-example > span {
  color: var(--muted);
}
.rename-example strong {
  font-weight: 500;
  color: var(--accent);
}
.rename-example .icon,
.format-example .icon {
  width: 15px;
  height: 15px;
  color: var(--muted);
}
.format-example span {
  background: var(--surface-muted);
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 4px 8px;
  font-size: 10px;
}
.capability-line {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 30px;
  margin-top: 35px;
  padding-top: 25px;
  border-top: 1px solid var(--line);
}
.capability-line span {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--secondary);
  font-size: 12px;
}
.capability-line .icon {
  width: 17px;
  height: 17px;
}
#workflow {
  border-top: 1px solid var(--line);
}
.workflow-modes {
  width: fit-content;
  margin-bottom: 22px;
}
.workflow-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
}
.workflow-scene {
  border-radius: 14px;
  background: var(--showcase);
  overflow: hidden;
  border: 1px solid var(--line);
}
.desktop-menubar {
  display: flex;
  gap: 18px;
  align-items: center;
  padding: 9px 17px;
  background: var(--window-chrome);
  font-size: 11px;
  color: var(--secondary);
}
.desktop-menubar button {
  margin-left: auto;
  background: transparent;
  padding: 3px;
  border-radius: 5px;
}
.desktop-menubar button[aria-expanded="true"] {
  background: var(--accent-soft);
}
.delivery-desktop {
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 24px;
  padding: 24px;
  min-height: 292px;
  align-items: start;
}
.delivery-panel {
  box-shadow: 0 8px 24px -10px #18243b38;
}
.delivery-tabs {
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
}
.delivery-tabs button {
  padding: 6px 10px;
  font-size: 11px;
  min-height: 30px;
}
.delivery-path {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 10px;
  padding-bottom: 9px;
  border-bottom: 1px solid var(--line);
  font-size: 10px;
  color: var(--secondary);
}
.delivery-path .icon {
  width: 13px;
  height: 13px;
}
.delivery-file {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px;
  margin: 0 6px;
  width: calc(100% - 12px);
  color: var(--ink);
  background: transparent;
  border-radius: 7px;
  text-align: left;
}
.delivery-file[aria-pressed="true"] {
  background: var(--accent-soft);
}
.delivery-file img {
  width: 35px;
  height: 35px;
  object-fit: contain;
}
.delivery-file > span {
  min-width: 0;
}
.delivery-file strong {
  font-size: 10px;
  font-weight: 500;
  overflow-wrap: anywhere;
}
.delivery-file small {
  display: block;
  font-size: 9px;
  color: var(--muted);
}
.delivery-file > .icon {
  width: 13px;
  height: 13px;
  margin-left: auto;
  color: var(--accent);
  visibility: hidden;
}
.delivery-file[aria-pressed="true"] > .icon {
  visibility: visible;
}
.delivery-panel-note {
  padding: 14px 12px;
  font-size: 9px;
  color: var(--muted);
}
.delivery-target {
  align-self: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 145px;
  border: 1px dashed var(--showcase-ink);
  border-radius: 12px;
  color: var(--showcase-ink);
  text-align: center;
  padding: 10px;
}
.delivery-target > span .icon {
  width: 30px;
  height: 30px;
  opacity: 0.8;
  margin-bottom: 8px;
}
.delivery-target strong {
  font-size: 12px;
}
.delivery-target small {
  font-size: 10px;
}
.received-file {
  font-size: 10px;
  margin-top: 12px;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 4px;
}
.received-file .icon {
  width: 13px;
  height: 13px;
}
.flying-file {
  position: absolute;
  left: 21%;
  top: 40%;
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 8px;
  color: var(--ink);
  font-size: 10px;
  opacity: 0;
  pointer-events: none;
  transition:
    left 0.8s var(--ease),
    top 0.8s var(--ease),
    opacity 0.2s;
}
.flying-file .icon {
  color: var(--accent);
  width: 20px;
  height: 20px;
}
[data-flow-step="2"] .flying-file {
  left: 58%;
  top: 48%;
  opacity: 1;
}
[data-flow-step="2"] .delivery-target {
  border-color: var(--accent);
  background: var(--accent-soft);
}
.flow-controls {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding: 15px 20px;
  border-top: 1px solid var(--line);
  background: var(--surface);
}
.small-action {
  padding: 7px 12px;
  color: var(--accent);
  background: var(--accent-soft);
  border-radius: 6px;
  font-size: 11px;
}
.flow-controls .text-link {
  font-size: 11px;
}
#flow-status {
  flex: 1;
  font-size: 10px;
  color: var(--secondary);
  text-align: right;
}
#flow-progress {
  display: block;
  width: 100%;
  height: 3px;
  appearance: none;
  border: 0;
  background: var(--line);
}
#flow-progress::-webkit-progress-bar {
  background: var(--line);
}
#flow-progress::-webkit-progress-value {
  background: var(--accent);
}
#flow-progress::-moz-progress-bar {
  background: var(--accent);
}
.note-rule {
  display: block;
  font-size: 12px;
  border-left: 2px solid var(--line);
  padding-left: 12px;
  margin-top: 24px;
}
#sftp-scene {
  min-height: 339px;
  background: var(--surface);
}
.remote-panes {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.remote-panes > div {
  min-width: 0;
  padding: 14px 18px;
}
.remote-panes > div + div {
  border-left: 1px solid var(--line);
}
.remote-path {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  padding-bottom: 14px;
  color: var(--secondary);
  border-bottom: 1px solid var(--line);
}
.remote-path .icon,
.remote-panes p .icon {
  width: 16px;
  height: 16px;
  color: var(--accent);
  flex-shrink: 0;
}
.remote-panes p {
  display: flex;
  gap: 7px;
  align-items: center;
  padding-block: 12px;
  font-size: 11px;
}
.remote-panes b {
  margin-left: auto;
  font-size: 10px;
}
.remote-received {
  color: var(--muted);
}
[data-flow-step="1"] .remote-received,
[data-flow-step="2"] .remote-received,
[data-flow-step="3"] .remote-received {
  color: var(--ink);
}
.remote-transfer {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  padding: 15px;
  color: var(--muted);
  font-size: 10px;
  border-top: 1px solid var(--line);
}
.remote-transfer > span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.remote-transfer .icon {
  width: 14px;
  height: 14px;
}
[data-flow-step="1"] .remote-transfer > span:first-child,
[data-flow-step="2"] .remote-transfer > span:nth-child(2),
[data-flow-step="3"] .remote-transfer > span:last-child {
  color: var(--accent);
}
.extension-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 60px;
  align-items: center;
}
.script-demo {
  padding: 24px;
  position: relative;
}
.script-filename {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
}
.script-filename .icon {
  width: 23px;
  height: 23px;
  color: var(--accent);
}
.script-menu {
  margin: 12px 0 22px 28px;
  border: 1px solid var(--line);
  padding: 7px;
  border-radius: 9px;
  box-shadow: 0 8px 20px -14px #0005;
  width: min(240px, calc(100% - 28px));
}
.script-menu > span {
  display: block;
  color: var(--muted);
  font-size: 10px;
  padding: 4px 8px;
}
.script-menu button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px;
  border-radius: 4px;
  background: transparent;
  color: var(--ink);
  font-size: 12px;
}
.script-menu button:hover,
.script-menu button:focus-visible {
  background: var(--accent-soft);
}
.script-menu kbd {
  color: var(--muted);
  font-size: 10px;
}
.terminal-sample {
  background: var(--surface-muted);
  border: 1px solid var(--line);
  padding: 14px;
  border-radius: 8px;
}
.terminal-sample span,
.terminal-sample small {
  display: block;
  color: var(--muted);
  font-size: 10px;
}
.terminal-sample code {
  display: block;
  margin-block: 10px;
  color: var(--ink);
  font-size: 12px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.extension-notes article + article {
  border-top: 1px solid var(--line);
  padding-top: 26px;
  margin-top: 26px;
}
.extension-notes .text-link {
  font-size: 12px;
  margin-top: 14px;
  margin-right: 18px;
}
.shortcut-row {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 25px;
  color: var(--muted);
  font-size: 11px;
}
.shortcut-row kbd {
  color: var(--secondary);
}
@media (max-width: 1100px) {
  .organize-layout,
  .workflow-layout,
  .extension-layout {
    gap: 30px;
  }
  .search-body {
    gap: 25px;
  }
  .delivery-desktop {
    gap: 12px;
    padding: 18px;
  }
  .nav-links {
    gap: 16px;
  }
}
@media (max-width: 850px) {
  .organize-layout,
  .workflow-layout,
  .extension-layout,
  .processing-grid {
    grid-template-columns: 1fr;
  }
  .scene-notes {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
  }
  .scene-notes article + article {
    margin-top: 0;
  }
  .scene-notes article h3 {
    font-size: 15px;
  }
  #delivery-copy,
  #sftp-copy {
    display: block;
  }
  .processing-tools {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
  }
  .processing-tools article + article {
    margin: 0;
    border: 0;
    padding: 0;
  }
  .extension-notes {
    max-width: 660px;
  }
  .search-body {
    gap: 24px;
  }
  .collection-card {
    width: 65%;
  }
  .collection-demo[data-size="large"] .collection-card {
    width: 90%;
  }
  .nav-links .nav-github {
    display: none;
  }
  .nav-links {
    gap: 12px;
  }
}
@media (max-width: 680px) {
  .segmented button {
    min-height: 44px;
  }
  .hero-scenes {
    margin-top: 24px;
  }
  .type-filter select {
    min-height: 32px;
  }
  .collection-demo {
    padding: 16px;
  }
  .collection-card {
    width: 88%;
  }
  .collection-demo[data-size="large"] .collection-card {
    width: 100%;
  }
  .collection-demo[data-size="large"] .collection-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .collection-controls {
    gap: 8px;
    flex-wrap: wrap;
  }
  .collection-controls button {
    min-height: 44px;
  }
  .collection-controls .collection-size {
    width: 100%;
  }
  .collection-heading .demo-label {
    font-size: 9px;
  }
  .scene-notes,
  .processing-tools {
    grid-template-columns: 1fr;
  }
  .scene-notes article + article {
    padding-top: 12px;
    border-top: 1px solid var(--line);
  }
  .search-body {
    grid-template-columns: 1fr;
    padding: 20px;
  }
  .search-modes {
    margin: 16px 16px 0;
  }
  .search-modes button {
    font-size: 11px;
    padding-inline: 9px;
  }
  .search-body {
    min-height: 420px;
  }
  .markdown-columns {
    grid-template-columns: 1fr;
  }
  #markdown-input {
    min-height: 185px;
  }
  #markdown-output {
    min-height: 215px;
  }
  .processing-section {
    padding-block: 50px 65px;
  }
  .processing-heading h2 {
    font-size: 23px;
  }
  .processing-tools article + article {
    border-top: 1px solid var(--line);
    padding-top: 18px;
  }
  .capability-line {
    gap: 15px;
  }
  .capability-line span {
    width: 100%;
  }
  .workflow-modes button {
    font-size: 11px;
    padding-inline: 9px;
  }
  .delivery-desktop {
    padding: 14px;
    gap: 12px;
    grid-template-columns: 1.2fr 1fr;
  }
  .delivery-tabs {
    gap: 1px;
    padding: 3px;
  }
  .delivery-tabs button {
    padding: 5px 7px;
    font-size: 10px;
  }
  .delivery-file {
    padding: 8px 4px;
    gap: 5px;
    min-height: 48px;
  }
  .delivery-file img {
    width: 24px;
    height: 24px;
  }
  .delivery-file strong {
    font-size: 9px;
  }
  .delivery-file > .icon {
    display: none;
  }
  .desktop-menubar button {
    min-width: 44px;
    min-height: 44px;
    display: grid;
    place-items: center;
  }
  .delivery-target {
    padding: 8px;
  }
  .delivery-target strong {
    font-size: 11px;
  }
  .delivery-target small {
    font-size: 9px;
  }
  .received-file {
    font-size: 9px;
  }
  .flow-controls {
    gap: 10px;
    padding: 12px;
  }
  .flow-controls button {
    min-height: 44px;
  }
  #flow-status {
    flex-basis: 100%;
    text-align: left;
  }
  .remote-panes > div {
    padding: 12px 9px;
  }
  .remote-path {
    font-size: 9px;
    gap: 4px;
  }
  .remote-panes p {
    font-size: 10px;
    gap: 5px;
  }
  .remote-transfer {
    gap: 10px;
    font-size: 9px;
  }
  .script-demo {
    padding: 18px;
  }
  .script-menu button {
    min-height: 44px;
  }
  .collection-dialog .expanded-grid {
    padding: 16px;
  }
  .expanded-grid .collection-file {
    font-size: 10px;
  }
  .scene-bar {
    padding: 12px;
    font-size: 11px;
  }
  .scene-bar .demo-label {
    font-size: 9px;
  }
  .nav-links {
    gap: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .collection-card,
  .flying-file {
    transition: none;
  }
  .flying-file {
    display: none;
  }
}
.delivery-target {
  grid-column: 2;
  grid-row: 1;
}
.collection-pagination [aria-disabled="true"] {
  opacity: 0.4;
  cursor: default;
}
