:root {
  --petrol: #073c3c;
  --petrol-dark: #052f31;
  --ink: #163b3b;
  --muted: #5d736b;
  --paper: #f7f6ef;
  --surface: #fffef9;
  --mint: #c2e8d9;
  --mint-soft: #eaf3ec;
  --line: #dfe5dc;
  --amber: #d28b27;
  --red: #b24d40;
  --radius: 15px;
  --sans: Inter, "Segoe UI", Arial, sans-serif;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--paper);
  font: 14px/1.55 var(--sans);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}
button,
input,
textarea,
select {
  font: inherit;
}
button,
a,
input,
textarea,
select {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}
button {
  color: inherit;
}
a {
  color: inherit;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid #62b8a1;
  outline-offset: 3px;
}
button {
  border: 0;
}
svg {
  width: 20px;
  height: 20px;
  stroke-width: 1.65;
  flex-shrink: 0;
}
button svg {
  pointer-events: none;
}
input,
textarea,
select {
  color: var(--ink);
}
input,
select,
textarea {
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--surface);
  padding: 11px 13px;
  min-width: 0;
}
textarea {
  resize: vertical;
}
input::placeholder,
textarea::placeholder {
  color: #909996;
}
kbd {
  font: 12px var(--sans);
}
[hidden] {
  display: none !important;
}
.skip-link {
  position: fixed;
  top: -80px;
  left: 20px;
  z-index: 100;
  background: var(--mint);
  padding: 10px 18px;
  border-radius: 8px;
}
.skip-link:focus {
  top: 12px;
}
.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: 252px;
  display: flex;
  flex-direction: column;
  padding: 28px 19px 16px;
  background: var(--petrol);
  color: #eff5e9;
  z-index: 30;
  overflow-y: auto;
}
.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  font: 50px/1.1 var(--serif);
  font-weight: 700;
  letter-spacing: -2px;
  margin: 0 11px 27px;
}
.mascot-fallback {
  display: inline-block;
  position: relative;
  width: 46px;
  height: 44px;
  border-radius: 45% 45% 35% 35%;
  background: #48bfb3;
  flex-shrink: 0;
  box-shadow: inset -5px -4px 8px #008b8180;
}
.mascot-fallback:before {
  content: "";
  position: absolute;
  left: 14px;
  top: 22px;
  width: 4px;
  height: 9px;
  border-radius: 2px;
  background: #063838;
  box-shadow: 12px 0 #063838;
}
.mascot-fallback:after {
  content: "";
  position: absolute;
  right: 6px;
  top: 5px;
  width: 12px;
  height: 13px;
  background: #fffbee;
  border-radius: 2px 3px 2px 6px;
  transform: rotate(-12deg);
}
.mascot-fallback img {
  position: absolute;
  inset: -5px;
  width: calc(100% + 10px);
  height: calc(100% + 10px);
  object-fit: contain;
  z-index: 2;
}
.mascot-fallback.img-loaded {
  background: none;
  box-shadow: none;
}
.mascot-fallback.img-loaded:before,
.mascot-fallback.img-loaded:after {
  display: none;
}
.workspace-switch {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 10px;
  border: 1px solid #ffffff24;
  border-radius: 10px;
  background: #ffffff04;
  color: inherit;
  text-align: left;
  margin-bottom: 23px;
}
.workspace-icon {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 17px;
  display: grid;
  place-items: center;
  background: #ffffff12;
  border-radius: 7px;
  width: 31px;
  height: 34px;
}
.workspace-name {
  font-size: 12px;
  font-weight: 600;
  flex: 1;
}
.workspace-name small {
  display: block;
  font-weight: 400;
  font-size: 12px;
  color: #a3c6bd;
  margin-top: 1px;
}
.chevron {
  font-size: 17px;
  color: #a9c9c0;
}
.new-task-button {
  display: flex;
  align-items: center;
  gap: 9px;
  background: var(--mint);
  color: #123f3b;
  border-radius: 9px;
  padding: 12px 13px;
  text-align: left;
  font-size: 13px;
  font-weight: 650;
  margin-bottom: 18px;
  box-shadow: 0 2px 5px #001e1b20;
}
.new-task-button > span {
  font-size: 20px;
  line-height: 16px;
}
.new-task-button kbd {
  margin-left: auto;
  color: #426960;
  font-size: 12px;
}
#navigation {
  display: grid;
  gap: 3px;
}
.nav-button {
  display: flex;
  align-items: center;
  gap: 12px;
  background: transparent;
  color: #dcece3;
  width: 100%;
  padding: 11px 13px;
  border-radius: 9px;
  text-align: left;
  font-size: 13px;
}
.nav-button svg {
  width: 18px;
  height: 18px;
}
.nav-button:hover,
.sidebar-settings:hover {
  background: #ffffff0d;
}
.nav-button.active {
  background: #ffffff12;
  color: #fffef0;
}
.nav-button .nav-meta {
  font-size: 12px;
  margin-left: auto;
  color: #93bdb1;
}
.sidebar-section {
  margin: 28px 11px 9px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  letter-spacing: 1.7px;
  color: #8db5aa;
}
.sidebar-section .icon-button {
  color: #b1cfc4;
  width: 22px;
  height: 22px;
  font-size: 19px;
}
.sidebar-projects {
  display: grid;
  gap: 2px;
}
.sidebar-project {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  background: transparent;
  color: #b9d3c9;
  text-align: left;
  padding: 9px 13px;
  border-radius: 8px;
  font-size: 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sidebar-project:hover,
.sidebar-project.selected {
  background: #ffffff0c;
  color: #f7fff4;
}
.project-dot {
  width: 6px;
  height: 6px;
  background: #c6d9bd;
  border-radius: 2px;
  flex-shrink: 0;
}
.sidebar-empty {
  padding: 5px 13px;
  color: #83a89d;
  font-size: 12px;
  line-height: 1.8;
}
.sidebar-spacer {
  flex: 1;
  min-height: 40px;
}
.sidebar-note {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  margin: 25px 12px 31px;
}
.sidebar-note p {
  font: 19px/1.3 var(--serif);
  margin: 0;
  color: #d4e6d8;
  letter-spacing: -0.3px;
}
.small-star {
  font-size: 25px;
  color: #b6dfc4;
  line-height: 1.3;
}
.sidebar-settings {
  background: none;
  color: #b9d0c6;
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
  font-size: 12px;
  padding: 12px 13px;
  border-radius: 8px;
}
.sidebar-settings svg {
  width: 17px;
  height: 17px;
}
.account-button {
  border-top: 1px solid #ffffff1b;
  padding: 17px 9px 2px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: none;
  color: #e3eee3;
  text-align: left;
  margin-top: 10px;
  font-size: 12px;
}
.account-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #c5dfcb;
  color: #19453d;
  font-size: 17px;
  flex-shrink: 0;
}
#account-copy {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
}
#account-copy small {
  display: block;
  color: #91b5a8;
  font-size: 12px;
  margin-top: 2px;
}
.app-shell {
  margin-left: 252px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.topbar {
  height: 76px;
  border-bottom: 1px solid var(--line);
  padding: 0 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: #fdfcf66b;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 13px;
  font-size: 12px;
  white-space: nowrap;
  overflow: hidden;
}
.breadcrumb > span:first-child {
  color: #7e8982;
}
.breadcrumb strong {
  font-weight: 550;
  overflow: hidden;
  text-overflow: ellipsis;
}
.breadcrumb-divider {
  color: #b5bdb4;
}
.topbar-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-shrink: 0;
}
.icon-button {
  background: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 7px;
  padding: 0;
}
.icon-button:hover {
  background: #073c3c08;
}
.topbar-separator {
  height: 20px;
  width: 1px;
  background: var(--line);
}
.agent-availability {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #79867c;
}
.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #b3bcb1;
  flex-shrink: 0;
}
.status-dot.ready {
  background: #358a6d;
}
.status-dot.warn {
  background: #c59140;
}
.wallet-button {
  background: #fffef7;
  border: 1px solid #cad6c9;
  border-radius: 8px;
  padding: 9px 13px;
  font-size: 12px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 13px;
  white-space: nowrap;
}
.wallet-button:hover {
  border-color: #8fb3a3;
  background: #fff;
}
.wallet-button > span {
  font-size: 15px;
}
.service-banner {
  padding: 9px 36px;
  background: #eeeade;
  border-bottom: 1px solid #e6dfcc;
  color: #766b4e;
  font-size: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
}
.service-banner svg {
  width: 13px;
  height: 13px;
}
.service-banner .banner-strong {
  font-weight: 600;
}
.service-banner .banner-secondary {
  opacity: 0.8;
}
.mobile-menu {
  display: none;
}
main {
  flex: 1;
  min-width: 0;
  outline: none;
}
.home-layout {
  max-width: 1200px;
  margin: 0 auto;
  padding: 63px 56px 38px;
}
.welcome-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 30px;
}
.eyebrow {
  font-size: 12px;
  letter-spacing: 2.8px;
  font-weight: 650;
  color: #7a8c7d;
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 17px;
}
.eyebrow .eyebrow-line {
  height: 1px;
  width: 22px;
  background: #93bca1;
}
.welcome-header h1 {
  font: 54px/1.06 var(--serif);
  font-weight: 500;
  letter-spacing: -2px;
  margin: 0 0 15px;
  color: #173e39;
}
.welcome-header h1 em {
  font-weight: 400;
  color: #5c8c74;
}
.welcome-header .intro {
  font-size: 12px;
  color: #7b887d;
  max-width: 550px;
  line-height: 1.85;
  margin: 0;
}
.welcome-mascot {
  position: relative;
  width: 130px;
  height: 130px;
  flex-shrink: 0;
  margin-right: 5px;
}
.welcome-mascot:before {
  content: "";
  width: 119px;
  height: 119px;
  position: absolute;
  border-radius: 50%;
  background: #e3ecdb;
  right: 1px;
  bottom: 3px;
}
.welcome-mascot .mascot-fallback {
  width: 85px;
  height: 78px;
  position: absolute;
  left: 25px;
  top: 26px;
  border-radius: 45% 45% 35% 35%;
  transform: rotate(5deg);
  box-shadow:
    0 13px 20px #729b7925,
    inset -5px -4px 8px #008b8180;
}
.welcome-mascot .mascot-fallback.img-loaded {
  box-shadow: none;
}
.welcome-mascot .mascot-fallback:before {
  left: 24px;
  top: 36px;
  width: 6px;
  height: 15px;
  box-shadow: 23px 0 #063838;
}
.welcome-mascot .mascot-fallback:after {
  right: 10px;
  top: 7px;
  width: 20px;
  height: 21px;
}
.mascot-spark {
  position: absolute;
  color: #789c7b;
  font-size: 24px;
  right: -4px;
  top: 10px;
}
.mascot-spark.small {
  left: 8px;
  bottom: 1px;
  top: auto;
  font-size: 14px;
  color: #b7b47e;
}
.composer {
  border: 1px solid #d6dfd2;
  border-radius: 17px;
  background: #fffef9;
  box-shadow: 0 8px 28px #32593d06;
  overflow: hidden;
  position: relative;
}
.composer:focus-within {
  border-color: #97b6a0;
  box-shadow:
    0 0 0 3px #9fcdb010,
    0 8px 28px #32593d08;
}
.composer textarea {
  width: 100%;
  border: 0;
  border-radius: 0;
  resize: none;
  background: none;
  font-size: 14px;
  line-height: 1.8;
  padding: 25px 25px 8px;
  min-height: 125px;
  max-height: 300px;
  outline: none;
}
.composer textarea:focus-visible {
  outline: none;
}
.composer textarea::placeholder {
  color: #9a9f92;
}
.composer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 16px;
  padding: 14px 0 16px;
  border-top: 1px solid #eef0e7;
  gap: 10px;
}
.composer-tools {
  display: flex;
  align-items: center;
  gap: 8px;
}
.attach-button {
  color: #7c8b7b;
}
.attach-button svg {
  width: 19px;
  height: 19px;
}
.tool-divider {
  height: 17px;
  width: 1px;
  background: #e2e6db;
  margin: 0 5px;
}
.auto-chip {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 7px 9px;
  border-radius: 6px;
  background: #f1f5e9;
  font-size: 12px;
  color: #4e775c;
}
.auto-chip svg {
  width: 13px;
  height: 13px;
}
.auto-chip .auto-arrow {
  font-size: 12px;
  color: #8ba18b;
  margin-left: 2px;
}
.budget-chip {
  background: none;
  display: flex;
  align-items: center;
  gap: 5px;
  color: #83917f;
  font-size: 12px;
  padding: 7px;
}
.budget-chip svg {
  width: 13px;
  height: 13px;
}
.composer-submit {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 11px 16px;
  background: var(--petrol);
  color: #fbfdf3;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 550;
  box-shadow: 0 2px 3px #143c2e12;
}
.composer-submit svg {
  width: 15px;
  height: 15px;
}
.composer-submit:hover:not(:disabled) {
  background: #0e514b;
}
.composer-hint {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin: 9px 4px 0;
  font-size: 12px;
  color: #9ba491;
}
.composer-hint > span {
  display: flex;
  gap: 5px;
  align-items: center;
}
.composer-hint svg {
  width: 11px;
  height: 11px;
}
.attachment-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  padding: 0 24px 10px;
}
.attachment-pill {
  display: flex;
  align-items: center;
  gap: 7px;
  background: #eef3e9;
  border: 1px solid #dce5d3;
  border-radius: 6px;
  padding: 5px 8px;
  font-size: 12px;
  color: #54705b;
  max-width: 220px;
}
.attachment-pill .attachment-name {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.attachment-pill button {
  background: none;
  font-size: 14px;
  padding: 0 2px;
  line-height: 1;
}
.suggestions {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 22px 0 39px;
  flex-wrap: wrap;
}
.suggestion-label {
  font-size: 12px;
  color: #99a18f;
  margin-right: 5px;
}
.suggestion {
  display: flex;
  align-items: center;
  gap: 7px;
  border: 1px solid #dce3d6;
  background: transparent;
  border-radius: 7px;
  padding: 8px 12px;
  font-size: 12px;
  color: #5d7763;
  transition:
    background 0.18s,
    transform 0.18s;
}
.suggestion:hover {
  background: #ecf1e6;
  transform: translateY(-1px);
}
.suggestion svg {
  width: 13px;
  height: 13px;
}
.home-section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 13px;
}
.home-section-title h2 {
  font: 22px var(--serif);
  font-weight: 500;
  letter-spacing: -0.4px;
  margin: 0;
}
.text-button {
  background: none;
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
  color: #6c8a71;
  padding: 4px 0;
}
.text-button svg {
  width: 12px;
  height: 12px;
}
.context-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}
.context-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 20px;
  background: #fffef745;
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 15px;
  min-height: 126px;
  text-align: left;
}
.context-card:hover {
  background: #fffef9;
  border-color: #c7d8c0;
}
.context-card-icon {
  width: 38px;
  height: 40px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: #e7eedf;
  color: #6a8b68;
}
.context-card-icon.folder {
  background: #f1edde;
  color: #9a9261;
}
.context-card h3 {
  font-size: 12px;
  font-weight: 600;
  margin: 0 0 6px;
}
.context-card p {
  font-size: 12px;
  line-height: 1.8;
  color: #8b9688;
  max-width: 260px;
  margin: 0;
}
.context-card .corner-arrow {
  position: absolute;
  right: 17px;
  top: 19px;
  color: #9ca893;
}
.context-card .corner-arrow svg {
  width: 14px;
  height: 14px;
}
.recent-section {
  margin-top: 31px;
}
.empty-inline {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 3px;
  font-size: 12px;
  color: #929d8c;
  border-top: 1px solid #e2e7dc;
}
.empty-inline svg {
  width: 16px;
  height: 16px;
  color: #a8b59d;
}
.app-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 36px;
  color: #9ba38f;
  font-size: 12px;
  gap: 16px;
}
.app-footer > span {
  display: flex;
  gap: 7px;
  align-items: center;
}
.footer-mark {
  font-size: 12px;
  color: #8da17f;
}
.app-footer button {
  background: none;
  color: #919c88;
  font-size: 12px;
}
.app-footer button span {
  margin-left: 4px;
}
.page-wrap {
  padding: 38px 42px 36px;
  max-width: 1320px;
  margin: auto;
}
.page-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 27px;
}
.page-heading h1 {
  font: 40px/1.15 var(--serif);
  font-weight: 500;
  letter-spacing: -1.1px;
  margin: 0 0 8px;
}
.page-heading p {
  font-size: 12px;
  color: #8a9585;
  max-width: 600px;
  margin: 0;
}
.primary-button,
.secondary-button,
.danger-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  border-radius: 8px;
  padding: 10px 15px;
  font-size: 12px;
  font-weight: 550;
  min-height: 38px;
}
.primary-button {
  background: var(--petrol);
  color: #fffef5;
}
.primary-button:hover {
  background: #14534c;
}
.primary-button svg,
.secondary-button svg,
.danger-button svg {
  width: 15px;
  height: 15px;
}
.secondary-button {
  background: #fffef9;
  border: 1px solid #d5dfce;
  color: #49634c;
}
.secondary-button:hover {
  background: #edf2e6;
}
.danger-button {
  background: #f7e9e3;
  border: 1px solid #ead0c8;
  color: #9e5142;
}
.page-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.empty-panel {
  border: 1px dashed #d4dfcc;
  border-radius: 13px;
  padding: 58px 25px;
  text-align: center;
  background: #fffdf64d;
}
.empty-illustration {
  width: 64px;
  height: 64px;
  background: #e9efe0;
  color: #8aab83;
  border-radius: 18px;
  display: grid;
  place-items: center;
  margin: 0 auto 19px;
  transform: rotate(-5deg);
}
.empty-illustration svg {
  width: 30px;
  height: 30px;
}
.empty-panel h2 {
  font: 25px var(--serif);
  margin: 0 0 10px;
  font-weight: 500;
}
.empty-panel p {
  font-size: 12px;
  color: #8a9683;
  max-width: 360px;
  margin: 0 auto 23px;
  line-height: 1.9;
}
.preview-notice {
  border: 1px solid #e5dfcc;
  background: #f3efe2;
  border-radius: 10px;
  padding: 14px 17px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 12px;
  color: #85774f;
  margin-bottom: 22px;
}
.preview-notice svg {
  width: 16px;
  height: 16px;
  margin-top: 1px;
}
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.project-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  padding: 23px;
  min-height: 165px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}
