/* The public trial follows the product shell; its synthetic engine stays isolated. */
:root {
  --green: #254d36;
  --deep: #193825;
  --bg: #f8faf7;
  --ink: #3e5634;
  --line: #e3e9de;
  font-family: "Segoe UI", Arial, sans-serif;
}
.shell {
  grid-template-columns: 244px minmax(0, 1fr);
}
.sidebar {
  background: #fff;
  color: var(--ink);
  border-right: 1px solid var(--line);
  padding: 30px 14px 0;
}
.brand {
  padding: 0 11px 32px;
  gap: 10px;
  font-size: 1.45rem;
  font-weight: 750;
}
.brandmark,
.mobile-brand svg {
  display: block;
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #254d36;
  color: #e0edb6;
}
.brand small {
  color: #7f8a7e;
  font-size: 0.59rem;
  letter-spacing: 1.7px;
}
.nav-label {
  color: #8c988d;
  padding-inline: 12px;
  font-size: 0.68rem;
  letter-spacing: 1.6px;
}
.nav-button {
  color: #607551;
  font-size: 0.87rem;
  min-height: 47px;
  gap: 12px;
}
.nav-button svg {
  width: 18px;
  height: 18px;
}
.nav-button.active {
  color: #425937;
  background: #eef3e8;
  box-shadow: none;
  font-weight: 650;
}
.nav-button:hover {
  background: #f1f5ec;
  color: #425937;
}
.sidebar-bottom {
  border-top: 1px solid var(--line);
  padding-top: 8px;
  margin-top: auto;
}
.household-shortcut {
  display: flex;
  align-items: center;
  gap: 9px;
  text-align: left;
  min-height: 76px;
  padding: 16px 5px;
  border-top: 1px solid var(--line);
  width: 100%;
}
.household-shortcut > span:last-child {
  min-width: 0;
}
.household-shortcut strong {
  display: block;
  font-size: 0.8rem;
}
.household-shortcut small {
  display: block;
  font-size: 0.67rem;
  color: var(--muted);
  line-height: 1.5;
}
.avatars {
  display: flex;
  padding-right: 3px;
}
.avatars span {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 2px solid white;
  border-radius: 50%;
  background: #eadbc9;
  color: #876c48;
  font-size: 0.65rem;
  font-weight: 600;
}
.avatars span + span {
  margin-left: -9px;
  background: #dce5cf;
  color: #66784d;
}
.topbar {
  min-height: 73px;
  height: auto;
  background: white;
  padding: 12px 34px;
}
.topbar-actions {
  gap: 12px;
}
.top-action {
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
}
.top-action svg {
  width: 17px;
  height: 17px;
}
.profile-button {
  gap: 6px;
  font-size: 0.78rem;
  max-width: none;
}
.profile-button svg {
  width: 17px;
  height: 17px;
}
.profile-button svg:last-child {
  width: 12px;
  height: 12px;
  opacity: 0.65;
}
.demo-note {
  margin-bottom: 18px;
}
.demo-note p {
  color: #718168;
}
.premium-action {
  position: relative;
}
.action-lock {
  display: inline-flex;
  align-items: center;
  flex: none;
  opacity: 0.75;
  margin-left: 3px;
}
.action-lock svg {
  width: 13px;
  height: 13px;
}
.icon-button.premium-action {
  gap: 2px;
}
.icon-button.premium-action > svg {
  width: 17px;
}
.icon-button.premium-action .action-lock svg {
  width: 10px;
  height: 10px;
}
#lock-hint {
  position: fixed;
  z-index: 1000;
  max-width: min(260px, calc(100vw - 16px));
  padding: 10px 13px;
  border: 1px solid #dbe4d4;
  border-radius: 10px;
  background: white;
  color: #425937;
  font:
    500 13px/1.5 "Segoe UI",
    Arial,
    sans-serif;
  box-shadow: 0 4px 20px #24362c20;
  pointer-events: none;
}
#lock-hint[hidden] {
  display: none;
}
.demo-guide {
  padding: 22px 24px;
  border: 1px solid #dce6d2;
  border-radius: 14px;
  background: #f3f7ee;
  margin-bottom: 26px;
}
.guide-heading {
  display: flex;
  gap: 12px;
  justify-content: space-between;
  align-items: center;
}
.guide-heading .eyebrow {
  margin-bottom: 5px;
}
.guide-heading h2 {
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}
.guide-heading .icon-button {
  width: 36px;
  height: 36px;
}
.guide-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 18px 0;
}
.guide-step {
  display: flex;
  gap: 10px;
  align-items: center;
  text-align: left;
  border: 1px solid #e0e7d8;
  border-radius: 10px;
  min-height: 54px;
  padding: 10px 12px;
  background: #fff;
  font-size: 0.83rem;
  line-height: 1.4;
}
.guide-step.current {
  border-color: #9ab882;
  background: #edf5e5;
}
.step-number {
  display: grid;
  place-items: center;
  flex: none;
  border-radius: 50%;
  width: 28px;
  height: 28px;
  background: #eaf0e3;
  color: #587549;
  font-size: 0.9rem;
  font-weight: 650;
}
.step-number svg {
  width: 16px;
  height: 16px;
}
.demo-guide > p {
  font-size: 0.87rem;
  color: #6a7e5c;
  max-width: 780px;
  line-height: 1.65;
}
.guide-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
}
.guide-actions small {
  margin-left: auto;
  color: #7b8b6f;
  font-size: 0.72rem;
}
.guide-collapsed {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: #6a7e5c;
  padding: 8px 0 16px;
}
.guide-collapsed svg {
  width: 18px;
  height: 18px;
}
.guide-collapsed .text-button {
  margin-left: auto;
}
.section-guide {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  margin-bottom: 23px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fff;
}
.section-guide > svg {
  flex: none;
  width: 18px;
  height: 18px;
  color: #8ca179;
}
.section-guide p {
  font-size: 0.79rem;
  color: #7d8b70;
  flex: 1;
  line-height: 1.6;
}
.section-guide .text-button {
  font-size: 0.78rem;
}
.expense-outcome {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 20px;
  flex-wrap: wrap;
  background: white;
  border-radius: 10px;
  padding: 16px;
}
.expense-outcome small {
  display: block;
  color: #7d8b70;
  font-size: 0.76rem;
  max-width: 240px;
  overflow-wrap: anywhere;
}
.expense-outcome strong {
  display: block;
  font-size: 1.3rem;
  letter-spacing: -0.03em;
}
.metric.featured {
  background: #254d36;
  color: #fff;
  border-color: #254d36;
}
.metric.featured .metric-top,
.metric.featured small,
.metric.featured svg {
  color: #d4e2cb;
}
.tool-grid {
  display: grid;
  gap: 12px;
}
.plan-panel,
.padded-copy,
.person-card,
.telegram-demo {
  padding: 26px;
}
.plan-panel > p,
.padded-copy > p,
.telegram-demo > p {
  margin: 14px 0 20px;
  color: #7d8b70;
  font-size: 0.9rem;
  line-height: 1.8;
}
.plan-line {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 19px 0;
  border-bottom: 1px solid var(--line);
}
.plan-line > div {
  flex: 1;
  min-width: 0;
}
.plan-line small {
  display: block;
  color: #7d8b70;
  font-size: 0.8rem;
}
.person-card h2 {
  margin: 15px 0 7px;
}
.person-card small {
  display: block;
  margin: 5px 0 20px;
  color: #7d8b70;
}
.person-card .avatar {
  width: 44px;
  height: 44px;
}
.message-preview {
  padding: 20px;
  border: 1px solid #dce9e6;
  border-radius: 10px;
  background: #eef5f4;
  margin: 20px 0;
}
.message-preview small {
  display: block;
  margin-bottom: 10px;
  font-size: 0.65rem;
  letter-spacing: 1px;
  color: #78998f;
}
.message-preview p {
  font-size: 0.85rem;
  color: #699183;
  margin-top: 8px;
}
.search-result {
  display: block;
  width: 100%;
  text-align: left;
  min-height: 50px;
  border-bottom: 1px solid var(--line);
  padding: 12px;
}
.search-result small {
  display: block;
  color: var(--muted);
  font-size: 0.75rem;
}
.search-result:hover {
  background: var(--tint);
}
.help-copy > p {
  margin-bottom: 20px;
  line-height: 1.8;
}
.locked-hero p {
  max-width: 42ch;
  margin: 12px auto 20px;
}
footer {
  gap: 12px;
  flex-wrap: wrap;
}
@media (max-width: 1100px) and (min-width: 701px) {
  .shell {
    grid-template-columns: 218px minmax(0, 1fr);
  }
  .topbar {
    padding-inline: 22px;
  }
  .topbar-leading > .demo-pill {
    display: none;
  }
  .topbar-actions {
    gap: 8px;
  }
  .topbar-title {
    max-width: 120px;
  }
  .guide-step {
    padding: 10px 8px;
    gap: 7px;
  }
}
@media (max-width: 700px) {
  .shell {
    display: block;
  }
  .topbar {
    flex-wrap: wrap;
    padding: 9px 14px;
    gap: 4px 8px;
  }
  .topbar-leading {
    width: 100%;
    justify-content: flex-start;
  }
  .topbar-actions {
    width: 100%;
    justify-content: flex-end;
    gap: 16px;
  }
  .topbar-actions .profile-button {
    min-width: 80px;
  }
  .profile-button > span:last-child {
    display: inline;
  }
  .top-action {
    min-height: 36px;
  }
  .profile-button {
    min-height: 36px;
  }
  .mobile-brand {
    font-size: 1.1rem;
  }
  .mobile-brand svg {
    width: 29px;
    height: 29px;
  }
  .mobile-menu {
    width: 35px;
    height: 35px;
  }
  #workspace {
    padding: 18px 14px;
  }
  .demo-note {
    gap: 7px;
    margin-bottom: 15px;
  }
  .demo-note p {
    font-size: 0.75rem;
  }
  .demo-guide {
    padding: 16px;
    margin-bottom: 20px;
  }
  .guide-heading h2 {
    font-size: 1.07rem;
  }
  .guide-steps {
    gap: 5px;
    margin: 14px 0;
  }
  .guide-step {
    flex-direction: column;
    gap: 5px;
    align-items: flex-start;
    min-height: 77px;
    padding: 10px 8px;
    font-size: 0.72rem;
  }
  .step-number {
    width: 25px;
    height: 25px;
    font-size: 0.8rem;
  }
  .guide-actions {
    gap: 6px 12px;
  }
  .guide-actions small {
    margin-left: 0;
    width: 100%;
  }
  .guide-actions > .button {
    width: 100%;
  }
  .demo-guide > p {
    font-size: 0.82rem;
  }
  .section-guide {
    flex-wrap: wrap;
    padding: 12px;
    gap: 5px 8px;
  }
  .section-guide p {
    min-width: 0;
    font-size: 0.77rem;
  }
  .section-guide .text-button {
    margin-left: 26px;
    min-height: 36px;
  }
  .guide-collapsed {
    flex-wrap: wrap;
    font-size: 0.75rem;
  }
  .guide-collapsed .text-button {
    font-size: 0.75rem;
  }
  .expense-outcome {
    gap: 8px 10px;
    padding: 12px;
  }
  .expense-outcome strong {
    font-size: 1.05rem;
  }
  .expense-outcome small {
    max-width: 170px;
  }
  .plan-panel,
  .padded-copy,
  .person-card,
  .telegram-demo {
    padding: 20px;
  }
  .plan-line {
    flex-wrap: wrap;
  }
  .plan-line > b {
    margin-left: 40px;
  }
  .navigation-dialog[open] {
    background: #fff;
    color: var(--ink);
  }
  .household-shortcut {
    padding: 14px 4px;
  }
  .drawer-heading {
    color: var(--green);
  }
  .profile-button > span {
    display: block !important;
    font-size: 0.75rem;
  }
  .topbar-actions .language summary {
    min-height: 36px;
    padding: 5px 8px;
  }
}
