Spaces:
Sleeping
Sleeping
Refine savings cap behavior, add multi-focus controls, rename app to OpenEnv RL Budget Planner
41c1ec4 Download static/styles.css from Shaenpai24/RL_Budget_Planner: direct link, hf CLI and curl.
- Browser
- Download file 26 kB
-
https://huggingface.co/spaces/Shaenpai24/RL_Budget_Planner/resolve/main/static/styles.css
- Command line
-
hf download hf://spaces/Shaenpai24/RL_Budget_Planner/static/styles.css
-
curl -L -o styles.css https://huggingface.co/spaces/Shaenpai24/RL_Budget_Planner/resolve/main/static/styles.css
26 kB
/* ============================================
MATERIAL DESIGN 3 - NEON THEME
============================================ */
:root {
/* Colors */
--primary: #00FF88;
--primary-dim: #00ed7e;
--primary-fixed: #00fd87;
--primary-container: #a4ffb9;
--on-primary: #006532;
--on-primary-container: #005b2c;
--secondary: #00D9FF;
--secondary-dim: #00caed;
--secondary-fixed: #6ce1ff;
--secondary-container: #00687b;
--on-secondary: #004755;
--tertiary: #ffc965;
--tertiary-dim: #ecaa00;
--tertiary-fixed: #feb700;
--on-tertiary: #5f4200;
--error: #ff716c;
--error-dim: #d7383b;
--on-error: #490006;
/* Backgrounds */
--bg-base: #0e0e0e;
--surface: #0e0e0e;
--surface-dim: #0e0e0e;
--surface-bright: #2c2c2c;
--surface-container: #1a1a1a;
--surface-container-low: #131313;
--surface-container-high: #20201f;
--surface-container-highest: #262626;
/* Text */
--on-surface: #ffffff;
--on-surface-variant: #adaaaa;
/* Borders */
--outline: #767575;
--outline-variant: #484847;
/* Fonts */
--font-headline: 'Space Grotesk', sans-serif;
--font-body: 'Inter', sans-serif;
--font-mono: 'JetBrains Mono', monospace;
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
html {
scroll-behavior: smooth;
}
body {
font-family: var(--font-body);
background: var(--bg-base);
color: var(--on-surface);
line-height: 1.6;
}
/* ============================================
SCROLLBAR
============================================ */
::-webkit-scrollbar {
width: 8px;
height: 8px;
}
::-webkit-scrollbar-track {
background: transparent;
}
::-webkit-scrollbar-thumb {
background: var(--outline-variant);
border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
background: var(--primary);
box-shadow: 0 0 15px rgba(0, 255, 136, 0.3);
}
/* ============================================
TOP APP BAR
============================================ */
.top-app-bar {
position: fixed;
top: 0;
width: 100%;
height: 64px;
background: var(--bg-base);
border-bottom: 1px solid rgba(72, 72, 71, 0.15);
box-shadow: 0 0 20px rgba(0, 255, 136, 0.1);
display: flex;
align-items: center;
justify-content: flex-start;
padding: 0 24px;
z-index: 100;
gap: 24px;
}
.app-bar-start {
display: flex;
align-items: center;
gap: 16px;
flex: 1;
}
.app-title {
font-size: 20px;
font-weight: 700;
color: var(--primary);
text-transform: uppercase;
letter-spacing: 1px;
font-family: var(--font-headline);
}
.divider {
width: 1px;
height: 24px;
background: rgba(72, 72, 71, 0.3);
display: none;
}
@media (min-width: 900px) {
.divider {
display: block;
}
}
.status-badge {
display: none;
align-items: center;
gap: 8px;
padding: 6px 12px;
background: var(--surface-container);
border-radius: 24px;
border: 1px solid rgba(72, 72, 71, 0.2);
}
@media (min-width: 900px) {
.status-badge {
display: flex;
}
}
.status-dot {
width: 6px;
height: 6px;
border-radius: 50%;
background: var(--primary);
animation: pulse 2s infinite;
}
@keyframes pulse {
0%, 100% {
opacity: 1;
}
50% {
opacity: 0.5;
}
}
.status-text {
font-size: 10px;
font-family: var(--font-mono);
color: var(--primary-dim);
text-transform: uppercase;
letter-spacing: 1px;
font-weight: 600;
}
.app-nav {
display: none;
gap: 32px;
align-items: center;
}
@media (min-width: 900px) {
.app-nav {
display: flex;
}
}
.nav-link {
font-family: var(--font-headline);
font-size: 14px;
font-weight: 600;
letter-spacing: 0.5px;
color: var(--on-surface-variant);
text-decoration: none;
border-bottom: 2px solid transparent;
padding-bottom: 4px;
transition: all 0.2s ease;
}
.nav-link:hover {
color: var(--primary);
}
.nav-link.active {
color: var(--primary);
border-bottom-color: var(--primary);
}
.app-bar-end {
display: flex;
align-items: center;
gap: 16px;
}
.icon-btn {
display: none;
background: none;
border: none;
color: var(--on-surface-variant);
cursor: pointer;
font-size: 24px;
transition: color 0.2s ease;
}
@media (min-width: 900px) {
.icon-btn {
display: block;
}
}
.icon-btn:hover {
color: var(--primary);
}
.avatar {
width: 32px;
height: 32px;
border-radius: 50%;
background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
display: flex;
align-items: center;
justify-content: center;
color: var(--on-primary);
font-weight: 700;
font-size: 12px;
}
/* ============================================
MAIN CONTAINER & LAYOUT
============================================ */
.main-container {
display: flex;
margin-top: 64px;
height: calc(100vh - 64px);
overflow: hidden;
}
.sidebar {
display: none;
flex-direction: column;
width: 256px;
border-right: 1px solid rgba(72, 72, 71, 0.15);
background: var(--surface-container-low);
overflow-y: auto;
padding: 24px 0;
min-width: 256px;
}
@media (min-width: 900px) {
.sidebar {
display: flex;
}
}
.sidebar-header {
padding: 0 24px 16px;
border-bottom: 1px solid rgba(72, 72, 71, 0.1);
margin-bottom: 16px;
}
.sidebar-label {
font-size: 10px;
font-weight: 700;
letter-spacing: 1px;
text-transform: uppercase;
color: var(--on-surface-variant);
margin-bottom: 4px;
font-family: var(--font-mono);
}
.sidebar-subtitle {
font-size: 12px;
color: var(--on-surface-variant);
font-style: italic;
}
.sidebar-nav {
flex: 1;
}
.nav-item {
display: flex;
align-items: center;
gap: 16px;
padding: 12px 24px;
cursor: pointer;
color: var(--on-surface-variant);
transition: all 0.2s ease;
border-left: 4px solid transparent;
font-size: 14px;
}
.nav-item:hover {
color: var(--primary);
background: var(--surface-container);
}
.nav-item.active {
background: var(--surface-container);
color: var(--primary);
border-left-color: var(--primary);
font-weight: 600;
}
.nav-item .material-symbols-outlined {
font-size: 20px;
}
.sidebar-footer {
padding: 16px 24px;
border-top: 1px solid rgba(72, 72, 71, 0.1);
}
.footer-item {
display: flex;
align-items: center;
gap: 16px;
padding: 8px;
cursor: pointer;
color: var(--on-surface-variant);
transition: color 0.2s ease;
font-size: 12px;
margin-bottom: 8px;
}
.footer-item:hover {
color: var(--on-surface);
}
.footer-item.logout:hover {
color: var(--error);
}
.main-content {
flex: 1;
display: flex;
overflow: hidden;
}
.left-panel {
width: 35%;
overflow-y: auto;
padding: 32px 24px;
background: var(--surface-container-low);
border-right: 1px solid rgba(72, 72, 71, 0.15);
display: none;
}
@media (min-width: 1400px) {
.left-panel {
display: block;
}
}
.right-panel {
flex: 1;
overflow-y: auto;
padding: 32px;
background: var(--surface);
}
@media (max-width: 1399px) {
.right-panel {
width: 100%;
}
}
/* ============================================
SECTIONS
============================================ */
.section {
margin-bottom: 32px;
}
.section-title {
font-size: 11px;
font-weight: 700;
letter-spacing: 2px;
text-transform: uppercase;
color: var(--on-surface-variant);
margin-bottom: 16px;
font-family: var(--font-mono);
}
/* ============================================
METRICS GRID
============================================ */
.metrics-grid {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 12px;
}
.metric-card {
padding: 16px;
border-radius: 8px;
border: 1px solid rgba(72, 72, 71, 0.2);
background: var(--surface-container);
display: flex;
align-items: flex-start;
justify-content: space-between;
transition: all 0.2s ease;
}
.metric-card:hover {
border-color: rgba(0, 255, 136, 0.5);
box-shadow: 0 0 15px rgba(0, 255, 136, 0.2);
}
.metric-label {
font-size: 10px;
font-weight: 600;
letter-spacing: 0.8px;
text-transform: uppercase;
color: var(--on-surface-variant);
margin-bottom: 4px;
font-family: var(--font-mono);
}
.metric-value {
font-size: 24px;
font-weight: 900;
color: var(--primary);
font-family: var(--font-mono);
}
.metric-value.expense {
color: var(--tertiary);
}
.metric-value.primary {
color: var(--primary);
}
.metric-value.secondary {
color: var(--secondary);
}
.progress-ring {
width: 50px;
height: 50px;
}
/* ============================================
DIFFICULTY BUTTONS
============================================ */
.difficulty-buttons {
display: flex;
gap: 8px;
}
.difficulty-btn {
flex: 1;
display: block;
position: relative;
cursor: pointer;
}
.difficulty-btn input {
display: none;
}
.difficulty-btn > span {
display: block;
text-align: center;
padding: 12px 8px;
border-radius: 8px;
border: 1.5px solid rgba(72, 72, 71, 0.3);
background: var(--surface-container);
font-size: 10px;
font-family: var(--font-mono);
color: var(--on-surface-variant);
font-weight: 600;
transition: all 0.2s ease;
}
.difficulty-btn input:checked + span {
background: transparent;
color: var(--primary);
border-color: var(--primary);
}
.difficulty-btn:nth-child(2) input:checked + span {
border-color: var(--tertiary);
color: var(--tertiary);
}
.difficulty-btn:nth-child(3) input:checked + span {
border-color: var(--error);
color: var(--error);
}
/* ============================================
FORM ELEMENTS
============================================ */
.form-group {
margin-bottom: 20px;
}
.form-header {
display: flex;
justify-content: space-between;
margin-bottom: 8px;
align-items: center;
}
.form-header label {
font-size: 12px;
color: var(--on-surface-variant);
font-weight: 500;
}
.form-value {
font-size: 11px;
font-family: var(--font-mono);
color: var(--primary);
font-weight: 600;
}
.slider {
width: 100%;
height: 4px;
border-radius: 2px;
background: var(--surface-container-highest);
outline: none;
-webkit-appearance: none;
appearance: none;
cursor: pointer;
}
.slider::-webkit-slider-thumb {
-webkit-appearance: none;
appearance: none;
width: 18px;
height: 18px;
border-radius: 50%;
background: var(--primary);
cursor: pointer;
box-shadow: 0 0 10px rgba(0, 255, 136, 0.4);
transition: all 0.2s ease;
}
.slider::-moz-range-thumb {
width: 18px;
height: 18px;
border-radius: 50%;
background: var(--primary);
cursor: pointer;
border: none;
box-shadow: 0 0 10px rgba(0, 255, 136, 0.4);
transition: all 0.2s ease;
}
.slider:hover::-webkit-slider-thumb {
box-shadow: 0 0 20px rgba(0, 255, 136, 0.6);
}
.number-input {
width: 100%;
background: var(--surface-container);
border: 1px solid rgba(72, 72, 71, 0.2);
border-radius: 8px;
padding: 12px;
color: var(--on-surface);
font-family: var(--font-body);
font-size: 14px;
transition: all 0.2s ease;
}
.number-input:focus {
outline: none;
border-color: var(--secondary);
box-shadow: 0 0 12px rgba(0, 217, 255, 0.25);
}
.textarea {
width: 100%;
background: var(--surface-container);
border: 1px solid rgba(72, 72, 71, 0.2);
border-radius: 8px;
padding: 12px;
color: var(--on-surface);
font-family: var(--font-body);
font-size: 13px;
resize: vertical;
transition: all 0.2s ease;
}
.textarea:focus {
outline: none;
border-color: var(--secondary);
box-shadow: 0 0 12px rgba(0, 217, 255, 0.25);
}
/* ============================================
PREFERENCES GRID
============================================ */
.preferences-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 24px;
}
.pref-label {
font-size: 10px;
font-family: var(--font-mono);
text-transform: uppercase;
color: var(--on-surface-variant);
margin-bottom: 12px;
font-weight: 700;
letter-spacing: 1px;
}
.radio-group {
display: flex;
flex-direction: column;
gap: 8px;
}
.radio-item {
display: flex;
align-items: center;
gap: 8px;
cursor: pointer;
}
.radio-item input {
width: 16px;
height: 16px;
cursor: pointer;
accent-color: var(--primary);
}
.radio-item span {
font-size: 12px;
color: var(--on-surface-variant);
}
.radio-item:hover span {
color: var(--on-surface);
}
.focus-grid {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 10px;
}
.focus-item {
display: flex;
align-items: center;
gap: 8px;
padding: 8px 10px;
border: 1px solid rgba(72, 72, 71, 0.2);
border-radius: 8px;
background: var(--surface-container-low);
cursor: pointer;
}
.focus-item input {
accent-color: var(--primary);
}
.focus-item span {
font-size: 12px;
color: var(--on-surface-variant);
}
.focus-item:hover {
border-color: rgba(0, 255, 136, 0.4);
}
/* ============================================
BUTTONS
============================================ */
.btn-primary {
display: flex;
align-items: center;
justify-content: center;
gap: 8px;
width: 100%;
padding: 12px 16px;
background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dim) 100%);
border: none;
border-radius: 10px;
color: var(--on-primary);
font-weight: 700;
font-size: 13px;
letter-spacing: 0.5px;
text-transform: uppercase;
font-family: var(--font-body);
cursor: pointer;
transition: all 0.3s ease;
box-shadow: 0 0 20px rgba(0, 255, 136, 0.3);
}
.btn-primary:hover {
transform: translateY(-2px);
box-shadow: 0 0 30px rgba(0, 255, 136, 0.5);
}
.btn-primary:active {
transform: translateY(0);
}
.btn-generate {
width: 100%;
padding: 18px 20px;
background: linear-gradient(135deg, var(--primary-fixed) 0%, var(--primary-container) 100%);
border: none;
border-radius: 12px;
color: var(--on-primary-container);
font-weight: 700;
font-size: 15px;
letter-spacing: 0.5px;
text-transform: uppercase;
font-family: var(--font-body);
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
gap: 12px;
box-shadow: 0 0 20px rgba(0, 255, 136, 0.3);
transition: all 0.3s ease;
margin-top: 24px;
}
.btn-generate:hover {
transform: translateY(-3px);
box-shadow: 0 0 30px rgba(0, 255, 136, 0.5);
}
.btn-generate:active {
transform: translateY(-1px);
}
/* ============================================
SCENARIOS GRID
============================================ */
.scenarios-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
gap: 16px;
}
.scenario-card {
position: relative;
padding: 20px;
border-radius: 12px;
border: 1px solid rgba(72, 72, 71, 0.1);
background: var(--surface-container-high);
transition: all 0.2s ease;
overflow: hidden;
cursor: pointer;
}
.scenario-card:hover {
border-color: rgba(0, 255, 136, 0.5);
}
.scenario-card:focus {
outline: none;
border-color: rgba(0, 255, 136, 0.8);
box-shadow: 0 0 0 2px rgba(0, 255, 136, 0.25);
}
.scenario-card.active {
border-color: var(--primary);
box-shadow: 0 0 20px rgba(0, 255, 136, 0.2);
}
.scenario-badge {
position: absolute;
top: 12px;
right: 12px;
padding: 4px 8px;
font-size: 10px;
font-family: var(--font-mono);
font-weight: 700;
background: rgba(0, 255, 136, 0.1);
color: var(--primary);
border-radius: 4px;
text-transform: uppercase;
letter-spacing: 0.5px;
}
.scenario-label {
font-size: 10px;
font-family: var(--font-mono);
color: var(--on-surface-variant);
text-transform: uppercase;
margin-bottom: 8px;
letter-spacing: 0.5px;
}
.scenario-card h4 {
font-size: 18px;
font-weight: 700;
margin-bottom: 16px;
color: var(--on-surface);
font-family: var(--font-headline);
}
.scenario-footer {
display: flex;
align-items: flex-end;
justify-content: space-between;
}
.scenario-score {
font-size: 24px;
font-weight: 900;
color: var(--secondary);
font-family: var(--font-mono);
}
.scenario-timeline {
font-size: 10px;
color: var(--on-surface-variant);
}
/* ============================================
KEY METRICS
============================================ */
.key-metrics {
display: grid;
grid-template-columns: 1fr;
gap: 20px;
}
@media (min-width: 1200px) {
.key-metrics {
grid-template-columns: repeat(2, 1fr);
}
}
@media (min-width: 1600px) {
.key-metrics {
grid-template-columns: repeat(4, 1fr);
}
}
.metric-item {
display: flex;
flex-direction: column;
gap: 8px;
}
.metric-item .metric-label {
font-size: 10px;
text-transform: uppercase;
color: var(--on-surface-variant);
letter-spacing: 1px;
font-weight: 700;
}
.metric-display {
font-size: 28px;
font-weight: 900;
font-family: var(--font-mono);
color: var(--primary);
}
.metric-display.secondary {
color: var(--secondary);
}
.metric-bar {
height: 3px;
background: var(--surface-container-highest);
border-radius: 2px;
overflow: hidden;
margin-top: 4px;
}
.metric-fill {
height: 100%;
border-radius: 2px;
transition: width 0.3s ease;
}
/* ============================================
TARGETS CONTAINER
============================================ */
.targets-container {
display: flex;
flex-wrap: wrap;
align-items: center;
gap: 12px;
}
.targets-label {
font-size: 12px;
color: var(--on-surface-variant);
margin-right: 8px;
}
.target-chip {
padding: 8px 12px;
border-radius: 20px;
background: var(--surface-container-highest);
border: 1px solid rgba(0, 255, 136, 0.2);
font-size: 10px;
font-family: var(--font-mono);
color: var(--primary);
text-transform: uppercase;
letter-spacing: 0.5px;
font-weight: 600;
}
.target-chip.secondary {
border-color: rgba(0, 217, 255, 0.2);
color: var(--secondary);
}
.target-chip.tertiary {
border-color: rgba(255, 201, 101, 0.2);
color: var(--tertiary);
}
/* ============================================
TABS
============================================ */
.tabs-section {
background: var(--surface-container);
border-radius: 16px;
overflow: hidden;
border: 1px solid rgba(72, 72, 71, 0.1);
}
.tabs-header {
display: flex;
border-bottom: 1px solid rgba(72, 72, 71, 0.1);
padding: 0 24px;
}
.tab-btn {
padding: 16px 20px;
background: none;
border: none;
font-size: 13px;
font-weight: 600;
color: var(--on-surface-variant);
cursor: pointer;
border-bottom: 2px solid transparent;
transition: all 0.2s ease;
text-transform: uppercase;
letter-spacing: 0.5px;
font-family: var(--font-body);
}
.tab-btn:hover {
color: var(--primary);
}
.tab-btn.active {
color: var(--primary);
border-bottom-color: var(--primary);
}
.tabs-content {
padding: 32px 24px;
}
.tab-pane {
display: none;
}
.tab-pane.active {
display: block;
}
/* ============================================
ALLOCATION GRID
============================================ */
.allocation-grid {
display: grid;
grid-template-columns: 300px 1fr;
gap: 32px;
align-items: center;
margin-bottom: 40px;
}
@media (max-width: 1200px) {
.allocation-grid {
grid-template-columns: 1fr;
}
}
.pie-chart-container {
aspect-ratio: 1;
max-width: 300px;
margin: 0 auto;
width: 100%;
min-height: 280px;
}
#pie-chart {
width: 100%;
height: 100%;
display: block;
}
.chart-legend {
display: flex;
flex-direction: column;
gap: 16px;
}
.legend-item {
display: flex;
align-items: center;
gap: 12px;
}
.legend-color {
width: 12px;
height: 12px;
border-radius: 2px;
}
.legend-item span {
font-size: 12px;
color: var(--on-surface-variant);
}
.bar-chart-container {
margin-bottom: 40px;
}
#bar-chart {
width: 100%;
height: 220px;
display: block;
}
.chart-title {
font-size: 14px;
font-weight: 700;
margin-bottom: 16px;
text-transform: uppercase;
letter-spacing: 0.5px;
color: var(--on-surface-variant);
}
/* ============================================
ALLOCATION TABLE
============================================ */
.allocation-table {
width: 100%;
border-collapse: collapse;
font-size: 13px;
}
.allocation-table thead {
border-bottom: 2px solid var(--outline-variant);
}
.allocation-table th {
padding: 16px 12px;
text-align: left;
font-weight: 700;
color: var(--on-surface-variant);
text-transform: uppercase;
font-size: 10px;
letter-spacing: 0.8px;
}
.allocation-table td {
padding: 14px 12px;
border-bottom: 1px solid rgba(72, 72, 71, 0.1);
color: var(--on-surface);
}
.allocation-table tr:hover {
background: var(--surface-container);
}
.status-green {
padding: 4px 8px;
background: rgba(0, 255, 136, 0.1);
color: var(--primary);
border-radius: 4px;
font-size: 10px;
font-weight: 600;
text-transform: uppercase;
letter-spacing: 0.5px;
}
/* ============================================
BREAKDOWN CONTENT
============================================ */
.breakdown-content {
display: grid;
gap: 20px;
}
.breakdown-item {
padding: 16px;
background: var(--surface-container-low);
border-radius: 8px;
border-left: 3px solid var(--primary);
}
.breakdown-item-title {
font-size: 14px;
font-weight: 700;
margin-bottom: 8px;
color: var(--on-surface);
}
.breakdown-item-details {
font-size: 12px;
color: var(--on-surface-variant);
line-height: 1.6;
}
/* ============================================
AI REASONING
============================================ */
.ai-reasoning {
border-left: 4px solid var(--secondary);
background: var(--surface-container-high);
padding: 24px;
border-radius: 8px;
}
.ai-header {
display: flex;
align-items: center;
justify-content: space-between;
margin-bottom: 16px;
}
.ai-title {
display: flex;
align-items: center;
gap: 12px;
}
.ai-title h4 {
font-size: 16px;
font-weight: 700;
text-transform: uppercase;
letter-spacing: 0.5px;
font-family: var(--font-headline);
color: var(--on-surface);
}
.ai-title .material-symbols-outlined {
font-size: 24px;
color: var(--secondary);
}
.confidence-badge {
display: flex;
align-items: center;
gap: 8px;
padding: 8px 12px;
background: rgba(0, 217, 255, 0.1);
border-radius: 20px;
border: 1px solid rgba(0, 217, 255, 0.2);
}
.confidence-badge span:first-child {
font-size: 10px;
text-transform: uppercase;
color: var(--secondary);
font-family: var(--font-mono);
letter-spacing: 0.5px;
}
.confidence-badge span:last-child {
font-size: 12px;
font-weight: 700;
color: var(--secondary);
font-family: var(--font-mono);
}
.ai-text {
font-size: 13px;
line-height: 1.7;
color: var(--on-surface-variant);
}
.ai-text strong {
color: var(--on-surface);
font-weight: 600;
}
/* ============================================
JSON OUTPUT
============================================ */
.json-section {
margin-top: 40px;
}
.json-container {
position: relative;
background: #000000;
border: 1px solid rgba(72, 72, 71, 0.3);
border-radius: 10px;
padding: 20px;
overflow: hidden;
}
.json-copy {
position: absolute;
top: 16px;
right: 16px;
background: none;
border: none;
font-size: 10px;
color: var(--primary);
cursor: pointer;
text-transform: uppercase;
font-weight: 700;
letter-spacing: 0.5px;
transition: all 0.2s ease;
}
.json-copy:hover {
color: var(--primary-dim);
text-decoration: underline;
}
#json-output {
font-family: var(--font-mono);
font-size: 12px;
color: var(--primary-dim);
margin: 0;
overflow-x: auto;
line-height: 1.6;
max-height: 300px;
overflow-y: auto;
}
/* ============================================
RESPONSIVENESS
============================================ */
@media (max-width: 1399px) {
.main-content {
flex-direction: column;
}
.left-panel {
display: block !important;
width: 100%;
border-right: none;
border-bottom: 1px solid rgba(72, 72, 71, 0.15);
padding: 24px;
}
.right-panel {
width: 100%;
flex: 1;
}
}
@media (max-width: 768px) {
.top-app-bar {
padding: 0 16px;
flex-direction: column;
height: auto;
min-height: 60px;
}
.app-bar-start {
width: 100%;
margin-bottom: 12px;
}
.app-nav {
display: none !important;
}
.metrics-grid {
grid-template-columns: 1fr;
}
.scenarios-grid {
grid-template-columns: 1fr;
}
.key-metrics {
grid-template-columns: 1fr;
}
.preferences-grid {
grid-template-columns: 1fr;
}
.allocation-grid {
grid-template-columns: 1fr;
}
.right-panel {
padding: 20px;
}
}
/* ============================================
MATERIAL DESIGN 3 - NEON THEME
============================================ */
:root {
/* Colors */
--primary: #00FF88;
--primary-dim: #00ed7e;
--primary-fixed: #00fd87;
--primary-container: #a4ffb9;
--on-primary: #006532;
--on-primary-container: #005b2c;
--secondary: #00D9FF;
--secondary-dim: #00caed;
--secondary-fixed: #6ce1ff;
--secondary-container: #00687b;
--on-secondary: #004755;
--tertiary: #ffc965;
--tertiary-dim: #ecaa00;
--tertiary-fixed: #feb700;
--on-tertiary: #5f4200;
--error: #ff716c;
--error-dim: #d7383b;
--on-error: #490006;
/* Backgrounds */
--bg-base: #0e0e0e;
--surface: #0e0e0e;
--surface-dim: #0e0e0e;
--surface-bright: #2c2c2c;
--surface-container: #1a1a1a;
--surface-container-low: #131313;
--surface-container-high: #20201f;
--surface-container-highest: #262626;
/* Text */
--on-surface: #ffffff;
--on-surface-variant: #adaaaa;
/* Borders */
--outline: #767575;
--outline-variant: #484847;
/* Fonts */
--font-headline: 'Space Grotesk', sans-serif;
--font-body: 'Inter', sans-serif;
--font-mono: 'JetBrains Mono', monospace;
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
html {
scroll-behavior: smooth;
}
body {
font-family: var(--font-body);
background: var(--bg-base);
color: var(--on-surface);
line-height: 1.6;
}
/* ============================================
SCROLLBAR
============================================ */
::-webkit-scrollbar {
width: 8px;
height: 8px;
}
::-webkit-scrollbar-track {
background: transparent;
}
::-webkit-scrollbar-thumb {
background: var(--outline-variant);
border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
background: var(--primary);
box-shadow: 0 0 15px rgba(0, 255, 136, 0.3);
}
/* ============================================
TOP APP BAR
============================================ */
.top-app-bar {
position: fixed;
top: 0;
width: 100%;
height: 64px;
background: var(--bg-base);