/* Set 1 mobile compositions, measured from the approved account and home boards. */
@font-face {
  font-family: "Klar Account Heading";
  src: url("/fonts/nunito-extra-bold.ttf") format("truetype");
  font-weight: 800;
  font-display: swap;
}
@media (max-width: 620px) {
  body #app .kh-home .kh-hero { gap: 0; padding-block: 0; }
  body #app .kh-home .kh-intro .kh-actions { margin: 0; gap: 4px; }
  body #app .kh-home .kh-intro .kh-actions a,
  body #app .kh-home .kh-win > a { min-height: 32px; padding-block: 4px; line-height: 1.12; }
  body #app .kh-home .kh-win { padding-block: 4px; }
  body #app .kh-home .kh-win .kh-phrase { margin-block: 2px; }
  body #app .kh-home .kh-split { gap: 7px; margin-block: 8px; }
  body #app .kh-home .kh-grid a { min-height: 40px; padding-block: 2px; }
  body #app .kh-home .kh-teach { margin-block: 6px; padding-block: 6px; }
  body #app .kh-home .kh-teach .kh-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
  body #app .kh-home .kh-teach .kh-actions a { min-height: 34px; padding: 4px; }

  body #app .s2-dashboard[data-entry=true] .s2-heading h1,
  body #app .access-board .access-illustration h2,
  body #app .kl-recover-finish .recovery-intro h1,
  body #app .eb-account-state h1,
  body #workspaceChoices .workspace-intro h2,
  body #klarLogoutDialog #logoutTitle,
  body #app .entry-account-overview h2 {
    font-family: "Klar Account Heading", Nunito, system-ui, sans-serif !important;
    font-weight: 800 !important;
    line-height: 1.04 !important;
    letter-spacing: -.035em !important;
    color: #112b21;
  }
  body #app .s2-dashboard[data-entry=true] .s2-heading h1 { font-size: clamp(36px, 10.5vw, 48px); }
  body #app .s2-dashboard[data-entry=true] .s2-heading p { font-size: 19px; margin-block: 9px 14px; }
  body #app .s2-dashboard[data-entry=true] .s2-lesson h2 { font-size: clamp(25px, 7.5vw, 31px); }
  body #app .s2-dashboard[data-entry=true] .s2-lesson .primary { min-height: 49px; font-size: 20px; }
  body #app .s2-dashboard[data-entry=true] .s2-shortcuts { gap: 12px; margin-top: 16px; }
  body #app .s2-dashboard[data-entry=true] .s2-shortcuts button { min-height: 68px; font-size: 20px; }
  body #app .s2-dashboard[data-entry=true] .s2-shortcuts img { width: 64px; }

  body #app .kl-auth-page:has(.access-board),
  body #app .kl-recover-finish {
    display: flex;
    flex-direction: column;
    min-height: 100svh;
    box-sizing: border-box;
  }
  body #app .kl-auth-page:has(.access-board) .set-one-footer,
  body #app .kl-recover-finish .set-one-entry-footer {
    width: 100%;
    margin-top: auto;
  }
  body #app .kl-auth-page .access-board .access-illustration h2 {
    font-size: clamp(32px, 9.5vw, 45px) !important;
    margin-block: 12px 5px !important;
  }
  body #app .access-board .access-illustration[data-scene="institute-login"] h2 { max-width: 18ch; }
  body #app .access-board .access-illustration:is([data-scene="verification"],[data-scene="verification-error"],[data-scene="recovery"]) h2 {
    max-width: 11ch;
    font-size: clamp(36px, 11.8vw, 53px) !important;
  }
  body #app .access-board .access-illustration[data-scene="recovery-sent"] h2 { max-width: 19ch; }
  body #app .access-board .access-illustration[data-scene="recovery"] img { max-height: 123px !important; }
  body #app .access-board .kl-auth-card { width: 100%; box-sizing: border-box; padding: 16px 17px !important; }
  body #app .access-board .kl-auth-card :is(label,input,select) { font-size: 17px !important; }
  body #app .access-board .kl-auth-card form { gap: 10px; }
  body #app .access-board .kl-auth-card form > label { margin-block: 7px !important; }
  body #app .access-board .kl-auth-card .primary { min-height: 47px !important; font-size: 19px !important; }
  body #app .access-board .kl-auth-card .access-role { font-size: 18px; padding-inline: .8em; }
  body #app .access-board .kl-auth-card .auth-registration-steps { gap: 10px; }
  body #app .access-board .kl-auth-card .auth-registration-steps li { font-size: 17px; }
  body #app .access-board .kl-auth-card .feedback.bad { padding: 12px; line-height: 1.25; }
  body #app .access-board .kl-auth-card[data-eb-access] { padding-block: 20px !important; }
  body #app .access-board .kl-auth-card[data-eb-access] .auth-code-actions { gap: 8px; }
  body #app .access-board .kl-auth-card[data-eb-access] :is(.auth-code-actions button,.auth-back) { min-height: 42px; }

  body #app .kl-recover-finish .recovery-intro h1 { font-size: clamp(37px, 11.5vw, 55px); }
  body #app .kl-recover-finish .recovery-intro p { font-size: 20px; margin-block: 5px 10px; }
  body #app .kl-recover-finish .recovery-card button:is(.primary,.secondary) { min-height: 48px; font-size: 18px; }

  body #app .entry-account-overview > picture > img { height: auto; max-height: 41vw; }
  body #app .entry-account-overview h2 { font-size: clamp(34px, 9.5vw, 46px); }
  body #app .set-one-account-menu[open] .account-dropdown { padding-inline: 18px; }
  body #app .set-one-account-menu .account-role { font-size: 15px; }
  body #app .set-one-account-menu .account-dropdown > button:not(.account-menu-close) { min-height: 42px; font-size: 16px; }
  body #workspaceChoices .workspace-layout { margin: 0 auto; padding: 18px 14px 12px; }
  body #workspaceChoices .workspace-intro h2 { font-size: clamp(39px, 11.5vw, 53px); max-width: 10ch; }
  body #workspaceChoices .workspace-intro picture img { max-height: 42vw; }
  body #workspaceChoices .workspace-card fieldset label { border-radius: 8px; }
  body #workspaceChoices .workspace-card .primary { min-height: 48px; }

  body #klarLogoutDialog { padding: 15px 18px max(24px,env(safe-area-inset-bottom)); background: #fffbf5; }
  body #klarLogoutDialog::before { content: ""; display: block; height: 5px; width: 52px; background: #b8b8b1; border-radius: 8px; margin: 0 auto 12px; }
  body #klarLogoutDialog .logout-art { height: min(34vw, 165px); width: 75%; }
  body #klarLogoutDialog #logoutTitle { font-size: clamp(27px, 8vw, 39px); margin: 7px 0; }
  body #klarLogoutDialog > p { font-size: 18px; line-height: 1.3; margin-block: 11px 19px; }
  body #klarLogoutDialog .eb-actions button { min-height: 48px; font-size: 18px; }
  body #app .eb-account-state { padding: 13px; }
  body #app .eb-account-state > picture img { max-height: 54vw; }
  body #app .eb-account-state.expired-account > picture img { max-height: 62vw; }
  body #app .eb-account-state > div { padding: 18px 16px; border: 1px solid #aeb7aa; border-radius: 13px; }
  body #app .eb-account-state h1 { font-size: clamp(31px, 8.6vw, 44px); margin-block: 9px; }
  body #app .eb-account-state p { font-size: 18px; line-height: 1.35; }
  body #app .eb-account-state .eb-actions > * { min-height: 47px; font-size: 18px; }
  body #app .eb-account-state .workspace-advice { display: flex; align-items: flex-start; gap: 10px; padding: 12px; }
  body #app .eb-account-state .workspace-advice::before { content: "ⓘ"; color: #744092; font-size: 1.4em; line-height: 1; }
}
body #app .set-one-account-menu .account-dropdown > :is([data-shell="profile"],[data-shell="account"],[data-switch-workspace],[data-shell="help"]) {
  display: flex; align-items: center; gap: 13px; border: 0; border-radius: 0;
  background-color: transparent; color: #16251c; font-weight: 650;
}
body #app .set-one-account-menu .account-dropdown > button::after { margin-left: auto; }
body #app .set-one-account-menu .account-dropdown > :is([data-shell="profile"],[data-shell="account"],[data-switch-workspace],[data-shell="help"])::before {
  content: ""; flex: none; width: 23px; height: 23px;
  background: var(--account-icon) center/contain no-repeat;
}
.set-one-account-menu [data-shell="profile"] { --account-icon: url("/assets/set-one/menu-profile.webp"); }
.set-one-account-menu [data-shell="account"] { --account-icon: url("/assets/set-one/menu-settings.webp"); }
.set-one-account-menu [data-switch-workspace] { --account-icon: url("/assets/set-one/menu-workspace.webp"); }
.set-one-account-menu [data-shell="help"] { --account-icon: url("/assets/set-one/menu-help.webp"); }
@media (max-width: 620px) {
  /* The mobile home board stacks every section, including its footer. */
  body #app .kl-public-home .kh-intro > p { font-size: 14px; line-height: 1.15; padding: 3px 10px; margin-block: 4px; }
  body #app .kh-home .kh-skyline { width: 100%; margin: 0; }
  body #app .kh-home .kh-skyline img { height: clamp(72px,23vw,92px); width: 100%; object-fit: contain; }
  body #app .kh-home .kh-phrase .kh-bubble { padding: 2px 8px; font-size: 14px; line-height: 1.12; }
  body #app .kh-home .kh-win .kh-phrase img { width: 42px; height: 34px; }
  body #app .kh-home .kh-audio-status:empty { display: none; }
  body #app .kh-home :is(.kh-goals,.kh-split) h2 { margin-block: 0 3px; font-size: 19px; line-height: 1.08; }
  body #app .kh-home .kh-grid { margin-top: 0; }
  body #app .kh-home .kh-grid a { gap: 8px; min-height: 38px; padding-block: 2px; }
  body #app .kh-home .kh-grid img { width: 47px; height: 35px; }
  body #app .kh-home .kh-grid small { font-size: 13px; line-height: 1.12; }
  body #app .kh-home .kh-grid strong { font-size: 16px; }
  body #app .kh-home .kh-samples { margin-top: 0; }
  body #app .kh-home .kh-samples a { padding: 4px 1px; gap: 2px; min-height: 0; line-height: 1.05; }
  body #app .kh-home .kh-samples img { height: 28px; }
  body #app .kh-home .kh-samples i { width: 20px; height: 20px; }
  body #app .kh-home .kh-split section + section { margin-top: 0; }
  body #app .kh-home .kh-profiles a { padding: 2px; min-height: 40px; }
  body #app .kh-home .kh-profiles img { height: 35px; }
  body #app .kh-home .kh-profiles a strong { font-size: 14px; }
  body #app .kh-home .kh-teach { display: grid; grid-template-columns: 24% 1fr; gap: 3px 8px; padding: 6px 9px; }
  body #app .kh-home .kh-teach img { width: 100%; height: 44px; }
  body #app .kh-home .kh-teach h2 { font-size: 19px; margin: 0; }
  body #app .kh-home .kh-teach p { font-size: 14px; line-height: 1.15; margin: 0; }
  body #app .kh-home .kh-teach .kh-actions { grid-column: 1 / -1; margin: 0; }
  body #app .kl-public-home:has(.kh-home) .kc-footer { margin-top: 5px; padding: 5px 0; }
  body #app .kl-public-home:has(.kh-home) .kc-footer-top { display: grid; gap: 0; }
  body #app .kl-public-home:has(.kh-home) .kc-footer-top :is(p,a) { margin: 0; font-size: 12px; }
  body #app .kl-public-home:has(.kh-home) .kc-footer-top nav a { min-height: 26px; }
  body #app .kl-public-home:has(.kh-home) .kc-footer-notes { margin: 0; }
  body #app .kl-public-home:has(.kh-home) .kc-footer-notes > summary { min-height: 25px; padding: 2px 0; font-size: 12px; }

  /* Hydrated teaching entries wrap the cards in an additional role grid. */
  body #app .kl-auth-page:has(.access-board) { width: 100%; margin: 0; min-height: 0; }
  body #app .kl-auth-page :is(.kl-auth-stage,.role-stage-grid,.access-board,.kl-auth-card) { width: 100% !important; min-width: 0; max-width: none; box-sizing: border-box; }
  body #app .kl-auth-page .kl-auth-stage:has(.role-stage-grid) { margin: 0; padding: 0; }
  body #app .kl-auth-page .access-board .access-illustration[data-role-scene] h2 { max-width: 100%; width: auto; text-wrap: initial; margin-inline: 8px !important; }
  body #app .kl-auth-page .access-board .access-illustration:is([data-scene="tutor-register"],[data-scene="institute-register"],[data-scene="institute-login"]) h2 { font-size: clamp(30px,8.7vw,40px) !important; }
  body #app .access-board .kl-auth-card[data-auth-mode="signup"] .auth-registration-steps { width: 100%; padding: 9px 0; margin: 8px 0; gap: 6px; grid-template-columns: minmax(0,1fr); }
  body #app .access-board .kl-auth-card .auth-registration-steps li { display: grid; grid-template-columns: 30px minmax(0,1fr); gap: 8px; margin: 0; padding: 0; white-space: normal; font-size: 17px; line-height: 1.2; }
  body #app .access-board .kl-auth-card .auth-registration-steps li::before { width: 30px; height: 30px; }
  body #app:has(.kl-auth-page .access-board) { min-height: 100svh; box-sizing: border-box; display: flex; flex-direction: column; }
  body #app:has(.kl-auth-page .access-board) > .set-one-footer { width: 100%; margin-top: auto; }
}

