.topbar .top-account.account-button {
  display: flex;
  border: 1px solid #cbd6cc;
  border-radius: 22px;
  background: #f9faf5;
  padding: 6px 11px 6px 6px;
  color: #254e45;
  gap: 7px;
  cursor: pointer;
  white-space: nowrap;
  min-height: 38px;
}
.account-button:hover {
  border-color: #648b73;
  background: #eef3e9;
}
.account-button > span:last-child {
  max-width: 120px;
  overflow: hidden;
  text-overflow: ellipsis;
}
.topbar .save-status {
  border: 0;
  background: none;
  padding: 5px;
  cursor: pointer;
  max-width: 215px;
  line-height: 1.4;
  text-align: left;
}
.save-status.needs-attention {
  color: #926026;
}
.save-status.needs-attention .dot {
  background: #bf8439;
}
.workspace-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 15px;
}
.workspace-toggle {
  display: flex;
  background: #eaece2;
  padding: 3px;
  border-radius: 10px;
  gap: 3px;
}
.workspace-toggle button {
  border: 0;
  background: transparent;
  border-radius: 7px;
  padding: 8px 15px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  color: #657161;
}
.workspace-toggle button[aria-pressed='true'] {
  background: #fffef8;
  color: #244f45;
  box-shadow: 0 1px 4px #173c3d0e;
}
.guide-button {
  display: flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: 0;
  color: #335b4d;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  padding: 8px 0;
}
.guide-button:hover {
  text-decoration: underline;
}
.flow-nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: #d8dfd0;
  border: 1px solid #d8dfd0;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 28px;
}
.flow-nav button {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 0;
  background: #f8f9f2;
  color: #5e705c;
  padding: 12px 16px;
  font-weight: 600;
  font-size: 12px;
  text-align: left;
  cursor: pointer;
  line-height: 1.4;
}
.flow-nav button > span {
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: #e6eadc;
  font-size: 11px;
  flex-shrink: 0;
}
.flow-nav button > svg {
  margin-left: auto;
  flex-shrink: 0;
}
.flow-nav button.active,
.flow-nav button:hover {
  background: #e9efe3;
  color: #244e42;
}
.flow-nav button.active > span {
  background: #2d5d4c;
  color: #fff;
}
.account-callout {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 15px 17px;
  border: 1px solid #dce4d2;
  background: #f2f6e9;
  border-radius: 10px;
  margin-bottom: 22px;
  font-size: 12px;
  line-height: 1.6;
  color: #496242;
}
.account-callout > span {
  display: flex;
  align-items: center;
  gap: 12px;
}
.account-callout > span > svg {
  flex-shrink: 0;
}
.account-callout .button {
  flex-shrink: 0;
  white-space: nowrap;
}
.account-callout.attention {
  border-color: #e3c78c;
  background: #fff5dc;
  color: #7b5e2c;
}
.account-identity {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 23px;
  padding-bottom: 22px;
  border-bottom: 1px solid #dfe5d6;
}
.account-identity > svg {
  color: #3a7057;
  flex-shrink: 0;
}
.account-identity > div {
  flex: 1;
  min-width: 0;
}
.account-identity h3 {
  font-size: 18px;
  margin-bottom: 4px;
}
.account-identity p {
  font-size: 12px;
  overflow-wrap: anywhere;
  color: #6b7966;
}
.account-save-card {
  background: #eef4e7;
  border: 1px solid #dbe5d2;
  padding: 19px;
  border-radius: 11px;
  margin-bottom: 22px;
}
.account-save-card > strong {
  font-size: 15px;
  color: #365c43;
}
.account-save-card p,
.account-import p {
  font-size: 13px;
  line-height: 1.75;
  margin: 8px 0 16px;
  color: #61715a;
}
.account-import {
  margin: 15px 0 23px;
  border-bottom: 1px solid #e0e7d6;
  padding-bottom: 22px;
}
.account-import h3 {
  font-size: 16px;
}
.login-illustration {
  margin: 0 auto 16px;
  display: grid;
  place-items: center;
  background: #e8efdf;
  color: #315c46;
  width: 74px;
  height: 74px;
  border-radius: 50%;
}
.login-title {
  text-align: center;
  font-size: 23px;
  color: #2b5041;
  margin-bottom: 10px;
}
.account-modal > .body-text {
  text-align: center;
  line-height: 1.8;
  max-width: 420px;
  margin: 0 auto 25px;
}
.google-signin {
  display: flex;
  justify-content: center;
  min-height: 12px;
  margin: 0 auto 10px;
  max-width: 100%;
  overflow: hidden;
}
.account-benefits {
  list-style: none;
  padding: 0;
  margin: 20px 0;
  color: #5d7154;
  font-size: 12px;
  line-height: 1.6;
}
.account-benefits li {
  display: flex;
  gap: 8px;
  align-items: center;
  margin: 11px 0;
}
.account-modal .hint {
  line-height: 1.7;
}
.account-modal .source-info a {
  color: #2e6850;
  text-decoration: underline;
}
.account-modal .modal-bottom {
  margin-top: 22px;
}
.account-button:focus-visible,
.workspace-toggle button:focus-visible,
.flow-nav button:focus-visible,
.guide-button:focus-visible,
.save-status:focus-visible {
  outline: 3px solid #cbad67;
  outline-offset: 3px;
}
@media (max-width: 1100px) {
  .topbar .save-status {
    max-width: 145px;
    font-size: 11px;
  }
  .top-controls {
    gap: 10px;
  }
  .flow-nav button {
    padding: 11px 12px;
    gap: 7px;
  }
}
@media (max-width: 700px) {
  .topbar {
    padding-left: 14px;
    padding-right: 14px;
  }
  .topbar .save-status {
    display: none;
  }
  .topbar .top-account.account-button {
    font-size: 11px;
    padding: 5px 8px 5px 5px;
    gap: 5px;
    min-height: 34px;
  }
  .account-button .account-icon {
    width: 24px;
    height: 24px;
  }
  .account-button > span:last-child {
    max-width: 75px;
  }
  .top-controls {
    gap: 6px;
  }
  .topbar .lang-toggle svg {
    display: none;
  }
  .topbar .lang-toggle select {
    max-width: 75px;
    font-size: 11px;
  }
  .workspace-toolbar {
    gap: 8px;
    margin-bottom: 12px;
  }
  .workspace-toggle button {
    font-size: 11px;
    padding: 7px 10px;
  }
  .guide-button {
    font-size: 11px;
  }
  .flow-nav {
    margin-bottom: 22px;
    border-radius: 9px;
  }
  .flow-nav button {
    padding: 9px 8px;
    gap: 5px;
    font-size: 10px;
  }
  .flow-nav button > span {
    width: 19px;
    height: 19px;
    font-size: 10px;
  }
  .flow-nav button > svg {
    display: none;
  }
  .sample-strip {
    margin-bottom: 17px;
    font-size: 11px;
  }
  .sample-strip button {
    font-size: 10px;
  }
  .account-callout {
    padding: 12px;
    gap: 11px;
    align-items: flex-start;
    flex-direction: column;
    font-size: 11px;
  }
  .account-callout .button {
    align-self: flex-end;
  }
  .login-title {
    font-size: 21px;
  }
  .account-save-card {
    padding: 15px;
  }
  .account-identity h3 {
    font-size: 17px;
  }
  .account-identity .tag {
    font-size: 9px;
  }
  .account-save-card .button-row {
    align-items: stretch;
    flex-direction: column;
  }
  .account-modal .modal-bottom {
    flex-wrap: wrap;
  }
}
