html, body { min-height: 100%; }
body { min-height: 100vh; overflow: hidden; background: linear-gradient(145deg, var(--lw-color-primary-50) 0%, var(--lw-color-gray-100) 48%, var(--lw-color-white) 100%); }
h1, h2, p { margin-top: 0; word-break: keep-all; }
[hidden] { display: none !important; }

.webchat-stage { position: fixed; inset: 0; overflow-x: hidden; overflow-y: auto; padding: var(--lw-space-8); }
.stage-orb { position: absolute; display: block; border-radius: 50%; filter: blur(2px); opacity: .58; }
.stage-orb--one { width: 420px; height: 420px; top: -190px; right: -100px; background: var(--lw-color-primary-100); }
.stage-orb--two { width: 300px; height: 300px; bottom: -180px; left: -80px; background: var(--lw-color-primary-50); }
.landing-content { position: relative; z-index: 1; width: min(760px, 100%); margin: 5vh auto 120px; display: grid; gap: var(--lw-space-6); }
.landing-profile { width: min(440px, 100%); justify-self: center; overflow: hidden; border: 1px solid var(--lw-profile-border); border-radius: 18px; padding: 30px; background: var(--lw-profile-surface); color: var(--lw-profile-text); box-shadow: var(--lw-shadow-card); }
.landing-profile__topline, .landing-profile__identity, .landing-profile__footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.landing-profile__topline .eyebrow { margin: 0; }
.landing-profile__status { display: inline-flex; align-items: center; gap: 7px; color: var(--lw-profile-muted); font-size: var(--lw-font-size-c1); }
.landing-profile__status i { width: 7px; height: 7px; border-radius: 50%; background: var(--lw-color-green-400); box-shadow: 0 0 0 3px rgba(105, 197, 125, .16); }
.landing-profile__identity { justify-content: flex-start; margin-top: 30px; }
.landing-profile__avatar { display: grid; place-items: center; width: 62px; height: 62px; flex: 0 0 auto; border: 1px solid var(--lw-profile-border); border-radius: 18px; background: var(--lw-profile-soft); color: var(--lw-profile-accent); font-size: var(--lw-font-size-h4); font-weight: var(--lw-font-weight-semibold); }
.landing-profile__identity h1 { margin: 0 0 4px; font-size: var(--lw-font-size-h4); }
.landing-profile__identity p { margin: 0; color: var(--lw-profile-muted); font-size: var(--lw-font-size-b3); }
.business-profile-avatar { overflow: hidden; }
.business-profile-avatar img { width: 100%; height: 100%; object-fit: cover; }
.profile-copy { width: 100%; min-width: 0; overflow-wrap: anywhere; border: 0; padding: 0; background: transparent; color: inherit; font: inherit; line-height: inherit; text-align: left; cursor: pointer; }
.profile-copy:hover { text-decoration: underline; text-underline-offset: 3px; }
.profile-copy:focus-visible { border-radius: 4px; outline: 2px solid var(--lw-color-primary-300); outline-offset: 4px; }
.landing-profile__specialty { margin: 24px 0 0; color: var(--lw-profile-muted); line-height: var(--lw-line-height-b2); }
.landing-profile__details { display: grid; gap: var(--lw-space-2); margin: var(--lw-space-6) 0; }
.landing-profile__details div { padding-top: var(--lw-space-2); border-top: var(--lw-border-width) solid var(--lw-profile-border); }
.landing-profile__details dt { color: var(--lw-profile-muted); font-size: var(--lw-font-size-c1); font-weight: var(--lw-font-weight-semibold); }
.landing-profile__details dd { margin: 5px 0 0; font-size: var(--lw-font-size-b3); line-height: var(--lw-line-height-b3); }
.landing-profile__footer { border-radius: var(--lw-radius-md); padding: 14px 16px; background: var(--lw-profile-soft); color: var(--lw-profile-accent); font-size: var(--lw-font-size-c1); }
.landing-profile__footer span { color: var(--lw-profile-muted); }
.chat-is-open .landing-content { visibility: hidden; }

