/* A quiet chat canvas, with selectors scoped above shared dashboard styles. */
body.pro-mode .dashboard-shell .dashboard-content:has(.ai-agent-page) {
  padding: 0 0 0 var(--dashboard-rail-width);
  background: #fbfbfb;
}
body.pro-mode .dashboard-content .ai-agent-page {
  --ai-ink: #252725;
  --ai-muted: #767a76;
  --ai-line: #e6e8e4;
  width: 100%; height: 100dvh; min-height: 0;
  color: var(--ai-ink); background: #fbfbfb;
  font-family: var(--pro-ui-font, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif);
  font-size: 14px; line-height: 1.5; -webkit-font-smoothing: antialiased;
}
body.pro-mode .dashboard-content .ai-agent-page *, body.pro-mode .dashboard-content .ai-agent-page *::before, body.pro-mode .dashboard-content .ai-agent-page *::after { box-sizing: border-box; }
body.pro-mode .dashboard-content .ai-agent-page button, body.pro-mode .dashboard-content .ai-agent-page textarea { font: inherit; letter-spacing: normal; }
body.pro-mode .dashboard-content .ai-agent-page button { cursor: pointer; }
body.pro-mode .dashboard-content .ai-agent-page button:disabled { cursor: not-allowed; opacity: .42; }
body.pro-mode .dashboard-content .ai-agent-page button:focus-visible { outline: 2px solid #565c56; outline-offset: 3px; }
body.pro-mode .dashboard-content .ai-agent-page .icon { width: 18px; height: 18px; flex-shrink: 0; }
body.pro-mode .dashboard-content .ai-agent-page .ai-agent-layout { display: grid; grid-template-columns: 232px minmax(0, 1fr); height: 100%; min-height: 0; }
body.pro-mode .dashboard-content .ai-agent-page .ai-agent-history { display: flex; flex-direction: column; min-height: 0; padding: 22px 12px 18px; border-right: 1px solid #e9eae7; background: #f5f5f3; overflow-y: auto; scrollbar-width: thin; }
body.pro-mode .dashboard-content .ai-agent-page .ai-agent-history-header { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 0 8px 21px; }
body.pro-mode .dashboard-content .ai-agent-page .ai-agent-history-header h2 { margin: 0; color: #343733; font-size: 14px; font-weight: 600; letter-spacing: -.2px; }
body.pro-mode .dashboard-content .ai-agent-page .ai-agent-history-header button { display: inline-flex; align-items: center; justify-content: center; gap: 7px; border: 0; background: transparent; color: #61665f; padding: 7px; min-width: 32px; min-height: 32px; border-radius: 8px; font-size: 12px; }
body.pro-mode .dashboard-content .ai-agent-page .ai-agent-history-header button:hover { background: #e8eae5; color: #242824; }
body.pro-mode .dashboard-content .ai-agent-page .ai-agent-history > .ai-agent-new { display: flex; align-items: center; justify-content: flex-start; gap: 9px; min-height: 39px; margin: 0 3px 23px; padding: 9px 11px; border: 1px solid #dedfd9; border-radius: 9px; background: #fafbf8; color: #52584b; font-size: 12px; font-weight: 450; }
body.pro-mode .dashboard-content .ai-agent-page .ai-agent-history > .ai-agent-new:hover { background: #fff; border-color: #c8cdbf; }
body.pro-mode .dashboard-content .ai-agent-page .ai-agent-history-list { flex: 1; }
body.pro-mode .dashboard-content .ai-agent-page .ai-agent-history-footer { font-size: 9px; line-height: 1.6; font-weight: 400; color: #999f91; margin: auto 9px 0; padding-top: 18px; }
body.pro-mode .dashboard-content .ai-agent-page .ai-agent-history-error button, body.pro-mode .dashboard-content .ai-agent-page .ai-agent-chat-status button { background: transparent; border: 0; color: inherit; text-decoration: underline; padding: 0 3px; }
body.pro-mode .dashboard-content .ai-agent-page .ai-agent-chat-status { margin: 0 0 24px; text-align: center; color: #868d7c; font-size: 13px; }
body.pro-mode .dashboard-content .ai-agent-page .ai-agent-message-more { display: block; margin: 0 auto 24px; }
body.pro-mode .dashboard-content .ai-agent-page .ai-agent-history-group { margin: 0 0 24px; }
body.pro-mode .dashboard-content .ai-agent-page .ai-agent-history-group h2 { margin: 0 10px 8px; color: #888d85; font-size: 11px; font-weight: 550; letter-spacing: .1px; line-height: 1.5; }
body.pro-mode .dashboard-content .ai-agent-page .ai-agent-chat-row { display: flex; align-items: center; gap: 0; min-width: 0; border-radius: 9px; margin: 2px 0; }
body.pro-mode .dashboard-content .ai-agent-page .ai-agent-chat-row:hover { background: #eeeeea; }
body.pro-mode .dashboard-content .ai-agent-page .ai-agent-chat-row.is-active { background: #e7e9e3; }
body.pro-mode .dashboard-content .ai-agent-page .ai-agent-chat-open { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: 11px 6px 11px 11px; border: 0; border-radius: 9px; text-align: left; color: #3c4039; background: transparent; font-size: 12px; line-height: 1.5; }
body.pro-mode .dashboard-content .ai-agent-page .ai-agent-chat-open :is(strong,span) { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 450; }
body.pro-mode .dashboard-content .ai-agent-page .ai-agent-chat-open :is(small,time) { color: #898e85; font-size: 10px; line-height: 1.4; }
body.pro-mode .dashboard-content .ai-agent-page .ai-agent-pin { display: grid; place-items: center; flex: 0 0 auto; width: 32px; height: 34px; padding: 0; margin-right: 3px; border: 0; border-radius: 7px; background: transparent; color: #999e94; }
body.pro-mode .dashboard-content .ai-agent-page .ai-agent-pin .icon { width: 14px; height: 14px; }
body.pro-mode .dashboard-content .ai-agent-page .ai-agent-pin:hover, body.pro-mode .dashboard-content .ai-agent-page .ai-agent-pin[aria-pressed="true"] { color: #494f43; background: #dfe2d9; }
body.pro-mode .dashboard-content .ai-agent-page .ai-agent-history-status, body.pro-mode .dashboard-content .ai-agent-page .ai-agent-history-error { color: #858b7f; font-size: 12px; line-height: 1.7; padding: 10px; margin: 0; }
body.pro-mode .dashboard-content .ai-agent-page .ai-agent-history-error { color: #92644b; }
body.pro-mode .dashboard-content .ai-agent-page .ai-agent-history-more { background: transparent; color: #71776a; border: 1px solid #dfe2d9; padding: 8px 12px; border-radius: 8px; font-size: 11px; }
body.pro-mode .dashboard-content .ai-agent-page .ai-agent-history-header .ai-agent-history-close, body.pro-mode .dashboard-content .ai-agent-page .ai-agent-history-toggle { display: none; }
body.pro-mode .dashboard-content .ai-agent-page .ai-agent-chat { display: flex; flex-direction: column; min-width: 0; min-height: 0; overflow: hidden; }
body.pro-mode .dashboard-content .ai-agent-page .ai-agent-header { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex: 0 0 auto; min-height: 78px; padding: 20px 30px; }
body.pro-mode .dashboard-content .ai-agent-page .ai-agent-heading { display: flex; align-items: center; gap: 13px; min-width: 0; }
body.pro-mode .dashboard-content .ai-agent-page .ai-agent-heading h1 { margin: 0; color: #353733; font-size: 17px; font-weight: 550; line-height: 1.4; letter-spacing: -.4px; white-space: nowrap; }
body.pro-mode .dashboard-content .ai-agent-page .ai-agent-salon { border-left: 1px solid #dedfda; padding-left: 13px; color: #858981; font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 200px; }
body.pro-mode .dashboard-content .ai-agent-page .ai-agent-header-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
body.pro-mode .dashboard-content .ai-agent-page .ai-agent-header button { display: inline-flex; align-items: center; justify-content: center; gap: 7px; border: 0; border-radius: 8px; background: transparent; padding: 8px; font-size: 11px; color: #7b8075; min-height: 36px; }
body.pro-mode .dashboard-content .ai-agent-page .ai-agent-header button:hover { background: #f0f1ed; color: var(--ai-ink); }
body.pro-mode .dashboard-content .ai-agent-page .ai-agent-header .ai-agent-history-toggle { display: none; }
body.pro-mode .dashboard-content .ai-agent-page .ai-agent-header .ai-agent-new { border: 1px solid #e5e7e1; color: #53584f; background: #fff; }
body.pro-mode .dashboard-content .ai-agent-page .ai-agent-body { width: min(100%, 820px); margin: 0 auto; min-height: 0; flex: 1; display: flex; flex-direction: column; padding: 0 32px 24px; }
body.pro-mode .dashboard-content .ai-agent-page .ai-agent-body.is-empty { justify-content: center; padding-bottom: clamp(60px, 12vh, 135px); }
body.pro-mode .dashboard-content .ai-agent-page .ai-agent-welcome { text-align: center; margin: 0 0 31px; }
body.pro-mode .dashboard-content .ai-agent-page .ai-agent-welcome h2 { color: #262825; font-size: clamp(26px, 2.5vw, 32px); line-height: 1.3; letter-spacing: -1px; font-weight: 500; margin: 0; }
body.pro-mode .dashboard-content .ai-agent-page .ai-agent-welcome > p { font-size: 14px; font-weight: 400; line-height: 1.6; color: #8a8e85; margin: 12px 0 0; }
body.pro-mode .dashboard-content .ai-agent-page .ai-agent-compose-area { flex: 0 0 auto; width: 100%; }
body.pro-mode .dashboard-content .ai-agent-page .ai-agent-composer { display: flex; align-items: center; gap: 12px; padding: 9px 10px 9px 21px; border: 1px solid #dedfdc; border-radius: 29px; box-shadow: 0 2px 5px #20251c03, 0 8px 28px #20251c04; background: #fff; }
body.pro-mode .dashboard-content .ai-agent-page .ai-agent-composer:focus-within { border-color: #9da496; box-shadow: 0 0 0 2px #525d4210; }
body.pro-mode .dashboard-content .ai-agent-page #salon-ai-message {
  --text-entry-focus-surface: transparent; --text-entry-border: transparent; --text-entry-focus-accent: #30342c;
  display: block; flex: 1; width: 0; min-width: 0; height: 38px; min-height: 38px; max-height: 160px;
  margin: 0; padding: 8px 0; border: 0; border-radius: 0; outline: none; box-shadow: none;
  background: transparent; color: #30342c; font-size: 14px; font-weight: 400; line-height: 22px; resize: none; overflow-y: auto;
}
body.pro-mode .dashboard-content .ai-agent-page #salon-ai-message:is(:focus,:focus-visible) { outline: none; box-shadow: none; border: 0; background: transparent; }
body.pro-mode .dashboard-content .ai-agent-page #salon-ai-message::placeholder { color: #92988b; opacity: 1; }
body.pro-mode .dashboard-content .ai-agent-page .ai-agent-send { border: 0; background: #30332c; width: 38px; height: 38px; display: grid; place-items: center; flex: 0 0 auto; color: white; border-radius: 50%; padding: 0; }
body.pro-mode .dashboard-content .ai-agent-page .ai-agent-send:hover:not(:disabled) { background: #4a5142; }
body.pro-mode .dashboard-content .ai-agent-page .ai-agent-send:disabled { opacity: 1; background: #f1f2ee; color: #b5bbaa; }
body.pro-mode .dashboard-content .ai-agent-page .ai-agent-send .icon { width: 17px; height: 17px; }
body.pro-mode .dashboard-content .ai-agent-page .ai-agent-prompts { display: flex; gap: 8px; align-items: center; justify-content: center; margin-top: 22px; }
body.pro-mode .dashboard-content .ai-agent-page .ai-agent-prompts button { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 38px; padding: 8px 12px; border: 1px solid #e5e7df; border-radius: 10px; background: transparent; color: #727a69; font-size: 11px; font-weight: 400; transition: border-color .15s, background .15s; }
body.pro-mode .dashboard-content .ai-agent-page .ai-agent-prompts button:hover { background: #f1f3ed; border-color: #d2d8c8; }
body.pro-mode .dashboard-content .ai-agent-page .ai-agent-prompts .icon { width: 15px; height: 15px; color: #8a967b; }
body.pro-mode .dashboard-content .ai-agent-page .ai-agent-help { font-size: 10px; font-weight: 400; color: #858b7d; text-align: center; line-height: 1.6; margin: 13px 0 0; }
body.pro-mode .dashboard-content .ai-agent-page .ai-agent-body.is-empty .ai-agent-help { margin-top: 23px; }
body.pro-mode .dashboard-content .ai-agent-page .ai-agent-stream { flex: 1; overflow-y: auto; min-height: 0; padding: 25px 2px 28px; scrollbar-width: thin; scrollbar-color: #daddd3 transparent; overscroll-behavior: contain; }
body.pro-mode .dashboard-content .ai-agent-page .ai-agent-message { display: flex; flex-direction: column; align-items: flex-start; margin: 0 0 30px; gap: 9px; }
body.pro-mode .dashboard-content .ai-agent-page .ai-agent-message-label { font-size: 11px; font-weight: 600; color: #6f7b5f; line-height: 1.4; }
body.pro-mode .dashboard-content .ai-agent-page .ai-agent-message-content { color: #343a2e; font-size: 14px; line-height: 1.8; white-space: pre-wrap; overflow-wrap: anywhere; max-width: 100%; }
body.pro-mode .dashboard-content .ai-agent-page .ai-agent-message.is-user { align-items: flex-end; }
body.pro-mode .dashboard-content .ai-agent-page .ai-agent-message.is-user .ai-agent-message-label { position: absolute; clip: rect(0, 0, 0, 0); width: 1px; height: 1px; overflow: hidden; }
body.pro-mode .dashboard-content .ai-agent-page .ai-agent-message.is-user .ai-agent-message-content { padding: 10px 17px; border-radius: 21px; background: #eef0e9; max-width: 85%; line-height: 1.65; }
body.pro-mode .dashboard-content .ai-agent-page .ai-agent-markdown { white-space: normal; width: 100%; }
body.pro-mode .dashboard-content .ai-agent-page .ai-agent-markdown :is(p,ul,ol,blockquote,pre,table) { margin: 0 0 14px; color: inherit; font-size: inherit; line-height: inherit; }
body.pro-mode .dashboard-content .ai-agent-page .ai-agent-markdown > :last-child { margin-bottom: 0; }
body.pro-mode .dashboard-content .ai-agent-page .ai-agent-markdown :is(h1,h2,h3,h4,h5,h6) { color: #2d3328; font-size: 17px; line-height: 1.45; font-weight: 600; letter-spacing: -.35px; margin: 24px 0 10px; }
body.pro-mode .dashboard-content .ai-agent-page .ai-agent-markdown :is(h3,h4,h5,h6) { font-size: 15px; }
body.pro-mode .dashboard-content .ai-agent-page .ai-agent-markdown > :first-child { margin-top: 0; }
body.pro-mode .dashboard-content .ai-agent-page .ai-agent-markdown strong { font-weight: 600; }
body.pro-mode .dashboard-content .ai-agent-page .ai-agent-markdown :is(ul,ol) { padding-left: 22px; }
body.pro-mode .dashboard-content .ai-agent-page .ai-agent-markdown li { padding-left: 3px; margin: 5px 0; }
body.pro-mode .dashboard-content .ai-agent-page .ai-agent-markdown li > :is(ul,ol) { margin: 5px 0 10px; }
body.pro-mode .dashboard-content .ai-agent-page .ai-agent-markdown li > p { margin: 0 0 6px; }
body.pro-mode .dashboard-content .ai-agent-page .ai-agent-markdown a { color: #4c6640; text-decoration: underline; text-underline-offset: 3px; }
body.pro-mode .dashboard-content .ai-agent-page .ai-agent-markdown blockquote { border-left: 3px solid #d7dfcc; padding: 3px 16px; color: #727e63; }
body.pro-mode .dashboard-content .ai-agent-page .ai-agent-markdown blockquote > :last-child { margin-bottom: 0; }
body.pro-mode .dashboard-content .ai-agent-page .ai-agent-markdown code { padding: 2px 5px; border-radius: 4px; background: #f0f2eb; font-size: .87em; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
body.pro-mode .dashboard-content .ai-agent-page .ai-agent-markdown pre { padding: 15px 17px; border: 1px solid #e3e7dc; border-radius: 10px; background: #f6f7f3; overflow-x: auto; white-space: pre; }
body.pro-mode .dashboard-content .ai-agent-page .ai-agent-markdown pre code { padding: 0; border-radius: 0; background: transparent; }
body.pro-mode .dashboard-content .ai-agent-page .ai-agent-table-wrap { width: 100%; overflow-x: auto; margin-bottom: 16px; border: 1px solid #e4e8dd; border-radius: 10px; }
body.pro-mode .dashboard-content .ai-agent-page .ai-agent-markdown table { width: 100%; min-width: 520px; border-collapse: collapse; margin: 0; text-align: left; font-size: 12px; }
body.pro-mode .dashboard-content .ai-agent-page .ai-agent-markdown :is(th,td) { padding: 10px 13px; border: 0; border-bottom: 1px solid #e7eadf; text-align: left; vertical-align: top; line-height: 1.6; overflow-wrap: normal; }
body.pro-mode .dashboard-content .ai-agent-page .ai-agent-markdown th { font-weight: 600; white-space: nowrap; background: #f3f5ee; color: #596747; }
body.pro-mode .dashboard-content .ai-agent-page .ai-agent-markdown tr:last-child td { border-bottom: 0; }
body.pro-mode .dashboard-content .ai-agent-page .ai-agent-resources { display: grid; gap: 9px; width: 100%; margin-top: 10px; }
body.pro-mode .dashboard-content .ai-agent-page .ai-agent-resource-card { display: flex; align-items: center; gap: 13px; width: 100%; padding: 15px; text-align: left; color: #3d4a2f; background: #fff; border: 1px solid #e1e7d8; border-radius: 12px; box-shadow: 0 1px 3px #29341b04; }
body.pro-mode .dashboard-content .ai-agent-page .ai-agent-resource-card:hover { background: #f8faf4; border-color: #bfcbae; }
body.pro-mode .dashboard-content .ai-agent-page .ai-agent-resource-icon { display: grid; place-items: center; width: 36px; height: 36px; flex-shrink: 0; border-radius: 10px; color: #788969; background: #f0f4e9; }
body.pro-mode .dashboard-content .ai-agent-page .ai-agent-resource-copy { display: flex; flex-direction: column; gap: 3px; flex: 1; min-width: 0; }
body.pro-mode .dashboard-content .ai-agent-page .ai-agent-resource-copy strong { color: #3a422f; font-size: 12px; font-weight: 550; line-height: 1.5; }
body.pro-mode .dashboard-content .ai-agent-page .ai-agent-resource-copy span { color: #879477; font-size: 11px; line-height: 1.5; }
body.pro-mode .dashboard-content .ai-agent-page .ai-agent-resource-action { color: #8c9b7a; font-size: 11px; display: inline-flex; align-items: center; gap: 5px; }
body.pro-mode .dashboard-content .ai-agent-page .ai-agent-message-status { font-size: 11px; color: #9a735b; }
body.pro-mode .dashboard-content .ai-agent-page .ai-agent-thinking { display: flex; align-items: center; gap: 10px; color: #8b977c; font-size: 13px; min-height: 45px; padding-block: 10px; }
body.pro-mode .dashboard-content .ai-agent-page .ai-agent-error, body.pro-mode .dashboard-content .ai-agent-page .ai-agent-limit { border: 1px solid #e9dfd0; background: #faf7f0; border-radius: 12px; color: #705d40; font-size: 12px; line-height: 1.6; margin-bottom: 12px; padding: 12px 15px; }
body.pro-mode .dashboard-content .ai-agent-page .ai-agent-error button, body.pro-mode .dashboard-content .ai-agent-page .ai-agent-limit button, body.pro-mode .dashboard-content .ai-agent-page .ai-agent-usage-error button { border: 0; background: transparent; padding: 2px 0; text-decoration: underline; color: inherit; font-weight: 600; margin-left: 8px; }
body.pro-mode .dashboard-content .ai-agent-page .ai-agent-usage-error { font-size: 11px; color: #91846e; text-align: center; margin: 10px 0 0; }
body.pro-mode .dashboard-content .ai-agent-page .ai-agent-thinking-orbit { position: relative; display: grid; place-items: center; flex: 0 0 34px; width: 34px; height: 34px; border-radius: 50%; background: #edf1e7; color: #7c8c69; animation: ai-orbit-breathe 2.4s ease-in-out infinite; }
body.pro-mode .dashboard-content .ai-agent-page .ai-agent-thinking-orbit::before { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1px solid transparent; border-top-color: #a7b395; border-right-color: #dce3d2; animation: ai-orbit-turn 2.4s linear infinite; }
body.pro-mode .dashboard-content .ai-agent-page .ai-agent-thinking-orbit .icon { width: 17px; height: 17px; }
body.pro-mode .dashboard-content .ai-agent-page .ai-agent-thinking-copy { display: flex; flex-direction: column; gap: 6px; margin-left: 4px; color: #778568; }
body.pro-mode .dashboard-content .ai-agent-page .ai-agent-thinking-track { width: 132px; height: 2px; overflow: hidden; border-radius: 2px; background: #edf0e8; }
body.pro-mode .dashboard-content .ai-agent-page .ai-agent-thinking-track::after { content: ""; display: block; width: 45%; height: 100%; border-radius: inherit; background: #9aa88a; animation: ai-track-sweep 1.8s ease-in-out infinite; }
body.pro-mode .dashboard-content .ai-agent-page .ai-agent-thinking-dots { display: flex; gap: 4px; margin-left: 2px; }
body.pro-mode .dashboard-content .ai-agent-page .ai-agent-thinking-dots i { width: 3px; height: 3px; border-radius: 50%; background: #9aa88a; animation: ai-dot-rise 1.2s ease-in-out infinite; }
body.pro-mode .dashboard-content .ai-agent-page .ai-agent-thinking-dots i:nth-child(2) { animation-delay: .16s; }
body.pro-mode .dashboard-content .ai-agent-page .ai-agent-thinking-dots i:nth-child(3) { animation-delay: .32s; }
body.pro-mode .dashboard-content .ai-agent-page [data-ai-reveal-hidden] { display: none !important; }
body.pro-mode .dashboard-content .ai-agent-page [data-ai-reveal-caret]::after { content: ""; display: inline-block; width: 2px; height: .9em; margin-left: 3px; vertical-align: -.05em; border-radius: 1px; background: #95a382; animation: ai-caret-blink .8s steps(2, jump-none) infinite; }
body.pro-mode .dashboard-content .ai-agent-page .is-revealing .ai-agent-resources { display: none; }
body.pro-mode .dashboard-content .ai-agent-page .is-revealed .ai-agent-resources { animation: ai-resources-in .28s ease-out both; }
@keyframes ai-orbit-turn { to { transform: rotate(360deg); } }
@keyframes ai-orbit-breathe { 50% { box-shadow: 0 0 0 5px #edf1e750; } }
@keyframes ai-track-sweep { from { transform: translateX(-100%); } to { transform: translateX(325%); } }
@keyframes ai-dot-rise { 0%, 60%, 100% { transform: translateY(0); opacity: .45; } 30% { transform: translateY(-3px); opacity: 1; } }
@keyframes ai-caret-blink { to { opacity: 0; } }
@keyframes ai-resources-in { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: none; } }
@media (max-width: 1100px) {
  body.pro-mode .dashboard-content .ai-agent-page .ai-agent-layout { grid-template-columns: 210px minmax(0, 1fr); }
  body.pro-mode .dashboard-content .ai-agent-page .ai-agent-header { padding: 20px; }
  body.pro-mode .dashboard-content .ai-agent-page .ai-agent-salon { max-width: 130px; }
  body.pro-mode .dashboard-content .ai-agent-page .ai-agent-body { padding-inline: 24px; }
  body.pro-mode .dashboard-content .ai-agent-page .ai-agent-prompts { flex-wrap: wrap; }
}
@media (max-width: 760px) {
  body.pro-mode .dashboard-shell .dashboard-content:has(.ai-agent-page) { padding: 0; }
  body.pro-mode .dashboard-content .ai-agent-page { height: calc(100dvh - 74px - env(safe-area-inset-bottom, 0px)); min-height: 380px; }
  body.pro-mode .dashboard-content .ai-agent-page .ai-agent-layout { display: flex; flex-direction: column; position: relative; }
  body.pro-mode .dashboard-content .ai-agent-page .ai-agent-history { display: none; max-height: 260px; flex: 0 0 auto; padding: 12px; border-right: 0; border-bottom: 1px solid #e1e5dc; }
  body.pro-mode .dashboard-content .ai-agent-page .is-history-open .ai-agent-history { display: flex; }
  body.pro-mode .dashboard-content .ai-agent-page .ai-agent-history-header { padding-bottom: 10px; }
  body.pro-mode .dashboard-content .ai-agent-page .ai-agent-history-header .ai-agent-history-close { display: inline-flex; }
  body.pro-mode .dashboard-content .ai-agent-page .ai-agent-history-group { margin-bottom: 15px; }
  body.pro-mode .dashboard-content .ai-agent-page .ai-agent-chat { flex: 1; }
  body.pro-mode .dashboard-content .ai-agent-page .ai-agent-header { padding: 16px 16px 12px; min-height: 70px; gap: 10px; }
  body.pro-mode .dashboard-content .ai-agent-page .ai-agent-header .ai-agent-history-toggle { display: inline-flex; }
  body.pro-mode .dashboard-content .ai-agent-page .ai-agent-heading { gap: 9px; }
  body.pro-mode .dashboard-content .ai-agent-page .ai-agent-heading h1 { font-size: 16px; }
  body.pro-mode .dashboard-content .ai-agent-page .ai-agent-salon { display: none; }
  body.pro-mode .dashboard-content .ai-agent-page .ai-agent-header-actions { gap: 1px; }
  body.pro-mode .dashboard-content .ai-agent-page .ai-agent-header button { font-size: 10px; padding: 6px; }
  body.pro-mode .dashboard-content .ai-agent-page .ai-agent-header .ai-agent-new span { display: none; }
  body.pro-mode .dashboard-content .ai-agent-page .ai-agent-header .ai-agent-new { width: 34px; min-height: 34px; }
  body.pro-mode .dashboard-content .ai-agent-page .ai-agent-body { padding: 0 18px 16px; }
  body.pro-mode .dashboard-content .ai-agent-page .ai-agent-body.is-empty { padding-bottom: 45px; }
  body.pro-mode .dashboard-content .ai-agent-page .ai-agent-welcome { margin-bottom: 26px; }
  body.pro-mode .dashboard-content .ai-agent-page .ai-agent-welcome h2 { font-size: 25px; letter-spacing: -.75px; }
  body.pro-mode .dashboard-content .ai-agent-page .ai-agent-welcome > p { font-size: 12px; margin-top: 10px; }
  body.pro-mode .dashboard-content .ai-agent-page .ai-agent-composer { padding: 8px 9px 8px 17px; gap: 8px; }
  body.pro-mode .dashboard-content .ai-agent-page #salon-ai-message { font-size: 16px; }
  body.pro-mode .dashboard-content .ai-agent-page .ai-agent-prompts { gap: 7px; margin-top: 19px; }
  body.pro-mode .dashboard-content .ai-agent-page .ai-agent-prompts button { font-size: 10px; padding: 7px 9px; min-height: 35px; }
  body.pro-mode .dashboard-content .ai-agent-page .ai-agent-prompts .icon { width: 14px; height: 14px; }
  body.pro-mode .dashboard-content .ai-agent-page .ai-agent-help { font-size: 9px; }
  body.pro-mode .dashboard-content .ai-agent-page .ai-agent-body.is-empty .ai-agent-help { margin-top: 19px; }
  body.pro-mode .dashboard-content .ai-agent-page .ai-agent-stream { padding-top: 20px; }
  body.pro-mode .dashboard-content .ai-agent-page .ai-agent-message-content { font-size: 14px; }
  body.pro-mode .dashboard-content .ai-agent-page .ai-agent-resource-card { padding: 12px; gap: 10px; }
  body.pro-mode .dashboard-content .ai-agent-page .ai-agent-resource-action { font-size: 0; }
}
@media (max-height: 650px) and (min-width: 761px) {
  body.pro-mode .dashboard-content .ai-agent-page .ai-agent-body.is-empty { padding-bottom: 30px; }
}
@media (prefers-reduced-motion: reduce) { body.pro-mode .dashboard-content .ai-agent-page *, body.pro-mode .dashboard-content .ai-agent-page *::before, body.pro-mode .dashboard-content .ai-agent-page *::after, body.pro-mode .dashboard-content .ai-agent-page .ai-agent-thinking { animation: none; transition: none; } }
