/* =============================================================================
   MyAISE · Library page — redesign
   Scope-first catalog. Layered on dashboard.css. Cream paper, multi-accent,
   orange = live. Page-local components only; everything else from the system.
   ============================================================================= */

.main-inner { max-width: 1240px; }

/* hidden attr must win over component display rules (e.g. .pagination flex) */
[hidden] { display: none !important; }

.live-row {
  display: flex; align-items: center; gap: 10px;
  justify-content: flex-end;
  margin: -10px 0 18px;
}

/* ── Composer / kit panels (revealed by header buttons) ─────────────────── */
.composer {
  background: var(--bv-paper-3);
  border: 1px solid var(--bv-line-2);
  border-radius: 16px;
  padding: 22px 24px;
  margin-bottom: 22px;
  box-shadow: var(--bv-shadow-2);
  animation: composer-in var(--ca-dur-2) var(--ca-ease-out);
}
@keyframes composer-in {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}
.composer-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.composer-head h2 {
  font-family: var(--bv-font-display);
  font-variation-settings: "SOFT" 100, "WONK" 1;
  font-weight: 600; font-size: 24px; line-height: 1.1; letter-spacing: -0.02em;
  color: var(--bv-ink); margin: 4px 0 0;
}
.composer-note {
  font: 600 11px/1.4 var(--bv-font-mono);
  color: var(--bv-orange-2);
  background: rgba(238,113,52,0.10);
  border: 1px solid rgba(238,113,52,0.24);
  border-radius: 999px; padding: 5px 11px; white-space: nowrap;
}
.composer-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 14px;
}
.composer-grid .field { margin-bottom: 0; }
.composer-prompt { grid-column: 1 / -1; }
.composer-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--bv-line-1);
}
.kit-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.kit-file { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; }
.kit-file input { display: none; }
.kit-file-btn {
  font: 600 13px/1 var(--bv-font-sans);
  padding: 9px 14px; border-radius: 8px;
  background: var(--bv-paper-2); border: 1px solid var(--bv-line-2); color: var(--bv-ink);
}
.kit-file:hover .kit-file-btn { border-color: var(--bv-line-3); }
.kit-file-name { color: var(--bv-ink-4); font-size: 12px; }

/* ── Scope cards as primary tabs ────────────────────────────────────────── */
.scope-tabs {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px;
  margin-bottom: 22px;
}
.scope-card {
  position: relative; text-align: left; cursor: pointer;
  background: var(--bv-paper-3);
  border: 1px solid var(--bv-line-2);
  border-radius: 14px;
  padding: 16px 18px 14px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.6);
  transition: border-color var(--ca-dur-1) var(--ca-ease-out), transform var(--ca-dur-1) var(--ca-ease-out), box-shadow var(--ca-dur-1) var(--ca-ease-out);
  font-family: var(--bv-font-sans);
  overflow: hidden;
}
.scope-card:hover { transform: translateY(-2px); border-color: var(--bv-line-3); }
.scope-card:focus-visible { outline: 2px solid var(--scope-accent, var(--bv-accent)); outline-offset: 2px; }
.scope-card.active {
  border-color: transparent;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.6), 0 0 0 2px var(--scope-accent), var(--bv-shadow-2);
}
.scope-card.active::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, color-mix(in oklab, var(--scope-accent) 12%, transparent), transparent 64%);
  pointer-events: none;
}
.scope-card-top { display: flex; align-items: center; gap: 9px; margin-bottom: 12px; }
.scope-icon {
  width: 30px; height: 30px; border-radius: 9px; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  background: color-mix(in oklab, var(--scope-accent) 14%, var(--bv-paper-3));
  color: var(--scope-accent);
  border: 1px solid color-mix(in oklab, var(--scope-accent) 28%, transparent);
}
.scope-icon svg { width: 16px; height: 16px; stroke-width: 2; }
.scope-name {
  font: 600 10px/1 var(--bv-font-mono); text-transform: uppercase; letter-spacing: 0.13em;
  color: var(--bv-ink-3);
}
.scope-card.active .scope-name { color: var(--scope-accent); }
.scope-count {
  display: flex; align-items: baseline; gap: 8px; margin-bottom: 12px;
}
.scope-count .num {
  font-family: var(--bv-font-display);
  font-variation-settings: "SOFT" 100, "WONK" 1;
  font-weight: 600; font-size: 38px; line-height: 0.9; letter-spacing: -0.03em;
  color: var(--bv-ink);
}
.scope-count .num-label { font-size: 12px; color: var(--bv-ink-3); font-weight: 500; }
.scope-breakdown { display: flex; gap: 6px; flex-wrap: wrap; }
.brk {
  display: inline-flex; align-items: center; gap: 5px;
  font: 500 11px/1 var(--bv-font-mono); color: var(--bv-ink-3);
  background: var(--bv-paper-2); border: 1px solid var(--bv-line-1);
  border-radius: 999px; padding: 4px 8px;
}
.brk b { color: var(--bv-ink); font-weight: 700; }
.brk .swatch { width: 7px; height: 7px; border-radius: 2px; }

