/* Final pass 2026-11-20 (40 KB CSS budget): comments moved out of the shipped sheet; the commented original is reports/backups/final-pass-20261120/web/aurian/gallery.css */
.aurian-explore { min-height: 100vh; }
.gx-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 10px 18px; border-bottom: 1px solid var(--line); }
.gx-brand { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-weight: 700; }
.gx-top nav { display: flex; gap: 6px; flex-wrap: wrap; }
.gx-top nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: var(--r); color: var(--dim); }
.gx-top nav a:hover, .gx-top nav a:focus-visible { color: var(--ink); background: var(--panel); }
.gx-note { margin: 10px 18px 0; }
.gx-root { padding: 0 0 48px; }
.gx { display: grid; gap: 18px; padding: 18px; max-width: 1440px; margin: 0 auto; min-width: 0; }
.gx-head h1 { margin: 0 0 6px; font-size: clamp(30px, 6vw, 56px); }
.gx-head p { margin: 0; max-width: 62ch; }
.gx-h2 { margin: 0 0 8px; font: 800 20px/1.1 var(--display); font-stretch: 118%; text-transform: uppercase; }
.gx-tabs { display: flex; gap: 6px; border-bottom: 1px solid var(--line); overflow-x: auto; }
.gx-tab { min-height: 44px; min-width: 44px; padding: 0 18px; border: 0; background: none; color: var(--dim); font-weight: 600; cursor: pointer;
  border-bottom: 2px solid transparent; }
.gx-tab[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--accent); }
.gx-panel { display: grid; gap: 14px; min-width: 0; }
.gx-filters { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 10px; }
.gx-field { display: grid; gap: 6px; font-size: 13px; color: var(--dim); min-width: 0; }
.gx-field .aurian-input, .gx-field select, .gx-field input, .gx-field textarea { min-height: 44px; width: 100%; color: var(--ink); background: var(--panel);
  border: 1px solid var(--line-2); border-radius: var(--r); padding: 8px 12px; font: inherit; }
.gx-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.gx-chip { min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--panel); color: var(--dim); cursor: pointer; }
.gx-chip[aria-pressed="true"] { background: var(--accent-soft); color: var(--ink); border-color: var(--accent); }
.gx-grid, .gx-row { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); }
.gx-collection { display: grid; gap: 8px; margin-bottom: 14px; }
.gx-collection h3 { margin: 0; }
.gx-collection p { margin: 0; }
.gx-item { min-width: 0; }
.gx-card { display: grid; height: 100%; border-radius: var(--r-lg); background: var(--panel); border: 1px solid var(--line); overflow: hidden; min-height: 44px; }
.gx-card:hover, .gx-card:focus-visible { border-color: var(--line-2); background: var(--panel-2); }
.gx-thumb { display: block; aspect-ratio: 16 / 10; background: var(--bg-2); }
.gx-thumb img { width: 100%; height: 100%; object-fit: cover; }
.gx-missing { display: grid; place-items: center; width: 100%; height: 100%; color: var(--faint); font-size: 13px; aspect-ratio: 16 / 10; }
.gx-missing-lg { min-height: 240px; }
.gx-meta { display: grid; gap: 6px; padding: 10px 12px 12px; min-width: 0; }
.gx-title { font-weight: 700; overflow-wrap: anywhere; }
.gx-sub { font-size: 12.5px; overflow-wrap: anywhere; }
.gx-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.gx-tags .tag { height: auto; min-height: 22px; padding: 2px 8px; font-size: 12px; line-height: 1.3; white-space: normal; text-align: left; }
.gx-tag-demo { background: var(--warn); color: #1a0c00; }
.gx-tag-sim, .gx-tag-video { background: var(--violet); color: #160f2b; }
.gx-more { justify-self: center; min-height: 44px; padding: 0 24px; }
.gx-status { margin: 0; color: var(--dim); }
.gx-video-note { margin: 0; }
.gx-detail { max-width: 1200px; }
.gx-back { justify-self: start; min-height: 44px; display: inline-flex; align-items: center; gap: 6px; }
.gx-item-detail { display: grid; gap: 22px; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); align-items: start; }
.gx-hero { border-radius: var(--r-lg); overflow: hidden; background: var(--bg-2); border: 1px solid var(--line); }
.gx-hero img { width: 100%; height: auto; }
.gx-info { display: grid; gap: 12px; min-width: 0; }
.gx-item-title { margin: 0; font: 800 clamp(24px, 4vw, 36px)/1.05 var(--display); font-stretch: 118%; text-transform: uppercase; overflow-wrap: anywhere; }
.gx-facts { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 6px 14px; margin: 0; }
.gx-facts dt { color: var(--dim); }
.gx-facts dd { margin: 0; overflow-wrap: anywhere; }
.gx-prompt { font-style: italic; }
.gx-actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.gx-actions .btn { min-height: 44px; display: inline-flex; align-items: center; gap: 8px; }
@media (max-width: 860px) { .gx-item-detail { grid-template-columns: minmax(0, 1fr); } }
.gx-dialog { width: min(520px, 100%); max-height: calc(100vh - 32px); overflow-y: auto; }
.gx-form { display: grid; gap: 12px; }
.gx-radios { display: grid; gap: 6px; border: 1px solid var(--line-2); border-radius: var(--r); padding: 10px 12px; margin: 0; }
.gx-radios legend { padding: 0 6px; color: var(--dim); font-size: 13px; }
.gx-radio, .gx-check { display: flex; gap: 10px; align-items: center; min-height: 44px; cursor: pointer; }
.gx-check span { display: grid; gap: 2px; }
.gx-radio input, .gx-check input { width: 20px; height: 20px; flex: none; }
.gx-publish { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.gx-publish .btn { min-height: 44px; }
.gx-empty { display: grid; gap: 10px; justify-items: start; padding: 22px; border: 1px dashed var(--line-2); border-radius: var(--r-lg, 14px); }
.gx-empty p { margin: 0; }
.gx-empty .btn { min-height: 44px; }
.gx { grid-template-columns: minmax(0, 1fr); }
.gx > * { min-width: 0; }
.gx-tabs { flex-wrap: wrap; }
.gx-foot { margin-top: 48px; padding: 28px var(--gutter, 24px) 40px; border-top: 1px solid var(--hair); color: var(--faint); font-size: 12.5px; }
.gx-foot-cols { display: flex; flex-wrap: wrap; gap: 24px 56px; }
.gx-foot nav { display: flex; flex-direction: column; min-width: 140px; }
.gx-foot h2 { margin: 0 0 6px; font-size: 12.5px; font-weight: 600; color: var(--dim); }
.gx-foot-draft { font-weight: 400; color: var(--faint); }
.gx-foot a { color: var(--dim); text-decoration: underline; text-underline-offset: 3px; display: inline-flex; align-items: center; min-height: 44px; }
.gx-foot-note { margin: 16px 0 0; }
.gx-foot section { max-width: 44ch; }
.gx-foot section p { margin: 0; line-height: 1.5; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 300; padding: 12px 16px; border-radius: 10px; background: var(--accent); color: var(--accent-ink); font-weight: 700; }
.skip-link:focus { top: 6px; }