@media (max-width: 620px) {
  body #app ul.auth-registration-steps li::before { background-size: contain; background-color: transparent; border-radius: 0; }
  body #app ul.auth-registration-steps li:nth-child(1)::before { background-image: url("/assets/set-one/step-email.webp"); }
  body #app ul.auth-registration-steps li:nth-child(2)::before { background-image: url("/assets/set-one/step-invitation.webp"); }
  body #app ul.auth-registration-steps li:nth-child(3)::before { background-image: url("/assets/set-one/step-review.webp"); }
}

/* Board-scale layout follows the available width and height. */

@media (min-width: 621px) {
  html:has(#app .access-board, #app > .set-one-entry-header, #workspaceChoices[open], #klarLogoutDialog[open], #app .kl-recover-finish) {
    font-size: clamp(100%,min(2.3vw,2.6svh),195%);
  }
  body #app .kl-auth-page:has(.access-board) { width:100%; max-width: none; }
  body #app .access-board .kl-auth-card { padding: 1.15rem; border-radius:.9rem; }
  body #app .access-board .kl-auth-card :is(input,select,.primary,.auth-back,.kl-code-option summary) { min-height: max(44px,2.45rem) !important; }
  body #app .access-board .kl-auth-card form { gap:.5rem; margin:.7rem 0; }
  body #app .access-board .kl-auth-card form > label { margin-block:.38rem; }
  body #app .access-board .kl-auth-card .auth-code-actions button { min-height:max(42px,2.2rem); }
  body #app .access-board .access-illustration h2 { font-family:"Klar Account Heading",Nunito,system-ui,sans-serif !important; }
  body #app .access-board .kl-auth-card ul.auth-registration-steps li { margin-block:.32rem; }
  body #klarLogoutDialog { width:min(86vw,23rem); padding:1.1rem; border-radius:1rem; }
  body #klarLogoutDialog .eb-actions button { min-height:max(44px,2.5rem); }
  body #app .entry-account-overview { max-width: min(96%,58rem); }
}
@media (min-width:621px) and (max-width:1024px) {
  html:has(#app .access-board, #app > .set-one-entry-header, #workspaceChoices[open], #klarLogoutDialog[open], #app .kl-recover-finish) { font-size:clamp(100%,min(3.4vw,2.6svh),165%); }
  body #app .kl-auth-stage.access-board, body #app .role-stage-grid.access-board { max-width:min(96%,31rem); padding:.65rem .85rem; gap:.45rem; }
  body #app .access-board .access-illustration h2 { font-size:clamp(1.9rem,6.5vw,2.9rem)!important; }
  body #app .s2-dashboard[data-entry=true] .s2-lesson button { min-height:2.65rem; }
  body #app .eb-account-state>picture img { max-height:min(44vw,15rem); }
}
@media (min-width:1025px) {
  body #app .kl-auth-stage.access-board, body #app .role-stage-grid.access-board { max-width:min(98%,54rem); padding:clamp(1rem,3vw,2.4rem); gap:1rem; }
  body #app .access-board .access-illustration img { max-height:min(48vw,62svh); }
  body #app .access-board .access-illustration h2 { font-size:clamp(2.3rem,5.5vw,3.9rem)!important; }
  body #app .s2-dashboard[data-entry=true], body #app .eb-account-state { max-width:min(96%,62rem); }
  body #app .s2-dashboard[data-entry=true] .s2-heading picture img { max-height:min(48vw,39svh); }
}
@media (max-width:620px) {
  body #app .access-board .access-illustration[data-scene="recovery-sent"] h2 { text-wrap:initial; }
  body #app .s2-dashboard[data-entry=true] .s2-heading h1 { font-size:clamp(34px,9.5vw,45px)!important; font-weight:850; }
}

@media (max-width:620px) {
  body #app .access-board:has(.kl-auth-card[data-auth-mode="login"]) .access-illustration img {
    max-height:clamp(76px,13svh,120px)!important;
    object-fit:contain;
  }
  body #app .access-board .kl-auth-card[data-auth-mode="login"] { padding:12px 16px!important; }
  body #app .access-board .kl-auth-card[data-auth-mode="login"] form { gap:6px; margin-block:7px; }
  body #app .access-board .kl-auth-card[data-auth-mode="login"] form>label { margin-block:3px!important; }
  body #app .s2-frame:has(.s2-account-holder details[open]) .s2-nav { visibility:hidden; }
}