/* ── Filter bar ─────────────────────────────────────────────────────────── */
.filterbar {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  flex-wrap: wrap; margin-bottom: 16px;
}
.kind-chips { display: flex; gap: 6px; flex-wrap: wrap; }
.chip {
  font: 600 12.5px/1 var(--bv-font-sans);
  padding: 8px 13px; border-radius: 999px; cursor: pointer;
  background: transparent; border: 1px solid var(--bv-line-2); color: var(--bv-ink-3);
  display: inline-flex; align-items: center; gap: 7px;
  transition: all var(--ca-dur-1) var(--ca-ease-out);
}
.chip:hover { border-color: var(--bv-line-3); color: var(--bv-ink); }
.chip.active { background: var(--bv-ink); border-color: var(--bv-ink); color: var(--bv-paper); }
.chip .chip-n {
  font: 600 11px/1 var(--bv-font-mono);
  color: var(--bv-ink-4); background: rgba(26,18,64,0.06); padding: 2px 6px; border-radius: 999px;
}
.chip.active .chip-n { color: var(--bv-paper); background: rgba(255,255,255,0.18); }
.filter-controls { display: flex; align-items: center; gap: 10px; }
.filter-controls .search { width: 240px; }
.filter-controls .search .input { height: 38px; }
.filter-controls .select { width: auto; min-width: 138px; height: 38px; }

/* Faceted vibe-tag filter — full-width row below the kind chips / controls. */
.tag-filter {
  flex-basis: 100%; width: 100%;
  display: flex; align-items: flex-start; gap: 14px; flex-wrap: wrap;
  padding-top: 12px; margin-top: 2px; border-top: 1px solid var(--bv-line-1);
}
.tag-filter-rows { display: flex; gap: 16px; flex-wrap: wrap; flex: 1; }
.tag-axis { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.tag-axis-label {
  font: 700 10px/1 var(--bv-font-mono); text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--bv-ink-4);
}
.tag-axis-chips { display: flex; gap: 5px; flex-wrap: wrap; }
.tagchip {
  font: 600 11.5px/1 var(--bv-font-sans);
  padding: 6px 11px; border-radius: 999px; cursor: pointer;
  background: transparent; border: 1px solid var(--bv-line-2); color: var(--bv-ink-3);
  display: inline-flex; align-items: center; gap: 6px;
  transition: all var(--ca-dur-1) var(--ca-ease-out);
}
.tagchip:hover { border-color: var(--bv-line-3); color: var(--bv-ink); }
.tagchip.on { background: var(--bv-ink); border-color: var(--bv-ink); color: var(--bv-paper); }
.tagchip .chip-n {
  font: 600 10px/1 var(--bv-font-mono);
  color: var(--bv-ink-4); background: rgba(26,18,64,0.06); padding: 2px 5px; border-radius: 999px;
}
.tagchip.on .chip-n { color: var(--bv-paper); background: rgba(255,255,255,0.18); }
.tagchip-clear {
  font: 600 11.5px/1 var(--bv-font-sans); cursor: pointer;
  padding: 6px 10px; border-radius: 999px;
  background: transparent; border: 1px dashed var(--bv-line-2); color: var(--bv-ink-4);
}
.tagchip-clear:hover { color: var(--bv-ink); border-color: var(--bv-line-3); }

