:root { --ink: #17352c; --muted: #66766f; --green: #72dc6d; --deep: #123a30; --cream: #f5f6ef; --line: #dce4dc; }
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; font-family: "DM Sans", sans-serif; color: var(--ink); background: radial-gradient(circle at 15% 15%, #e6f5d9, transparent 32%), var(--cream); }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }
.brand { color: var(--ink); font: 800 23px "Manrope"; text-decoration: none; letter-spacing: -1px; }.brand span { color: #48b957; }
.agent-shell { width: min(100% - 28px, 980px); min-height: 100vh; margin: auto; display: grid; place-items: center; padding: 28px 0; }
.password-panel { width: min(100%, 460px); padding: 38px; border: 1px solid rgba(23,53,44,.1); border-radius: 24px; background: rgba(255,255,255,.9); box-shadow: 0 28px 75px rgba(24,57,46,.13); }
.lock-icon, .agent-avatar { display: grid; place-items: center; background: var(--green); color: #143a2e; font-weight: 800; }
.lock-icon { width: 58px; height: 58px; margin-top: 42px; border-radius: 18px 18px 25px 25px; font-size: 22px; }
.eyebrow { margin: 22px 0 8px !important; color: #469e4e !important; font-size: 11px; font-weight: 800; letter-spacing: 1.5px; }
.password-panel h1 { margin: 0; font: 800 38px "Manrope"; letter-spacing: -1.8px; }.password-panel > p { color: var(--muted); line-height: 1.6; }
.password-panel form { margin-top: 27px; }.password-panel label { display: block; margin-bottom: 8px; font-size: 12px; font-weight: 700; }
.password-control { display: flex; height: 52px; border: 1px solid var(--line); border-radius: 11px; background: white; overflow: hidden; }.password-control:focus-within { outline: 2px solid rgba(72,185,87,.25); border-color: #66c969; }
.password-control input { flex: 1; min-width: 0; border: 0; outline: 0; padding: 0 14px; }.password-control button { border: 0; background: transparent; padding: 0 14px; color: var(--muted); font-size: 11px; font-weight: 700; }
.primary-button { width: 100%; margin-top: 13px; padding: 15px; border: 0; border-radius: 11px; background: var(--green); color: #12382d; font-weight: 800; }.primary-button span { float: right; }
.form-error { min-height: 20px; margin: 9px 0 0; color: #b43f3f !important; font-size: 12px; }
.chat-panel { width: 100%; height: min(850px, calc(100vh - 56px)); min-height: 590px; display: grid; grid-template-rows: auto 1fr auto; overflow: hidden; border: 1px solid rgba(23,53,44,.1); border-radius: 24px; background: white; box-shadow: 0 28px 75px rgba(24,57,46,.13); }
.chat-header { min-height: 76px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 13px 22px; border-bottom: 1px solid var(--line); }.agent-status { display: flex; align-items: center; gap: 10px; }.agent-status > i { width: 9px; height: 9px; border-radius: 50%; background: #55c863; box-shadow: 0 0 0 5px #e5f7e4; }.agent-status span { display: flex; flex-direction: column; }.agent-status strong { font-size: 13px; }.agent-status small { color: var(--muted); font-size: 10px; }.quiet-button { justify-self: end; padding: 8px 13px; border: 1px solid var(--line); border-radius: 8px; background: white; color: var(--muted); font-size: 11px; }
.messages { overflow-y: auto; padding: 34px max(20px, 8%); background: linear-gradient(#fbfcf8, #fff); }.message { display: flex; gap: 12px; margin-bottom: 20px; }.user-message { justify-content: flex-end; }.agent-avatar { flex: 0 0 auto; width: 31px; height: 31px; border-radius: 10px 10px 14px; font-size: 12px; }.message-content { max-width: min(78%, 590px); }.message-content p { margin: 0; padding: 12px 15px; border: 1px solid var(--line); border-radius: 5px 16px 16px; background: white; font-size: 14px; line-height: 1.65; white-space: pre-wrap; }.user-message p { border: 0; border-radius: 16px 5px 16px 16px; background: var(--deep); color: white; }.listen-button { margin: 7px 0 0 8px; padding: 0; border: 0; background: none; color: #527068; font-size: 10px; font-weight: 700; }.listen-button::before { content: "◖ "; }.suggestions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; margin: 28px 0 0 43px; }.suggestions button { padding: 12px; border: 1px solid #cfe1cf; border-radius: 12px; background: #f6fbf3; color: #315448; font-size: 11px; line-height: 1.35; text-align: left; }.suggestions button:hover { border-color: #73cd75; transform: translateY(-1px); }
.typing p { color: var(--muted); letter-spacing: 3px; }
.composer-wrap { padding: 15px max(18px, 8%) 18px; border-top: 1px solid var(--line); background: white; }.composer { display: grid; grid-template-columns: auto 1fr auto; align-items: end; gap: 8px; padding: 7px; border: 1px solid #ccd8cf; border-radius: 16px; }.composer:focus-within { border-color: #69c76d; box-shadow: 0 0 0 3px rgba(105,199,109,.12); }.composer textarea { min-height: 39px; max-height: 120px; resize: none; padding: 10px 4px 8px; border: 0; outline: 0; color: var(--ink); }.voice-button, .send-button { width: 39px; height: 39px; border: 0; border-radius: 11px; }.voice-button { background: #edf5ec; color: #459f4e; }.voice-button span { display: inline-block; font-size: 11px; }.voice-button.connecting { opacity: .7; animation: pulse 1s infinite; }.voice-button.listening { background: #ffe8e8; color: #d54c4c; animation: pulse 1s infinite; }.voice-button:disabled { cursor: wait; opacity: .55; }.send-button { background: var(--green); color: #173e32; font-size: 19px; font-weight: 800; }.send-button:disabled { cursor: wait; opacity: .55; }.composer-wrap > small { display: block; margin-top: 8px; color: #87928d; font-size: 9px; text-align: center; }.voice-notice { min-height: 16px; margin: 0 0 5px; color: var(--muted); font-size: 10px; text-align: center; }
@keyframes pulse { 50% { transform: scale(.92); } }
@media (max-width: 650px) { .agent-shell { width: 100%; padding: 0; }.chat-panel { height: 100vh; min-height: 0; border: 0; border-radius: 0; }.chat-header { grid-template-columns: 1fr auto; }.chat-header .brand { display: none; }.suggestions { grid-template-columns: 1fr; margin-left: 43px; }.messages { padding: 25px 15px; }.message-content { max-width: 85%; }.password-panel { width: calc(100% - 28px); padding: 28px; } }