.columns-section { overflow: hidden; border: var(--lw-border-width) solid var(--lw-color-border); border-radius: var(--lw-radius-lg); background: var(--lw-color-surface); box-shadow: var(--lw-shadow-card); }
.columns-section__heading { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--lw-space-4); padding: var(--lw-space-6); border-bottom: var(--lw-border-width) solid var(--lw-color-border); }
.columns-section__heading .eyebrow { margin-bottom: var(--lw-space-2); color: var(--lw-color-primary-600); }
.columns-section__heading h2 { margin: 0; font-size: var(--lw-font-size-h5); line-height: var(--lw-line-height-h5); font-weight: var(--lw-font-weight-semibold); }
.columns-count { flex: 0 0 auto; border-radius: var(--lw-radius-pill); padding: 4px 10px; background: var(--lw-color-primary-50); color: var(--lw-color-primary-700); font-size: var(--lw-font-size-c1); font-weight: var(--lw-font-weight-semibold); }
.columns-content { min-height: 138px; }
.columns-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--lw-space-4); padding: var(--lw-space-6); }
.column-card { position: relative; display: grid; grid-template-columns: 112px minmax(0, 1fr); min-width: 0; overflow: hidden; border: var(--lw-border-width) solid var(--lw-color-border); border-radius: var(--lw-radius-lg); padding: 0; background: var(--lw-color-surface); color: var(--lw-color-text-primary); text-align: left; cursor: pointer; transition: border-color var(--lw-motion-fast) var(--lw-ease-standard), box-shadow var(--lw-motion-fast) var(--lw-ease-standard), transform var(--lw-motion-fast) var(--lw-ease-standard); }
.column-card:hover { transform: translateY(-2px); border-color: var(--lw-color-primary-300); box-shadow: var(--lw-shadow-card); }
.column-card:focus-visible { outline: 3px solid var(--lw-color-primary-200); outline-offset: 2px; }
.column-card__visual { position: relative; display: block; min-height: 144px; overflow: hidden; background: var(--lw-color-primary-50); }
.column-card__visual img { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; }
.column-card__visual--empty::before { content: "LAWIDE"; position: absolute; inset: 0; display: grid; place-items: center; color: var(--lw-color-primary-300); font-size: var(--lw-font-size-c1); font-weight: var(--lw-font-weight-semibold); letter-spacing: .08em; }
.column-card__visual--empty img { display: none; }
.column-card__content { display: flex; min-width: 0; flex-direction: column; align-items: flex-start; padding: 14px; }
.column-card__date { margin-bottom: 7px; color: var(--lw-color-text-secondary); font-size: var(--lw-font-size-c1); }
.column-card__content strong { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; font-size: var(--lw-font-size-b3); line-height: var(--lw-line-height-b3); }
.column-card__summary { display: -webkit-box; overflow: hidden; margin-top: 7px; color: var(--lw-color-text-secondary); font-size: var(--lw-font-size-c1); line-height: var(--lw-line-height-c1); -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.column-card__arrow { margin-top: auto; padding-top: var(--lw-space-2); color: var(--lw-color-primary-600); font-size: var(--lw-font-size-b3); }
.columns-state, .detail-state { display: flex; min-height: 138px; flex-direction: column; align-items: center; justify-content: center; gap: var(--lw-space-2); padding: var(--lw-space-6); color: var(--lw-color-text-secondary); text-align: center; font-size: var(--lw-font-size-b3); }
.columns-state strong, .detail-state strong { color: var(--lw-color-text-primary); font-size: var(--lw-font-size-b2); }
.columns-state--loading { flex-direction: row; }
.columns-loader { width: 18px; height: 18px; flex: 0 0 auto; border: 2px solid var(--lw-color-primary-100); border-top-color: var(--lw-color-primary-600); border-radius: 50%; animation: columns-spin .8s linear infinite; }
.columns-retry { margin-top: var(--lw-space-2); border: var(--lw-border-width) solid var(--lw-color-border); border-radius: var(--lw-radius-md); padding: 7px 12px; background: var(--lw-color-surface); color: var(--lw-color-primary-700); font: 600 var(--lw-font-size-button-sm)/var(--lw-line-height-button-sm) var(--lw-font-family-base); cursor: pointer; }

.column-detail { position: fixed; inset: 0; z-index: 35; display: grid; grid-template-rows: auto minmax(0, 1fr); background: var(--lw-color-surface); animation: detail-enter var(--lw-motion-modal) var(--lw-ease-standard); }
.column-detail__toolbar { display: flex; align-items: center; justify-content: space-between; gap: var(--lw-space-4); min-height: 64px; padding: 0 var(--lw-space-8); border-bottom: var(--lw-border-width) solid var(--lw-color-border); background: var(--lw-color-surface); }
.column-detail__toolbar > span { color: var(--lw-color-text-secondary); font-size: var(--lw-font-size-b3); }
.column-back { display: inline-flex; align-items: center; gap: var(--lw-space-2); border: 0; border-radius: var(--lw-radius-md); padding: 9px 12px 9px 8px; background: transparent; color: var(--lw-color-text-primary); font: 600 var(--lw-font-size-b3)/var(--lw-line-height-b3) var(--lw-font-family-base); cursor: pointer; }
.column-back:hover { background: var(--lw-color-gray-100); }
.column-back:focus-visible { outline: 3px solid var(--lw-color-primary-200); }
.column-back svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.column-detail__content { min-height: 0; overflow-y: auto; overscroll-behavior: contain; }
.column-detail__content .detail-state { min-height: 70vh; }
.column-article { width: min(760px, calc(100% - 48px)); margin: 0 auto; padding: 64px 0 96px; }
.column-article__header { margin-bottom: var(--lw-space-8); text-align: center; }
.column-article__header .eyebrow { color: var(--lw-color-primary-600); }
.column-article__header h1 { margin: 0 auto var(--lw-space-4); font-size: clamp(var(--lw-font-size-h3), 5vw, var(--lw-font-size-h1)); line-height: 1.2; }
.column-article__meta { margin: 0; color: var(--lw-color-text-secondary); font-size: var(--lw-font-size-b3); }
.column-article__cover { display: block; width: 100%; max-height: 440px; margin-bottom: 48px; border-radius: var(--lw-radius-lg); object-fit: cover; }
.column-article__body { color: var(--lw-color-text-primary); font-size: var(--lw-font-size-b1); line-height: 1.85; overflow-wrap: anywhere; }
.column-article__body--plain { white-space: pre-wrap; }
.column-article__body h1, .column-article__body h2, .column-article__body h3, .column-article__body h4 { margin: 2em 0 .75em; line-height: 1.35; }
.column-article__body h1 { font-size: var(--lw-font-size-h3); }
.column-article__body h2 { font-size: var(--lw-font-size-h4); }
.column-article__body h3 { font-size: var(--lw-font-size-h5); }
.column-article__body p, .column-article__body ul, .column-article__body ol, .column-article__body blockquote, .column-article__body pre { margin: 0 0 1.25em; }
.column-article__body img { display: block; max-width: 100%; height: auto; margin: var(--lw-space-8) auto; border-radius: var(--lw-radius-md); }
.column-article__body blockquote { border-left: 3px solid var(--lw-color-primary-300); padding: var(--lw-space-4) var(--lw-space-6); background: var(--lw-color-primary-50); color: var(--lw-color-gray-700); }
.column-article__body pre { overflow-x: auto; border-radius: var(--lw-radius-md); padding: var(--lw-space-4); background: var(--lw-color-gray-900); color: var(--lw-color-white); }
.column-article__body code { border-radius: 4px; padding: 2px 5px; background: var(--lw-color-gray-200); font-size: .9em; }
.column-article__body pre code { padding: 0; background: transparent; }
.column-article__body a { color: var(--lw-color-primary-700); text-decoration-thickness: var(--lw-border-width); text-underline-offset: 3px; }
.column-article__body table { width: 100%; margin-bottom: var(--lw-space-6); border-collapse: collapse; }
.column-article__body th, .column-article__body td { border: var(--lw-border-width) solid var(--lw-color-border); padding: 10px 12px; text-align: left; }
.column-article__body th { background: var(--lw-color-gray-100); }
.column-is-open .chat-launcher { visibility: hidden; }

.chat-launcher { position: fixed; right: 28px; bottom: 28px; z-index: 30; display: inline-flex; align-items: center; gap: 10px; min-height: 60px; border: 0; border-radius: var(--lw-radius-pill); padding: 0 22px; background: var(--lw-color-primary-700); color: var(--lw-color-white); box-shadow: 0 12px 34px rgba(0, 61, 165, .28); font: 600 var(--lw-font-size-b3)/1 var(--lw-font-family-base); cursor: pointer; transition: transform var(--lw-motion-fast) var(--lw-ease-standard), background var(--lw-motion-fast) var(--lw-ease-standard), box-shadow var(--lw-motion-fast) var(--lw-ease-standard); }
.chat-launcher:hover { transform: translateY(-2px); background: var(--lw-color-primary-800); box-shadow: 0 16px 38px rgba(0, 46, 120, .32); }
.chat-launcher:active { transform: translateY(0); }
.chat-launcher:focus-visible { outline: 3px solid var(--lw-color-primary-200); outline-offset: 3px; }
.chat-launcher svg { width: 25px; height: 25px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.chat-is-open .chat-launcher { visibility: hidden; opacity: 0; }

.webchat-shell { position: fixed; inset: 0; z-index: 50; width: 100%; height: 100dvh; display: grid; grid-template-columns: minmax(280px, 340px) minmax(0, 1fr); overflow: hidden; background: var(--lw-color-white); animation: chat-enter .2s var(--lw-ease-standard); }

.profile-pane { min-width: 0; overflow-y: auto; background: var(--lw-profile-background); color: var(--lw-profile-text); display: flex; align-items: stretch; padding: var(--lw-space-6); }
.profile-card { width: 100%; min-height: min-content; display: flex; flex-direction: column; justify-content: flex-start; gap: var(--lw-space-4); padding: var(--lw-space-6); border-color: var(--lw-profile-border); background: var(--lw-profile-surface); box-shadow: var(--lw-shadow-card); }
.profile-card-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }
.profile-toggle { display: none; flex: 0 0 auto; }
.profile-card .profile-toggle { background: transparent; border-color: var(--lw-profile-border); color: var(--lw-profile-accent); }
.profile-card .profile-toggle:hover { background: var(--lw-profile-soft); }
.chat-profile-identity { display: flex; align-items: center; gap: 14px; margin-top: var(--lw-space-4); }
.chat-profile-identity h1 { margin: 0; }
.chat-profile-avatar { display: grid; width: 52px; height: 52px; flex: 0 0 auto; place-items: center; border: var(--lw-border-width) solid var(--lw-profile-border); border-radius: 14px; background: var(--lw-profile-soft); color: var(--lw-profile-accent); font-weight: var(--lw-font-weight-semibold); }
.copy-feedback { position: fixed; left: 50%; bottom: 28px; z-index: 80; transform: translateX(-50%); border-radius: var(--lw-radius-md); padding: 10px 16px; background: var(--lw-color-gray-900); color: var(--lw-color-white); box-shadow: var(--lw-shadow-card); font-size: var(--lw-font-size-b3); }
.eyebrow, .chat-context { margin: 0 0 6px; color: var(--lw-color-primary-600); font-size: var(--lw-font-size-c1); line-height: var(--lw-line-height-c1); font-weight: var(--lw-font-weight-semibold); letter-spacing: .02em; }
h1 { margin-bottom: 12px; font-size: clamp(25px, 3vw, var(--lw-font-size-h3)); line-height: 1.15; font-weight: var(--lw-font-weight-semibold); }
.subtitle { color: var(--lw-profile-muted); font-size: var(--lw-font-size-b3); line-height: var(--lw-line-height-b2); }
.profile-list { display: grid; gap: var(--lw-space-2); margin: var(--lw-space-6) 0; }
.profile-list div { border-top: var(--lw-border-width) solid var(--lw-profile-border); padding-top: var(--lw-space-2); }
.profile-list dt { color: var(--lw-profile-muted); font-size: var(--lw-font-size-c1); line-height: var(--lw-line-height-c1); font-weight: var(--lw-font-weight-semibold); }
.profile-list dd { margin: 5px 0 0; font-size: var(--lw-font-size-b3); line-height: var(--lw-line-height-b3); }
.brand-box { display: grid; gap: 4px; border-radius: var(--lw-radius-md); background: var(--lw-profile-soft); color: var(--lw-profile-accent); padding: 14px; }
.brand-box span { color: var(--lw-profile-muted); font-size: var(--lw-font-size-c1); }

.chat-pane { min-width: 0; min-height: 0; display: grid; grid-template-rows: auto minmax(0, 1fr) auto auto; height: 100%; overflow: hidden; background: var(--lw-color-surface); }
.chat-header { display: flex; align-items: center; justify-content: space-between; gap: var(--lw-space-4); min-height: 78px; padding: 14px 18px 14px 22px; border-bottom: var(--lw-border-width) solid var(--lw-color-border); }
.chat-header-main, .chat-heading, .chat-header-actions { display: flex; align-items: center; gap: 10px; min-width: 0; }
.status-dot { width: 9px; height: 9px; flex: 0 0 auto; border-radius: 50%; background: var(--lw-color-green-500); box-shadow: 0 0 0 4px var(--lw-color-green-50); }
.chat-header h2 { margin-bottom: 0; font-size: var(--lw-font-size-s1); line-height: var(--lw-line-height-s1); font-weight: var(--lw-font-weight-semibold); }
.chat-context { max-width: 230px; overflow: hidden; color: var(--lw-color-text-secondary); text-overflow: ellipsis; white-space: nowrap; }
.chat-back { display: inline-grid; place-items: center; width: 40px; height: 40px; flex: 0 0 auto; border: 0; border-radius: var(--lw-radius-md); background: transparent; color: var(--lw-color-gray-800); cursor: pointer; }
.chat-back:hover { background: var(--lw-color-gray-100); }
.chat-back:focus-visible { outline: 3px solid var(--lw-color-primary-200); outline-offset: 1px; }
.chat-back svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.messages { min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 22px; display: flex; flex-direction: column; gap: 14px; scroll-behavior: smooth; }
.message { max-width: min(520px, 88%); }
.message.assistant { align-self: flex-start; }
.message.user { align-self: flex-end; }
.message.system, .message.success, .message.error { align-self: center; }
.message.streaming::after { content: ""; display: inline-block; width: 6px; height: 14px; margin-left: 4px; vertical-align: -2px; background: currentColor; animation: stream-caret .8s steps(1) infinite; }

.quick-prompts { display: flex; gap: var(--lw-space-2); padding: 0 22px 12px; overflow-x: auto; }
.quick-prompts button { flex: 0 0 auto; padding: 7px 12px; }
.quick-prompts button:focus-visible { outline: none; box-shadow: 0 0 0 3px var(--lw-color-primary-100); }
.composer { display: grid; grid-template-columns: 1fr auto; gap: 10px; padding: 14px 22px 18px; border-top: var(--lw-border-width) solid var(--lw-color-border); }
.conversation-closed-notice {
  grid-column: 1 / -1;
  margin: 0;
  padding: var(--lw-space-4);
  border: var(--lw-border-width) solid var(--lw-color-primary-200);
  border-radius: var(--lw-radius-md);
  background: var(--lw-color-primary-50);
  color: var(--lw-color-primary-800);
  font-size: var(--lw-font-size-b3);
  line-height: var(--lw-line-height-b3);
}
.conversation-closed-notice--required {
  border-color: var(--lw-color-red-200);
  background: var(--lw-color-red-50);
  color: var(--lw-color-red-700);
}
.conversation-closed-notice--completed {
  border-color: var(--lw-color-green-200);
  background: var(--lw-color-green-50);
  color: var(--lw-color-green-700);
}
.conversation-closed-notice[hidden] { display: none; }
.composer .lw-textarea { min-height: 44px; max-height: none; resize: none; overflow-y: hidden; }
.send-button { width: 48px; min-width: 48px; padding: 0; }
.send-label { display: inline-flex; align-items: center; justify-content: center; }
.send-label svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.send-spinner { display: none; }
.composer button[aria-busy="true"] .send-spinner { display: inline-flex; }
.composer button[aria-busy="true"] .send-label { opacity: .8; }

.modal { z-index: 70; background: transparent; }
.modal-panel { padding: 0; gap: 0; }
.modal-header { display: flex; align-items: center; justify-content: space-between; padding: var(--lw-space-6); border-bottom: var(--lw-border-width) solid var(--lw-color-border); }
.modal-header h2 { margin: 0; font-size: var(--lw-font-size-s1); line-height: var(--lw-line-height-s1); font-weight: var(--lw-font-weight-semibold); }
.icon-button { flex: 0 0 auto; font-size: var(--lw-font-size-h5); line-height: 1; }
.lead-form { display: grid; gap: var(--lw-space-4); padding: var(--lw-space-6); }
.lead-identity-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--lw-space-4); }
.lead-contact-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--lw-space-4); }
.lead-contact-fields[hidden] { display: none; }
.lead-field-label { display: inline-flex; align-items: center; gap: 3px; width: max-content; white-space: nowrap; }
.required-mark { color: var(--lw-color-error); }
.lead-consent { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: start; gap: 10px; color: var(--lw-color-text-secondary); font-size: var(--lw-font-size-b3); line-height: var(--lw-line-height-b3); cursor: pointer; }
.lead-consent input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--lw-color-primary-700); cursor: pointer; }
.lead-consent input:focus-visible { outline: 3px solid var(--lw-color-primary-200); outline-offset: 2px; }
.lead-form-error { margin: 0; border-radius: var(--lw-radius-md); padding: 10px 12px; background: var(--lw-color-red-50); color: var(--lw-color-red-700); font-size: var(--lw-font-size-b3); line-height: var(--lw-line-height-b3); }
.lead-form-actions { display: flex; justify-content: flex-end; gap: var(--lw-space-2); }
.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; }

