multi-agent-strat / styles.css
Avnishjain's picture
Upload 21 files
6888575 verified
:root {
--ink: #122034;
--ink-soft: #2f4760;
--sand: #f7f4ec;
--paper: #fffdf8;
--line: #d8d2c5;
--mint: #2ba58e;
--amber: #f09a3c;
--rose: #de6b5e;
--blue: #2f7bd3;
}
* {
box-sizing: border-box;
}
body {
margin: 0;
min-height: 100vh;
font-family: "Space Grotesk", "Segoe UI", sans-serif;
color: var(--ink);
background: radial-gradient(circle at 8% 16%, #ffecd4 0%, transparent 28%),
radial-gradient(circle at 92% 10%, #d9f2ff 0%, transparent 30%),
linear-gradient(140deg, #f7f4ec 0%, #fffdf8 45%, #f5fafc 100%);
padding: 1.25rem;
}
.bg-glow {
position: fixed;
width: 320px;
height: 320px;
border-radius: 999px;
filter: blur(60px);
opacity: 0.25;
pointer-events: none;
z-index: -1;
}
.bg-glow-a {
top: -120px;
left: -80px;
background: #ffd6a0;
}
.bg-glow-b {
right: -90px;
bottom: -120px;
background: #b9ebdf;
}
.hero {
display: flex;
gap: 1rem;
justify-content: space-between;
align-items: end;
margin-bottom: 1rem;
}
.eyebrow {
margin: 0;
text-transform: uppercase;
letter-spacing: 0.08em;
font-size: 0.75rem;
color: var(--ink-soft);
}
h1 {
margin: 0.2rem 0 0;
font-size: clamp(1.8rem, 4vw, 2.8rem);
line-height: 1;
}
.subtitle {
margin: 0.55rem 0 0;
max-width: 60ch;
color: var(--ink-soft);
}
.hero-metrics {
display: grid;
grid-template-columns: repeat(2, minmax(130px, 1fr));
gap: 0.75rem;
}
.metric-box {
background: rgba(255, 255, 255, 0.8);
border: 1px solid var(--line);
border-radius: 12px;
padding: 0.65rem 0.8rem;
backdrop-filter: blur(6px);
}
.metric-box span {
font-size: 0.72rem;
color: var(--ink-soft);
}
.metric-box strong {
display: block;
margin-top: 0.2rem;
font-size: 0.9rem;
word-break: break-all;
}
.layout {
display: grid;
grid-template-columns: minmax(280px, 370px) minmax(0, 1fr);
gap: 1rem;
}
.panel {
background: rgba(255, 255, 255, 0.84);
border: 1px solid var(--line);
border-radius: 16px;
box-shadow: 0 15px 30px rgba(18, 32, 52, 0.08);
backdrop-filter: blur(8px);
}
.controls {
padding: 1rem;
}
.controls h2 {
margin: 0.25rem 0 0.75rem;
font-size: 1.05rem;
}
label {
display: block;
margin-bottom: 0.7rem;
font-size: 0.84rem;
color: var(--ink-soft);
}
select,
input,
textarea {
margin-top: 0.3rem;
width: 100%;
border: 1px solid #ccd5df;
border-radius: 10px;
padding: 0.6rem 0.7rem;
font: inherit;
color: var(--ink);
background: #fff;
}
textarea {
resize: vertical;
}
.task-card {
margin: 0.8rem 0 1rem;
border: 1px dashed #cad3db;
border-radius: 12px;
padding: 0.75rem;
background: #fffcf4;
}
.task-card h3 {
margin: 0;
font-size: 0.95rem;
}
.task-card p {
margin: 0.55rem 0 0;
font-size: 0.82rem;
color: var(--ink-soft);
}
.tags,
.chips,
.pill-wrap {
display: flex;
flex-wrap: wrap;
gap: 0.45rem;
}
.tag,
.pill {
display: inline-flex;
align-items: center;
padding: 0.23rem 0.5rem;
border-radius: 999px;
background: #f0f4f8;
border: 1px solid #d8e1e8;
font-size: 0.74rem;
}
.pill {
font-family: "IBM Plex Mono", monospace;
}
.pill.neutral {
background: #ebf3ff;
border-color: #cddbf2;
}
.button-grid {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 0.45rem;
margin: 0.5rem 0 0.8rem;
}
.actions-row {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 0.5rem;
}
.btn {
border: 1px solid transparent;
border-radius: 10px;
padding: 0.62rem 0.75rem;
font: inherit;
cursor: pointer;
transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.btn:hover {
transform: translateY(-1px);
}
.btn.primary {
background: linear-gradient(120deg, #1e6fd0, #2fa68e);
color: #fff;
box-shadow: 0 8px 18px rgba(33, 120, 194, 0.22);
}
.btn.secondary {
background: linear-gradient(120deg, #e98b2b, #de6b5e);
color: #fff;
}
.btn.ghost {
background: transparent;
border-color: #d2d9df;
color: var(--ink-soft);
margin-top: 0.65rem;
width: 100%;
}
.btn.mini {
background: #ffffff;
border-color: #d8e2ea;
color: var(--ink-soft);
padding: 0.45rem 0.5rem;
font-size: 0.78rem;
}
.board {
padding: 1rem;
}
.board-head {
display: flex;
align-items: start;
justify-content: space-between;
gap: 0.7rem;
}
.board-head h2 {
margin: 0;
}
.telemetry-grid {
margin-top: 0.75rem;
display: grid;
gap: 0.75rem;
grid-template-columns: repeat(3, minmax(0, 1fr));
}
.stat-card,
.log-card {
border: 1px solid #dbe2e9;
border-radius: 12px;
padding: 0.75rem;
background: #fff;
}
.stat-card h3,
.log-card h3 {
margin: 0 0 0.55rem;
font-size: 0.93rem;
}
.bar-row {
display: grid;
grid-template-columns: 78px 1fr 46px;
gap: 0.45rem;
align-items: center;
margin-bottom: 0.45rem;
font-size: 0.78rem;
}
.bar {
height: 8px;
border-radius: 99px;
background: #e8edf2;
overflow: hidden;
}
.bar i {
display: block;
height: 100%;
width: 0%;
background: linear-gradient(120deg, #1f74d2, #2ca68f);
transition: width 0.22s ease;
}
.score-line {
margin: 0.3rem 0;
font-size: 0.84rem;
}
.log-grid {
margin-top: 0.75rem;
display: grid;
gap: 0.75rem;
grid-template-columns: 1.2fr 1fr 1fr;
}
.timeline {
list-style: none;
margin: 0;
padding: 0;
max-height: 220px;
overflow: auto;
}
.timeline li {
font-family: "IBM Plex Mono", monospace;
font-size: 0.75rem;
color: #2d4a62;
border-bottom: 1px dashed #dde4ea;
padding: 0.35rem 0;
}
.timeline li:last-child {
border-bottom: 0;
}
.mono {
font-family: "IBM Plex Mono", monospace;
font-size: 0.76rem;
color: #2e4a63;
line-height: 1.5;
}
.mini-label {
margin: 0.55rem 0 0.35rem;
font-size: 0.75rem;
color: var(--ink-soft);
}
.breakdown {
display: grid;
gap: 0.45rem;
}
.break-row {
display: grid;
grid-template-columns: 118px 1fr 44px;
gap: 0.45rem;
align-items: center;
font-size: 0.76rem;
}
.break-row .bar i {
background: linear-gradient(120deg, #2f7bd3, #f09a3c);
}
@media (max-width: 1150px) {
.layout {
grid-template-columns: 1fr;
}
.telemetry-grid,
.log-grid {
grid-template-columns: 1fr;
}
.hero {
flex-direction: column;
align-items: start;
}
.hero-metrics {
grid-template-columns: 1fr 1fr;
width: 100%;
}
}