diff --git a/frontend/src/style.css b/frontend/src/style.css index ca086b3..993f26f 100644 --- a/frontend/src/style.css +++ b/frontend/src/style.css @@ -1,244 +1,50 @@ :root { color-scheme: dark; font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; - background: #090909; - color: #f5f5f5; + background: #06111f; + color: #eef7ff; } -* { - 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; - } -} +* { box-sizing: border-box; } +body { margin: 0; min-height: 100vh; background: radial-gradient(circle at top left, #173b66 0, #06111f 36rem); } +button, input, select { font: inherit; } +button { cursor: pointer; } +button:disabled { cursor: not-allowed; opacity: 0.55; } +.loading { min-height: 100vh; display: grid; place-items: center; color: #b6c7d8; } +.app-shell { width: min(1180px, calc(100% - 32px)); margin: 0 auto; padding: 32px 0 48px; display: grid; gap: 24px; } +.hero { display: grid; grid-template-columns: 1fr minmax(260px, 340px); gap: 24px; align-items: stretch; } +.eyebrow { margin: 0 0 8px; color: #67e8f9; font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; } +h1, h2, p { margin-top: 0; } +h1 { margin-bottom: 16px; max-width: 820px; font-size: clamp(36px, 6vw, 76px); line-height: .92; letter-spacing: -.06em; } +h2 { margin-bottom: 0; font-size: 24px; letter-spacing: -.03em; } +.lede { max-width: 760px; color: #c6d7e7; font-size: 18px; line-height: 1.6; } +.session-card, .generator-card, .receipt-card, .results { border: 1px solid rgba(148, 163, 184, .24); border-radius: 24px; background: rgba(8, 20, 36, .76); box-shadow: 0 24px 80px rgba(0, 0, 0, .25); backdrop-filter: blur(16px); } +.session-card { padding: 22px; display: grid; align-content: center; gap: 8px; } +.session-card span, .hint, .empty { color: #9fb4c8; } +.session-card strong { overflow-wrap: anywhere; } +.session-card a, .generator-card button, .receipt-header button, .asset-meta button { border: 0; border-radius: 999px; background: linear-gradient(135deg, #22d3ee, #a78bfa); color: #03101f; padding: 11px 16px; text-align: center; text-decoration: none; font-weight: 800; } +.workspace { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 24px; align-items: start; } +.generator-card { padding: 24px; display: grid; gap: 18px; } +.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; } +label { display: grid; gap: 8px; color: #dcecff; font-weight: 700; } +label.wide { grid-column: 1 / -1; } +input, select { width: 100%; border: 1px solid rgba(148, 163, 184, .3); border-radius: 14px; background: rgba(2, 8, 23, .86); color: #f8fbff; padding: 12px 14px; } +.error, .warning { border-radius: 14px; padding: 12px 14px; } +.error { background: rgba(239, 68, 68, .14); color: #fecaca; } +.warning { background: rgba(250, 204, 21, .12); color: #fde68a; } +.receipt-card { padding: 22px; } +.receipt-header, .result-header, .asset-meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; } +.receipt-header button, .asset-meta button { padding: 9px 13px; font-size: 13px; } +.receipts { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 12px; } +.receipts li { border: 1px solid rgba(148, 163, 184, .18); border-radius: 16px; padding: 12px; display: grid; gap: 5px; background: rgba(15, 23, 42, .62); } +.receipts span, code { color: #aabed1; } +code { font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; font-size: 12px; overflow-wrap: anywhere; } +.results { padding: 24px; display: grid; gap: 18px; } +.asset-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; } +.asset { overflow: hidden; border: 1px solid rgba(148, 163, 184, .2); border-radius: 20px; background: rgba(2, 8, 23, .68); } +.svg-preview { min-height: 260px; display: grid; place-items: center; padding: 20px; background-image: linear-gradient(45deg, rgba(255,255,255,.05) 25%, transparent 25%), linear-gradient(-45deg, rgba(255,255,255,.05) 25%, transparent 25%), linear-gradient(45deg, transparent 75%, rgba(255,255,255,.05) 75%), linear-gradient(-45deg, transparent 75%, rgba(255,255,255,.05) 75%); background-size: 24px 24px; background-position: 0 0, 0 12px, 12px -12px, -12px 0; } +.svg-preview svg { max-width: 100%; height: auto; image-rendering: pixelated; } +.asset-meta { padding: 14px; align-items: start; } +.asset-meta strong { overflow-wrap: anywhere; } +@media (max-width: 900px) { .hero, .workspace { grid-template-columns: 1fr; } h1 { font-size: clamp(36px, 13vw, 64px); } } +@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } .app-shell { width: min(100% - 20px, 1180px); padding-top: 16px; } .receipt-header, .result-header, .asset-meta { align-items: flex-start; flex-direction: column; } }