/* ── Asset grid ─────────────────────────────────────────────────────────── */
.asset-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px;
}
@media (max-width: 1180px) { .asset-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }

.acard {
  display: flex; flex-direction: column;
  background: var(--bv-paper-3);
  border: 1px solid var(--bv-line-2);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.6);
  transition: transform var(--ca-dur-1) var(--ca-ease-out), box-shadow var(--ca-dur-1) var(--ca-ease-out), border-color var(--ca-dur-1) var(--ca-ease-out);
}
.acard:hover { transform: translateY(-2px); box-shadow: var(--bv-shadow-2); }
.acard.editing { border-left: 3px solid var(--bv-magenta); }

/* preview thumbnail */
.pv {
  position: relative; aspect-ratio: 16 / 9; overflow: hidden;
  background: var(--bv-paper-2);
  border-bottom: 1px solid var(--bv-line-1);
}
/* Real captured preview (still PNG poster or looping animated WebP). */
.pv-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
/* The looping motion clip plays only on hover — calm tile, no auto-loop jump. */
.pv-motion {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block;
  opacity: 0; transition: opacity var(--ca-dur-1) var(--ca-ease-out);
}
.acard:hover .pv-motion { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .acard:hover .pv-motion { opacity: 0; } }
/* No preview yet (pre-backfill) — a calm placeholder, not a broken tile. */
.pv-empty {
  position: absolute; inset: 0; z-index: 1;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  color: var(--bv-ink-4);
  background: linear-gradient(150deg, var(--bv-paper-2), var(--bv-paper-3));
}
.pv-empty svg { width: 26px; height: 26px; opacity: 0.6; }
.pv-empty span { font: 600 10.5px/1 var(--bv-font-mono); letter-spacing: 0.04em; }
.pv-kindtag {
  position: absolute; top: 9px; left: 9px; z-index: 3;
  font: 600 9.5px/1 var(--bv-font-mono); text-transform: uppercase; letter-spacing: 0.1em;
  padding: 4px 7px; border-radius: 6px;
  background: rgba(26,18,64,0.55); color: #fff; backdrop-filter: blur(6px);
}
/* verifying / capturing state */
.pv-capturing {
  position: absolute; inset: 0; z-index: 2;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  background:
    linear-gradient(110deg, var(--bv-paper-2) 30%, var(--bv-paper-3) 50%, var(--bv-paper-2) 70%);
  background-size: 220% 100%;
  animation: shimmer 1.6s linear infinite;
}
@keyframes shimmer { from { background-position: 120% 0; } to { background-position: -120% 0; } }
.pv-capturing .cap-label {
  display: inline-flex; align-items: center; gap: 7px;
  font: 600 11px/1 var(--bv-font-mono); color: var(--bv-orange-2);
}
.pv-capturing .cap-sub { font-size: 10.5px; color: var(--bv-ink-4); font-family: var(--bv-font-mono); }
@media (prefers-reduced-motion: reduce) { .pv-capturing { animation: none; } }

