/* Homepage experiment. The class is removed on navigation to other pages. */
body.home-preview {
  --cream: #f9f9f9;
  --dark: #252529;
  --ink: #303035;
  --muted: #64646c;
  --brown: #303035;
  --yellow: #fae775;
  --purple: #a224e3;
  --violet: #a224e3;
  --violet-dark: #8316bb;
  --lilac: #f3ecf9;
  --lavender: #f3ecf9;
  --violet-line: #d9cce6;
  --line: #e5e4e8;
  --shadow: 0 6px 24px #29242f04;
  background: #f9f9f9;
  color: var(--ink);
}
.home-preview .site-header {
  background: #f9f9f9f5;
  border-color: var(--line);
}
.home-preview :is(.brand-caption, .nav > a, .footer-grid h3, .footer-bottom) { color: var(--muted); }
.home-preview .nav > a:hover { color: var(--dark); }
.home-preview .mobile-nav { background: #fff; border-color: var(--line); }
.home-preview .btn {
  background: var(--yellow);
  color: var(--dark);
  border-color: transparent;
  box-shadow: none;
}
.home-preview .btn:hover { background: #f3dd57; }
.home-preview .btn.violet { background: var(--purple); color: #fff; }
.home-preview .btn.violet:hover { background: var(--violet-dark); }
.home-preview .btn.light { background: #fff; color: var(--dark); border-color: var(--line); }
.home-preview .btn.light:hover { background: #f3ecf9; border-color: #cdb8df; }
.home-preview .site-header .header-actions .demo-link {
  background: #fff; color: var(--dark); border-color: #bb8ed5; box-shadow: none;
}
.home-preview .site-header .header-actions .demo-link:is(:hover, :focus-visible, [aria-current="page"]) {
  background: #f3e6fb; color: var(--dark); border-color: var(--purple);
}
/* Information first, one compact row of actions below. Consent behavior is unchanged. */
.home-preview #zuzu-cookie-controls { color: var(--dark); }
.home-preview .cookie-banner {
  width: min(820px, calc(100% - 32px)); padding: 19px 22px;
  grid-template-columns: minmax(0, 1fr); gap: 15px;
  border: 1px solid #ddd5e5; border-radius: 20px;
  box-shadow: 0 8px 36px #2822321a;
}
.home-preview .cookie-banner h2 { font-size: 17px; margin-bottom: 6px; color: var(--dark); }
.home-preview :is(.cookie-banner, .cookie-dialog) p { color: var(--muted); }
.home-preview :is(.cookie-banner, .cookie-dialog) a { color: var(--dark); }
.home-preview .cookie-banner-actions { display: flex; flex-wrap: wrap; gap: 10px; min-width: 0; }
.home-preview .cookie-button { color: var(--dark); border-color: var(--line); background: #fff; border-radius: 10px; }
.home-preview .cookie-button:hover { background: #f3ecf9; border-color: #cdb8df; }
.home-preview :is(.cookie-button-primary, .cookie-banner [data-cookie-action="accept"]) { color: #fff; background: var(--purple); border-color: var(--purple); }
.home-preview :is(.cookie-button-primary, .cookie-banner [data-cookie-action="accept"]):hover { color: #fff; background: var(--violet-dark); border-color: var(--violet-dark); }
.home-preview .cookie-dialog { color: var(--dark); border-color: var(--line); }
.home-preview .cookie-close { color: var(--dark); }
.home-preview .cookie-category { border-color: var(--line); }

@media (max-width: 600px) {
  .home-preview .cookie-banner { padding: 16px; gap: 12px; bottom: 12px; }
  .home-preview .cookie-banner h2 { font-size: 16px; }
  .home-preview .cookie-banner p { font-size: 12px; line-height: 1.6; }
  .home-preview .cookie-banner-actions { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 8px; }
  .home-preview .cookie-banner-actions [data-cookie-action="accept"] { grid-column: 1 / -1; }
  .home-preview .cookie-banner-actions .cookie-button:last-child { grid-column: auto; }
  .home-preview .cookie-banner-actions .cookie-button { padding: 10px; font-size: 12px; }
}
.home-preview { --dark: #202632; --ink: #252932; }
.home-preview .btn.home-soft { background: #f0eaf6; color: #741ba5; }
.home-preview .btn.home-soft:hover { background: #e9d9f4; }
.home-preview .brand-logo { width: 38px; height: 38px; }
.home-preview .brand-name { font-size: 21px; font-weight: 700; }
.home-preview .brand-caption { display: none !important; }
.home-page .section { padding: clamp(22px, 3vw, 42px) 0; }
.home-page .section-heading { max-width: 760px; margin: 0 auto clamp(20px, 3vw, 36px); }
.home-page .section-heading h2 { font-size: clamp(30px, 4vw, 47px); line-height: 1.12; font-weight: 700; }
.home-page .section-heading p { font-size: clamp(14px, 1.4vw, 18px); }
.home-page .hero { grid-template-columns: 1.25fr 1fr; gap: clamp(24px, 7vw, 110px); padding: clamp(30px, 5vw, 70px) 0; }
.home-page .hero h1 { font-size: clamp(37px, 4.5vw, 62px); font-weight: 700; margin: 0 0 24px; }
.home-page .hero h1 span { display: block; color: var(--purple); }
.home-page .hero-description { max-width: 550px; font-size: clamp(15px, 1.45vw, 19px); line-height: 1.55; }
.home-page .hero .actions { margin: 28px 0 0; }
.home-page .home-photo { margin: 0; position: relative; border-radius: 22px; box-shadow: 0 10px 25px #28223216; }
.home-page .home-photo img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: inherit; box-shadow: none; }
.home-page .home-photo figcaption { position: absolute; inset: auto 0 0; display: flex; gap: 12px; justify-content: space-between; align-items: end; padding: 50px 20px 18px; border-radius: 0 0 22px 22px; background: linear-gradient(transparent, #141520e8); color: white; line-height: 1.4; font-size: 13px; }
.home-photo-tag { background: var(--yellow); color: var(--dark); white-space: nowrap; padding: 5px 9px; border-radius: 8px; font-size: 11px; }
.home-photo-badge { position: absolute; right: -10px; top: -14px; background: #fff; padding: 10px 14px; box-shadow: 0 4px 15px #28223222; border-radius: 12px; display: flex; align-items: center; gap: 8px; font-size: 12px; }
.home-photo-badge .icon { color: #741ba5; background: var(--yellow); width: 25px; height: 25px; padding: 4px; border-radius: 6px; }
.home-page .home-intro .home-photo { max-width: 860px; margin-inline: auto; }
.home-page .home-intro img { aspect-ratio: 2.1; }
.home-intro figcaption > span:first-child { max-width: 470px; }
.home-intro figcaption small { color: var(--yellow); text-transform: uppercase; }
.home-program-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 28px; align-items: start; padding-top: 14px; }
.home-program-card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 23px; padding: 28px; box-shadow: 0 4px 10px #24202a14; overflow: visible; }
.home-program-ribbon { position: absolute; z-index: 1; top: 0; right: 14px; max-width: calc(100% - 28px); transform: translateY(-50%); background: var(--purple); color: #fff; padding: 4px 10px; border-radius: 999px; box-shadow: 0 4px 12px #8316bb2e; font-size: 11px; font-weight: 700; line-height: 1.3; text-transform: uppercase; text-align: center; }
.home-program-label { color: #741ba5; font-size: 11px; text-transform: uppercase; text-align: center; margin-bottom: 10px; }
.home-program-card:not(.home-program-card-personal) .home-program-label { margin-top: 0; }
.home-program-card h3 { display: flex; align-items: center; gap: 12px; font-weight: 700; margin: 0 0 14px; min-height: 54px; }
.home-program-card .home-feature-icon,.home-outcome .home-feature-icon { display: inline-grid; place-items: center; flex: 0 0 42px; width: 42px; height: 42px; border-radius: 13px; background: #efe8f4; color: #8316bb; }
.home-program-description { min-height: 3.3em; }
.home-program-purchase { display: flex; align-items: baseline; justify-content: end; flex-wrap: wrap; gap: 8px; padding: 0; }
.home-program-purchase .price { font-weight: 700; font-size: clamp(23px, 2.4vw, 32px); }
.home-program-purchase small,.home-old-price { color: var(--muted); }
.home-program-disclosure summary,.home-faq summary { display: flex; align-items: center; gap: 8px; list-style: none; }
.home-program-disclosure summary::-webkit-details-marker,.home-faq summary::-webkit-details-marker { display: none; }
.home-program-disclosure summary { justify-content: space-between; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 14px; }
.home-details-label { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; background: #f4f1f6; border-radius: 9px; color: #741ba5; font-weight: 700; }
.home-program-disclosure[open] .home-details-label .icon { transform: rotate(180deg); }
.home-program-disclosure[data-disclosure-expanded="false"] .home-details-label .icon { transform: none; }
.home-program-detail { padding-top: 22px; }
.home-program-detail h4 { text-transform: uppercase; font-size: 13px; margin: 20px 0 10px; }
.home-duration { display: flex; justify-content: space-between; gap: 10px; padding: 12px; background: #f6f4f8; border-radius: 9px; }
.home-detail-list { padding: 0; list-style: none; }
.home-detail-list li { display: flex; gap: 9px; margin-bottom: 9px; }
.home-detail-list .icon { flex: 0 0 16px; color: #8316bb; margin-top: 4px; }
.home-program-detail .home-enroll { width: 100%; }
.home-step-list,.home-meetings { margin: 0; border: 0; padding: 0; min-width: 0; display: grid; gap: 14px; }
.home-step-list { grid-template-columns: repeat(5,minmax(0,1fr)); }
.home-meetings { grid-template-columns: repeat(2,minmax(0,1fr)); margin-top: 16px; gap: 8px; }
.home-meetings legend { font-size: 12px; font-weight: 700; margin-bottom: 8px; }
.home-step-list label,.home-meetings label { position: relative; cursor: pointer; display: grid; }
.home-step-list input,.home-meetings input,.home-page .sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.home-step-list label > span,.home-meetings label > span { display: grid; gap: 8px; padding: 16px; border: 1px solid transparent; border-radius: 14px; background: #f6f4f8; font-size: 13px; }
.home-step-list label > span { min-height: 116px; grid-template-rows: auto minmax(2.8em, auto) 1fr; gap: 6px; align-items: start; text-align: center; padding: 12px 8px; }
.home-step-list b { justify-self: center; padding: 4px 11px; border-radius: 6px; }
.home-step-list input:checked + span b,.home-step-panel h3 span { background: var(--purple); color: white; }
.home-step-list input:checked + span,.home-meetings input:checked + span { border-color: var(--purple); background: white; }
.home-step-list input:focus-visible + span,.home-meetings input:focus-visible + span { outline: 2px solid var(--purple); outline-offset: 3px; }
.home-step-list .home-step-personal > span { background: #efe3fa; border-color: #c99be5; }
.home-step-list .home-step-personal input:checked + span { border-color: var(--purple); box-shadow: inset 0 0 0 1px var(--purple); }
.home-step-list small,.home-step-panel h3 small { justify-self: center; color: #741ba5; background: #ead6f7; border-radius: 6px; padding: 2px 6px; font-size: 10px; }
.home-step-panel h3 { flex-wrap: wrap; }
.home-step-panel h3 small { margin-left: auto; }
.home-step-panel { margin-top: 24px; background: #f6f3f9; border: 1px solid var(--violet-line); border-radius: 18px; padding: 24px; }
.home-step-panel h3 { display: flex; align-items: center; gap: 10px; font-size: 17px; }
.home-step-panel h3 span { padding: 5px 8px; border-radius: 6px; font-size: 12px; white-space: nowrap; }
.home-step-panel p { margin: 0; }
.home-outcomes-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 18px; }
.home-outcome { display: flex; flex-direction: column; align-items: start; background: #ede7f3; border-radius: 22px; padding: 24px; }
.home-outcome .home-feature-icon { background: white; margin-bottom: 20px; }
.home-outcome h3 { font-weight: 700; font-size: 19px; margin: 0 0 10px; }
.home-outcome p { font-size: 14px; flex: 1; }
.home-outcome small { display: block; align-self: stretch; text-align: center; border-top: 1px solid var(--violet-line); padding-top: 12px; color: #741ba5; }
.home-results-caption { text-align: center; max-width: 760px; margin: 30px auto 0; }
.home-faq > div:not(.section-heading) { max-width: 800px; margin: auto; }
.home-faq details { border-radius: 16px; margin-bottom: 12px; background: #f4f2f6; }
.home-faq summary { justify-content: space-between; min-height: 64px; padding: 14px 20px; font-weight: 700; }
.home-faq summary .icon { color: #8316bb; flex: 0 0 20px; }
.home-faq details p { margin: 0; padding: 0 20px 20px; }
.home-faq h2 span,.home-faq a { color: #8316bb; }
.home-preview .site-footer { margin-top: 0; }
@media (max-width: 800px) {
 .home-outcomes-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
 .home-step-list { grid-template-columns: repeat(3,minmax(0,1fr)); }
}
@media (max-width: 600px) {
 .home-page .hero,.home-program-grid { grid-template-columns: minmax(0,1fr); }
 .home-page .hero { gap: 36px; }
 .home-step-list { grid-template-columns: repeat(2,minmax(0,1fr)); }
 .home-outcomes-grid { gap: 10px; }
 .home-outcome { padding: 14px; }
 .home-outcome h3 { font-size: 16px; overflow-wrap: normal; }
 .home-program-card { padding: 25px 20px 20px; }
 .home-program-description { min-height: 0; }
 .home-program-ribbon { right: 10px; padding-inline: 9px; font-size: 10px; }
 .home-page .home-photo-badge { right: 8px; }
 .home-page .home-photo figcaption { align-items: start; flex-direction: column; font-size: 11px; padding: 24px 12px 10px; gap: 5px; }
 .home-page .home-intro img { aspect-ratio: 1.4; }
}
.home-footer .footer-grid { grid-template-columns: 1.65fr 1fr 1.2fr; }
.home-footer .footer-grid p { max-width: 350px; }
.home-footer .footer-grid a .icon { vertical-align: middle; color: #8316bb; margin-right: 5px; }
@media (max-width: 600px) {
 .home-footer .footer-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
 .home-footer .footer-grid > div:first-child { grid-column: 1 / -1; }
 .home-preview .brand-name { font-size: 15px; }
 .home-preview .header-actions .home-soft { font-size: 0; }
 .home-preview .header-actions .home-soft .icon { display: block; }
 .home-preview .header-actions .home-soft { min-width: 44px; }
}
.home-program-card { padding-top: 28px; }
.home-program-card-personal .home-program-label { color: var(--dark); }
.home-program-description { margin-bottom: 12px; }
.home-socials { display: flex; gap: 10px; }
.home-socials a { display: grid !important; place-items: center; width: 42px; height: 42px; border-radius: 10px; background: #f0eaf6; color: #8316bb !important; }
.home-socials svg { width: 18px; height: 18px; fill: currentColor; }

.home-intro .home-photo-tag { background: rgb(250 231 117 / 76%); }
.home-ellipsis { color: #8316bb; }
.catalog-page { padding-block: 32px 50px; }
.catalog-page h1 { margin-block: 16px 8px; font-size: clamp(32px, 4vw, 48px); }
.catalog-layout { display: grid; grid-template-columns: minmax(215px, 250px) minmax(0, 1fr); gap: 24px; align-items: start; margin-top: 24px; }
.catalog-filters { display: grid; gap: 12px; padding: 16px; }
.catalog-layout .home-program-grid { margin-top: 22px; }
.catalog-layout [hidden] { display: none; }
.client-course-section { max-width: 640px; }
.client-course-section .program-item { max-width: 420px; padding: 16px; }
@media (max-width: 950px) { .catalog-layout .home-program-grid { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .catalog-layout { grid-template-columns: minmax(0, 1fr); } }
.auth-wrap > form + form { margin-top: 18px; }
.id-auth-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 440px); gap: clamp(24px, 6vw, 80px); align-items: start; max-width: 960px; margin: 40px auto; }
.id-auth-intro { align-self: start; padding-top: 24px; }
.id-auth-layout .auth-wrap { margin: 0; width: 100%; }
@media (max-width: 720px) { .id-auth-layout { grid-template-columns: minmax(0, 1fr); margin-block: 24px; } }

.catalog-layout .home-program-disclosure summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
}
.catalog-layout .home-program-purchase { grid-row: 1; min-height: 44px; }
.catalog-layout .home-details-label { grid-row: 2; justify-content: center; min-height: 42px; }
.catalog-layout .home-program-purchase .price { font-size: clamp(23px, 2.2vw, 30px); }
.home-preview :is(.portal, .portal .workspace) { background: var(--cream); }
.home-preview .portal .portal-sidebar { background: white; border-color: var(--line); }
.home-preview .portal-sidebar nav > a.active { background: var(--lilac); color: var(--violet-dark); }
.home-preview .portal .workspace-main { border-color: var(--line); }
.home-preview .portal .btn.violet { background: var(--purple); }
.home-preview .portal .btn.violet:hover { background: var(--violet-dark); }

#modal:has(.contact-dialog-form) {
  width: min(640px, calc(100% - 32px));
  max-height: calc(100dvh - 32px);
  padding: clamp(20px, 4vw, 34px);
  overflow-y: auto;
}
.contact-dialog-form h3 { margin: 0 42px 0 0; }
.contact-dialog-form .form-grid { gap: 14px; }
.contact-dialog-form .btn { background: #a224e3; color: white; }
.contact-dialog-form .btn:hover { background: #8316bb; }
.home-program-card-personal .home-program-label { color: #741ba5; }
.catalog-toolbar { display: flex; justify-content: end; }
.catalog-toolbar .field { width: min(100%, 290px); }
.catalog-filters fieldset { border: 0; padding: 0; margin: 0; min-width: 0; position: relative; }
.catalog-filters fieldset + fieldset { padding-top: 2px; }
.catalog-filters legend { font-size: 13px; font-weight: 700; margin-bottom: 10px; }
.catalog-filters label { position: relative; display: block; cursor: pointer; margin-bottom: 5px; }
.catalog-filters label input { position: absolute; width: 1px; height: 1px; clip-path: inset(50%); }
.catalog-filters label span { display: flex; justify-content: space-between; gap: 8px; align-items: center; border: 1px solid var(--line); border-radius: 10px; padding: 7px 9px; font-size: 13px; line-height: 1.4; min-height: 40px; }
.catalog-filters label input:checked + span { background: var(--lilac); color: #741ba5; border-color: var(--violet-line); }
.catalog-filters fieldset:first-child input:checked + span { background: var(--purple); color: white; }
.catalog-filters input:focus-visible + span { outline: 2px solid var(--purple); }
.catalog-reset { position: absolute; right: 0; top: -31px; background: none; border: 0; color: #741ba5; cursor: pointer; font: inherit; font-size: 11px; padding: 3px; }
.enrollment-page { max-width: 820px; padding-block: 30px 45px; }
.enrollment-page h1 { font-size: clamp(30px, 4vw, 46px); }
.enrollment-page #calculator { margin-top: 22px; }
.client-home { padding-block: 26px 42px; display: grid; grid-template-columns: minmax(0,2fr) minmax(0,1fr); gap: 20px; align-items: start; }
.client-home-profile { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; padding: 22px; }
.client-home-profile h1 { font-size: clamp(24px,3vw,32px); margin: 0; }
.client-home-profile p { margin: 0; overflow-wrap: anywhere; }
.client-home-profile .actions { margin-left: auto; }
.client-home-avatar { display: grid; place-items: center; background: var(--purple); color: white; width: 46px; height: 46px; border-radius: 12px; }
.client-home h2 { font-size: 19px; margin: 0 0 16px; }
.client-home-courses h2 { display: flex; align-items: center; gap: 8px; }
.client-home-courses h2 > .icon { color: var(--purple); flex: 0 0 18px; width: 18px; height: 18px; }
.client-home-courses .program-item { max-width: 420px; padding: 16px; background: var(--cream); }
.client-home-links a { display: flex; justify-content: space-between; padding: 8px 0; }
@media (max-width: 700px) { .client-home { grid-template-columns: minmax(0,1fr); } }

.catalog-filters label small { flex: none; padding: 2px 5px; border-radius: 5px; background: rgb(158 145 184 / 18%); }

.catalog-toolbar .field { position: relative; }
.catalog-search-icon { position: absolute; width: 18px; height: 18px; left: 14px; top: 50%; transform: translateY(-50%); color: #687481; pointer-events: none; }
.catalog-toolbar [data-catalog-search] { border: 1px solid #dedfe3; border-radius: 16px; padding-inline: 40px 12px; }
.catalog-toolbar [data-catalog-search]::placeholder { color: #687481; }

.auth-page .id-auth-layout { align-items: start; max-width: 900px; margin-block: clamp(30px, 6vw, 82px); }
.auth-page .id-auth-intro { align-self: start; padding: 0; }
.auth-kicker { display: inline-flex; align-items: center; gap: 7px; padding: 5px 10px; border-radius: 20px; background: var(--lilac); color: var(--violet-dark); font-weight: 700; font-size: 10px; text-transform: uppercase; }
.auth-kicker .icon { width: 14px; height: 14px; }
.id-auth-intro h2 { font-size: clamp(28px, 3.4vw, 44px); font-weight: 750; margin: 18px 0; line-height: 1.15; }
.id-auth-intro ul { padding: 0; list-style: none; display: grid; gap: 10px; }
.id-auth-intro li { display: flex; align-items: center; gap: 8px; font-size: 13px; }
.id-auth-intro li .icon { color: var(--violet-dark); background: var(--lilac); border-radius: 8px; padding: 4px; width: 24px; height: 24px; flex: none; }
.auth-page .auth-card { width: 100%; padding: clamp(20px, 3vw, 36px); box-shadow: 0 2px 5px #29242f12; }
.auth-page .auth-card h1 { font-size: 24px; margin: 0 0 5px; font-weight: 750; }
:is(.auth-page, .password-page) .auth-card { border-color: #dedfe3; }
:is(.auth-page, .password-page) .auth-card .field { color: #4f5057; }
:is(.auth-page, .password-page) .auth-card .field input { border-color: #dedfe3; color: var(--ink); }
:is(.auth-page, .password-page) .auth-card .field input::placeholder { color: #686a72; opacity: 1; }
.auth-page .check-field input:not(:checked) { border-color: #767881; }
.auth-mode-nav { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 3px; padding: 3px; background: var(--cream); border: 1px solid var(--line); border-radius: 11px; margin: 16px 0 20px; }
.auth-mode-nav a { text-align: center; padding: 8px 4px; border-radius: 8px; font-weight: 600; font-size: 13px; color: var(--muted); }
.auth-mode-nav a[aria-current="page"] { background: white; color: var(--dark); box-shadow: 0 1px 3px #20263216; }
.auth-page .check-field { font-size: 12px; margin-top: 14px; }

.password-page .auth-card .note { color: var(--muted); }

.catalog-back { display: inline-flex; align-items: center; gap: 5px; }
.catalog-back > span { display: inline-flex; transform: rotate(180deg); }
.header-account-name {
  min-width: 0;
  max-width: 12rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
@media (max-width: 600px) {
  .home-preview .header-actions .header-account-name {
    max-width: clamp(39px, calc(100vw - 280px), 96px);
    font-size: 12px;
  }
  .home-preview .header-actions .btn:has(.header-account-name) > .icon { display: none; }
}

.client-home-side { display: grid; gap: 16px; min-width: 0; align-content: start; }
.pet-summary { display: grid; justify-items: center; gap: 10px; border-color: #d0a9e8; text-decoration: none; text-align: center; }
.pet-summary .eyebrow { display: flex; justify-content: space-between; width: 100%; }
.pet-summary img, .pet-profile-heading img { border-radius: 50%; object-fit: cover; border: 2px solid #ddc3ee; }
.pet-profile { display: grid; gap: 16px; padding-block: 24px 48px; }
.pet-profile > .btn { justify-self: start; }
.pet-profile-heading { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; }
.pet-profile-heading h1 { margin: 4px 0 0; font-size: clamp(22px, 4vw, 32px); }
.pet-profile-heading nav { margin-inline-start: auto; display: flex; flex-wrap: wrap; gap: 6px; }
.pet-edit { max-width: 760px; width: 100%; }
.pet-topic summary { position: relative; display: grid; gap: 4px; padding-inline-end: 28px; list-style: none; cursor: pointer; }
.pet-topic summary::-webkit-details-marker { display: none; }
.pet-topic summary > .icon { position: absolute; right: 0; top: 50%; }
.pet-topic-note { margin-top: 12px; border-top: 1px solid #ece8ef; padding-top: 12px; }
.pet-topic-note p { overflow-wrap: anywhere; }
.client-course-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,230px),1fr)); gap: 14px; }
.client-course-grid .program-item { max-width: none; min-width: 0; margin: 0; }

.pet-back { display: inline-flex; align-items: center; justify-self: start; gap: 6px; padding-block: 3px; color: #545867; font-size: 13px; text-decoration: none; }
.pet-back .icon { width: 15px; height: 15px; transform: rotate(180deg); }
.pet-profile-heading.card { padding: 20px 24px; }
.pet-profile-label { display: flex; align-items: center; gap: 5px; color: #8220b1; font-size: 11px; font-weight: 700; text-transform: uppercase; }
.pet-profile-label .icon { width: 13px; height: 13px; }
.pet-profile-heading nav { padding: 3px; border: 1px solid #e7e4eb; border-radius: 12px; background: #f7f7f8; }
.pet-profile-heading nav .btn { min-height: 36px; padding: 6px 10px; font-size: 12px; gap: 5px; }
.pet-profile-heading nav .btn .icon { width: 14px; height: 14px; }
.pet-profile-heading nav .btn.light { background: transparent; border-color: transparent; }
.pet-note-count { border-radius: 5px; background: #ffffff38; padding: 1px 5px; }
.pet-notes-intro.card, .pet-topic.card { border-radius: 16px; box-shadow: 0 1px 3px #25212d0c; }
.pet-notes-intro.card { padding: 17px 20px; }
.pet-notes-intro h2 { margin: 0 0 4px; font-size: clamp(17px, 2.3vw, 22px); line-height: 1.25; }
.pet-notes-intro p { margin: 0; font-size: 13px; line-height: 1.4; }
.pet-topic-list { display: grid; gap: 10px; }
.pet-topic.card { padding: 11px 16px; }
.pet-topic summary { gap: 3px; line-height: 1.25; }
.pet-topic summary > strong { font-size: 15px; line-height: 1.3; }
.pet-topic summary > .icon { width: 15px; height: 15px; top: calc(50% - 7.5px); color: #656777; }
.pet-topic-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 5px; font-size: 11px; }
.pet-topic-tag, .pet-topic-count { border-radius: 5px; padding: 2px 7px; }
.pet-topic-tag { background: #f0e8f6; color: #8220b1; font-weight: 700; text-transform: uppercase; }
.pet-topic-count { background: #f4f4f6; color: #565965; }
.pet-topic-description { font-size: 12px; color: #626572; line-height: 1.4; }
.pet-topic-empty, .pet-topic-note p { margin: 7px 0 0; font-size: 13px; }
@media (max-width: 600px) {
  .pet-profile-heading.card { padding: 14px; }
  .pet-profile-heading nav { margin-inline-start: 0; }
  .pet-notes-intro.card, .pet-topic.card { padding-inline: 12px; }
}

.client-home-profile .eyebrow { color: #8220b1; }
.client-home-courses .program-item { border-radius: 16px; box-shadow: none; }
.client-home-courses .program-item h3 { font-size: 16px; line-height: 1.35; margin: 10px 0 3px; }
.client-trial-card > .pill { background: #eee5f6; color: #8220b1; border: 0; border-radius: 6px; padding: 3px 8px; }
.client-course-progress { border-top: 1px solid #e2dfe6; padding-top: 10px; }
.client-home-courses .progress-track { background: #ede4f5; height: 7px; margin-block: 5px 15px; }
.client-home-courses .progress-track > span { background: #9220ca; }
.client-course-progress strong { color: #8220b1; }
.pet-summary.card { border-color: #cb9ee4; border-radius: 20px; padding: 22px; box-shadow: 0 2px 5px #6024811a; }
.pet-summary-top, .pet-summary-notes { display: flex; align-items: center; justify-content: space-between; gap: 8px; width: 100%; }
.pet-summary-top .pet-profile-label { background: #f0e8f6; border-radius: 6px; padding: 3px 9px; }
.pet-summary-top a, .pet-summary-notes { font-size: 12px; text-decoration: none; }
.pet-summary-top a { color: #8220b1; font-weight: 700; }
.pet-summary-top a .icon, .pet-summary-notes .icon { width: 14px; height: 14px; vertical-align: middle; color: #9220ca; }
.pet-summary img { padding: 4px; margin-top: 6px; background: #f5eff9; }
.pet-summary h2 { margin: 4px 0 2px; }
.pet-summary p { margin: 0; font-size: 13px; }
.pet-summary-notes { border-top: 1px solid #e7e3ec; margin-top: 6px; padding-top: 12px; text-align: left; }
.pet-summary-notes strong { color: #8220b1; background: #f8f3fb; border: 1px solid #e6d4f0; border-radius: 6px; padding: 1px 8px; }

.auth-oauth { border-top: 1px solid #e8e4ec; margin-top: 18px; padding-top: 16px; }
.auth-oauth-buttons { display: grid; gap: 8px; }
.auth-oauth-buttons .btn { width: 100%; }

html:has(.pet-profile) { scrollbar-gutter: stable; }