@media (max-width: 40rem) and (min-height: 44rem) {
  body #app .access-board .access-illustration[data-scene="recovery"] img {
    max-height: clamp(105px, 30vw, 145px) !important;
  }
}

@media (min-width: 1025px) {
  .layout:has(#app [data-scene="learner-register"]),
  body #app:has(.kl-auth-page [data-scene="learner-register"]) {
    width: 100%;
    max-width: 1440px;
  }
  body #app .kl-auth-stage.access-board:has([data-scene="learner-register"]) {
    grid-template-columns: minmax(0, .96fr) minmax(0, 1fr);
    column-gap: clamp(24px, 3vw, 44px);
    padding-inline: clamp(16px, 2vw, 32px);
    row-gap: .25rem;
  }
  body #app .access-board .access-illustration[data-scene="learner-register"] h2 {
    font-size: clamp(38px, 4vw, 58px) !important;
    text-wrap: initial;
  }
  body #app .kl-auth-stage.access-board:has([data-scene="learner-register"]) .kl-auth-card {
    width: 100%;
    max-width: none;
    padding: 0 !important;
  }
}

@media (min-width: 621px) and (max-width: 1024px) {
  body #app .access-board .access-illustration[data-scene="learner-register"] h2 {
    margin-inline: 32px;
    font-size: clamp(34px, 5.9vw, 54px) !important;
    text-wrap: initial;
  }
}

