.ac-page { --ac-ink: #183b32; --ac-stroke: #dfe4d8; color: var(--ac-ink); }
.ac-head { margin: 0 0 1.55rem; }
.ac-head h1 { margin: 0; font-size: clamp(2.1rem, 4.3vw, 3.45rem); line-height: 1.04; letter-spacing: -.06em; }
.ac-layout { display: grid; grid-template-columns: minmax(0, .94fr) minmax(0, 1.06fr); gap: 1.15rem; align-items: start; }
.ac-card { --card-padding: clamp(1rem, 2vw, 1.5rem); min-width: 0; padding: 0 var(--card-padding); border: 1px solid var(--ac-stroke); border-radius: 1.25rem; background: #fff; }
.ac-mark { display: grid; flex: none; width: 2.35rem; height: 2.35rem; place-items: center; border-radius: 1rem; background: #e1edc9; color: #335c39; }
.ac-purple { background: #ece6f5; color: #654e80; }
.ac-card h2 { margin: 0 0 1.05rem; font-size: clamp(1.5rem, 2.25vw, 2rem); letter-spacing: -.045em; line-height: 1.1; }
.ac-card h3 { margin: 0 0 .55rem; font-size: 1.06rem; }
.ac-card p { margin: 0 0 1.05rem; color: #52635b; font-size: 1rem; line-height: 1.55; }
.ac-card .ac-status { margin-bottom: .65rem; color: #345548; font-weight: 650; }
.ac-card .ac-account-id { margin: 0 0 .65rem; overflow-wrap: anywhere; }
.ac-form { display: grid; align-items: start; gap: .45rem; }
.ac-form label { margin-top: .25rem; font-size: .94rem; font-weight: 650; }
.ac-form input { width: 100%; box-sizing: border-box; padding: .68rem .8rem; margin-bottom: .5rem; border: 1px solid #b8c4b9; color: #183b32; border-radius: .62rem; background: #fbfcf8; font: inherit; }
.ac-primary, .ac-secondary, .ac-text { width: fit-content; display: inline-flex; align-items: center; justify-content: center; gap: .45rem; min-height: 2.65rem; padding: .55rem 1rem; border: 1px solid transparent; border-radius: .65rem; font: inherit; font-size: .94rem; font-weight: 650; cursor: pointer; text-decoration: none; }
.ac-primary { background: #163e32; color: white; }
.ac-primary:hover { background: #295846; }
.ac-secondary { border-color: #cbd6c9; background: #fbfcf7; color: #244637; }
.ac-text { background: transparent; color: #365446; padding-inline: .4rem; text-decoration: underline; text-underline-offset: 3px; }
.ac-actions { display: flex; gap: .6rem; flex-wrap: wrap; align-items: center; }
.ac-import { margin-top: .65rem; padding-top: .2rem; border-top: 1px solid var(--ac-stroke); }
.ac-card[open] { padding-bottom: var(--card-padding); }
.ac-fold-heading { display: flex; align-items: center; justify-content: space-between; gap: .8rem; min-height: 44px; cursor: pointer; list-style: none; }
.ac-fold-heading::-webkit-details-marker { display: none; }
.ac-fold-heading::after { content: ''; flex: none; width: .55rem; height: .55rem; margin-inline-end: .25rem; border: solid #586f60; border-width: 0 2px 2px 0; transform: rotate(-45deg); }
details[open] > .ac-fold-heading::after { transform: rotate(45deg); }
.ac-card > .ac-fold-heading { padding: .65rem var(--card-padding); margin-inline: calc(0px - var(--card-padding)); border-radius: inherit; }
.ac-card[open] > .ac-fold-heading { margin-bottom: .5rem; }
.ac-card .ac-fold-heading > :is(h2,h3,h4) { margin: 0; line-height: 1.25; }
.ac-card .ac-fold-heading h2 { display: flex; align-items: center; gap: .7rem; font-size: clamp(1.1rem, 1.8vw, 1.45rem); }
.ac-fold-heading:hover { background-color: #f5f7f0; }
details[open].ac-import > .ac-fold-heading { margin-bottom: .45rem; }
.ac-journal-tools { display: grid; gap: .2rem; margin: 0; padding: 0; border: 0; min-inline-size: 0; }
.ac-journal-tools legend { margin-bottom: .55rem; padding: 0; font-size: 1.06rem; font-weight: 700; }
.ac-journal-tools p { margin-bottom: .35rem; }
.ac-journal-tools label { display: flex; align-items: center; gap: .55rem; min-height: 2.4rem; cursor: pointer; }
.ac-journal-tools input { margin: 0; accent-color: #28583c; }
.ac-approval-list { display: grid; gap: .6rem; list-style: none; margin: .9rem 0; padding: 0; }
.ac-approval-list li { display: flex; align-items: center; flex-wrap: wrap; gap: .5rem 1rem; padding: .65rem 0; border-bottom: 1px solid var(--ac-stroke); }
.ac-approval-list li > div { flex: 1 1 11rem; overflow-wrap: anywhere; }
.ac-approval-list time { display: block; color: #52635b; font-size: .85rem; }
.ac-erasure-queue { padding-bottom: 1rem; margin-bottom: 1rem; border-bottom: 1px solid var(--ac-stroke); }
.ac-erasure-queue h4 { margin: 0 0 .55rem; }
.ac-erasure-confirm p { margin-bottom: .3rem; overflow-wrap: anywhere; }
.ac-form .ac-erasure-consent { display: flex; align-items: baseline; gap: .5rem; margin-bottom: .5rem; line-height: 1.45; }
.ac-erasure-consent input { flex: none; width: auto; margin: 0; accent-color: #28583c; }
[data-erasure-result] { overflow-wrap: anywhere; }
.ac-primary.ac-danger { background: #983e32; }
.ac-primary.ac-danger:hover { background: #7f3127; }
.ac-primary.ac-danger:disabled { cursor: default; }
.ac-card .ac-feedback { margin: .85rem 0 0; color: #365748; }
.ac-card .ac-feedback:empty { display: none; }
.ac-card .ac-error { color: #953d2a; }
.ac-page :focus-visible { outline: 3px solid #568062; outline-offset: 2px; }
.ac-page button:disabled { opacity: .65; cursor: wait; }
@media (max-width: 830px) { .ac-layout { grid-template-columns: 1fr; } }


body.sd-guest { overflow: hidden; }
.sd-shell.sd-preview {
  height: 100vh; height: 100svh; overflow: hidden; pointer-events: none; user-select: none;
}
.sd-preview .sd-workspace { overflow: hidden; }
.sd-preview .sd-content, .sd-preview .sd-side-nav, .sd-preview .sd-profile-wrap, .sd-preview .sd-bottom-nav {
  filter: blur(var(--ac-preview-blur, 4px)); opacity: .84;
}
.ac-gate {
  position: fixed; inset: 0; z-index: 30; display: flex; overflow: auto;
  min-height: 0; padding: max(18px,env(safe-area-inset-top)) max(16px,env(safe-area-inset-right)) max(18px,env(safe-area-inset-bottom)) max(16px,env(safe-area-inset-left));
  background: rgb(22 43 32 / .16); outline: none;
}
.ac-gate.ac-gate-pending { inset: 0; background: #f6f7ef; }
.ac-welcome {
  flex: none; width: min(100%, 432px); margin: auto; padding: clamp(24px,4vw,38px);
  border: 1px solid #d7dfcf; border-radius: 20px; background: #fdfef9;
  box-shadow: 0 12px 44px rgb(20 48 31 / .18);
}
.ac-welcome-signup { align-self: flex-start; margin-block: 0; }
.ac-welcome-body .sd-brand { margin-bottom: 1.3rem; }
.ac-welcome-body .sd-brand img { width: 30px; height: 30px; }
.ac-welcome-body .sd-brand > span { font-size: 1.55rem; }
.ac-welcome-body h1 { margin: 0; font-size: clamp(1.75rem,3.4vw,2.3rem); line-height: 1.08; letter-spacing: -.046em; }
.ac-intro, .ac-gate-status { color: #52635b; line-height: 1.5; margin: .5rem 0 1.25rem; }
.ac-login-actions { display: flex; gap: .65rem; flex-wrap: wrap; }
.ac-login-actions button, .ac-login-form .ac-primary { min-height: 44px; }
.ac-login-form .ac-primary { width: 100%; margin-top: .4rem; }
.ac-login-form input:not([type=checkbox]) { min-height: 44px; font-size: 1rem; }
.ac-signup-choices {
  min-inline-size: 0; display: grid; gap: .45rem; margin: .3rem 0 0; padding: .55rem .8rem .8rem;
  border: 1px solid #d7dfcf; border-radius: .7rem; background: #f6f8ef;
}
.ac-signup-choices legend { padding: 0 .25rem; color: #183b32; font-weight: 700; }
.ac-signup-choices p { margin: 0; font-size: .84rem; line-height: 1.45; color: #52635b; }
.ac-signup-choices #signup-coach-scope { padding-top: .65rem; border-top: 1px solid #d7dfcf; }
.ac-signup-choices label {
  display: grid; grid-template-columns: 1.2rem minmax(0, 1fr); gap: .65rem; align-items: start;
  min-height: 44px; margin: 0; padding: .4rem 0; color: #183b32; font-weight: 400; line-height: 1.4; cursor: pointer;
}
.ac-signup-choices label:has(input:disabled) { cursor: default; }
.ac-signup-choices label > span > span { display: block; margin-top: .12rem; color: #52635b; font-size: .86rem; }
.ac-signup-choices input[type=checkbox] { width: 1.15rem; height: 1.15rem; margin: .14rem 0 0; padding: 0; accent-color: #28583c; }
.ac-signup-choices input:focus-visible { outline: 3px solid #568062; outline-offset: 2px; }
.ac-switch { display: flex; align-items: center; gap: .3rem; flex-wrap: wrap; color: #52635b; margin-top: .65rem; font-size: .9rem; }
.ac-switch .ac-back { margin-right: auto; }
.ac-login-feedback { margin: .7rem 0 0; line-height: 1.4; color: #32583f; }
.ac-login-feedback:empty { display: none; }
.ac-gate .ac-error { color: #963d2c; }
.ac-gate button:disabled { opacity: .65; }
.ac-legacy-consent { display: flex; align-items: baseline; gap: .45rem; margin-bottom: .8rem; line-height: 1.4; }
@media (max-width: 760px) {
  .ac-gate { top: var(--sd-mobile-header-height); padding-top: 18px; }
}
@media (max-width: 480px) {
  .sd-preview { --ac-preview-blur: 3px; }
  .ac-welcome { border-radius: 15px; }
}

.ac-page .ac-plan-sport { margin: 1.2rem 0 0; font-size: .94rem; }
.ac-plan-sport a { display: block; width: fit-content; color: #28583c; margin-top: .35rem; }
.ac-privacy-body { margin: 0; background: #f6f7ef; color: #183b32; font: 1rem/1.65 system-ui, sans-serif; }
.ac-privacy { max-width: 45rem; padding: 2rem clamp(1rem, 5vw, 3rem) 4rem; margin: auto; }
.ac-privacy h1 { margin: 1.5rem 0 .25rem; font-size: clamp(2rem, 6vw, 3rem); line-height: 1.1; }
.ac-privacy h2 { margin: 2rem 0 .5rem; font-size: 1.4rem; line-height: 1.25; }
.ac-privacy p { margin: .55rem 0; }
.ac-privacy a, .ac-privacy-link { color: #28583c; overflow-wrap: anywhere; text-underline-offset: .18em; }
.ac-privacy a:focus-visible, .ac-privacy-link:focus-visible { outline: 3px solid #568062; outline-offset: 3px; }
.ac-welcome .ac-privacy-link { display: inline-block; margin-top: .85rem; }

.ac-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
