/* SampleNova v0.11 — readable production UI, concept/function naming and scoped sharing. */

:root {
  --v11-night: #0a090d;
  --v11-sidebar: #0e0c12;
  --v11-panel: #151219;
  --v11-card: #1b1720;
  --v11-field: #100d14;
  --v11-paper: #f5f0e8;
  --v11-copy: #c8c0ca;
  --v11-muted: #9b929e;
  --v11-dim: #79717d;
  --v11-line: rgba(245, 240, 232, .12);
  --v11-pink: #ff4fa3;
  --v11-pink-soft: #ff9fce;
  --v11-violet: #6f48ff;
  --v11-violet-soft: #af9cff;
  --v11-yellow: #e9f45b;
  --v11-amber: #ffc46e;
  --v11-body: 15px;
  --v11-control: 14px;
  --v11-small: 12px;
}

/* Main shell and navigation */
.workspace-shell {
  grid-template-columns: 276px minmax(0, 1fr);
  color: var(--v11-paper);
  background: var(--v11-night);
  font-size: var(--v11-body);
}

.workspace-sidebar {
  padding: 18px 14px;
  background:
    radial-gradient(circle at 12% 0%, rgba(255, 79, 163, .11), transparent 24%),
    radial-gradient(circle at 86% 92%, rgba(111, 72, 255, .18), transparent 32%),
    var(--v11-sidebar);
}

.workspace-brand {
  gap: 13px;
  min-height: 76px;
  margin-bottom: 14px;
  padding: 13px;
  border: 1px solid rgba(255, 159, 206, .2);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(111, 72, 255, .13), rgba(255, 79, 163, .055));
  box-shadow: inset 0 1px rgba(255, 255, 255, .04);
}

.workspace-logo {
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  border-color: rgba(255, 159, 206, .38);
  background:
    radial-gradient(circle at 34% 25%, rgba(255, 255, 255, .1), transparent 34%),
    #17121d;
  box-shadow: inset 0 0 0 5px #100c14, 0 0 24px rgba(111, 72, 255, .2);
}

.workspace-logo .samplepath-mark { width: 37px; height: 37px; }
.workspace-brand-copy { min-width: 0; }
.workspace-brand strong { color: var(--v11-paper); font-size: 18px; font-weight: 500; letter-spacing: -.035em; }
.workspace-brand small { margin-top: 4px; color: var(--v11-muted); font-size: 12px; font-weight: 400; letter-spacing: .015em; }

.workspace-nav { gap: 6px; }
.workspace-nav-item,
.workspace-guide-link {
  min-height: 62px;
  grid-template-columns: 30px minmax(0, 1fr) auto;
  gap: 10px;
  padding: 10px 12px;
  color: #aaa2ae;
  border: 1px solid transparent;
  border-radius: 15px;
  font-size: 14px;
}

.workspace-nav-item:hover,
.workspace-nav-item.is-active,
.workspace-guide-link:hover,
.workspace-guide-link.is-active {
  color: var(--v11-paper);
  border-color: rgba(175, 156, 255, .2);
  background: linear-gradient(90deg, rgba(111, 72, 255, .18), rgba(255, 79, 163, .055));
}

.workspace-nav-item.is-active { box-shadow: inset 3px 0 var(--v11-pink); }
.nav-glyph { display: grid; width: 28px; height: 28px; place-items: center; color: var(--v11-pink-soft); font-size: 20px; }
.workspace-nav-item:nth-child(2) .nav-glyph { color: var(--v11-yellow); }
.workspace-nav-item:nth-child(3) .nav-glyph { color: var(--v11-violet-soft); }
.workspace-nav-item:nth-child(4) .nav-glyph { color: var(--v11-amber); }
.workspace-nav-item:nth-child(5) .nav-glyph { color: var(--v11-pink-soft); }
.nav-copy { min-width: 0; display: grid; gap: 2px; }
.nav-copy strong { overflow: hidden; color: inherit; font-size: 14px; font-weight: 550; letter-spacing: -.012em; text-overflow: ellipsis; white-space: nowrap; }
.nav-copy small { overflow: hidden; color: var(--v11-muted); font-size: 12px; font-weight: 400; text-overflow: ellipsis; white-space: nowrap; }
.workspace-nav-item > em { min-width: 24px; padding: 4px 6px; color: var(--v11-paper); border: 1px solid rgba(233, 244, 91, .2); border-radius: 999px; background: rgba(233, 244, 91, .08); font-size: 12px; font-style: normal; text-align: center; }

