:root {
  --ink: #1d1d1b;
  --ink-soft: #626159;
  --paper: #f5f1e9;
  --white: #fffdf9;
  --lavender: #dcd0ef;
  --lavender-deep: #8c75ac;
  --sage: #c7d0b2;
  --coral: #ee9a85;
  --line: rgba(29,29,27,.14);
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --disclaimer-height: 0px;
}

* { box-sizing: border-box; }
html, body { min-height: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); }
button, input, textarea { font: inherit; }
button { color: inherit; }
a { color: inherit; text-decoration: none; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--lavender-deep); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.agent-skip { position: fixed; top: -80px; left: 16px; z-index: 50; border-radius: 99px; padding: 10px 16px; background: var(--ink); color: white; }
.agent-skip:focus { top: 12px; }
.site-disclaimer { position: sticky; top: 0; z-index: 150; display: flex; min-height: 42px; align-items: center; justify-content: center; gap: 14px; padding: 8px clamp(16px, 4vw, 64px); background: var(--lavender); color: #4f3f64; font-size: 12px; font-weight: 700; line-height: 1.35; text-align: center; }
.site-disclaimer p { margin: 0; }
.site-disclaimer button { display: grid; width: 28px; height: 28px; flex: 0 0 auto; place-items: center; border: 1px solid rgba(79,63,100,.22); border-radius: 50%; padding: 0; background: rgba(255,253,249,.62); color: #4f3f64; font-size: 21px; line-height: 1; cursor: pointer; }
.site-disclaimer button:hover { background: var(--white); }
.site-disclaimer[hidden] { display: none; }

.agent-header { position: sticky; top: var(--disclaimer-height); z-index: 100; display: flex; height: 78px; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); padding: 0 clamp(20px, 4vw, 64px); background: rgba(245,241,233,.96); backdrop-filter: blur(14px); }
.agent-logo { font-family: var(--serif); font-size: 30px; }
.agent-logo span { color: var(--coral); }
.agent-header-meta { display: flex; align-items: center; gap: 20px; color: var(--ink-soft); font-size: 12px; font-weight: 700; }
.agent-private-badge { border: 1px solid var(--line); border-radius: 99px; padding: 7px 10px; background: var(--white); color: var(--lavender-deep); text-transform: uppercase; letter-spacing: .08em; }
.agent-header-profile { display: inline-flex; max-width: 245px; min-height: 38px; align-items: center; gap: 7px; overflow: hidden; border: 1px solid rgba(140,117,172,.32); border-radius: 99px; padding: 0 11px; background: var(--lavender); color: #4f3f64; font-size: 11px; font-weight: 800; white-space: nowrap; }
.agent-header-profile svg { width: 15px; height: 15px; flex: 0 0 auto; }
.agent-header-profile span { overflow: hidden; text-overflow: ellipsis; }
.agent-header-profile.is-unset { border-color: var(--line); background: var(--white); color: var(--ink-soft); font-weight: 650; }
.agent-kicker { display: block; margin-bottom: 20px; color: var(--lavender-deep); font-size: 11px; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }

.password-view { display: grid; min-height: calc(100vh - 78px); grid-template-columns: 1fr 1fr; }
.password-art { position: relative; display: grid; overflow: hidden; place-items: center; background: var(--lavender); }
.password-art::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 30% 24%, rgba(255,255,255,.7), transparent 34%), linear-gradient(145deg, transparent, rgba(140,117,172,.18)); }
.password-orbit { position: absolute; border: 1px solid rgba(29,29,27,.15); border-radius: 50%; animation: orbit 13s linear infinite; }
.password-orbit::after { content: ""; position: absolute; top: 12%; left: 10%; width: 18px; height: 18px; border-radius: 50%; background: var(--coral); box-shadow: 0 8px 20px rgba(42,34,27,.14); }
.password-orbit-one { width: min(58vw, 620px); aspect-ratio: 1; }
.password-orbit-two { width: min(38vw, 410px); aspect-ratio: 1; animation-direction: reverse; animation-duration: 9s; }
.password-orbit-two::after { top: auto; right: 5%; bottom: 18%; left: auto; background: var(--sage); }
@keyframes orbit { to { transform: rotate(360deg); } }
.password-mark { position: relative; display: grid; width: 230px; aspect-ratio: 1; place-items: center; border: 1px solid rgba(29,29,27,.16); border-radius: 50%; background: rgba(255,253,249,.68); box-shadow: 0 30px 80px rgba(42,34,27,.12); backdrop-filter: blur(18px); }
.password-mark span, .password-mark strong { display: block; text-align: center; }
.password-mark span { color: var(--lavender-deep); font-size: 11px; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.password-mark strong { font-family: var(--serif); font-size: 34px; font-weight: 400; }
.password-card { align-self: center; width: min(560px, calc(100% - 48px)); margin: 50px auto; }
.password-card h1, .agent-sidebar h1 { margin: 0; font-family: var(--serif); font-size: clamp(48px, 5vw, 76px); font-weight: 400; line-height: .97; }
.password-card > p { max-width: 500px; margin: 28px 0 34px; color: var(--ink-soft); font-size: 16px; line-height: 1.7; }
.password-card form { display: grid; gap: 12px; }
.password-card label { font-size: 11px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.password-field { display: flex; align-items: center; border: 1px solid var(--line); border-radius: 9px; background: var(--white); box-shadow: 0 14px 34px rgba(42,34,27,.07); }
.password-field input { min-width: 0; min-height: 58px; flex: 1; border: 0; padding: 0 18px; outline: 0; background: transparent; }
.password-field button { border: 0; padding: 12px 16px; background: transparent; color: var(--lavender-deep); font-size: 11px; font-weight: 800; cursor: pointer; }
.agent-primary-button { display: flex; min-height: 58px; align-items: center; justify-content: space-between; border: 0; border-radius: 9px; padding: 0 20px; background: var(--ink); color: var(--white); font-weight: 800; cursor: pointer; transition: transform .2s ease, background .2s ease; }
.agent-primary-button:hover { transform: translateY(-2px); background: var(--lavender-deep); }
.agent-primary-button:disabled { cursor: wait; opacity: .7; }
.password-access-link { justify-self: start; margin-top: 2px; color: var(--lavender-deep); font-size: 11px; font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
.password-access-link:hover { color: #5d477a; }
.form-message { min-height: 20px; margin: 0 !important; color: #a54836 !important; font-size: 12px !important; }
.privacy-line { display: flex; align-items: center; gap: 8px; margin-top: 20px !important; font-size: 11px !important; }
.privacy-line span { color: var(--sage); font-size: 8px; }

.agent-app { display: grid; height: calc(100vh - 78px); height: calc(100dvh - 78px); min-height: 620px; grid-template-columns: minmax(300px, 400px) 1fr; }
.agent-sidebar { display: flex; min-height: 0; overflow-y: auto; flex-direction: column; justify-content: space-between; border-right: 1px solid var(--line); padding: clamp(26px, 4vh, 48px) clamp(24px, 3vw, 42px) 24px; background: var(--lavender); }
.iris-stage { display: grid; justify-items: center; text-align: center; }
.iris-stage .agent-kicker { margin-bottom: 16px; }
.assistant-avatar-presence { width: min(100%, 300px); }
.assistant-avatar-frame { width: 100%; overflow: hidden; aspect-ratio: 1; border: 2px solid rgba(255,255,255,.72); border-radius: 32px; background: var(--paper); box-shadow: 0 24px 60px rgba(75,55,96,.2), 0 0 0 8px rgba(255,255,255,.18); }
.assistant-avatar { display: block; width: 100%; height: 100%; object-fit: cover; }
.iris-identity { display: grid; justify-items: center; margin-top: 20px; }
.iris-identity h1 { margin: 0; font-family: var(--serif); font-size: clamp(42px, 5vw, 62px); font-weight: 400; line-height: .95; }
.assistant-demo-label { margin-top: 8px; color: #6f578f; font-size: 9px; font-weight: 850; letter-spacing: .1em; line-height: 1; text-transform: uppercase; white-space: nowrap; }
.iris-identity small { margin-top: 7px; color: #554d5c; font-size: 11px; font-weight: 700; }
.iris-intro { max-width: 300px; margin: 18px 0 0; color: #5d526a; font-size: 13px; line-height: 1.55; }
.agent-boundaries { display: grid; gap: 10px; margin-block: 30px; }
.agent-boundaries p { display: flex; align-items: center; gap: 10px; margin: 0; color: #554d5c; font-size: 12px; }
.agent-boundaries span { width: 7px; height: 7px; border-radius: 50%; background: var(--lavender-deep); }
.agent-sidebar-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; border-top: 1px solid rgba(29,29,27,.14); padding-top: 20px; color: #5d526a; font-size: 10px; }
.agent-sidebar-footer button { border: 0; padding: 8px 0; background: transparent; font-weight: 800; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }

.chat-panel { position: relative; display: grid; height: 100%; min-width: 0; min-height: 0; grid-template-rows: auto minmax(0,1fr); background: var(--white); }
.chat-toolbar { display: flex; min-height: 74px; align-items: center; justify-content: space-between; gap: 20px; border-bottom: 1px solid var(--line); padding: 0 clamp(18px, 4vw, 42px); }
.chat-toolbar-copy { display: grid; gap: 3px; }
.chat-toolbar-copy strong { font-family: var(--serif); font-size: 19px; font-weight: 400; }
.chat-toolbar-copy small { color: var(--ink-soft); font-size: 10px; }
.agent-toolbar-actions { display: flex; align-items: center; gap: 12px; }
.agent-tabs { display: flex; align-items: center; gap: 3px; border: 1px solid var(--line); border-radius: 99px; padding: 3px; background: var(--paper); }
.agent-tabs button { min-height: 32px; border: 0; border-radius: 99px; padding: 0 10px; background: transparent; color: var(--ink-soft); font-size: 10px; font-weight: 800; cursor: pointer; white-space: nowrap; }
.agent-tabs button[aria-selected="true"] { background: var(--white); color: var(--ink); box-shadow: 0 3px 10px rgba(42,34,27,.1); }
.tool-back-button { min-height: 36px; border: 0; padding: 0 2px; background: transparent; color: var(--lavender-deep); font-size: 10px; font-weight: 850; cursor: pointer; white-space: nowrap; }
.tool-back-button:hover { color: #5d477a; text-decoration: underline; text-underline-offset: 3px; }
.chat-history-button { min-height: 36px; border: 1px solid var(--line); border-radius: 99px; padding: 0 11px; background: var(--white); color: #5d477a; font-size: 10px; font-weight: 850; cursor: pointer; white-space: nowrap; }
.chat-history-button:hover { border-color: rgba(140,117,172,.5); background: var(--lavender); }
.new-chat-button { min-height: 36px; border: 1px solid var(--line); border-radius: 99px; padding: 0 11px; background: var(--paper); color: var(--ink-soft); font-size: 10px; font-weight: 800; cursor: pointer; white-space: nowrap; }
.new-chat-button:hover { border-color: rgba(140,117,172,.5); background: var(--lavender); color: #4f3f64; }
.voice-toggle { display: inline-flex; min-height: 40px; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: 99px; padding: 0 13px; background: var(--paper); color: var(--ink-soft); font-size: 10px; font-weight: 800; cursor: pointer; }
.voice-toggle[aria-pressed="true"] { border-color: var(--lavender-deep); background: var(--lavender); color: var(--ink); }
.voice-toggle:disabled { cursor: not-allowed; opacity: .45; }
.voice-toggle svg { width: 16px; height: 16px; }
.agent-view { display: grid; min-height: 0; grid-template-rows: minmax(0,1fr) auto; }
.agent-tool-view { min-height: 0; overflow: hidden; }
.agent-tool-scroll { height: 100%; overflow-y: auto; padding: clamp(32px, 6vh, 66px) clamp(18px, 6vw, 80px) 28px; }
.agent-chooser { display: grid; min-height: 0; align-content: center; overflow-y: auto; padding: clamp(32px, 7vh, 86px) clamp(18px, 6vw, 80px); background: radial-gradient(circle at 88% 8%, rgba(220,208,239,.7), transparent 30%), var(--white); }
.agent-chooser-intro { max-width: 720px; width: 100%; margin: 0 auto 34px; }
.agent-chooser-intro .agent-kicker { margin-bottom: 16px; }
.agent-chooser h2 { margin: 0; font-family: var(--serif); font-size: clamp(40px, 5vw, 64px); font-weight: 400; line-height: 1.02; }
.agent-chooser-intro p { max-width: 530px; margin: 16px 0 0; color: var(--ink-soft); font-size: 15px; line-height: 1.6; }
.agent-choice-grid { display: grid; width: 100%; max-width: 720px; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 0 auto; }
.agent-choice-card { display: flex; min-height: 265px; flex-direction: column; align-items: flex-start; border: 1px solid var(--line); border-radius: 20px; padding: 22px; background: var(--paper); color: var(--ink); text-align: left; cursor: pointer; box-shadow: 0 12px 28px rgba(42,34,27,.05); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.agent-choice-card:hover { transform: translateY(-4px); border-color: rgba(140,117,172,.55); box-shadow: 0 20px 38px rgba(42,34,27,.12); }
.agent-choice-card--analyze { background: linear-gradient(150deg, #f8f5fc, var(--lavender)); }
.agent-choice-card--search { background: linear-gradient(150deg, #f8f6ee, #eef0e7); }
.agent-choice-card--iris { background: linear-gradient(150deg, #fff9f4, #f5e6e3); }
.agent-choice-icon { display: grid; width: 46px; height: 46px; place-items: center; margin-bottom: 28px; border: 1px solid rgba(29,29,27,.1); border-radius: 15px; background: rgba(255,253,249,.72); color: var(--lavender-deep); font-size: 21px; line-height: 1; box-shadow: 0 8px 18px rgba(42,34,27,.07); }
.agent-choice-card--search .agent-choice-icon { color: #64724e; }
.agent-choice-card--iris .agent-choice-icon { color: var(--coral); }
.agent-choice-card strong { font-family: var(--serif); font-size: 25px; font-weight: 400; line-height: 1.04; }
.agent-choice-card > span:not(.agent-choice-icon) { margin-top: 12px; color: var(--ink-soft); font-size: 12px; line-height: 1.55; }
.agent-choice-card em { margin-top: auto; padding-top: 20px; color: #5d477a; font-size: 10px; font-style: normal; font-weight: 850; letter-spacing: .03em; }
.chat-history-panel { position: absolute; z-index: 10; top: 0; right: 0; bottom: 0; display: flex; width: min(390px, 100%); flex-direction: column; border-left: 1px solid rgba(140,117,172,.25); padding: 28px; background: rgba(255,253,249,.98); box-shadow: -22px 0 48px rgba(42,34,27,.12); backdrop-filter: blur(18px); }
.chat-history-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.chat-history-head .agent-kicker { margin: 0 0 8px; font-size: 9px; }
.chat-history-head h2 { margin: 0; font-family: var(--serif); font-size: 32px; font-weight: 400; line-height: 1; }
.chat-history-close, .chat-history-delete { display: grid; width: 32px; height: 32px; flex: 0 0 auto; place-items: center; border: 1px solid var(--line); border-radius: 50%; padding: 0; background: var(--paper); color: var(--ink-soft); font-size: 21px; line-height: 1; cursor: pointer; }
.chat-history-close:hover, .chat-history-delete:hover { border-color: rgba(238,154,133,.7); background: #fff1ed; color: #9a4434; }
.chat-history-note { margin: 18px 0 14px; color: var(--ink-soft); font-size: 10px; }
.chat-history-list { display: grid; min-height: 0; flex: 1; align-content: start; gap: 8px; overflow-y: auto; padding-right: 3px; }
.chat-history-item { display: flex; align-items: center; gap: 8px; border: 1px solid transparent; border-radius: 13px; padding: 4px; }
.chat-history-item.is-active { border-color: rgba(140,117,172,.32); background: var(--lavender); }
.chat-history-load { display: grid; min-width: 0; flex: 1; gap: 4px; border: 0; border-radius: 9px; padding: 10px; background: transparent; text-align: left; cursor: pointer; }
.chat-history-load:hover { background: rgba(220,208,239,.36); }
.chat-history-load strong { overflow: hidden; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.chat-history-load span { color: var(--ink-soft); font-size: 9px; font-weight: 700; }
.chat-history-delete { width: 27px; height: 27px; margin-right: 4px; border-color: transparent; background: transparent; font-size: 17px; opacity: .7; }
.chat-history-empty { margin: 24px 0; color: var(--ink-soft); font-size: 12px; line-height: 1.55; text-align: center; }
.clear-chats-button { min-height: 40px; margin-top: 18px; border: 1px solid rgba(238,154,133,.5); border-radius: 99px; background: #fff7f4; color: #9a4434; font-size: 10px; font-weight: 850; cursor: pointer; }
.clear-chats-button:disabled { cursor: not-allowed; opacity: .45; }
.chat-scroll { overflow-y: auto; padding: clamp(32px, 6vh, 66px) clamp(18px, 6vw, 80px) 28px; scroll-behavior: smooth; }
.chat-welcome { max-width: 720px; margin: 0 auto 28px; }
.welcome-spark { display: grid; width: 42px; height: 42px; place-items: center; margin-bottom: 22px; border-radius: 50%; background: var(--lavender); color: var(--lavender-deep); }
.chat-welcome h2 { margin: 0; font-family: var(--serif); font-size: clamp(38px, 5vw, 62px); font-weight: 400; line-height: 1.02; }
.chat-welcome p { margin: 16px 0 0; color: var(--ink-soft); }
.suggested-questions { display: grid; max-width: 720px; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 0 auto 34px; }
.suggested-questions button { min-height: 126px; border: 1px solid var(--line); border-radius: 10px; padding: 18px; background: var(--paper); font-family: var(--serif); font-size: 17px; line-height: 1.25; text-align: left; cursor: pointer; transition: transform .2s ease, background .2s ease, box-shadow .2s ease; }
.suggested-questions button:nth-child(2) { background: #eee8f6; }
.suggested-questions button:nth-child(3) { background: #eef0e7; }
.suggested-questions button:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(42,34,27,.08); }
.suggested-questions.used { display: none; }
.chat-messages { display: grid; max-width: 720px; gap: 18px; margin: 0 auto; }
.chat-message { display: grid; gap: 6px; animation: message-in .32s ease both; }
@keyframes message-in { from { opacity: 0; transform: translateY(10px); } }
.chat-message.user { justify-items: end; }
.chat-message.assistant { align-items: start; justify-items: start; }
.assistant-message-content { display: grid; justify-items: start; gap: 6px; min-width: 0; }
.message-label { color: var(--ink-soft); font-size: 9px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.message-bubble { max-width: min(590px, 88%); border-radius: 16px; padding: 14px 17px; font-size: 14px; line-height: 1.65; white-space: pre-wrap; }
.message-bubble a { color: inherit; font-weight: 850; text-decoration: underline; text-underline-offset: 3px; }
.assistant .message-bubble a { color: #5d477a; }
.user .message-bubble { border-bottom-right-radius: 4px; background: var(--ink); color: var(--white); }
.assistant .message-bubble { border: 1px solid var(--line); border-bottom-left-radius: 4px; background: var(--paper); }
.assistant.error .message-bubble { border-color: rgba(238,154,133,.7); background: #fff1ed; }
.typing-bubble { display: flex; align-items: center; gap: 5px; min-width: 62px; }
.typing-bubble span { width: 6px; height: 6px; border-radius: 50%; background: var(--lavender-deep); animation: typing 1s ease-in-out infinite; }
.typing-bubble span:nth-child(2) { animation-delay: .14s; }
.typing-bubble span:nth-child(3) { animation-delay: .28s; }
@keyframes typing { 0%,100% { transform: translateY(2px); opacity: .45; } 50% { transform: translateY(-2px); opacity: 1; } }
.composer-wrap { border-top: 1px solid var(--line); padding: 16px clamp(18px, 6vw, 80px) 18px; background: rgba(255,253,249,.95); }
.chat-composer { display: flex; max-width: 720px; align-items: flex-end; gap: 8px; margin: auto; border: 1px solid var(--line); border-radius: 16px; padding: 9px; background: var(--white); box-shadow: 0 14px 38px rgba(42,34,27,.08); }
.chat-composer textarea { min-height: 44px; max-height: 130px; min-width: 0; flex: 1; resize: none; border: 0; padding: 11px 8px 8px; outline: 0; background: transparent; color: var(--ink); line-height: 1.45; }
.mic-button, .send-button { display: grid; width: 44px; height: 44px; flex: 0 0 auto; place-items: center; border-radius: 50%; cursor: pointer; }
.mic-button { border: 1px solid var(--line); background: var(--paper); }
.mic-button.listening { border-color: var(--coral); background: #fee8e2; color: #a54836; animation: mic-pulse 1.2s ease-in-out infinite; }
@keyframes mic-pulse { 50% { box-shadow: 0 0 0 7px rgba(238,154,133,.17); } }
.send-button { border: 0; background: var(--lavender-deep); color: white; }
.mic-button:disabled, .send-button:disabled { cursor: not-allowed; opacity: .45; }
.mic-button svg, .send-button svg { width: 19px; height: 19px; }
.composer-note { max-width: 720px; margin: 8px auto 0; color: var(--ink-soft); font-size: 9px; text-align: center; }
.composer-note.voice-warning { color: #9a4434; font-weight: 750; }

@media (max-width: 920px) {
  .password-view { grid-template-columns: .75fr 1.25fr; }
  .agent-app { grid-template-columns: 300px 1fr; }
  .agent-sidebar { padding-inline: 25px; }
  .assistant-avatar-presence { width: min(100%, 250px); }
  .agent-choice-grid { grid-template-columns: 1fr; max-width: 560px; }
  .agent-choice-card { min-height: 180px; }
  .suggested-questions { grid-template-columns: 1fr; }
  .suggested-questions button { min-height: 78px; }
}

@media (max-width: 700px) {
  .site-disclaimer { justify-content: space-between; gap: 10px; padding: 8px 16px; font-size: 10px; text-align: left; }
  .site-disclaimer button { width: 26px; height: 26px; font-size: 19px; }
  .agent-header { height: 66px; padding-inline: 16px; }
  .agent-private-badge { display: none; }
  .agent-header-meta { gap: 10px; }
  .agent-header-profile { max-width: min(47vw, 190px); }
  .password-view { min-height: calc(100vh - 66px); grid-template-columns: 1fr; }
  .password-art { display: none; }
  .password-card { width: min(100% - 30px, 520px); }
  .agent-app { height: calc(100vh - 66px); height: calc(100dvh - 66px); min-height: 620px; grid-template-columns: 1fr; grid-template-rows: auto minmax(0,1fr); }
  .agent-sidebar { display: grid; min-height: 0; overflow: visible; grid-template-rows: auto auto; border-right: 0; border-bottom: 1px solid var(--line); padding: 14px 16px 10px; }
  .iris-stage { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .iris-stage .agent-kicker { grid-row: 1; grid-column: 1; margin-bottom: 9px; }
  .assistant-avatar-presence { width: clamp(156px, 46vw, 190px); grid-row: 2; grid-column: 1; }
  .assistant-avatar-frame { border-radius: 24px; box-shadow: 0 14px 32px rgba(75,55,96,.18), 0 0 0 5px rgba(255,255,255,.18); }
  .iris-identity { grid-row: 3; grid-column: 1; justify-items: center; margin-top: 12px; }
  .iris-identity h1 { font-size: 43px; }
  .iris-intro { display: none; }
  .agent-boundaries { display: none; }
  .agent-sidebar-footer { margin-top: 10px; padding-top: 8px; }
  .chat-panel { height: auto; }
  .chat-toolbar { min-height: 58px; padding-inline: 14px; }
  .chat-toolbar-copy small { display: none; }
  .agent-toolbar-actions { gap: 7px; }
  .agent-tabs { max-width: calc(100vw - 168px); overflow-x: auto; }
  .agent-tabs button { min-height: 30px; padding-inline: 8px; font-size: 9px; }
  .tool-back-button { font-size: 9px; }
  .new-chat-button { min-height: 34px; padding-inline: 9px; font-size: 9px; }
  .chat-history-button { min-height: 34px; padding-inline: 9px; font-size: 9px; }
  .voice-toggle span { display: none; }
  .voice-toggle { width: 40px; justify-content: center; padding: 0; }
  .chat-scroll, .agent-tool-scroll { padding: 26px 14px 22px; }
  .agent-chooser { padding: 30px 14px 36px; align-content: start; }
  .agent-chooser-intro { margin-bottom: 24px; }
  .agent-chooser h2 { font-size: 40px; }
  .agent-choice-grid { gap: 10px; }
  .agent-choice-card { min-height: 154px; padding: 18px; border-radius: 17px; }
  .agent-choice-icon { width: 38px; height: 38px; margin-bottom: 16px; border-radius: 12px; font-size: 18px; }
  .agent-choice-card strong { font-size: 22px; }
  .agent-choice-card > span:not(.agent-choice-icon) { margin-top: 7px; }
  .agent-choice-card em { padding-top: 13px; }
  .chat-history-panel { width: 100%; padding: 24px 18px; }
  .chat-welcome h2 { font-size: 39px; }
  .suggested-questions { gap: 8px; }
  .suggested-questions button { min-height: 68px; font-size: 16px; }
  .composer-wrap { padding: 10px 10px 12px; }
  .message-bubble { max-width: 92%; }
}

@media (max-width: 420px) {
  .assistant-avatar-presence { width: 156px; }
  .iris-identity h1 { font-size: 36px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