@keyframes stream-caret { 50% { opacity: 0; } }
@keyframes chat-enter { from { opacity: 0; transform: translateX(12px); } to { opacity: 1; transform: translateX(0); } }
@keyframes columns-spin { to { transform: rotate(360deg); } }
@keyframes detail-enter { from { opacity: 0; transform: translateX(12px); } to { opacity: 1; transform: translateX(0); } }

@media (min-width: 1024px) {
  .landing-content {
    width: min(1180px, 100%);
    grid-template-columns: minmax(340px, 400px) minmax(0, 1fr);
    align-items: start;
  }
  .landing-profile {
    width: 100%;
    justify-self: stretch;
  }
  .columns-section {
    min-width: 0;
  }
  .columns-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .webchat-stage { align-items: center; padding: 18px; }
  .landing-content { margin-top: var(--lw-space-4); }
  .landing-profile { padding: 24px; }
  .landing-profile__identity { margin-top: 24px; }
  .landing-profile__identity h1 { font-size: var(--lw-font-size-h5); line-height: var(--lw-line-height-h5); }
  .chat-launcher { right: 18px; bottom: 18px; width: 58px; min-height: 58px; justify-content: center; padding: 0; }
  .launcher-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }
  .webchat-shell { grid-template-columns: 1fr; }
  .profile-pane { display: none; }
  .chat-header { min-height: 68px; padding: 10px 14px 10px 8px; }
  .chat-context { max-width: 150px; }
  .outline-button { padding-inline: 10px; }
  .messages { padding: 18px; }
  .quick-prompts { padding: 0 18px 12px; }
  .composer { padding: 12px 18px 16px; }
  .message { max-width: 92%; }
  .columns-section__heading { padding: var(--lw-space-4); }
  .columns-section__heading h2 { font-size: var(--lw-font-size-s1); line-height: var(--lw-line-height-s1); }
  .columns-list { grid-template-columns: 1fr; padding: var(--lw-space-4); }
  .column-card { grid-template-columns: 104px minmax(0, 1fr); }
  .column-card__visual { min-height: 132px; }
  .column-detail__toolbar { min-height: 58px; padding: 0 var(--lw-space-4); }
  .column-detail__toolbar > span { display: none; }
  .column-article { width: min(100% - 36px, 760px); padding: 40px 0 72px; }
  .column-article__header { text-align: left; }
  .column-article__header h1 { font-size: var(--lw-font-size-h3); line-height: var(--lw-line-height-h3); }
  .column-article__cover { margin-bottom: var(--lw-space-8); }
  .column-article__body { font-size: var(--lw-font-size-b3); line-height: 1.8; }
  .modal-panel { max-height: calc(100vh - 20px); overflow-y: auto; }
  .lead-identity-grid { grid-template-columns: 1fr; }
  .lead-contact-fields { grid-template-columns: 1fr; }
  .lead-form-actions > * { flex: 1; }
}

@media (max-width: 440px) {
  .landing-profile { padding: 22px; }
  .landing-profile__avatar { width: 54px; height: 54px; border-radius: 15px; }
  .landing-profile__specialty { margin-top: 20px; }
  .landing-profile__details { margin: 22px 0; }
  .landing-profile__footer { align-items: flex-start; flex-direction: column; gap: 3px; }
  .chat-context { display: none; }
  .chat-header-actions { gap: 6px; }
  .composer { grid-template-columns: 1fr auto; }
  .composer .send-button { width: 48px; min-width: 48px; padding: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .webchat-shell, .column-detail { animation: none; }
  .chat-launcher, .messages { transition: none; scroll-behavior: auto; }
  .columns-loader { animation-duration: 1.5s; }
}