@media (max-width: 620px) {
  body #app .kl-auth-page .access-board .access-illustration[data-scene="learner-register"] h2 {
    margin-inline: 17px !important;
    max-width: 13ch;
  }
}

/* Registration details from Set 1, learner registration. */
body #app .access-board .access-illustration[data-scene="learner-register"] h2::after {
  content: "";
  display: inline-block;
  width: .62em;
  height: .85em;
  margin-inline-start: .08em;
  vertical-align: -.16em;
  background: url("/assets/set-one/title-rays.png") center / contain no-repeat;
}
body #app .access-board:has([data-scene="learner-register"]) .set-one-role-picker select {
  padding-inline-start: 2.25em;
  background-image: url("/assets/set-one/role-icon.png");
  background-size: 1.05em auto;
  background-position: .7em center;
  background-repeat: no-repeat;
}
body #app .access-board:has([data-scene="learner-register"]) .auth-verification-tip {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: .8em;
  padding-inline: .95em;
  font-size: clamp(14px, 2vw, 22px);
}
body #app .access-board:has([data-scene="learner-register"]) .auth-verification-tip::before {
  content: "";
  flex: 0 0 1.4em;
  height: 1.05em;
  background: url("/assets/set-one/verify-envelope.png") center / contain no-repeat;
}
body #app .access-board:has([data-scene="learner-register"]) :is(.signup-legal a, button[data-ui-auth="login"], a[data-entry-switch]) {
  background-color: #edddff;
  color: #162b23;
  border-radius: 99px;
  padding-inline: .45em;
}

