.assistant-hero { padding: 66px 0 46px; color: #fff; background: linear-gradient(110deg, rgba(17,43,26,.94), rgba(17,43,26,.72)), url("../images/farm-hero-highres.jpg") center 52% / cover no-repeat; }
.assistant-hero-inner { max-width: 850px; }
.assistant-hero .eyebrow { color: #c4e5bd; }
.assistant-hero h1 { max-width: 760px; margin: 12px 0; font: 700 clamp(2.3rem,5.5vw,4.2rem)/1.08 var(--font-head); }
.assistant-hero h1 em { color: #c4e5bd; font-weight: 600; }
.assistant-hero p { max-width: 620px; color: rgba(255,255,255,.85); }
.assistant-status { display: inline-flex; align-items: center; gap: 9px; margin-top: 22px; padding: 8px 13px; border: 1px solid rgba(255,255,255,.22); border-radius: 999px; background: rgba(255,255,255,.09); color: rgba(255,255,255,.94); font-size: .82rem; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: #b9e2a8; box-shadow: 0 0 0 4px rgba(185,226,168,.14); }
.assistant-section { padding: 44px 0 78px; }
.assistant-layout { display: grid; grid-template-columns: 300px minmax(0,1fr); gap: 24px; align-items: start; }
.agent-panel,.chat-panel { background: var(--card); border: 1px solid var(--border); border-radius: 24px; box-shadow: 0 12px 35px rgba(20,60,40,.07); }
.agent-panel { padding: 24px 18px; }
.agent-panel-head { padding: 0 8px 18px; }
.agent-panel-head .eyebrow { color: var(--emerald-dark); }
.agent-panel-head h2 { margin: 5px 0; font: 700 1.65rem var(--font-head); }
.agent-panel-head p { color: var(--muted); font-size: .9rem; }
.agent-list { display: grid; gap: 9px; }
.agent-option { width: 100%; display: flex; gap: 12px; align-items: center; padding: 12px; text-align: left; border: 1px solid transparent; border-radius: 15px; background: transparent; color: var(--text); font: inherit; cursor: pointer; transition: .18s; }
.agent-option:hover { background: rgba(255,255,255,.55); }
.agent-option[aria-pressed="true"] { background: #fff; border-color: var(--border); box-shadow: 0 6px 20px rgba(20,60,40,.06); }
.agent-icon { display: grid; place-items: center; flex: none; width: 42px; height: 42px; border-radius: 13px; background: var(--tint); font-size: 1.25rem; }
.agent-option strong { display: block; font-size: .88rem; }
.agent-option small { display: block; color: var(--muted); font-size: .74rem; line-height: 1.4; margin-top: 2px; }
.agent-note { display: flex; gap: 10px; margin: 18px 5px 0; padding: 13px; border-radius: 14px; background: rgba(169,120,64,.1); color: #71552f; font-size: .77rem; line-height: 1.55; }
.agent-note span { font-size: 1rem; }
.chat-panel { overflow: hidden; display: flex; flex-direction: column; min-height: 690px; }
.chat-head { display: flex; align-items: center; gap: 12px; padding: 17px 22px; background: rgba(255,255,255,.57); border-bottom: 1px solid var(--border); }
.chat-avatar { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--emerald); color: #fff; font: 700 .8rem var(--font-head); }
.chat-head strong,.chat-head span { display: block; }
.chat-head strong { font-size: .93rem; }
.chat-head span { color: var(--muted); font-size: .76rem; }
.chat-reset { margin-left: auto; padding: 8px 11px; border: 1px solid var(--border); border-radius: 10px; background: #fff; color: var(--muted); font: 600 .78rem var(--font-body); cursor: pointer; }
.chat-messages { display: flex; flex: 1; flex-direction: column; align-items: flex-start; gap: 14px; min-height: 370px; max-height: 490px; overflow-y: auto; padding: 23px; scroll-behavior: smooth; }
.chat-message { max-width: min(88%, 560px); padding: 13px 16px; border-radius: 17px 17px 17px 5px; background: #fff; box-shadow: 0 5px 18px rgba(20,60,40,.05); white-space: pre-wrap; overflow-wrap: anywhere; font-size: .91rem; line-height: 1.65; }
.chat-message.user { align-self: flex-end; border-radius: 17px 17px 5px 17px; background: var(--emerald); color: #fff; }
.chat-message .agent-label { display: block; margin-bottom: 4px; color: var(--emerald-dark); font-size: .68rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.chat-message.user .agent-label { color: rgba(255,255,255,.75); }
.chat-message a { color: var(--emerald-dark); text-decoration: underline; font-weight: 700; }
.chat-message.user a { color: #fff; }
.suggestions { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 22px 16px; }
.suggestion { padding: 8px 12px; border: 1px solid var(--border); border-radius: 999px; background: rgba(255,255,255,.65); color: var(--emerald-dark); font: 600 .75rem var(--font-body); cursor: pointer; }
.suggestion:hover { background: #fff; }
.chat-form { display: flex; align-items: flex-end; gap: 10px; margin: 0 18px; padding: 8px; border: 1px solid var(--border); border-radius: 17px; background: #fff; }
.chat-form textarea { flex: 1; max-height: 130px; min-height: 42px; padding: 10px 11px; border: 0; outline: 0; resize: none; background: transparent; color: var(--text); font: .9rem/1.5 var(--font-body); }
.send-button { display: grid; place-items: center; flex: none; width: 42px; height: 42px; border: 0; border-radius: 13px; background: var(--emerald); color: #fff; font: 700 1.5rem var(--font-body); cursor: pointer; }
.send-button:hover { background: var(--emerald-dark); }
.send-button:disabled { cursor: wait; opacity: .55; }
.chat-disclaimer { padding: 8px 20px 15px; color: var(--muted); text-align: center; font-size: .68rem; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.typing-dots { color: var(--muted); letter-spacing: .18em; }
.ai-home-cta { background: radial-gradient(520px 220px at 50% 0, rgba(57,122,78,.18), transparent 72%), var(--card); }
.ai-home-cta .eyebrow { display: block; margin-bottom: 7px; color: var(--emerald-dark); }
@media (max-width: 900px) { .assistant-layout { grid-template-columns: 1fr; } .agent-panel { padding: 18px; } .agent-list { grid-template-columns: repeat(2,minmax(0,1fr)); } .chat-panel { min-height: 620px; } }
@media (max-width: 560px) { .assistant-hero { padding: 48px 0 35px; } .assistant-section { padding: 25px 0 50px; } .agent-list { grid-template-columns: 1fr 1fr; gap: 5px; } .agent-option { align-items: flex-start; padding: 9px 6px; gap: 8px; } .agent-icon { width: 35px; height: 35px; border-radius: 11px; font-size: 1rem; } .agent-option small { font-size: .68rem; } .chat-panel { min-height: 610px; } .chat-head { padding: 14px; } .chat-messages { padding: 17px 13px; } .chat-message { max-width: 94%; } .suggestions { padding-right: 13px; padding-left: 13px; } .chat-form { margin: 0 11px; } }
