EdyVision's picture
Serve methodology diagram as static SVG instead of CDN Mermaid.
342d319
Raw History Blame Contribute Delete
7.6 kB
body {
font-family: "IBM Plex Sans", Helvetica, sans-serif;
background: #070b14;
color: #dbeafe;
margin: 0;
min-height: 100vh;
}
.page {
box-sizing: border-box;
width: 100%;
max-width: 1280px;
margin: 0 auto;
padding: 24px 28px 40px;
}
.page *,
.page *::before,
.page *::after {
box-sizing: border-box;
}
.topbar {
display: flex;
justify-content: space-between;
align-items: flex-end;
gap: 24px;
width: 100%;
margin: 0 0 16px;
padding: 0 0 16px;
border-bottom: 1px solid #1e3a5f;
}
.title-block h1 {
margin: 0 0 4px;
font-size: 1.55rem;
font-weight: 650;
letter-spacing: -0.02em;
color: #eff6ff;
}
.title-block p {
margin: 0;
font-size: 0.92rem;
color: #7dd3fc;
}
.toolbar {
display: flex;
align-items: center;
gap: 14px;
flex-wrap: wrap;
flex-shrink: 0;
}
.btn-with-icon {
display: inline-flex;
align-items: center;
gap: 8px;
}
.about-card {
width: 100%;
background: #0c1220;
border: 1px solid #1e3a5f;
border-radius: 8px;
padding: 14px 16px;
margin: 0 0 14px;
}
.about-card-title {
display: flex;
align-items: center;
gap: 8px;
margin-bottom: 8px;
font-size: 0.78rem;
font-weight: 600;
color: #60a5fa;
text-transform: uppercase;
letter-spacing: 0.04em;
}
.about-card-paper {
margin: 0 0 8px;
font-size: 0.92rem;
line-height: 1.45;
color: #bfdbfe;
}
.about-card-paper em {
font-style: italic;
color: #eff6ff;
}
.about-card-body {
margin: 0;
font-size: 0.92rem;
line-height: 1.55;
color: #bfdbfe;
}
.domain-bar {
display: flex;
align-items: center;
width: 100%;
margin: 0 0 12px;
}
.view-tabs {
width: 100%;
margin: 0 0 8px;
}
.view-tabs-list {
margin-bottom: 14px;
flex-wrap: wrap;
gap: 6px;
}
.panel-subhead {
margin: 12px 0 6px;
font-size: 0.95rem;
font-weight: 600;
color: #93c5fd;
}
.summary-stack {
display: flex;
flex-direction: column;
gap: 10px;
width: 100%;
margin: 0;
}
.summary-cell {
background: #0c1220;
border: 1px solid #1e3a5f;
border-radius: 8px;
padding: 12px 14px;
}
.summary-title {
display: flex;
align-items: center;
gap: 8px;
margin-bottom: 6px;
}
.summary-label {
font-size: 0.78rem;
color: #60a5fa;
text-transform: uppercase;
letter-spacing: 0.04em;
}
.summary-value {
font-size: 0.98rem;
font-weight: 600;
color: #eff6ff;
}
.headline-row {
display: grid;
grid-template-columns: minmax(200px, 0.72fr) minmax(0, 1.78fr);
gap: 16px;
width: 100%;
margin: 0 0 18px;
align-items: stretch;
}
.headline-row .findings-panel,
.headline-row .info-card {
margin: 0;
height: 100%;
}
.story-card .info-card-title:not(:first-child) {
margin-top: 4px;
}
.story-divider {
height: 1px;
background: #1e3a5f;
margin: 14px 0;
}
.outcome-grid {
display: grid;
grid-template-columns: 1fr;
gap: 12px;
width: 100%;
margin: 0 0 18px;
}
.findings-card,
.implications-card,
.info-card {
width: 100%;
background: #0c1220;
border: 1px solid #1e3a5f;
border-radius: 8px;
padding: 14px 16px;
margin: 0 0 18px;
}
.info-card-title {
display: flex;
align-items: center;
gap: 8px;
margin-bottom: 8px;
font-size: 0.78rem;
font-weight: 600;
color: #60a5fa;
text-transform: uppercase;
letter-spacing: 0.04em;
}
.info-card-body {
margin: 0 0 10px;
font-size: 0.9rem;
line-height: 1.55;
color: #bfdbfe;
}
.info-card-body:last-child {
margin-bottom: 0;
}
.two-col {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 16px;
width: 100%;
margin: 0 0 16px;
}
.two-col > .panel {
margin-bottom: 0;
min-width: 0;
}
.panel {
width: 100%;
background: #0c1220;
border: 1px solid #1e3a5f;
border-radius: 8px;
padding: 14px 16px 8px;
margin: 0 0 16px;
}
.panel h2 {
margin: 0 0 4px;
font-size: 0.95rem;
font-weight: 600;
color: #93c5fd;
}
.panel-heading {
display: flex;
align-items: center;
gap: 10px;
margin: 0 0 4px;
}
.panel-heading h2 {
margin: 0;
}
.panel-heading-info {
position: relative;
display: inline-flex;
align-items: center;
justify-content: center;
flex-shrink: 0;
margin-left: 2px;
padding: 2px;
color: #60a5fa;
cursor: help;
line-height: 0;
border-radius: 999px;
z-index: 2;
}
.panel-heading-info:hover,
.panel-heading-info:focus-visible {
color: #93c5fd;
background: rgba(59, 130, 246, 0.12);
outline: none;
}
.panel-heading-tip {
display: none;
position: absolute;
left: 0;
top: calc(100% + 8px);
z-index: 40;
width: min(440px, 82vw);
padding: 10px 12px;
border-radius: 8px;
border: 1px solid #1e3a5f;
background: #0a1628;
color: #dbeafe;
font-size: 0.75rem;
font-weight: 400;
line-height: 1.45;
white-space: normal;
text-align: left;
box-shadow: 0 10px 28px rgba(2, 8, 23, 0.55);
pointer-events: none;
}
.panel-heading-info:hover .panel-heading-tip,
.panel-heading-info:focus-visible .panel-heading-tip,
.panel-heading-info:focus-within .panel-heading-tip {
display: block;
}
.panel-note {
margin: 0 0 10px;
font-size: 0.8rem;
line-height: 1.45;
color: #60a5fa;
}
.site-footer {
width: 100%;
margin: 8px 0 0;
padding: 16px 0 0;
border-top: 1px solid #1e3a5f;
font-size: 0.8rem;
color: #60a5fa;
line-height: 1.6;
}
.footer-row {
display: flex;
flex-wrap: wrap;
align-items: baseline;
gap: 0 2px;
}
.footer-credit {
margin-top: 8px;
color: #64748b;
}
.footer-label {
font-weight: 600;
color: #93c5fd;
}
.footer-link {
color: #38bdf8;
text-decoration: none;
background: none;
border: none;
padding: 0;
font: inherit;
cursor: pointer;
}
.footer-link:hover {
text-decoration: underline;
}
.footer-muted {
color: #3b82f6;
opacity: 0.75;
}
.footer-sep {
color: #1e3a5f;
margin: 0 4px;
}
.modal-section-title {
margin: 0 0 6px;
font-size: 0.95rem;
color: #dbeafe;
}
.modal-section-body {
margin: 0 0 14px;
font-size: 0.9rem;
line-height: 1.55;
color: #93c5fd;
}
.modal-repo-block {
margin: 0 0 4px;
}
.modal-repo-id {
font-size: 0.8rem;
color: #64748b;
}
.modal-link {
color: #38bdf8;
text-decoration: none;
font-weight: 600;
}
.modal-link:hover {
text-decoration: underline;
}
.mermaid-host {
width: 100%;
margin: 4px 0 16px;
padding: 12px 10px;
background: #070b14;
border: 1px solid #1e3a5f;
border-radius: 8px;
overflow-x: auto;
text-align: center;
}
.mermaid-host svg,
.method-compare-img {
max-width: 100%;
height: auto;
display: block;
margin: 0 auto;
}
.js-plotly-plot,
.js-plotly-plot .plotly,
.js-plotly-plot .svg-container {
width: 100% !important;
}
.main-loading {
position: relative;
min-height: 320px;
}
.main-loading .dash-spinner {
margin-top: 48px;
}
.main-loading .dash-spinner > div {
border-color: #38bdf8 transparent transparent transparent !important;
}
@media (max-width: 960px) {
.topbar {
flex-direction: column;
align-items: flex-start;
}
.headline-row {
grid-template-columns: 1fr;
}
.two-col {
grid-template-columns: 1fr;
}
.page {
padding: 16px;
}
}