@media (min-width: 621px) and (max-width: 1024px) {
  body #app .kl-auth-stage.access-board:has([data-scene="learner-register"]) .kl-auth-card {
    padding-block: 0 !important;
  }
  body #app .kl-auth-stage.access-board:has([data-scene="learner-register"]) {
    row-gap: 0;
  }
  body #app .access-board:has([data-scene="learner-register"]) .kl-auth-card form,
  body #app .access-board:has([data-scene="learner-register"]) .signup-legal {
    margin-block: 6px !important;
  }
  body #app .access-board:has([data-scene="learner-register"]) .kl-auth-card :is(input, select, .primary) {
    min-height: 48px !important;
    padding-block: 6px;
  }
}

@media (min-width: 621px) and (max-width: 1024px) {
  body #app .access-board .access-illustration[data-scene="recovery"] h2 {
    max-width: 8em;
    margin-inline: auto;
    text-wrap: wrap;
  }
}

/* The recovery confirmation title follows the width of its illustration column. */
body #app .access-board .access-illustration[data-scene="recovery-sent"] {
  container-type: inline-size;
}
body #app .kl-auth-page .access-board .access-illustration[data-scene="recovery-sent"] h2 {
  font-size: clamp(1.4rem, 8.8cqi, 3rem) !important;
  max-width: 12em;
  text-wrap: balance;
}
body #app .access-illustration[data-scene="recovery-sent"] h2::after {
  content: "";
  display: inline-block;
  width: .55em;
  height: .85em;
  margin-inline-start: .08em;
  vertical-align: -.13em;
  background: url("/assets/set-one/title-rays.png") center / contain no-repeat;
}

