:root { --bg: #eef4f8; --surface: #ffffff; --surface-soft: rgba(255, 255, 255, 0.82); --surface-tint: #eff8f6; --border: #d6e0ea; --text: #0f172a; --muted: #526072; --primary: #2563eb; --accent: #0f766e; --danger: #dc2626; --shadow: 0 20px 40px rgba(15, 23, 42, 0.08); } * { box-sizing: border-box; } body { margin: 0; font-family: Inter, "Segoe UI", Arial, sans-serif; color: var(--text); background: radial-gradient(circle at top left, rgba(37, 99, 235, 0.08), transparent 24%), radial-gradient(circle at bottom right, rgba(15, 118, 110, 0.08), transparent 32%), var(--bg); } button, input, select, textarea { font: inherit; } button { cursor: pointer; } .app-frame { min-height: 100vh; display: grid; grid-template-columns: 280px minmax(0, 1fr); } .sidebar { padding: 1.5rem 1.1rem; border-right: 1px solid rgba(214, 224, 234, 0.85); background: rgba(255, 255, 255, 0.78); backdrop-filter: blur(16px); display: grid; grid-template-rows: auto 1fr auto; gap: 1.4rem; } .sidebar-brand h1 { margin: 0.25rem 0 0.35rem; font-size: 1.75rem; } .sidebar-copy, .section-copy, .status-text, .metric-card span, .list-meta, label span, .nav-btn small, .sidebar-foot { color: var(--muted); } .eyebrow { margin: 0; color: var(--accent); text-transform: uppercase; font-size: 0.76rem; font-weight: 700; } .nav-list { display: grid; gap: 0.45rem; align-content: start; } .nav-btn { border: 1px solid transparent; background: transparent; border-radius: 8px; padding: 0.9rem 0.95rem; text-align: left; display: grid; gap: 0.2rem; min-height: 68px; } .nav-btn span { font-weight: 700; color: var(--text); } .nav-btn.active { background: rgba(37, 99, 235, 0.09); border-color: rgba(37, 99, 235, 0.14); } .nav-btn:disabled { opacity: 0.52; cursor: not-allowed; } .sidebar-foot { border-top: 1px solid rgba(214, 224, 234, 0.85); padding-top: 1rem; line-height: 1.45; } .content-shell { min-width: 0; padding: 1.4rem; display: grid; gap: 1rem; } .topbar { background: var(--surface-soft); border: 1px solid rgba(214, 224, 234, 0.9); border-radius: 8px; box-shadow: var(--shadow); padding: 1.1rem 1.25rem; display: flex; justify-content: space-between; gap: 1rem; align-items: center; } .topbar h2 { margin: 0.2rem 0 0; font-size: 1.7rem; } .topbar-actions { display: flex; align-items: center; gap: 0.75rem; } .session-pill { min-width: 128px; text-align: center; border-radius: 999px; border: 1px solid var(--border); padding: 0.7rem 1rem; background: rgba(15, 23, 42, 0.04); } .session-pill.muted { min-width: 164px; color: var(--muted); } .page-stack { min-width: 0; } .page-view { display: grid; gap: 1rem; } .page-view[hidden] { display: none; } .band { background: var(--surface-soft); border: 1px solid rgba(214, 224, 234, 0.9); border-radius: 8px; padding: 1.2rem; box-shadow: var(--shadow); } .band-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; margin-bottom: 1rem; } .band-header h3 { margin: 0; font-size: 1.12rem; } .split-band { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; } .hero-grid { display: grid; grid-template-columns: minmax(320px, 0.95fr) minmax(360px, 0.9fr); gap: 1rem; align-items: start; } .hero-copy { padding: 1rem 0.3rem; } .hero-copy h3 { margin: 0.35rem 0 0.8rem; font-size: 2.25rem; line-height: 1.08; } .hero-copy p { margin: 0 0 0.9rem; color: var(--muted); line-height: 1.55; max-width: 62ch; } .auth-signed-in { margin-bottom: 1rem; } .helper-box { border: 1px dashed rgba(37, 99, 235, 0.22); border-radius: 8px; padding: 0.9rem 1rem; color: var(--muted); background: rgba(37, 99, 235, 0.04); } .segmented { display: inline-grid; grid-auto-flow: column; background: #e6edf6; padding: 0.2rem; border-radius: 999px; min-height: 42px; } .segmented button { min-width: 112px; border: 0; border-radius: 999px; background: transparent; color: var(--muted); padding: 0.55rem 0.9rem; } .segmented button.active { background: var(--surface); color: var(--text); box-shadow: 0 3px 10px rgba(15, 23, 42, 0.12); } .form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.9rem; align-items: end; } .form-grid label, .assistant-form { display: grid; gap: 0.35rem; } .full-span { grid-column: 1 / -1; } input, select, textarea { width: 100%; padding: 0.82rem 0.9rem; border-radius: 8px; border: 1px solid var(--border); background: rgba(255, 255, 255, 0.96); } input:focus, select:focus, textarea:focus { outline: 2px solid rgba(37, 99, 235, 0.16); border-color: var(--primary); } .primary-btn, .ghost-btn { min-height: 44px; border-radius: 8px; border: 0; padding: 0.82rem 1rem; } .primary-btn { color: #fff; font-weight: 600; background: linear-gradient(135deg, var(--primary), var(--accent)); } .ghost-btn { background: rgba(15, 23, 42, 0.05); color: var(--text); } .details-card { border: 1px solid var(--border); border-radius: 8px; background: rgba(255, 255, 255, 0.94); padding: 0.85rem 0.95rem; } .details-card summary { cursor: pointer; font-weight: 700; } .details-grid { margin-top: 0.9rem; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.9rem; } .metrics-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0.9rem; } .compact { grid-template-columns: repeat(4, minmax(0, 1fr)); } .metric-card { min-height: 108px; border: 1px solid var(--border); border-radius: 8px; padding: 1rem; background: linear-gradient(160deg, rgba(255, 255, 255, 0.97), rgba(239, 248, 246, 0.9)); display: grid; align-content: space-between; } .metric-card strong { font-size: 2rem; } .dataset-table-wrap { overflow: auto; min-height: 180px; border: 1px solid var(--border); border-radius: 8px; background: rgba(255, 255, 255, 0.95); } table { width: 100%; border-collapse: collapse; } th, td { text-align: left; padding: 0.75rem 0.85rem; border-bottom: 1px solid rgba(214, 224, 234, 0.82); vertical-align: top; } th { position: sticky; top: 0; background: rgba(15, 23, 42, 0.04); } .list-stack { display: grid; gap: 0.7rem; } .list-item { border: 1px solid var(--border); border-radius: 8px; padding: 0.85rem 0.95rem; background: rgba(255, 255, 255, 0.94); } .list-item strong { display: block; margin-bottom: 0.25rem; } .chart-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.9rem; } .chart-card { margin: 0; min-height: 230px; border: 1px solid var(--border); border-radius: 8px; background: var(--surface); display: grid; place-items: center; overflow: hidden; } .chart-grid .chart-card:last-child { grid-column: 1 / -1; } .chart-grid.two-up .chart-card:last-child { grid-column: auto; } .chart-card img { width: 100%; height: 100%; object-fit: contain; background: #fff; } .chart-card img[src=""] { display: none; } .insights-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } .stacked-segmented { display: grid; gap: 0.45rem; } .run-select { display: grid; gap: 0.35rem; margin-bottom: 1rem; } .train-panel[hidden], .result-panel[hidden] { display: none; } .assistant-layout { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr); gap: 1rem; } .assistant-side { display: grid; gap: 1rem; align-content: start; } .conversation { min-height: 340px; max-height: 560px; overflow: auto; border: 1px solid var(--border); border-radius: 8px; background: rgba(255, 255, 255, 0.95); padding: 1rem; display: grid; gap: 0.85rem; } .message { max-width: 92%; border-radius: 8px; padding: 0.9rem 1rem; white-space: pre-wrap; line-height: 1.45; } .message.user { justify-self: end; background: rgba(37, 99, 235, 0.1); } .message.assistant { background: rgba(15, 118, 110, 0.1); } .assistant-form textarea { min-height: 180px; resize: vertical; } .nested-band { background: transparent; border: 0; box-shadow: none; padding: 0; } .context-chip-row { margin-bottom: 1rem; } .pill-list { display: flex; flex-wrap: wrap; gap: 0.45rem; } .pill { border-radius: 999px; padding: 0.45rem 0.7rem; font-size: 0.92rem; background: rgba(249, 115, 22, 0.12); color: #9a3412; } .pill.neutral { background: rgba(15, 23, 42, 0.06); color: var(--text); } .panel-hint { color: var(--muted); } .full-width { width: 100%; } .dynamic-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.9rem; } .dynamic-fields > .list-item { grid-column: 1 / -1; } [hidden] { display: none !important; } @media (max-width: 1200px) { .app-frame { grid-template-columns: 1fr; } .sidebar { border-right: 0; border-bottom: 1px solid rgba(214, 224, 234, 0.85); } .nav-list { grid-template-columns: repeat(3, minmax(0, 1fr)); } .nav-btn { min-height: 74px; } } @media (max-width: 980px) { .split-band, .hero-grid, .assistant-layout, .chart-grid, .metrics-grid, .compact, .insights-list, .dynamic-fields, .details-grid { grid-template-columns: 1fr; } .chart-grid .chart-card:last-child { grid-column: auto; } .topbar { flex-direction: column; align-items: flex-start; } } @media (max-width: 720px) { .content-shell, .sidebar { padding: 1rem; } .nav-list, .form-grid { grid-template-columns: 1fr; } .segmented { width: 100%; } .segmented button { min-width: 0; } }