html[data-app="idp-coach"]:root {
  --ink: #191917;
  --muted: #77766f;
  --faint: #a5a39a;
  --line: #e5e3dc;
  --line-strong: #d6d3ca;
  --paper: #fbfbf9;
  --panel: #f3f3f0;
  --white: #ffffff;
  --accent: #aa4f36;
  --accent-dark: #8d3f2b;
  --accent-soft: #f7ece8;
  --sage: #527164;
  --sage-soft: #e9f0ec;
  --danger: #a33e32;
  --shadow: 0 20px 60px rgba(33, 31, 26, 0.08);
}

html[data-app="idp-coach"],
html[data-app="idp-coach"] body {
  min-width: 0;
  min-height: 100%;
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

html[data-app="idp-coach"] body > :not(.workspace-shell) {
  display: none !important;
}

html[data-app="idp-coach"] * {
  box-sizing: border-box;
}

html[data-app="idp-coach"] button,
html[data-app="idp-coach"] textarea,
html[data-app="idp-coach"] input,
html[data-app="idp-coach"] select {
  font: inherit;
}

html[data-app="idp-coach"] button {
  color: inherit;
}

.workspace-shell {
  display: flex;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  background: var(--paper);
}

.workspace-sidebar {
  position: relative;
  z-index: 20;
  display: flex;
  flex: 0 0 292px;
  flex-direction: column;
  min-width: 0;
  padding: 18px 14px 16px;
  border-right: 1px solid var(--line);
  background: #f1f1ee;
  overflow-y: auto;
}

.brand-row {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 0 7px;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 10px;
  background: var(--ink);
  color: white;
  font: 650 10px/1 "Geist Mono", monospace;
  letter-spacing: 0.06em;
}

.brand-copy {
  display: flex;
  min-width: 0;
  flex: 1;
  flex-direction: column;
}

.brand-copy strong {
  font-size: 14px;
  font-weight: 650;
  letter-spacing: -0.01em;
}

.brand-copy span {
  margin-top: 1px;
  color: var(--muted);
  font: 10px/1.2 "Geist Mono", monospace;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.icon-button {
  display: grid;
  width: 34px;
  height: 34px;
  padding: 0;
  place-items: center;
  border: 0;
  border-radius: 9px;
  background: transparent;
  cursor: pointer;
}

.icon-button:hover {
  background: rgba(26, 26, 24, 0.06);
}

.sidebar-close,
.menu-button {
  display: none;
}

.new-session {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  margin: 20px 0 24px;
  padding: 10px 10px;
  border: 1px solid var(--line-strong);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 1px 1px rgba(20, 20, 18, 0.03);
  cursor: pointer;
  transition: border-color 150ms ease, background 150ms ease, transform 150ms ease;
}

.new-session:hover {
  border-color: #bcb9b0;
  background: white;
  transform: translateY(-1px);
}

.new-session-icon {
  display: grid;
  width: 25px;
  height: 25px;
  place-items: center;
  border-radius: 7px;
  background: var(--ink);
  color: white;
  font-size: 16px;
}

.new-session > span:nth-child(2) {
  flex: 1;
  text-align: left;
  font-size: 13px;
  font-weight: 580;
}

.new-session kbd {
  padding: 2px 5px;
  border: 1px solid var(--line);
  border-radius: 5px;
  color: var(--faint);
  background: var(--panel);
  font: 9px/1.3 "Geist Mono", monospace;
}

.sidebar-section {
  margin-bottom: 26px;
}

.section-label {
  padding: 0 8px 9px;
  color: #8a8880;
  font: 600 10px/1.2 "Geist Mono", monospace;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.section-heading > span {
  padding: 0 8px 9px;
  color: var(--faint);
  font: 10px/1.2 "Geist Mono", monospace;
}

.mode-list {
  display: grid;
  gap: 3px;
}

.mode-button {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 9px 8px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  text-align: left;
  cursor: pointer;
  transition: background 140ms ease;
}

.mode-button:hover {
  background: rgba(255, 255, 255, 0.64);
}

.mode-button.active {
  background: white;
  box-shadow: 0 1px 2px rgba(31, 30, 26, 0.05), inset 0 0 0 1px rgba(218, 216, 208, 0.7);
}

.mode-glyph {
  display: grid;
  width: 27px;
  height: 27px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.44);
  font: 600 10px/1 "Geist Mono", monospace;
}

.mode-button.active .mode-glyph {
  border-color: var(--ink);
  color: white;
  background: var(--ink);
}

.mode-button > span:last-child {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 2px;
}

.mode-button strong {
  font-size: 12.5px;
  font-weight: 580;
}

.mode-button small {
  overflow: hidden;
  color: var(--muted);
  font-size: 10.5px;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.framework-control {
  display: block;
  padding: 0 7px;
}

.framework-control select {
  width: 100%;
  min-height: 38px;
  padding: 0 34px 0 11px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  outline: none;
  color: var(--ink);
  background: white;
  cursor: pointer;
  font-size: 12px;
}

.framework-control select:focus {
  border-color: #aaa79d;
  box-shadow: 0 0 0 3px rgba(53, 52, 48, 0.04);
}

.framework-control small {
  display: block;
  margin: 7px 2px 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.45;
}

.materials-section {
  min-height: 0;
}

.material-list {
  display: grid;
  gap: 6px;
}

.materials-empty {
  display: flex;
  min-height: 64px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px dashed #d4d1c8;
  border-radius: 10px;
  color: #a5a198;
}

.materials-empty span {
  font-size: 17px;
}

.materials-empty small {
  font-size: 11px;
}

.material-card {
  display: grid;
  grid-template-columns: 29px minmax(0, 1fr) 22px;
  gap: 8px;
  align-items: center;
  padding: 9px 7px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.72);
}

.material-icon {
  display: grid;
  width: 29px;
  height: 32px;
  place-items: center;
  border-radius: 7px;
  color: var(--sage);
  background: var(--sage-soft);
  font: 600 12px/1 "Geist Mono", monospace;
}

.material-card.uploading .material-icon {
  color: var(--accent);
  background: var(--accent-soft);
  animation: material-pulse 1.2s ease-in-out infinite;
}

.material-card.error .material-icon {
  color: var(--danger);
  background: #f9e9e7;
}

@keyframes material-pulse {
  50% { opacity: 0.48; }
}

.material-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.material-copy strong {
  overflow: hidden;
  font-size: 11.5px;
  font-weight: 580;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.material-copy small,
.material-copy span {
  overflow: hidden;
  color: var(--muted);
  font-size: 9.5px;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.material-copy span {
  color: var(--sage);
}

.material-card.error .material-copy span {
  color: var(--danger);
}

.material-card > button {
  width: 22px;
  height: 22px;
  padding: 0;
  border: 0;
  border-radius: 6px;
  color: var(--faint);
  background: transparent;
  cursor: pointer;
}

.material-card > button:hover {
  color: var(--ink);
  background: var(--panel);
}

.sidebar-upload {
  display: flex;
  align-items: center;
  gap: 9px;
  width: 100%;
  margin-top: 7px;
  padding: 9px 8px;
  border: 0;
  border-radius: 9px;
  color: var(--muted);
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.sidebar-upload:hover {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.62);
}

.sidebar-upload > span:first-child {
  display: grid;
  width: 27px;
  height: 27px;
  place-items: center;
  border: 1px dashed var(--line-strong);
  border-radius: 8px;
}

.sidebar-upload > span:last-child {
  display: flex;
  flex-direction: column;
}

.sidebar-upload strong {
  font-size: 11.5px;
  font-weight: 560;
}

.sidebar-upload small {
  margin-top: 1px;
  color: var(--faint);
  font-size: 9.5px;
}

.privacy-card {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin-top: auto;
  padding: 11px 10px;
  border: 1px solid #dddbd3;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.5);
}

.privacy-dot {
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  margin-top: 4px;
  border-radius: 50%;
  background: #4f7764;
  box-shadow: 0 0 0 3px rgba(79, 119, 100, 0.1);
}

.privacy-card div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.privacy-card strong {
  font-size: 10.5px;
  font-weight: 580;
}

.privacy-card small {
  color: var(--muted);
  font-size: 9.5px;
  line-height: 1.35;
}

.workspace-main {
  position: relative;
  display: flex;
  min-width: 0;
  flex: 1;
  flex-direction: column;
  background:
    radial-gradient(circle at 72% 0%, rgba(228, 222, 207, 0.18), transparent 28%),
    var(--paper);
}

.workspace-header {
  position: relative;
  z-index: 8;
  display: flex;
  min-height: 68px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 27px;
  border-bottom: 1px solid rgba(229, 227, 220, 0.9);
  background: rgba(251, 251, 249, 0.9);
  backdrop-filter: blur(16px);
}

.header-left,
.header-actions {
  display: flex;
  align-items: center;
}

.header-left {
  gap: 11px;
}

.lp-header-logo {
  display: block;
  width: 106px;
  height: 29px;
  flex: 0 0 auto;
  background: var(--accent);
  -webkit-mask: url("/loro-piana-logo-brand.png") center / contain no-repeat;
  mask: url("/loro-piana-logo-brand.png") center / contain no-repeat;
}

.workspace-title {
  font-size: 14px;
  font-weight: 620;
  letter-spacing: -0.01em;
}

.workspace-title span {
  position: relative;
  margin-left: 9px;
  padding-left: 11px;
  color: var(--muted);
  font-weight: 440;
}

.workspace-title span::before {
  position: absolute;
  top: 50%;
  left: 0;
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: var(--faint);
  content: "";
}

.workspace-title i {
  font-style: normal;
}

.workspace-subtitle {
  margin-top: 2px;
  color: var(--faint);
  font: 9.5px/1.3 "Geist Mono", monospace;
  letter-spacing: 0.025em;
  text-transform: uppercase;
}

.header-actions {
  gap: 9px;
}

.materials-toggle {
  padding: 8px 11px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: white;
  font-size: 11.5px;
  cursor: pointer;
}

.materials-toggle:hover {
  border-color: var(--line-strong);
}

.model-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 9px;
  color: #4e4d48;
  background: rgba(255, 255, 255, 0.72);
  font: 10px/1 "Geist Mono", monospace;
}

.model-pill > span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4c8467;
  box-shadow: 0 0 0 3px rgba(76, 132, 103, 0.1);
}

.model-pill b {
  color: var(--faint);
  font-weight: 500;
}

.conversation-area {
  min-height: 0;
  flex: 1;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.conversation-column {
  width: min(840px, calc(100% - 48px));
  margin: 0 auto;
  padding: 64px 0 210px;
}

.welcome-card {
  animation: welcome-in 420ms ease-out both;
}

@keyframes welcome-in {
  from { opacity: 0; transform: translateY(10px); }
}

.welcome-eyebrow {
  margin-bottom: 17px;
  color: var(--accent);
  font: 600 10px/1.2 "Geist Mono", monospace;
  letter-spacing: 0.12em;
}

.program-identity {
  width: 100%;
  margin: 0;
  overflow: hidden;
  border: 1px solid #ded8ca;
  border-radius: 16px;
  background: #efe4cf;
  box-shadow: 0 16px 44px rgba(69, 54, 39, 0.09);
}

.program-identity img {
  display: block;
  width: 100%;
  height: clamp(250px, 30vw, 310px);
  object-fit: cover;
  object-position: center 49%;
}

.program-identity figcaption {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.welcome-card h1 {
  max-width: 670px;
  margin: 0;
  font-family: Georgia, "Noto Serif SC", serif;
  font-size: clamp(36px, 5vw, 62px);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.welcome-card > p {
  max-width: 660px;
  margin: 24px 0 0;
  color: #66645e;
  font-size: 14px;
  line-height: 1.75;
}

.welcome-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 29px;
}

html[data-app="idp-coach"] .welcome-actions button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border: 1px solid var(--ink);
  border-radius: 10px;
  color: white;
  background: var(--ink);
  font-size: 12px;
  font-weight: 550;
  cursor: pointer;
}

html[data-app="idp-coach"] .welcome-actions button:hover {
  background: #30302d;
}

html[data-app="idp-coach"] .welcome-actions button.secondary {
  border-color: var(--line-strong);
  color: var(--ink);
  background: white;
}

html[data-app="idp-coach"] .welcome-actions button.secondary:hover {
  border-color: #bdbab1;
  background: var(--panel);
}

.boundary-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 58px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.boundary-grid > div {
  display: grid;
  grid-template-columns: 24px 1fr;
  column-gap: 8px;
  padding: 8px 5px;
}

.boundary-grid span {
  grid-row: span 2;
  color: var(--faint);
  font: 10px/1.5 "Geist Mono", monospace;
}

.boundary-grid strong {
  font-size: 11.5px;
  font-weight: 580;
}

.boundary-grid small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 10px;
}

.message-list {
  display: grid;
  gap: 34px;
}

.message {
  display: grid;
  grid-template-columns: 35px minmax(0, 1fr);
  gap: 13px;
  animation: message-in 200ms ease-out both;
}

@keyframes message-in {
  from { opacity: 0; transform: translateY(4px); }
}

.message-avatar {
  display: grid;
  width: 35px;
  height: 35px;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  color: #5c5a54;
  background: white;
  font: 600 9px/1 "Geist Mono", monospace;
}

.message.user .message-avatar {
  border-color: var(--ink);
  color: white;
  background: var(--ink);
}

.message-body {
  min-width: 0;
  padding-top: 2px;
}

.message-author {
  margin-bottom: 7px;
  font-size: 11px;
  font-weight: 620;
}

.message-content {
  color: #393834;
  font-size: 13.5px;
  line-height: 1.75;
  overflow-wrap: anywhere;
}

.message-content p {
  margin: 0 0 9px;
}

.message-content p:last-child {
  margin-bottom: 0;
}

.message-content h3 {
  margin: 18px 0 7px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 650;
}

.message-content ul {
  margin: 7px 0 11px;
  padding-left: 19px;
}

.message-content li {
  margin: 4px 0;
}

.message.user .message-content {
  display: inline-block;
  padding: 10px 13px;
  border-radius: 3px 12px 12px 12px;
  background: #efeee9;
}

.message.pending .message-content {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
}

.feedback-choices {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.feedback-choices > span {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 11px;
}

.feedback-choices > div {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

html[data-app="idp-coach"] .feedback-choices button {
  min-height: 31px;
  padding: 0 11px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: white;
  cursor: pointer;
  font-size: 11px;
  transition: border-color 140ms ease, background 140ms ease;
}

html[data-app="idp-coach"] .feedback-choices button:hover {
  border-color: #aaa79d;
  background: var(--panel);
}

.thinking-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  animation: thinking 1s ease-in-out infinite;
}

@keyframes thinking {
  50% { opacity: 0.35; transform: scale(0.75); }
}

.composer-zone {
  position: absolute;
  z-index: 10;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 30px 28px 17px;
  background: linear-gradient(to bottom, rgba(251, 251, 249, 0), var(--paper) 28%, var(--paper));
}

.composer,
.composer-footer,
.upload-strip,
.notice {
  width: min(840px, 100%);
  margin-right: auto;
  margin-left: auto;
}

.composer {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) 37px;
  gap: 8px;
  align-items: end;
  padding: 9px 9px 9px 10px;
  border: 1px solid #d7d5cd;
  border-radius: 17px;
  background: white;
  box-shadow: 0 11px 40px rgba(29, 28, 24, 0.1), 0 1px 2px rgba(29, 28, 24, 0.05);
  transition: border-color 150ms ease, box-shadow 150ms ease;
}

.composer:focus-within {
  border-color: #b9b6ad;
  box-shadow: 0 14px 46px rgba(29, 28, 24, 0.12), 0 0 0 3px rgba(53, 52, 48, 0.035);
}

.attach-button,
html[data-app="idp-coach"] .send-button {
  display: grid;
  width: 36px;
  height: 36px;
  padding: 0;
  place-items: center;
  border: 0;
  border-radius: 10px;
  cursor: pointer;
}

.attach-button {
  color: #5f5e58;
  background: #f1f0ec;
  font-size: 19px;
}

.attach-button:hover {
  color: var(--ink);
  background: #e9e8e3;
}

html[data-app="idp-coach"] .send-button {
  color: white;
  background: var(--ink);
  font-size: 17px;
}

html[data-app="idp-coach"] .send-button:hover:not(:disabled) {
  background: #33322f;
}

html[data-app="idp-coach"] .send-button:disabled {
  opacity: 0.4;
  cursor: wait;
}

html[data-app="idp-coach"] .send-button.busy span {
  animation: send-wait 800ms ease-in-out infinite;
}

@keyframes send-wait {
  50% { opacity: 0.35; }
}

.composer textarea {
  width: 100%;
  min-height: 36px;
  max-height: 180px;
  padding: 8px 3px 6px;
  resize: none;
  overflow-y: auto;
  border: 0;
  outline: 0;
  color: var(--ink);
  background: transparent;
  font-size: 13px;
  line-height: 1.55;
}

.composer textarea::placeholder {
  color: #aaa79f;
}

.composer-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 8px 4px 0;
  color: var(--faint);
  font-size: 9.5px;
}

.consent-control {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 6px;
  color: #7c7972;
  cursor: pointer;
}

.consent-control input {
  width: 13px;
  height: 13px;
  margin: 0;
  accent-color: var(--accent);
}

.upload-strip {
  display: flex;
  gap: 6px;
  margin-bottom: 7px;
  overflow-x: auto;
  scrollbar-width: none;
}

.upload-strip::-webkit-scrollbar {
  display: none;
}

.strip-chip {
  flex: 0 0 auto;
  max-width: 220px;
  padding: 6px 9px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--sage);
  background: white;
  font-size: 9.5px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.strip-chip.uploading {
  color: var(--accent);
}

.strip-chip.error {
  color: var(--danger);
}

.notice {
  margin-top: 7px;
  padding: 8px 11px;
  border: 1px solid var(--line);
  border-radius: 9px;
  color: var(--muted);
  background: white;
  font-size: 10.5px;
}

.notice[data-type="warning"] {
  border-color: #e4cfaa;
  color: #7c5d2b;
  background: #fbf6eb;
}

.notice[data-type="error"] {
  border-color: #e6c5bf;
  color: var(--danger);
  background: #fbefed;
}

.drop-overlay {
  position: fixed;
  z-index: 50;
  inset: 18px;
  display: none;
  place-items: center;
  align-content: center;
  gap: 7px;
  border: 2px dashed rgba(255, 255, 255, 0.72);
  border-radius: 20px;
  color: white;
  background: rgba(25, 25, 23, 0.9);
  backdrop-filter: blur(10px);
  pointer-events: none;
}

.drop-overlay.visible {
  display: grid;
}

.drop-overlay strong {
  font-family: Georgia, serif;
  font-size: 25px;
  font-weight: 400;
}

.drop-overlay span {
  color: rgba(255, 255, 255, 0.65);
  font-size: 11px;
}

.sidebar-scrim {
  display: none;
}

@media (max-width: 980px) {
  .workspace-sidebar {
    flex-basis: 258px;
  }

  .conversation-column {
    width: min(760px, calc(100% - 40px));
  }
}

@media (max-width: 760px) {
  .workspace-sidebar {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    width: min(86vw, 310px);
    transform: translateX(-104%);
    box-shadow: var(--shadow);
    transition: transform 220ms ease;
  }

  .workspace-sidebar.open {
    transform: translateX(0);
  }

  .sidebar-close,
  .menu-button {
    display: grid;
  }

  .sidebar-scrim {
    position: fixed;
    z-index: 15;
    inset: 0;
    display: block;
    opacity: 0;
    background: rgba(20, 20, 18, 0.32);
    pointer-events: none;
    transition: opacity 200ms ease;
  }

  .sidebar-scrim.visible {
    opacity: 1;
    pointer-events: auto;
  }

  .workspace-header {
    min-height: 62px;
    padding: 0 15px;
  }

  .lp-header-logo {
    width: 88px;
    height: 24px;
  }

  .workspace-subtitle,
  .materials-toggle,
  .model-pill b {
    display: none;
  }

  .model-pill {
    padding: 7px 8px;
    font-size: 9px;
  }

  .conversation-column {
    width: calc(100% - 30px);
    padding-top: 42px;
    padding-bottom: 220px;
  }

  .welcome-card h1 {
    font-size: clamp(34px, 11vw, 48px);
  }

  .program-identity {
    border-radius: 13px;
  }

  .program-identity img {
    height: auto;
    aspect-ratio: 3886 / 2180;
    object-position: center;
  }

  .welcome-card > p {
    font-size: 13px;
  }

  .boundary-grid {
    grid-template-columns: 1fr;
    gap: 2px;
    margin-top: 38px;
  }

  .composer-zone {
    padding: 27px 12px 11px;
  }

  .composer-footer > span:last-child {
    display: none;
  }

  .consent-control {
    font-size: 9px;
  }
}

@media (max-width: 460px) {
  .workspace-header {
    gap: 12px;
  }

  .header-left {
    gap: 8px;
  }

  .lp-header-logo {
    width: 78px;
    height: 21px;
  }

  .workspace-title span {
    display: none;
  }

  .welcome-actions {
    display: grid;
  }

  .welcome-actions button {
    justify-content: center;
  }

  .message {
    grid-template-columns: 30px minmax(0, 1fr);
    gap: 10px;
  }

  .message-avatar {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    font-size: 8px;
  }

  .message-content {
    font-size: 13px;
  }
}

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

/* Dictation uses the existing composer palette. */
.voice-button { display: grid; place-items: center; flex-shrink: 0; min-width: 44px; min-height: 36px; padding: 0 8px; border: 0; border-radius: 10px; background: #f1f0ec; color: #5f5e58; cursor: pointer; font-size: 14px; }
.voice-button[aria-pressed="true"] { background: #fbe6e2; color: #9a3025; }
.voice-button:disabled { opacity: .5; cursor: wait; }
.voice-button:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.voice-status { max-width: 860px; margin: 8px auto 0; font-size: 14px; line-height: 1.5; color: #5f5e58; }
.composer textarea { min-width: 0; }