@media (min-width: 621px) and (max-width: 1024px) {
  html:has(#app [data-scene="recovery-sent"]) {
    font-size: clamp(100%, 1.7svh, 140%);
  }
}

body #app .kl-recover-finish .recovery-tip {
  display: flex; align-items: center; gap: 12px; background: #f0e2f9; padding: 10px 14px; border-radius: 12px;
}
body #app .kl-recover-finish .recovery-tip::before {
  content: ""; flex: 0 0 44px; height: 44px; border-right: 1px solid #324034;
  background: url("/assets/set-one/password-tip-lock.webp") left center/35px auto no-repeat;
}

@media (min-width: 621px) {
  body #app .kl-recover-finish .recovery-intro h1 {
    font: 850 clamp(2rem, 4.5vw, 4.75rem)/1.05 "Klar Account Heading", Nunito, sans-serif;
  }
  body #app .kl-recover-finish :is(.recovery-intro p, .recovery-tip, .recovery-card button.primary, #recoveryBack) {
    font-size: clamp(16px, 1.8vw, 24px);
    line-height: 1.3;
  }
}

/* The workspace picker shares the same action shapes at every width. */
body #workspaceChoices .workspace-card button:is(.primary,.secondary) {
  min-height: 48px;
  border-radius: 999px;
  font-size: 1.125rem;
}
body #workspaceChoices .workspace-card .secondary {
  border: 1px solid #24543c;
}

