[hidden] { display: none !important; }

.account-auth-page,
.account-app-page {
  min-height: 100vh;
  background: var(--paper);
}

.account-auth-page :focus-visible,
.account-app-page :focus-visible {
  outline: 3px solid rgba(223, 118, 88, .55);
  outline-offset: 3px;
}

.account-public-header {
  width: min(1400px, calc(100% - 48px));
  height: 82px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.account-back-link,
.account-header-link {
  color: #526159;
  font-size: 13px;
  font-weight: 700;
}

.account-back-link:hover,
.account-header-link:hover { color: var(--green-2); }

.auth-main { padding: 0 24px 30px; }

.auth-layout {
  width: min(1400px, 100%);
  min-height: min(780px, calc(100vh - 144px));
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(480px, .96fr);
  overflow: hidden;
  border: 1px solid rgba(22, 36, 30, .12);
  border-radius: 30px;
  background: var(--white);
  box-shadow: 0 30px 90px rgba(23, 60, 48, .14);
}

.auth-story {
  min-height: 680px;
  padding: clamp(46px, 5vw, 76px);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: white;
  background:
    radial-gradient(circle at 83% 25%, rgba(201, 239, 98, .15), transparent 29%),
    radial-gradient(circle at 8% 88%, rgba(223, 118, 88, .19), transparent 31%),
    var(--green);
}

.auth-story::before {
  content: "";
  width: 430px;
  height: 430px;
  position: absolute;
  top: 135px;
  right: -190px;
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 50%;
  box-shadow: 0 0 0 70px rgba(255, 255, 255, .025), 0 0 0 140px rgba(255, 255, 255, .018);
}

.auth-story-copy,
.auth-preview,
.auth-benefits { position: relative; z-index: 1; }

.account-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .16em;
}

.account-kicker i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--coral);
  box-shadow: 0 0 0 4px rgba(223, 118, 88, .14);
}

.auth-story h1 {
  max-width: 650px;
  margin: 22px 0 20px;
  font: 500 clamp(44px, 4.5vw, 68px)/1.02 var(--display);
  letter-spacing: -.065em;
}

