Download static/styles.css from google/cellgemma: direct link, hf CLI and curl.
- Browser
- Download file 21.5 kB
-
https://huggingface.co/spaces/google/cellgemma/resolve/main/static/styles.css
- Command line
-
hf download hf://spaces/google/cellgemma/static/styles.css
-
curl -L -o styles.css https://huggingface.co/spaces/google/cellgemma/resolve/main/static/styles.css
21.5 kB
/* CellGemma · Single-Cell Perturbation Studio — Dual-Theme Optical Design System */
html.theme-dark,
body.theme-dark {
color-scheme: dark;
--bg-page: #030711;
--bg-ambient-top: rgba(29, 78, 216, 0.14);
--bg-card: rgba(10, 19, 36, 0.88);
--bg-card-solid: #0b1528;
--bg-pill: rgba(15, 28, 52, 0.92);
--bg-pill-hover: rgba(30, 48, 82, 0.72);
--bg-pill-active: #16294b;
--bg-input: #070f1e;
--bg-stage-center: #0a1934;
--bg-stage-mid: #050d1d;
--bg-stage-edge: #030813;
--ink-strong: #f1f5f9;
--ink-body: #cbd5e1;
--ink-muted: #7c90ad;
--border-subtle: rgba(148, 179, 224, 0.14);
--border-strong: rgba(148, 179, 224, 0.25);
--inset-highlight: inset 0 1px 0 rgba(255, 255, 255, 0.06);
--blue-primary: #2b74ff;
--blue-hover: #4285ff;
--blue-accent-ink: #60a5fa;
--blue-tint: rgba(43, 116, 255, 0.16);
--up-ink: #34d399;
--up-bright: #10b981;
--up-tint: rgba(16, 185, 129, 0.14);
--down-ink: #fb7185;
--down-bright: #f43f5e;
--down-tint: rgba(244, 63, 94, 0.14);
--bar-track-fill: rgba(148, 163, 184, 0.13);
--row-hover-bg: rgba(30, 48, 82, 0.45);
--loc-badge-bg: rgba(148, 163, 184, 0.12);
--loc-badge-ink: #94a3b8;
--shadow-bar: 0 8px 28px rgba(0, 0, 0, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.05);
--shadow-stage: 0 20px 54px rgba(0, 0, 0, 0.56), inset 0 1px 0 rgba(255, 255, 255, 0.06);
--shadow-popover: 0 26px 64px rgba(0, 0, 0, 0.72), 0 4px 16px rgba(0, 0, 0, 0.45);
--shadow-active-pill: 0 2px 6px rgba(0, 0, 0, 0.28);
}
html.theme-light,
body.theme-light {
color-scheme: light;
--bg-page: #edf2fa;
--bg-ambient-top: rgba(43, 116, 255, 0.07);
--bg-card: rgba(255, 255, 255, 0.94);
--bg-card-solid: #ffffff;
--bg-pill: #eef3fb;
--bg-pill-hover: rgba(255, 255, 255, 0.90);
--bg-pill-active: #ffffff;
--bg-input: #f8fafd;
--bg-stage-center: #ffffff;
--bg-stage-mid: #f7faff;
--bg-stage-edge: #ebf2fc;
--ink-strong: #0d172a;
--ink-body: #334155;
--ink-muted: #64748b;
--border-subtle: rgba(15, 23, 42, 0.085);
--border-strong: rgba(15, 23, 42, 0.15);
--inset-highlight: inset 0 1px 0 rgba(255, 255, 255, 0.92);
--blue-primary: #1a68e8;
--blue-hover: #1557c4;
--blue-accent-ink: #1a68e8;
--blue-tint: rgba(26, 104, 232, 0.10);
--up-ink: #047857;
--up-bright: #10b981;
--up-tint: #ecfdf5;
--down-ink: #be123c;
--down-bright: #f43f5e;
--down-tint: #fff1f2;
--bar-track-fill: #e7edf6;
--row-hover-bg: #f3f7fd;
--loc-badge-bg: #edf2f9;
--loc-badge-ink: #52637a;
--shadow-bar: 0 2px 12px rgba(15, 23, 42, 0.045), inset 0 1px 0 rgba(255, 255, 255, 0.95);
--shadow-stage: 0 12px 36px rgba(15, 23, 42, 0.065), 0 1px 3px rgba(15, 23, 42, 0.04);
--shadow-popover: 0 22px 48px rgba(15, 23, 42, 0.16), 0 2px 10px rgba(15, 23, 42, 0.06);
--shadow-active-pill: 0 1px 4px rgba(15, 23, 42, 0.08);
}
.theme-switching,
.theme-switching * {
transition: none !important;
}
body,
.app-frame {
--font-display: "Google Sans", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
--font-sans: "Google Sans Text", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
--font-mono: "Google Sans Mono", "JetBrains Mono", ui-monospace, SFMono-Regular, monospace;
}
*,
*::before,
*::after {
box-sizing: border-box;
}
html,
body {
margin: 0;
padding: 0;
min-height: 100%;
background-color: var(--bg-page);
background-image: radial-gradient(ellipse 80% 42% at 50% 0%, var(--bg-ambient-top), transparent 72%);
color: var(--ink-strong);
font-family: var(--font-sans);
font-size: 14px;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
text-rendering: optimizeLegibility;
}
.hidden {
display: none !important;
}
.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;
}
.app-frame {
max-width: 1580px;
min-height: 100dvh;
margin: 0 auto;
padding: 9px 18px 11px;
display: flex;
flex-direction: column;
gap: 8px;
}
/* 1. Precision Glass Top Navigation Bar */
.top-bar {
position: relative;
background: var(--bg-card);
backdrop-filter: blur(16px);
-webkit-backdrop-filter: blur(16px);
border: 1px solid var(--border-subtle);
border-radius: 15px;
padding: 7px 14px;
box-shadow: var(--shadow-bar);
display: flex;
align-items: center;
justify-content: space-between;
gap: 10px;
flex-wrap: nowrap;
z-index: 30;
}
.brand-lockup {
display: flex;
align-items: center;
gap: 8px;
flex-shrink: 0;
}
.brand-wordmark {
height: 20px;
width: auto;
display: block;
object-fit: contain;
}
body.theme-dark .wordmark-for-light {
display: none;
}
body.theme-light .wordmark-for-dark {
display: none;
}
.brand-variant-tag {
font-family: var(--font-mono);
font-size: 10.5px;
font-weight: 600;
letter-spacing: 0.04em;
color: var(--blue-accent-ink);
background: var(--blue-tint);
border: 1px solid var(--border-subtle);
padding: 2px 7px;
border-radius: 6px;
}
.preset-strip {
display: flex;
align-items: center;
gap: 3px;
background: var(--bg-pill);
padding: 3.5px;
border-radius: 11px;
border: 1px solid var(--border-subtle);
flex-wrap: nowrap;
min-width: 0;
}
#drug-preset-pills,
#crispr-preset-pills {
display: inline-flex;
align-items: center;
gap: 2px;
}
.preset-group-label {
font-family: var(--font-mono);
font-size: 9.5px;
font-weight: 600;
text-transform: uppercase;
letter-spacing: 0.06em;
color: var(--ink-muted);
padding: 0 5px 0 6px;
white-space: nowrap;
}
.preset-divider {
width: 1px;
height: 16px;
background: var(--border-strong);
margin: 0 3px;
flex-shrink: 0;
}
.preset-pill {
appearance: none;
border: 1px solid transparent;
background: transparent;
color: var(--ink-body);
font-family: var(--font-display);
font-size: 12px;
font-weight: 600;
padding: 5px 10px;
border-radius: 8px;
cursor: pointer;
display: inline-flex;
align-items: center;
gap: 5px;
white-space: nowrap;
transition: background 140ms ease, color 140ms ease, border-color 140ms ease, box-shadow 140ms ease;
}
.preset-pill:hover {
color: var(--ink-strong);
background: var(--bg-pill-hover);
}
.preset-pill.active {
background: var(--bg-pill-active);
color: var(--blue-accent-ink);
border-color: var(--border-strong);
box-shadow: var(--shadow-active-pill);
}
.run-controls {
display: flex;
align-items: center;
gap: 7px;
flex-shrink: 0;
}
.theme-toggle-btn {
appearance: none;
border: 1px solid var(--border-strong);
background: var(--bg-pill);
color: var(--ink-body);
font-family: var(--font-display);
font-size: 12px;
font-weight: 600;
padding: 6px 11px;
border-radius: 9px;
cursor: pointer;
display: inline-flex;
align-items: center;
gap: 6px;
transition: background 140ms ease, color 140ms ease, border-color 140ms ease;
}
.theme-toggle-btn:hover {
background: var(--bg-pill-hover);
color: var(--ink-strong);
}
.theme-icon {
width: 14px;
height: 14px;
display: block;
}
body.theme-dark .icon-moon {
display: none;
}
body.theme-light .icon-sun {
display: none;
}
.customize-toggle-btn {
appearance: none;
border: 1px solid var(--border-strong);
background: var(--bg-pill);
color: var(--ink-body);
font-family: var(--font-display);
font-size: 12px;
font-weight: 600;
padding: 6px 12px;
border-radius: 9px;
cursor: pointer;
transition: background 140ms ease, color 140ms ease, border-color 140ms ease;
}
.customize-toggle-btn:hover,
.customize-toggle-btn.open {
background: var(--bg-pill-hover);
color: var(--ink-strong);
}
.reset-btn {
appearance: none;
border: 1px solid var(--border-strong);
background: var(--bg-pill);
color: var(--ink-muted);
font-family: var(--font-display);
font-size: 12px;
font-weight: 600;
padding: 6.5px 11px;
border-radius: 9px;
cursor: pointer;
display: inline-flex;
align-items: center;
gap: 5px;
transition: background 140ms ease, color 140ms ease, border-color 140ms ease;
}
.reset-btn.can-reset {
color: var(--ink-strong);
}
.reset-btn:hover {
background: var(--bg-pill-hover);
color: var(--ink-strong);
}
.reset-icon {
width: 13.5px;
height: 13.5px;
display: block;
}
.run-cta-btn {
appearance: none;
border: 1px solid rgba(255, 255, 255, 0.16);
background: linear-gradient(180deg, var(--blue-primary) 0%, #1956cc 100%);
color: #ffffff;
font-family: var(--font-display);
font-size: 12.5px;
font-weight: 600;
letter-spacing: 0.01em;
padding: 7.5px 16px;
border-radius: 9px;
cursor: pointer;
white-space: nowrap;
box-shadow: 0 4px 14px rgba(43, 116, 255, 0.36), inset 0 1px 0 rgba(255, 255, 255, 0.24);
transition: transform 120ms ease, box-shadow 140ms ease, filter 140ms ease;
min-width: 140px;
text-align: center;
}
.run-cta-btn:hover:not(:disabled) {
filter: brightness(1.07);
box-shadow: 0 6px 20px rgba(43, 116, 255, 0.46), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}
.run-cta-btn:active:not(:disabled) {
transform: translateY(1px);
}
.run-cta-btn:disabled {
background: #334155;
border-color: transparent;
box-shadow: none;
cursor: wait;
}
/* Floating Customize Drawer */
.customize-popover {
position: absolute;
top: calc(100% + 8px);
right: 16px;
width: min(650px, calc(100vw - 48px));
background: var(--bg-card-solid);
border: 1px solid var(--border-strong);
border-radius: 16px;
box-shadow: var(--shadow-popover);
padding: 18px 20px;
z-index: 40;
display: flex;
flex-direction: column;
gap: 14px;
}
.popover-top {
display: flex;
align-items: center;
justify-content: space-between;
gap: 12px;
}
.popover-tabs {
display: inline-flex;
background: var(--bg-pill);
padding: 3px;
border-radius: 9px;
border: 1px solid var(--border-subtle);
}
.pop-tab-btn {
appearance: none;
border: none;
background: transparent;
font-family: var(--font-display);
font-size: 12px;
font-weight: 600;
color: var(--ink-muted);
padding: 5px 12px;
border-radius: 7px;
cursor: pointer;
}
.pop-tab-btn.active {
background: var(--bg-pill-active);
color: var(--blue-accent-ink);
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.14);
}
.popover-close-btn {
appearance: none;
border: 1px solid var(--border-subtle);
background: var(--bg-pill);
color: var(--ink-body);
font-family: var(--font-display);
font-size: 12px;
font-weight: 600;
padding: 5px 11px;
border-radius: 7px;
cursor: pointer;
}
.popover-grid {
display: grid;
grid-template-columns: 204px minmax(0, 1fr);
gap: 16px;
align-items: center;
}
.mini-mol-box {
height: 156px;
border-radius: 12px;
border: 1px solid var(--border-subtle);
background: var(--bg-input);
position: relative;
cursor: grab;
overflow: hidden;
}
.mini-mol-canvas {
width: 100%;
height: 100%;
display: block;
}
.popover-fields {
display: flex;
flex-direction: column;
gap: 10px;
}
.pop-row {
display: flex;
align-items: center;
justify-content: space-between;
gap: 8px;
font-size: 12px;
font-weight: 500;
color: var(--ink-body);
}
.pop-mono {
font-family: var(--font-mono);
font-size: 11.5px;
color: var(--ink-strong);
}
.pop-input {
width: 100%;
background: var(--bg-input);
border: 1px solid var(--border-strong);
border-radius: 8px;
padding: 7px 10px;
font-family: var(--font-mono);
font-size: 12px;
color: var(--ink-strong);
}
.pop-btn-secondary {
appearance: none;
border: 1px solid var(--border-strong);
background: var(--bg-pill);
color: var(--ink-strong);
font-family: var(--font-display);
font-size: 11.5px;
font-weight: 600;
padding: 5px 10px;
border-radius: 7px;
cursor: pointer;
}
.pop-btn-secondary:hover {
background: var(--bg-pill-hover);
}
.pop-slider {
-webkit-appearance: none;
appearance: none;
width: 100%;
height: 6px;
border-radius: 999px;
background: var(--bar-track-fill);
border: 1px solid var(--border-subtle);
outline: none;
cursor: pointer;
}
.pop-slider::-webkit-slider-thumb {
-webkit-appearance: none;
appearance: none;
width: 15px;
height: 15px;
border-radius: 50%;
background: var(--blue-primary);
border: 2px solid #ffffff;
box-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
cursor: pointer;
}
.pop-slider::-moz-range-thumb {
width: 15px;
height: 15px;
border-radius: 50%;
background: var(--blue-primary);
border: 2px solid #ffffff;
box-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
cursor: pointer;
}
.pop-gene-chips {
display: flex;
flex-wrap: wrap;
gap: 5px;
}
.pop-gene-chip {
appearance: none;
border: 1px solid var(--border-subtle);
background: var(--bg-pill);
color: var(--ink-body);
font-family: var(--font-mono);
font-size: 11px;
padding: 3px 8px;
border-radius: 6px;
cursor: pointer;
}
.pop-gene-chip.active,
.pop-gene-chip:hover {
background: var(--blue-tint);
color: var(--blue-accent-ink);
border-color: var(--border-strong);
}
/* 2. Hero Illustration Stage (Responsive to Laptop Screen Height) */
.hero-stage-card {
position: relative;
flex: 1 1 auto;
height: clamp(284px, calc(100dvh - 330px), 540px);
min-height: 284px;
background: radial-gradient(
ellipse 78% 72% at 50% 47%,
var(--bg-stage-center) 0%,
var(--bg-stage-mid) 62%,
var(--bg-stage-edge) 100%
);
border: 1px solid var(--border-subtle);
border-radius: 20px;
box-shadow: var(--shadow-stage);
overflow: hidden;
display: flex;
flex-direction: column;
}
.hero-canvas-wrap {
position: relative;
flex: 1 1 auto;
min-height: 284px;
width: 100%;
user-select: none;
}
.hero-canvas {
position: absolute;
inset: 0;
width: 100%;
height: 100%;
display: block;
}
/* 3. Precision Bottom Equalizer Strip */
.bottom-strip {
position: relative;
flex: 0 0 auto;
background: var(--bg-card);
backdrop-filter: blur(16px);
-webkit-backdrop-filter: blur(16px);
border: 1px solid var(--border-subtle);
border-radius: 16px;
box-shadow: var(--shadow-bar);
padding: 11px 18px 12px;
}
.error-inline {
position: absolute;
top: 10px;
right: 18px;
background: var(--down-tint);
border: 1px solid rgba(244, 63, 94, 0.32);
padding: 3px 10px;
border-radius: 999px;
font-size: 12px;
font-weight: 500;
color: var(--down-ink);
z-index: 5;
}
.outcome-strip {
display: flex;
flex-direction: column;
gap: 8px;
}
.outcome-header-block {
display: flex;
flex-direction: column;
gap: 3px;
}
.outcome-headline {
margin: 0;
font-family: var(--font-display);
font-size: 15px;
line-height: 1.32;
font-weight: 600;
letter-spacing: -0.012em;
color: var(--ink-strong);
white-space: normal;
overflow-wrap: break-word;
}
.outcome-headline.muted-state {
color: var(--ink-muted);
font-weight: 500;
}
.outcome-meta-line {
display: flex;
align-items: center;
justify-content: space-between;
gap: 12px;
flex-wrap: wrap;
}
.outcome-sub {
font-family: var(--font-mono);
font-size: 11px;
color: var(--ink-muted);
white-space: nowrap;
}
.outcome-badges {
display: flex;
align-items: center;
gap: 7px;
flex-shrink: 0;
}
.outcome-action-btn {
appearance: none;
height: 23px;
border: 1px solid var(--border-strong);
background: var(--bg-pill);
color: var(--ink-body);
font-family: var(--font-mono);
font-size: 11px;
font-weight: 600;
padding: 0 9px;
border-radius: 999px;
cursor: pointer;
display: inline-flex;
align-items: center;
gap: 4px;
white-space: nowrap;
transition: background 120ms ease, color 120ms ease, border-color 120ms ease;
}
.outcome-action-btn:hover {
background: var(--bg-pill-hover);
color: var(--ink-strong);
border-color: var(--blue-accent-ink);
}
.pill-stat-up,
.pill-stat-down {
height: 24px;
display: inline-flex;
align-items: center;
font-family: var(--font-mono);
font-size: 11.5px;
font-weight: 600;
padding: 0 10px;
border-radius: 999px;
white-space: nowrap;
}
.pill-stat-up {
color: var(--up-ink);
background: var(--up-tint);
border: 1px solid rgba(16, 185, 129, 0.22);
}
.pill-stat-down {
color: var(--down-ink);
background: var(--down-tint);
border: 1px solid rgba(244, 63, 94, 0.22);
}
.pill-stat-up.pill-stat-muted,
.pill-stat-down.pill-stat-muted {
color: var(--ink-muted);
background: var(--bar-track-fill);
border-color: var(--border-subtle);
}
.bars-two-col {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 28px;
}
.bars-column {
display: flex;
flex-direction: column;
gap: 4px;
}
.bars-col-label {
height: 18px;
display: flex;
align-items: center;
font-family: var(--font-mono);
font-size: 10.5px;
font-weight: 700;
letter-spacing: 0.05em;
text-transform: uppercase;
padding: 0 8px 2px;
}
.bars-col-label.up {
color: var(--up-ink);
}
.bars-col-label.down {
color: var(--down-ink);
}
#bars-up-list,
#bars-down-list {
display: flex;
flex-direction: column;
gap: 3px;
}
.bar-row {
appearance: none;
border: 1px solid transparent;
background: transparent;
width: 100%;
height: 25px;
padding: 0 8px;
border-radius: 7px;
display: grid;
grid-template-columns: 82px 44px 176px minmax(0, 1fr) 114px;
align-items: center;
gap: 10px;
cursor: pointer;
text-align: left;
transition: background 120ms ease, border-color 120ms ease;
}
.bar-row.empty-slot {
cursor: default;
pointer-events: none;
}
.bar-row:not(.empty-slot):hover,
.bar-row.focused {
background: var(--row-hover-bg);
border-color: var(--border-subtle);
}
.bar-sym {
font-family: var(--font-mono);
font-size: 12px;
font-weight: 700;
color: var(--ink-strong);
white-space: nowrap;
}
.bar-sym.empty {
color: var(--ink-muted);
opacity: 0.44;
font-weight: 500;
}
.bar-loc-pill {
font-family: var(--font-mono);
font-size: 9.5px;
font-weight: 600;
letter-spacing: 0.04em;
text-transform: uppercase;
text-align: center;
color: var(--loc-badge-ink);
background: var(--loc-badge-bg);
padding: 2px 5px;
border-radius: 5px;
}
.bar-loc-pill.empty {
opacity: 0.42;
}
.bar-role {
font-size: 12px;
color: var(--ink-muted);
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.bar-role-placeholder {
display: block;
width: 58%;
height: 5px;
border-radius: 999px;
background: var(--bar-track-fill);
opacity: 0.68;
}
.bar-svg {
width: 100%;
height: 9px;
display: block;
}
.bar-track {
fill: var(--bar-track-fill);
}
.bar-fill-up {
fill: var(--up-bright);
}
.bar-fill-down {
fill: var(--down-bright);
}
.bar-delta {
font-family: var(--font-mono);
font-size: 12px;
font-weight: 700;
text-align: right;
white-space: nowrap;
display: inline-flex;
align-items: baseline;
justify-content: flex-end;
gap: 5px;
}
.bar-delta-sub {
font-size: 10.5px;
font-weight: 500;
color: var(--ink-muted);
opacity: 0.78;
}
.bar-delta.up {
color: var(--up-ink);
}
.bar-delta.down {
color: var(--down-ink);
}
.bar-delta.empty {
color: var(--ink-muted);
opacity: 0.42;
font-weight: 500;
}
/* Raw Prompt & Model Output Inspector Modal */
.prompt-modal-backdrop {
position: fixed;
inset: 0;
background: rgba(3, 7, 18, 0.72);
backdrop-filter: blur(6px);
-webkit-backdrop-filter: blur(6px);
display: flex;
align-items: center;
justify-content: center;
padding: 20px;
z-index: 90;
}
.prompt-modal-card {
width: min(880px, 100%);
max-height: min(82dvh, 720px);
background: var(--bg-card-solid);
border: 1px solid var(--border-strong);
border-radius: 16px;
box-shadow: var(--shadow-popover);
display: flex;
flex-direction: column;
overflow: hidden;
}
.prompt-modal-header {
padding: 14px 18px;
border-bottom: 1px solid var(--border-subtle);
display: flex;
align-items: center;
justify-content: space-between;
gap: 12px;
}
.prompt-modal-title {
margin: 0;
font-family: var(--font-display);
font-size: 14.5px;
font-weight: 600;
color: var(--ink-strong);
}
.prompt-modal-sub {
margin: 2px 0 0;
font-family: var(--font-mono);
font-size: 11px;
color: var(--ink-muted);
}
.prompt-modal-actions {
display: flex;
align-items: center;
gap: 8px;
flex-shrink: 0;
}
.prompt-modal-body {
padding: 14px 18px 18px;
overflow-y: auto;
display: flex;
flex-direction: column;
gap: 10px;
}
.prompt-section-label {
font-family: var(--font-mono);
font-size: 10.5px;
font-weight: 700;
letter-spacing: 0.04em;
text-transform: uppercase;
color: var(--blue-accent-ink);
}
.prompt-code-box {
margin: 0;
padding: 12px 14px;
background: var(--bg-input);
border: 1px solid var(--border-subtle);
border-radius: 10px;
font-family: var(--font-mono);
font-size: 11.5px;
line-height: 1.5;
color: var(--ink-body);
white-space: pre-wrap;
word-break: break-word;
max-height: 290px;
overflow-y: auto;
}
.prompt-code-box-compact {
max-height: 150px;
}
@media (max-width: 1320px) {
.preset-group-label {
display: none;
}
.preset-pill {
padding: 4.5px 8.5px;
font-size: 11.5px;
}
}
@media (max-width: 1120px) {
.top-bar {
flex-wrap: wrap;
}
.preset-strip {
flex-wrap: wrap;
}
.hero-stage-card {
height: auto;
min-height: 360px;
}
.bars-two-col {
grid-template-columns: 1fr;
gap: 14px;
}
.popover-grid {
grid-template-columns: 1fr;
}
.bar-row {
grid-template-columns: 78px 42px 140px minmax(0, 1fr) 102px;
}
}
/* CellGemma · Single-Cell Perturbation Studio — Dual-Theme Optical Design System */
html.theme-dark,
body.theme-dark {
color-scheme: dark;
--bg-page: #030711;
--bg-ambient-top: rgba(29, 78, 216, 0.14);
--bg-card: rgba(10, 19, 36, 0.88);
--bg-card-solid: #0b1528;
--bg-pill: rgba(15, 28, 52, 0.92);
--bg-pill-hover: rgba(30, 48, 82, 0.72);
--bg-pill-active: #16294b;
--bg-input: #070f1e;
--bg-stage-center: #0a1934;
--bg-stage-mid: #050d1d;
--bg-stage-edge: #030813;
--ink-strong: #f1f5f9;
--ink-body: #cbd5e1;
--ink-muted: #7c90ad;
--border-subtle: rgba(148, 179, 224, 0.14);
--border-strong: rgba(148, 179, 224, 0.25);
--inset-highlight: inset 0 1px 0 rgba(255, 255, 255, 0.06);
--blue-primary: #2b74ff;
--blue-hover: #4285ff;
--blue-accent-ink: #60a5fa;
--blue-tint: rgba(43, 116, 255, 0.16);
--up-ink: #34d399;
--up-bright: #10b981;
--up-tint: rgba(16, 185, 129, 0.14);
--down-ink: #fb7185;
--down-bright: #f43f5e;
--down-tint: rgba(244, 63, 94, 0.14);
--bar-track-fill: rgba(148, 163, 184, 0.13);
--row-hover-bg: rgba(30, 48, 82, 0.45);
--loc-badge-bg: rgba(148, 163, 184, 0.12);
--loc-badge-ink: #94a3b8;
--shadow-bar: 0 8px 28px rgba(0, 0, 0, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.05);
--shadow-stage: 0 20px 54px rgba(0, 0, 0, 0.56), inset 0 1px 0 rgba(255, 255, 255, 0.06);
--shadow-popover: 0 26px 64px rgba(0, 0, 0, 0.72), 0 4px 16px rgba(0, 0, 0, 0.45);
--shadow-active-pill: 0 2px 6px rgba(0, 0, 0, 0.28);
}
html.theme-light,
body.theme-light {
color-scheme: light;
--bg-page: #edf2fa;
--bg-ambient-top: rgba(43, 116, 255, 0.07);
--bg-card: rgba(255, 255, 255, 0.94);
--bg-card-solid: #ffffff;
--bg-pill: #eef3fb;
--bg-pill-hover: rgba(255, 255, 255, 0.90);
--bg-pill-active: #ffffff;
--bg-input: #f8fafd;
--bg-stage-center: #ffffff;
--bg-stage-mid: #f7faff;
--bg-stage-edge: #ebf2fc;
--ink-strong: #0d172a;
--ink-body: #334155;
--ink-muted: #64748b;
--border-subtle: rgba(15, 23, 42, 0.085);
--border-strong: rgba(15, 23, 42, 0.15);
--inset-highlight: inset 0 1px 0 rgba(255, 255, 255, 0.92);
--blue-primary: #1a68e8;
--blue-hover: #1557c4;
--blue-accent-ink: #1a68e8;
--blue-tint: rgba(26, 104, 232, 0.10);
--up-ink: #047857;
--up-bright: #10b981;
--up-tint: #ecfdf5;
--down-ink: #be123c;
--down-bright: #f43f5e;
--down-tint: #fff1f2;
--bar-track-fill: #e7edf6;
--row-hover-bg: #f3f7fd;
--loc-badge-bg: #edf2f9;
--loc-badge-ink: #52637a;
--shadow-bar: 0 2px 12px rgba(15, 23, 42, 0.045), inset 0 1px 0 rgba(255, 255, 255, 0.95);
--shadow-stage: 0 12px 36px rgba(15, 23, 42, 0.065), 0 1px 3px rgba(15, 23, 42, 0.04);
--shadow-popover: 0 22px 48px rgba(15, 23, 42, 0.16), 0 2px 10px rgba(15, 23, 42, 0.06);
--shadow-active-pill: 0 1px 4px rgba(15, 23, 42, 0.08);
}
.theme-switching,
.theme-switching * {
transition: none ;
}