@font-face {
  font-family: Heebo;
  src: url("/static/fonts/heebo-hebrew-400-900.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F;
}
@font-face {
  font-family: Heebo;
  src: url("/static/fonts/heebo-latin-400-900.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
:root {
  font-family: Heebo, system-ui, sans-serif;
  color: #171913;
  background: #f4f1e7;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  --ink: #171913;
  --paper: #f4f1e7;
  --canvas: #fbfaf6;
  --coral: #ff6847;
  --lime: #d5ff45;
  --sage: #e3e6d8;
  --muted: #76786e;
  --line: #dedfd5;
  --radius: 14px;
  --sidebar-width: 270px;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { width: 100%; height: 100%; margin: 0; }
body { font-size: 14px; }
button, input, textarea { font: inherit; }
button, input, textarea { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; color: inherit; }
button:disabled { cursor: default; }
button, input, textarea { border-radius: 0; }
button { touch-action: manipulation; }
input, textarea { color: var(--ink); }
input::placeholder, textarea::placeholder { color: #93958b; opacity: 1; }
input:focus, textarea:focus { outline: none; }
:focus-visible { outline: 2px solid #557328; outline-offset: 4px; }
::selection { background: var(--lime); color: var(--ink); }
.icon-definitions { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 20px; height: 20px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.icon-button { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; padding: 0; border: 0; border-radius: 9px; background: transparent; color: var(--muted); transition: background .15s, color .15s; }
.icon-button:hover { color: var(--ink); background: #17191309; }
.icon-button:disabled { opacity: .45; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 46px; padding: 11px 19px; border: 1px solid transparent; border-radius: 10px; font-size: 14px; font-weight: 500; transition: background .15s, transform .15s; }
.button:active:not(:disabled) { transform: translateY(1px); }
.button:disabled { opacity: .5; }
.button-dark { color: #fff; background: var(--ink); }
.button-dark:hover:not(:disabled) { background: #33372a; }
.button-quiet { border-color: var(--line); background: transparent; }
.button-quiet:hover { background: #17191306; }
.button-danger { background: #b63c2d; color: white; }
.button-danger:hover { background: #9e3326; }
.text-button { padding: 0; border: 0; background: none; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.wordmark { font-weight: 850; font-size: 29px; letter-spacing: -1.6px; line-height: 1; user-select: none; white-space: nowrap; }
.wordmark > span, .coral { color: var(--coral); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.boot-view { min-height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; }
.boot-view p { margin: 0; color: var(--muted); }
.loading-dots { animation: breathe 1.3s ease-in-out infinite; }
.noscript { position: fixed; inset: auto 16px 16px; padding: 16px; background: white; text-align: center; }

/* Sign in */
.login-view { display: flex; flex-direction: column; min-height: 100%; padding: 38px 5.8vw 24px; }
.login-header { display: flex; justify-content: space-between; align-items: center; }
.quiet-label { font-size: 10px; font-weight: 500; letter-spacing: 1.65px; color: var(--muted); }
.login-layout { display: grid; grid-template-columns: 1fr 410px; align-items: center; gap: 8vw; width: min(1050px, 100%); margin: auto; padding: 70px 0 80px; }
.eyebrow { display: flex; align-items: center; gap: 9px; margin-bottom: 23px; color: #5d6251; font-size: 13px; }
.accent-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--coral); }
.login-intro h1 { margin: 0 0 23px; font-size: clamp(38px, 4.2vw, 57px); line-height: 1.1; font-weight: 500; letter-spacing: -2.5px; }
.login-intro > p { margin: 0; font-size: 16px; line-height: 1.8; color: #6d7163; }
.login-signature { display: flex; align-items: center; gap: 12px; margin-top: 52px; font-size: 12px; color: #848778; }
.signature-line { width: 32px; height: 1px; background: #a6ad97; }
.login-card { padding: 34px 35px 30px; background: #ffffffc9; border: 1px solid #fff; border-radius: 20px; box-shadow: 0 9px 45px #32381705, 0 1px 4px #32381702; }
.login-card-mark { display: flex; align-items: baseline; justify-content: center; width: 44px; height: 44px; padding-top: 2px; margin-bottom: 20px; background: var(--sage); border-radius: 12px; font-size: 28px; font-weight: 750; letter-spacing: -1.6px; }
.login-card-mark span { color: var(--coral); }
.login-card h2 { margin: 0 0 4px; font-size: 24px; font-weight: 500; letter-spacing: -.7px; }
.login-card > p { margin: 0 0 27px; color: var(--muted); font-size: 13px; }
.field { margin-bottom: 19px; }
.field label, .chat-dialog label { display: block; margin-bottom: 7px; font-size: 12px; font-weight: 500; }
.field input, .chat-dialog input { width: 100%; min-height: 46px; padding: 11px 13px; border: 1px solid #dcded2; background: #fff; border-radius: 8px; font-size: 14px; transition: border-color .15s, box-shadow .15s; }
.field input:focus, .chat-dialog input:focus { border-color: #949c79; box-shadow: 0 0 0 3px #d5ff4538; }
.password-wrap { position: relative; }
.password-wrap input { padding-right: 46px; }
.password-wrap .icon-button { position: absolute; right: 5px; top: 5px; }
.password-wrap .icon { width: 18px; }
.login-submit { width: 100%; justify-content: space-between; margin-top: 5px; }
.login-arrow { width: 17px; }
.login-card > .login-help { margin: 23px 0 0; padding-top: 21px; border-top: 1px solid #e8e8e0; color: #8b8d83; font-size: 11px; line-height: 1.7; }
.form-error { margin: 0 0 14px; font-size: 13px; line-height: 1.6; color: #a23725; }
.login-footer { color: #929587; font-size: 11px; text-align: center; }

/* Workspace */
.app-view { display: flex; height: 100%; height: 100dvh; overflow: hidden; }
.sidebar { display: flex; flex-direction: column; flex: 0 0 var(--sidebar-width); width: var(--sidebar-width); height: 100%; background: #eeede3; border-right: 1px solid #e3e3d9; padding: 28px 17px 13px; z-index: 20; }
.sidebar-top { display: flex; align-items: center; justify-content: space-between; margin: 0 9px 29px; min-height: 31px; }
.sidebar-top .wordmark { font-size: 27px; }
.new-chat { justify-content: flex-start; flex-shrink: 0; gap: 10px; width: 100%; min-height: 43px; padding: 10px 13px; color: white; background: var(--ink); border: 0; font-weight: 400; }
.new-chat:hover:not(:disabled) { background: #363b2d; }
.new-chat .icon { width: 18px; height: 18px; }
.workspace-nav { display: grid; gap: 4px; margin: 16px 0 0; }
.nav-item { display: flex; align-items: center; gap: 11px; padding: 10px 12px; border: 0; border-radius: 9px; background: transparent; text-align: start; font-size: 13px; color: #626857; }
.nav-item .icon { width: 18px; height: 18px; }
.nav-item:hover { background: #e4e6db; color: var(--ink); }
.nav-item[aria-current="page"] { background: #e0e5d4; color: var(--ink); font-weight: 500; }
.catalog-panel { flex: 1; min-height: 0; overflow: auto; padding: 48px clamp(22px, 5vw, 80px); }
.catalog-intro { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; max-width: 1000px; margin: 0 auto; }
.catalog-intro h2 { margin: 0 0 10px; font-size: 30px; font-weight: 500; letter-spacing: -.9px; }
.catalog-intro p { margin: 0; color: #636a58; line-height: 1.7; font-size: 14px; max-width: 550px; }
.catalog-intro .button { min-height: 40px; flex-shrink: 0; font-size: 13px; }
.catalog-status { max-width: 1000px; margin: 24px auto 18px; font-size: 12px; color: #737868; min-height: 20px; }
.catalog-status[data-state="error"] { color: #9b3825; }
.catalog-items { max-width: 1000px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 18px; align-items: start; }
.catalog-card { padding: 23px; border: 1px solid #dedfd5; border-radius: 16px; background: #fffefa; min-width: 0; }
.catalog-card-heading { display: flex; gap: 12px; align-items: center; margin-bottom: 20px; }
.catalog-mark { display: flex; flex: 0 0 38px; align-items: center; justify-content: center; height: 38px; border-radius: 11px; background: #e9eddf; color: #4e5940; }
.catalog-card h3 { font-weight: 500; font-size: 17px; margin: 0; line-height: 1.4; overflow-wrap: anywhere; }
.connection-status { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 500; color: #686e5e; }
.connection-status::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: #a2a798; }
.connection-status[data-status="connected"] { color: #3c612a; }
.connection-status[data-status="connected"]::before { background: #6a9c43; }
.connection-status[data-status="failed"], .connection-status[data-status="disconnected"] { color: #994330; }
.connection-status[data-status="failed"]::before, .connection-status[data-status="disconnected"]::before { background: var(--coral); }
.catalog-card-detail { margin: 12px 0 0; font-size: 14px; }
.catalog-card-description { margin: 0; line-height: 1.7; font-size: 14px; color: #555d4c; overflow-wrap: anywhere; text-align: start; }
.catalog-card-meta { color: #707762; font-size: 12px; margin: 9px 0 0; }
.catalog-card-footer { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 22px; padding-top: 14px; border-top: 1px solid #e8e9df; }
.catalog-card-footer .catalog-card-meta { margin: 0; }
.skill-pinned { font-size: 12px; padding: 3px 8px; border-radius: 5px; background: #e9eddf; color: #4e5940; }
.catalog-empty { grid-column: 1 / -1; padding: 60px 24px; text-align: center; border: 1px dashed #d6dacb; border-radius: 16px; }
.catalog-empty > .icon { width: 30px; height: 30px; color: #7b8869; margin-bottom: 17px; }
.catalog-empty h3 { margin: 0 0 8px; font-size: 18px; font-weight: 500; }
.catalog-empty p { margin: 0 auto; max-width: 360px; font-size: 14px; line-height: 1.8; color: #69715d; }
.skill-card { position: relative; transition: border-color .15s, background .15s; }
.skill-card:hover { border-color: #a2ad8e; background: white; }
.skill-open { padding: 0; border: 0; background: none; font: inherit; text-align: start; }
.skill-open::after { content: ''; position: absolute; inset: 0; border-radius: 16px; }
.skill-open:focus-visible { outline: none; }
.skill-open:focus-visible::after { outline: 2px solid #557328; outline-offset: 3px; }
.catalog-back { display: flex; align-items: center; gap: 6px; width: min(100%, 1000px); margin: 0 auto 24px; padding: 0; border: 0; background: none; color: #556245; font-size: 13px; text-align: start; }
.catalog-back .icon { width: 16px; height: 16px; transform: rotate(180deg); }
.catalog-items[data-view="detail"] { display: block; }
.skill-document { padding: clamp(20px, 4vw, 38px); border: 1px solid #dedfd5; border-radius: 16px; background: #fffefa; font-size: 15px; line-height: 1.85; overflow-wrap: anywhere; text-align: start; }
.skill-document h3 { font-size: 19px; }
.connection-status[data-status="active"], .connection-status[data-status="running"] { color: #3c612a; }
.connection-status[data-status="active"]::before, .connection-status[data-status="running"]::before { background: #6a9c43; }
.connection-status[data-status="needs_attention"] { color: #994330; }
.connection-status[data-status="needs_attention"]::before { background: var(--coral); }
.task-schedule { font-size: 15px; margin: 15px 0 18px; text-align: start; }
.task-dates { display: grid; gap: 12px; margin: 0; padding-top: 16px; border-top: 1px solid #e8e9df; }
.task-date-row { display: grid; gap: 3px; }
.task-date-row dt { color: #707762; font-size: 12px; }
.task-date-row dd { margin: 0; font-size: 13px; }
.task-result { margin: 16px 0 0; font-size: 12px; color: #58624c; }
.task-result-error, .task-result-unknown { color: #994330; }
.task-instructions { margin-top: 20px; border-top: 1px solid #e8e9df; padding-top: 14px; font-size: 13px; line-height: 1.8; overflow-wrap: anywhere; }
.task-instructions summary { cursor: pointer; color: #526342; font-weight: 500; margin-bottom: 8px; }
.search-wrap { display: flex; align-items: center; gap: 9px; margin: 18px 2px 23px; padding: 8px 9px; border: 1px solid transparent; border-radius: 8px; color: #929688; }
.search-wrap:focus-within { border-color: #c5c9b9; background: #ffffff5c; }
.search-wrap .icon { width: 16px; height: 16px; }
.search-wrap input { width: 100%; min-width: 0; padding: 0; border: 0; background: none; font-size: 12px; }
.search-wrap input::placeholder { color: #7e8274; }
.chat-history { flex: 1; overflow-y: auto; overflow-x: hidden; scrollbar-width: thin; scrollbar-color: #ccd0c0 transparent; }
.history-group { padding-bottom: 16px; }
.history-heading { margin: 0 11px 8px; font-size: 10px; font-weight: 500; color: #868a7c; letter-spacing: .2px; }
.history-item { display: block; width: 100%; min-height: 40px; padding: 11px; border: 0; border-radius: 8px; background: none; font-size: 12px; line-height: 1.55; text-align: start; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.history-item:hover { background: #17191306; }
.history-item[aria-current="page"] { background: #dfe3d3; }
.history-item:disabled { opacity: .6; }
.history-empty { margin: 0 11px; max-width: 178px; color: #8b8f80; font-size: 12px; line-height: 1.8; }
.history-empty strong { display: block; margin-bottom: 6px; color: #656c57; font-weight: 500; }
.account { display: flex; align-items: center; gap: 10px; min-width: 0; padding: 17px 2px 0; margin-top: 16px; border-top: 1px solid #dcded2; }
.account-avatar { display: flex; justify-content: center; align-items: center; flex-shrink: 0; width: 32px; height: 32px; border-radius: 50%; font-weight: 500; font-size: 12px; color: #546342; background: #dce3ca; }
.account-info { display: flex; flex-direction: column; flex: 1; min-width: 0; }
#account-name { font-size: 12px; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#account-email { font-size: 10px; color: #878d7c; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.account .icon-button { width: 30px; }
.account .icon { width: 17px; }
.workspace { display: flex; flex-direction: column; flex: 1; min-width: 0; height: 100%; background: var(--canvas); }
.workspace-header { display: flex; align-items: center; justify-content: space-between; flex-shrink: 0; height: 78px; padding: 0 36px; gap: 16px; }
.header-heading { display: flex; align-items: center; gap: 11px; min-width: 0; }
.workspace-header h1 { margin: 0; font-size: 13px; font-weight: 400; color: #86897b; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chat-actions { display: flex; gap: 3px; }
.chat-actions .icon { width: 17px; height: 17px; }
.notice { display: flex; align-items: center; justify-content: center; gap: 12px; flex-shrink: 0; padding: 8px 20px; margin: 0 20px 10px; font-size: 12px; border: 1px solid #e5d5b5; border-radius: 9px; background: #fbf0d8; color: #73551e; }
.notice > span { flex: 1; }
.notice .icon-button { width: 26px; height: 26px; color: inherit; }
.notice .icon { width: 16px; height: 16px; }
.notice .text-button { font-size: 12px; }
.conversation-scroll { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-gutter: stable; scrollbar-width: thin; scrollbar-color: #daddd0 transparent; }
.welcome { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 100%; padding: 38px 20px 54px; text-align: center; }
.welcome-mark { display: flex; justify-content: center; align-items: baseline; width: 54px; height: 54px; padding-top: 4px; margin-bottom: 24px; border-radius: 17px; background: #e8ecdc; color: var(--ink); font-size: 34px; font-weight: 750; letter-spacing: -2px; transform: rotate(-5deg); }
.welcome-mark span { color: var(--coral); }
.welcome-greeting { margin: 0 0 9px; color: #929689; font-size: 12px; }
.welcome h2 { margin: 0 0 12px; font-size: clamp(28px, 3vw, 38px); font-weight: 500; line-height: 1.2; letter-spacing: -1.4px; }
.welcome-description { margin: 0; font-size: 13px; line-height: 1.8; color: #919587; }
.starters { display: flex; justify-content: center; flex-wrap: wrap; gap: 9px; margin-top: 32px; }
.starter { display: flex; align-items: center; gap: 8px; padding: 11px 13px; border: 1px solid #e3e5db; border-radius: 10px; background: transparent; font-size: 11px; color: #727967; transition: border-color .15s, background .15s, transform .15s; }
.starter:hover { border-color: #c2c9b3; background: #f1f3e8; transform: translateY(-2px); }
.starter .icon { width: 16px; height: 16px; }
.starter .starter-arrow { width: 12px; height: 12px; margin-left: 7px; color: #9da68f; }
.conversation { width: min(760px, 100%); margin: 0 auto; padding: 15px 30px 28px; }
.message { margin: 0 0 32px; }
.message-user { display: flex; flex-direction: column; align-items: flex-end; gap: 7px; margin-bottom: 34px; }
.message-user .message-content { max-width: 89%; padding: 12px 19px; border-radius: 18px 18px 5px 18px; background: #e9ecdf; font-size: 14px; line-height: 1.75; white-space: pre-wrap; overflow-wrap: anywhere; }
.message-head { display: flex; align-items: center; gap: 9px; margin-bottom: 12px; }
.agent-avatar { display: flex; align-items: center; justify-content: center; flex-shrink: 0; width: 25px; height: 25px; background: var(--ink); color: var(--paper); border-radius: 8px; font-size: 14px; font-weight: 700; }
.agent-avatar > span { color: var(--coral); }
.message-author { font-size: 12px; font-weight: 500; }
.message-assistant .message-content { font-size: 14px; line-height: 1.85; overflow-wrap: anywhere; text-align: start; }
.message-content p { margin: 0 0 14px; white-space: pre-wrap; }
.message-content p:last-child { margin-bottom: 0; }
.message-line { display: block; min-height: 1lh; text-align: start; }
.message-content h3 { margin: 22px 0 8px; font-size: 16px; font-weight: 600; }
.message-content h3:first-child { margin-top: 0; }
.message-content ul, .message-content ol { padding-inline-start: 24px; margin: 10px 0 17px; }
.message-content li { padding-inline-start: 3px; margin-bottom: 4px; }
.message-content blockquote { margin: 14px 0; padding-inline-start: 14px; border-inline-start: 3px solid #d0d9bb; color: #667057; }
.message-content a { color: #506d30; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.message-content strong { font-weight: 600; }
.message-content code { padding: 2px 5px; border-radius: 4px; background: #eceee6; font: 12px/1.7 ui-monospace, SFMono-Regular, Menlo, monospace; }
.message-content pre { max-width: 100%; overflow: auto; padding: 16px 18px; border: 1px solid #dfe3d4; border-radius: 10px; background: #f0f2e9; direction: ltr; text-align: left; }
.message-content pre code { padding: 0; border-radius: 0; background: none; white-space: pre; }
.message-content:empty { display: none; }
.message-tools { display: flex; gap: 5px; margin-top: 8px; }
.copy-button { display: flex; align-items: center; gap: 5px; padding: 4px 5px; margin-inline-start: -5px; border: 0; border-radius: 5px; background: none; font-size: 10px; color: #969d8d; }
.copy-button:hover { color: #5e6850; background: #e5e9db; }
.copy-button .icon { width: 13px; height: 13px; }
.live-message .message-head::after { content: ""; width: 5px; height: 5px; margin-left: 1px; border-radius: 50%; background: #8caa54; animation: breathe 1.3s ease-in-out infinite; }
.thinking { color: #909782; font-size: 13px; }
.composer-area { width: min(784px, 100%); flex-shrink: 0; align-self: center; padding: 0 30px max(16px, env(safe-area-inset-bottom)); }
.composer { padding: 15px 16px 11px; border: 1px solid #d9decc; border-radius: 19px; background: #fff; box-shadow: 0 5px 25px #36401b06; transition: border-color .15s, box-shadow .15s; }
.composer:focus-within { border-color: #aab795; box-shadow: 0 4px 25px #36401b08; }
.composer textarea { display: block; width: 100%; height: 28px; max-height: 180px; min-height: 28px; margin: 0; padding: 0 2px; border: 0; outline: 0; resize: none; background: none; font-size: 14px; line-height: 1.75; text-align: start; scrollbar-width: thin; }
.composer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 9px; }
.composer-label { padding-left: 2px; font-size: 10px; color: #a0a694; }
.send-button, .stop-button { display: flex; align-items: center; justify-content: center; flex-shrink: 0; width: 34px; height: 34px; padding: 0; border: 0; border-radius: 11px; color: var(--ink); background: var(--lime); transition: background .15s; }
.send-button:hover:not(:disabled) { background: #c5ef35; }
.send-button:disabled { color: #b2b9a3; background: #edf0e5; }
.stop-button { color: white; background: var(--ink); }
.stop-button .icon { width: 17px; height: 17px; fill: currentColor; }
.stop-button:disabled { opacity: .5; }
.composer-hint { margin: 10px 0 0; text-align: center; color: #a1a696; font-size: 9px; }
.composer-hint span { margin: 0 7px; }
.run-status { display: flex; align-items: center; gap: 7px; min-height: 30px; margin-bottom: 5px; padding: 0 4px; color: #7d886b; font-size: 11px; }
.activity-dot { width: 6px; height: 6px; border-radius: 50%; background: #8aab51; animation: breathe 1.3s ease-in-out infinite; }
.run-status[data-state="reconnecting"] { color: #9b751f; }
.run-status[data-state="reconnecting"] .activity-dot { background: #c69330; }
.request-card { padding: 18px; margin: 18px 0 0; border: 1px solid #d3dcc4; border-radius: 12px; background: #f0f4e7; }
.request-card h3 { margin: 0 0 7px; font-size: 13px; font-weight: 600; }
.request-card p { margin: 0 0 13px; font-size: 13px; line-height: 1.75; white-space: pre-wrap; overflow-wrap: anywhere; }
.request-card pre { margin: 0 0 14px; padding: 11px 12px; max-height: 180px; overflow: auto; border-radius: 7px; background: #e5eadb; font: 11px/1.6 ui-monospace, monospace; white-space: pre-wrap; overflow-wrap: anywhere; direction: ltr; text-align: left; }
.request-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.request-actions .button { min-height: 35px; padding: 7px 12px; border-radius: 7px; font-size: 12px; }
.request-card textarea { width: 100%; min-height: 72px; max-height: 220px; resize: vertical; padding: 11px; margin: 0 0 10px; border: 1px solid #cbd5bd; border-radius: 7px; background: #fff; font-size: 13px; text-align: start; }
.request-card textarea:focus { border-color: #899e6a; }
.request-choices { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 12px; }
.request-choice { padding: 6px 10px; border: 1px solid #d0d9c2; border-radius: 6px; background: white; font-size: 12px; }
.request-choice:hover { background: #e5edda; }
.request-card .form-error { color: #a23725; margin-top: 10px; font-size: 12px; }
.chat-dialog { width: min(420px, calc(100% - 32px)); padding: 27px; border: 1px solid #e1e4d8; border-radius: 17px; color: var(--ink); background: var(--canvas); box-shadow: 0 20px 90px #17191329; }
.chat-dialog::backdrop { background: #17191357; backdrop-filter: blur(3px); }
.chat-dialog h2 { margin: 0 0 7px; font-size: 21px; font-weight: 500; letter-spacing: -.4px; }
.chat-dialog p { margin: 0 0 20px; font-size: 13px; line-height: 1.7; color: #808674; }
.chat-dialog .form-error { margin-top: 14px; color: #a23725; }
.dialog-buttons { display: flex; justify-content: flex-end; gap: 8px; margin-top: 24px; }
.dialog-buttons .button { min-height: 39px; padding: 8px 16px; font-size: 12px; }
.mobile-only { display: none; }
.drawer-backdrop { display: none; }
@keyframes breathe { 0%, 100% { opacity: .35; } 50% { opacity: 1; } }

@media (min-width: 1500px) {
  :root { --sidebar-width: 286px; }
  .welcome h2 { font-size: 42px; }
  .conversation { width: 800px; }
  .composer-area { width: 824px; }
}
@media (max-width: 1000px) {
  :root { --sidebar-width: 244px; }
  .sidebar { padding-inline: 13px; }
  .workspace-header { padding-inline: 26px; }
  .login-layout { gap: 5vw; grid-template-columns: 1fr 375px; }
  .login-intro h1 { font-size: 40px; letter-spacing: -1.8px; }
  .login-card { padding: 30px; }
  .login-intro > p { font-size: 14px; }
  .starter { font-size: 10px; padding: 10px; gap: 6px; }
  .starter .starter-arrow { display: none; }
}
@media (max-width: 720px) {
  .catalog-panel { padding: 27px 21px; }
  .catalog-intro { flex-direction: column; gap: 18px; }
  .catalog-intro h2 { font-size: 27px; }
  .catalog-items { grid-template-columns: minmax(0, 1fr); }
  .catalog-card { padding: 21px; }
  .login-view { padding: 25px 24px 22px; }
  .login-layout { display: block; width: min(410px, 100%); padding: 40px 0; }
  .login-intro { text-align: center; margin-bottom: 30px; }
  .login-intro h1 { font-size: 32px; line-height: 1.2; letter-spacing: -1.3px; margin-bottom: 14px; }
  .login-intro h1 br { display: none; }
  .login-intro .eyebrow, .login-signature { display: none; }
  .login-intro > p { font-size: 12px; }
  .login-card { padding: 27px; }
  .login-card-mark { display: none; }
  .login-card h2 { font-size: 22px; }
  .login-header .wordmark { font-size: 27px; }
  .quiet-label { font-size: 8px; letter-spacing: 1.3px; }
  .login-footer { font-size: 10px; }
  .sidebar { position: fixed; inset: 0 auto 0 0; width: min(300px, 85vw); padding: 23px 18px max(20px, env(safe-area-inset-bottom)); transform: translateX(-100%); transition: transform .2s ease; visibility: hidden; }
  .sidebar[data-open="true"] { transform: translateX(0); visibility: visible; }
  .sidebar-top { margin-bottom: 25px; }
  .sidebar-top .wordmark { font-size: 29px; }
  .mobile-only { display: inline-flex; }
  .drawer-backdrop:not([hidden]) { display: block; position: fixed; inset: 0; width: 100%; height: 100%; z-index: 19; border: 0; background: #17191359; backdrop-filter: blur(2px); }
  .workspace-header { height: 63px; padding-inline: 15px; }
  .workspace-header h1 { font-size: 12px; }
  .header-heading { gap: 7px; }
  .welcome { padding: 20px 18px 42px; }
  .welcome-mark { width: 50px; height: 50px; margin-bottom: 23px; font-size: 31px; }
  .welcome h2 { font-size: 29px; letter-spacing: -1.2px; }
  .welcome-description { font-size: 12px; }
  .welcome-greeting { font-size: 11px; }
  .starters { gap: 7px; margin-top: 25px; }
  .starter { font-size: 10px; padding: 10px; gap: 6px; }
  .starter .icon { width: 14px; height: 14px; }
  .composer-area { padding: 0 16px max(12px, env(safe-area-inset-bottom)); }
  .composer { padding: 13px 14px 10px; border-radius: 17px; }
  .composer textarea { font-size: 16px; }
  .composer-label { font-size: 9px; }
  .composer-hint { font-size: 8px; margin-top: 9px; }
  .conversation { padding: 18px 22px 20px; }
  .message-user .message-content { font-size: 14px; padding: 11px 16px; }
  .message-assistant .message-content { font-size: 14px; }
  .notice { margin-inline: 14px; padding: 8px 11px; font-size: 11px; flex-wrap: wrap; gap: 7px; }
  .notice .text-button { font-size: 11px; }
}
@media (max-width: 370px) {
  .starters { max-width: 230px; }
  .starter:last-child { display: none; }
  .welcome { padding-bottom: 25px; }
  .welcome h2 { font-size: 26px; }
  .login-view { padding-inline: 18px; }
  .login-card { padding: 23px; }
}
@media (max-height: 680px) and (min-width: 721px) {
  .welcome { padding-top: 12px; padding-bottom: 25px; }
  .welcome-mark { margin-bottom: 15px; }
  .starters { margin-top: 23px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