.auth-story h1 em { color: #c7d6cd; font-style: normal; font-weight: 400; }
.auth-story-copy > p { max-width: 530px; margin: 0; color: #bed0c6; font-size: 16px; line-height: 1.7; }

.auth-preview {
  width: min(515px, 92%);
  margin: 45px auto;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 18px;
  background: rgba(255, 253, 248, .96);
  color: var(--ink);
  box-shadow: 0 28px 80px rgba(5, 22, 15, .28);
  transform: rotate(-.8deg);
}

.auth-preview__top {
  height: 44px;
  padding: 0 17px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  color: #748078;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .14em;
}

.auth-preview__top i { width: 7px; height: 7px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 4px rgba(125, 166, 51, .13); }
.auth-preview__home { padding: 19px; display: flex; align-items: center; gap: 15px; }
.auth-preview__home svg { width: 56px; height: 56px; padding: 11px; border-radius: 14px; background: var(--green-soft); color: var(--green-2); }
.auth-preview__home div { display: flex; flex-direction: column; }
.auth-preview small { color: #7b877f; font-size: 7px; letter-spacing: .08em; }
.auth-preview__home strong { margin: 2px 0; font: 600 15px var(--display); }
.auth-preview__home span { color: var(--green-2); font-size: 9px; font-weight: 700; }
.auth-preview__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); }
.auth-preview__grid > div { padding: 17px 19px; display: flex; flex-direction: column; background: var(--paper); }
.auth-preview__grid strong { margin: 3px 0; font: 600 25px/1 var(--display); letter-spacing: -.04em; }
.auth-preview__grid span { color: #77827b; font-size: 8px; }
.auth-preview__grid .auth-preview__accent { background: var(--lime); }
.auth-preview__accent small, .auth-preview__accent span { color: #4d5d30; }
.auth-preview__task { min-height: 67px; padding: 12px 19px; display: grid; grid-template-columns: 30px 1fr auto; gap: 11px; align-items: center; }
.auth-preview__task > i { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: var(--green); color: white; font-size: 11px; font-style: normal; }
.auth-preview__task > span { display: flex; flex-direction: column; }
.auth-preview__task strong { font-size: 9px; }
.auth-preview__task b { color: var(--coral); font-size: 8px; }

.auth-benefits { margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; list-style: none; }
.auth-benefits li { display: flex; align-items: center; gap: 11px; }
.auth-benefits svg { width: 29px; flex: 0 0 auto; color: var(--lime); }
.auth-benefits span { display: flex; flex-direction: column; }
.auth-benefits strong { font-size: 11px; }
.auth-benefits small { margin-top: 2px; color: #9db2a7; font-size: 9px; }

.auth-panel {
  padding: clamp(40px, 6vw, 88px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(150deg, #fffdf8 0%, #f1eee6 100%);
}

.auth-card {
  width: min(470px, 100%);
  min-height: 485px;
  padding: clamp(32px, 4vw, 50px);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border: 1px solid rgba(22, 36, 30, .11);
  border-radius: 24px;
  background: rgba(255, 253, 248, .9);
  box-shadow: 0 18px 55px rgba(26, 51, 41, .09);
}

.auth-card__seal {
  width: 49px;
  height: 49px;
  margin-bottom: 32px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  background: var(--green);
  color: var(--lime);
  box-shadow: 0 10px 25px rgba(23, 60, 48, .18);
}

.auth-card__seal svg { width: 27px; }
.auth-overline, .account-overline { color: #728078; font-size: 9px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.auth-step h2 { margin: 11px 0 12px; font: 600 clamp(29px, 3vw, 38px)/1.08 var(--display); letter-spacing: -.052em; }
.auth-step > p { margin-bottom: 27px; color: #637068; font-size: 13px; line-height: 1.65; }
.auth-step > p strong { color: var(--ink); overflow-wrap: anywhere; }

.account-field { display: flex; flex-direction: column; gap: 7px; }
.account-field > span { color: #4e5d55; font-size: 11px; font-weight: 700; }
.account-field > span small { color: #849088; font-weight: 500; }
.account-field input,
.account-field select {
  width: 100%;
  min-height: 50px;
  border: 1px solid rgba(22, 36, 30, .17);
  border-radius: 11px;
  padding: 0 14px;
  background: #fffefa;
  color: var(--ink);
  font-size: 14px;
  transition: border-color .2s, box-shadow .2s, background .2s;
}

.account-field input::placeholder { color: #a3aaa5; }
.account-field input:hover, .account-field select:hover { border-color: rgba(22, 36, 30, .32); }
.account-field input:focus, .account-field select:focus { outline: 0; border-color: var(--green-2); box-shadow: 0 0 0 4px rgba(40, 91, 72, .1); background: white; }
.account-field input[readonly] { color: #68756d; background: #eeece5; cursor: not-allowed; }
.account-field > small, .account-field-help { margin: 0; color: #7c8880; font-size: 10px; line-height: 1.5; }
.account-field-help a { font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.auth-submit { width: 100%; margin-top: 16px; min-height: 52px; }
.auth-submit:disabled { cursor: wait; opacity: .72; transform: none; }
.auth-legal { margin: 20px 0 0 !important; color: #869088 !important; font-size: 9px !important; line-height: 1.6 !important; }
.auth-legal a { text-decoration: underline; text-underline-offset: 2px; }
.auth-change { margin: -10px 0 25px; padding: 0; border: 0; background: none; color: var(--green-2); font-size: 10px; font-weight: 700; }
.account-code-field input { height: 65px; padding-left: 18px; font: 600 25px/1 var(--display); letter-spacing: .24em; }
.auth-code-hint { display: block; margin-top: 6px; color: #7c8880; font-size: 9px; }
.auth-resend { margin-top: 22px; display: flex; justify-content: center; gap: 5px; color: #7c8880; font-size: 10px; }
.auth-resend button { border: 0; padding: 0; background: none; color: var(--green-2); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.auth-resend button:disabled { color: #9aa29d; text-decoration: none; cursor: default; }
.auth-step--success { text-align: center; }
.auth-step--success .auth-overline { display: block; }
.auth-success-icon { width: 66px; height: 66px; margin: 0 auto 25px; display: grid; place-items: center; border-radius: 50%; background: var(--green); color: var(--lime); font-size: 27px; }
.auth-skeleton { margin-top: 35px; }
.auth-assurance { width: min(470px, 100%); margin-top: 18px; display: flex; justify-content: center; flex-wrap: wrap; gap: 10px 18px; color: #718078; font-size: 8px; }
.auth-assurance span { display: flex; align-items: center; gap: 5px; }
.auth-assurance svg { width: 14px; color: var(--green-2); }

.account-notice {
  margin-bottom: 20px;
  padding: 13px 16px;
  border: 1px solid #acc7b7;
  border-radius: 11px;
  background: #e5f0e8;
  color: #234b38;
  font-size: 12px;
  line-height: 1.5;
}

.account-notice--error,
#auth-error { border-color: #ddb09f; background: #f8e8e1; color: #843c27; }
#auth-error { margin: 20px 0 0; }
.auth-challenge,
#auth-challenge { width: 100%; margin-top: 17px; overflow: hidden; border-radius: 10px; }
.account-notice--warning { border-color: #dbc890; background: #f7efd8; color: #65521d; }

.account-minimal-footer {
  width: min(1400px, calc(100% - 48px));
  min-height: 62px;
  margin: 0 auto;
  padding: 15px 4px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  background: transparent;
  color: #79857d;
  font-size: 9px;
}

.account-minimal-footer a { text-decoration: underline; text-underline-offset: 3px; }
.account-noscript { position: fixed; inset: auto 20px 20px; z-index: 1000; padding: 16px 20px; border-radius: 12px; background: #842f24; color: white; text-align: center; }

/* Account application */
.account-app-page { background: #eeece5; }
.account-app-header {
  height: 76px;
  padding: 0 28px;
  position: sticky;
  top: 0;
  z-index: 80;
  display: grid;
  grid-template-columns: 264px 1fr auto;
  align-items: center;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 253, 248, .94);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.account-app-brand { padding-left: 6px; }
.account-app-title { display: flex; align-items: center; gap: 8px; color: #728078; font-size: 9px; font-weight: 700; letter-spacing: .15em; }
.account-app-title span { width: 6px; height: 6px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 4px rgba(125, 166, 51, .11); }
.account-header-actions { display: flex; align-items: center; gap: 20px; }
.account-avatar { width: 45px; height: 45px; flex: 0 0 auto; display: grid; place-items: center; border: 0; border-radius: 14px; background: var(--green); color: var(--lime); font: 700 14px var(--display); text-transform: uppercase; }
.account-avatar--small { width: 37px; height: 37px; border-radius: 11px; font-size: 12px; }
.account-app-shell { min-height: calc(100vh - 76px); display: grid; grid-template-columns: 285px minmax(0, 1fr); }

.account-sidebar {
  min-height: calc(100vh - 76px);
  padding: 27px 18px 25px;
  position: sticky;
  top: 76px;
  align-self: start;
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--line);
  background: #e5e3dc;
}

.account-user-card { min-width: 0; padding: 3px 8px 24px; display: flex; align-items: center; gap: 11px; border-bottom: 1px solid var(--line); }
.account-user-card > span:last-child { min-width: 0; display: flex; flex-direction: column; }
.account-user-card strong { overflow: hidden; font: 600 13px var(--display); text-overflow: ellipsis; white-space: nowrap; }
.account-user-card small { overflow: hidden; color: #758178; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.account-nav { padding: 21px 0; display: flex; flex-direction: column; gap: 3px; }
.account-nav button,
.account-nav > a {
  width: 100%;
  min-height: 48px;
  padding: 0 12px;
  display: grid;
  grid-template-columns: 22px 1fr auto;
  gap: 10px;
  align-items: center;
  border: 0;
  border-radius: 11px;
  background: transparent;
  color: #68756d;
  text-align: left;
  font-size: 11px;
  font-weight: 700;
  transition: background .2s, color .2s, transform .2s;
}

.account-nav button:hover,
.account-nav > a:hover { color: var(--ink); background: rgba(255,255,255,.5); transform: translateX(2px); }
.account-nav button[aria-current="page"] { background: var(--white); color: var(--green); box-shadow: 0 7px 20px rgba(22, 36, 30, .07); }
.account-nav svg { width: 19px; }
.account-nav-count { min-width: 21px; padding: 3px 6px; border-radius: 99px; background: var(--green-soft); color: var(--green-2); text-align: center; font-size: 8px; }
.account-sidebar-note { margin-top: auto; padding: 17px; display: flex; align-items: flex-start; gap: 10px; border-radius: 13px; background: var(--green); color: white; }
.account-sidebar-note > svg { width: 22px; flex: 0 0 auto; color: var(--lime); }
.account-sidebar-note strong { display: block; margin-bottom: 4px; font-size: 9px; }
.account-sidebar-note p { margin: 0 0 8px; color: #b7c9bf; font-size: 8px; line-height: 1.5; }
.account-sidebar-note a { color: var(--lime); font-size: 8px; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

.account-content { min-width: 0; padding: 38px clamp(28px, 4.5vw, 72px) 80px; }
.account-content-head { max-width: 1240px; margin: 0 auto 32px; display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; }
.account-content-head h1 { margin: 5px 0 0; font: 600 28px/1.1 var(--display); letter-spacing: -.045em; }
.account-head-actions { display: flex; align-items: center; gap: 18px; }
.account-sync-status { display: flex; align-items: center; gap: 7px; color: #718078; font-size: 9px; }
.account-sync-status i { width: 7px; height: 7px; border-radius: 50%; background: #62a07a; box-shadow: 0 0 0 4px rgba(98, 160, 122, .12); }
.account-sync-status.is-syncing i { background: #d6a84f; animation: account-pulse 1s infinite alternate; }
.account-sync-status.is-error i { background: #c9604a; }
@keyframes account-pulse { to { opacity: .35; } }
.account-content > .account-notice,
#account-views,
.account-loading { max-width: 1240px; margin-inline: auto; }

.account-skeleton {
  min-height: 120px;
  padding: 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255,255,255,.55);
}

.account-skeleton i { height: 12px; margin-bottom: 13px; display: block; overflow: hidden; border-radius: 99px; background: #dcded8; }
.account-skeleton i::after { content: ""; width: 50%; height: 100%; display: block; background: linear-gradient(90deg, transparent, rgba(255,255,255,.7), transparent); animation: account-shimmer 1.4s infinite; }
.account-skeleton i:nth-child(1) { width: 34%; }
.account-skeleton i:nth-child(2) { width: 72%; }
.account-skeleton i:nth-child(3) { width: 55%; }
.account-skeleton--hero { min-height: 280px; }
.account-skeleton-grid { margin-top: 14px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
@keyframes account-shimmer { from { transform: translateX(-100%); } to { transform: translateX(220%); } }

.account-view > * + * { margin-top: 18px; }
.account-welcome {
  min-height: 300px;
  padding: clamp(36px, 5vw, 65px);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  border-radius: 25px;
  background: var(--green);
  color: white;
  box-shadow: 0 24px 70px rgba(23, 60, 48, .16);
}

.account-welcome::after {
  content: "";
  width: 360px;
  height: 360px;
  position: absolute;
  top: -185px;
  right: -50px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 50%;
  box-shadow: 0 0 0 65px rgba(255,255,255,.027), 0 0 0 130px rgba(255,255,255,.018);
}

.account-welcome__copy { max-width: 690px; position: relative; z-index: 1; }
.account-welcome .account-kicker { color: var(--lime); }
.account-welcome h2 { margin: 18px 0 13px; font: 500 clamp(34px, 4vw, 54px)/1.04 var(--display); letter-spacing: -.06em; }
.account-welcome p { max-width: 620px; margin-bottom: 27px; color: #b9ccc1; font-size: 14px; line-height: 1.7; }
.account-progress { width: 142px; height: 142px; position: relative; z-index: 1; flex: 0 0 auto; display: grid; place-items: center; }
.account-progress svg { width: 142px; height: 142px; position: absolute; transform: rotate(-90deg); stroke: rgba(255,255,255,.13); stroke-width: 7; }
.account-progress__value { stroke: var(--lime); stroke-dasharray: 0 321; transition: stroke-dasharray .7s ease; }
.account-progress > span { display: flex; flex-direction: column; align-items: center; }
.account-progress strong { font: 600 30px/1 var(--display); }
.account-progress small { margin-top: 5px; color: #b2c6bb; font-size: 8px; }

.account-import-card {
  min-height: 110px;
  padding: 21px 24px;
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  border: 1px solid #c9bb82;
  border-radius: 17px;
  background: #f6efda;
  box-shadow: 0 9px 28px rgba(87, 70, 24, .06);
}

.account-import-card__icon { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; background: #dfcd83; color: #5d4d19; }
.account-import-card__icon svg { width: 21px; }
.account-import-card h3 { margin: 3px 0; font: 600 16px/1.2 var(--display); letter-spacing: -.035em; }
.account-import-card p { margin: 0; color: #6f6240; font-size: 9px; line-height: 1.5; }
.account-import-card small { color: #8b7b4d; font-size: 8px; }
.account-import-card__actions { display: flex; align-items: center; gap: 14px; }
.account-import-card__actions .button { min-width: 150px; padding: 11px 15px; font-size: 9px; }

.account-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 13px; }
.account-metrics article { min-height: 123px; padding: 24px; display: flex; align-items: center; gap: 16px; border: 1px solid var(--line); border-radius: 17px; background: var(--white); }
.account-metric-icon { width: 47px; height: 47px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 13px; }
.account-metric-icon svg { width: 23px; }
.account-metric-icon--green { color: var(--green-2); background: var(--green-soft); }
.account-metric-icon--coral { color: #a84f39; background: #f1dcd3; }
.account-metric-icon--lime { color: #496221; background: #e3efbd; }
.account-metrics article > div { display: grid; grid-template-columns: auto 1fr; align-items: baseline; gap: 0 7px; }
.account-metrics small { grid-column: 1/-1; color: #77837b; font-size: 8px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.account-metrics strong { font: 600 32px/1 var(--display); letter-spacing: -.05em; }
.account-metrics article > div > span { color: #839087; font-size: 9px; }

.account-dashboard-grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(320px, .88fr); gap: 14px; }
.account-panel { border: 1px solid var(--line); border-radius: 19px; background: var(--white); }
.account-panel > header { padding: 25px 26px 18px; display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.account-panel h3 { margin: 5px 0 0; font: 600 19px/1.2 var(--display); letter-spacing: -.04em; }
.account-text-button { border: 0; padding: 3px 0; background: none; color: var(--green-2); font-size: 9px; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
.account-panel--tasks { min-height: 320px; }
.account-panel--recent { min-height: 320px; }
.account-panel--quick { grid-column: 1/-1; }
.account-compact-list { padding: 0 26px 17px; }
.account-compact-item { min-height: 68px; display: grid; grid-template-columns: 32px 1fr auto; gap: 11px; align-items: center; border-top: 1px solid var(--line); }
.account-compact-item > i { width: 29px; height: 29px; display: grid; place-items: center; border-radius: 9px; background: var(--green-soft); color: var(--green-2); font-size: 10px; font-style: normal; font-weight: 700; }
.account-compact-item > span { min-width: 0; display: flex; flex-direction: column; }
.account-compact-item strong { overflow: hidden; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.account-compact-item small { color: #818c85; font-size: 8px; }
.account-compact-item > b { color: #728078; font-size: 8px; font-weight: 600; }

.account-empty { text-align: center; }
.account-empty--compact { margin: 0 26px 26px; padding: 24px 15px; display: flex; align-items: center; gap: 12px; border: 1px dashed rgba(22,36,30,.18); border-radius: 13px; text-align: left; }
.account-empty-icon { width: 37px; height: 37px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 11px; background: var(--green-soft); color: var(--green-2); font-size: 14px; }
.account-empty-icon svg { width: 18px; }
.account-empty--compact > div { flex: 1; }
.account-empty--compact strong { display: block; font-size: 10px; }
.account-empty--compact p { margin: 2px 0 0; color: #7b8780; font-size: 8px; line-height: 1.45; }
.account-empty--compact button, .account-empty--compact a { border: 0; padding: 0; background: none; color: var(--green-2); font-size: 8px; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

.account-grant-card { min-height: 260px; padding: 35px; position: relative; overflow: hidden; display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; border-radius: 19px; background: var(--coral); }
.account-grant-card::after { content: ""; width: 190px; height: 190px; position: absolute; right: -80px; bottom: -95px; border: 1px solid rgba(91,42,28,.15); border-radius: 50%; box-shadow: 0 0 0 40px rgba(91,42,28,.045); }
.account-grant-card > div { position: relative; z-index: 1; }
.account-grant-card h3 { max-width: 430px; margin: 8px 0; font: 600 24px/1.1 var(--display); letter-spacing: -.045em; }
.account-grant-card p { max-width: 520px; margin-bottom: 20px; color: #6d3b2e; font-size: 10px; line-height: 1.6; }
.account-grant-card .button { padding: 11px 15px; font-size: 9px; }
.account-grant-card__stamp { width: 118px; padding: 15px; border: 1px dashed rgba(93,48,35,.35); border-radius: 14px; transform: rotate(2deg); }
.account-grant-card__stamp small, .account-grant-card__stamp span { display: block; color: #744233; font-size: 7px; }
.account-grant-card__stamp strong { display: block; margin: 5px 0; font: 600 21px/1.04 var(--display); }

.account-quick-links { padding: 0 26px 25px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.account-quick-links a { min-height: 95px; padding: 16px; display: grid; grid-template-columns: 25px 1fr auto; gap: 10px; align-items: center; border: 1px solid var(--line); border-radius: 12px; transition: border-color .2s, transform .2s, background .2s; }
.account-quick-links a:hover { border-color: var(--green-2); background: #f5f7ef; transform: translateY(-2px); }
.account-quick-links > a > span { color: var(--coral); font-size: 8px; font-weight: 700; }
.account-quick-links div { display: flex; flex-direction: column; }
.account-quick-links strong { font-size: 10px; }
.account-quick-links small { color: #7a867f; font-size: 8px; }
.account-quick-links b { font-size: 12px; }

.account-section-intro { min-height: 160px; padding: 8px 5px 20px; display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; }
.account-section-intro > div { max-width: 760px; }
.account-section-intro h2 { margin: 10px 0 13px; font: 500 clamp(35px, 4vw, 52px)/1.04 var(--display); letter-spacing: -.06em; }
.account-section-intro p { max-width: 690px; margin: 0; color: #657169; font-size: 13px; line-height: 1.7; }
.account-section-intro--actions { align-items: center; }
.account-privacy-chip { padding: 10px 13px; display: inline-flex; align-items: center; gap: 7px; border: 1px solid var(--line); border-radius: 999px; background: var(--white); color: #5f6c64; white-space: nowrap; font-size: 9px; font-weight: 700; }
.account-privacy-chip svg { width: 15px; color: var(--green-2); }

.account-form { padding: clamp(28px, 4vw, 45px); }
.account-form-head { margin-bottom: 28px; padding-bottom: 22px; display: flex; justify-content: space-between; align-items: flex-start; border-bottom: 1px solid var(--line); }
.account-form-head h3 { font-size: 24px; }
.account-form-status { color: var(--green-2); font-size: 9px; font-weight: 700; }
.account-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 21px 18px; }
.account-field--wide { grid-column: 1/-1; }
.account-input-suffix { position: relative; }
.account-input-suffix input { padding-right: 48px; }
.account-input-suffix > span { position: absolute; top: 15px; right: 15px; color: #78847c; font-size: 11px; }
.account-form-actions { margin-top: 31px; padding-top: 24px; display: flex; align-items: center; justify-content: space-between; gap: 30px; border-top: 1px solid var(--line); }
.account-form-actions p { max-width: 500px; margin: 0; display: flex; align-items: center; gap: 8px; color: #77837b; font-size: 9px; }
.account-form-actions svg { width: 17px; flex: 0 0 auto; color: var(--green-2); }
.account-boundary-note { padding: 24px 28px; display: grid; grid-template-columns: 34px 1fr; gap: 13px; border: 1px solid #d8c895; border-radius: 16px; background: #f5eed9; }
.account-boundary-note > span { width: 31px; height: 31px; display: grid; place-items: center; border-radius: 50%; background: #d9c675; color: #5f501e; font-family: serif; font-weight: 700; }
.account-boundary-note strong { font-size: 11px; }
.account-boundary-note p { margin: 4px 0 0; color: #6d6241; font-size: 10px; line-height: 1.6; }

.account-filter-bar { padding: 6px; display: flex; gap: 4px; overflow-x: auto; border: 1px solid var(--line); border-radius: 999px; background: #e4e2da; }
.account-filter-bar button { min-height: 36px; padding: 0 15px; display: flex; align-items: center; gap: 7px; border: 0; border-radius: 999px; background: transparent; color: #66736b; white-space: nowrap; font-size: 9px; font-weight: 700; }
.account-filter-bar button[aria-pressed="true"] { background: var(--white); color: var(--green); box-shadow: 0 4px 13px rgba(22,36,30,.07); }
.account-filter-bar b { min-width: 20px; padding: 2px 5px; border-radius: 99px; background: var(--green-soft); font-size: 7px; }
.account-artifact-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 13px; }
.account-artifact-card { min-height: 225px; padding: 25px; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 17px; background: var(--white); transition: transform .2s, box-shadow .2s; }
.account-artifact-card:hover { transform: translateY(-2px); box-shadow: 0 15px 38px rgba(22,36,30,.08); }
.account-artifact-card__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 15px; }
.account-artifact-type { padding: 6px 8px; border-radius: 99px; background: var(--green-soft); color: var(--green-2); font-size: 7px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.account-artifact-menu { border: 0; padding: 3px 5px; background: none; color: #7e8982; font-size: 18px; line-height: 1; }
.account-artifact-card h3 { margin: 23px 0 8px; font: 600 19px/1.2 var(--display); letter-spacing: -.04em; }
.account-artifact-card > p { margin: 0; color: #748078; font-size: 10px; line-height: 1.55; }
.account-artifact-card__meta { margin-top: auto; padding-top: 19px; display: flex; justify-content: space-between; gap: 15px; border-top: 1px solid var(--line); color: #818c85; font-size: 8px; }
.account-artifact-card__meta b { color: var(--green-2); font-weight: 700; }
.account-empty--large { min-height: 430px; padding: 55px 25px; display: flex; flex-direction: column; align-items: center; justify-content: center; border: 1px dashed rgba(22,36,30,.2); border-radius: 20px; background: rgba(255,255,255,.35); }
.account-empty-illustration { width: 100px; height: 100px; margin-bottom: 25px; display: grid; place-items: center; border-radius: 50%; background: var(--green-soft); color: var(--green-2); }
.account-empty-illustration svg { width: 58px; }
.account-empty--large h3 { margin: 9px 0; font: 600 27px var(--display); letter-spacing: -.04em; }
.account-empty--large p { max-width: 460px; margin: 0 0 24px; color: #748078; font-size: 11px; line-height: 1.6; }

.account-task-layout { display: grid; grid-template-columns: minmax(310px, .72fr) minmax(0, 1.28fr); gap: 14px; align-items: start; }
.account-task-form { padding: 30px; }
.account-task-form h3 { margin: 7px 0 24px; font-size: 25px; }
.account-task-form .account-field + .account-form-grid { margin-top: 18px; }
.account-form-grid--task { grid-template-columns: 1fr 1fr; gap: 12px; }
.account-task-form > .button { width: 100%; margin-top: 22px; }
.account-task-board { min-height: 430px; }
.account-task-board > header { border-bottom: 1px solid var(--line); }
.account-task-board > header > span { color: #76827a; font-size: 9px; }
.account-task-list { padding: 0 26px 22px; }
.account-task-item { min-height: 74px; display: grid; grid-template-columns: 29px 1fr auto 30px; gap: 11px; align-items: center; border-bottom: 1px solid var(--line); }
.account-task-check { width: 25px; height: 25px; display: grid; place-items: center; border: 1px solid rgba(22,36,30,.2); border-radius: 50%; background: transparent; color: transparent; font-size: 10px; }
.account-task-item.is-done .account-task-check { border-color: var(--green); background: var(--green); color: var(--lime); }
.account-task-item > span { min-width: 0; display: flex; flex-direction: column; }
.account-task-item strong { overflow: hidden; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.account-task-item.is-done strong { color: #849088; text-decoration: line-through; }
.account-task-item small { color: #849088; font-size: 8px; }
.account-task-category { padding: 4px 7px; border-radius: 99px; background: #ece9df; color: #69756e; font-size: 7px; font-weight: 700; text-transform: uppercase; }
.account-task-remove { border: 0; padding: 5px; background: none; color: #8b958f; font-size: 17px; }

.account-settings-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.account-settings-card { padding: 28px; }
.account-settings-card > header { padding: 0 0 23px; justify-content: flex-start; border-bottom: 1px solid var(--line); }
.account-settings-icon { width: 42px; height: 42px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 12px; background: var(--green-soft); color: var(--green-2); }
.account-settings-icon svg { width: 20px; }
.account-settings-icon--lime { color: #557427; background: #e4efbd; }
.account-settings-icon--danger { color: #a34230; background: #f0d6cd; }
.account-settings-card > .account-field { margin-top: 18px; }
.account-settings-card > .button { margin-top: 21px; }
.account-settings-card > p { max-width: 750px; color: #6e7a72; font-size: 10px; line-height: 1.65; }
.account-settings-card--wide { grid-column: 1/-1; }
.account-entitlement { min-height: 67px; padding: 14px 0; display: flex; align-items: center; justify-content: space-between; gap: 16px; border-bottom: 1px solid var(--line); }
.account-entitlement > span { display: flex; flex-direction: column; }
.account-entitlement strong { font-size: 10px; }
.account-entitlement small { color: #7b8780; font-size: 8px; }
.account-entitlement b, .account-entitlement a { padding: 5px 8px; border-radius: 99px; background: var(--green-soft); color: var(--green-2); font-size: 7px; }
.account-danger-zone { border-color: rgba(166,65,43,.25); }
.account-delete-confirm { max-width: 660px; display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: end; }
.account-danger-button { border: 0; background: #a84833; color: white; }
.account-danger-button:hover { background: #913a28; }
.account-danger-button:disabled { background: #c7c4be; color: #777; cursor: not-allowed; transform: none; }
.account-session-footer { margin-top: 25px; padding: 22px 25px; display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--line); }
.account-session-footer > div { min-width: 0; display: flex; align-items: center; gap: 11px; }
.account-session-footer > div > span:last-child { min-width: 0; display: flex; flex-direction: column; }
.account-session-footer strong { overflow: hidden; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.account-session-footer small { color: #7d8981; font-size: 8px; }

.account-dialog { width: min(480px, calc(100% - 30px)); padding: 42px; border: 0; border-radius: 22px; background: var(--white); color: var(--ink); box-shadow: 0 35px 100px rgba(10,25,18,.3); }
.account-dialog::backdrop { background: rgba(10,22,16,.68); backdrop-filter: blur(5px); }
.account-dialog-close { position: absolute; top: 14px; right: 16px; border: 0; background: none; color: #79847d; font-size: 25px; }
.account-dialog-icon { width: 45px; height: 45px; margin-bottom: 23px; display: grid; place-items: center; border-radius: 13px; background: #f0d6cd; color: #a34230; font-weight: 700; }
.account-dialog h2 { margin: 9px 0; font: 600 29px/1.1 var(--display); letter-spacing: -.05em; }
.account-dialog p { color: #6f7b73; font-size: 11px; line-height: 1.6; }
.account-dialog-actions { margin-top: 27px; display: flex; justify-content: flex-end; gap: 9px; }

/* Readability baseline: interface labels may stay compact, but instructions,
   statuses and actions should never require zooming on a normal display. */
.account-progress small,
.account-import-card p,
.account-import-card small,
.account-import-card__actions .button,
.account-metrics article > div > span,
.account-text-button,
.account-compact-item strong,
.account-compact-item small,
.account-compact-item > b,
.account-empty--compact strong,
.account-empty--compact p,
.account-empty--compact button,
.account-empty--compact a,
.account-grant-card p,
.account-grant-card .button,
.account-quick-links strong,
.account-quick-links small,
.account-privacy-chip,
.account-form-status,
.account-form-actions p,
.account-artifact-card > p,
.account-task-board > header > span,
.account-task-item strong,
.account-task-item small,
.account-settings-card > p,
.account-entitlement strong,
.account-entitlement small,
.account-entitlement b,
.account-entitlement a,
.account-session-footer strong,
.account-session-footer small,
.account-dialog p { font-size: 12px; }

.account-metrics small,
.account-filter-bar button,
.account-artifact-card__meta,
.account-form-actions .button { font-size: 11px; }

.account-nav button,
.account-nav > a,
.account-text-button,
.account-empty--compact button,
.account-empty--compact a,
.account-artifact-menu,
.account-task-check,
.account-task-remove { min-height: 44px; }

@media (max-width: 1120px) {
  .auth-layout { grid-template-columns: 1fr 1fr; }
  .auth-story { padding: 45px; }
  .auth-panel { padding: 45px; }
  .account-app-header { grid-template-columns: 235px 1fr auto; }
  .account-app-shell { grid-template-columns: 250px minmax(0, 1fr); }
  .account-sidebar { padding-inline: 13px; }
  .account-content { padding-inline: 30px; }
  .account-dashboard-grid { grid-template-columns: 1fr; }
  .account-panel--quick { grid-column: auto; }
}

@media (max-width: 900px) {
  .account-public-header { width: calc(100% - 32px); }
  .auth-main { padding-inline: 16px; }
  .auth-layout { grid-template-columns: 1fr; }
  .auth-story { min-height: 500px; }
  .auth-story h1 { max-width: 720px; }
  .auth-preview { display: none; }
  .auth-benefits { margin-top: 50px; }
  .auth-panel { min-height: 650px; }
  .account-minimal-footer { width: calc(100% - 32px); }

  .account-app-header { height: 70px; grid-template-columns: 1fr auto; }
  .account-app-title { display: none; }
  .account-app-shell { min-height: calc(100vh - 70px); display: block; }
  .account-sidebar { min-height: 0; padding: 8px 16px; position: sticky; top: 70px; z-index: 70; display: block; overflow-x: auto; border-right: 0; border-bottom: 1px solid var(--line); background: rgba(229,227,220,.96); backdrop-filter: blur(15px); }
  .account-sidebar { scrollbar-width: thin; scrollbar-color: rgba(40,91,72,.4) transparent; }
  .account-sidebar::after { content: "More →"; min-height: 34px; padding: 0 10px; position: sticky; right: 0; display: inline-flex; align-items: center; border-left: 1px solid var(--line); background: linear-gradient(90deg, rgba(229,227,220,.35), rgba(229,227,220,.98) 28%); color: var(--green-2); font-size: 11px; font-weight: 700; }
  .account-user-card, .account-sidebar-note { display: none; }
  .account-nav { width: max-content; padding: 0; flex-direction: row; }
  .account-nav button,
  .account-nav > a { width: auto; min-height: 46px; grid-template-columns: 20px auto auto; padding-inline: 13px; }
  .account-nav button:hover,
  .account-nav > a:hover { transform: none; }
  .account-content { padding-top: 30px; }
  .account-welcome { min-height: 280px; }
  .account-metrics { grid-template-columns: 1fr; }
  .account-metrics article { min-height: 95px; }
  .account-task-layout { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .account-public-header { height: 70px; }
  .account-back-link { font-size: 0; }
  .account-back-link span { font-size: 14px; }
  .auth-main { padding-inline: 8px; }
  .auth-layout { border-radius: 20px; }
  .auth-story { min-height: 430px; padding: 35px 28px; }
  .auth-story h1 { font-size: 43px; }
  .auth-story-copy > p { font-size: 13px; }
  .auth-benefits { grid-template-columns: 1fr; gap: 14px; }
  .auth-panel { min-height: 600px; padding: 32px 18px; }
  .auth-card { min-height: 455px; padding: 31px 24px; border-radius: 18px; }
  .auth-card__seal { margin-bottom: 25px; }
  .auth-step h2 { font-size: 31px; }
  .auth-assurance span:nth-child(2) { display: none; }
  .account-minimal-footer { flex-direction: column; text-align: center; }

  .account-app-header { padding: 0 14px; }
  .account-header-link { display: none; }
  .account-content { padding: 25px 15px 65px; }
  .account-content-head { margin-bottom: 23px; align-items: center; }
  .account-content-head h1 { font-size: 24px; }
  .account-sync-status { display: none; }
  .account-head-actions .button { padding: 10px 12px; font-size: 9px; }
  .account-nav button,
  .account-nav > a { min-height: 43px; padding-inline: 11px; }
  .account-nav button svg,
  .account-nav > a svg { display: none; }
  .account-nav button,
  .account-nav > a { grid-template-columns: auto auto; }
  .account-welcome { min-height: 390px; padding: 36px 28px; align-items: flex-start; flex-direction: column; gap: 25px; }
  .account-welcome h2 { font-size: 38px; }
  .account-welcome p { font-size: 12px; }
  .account-import-card { grid-template-columns: 42px 1fr; padding: 20px; }
  .account-import-card__actions { grid-column: 1/-1; align-items: stretch; flex-direction: column; }
  .account-import-card__actions .button { width: 100%; }
  .account-progress { width: 105px; height: 105px; align-self: flex-end; }
  .account-progress svg { width: 105px; height: 105px; }
  .account-metrics article { padding: 19px; }
  .account-dashboard-grid { grid-template-columns: minmax(0, 1fr); }
  .account-panel > header { padding-inline: 20px; }
  .account-compact-list { padding-inline: 20px; }
  .account-empty--compact { margin-inline: 20px; flex-wrap: wrap; }
  .account-grant-card { padding: 29px 24px; grid-template-columns: 1fr; }
  .account-grant-card__stamp { display: none; }
  .account-quick-links { padding-inline: 20px; grid-template-columns: 1fr; }
  .account-section-intro { min-height: 0; padding-top: 20px; align-items: flex-start; flex-direction: column; gap: 20px; }
  .account-section-intro h2 { font-size: 38px; }
  .account-privacy-chip { align-self: flex-start; }
  .account-form { padding: 25px 20px; }
  .account-form-grid { grid-template-columns: 1fr; }
  .account-field--wide { grid-column: auto; }
  .account-form-actions { align-items: stretch; flex-direction: column; }
  .account-form-actions .button { width: 100%; }
  .account-filter-bar { border-radius: 13px; }
  .account-artifact-grid { grid-template-columns: 1fr; }
  .account-empty--large { min-height: 390px; }
  .account-form-grid--task { grid-template-columns: 1fr; }
  .account-task-item { grid-template-columns: 29px 1fr 27px; }
  .account-task-category { display: none; }
  .account-settings-grid { grid-template-columns: 1fr; }
  .account-settings-card--wide { grid-column: auto; }
  .account-settings-card { padding: 23px 20px; }
  .account-delete-confirm { grid-template-columns: 1fr; }
  .account-delete-confirm .button { width: 100%; }
  .account-session-footer { padding-inline: 5px; }
  .account-dialog { padding: 35px 25px; }
}

@media (prefers-reduced-motion: reduce) {
  .account-skeleton i::after { animation: none; }
  .account-progress__value { transition: none; }
}
