Download src/styles.css from abhirsc/BBI: direct link, hf CLI and curl.
- Browser
- Download file 26.4 kB
-
https://huggingface.co/spaces/abhirsc/BBI/resolve/main/src/styles.css
- Command line
-
hf download hf://spaces/abhirsc/BBI/src/styles.css
-
curl -L -o styles.css https://huggingface.co/spaces/abhirsc/BBI/resolve/main/src/styles.css
26.4 kB
:root {
font-family: 'Manrope', sans-serif;
color: #173229;
background:
radial-gradient(circle at top left, rgba(223, 181, 88, 0.18), transparent 26%),
radial-gradient(circle at 100% 20%, rgba(57, 120, 89, 0.14), transparent 24%),
linear-gradient(180deg, #f5f0e2 0%, #eef3e8 60%, #e7eee2 100%);
font-synthesis: none;
text-rendering: optimizeLegibility;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
line-height: 1.5;
font-weight: 400;
}
* {
box-sizing: border-box;
}
body {
margin: 0;
min-width: 320px;
min-height: 100vh;
}
button,
a,
input,
select {
font: inherit;
}
code,
small {
font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}
#root {
min-height: 100vh;
}
.app-shell {
position: relative;
min-height: 100vh;
overflow: hidden;
}
.ambient {
position: absolute;
border-radius: 999px;
filter: blur(12px);
pointer-events: none;
}
.ambient-left {
top: 2rem;
left: -10rem;
width: 22rem;
height: 22rem;
background: rgba(169, 110, 30, 0.14);
}
.ambient-right {
top: 16rem;
right: -8rem;
width: 24rem;
height: 24rem;
background: rgba(39, 107, 78, 0.12);
}
.page {
position: relative;
z-index: 1;
width: min(1240px, calc(100% - 2rem));
margin: 0 auto;
padding: 1.4rem 0 3rem;
}
.topbar,
.nav-shell,
.hero-panel,
.content-shell,
.page-footer {
border: 1px solid rgba(23, 50, 41, 0.08);
background: rgba(255, 251, 243, 0.82);
backdrop-filter: blur(14px);
box-shadow: 0 24px 60px rgba(46, 60, 49, 0.07);
}
.topbar,
.nav-shell,
.page-footer {
border-radius: 1.4rem;
}
.topbar {
display: flex;
align-items: center;
justify-content: space-between;
gap: 1.2rem;
padding: 1rem 1.3rem;
}
.brand-lockup {
display: flex;
align-items: center;
gap: 1rem;
}
.brand-logo {
width: 148px;
height: 148px;
object-fit: contain;
border-radius: 1.4rem;
background: rgba(255, 255, 255, 0.82);
padding: 0.5rem;
}
.brand-name {
margin: 0;
font-size: 1.1rem;
font-weight: 800;
color: #163228;
}
.brand-subtitle {
color: rgba(23, 50, 41, 0.68);
font-size: 0.94rem;
}
.contact-link {
color: #1d5f45;
text-decoration: none;
font-weight: 700;
}
.contact-link:hover {
text-decoration: underline;
}
.nav-shell,
.bullet-row,
.subtab-row,
.view-toggle,
.button-row,
.compact-buttons {
display: flex;
flex-wrap: wrap;
gap: 0.75rem;
}
.nav-shell {
margin-top: 1rem;
padding: 0.7rem;
}
.nav-tab,
.subtab,
.view-tab,
.primary-button,
.secondary-button,
.danger-button,
.species-card,
.dataset-card,
.tool-card,
.map-tool {
border: 0;
border-radius: 999px;
cursor: pointer;
transition:
background-color 180ms ease,
color 180ms ease,
transform 180ms ease,
box-shadow 180ms ease,
opacity 180ms ease;
}
.nav-tab:hover,
.subtab:hover,
.view-tab:hover,
.primary-button:hover,
.secondary-button:hover,
.danger-button:hover,
.species-card:hover,
.dataset-card:hover,
.tool-card:hover,
.map-tool:hover {
transform: translateY(-1px);
}
.nav-tab {
padding: 0.8rem 1rem;
background: transparent;
color: #446556;
}
.nav-tab:hover {
background: rgba(24, 68, 51, 0.07);
}
.nav-tab.active,
.subtab.active,
.view-tab.active {
background: #163228;
color: #f7f2e7;
box-shadow: 0 12px 26px rgba(22, 50, 40, 0.18);
}
.hero-panel {
display: grid;
grid-template-columns: minmax(0, 1.45fr) minmax(300px, 0.82fr);
gap: 1.1rem;
margin-top: 1rem;
padding: 1.5rem;
border-radius: 1.8rem;
}
.hero-kicker,
.card-kicker,
.section-tag {
display: inline-flex;
align-items: center;
gap: 0.45rem;
font-size: 0.74rem;
font-weight: 800;
letter-spacing: 0.12em;
text-transform: uppercase;
color: #93681f;
}
.hero-kicker::before,
.card-kicker::before,
.section-tag::before {
content: '';
width: 0.72rem;
height: 0.72rem;
border-radius: 999px;
background: linear-gradient(135deg, #c58b27, #2e6b4f);
}
.hero-copy h1,
.section-head h2,
.feature-tile h3,
.dataset-head h3,
.workspace-head h3,
.markdown-article h1,
.markdown-article h2,
.markdown-article h3,
.empty-home strong,
.tool-card strong,
.version-card strong,
.metadata-card strong,
.upload-card strong {
margin: 0;
color: #163228;
}
.hero-copy h1,
.section-head h2,
.dataset-head h3,
.workspace-head h3,
.markdown-article h1,
.markdown-article h2,
.markdown-article h3 {
font-family: 'Playfair Display', serif;
}
.hero-copy h1 {
margin-top: 0.9rem;
font-size: clamp(2.3rem, 4vw, 4rem);
line-height: 1.05;
max-width: 13ch;
}
.hero-text,
.focus-card p,
.mini-stat p,
.section-head p,
.feature-tile p,
.workspace-copy,
.page-footer p,
.markdown-article p,
.markdown-article li,
.empty-home p,
.progress-card p,
.info-card span,
.version-card span,
.upload-card span,
.metadata-card p {
margin: 0;
color: rgba(23, 50, 41, 0.76);
}
.hero-text {
margin-top: 1rem;
max-width: 55ch;
font-size: 1.03rem;
}
.bullet-row {
margin-top: 1.3rem;
}
.bullet-pill {
padding: 0.66rem 0.92rem;
border-radius: 999px;
background: rgba(30, 84, 62, 0.08);
color: #1c513b;
font-weight: 700;
}
.hero-side {
display: grid;
gap: 1rem;
}
.focus-card,
.mini-stat,
.feature-tile,
.workspace-card,
.dataset-card,
.species-card,
.empty-card,
.progress-card,
.markdown-article,
.empty-home,
.info-card,
.upload-card,
.tool-card,
.version-card,
.metadata-card,
.info-banner {
border-radius: 1.35rem;
}
.focus-card,
.mini-stat,
.feature-tile,
.content-shell,
.workspace-card,
.dataset-card,
.species-card,
.empty-card,
.page-footer,
.progress-card,
.markdown-article,
.empty-home,
.info-card,
.upload-card,
.tool-card,
.version-card,
.metadata-card,
.info-banner {
border: 1px solid rgba(23, 50, 41, 0.08);
}
.focus-card {
padding: 1.15rem;
background: linear-gradient(180deg, rgba(18, 62, 47, 0.95), rgba(31, 86, 64, 0.94));
color: #edf4eb;
}
.focus-card strong {
display: block;
margin-top: 0.7rem;
font-size: 1.45rem;
}
.focus-card p {
margin-top: 0.5rem;
color: rgba(237, 244, 235, 0.78);
}
.overview-grid,
.record-summary,
.filter-grid,
.tool-grid,
.version-grid,
.upload-grid,
.analysis-grid,
.attribution-grid,
.insight-grid {
display: grid;
gap: 1rem;
}
.overview-grid,
.record-summary {
grid-template-columns: repeat(3, minmax(0, 1fr));
}
.filter-grid {
grid-template-columns: repeat(2, minmax(0, 1fr));
margin-top: 1rem;
}
.tool-grid,
.version-grid,
.upload-grid,
.analysis-grid,
.attribution-grid {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
.mini-stat {
padding: 1rem;
background: rgba(255, 251, 243, 0.92);
}
.mini-stat span {
display: block;
font-size: 1.45rem;
font-weight: 800;
color: #163228;
}
.mini-stat.large span {
font-size: 1.1rem;
}
.content-shell {
margin-top: 1rem;
padding: 1.5rem;
border-radius: 1.8rem;
}
.section-head,
.dataset-head,
.workspace-head,
.progress-meta,
.dataset-toolbar {
display: flex;
align-items: end;
justify-content: space-between;
gap: 1rem;
}
.section-head h2 {
margin-top: 0.65rem;
font-size: clamp(1.9rem, 3vw, 2.5rem);
}
.section-head p {
max-width: 38rem;
}
.info-banner,
.markdown-article,
.empty-home,
.progress-card {
margin-top: 1.15rem;
padding: 1.3rem;
background: rgba(255, 251, 243, 0.92);
}
.info-banner {
display: flex;
flex-wrap: wrap;
gap: 0.7rem;
align-items: center;
}
.info-banner code {
padding: 0.35rem 0.55rem;
border-radius: 0.6rem;
background: rgba(23, 50, 41, 0.08);
}
.markdown-article {
line-height: 1.75;
}
.markdown-article h1,
.markdown-article h2,
.markdown-article h3,
.markdown-article p,
.markdown-article ul,
.markdown-article ol {
margin-bottom: 1rem;
}
.empty-home strong {
display: block;
font-size: 1.4rem;
}
.empty-home p {
margin-top: 0.55rem;
}
.tile-grid {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 1rem;
margin-top: 1.1rem;
}
.feature-tile,
.workspace-card,
.upload-card,
.tool-card,
.version-card,
.metadata-card {
min-height: 170px;
padding: 1.2rem;
background: rgba(255, 251, 243, 0.92);
}
.feature-tile p,
.workspace-card p {
margin-top: 0.55rem;
}
.data-shell,
.dataset-shell,
.analysis-shell {
margin-top: 1.1rem;
}
.source-tabs {
margin-top: 0.8rem;
}
.subtab,
.view-tab {
padding: 0.74rem 1rem;
font-weight: 700;
}
.subtab {
background: rgba(30, 84, 62, 0.08);
color: #1c513b;
}
.view-tab {
background: rgba(23, 50, 41, 0.08);
color: #35584a;
}
.progress-card {
margin-top: 1rem;
}
.progress-track {
width: 100%;
height: 12px;
margin-top: 0.8rem;
border-radius: 999px;
background: rgba(23, 50, 41, 0.09);
overflow: hidden;
}
.progress-fill {
display: block;
height: 100%;
border-radius: inherit;
background: linear-gradient(90deg, #b98025, #235f46);
}
.progress-checkpoints {
display: grid;
grid-template-columns: repeat(4, minmax(0, 1fr));
gap: 0.6rem;
margin-top: 0.9rem;
}
.checkpoint {
display: grid;
gap: 0.25rem;
justify-items: center;
color: rgba(23, 50, 41, 0.5);
}
.checkpoint span {
width: 12px;
height: 12px;
border-radius: 999px;
background: rgba(23, 50, 41, 0.18);
}
.checkpoint.active {
color: #1d5f45;
}
.checkpoint.active span {
background: #1d5f45;
}
.success-text {
color: #1f6b4d;
}
.error-text {
color: #9a2d2d;
}
.data-grid {
display: grid;
gap: 1rem;
margin-top: 1rem;
}
.data-grid-wide,
.library-grid {
grid-template-columns: minmax(340px, 0.96fr) minmax(0, 1.24fr);
}
.form-stack {
display: grid;
gap: 1rem;
margin-top: 1rem;
}
.field-block {
display: grid;
gap: 0.45rem;
color: #26463a;
font-weight: 700;
}
.analysis-field {
margin-top: 1rem;
}
.analysis-copy {
margin-top: 0.7rem;
}
.text-input {
width: 100%;
padding: 0.88rem 0.95rem;
border-radius: 1rem;
border: 1px solid rgba(23, 50, 41, 0.12);
background: rgba(255, 255, 255, 0.82);
color: #173229;
}
.text-input:focus {
outline: 2px solid rgba(46, 107, 79, 0.22);
border-color: rgba(46, 107, 79, 0.34);
}
.primary-button,
.secondary-button,
.danger-button {
padding: 0.84rem 1.12rem;
font-weight: 700;
}
.primary-button {
background: #163228;
color: #f7f2e7;
}
.secondary-button {
background: rgba(23, 50, 41, 0.08);
color: #26463a;
}
.danger-button {
background: rgba(159, 47, 47, 0.12);
color: #8f2e2e;
}
.primary-button:disabled,
.secondary-button:disabled,
.danger-button:disabled,
.tool-card:disabled,
.map-tool:disabled {
opacity: 0.55;
cursor: not-allowed;
transform: none;
}
.species-results,
.dataset-list {
display: grid;
gap: 0.8rem;
}
.species-card,
.dataset-card,
.static-card {
display: grid;
gap: 0.28rem;
width: 100%;
padding: 1rem;
border: 1px solid rgba(23, 50, 41, 0.08);
background: rgba(255, 255, 255, 0.68);
color: #26463a;
text-align: left;
}
.species-card.active,
.dataset-card.active {
border-color: rgba(46, 107, 79, 0.3);
background: rgba(29, 95, 69, 0.08);
}
.species-card strong,
.dataset-card strong,
.empty-card strong,
.info-card strong,
.upload-card strong {
font-size: 1rem;
color: #163228;
}
.species-card span,
.dataset-card span,
.empty-card span,
.info-card span,
.upload-card span,
.tool-card span,
.version-card small {
font-size: 0.92rem;
}
.checkbox-field {
display: flex;
align-items: center;
gap: 0.7rem;
color: #26463a;
font-weight: 700;
}
.info-card,
.empty-card {
display: grid;
gap: 0.3rem;
padding: 1rem;
background: rgba(255, 255, 255, 0.68);
}
.upload-card {
display: grid;
gap: 0.7rem;
align-content: start;
}
.upload-card input {
display: none;
}
.upload-button {
display: inline-flex;
width: fit-content;
padding: 0.75rem 1rem;
border-radius: 999px;
background: #163228;
color: #f7f2e7;
font-weight: 700;
}
.dataset-shell {
border-top: 1px solid rgba(23, 50, 41, 0.08);
padding-top: 1.25rem;
}
.dataset-head h3 {
margin-top: 0.6rem;
font-size: 1.85rem;
}
.library-grid {
display: grid;
gap: 1rem;
margin-top: 1rem;
}
.dataset-toolbar {
margin-top: 0.9rem;
align-items: center;
}
.dataset-meta {
color: rgba(23, 50, 41, 0.66);
font-weight: 700;
}
.fixed-preview-card {
min-height: 540px;
}
.preview-panel {
margin-top: 1rem;
border-radius: 1.2rem;
overflow: hidden;
border: 1px solid rgba(23, 50, 41, 0.08);
}
.fixed-dimension-panel {
height: 404px;
}
.table-preview {
background: linear-gradient(180deg, rgba(249, 246, 238, 0.95), rgba(240, 245, 237, 0.95));
}
.table-scroll {
height: 354px;
overflow: auto;
}
.preview-table-row {
display: grid;
grid-template-columns: 1.6fr 1fr 1fr 1fr;
gap: 0.8rem;
padding: 0.95rem 1rem;
border-bottom: 1px solid rgba(23, 50, 41, 0.08);
color: #26463a;
font-size: 0.95rem;
}
.preview-table-head {
background: rgba(23, 50, 41, 0.06);
font-weight: 800;
}
.map-preview.real-map-panel {
background: rgba(232, 239, 230, 0.84);
}
.map-shell {
position: relative;
height: 100%;
}
.leaflet-map {
width: 100%;
height: 404px;
}
.map-tools {
position: absolute;
z-index: 1000;
top: 0.9rem;
right: 0.9rem;
display: flex;
flex-direction: column;
gap: 0.5rem;
}
.map-tool {
padding: 0.6rem 0.8rem;
background: rgba(255, 255, 255, 0.92);
color: #173229;
box-shadow: 0 8px 18px rgba(23, 50, 41, 0.12);
}
.empty-preview {
display: grid;
place-items: center;
min-height: 250px;
color: rgba(23, 50, 41, 0.7);
}
.metadata-card {
margin-top: 1rem;
}
.metadata-card code {
display: block;
margin-top: 0.8rem;
padding: 0.9rem;
border-radius: 0.8rem;
background: rgba(23, 50, 41, 0.06);
white-space: pre-wrap;
}
.tool-card {
display: grid;
gap: 0.5rem;
align-content: start;
padding: 1rem 1.1rem;
background: rgba(255, 255, 255, 0.72);
text-align: left;
}
.coming-soon-card {
display: grid;
gap: 0.45rem;
margin-top: 1rem;
padding: 1rem 1.1rem;
border-radius: 1.2rem;
border: 1px dashed rgba(23, 50, 41, 0.18);
background: rgba(255, 251, 243, 0.76);
}
.version-card {
display: grid;
gap: 0.35rem;
align-content: start;
}
.citation-note {
margin-top: 1rem;
}
.page-footer {
margin-top: 1rem;
padding: 1rem 1.2rem;
}
@media (max-width: 1080px) {
.hero-panel,
.data-grid-wide,
.library-grid,
.analysis-grid,
.attribution-grid {
grid-template-columns: 1fr;
}
}
@media (max-width: 960px) {
.topbar,
.section-head,
.dataset-head,
.workspace-head,
.progress-meta,
.dataset-toolbar {
display: grid;
}
.overview-grid,
.record-summary,
.filter-grid,
.upload-grid,
.tool-grid,
.version-grid,
.tile-grid {
grid-template-columns: 1fr;
}
.contact-link {
overflow-wrap: anywhere;
}
}
@media (max-width: 720px) {
.page {
width: min(100% - 1rem, 1240px);
padding-top: 1rem;
}
.topbar,
.nav-shell,
.hero-panel,
.content-shell,
.page-footer {
border-radius: 1.2rem;
}
.brand-logo {
width: 124px;
height: 124px;
}
.hero-copy h1 {
max-width: none;
font-size: 2.35rem;
}
.fixed-preview-card {
min-height: auto;
}
.preview-table-row {
grid-template-columns: 1.3fr 1fr;
}
.leaflet-map,
.fixed-dimension-panel {
height: 320px;
}
.table-scroll {
height: 270px;
}
.progress-checkpoints {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
}
/* ββ Insight output styles βββββββββββββββββββββββββββββββββββββββββββββββββ */
.insight-header { margin-bottom: 1.25rem; }
.insight-dataset-label { font-size: 0.85rem; color: #555; margin-top: 0.25rem; }
.insight-body { display: flex; flex-direction: column; gap: 1.5rem; }
.insight-metrics-row {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
gap: 0.75rem;
}
.insight-metric-card {
background: #fff;
border: 2px solid var(--accent, #3a8a5c);
border-radius: 10px;
padding: 0.85rem 1rem;
text-align: center;
}
.insight-metric-card span {
display: block;
font-size: 1.8rem;
font-weight: 800;
color: var(--accent, #3a8a5c);
line-height: 1.1;
}
.insight-metric-card p {
margin: 0.25rem 0 0;
font-size: 0.75rem;
text-transform: uppercase;
letter-spacing: 0.04em;
color: #444;
font-weight: 600;
}
.insight-metric-card small {
font-size: 0.7rem;
color: #888;
}
.insight-viz-row {
display: grid;
grid-template-columns: 160px 1fr;
gap: 1.25rem;
align-items: start;
}
.insight-viz-block { display: flex; flex-direction: column; gap: 0.5rem; }
.insight-viz-block h4 { margin: 0; font-size: 0.85rem; color: #333; font-weight: 700; }
.insight-map-block { flex: 1; }
.map-note { font-size: 0.72rem; color: #777; }
.pie-legend {
display: flex;
align-items: center;
font-size: 0.75rem;
color: #444;
flex-wrap: wrap;
gap: 0.25rem;
}
.legend-dot {
display: inline-block;
width: 10px;
height: 10px;
border-radius: 50%;
margin-right: 4px;
}
.insight-species h4 { margin: 0 0 0.5rem; font-size: 0.85rem; color: #333; }
.species-chips { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.species-chip {
background: #e8f4ee;
color: #1a6b3c;
border: 1px solid #b0d9c0;
border-radius: 20px;
padding: 0.2rem 0.7rem;
font-size: 0.78rem;
font-style: italic;
}
/* ββ Design tokens βββββββββββββββββββββββββββββββββββββββββββββββββββββββββ */
:root {
--green: #173229;
--green-mid: #2a5240;
--green-light: #3a8a5c;
--green-faint: #e8f4ee;
--gold: #a07820;
--surface: #f8f5ee;
--border: #ddd8cc;
}
/* ββ Hero simplification βββββββββββββββββββββββββββββββββββββββββββββββββββ */
.hero-copy h1 { font-size: 2rem; margin: 0 0 0.4rem; color: var(--green); }
.hero-text { color: #555; margin: 0; font-size: 0.9rem; }
.hero-kicker, .bullet-row { display: none; }
/* ββ Context panel (hero-side) βββββββββββββββββββββββββββββββββββββββββββββ */
.ctx-panel {
display: flex;
flex-direction: column;
gap: 0.6rem;
background: rgba(255,255,255,0.7);
border: 1px solid var(--border);
border-radius: 12px;
padding: 1rem 1.25rem;
min-width: 180px;
}
.ctx-row { display: flex; flex-direction: column; gap: 1px; }
.ctx-val { font-size: 0.95rem; font-weight: 700; color: var(--green); word-break: break-word; }
.ctx-lbl { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.04em; color: #888; }
.ctx-step-badge { display: inline-block; padding: 0.15rem 0.6rem; border-radius: 99px; font-size: 0.75rem; font-weight: 600; }
.step-0 { background: #f0ece2; color: #666; }
.step-1 { background: #fff3cc; color: #a07820; }
.step-2 { background: #d9eef4; color: #1a6b8a; }
.step-3 { background: var(--green-faint); color: var(--green-light); }
/* ββ Section head simplified βββββββββββββββββββββββββββββββββββββββββββββββ */
.section-head { display: none; }
/* ββ Pill rows (mode + source) βββββββββββββββββββββββββββββββββββββββββββββ */
.pill-row {
display: flex;
flex-wrap: wrap;
gap: 0.5rem;
margin-bottom: 0.75rem;
}
.pill {
padding: 0.4rem 1rem;
border-radius: 99px;
border: 1.5px solid var(--border);
background: #fff;
color: #444;
font-size: 0.85rem;
font-weight: 500;
cursor: pointer;
transition: all 0.15s;
}
.pill:hover { border-color: var(--green-mid); color: var(--green-mid); }
.pill.active { background: var(--green); border-color: var(--green); color: #fff; }
/* ββ Stepper bar βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ */
.stepper-bar {
display: flex;
align-items: center;
gap: 0;
margin-bottom: 1.5rem;
position: relative;
}
.stepper-line {
position: absolute;
top: 14px;
left: 14px;
right: 14px;
height: 2px;
background: var(--border);
z-index: 0;
}
.stepper-step {
display: flex;
flex-direction: column;
align-items: center;
gap: 4px;
flex: 1;
background: none;
border: none;
cursor: pointer;
position: relative;
z-index: 1;
padding: 0 4px 0;
}
.stepper-step:disabled { cursor: default; opacity: 0.45; }
.step-dot {
width: 28px;
height: 28px;
border-radius: 50%;
border: 2px solid var(--border);
background: #fff;
display: block;
transition: all 0.2s;
}
.stepper-step.done .step-dot { background: var(--green-faint); border-color: var(--green-light); }
.stepper-step.current .step-dot { background: var(--green); border-color: var(--green); box-shadow: 0 0 0 4px rgba(23,50,41,0.12); }
.stepper-step small { font-size: 0.7rem; color: #888; font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; }
.stepper-step.current small { color: var(--green); }
.stepper-step.done small { color: var(--green-light); }
/* ββ Step panels βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ */
.step-body { display: flex; flex-direction: column; gap: 1rem; }
.step-panel { display: flex; flex-direction: column; gap: 0.75rem; max-width: 480px; }
.step-hint { font-size: 0.8rem; color: #777; margin: 0; }
.fetch-summary {
display: flex;
gap: 0.5rem;
align-items: center;
font-size: 0.85rem;
color: var(--green-mid);
font-weight: 600;
padding: 0.5rem 0.75rem;
background: var(--green-faint);
border-radius: 8px;
}
.import-confirm { background: var(--green-faint); border-radius: 10px; padding: 1rem; max-width: 360px; }
.confirm-stats { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 0.75rem; }
/* ββ Analysis multi-select βββββββββββββββββββββββββββββββββββββββββββββββββ */
.analysis-dataset-row { margin-bottom: 1.25rem; max-width: 420px; }
.tool-select-header {
display: flex;
align-items: center;
justify-content: space-between;
margin-bottom: 0.75rem;
}
.tool-select-header p { margin: 0; font-size: 0.85rem; color: #666; }
.tool-card {
position: relative;
text-align: left;
background: #fff;
border: 1.5px solid var(--border);
border-radius: 10px;
padding: 0.85rem 1rem;
cursor: pointer;
transition: border-color 0.15s, background 0.15s, box-shadow 0.15s;
}
.tool-card:hover:not(:disabled) { border-color: var(--green-mid); box-shadow: 0 2px 8px rgba(0,0,0,0.06); }
.tool-card.selected { background: var(--green); border-color: var(--green); color: #fff; }
.tool-card.selected strong, .tool-card.selected span { color: #fff; }
.tool-card.selected span { opacity: 0.8; }
.tool-card:disabled { opacity: 0.4; cursor: not-allowed; }
.tool-check { position: absolute; top: 0.5rem; right: 0.65rem; font-size: 0.85rem; font-weight: 700; color: #a8f0c0; }
.tool-card strong { display: block; font-size: 0.85rem; margin-bottom: 0.25rem; }
.tool-card span { font-size: 0.75rem; color: #666; }
.run-bar {
display: flex;
align-items: center;
gap: 1rem;
margin-top: 1.5rem;
padding-top: 1.25rem;
border-top: 1px solid var(--border);
}
.run-button {
padding: 0.7rem 2rem;
border-radius: 99px;
background: var(--green);
color: #fff;
border: none;
font-size: 0.9rem;
font-weight: 700;
cursor: pointer;
transition: background 0.15s;
}
.run-button:hover:not(:disabled) { background: var(--green-mid); }
.run-button:disabled { opacity: 0.4; cursor: not-allowed; }
.run-hint { font-size: 0.8rem; color: #999; }
.ghost-button {
background: none;
border: 1.5px solid var(--border);
border-radius: 99px;
padding: 0.3rem 0.8rem;
font-size: 0.8rem;
color: #666;
cursor: pointer;
}
.ghost-button:hover { border-color: #999; color: #333; }
/* ββ Consistent interactive color for all buttons ββββββββββββββββββββββββββ */
.primary-button, .subtab.active, .nav-tab.active, .species-card.active {
background: var(--green) !important;
color: #fff !important;
border-color: var(--green) !important;
}
.primary-button { border-radius: 99px; padding: 0.55rem 1.4rem; border: 1.5px solid var(--green); font-weight: 600; font-size: 0.85rem; cursor: pointer; }
.primary-button:hover { background: var(--green-mid) !important; }
.secondary-button { border-radius: 99px; padding: 0.55rem 1.4rem; border: 1.5px solid var(--green); color: var(--green); background: #fff; font-weight: 600; font-size: 0.85rem; cursor: pointer; }
.secondary-button:hover { background: var(--green-faint); }
.map-tool { background: var(--green); color: #fff; border: none; border-radius: 6px; padding: 0.3rem 0.7rem; font-size: 0.75rem; cursor: pointer; }
.map-tool:hover { background: var(--green-mid); }
/* ββ Fix: species card selected text ββββββββββββββββββββββββββββββββββββββ */
.species-card.active strong,
.species-card.active span,
.dataset-card.active strong,
.dataset-card.active span {
color: #fff !important;
}
/* ββ Fix: ctx-panel mid-green theme βββββββββββββββββββββββββββββββββββββββ */
.ctx-panel {
background: rgba(42, 82, 64, 0.13) !important;
border-color: rgba(42, 82, 64, 0.25) !important;
}
.ctx-val { color: #173229 !important; }
.ctx-lbl { color: rgba(23, 50, 41, 0.6) !important; }
/* ββ Run button progress state βββββββββββββββββββββββββββββββββββββββββββββ */
.run-button.running {
background: var(--green-mid) !important;
display: flex;
align-items: center;
gap: 0.5rem;
min-width: 220px;
justify-content: center;
}
@keyframes spin { to { transform: rotate(360deg); } }
.run-spinner {
display: inline-block;
width: 14px;
height: 14px;
border: 2px solid rgba(255,255,255,0.4);
border-top-color: #fff;
border-radius: 50%;
animation: spin 0.7s linear infinite;
flex-shrink: 0;
}
:root {
font-family: 'Manrope', sans-serif;
color: #173229;
background:
radial-gradient(circle at top left, rgba(223, 181, 88, 0.18), transparent 26%),
radial-gradient(circle at 100% 20%, rgba(57, 120, 89, 0.14), transparent 24%),
linear-gradient(180deg, #f5f0e2 0%, #eef3e8 60%, #e7eee2 100%);
font-synthesis: none;
text-rendering: optimizeLegibility;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
line-height: 1.5;
font-weight: 400;
}
* {
box-sizing: border-box;
}
body {
margin: 0;
min-width: 320px;
min-height: 100vh;
}
button,
a,
input,
select {
font: inherit;
}
code,
small {
font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}
#root {
min-height: 100vh;
}
.app-shell {
position: relative;
min-height: 100vh;
overflow: hidden;
}
.ambient {
position: absolute;
border-radius: 999px;
filter: blur(12px);
pointer-events: none;
}
.ambient-left {
top: 2rem;
left: -10rem;
width: 22rem;
height: 22rem;
background: rgba(169, 110, 30, 0.14);
}
.ambient-right {
top: 16rem;
right: -8rem;
width: 24rem;
height: 24rem;
background: rgba(39, 107, 78, 0.12);
}
.page {
position: relative;
z-index: 1;
width: min(1240px, calc(100% - 2rem));
margin: 0 auto;
padding: 1.4rem 0 3rem;
}
.topbar,
.nav-shell,
.hero-panel,
.content-shell,
.page-footer {
border: 1px solid rgba(23, 50, 41, 0.08);
background: rgba(255, 251, 243, 0.82);
backdrop-filter: blur(14px);
box-shadow: 0 24px 60px rgba(46, 60, 49, 0.07);
}
.topbar,
.nav-shell,
.page-footer {
border-radius: 1.4rem;
}
.topbar {
display: flex;
align-items: center;
justify-content: space-between;
gap: 1.2rem;