.live-member {
 --control-height:44px;
 --control-height-compact:44px;
 --control-radius:9px;
 --control-border:2px;
 --control-pad-inline:15px;
 --focus-ring:0 0 0 3px color-mix(in srgb,var(--accent) 38%,transparent);
 color:var(--text); min-height:100vh; background-color:var(--bg); background-image:linear-gradient(var(--grid) 1px,transparent 1px),linear-gradient(90deg,var(--grid) 1px,transparent 1px); background-size:44px 44px;
}
.live-member [hidden] { display:none !important; }
.live-member .member-header { gap:12px; flex-wrap:wrap; }
.live-member .member-header > .actions { min-width:184px; justify-content:flex-end; }
.live-member .member-header img { display:block; object-fit:contain; }
.live-member .member-brand { display:flex; align-items:center; min-width:0; }
.live-member .member-brand .beta-badge { flex:0 0 auto; white-space:nowrap; }
.live-member :is(button,.button,.button-link) {
 display:inline-flex; align-items:center; justify-content:center; gap:8px; min-width:0; min-height:var(--control-height); padding:9px var(--control-pad-inline); border:var(--control-border) solid var(--border); border-radius:var(--control-radius); background:var(--well); color:var(--text); font-size:14px; font-weight:700; line-height:1.2; text-align:center; text-decoration:none; overflow-wrap:anywhere; cursor:pointer; transition:background-color .16s ease,border-color .16s ease,box-shadow .16s ease,transform .16s ease;
}
.live-member :is(button,.button,.button-link):hover:not(:disabled):not([aria-disabled="true"]) { border-color:var(--accent); background:var(--card1-hi); }
.live-member :is(button,.button,.button-link):active:not(:disabled):not([aria-disabled="true"]) { transform:translateY(1px); }
.live-member :is(button,.button,.button-link):focus-visible,
.live-member :is(input,select,textarea):focus-visible { outline:0; border-color:var(--accent); box-shadow:var(--focus-ring); }
.live-member :is(button,.button,.button-link):disabled,
.live-member :is(button,.button,.button-link)[aria-disabled="true"] { cursor:not-allowed; opacity:.5; box-shadow:none; }
.live-member :is(button.primary,.button--primary) { background:var(--cta-grad); color:var(--accent-ink); border-color:var(--outline); box-shadow:0 4px 0 var(--outline); text-transform:uppercase; }
.live-member :is(button.primary,.button--primary):hover:not(:disabled):not([aria-disabled="true"]) { background:var(--cta-grad-hi); border-color:var(--outline); }
.live-member :is(.button--secondary,.button--quiet) { background:var(--well); }
.live-member :is(.button--quiet,.button--ghost) { border-color:transparent; background:transparent; color:var(--body); box-shadow:none; }
.live-member :is(.button--quiet,.button--ghost):hover:not(:disabled):not([aria-disabled="true"]) { border-color:var(--border); background:var(--card1-hi); color:var(--text); }
.live-member .button--danger { border-color:#c63858; background:color-mix(in srgb,#c63858 10%,var(--well)); color:#a42240; }
[data-theme="dark"] .live-member .button--danger { color:#ff9bad; }
.live-member .button--compact { min-height:var(--control-height-compact); padding:7px 11px; font-size:12px; }
.live-member .button--icon { width:var(--control-height); min-width:var(--control-height); padding:0; }
.live-member .button--icon.button--compact { width:var(--control-height-compact); min-width:var(--control-height-compact); }
.live-member .actions { display:flex; flex-wrap:wrap; align-items:center; gap:10px; }
.live-member .auth-layout { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); min-height:calc(100vh - 130px); }
.live-member .auth-copy,.live-member .auth-form-wrap { padding:clamp(24px,5vw,72px); display:flex; flex-direction:column; justify-content:center; }
.live-member .auth-copy { border-right:2px solid var(--outline); background:var(--panel); }
.live-member .auth-copy h1 { margin:24px 0; line-height:.94; letter-spacing:-.045em; text-transform:uppercase; transform:skewX(-5deg); background:var(--chrome); background-clip:text; -webkit-text-fill-color:transparent; font-weight:900; }
.live-member .auth-copy p { max-width:34ch; font-size:18px; line-height:1.6; color:var(--body); }
.live-member .panel { background:linear-gradient(180deg,var(--card1),var(--card2)); border:2px solid var(--outline); border-radius:16px; padding:clamp(20px,3vw,28px); box-shadow:inset 0 1px 0 #ffffff29,0 6px 0 var(--outline); }
.live-member h2 { font-size:30px; text-transform:uppercase; letter-spacing:-.03em; margin:0 0 12px; }
.live-member h3 { margin:0 0 12px; }
.live-member p { color:var(--body2); line-height:1.6; }
.live-member form { display:flex; flex-direction:column; gap:18px; }
.live-member label { display:flex; flex-direction:column; gap:8px; font-weight:700; font-size:14px; }
.live-member :is(input,select,textarea) { min-width:0; width:100%; min-height:50px; background:var(--well); border:2px solid var(--border); border-radius:10px; color:var(--text); font-size:16px; line-height:1.35; padding:0 14px; }
.live-member textarea { min-height:104px; padding-block:12px; }
.live-member .content { max-width:1200px; margin:auto; padding:clamp(20px,4vw,48px); }
.live-member .content.narrow { max-width:680px; }
.live-member .eyebrow { font:700 11px/1.6 monospace; letter-spacing:.1em; color:var(--accent-text); text-transform:uppercase; }
.live-member .heading { display:flex; align-items:center; justify-content:space-between; gap:20px; flex-wrap:wrap; margin-bottom:24px; }
.live-member .watch-list { display:grid; gap:18px; margin:24px 0; }
.live-member .alert-inbox { margin:0 0 28px; }
.live-member .alert-inbox-head,.live-member .alert-receipt,.live-member .watch-section-head { display:flex; justify-content:space-between; align-items:center; gap:18px; }
.live-member .alert-inbox-head { padding-bottom:16px; border-bottom:2px solid var(--border); }
.live-member .alert-inbox-head h3,.live-member .watch-section-head h3 { margin:0; }
.live-member #alert-inbox-summary { margin:4px 0 0; }
.live-member #alert-inbox-list { display:grid; }
.live-member .alert-receipt { padding:16px 0; border-bottom:1px solid var(--border); }
.live-member .alert-receipt:last-child { border-bottom:0; padding-bottom:0; }
.live-member .alert-receipt.is-unread { background:linear-gradient(90deg,var(--row-hi),transparent); margin-inline:-12px; padding-inline:12px; }
.live-member .alert-receipt-main { min-width:0; }
.live-member .alert-receipt-main h3 { margin:5px 0; overflow-wrap:anywhere; }
.live-member .alert-receipt-main p { display:flex; align-items:center; gap:9px; margin:0; }
.live-member .alert-receipt-meta { display:flex; flex-wrap:wrap; gap:8px 14px; color:var(--body); font:700 11px/1.4 'Geist Mono',monospace; text-transform:uppercase; }
.live-member .unread-badge { border-radius:999px; padding:3px 8px; background:var(--accent); color:#fff; font:800 10px/1.2 'Geist Mono',monospace; text-transform:uppercase; }
.live-member .button-link { width:max-content; max-width:100%; }
.live-member .alert-empty { padding:20px 0 4px; }
.live-member .alert-empty p { margin-bottom:0; }
.live-member .watch-section-head { margin-top:4px; }
.live-member .watch { display:flex; justify-content:space-between; align-items:center; gap:20px; flex-wrap:wrap; }
.live-member .watch h3,.live-member #account { overflow-wrap:anywhere; }
.live-member .watch-copy { flex:1 1 220px; min-width:0; }
.live-member .watch p { margin:6px 0; }
.live-member .availability { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; margin-top:32px; }
.live-member .availability section { background:var(--panel); border:2px solid var(--border); border-radius:12px; padding:20px; }
.live-member .error { padding:12px; border:2px solid #c63858; border-radius:var(--control-radius); color:var(--text); background:color-mix(in srgb,#c63858 8%,var(--well)); }
.live-member .loading { padding:40px 24px; }
.live-member .member-startup-shell { max-width:640px; margin:clamp(32px,9vw,112px) auto; padding:clamp(24px,5vw,48px); border:2px solid var(--outline); border-radius:16px; background:linear-gradient(145deg,var(--card1),var(--card2)); box-shadow:inset 0 1px 0 #ffffff29,0 6px 0 var(--outline); }
.live-member .member-startup-shell h1,.live-member .member-startup-terminal h1 { margin:10px 0 14px; font-size:clamp(28px,5vw,44px); line-height:1.02; text-transform:uppercase; letter-spacing:-.04em; }
.live-member .member-startup-shell p:last-child,.live-member .member-startup-terminal p { max-width:48ch; }
.live-member .member-startup-terminal { max-width:640px; margin:clamp(32px,9vw,112px) auto; }
.live-member .loading-surface { display:grid; justify-items:start; gap:14px; max-width:440px; min-height:210px; margin:clamp(24px,7vw,88px) auto; padding:clamp(24px,4vw,40px); border:2px solid var(--outline); border-radius:16px; background:linear-gradient(145deg,var(--card1),var(--card2)); box-shadow:inset 0 1px 0 #ffffff29,0 6px 0 var(--outline); }
.live-member .loading-surface--member { margin-top:clamp(24px,4vw,54px); }
.live-member .loading-brand { position:relative; display:flex; align-items:center; gap:12px; min-height:76px; }
.live-member .loading-avatar { position:relative; z-index:1; display:block; width:72px; height:72px; border:3px solid var(--accent); border-radius:999px; background:var(--well); object-fit:cover; box-shadow:0 4px 0 var(--outline); }
.live-member .loading-avatar-ring { position:absolute; z-index:0; inset:0 auto auto 0; width:72px; height:72px; border:2px solid var(--accent-hi); border-radius:999px; animation:member-loader-ring 1.4s ease-out infinite; }
.live-member .loading-mark { display:flex; gap:5px; align-items:end; height:28px; margin-left:2px; }
.live-member .loading-mark span { display:block; width:7px; border-radius:999px; background:var(--accent); animation:member-pulse .9s ease-in-out infinite; }
.live-member .loading-mark span:nth-child(1) { height:12px; animation-delay:-.3s; }.live-member .loading-mark span:nth-child(2) { height:28px; animation-delay:-.15s; }.live-member .loading-mark span:nth-child(3) { height:18px; }
.live-member .loading-copy-block { display:grid; gap:2px; }
.live-member .loading-brand-name { margin:0; color:var(--accent-text); font:800 11px/1.4 'Geist Mono',monospace; letter-spacing:.12em; text-transform:uppercase; }
.live-member .loading-copy { margin:0; color:var(--text); font-size:16px; font-weight:800; }
.live-member .loading-terminal { max-width:540px; margin:clamp(24px,7vw,88px) auto; }
.live-member .loading-lines { display:grid; width:min(100%,340px); gap:9px; }
.live-member .loading-lines span { display:block; height:10px; border-radius:999px; background:linear-gradient(105deg,var(--well) 15%,var(--card1-hi) 42%,var(--well) 68%); background-size:220% 100%; animation:member-shimmer 1.15s ease-in-out infinite; }
.live-member .loading-lines span:nth-child(2) { width:78%; animation-delay:-.2s; }.live-member .loading-lines span:nth-child(3) { width:56%; animation-delay:-.4s; }
.live-member button.is-pending { position:relative; padding-right:40px; }
.live-member button.is-pending::after { content:""; position:absolute; right:15px; top:50%; width:13px; height:13px; margin-top:-7px; border:2px solid currentColor; border-left-color:transparent; border-radius:50%; animation:member-spin .7s linear infinite; }
@keyframes member-spin { to { transform:rotate(360deg); } }
@keyframes member-pulse { 0%,100% { transform:scaleY(.55); opacity:.48; } 50% { transform:scaleY(1); opacity:1; } }
@keyframes member-loader-ring { 0% { transform:scale(.88); opacity:.8; } 70%,100% { transform:scale(1.2); opacity:0; } }
@keyframes member-shimmer { to { background-position:-120% 0; } }
.live-member .muted { font-size:13px; }
.live-member .editor { margin:24px 0; }
@media(max-width:700px) {
 .live-member .auth-layout { grid-template-columns:minmax(0,1fr); }
 .live-member .auth-form-wrap { order:-1; }
 .live-member .auth-copy { border-right:0; border-top:2px solid var(--outline); }
 .live-member .availability { grid-template-columns:minmax(0,1fr); }
 .live-member .member-header { padding:12px 16px; }
 .live-member .member-header img { width:145px; }
 .live-member .member-header button { min-height:var(--control-height-compact); padding:7px 11px; font-size:12px; }
 .live-member .alert-inbox-head,.live-member .alert-receipt { align-items:flex-start; flex-direction:column; }
 .live-member .alert-receipt .actions { width:100%; }
 .live-member .alert-receipt .actions > * { flex:1 1 auto; justify-content:center; text-align:center; }
}
@media(prefers-reduced-motion:reduce) { .live-member .loading-avatar-ring,.live-member .loading-mark span,.live-member .loading-lines span,.live-member button.is-pending::after { animation:none; } .live-member .loading-lines span { background:var(--card1-hi); } }

/* Ask Ash is a conversation product. The thread owns the workspace; history
   and evidence help a decision without becoming three equal dashboards. */
.live-member .ash-host.ash-chat-first .cp-root { gap:18px !important; }
.live-member .ash-host.ash-chat-first .cp-top { align-items:flex-end !important; }
.live-member .ash-host.ash-chat-first .cp-top-copy { max-width:34ch !important; }
.live-member .ash-host.ash-chat-first .cp-grid {
  grid-template-columns:minmax(178px,.48fr) minmax(0,2.8fr) minmax(210px,.72fr) !important;
  gap:16px !important;
  min-height:min(700px,calc(100vh - 230px)) !important;
}
.live-member .ash-host.ash-chat-first .cp-channels,
.live-member .ash-host.ash-chat-first .cp-state {
  border-color:color-mix(in srgb,var(--border) 86%,transparent) !important;
  box-shadow:0 4px 14px rgba(24,18,50,.04) !important;
}
.live-member .ash-host.ash-chat-first .cp-channels .cp-drawer-content { padding:16px !important; }
.live-member .ash-host.ash-chat-first .cp-channels .cp-section-head { gap:8px !important; }
.live-member .ash-host.ash-chat-first #cp-new {
  min-height:44px !important;
  padding:8px 10px !important;
  font-size:13px !important;
}
.live-member .ash-host.ash-chat-first .cp-list { margin-top:12px !important; }
.live-member .ash-host.ash-chat-first .cp-channel { min-height:54px !important; padding:9px 10px !important; }
.live-member .ash-host.ash-chat-first .cp-channel-name { font-size:12px !important; }
.live-member .ash-host.ash-chat-first .cp-watches-mini { padding-top:12px !important; }
.live-member .ash-host.ash-chat-first .cp-watches-head { display:block !important; }
.live-member .ash-host.ash-chat-first .cp-watches-head .ghost-inline { white-space:nowrap; }
.live-member .ash-host.ash-chat-first .cp-watch-row { display:block !important; min-height:44px !important; }
.live-member .ash-host.ash-chat-first .cp-watch-row span { display:block; overflow-wrap:anywhere; }
.live-member .ash-host.ash-chat-first .cp-watch-row strong { display:block; margin-top:5px; }
.live-member .ash-host.ash-chat-first .cp-chat {
  padding:clamp(20px,2.4vw,32px) !important;
  border-color:color-mix(in srgb,var(--accent) 52%,var(--border)) !important;
  box-shadow:0 14px 32px rgba(57,26,116,.12),0 6px 0 var(--outline) !important;
}
.live-member .ash-host.ash-chat-first .cp-chat-top { padding-bottom:16px !important; }
.live-member .ash-host.ash-chat-first .cp-chat-top h3 { font-size:clamp(21px,2.05vw,28px) !important; }
.live-member .ash-host.ash-chat-first .cp-messages { min-height:350px !important; padding:20px 4px 24px !important; }
.live-member .ash-host.ash-chat-first .cp-messages .ash-message { max-width:min(82%,650px) !important; }
.live-member .ash-host.ash-chat-first .cp-composer {
  padding:15px !important;
  border-color:color-mix(in srgb,var(--accent) 42%,var(--border)) !important;
  background:linear-gradient(140deg,color-mix(in srgb,var(--well) 94%,var(--accent) 4%),var(--well)) !important;
}
.live-member .ash-host.ash-chat-first #cp-input { min-height:112px !important; font-size:16px !important; }
.live-member .ash-host.ash-chat-first .cp-state .cp-drawer-content { padding:16px !important; }
.live-member .ash-host.ash-chat-first .cp-insights { margin-bottom:14px !important; }
.live-member .ash-host.ash-chat-first .ash-insights { gap:10px !important; }
.live-member .ash-host.ash-chat-first .ash-insights-section {
  padding:12px !important;
  border-radius:10px !important;
  background:linear-gradient(180deg,color-mix(in srgb,var(--card1) 96%,var(--accent) 3%),var(--card2)) !important;
}
.live-member .ash-host.ash-chat-first .ash-insights-card-head {
  display:grid !important;
  grid-template-columns:104px minmax(0,1fr) !important;
  align-items:start !important;
  gap:12px !important;
}
/* Card images are evidence, not decorative crops: always contain the full card. */
.live-member .ash-host.ash-chat-first .ash-insights-card-head img,
.live-member .ash-host.ash-chat-first .ash-insights-image-empty {
  width:104px !important;
  height:146px !important;
  box-sizing:border-box !important;
  object-fit:contain !important;
  object-position:center !important;
  background:linear-gradient(145deg,var(--well),color-mix(in srgb,var(--well) 80%,var(--accent) 5%)) !important;
  border:1px solid color-mix(in srgb,var(--accent) 34%,var(--border)) !important;
  border-radius:8px !important;
  padding:4px !important;
}
.live-member .ash-host.ash-chat-first .ash-insights-evidence { margin-top:12px !important; }
.live-member .ash-host.ash-chat-first .ash-insights-actions { gap:7px !important; margin-top:10px !important; }
.live-member .ash-host.ash-chat-first .ash-insights button { min-height:44px !important; font-size:14px !important; }
.live-member .ash-host.ash-chat-first .cp-state-top { padding-top:4px !important; }
.live-member .ash-host.ash-chat-first .cp-state-editor { min-height:178px !important; }
@media (max-width:1120px) {
  .live-member .ash-host.ash-chat-first .cp-grid { grid-template-columns:minmax(180px,220px) minmax(0,1fr) !important; }
  .live-member .ash-host.ash-chat-first .cp-state { grid-column:1 / -1 !important; max-height:300px !important; }
}
@media (max-width:720px) {
  .live-member .ash-host.ash-chat-first .cp-top { align-items:flex-start !important; }
  .live-member .ash-host.ash-chat-first .cp-grid { display:flex !important; flex-direction:column !important; min-height:0 !important; gap:10px !important; }
  .live-member .ash-host.ash-chat-first .cp-chat { order:0; padding:18px 15px !important; }
  .live-member .ash-host.ash-chat-first .cp-channels { order:1; }
  .live-member .ash-host.ash-chat-first .cp-state { order:2; grid-column:auto !important; max-height:280px !important; overflow:auto !important; }
  .live-member .ash-host.ash-chat-first .cp-messages { min-height:min(292px,38svh) !important; max-height:54svh !important; }
  .live-member .ash-host.ash-chat-first #cp-input { min-height:96px !important; }
  .live-member .ash-host.ash-chat-first .cp-drawer-content { padding:15px !important; }
  .live-member .ash-host.ash-chat-first .ash-insights-card-head { grid-template-columns:96px minmax(0,1fr) !important; }
  .live-member .ash-host.ash-chat-first .ash-insights-card-head img,
  .live-member .ash-host.ash-chat-first .ash-insights-image-empty { width:96px !important; height:135px !important; }
}

/* Ask Ash: conversations | chat | evidence notes */
.live-member button.ghost, .live-member .ghost {
  display: inline-flex;
  width: max-content;
  max-width: 100%;
  margin-top: 10px;
  border-color: transparent;
  background: transparent;
  color: var(--body, #5b5670);
  font-size: 15px;
  font-weight: 700;
  text-decoration: underline;
}
.live-member .ghost-inline {
  background: transparent;
  border-color: transparent;
  color: var(--body, #5b5670);
  font-weight: 700;
  text-decoration: underline;
}
.cp-shell { max-width: 1400px; padding-bottom: 24px; }
.member-nav { display:flex; gap:8px; flex-wrap:wrap; margin:0 0 16px; }
.member-nav button[aria-current="page"] { border-color:var(--outline); background:var(--row-hi, var(--well)); }

/* Overview: a chat-first desk, with only live watch state in the supporting rail. */
.overview-view { max-width:1400px; }
.overview-heading { display:flex; align-items:end; justify-content:space-between; gap:18px; margin:0 0 20px; }
.overview-heading h2 { margin:3px 0 6px; font-size:clamp(32px,4vw,52px); line-height:.98; max-width:16ch; }
.overview-heading p:not(.eyebrow) { max-width:58ch; margin:0; }
.overview-heading > button { flex:0 0 auto; }
.overview-grid { display:grid; grid-template-columns:minmax(210px,.77fr) minmax(380px,1.45fr) minmax(240px,.9fr); gap:16px; align-items:stretch; }
.overview-grid > .panel { min-width:0; }
.overview-panel-heading h3 { margin:3px 0 0; font-size:20px; line-height:1.1; }
.overview-context { display:flex; flex-direction:column; gap:16px; }
.overview-context > p { margin:0; }
.overview-context-actions { display:grid; gap:9px; margin-top:auto; }
.overview-context-actions > button { width:100%; }
.overview-context-note { display:flex; align-items:flex-start; gap:8px; padding-top:15px; border-top:1px solid var(--border); }
.overview-context-note span { color:var(--accent-text); font-size:18px; line-height:1; }
.overview-context-note p { margin:0; font-size:12px; line-height:1.45; }
.overview-ash { position:relative; isolation:isolate; display:grid; grid-template-columns:minmax(140px,.72fr) minmax(0,1fr); min-height:368px; padding:0; overflow:hidden; background:linear-gradient(132deg,color-mix(in srgb,var(--card1) 90%,#fff),var(--card2)); }
.overview-ash::after { position:absolute; z-index:-1; content:""; inset:auto -20% -68% 30%; height:260px; background:radial-gradient(circle,var(--accent-hi),transparent 67%); opacity:.3; pointer-events:none; }
.overview-ash-portrait { position:relative; min-height:100%; overflow:hidden; border-right:2px solid var(--outline); background:linear-gradient(180deg,var(--well),var(--row-hi)); }
.overview-ash-portrait::after { content:""; position:absolute; inset:0; background:linear-gradient(90deg,transparent 35%,var(--card1)); opacity:.38; }
.overview-ash-portrait img { display:block; width:100%; height:100%; min-height:368px; object-fit:cover; object-position:center top; filter:saturate(.92) contrast(1.03); }
.overview-ash-copy { display:flex; flex-direction:column; align-items:flex-start; padding:clamp(22px,3vw,36px); }
.overview-ash-copy h3 { max-width:16ch; margin:5px 0 10px; font-size:clamp(24px,2.7vw,36px); line-height:1; letter-spacing:-.035em; }
.overview-ash-copy > p:not(.eyebrow) { margin:0; max-width:34ch; }
.overview-ash-prompt { display:flex; align-items:center; gap:10px; width:100%; margin:22px 0 14px; padding:12px 13px; border:1px solid var(--border); border-radius:10px; background:color-mix(in srgb,var(--well) 78%,transparent); color:var(--body); font-size:13px; font-weight:700; }
.overview-prompt-mark { display:grid; width:26px; height:26px; place-items:center; flex:0 0 auto; border-radius:8px; background:var(--accent); color:#fff; font-size:16px; line-height:1; }
.overview-ash-actions { display:flex; width:100%; gap:9px; flex-wrap:wrap; }
.overview-ash-actions > button { flex:1 1 150px; }
.overview-evidence { display:flex; flex-direction:column; padding:0; overflow:hidden; }
.overview-evidence > :not(.overview-watch-list) { margin-inline:clamp(18px,2vw,24px); }
.overview-evidence .overview-panel-heading { margin-top:clamp(20px,2vw,26px); }
.overview-watch-summary { margin-top:7px; margin-bottom:14px; font-size:13px; }
.overview-watch-list { display:grid; gap:0; margin:0; padding:0; list-style:none; border-top:1px solid var(--border); }
.overview-watch-list li { display:flex; align-items:flex-start; gap:9px; padding:13px clamp(18px,2vw,24px); border-bottom:1px solid var(--border); }
.overview-watch-list li > span:last-child { display:grid; gap:3px; min-width:0; }
.overview-watch-list strong { overflow-wrap:anywhere; font-size:13px; line-height:1.25; }
.overview-watch-list small { color:var(--body); font-size:11px; }
.overview-watch-dot { width:8px; height:8px; flex:0 0 auto; margin-top:4px; border-radius:999px; background:var(--accent); box-shadow:0 0 0 3px color-mix(in srgb,var(--accent) 15%,transparent); }
.overview-empty { margin:0 0 0; padding:18px clamp(18px,2vw,24px); border-top:1px solid var(--border); }
.overview-empty strong { font-size:14px; }
.overview-empty p { margin:5px 0 0; font-size:12px; line-height:1.45; }
.overview-evidence-foot { margin-top:auto !important; padding-top:16px; padding-bottom:clamp(18px,2vw,24px); }
.overview-evidence-foot p { margin:0 0 10px; font-size:12px; line-height:1.45; }
.overview-evidence-foot button { min-height:auto; padding:0; font-size:12px; }
.overview-next { display:flex; align-items:center; justify-content:space-between; gap:18px; margin-top:16px; padding:18px 20px; border:2px solid var(--outline); border-radius:14px; background:color-mix(in srgb,var(--card1) 84%,transparent); box-shadow:0 4px 0 var(--outline); }
.overview-next h3 { margin:3px 0 0; font-size:18px; }
.overview-next-actions { display:flex; justify-content:flex-end; gap:9px; flex-wrap:wrap; }
.overview-next-actions button { min-height:40px; padding:8px 12px; font-size:12px; }
@media(max-width:980px) {
  .overview-grid { grid-template-columns:minmax(0,1fr) minmax(0,1fr); }
  .overview-ash { grid-column:span 2; grid-row:1; }
  .overview-context { grid-column:1; }
  .overview-evidence { grid-column:2; }
}
@media(max-width:700px) {
  .overview-view { padding-top:12px; }
  .overview-heading { align-items:flex-start; flex-direction:column; gap:10px; margin-bottom:14px; }
  .overview-heading h2 { font-size:31px; }
  .overview-heading > button { width:100%; }
  .overview-grid { grid-template-columns:1fr; gap:12px; }
  .overview-ash { grid-column:auto; grid-row:auto; grid-template-columns:96px minmax(0,1fr); min-height:0; }
  .overview-ash-portrait { border-right:1px solid var(--border); }
  .overview-ash-portrait img { min-height:0; height:100%; object-position:52% top; }
  .overview-ash-copy { padding:20px 16px; }
  .overview-ash-copy h3 { font-size:25px; }
  .overview-ash-prompt { margin:16px 0 12px; }
  .overview-ash-actions { display:grid; grid-template-columns:1fr; }
  .overview-context,.overview-evidence { grid-column:auto; }
  .overview-context { gap:13px; }
  .overview-next { align-items:flex-start; flex-direction:column; padding:18px; }
  .overview-next-actions { display:grid; width:100%; grid-template-columns:1fr; }
  .overview-next-actions button { width:100%; min-height:44px; }
}
.integrations-view { max-width:1320px; }
.integrations-hero { position:relative; display:flex; align-items:center; justify-content:space-between; gap:32px; overflow:hidden; min-height:226px; margin-bottom:22px; padding:clamp(24px,4vw,44px); border:2px solid var(--outline); border-radius:18px; background:linear-gradient(112deg,var(--card1) 0%,var(--card1-hi) 62%,color-mix(in srgb,var(--accent) 13%,var(--card2)) 100%); box-shadow:inset 0 1px 0 #ffffff4a,0 6px 0 var(--outline); }
.integrations-hero > div:first-child { position:relative; z-index:2; max-width:680px; }
.integrations-hero h2 { max-width:17ch; margin:4px 0 12px; font-size:clamp(30px,4.1vw,52px); line-height:.98; }
.integrations-hero p:not(.eyebrow) { max-width:58ch; margin:0; font-size:16px; }
.integration-hero-mark { position:relative; flex:0 0 200px; width:200px; height:164px; }
.integration-orbit { position:absolute; border:2px solid color-mix(in srgb,var(--accent) 47%,transparent); border-radius:50%; transform:rotate(-29deg); }
.integration-orbit--one { inset:6px 15px 20px; }
.integration-orbit--two { inset:42px -1px 2px; border-color:color-mix(in srgb,var(--outline) 30%,transparent); }
.integration-spark { position:absolute; top:54px; left:78px; color:var(--accent); font-size:66px; line-height:1; text-shadow:0 0 20px color-mix(in srgb,var(--accent) 45%,transparent); }
.integrations-layout { display:grid; grid-template-columns:minmax(0,1fr) minmax(270px,360px); gap:20px; align-items:start; }
.integration-main { min-width:0; padding:clamp(20px,2.8vw,30px); border:2px solid var(--outline); border-radius:18px; background:linear-gradient(180deg,var(--card1),var(--card2)); box-shadow:inset 0 1px 0 #ffffff33,0 6px 0 var(--outline); }
.integration-section-head { display:flex; align-items:flex-end; justify-content:space-between; gap:18px; padding-bottom:18px; border-bottom:1px solid var(--border); }
.integration-section-head h3 { margin:2px 0 0; font-size:22px; }
.integration-summary { margin:0; color:var(--body); font:700 11px/1.4 'Geist Mono',monospace; letter-spacing:.06em; text-align:right; text-transform:uppercase; }
.integration-cards { display:grid; gap:24px; margin-top:20px; }
.integration-group { display:grid; gap:12px; }
.integration-group-title { display:flex; align-items:baseline; gap:10px; }
.integration-group-title .eyebrow { margin:0; }
.integration-group-title h4 { margin:0; font-size:15px; }
.integration-group--upcoming { padding-top:4px; }
.integration-provider-list { display:grid; gap:10px; }
.integration-card { display:grid; grid-template-columns:46px minmax(0,1fr) auto; align-items:center; gap:14px; padding:15px 16px; border:1px solid var(--border); border-radius:13px; background:color-mix(in srgb,var(--well) 70%,transparent); box-shadow:none; }
.integration-card:hover { border-color:color-mix(in srgb,var(--accent) 60%,var(--border)); background:var(--card1-hi); }
.integration-provider-mark { display:grid; place-items:center; width:44px; height:44px; padding:4px; border:1px solid color-mix(in srgb,var(--accent) 52%,var(--border)); border-radius:12px; background:linear-gradient(145deg,color-mix(in srgb,var(--accent) 20%,var(--well)),var(--well)); color:var(--accent-text); font:800 10px/1.1 'Geist Mono',monospace; letter-spacing:-.05em; text-align:center; overflow-wrap:anywhere; }
.integration-provider-mark--logo { padding:6px; background:var(--well); }
.integration-provider-mark--logo img { width:28px; height:28px; object-fit:contain; display:block; }
.integration-card-copy { min-width:0; }
.integration-provider-title { display:flex; align-items:center; gap:7px; min-width:0; }
.integration-provider-title h4 { min-width:0; margin:0; overflow:hidden; font-size:16px; text-overflow:ellipsis; white-space:nowrap; }
.integration-status-dot { width:8px; height:8px; border-radius:99px; background:#9490a2; }
.integration-card--connected .integration-status-dot { background:#2caa72; box-shadow:0 0 0 3px color-mix(in srgb,#2caa72 16%,transparent); }
.integration-card-copy > p { margin:3px 0 0; font-size:13px; line-height:1.45; }
.integration-account,.integration-capability,.integration-verified { color:var(--body); font:700 11px/1.35 'Geist Mono',monospace; letter-spacing:.02em; }
.integration-action { display:flex; justify-content:flex-end; min-width:116px; }
.integration-state { display:inline-flex; align-items:center; min-height:29px; padding:5px 9px; border:1px solid var(--border); border-radius:999px; color:var(--body); font:800 10px/1 'Geist Mono',monospace; letter-spacing:.07em; text-transform:uppercase; white-space:nowrap; }
.integration-state--connected { border-color:#2caa72; color:#167348; }
.integration-connect { min-height:38px !important; font-size:12px !important; }
.integration-rail { display:grid; gap:16px; }
.integration-rail-card { padding:22px; }
.integration-rail-card h3 { margin:7px 0 10px; font-size:20px; line-height:1.12; }
.integration-rail-card--quiet { box-shadow:none; }
.integration-rail-card--quiet p:last-child { margin-bottom:0; font-size:13px; }
.integration-permission-list { display:grid; gap:10px; margin:18px 0 0; padding:0; list-style:none; }
.integration-permission-list li { position:relative; padding-left:21px; color:var(--body2); font-size:13px; line-height:1.45; }
.integration-permission-list li::before { content:'✓'; position:absolute; left:0; top:0; color:var(--accent); font-weight:900; }
.integration-error { margin-top:0; }
@media (max-width:700px) {
 .integrations-hero { min-height:0; padding:24px; }
 .integration-hero-mark { display:none; }
 .integrations-layout { grid-template-columns:minmax(0,1fr); }
 .integration-rail { grid-template-columns:minmax(0,1fr); }
 .integration-section-head { align-items:flex-start; flex-direction:column; gap:5px; }
 .integration-summary { text-align:left; }
 .integration-card { grid-template-columns:42px minmax(0,1fr); align-items:start; padding:14px; }
 .integration-provider-mark { width:40px; height:40px; }
 .integration-action { grid-column:2; justify-content:flex-start; min-width:0; }
}
.ash-host.cp-host, .cp-host {
  min-height: calc(100vh - 140px);
  border: 0;
  background: transparent;
  overflow: visible;
}
.cp-root { display: flex; flex-direction: column; gap: 12px; min-height: calc(100vh - 150px); min-width: 0; }
.cp-top {
  display: flex;
  align-items: center;
}
.cp-brand { display: flex; gap: 10px; align-items: center; }
.cp-brand img { border-radius: 999px; border: 2px solid var(--outline, #d9d3e8); }
.cp-brand h2 { margin: 0; font-size: 1.35rem; }
.price-label, .cp-evidence-label, .eyebrow {
  font-family: 'Geist Mono', monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.cp-price-results {
  position: absolute;
  z-index: 30;
  left: 0; right: 0; top: calc(100% + 4px);
  background: var(--bg, #fff);
  border: 2px solid var(--border, #d9d3e8);
  border-radius: 12px;
  max-height: 320px;
  overflow: auto;
  box-shadow: 0 12px 40px rgba(20,10,40,.12);
  padding: 6px;
}
.cp-price-hit {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2px 10px;
  width: 100%;
  text-align: left;
  padding: 10px 12px;
  border: 0;
  background: transparent;
  border-radius: 8px;
  cursor: pointer;
}
.cp-price-hit:hover { background: var(--row-hi, #f3effa); }
.cp-price-hit .muted { grid-column: 1; font-size: 13px; }
.cp-price-psa { font-family: 'Geist Mono', monospace; font-size: 12px; font-weight: 700; }
.cp-grid {
  display: grid;
  grid-template-columns: minmax(200px, .72fr) minmax(0, 2fr) minmax(230px, .9fr);
  gap: 12px;
  align-items: stretch;
  flex: 1;
  min-height: 560px;
  min-width: 0;
}
@media (max-width: 1120px) {
  .cp-grid { grid-template-columns: minmax(180px, 220px) minmax(0, 1fr); }
  .cp-state { grid-column: 1 / -1; max-height: 280px; }
}
@media (max-width: 720px) {
  .cp-top { grid-template-columns: minmax(0, 1fr); }
  .cp-grid { grid-template-columns: minmax(0, 1fr); }
  .cp-grid > * { min-width: 0; }
  .cp-chat-top, .cp-chat-actions { flex-wrap: wrap; }
  .cp-compose-row { flex-wrap: wrap; align-items: flex-start; }
  .cp-compose-row .muted { flex: 1 1 100%; }
  .cp-watch-row span { min-width: 0; overflow-wrap: anywhere; }
}
.cp-channels, .cp-chat, .cp-state {
  display: flex;
  flex-direction: column;
  min-height: 0;
  min-width: 0;
  padding: 12px;
}
.cp-list { display: flex; flex-direction: column; gap: 6px; margin-top: 10px; overflow: auto; flex: 1; }
.cp-channel {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  width: 100%;
  text-align: left;
  padding: 10px 12px;
  border-radius: 10px;
  border: 2px solid transparent;
  background: var(--well, #f7f5fb);
  cursor: pointer;
}
.cp-channel[aria-current="true"] {
  border-color: var(--accent, #6b4eff);
  background: var(--row-hi, #f3effa);
}
.cp-channel-name { font-weight: 800; color: var(--text, #1a1523); }
.cp-channel-time { font-size: 12px; color: var(--muted, #8a849c); }
.cp-empty { margin: 12px 4px; }
.cp-watches-mini { margin-top: 12px; border-top: 1px solid var(--border, #e6e1f0); padding-top: 10px; }
.cp-watch-row { display: flex; justify-content: space-between; gap: 8px; font-size: 13px; padding: 4px 0; }
.cp-chat-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.cp-chat-top h3 { margin: 0; font-size: 1.1rem; min-width:0; overflow-wrap:anywhere; }
.cp-chat-actions { display: flex; gap: 8px; }
.cp-chat-actions button { min-height:38px; padding:7px 11px; }
.cp-status { margin: 8px 0; color: var(--body, #5b5670); font-size: 14px; }
.cp-messages {
  flex: 1;
  overflow: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 8px 4px 12px;
  min-height: 280px;
}
.ash-message { max-width: 92%; padding: 10px 12px; border-radius: 14px; border: 2px solid var(--border, #e6e1f0); background: var(--well, #f7f5fb); }
.ash-message.ash-user { align-self: flex-end; background: var(--row-hi, #efeaff); }
.ash-message.ash-assistant { align-self: flex-start; }
.ash-message strong { display: block; font-size: 12px; margin-bottom: 4px; }
.ash-message p { margin: 0; white-space: pre-wrap; }
.ash-message small { display: block; margin-top: 6px; color: var(--muted, #8a849c); }
.cp-recovery { display: flex; gap: 8px; flex-wrap: wrap; }
.cp-composer { margin-top: auto; border-top: 1px solid var(--border, #e6e1f0); padding-top: 10px; }
#cp-input {
  width: 100%;
  box-sizing: border-box;
  border-radius: 12px;
  border: 2px solid var(--border, #d9d3e8);
  padding: 12px;
  font-size: 15px;
  resize: vertical;
  min-height: 84px;
  background: var(--bg, #fff);
  color: var(--text, #1a1523);
}
.cp-compose-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 8px; }
.cp-state-top { display: flex; justify-content: space-between; align-items: center; }
.cp-state-top h4 { margin: 0; font-size: 1.1rem; }
.cp-evidence-label { margin: 0 0 6px; }
.cp-state-hint { margin: 6px 0 8px; font-size: 13px; }
.cp-state-editor {
  flex: 1;
  min-height: 240px;
  width: 100%;
  box-sizing: border-box;
  font-family: 'Geist Mono', ui-monospace, monospace;
  font-size: 12.5px;
  line-height: 1.45;
  border-radius: 10px;
  border: 2px solid var(--border, #d9d3e8);
  padding: 10px;
  resize: vertical;
  background: var(--well, #f7f5fb);
  color: var(--text, #1a1523);
}
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* Discover is query-first: catalog data appears only after a real search. */
.discover-view { max-width:1280px; }
.discover-workbench { display:grid; grid-template-columns:minmax(320px,.85fr) minmax(420px,1.15fr); align-items:start; gap:18px; }
.discover-search { min-width:0; }
.discover-results { display:grid; grid-template-columns:1fr; gap:10px; margin-top:14px; max-height:610px; overflow:auto; padding-right:2px; }
.discover-result { display:flex; align-items:center; gap:12px; min-height:96px; text-align:left; padding:10px !important; }
.discover-result img,.result-image-empty,.card-thumb { width:62px; height:82px; flex:0 0 auto; border:1px solid var(--border); border-radius:6px; object-fit:contain; background:var(--well); }
.result-image-empty,.card-thumb-empty { display:grid; place-items:center; padding:4px; color:var(--body); font:700 10px/1.2 monospace; text-align:center; }
.discover-result span { display:grid; gap:4px; min-width:0; }
.discover-result small,.discover-result strong { overflow-wrap:anywhere; }
.discover-result small { color:var(--body); }
.card-detail { margin:0; }
.card-detail-head { display:flex; align-items:flex-start; gap:16px; margin-bottom:16px; }
.card-detail-head .card-thumb { width:92px; height:122px; }
.evidence-block { margin:16px 0; padding:14px; border:2px solid var(--border); border-radius:10px; background:var(--well); }
.evidence-block p { margin:4px 0; }
.evidence-block ul { padding-left:20px; margin:8px 0; }
.evidence-block li { margin:5px 0; }
.watch-basis { margin:16px 0; padding:12px; border:2px solid var(--border); border-radius:10px; }
.watch-basis legend { font-weight:800; }
.basis { display:flex !important; flex-direction:row !important; align-items:center; gap:8px; margin:8px 0; }
.basis input { width:auto !important; min-height:auto !important; }
.discount-row { display:flex; flex-wrap:wrap; align-items:center; gap:8px; margin:16px 0; }
.discount-row label { display:flex; flex-direction:row; align-items:center; gap:6px; }
.discount-row input { width:92px; min-height:40px; }
.discount-preset[aria-pressed="true"] { border-color:var(--outline); background:var(--row-hi); }
.link-button { display:inline; min-height:auto !important; padding:0 !important; border:0 !important; background:transparent !important; color:inherit !important; font:inherit !important; text-decoration:underline; }
@media(max-width:700px) {
  /* Keep every workspace destination within one reachable, scrollable tab rail. */
  .member-nav { flex-wrap:nowrap; overflow-x:auto; overscroll-behavior-x:contain; -webkit-overflow-scrolling:touch; scrollbar-width:none; scroll-padding-inline:4px; padding:0 0 4px; margin-bottom:10px; }
  .member-nav::-webkit-scrollbar { display:none; }
  .member-nav button { flex:0 0 auto; min-height:44px; }
  .discover-workbench { grid-template-columns:1fr; gap:12px; }
  .discover-results { max-height:none; }
  .discount-row button { flex:1 1 84px; }
  .card-detail-head { align-items:center; }
  .discover-view { padding-top:12px; }
  .discover-view .heading { margin-bottom:12px; }
  .discover-view .heading h2 { font-size:24px; line-height:1.05; overflow-wrap:anywhere; }
  .discover-view .heading p { margin:6px 0; font-size:14px; }
  .discover-view .member-nav button { padding:8px 10px; font-size:12px; }
  .card-detail h2 { font-size:22px; overflow-wrap:anywhere; }
  .card-detail-head { gap:10px; }
  .card-detail-head .card-thumb { width:70px; height:92px; }
  .preview-note { font-size:12px; line-height:1.3; padding:7px 12px; }
}

/* eBay scan watch form (overlay; control plane stays) */
.live-member select {
  min-width: 0; width: 100%; min-height: 50px;
  background: var(--well); border: 2px solid var(--border);
  border-radius: 10px; color: var(--text); font-size: 16px; padding: 0 14px;
}
.live-member label.check {
  flex-direction: row; align-items: center; gap: 10px; font-weight: 700;
}
.live-member label.check input { width: auto; min-height: 22px; }
.watch-id-grid, .watch-price-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
}
.watch-identity { position: relative; display: flex; flex-direction: column; gap: 12px; }
.watch-checks { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 12px; }
.watch-modal {
  position: fixed; inset: 0; z-index: 80;
  background: rgba(16,10,28,.45);
  display: flex; align-items: flex-start; justify-content: center;
  overflow: auto; padding: 24px 16px 48px;
}
.watch-modal .editor { width: min(720px, 100%); margin: 24px auto; }
.cp-watches-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.cp-watches-head .eyebrow { margin: 0; }
button.cp-watch-row {
  display: flex; justify-content: space-between; gap: 8px;
  width: 100%; text-align: left; font-size: 13px; padding: 8px 10px;
  min-height: 40px; border-radius: 8px; background: var(--well, #f7f5fb);
}
@media (max-width: 700px) {
  .watch-id-grid, .watch-price-grid, .watch-checks { grid-template-columns: 1fr; }
}

/* Watch list return navigation */
#back-to-chat {
  min-height: 44px;
  padding: 8px 14px;
  border: 2px solid var(--border, #d9d3e8);
  border-radius: 8px;
  background: var(--well, #fff);
  text-decoration: none;
  font-weight: 800;
}
#watches-view .watch { margin: 0; }

/* Member-owned inventory uses only the authenticated server collection. */
.inventory-view { max-width: 1100px; }
.inventory-view .heading { display:flex; align-items:flex-end; justify-content:space-between; gap:16px; }
.inventory-view .heading > .primary { flex:0 0 auto; }
.inventory-notice { margin:0 0 14px; padding:10px 12px; border:2px solid var(--border); border-radius:10px; background:var(--row-hi); color:var(--body); font-weight:700; }
.inventory-list { display:grid; gap:12px; }
.inventory-item { margin:0; }
.inventory-item-main { display:flex; justify-content:space-between; gap:16px; align-items:flex-start; }
.inventory-item h3 { margin:3px 0 6px; }
.inventory-item p { margin:0; }
.inventory-notes { margin-top:10px !important; white-space:pre-wrap; color:var(--body); }
.inventory-status { flex:0 0 auto; padding:5px 8px; border-radius:999px; border:1px solid var(--border); color:var(--body); font:700 11px/1 Geist Mono,monospace; text-transform:uppercase; letter-spacing:.06em; }
.status-held { background:var(--well); }
.status-listed { background:var(--row-hi); }
.status-sold { background:color-mix(in srgb,var(--accent) 13%,var(--well)); }
.inventory-item .actions { margin-top:14px; }
.inventory-empty { margin:0; max-width:620px; }
.inventory-editor { margin-top:18px; }
/* Tracking shows only source-backed shipment facts; the empty state is an actionable setup surface. */
.tracking-view { max-width:1180px; }
.tracking-heading { display:flex; align-items:end; justify-content:space-between; gap:20px; margin:0 0 22px; }
.tracking-heading h2 { margin:3px 0 7px; }
.tracking-heading p:not(.eyebrow) { max-width:58ch; margin:0; }
.tracking-source-note { flex:0 0 auto; margin:0; padding:7px 10px; border:1px solid var(--border); border-radius:999px; color:var(--body) !important; font:800 10px/1.2 'Geist Mono',monospace; letter-spacing:.06em; text-transform:uppercase; }
.tracking-empty { display:grid; grid-template-columns:auto minmax(0,1fr) auto; align-items:center; gap:22px; padding:clamp(22px,4vw,36px); }
.tracking-empty-mark { display:grid; grid-template-columns:repeat(3,10px); align-items:end; gap:5px; width:54px; height:54px; padding:12px; border:2px solid var(--accent); border-radius:14px; background:var(--row-hi); box-shadow:4px 4px 0 var(--outline); }
.tracking-empty-mark span { display:block; border-radius:999px; background:var(--accent); }
.tracking-empty-mark span:nth-child(1) { height:15px; }.tracking-empty-mark span:nth-child(2) { height:29px; }.tracking-empty-mark span:nth-child(3) { height:21px; }
.tracking-empty-copy { min-width:0; }
.tracking-empty-copy .eyebrow { margin:0 0 3px; }
.tracking-empty-copy h3 { margin:0 0 6px; font-size:clamp(21px,2.3vw,30px); letter-spacing:-.03em; }
.tracking-empty-copy p:last-child { max-width:62ch; margin:0; }
.tracking-empty-actions { display:grid; gap:9px; min-width:190px; }
.tracking-empty-actions > * { width:100%; }
.tracking-what-next { display:grid; grid-template-columns:minmax(230px,.62fr) minmax(0,1.38fr); gap:22px; margin-top:30px; padding:0 2px; }
.tracking-section-heading h3 { margin:3px 0 8px; font-size:clamp(20px,2.2vw,28px); letter-spacing:-.03em; }
.tracking-section-heading p:last-child { margin:0; }
.tracking-fields { display:grid; gap:0; border-top:2px solid var(--outline); }
.tracking-field { display:grid; grid-template-columns:42px minmax(0,1fr) auto; align-items:center; gap:14px; padding:15px 0; border-bottom:1px solid var(--border); }
.tracking-field-index { color:var(--accent-text); font:800 12px/1 'Geist Mono',monospace; }
.tracking-field h4 { margin:0 0 3px; color:var(--text); font-size:16px; }
.tracking-field p { margin:0; font-size:13px; line-height:1.45; }
.tracking-unavailable { padding:5px 7px; border:1px solid var(--border); border-radius:999px; color:var(--body); font:800 9px/1 'Geist Mono',monospace; letter-spacing:.05em; text-transform:uppercase; white-space:nowrap; }
.tracking-help { display:flex; align-items:center; justify-content:space-between; gap:18px; margin:30px 0 0; padding:15px 0 0; border-top:1px solid var(--border); }
.tracking-help p { margin:0; font-size:13px; }
.tracking-help strong { color:var(--text); }
.tracking-help .button--quiet { flex:0 0 auto; text-decoration:underline; }
@media (max-width:760px) {
 .tracking-heading { align-items:flex-start; flex-direction:column; gap:10px; }
 .tracking-empty { grid-template-columns:1fr; gap:16px; }
 .tracking-empty-actions { grid-template-columns:1fr 1fr; min-width:0; }
 .tracking-what-next { grid-template-columns:1fr; gap:16px; margin-top:24px; }
 .tracking-help { align-items:flex-start; flex-direction:column; gap:6px; margin-top:24px; }
 .tracking-help .button--quiet { padding-inline:0; }
}
@media (max-width:460px) {
 .tracking-empty-actions { grid-template-columns:1fr; }
 .tracking-field { grid-template-columns:32px minmax(0,1fr); gap:9px; }
 .tracking-unavailable { grid-column:2; justify-self:start; }
}
/* Account and billing: one membership decision, with confirmed state before action. */
.account-view { max-width:1280px; }
.account-heading { align-items:flex-end; margin-bottom:18px; }
.account-heading h2 { margin-bottom:6px; }
.account-heading p { margin:0; max-width:58ch; }
.account-email { font:700 12px/1.4 'Geist Mono',monospace; color:var(--body) !important; overflow-wrap:anywhere; }
.billing-notice { margin:0 0 14px; padding:11px 13px; border:2px solid var(--accent); border-radius:var(--control-radius); background:var(--row-hi); color:var(--text) !important; font-weight:700; }
.billing-terminal { max-width:620px; margin:clamp(18px,4vw,46px) auto; }
.billing-terminal h3 { font-size:22px; }
.account-billing-shell { display:grid; gap:20px; }
.account-summary { display:grid; grid-template-columns:minmax(230px,.9fr) minmax(320px,1.4fr) minmax(220px,.72fr); gap:22px; align-items:center; }
.account-summary-copy h3 { margin:3px 0 6px; font-size:clamp(23px,2.4vw,32px); letter-spacing:-.03em; }
.account-summary-copy p:last-child { margin:0; }
.account-summary-stats { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
.account-stat { min-width:0; padding:13px 14px; border-left:2px solid var(--border); }
.account-stat span,.account-stat small { display:block; color:var(--body); }
.account-stat span { font:700 10px/1.35 'Geist Mono',monospace; letter-spacing:.08em; text-transform:uppercase; }
.account-stat strong { display:block; margin:5px 0 3px; color:var(--text); font-size:18px; overflow-wrap:anywhere; }
.account-stat small { font-size:12px; line-height:1.4; }
.account-summary-action { display:grid; gap:8px; justify-items:start; }
.account-summary-action .primary { width:100%; min-height:52px; }
.account-summary-action p { margin:0; font-size:12px; line-height:1.45; }
.account-billing-main { display:grid; grid-template-columns:minmax(0,1fr) minmax(230px,.32fr); gap:20px; align-items:start; }
.account-section-heading { display:flex; align-items:end; justify-content:space-between; gap:18px; margin:2px 0 12px; }
.account-section-heading h3 { margin:3px 0 0; font-size:21px; }
.account-section-heading > p { max-width:22ch; margin:0; font-size:13px; text-align:right; }
.plan-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; margin:0; }
.plan-card { display:flex; flex-direction:column; min-width:0; min-height:242px; padding:18px; border:2px solid var(--border); border-radius:14px; background:linear-gradient(180deg,var(--card1),var(--card2)); }
.plan-card.plan-current { border-color:var(--accent); box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--accent) 32%,transparent); }
.plan-card.plan-selected { border-color:var(--outline); box-shadow:0 4px 0 var(--outline); }
.plan-card.plan-unavailable { opacity:.76; background:var(--well); }
.plan-head { display:flex; align-items:flex-start; justify-content:space-between; gap:12px; }
.plan-head .eyebrow { margin:0 0 3px; font-size:10px; }
.plan-head h3 { margin:0; font-size:22px; }
.plan-card > p { margin:16px 0 0; }
.plan-card > .muted { margin-top:10px; font-size:12px; }
.plan-price { white-space:nowrap; color:var(--text); }
.plan-price strong { font-size:27px; letter-spacing:-.04em; }
.plan-price small { margin-left:4px; color:var(--body); }
.plan-card-footer { display:flex; align-items:center; min-height:44px; margin-top:auto; padding-top:16px; }
.plan-card-footer button { width:100%; }
.plan-badge { display:inline-flex; align-items:center; min-height:28px; padding:5px 8px; border:1px solid var(--accent); border-radius:999px; color:var(--accent-text); font:800 10px/1.1 'Geist Mono',monospace; letter-spacing:.05em; text-transform:uppercase; }
.plan-badge--muted { border-color:var(--border); color:var(--body); }
.account-help-rail { display:grid; gap:12px; }
.account-help { padding:18px !important; box-shadow:inset 0 1px 0 #ffffff29,0 4px 0 var(--outline) !important; }
.account-help h3 { margin:3px 0 8px; font-size:18px; }
.account-help p { margin:0 0 12px; font-size:13px; }
.account-help ol { display:grid; gap:9px; margin:12px 0 0; padding-left:20px; color:var(--body2); font-size:13px; line-height:1.45; }
.account-help .button-link { width:100%; min-height:44px; }
@media (max-width:1000px) {
 .account-summary { grid-template-columns:1fr 1fr; }
 .account-summary-action { grid-column:1 / -1; grid-template-columns:minmax(250px,360px) 1fr; align-items:center; }
 .account-summary-action p { max-width:46ch; }
 .account-billing-main { grid-template-columns:1fr; }
 .account-help-rail { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width:700px) {
 .account-heading { align-items:flex-start; flex-direction:column; gap:8px; }
 .account-heading h2 { font-size:28px; }
 .account-summary { display:flex; flex-direction:column; align-items:stretch; gap:16px; padding:20px !important; }
 .account-summary-copy { order:0; }
 .account-summary-action { order:1; display:grid; grid-template-columns:1fr; }
 .account-summary-stats { order:2; grid-template-columns:1fr 1fr; }
 .account-summary-action .primary { min-height:54px; }
 .account-section-heading { align-items:flex-start; flex-direction:column; gap:5px; margin-top:2px; }
 .account-section-heading > p { text-align:left; }
 .plan-grid { grid-template-columns:1fr; }
 .plan-card { min-height:0; }
 .plan-card > p { margin-top:10px; }
 .plan-card-footer { padding-top:12px; }
 .account-help-rail { grid-template-columns:1fr; }
}
.inventory-editor-heading { display:flex; justify-content:space-between; align-items:flex-start; gap:12px; }
.inventory-editor-heading h3 { margin:3px 0 0; }
.inventory-form-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
.inventory-editor textarea { min-height:104px; resize:vertical; }
@media (max-width:700px) {
  .inventory-view .heading,.inventory-item-main,.inventory-editor-heading { align-items:stretch; flex-direction:column; }
  .inventory-view .heading > .primary { width:100%; }
  .inventory-status { align-self:flex-start; }
  .inventory-form-grid { grid-template-columns:1fr; }
}

/* Paid Ash gate: free sessions never enter a live composer. */
.ash-upgrade { display:grid; gap:18px; max-width:1120px; margin:0 auto; }
.ash-upgrade-hero { text-align:center; padding:clamp(26px,5vw,52px); }
.ash-upgrade-hero img { border-radius:999px; border:3px solid var(--accent); box-shadow:0 0 30px color-mix(in srgb,var(--accent) 30%,transparent); }
.ash-upgrade-hero h2 { max-width:720px; margin:12px auto; }
.ash-upgrade-hero p { max-width:660px; margin:0 auto 18px; }
.ash-upgrade-plans { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; }
.ash-upgrade-plan { position:relative; display:flex; flex-direction:column; min-width:0; }
.ash-upgrade-plan.is-featured { border-color:var(--accent); box-shadow:inset 0 1px 0 #ffffff29,0 6px 0 var(--outline),0 0 32px color-mix(in srgb,var(--accent) 18%,transparent); }
.ash-popular { position:absolute; right:14px; top:12px; font:700 10px/1 'Geist Mono',monospace; letter-spacing:.08em; text-transform:uppercase; color:var(--accent-text); }
.ash-plan-head { display:flex; align-items:baseline; justify-content:space-between; gap:10px; }
.ash-plan-head p { margin:0; white-space:nowrap; }
.ash-plan-head strong { font-size:30px; color:var(--text); }
.ash-credit-count { margin-top:auto; padding-top:12px; border-top:1px solid var(--border); }
.ash-choose-plan { width:100%; margin-top:12px; }
.ash-upgrade-note { margin:0; text-align:center; font-size:13px; }
@media(max-width:760px) { .ash-upgrade-plans { grid-template-columns:1fr; } .ash-upgrade-hero { text-align:left; } .ash-upgrade-hero p { margin-left:0; } }

/* Real card identity, price evidence, and portfolio views. */
.watch-main { display:flex; align-items:flex-start; gap:18px; flex:1 1 520px; min-width:0; }
.watch-card-image { width:96px; height:128px; flex:0 0 96px; object-fit:contain; border:1px solid var(--border); border-radius:8px; background:var(--well); }
.watch-card-image-empty { display:grid; place-items:center; padding:8px; color:var(--body); font:700 10px/1.2 monospace; text-align:center; }
.watch .actions { flex:0 0 auto; }
.live-member .watches-hero { display:flex; justify-content:space-between; align-items:flex-end; gap:24px; margin:0 0 26px; }
.live-member .watches-hero > div { max-width:670px; }
.live-member .watches-hero h2 { margin-bottom:8px; }
.live-member .watches-hero p:not(.eyebrow) { margin:0; font-size:16px; }
.live-member .watches-workspace { display:grid; grid-template-columns:minmax(0,1fr) minmax(300px,.38fr); gap:18px; align-items:start; }
.live-member .watches-main { min-width:0; display:grid; gap:26px; }
.live-member .watch-inbox { min-width:0; }
.live-member .watch-section-head > span { color:var(--body); font:700 11px/1.4 'Geist Mono',monospace; letter-spacing:.06em; text-transform:uppercase; }
.live-member .watch-list { margin:14px 0 0; gap:8px; }
.live-member .watch-inbox-row { width:100%; display:grid; grid-template-columns:50px minmax(0,1fr) auto; align-items:center; gap:12px; min-height:76px; padding:10px; border:1px solid var(--border); border-radius:12px; background:var(--panel); box-shadow:none; text-align:left; text-transform:none; }
.live-member .watch-inbox-row:hover { transform:none; }
.live-member .watch-inbox-row.is-selected { border:2px solid var(--accent); background:linear-gradient(90deg,color-mix(in srgb,var(--accent) 11%,var(--panel)),var(--panel)); box-shadow:inset 4px 0 0 var(--accent); }
.live-member .watch-inbox-image { width:50px; height:56px; object-fit:contain; border-radius:7px; background:var(--well); border:1px solid var(--border); }
.live-member .watch-inbox-image-empty,.live-member .watch-detail-image-empty { display:grid; place-items:center; box-sizing:border-box; color:var(--body); font:700 8px/1.2 'Geist Mono',monospace; text-align:center; }
.live-member .watch-inbox-copy { min-width:0; display:grid; gap:2px; }
.live-member .watch-inbox-copy strong { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; color:var(--text); font-size:15px; }
.live-member .watch-inbox-copy span:last-child { color:var(--body); font-size:13px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.live-member .watch-inbox-meta { color:var(--accent-text); font:700 10px/1.25 'Geist Mono',monospace; letter-spacing:.04em; text-transform:uppercase; }
.live-member .watch-inbox-target { color:var(--text); font-weight:800; white-space:nowrap; font-size:13px; }
.live-member .watch-detail-rail { position:sticky; top:18px; min-width:0; padding:18px; }
.live-member .watch-detail-heading { display:grid; grid-template-columns:76px minmax(0,1fr); gap:14px; align-items:start; padding-bottom:16px; border-bottom:1px solid var(--border); }
.live-member .watch-detail-heading h3 { margin:2px 0 4px; font-size:19px; overflow-wrap:anywhere; }
.live-member .watch-detail-heading p:not(.eyebrow) { margin:0; font-size:13px; }
.live-member .watch-detail-image { width:76px; height:104px; object-fit:contain; border-radius:8px; background:var(--well); border:1px solid var(--border); }
.live-member .watch-detail-facts { display:grid; gap:10px; margin:16px 0; }
.live-member .watch-detail-facts div { display:grid; gap:2px; }
.live-member .watch-detail-facts dt { color:var(--body); font:700 10px/1.4 'Geist Mono',monospace; letter-spacing:.06em; text-transform:uppercase; }
.live-member .watch-detail-facts dd { margin:0; color:var(--text); font-size:14px; font-weight:700; overflow-wrap:anywhere; }
.live-member .watch-detail-evidence { border-top:1px solid var(--border); padding-top:16px; }
.live-member .watch-detail-section-head { display:flex; align-items:baseline; justify-content:space-between; gap:10px; }
.live-member .watch-detail-section-head h4 { margin:0; font-size:14px; }
.live-member .watch-detail-section-head time { color:var(--body); font-size:11px; text-align:right; }
.live-member .watch-detail-results { display:grid; gap:8px; list-style:none; padding:0; margin:12px 0 0; }
.live-member .watch-detail-results li { display:flex; align-items:center; justify-content:space-between; gap:10px; padding:10px; border:1px solid var(--border); border-radius:9px; background:var(--well); }
.live-member .watch-detail-results li > span { min-width:0; display:grid; gap:2px; }
.live-member .watch-detail-results strong { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-size:13px; }
.live-member .watch-detail-results small,.live-member .watch-detail-empty { color:var(--body); font-size:12px; line-height:1.45; }
.live-member .watch-detail-empty { padding:12px 0 0; }
.live-member .watch-detail-empty p { margin:0 0 6px; }
.live-member .watch-detail-actions { display:grid; grid-template-columns:1fr 1fr; gap:8px; margin-top:18px; padding-top:16px; border-top:1px solid var(--border); }
.live-member .watch-detail-actions .delete-watch { grid-column:1 / -1; }
.live-member .watches-empty { padding:28px; border:2px dashed var(--border); border-radius:14px; background:color-mix(in srgb,var(--panel) 85%,transparent); }
.live-member .watches-empty h3,.live-member .watches-empty p { max-width:42ch; }
.live-member .watches-empty .primary { margin-top:6px; }
.live-member .watches-empty-rail { min-height:230px; }
@media(max-width:850px) { .live-member .watches-workspace { grid-template-columns:1fr; } .live-member .watch-detail-rail { position:static; } }
@media(max-width:620px) { .live-member .watches-hero { align-items:stretch; flex-direction:column; } .live-member .watches-hero .primary { width:100%; } .live-member .watch-inbox-row { grid-template-columns:44px minmax(0,1fr); } .live-member .watch-inbox-image { width:44px; height:52px; } .live-member .watch-inbox-target { grid-column:2; margin-top:-2px; color:var(--body); } .live-member .watch-detail-results li { align-items:stretch; flex-direction:column; } .live-member .watch-detail-results .button-link { width:100%; } }
.sales-chart { margin:12px 0; padding:10px; border:1px solid var(--border); border-radius:10px; background:var(--panel); }
.sales-chart svg { width:100%; height:150px; overflow:visible; }
.sales-chart.is-compact { max-width:360px; padding:6px; }
.sales-chart.is-compact svg { height:76px; }
.chart-axis { stroke:var(--border); stroke-width:2; }
.chart-line { fill:none; stroke:var(--accent); stroke-width:4; stroke-linecap:round; stroke-linejoin:round; }
.chart-point { fill:var(--panel); stroke:var(--accent); stroke-width:3; }
.sales-chart figcaption { color:var(--body); font:700 10px/1.4 'Geist Mono',monospace; letter-spacing:.06em; text-transform:uppercase; }
.grade-comparison { margin:14px 0; border:2px solid var(--border); border-radius:10px; padding:10px 12px; }
.grade-comparison summary { cursor:pointer; font-weight:800; }
.grade-table-wrap { overflow:auto; max-height:260px; margin-top:10px; }
.grade-comparison table { width:100%; border-collapse:collapse; }
.grade-comparison th,.grade-comparison td { padding:8px; text-align:left; border-bottom:1px solid var(--border); }
.ebay-research-link { display:inline-flex; margin-top:8px; font-weight:800; color:var(--accent-text); }
.portfolio-summary { display:grid; grid-template-columns:minmax(220px,.7fr) minmax(0,1.3fr); gap:20px; align-items:center; margin-bottom:18px; }
.portfolio-summary > div > strong { display:block; font-size:clamp(30px,5vw,54px); color:var(--text); letter-spacing:-.04em; }
.portfolio-summary dl { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:10px; margin:0; }
.portfolio-summary dl div { padding:10px; border-left:2px solid var(--border); }
.portfolio-summary dt { color:var(--body); font-size:12px; }
.portfolio-summary dd { margin:4px 0 0; font-size:18px; font-weight:800; }
.portfolio-search { max-width:640px; margin:0 0 18px; }
.portfolio-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; }
.portfolio-card { display:flex; flex-direction:column; min-width:0; }
.portfolio-research { display:grid !important; grid-template-columns:110px minmax(0,1fr); gap:14px; align-items:start; width:100%; min-height:0 !important; padding:0 !important; border:0 !important; background:transparent !important; text-align:left; }
.portfolio-research:disabled { cursor:default; opacity:1; }
.portfolio-image { width:110px; height:150px; object-fit:contain; border-radius:8px; background:var(--well); }
.portfolio-image-empty { display:grid; place-items:center; padding:8px; color:var(--body); font:700 10px/1.2 monospace; text-align:center; }
.portfolio-card-copy { display:flex; flex-direction:column; gap:7px; min-width:0; }
.portfolio-card-copy > strong { color:var(--text); font-size:18px; overflow-wrap:anywhere; }
.grade-badge { align-self:flex-start; padding:5px 8px; border:1px solid var(--accent); border-radius:999px; color:var(--accent-text); font:800 11px/1 'Geist Mono',monospace; }
.portfolio-values { display:grid; grid-template-columns:1fr auto; gap:4px 10px; align-items:end; margin-top:14px; padding-top:12px; border-top:1px solid var(--border); }
.portfolio-values small { grid-column:2; }
.value-up { color:#087f5b; }
.value-down { color:#c63858; }
@media(max-width:980px) { .portfolio-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } .portfolio-summary { grid-template-columns:1fr; } .portfolio-summary dl { grid-template-columns:repeat(3,minmax(0,1fr)); } }
@media(max-width:620px) { .portfolio-grid { grid-template-columns:1fr; } .portfolio-summary dl { grid-template-columns:repeat(2,minmax(0,1fr)); } .watch-main { flex-direction:column; } .watch-card-image { width:120px; height:160px; } .portfolio-research { grid-template-columns:92px minmax(0,1fr); } .portfolio-image { width:92px; height:126px; } }

/* Collection is a compact portfolio workspace: one real list, evidence in context. */
.inventory-view { max-width:1280px; }
.collection-heading { display:flex; align-items:flex-end; justify-content:space-between; gap:20px; margin-bottom:18px; }
.collection-heading h2 { margin:4px 0 7px; font-size:clamp(31px,4vw,52px); letter-spacing:-.045em; }
.collection-heading p:last-child { max-width:58ch; margin:0; }
.collection-summary { display:grid; grid-template-columns:minmax(220px,.7fr) minmax(0,1.6fr); gap:22px; align-items:center; margin-bottom:16px; padding:20px !important; }
.collection-summary-primary > p { margin:0; }
.collection-summary-primary > strong { display:block; margin:5px 0 7px; font-size:clamp(28px,4vw,46px); line-height:1; letter-spacing:-.05em; }
.collection-summary-primary > p:last-child { color:var(--body); font-size:13px; line-height:1.4; }
.collection-summary dl { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:8px; margin:0; }
.collection-summary dl > div { min-width:0; padding:8px 10px; border-left:2px solid var(--border); }
.collection-summary dt { color:var(--body); font:700 10px/1.35 'Geist Mono',monospace; letter-spacing:.06em; text-transform:uppercase; }
.collection-summary dd { margin:5px 0 2px; color:var(--text); font-size:17px; font-weight:800; overflow-wrap:anywhere; }
.collection-summary small { display:block; color:var(--body); font-size:11px; line-height:1.3; }
.collection-workspace { display:grid; grid-template-columns:minmax(0,1fr) minmax(255px,.32fr); gap:16px; align-items:start; }
.collection-list-panel { align-self:start; min-width:0; min-height:0; height:auto; padding:0 !important; overflow:hidden; }
.collection-list-toolbar { display:grid; grid-template-columns:minmax(0,1fr) 172px; gap:12px; align-items:end; padding:16px; border-bottom:1px solid var(--border); }
.collection-list-toolbar label { display:grid; gap:6px; margin:0; color:var(--body); font:700 11px/1.2 'Geist Mono',monospace; letter-spacing:.04em; text-transform:uppercase; }
.collection-list-toolbar input,.collection-list-toolbar select { min-height:42px; padding:9px 11px; border:1px solid var(--border); border-radius:8px; background:var(--well); color:var(--text); font:600 14px/1.2 Geist,sans-serif; text-transform:none; letter-spacing:normal; }
.collection-table-label,.collection-row-select { display:grid; grid-template-columns:minmax(250px,1.75fr) minmax(74px,.45fr) minmax(120px,.7fr) minmax(135px,.8fr); gap:12px; align-items:center; }
.collection-table-label { padding:10px 16px; border-bottom:1px solid var(--border); color:var(--body); font:700 10px/1.2 'Geist Mono',monospace; letter-spacing:.07em; text-transform:uppercase; }
.collection-table-label span:first-child { padding-left:68px; }
.collection-table { display:grid; max-height:min(58vh,560px); overflow-y:auto; overscroll-behavior:contain; }
.collection-row { display:grid; grid-template-columns:minmax(0,1fr) auto; min-width:0; border-bottom:1px solid var(--border); background:transparent; }
.collection-row:last-child { border-bottom:0; }
.collection-row.is-selected { background:color-mix(in srgb,var(--accent) 7%,var(--panel)); box-shadow:inset 3px 0 0 var(--accent); }
.collection-row-select { width:100%; min-height:84px !important; padding:10px 16px !important; border:0 !important; border-radius:0 !important; background:transparent !important; box-shadow:none !important; color:inherit !important; text-align:left !important; }
.collection-row-select:hover { background:var(--row-hi) !important; }
.collection-thumb { width:52px; height:64px; grid-row:1 / span 2; object-fit:contain; border:1px solid var(--border); border-radius:6px; background:var(--well); }
.collection-thumb-empty { display:grid; place-items:center; padding:5px; color:var(--body); font:700 9px/1.15 'Geist Mono',monospace; text-align:center; }
.collection-row-identity { display:grid; gap:3px; min-width:0; }
.collection-row-identity strong { overflow:hidden; color:var(--text); font-size:15px; text-overflow:ellipsis; white-space:nowrap; }
.collection-row-identity span { overflow:hidden; color:var(--body); font-size:12px; text-overflow:ellipsis; white-space:nowrap; }
.collection-row-grade { justify-self:start; padding:5px 7px; border:1px solid var(--accent); border-radius:999px; color:var(--accent-text); font:800 10px/1 'Geist Mono',monospace; white-space:nowrap; }
.collection-row-state,.collection-row-value { display:grid; gap:4px; justify-items:start; min-width:0; }
.collection-status { display:inline-flex; align-items:center; min-height:24px; padding:4px 7px; border:1px solid var(--border); border-radius:999px; color:var(--body); font:800 10px/1 'Geist Mono',monospace; letter-spacing:.04em; text-transform:uppercase; white-space:nowrap; }
.collection-row-state small,.collection-row-value small { color:var(--body); font-size:11px; line-height:1.25; }
.collection-row-value { justify-items:end; text-align:right; }
.collection-row-value strong { color:var(--text); font-size:14px; }
.collection-row-actions { display:flex; align-items:center; gap:4px; padding:10px 12px 10px 0; }
.collection-row-actions button { min-height:36px !important; padding:6px 8px !important; font-size:11px !important; }
.collection-no-results { margin:0; padding:28px 16px; color:var(--body); }
.collection-research-rail { position:sticky; top:14px; min-width:0; padding:18px !important; }
.collection-research-rail .eyebrow { margin:0 0 10px; }
.collection-rail-image { display:block; width:100%; height:176px; object-fit:contain; border:1px solid var(--border); border-radius:9px; background:var(--well); }
.collection-rail-image-empty { display:grid; place-items:center; padding:12px; color:var(--body); font:700 11px/1.25 'Geist Mono',monospace; text-align:center; }
.collection-research-rail h3 { margin:14px 0 4px; font-size:21px; line-height:1.12; overflow-wrap:anywhere; }
.collection-rail-set { margin:0; color:var(--body); font-size:13px; }
.collection-research-rail dl { display:grid; gap:0; margin:16px 0 0; border-top:1px solid var(--border); }
.collection-research-rail dl > div { display:grid; grid-template-columns:84px minmax(0,1fr); gap:8px; padding:9px 0; border-bottom:1px solid var(--border); }
.collection-research-rail dt { color:var(--body); font:700 10px/1.3 'Geist Mono',monospace; letter-spacing:.05em; text-transform:uppercase; }
.collection-research-rail dd { margin:0; color:var(--text); font-size:13px; font-weight:700; overflow-wrap:anywhere; }
.collection-rail-notes { margin:14px 0 0; color:var(--body); font-size:13px; line-height:1.45; white-space:pre-wrap; }
.collection-rail-actions { display:grid; gap:8px; margin-top:16px; }
.collection-rail-actions button { width:100%; }
.collection-rail-actions .muted { margin:0; font-size:12px; line-height:1.4; }
@media(max-width:1050px) {
  .collection-summary { grid-template-columns:1fr; }
  .collection-workspace { grid-template-columns:minmax(0,1fr) 260px; }
  .collection-table-label,.collection-row-select { grid-template-columns:minmax(210px,1.6fr) minmax(66px,.4fr) minmax(96px,.6fr) minmax(112px,.7fr); gap:8px; }
}
@media(max-width:760px) {
  .collection-heading { align-items:flex-start; flex-direction:column; gap:12px; }
  .collection-heading .actions { width:100%; }
  .collection-heading .actions button { flex:1 1 150px; }
  .collection-summary { padding:16px !important; }
  .collection-summary dl { grid-template-columns:repeat(3,minmax(0,1fr)); }
  .collection-workspace { grid-template-columns:1fr; }
  .collection-research-rail { position:static; display:grid; grid-template-columns:110px minmax(0,1fr); gap:0 14px; }
  .collection-research-rail .eyebrow,.collection-rail-image { grid-column:1; }
  .collection-research-rail h3,.collection-rail-set,.collection-research-rail dl,.collection-rail-notes,.collection-rail-actions { grid-column:2; }
  .collection-research-rail .eyebrow { align-self:end; margin-bottom:8px; }
  .collection-rail-image { grid-row:2 / span 4; height:150px; }
  .collection-research-rail h3 { margin:0 0 4px; }
  .collection-research-rail dl { margin-top:12px; }
  .collection-research-rail dl > div { grid-template-columns:74px minmax(0,1fr); }
}
@media(max-width:560px) {
  .collection-summary dl { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .collection-list-toolbar { grid-template-columns:1fr; gap:10px; }
  .collection-table-label { display:none; }
  .collection-row { grid-template-columns:1fr; }
  .collection-row-select { grid-template-columns:48px minmax(0,1fr); gap:10px; min-height:76px !important; padding:10px 12px !important; }
  .collection-thumb { width:48px; height:58px; grid-row:1 / span 3; }
  .collection-thumb-empty { font-size:7px; overflow-wrap:anywhere; }
  .collection-row-identity { grid-column:2; }
  .collection-row-identity strong { overflow:visible; line-height:1.18; text-overflow:clip; white-space:normal; }
  .collection-row-grade { grid-column:2; grid-row:2; }
  .collection-row-state { grid-column:2; grid-row:3; display:flex; align-items:center; gap:7px; }
  .collection-row-value { display:none; }
  .collection-row-actions { justify-content:flex-end; padding:0 12px 10px; }
  .collection-row-actions button { min-width:58px; }
  .collection-research-rail { grid-template-columns:86px minmax(0,1fr); padding:14px !important; gap:0 12px; }
  .collection-rail-image { height:126px; }
  .collection-research-rail dl > div { grid-template-columns:1fr; gap:3px; }
  .collection-rail-actions { grid-column:1 / -1; }
  .collection-table { max-height:none; overflow:visible; }
}

.overview-heading-actions { display:flex; align-items:center; gap:9px; flex-wrap:wrap; justify-content:flex-end; }
.overview-ebay-chip { font-size:12px; }
.overview-ebay-chip--live { display:inline-flex; align-items:center; min-height:40px; padding:8px 12px; border:1px solid color-mix(in srgb,var(--up) 45%,var(--border)); border-radius:999px; background:color-mix(in srgb,var(--up) 12%,var(--well)); color:var(--text); font-size:12px; font-weight:700; }
.overview-prompt-chips { display:flex; flex-direction:column; gap:8px; margin-top:14px; }
.overview-prompt-chip { width:100%; text-align:left; min-height:40px; padding:10px 12px; border:1px dashed var(--border); border-radius:10px; background:transparent; color:var(--body); font-size:12px; font-weight:650; cursor:pointer; }
.overview-prompt-chip:hover { border-style:solid; border-color:var(--accent); color:var(--text); background:color-mix(in srgb,var(--accent) 8%,var(--well)); }
@media(max-width:700px) {
  .overview-heading-actions { width:100%; display:grid; grid-template-columns:1fr; }
  .overview-heading-actions > * { width:100%; }
}

.inventory-empty-actions { display:flex; flex-wrap:wrap; gap:10px; margin-top:16px; }
.collection-status-filters { display:flex; flex-wrap:wrap; gap:8px; margin:0 0 12px; }
.collection-status-chip { min-height:34px; padding:6px 12px; border:1px solid var(--border); border-radius:999px; background:transparent; color:var(--body); font-size:12px; font-weight:700; cursor:pointer; }
.collection-status-chip.is-active { border-color:var(--accent); background:color-mix(in srgb,var(--accent) 14%,var(--well)); color:var(--text); }
.collection-rail-actions { display:flex; flex-direction:column; gap:8px; }
.collection-rail-actions > button { width:100%; }