.workspace-sidebar-bottom { display: grid; gap: 10px; }
.workspace-guide-link { grid-template-columns: 30px minmax(0, 1fr); margin-bottom: 0; }
.account-card {
  min-height: 68px;
  grid-template-columns: 40px minmax(0, 1fr) auto;
  gap: 10px;
  margin: 0;
  padding: 12px;
  border-color: rgba(255, 196, 110, .16);
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(255, 196, 110, .065), rgba(255, 79, 163, .045));
}
.account-card:hover { border-color: rgba(255, 159, 206, .3); background: rgba(255, 255, 255, .06); }
.account-card .avatar { width: 40px; height: 40px; }
.avatar { font-size: 12px; }
.account-card strong { color: var(--v11-paper); font-size: 14px; font-weight: 550; }
.account-card small { margin-top: 3px; color: var(--v11-muted); font-size: 12px; line-height: 1.3; }
.account-card > b { color: var(--v11-pink-soft); font-size: 20px; font-weight: 300; }
.version-note { gap: 4px; padding: 10px 12px; color: var(--v11-dim); border-radius: 13px; font-size: 12px; }
.version-note strong { color: var(--v11-muted); font-weight: 500; }

/* Readable workspace type scale */
.workspace-body { background: radial-gradient(circle at 95% 0%, rgba(111, 72, 255, .12), transparent 32%), var(--v11-panel); }
.workspace-topbar { min-height: 70px; padding: 12px 24px; background: rgba(14, 12, 18, .9); }
.workspace-context { color: var(--v11-muted); font-size: 13px; }
.workspace-content { padding: 38px clamp(26px, 4vw, 60px) 64px; }
.workspace-shell .eyebrow,
.modal-card .eyebrow { color: var(--v11-pink-soft); font-size: 12px; font-weight: 500; letter-spacing: .1em; }
.page-header { align-items: flex-end; margin-bottom: 30px; }
.page-header h1 { margin: 5px 0 10px; color: var(--v11-paper); font-size: clamp(44px, 4.4vw, 60px); font-weight: 300; letter-spacing: -.06em; line-height: .98; }
.page-header p { max-width: 760px; color: var(--v11-muted); font-size: 15px; line-height: 1.62; }
.page-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 9px; }

