:root {
  font-family:
    Inter,
    ui-sans-serif,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  --canvas: #fafaf7;
  --panel: #f2f3ee;
  --white: #fff;
  --ink: #25362d;
  --muted: #969c91;
  --green: #335d47;
  --line: #e7e9e2;
  --soft: #eff3e7;
  --danger: #964c43;
  color: var(--ink);
  background: var(--canvas);
  font-synthesis: none;
  line-height: 1.5;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
}
button,
a {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: wait;
  opacity: 0.45;
}
a {
  text-decoration: none;
  color: inherit;
}
a,
button,
input,
textarea,
select {
  outline-offset: 4px;
}
*:focus-visible {
  outline: 2px solid #a8bc96;
}
svg {
  vertical-align: middle;
  flex-shrink: 0;
}
::selection {
  background: #dfebd4;
}
.hidden {
  display: none !important;
}
.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;
}
.skip-link {
  position: fixed;
  left: 15px;
  top: -80px;
  background: var(--green);
  color: white;
  padding: 10px 16px;
  border-radius: 8px;
  z-index: 100;
}
.skip-link:focus {
  top: 15px;
}
.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--green);
  color: #eff4e6;
  font-family: Georgia, serif;
  font-size: 25px;
  font-weight: 700;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  padding-bottom: 4px;
  line-height: 1;
  flex-shrink: 0;
}
.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  font-size: 16px;
  font-weight: 650;
  letter-spacing: -0.7px;
}
.logo .domain {
  font-weight: 400;
  color: #8e9988;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 43px;
  padding: 11px 17px;
  font-size: 12px;
  font-weight: 550;
  line-height: 1.5;
  color: white;
  background: var(--green);
  border: 1px solid var(--green);
  border-radius: 8px;
  transition: background 0.15s;
}
.button:hover {
  background: #264b38;
}
.button.secondary {
  background: white;
  color: #6e7c64;
  border-color: #dde3d6;
}
.button.secondary:hover {
  background: #f5f7ef;
}
.button.small {
  min-height: 35px;
  padding: 8px 12px;
  font-size: 10px;
  border-radius: 7px;
}
.button.full {
  width: 100%;
}
.button.danger {
  background: var(--danger);
  border-color: var(--danger);
}
.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: 0;
  border-radius: 7px;
  width: 32px;
  height: 32px;
  color: #8b9781;
}
.icon-button:hover {
  background: #e9ede3;
}
.quiet-button {
  border: 0;
  background: none;
  padding: 4px 0;
  font-size: 11px;
  color: #6b8259;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.text-link {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.muted {
  color: var(--muted);
}
.initial-loader,
.page-loading {
  display: flex;
  min-height: 80dvh;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 15px;
  color: var(--muted);
  font-size: 12px;
}
.loading-dot {
  display: inline-block;
  width: 4px;
  height: 4px;
  background: #97ac83;
  border-radius: 50%;
  animation: pulse 1s infinite alternate;
  margin: 0 2px;
}
.loading-dot:nth-child(2) {
  animation-delay: 0.2s;
}
.loading-dot:nth-child(3) {
  animation-delay: 0.4s;
}
@keyframes pulse {
  to {
    opacity: 0.25;
    transform: translateY(-2px);
  }
}
.studio-shell {
  height: 100dvh;
  display: grid;
  grid-template-columns: 226px minmax(0, 1fr);
  overflow: hidden;
}
.studio-shell.sidebar-collapsed {
  grid-template-columns: 66px minmax(0, 1fr);
}
.studio-sidebar {
  display: flex;
  flex-direction: column;
  padding: 23px 15px 17px;
  background: var(--panel);
  border-right: 1px solid var(--line);
  min-height: 0;
  gap: 21px;
  position: relative;
  z-index: 3;
}
.sidebar-brand {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding: 0 4px;
}
.sidebar-brand .logo {
  font-size: 15px;
  letter-spacing: -0.6px;
}
.sidebar-brand .brand-mark {
  width: 27px;
  height: 27px;
  font-size: 24px;
  border-radius: 8px;
}
.sidebar-brand .icon-button {
  width: 25px;
  height: 27px;
}
.sidebar-new {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fbfcf9;
  border: 1px solid #dce2d3;
  border-radius: 8px;
  padding: 11px 12px;
  font-size: 11px;
  font-weight: 500;
  text-align: left;
  min-height: 41px;
  box-shadow: 0 1px 2px #21371002;
}
.sidebar-new svg {
  color: #899b74;
}
.sidebar-new:hover {
  border-color: #bdcfa7;
  background: #fff;
}
.sidebar-section-label {
  font-size: 9px;
  color: #a1aa96;
  padding: 1px 11px;
  margin-bottom: -10px;
}
.project-list {
  display: flex;
  flex-direction: column;
  gap: 3px;
  overflow-y: auto;
  min-height: 0;
  flex: 1;
}
.project-button {
  border: 0;
  background: transparent;
  border-radius: 7px;
  padding: 11px 10px;
  font-size: 11px;
  color: #819071;
  display: flex;
  align-items: center;
  gap: 8px;
  text-align: left;
  min-width: 0;
}
.project-button:hover {
  background: #e8eee0;
}
.project-button.selected {
  background: #e3eada;
  color: #4f6940;
}
.project-button span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.sidebar-empty {
  color: #a8b19e;
  font-size: 10px;
  line-height: 1.9;
  padding: 8px 11px;
  max-width: 185px;
  margin: 0;
}
.sidebar-bottom {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.sidebar-quota {
  background: #f8faf4;
  border: 1px solid #e0e7d7;
  border-radius: 9px;
  padding: 12px;
}
.usage-label {
  display: flex;
  justify-content: space-between;
  font-size: 9px;
  gap: 6px;
  color: #98a38a;
}
.usage-track {
  height: 3px;
  background: #e5ecd9;
  border-radius: 4px;
  margin-top: 9px;
  overflow: hidden;
}
.usage-track span {
  height: 100%;
  background: #9ab681;
  border-radius: 4px;
  display: block;
}
.sidebar-profile {
  display: flex;
  align-items: center;
  gap: 8px;
  border-top: 1px solid #e2e7d9;
  padding: 14px 5px 0;
  font-size: 11px;
}
.sidebar-profile > span {
  flex: 1;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #e0e8d4;
  color: #7f9766;
  display: grid;
  place-items: center;
  font-size: 10px;
  font-weight: 550;
  flex-shrink: 0;
}
.sidebar-auth {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 13px 8px 0;
  border-top: 1px solid #e2e7d9;
  font-size: 11px;
  color: #839374;
}
.sidebar-auth svg {
  color: #8c9e7a;
}
.sidebar-legal {
  display: flex;
  gap: 13px;
  padding: 0 6px;
  font-size: 9px;
  color: #a6ae9d;
}
.sidebar-legal a:hover {
  color: #697f56;
}
.sidebar-collapsed .studio-sidebar {
  padding-left: 13px;
  padding-right: 13px;
}
.sidebar-collapsed .sidebar-brand {
  flex-direction: column;
  gap: 13px;
  padding: 0;
}
.sidebar-collapsed .sidebar-brand .logo > span:last-child,
.sidebar-collapsed .sidebar-new > span,
.sidebar-collapsed .sidebar-section-label,
.sidebar-collapsed .project-list,
.sidebar-collapsed .sidebar-bottom,
.sidebar-collapsed .sidebar-legal {
  display: none;
}
.sidebar-collapsed .sidebar-new {
  padding: 10px;
  justify-content: center;
  width: 40px;
}
.studio-main {
  display: flex;
  flex-direction: column;
  min-height: 0;
  min-width: 0;
  position: relative;
  background: var(--canvas);
}
.studio-topbar {
  min-height: 75px;
  height: 75px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  gap: 20px;
  flex-shrink: 0;
}
.studio-breadcrumb {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
  color: #a3ac98;
  font-size: 11px;
}
.studio-breadcrumb > span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.studio-breadcrumb > svg {
  color: #acb99d;
}
.studio-topbar-right {
  display: flex;
  gap: 16px;
  align-items: center;
}
.language-control {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #98a48a;
}
.language-control svg {
  width: 13px;
  height: 13px;
}
.language-control select {
  font-size: 10px;
  color: #8c9c7d;
  border: 0;
  background: transparent;
  padding: 5px 14px 5px 0;
  max-width: 135px;
  cursor: pointer;
}
.topbar-login {
  font-size: 11px;
  color: #6e825d;
}
.mobile-menu-button {
  display: none;
}
.welcome-panel {
  flex: 1;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 25px 44px 90px;
  overflow: auto;
}
.welcome-inner {
  width: 100%;
  max-width: 740px;
  margin: auto;
  text-align: center;
  padding: 20px 0;
}
.welcome-emblem {
  height: 49px;
  width: 49px;
  border-radius: 15px;
  background: #edf2e5;
  border: 1px solid #e4ebdb;
  display: grid;
  place-items: center;
  color: #8fa979;
  margin: 0 auto 25px;
  box-shadow: 0 2px 0 #fff inset;
}
.welcome-inner h1 {
  font-size: 44px;
  line-height: 1.15;
  letter-spacing: -1.9px;
  font-weight: 450;
  margin: 0 0 13px;
  color: #526a45;
}
.welcome-description {
  font-size: 13px;
  line-height: 1.8;
  color: #a0aa94;
  margin: 0 0 30px;
}
.main-composer {
  background: #fff;
  border: 1px solid #dce4d1;
  border-radius: 17px;
  box-shadow:
    0 7px 24px #33461805,
    0 2px 3px #33461802;
  padding: 21px 22px 14px;
  text-align: left;
  transition:
    box-shadow 0.15s,
    border-color 0.15s;
}
.main-composer:focus-within {
  border-color: #afc49b;
  box-shadow:
    0 7px 27px #33461808,
    0 0 0 2px #cadcba12;
}
.main-composer textarea {
  display: block;
  width: 100%;
  border: 0;
  outline: none !important;
  background: transparent;
  resize: none;
  min-height: 89px;
  max-height: 240px;
  padding: 0;
  font-size: 14px;
  line-height: 1.75;
  color: #536e41;
}
.main-composer textarea::placeholder {
  color: #b1b9a7;
}
.composer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  margin-top: 10px;
}
.composer-kind {
  display: flex;
  gap: 6px;
  align-items: center;
  font-size: 9px;
  color: #a3b092;
  background: #f5f8ef;
  border: 1px solid #edf2e5;
  border-radius: 5px;
  padding: 5px 7px;
}
.composer-kind svg {
  width: 11px;
  height: 11px;
  color: #a0b58a;
}
.send-button {
  border: 0;
  border-radius: 9px;
  background: #6d8d54;
  color: #f5f9ed;
  width: 35px;
  height: 35px;
  display: grid;
  place-items: center;
  box-shadow: 0 2px 3px #4a692910;
}
.send-button:hover {
  background: #5d8044;
}
.welcome-suggestions {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 19px;
  flex-wrap: wrap;
}
.prompt-chip {
  display: flex;
  align-items: center;
  gap: 7px;
  border: 1px solid #e4e9db;
  background: #fdfefa;
  border-radius: 7px;
  padding: 9px 12px;
  font-size: 10px;
  color: #9caa8a;
  text-align: left;
}
.prompt-chip:hover {
  border-color: #c9d8b8;
  color: #788f62;
  background: #f7faef;
}
.prompt-chip svg {
  height: 13px;
  width: 13px;
  color: #a8b896;
}
.composer-caption {
  font-size: 9px;
  color: #b3bca8;
  line-height: 1.8;
  margin: 17px 0 0;
}
.studio-bottomnote {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 21px;
  text-align: center;
  color: #b6beac;
  font-size: 8px;
  padding: 0 20px;
  pointer-events: none;
}
.studio-bottomnote a {
  pointer-events: auto;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.workspace-toolbar-actions {
  display: flex;
  align-items: center;
  gap: 9px;
}
.status {
  font-size: 9px;
  border-radius: 20px;
  padding: 4px 8px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #eff3e9;
  color: #92a47f;
  white-space: nowrap;
}
.status.active {
  background: #ecf3e0;
  color: #80985f;
}
.status.pending {
  background: #f6f1dd;
  color: #aa9963;
}
.status .dot {
  width: 4px;
  height: 4px;
  background: currentColor;
  border-radius: 50%;
}
.workspace-body {
  display: grid;
  grid-template-columns: 370px minmax(0, 1fr);
  flex: 1;
  min-height: 0;
  min-width: 0;
  border-top: 1px solid var(--line);
}
.chat-panel {
  display: flex;
  flex-direction: column;
  min-height: 0;
  min-width: 0;
  border-right: 1px solid var(--line);
  background: #fcfdf9;
}
.chat-topline {
  padding: 17px 21px 9px;
  font-size: 9px;
  color: #a3af94;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.messages {
  flex: 1;
  min-height: 0;
  overflow: auto;
  padding: 18px 21px 20px;
}
.message {
  margin-bottom: 24px;
  overflow-wrap: anywhere;
}
.message-author {
  font-size: 9px;
  font-weight: 550;
  color: #80996b;
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 9px;
}
.message-author .brand-mark {
  width: 18px;
  height: 18px;
  font-size: 16px;
  border-radius: 5px;
  padding-bottom: 3px;
}
.message-author .avatar {
  width: 19px;
  height: 19px;
  font-size: 8px;
}
.message-content {
  font-size: 11px;
  line-height: 1.95;
  white-space: pre-wrap;
  color: #849375;
}
.message.user .message-content {
  background: #edf3e4;
  border-radius: 9px 9px 3px 9px;
  padding: 13px;
  color: #769063;
}
.message-time {
  font-size: 8px;
  color: #b1bca5;
  margin-top: 7px;
}
.chat-empty {
  padding: 30px 7px;
}
.chat-empty > .brand-mark {
  width: 31px;
  height: 31px;
  font-size: 26px;
  border-radius: 9px;
  margin-bottom: 20px;
}
.chat-empty h2 {
  font-size: 22px;
  line-height: 1.25;
  letter-spacing: -0.7px;
  font-weight: 450;
  color: #65804f;
  margin: 0 0 13px;
}
.chat-empty > p {
  font-size: 11px;
  line-height: 1.9;
  color: #a4b094;
  margin: 0 0 20px;
}
.chat-empty .prompt-chip {
  width: 100%;
  margin-top: 9px;
  padding: 12px;
  font-size: 10px;
  line-height: 1.6;
}
.job-indicator {
  padding: 13px;
  border-radius: 9px;
  background: #eef4e4;
  font-size: 10px;
  color: #849d6a;
  line-height: 1.8;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
}
.job-indicator.error {
  background: #fbede7;
  color: #a66c5b;
}
.composer {
  padding: 14px 15px 12px;
  background: #fff;
  border-top: 1px solid var(--line);
}
.composer .main-composer {
  padding: 12px 13px 10px;
  border-radius: 11px;
  box-shadow: none;
}
.composer .main-composer textarea {
  min-height: 69px;
  max-height: 160px;
  font-size: 11px;
  line-height: 1.9;
}
.composer .composer-bottom {
  margin-top: 4px;
}
.composer-hint {
  font-size: 8px;
  color: #b2bea6;
}
.composer .send-button {
  height: 29px;
  width: 29px;
  border-radius: 7px;
}
.composer .send-button svg {
  width: 15px;
  height: 15px;
}
.composer-note {
  font-size: 7px;
  color: #b2bfa4;
  text-align: center;
  line-height: 1.7;
  margin: 9px 2px 0;
}
.preview-panel {
  display: flex;
  flex-direction: column;
  min-height: 0;
  min-width: 0;
  background: #eff2e9;
}
.preview-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 0 16px;
  min-height: 49px;
  border-bottom: 1px solid #e3e9d8;
  background: #f8faf3;
}
.preview-toolbar-left {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  color: #93a57f;
}
.preview-toolbar select {
  font-size: 9px;
  max-width: 145px;
  border: 1px solid #e0e7d3;
  background: white;
  padding: 5px 6px;
  border-radius: 5px;
  color: #8a9e75;
}
.device-toggle {
  display: flex;
  gap: 3px;
  background: #ecf1e3;
  padding: 3px;
  border-radius: 6px;
}
.device-toggle button {
  width: 26px;
  height: 23px;
  border: 0;
  background: transparent;
  display: grid;
  place-items: center;
  border-radius: 4px;
  color: #a3b190;
}
.device-toggle button.selected {
  color: #79945e;
  background: white;
  box-shadow: 0 1px 3px #71815d10;
}
.preview-area {
  flex: 1;
  min-height: 0;
  display: flex;
  align-items: stretch;
  justify-content: center;
  padding: 18px;
  overflow: hidden;
}
.preview-frame {
  height: 100%;
  width: 100%;
  background: white;
  border: 1px solid #dce5ce;
  border-radius: 10px;
  box-shadow: 0 10px 30px #42512808;
  min-width: 0;
}
.preview-frame.phone {
  max-width: 375px;
}
.preview-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  padding: 25px;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(#d5deca 1px, transparent 1px);
  background-size: 22px 22px;
  border: 1px dashed #d8e2cd;
  border-radius: 12px;
}
.preview-empty-icon {
  width: 57px;
  height: 57px;
  border: 1px solid #d5e1c6;
  background: #f8fbf1;
  border-radius: 17px;
  display: grid;
  place-items: center;
  color: #b0c693;
  margin-bottom: 20px;
  box-shadow: 0 8px 17px #5d79400b;
}
.preview-empty h2 {
  font-size: 19px;
  font-weight: 450;
  letter-spacing: -0.5px;
  color: #91a777;
  margin: 0 0 8px;
}
.preview-empty p {
  font-size: 10px;
  line-height: 1.9;
  color: #a3b68c;
  max-width: 245px;
  margin: 0;
}
.preview-bottom {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 8px;
  color: #a4b591;
  padding: 10px 17px;
  background: #f8faf3;
}
.workspace-mobile-tabs {
  display: none;
}
.content-scroll {
  flex: 1;
  min-height: 0;
  overflow: auto;
  padding: 24px 38px 45px;
}
.auth-page {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 33px;
}
.auth-card {
  width: 100%;
  max-width: 390px;
  padding-bottom: 45px;
}
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 10px;
  color: #9aa98a;
  margin-bottom: 25px;
}
.auth-card h1,
.auth-card h2 {
  font-size: 30px;
  font-weight: 450;
  letter-spacing: -1px;
  line-height: 1.2;
  color: #607b4f;
  margin: 0 0 12px;
}
.auth-intro {
  font-size: 12px;
  line-height: 1.9;
  color: #a2af94;
  margin: 0 0 27px;
}
.field {
  display: block;
  margin-bottom: 17px;
}
.field > span {
  display: block;
  font-size: 10px;
  font-weight: 550;
  color: #879c71;
  margin-bottom: 7px;
}
.field input,
.field textarea,
.field select {
  width: 100%;
  border: 1px solid #dfe7d4;
  border-radius: 7px;
  min-height: 43px;
  padding: 11px 12px;
  background: white;
  font-size: 12px;
  color: #66804f;
}
.field input::placeholder {
  color: #b5c0a8;
}
.field input:focus {
  outline: 2px solid #d5e6c42b;
  outline-offset: 1px;
  border-color: #afc998;
}
.field input.code {
  font-size: 21px;
  letter-spacing: 8px;
  text-align: center;
  padding-left: 20px;
}
.field small {
  font-size: 9px;
  color: #adbba0;
  margin-top: 6px;
  display: block;
  line-height: 1.8;
}
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 13px;
}
.check-label {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 9px;
  color: #a6b699;
  line-height: 1.9;
  margin: 5px 0 22px;
}
.check-label input {
  accent-color: #779659;
  flex-shrink: 0;
  width: 13px;
  height: 13px;
  margin: 4px 0 0;
}
.check-label a {
  text-decoration: underline;
  text-underline-offset: 2px;
  color: #8ea777;
}
.form-link {
  font-size: 10px;
  text-decoration: underline;
  text-underline-offset: 3px;
  color: #94a781;
  display: inline-flex;
  gap: 6px;
  align-items: center;
  margin: -2px 0 18px;
}
.auth-bottom {
  font-size: 10px;
  text-align: center;
  line-height: 1.9;
  color: #aabb9a;
  margin: 20px 0 0;
}
.auth-bottom a,
.auth-bottom button {
  color: #839f69;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.auth-bottom button {
  border: 0;
  background: none;
  font-size: inherit;
  padding: 0;
  cursor: pointer;
}
.auth-fineprint {
  font-size: 8px;
  color: #b1bea3;
  line-height: 1.9;
  text-align: center;
  margin-top: 14px;
}
.form-error {
  font-size: 10px;
  line-height: 1.8;
  color: #a16d59;
  background: #fbede6;
  border-radius: 7px;
  padding: 12px;
  margin: 0 0 17px;
}
.account-wrap {
  max-width: 960px;
  margin: 0 auto;
}
.page-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 27px;
}
.page-title-row h1 {
  font-size: 29px;
  font-weight: 450;
  letter-spacing: -1px;
  color: #63814d;
  margin: 0 0 8px;
}
.page-title-row p {
  font-size: 11px;
  color: #a6b799;
  margin: 0;
}
.account-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.85fr;
  gap: 21px;
  align-items: start;
}
.panel {
  padding: 25px;
  border-radius: 12px;
  border: 1px solid #e0e8d5;
  background: #fefefa;
  min-width: 0;
}
.panel + .panel {
  margin-top: 21px;
}
.panel h2 {
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.3px;
  color: #76935d;
  margin: 0 0 8px;
}
.panel > p {
  font-size: 10px;
  line-height: 1.9;
  color: #a4b991;
  margin: 0 0 19px;
}
.account-price {
  font-size: 30px;
  font-weight: 450;
  letter-spacing: -1px;
  color: #829e68;
  margin: 18px 0 5px;
}
.account-price small {
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0;
  color: #b0c39c;
}
.notice {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding: 14px;
  border: 1px solid #e5ecd9;
  background: #f4f8ea;
  border-radius: 8px;
  font-size: 10px;
  line-height: 1.9;
  color: #96ad7c;
  margin: 18px 0;
}
.notice.warning {
  background: #f9f5e7;
  border-color: #f0e9d1;
  color: #b5a677;
}
.notice svg {
  margin-top: 3px;
}
.notice strong {
  font-weight: 550;
}
.account-details {
  margin: 19px 0 5px;
}
.account-details dt {
  font-size: 9px;
  color: #acbd9a;
  margin-bottom: 3px;
}
.account-details dd {
  font-size: 11px;
  margin: 0 0 15px;
  color: #829f67;
  overflow-wrap: anywhere;
}
.account-cancel {
  border-top: 1px solid #e5edd8;
  padding-top: 16px;
  margin-top: 22px;
}
.account-cancel p {
  font-size: 9px;
  line-height: 1.9;
  color: #afc29b;
  margin: 10px 0 0;
}
.invoice-list {
  list-style: none;
  padding: 0;
  margin: 15px 0 0;
}
.invoice-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid #e8f0dc;
  padding: 13px 0;
}
.invoice-list li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}
.invoice-list strong {
  display: block;
  font-size: 10px;
  font-weight: 550;
  color: #8ba572;
}
.invoice-list small {
  font-size: 8px;
  color: #afc79a;
}
.invoice-list a {
  font-size: 9px;
  color: #95b27a;
  display: flex;
  align-items: center;
  gap: 5px;
}
.empty-invoices {
  font-size: 10px;
  line-height: 1.9;
  color: #adc799;
  margin-top: 14px;
}
.legal-wrap {
  max-width: 730px;
  margin: 0 auto;
}
.legal-wrap h1 {
  font-size: 30px;
  font-weight: 450;
  letter-spacing: -1px;
  color: #6d8c55;
  margin: 0 0 19px;
}
.legal-wrap h2 {
  font-size: 17px;
  font-weight: 500;
  color: #83a36a;
  margin: 28px 0 11px;
}
.legal-wrap p,
.legal-wrap li {
  font-size: 12px;
  line-height: 1.95;
  color: #9bb783;
}
.legal-wrap a {
  color: #7e9e64;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.legal-company {
  padding: 18px;
  border: 1px solid #dfebd2;
  border-radius: 10px;
  margin: 23px 0;
}
.legal-company p {
  font-size: 10px;
  margin: 0;
}
.empty-page {
  text-align: center;
  padding: 55px 20px;
  color: #a9bd96;
}
.empty-page h1 {
  font-size: 27px;
  font-weight: 450;
  letter-spacing: -0.8px;
  color: #809e67;
}
.empty-page p {
  font-size: 12px;
  line-height: 1.8;
}
.empty-page .button {
  margin-top: 15px;
}
dialog {
  width: min(435px, calc(100% - 30px));
  border: 1px solid #d4dec7;
  border-radius: 17px;
  background: #fdfdf9;
  color: var(--ink);
  padding: 29px;
  box-shadow: 0 20px 100px #17281122;
  max-height: calc(100dvh - 36px);
  overflow: auto;
}
dialog::backdrop {
  background: #24312633;
  backdrop-filter: blur(5px);
}
.dialog-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 12px;
}
.dialog-top h2 {
  font-size: 24px;
  letter-spacing: -0.8px;
  font-weight: 450;
  line-height: 1.2;
  color: #607a4e;
  margin: 0;
}
.dialog-top > .icon-button {
  margin-top: -4px;
  margin-right: -7px;
}
.dialog-intro {
  font-size: 11px;
  line-height: 1.9;
  color: #a0b28f;
  margin: 0 0 22px;
}
.dialog-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 21px;
}
.dialog-actions .button {
  font-size: 10px;
  min-height: 39px;
  padding: 10px 13px;
}
.gate-emblem {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: #eff4e7;
  border: 1px solid #e1ebd5;
  display: grid;
  place-items: center;
  color: #93ad79;
  margin-bottom: 20px;
}
.auth-dialog .auth-card {
  padding: 0;
  max-width: none;
}
.auth-dialog .auth-card h1 {
  display: none;
}
.auth-dialog .auth-intro {
  font-size: 11px;
  margin-bottom: 22px;
}
.auth-dialog .auth-fineprint {
  margin-bottom: 0;
}
.auth-dialog .auth-bottom {
  margin-top: 16px;
}
#toasts {
  position: fixed;
  z-index: 100;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  width: max-content;
  max-width: calc(100% - 32px);
  pointer-events: none;
}
.toast {
  background: #33563d;
  color: #e6efdc;
  border: 1px solid #789569;
  border-radius: 10px;
  padding: 13px 18px;
  font-size: 11px;
  line-height: 1.8;
  box-shadow: 0 5px 25px #23361918;
}
.toast.error {
  background: #966556;
  border-color: #bc9585;
  color: #fbede6;
}
.sidebar-shade {
  display: none;
}
@media (min-width: 1550px) {
  .welcome-panel {
    padding-bottom: 110px;
  }
  .welcome-inner {
    max-width: 800px;
  }
  .welcome-inner h1 {
    font-size: 48px;
  }
  .main-composer {
    padding: 24px 25px 16px;
  }
  .main-composer textarea {
    min-height: 101px;
  }
  .workspace-body {
    grid-template-columns: 420px minmax(0, 1fr);
  }
}
@media (max-width: 1150px) {
  .studio-shell {
    grid-template-columns: 207px minmax(0, 1fr);
  }
  .studio-sidebar {
    padding: 22px 12px 16px;
  }
  .sidebar-brand .logo {
    font-size: 13px;
  }
  .sidebar-brand .domain {
    display: none;
  }
  .studio-topbar {
    padding: 0 25px;
  }
  .welcome-panel {
    padding-left: 34px;
    padding-right: 34px;
  }
  .welcome-inner h1 {
    font-size: 39px;
    letter-spacing: -1.6px;
  }
  .workspace-body {
    grid-template-columns: 320px minmax(0, 1fr);
  }
  .preview-area {
    padding: 13px;
  }
  .workspace-toolbar-actions .button > span {
    display: none;
  }
  .content-scroll {
    padding: 21px 28px 40px;
  }
  .account-grid {
    gap: 18px;
    grid-template-columns: 1.2fr 0.85fr;
  }
  .panel {
    padding: 21px;
  }
  .account-price {
    font-size: 28px;
  }
  .language-control select {
    max-width: 105px;
  }
  .preview-bottom span:last-child {
    display: none;
  }
}
@media (max-width: 900px) {
  .studio-shell {
    grid-template-columns: 188px minmax(0, 1fr);
  }
  .studio-sidebar {
    padding-left: 10px;
    padding-right: 10px;
  }
  .sidebar-brand .logo {
    font-size: 12px;
    gap: 6px;
  }
  .sidebar-brand .brand-mark {
    width: 24px;
    height: 24px;
    font-size: 21px;
    border-radius: 7px;
  }
  .sidebar-brand .icon-button {
    width: 22px;
  }
  .welcome-panel {
    padding: 25px 27px 80px;
  }
  .welcome-inner h1 {
    font-size: 35px;
    letter-spacing: -1.3px;
  }
  .welcome-description {
    font-size: 12px;
  }
  .welcome-suggestions {
    gap: 7px;
  }
  .prompt-chip {
    font-size: 9px;
    padding: 8px 10px;
  }
  .main-composer {
    padding: 20px 19px 13px;
  }
  .main-composer textarea {
    font-size: 13px;
  }
  .studio-topbar {
    padding: 0 21px;
    gap: 12px;
  }
  .studio-topbar-right {
    gap: 12px;
  }
  .studio-breadcrumb {
    font-size: 10px;
  }
  .workspace-body {
    grid-template-columns: 285px minmax(0, 1fr);
  }
  .messages {
    padding: 15px 17px;
  }
  .chat-topline {
    padding-left: 17px;
    padding-right: 17px;
  }
  .preview-toolbar {
    padding: 0 12px;
  }
  .preview-toolbar-left > span {
    display: none;
  }
  .device-toggle {
    display: none;
  }
  .preview-toolbar select {
    max-width: 115px;
    font-size: 8px;
  }
  .account-grid {
    grid-template-columns: 1fr;
  }
  .account-grid > div:last-child {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
  .account-grid > div:last-child .panel + .panel {
    margin-top: 0;
  }
  .content-scroll {
    padding: 23px 26px 40px;
  }
  .page-title-row h1 {
    font-size: 27px;
  }
  .page-title-row p {
    font-size: 10px;
  }
  .page-title-row .button {
    font-size: 9px;
  }
  .account-grid .panel {
    padding: 24px;
  }
  .legal-wrap p,
  .legal-wrap li {
    font-size: 11px;
  }
}
@media (max-width: 700px) {
  .studio-shell,
  .studio-shell.sidebar-collapsed {
    grid-template-columns: 1fr;
  }
  .studio-sidebar,
  .sidebar-collapsed .studio-sidebar {
    position: fixed;
    inset: 0 auto 0 -260px;
    width: 230px;
    padding: 22px 14px 17px;
    transition: left 0.2s;
    box-shadow: 10px 0 30px #24361910;
    z-index: 40;
  }
  .studio-sidebar.open {
    left: 0;
  }
  .sidebar-brand .logo {
    font-size: 16px;
    gap: 8px;
  }
  .sidebar-brand .domain {
    display: inline;
  }
  .sidebar-brand .brand-mark {
    width: 28px;
    height: 28px;
    font-size: 25px;
    border-radius: 8px;
  }
  .sidebar-brand .icon-button {
    width: 27px;
  }
  .sidebar-collapsed .sidebar-brand {
    flex-direction: row;
    gap: 8px;
    padding: 0 4px;
  }
  .sidebar-collapsed .sidebar-brand .logo > span:last-child {
    display: inline;
  }
  .sidebar-collapsed .sidebar-new > span {
    display: block;
  }
  .sidebar-collapsed .sidebar-section-label {
    display: block;
  }
  .sidebar-collapsed .project-list {
    display: flex;
  }
  .sidebar-collapsed .sidebar-bottom {
    display: flex;
  }
  .sidebar-collapsed .sidebar-legal {
    display: flex;
  }
  .sidebar-collapsed .sidebar-new {
    width: 100%;
    padding: 11px 12px;
    justify-content: flex-start;
  }
  .sidebar-shade {
    display: block;
    position: fixed;
    inset: 0;
    background: #24312633;
    z-index: 35;
    backdrop-filter: blur(2px);
  }
  .studio-topbar {
    height: 66px;
    min-height: 66px;
    padding: 0 19px;
    gap: 10px;
  }
  .studio-breadcrumb {
    gap: 8px;
    font-size: 10px;
  }
  .studio-breadcrumb > svg {
    display: none;
  }
  .mobile-menu-button {
    display: inline-flex;
    width: 25px;
    height: 29px;
  }
  .studio-topbar-right {
    gap: 13px;
  }
  .language-control {
    gap: 4px;
  }
  .language-control select {
    font-size: 9px;
    max-width: 86px;
    padding-right: 7px;
  }
  .language-control svg {
    width: 11px;
    height: 11px;
  }
  .topbar-login {
    font-size: 10px;
  }
  .welcome-panel {
    padding: 18px 24px 95px;
    align-items: center;
  }
  .welcome-inner {
    padding: 0;
    max-width: 520px;
  }
  .welcome-emblem {
    width: 44px;
    height: 44px;
    border-radius: 13px;
    margin-bottom: 23px;
  }
  .welcome-emblem svg {
    width: 24px;
    height: 24px;
  }
  .welcome-inner h1 {
    font-size: 35px;
    letter-spacing: -1.5px;
    line-height: 1.2;
    margin-bottom: 13px;
  }
  .welcome-description {
    font-size: 12px;
    line-height: 1.9;
    margin-bottom: 27px;
    max-width: 305px;
    margin-left: auto;
    margin-right: auto;
  }
  .main-composer {
    padding: 18px 17px 12px;
    border-radius: 14px;
  }
  .main-composer textarea {
    font-size: 16px;
    line-height: 1.7;
    min-height: 94px;
  }
  .composer-bottom {
    margin-top: 8px;
  }
  .composer-kind {
    font-size: 8px;
    padding: 5px 6px;
    gap: 5px;
  }
  .send-button {
    width: 33px;
    height: 33px;
    border-radius: 9px;
  }
  .welcome-suggestions {
    gap: 8px;
    margin-top: 17px;
  }
  .prompt-chip {
    font-size: 9px;
    padding: 9px 10px;
    gap: 6px;
    border-radius: 6px;
  }
  .prompt-chip svg {
    height: 12px;
    width: 12px;
  }
  .composer-caption {
    font-size: 8px;
    line-height: 1.85;
    margin-top: 18px;
  }
  .studio-bottomnote {
    font-size: 7px;
    line-height: 1.8;
    bottom: 20px;
    padding: 0 25px;
  }
  .workspace-toolbar-actions {
    gap: 6px;
  }
  .workspace-toolbar-actions .button.small {
    min-height: 29px;
    padding: 6px 8px;
  }
  .workspace-toolbar-actions .button.small svg {
    width: 13px;
    height: 13px;
  }
  .workspace-toolbar-actions .icon-button {
    width: 28px;
    height: 29px;
  }
  .workspace-toolbar-actions .status {
    font-size: 7px;
    padding: 4px 6px;
  }
  .workspace-toolbar-actions .status .dot {
    width: 3px;
    height: 3px;
  }
  .workspace-mobile-tabs {
    display: flex;
    flex-shrink: 0;
    border-bottom: 1px solid #e1e9d7;
    background: #fdfefa;
  }
  .workspace-mobile-tabs button {
    flex: 1;
    border: 0;
    border-bottom: 2px solid transparent;
    background: transparent;
    color: #a2b392;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 11px;
    font-size: 10px;
  }
  .workspace-mobile-tabs button.selected {
    border-bottom-color: #acc38f;
    color: #77955b;
    background: #f7faef;
  }
  .workspace-body {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-top: 0;
  }
  .chat-panel,
  .preview-panel {
    flex: 1;
    min-height: 0;
  }
  .chat-panel {
    border-right: 0;
  }
  .workspace-body[data-mobile-tab="chat"] .preview-panel {
    display: none;
  }
  .workspace-body[data-mobile-tab="preview"] .chat-panel {
    display: none;
  }
  .messages {
    padding: 16px 23px 20px;
  }
  .chat-topline {
    padding: 15px 23px 7px;
    font-size: 9px;
  }
  .message-content {
    font-size: 12px;
  }
  .message-author {
    font-size: 10px;
  }
  .message-time {
    font-size: 8px;
  }
  .chat-empty {
    padding: 29px 4px;
  }
  .chat-empty h2 {
    font-size: 24px;
    line-height: 1.3;
  }
  .chat-empty > p {
    font-size: 12px;
    max-width: 350px;
  }
  .chat-empty .prompt-chip {
    font-size: 11px;
    padding: 13px;
  }
  .composer {
    padding: 12px 16px 11px;
  }
  .composer .main-composer {
    padding: 12px 13px 10px;
    border-radius: 11px;
  }
  .composer .main-composer textarea {
    font-size: 16px;
    min-height: 68px;
  }
  .composer-hint {
    font-size: 8px;
  }
  .composer .send-button {
    height: 32px;
    width: 32px;
  }
  .composer-note {
    font-size: 8px;
    margin-top: 8px;
  }
  .preview-toolbar {
    min-height: 47px;
    padding: 0 16px;
  }
  .preview-toolbar-left > span {
    display: inline;
    font-size: 10px;
  }
  .preview-toolbar select {
    font-size: 9px;
    max-width: 150px;
  }
  .device-toggle {
    display: flex;
  }
  .preview-area {
    padding: 12px;
  }
  .preview-bottom {
    padding: 9px 15px;
    font-size: 8px;
  }
  .preview-empty h2 {
    font-size: 21px;
  }
  .preview-empty p {
    font-size: 11px;
    max-width: 260px;
  }
  .content-scroll {
    padding: 25px 23px 45px;
  }
  .auth-page {
    padding-top: 23px;
  }
  .auth-card {
    max-width: 410px;
  }
  .auth-card h1,
  .auth-card h2 {
    font-size: 29px;
  }
  .auth-intro {
    font-size: 12px;
  }
  .field > span {
    font-size: 11px;
  }
  .field input,
  .field textarea,
  .field select {
    font-size: 16px;
    min-height: 46px;
  }
  .field small {
    font-size: 9px;
  }
  .check-label {
    font-size: 10px;
    line-height: 1.85;
  }
  .auth-bottom {
    font-size: 11px;
  }
  .auth-fineprint {
    font-size: 9px;
  }
  .auth-card .button.full {
    min-height: 46px;
    font-size: 12px;
  }
  .account-grid {
    gap: 19px;
  }
  .account-grid > div:last-child {
    display: block;
  }
  .account-grid > div:last-child .panel + .panel {
    margin-top: 19px;
  }
  .account-grid .panel {
    padding: 23px;
  }
  .page-title-row {
    gap: 13px;
  }
  .page-title-row h1 {
    font-size: 28px;
  }
  .page-title-row p {
    font-size: 11px;
    line-height: 1.8;
    max-width: 245px;
  }
  .page-title-row .button {
    font-size: 9px;
    min-height: 34px;
    padding: 8px 10px;
    white-space: nowrap;
  }
  .panel h2 {
    font-size: 19px;
  }
  .panel > p {
    font-size: 11px;
  }
  .notice {
    font-size: 11px;
    padding: 14px;
  }
  .account-price {
    font-size: 32px;
  }
  .account-price small {
    font-size: 11px;
  }
  .account-details dt {
    font-size: 10px;
  }
  .account-details dd {
    font-size: 12px;
  }
  .account-cancel p {
    font-size: 10px;
  }
  .invoice-list strong {
    font-size: 11px;
  }
  .invoice-list small {
    font-size: 9px;
  }
  .invoice-list a {
    font-size: 10px;
  }
  .empty-invoices {
    font-size: 11px;
  }
  .legal-wrap h1 {
    font-size: 29px;
  }
  .legal-wrap h2 {
    font-size: 18px;
  }
  .legal-wrap p,
  .legal-wrap li {
    font-size: 12px;
  }
  .legal-company p {
    font-size: 11px;
  }
  dialog {
    padding: 26px;
    width: min(425px, calc(100% - 30px));
  }
  .dialog-top h2 {
    font-size: 25px;
  }
  .dialog-intro {
    font-size: 12px;
  }
  .dialog-actions {
    gap: 9px;
  }
  .dialog-actions .button {
    font-size: 10px;
    min-height: 41px;
    padding: 10px 12px;
  }
  .auth-dialog .auth-intro {
    font-size: 11px;
  }
  .auth-dialog .auth-card .field {
    margin-bottom: 15px;
  }
  .auth-dialog .auth-card .field > span {
    font-size: 10px;
  }
  .auth-dialog .auth-card .field input {
    font-size: 16px;
    min-height: 43px;
    padding: 10px 11px;
  }
  .auth-dialog .auth-card .check-label {
    font-size: 9px;
    margin-bottom: 17px;
  }
  .auth-dialog .auth-bottom {
    font-size: 10px;
  }
  .auth-dialog .auth-fineprint {
    font-size: 8px;
  }
  .auth-dialog .auth-card .button.full {
    font-size: 12px;
    min-height: 44px;
  }
  .toast {
    font-size: 11px;
  }
}
@media (max-width: 370px) {
  .studio-topbar {
    padding: 0 14px;
  }
  .studio-topbar-right {
    gap: 9px;
  }
  .language-control select {
    max-width: 78px;
    font-size: 8px;
  }
  .studio-breadcrumb {
    font-size: 9px;
  }
  .welcome-panel {
    padding: 15px 19px 80px;
  }
  .welcome-inner h1 {
    font-size: 31px;
    letter-spacing: -1.2px;
  }
  .welcome-description {
    font-size: 11px;
    max-width: 275px;
  }
  .welcome-suggestions {
    gap: 6px;
  }
  .prompt-chip {
    font-size: 8px;
    padding: 8px;
    gap: 5px;
  }
  .prompt-chip svg {
    width: 11px;
    height: 11px;
  }
  .main-composer {
    padding: 17px 15px 11px;
  }
  .main-composer textarea {
    min-height: 85px;
  }
  .composer-caption {
    font-size: 7px;
  }
  .content-scroll {
    padding-left: 19px;
    padding-right: 19px;
  }
  .page-title-row h1 {
    font-size: 26px;
  }
  .page-title-row .button {
    font-size: 8px;
    padding: 8px;
  }
  .studio-bottomnote {
    font-size: 6px;
  }
  .workspace-toolbar-actions .status {
    display: none;
  }
  dialog {
    padding: 24px;
  }
  .dialog-top h2 {
    font-size: 23px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    animation: none !important;
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
/* Quiet neutral canvas; green is reserved for actions and selection. */
:root {
  --canvas: #fafbf9;
  --panel: #f3f4f0;
  --ink: #323d33;
  --muted: #858c80;
  --green: #3d604b;
  --line: #e6e9e2;
}
.studio-sidebar {
  background: #f3f4f0;
}
.studio-main {
  background: #fafbf9;
}
.welcome-inner h1 {
  color: #3e5140;
}
.welcome-description {
  color: #858f7e;
}
.welcome-emblem {
  background: #eff3e9;
  color: #8da47a;
}
.studio-breadcrumb {
  color: #8b9583;
}
.studio-topbar-right,
.topbar-login {
  color: #748368;
}
.language-control,
.language-control select {
  color: #7e8c72;
}
.sidebar-section-label {
  color: #9da593;
}
.sidebar-empty {
  color: #9aa68e;
}
.project-button {
  color: #75856a;
}
.project-button.selected {
  background: #e7ecdf;
  color: #516b41;
}
.sidebar-profile {
  color: #6d7e61;
}
.sidebar-auth {
  color: #75886a;
}
.sidebar-legal {
  color: #8f9b83;
}
.sidebar-quota {
  background: #f7f9f3;
}
.usage-label {
  color: #92a181;
}
.main-composer textarea {
  color: #4f6246;
}
.main-composer textarea::placeholder {
  color: #a2af97;
}
.composer-kind {
  color: #8c9f7b;
  background: #f5f7f0;
}
.prompt-chip {
  color: #809570;
  background: #fdfefa;
  font-size: 11px;
}
.prompt-chip svg {
  color: #9db28a;
}
.composer-caption {
  color: #9fae93;
}
.studio-bottomnote {
  color: #a7b59a;
}
.message-content {
  font-size: 12px;
  color: #677d59;
}
.message.user .message-content {
  color: #5e764e;
  background: #eef3e6;
}
.message-author {
  color: #758d65;
}
.composer .main-composer textarea {
  font-size: 13px;
  color: #577347;
}
.preview-empty h2 {
  color: #92a480;
}
.preview-empty p {
  color: #a0b18d;
}
.auth-card h1,
.auth-card h2,
.dialog-top h2 {
  color: #527043;
}
.auth-intro,
.dialog-intro {
  color: #8fa07f;
}
.field > span {
  color: #758d63;
}
.field input,
.field textarea,
.field select {
  color: #5d794b;
}
.field input::placeholder {
  color: #a8ba98;
}
.field small {
  color: #9bad8c;
}
.check-label {
  color: #8da579;
}
.check-label a {
  color: #6f8f56;
}
.form-link,
.auth-bottom a,
.auth-bottom button {
  color: #7e9b66;
}
.auth-bottom {
  color: #9bb387;
}
.auth-fineprint {
  color: #a2b88e;
}
.panel h2 {
  color: #6f8d59;
}
.panel > p {
  color: #92aa7e;
}
.account-details dd {
  color: #789861;
}
.account-price {
  color: #6c8d55;
}
.notice {
  color: #809b68;
}
.account-cancel p {
  color: #9ab885;
}
.legal-wrap p,
.legal-wrap li {
  color: #8aab73;
}
.legal-wrap h2 {
  color: #719559;
}
.legal-company p {
  color: #83a56c;
}
.sidebar-collapsed .sidebar-brand .icon-button {
  color: #7f956c;
}
@media (max-width: 700px) {
  .prompt-chip {
    font-size: 10px;
  }
  .composer .main-composer textarea {
    font-size: 16px;
  }
  .message-content {
    font-size: 13px;
  }
  .check-label {
    font-size: 10px;
  }
  .legal-wrap p,
  .legal-wrap li {
    font-size: 12px;
  }
}
@media (max-width: 370px) {
  .prompt-chip {
    font-size: 8px;
  }
}

/* Readability pass: strong text contrast on the existing quiet canvas. */
:root {
  --ink: #2c3c32;
  --muted: #657365;
  color: #2c3c32;
}
.logo,
.sidebar-profile,
.welcome-inner h1,
.message-author,
.auth-card h1,
.auth-card h2,
.dialog-top h2,
.page-title-row h1,
.panel h2,
.account-price,
.account-details dd,
.legal-wrap h1,
.legal-wrap h2,
.empty-page h1 {
  color: #2c3c32;
}
.logo .domain,
.studio-breadcrumb,
.language-control,
.language-control select,
.topbar-login,
.sidebar-section-label,
.sidebar-empty,
.sidebar-auth,
.sidebar-legal,
.usage-label,
.welcome-description,
.composer-caption,
.studio-bottomnote,
.composer-hint,
.composer-note,
.message-time,
.chat-topline,
.auth-intro,
.dialog-intro,
.field small,
.check-label,
.auth-bottom,
.auth-fineprint,
.page-title-row p,
.panel > p,
.account-price small,
.account-details dt,
.account-cancel p,
.invoice-list small,
.empty-invoices,
.legal-wrap p,
.legal-wrap li,
.legal-company p,
.preview-bottom,
.preview-toolbar-left,
.preview-toolbar select,
.preview-empty p,
.preview-empty h2,
.empty-page,
.empty-page p {
  color: #657365;
}
.project-button,
.prompt-chip,
.composer-kind,
.field > span,
.form-link,
.auth-bottom a,
.auth-bottom button,
.check-label a,
.invoice-list strong,
.invoice-list a,
.legal-wrap a,
.quiet-button {
  color: #476044;
}
.project-button.selected {
  color: #314c2f;
  background: #e3eada;
}
.message-content {
  color: #334b35;
  font-size: 14px;
  line-height: 1.8;
}
.message.user .message-content {
  color: #334b35;
  background: #edf3e4;
}
.main-composer textarea,
.composer .main-composer textarea,
.field input,
.field textarea,
.field select {
  color: #2c3c32;
  font-size: 14px;
  line-height: 1.65;
}
.main-composer textarea::placeholder,
.field input::placeholder {
  color: #657365;
}
.main-composer textarea:disabled {
  color: #657365;
}
.sidebar-new,
.project-button,
.sidebar-profile,
.sidebar-auth,
.topbar-login,
.studio-breadcrumb {
  font-size: 12px;
}
.language-control select {
  font-size: 12px;
  max-width: 145px;
}
.sidebar-empty,
.sidebar-section-label,
.sidebar-legal,
.usage-label,
.composer-kind,
.composer-hint,
.composer-note,
.composer-caption,
.studio-bottomnote,
.message-author,
.message-time,
.chat-topline,
.field small,
.auth-fineprint,
.invoice-list small,
.preview-bottom,
.preview-toolbar-left,
.preview-toolbar select,
.status,
.account-details dt {
  font-size: 11px;
  line-height: 1.65;
}
.sidebar-legal {
  flex-wrap: wrap;
  gap: 8px 12px;
}
.welcome-description {
  font-size: 14px;
  line-height: 1.8;
}
.prompt-chip {
  font-size: 12px;
  line-height: 1.5;
}
.auth-intro,
.dialog-intro,
.check-label,
.auth-bottom,
.page-title-row p,
.panel > p,
.account-cancel p,
.empty-invoices,
.account-details dd,
.legal-wrap p,
.legal-wrap li,
.legal-company p,
.empty-page p {
  font-size: 14px;
  line-height: 1.8;
}
.field > span,
.form-link,
.quiet-button,
.invoice-list strong,
.invoice-list a {
  font-size: 12px;
  line-height: 1.6;
}
.auth-fineprint {
  font-size: 11px;
  line-height: 1.8;
}
.account-price small {
  font-size: 12px;
}
.notice {
  font-size: 13px;
  line-height: 1.8;
  color: #4e6640;
  background: #f0f5e7;
  border-color: #e1e8d4;
}
.notice.warning {
  color: #75612f;
  background: #f9f4e1;
  border-color: #ede3c4;
}
.status {
  color: #516e42;
  background: #edf3e4;
}
.status.active {
  color: #426334;
  background: #eaf2df;
}
.status.pending {
  color: #75612f;
  background: #f8f0d7;
}
.job-indicator {
  font-size: 12px;
  line-height: 1.8;
  color: #4d693b;
  background: #edf3e3;
}
.job-indicator.error,
.form-error {
  font-size: 12px;
  line-height: 1.8;
  color: #864436;
  background: #fbede7;
}
.chat-empty > p {
  color: #657365;
  font-size: 13px;
  line-height: 1.8;
}
.chat-empty h2 {
  color: #385334;
}
.chat-empty .prompt-chip {
  font-size: 12px;
}
.preview-empty p {
  font-size: 12px;
  line-height: 1.8;
}
.device-toggle button {
  color: #657365;
}
.device-toggle button.selected {
  color: #35502e;
}
.icon-button,
.sidebar-collapsed .sidebar-brand .icon-button {
  color: #657365;
}
.button.small {
  font-size: 11px;
}
.dialog-actions .button {
  font-size: 12px;
}
.auth-dialog .auth-intro,
.auth-dialog .auth-card .check-label,
.auth-dialog .auth-bottom {
  font-size: 13px;
  line-height: 1.75;
}
.auth-dialog .auth-card .field > span {
  font-size: 12px;
}
.auth-dialog .auth-fineprint {
  font-size: 11px;
}
.auth-dialog .auth-card .button.full {
  font-size: 13px;
}
@media (max-width: 700px) {
  .main-composer textarea,
  .composer .main-composer textarea,
  .field input,
  .field textarea,
  .field select {
    font-size: 16px;
  }
  .message-content {
    font-size: 14px;
    line-height: 1.8;
  }
  .language-control select {
    font-size: 11px;
    max-width: 102px;
  }
  .topbar-login,
  .studio-breadcrumb {
    font-size: 11px;
  }
  .welcome-description {
    font-size: 13px;
  }
  .prompt-chip,
  .chat-empty .prompt-chip {
    font-size: 11px;
  }
  .studio-bottomnote,
  .composer-caption,
  .composer-note,
  .composer-hint,
  .workspace-mobile-tabs button,
  .preview-bottom,
  .message-author,
  .message-time,
  .chat-topline {
    font-size: 11px;
  }
  .studio-bottomnote {
    line-height: 1.6;
    bottom: 16px;
  }
  .welcome-panel {
    padding-bottom: 106px;
  }
  .account-grid .panel {
    padding: 22px;
  }
  .page-title-row p,
  .panel > p,
  .account-cancel p,
  .empty-invoices,
  .account-details dd,
  .legal-wrap p,
  .legal-wrap li,
  .legal-company p,
  .check-label {
    font-size: 13px;
    line-height: 1.8;
  }
  .page-title-row .button {
    font-size: 11px;
  }
  .workspace-toolbar-actions .status {
    font-size: 10px;
  }
  .preview-toolbar select {
    font-size: 11px;
    max-width: 150px;
  }
  .preview-toolbar-left > span {
    font-size: 11px;
  }
  .composer .main-composer {
    padding: 13px 14px 11px;
  }
  .composer-hint {
    line-height: 1.5;
    max-width: calc(100% - 45px);
  }
  .sidebar-legal,
  .usage-label,
  .sidebar-empty,
  .sidebar-section-label {
    font-size: 11px;
  }
}
@media (max-width: 370px) {
  .language-control select {
    font-size: 11px;
    max-width: 84px;
  }
  .studio-breadcrumb,
  .studio-bottomnote,
  .composer-caption,
  .prompt-chip {
    font-size: 11px;
  }
  .welcome-suggestions {
    gap: 7px;
  }
  .prompt-chip {
    padding: 8px 9px;
  }
  .welcome-description {
    font-size: 13px;
  }
  .page-title-row .button {
    font-size: 10px;
  }
  .preview-toolbar select {
    max-width: 123px;
  }
}