body #klarLogoutDialog .eb-actions .secondary {
  border: 1px solid #24543c;
}
body #klarLogoutDialog #logoutStay.text-button {
  text-decoration: underline;
  color: #0a5837;
}
body #klarLogoutDialog:has(#logoutSave) #logoutTitle {
  font-size: clamp(21px, 5.6vw, 32px);
  line-height: 1.15;
}
@media (min-width: 621px) {
  body #klarLogoutDialog {
    max-width: calc(100vw - 32px);
    width: min(64vw, 510px);
  }
  body #klarLogoutDialog:has(#logoutSave) {
    width: min(76vw, 580px);
  }
  body #klarLogoutDialog #logoutTitle {
    font-size: 32px;
    line-height: 1.15;
    margin: 10px 0;
  }
  body #klarLogoutDialog > p {
    font-size: 20px;
    line-height: 1.35;
    margin: 12px auto 18px;
    max-width: 28ch;
  }
  body #klarLogoutDialog .eb-actions button {
    font-size: 20px;
    line-height: 1.25;
    min-height: 48px;
  }
}

body #app .eb-account-state .eb-actions > * {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: 999px;
  font-weight: 750;
  text-decoration: none;
}
body #app .eb-account-state .eb-actions .secondary {
  border: 1px solid #24543c;
}
body #app .eb-account-state > div > a {
  color: #145a39;
  font-weight: 700;
}
@media (min-width: 621px) {
  body #app .eb-account-state h1 {
    font-family: "Klar Account Heading", Nunito, system-ui, sans-serif;
    font-size: clamp(38px, 5.4vw, 48px);
    line-height: 1.06;
    margin: 0 0 14px;
    font-weight: 850;
  }
  body #app .eb-account-state p,
  body #app .eb-account-state .eb-actions > *,
  body #app .eb-account-state > div > a {
    font-size: 20px;
    line-height: 1.35;
  }
  body #app .eb-account-state > div { padding: 24px; }
  body #app .eb-account-state .workspace-advice {
    display: flex;
    align-items: flex-start;
    gap: 10px;
  }
  body #app .eb-account-state .workspace-advice::before {
    content: "ⓘ";
    color: #744092;
    font-size: 1.3em;
  }
}
@media (min-width: 621px) and (max-width: 1024px) {
  body #app .eb-account-state { padding: 16px; margin-block: 10px; }
  body #app .eb-account-state > picture img { max-height: min(32svh, 300px); }
}
body #app:has(> .eb-account-state) {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}
body #app > .eb-account-state { margin-block: auto; }
@media (max-width: 620px) {
  body #app .eb-account-state:not(.expired-account) > picture img { max-height: 46vw; }
}
@media (min-width: 621px) and (max-width: 1024px) {
  body #app .eb-account-state:not(.expired-account) h1 { max-width: 18ch; }
  body #app .eb-account-state:not(.expired-account) > picture img { max-height: 25svh; }
}
