body[data-section="account"] {
  --account-max: 1480px;
  --account-pad: clamp(18px, 2vw, 28px);
}

body[data-section="account"] .z-layout {
  margin-top: 16px;
  width: 100%;
  max-width: none;
  padding: 0;
}

body[data-section="account"] .z-account-page {
  width: 100%;
  max-width: none;
  display: grid;
  gap: 16px;
}

body[data-section="account"] .z-account-layout {
  margin-top: 16px;
  width: 100%;
  max-width: none;
  padding: 0;
}

body[data-section="account"] .z-account-main {
  width: 100%;
  max-width: none;
  display: block;
  gap: 0;
}

body[data-section="account"] .z-account-wide {
  width: calc(100% - (var(--account-pad) * 2));
  max-width: none;
  margin: 0 auto;
  display: grid;
  gap: 16px;
}

body[data-section="account"] .z-account-hero {
  border: 1px solid #e9edf3;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(17, 24, 39, 0.07);
  padding: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

body[data-section="account"][data-page="account-dashboard"] .z-account-hero {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 18px;
  align-items: start;
  justify-content: normal;
}

body[data-section="account"][data-page="account-dashboard"] .z-account-hero.z-account-hero--single {
  grid-template-columns: 1fr;
}

body[data-section="account"][data-page="account-dashboard"] .z-account-hero__main {
  min-width: 0;
  max-width: none;
  margin: 0;
  justify-self: start;
}

body[data-section="account"][data-page="account-dashboard"] .z-account-hero__side {
  justify-self: end;
  width: min(100%, 360px);
}

body[data-section="account"][data-page="account-dashboard"] .z-dashboard-hero-metrics {
  margin-top: 6px;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 10px;
}

body[data-section="account"][data-page="account-dashboard"] .z-dashboard-hero-metric {
  min-height: 44px;
  min-width: 146px;
  border: 1px solid #dde6f3;
  border-radius: 11px;
  background: #f9fbff;
  padding: 8px 10px;
  text-decoration: none;
  color: inherit;
  display: grid;
  gap: 2px;
  align-content: center;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

body[data-section="account"][data-page="account-dashboard"] .z-dashboard-hero-metric:hover {
  border-color: #cbd9ee;
  background: #f3f7ff;
}

body[data-section="account"][data-page="account-dashboard"] .z-dashboard-hero-metric:focus-visible {
  outline: 2px solid #93b6f7;
  outline-offset: 2px;
}

body[data-section="account"][data-page="account-dashboard"] .z-dashboard-hero-metric__label {
  font-size: 12px;
  color: #64748b;
  line-height: 1.2;
}

body[data-section="account"][data-page="account-dashboard"] .z-dashboard-hero-metric__value {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  color: #0f172a;
}

body[data-section="account"] .z-account-hero__title {
  margin: 0;
  font-size: clamp(34px, 4vw, 48px);
  line-height: 1.03;
  letter-spacing: -0.03em;
  color: #111b3d;
}

body[data-section="account"] .z-account-hero__desc {
  margin: 6px 0 0;
  color: #4b5b80;
  font-size: 17px;
}

body[data-section="account"] .z-account-userchip {
  border: 1px solid #e9edf3;
  border-radius: 14px;
  background: #fff;
  min-width: 220px;
  padding: 12px;
  display: grid;
  gap: 4px;
  font-size: 14px;
}

body[data-section="account"] .z-account-userchip strong {
  color: #1d2b4f;
  font-size: 15px;
}

body[data-section="account"] .z-account-shell {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  align-items: start;
}

body[data-section="account"] .z-account-sidebar,
body[data-section="account"] .z-account-content,
body[data-section="account"] .z-account-card {
  border: 1px solid #e9edf3;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(17, 24, 39, 0.07);
}

body[data-section="account"] .z-account-sidebar {
  display: none;
  padding: 14px;
  position: sticky;
  top: 88px;
}

body[data-section="account"] .z-account-nav {
  display: grid;
  gap: 8px;
}

body[data-section="account"] .z-account-nav__link {
  min-height: 42px;
  border-radius: 12px;
  border: 1px solid #e9edf3;
  background: #fff;
  color: #1f2937;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  padding: 0 12px;
  transition: border-color 0.15s ease, background 0.15s ease;
}

body[data-section="account"] .z-account-nav__link:hover {
  border-color: #dbe3ee;
  background: #f8fafc;
}

body[data-section="account"] .z-account-nav__link.is-active {
  border-color: #b9c8df;
  background: #f4f8ff;
  color: #10224b;
}

body[data-section="account"] .z-account-content {
  padding: 16px;
  display: grid;
  gap: 14px;
}

body[data-section="account"] .z-account-content__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

body[data-section="account"] .z-account-content__title {
  margin: 0;
  font-size: clamp(26px, 2.2vw, 34px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: #111b3d;
}

body[data-section="account"] .z-account-content__desc {
  margin: 6px 0 0;
  color: #5b657b;
  font-size: 15px;
}

body[data-section="account"] .z-account-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

body[data-section="account"] .z-account-grid--kpi {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

body[data-section="account"] .z-account-card {
  padding: 14px;
}

body[data-section="account"] .z-account-card h3 {
  margin: 0 0 8px;
  font-size: 18px;
  color: #1c2b4f;
}

body[data-section="account"] .z-account-card p,
body[data-section="account"] .z-account-card li,
body[data-section="account"] .z-account-muted {
  margin: 0;
  color: #5b657b;
  font-size: 14px;
  line-height: 1.45;
}

body[data-section="account"] .z-account-list {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 8px;
}

body[data-section="account"] .z-account-metric {
  display: grid;
  gap: 4px;
}

body[data-section="account"] .z-account-metric strong {
  font-size: 26px;
  line-height: 1;
  color: #111b3d;
}

body[data-section="account"] .z-account-form,
body[data-section="account"] .z-account-inline-form {
  display: grid;
  gap: 12px;
}

body[data-section="account"] .z-account-form__row {
  display: grid;
  gap: 6px;
}

body[data-section="account"] .z-account-form__row label {
  color: #4b5568;
  font-size: 13px;
  font-weight: 700;
}

body[data-section="account"] .z-account-form__row input,
body[data-section="account"] .z-account-form__row select,
body[data-section="account"] .z-account-form__row textarea {
  border-radius: 12px;
  border: 1px solid #dbe3ee;
  background: #fff;
  padding: 10px 12px;
  font-size: 14px;
  color: #111827;
}

body[data-section="account"] .z-account-form__row input,
body[data-section="account"] .z-account-form__row select {
  min-height: 42px;
}

body[data-section="account"] .z-account-form__row textarea {
  min-height: 88px;
  resize: vertical;
}

body[data-section="account"] .z-account-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

body[data-section="account"] .z-account-mt-10 {
  margin-top: 10px;
}

body[data-section="account"] .z-account-mt-12 {
  margin-top: 12px;
}

body[data-section="account"] .z-account-inline-msg {
  margin: 0;
  color: #166534;
  font-size: 13px;
  font-weight: 700;
}

body[data-section="account"][data-page="account-settings"] .z-settings-stack {
  display: grid;
  gap: 14px;
}

body[data-section="account"][data-page="account-settings"] .z-settings-card,
body[data-section="account"][data-page="account-settings"] .z-settings-meta {
  display: grid;
  gap: 14px;
}

body[data-section="account"][data-page="account-settings"] .z-settings-card__head {
  display: grid;
  gap: 4px;
}

body[data-section="account"][data-page="account-settings"] .z-settings-group {
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
  display: grid;
  gap: 12px;
}

body[data-section="account"][data-page="account-settings"] .z-settings-group.is-disabled {
  opacity: 0.58;
}

body[data-section="account"][data-page="account-settings"] .z-settings-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

body[data-section="account"][data-page="account-settings"] .z-settings-check {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  border: 1px solid #e3e9f4;
  border-radius: 14px;
  background: #fbfcff;
  padding: 0 12px;
  color: #111827;
  font-weight: 600;
}

body[data-section="account"][data-page="account-settings"] .z-settings-check input {
  width: 16px;
  height: 16px;
  margin: 0;
}

body[data-section="account"][data-page="account-settings"] .z-settings-choice {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

body[data-section="account"][data-page="account-settings"] .z-settings-choice__item {
  position: relative;
}

body[data-section="account"][data-page="account-settings"] .z-settings-choice__item input {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
}

body[data-section="account"][data-page="account-settings"] .z-settings-choice__item span {
  min-height: 42px;
  border-radius: 14px;
  border: 1px solid #dbe3ee;
  background: #fff;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #1f2937;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: border-color 0.15s ease, background-color 0.15s ease, color 0.15s ease;
}

body[data-section="account"][data-page="account-settings"] .z-settings-choice__item input:checked + span {
  border-color: #b9c8df;
  background: #f4f8ff;
  color: #10224b;
}

body[data-section="account"][data-page="account-settings"] .z-settings-actions {
  margin-top: 4px;
}

body[data-section="account"][data-page="account-settings"] .z-settings-btn--danger {
  border-color: #f3d3d1;
  color: #b42318;
  background: #fffafa;
}

body[data-section="account"][data-page="account-settings"] .z-settings-btn--danger:hover {
  border-color: #e7b7b3;
  background: #fff3f2;
}

body[data-section="account"][data-page="account-settings"] .z-settings-meta strong {
  color: #1c2b4f;
}

@media (max-width: 760px) {
  body[data-section="account"][data-page="account-settings"] .z-settings-grid {
    grid-template-columns: 1fr;
  }
}

body[data-section="account"] .z-account-goals {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

body[data-section="account"] .z-account-goal {
  min-height: 84px;
  border-radius: 14px;
  border: 1px solid #e3e9f2;
  background: #fff;
  color: #1f2937;
  text-align: left;
  padding: 12px;
  display: grid;
  align-items: center;
}

body[data-section="account"] .z-account-goal:hover {
  border-color: #ccd9ea;
  background: #f8fbff;
}

body[data-section="account"] .z-account-goal.is-active {
  border-color: #a8bddc;
  background: #f0f6ff;
}

body[data-section="account"] .z-account-goal__title {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.25;
}

body[data-section="account"] .z-account-summary {
  margin: 0;
  display: grid;
  gap: 10px;
}

body[data-section="account"] .z-account-summary__row {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 10px;
  border: 1px solid #e9edf3;
  border-radius: 12px;
  padding: 10px 12px;
}

body[data-section="account"] .z-account-summary__row dt {
  margin: 0;
  color: #4b5b80;
  font-size: 13px;
  font-weight: 700;
}

body[data-section="account"] .z-account-summary__row dd {
  margin: 0;
  color: #111b3d;
  font-size: 14px;
}

body[data-section="account"] .z-doc-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
}

body[data-section="account"] .z-doc-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

body[data-section="account"] .z-doc-filter {
  min-height: 36px;
  border-radius: 999px;
  border: 1px solid #dbe3ee;
  background: #fff;
  color: #1f2937;
  font-size: 13px;
  font-weight: 700;
  padding: 0 12px;
}

body[data-section="account"] .z-doc-filter.is-active {
  border-color: #b7c8e2;
  background: #f3f8ff;
}

body[data-section="account"][data-page="account-documents"] .z-docs-dashboard {
  display: grid;
  gap: 12px;
}

body[data-section="account"][data-page="account-documents"] .z-docs-hero {
  width: 100%;
  display: grid;
  gap: 14px;
  align-items: stretch;
  padding: 18px;
}

body[data-section="account"][data-page="account-documents"] .z-docs-hero__top {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

body[data-section="account"][data-page="account-documents"] .z-docs-hero__main {
  min-width: 0;
}

body[data-section="account"][data-page="account-documents"] .z-docs-hero__main .z-account-hero__title {
  font-size: clamp(38px, 4.4vw, 56px);
}

body[data-section="account"][data-page="account-documents"] .z-docs-hero__progress-inline {
  margin: 10px 0 0;
  color: #4b5b80;
  font-size: 15px;
}

body[data-section="account"][data-page="account-documents"] .z-docs-hero__progress-inline strong {
  color: #111b3d;
}

body[data-section="account"][data-page="account-documents"] .z-docs-hero__side {
  justify-self: end;
  width: min(100%, 320px);
}

body[data-section="account"][data-page="account-documents"] .z-docs-userchip {
  min-width: 0;
  border-color: #dee6f2;
  background: #f9fbff;
  box-shadow: none;
}

body[data-section="account"][data-page="account-documents"] .z-docs-userchip__progress {
  margin-top: 4px;
  padding-top: 6px;
  border-top: 1px solid #e5ecf6;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}

body[data-section="account"][data-page="account-documents"] .z-docs-userchip__label {
  font-size: 12px;
  color: #5b657b;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

body[data-section="account"][data-page="account-documents"] .z-docs-userchip__progress strong {
  font-size: 15px;
  color: #111b3d;
}

body[data-section="account"][data-page="account-documents"] .z-docs-hero__controls {
  width: 100%;
  border: 1px solid #e6edf7;
  border-radius: 14px;
  background: #f8faff;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

body[data-section="account"][data-page="account-documents"] .z-docs-filters {
  display: inline-flex;
  flex-wrap: nowrap;
  gap: 6px;
  min-width: 0;
}

body[data-section="account"][data-page="account-documents"] .z-docs-filters .z-doc-filter {
  min-height: 34px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: transparent;
  padding: 0 12px;
}

body[data-section="account"][data-page="account-documents"] .z-docs-filters .z-doc-filter.is-active {
  border-color: #cfdaeb;
  background: #ffffff;
}

body[data-section="account"][data-page="account-documents"] .z-docs-reset {
  min-height: 34px;
  border-color: #cfd8e7;
  background: #ffffff;
  color: #1f2937;
}

body[data-section="account"][data-page="account-documents"] .z-docs-list-card {
  width: 100%;
  padding: 0;
  overflow: hidden;
}

body[data-section="account"][data-page="account-documents"] .z-docs-list-card .z-doc-list {
  gap: 0;
}

body[data-section="account"][data-page="account-documents"] .z-docs-list-card .z-doc-row {
  border: 0;
  border-radius: 0;
  border-bottom: 1px solid #e8eef8;
  padding: 14px 16px;
}

body[data-section="account"][data-page="account-documents"] .z-docs-list-card .z-doc-row:last-child {
  border-bottom: 0;
}

body[data-section="account"][data-page="account-documents"] .z-docs-list-card .z-account-muted {
  padding: 16px;
}

body[data-section="account"] .z-doc-list {
  display: grid;
  gap: 10px;
}

body[data-section="account"] .z-doc-row {
  border: 1px solid #e9edf3;
  border-radius: 14px;
  background: #fff;
  padding: 12px;
  display: grid;
  gap: 10px;
}

body[data-section="account"] .z-doc-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

body[data-section="account"] .z-doc-title {
  color: #111b3d;
  font-size: 15px;
}

body[data-section="account"] .z-doc-controls {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 10px;
}

body[data-section="account"] .z-doc-field {
  display: grid;
  gap: 6px;
}

body[data-section="account"] .z-doc-field span {
  color: #4b5568;
  font-size: 12px;
  font-weight: 700;
}

body[data-section="account"] .z-doc-field select,
body[data-section="account"] .z-doc-field input {
  min-height: 40px;
  border-radius: 10px;
  border: 1px solid #dbe3ee;
  background: #fff;
  padding: 0 10px;
  font-size: 13px;
}

body[data-section="account"] .z-doc-updated {
  color: #6b7280;
  font-size: 12px;
}

body[data-section="account"] .z-doc-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 64px;
  height: 24px;
  border-radius: 999px;
  border: 1px solid #dbe3ee;
  background: #f8fafc;
  color: #1f2937;
  font-size: 12px;
  font-weight: 700;
  padding: 0 8px;
}

body[data-section="account"] .z-doc-status--todo {
  border-color: #d6deea;
  background: #f8fafc;
}

body[data-section="account"] .z-doc-status--doing {
  border-color: #c8daf4;
  background: #eef5ff;
}

body[data-section="account"] .z-doc-status--done {
  border-color: #c9e7d7;
  background: #edf9f2;
}

body[data-section="account"] .z-account-fav-layout {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 12px;
}

body[data-section="account"] .z-account-collections {
  display: grid;
  gap: 8px;
}

body[data-section="account"] .z-col-row {
  border: 1px solid #e9edf3;
  border-radius: 12px;
  padding: 10px;
  display: grid;
  gap: 8px;
}

body[data-section="account"] .z-col-row.is-active {
  border-color: #b7c8e2;
  background: #f4f8ff;
}

body[data-section="account"] .z-col-select {
  border: 0;
  background: transparent;
  color: #111b3d;
  text-align: left;
  padding: 0;
  font-size: 14px;
  font-weight: 700;
}

body[data-section="account"] .z-col-edit__input {
  width: 100%;
  min-height: 36px;
  border-radius: 10px;
  border: 1px solid #cfd9e8;
  background: #fff;
  padding: 0 10px;
  font-size: 14px;
  color: #111b3d;
}

body[data-section="account"] .z-col-actions {
  display: flex;
  gap: 8px;
}

body[data-section="account"] .z-account-fav-items {
  margin-top: 12px;
  display: grid;
  gap: 10px;
}

body[data-section="account"] .z-fav-item {
  border: 1px solid #e9edf3;
  border-radius: 12px;
  padding: 10px;
  display: grid;
  gap: 8px;
}

body[data-section="account"] .z-fav-item__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

body[data-section="account"] .z-account-link {
  color: #1e4ea7;
  font-size: 13px;
  text-decoration: none;
  word-break: break-all;
}

body[data-section="account"] .z-account-link:hover {
  text-decoration: underline;
}

body[data-section="account"] .z-account-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

body[data-section="account"] .z-account-tag {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  border-radius: 999px;
  border: 1px solid #dbe3ee;
  background: #f8fafc;
  color: #334155;
  font-size: 12px;
  padding: 0 8px;
}

#zAccountToast {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 90;
  max-width: min(340px, calc(100vw - 24px));
  border: 1px solid #dbe3ee;
  background: #111b3d;
  color: #fff;
  border-radius: 12px;
  padding: 10px 12px;
  font-size: 14px;
  line-height: 1.4;
  box-shadow: 0 12px 24px rgba(17, 24, 39, 0.24);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

#zAccountToast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1240px) {
  body[data-section="account"] .z-account-goals {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 1080px) {
  body[data-section="account"] .z-account-shell {
    grid-template-columns: 1fr;
  }

  body[data-section="account"] .z-account-sidebar {
    position: static;
  }

  body[data-section="account"] .z-account-nav {
    grid-template-columns: repeat(6, minmax(140px, 1fr));
    overflow-x: auto;
    padding-bottom: 2px;
  }

  body[data-section="account"] .z-account-fav-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  body[data-section="account"][data-page="account-dashboard"] .z-account-hero {
    grid-template-columns: 1fr;
  }

  body[data-section="account"][data-page="account-dashboard"] .z-account-hero__side {
    justify-self: stretch;
    width: 100%;
  }

  body[data-section="account"][data-page="account-documents"] .z-docs-hero__top {
    grid-template-columns: 1fr;
  }

  body[data-section="account"][data-page="account-documents"] .z-docs-hero__side {
    justify-self: stretch;
    width: 100%;
  }
}

@media (max-width: 760px) {
  body[data-section="account"] {
    --account-pad: 16px;
  }

  body[data-section="account"] .z-account-hero {
    flex-direction: column;
    align-items: flex-start;
  }

  body[data-section="account"] .z-account-grid,
  body[data-section="account"] .z-account-grid--kpi,
  body[data-section="account"] .z-account-goals {
    grid-template-columns: 1fr;
  }

  body[data-section="account"] .z-account-content__head,
  body[data-section="account"] .z-doc-toolbar,
  body[data-section="account"] .z-doc-head,
  body[data-section="account"] .z-fav-item__head {
    flex-direction: column;
    align-items: flex-start;
  }

  body[data-section="account"] .z-doc-controls,
  body[data-section="account"] .z-account-summary__row {
    grid-template-columns: 1fr;
  }

  body[data-section="account"][data-page="account-dashboard"] .z-dashboard-hero-metrics {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  body[data-section="account"][data-page="account-dashboard"] .z-dashboard-hero-metric {
    min-width: 0;
  }

  body[data-section="account"][data-page="account-documents"] .z-docs-hero {
    padding: 14px;
  }

  body[data-section="account"][data-page="account-documents"] .z-docs-hero__controls {
    align-items: stretch;
    flex-direction: column;
  }

  body[data-section="account"][data-page="account-documents"] .z-docs-filters {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  body[data-section="account"][data-page="account-documents"] .z-docs-filters .z-doc-filter {
    flex: 0 0 auto;
  }

  body[data-section="account"][data-page="account-documents"] .z-docs-reset {
    width: 100%;
  }
}

body[data-section="account-auth"] {
  margin: 0;
  min-height: 100vh;
  --auth-card: var(--card);
  --auth-text: var(--text);
  --auth-muted: var(--muted);
  --auth-label: #4b5568;
  --auth-border: var(--border);
  --auth-input-border: #dbe3ee;
  --auth-input-bg: #ffffff;
  --auth-input-placeholder: #9ca3af;
  --auth-link: #1f2937;
  --auth-accent: var(--accent);
  --auth-accent-2: var(--accent-dark);
  --auth-accent-text: #3b2a00;
  --auth-focus: rgba(234, 179, 8, 0.28);
  --auth-shadow: var(--shadow);
  --auth-danger-border: #ffd0d0;
  --auth-danger-bg: #fff3f3;
  --auth-danger-text: #b42318;
  --auth-success-border: #bfe9c8;
  --auth-success-bg: #eefbf1;
  --auth-success-text: #127a37;
  --auth-verify-border: #dbe3ee;
  --auth-verify-bg: #f8fafc;
  --auth-verify-title: #1c2b4f;
  --auth-verify-text: #5b657b;
  --auth-disabled-bg: #e5e7eb;
  --auth-disabled-border: #d1d5db;
  --auth-disabled-text: #6b7280;
}

body[data-section="account-auth"] .z-layout {
  margin-top: 16px;
}

body[data-section="account-auth"] .z-auth-main {
  gap: 16px;
}

body[data-section="account-auth"] .z-auth-layout {
  width: 100%;
  padding: 0;
}

body[data-section="account-auth"] .z-auth-card {
  max-width: 520px;
  margin: 0 auto;
  border: 1px solid var(--auth-border);
  border-radius: var(--radius);
  background: var(--auth-card);
  box-shadow: var(--auth-shadow);
}

body[data-section="account-auth"] .z-auth-pane {
  padding: 28px;
}

body[data-section="account-auth"] .z-auth-pane--form {
  display: grid;
  gap: 14px;
}

body[data-section="account-auth"] .z-auth-pane--promo {
  display: none;
}

body[data-section="account-auth"] .z-auth-title {
  margin: 0;
  font-size: clamp(32px, 4vw, 42px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--auth-text);
}

body[data-section="account-auth"] .z-auth-sub {
  margin: 0;
  color: var(--auth-muted);
  font-size: 16px;
  line-height: 1.4;
}

body[data-section="account-auth"] .z-auth-form {
  display: grid;
  gap: 12px;
}

body[data-section="account-auth"] .z-auth-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

body[data-section="account-auth"] .z-auth-field {
  display: grid;
  gap: 6px;
}

body[data-section="account-auth"] .z-auth-label {
  margin: 0;
  color: var(--auth-label);
  font-size: 13px;
  font-weight: 700;
}

body[data-section="account-auth"] .z-auth-input {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--auth-input-border);
  border-radius: 12px;
  padding: 0 12px;
  background: var(--auth-input-bg);
  color: var(--auth-text);
  font-size: 14px;
}

body[data-section="account-auth"] .z-auth-input::placeholder {
  color: var(--auth-input-placeholder);
}

body[data-section="account-auth"] .z-auth-input:focus {
  outline: none;
  border-color: var(--auth-accent);
  box-shadow: 0 0 0 3px var(--auth-focus);
}

body[data-section="account-auth"] .z-auth-link {
  color: var(--auth-link);
  text-decoration: none;
  font-size: 14px;
}

body[data-section="account-auth"] .z-auth-link:hover {
  text-decoration: underline;
}

body[data-section="account-auth"] .z-auth-actions {
  display: flex;
  justify-content: flex-start;
}

body[data-section="account-auth"] .z-auth-actions .z-btn {
  min-width: 140px;
}

body[data-section="account-auth"] .z-auth-btn {
  min-width: 140px;
}

body[data-section="account-auth"] .z-auth-btn,
body[data-section="account-auth"] .z-auth-actions .z-btn {
  height: 36px;
  padding: 0 14px;
  border-radius: 12px;
}

body[data-section="account-auth"] .z-auth-btn[type="submit"] {
  border: 1px solid var(--auth-text);
  background: transparent;
  color: var(--auth-link);
  font-weight: 700;
}

body[data-section="account-auth"] .z-auth-btn[type="submit"]:hover {
  background: var(--auth-accent);
  border-color: var(--auth-accent);
  color: var(--auth-accent-text);
}

body[data-section="account-auth"] .z-auth-btn[type="submit"]:focus-visible {
  outline: 2px solid var(--auth-text);
  outline-offset: 2px;
}

body[data-section="account-auth"] .z-auth-btn:disabled,
body[data-section="account-auth"] .z-auth-actions .z-btn:disabled {
  background: transparent;
  border-color: var(--auth-disabled-border);
  color: var(--auth-disabled-text);
}

body[data-section="account-auth"] .z-auth-btn--ghost {
  color: var(--auth-link);
}

body[data-section="account-auth"] .z-auth-msg {
  margin: 0;
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 14px;
  border: 1px solid var(--auth-danger-border);
  background: var(--auth-danger-bg);
  color: var(--auth-danger-text);
  display: none;
}

body[data-section="account-auth"] .z-auth-msg.is-visible {
  display: block;
}

body[data-section="account-auth"] .z-auth-msg.is-success {
  border-color: var(--auth-success-border);
  background: var(--auth-success-bg);
  color: var(--auth-success-text);
}

body[data-section="account-auth"] .z-auth-verify {
  margin-top: 2px;
  padding: 12px;
  border: 1px solid var(--auth-verify-border);
  border-radius: 14px;
  background: var(--auth-verify-bg);
  display: grid;
  gap: 10px;
}

body[data-section="account-auth"] .z-auth-verify[hidden] {
  display: none;
}

body[data-section="account-auth"] .z-auth-verify__title {
  margin: 0;
  font-size: 16px;
  color: var(--auth-verify-title);
}

body[data-section="account-auth"] .z-auth-verify__desc {
  margin: 0;
  color: var(--auth-verify-text);
  font-size: 13px;
}

body[data-section="account-auth"] .z-auth-verify__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 8px;
  align-items: center;
}

body[data-section="account-auth"] .z-auth-switch {
  margin: 0;
  color: var(--auth-verify-text);
  font-size: 14px;
}

@media (max-width: 900px) {
  body[data-section="account-auth"] .z-auth-pane {
    padding: 22px;
  }

  body[data-section="account-auth"] .z-auth-row,
  body[data-section="account-auth"] .z-auth-verify__row {
    grid-template-columns: 1fr;
  }

  body[data-section="account-auth"] .z-auth-actions .z-btn {
    width: 100%;
  }
}

body[data-section="account"][data-page="account-documents"] .z-docdash {
  width: 100%;
  display: grid;
  gap: 14px;
}

body[data-section="account"][data-page="account-documents"] .z-docdash-hero {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 16px;
  align-items: start;
  padding: 18px;
  border-radius: 16px;
  box-shadow: 0 2px 10px rgba(17, 24, 39, 0.04);
}

body[data-section="account"][data-page="account-documents"] .z-docdash-hero__main {
  min-width: 0;
  display: grid;
  gap: 12px;
}

body[data-section="account"][data-page="account-documents"] .z-docdash-hero__main .z-account-hero__title {
  font-size: clamp(34px, 4.2vw, 52px);
}

body[data-section="account"][data-page="account-documents"] .z-docdash-goals {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

body[data-section="account"][data-page="account-documents"] .z-docdash-goal {
  min-height: 34px;
  border-radius: 999px;
  border: 1px solid #d5deea;
  background: #ffffff;
  color: #25324d;
  font-size: 13px;
  font-weight: 700;
  padding: 0 12px;
  transition: border-color 0.15s ease, background-color 0.15s ease, color 0.15s ease;
}

body[data-section="account"][data-page="account-documents"] .z-docdash-goal:hover {
  border-color: #b9c8dd;
  background: #f7faff;
}

body[data-section="account"][data-page="account-documents"] .z-docdash-goal.is-active {
  border-color: #a7bad7;
  background: #eef4ff;
  color: #162a4f;
}

body[data-section="account"][data-page="account-documents"] .z-docdash-goal:focus-visible {
  outline: 2px solid #8eb0f0;
  outline-offset: 2px;
}

body[data-section="account"][data-page="account-documents"] .z-docdash-progress {
  display: grid;
  gap: 8px;
}

body[data-section="account"][data-page="account-documents"] .z-docdash-progress__meta {
  display: grid;
  gap: 4px;
  color: #394766;
  font-size: 14px;
}

body[data-section="account"][data-page="account-documents"] .z-docdash-progress__meta strong {
  color: #121f3f;
  font-size: 15px;
}

body[data-section="account"][data-page="account-documents"] .z-docdash-progress__bar {
  width: 100%;
  height: 9px;
  border-radius: 999px;
  background: #e7edf6;
  overflow: hidden;
}

body[data-section="account"][data-page="account-documents"] .z-docdash-progress__bar span {
  display: block;
  height: 100%;
  width: 0;
  background: #416aa8;
  transition: width 0.2s ease;
}

body[data-section="account"][data-page="account-documents"] .z-docdash-hero__actions {
  display: grid;
  gap: 8px;
  align-content: start;
}

body[data-section="account"][data-page="account-documents"] .z-docdash-nextsteps {
  padding: 14px;
}

body[data-section="account"][data-page="account-documents"] .z-docdash-nextsteps__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

body[data-section="account"][data-page="account-documents"] .z-docdash-step {
  border: 1px solid #e2e9f3;
  border-radius: 12px;
  background: #ffffff;
  padding: 12px;
  display: grid;
  gap: 8px;
}

body[data-section="account"][data-page="account-documents"] .z-docdash-step strong {
  color: #111f3f;
  font-size: 15px;
}

body[data-section="account"][data-page="account-documents"] .z-docdash-step p {
  margin: 0;
  color: #55627d;
  font-size: 13px;
  line-height: 1.4;
}

body[data-section="account"][data-page="account-documents"] .z-docdash-step .z-btn {
  justify-self: start;
}

body[data-section="account"][data-page="account-documents"] .z-docdash-templates {
  padding: 14px;
}

body[data-section="account"][data-page="account-documents"] .z-docdash-template-list {
  margin: 0;
  padding-left: 18px;
  color: #4a5874;
  display: grid;
  gap: 8px;
}

body[data-section="account"][data-page="account-documents"] .z-docdash-cards {
  display: grid;
  gap: 10px;
}

body[data-section="account"][data-page="account-documents"] .z-documents-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  align-items: start;
}

body[data-section="account"][data-page="account-documents"] .z-documents-grid > * {
  min-width: 0;
}

body[data-section="account"][data-page="account-documents"] .z-documents-grid .z-docdash-card {
  min-width: 0;
  height: 100%;
}

body[data-section="account"][data-page="account-documents"] .z-documents-grid .z-docdash-card__fields > * {
  min-width: 0;
}

body[data-section="account"][data-page="account-documents"] .z-documents-grid .z-account-form__row input,
body[data-section="account"][data-page="account-documents"] .z-documents-grid .z-account-form__row select,
body[data-section="account"][data-page="account-documents"] .z-documents-grid .z-account-form__row textarea {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

body[data-section="account"][data-page="account-documents"] .z-docdash-card {
  border: 1px solid #e1e8f3;
  border-radius: 14px;
  background: #ffffff;
  padding: 14px;
  display: grid;
  gap: 10px;
}

body[data-section="account"][data-page="account-documents"] .z-docdash-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

body[data-section="account"][data-page="account-documents"] .z-docdash-card__title {
  margin: 0;
  color: #121f3f;
  font-size: 17px;
}

body[data-section="account"][data-page="account-documents"] .z-docdash-card__purpose {
  margin: 4px 0 0;
  color: #5d6b86;
  font-size: 13px;
}

body[data-section="account"][data-page="account-documents"] .z-docdash-status {
  min-height: 26px;
  border-radius: 999px;
  border: 1px solid #d2ddeb;
  background: #f5f8fd;
  color: #1f2b43;
  font-size: 12px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
}

body[data-section="account"][data-page="account-documents"] .z-docdash-status--needed {
  background: #f6f8fc;
  border-color: #d8e1ee;
}

body[data-section="account"][data-page="account-documents"] .z-docdash-status--in-progress {
  background: #eef3fb;
  border-color: #c8d8ee;
}

body[data-section="account"][data-page="account-documents"] .z-docdash-status--ready {
  background: #edf6ef;
  border-color: #c5dec7;
}

body[data-section="account"][data-page="account-documents"] .z-docdash-status--sent {
  background: #eef4fb;
  border-color: #c8d4e8;
}

body[data-section="account"][data-page="account-documents"] .z-docdash-status--rejected {
  background: #f9efef;
  border-color: #ebcece;
}

body[data-section="account"][data-page="account-documents"] .z-docdash-card__fields {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 10px;
}

body[data-section="account"][data-page="account-documents"] .z-docdash-card__fields .z-account-form__row textarea {
  min-height: 40px;
}

body[data-section="account"][data-page="account-documents"] .z-docdash-attachment {
  border: 1px solid #e3e9f2;
  border-radius: 12px;
  background: #fbfcff;
  padding: 10px;
  display: grid;
  gap: 8px;
}

body[data-section="account"][data-page="account-documents"] .z-docdash-attachment__line {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

body[data-section="account"][data-page="account-documents"] .z-docdash-file-name {
  color: #4f5d77;
  font-size: 13px;
}

body[data-section="account"][data-page="account-documents"] .z-docdash-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

body[data-section="account"][data-page="account-documents"] .z-docdash-actions .z-btn {
  min-height: 34px;
}

body[data-section="account"][data-page="account-documents"] .z-docdash-message {
  margin: 0;
  border: 1px solid #d4e1d5;
  border-radius: 10px;
  background: #f1f7f2;
  color: #214f2a;
  padding: 10px 12px;
  font-size: 13px;
}

body[data-section="account"][data-page="account-documents"] .z-docdash-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
}

body[data-section="account"][data-page="account-documents"] .z-docdash-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.34);
}

body[data-section="account"][data-page="account-documents"] .z-docdash-modal__dialog {
  position: relative;
  width: min(560px, calc(100vw - 24px));
  margin: 8vh auto 0;
  border: 1px solid #dbe4f1;
  border-radius: 14px;
  background: #ffffff;
  padding: 14px;
  box-shadow: 0 6px 24px rgba(17, 24, 39, 0.12);
}

body[data-section="account"][data-page="account-documents"] .z-docdash-modal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

body[data-section="account"][data-page="account-documents"] .z-docdash-modal__head h2 {
  margin: 0;
  font-size: 20px;
  color: #121f3f;
}

@media (max-width: 900px) {
  body[data-section="account"][data-page="account-documents"] .z-docdash-hero {
    grid-template-columns: 1fr;
  }

  body[data-section="account"][data-page="account-documents"] .z-docdash-hero__actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body[data-section="account"][data-page="account-documents"] .z-docdash-nextsteps__list {
    grid-template-columns: 1fr;
  }

  body[data-section="account"][data-page="account-documents"] .z-docdash-card__fields {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  body[data-section="account"][data-page="account-documents"] .z-docdash-hero {
    padding: 14px;
  }

  body[data-section="account"][data-page="account-documents"] .z-docdash-goals {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  body[data-section="account"][data-page="account-documents"] .z-docdash-goal {
    flex: 0 0 auto;
  }

  body[data-section="account"][data-page="account-documents"] .z-docdash-hero__actions {
    grid-template-columns: 1fr;
  }

  body[data-section="account"][data-page="account-documents"] .z-docdash-modal__dialog {
    margin-top: 4vh;
  }
}

body[data-section="account"][data-page="account-profile"] .z-profile-loading {
  display: grid;
  gap: 10px;
}

body[data-section="account"][data-page="account-profile"] .z-profile-loading__line {
  height: 12px;
  border-radius: 8px;
  background: #eef2f8;
}

body[data-section="account"][data-page="account-profile"] .z-profile-loading__line--short {
  width: 45%;
}

body[data-section="account"][data-page="account-profile"] .z-profile-form {
  gap: 14px;
}

body[data-section="account"][data-page="account-profile"] .z-profile-region-hint {
  margin-top: -2px;
  font-size: 12px;
}

body[data-section="account"][data-page="account-profile"] .z-profile-status {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
}

body[data-section="account"][data-page="account-profile"] .z-profile-status--success {
  color: #166534;
}

body[data-section="account"][data-page="account-profile"] .z-profile-status--error {
  color: #b42318;
}

body[data-section="account"][data-page="account-profile"] .z-profile-status--warning {
  color: #9a6700;
}

body[data-section="account"][data-page="account-profile"] .z-profile-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.9fr);
  gap: 18px;
  align-items: start;
}

body[data-section="account"][data-page="account-profile"] .z-profile-hero__list {
  margin: 14px 0 0;
  padding-left: 18px;
  display: grid;
  gap: 8px;
  color: #334155;
}

body[data-section="account"][data-page="account-profile"] .z-profile-hero__meter {
  border: 1px solid #dfe6f2;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.78);
  padding: 16px;
  display: grid;
  gap: 10px;
}

body[data-section="account"][data-page="account-profile"] .z-profile-hero__meterLabel {
  margin: 0;
  font-size: 14px;
  color: var(--text);
}

body[data-section="account"][data-page="account-profile"] .z-profile-hero__bar {
  width: 100%;
  height: 10px;
  border-radius: 999px;
  background: #e8eef8;
  overflow: hidden;
}

body[data-section="account"][data-page="account-profile"] .z-profile-hero__bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #2b63d9 0%, #5a8cff 100%);
}

body[data-section="account"][data-page="account-profile"] .z-profile-hero__hint {
  margin: 0;
}

body[data-section="account"][data-page="account-profile"] .z-profile-hero__improve {
  border-top: 1px solid #e3e9f4;
  padding-top: 12px;
  display: grid;
  gap: 10px;
}

body[data-section="account"][data-page="account-profile"] .z-profile-hero__improve h3 {
  margin: 0;
  font-size: 15px;
  color: var(--text);
}

body[data-section="account"][data-page="account-profile"] .z-profile-hero__improve ul {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 8px;
  color: #475569;
}

body[data-section="account"][data-page="account-profile"] .z-profile-form {
  gap: 18px;
}

body[data-section="account"][data-page="account-profile"] .z-profile-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}

body[data-section="account"][data-page="account-profile"] .z-profile-main {
  display: grid;
  gap: 16px;
}

body[data-section="account"][data-page="account-profile"] .z-profile-section {
  border: 1px solid #e3e9f4;
  border-radius: 16px;
  background: #fbfcff;
  padding: 16px;
  display: grid;
  gap: 14px;
}

body[data-section="account"][data-page="account-profile"] .z-profile-section__head {
  display: grid;
  gap: 4px;
}

body[data-section="account"][data-page="account-profile"] .z-profile-section__head h3 {
  margin: 0;
  font-size: 18px;
  color: var(--text);
}

body[data-section="account"][data-page="account-profile"] .z-profile-row--hidden {
  display: none !important;
}

body[data-section="account"][data-page="account-profile"] .z-profile-goal-group {
  display: grid;
  gap: 12px;
}

body[data-section="account"][data-page="account-profile"] .z-profile-goal-group--note {
  border: 1px dashed #d7e0ee;
  border-radius: 14px;
  background: #f8fbff;
  padding: 12px 14px;
}

body[data-section="account"][data-page="account-profile"] .z-profile-check {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  border: 1px solid #e3e9f4;
  border-radius: 14px;
  background: #ffffff;
  padding: 0 12px;
  color: var(--text);
}

body[data-section="account"][data-page="account-profile"] .z-profile-sync {
  display: grid;
  gap: 10px;
  border: 1px solid #fde68a;
  border-radius: 14px;
  background: #fffbeb;
  padding: 12px 14px;
}

body[data-section="account"][data-page="account-profile"] .z-profile-sync__text {
  margin: 0;
  font-size: 13px;
  color: #92400e;
}

body[data-section="account"][data-page="account-profile"] .z-profile-footer {
  display: grid;
  gap: 10px;
}

body[data-section="account"][data-page="account-profile"] .z-profile-footer__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
}

body[data-section="account"][data-page="account-profile"] .z-profile-dirty {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  background: #fff8e8;
  border: 1px solid #f2d28c;
  color: #946200;
  font-size: 12px;
  font-weight: 700;
}

@media (max-width: 920px) {
  body[data-section="account"][data-page="account-profile"] .z-profile-hero,
  body[data-section="account"][data-page="account-profile"] .z-profile-layout {
    grid-template-columns: 1fr;
  }
}
