.agent-page { min-height: 100vh; background: #050608; }
.agent-shell { position: relative; z-index: 2; padding: 155px 0 110px; }
.agent-intro { display: flex; justify-content: space-between; align-items: flex-end; gap: 48px; padding-bottom: 40px; border-bottom: 1px solid var(--feature-line); }
.agent-intro h1 { max-width: 760px; margin: 22px 0 18px; font-size: clamp(46px, 6vw, 88px); line-height: .98; letter-spacing: -.06em; font-weight: 540; }
.agent-intro p { max-width: 680px; margin: 0; color: #94a5ac; line-height: 1.8; }
.agent-status { flex: none; min-width: 170px; padding: 18px; border: 1px solid var(--feature-line); border-radius: 14px; background: rgba(255,255,255,.014); }
.agent-status span { display: flex; align-items: center; gap: 8px; color: var(--lime); font: 8px/1 var(--font-mono); letter-spacing: .1em; }
.agent-status span i { width: 6px; height: 6px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 4px rgba(186,255,101,.08); }
.agent-status strong { display: block; margin: 22px 0 5px; font: 32px/1 var(--font-display); letter-spacing: -.05em; }
.agent-status small { color: #65747a; font-size: 10px; }
.agent-workspace { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 18px; padding-top: 28px; }
.chat-panel, .side-card { border: 1px solid var(--feature-line); border-radius: 18px; background: rgba(8,11,16,.82); overflow: hidden; }
.chat-panel { min-height: 650px; display: flex; flex-direction: column; }
.chat-head { display: flex; justify-content: space-between; align-items: center; padding: 18px 22px; border-bottom: 1px solid var(--feature-line); }
.chat-head strong { display: block; margin-top: 7px; font-size: 18px; font-weight: 520; }.chat-head .card-kicker { margin-bottom: 5px; }
.chat-clear { padding: 8px 11px; border: 1px solid var(--feature-line); border-radius: 999px; background: transparent; color: #7c8b91; cursor: pointer; font-size: 10px; }.chat-clear:hover { color: #fff; border-color: rgba(156,232,245,.35); }
.chat-messages { flex: 1; max-height: 620px; overflow-y: auto; padding: 28px 24px; }
.message { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 12px; margin-bottom: 26px; }
.message.user { grid-template-columns: minmax(0, 1fr) 34px; }
.message.user .message-avatar { grid-column: 2; }.message.user .message-content { grid-column: 1; grid-row: 1; justify-self: end; max-width: 78%; background: rgba(156,232,245,.07); border-color: rgba(156,232,245,.18); }
.message-avatar { width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid var(--feature-line); border-radius: 10px; color: var(--feature-cyan); font: 11px/1 var(--font-display); }
.message-content { max-width: 88%; padding: 15px 17px; border: 1px solid var(--feature-line); border-radius: 14px; background: rgba(255,255,255,.014); color: #b6c2c6; font-size: 14px; line-height: 1.8; overflow-wrap: anywhere; }
.message-content p { margin: 0 0 12px; }.message-content p:last-child { margin-bottom: 0; }.message-content ul, .message-content ol { margin: 10px 0 14px; padding-left: 21px; }.message-content li { margin: 6px 0; }.message-content a { color: var(--feature-cyan); border-bottom: 1px solid rgba(156,232,245,.25); }.message-content code { padding: 2px 5px; border-radius: 5px; background: rgba(255,255,255,.06); color: #d8f4f8; }
.typing { display: inline-flex; gap: 5px; align-items: center; min-height: 20px; }.typing i { width: 5px; height: 5px; border-radius: 50%; background: var(--feature-cyan); animation: typingDot 1.2s ease-in-out infinite; }.typing i:nth-child(2) { animation-delay: .15s; }.typing i:nth-child(3) { animation-delay: .3s; }
.suggestion-row { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 22px 16px; }.suggestion-row button { padding: 8px 10px; border: 1px solid var(--feature-line); border-radius: 999px; background: transparent; color: #809096; cursor: pointer; font-size: 10px; }.suggestion-row button:hover { color: #fff; border-color: rgba(156,232,245,.35); }
.chat-composer { display: flex; align-items: flex-end; gap: 10px; margin: 0 18px; padding: 11px 11px 11px 16px; border: 1px solid rgba(156,232,245,.24); border-radius: 14px; background: rgba(5,7,11,.86); }.chat-composer:focus-within { border-color: rgba(156,232,245,.5); box-shadow: 0 0 0 3px rgba(156,232,245,.04); }.chat-composer textarea { flex: 1; max-height: 150px; resize: none; border: 0; outline: 0; background: transparent; color: #e7f0f2; line-height: 1.6; }.chat-composer textarea::placeholder { color: #5f6c72; }.chat-composer button { width: 38px; height: 38px; display: grid; place-items: center; flex: none; border: 0; border-radius: 10px; background: linear-gradient(120deg, #f5fcfd, #b8eef7); color: #071014; cursor: pointer; }.chat-composer button:disabled { opacity: .5; cursor: wait; }.chat-composer svg { width: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.chat-note { margin: 12px 22px 18px; color: #5f6c72; font-size: 10px; }
.agent-side { display: grid; align-content: start; gap: 18px; }.side-card { padding: 22px; }.side-card h2 { margin: 16px 0 14px; font-size: 18px; font-weight: 520; }.side-card ol { margin: 0; padding-left: 19px; color: #87979d; font-size: 12px; line-height: 2; }.side-card .muted { color: #65747a; font-size: 11px; line-height: 1.7; }.source-item { display: block; padding: 10px 0; border-top: 1px solid var(--feature-line); color: #a9bbc0; font-size: 11px; line-height: 1.55; }.source-item:hover { color: var(--feature-cyan); }
.auth-modal { position: fixed; inset: 0; z-index: 500; display: grid; place-items: center; padding: 22px; background: rgba(2,4,7,.82); backdrop-filter: blur(16px); opacity: 0; visibility: hidden; transition: opacity .25s ease, visibility .25s ease; }.auth-modal.open { opacity: 1; visibility: visible; }.auth-dialog { width: min(480px, 100%); padding: 30px; border: 1px solid rgba(220,238,244,.18); border-radius: 18px; background: rgba(9,13,19,.98); box-shadow: 0 30px 100px rgba(0,0,0,.5); }.auth-dialog h2 { margin: 18px 0 12px; font-size: 30px; letter-spacing: -.05em; }.auth-dialog p { color: #87979d; font-size: 13px; line-height: 1.75; }.auth-dialog code { color: #b9e9f3; }.auth-dialog form { display: flex; gap: 8px; margin-top: 22px; }.auth-dialog input { min-width: 0; flex: 1; padding: 11px 12px; border: 1px solid var(--feature-line); border-radius: 9px; outline: 0; background: rgba(255,255,255,.025); color: #fff; }.auth-dialog form button { padding: 0 16px; border: 0; border-radius: 9px; background: #c9f1f8; color: #071014; cursor: pointer; }.auth-dialog small { display: block; min-height: 16px; margin-top: 10px; color: #ff7f98; }
@media (max-width: 900px) { .agent-intro { flex-direction: column; align-items: flex-start; }.agent-status { width: 100%; }.agent-workspace { grid-template-columns: 1fr; }.agent-side { grid-template-columns: 1fr 1fr; }.side-card { min-height: 160px; } }
@media (max-width: 650px) { .agent-shell { padding-top: 112px; }.agent-intro h1 { font-size: 48px; }.agent-side { grid-template-columns: 1fr; }.chat-messages { padding: 20px 14px; }.message-content { max-width: 94%; }.suggestion-row { padding-left: 14px; padding-right: 14px; }.chat-composer { margin: 0 12px; }.chat-note { margin-left: 14px; margin-right: 14px; }.auth-dialog { padding: 22px; } }
@keyframes typingDot { 0%, 60%, 100% { transform: translateY(0); opacity: .35; } 30% { transform: translateY(-4px); opacity: 1; } }