.project-card:hover {
  border-color: #9fbc99;
  box-shadow: 0 5px 18px #345b3107;
}
.project-card .project-icon {
  width: 39px;
  height: 39px;
  display: grid;
  place-items: center;
  background: #e9efdc;
  color: #7b9465;
  border-radius: 10px;
  margin-bottom: 16px;
}
.project-card h3 {
  font: 22px var(--serif);
  font-weight: 500;
  margin: 0 0 5px;
}
.project-card p {
  font-size: 12px;
  color: #8b9881;
  margin: 0;
}
.project-card .project-card-bottom {
  margin-top: 17px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  font-size: 12px;
  color: #8e9f83;
}
.row-list {
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: var(--surface);
}
.list-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 17px 19px;
  border-bottom: 1px solid #e9ede2;
  min-width: 0;
}
.list-row:last-child {
  border-bottom: none;
}
.row-icon {
  width: 36px;
  height: 38px;
  border-radius: 8px;
  background: #eef2e6;
  color: #75916e;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.row-icon svg {
  width: 18px;
  height: 18px;
}
.row-main {
  flex: 1;
  min-width: 0;
}
.row-main h3 {
  font-size: 12px;
  line-height: 1.55;
  font-weight: 550;
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}
.row-main p {
  font-size: 12px;
  color: #96a08c;
  margin: 4px 0 0;
}
.row-actions {
  display: flex;
  align-items: center;
  gap: 7px;
}
.row-actions .icon-button {
  color: #819279;
}
.row-actions .icon-button.delete {
  color: #b37969;
}
.row-link {
  cursor: pointer;
}
.row-link:hover {
  background: #f5f7ed;
}
.memory-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 21px;
  background: var(--surface);
}
.memory-card .memory-scope {
  font-size: 12px;
  letter-spacing: 1px;
  color: #829476;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #eef3e4;
  border-radius: 4px;
  padding: 3px 6px;
  margin-bottom: 12px;
}
.memory-card p {
  font-size: 12px;
  white-space: pre-wrap;
  line-height: 1.85;
  margin: 0 0 19px;
  overflow-wrap: anywhere;
}
.memory-card footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: #9ba58f;
}
.memory-card footer .icon-button {
  width: 26px;
  height: 26px;
}
.usage-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 25px;
}
.usage-metric {
  border: 1px solid var(--line);
  padding: 23px;
  border-radius: 12px;
  background: var(--surface);
}
.usage-metric span {
  display: block;
  font-size: 12px;
  color: #86977c;
  margin-bottom: 9px;
}
.usage-metric strong {
  font: 32px var(--serif);
  font-weight: 500;
  letter-spacing: -0.7px;
}
.usage-metric small {
  font-size: 12px;
  display: block;
  color: #9da68f;
  margin-top: 7px;
}
.table-wrap {
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--surface);
}
table {
  border-collapse: collapse;
  width: 100%;
  font-size: 12px;
  text-align: left;
}
th {
  padding: 12px 17px;
  font-size: 12px;
  font-weight: 600;
  color: #87977b;
  background: #f0f3e8;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
td {
  padding: 13px 17px;
  border-bottom: 1px solid #edf0e6;
  font-size: 12px;
  max-width: 260px;
  overflow: hidden;
  text-overflow: ellipsis;
}
tr:last-child td {
  border-bottom: none;
}
.table-empty {
  text-align: center;
  color: #96a287;
  padding: 30px;
}
.section-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin: 26px 0 13px;
}
.section-label h2 {
  font: 24px var(--serif);
  font-weight: 500;
  letter-spacing: -0.4px;
  margin: 0;
}
.toggle {
  display: inline-flex;
  align-items: center;
  position: relative;
  background: #c8d2bf;
  width: 34px;
  height: 20px;
  border-radius: 20px;
  border: 0;
  padding: 0;
}
.toggle:after {
  content: "";
  width: 14px;
  height: 14px;
  position: absolute;
  left: 3px;
  top: 3px;
  border-radius: 50%;
  background: #fffef7;
  box-shadow: 0 1px 2px #284b2620;
}
.toggle.on {
  background: #3a8b70;
}
.toggle.on:after {
  left: 17px;
}
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border: 1px solid #dce4d2;
  border-radius: 5px;
  background: #f1f4e9;
  color: #7e8f72;
  padding: 3px 7px;
  font-size: 12px;
  white-space: nowrap;
}
.status-pill:before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: currentColor;
}
.status-pill.running,
.status-pill.provisioning,
.status-pill.queued {
  background: #f6efdc;
  border-color: #e9dec0;
  color: #a68b45;
}
.status-pill.completed {
  background: #e8f3e7;
  border-color: #c9e1c6;
  color: #5d9266;
}
.status-pill.failed,
.status-pill.cancelled,
.status-pill.interrupted {
  background: #f6ebe5;
  border-color: #ead7cb;
  color: #ac7a61;
}
.status-pill.partial,
.status-pill.needs_input,
.status-pill.reconciliation_required {
  background: #f3efdf;
  border-color: #e7dfc4;
  color: #9b8a51;
}
.task-wrap {
  padding: 30px 29px 20px;
  max-width: 1550px;
  margin: auto;
}
.task-title-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  margin: 0 0 23px;
}
.task-title-row h1 {
  font: 32px/1.25 var(--serif);
  font-weight: 500;
  letter-spacing: -0.8px;
  margin: 0 0 8px;
  overflow-wrap: anywhere;
}
.task-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: #8d9a83;
}
.task-meta .tiny-avatar {
  width: 19px;
  height: 19px;
  border-radius: 50%;
  background: #d4e5cb;
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-weight: 700;
  color: #5b855a;
}
.task-columns {
  display: grid;
  grid-template-columns: minmax(320px, 0.95fr) minmax(360px, 1.2fr);
  gap: 16px;
  align-items: start;
}
.conversation-panel,
.work-panel {
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #fffef859;
  overflow: hidden;
  min-height: 540px;
}
.panel-top {
  height: 51px;
  padding: 0 20px;
  display: flex;
  align-items: center;
  gap: 22px;
  border-bottom: 1px solid var(--line);
}
.panel-tab {
  height: 51px;
  position: relative;
  display: flex;
  align-items: center;
  gap: 5px;
  background: none;
  padding: 0;
  font-size: 12px;
  color: #95a18a;
}
.panel-tab.active {
  color: #3e6951;
  font-weight: 600;
}
.panel-tab.active:after {
  content: "";
  position: absolute;
  bottom: 0;
  height: 2px;
  background: #82b793;
  left: 0;
  right: 0;
}
.panel-tab svg {
  width: 13px;
  height: 13px;
}
.panel-count {
  font-size: 12px;
  background: #e9efdf;
  border-radius: 3px;
  min-width: 15px;
  text-align: center;
  padding: 0 3px;
}
.messages {
  padding: 23px 21px;
  min-height: 335px;
  max-height: calc(100vh - 350px);
  overflow: auto;
  scroll-behavior: smooth;
}
.message {
  display: flex;
  gap: 10px;
  margin-bottom: 23px;
}
.message-avatar {
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: #e2e8db;
  color: #78916d;
  display: grid;
  place-items: center;
  font-size: 12px;
  flex-shrink: 0;
}
.message.agent .message-avatar {
  background: #c6e1ca;
  color: #467451;
  font: 15px var(--serif);
  font-weight: bold;
}
.message-body {
  flex: 1;
  min-width: 0;
}
.message-meta {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  margin-bottom: 7px;
  font-weight: 600;
}
.message-meta time {
  font-size: 12px;
  font-weight: 400;
  color: #a1aa97;
}
.message-content {
  font-size: 12px;
  line-height: 1.9;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  background: #f0f4e9;
  padding: 13px 15px;
  border-radius: 0 10px 10px 10px;
}
.message.agent .message-content {
  background: #fffef7;
  border: 1px solid #e8ecdf;
}
.task-progress-note {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  padding: 12px 14px;
  margin: 12px 0 0;
  border-radius: 8px;
  background: #f5f0df;
  color: #97814c;
  font-size: 12px;
  line-height: 1.8;
}
.task-progress-note svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  margin-top: 2px;
}
.followup-area {
  padding: 12px 15px 16px;
  border-top: 1px solid #e9eddf;
}
.followup-area .composer {
  border-radius: 10px;
}
.followup-area .composer textarea {
  font-size: 12px;
  min-height: 72px;
  padding: 15px 13px 5px;
}
.followup-area .composer-bottom {
  margin: 0 9px;
  padding: 9px 0;
  border-top: 0;
}
.followup-area .composer-submit {
  padding: 8px 10px;
  font-size: 12px;
}
.followup-area .composer-tools {
  gap: 1px;
}
.followup-area .budget-chip {
  font-size: 12px;
  padding: 5px;
}
.followup-area .auto-chip {
  padding: 5px 7px;
  font-size: 12px;
}
.followup-area .composer-hint {
  font-size: 12px;
  margin-top: 7px;
}
.work-panel-body {
  padding: 22px;
  max-height: calc(100vh - 275px);
  overflow: auto;
}
.work-empty {
  min-height: 392px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  padding: 20px;
}
.work-empty svg {
  width: 35px;
  height: 35px;
  color: #adbea0;
  margin: 0 0 19px;
}
.work-empty h3 {
  font: 24px var(--serif);
  font-weight: 400;
  margin: 0 0 9px;
}
.work-empty p {
  font-size: 12px;
  color: #98a28c;
  max-width: 260px;
  line-height: 1.9;
  margin: 0;
}
.activity-row {
  display: flex;
  gap: 12px;
  padding: 0 0 23px;
  position: relative;
}
.activity-row:not(:last-child):after {
  content: "";
  width: 1px;
  background: #dce5d0;
  position: absolute;
  left: 10px;
  top: 26px;
  bottom: 3px;
}
.activity-symbol {
  width: 21px;
  height: 21px;
  border: 1px solid #cfdbc4;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #709768;
  background: #f3f7ed;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}
.activity-symbol svg {
  width: 11px;
  height: 11px;
}
.activity-detail {
  min-width: 0;
  flex: 1;
}
.activity-detail h3 {
  font-size: 12px;
  font-weight: 600;
  margin: 1px 0 4px;
}
.activity-detail p {
  font-size: 12px;
  color: #8d9c7e;
  line-height: 1.8;
  margin: 0;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.activity-detail time {
  display: block;
  color: #b0b89f;
  font-size: 12px;
  margin-top: 5px;
}
.terminal-output {
  background: #123d37;
  color: #d6e9ca;
  border-radius: 8px;
  padding: 18px;
  font:
    12px/1.8 ui-monospace,
    SFMono-Regular,
    Consolas,
    monospace;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  max-height: 450px;
  overflow: auto;
}
.browser-event {
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fffef8;
  margin-bottom: 12px;
}
.browser-event h3 {
  font-size: 12px;
  margin: 0 0 8px;
  font-weight: 550;
}
.browser-event a {
  font-size: 12px;
  color: #5d8a67;
  overflow-wrap: anywhere;
}
.browser-event p {
  font-size: 12px;
  color: #8d9d80;
  white-space: pre-wrap;
}
.work-files .list-row {
  padding: 12px 6px;
  gap: 9px;
}
.work-files .row-main h3 {
  font-size: 12px;
}
.work-files .row-main p {
  font-size: 12px;
}
.file-preview {
  margin-top: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}
.file-preview-header {
  padding: 10px 12px;
  background: #eef3e6;
  font-size: 12px;
  display: flex;
  justify-content: space-between;
  gap: 8px;
}
.file-preview pre {
  white-space: pre-wrap;
  font: 12px/1.8 var(--sans);
  padding: 15px;
  margin: 0;
  max-height: 370px;
  overflow: auto;
  background: #fffef9;
  overflow-wrap: anywhere;
}
.file-preview img {
  display: block;
  width: 100%;
  max-height: 380px;
  object-fit: contain;
  background: #e9efe2;
}
.terminal-tag {
  font-size: 12px;
  color: #a6b89a;
  margin-bottom: 10px;
}
.settings-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 20px;
}
.settings-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  padding: 24px;
}
.settings-card h2 {
  font: 25px var(--serif);
  font-weight: 500;
  margin: 0 0 10px;
}
.settings-card > p {
  font-size: 12px;
  color: #91a082;
  line-height: 1.9;
  margin: 0 0 20px;
}
.settings-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #e9eddf;
  padding: 12px 0;
  gap: 12px;
  font-size: 12px;
}
.settings-row:last-child {
  border-bottom: 0;
}
.settings-row small {
  font-size: 12px;
  color: #9ba78c;
}
.settings-row .route-dot {
  width: 5px;
  height: 5px;
  background: #a2b998;
  border-radius: 50%;
  display: inline-block;
  margin-right: 7px;
}
.label {
  font-size: 12px;
  display: block;
  font-weight: 550;
  margin: 0 0 7px;
}
.field-help {
  font-size: 12px;
  color: #95a18a;
  line-height: 1.8;
  margin-top: 6px;
}
.field {
  margin-bottom: 18px;
}
.field input,
.field textarea,
.field select {
  width: 100%;
  font-size: 12px;
}
.field textarea {
  min-height: 110px;
  line-height: 1.85;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 23px;
}
.inline-error {
  background: #f6ebe5;
  border: 1px solid #ead6ca;
  color: #a56752;
  padding: 11px 13px;
  border-radius: 7px;
  font-size: 12px;
  margin: 15px 0;
  line-height: 1.8;
}
.inline-info {
  font-size: 12px;
  line-height: 1.9;
  color: #8b9a7b;
  background: #f0f4e7;
  border: 1px solid #e0e8d6;
  padding: 12px 14px;
  border-radius: 7px;
}
.modal-layer {
  position: fixed;
  inset: 0;
  background: #092f2b66;
  backdrop-filter: blur(4px);
  z-index: 70;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 25px;
  overflow: auto;
}
.modal {
  background: var(--paper);
  border: 1px solid #fffefa;
  border-radius: 17px;
  box-shadow: 0 25px 100px #002d2840;
  width: 100%;
  max-width: 480px;
  padding: 26px;
  max-height: 90vh;
  overflow: auto;
  outline: none;
}
.modal-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 21px;
}
.modal-heading h2 {
  font: 29px/1.2 var(--serif);
  font-weight: 500;
  letter-spacing: -0.7px;
  margin: 0;
}
.modal-heading .icon-button {
  font-size: 26px;
  color: #8b9a7c;
}
.modal-intro {
  color: #87987a;
  font-size: 12px;
  line-height: 1.9;
  margin: 0 0 20px;
}
.wallet-option {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--surface);
  padding: 13px;
  text-align: left;
  margin-bottom: 9px;
  font-size: 12px;
}
.wallet-option:hover {
  border-color: #a4bf9a;
  background: #f0f5e9;
}
.wallet-option .wallet-letter {
  height: 34px;
  width: 34px;
  border-radius: 9px;
  background: #e2edd8;
  display: grid;
  place-items: center;
  font: 18px var(--serif);
}
.wallet-option span:nth-child(2) {
  flex: 1;
}
.wallet-option .wallet-arrow {
  color: #91a783;
}
.wallet-disclaimer {
  font-size: 12px;
  line-height: 1.9;
  color: #99a58b;
  margin: 19px 0 0;
}
.wallet-connected-box {
  padding: 17px;
  border: 1px solid #dce6d0;
  border-radius: 10px;
  background: #edf3e4;
  margin-bottom: 18px;
}
.wallet-connected-box .wallet-address {
  font:
    12px/1.9 ui-monospace,
    monospace;
  overflow-wrap: anywhere;
  color: #4c7550;
}
.wallet-connected-box small {
  color: #8fa17d;
  font-size: 12px;
  display: block;
  margin-bottom: 6px;
}
.toast-region {
  position: fixed;
  right: 25px;
  bottom: 25px;
  z-index: 90;
  display: grid;
  gap: 9px;
  width: min(370px, calc(100vw - 40px));
  pointer-events: none;
}
.toast {
  background: #123f38;
  color: #eff7e5;
  border: 1px solid #42745a;
  border-radius: 11px;
  padding: 14px 17px;
  font-size: 12px;
  line-height: 1.8;
  box-shadow: 0 8px 30px #143d2f20;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  pointer-events: auto;
  animation: toast-in 0.2s ease-out;
}
.toast.error {
  background: #784d3e;
  border-color: #a97b60;
}
.toast svg {
  width: 16px;
  height: 16px;
  margin-top: 2px;
  flex-shrink: 0;
}
.search-input {
  width: 100%;
  margin-bottom: 16px;
}
.search-result {
  display: flex;
  align-items: center;
  gap: 11px;
  text-align: left;
  padding: 12px;
  width: 100%;
  background: none;
  border-bottom: 1px solid #e6ebdc;
  font-size: 12px;
}
.search-result:hover {
  background: #eaf1df;
  border-radius: 6px;
}
.search-result span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.loading-line {
  height: 2px;
  position: fixed;
  top: 0;
  left: 252px;
  right: 0;
  z-index: 65;
  overflow: hidden;
  background: #d7e9d2;
}
.loading-line:after {
  content: "";
  display: block;
  position: absolute;
  width: 40%;
  height: 2px;
  background: #72a77d;
  animation: loading 1s ease-in-out infinite;
}
.task-budget {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #93a17f;
  font-size: 12px;
}
.task-budget svg {
  width: 12px;
  height: 12px;
}
.task-actions {
  display: flex;
  align-items: center;
  gap: 9px;
  padding-top: 5px;
}
.loading-state {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 9px;
  padding: 65px 20px;
  font-size: 12px;
  color: #8ea17f;
}
.spinner {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid #d7e4ce;
  border-top-color: #6e9f70;
  animation: spin 1s linear infinite;
}
.prompt-description {
  font-size: 12px;
  color: #8b9b7b;
  padding: 9px 2px 0;
}
.skeleton {
  height: 13px;
  background: #e9eedf;
  border-radius: 4px;
  margin: 10px 0;
  animation: pulse 1.5s ease-in-out infinite;
}
.schedule-text {
  white-space: pre-wrap;
  max-width: 620px;
}
.status-note {
  padding: 13px 16px;
  border: 1px solid #e5dfc9;
  border-radius: 8px;
  background: #f5f0df;
  font-size: 12px;
  color: #9a8350;
  line-height: 1.85;
  margin: 14px 0;
}
.muted {
  color: #98a88a;
}
.code-label {
  font-family: ui-monospace, monospace;
  font-size: 12px;
}
.task-row-status {
  margin-left: auto;
}
.project-heading-back {
  margin-bottom: 13px;
}
.busy-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.busy-button .spinner {
  width: 12px;
  height: 12px;
}
.empty-small {
  text-align: center;
  color: #9aa78c;
  font-size: 12px;
  padding: 28px 10px;
}
.capability-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 11px 0;
  border-bottom: 1px solid #e9efdf;
  font-size: 12px;
}
.capability-row:last-child {
  border-bottom: none;
}
.capability-state {
  font-size: 12px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #99a58c;
}
.capability-state.available {
  color: #6f9669;
}
.capability-state:before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
@keyframes loading {
  from {
    left: -40%;
  }
  to {
    left: 100%;
  }
}
@keyframes toast-in {
  from {
    transform: translateY(10px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
@keyframes pulse {
  50% {
    opacity: 0.5;
  }
}
@media (min-width: 1600px) {
  .home-layout {
    padding-top: 83px;
  }
  .welcome-header h1 {
    font-size: 61px;
  }
  .welcome-header {
    margin-bottom: 37px;
  }
  .composer textarea {
    min-height: 146px;
  }
  .home-layout {
    max-width: 1240px;
  }
  .suggestions {
    margin-bottom: 48px;
  }
  .context-card {
    min-height: 145px;
    padding: 24px;
  }
  .context-card h3 {
    font-size: 13px;
  }
  .context-card p {
    font-size: 12px;
  }
  .sidebar {
    width: 270px;
    padding-top: 33px;
  }
  .app-shell {
    margin-left: 270px;
  }
  .brand {
    font-size: 53px;
  }
  .loading-line {
    left: 270px;
  }
}
@media (max-width: 1200px) {
  .sidebar {
    width: 225px;
    padding-left: 15px;
    padding-right: 15px;
  }
  .app-shell {
    margin-left: 225px;
  }
  .brand {
    font-size: 45px;
    margin-left: 7px;
  }
  .workspace-name {
    font-size: 12px;
  }
  .workspace-name small {
    font-size: 12px;
  }
  .workspace-icon {
    display: none;
  }
  .topbar {
    padding-left: 28px;
    padding-right: 28px;
  }
  .topbar-actions {
    gap: 12px;
  }
  .home-layout {
    padding: 49px 36px 30px;
  }
  .welcome-header h1 {
    font-size: 46px;
  }
  .welcome-mascot {
    width: 110px;
    height: 115px;
    margin-right: 0;
  }
  .welcome-mascot:before {
    width: 105px;
    height: 105px;
  }
  .welcome-mascot .mascot-fallback {
    left: 17px;
    top: 25px;
    width: 75px;
    height: 70px;
  }
  .welcome-mascot .mascot-fallback:before {
    left: 22px;
    top: 32px;
    width: 5px;
    height: 13px;
    box-shadow: 21px 0 #063838;
  }
  .welcome-mascot .mascot-fallback:after {
    width: 18px;
    height: 19px;
  }
  .card-grid {
    grid-template-columns: 1fr 1fr;
  }
  .task-wrap {
    padding: 26px 22px;
  }
  .task-columns {
    grid-template-columns: minmax(0, 1fr);
    gap: 17px;
  }
  .conversation-panel,
  .work-panel {
    min-height: 0;
  }
  .messages {
    min-height: 0;
    max-height: 480px;
  }
  .work-empty {
    min-height: 230px;
  }
  .work-panel-body {
    max-height: 600px;
  }
  .task-title-row h1 {
    font-size: 30px;
  }
  .page-wrap {
    padding: 31px 30px;
  }
  .loading-line {
    left: 225px;
  }
  .topbar .agent-availability {
    display: none;
  }
  .task-actions {
    flex-wrap: wrap;
    justify-content: flex-end;
  }
  .settings-grid {
    grid-template-columns: 1fr;
  }
  .context-card {
    gap: 11px;
    padding: 17px;
  }
  .context-card p {
    font-size: 12px;
  }
  .context-card-icon {
    width: 31px;
    height: 34px;
  }
  .context-card-icon svg {
    width: 17px;
    height: 17px;
  }
  .service-banner {
    padding-left: 28px;
    padding-right: 28px;
  }
  .service-banner .banner-secondary {
    display: none;
  }
}
@media (max-width: 800px) {
  .sidebar {
    transform: translateX(-100%);
    transition: transform 0.2s ease;
    width: 252px;
  }
  .sidebar.open {
    transform: translateX(0);
  }
  .sidebar-scrim {
    position: fixed;
    inset: 0;
    background: #092f2b66;
    z-index: 29;
    backdrop-filter: blur(2px);
  }
  .app-shell {
    margin-left: 0;
  }
  .mobile-menu {
    display: flex;
  }
  .topbar {
    height: 65px;
    padding: 0 20px;
    gap: 14px;
  }
  .breadcrumb {
    margin-right: auto;
    font-size: 12px;
    gap: 9px;
  }
  .breadcrumb > span:first-child,
  .breadcrumb-divider {
    display: none;
  }
  .topbar-actions {
    gap: 11px;
  }
  .topbar-separator {
    display: none;
  }
  .search-button {
    display: none;
  }
  .wallet-button {
    padding: 8px 10px;
    font-size: 12px;
  }
  .wallet-button span {
    font-size: 13px;
  }
  .home-layout {
    padding: 43px 26px 30px;
    max-width: 730px;
  }
  .welcome-header h1 {
    font-size: 45px;
  }
  .welcome-header .intro {
    font-size: 12px;
    max-width: 390px;
  }
  .welcome-mascot {
    width: 105px;
    height: 110px;
  }
  .welcome-header {
    gap: 10px;
  }
  .service-banner {
    font-size: 12px;
    padding: 8px 20px;
  }
  .app-footer {
    padding: 17px 24px;
  }
  .page-wrap {
    padding: 31px 25px;
  }
  .page-heading h1 {
    font-size: 35px;
  }
  .page-heading p {
    font-size: 12px;
  }
  .task-wrap {
    padding: 27px 22px;
  }
  .task-columns {
    grid-template-columns: minmax(0, 1fr);
  }
  .task-title-row {
    gap: 15px;
  }
  .task-title-row h1 {
    font-size: 28px;
  }
  .task-actions .task-budget {
    display: none;
  }
  .task-title-row .secondary-button,
  .task-title-row .danger-button {
    padding: 8px 11px;
    font-size: 12px;
  }
  .usage-summary {
    gap: 10px;
  }
  .usage-metric {
    padding: 17px;
  }
  .usage-metric strong {
    font-size: 28px;
  }
  .loading-line {
    left: 0;
  }
  .sidebar-note {
    margin-bottom: 25px;
  }
  .card-grid {
    gap: 12px;
  }
  .modal {
    padding: 24px;
  }
  .composer-hint {
    font-size: 12px;
  }
  .context-cards {
    gap: 12px;
  }
  .suggestions {
    gap: 7px;
    margin-bottom: 32px;
  }
  .suggestion {
    padding: 8px 10px;
    font-size: 12px;
  }
  .suggestion-label {
    font-size: 12px;
  }
  .context-card p {
    max-width: 240px;
  }
  .task-meta {
    font-size: 12px;
  }
  .topbar-actions .agent-availability {
    display: none;
  }
}
@media (max-width: 520px) {
  .home-layout {
    padding: 34px 21px 23px;
  }
  .welcome-header {
    position: relative;
    align-items: flex-start;
  }
  .welcome-header h1 {
    font-size: 40px;
    line-height: 1.09;
    letter-spacing: -1.6px;
    margin-bottom: 14px;
    max-width: 310px;
  }
  .welcome-header .intro {
    font-size: 12px;
    max-width: 270px;
    line-height: 1.8;
  }
  .welcome-mascot {
    display: none;
  }
  .eyebrow {
    font-size: 12px;
    letter-spacing: 2.2px;
    margin-bottom: 15px;
  }
  .composer textarea {
    padding: 20px 18px 8px;
    font-size: 12px;
    min-height: 129px;
  }
  .composer-bottom {
    margin: 0 11px;
    padding: 11px 0;
    gap: 6px;
  }
  .composer-tools {
    gap: 4px;
  }
  .tool-divider {
    margin: 0 2px;
  }
  .auto-chip {
    font-size: 12px;
    padding: 6px 7px;
    gap: 5px;
  }
  .budget-chip {
    font-size: 12px;
    padding: 5px;
    gap: 3px;
  }
  .budget-chip svg {
    display: none;
  }
  .composer-submit {
    padding: 10px 11px;
    gap: 10px;
    font-size: 12px;
  }
  .attach-button {
    width: 25px;
    height: 27px;
  }
  .attach-button svg {
    width: 17px;
    height: 17px;
  }
  .composer-hint > span:last-child {
    display: none;
  }
  .suggestions {
    margin-top: 18px;
    margin-bottom: 30px;
    gap: 7px;
  }
  .suggestion-label {
    display: none;
  }
  .suggestion {
    font-size: 12px;
    padding: 7px 10px;
  }
  .context-cards {
    grid-template-columns: 1fr;
  }
  .context-card {
    padding: 18px;
    min-height: 109px;
    gap: 14px;
  }
  .context-card-icon {
    width: 35px;
    height: 37px;
  }
  .context-card p {
    max-width: 245px;
  }
  .home-section-title h2 {
    font-size: 21px;
  }
  .recent-section {
    margin-top: 27px;
  }
  .empty-inline {
    font-size: 12px;
    padding: 15px 0;
  }
  .app-footer {
    font-size: 12px;
    padding: 18px 21px;
  }
  .app-footer button {
    font-size: 12px;
  }
  .page-wrap {
    padding: 29px 21px;
  }
  .page-heading {
    gap: 15px;
    margin-bottom: 23px;
    flex-wrap: wrap;
  }
  .page-heading h1 {
    font-size: 34px;
  }
  .page-heading p {
    font-size: 12px;
  }
  .page-heading .primary-button,
  .page-heading .secondary-button {
    font-size: 12px;
    padding: 9px 12px;
    min-height: 34px;
  }
  .card-grid {
    grid-template-columns: 1fr;
  }
  .row-list .list-row {
    padding: 15px 13px;
    gap: 10px;
  }
  .row-main h3 {
    font-size: 12px;
  }
  .row-main p {
    font-size: 12px;
  }
  .row-actions {
    gap: 1px;
  }
  .row-icon {
    width: 30px;
    height: 34px;
  }
  .row-actions .icon-button {
    width: 28px;
    height: 28px;
  }
  .row-actions svg {
    width: 16px;
    height: 16px;
  }
  .usage-summary {
    grid-template-columns: 1fr 1fr;
  }
  .usage-metric {
    padding: 17px;
  }
  .usage-metric:last-child {
    grid-column: span 2;
  }
  .usage-metric strong {
    font-size: 29px;
  }
  .usage-metric span {
    font-size: 12px;
  }
  .usage-metric small {
    font-size: 12px;
  }
  .task-wrap {
    padding: 26px 16px;
  }
  .task-title-row {
    flex-wrap: wrap;
  }
  .task-title-row h1 {
    font-size: 29px;
  }
  .task-title-row .task-actions {
    padding: 0;
  }
  .task-actions .task-budget {
    display: flex;
  }
  .task-columns {
    gap: 15px;
  }
  .panel-top {
    padding: 0 16px;
    gap: 18px;
  }
  .messages {
    padding: 20px 15px;
    max-height: 500px;
  }
  .message {
    gap: 8px;
  }
  .message-content {
    padding: 11px 12px;
    font-size: 12px;
  }
  .message-avatar {
    width: 23px;
    height: 23px;
  }
  .followup-area {
    padding: 10px 11px 13px;
  }
  .work-panel-body {
    padding: 18px 16px;
  }
  .task-meta {
    gap: 7px;
    flex-wrap: wrap;
  }
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .modal-layer {
    padding: 16px;
  }
  .modal {
    padding: 21px;
    border-radius: 14px;
  }
  .modal-heading h2 {
    font-size: 27px;
  }
  .empty-panel {
    padding: 43px 20px;
  }
  .empty-panel h2 {
    font-size: 23px;
  }
  .empty-panel p {
    font-size: 12px;
  }
  .settings-card {
    padding: 21px;
  }
  .preview-notice {
    font-size: 12px;
    padding: 12px 14px;
  }
  .attachment-list {
    padding-left: 18px;
    padding-right: 18px;
  }
  .topbar {
    padding: 0 15px;
    gap: 9px;
  }
  .breadcrumb {
    font-size: 12px;
  }
  .wallet-button {
    font-size: 12px;
    padding: 8px 9px;
    gap: 8px;
  }
  .service-banner {
    padding: 8px 16px;
    font-size: 12px;
    gap: 6px;
  }
  .service-banner svg {
    width: 11px;
    height: 11px;
  }
  .toast-region {
    right: 16px;
    bottom: 16px;
    width: calc(100vw - 32px);
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    scroll-behavior: auto !important;
    animation: none !important;
    transition: none !important;
  }
}

.nav-button[aria-current="page"] {
  background: #ffffff12;
  color: #fffef0;
}
.message-content pre {
  background: #103b35;
  color: #dcead1;
  padding: 13px;
  border-radius: 7px;
  overflow: auto;
  font:
    12px/1.8 ui-monospace,
    monospace;
  white-space: pre;
  max-width: 100%;
  margin: 10px 0;
}
.message-content p {
  margin: 0 0 11px;
}
.message-content p:last-child {
  margin-bottom: 0;
}
.message-content h3 {
  font: 19px/1.4 var(--serif);
  margin: 16px 0 8px;
  font-weight: 550;
}
.message-content ul {
  padding-left: 18px;
  margin: 8px 0 13px;
}
.message-content li {
  margin: 4px 0;
}
.message-content code {
  font-family: ui-monospace, monospace;
  font-size: 12px;
}
.memory-scope svg {
  width: 11px;
  height: 11px;
}

/* Public-site links and clearer task handoff. */
.workspace-links { display: flex; gap: 17px; margin: 20px 12px 5px; font-size: 12px; color: #c2e8d9; }
.workspace-links a { text-decoration: none; }
.workspace-links a:hover { color: #fffef9; text-decoration: underline; text-underline-offset: 4px; }
.workspace-links span { padding-left: 3px; }
.topbar-docs { font-size: 12px; text-decoration: none; color: #526e67; }
.topbar-docs:hover { color: var(--petrol); text-decoration: underline; }
.starter-note { display: flex; align-items: flex-start; gap: 11px; margin-bottom: 15px; padding: 14px 18px; border: 1px solid #cbded0; border-radius: 12px; background: var(--mint-soft); }
.starter-note svg { width: 18px; margin-top: 2px; }
.starter-note strong, .starter-note span { display: block; }
.starter-note strong { font-size: 12px; margin-bottom: 3px; }
.starter-note span { color: #58736a; font-size: 12px; }
.message.agent .message-content { white-space: normal; overflow-wrap: anywhere; }
.message-content h2, .message-content h3, .message-content h4 { font: 600 20px/1.35 var(--serif); margin: 20px 0 10px; }
.message-content h2:first-child, .message-content h3:first-child, .message-content h4:first-child { margin-top: 0; }
.message-content ol { padding-left: 22px; }
.message-content blockquote { margin: 12px 0; padding: 8px 15px; border-left: 3px solid #9cbfb0; background: #edf2e9; }
.message-content blockquote p:last-child { margin-bottom: 0; }
.message-content a { color: #126d61; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.message-content :not(pre) > code { padding: 2px 5px; background: #eaf0e7; border-radius: 4px; color: #244e43; font-size: .88em; }
.output-code { margin: 14px 0; border: 1px solid #184d44; border-radius: 10px; overflow: hidden; background: #103b35; }
.output-code-header { display: flex; gap: 12px; align-items: center; padding: 9px 13px; color: #cee6d9; background: #16473f; font: 12px/1.4 var(--sans); }
.output-code-language { flex: 1; text-transform: lowercase; }
.output-copy { border: 1px solid #749a8780; border-radius: 5px; padding: 3px 9px; background: transparent; color: #edfff5; font: inherit; }
.output-copy:hover { background: #ffffff12; }
.output-copy-status { color: #d4e7cc; font-size: 12px; }
.message-content .output-code pre { margin: 0; border-radius: 0; padding: 15px; font-size: 12px; }
.output-table-wrap { overflow-x: auto; margin: 14px 0; border: 1px solid var(--line); border-radius: 8px; }
.message-content table { border-collapse: collapse; width: 100%; font-size: 12px; }
.message-content th, .message-content td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.message-content th { background: #eaf2e8; font-weight: 600; }
.message-content tr:last-child td { border-bottom: 0; }
.output-truncated { margin-top: 12px; padding: 12px; background: #f4efdf; color: #6e6143; font-size: 12px; }
@media (max-width: 600px) { .topbar-docs { display: none; } .output-copy-status { max-width: 120px; } }

/* One heading system across the product; the Neyru wordmark keeps its serif. */
.welcome-header h1,.page-heading h1,.task-title-row h1,
.home-section-title h2,.section-label h2,.settings-card h2,.empty-panel h2,
.modal-heading h2,.message-content h2,.message-content h3,.message-content h4 {
  font-family:var(--sans);font-weight:550;letter-spacing:-.035em;
}
.welcome-header h1 {font-size:clamp(36px,4vw,50px);line-height:1.12;letter-spacing:-.045em;}
.welcome-header h1 em {font-style:normal;font-weight:550;color:#138176;}
.welcome-header .intro {font-size:14px;color:#587168;line-height:1.8;}
.welcome-mascot:before,.welcome-mascot .mascot-spark {display:none;}
.eyebrow {color:#577368;letter-spacing:.14em;line-height:1.6;}
.service-banner {flex-wrap:wrap;font-size:12px;line-height:1.6;padding-top:11px;padding-bottom:11px;}
.service-banner .banner-secondary {opacity:1;}
.composer-context,.composer-hint,.starter-note span,.page-heading p {color:#5c7469;}
.context-card p,.page-heading p,.empty-panel p {font-size:14px;line-height:1.75;}
.context-card h3 {font-size:15px;line-height:1.45;}
.attachment-pill {max-width:100%;}
.attachment-name {overflow-wrap:anywhere;}
@media(max-width:650px) {
  .welcome-header {align-items:flex-start;gap:10px;}
  .welcome-header .intro {font-size:14px;}
  .welcome-mascot {width:78px;height:100px;}
  .welcome-mascot .mascot-fallback {width:70px;height:70px;left:0;top:10px;}
  .home-layout {padding-top:32px;}
  .composer-tools {flex-wrap:wrap;}
  input,textarea,select {font-size:16px;}
}

/* Inline controls belong to the current task and keep the answer in view. */
.task-controls{padding:0 22px 20px;display:grid;gap:16px}
.task-control-card{border:1px solid #9bc7b6;border-radius:12px;background:#eef6ef;padding:20px;min-width:0}
.task-control-heading{font:600 17px/1.4 var(--sans);letter-spacing:-.02em;margin:0 0 10px;color:var(--petrol)}
.task-control-detail{font-size:14px;line-height:1.75;color:#3c6152;margin:8px 0 14px;white-space:pre-wrap;overflow-wrap:anywhere}
.task-control-command{background:#103b35;color:#e8f5eb;border-radius:8px;padding:15px;font:13px/1.7 ui-monospace,Consolas,monospace;white-space:pre-wrap;overflow-wrap:anywhere;max-height:360px;overflow:auto}
.task-control-card textarea{width:100%;resize:vertical;min-height:100px;background:var(--surface);font-size:15px;line-height:1.65}
.task-control-choices{display:flex;flex-wrap:wrap;gap:8px;margin:14px 0}
.task-control-choices .secondary-button{white-space:normal;text-align:left;overflow-wrap:anywhere;max-width:100%}
.task-control-state{font-size:14px;line-height:1.7;color:#365f4c;margin:10px 0 0}
.task-control-card .form-actions{justify-content:flex-start;flex-wrap:wrap;margin-top:14px}
.task-control-card .inline-error{font-size:13px}
@media(max-width:650px){.task-controls{padding:0 15px 16px}.task-control-card{padding:17px}.task-control-card textarea{font-size:16px}}

/* Keep account access visible as labels become easier to read. */
.sidebar .brand{margin-bottom:20px}
.workspace-switch{margin-bottom:16px}
.sidebar-section{margin-top:20px}
.sidebar-note{margin:16px 12px 18px}
.sidebar-spacer{min-height:12px}
.workspace-links{flex-wrap:wrap;gap:9px 14px;line-height:1.5}
.workspace-links a{white-space:nowrap}
@media(min-height:800px){.sidebar{overflow-y:hidden}.sidebar>*{flex-shrink:0}.sidebar-projects{flex:1 1 auto;min-height:48px;overflow-y:auto}.sidebar-spacer{flex:0;min-height:8px}}
@media(max-height:850px){.sidebar-note{display:none}.sidebar{padding-top:20px}.sidebar .brand{margin-bottom:17px}.sidebar-section{margin-top:16px}}
