Spaces:
Running
Running
File size: 3,028 Bytes
c634257 7a58191 c634257 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 | :root {
color-scheme: dark;
font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
background: #090d18;
color: #f4f6fb;
}
* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; min-height: 100vh; }
.app-shell {
min-height: 100vh;
display: grid;
place-items: center;
padding: 48px 24px 24px;
background:
radial-gradient(ellipse at 50% 10%, rgba(99, 102, 241, .2), transparent 48%),
#090d18;
}
.agent-panel {
width: min(100%, 760px);
padding: clamp(28px, 6vw, 64px);
border: 1px solid rgba(148, 163, 184, .22);
border-radius: 24px;
background: rgba(15, 23, 42, .82);
box-shadow: 0 24px 90px rgba(0, 0, 0, .3);
}
.brand-mark {
display: grid;
place-items: center;
width: 54px;
height: 54px;
border-radius: 16px;
background: linear-gradient(135deg, #6366f1, #c026d3);
font-weight: 800;
letter-spacing: -.06em;
}
.eyebrow {
margin: 32px 0 10px;
color: #a5b4fc;
font-size: .75rem;
font-weight: 700;
letter-spacing: .16em;
}
h1 { margin: 0; font-size: clamp(2.3rem, 7vw, 4rem); letter-spacing: -.055em; }
.intro { margin: 18px 0 28px; color: #cbd5e1; font-size: 1.15rem; line-height: 1.6; }
.status {
display: inline-flex;
align-items: center;
gap: 10px;
padding: 10px 14px;
border: 1px solid rgba(52, 211, 153, .25);
border-radius: 999px;
background: rgba(16, 185, 129, .08);
color: #a7f3d0;
font-size: .9rem;
}
.status-unconfigured { border-color: rgba(251, 191, 36, .35); background: rgba(251, 191, 36, .08); color: #fde68a; }
.status-unconfigured .status-dot { background: #fbbf24; }
.status-loading { border-color: rgba(96, 165, 250, .35); background: rgba(59, 130, 246, .08); color: #bfdbfe; }
.status-loading .status-dot { background: #60a5fa; }
.status-error { border-color: rgba(248, 113, 113, .35); background: rgba(239, 68, 68, .08); color: #fecaca; }
.status-error .status-dot { background: #f87171; }
.status-idle .status-dot { background: #34d399; }
.chat-log { margin: 20px 0; max-height: 320px; overflow-y: auto; display: flex; flex-direction: column; gap: 10px; }
.chat-message { padding: 10px 14px; border-radius: 12px; max-width: 90%; line-height: 1.5; }
.chat-user { align-self: flex-end; background: rgba(99, 102, 241, .25); color: #e0e7ff; }
.chat-agent { align-self: flex-start; background: rgba(148, 163, 184, .12); color: #e2e8f0; }
.chat-form { display: flex; gap: 10px; }
.chat-form input { flex: 1; padding: 10px 12px; border-radius: 10px; border: 1px solid rgba(148, 163, 184, .3); background: rgba(15, 23, 42, .6); color: #f4f6fb; }
.chat-form button { padding: 10px 16px; border-radius: 10px; border: none; background: #6366f1; color: #fff; cursor: pointer; }
.chat-form button:disabled { opacity: .5; cursor: not-allowed; }
.error-text { color: #fca5a5; margin: 8px 0 0; }
.supporting-copy { max-width: 590px; margin: 28px 0 0; color: #94a3b8; line-height: 1.75; }
footer { margin-top: 36px; color: #64748b; font-size: .8rem; letter-spacing: .04em; }
|