diff --git a/frontend/src/style.css b/frontend/src/style.css index ef6228b..ca086b3 100644 --- a/frontend/src/style.css +++ b/frontend/src/style.css @@ -1,59 +1,244 @@ :root { - color-scheme: light; + color-scheme: dark; font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; - background: #f5f2eb; - color: #171717; + background: #090909; + color: #f5f5f5; } -* { box-sizing: border-box; } -body { margin: 0; min-height: 100vh; background: linear-gradient(135deg, #f7f2e8 0%, #eef7f4 100%); } -button, input { font: inherit; } -button { cursor: pointer; border: 0; border-radius: 12px; padding: 10px 14px; background: #10231f; color: #fff; font-weight: 700; } -button:disabled { cursor: not-allowed; opacity: 0.55; } -input { border: 1px solid #d8d3c8; border-radius: 10px; padding: 10px 12px; background: #fff; color: #151515; width: 100%; } -label { display: grid; gap: 7px; color: #3f4744; font-weight: 650; } -.loading { min-height: 100vh; display: grid; place-items: center; color: #52615c; } -.studio-shell { width: min(1220px, calc(100% - 32px)); margin: 0 auto; padding: 28px 0 44px; } -.hero { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 24px; align-items: end; margin-bottom: 20px; } -.eyebrow { margin: 0 0 8px; color: #167360; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; } -h1, h2, h3, p { margin-top: 0; } -h1 { max-width: 780px; margin-bottom: 12px; font-size: clamp(38px, 7vw, 76px); line-height: 0.92; letter-spacing: -0.06em; } -h2 { margin-bottom: 0; font-size: 28px; letter-spacing: -0.03em; } -h3 { margin-bottom: 10px; font-size: 28px; letter-spacing: -0.04em; } -.lede { max-width: 760px; margin-bottom: 0; color: #52615c; font-size: 18px; line-height: 1.55; } -.session-card, .notice, .card { border: 1px solid rgba(16, 35, 31, 0.13); box-shadow: 0 24px 60px rgba(20, 31, 28, 0.08); background: rgba(255, 255, 255, 0.78); backdrop-filter: blur(14px); border-radius: 24px; } -.session-card { padding: 18px; display: grid; gap: 6px; } -.session-card span { color: #65736f; } -.session-card strong { overflow-wrap: anywhere; } -.session-card a { margin-top: 8px; color: #10231f; font-weight: 800; } -.notice { min-height: 54px; padding: 14px 18px; margin-bottom: 18px; display: flex; gap: 12px; align-items: center; justify-content: space-between; color: #40504b; } -.notice strong { color: #9b1c1c; } -.grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(360px, 0.65fr); gap: 18px; align-items: start; } -.card { padding: 22px; } -.workflow { display: grid; gap: 18px; } -.section-heading { display: flex; justify-content: space-between; align-items: center; gap: 12px; } -.section-heading button, .subtle { background: #e6eee9; color: #10231f; } -.weights { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; } -.quotes { display: grid; gap: 12px; } -fieldset { margin: 0; border: 1px solid #ddd8ce; border-radius: 18px; padding: 16px; display: grid; grid-template-columns: 1.4fr repeat(4, 1fr) auto; gap: 12px; align-items: end; background: #fffaf1; } -legend { padding: 0 8px; color: #167360; font-weight: 850; } -.button-row, .reopen-row { display: flex; gap: 10px; align-items: center; } -.button-row { justify-content: flex-end; } -.upload-box { border: 1px dashed #95aaa4; border-radius: 18px; padding: 16px; background: #f6fbf8; } -.upload-box input { border: 0; padding: 4px 0; background: transparent; } -.upload-box small { color: #167360; } -.result-card { display: grid; gap: 18px; position: sticky; top: 18px; } -.recommendation { display: grid; gap: 12px; } -.recommendation h3 { color: #11624f; } -dl { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 0; } -dl div { border-radius: 16px; padding: 12px; background: #f3f7f5; } -dt { color: #687671; font-size: 12px; text-transform: uppercase; font-weight: 800; } -dd { margin: 4px 0 0; font-size: 18px; font-weight: 850; overflow-wrap: anywhere; } -table { width: 100%; border-collapse: collapse; overflow: hidden; border-radius: 16px; background: #fff; font-size: 14px; } -th, td { padding: 10px; border-bottom: 1px solid #ece7dc; text-align: left; } -th { color: #52615c; font-size: 12px; text-transform: uppercase; } -.empty-state { border: 1px dashed #c7beb0; border-radius: 18px; padding: 18px; color: #52615c; background: #fffaf3; } -.empty-state h3 { color: #2b312f; } -.empty-state small { color: #7f4b19; font-weight: 700; } -@media (max-width: 980px) { .hero, .grid { grid-template-columns: 1fr; } .result-card { position: static; } fieldset { grid-template-columns: 1fr 1fr; } .weights { grid-template-columns: 1fr; } } -@media (max-width: 620px) { .studio-shell { width: min(100% - 20px, 1220px); padding-top: 16px; } h1 { font-size: 42px; } fieldset { grid-template-columns: 1fr; } .button-row, .reopen-row, .notice { align-items: stretch; flex-direction: column; } dl { grid-template-columns: 1fr; } } +* { + box-sizing: border-box; +} + +body { + margin: 0; + min-height: 100vh; + background: #090909; +} + +button, +textarea { + font: inherit; +} + +button { + cursor: pointer; +} + +.loading { + min-height: 100vh; + display: grid; + place-items: center; + color: #b8b8b8; +} + +.app-shell { + min-height: 100vh; + display: grid; + grid-template-columns: minmax(260px, 340px) 1fr; +} + +.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%; + min-height: 58px; + border: 1px solid #252525; + border-radius: 8px; + background: #121212; + color: #f3f3f3; + padding: 12px 14px; + display: flex; + align-items: center; + justify-content: space-between; + gap: 16px; + text-align: left; +} + +.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; + } +}