.workspace-shell .button,
.modal-card .button { min-height: 44px; padding: 10px 16px; border-radius: 13px; font-size: 14px; font-weight: 500; }
.workspace-shell .button--primary,
.modal-card .button--primary { color: #100c14; background: var(--v11-pink); box-shadow: 0 8px 24px rgba(255, 79, 163, .14); }
.workspace-shell .button--primary:hover,
.modal-card .button--primary:hover { background: var(--v11-pink-soft); }
.workspace-shell .button--quiet,
.modal-card .button--quiet { color: var(--v11-copy); border-color: var(--v11-line); background: rgba(255, 255, 255, .035); }

.summary-strip { gap: 12px; margin-bottom: 22px; }
.summary-card { min-height: 88px; padding: 18px 19px; border-radius: 18px; }
.summary-card:nth-child(1) { border-top: 2px solid var(--v11-pink); }
.summary-card:nth-child(2) { border-top: 2px solid var(--v11-violet-soft); }
.summary-card:nth-child(3) { border-top: 2px solid var(--v11-yellow); }
.summary-card:nth-child(4) { border-top: 2px solid var(--v11-amber); }
.summary-card strong { margin-bottom: 6px; color: var(--v11-paper); font-size: 30px; font-weight: 350; }
.summary-card span { color: var(--v11-muted); font-size: 12px; }

/* Galaxy map and controls */
.sample-sky { border-color: var(--v11-line); border-radius: 24px; background: #100d14; }
.sample-sky-head { align-items: flex-start; padding: 22px 24px 18px; }
.sample-sky-head h2 { margin-top: 6px; color: var(--v11-paper); font-size: 26px; font-weight: 400; letter-spacing: -.035em; }
.sky-legend { display: grid; grid-template-columns: auto auto; gap: 7px 12px; min-width: 310px; padding: 12px 14px; border: 1px solid var(--v11-line); border-radius: 14px; background: rgba(255, 255, 255, .03); }
.sky-legend > strong { grid-column: 1 / -1; color: var(--v11-paper); font-size: 12px; font-weight: 550; }
.sky-legend span { display: flex; align-items: center; gap: 7px; color: var(--v11-muted); font-size: 12px; }
.sky-legend b { display: inline-grid; width: 14px; height: 14px; place-items: center; flex: 0 0 auto; }
.key-project::before { content: ""; width: 14px; height: 2px; background: var(--v11-violet-soft); }
.key-cluster { border: 1px dashed var(--v11-yellow); border-radius: 50%; }
.key-rights { color: var(--v11-pink); border: 1px solid rgba(255,79,163,.34); border-radius: 50%; }
.sample-sky-canvas { min-height: 290px; background-image: radial-gradient(circle at 15% 22%, rgba(245,240,232,.56) 0 1px, transparent 1.4px), radial-gradient(circle at 76% 70%, rgba(255,159,206,.48) 0 1px, transparent 1.5px), radial-gradient(circle at 48% 40%, rgba(233,244,91,.34) 0 1px, transparent 1.5px); background-size: 43px 47px, 67px 61px, 89px 83px; }
.sample-star-label { max-width: 240px; padding: 9px 11px; }
.sample-star-label strong { font-size: 12px; }
.sample-star-label small { margin-top: 3px; font-size: 12px; }
.sky-map-label { padding: 6px 9px; font-size: 12px; }
.sample-sky-foot { padding: 14px 22px; font-size: 13px; line-height: 1.5; }
.sample-sky-foot small { font-size: 12px; }

.library-quickbar { gap: 8px; margin-bottom: 12px; padding: 10px 12px; border-radius: 15px; }
.library-quickbar > span { font-size: 12px; }
.library-quickbar > small { color: var(--v11-dim); font-size: 12px; }
.quick-filter { min-height: 36px; padding: 7px 12px; color: var(--v11-copy); border-radius: 999px; font-size: 13px; }
.quick-filter:nth-of-type(1).is-active { color: #120e16; border-color: var(--v11-pink); background: var(--v11-pink); }
.quick-filter:nth-of-type(2).is-active { color: #120e16; border-color: var(--v11-amber); background: var(--v11-amber); }
.quick-filter:nth-of-type(3).is-active { color: #120e16; border-color: var(--v11-yellow); background: var(--v11-yellow); }
.quick-filter:nth-of-type(4).is-active { color: white; border-color: var(--v11-violet); background: var(--v11-violet); }

.library-toolbar { grid-template-columns: minmax(250px, 1.5fr) repeat(4, minmax(132px, .72fr)); gap: 9px; }
.library-search-control,
.filter-control { min-width: 0; min-height: 56px; position: relative; display: grid; align-content: center; padding: 7px 12px; border: 1px solid var(--v11-line); border-radius: 15px; background: var(--v11-field); }
.library-search-control { grid-template-columns: 24px minmax(0, 1fr); align-items: center; }
.filter-icon { color: var(--v11-pink-soft); font-size: 19px; }
.filter-control::before { content: ""; position: absolute; left: 12px; right: 12px; top: 0; height: 2px; border-radius: 99px; background: var(--v11-violet-soft); opacity: .76; }
.filter-control--collection::before { background: var(--v11-yellow); }
.filter-control--evidence::before { background: var(--v11-pink); }
.filter-control--project::before { background: var(--v11-amber); }
.filter-control > span { color: var(--v11-dim); font-size: 12px; line-height: 1.1; }
.library-search-control .search-field,
.filter-control .filter-select { min-height: 30px; padding: 2px 26px 0 0; color: var(--v11-paper) !important; border: 0 !important; border-radius: 0; background-color: transparent !important; font-size: 14px; }
.library-search-control .search-field { width: 100%; padding: 0; }

/* Dense sample rows remain readable. */
.asset-list { gap: 10px; }
.asset-row { min-height: 86px; grid-template-columns: 58px minmax(210px, 1.3fr) minmax(180px, 1fr) minmax(190px, .9fr) auto; gap: 16px; padding: 13px 15px; border-radius: 18px; }
.asset-art { width: 58px; height: 58px; border-radius: 15px; }
.asset-primary strong { margin-bottom: 5px; font-size: 15px; font-weight: 550; }
.asset-primary span,
.asset-secondary span,
.asset-evidence span { color: var(--v11-muted); font-size: 12px; line-height: 1.4; }
.asset-secondary strong,
.asset-evidence strong { color: var(--v11-copy); font-size: 13px; font-weight: 500; line-height: 1.35; }
.status-pill,
.file-state { min-height: 27px; padding: 5px 9px; font-size: 12px !important; font-weight: 500; }
.row-arrow { color: var(--v11-pink-soft); font-size: 24px; }

/* Folder cards and descriptions */
.project-card,
.panel-card,
.guide-card,
.collection-card { border-radius: 22px; }
.project-card,
.panel-card,
.guide-card { padding: 22px; }
.project-card h2,
.panel-card h2,
.guide-card h2,
.collection-copy h2 { font-size: 23px; font-weight: 450; letter-spacing: -.035em; }
.project-card p,
.panel-card > p,
.guide-card p,
.collection-copy p { color: var(--v11-muted); font-size: 14px; line-height: 1.58; }
.project-properties span,
.tag-row span,
.queue-legend span { padding: 7px 10px; font-size: 12px; }

.chat-bubble { font-size: 13px; line-height: 1.5; }
.prompt-suggestions button { min-height: 35px; padding: 7px 10px; font-size: 12px; }
.mission-check-list strong { font-size: 13px; }
.mission-check-list small,
.mission-check-list em { font-size: 12px; line-height: 1.4; }
.mission-check-list button { min-height: 68px; }

.concept-model-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.concept-model-grid > div { min-height: 112px; padding: 14px; }
.concept-model-grid strong { font-size: 13px; line-height: 1.35; }
.concept-model-grid small { font-size: 12px; line-height: 1.5; }
.guide-step { min-height: 60px; font-size: 13px; line-height: 1.55; }
.guide-step b { font-size: 12px; }
.guide-step span,
.guide-step strong { font-size: 13px; }
.rule-list li { min-height: 44px; font-size: 13px; line-height: 1.5; }
.rule-list li b,
.rule-list li span { font-size: 13px; }
.legend-item strong { font-size: 13px; }
.legend-item span { font-size: 12px; line-height: 1.5; }
.collection-art { min-height: 155px; }
.collection-copy { padding: 20px 20px 12px; }
.collection-copy p { min-height: 44px; }
.collection-foot { padding: 12px 20px 19px; }
.collection-foot > span { color: var(--v11-muted); font-size: 12px; }
.collection-detail-banner { grid-template-columns: minmax(230px, .6fr) minmax(300px, 1.4fr); border-radius: 22px; }
.collection-detail-banner strong { font-size: 32px; font-weight: 350; }
.collection-detail-banner p { max-width: 720px; color: var(--v11-muted); font-size: 14px; line-height: 1.58; }
.folder-overview { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 9px; margin: 13px 0 18px; }
.folder-overview > div { min-height: 76px; display: grid; align-content: center; gap: 5px; padding: 13px 15px; border: 1px solid var(--v11-line); border-radius: 15px; background: rgba(255, 255, 255, .03); }
.folder-overview > div:nth-child(1) { border-top-color: var(--v11-pink); }
.folder-overview > div:nth-child(2) { border-top-color: var(--v11-violet-soft); }
.folder-overview > div:nth-child(3) { border-top-color: var(--v11-yellow); }
.folder-overview > div:nth-child(4) { border-top-color: var(--v11-amber); }
.folder-overview span { color: var(--v11-dim); font-size: 12px; }
.folder-overview strong { color: var(--v11-copy); font-size: 13px; font-weight: 500; line-height: 1.4; }
.folder-overview--modal { margin-top: 0; }

/* The Station */
.station-grid { grid-template-columns: minmax(430px, .92fr) minmax(480px, 1.08fr); gap: 14px; }
.station-crew-card,
.station-community-card { min-height: 530px; }
.status-pill--warm { color: #17120a; background: var(--v11-yellow); }
.friend-chat-layout { display: grid; grid-template-columns: 170px minmax(0, 1fr); min-height: 350px; margin-top: 18px; overflow: hidden; border: 1px solid var(--v11-line); border-radius: 17px; background: #100d14; }
.friend-chat-list { padding: 8px; border-right: 1px solid var(--v11-line); }
.friend-chat-person { width: 100%; min-height: 64px; display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; align-items: center; gap: 9px; padding: 8px; color: var(--v11-copy); text-align: left; border: 1px solid transparent; border-radius: 12px; background: transparent; }
.friend-chat-person:hover,
.friend-chat-person.is-active { border-color: rgba(175,156,255,.22); background: rgba(111,72,255,.12); }
.friend-chat-person .avatar { width: 36px; height: 36px; }
.friend-chat-person span { min-width: 0; display: grid; gap: 2px; }
.friend-chat-person strong { overflow: hidden; font-size: 13px; font-weight: 550; text-overflow: ellipsis; white-space: nowrap; }
.friend-chat-person small { overflow: hidden; color: var(--v11-muted); font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.friend-chat-person i { display: grid; width: 21px; height: 21px; place-items: center; color: #100d14; border-radius: 50%; background: var(--v11-pink); font-size: 12px; font-style: normal; }
.avatar--violet { background: var(--v11-violet); }
.avatar--gold { color: #17120a; background: var(--v11-yellow); }
.friend-chat-panel { min-width: 0; display: grid; grid-template-rows: auto 1fr auto; }
.friend-chat-panel > header { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 13px 15px; border-bottom: 1px solid var(--v11-line); }
.friend-chat-panel > header span { display: grid; gap: 2px; }
.friend-chat-panel > header strong { font-size: 14px; }
.friend-chat-panel > header small { color: var(--v11-muted); font-size: 12px; }
.friend-chat-messages,
.modal-chat-history { display: grid; align-content: end; gap: 10px; padding: 16px; }
.friend-chat-messages p,
.modal-chat-history p { max-width: 88%; display: grid; gap: 3px; margin: 0; padding: 10px 12px; color: var(--v11-copy); border-radius: 13px 13px 13px 3px; background: #211b27; }
.friend-chat-messages p.is-mine,
.modal-chat-history p.is-mine { justify-self: end; border-radius: 13px 13px 3px 13px; background: rgba(111,72,255,.22); }
.friend-chat-messages b,
.modal-chat-history b { color: var(--v11-pink-soft); font-size: 12px; font-weight: 500; }
.friend-chat-messages span,
.modal-chat-history span { font-size: 13px; line-height: 1.45; }
.friend-chat-compose { display: grid; grid-template-columns: 1fr 38px; gap: 7px; padding: 11px; border-top: 1px solid var(--v11-line); }
.friend-chat-compose input,
.station-searchbar input,
.station-searchbar select { min-height: 40px; padding: 9px 11px; color: var(--v11-paper); border: 1px solid var(--v11-line); border-radius: 11px; background: #17131b; font-size: 13px; }
.friend-chat-compose button { color: #120e16; border: 0; border-radius: 11px; background: var(--v11-pink); font-size: 18px; }
.station-privacy-note { margin: 13px 0 0; color: var(--v11-dim); font-size: 12px; line-height: 1.5; }
.station-searchbar { display: grid; grid-template-columns: 1fr 160px; gap: 8px; margin: 18px 0 12px; }
.station-searchbar label { display: grid; }
.thread-list { gap: 8px; }
.thread-item { width: 100%; display: grid; gap: 4px; padding: 13px 14px; color: var(--v11-copy); text-align: left; border: 1px solid var(--v11-line); border-radius: 13px; background: #100d14; }
.thread-item:hover { border-color: rgba(255,159,206,.32); background: rgba(255,79,163,.045); }
.thread-item .thread-signal { width: max-content; padding: 3px 7px; color: #18120a; border-radius: 999px; background: var(--v11-yellow); font-size: 12px; }
.thread-item strong { font-size: 14px; font-weight: 550; line-height: 1.4; }
.thread-item span { color: var(--v11-muted); font-size: 12px; line-height: 1.4; }

/* Modal and rich sample records */
.modal-card { color: var(--v11-paper); border-color: var(--v11-line); border-radius: 24px; background: #151119; font-size: 15px; }
.modal-card--wide { width: min(1040px, calc(100vw - 34px)); }
.modal-header { margin-bottom: 18px; }
.modal-header h2 { margin-top: 5px; font-size: 34px; font-weight: 300; letter-spacing: -.045em; }
.modal-header p { max-width: 780px; color: var(--v11-muted); font-size: 14px; line-height: 1.55; }
.modal-card small { font-size: 12px; }
.detail-panel { padding: 18px; border-radius: 17px; }
.detail-panel h3 { margin-bottom: 10px; color: var(--v11-paper); font-size: 14px; font-weight: 550; }
.detail-panel p { color: var(--v11-muted); font-size: 14px; line-height: 1.58; }
.detail-pair { min-height: 42px; gap: 18px; padding: 9px 0; font-size: 13px; }
.detail-pair span:first-child { color: var(--v11-muted); }
.detail-pair strong { color: var(--v11-copy); font-size: 13px; font-weight: 500; line-height: 1.42; text-align: right; }
.asset-detail-hero { gap: 18px; padding: 18px; border-radius: 18px; }
.asset-detail-hero .asset-art { width: 76px; height: 76px; }
.asset-detail-hero h2 { margin-bottom: 6px; font-size: 27px; font-weight: 400; letter-spacing: -.035em; }
.asset-detail-hero p { margin-bottom: 10px; color: var(--v11-muted); font-size: 14px; }
.asset-attachment-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; margin-top: 11px; }
.attachment-card { min-width: 0; padding: 16px; border: 1px solid var(--v11-line); border-radius: 17px; background: #100d14; }
.attachment-card--audio.has-file { border-top-color: var(--v11-violet-soft); }
.attachment-card--proof.has-file { border-top-color: var(--v11-yellow); }
.attachment-card.is-empty { border-style: dashed; }
.attachment-card > header { display: grid; grid-template-columns: 38px minmax(0, 1fr) auto; align-items: center; gap: 10px; }
.attachment-icon { display: grid; width: 38px; height: 38px; place-items: center; color: var(--v11-pink-soft); border: 1px solid rgba(255,159,206,.22); border-radius: 11px; background: rgba(255,79,163,.07); font-size: 19px; }
.attachment-card > header > span:nth-child(2) { display: grid; gap: 2px; }
.attachment-card > header small { color: var(--v11-dim); }
.attachment-card > header strong { overflow: hidden; color: var(--v11-paper); font-size: 13px; font-weight: 550; text-overflow: ellipsis; white-space: nowrap; }
.attachment-file,
.evidence-file-list { display: grid; gap: 5px; margin-top: 14px; padding-top: 13px; border-top: 1px solid var(--v11-line); }
.attachment-file strong,
.evidence-file-list strong { overflow-wrap: anywhere; color: var(--v11-copy); font-size: 13px; font-weight: 500; }
.attachment-file span,
.evidence-file-list span { color: var(--v11-muted); font-size: 12px; }
.attachment-file small,
.evidence-file-list small { color: var(--v11-dim); }
.evidence-file-list > div { display: grid; gap: 3px; padding: 9px 0; border-bottom: 1px solid rgba(245,240,232,.07); }
.attachment-card > p { margin: 14px 0 0; color: var(--v11-muted); font-size: 13px; line-height: 1.5; }
.asset-notes-panel { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 11px; }
.asset-notes-panel > div + div { padding-left: 18px; border-left: 1px solid var(--v11-line); }
.modal-footer--context > div { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }

.share-builder { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 11px; }
.share-scope-card { grid-column: 1 / -1; display: grid; gap: 7px; padding: 16px; border: 1px solid rgba(233,244,91,.2); border-radius: 16px; background: rgba(233,244,91,.045); }
.share-scope-card strong { font-size: 15px; font-weight: 500; }
.share-scope-card p { margin: 0; color: var(--v11-muted); font-size: 13px; }
.share-result { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 9px; }
.share-result label { display: grid; gap: 6px; }
.share-result label > span { color: var(--v11-muted); font-size: 12px; }
.share-result input { min-height: 44px; padding: 10px 12px; color: var(--v11-copy); border: 1px solid var(--v11-line); border-radius: 12px; background: var(--v11-field); font-size: 13px; }
.question-asset-preview { grid-column: 1 / -1; min-height: 72px; display: flex; align-items: center; gap: 12px; padding: 12px; border: 1px dashed rgba(175,156,255,.28); border-radius: 15px; background: rgba(111,72,255,.05); }
.question-asset-preview .asset-art { width: 48px; height: 48px; flex: 0 0 auto; }
.question-asset-preview > span:last-child { min-width: 0; display: grid; gap: 4px; }
.question-asset-preview strong { overflow: hidden; font-size: 14px; text-overflow: ellipsis; white-space: nowrap; }
.question-asset-preview small,
.empty-question-asset { color: var(--v11-muted); font-size: 12px; }
.question-share-options { display: grid; gap: 8px; margin: 14px 0 0; padding: 15px; border: 1px solid var(--v11-line); border-radius: 15px; }
.question-share-options legend { padding: 0 6px; color: var(--v11-paper); font-size: 13px; }
.question-share-options label { color: var(--v11-copy); font-size: 13px; }
.question-share-options input { accent-color: var(--v11-pink); }
.question-share-options p { margin: 2px 0 0; color: var(--v11-muted); font-size: 12px; }
.modal-chat-history { min-height: 260px; margin-bottom: 12px; border: 1px solid var(--v11-line); border-radius: 16px; background: #100d14; }
.thread-answer-preview { display: grid; gap: 10px; margin: 12px 0; }
.thread-answer-preview article { display: grid; grid-template-columns: 38px 1fr; gap: 11px; padding: 14px; border: 1px solid var(--v11-line); border-radius: 15px; background: #100d14; }
.thread-answer-preview article div { display: grid; gap: 5px; }
.thread-answer-preview strong { color: var(--v11-pink-soft); font-size: 13px; }
.thread-answer-preview p { margin: 0; color: var(--v11-copy); font-size: 14px; line-height: 1.5; }
.thread-answer-preview small { color: var(--v11-muted); }
.boundary-note { color: var(--v11-muted); font-size: 12px; line-height: 1.55; }

.modal-card .field > span:first-child { color: var(--v11-copy); font-size: 13px; }
.modal-card .field input,
.modal-card .field select,
.modal-card .field textarea { min-height: 44px; color: var(--v11-paper); border-color: var(--v11-line); background: var(--v11-field); font-size: 14px; }
.field-help { color: var(--v11-muted); font-size: 12px; }
.account-hero { padding: 17px; border: 1px solid var(--v11-line); border-radius: 17px; background: #100d14; }
.account-hero strong { color: var(--v11-paper); font-size: 20px; font-weight: 450; }
.account-hero span,
.account-hero small { margin-top: 3px; color: var(--v11-muted); font-size: 13px; }
.account-hero--compact { margin-bottom: 12px; }
.friend-row strong { font-size: 14px; }
.friend-row small { color: var(--v11-muted); font-size: 12px; }
.inline-link { color: var(--v11-pink-soft); font-size: 13px; }

/* Floating companion: four destinations and a light star map. */
.companion { width: 52px; height: 258px; }
.dock-actions { gap: 6px; padding-bottom: 8px; }
.dock-action { width: 42px; height: 42px; border-color: rgba(255,159,206,.18); background: rgba(17,13,21,.96); }
.dock-action:hover,
.dock-action:focus-visible { border-color: rgba(255,159,206,.42); background: rgba(111,72,255,.26); }
.dock-tooltip { font-size: 12px; }
.station-icon { position: relative; width: 22px; height: 22px; display: block; border: 1px solid var(--v11-violet-soft); border-radius: 50%; }
.station-icon::before { content: ""; position: absolute; left: 3px; right: 3px; top: 10px; height: 1px; background: rgba(175,156,255,.65); transform: rotate(-18deg); }
.station-icon i { position: absolute; width: 4px; height: 4px; border-radius: 50%; background: var(--v11-pink-soft); box-shadow: 0 0 8px rgba(255,79,163,.45); }
.station-icon i:nth-child(1) { left: 3px; top: 5px; }
.station-icon i:nth-child(2) { right: 3px; top: 9px; background: var(--v11-yellow); }
.station-icon i:nth-child(3) { left: 8px; bottom: 3px; background: var(--v11-violet-soft); }
.capture-popover { background: rgba(17, 13, 21, .985); }
.capture-popover::after { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; border-radius: inherit; background-image: radial-gradient(circle at 12% 6%, rgba(255,255,255,.56) 0 1px, transparent 1.3px), radial-gradient(circle at 82% 12%, rgba(255,159,206,.48) 0 1px, transparent 1.4px), radial-gradient(circle at 48% 4%, rgba(233,244,91,.38) 0 1px, transparent 1.3px); background-size: 67px 59px, 83px 71px, 101px 89px; opacity: .52; mask-image: linear-gradient(to bottom, #000 0 150px, transparent 300px); }
.capture-popover > * { position: relative; z-index: 1; }
.capture-header h1 { font-size: 33px; }
.capture-popover .eyebrow { font-size: 12px; }
.capture-popover small,
.capture-popover .source-chip,
.capture-popover .field--target > span:first-child,
.capture-popover .tag-bank summary,
.capture-popover .state-choice span { font-size: 12px; }
.capture-popover .detected-copy strong { font-size: 15px; }
.capture-popover .detected-copy span,
.capture-popover .url-row,
.capture-popover .capture-kind-heading small,
.capture-popover .capture-kind-help,
.capture-popover .mode-tab small,
.capture-popover .context-summary,
.capture-popover .context-card p,
.capture-popover #voice-status,
.capture-popover .microcopy,
.capture-popover .boundary-note,
.capture-popover .file-note,
.capture-popover .field-help,
.capture-popover .source-facts small,
.capture-popover .metadata-grid label span,
.capture-popover .file-label,
.capture-popover .state-fieldset legend,
.capture-popover .optional-label,
.capture-popover .capture-details summary small { font-size: 12px; }
.capture-popover .capture-kind-row button,
.capture-popover .voice-button,
.capture-popover .file-button,
.capture-popover .detected-tags button,
.capture-popover .prompt-strip button,
.capture-popover .tag-bank-list button { font-size: 12px; }

@media (max-width: 1180px) {
  .workspace-shell { grid-template-columns: 246px minmax(0, 1fr); }
  .library-toolbar { grid-template-columns: minmax(230px, 1.4fr) repeat(2, minmax(135px, .7fr)); }
  .library-search-control { grid-row: span 2; }
  .station-grid { grid-template-columns: 1fr; }
  .folder-overview { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 840px) {
  .workspace-shell { inset: 7px; grid-template-columns: 1fr; grid-template-rows: auto minmax(0, 1fr); }
  .workspace-sidebar { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 9px 10px; }
  .workspace-brand { min-height: 0; margin: 0; padding: 7px 9px; }
  .workspace-brand small { display: none; }
  .workspace-logo { width: 36px; height: 36px; }
  .workspace-logo .samplepath-mark { width: 29px; height: 29px; }
  .workspace-nav { display: flex; gap: 5px; overflow-x: auto; }
  .workspace-nav-item { min-width: 54px; min-height: 48px; grid-template-columns: 1fr; justify-items: center; padding: 7px; }
  .workspace-nav-item .nav-copy small,
  .workspace-nav-item > em { display: none; }
  .workspace-nav-item .nav-copy strong { max-width: 92px; font-size: 12px; text-align: center; }
  .workspace-nav-item .nav-glyph { height: 20px; font-size: 16px; }
  .workspace-sidebar-bottom { display: flex; }
  .workspace-guide-link { width: 42px; min-height: 42px; grid-template-columns: 1fr; margin: 0; padding: 6px; }
  .workspace-guide-link .nav-copy,
  .version-note { display: none; }
  .account-card { width: 44px; min-height: 44px; grid-template-columns: 1fr; padding: 4px; }
  .account-card .account-copy,
  .account-card > b { display: none; }
  .workspace-topbar { min-height: 62px; }
  .workspace-content { padding: 28px 18px 50px; }
  .page-header { align-items: flex-start; flex-direction: column; }
  .page-header h1 { font-size: 42px; }
  .page-actions { justify-content: flex-start; }
  .concept-model-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .library-toolbar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .library-search-control { grid-column: 1 / -1; grid-row: auto; }
  .asset-row { grid-template-columns: 54px 1fr auto; }
  .asset-secondary { display: none; }
  .asset-evidence { grid-column: 2 / 3; }
  .sample-sky-head { flex-direction: column; gap: 14px; }
  .sky-legend { min-width: 0; width: 100%; }
  .friend-chat-layout { grid-template-columns: 145px minmax(0, 1fr); }
  .asset-attachment-grid,
  .asset-notes-panel { grid-template-columns: 1fr; }
  .asset-notes-panel > div + div { padding-left: 0; padding-top: 14px; border-left: 0; border-top: 1px solid var(--v11-line); }
  .share-builder { grid-template-columns: 1fr; }
  .share-scope-card,
  .share-result { grid-column: auto; }
}

@media (max-width: 560px) {
  .workspace-brand-copy { display: none; }
  .workspace-sidebar { grid-template-columns: 44px minmax(0, 1fr) 94px; }
  .workspace-sidebar-bottom { justify-content: flex-end; }
  .workspace-nav-item .nav-copy { display: none; }
  .workspace-nav-item { min-width: 42px; }
  .workspace-content { padding: 22px 13px 44px; }
  .workspace-topbar { padding: 8px 12px; }
  .workspace-context { display: none; }
  .workspace-top-actions { margin-left: auto; }
  .page-header h1 { font-size: 36px; }
  .concept-model-grid { grid-template-columns: 1fr; }
  .summary-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .library-toolbar { grid-template-columns: 1fr; }
  .library-search-control { grid-column: auto; }
  .library-quickbar { flex-wrap: wrap; overflow: visible; }
  .library-quickbar > small { width: 100%; margin-left: 0; }
  .folder-overview { grid-template-columns: 1fr; }
  .friend-chat-layout { grid-template-columns: 1fr; }
  .friend-chat-list { display: flex; overflow-x: auto; border-right: 0; border-bottom: 1px solid var(--v11-line); }
  .friend-chat-person { min-width: 150px; }
  .station-searchbar { grid-template-columns: 1fr; }
  .collection-detail-banner { grid-template-columns: 1fr; }
  .modal-footer--context { align-items: stretch; flex-direction: column; }
  .modal-footer--context > div { justify-content: stretch; }
  .modal-footer--context .button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .sample-star:hover .sample-star-glyph,
  .sample-star:focus-visible .sample-star-glyph { transform: none; }
}
