diff --git a/frontend/src/style.css b/frontend/src/style.css index 17961c7..ca086b3 100644 --- a/frontend/src/style.css +++ b/frontend/src/style.css @@ -1,102 +1,244 @@ :root { - color: #172033; - background: #f5f3ee; + color-scheme: dark; font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; - font-synthesis: none; - text-rendering: optimizeLegibility; + background: #090909; + color: #f5f5f5; } -* { box-sizing: border-box; } -body { margin: 0; min-width: 320px; min-height: 100vh; } -button, input, textarea { font: inherit; } -button { cursor: pointer; } -button:disabled { cursor: not-allowed; opacity: 0.55; } -code { background: #eee7db; padding: 0.15rem 0.35rem; border-radius: 0.35rem; } +* { + box-sizing: border-box; +} -.loading, .studio-shell { width: min(1180px, calc(100vw - 32px)); margin: 0 auto; } -.loading { min-height: 100vh; display: grid; place-items: center; color: #665b4c; } -.studio-shell { padding: 32px 0 48px; } +body { + margin: 0; + min-height: 100vh; + background: #090909; +} -.hero { +button, +textarea { + font: inherit; +} + +button { + cursor: pointer; +} + +.loading { + min-height: 100vh; display: grid; - grid-template-columns: 1fr minmax(260px, 360px); - gap: 24px; - align-items: stretch; - margin-bottom: 24px; + place-items: center; + color: #b8b8b8; } -.hero > div, .card, .auth-card { - background: rgba(255, 255, 255, 0.88); - border: 1px solid #e4d8c6; - border-radius: 28px; - box-shadow: 0 18px 60px rgba(74, 52, 26, 0.08); -} -.hero > div { padding: 36px; } -.auth-card { padding: 28px; display: flex; flex-direction: column; justify-content: center; gap: 12px; } -.eyebrow { margin: 0 0 8px; color: #956b2f; font-size: 0.78rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; } -h1, h2, h3, p { margin-top: 0; } -h1 { max-width: 760px; font-size: clamp(2.2rem, 6vw, 4.9rem); line-height: 0.95; letter-spacing: -0.07em; margin-bottom: 18px; } -h2 { font-size: clamp(1.35rem, 3vw, 2rem); letter-spacing: -0.04em; margin-bottom: 6px; } -h3 { margin-bottom: 12px; } -.lede { max-width: 760px; color: #5d6472; font-size: 1.08rem; line-height: 1.6; } -.meta-row { display: flex; flex-wrap: wrap; gap: 10px; } -.meta-row span, .timeline small { - border: 1px solid #e9dcc7; - background: #fbf7ef; - border-radius: 999px; - padding: 8px 12px; - color: #6a5740; - font-size: 0.88rem; -} -.signin { display: inline-flex; align-self: flex-start; padding: 10px 14px; border-radius: 999px; color: #fff; background: #172033; text-decoration: none; font-weight: 700; } -.grid { display: grid; grid-template-columns: 1.04fr 0.96fr; gap: 24px; align-items: start; } -.card { padding: 24px; } -.card-header { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; margin-bottom: 18px; } -.button-row { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; } -.ghost { border: 1px solid #dfd0ba; color: #5f4a2e; background: #fff8ed; border-radius: 999px; padding: 8px 11px; } +.app-shell { + min-height: 100vh; + display: grid; + grid-template-columns: minmax(260px, 340px) 1fr; +} -.form-card { display: flex; flex-direction: column; gap: 16px; } -label { display: grid; gap: 7px; color: #394150; font-weight: 700; } -input, textarea { +.sidebar { + min-height: 100vh; + border-right: 1px solid #222; + background: #0d0d0d; + padding: 28px; + display: grid; + align-content: start; + gap: 28px; +} + +.eyebrow { + margin: 0 0 10px; + color: #8bd8c6; + font-size: 12px; + letter-spacing: 0; + text-transform: uppercase; +} + +h1, +h2, +h3, +p { + margin-top: 0; +} + +h1 { + margin-bottom: 10px; + font-size: clamp(32px, 5vw, 56px); + line-height: 0.95; + letter-spacing: 0; +} + +h2 { + margin-bottom: 0; + font-size: 30px; + letter-spacing: 0; +} + +h3 { + margin-bottom: 12px; + color: #d7d7d7; + font-size: 14px; + letter-spacing: 0; +} + +.agent-meta { + margin-bottom: 0; + color: #a6a6a6; +} + +.skill-list { + display: grid; + gap: 10px; +} + +.skill { width: 100%; - border: 1px solid #dacbb4; - border-radius: 16px; + min-height: 58px; + border: 1px solid #252525; + border-radius: 8px; + background: #121212; + color: #f3f3f3; padding: 12px 14px; - color: #172033; - background: #fffdf9; - outline: none; -} -input:focus, textarea:focus { border-color: #9c6b27; box-shadow: 0 0 0 3px rgba(156, 107, 39, 0.14); } -textarea { min-height: 230px; resize: vertical; line-height: 1.5; } -.file-box { border: 1px dashed #cdbb9f; border-radius: 18px; padding: 14px; background: #fffaf2; } -.form-card button[type="submit"], .reload-card button { - border: 0; - border-radius: 18px; - background: #172033; - color: white; - padding: 14px 18px; - font-weight: 800; + display: flex; + align-items: center; + justify-content: space-between; + gap: 16px; + text-align: left; } -.result-card { min-height: 530px; } -.alert, .failure { border: 1px solid #efb7a7; background: #fff0ec; color: #81341d; border-radius: 18px; padding: 14px; margin-bottom: 16px; } -.empty { color: #707987; background: #f7f3eb; border-radius: 18px; padding: 18px; } -.timeline ol { list-style: none; padding: 0; margin: 0 0 18px; border-left: 3px solid #d8bf97; } -.timeline li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0 12px 18px; position: relative; } -.timeline li::before { content: ""; position: absolute; left: -7px; top: 18px; width: 11px; height: 11px; border-radius: 999px; background: #9c6b27; } -.timeline li span { text-transform: capitalize; font-weight: 800; } -time { color: #5a4630; font-variant-numeric: tabular-nums; } -details { margin-top: 18px; } -summary { cursor: pointer; color: #66513a; font-weight: 700; } -pre { max-width: 100%; overflow: auto; white-space: pre-wrap; background: #151923; color: #eef3ff; padding: 14px; border-radius: 16px; font-size: 0.84rem; } - -.reload-card { margin-top: 24px; } -.reload-card form { display: grid; grid-template-columns: 1fr minmax(220px, 320px) auto; gap: 16px; align-items: end; margin-bottom: 18px; } -.reload-card p { color: #68717e; } - -@media (max-width: 880px) { - .hero, .grid, .reload-card form { grid-template-columns: 1fr; } - .hero > div { padding: 26px; } - .card-header { flex-direction: column; } - .button-row { justify-content: flex-start; } +.skill:hover, +.skill.active { + border-color: #5bb7a7; + background: #15201d; +} + +.skill span { + overflow-wrap: anywhere; +} + +.skill small { + color: #9d9d9d; +} + +.session { + border: 1px solid #252525; + border-radius: 8px; + padding: 14px; + color: #a6a6a6; + display: grid; + gap: 4px; +} + +.session strong { + color: #f3f3f3; + overflow-wrap: anywhere; +} + +.workbench { + padding: 28px; + display: grid; + align-content: start; + gap: 22px; +} + +.toolbar { + display: flex; + align-items: center; + justify-content: space-between; + gap: 18px; +} + +.toolbar a, +.runner button { + border: 1px solid #e8e8e8; + border-radius: 7px; + background: #f4f4f4; + color: #111; + padding: 10px 14px; + text-decoration: none; + white-space: nowrap; +} + +.runner { + display: grid; + gap: 12px; +} + +.runner label { + display: grid; + gap: 10px; + color: #d7d7d7; +} + +.runner textarea { + width: 100%; + min-height: 170px; + resize: vertical; + border: 1px solid #252525; + border-radius: 8px; + background: #070707; + color: #eeeeee; + padding: 14px; + line-height: 1.5; + font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace; +} + +.runner button { + justify-self: start; +} + +.runner button:disabled { + cursor: wait; + opacity: 0.72; +} + +.panels { + display: grid; + grid-template-columns: repeat(2, minmax(0, 1fr)); + gap: 16px; +} + +.panel { + min-width: 0; + border: 1px solid #252525; + border-radius: 8px; + padding: 16px; + background: #0d0d0d; +} + +pre { + min-height: 260px; + max-height: 420px; + margin: 0; + overflow: auto; + color: #dcdcdc; + line-height: 1.5; + font-size: 13px; + font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace; +} + +.empty { + color: #aaa; +} + +@media (max-width: 820px) { + .app-shell { + grid-template-columns: 1fr; + } + + .sidebar { + min-height: auto; + border-right: 0; + border-bottom: 1px solid #222; + } + + .panels { + grid-template-columns: 1fr; + } + + .toolbar { + align-items: flex-start; + flex-direction: column; + } }