/* The mock "screenshot" scene */
.scene { position: absolute; inset: 0; }
.scene .app {
  position: absolute; inset: 0;
  background: var(--app-bg, #ece6da);
  display: flex; flex-direction: column;
}
.scene .app-bar {
  height: 16%; min-height: 14px; display: flex; align-items: center; gap: 4px; padding: 0 8px;
  background: var(--app-bar, rgba(26,18,64,0.06));
  border-bottom: 1px solid rgba(26,18,64,0.06);
}
.scene .app-bar i { width: 5px; height: 5px; border-radius: 50%; background: var(--app-dot, rgba(26,18,64,0.18)); }
.scene .app-bar .bar-line { height: 4px; width: 38%; margin-left: 6px; border-radius: 2px; background: var(--blk, rgba(26,18,64,0.1)); }
.scene .app-body { flex: 1; padding: 9px 10px; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; align-content: start; }
.scene .blk { background: var(--blk, rgba(26,18,64,0.05)); border-radius: 4px; height: 16px; }
.scene .blk.tall { height: 30px; }
.scene .blk.wide { grid-column: 1 / -1; height: 12px; }
/* overlay element painted in the theme palette */
.scene .ov {
  position: absolute; z-index: 2;
  border-radius: 8px;
  box-shadow: 0 8px 20px -6px rgba(26,18,64,0.4);
}
.scene .ov-modal {
  left: 50%; top: 52%; transform: translate(-50%,-50%);
  width: 62%; padding: 10px 11px;
  background: var(--ov-bg); border: 1px solid var(--ov-border, rgba(255,255,255,0.18));
  display: flex; flex-direction: column; gap: 6px;
}
.scene .ov-title { height: 7px; width: 64%; border-radius: 3px; background: var(--ov-fg); }
.scene .ov-text  { height: 4px; width: 88%; border-radius: 2px; background: var(--ov-fg-soft); }
.scene .ov-text.s { width: 70%; }
.scene .ov-btn   { height: 9px; width: 38%; border-radius: 4px; background: var(--ov-accent); margin-top: 2px; }
/* tooltip variant for animations */
.scene .ov-tip {
  right: 12%; top: 24%;
  padding: 7px 9px; min-width: 38%;
  background: var(--ov-bg); border: 1px solid var(--ov-border, rgba(255,255,255,0.18));
  display: flex; flex-direction: column; gap: 5px;
}
.scene .ov-dot {
  position: absolute; left: 16%; top: 60%; width: 16px; height: 16px; border-radius: 50%;
  background: var(--ov-accent); box-shadow: 0 0 0 6px color-mix(in oklab, var(--ov-accent) 30%, transparent);
  z-index: 2; animation: ov-ping 1.8s var(--ca-ease-out) infinite;
}
@keyframes ov-ping {
  0%   { box-shadow: 0 0 0 2px color-mix(in oklab, var(--ov-accent) 45%, transparent); }
  70%  { box-shadow: 0 0 0 12px color-mix(in oklab, var(--ov-accent) 0%, transparent); }
  100% { box-shadow: 0 0 0 2px color-mix(in oklab, var(--ov-accent) 0%, transparent); }
}
@media (prefers-reduced-motion: reduce) { .scene .ov-dot { animation: none; } }
/* transition variant: two panels mid-wipe */
.scene .tx { position: absolute; inset: 0; z-index: 2; display: flex; }
.scene .tx .panel { flex: 1; }
.scene .tx .panel.a { background: var(--ov-bg); }
.scene .tx .panel.b { background: var(--ov-accent); }
.scene .tx .seam { position: absolute; top: 0; bottom: 0; left: 50%; width: 3px; background: rgba(255,255,255,0.7); transform: skewX(-12deg); }
.scene .tx-arrow { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); z-index: 3; color: #fff; opacity: 0.92; }
.scene .tx-arrow svg { width: 18px; height: 18px; }

/* card body */
.acard-body { padding: 14px 15px 12px; display: flex; flex-direction: column; gap: 9px; flex: 1; }
.acard-meta-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.acard-kind { font: 600 9.5px/1 var(--bv-font-mono); text-transform: uppercase; letter-spacing: 0.12em; color: var(--bv-ink-3); }

/* inline editable */
.editable {
  position: relative; cursor: text; border-radius: 6px;
  margin: -2px -5px; padding: 2px 5px;
  transition: background var(--ca-dur-1) var(--ca-ease-out), box-shadow var(--ca-dur-1) var(--ca-ease-out);
}
.editable:hover { background: rgba(194,64,141,0.07); box-shadow: inset 0 0 0 1px rgba(194,64,141,0.22); }
.editable:hover::after {
  content: ""; position: absolute; top: 50%; right: 5px; transform: translateY(-50%);
  width: 12px; height: 12px; opacity: 0.5;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 20h9'/%3E%3Cpath d='M16.5 3.5a2.12 2.12 0 0 1 3 3L7 19l-4 1 1-4Z'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 20h9'/%3E%3Cpath d='M16.5 3.5a2.12 2.12 0 0 1 3 3L7 19l-4 1 1-4Z'/%3E%3C/svg%3E") center / contain no-repeat;
  color: var(--bv-magenta);
}
.acard-name {
  font: 600 16px/1.25 var(--bv-font-sans); letter-spacing: -0.01em; color: var(--bv-ink);
  padding-right: 18px;
}
.acard-id { font: 500 11px/1 var(--bv-font-mono); color: var(--bv-ink-4); }
.acard-desc { font-size: 12.5px; line-height: 1.5; color: var(--bv-ink-3); min-height: 36px; padding-right: 18px; }
.acard-desc.empty { color: var(--bv-ink-4); font-style: italic; }

/* inline edit input */
.edit-input {
  width: 100%; font: inherit; color: var(--bv-ink);
  background: var(--bv-paper-3); border: 1px solid var(--bv-magenta);
  border-radius: 6px; padding: 4px 7px; margin: -2px 0;
  box-shadow: 0 0 0 3px rgba(194,64,141,0.14); outline: none; resize: vertical;
}
.edit-hint { font: 500 10px/1 var(--bv-font-mono); color: var(--bv-ink-4); margin-top: 3px; }
.edit-hint kbd { font-size: 9.5px; padding: 0 4px; }

/* badges row */
.acard-badges { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.acard-badges .badge { white-space: nowrap; }
.acard-foot {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  font: 500 10.5px/1.4 var(--bv-font-mono); color: var(--bv-ink-4);
  margin-top: 2px;
}
.acard-foot .dotsep { opacity: 0.5; }
.acard-foot .sha {
  cursor: default; transition: color var(--ca-dur-1);
}
.acard-foot .sha:hover { color: var(--bv-ink-2); }
.acard-foot .sha .full { display: none; }
.acard-foot .sha:hover .full { display: inline; }
.acard-foot .sha:hover .short { display: none; }

/* action row */
.acard-actions {
  display: flex; align-items: center; gap: 6px;
  padding: 11px 15px; border-top: 1px solid var(--bv-line-1);
  background: color-mix(in oklab, var(--bv-paper-2) 60%, transparent);
}
.iconbtn {
  width: 32px; height: 32px; border-radius: 8px; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  background: transparent; border: 1px solid transparent; color: var(--bv-ink-3);
  transition: all var(--ca-dur-1) var(--ca-ease-out); position: relative;
}
.iconbtn:hover { background: var(--bv-paper-3); border-color: var(--bv-line-2); color: var(--bv-ink); }
.iconbtn svg { width: 16px; height: 16px; stroke-width: 2; }
.iconbtn[data-act="ai"]:hover { color: var(--bv-violet); border-color: rgba(123,62,193,0.3); }
.iconbtn[data-act="propose"]:hover { color: var(--bv-cyan); border-color: rgba(0,168,198,0.3); }
.iconbtn[data-act="archive"]:hover { color: var(--bv-orange-2); border-color: rgba(238,113,52,0.3); }
/* tooltip */
.iconbtn[data-tip]:hover::after {
  content: attr(data-tip); position: absolute; bottom: calc(100% + 7px); left: 50%; transform: translateX(-50%);
  background: var(--bv-ink); color: var(--bv-paper); font: 500 10.5px/1 var(--bv-font-sans);
  padding: 5px 8px; border-radius: 6px; white-space: nowrap; pointer-events: none; z-index: 20;
}
.acard-actions .spacer { flex: 1; }
.acard-actions .btn-add {
  height: 32px; padding: 0 13px; font-size: 12px;
}

/* overflow menu */
.menu-wrap { position: relative; }
.menu {
  position: absolute; right: 0; bottom: calc(100% + 6px); z-index: 30;
  min-width: 178px; background: var(--bv-paper-3);
  border: 1px solid var(--bv-line-2); border-radius: 10px; padding: 5px;
  box-shadow: var(--bv-shadow-3);
}
.menu button {
  width: 100%; text-align: left; display: flex; align-items: center; gap: 9px;
  background: transparent; border: none; cursor: pointer; border-radius: 7px;
  padding: 8px 9px; font: 500 12.5px/1 var(--bv-font-sans); color: var(--bv-ink-2);
}
.menu button:hover { background: rgba(26,18,64,0.05); color: var(--bv-ink); }
.menu button svg { width: 15px; height: 15px; stroke-width: 2; color: var(--bv-ink-3); }
.menu button.danger { color: var(--bv-orange-2); }
.menu button.danger svg { color: var(--bv-orange-2); }
.menu .menu-sep { height: 1px; background: var(--bv-line-1); margin: 4px 2px; }

/* owner edit / AI toggle+panel area, below the primary action row */
.acard-editrow {
  display: flex; flex-direction: column; gap: 6px;
  padding: 0 15px 12px;
}
.acard-editrow .field { margin-bottom: 0; }

/* proposed/team ribbon */
.acard-proposed {
  display: flex; align-items: center; gap: 7px;
  padding: 8px 15px; font: 500 11.5px/1.3 var(--bv-font-sans);
  background: rgba(0,168,198,0.07); border-top: 1px solid rgba(0,168,198,0.18); color: var(--bv-cyan);
}
.acard-proposed svg { width: 14px; height: 14px; flex-shrink: 0; }

/* empty state nudge */
.grid-empty {
  grid-column: 1 / -1;
  background: var(--bv-paper-3); border: 1px dashed var(--bv-line-2); border-radius: 14px;
  padding: 48px 28px; text-align: center;
}
.grid-empty .ge-art {
  width: 60px; height: 60px; margin: 0 auto 16px; border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  background: var(--bv-accent-soft); border: 1px solid var(--bv-accent-border); color: var(--bv-accent);
}
.grid-empty .ge-art svg { width: 26px; height: 26px; }
.grid-empty h3 {
  font-family: var(--bv-font-display); font-variation-settings: "SOFT" 100, "WONK" 1;
  font-weight: 600; font-size: 22px; color: var(--bv-ink); margin: 0 0 6px;
}
.grid-empty p { color: var(--bv-ink-3); margin: 0 auto 16px; max-width: 380px; font-size: 13.5px; }

/* toast */
.toast {
  position: fixed; left: 50%; bottom: 26px; transform: translateX(-50%) translateY(10px);
  background: var(--bv-ink); color: var(--bv-paper);
  font: 600 13px/1 var(--bv-font-sans); padding: 12px 18px; border-radius: 10px;
  box-shadow: var(--bv-shadow-3); z-index: 200; opacity: 0;
  display: flex; align-items: center; gap: 9px;
  transition: opacity var(--ca-dur-2) var(--ca-ease-out), transform var(--ca-dur-2) var(--ca-ease-out);
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast svg { width: 16px; height: 16px; color: var(--bv-gold-2); }

/* responsive */
@media (max-width: 1000px) {
  .scope-tabs { grid-template-columns: 1fr; }
  .composer-grid { grid-template-columns: 1fr 1fr; }
  .filterbar { flex-direction: column; align-items: stretch; }
  .filter-controls { flex-wrap: wrap; }
  .filter-controls .search { flex: 1; width: auto; }
}
@media (max-width: 720px) {
  .asset-grid { grid-template-columns: 1fr; }
  .composer-grid { grid-template-columns: 1fr; }
  .page-header { flex-direction: column; align-items: flex-start; }
}
