@font-face {
  font-family: Geist;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(../media/fef07dbb0973bf53-s.12tyk43_3sh9u.woff2) format("woff2");
  unicode-range:
    U+460-52F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: Geist;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(../media/8a480f0b521d4e75-s.0jzbimsg8vl84.woff2) format("woff2");
  unicode-range: U+301, U+400-45F, U+490-491, U+4B0-4B1, U+2116;
}
@font-face {
  font-family: Geist;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(../media/53b9e256198e5412-s.0-wfv7uh4i7h9.woff2) format("woff2");
  unicode-range:
    U+102-103, U+110-111, U+128-129, U+168-169, U+1A0-1A1, U+1AF-1B0, U+300-301,
    U+303-304, U+308-309, U+323, U+329, U+1EA0-1EF9, U+20AB;
}
@font-face {
  font-family: Geist;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(../media/7178b3e590c64307-s.0nx0ww8fni_q3.woff2) format("woff2");
  unicode-range:
    U+100-2BA, U+2BD-2C5, U+2C7-2CC, U+2CE-2D7, U+2DD-2FF, U+304, U+308, U+329,
    U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0,
    U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: Geist;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(../media/caa3a2e1cccd8315-s.p.09~u27dqhyhd6.woff2) format("woff2");
  unicode-range:
    U+??, U+131, U+152-153, U+2BB-2BC, U+2C6, U+2DA, U+2DC, U+304, U+308, U+329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: Geist Fallback;
  src: local(Arial);
  ascent-override: 95.94%;
  descent-override: 28.16%;
  line-gap-override: 0%;
  size-adjust: 104.76%;
}
.geist_a71539c9-module__T19VSG__className {
  font-family:
    Geist,
    Geist Fallback;
  font-style: normal;
}
.geist_a71539c9-module__T19VSG__variable {
  --font-geist-sans: "Geist", "Geist Fallback";
}
@font-face {
  font-family: Geist Mono;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(../media/5ce348bf30bf5439-s.0zgw-jeven.3w.woff2) format("woff2");
  unicode-range:
    U+460-52F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: Geist Mono;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(../media/4fa387ec64143e14-s.0wkzw~je483f-.woff2) format("woff2");
  unicode-range: U+301, U+400-45F, U+490-491, U+4B0-4B1, U+2116;
}
@font-face {
  font-family: Geist Mono;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(../media/6306c77e7c8268e4-s.0rhz0arwfsn~5.woff2) format("woff2");
  unicode-range: U+2000-2001, U+2004-2008, U+200A, U+23B8-23BD, U+2500-259F;
}
@font-face {
  font-family: Geist Mono;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(../media/7d817b4c03b0c5f1-s.0l76wvqk9d84w.woff2) format("woff2");
  unicode-range:
    U+102-103, U+110-111, U+128-129, U+168-169, U+1A0-1A1, U+1AF-1B0, U+300-301,
    U+303-304, U+308-309, U+323, U+329, U+1EA0-1EF9, U+20AB;
}
@font-face {
  font-family: Geist Mono;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(../media/bbc41e54d2fcbd21-s.0k4k9394f2q-k.woff2) format("woff2");
  unicode-range:
    U+100-2BA, U+2BD-2C5, U+2C7-2CC, U+2CE-2D7, U+2DD-2FF, U+304, U+308, U+329,
    U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0,
    U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: Geist Mono;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(../media/797e433ab948586e-s.p.08e28id.o-okb.woff2) format("woff2");
  unicode-range:
    U+??, U+131, U+152-153, U+2BB-2BC, U+2C6, U+2DA, U+2DC, U+304, U+308, U+329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: Geist Mono Fallback;
  src: local(Arial);
  ascent-override: 74.67%;
  descent-override: 21.92%;
  line-gap-override: 0%;
  size-adjust: 134.59%;
}
.geist_mono_8d43a2aa-module__8Li5zG__className {
  font-family:
    Geist Mono,
    Geist Mono Fallback;
  font-style: normal;
}
.geist_mono_8d43a2aa-module__8Li5zG__variable {
  --font-geist-mono: "Geist Mono", "Geist Mono Fallback";
}
@layer theme {
  :root,
  :host {
    --font-sans:
      ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji",
      "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    --font-mono:
      ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono",
      "Courier New", monospace;
    --spacing: 0.25rem;
    --default-font-family: var(--font-sans);
    --default-mono-font-family: var(--font-mono);
  }
}
@layer base {
  *,
  :after,
  :before,
  ::backdrop {
    box-sizing: border-box;
    border: 0 solid;
    margin: 0;
    padding: 0;
  }
  ::file-selector-button {
    box-sizing: border-box;
    border: 0 solid;
    margin: 0;
    padding: 0;
  }
  html,
  :host {
    -webkit-text-size-adjust: 100%;
    tab-size: 4;
    line-height: 1.5;
    font-family: var(
      --default-font-family,
      ui-sans-serif,
      system-ui,
      sans-serif,
      "Apple Color Emoji",
      "Segoe UI Emoji",
      "Segoe UI Symbol",
      "Noto Color Emoji"
    );
    font-feature-settings: var(--default-font-feature-settings, normal);
    font-variation-settings: var(--default-font-variation-settings, normal);
    -webkit-tap-highlight-color: transparent;
  }
  hr {
    height: 0;
    color: inherit;
    border-top-width: 1px;
  }
  abbr:where([title]) {
    -webkit-text-decoration: underline dotted;
    text-decoration: underline dotted;
  }
  h1,
  h2,
  h3,
  h4,
  h5,
  h6 {
    font-size: inherit;
    font-weight: inherit;
  }
  a {
    color: inherit;
    -webkit-text-decoration: inherit;
    -webkit-text-decoration: inherit;
    -webkit-text-decoration: inherit;
    -webkit-text-decoration: inherit;
    text-decoration: inherit;
  }
  b,
  strong {
    font-weight: bolder;
  }
  code,
  kbd,
  samp,
  pre {
    font-family: var(
      --default-mono-font-family,
      ui-monospace,
      SFMono-Regular,
      Menlo,
      Monaco,
      Consolas,
      "Liberation Mono",
      "Courier New",
      monospace
    );
    font-feature-settings: var(--default-mono-font-feature-settings, normal);
    font-variation-settings: var(
      --default-mono-font-variation-settings,
      normal
    );
    font-size: 1em;
  }
  small {
    font-size: 80%;
  }
  sub,
  sup {
    vertical-align: baseline;
    font-size: 75%;
    line-height: 0;
    position: relative;
  }
  sub {
    bottom: -0.25em;
  }
  sup {
    top: -0.5em;
  }
  table {
    text-indent: 0;
    border-color: inherit;
    border-collapse: collapse;
  }
  :-moz-focusring {
    outline: auto;
  }
  progress {
    vertical-align: baseline;
  }
  summary {
    display: list-item;
  }
  ol,
  ul,
  menu {
    list-style: none;
  }
  img,
  svg,
  video,
  canvas,
  audio,
  iframe,
  embed,
  object {
    vertical-align: middle;
    display: block;
  }
  img,
  video {
    max-width: 100%;
    height: auto;
  }
  button,
  input,
  select,
  optgroup,
  textarea {
    font: inherit;
    font-feature-settings: inherit;
    font-variation-settings: inherit;
    letter-spacing: inherit;
    color: inherit;
    opacity: 1;
    background-color: #0000;
    border-radius: 0;
  }
  ::file-selector-button {
    font: inherit;
    font-feature-settings: inherit;
    font-variation-settings: inherit;
    letter-spacing: inherit;
    color: inherit;
    opacity: 1;
    background-color: #0000;
    border-radius: 0;
  }
  :where(select:is([multiple], [size])) optgroup {
    font-weight: bolder;
  }
  :where(select:is([multiple], [size])) optgroup option {
    padding-inline-start: 20px;
  }
  ::file-selector-button {
    margin-inline-end: 4px;
  }
  ::placeholder {
    opacity: 1;
  }
  @supports (not ((-webkit-appearance: -apple-pay-button))) or
    (contain-intrinsic-size: 1px) {
    ::placeholder {
      color: currentColor;
    }
    @supports (color: color-mix(in lab, red, red)) {
      ::placeholder {
        color: color-mix(in oklab, currentcolor 50%, transparent);
      }
    }
  }
  textarea {
    resize: vertical;
  }
  ::-webkit-search-decoration {
    -webkit-appearance: none;
  }
  ::-webkit-date-and-time-value {
    min-height: 1lh;
    text-align: inherit;
  }
  ::-webkit-datetime-edit {
    display: inline-flex;
  }
  ::-webkit-datetime-edit-fields-wrapper {
    padding: 0;
  }
  ::-webkit-datetime-edit {
    padding-block: 0;
  }
  ::-webkit-datetime-edit-year-field {
    padding-block: 0;
  }
  ::-webkit-datetime-edit-month-field {
    padding-block: 0;
  }
  ::-webkit-datetime-edit-day-field {
    padding-block: 0;
  }
  ::-webkit-datetime-edit-hour-field {
    padding-block: 0;
  }
  ::-webkit-datetime-edit-minute-field {
    padding-block: 0;
  }
  ::-webkit-datetime-edit-second-field {
    padding-block: 0;
  }
  ::-webkit-datetime-edit-millisecond-field {
    padding-block: 0;
  }
  ::-webkit-datetime-edit-meridiem-field {
    padding-block: 0;
  }
  ::-webkit-calendar-picker-indicator {
    line-height: 1;
  }
  :-moz-ui-invalid {
    box-shadow: none;
  }
  button,
  input:where([type="button"], [type="reset"], [type="submit"]) {
    appearance: button;
  }
  ::file-selector-button {
    appearance: button;
  }
  ::-webkit-inner-spin-button {
    height: auto;
  }
  ::-webkit-outer-spin-button {
    height: auto;
  }
  [hidden]:where(:not([hidden="until-found"])) {
    display: none !important;
  }
}
@layer components;
@layer utilities {
  .visible {
    visibility: visible;
  }
  .sr-only {
    clip-path: inset(50%);
    white-space: nowrap;
    border-width: 0;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    position: absolute;
    overflow: hidden;
  }
  .relative {
    position: relative;
  }
  .start {
    inset-inline-start: var(--spacing);
  }
  .end {
    inset-inline-end: var(--spacing);
  }
  .table {
    display: table;
  }
  .antialiased {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }
}
:root {
  --ink: #131315;
  --muted: #71717a;
  --line: #e7e5e4;
  --soft: #f5f3f1;
  --paper: #fbfaf9;
  --red: #cf202d;
  --red-dark: #a91420;
  --green: #16855b;
}
* {
  box-sizing: border-box;
}
html {
  background: var(--paper);
}
body {
  background: var(--paper);
  color: var(--ink);
  margin: 0;
  font-family:
    Inter,
    Helvetica Neue,
    Arial,
    sans-serif;
}
button,
input,
textarea {
  font: inherit;
}
button {
  color: inherit;
}
.app-shell {
  background: var(--paper);
  min-height: 100vh;
}
.sidebar {
  z-index: 20;
  color: #fff;
  background: #111113;
  flex-direction: column;
  width: 254px;
  padding: 28px 22px 22px;
  display: flex;
  position: fixed;
  inset: 0 auto 0 0;
}
.brand {
  align-items: center;
  gap: 12px;
  padding: 0 6px 32px;
  display: flex;
}
.brand-mark {
  color: #111;
  letter-spacing: -3px;
  background: #fff;
  border-radius: 12px;
  grid-template-columns: 1fr 1fr;
  place-items: center;
  width: 43px;
  height: 43px;
  font-size: 17px;
  display: grid;
  overflow: hidden;
}
.brand-mark b {
  justify-self: end;
}
.brand-mark i {
  color: var(--red);
  justify-self: start;
  font-style: normal;
}
.brand-copy {
  flex-direction: column;
  line-height: 1.15;
  display: flex;
}
.brand-copy strong {
  font-size: 15px;
}
.brand-copy small {
  color: #929298;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-top: 4px;
  font-size: 11px;
}
.side-nav {
  gap: 7px;
  display: grid;
}
.nav-item {
  color: #a6a6ab;
  cursor: pointer;
  text-align: left;
  background: 0 0;
  border: 0;
  border-radius: 12px;
  align-items: center;
  gap: 13px;
  padding: 13px 15px;
  font-size: 14px;
  font-weight: 650;
  display: flex;
}
.nav-item span {
  width: 22px;
  font-size: 20px;
  font-weight: 400;
}
.nav-item:hover {
  color: #fff;
  background: #1c1c1f;
}
.nav-item.active {
  background: var(--red);
  color: #fff;
  box-shadow: 0 10px 25px #cf202d38;
}
.support-card {
  background: #18181b;
  border: 1px solid #2e2e32;
  border-radius: 16px;
  margin-top: auto;
  padding: 16px;
}
.support-card .status-dot {
  background: #35c287;
  border-radius: 50%;
  width: 7px;
  height: 7px;
  margin-bottom: 11px;
  display: block;
  box-shadow: 0 0 0 4px #35c2871f;
}
.support-card strong {
  font-size: 13px;
}
.support-card p {
  color: #97979e;
  margin: 7px 0 13px;
  font-size: 11px;
  line-height: 1.55;
}
.support-card button {
  color: #fff;
  cursor: pointer;
  background: 0 0;
  border: 1px solid #39393e;
  border-radius: 9px;
  width: 100%;
  padding: 8px;
  font-size: 11px;
  font-weight: 700;
}
.profile-row {
  border-top: 1px solid #2a2a2d;
  grid-template-columns: 34px 1fr auto;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  padding: 12px 5px 0;
  display: grid;
}
.avatar,
.top-avatar {
  color: #5c3127;
  background: #e9c3b4;
  border-radius: 50%;
  place-items: center;
  font-size: 11px;
  font-weight: 800;
  display: grid;
}
.avatar {
  width: 34px;
  height: 34px;
}
.profile-row span:not(.avatar) {
  flex-direction: column;
  display: flex;
}
.profile-row strong {
  font-size: 11px;
}
.profile-row small {
  color: #7e7e85;
  margin-top: 3px;
  font-size: 9px;
}
.profile-row button {
  color: #77777d;
  background: 0 0;
  border: 0;
}
.workspace {
  min-height: 100vh;
  margin-left: 254px;
}
.topbar {
  border-bottom: 1px solid var(--line);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  background: #fbfaf9e0;
  justify-content: space-between;
  align-items: center;
  height: 108px;
  padding: 26px clamp(28px, 4vw, 64px) 20px;
  display: flex;
}
.eyebrow {
  color: #8a898f;
  letter-spacing: 0.17em;
  font-size: 9px;
  font-weight: 800;
  display: block;
}
.topbar h1 {
  letter-spacing: -0.04em;
  margin: 5px 0 0;
  font-size: 24px;
}
.top-actions {
  align-items: center;
  gap: 14px;
  display: flex;
}
.icon-button {
  border: 1px solid var(--line);
  cursor: pointer;
  background: #fff;
  border-radius: 50%;
  width: 39px;
  height: 39px;
  font-size: 20px;
  position: relative;
}
.icon-button span {
  background: var(--red);
  border: 2px solid #fff;
  border-radius: 50%;
  width: 7px;
  height: 7px;
  position: absolute;
  top: 6px;
  right: 5px;
}
.top-avatar {
  width: 39px;
  height: 39px;
}
.profile-menu-anchor {
  position: relative;
}
.profile-trigger {
  cursor: pointer;
  border: 0;
  padding: 0;
  overflow: hidden;
}
.profile-avatar-image {
  color: #5c3127;
  background: #e9c3b4;
  border-radius: 50%;
  place-items: center;
  width: 34px;
  height: 34px;
  font-size: 11px;
  font-weight: 800;
  display: grid;
  overflow: hidden;
}
.profile-avatar-image.large {
  width: 68px;
  height: 68px;
  font-size: 18px;
}
.profile-avatar-image img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}
.top-avatar .profile-avatar-image {
  width: 39px;
  height: 39px;
}
.sidebar-profile-avatar {
  cursor: pointer;
  background: 0 0;
  border: 0;
  border-radius: 50%;
  width: 34px;
  height: 34px;
  padding: 0;
}
.profile-popover {
  z-index: 45;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 18px;
  width: min(340px, 100vw - 28px);
  padding: 21px;
  position: absolute;
  top: 51px;
  right: 0;
  box-shadow: 0 20px 60px #1414192e;
}
.profile-popover-close {
  color: #8f8e94;
  cursor: pointer;
  background: 0 0;
  border: 0;
  font-size: 20px;
  position: absolute;
  top: 10px;
  right: 12px;
}
.profile-popover-head {
  align-items: center;
  gap: 14px;
  display: flex;
}
.profile-popover-head > div {
  flex-direction: column;
  display: flex;
}
.profile-popover-head strong {
  font-size: 16px;
}
.profile-popover-head span {
  color: #89888e;
  margin-top: 5px;
  font-size: 10px;
}
.photo-change-button {
  color: var(--red);
  cursor: pointer;
  background: 0 0;
  border: 0;
  margin: 13px 0 0 82px;
  font-size: 9px;
  font-weight: 800;
}
.profile-file-input {
  display: none;
}
.profile-plan-details {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 18px;
  padding: 13px 0;
  display: grid;
}
.profile-plan-details span {
  flex-direction: column;
  display: flex;
}
.profile-plan-details small {
  color: #99989e;
  letter-spacing: 0.1em;
  font-size: 7px;
  font-weight: 850;
}
.profile-plan-details strong {
  margin-top: 5px;
  font-size: 10px;
  line-height: 1.4;
}
.password-toggle {
  color: #4e4d53;
  cursor: pointer;
  background: #fff;
  border: 1px solid #dedbd9;
  border-radius: 9px;
  width: 100%;
  margin-top: 14px;
  padding: 10px 12px;
  font-size: 9px;
  font-weight: 800;
}
.password-form {
  gap: 9px;
  margin-top: 14px;
  display: grid;
}
.password-form label {
  color: #747379;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 7px;
  font-weight: 850;
}
.password-form input {
  border: 1px solid #dedbd9;
  border-radius: 8px;
  outline: none;
  width: 100%;
  margin-top: 5px;
  padding: 10px;
}
.password-form > div {
  justify-content: flex-end;
  gap: 7px;
  display: flex;
}
.password-form button {
  cursor: pointer;
  background: #fff;
  border: 1px solid #dedbd9;
  border-radius: 8px;
  padding: 8px 10px;
  font-size: 8px;
  font-weight: 800;
}
.password-form .save-password {
  border-color: var(--red);
  background: var(--red);
  color: #fff;
}
.profile-message {
  color: #9e2a32;
  background: #fff0f1;
  border-radius: 8px;
  margin: 11px 0 0;
  padding: 9px;
  font-size: 8px;
}
.profile-message.success {
  color: var(--green);
  background: #e5f6ef;
}
.page-content {
  max-width: 1240px;
  margin: 0 auto;
  padding: 34px clamp(28px, 4vw, 64px) 70px;
}
.hero-card {
  color: #fff;
  background: linear-gradient(125deg, #171719 0%, #222225 64%, #2b1519 100%);
  border-radius: 28px;
  justify-content: space-between;
  min-height: 282px;
  padding: 38px 44px;
  display: flex;
  position: relative;
  overflow: hidden;
}
.hero-card:after {
  content: "";
  border: 60px solid #cf202d14;
  border-radius: 50%;
  width: 340px;
  height: 340px;
  position: absolute;
  top: -220px;
  right: -40px;
}
.pill {
  color: #fff;
  letter-spacing: 0.14em;
  background: #242428;
  border-radius: 999px;
  align-items: center;
  padding: 7px 11px;
  font-size: 8px;
  font-weight: 850;
  display: inline-flex;
}
.pill.light {
  color: #dedee0;
  background: #ffffff1a;
}
.hero-card h2,
.subhero h2,
.progress-overview h2 {
  letter-spacing: -0.05em;
  margin: 18px 0 12px;
  font-size: clamp(30px, 3.2vw, 47px);
  line-height: 1.02;
}
.hero-card h2 em {
  color: #e52a38;
  font-style: normal;
}
.hero-card p {
  color: #ababaf;
  max-width: 530px;
  margin: 0;
  font-size: 13px;
  line-height: 1.65;
}
.primary-button {
  background: var(--red);
  color: #fff;
  cursor: pointer;
  border: 0;
  border-radius: 11px;
  margin-top: 23px;
  padding: 13px 17px;
  font-size: 12px;
  font-weight: 800;
}
.primary-button:hover {
  background: #e12836;
  transform: translateY(-1px);
}
.primary-button span {
  margin-left: 17px;
}
.hero-rings {
  text-align: center;
  z-index: 1;
  flex: 0 0 210px;
  place-content: center;
  width: 210px;
  display: grid;
  position: relative;
}
.hero-rings span {
  border: 1px solid #ffffff14;
  border-radius: 50%;
  position: absolute;
  inset: 12px;
}
.hero-rings .ring-two {
  border-color: #cf202d66;
  inset: 36px;
}
.hero-rings b {
  letter-spacing: -0.08em;
  font-size: 66px;
  line-height: 0.9;
}
.hero-rings small {
  color: #929298;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  margin-top: 8px;
  font-size: 9px;
}
.quick-grid {
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 18px;
  display: grid;
}
.quick-card {
  border: 1px solid var(--line);
  text-align: left;
  cursor: pointer;
  background: #fff;
  border-radius: 18px;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  min-height: 118px;
  padding: 20px;
  display: grid;
  position: relative;
  box-shadow: 0 4px 18px #14141906;
}
.quick-card:hover {
  border-color: #ccc8c5;
  transform: translateY(-2px);
  box-shadow: 0 9px 28px #1414190f;
}
.card-icon {
  border-radius: 11px;
  place-items: center;
  width: 40px;
  height: 40px;
  font-size: 19px;
  display: grid;
}
.card-icon.red {
  color: var(--red);
  background: #fdebed;
}
.card-icon.dark {
  color: #fff;
  background: #222225;
}
.card-icon.gray {
  color: #444448;
  background: #efeeee;
}
.quick-card > span:nth-child(2) {
  flex-direction: column;
  display: flex;
}
.quick-card small {
  color: #929197;
  letter-spacing: 0.12em;
  font-size: 8px;
  font-weight: 800;
}
.quick-card strong {
  margin-top: 6px;
  font-size: 14px;
}
.quick-card em {
  color: #85848b;
  margin-top: 5px;
  font-size: 10px;
  font-style: normal;
}
.quick-card > b {
  color: #949399;
  font-size: 15px;
}
.trend {
  border-radius: 7px;
  width: fit-content;
  padding: 5px 7px;
  font-size: 9px;
  font-weight: 800;
}
.trend.good {
  color: var(--green);
  background: #e5f6ef;
}
.mini-progress {
  background: #ece9e8;
  border-radius: 4px;
  height: 3px;
  position: absolute;
  bottom: 15px;
  left: 74px;
  right: 20px;
  overflow: hidden;
}
.mini-progress i {
  background: var(--red);
  height: 100%;
  display: block;
}
.section-head {
  justify-content: space-between;
  align-items: end;
  margin: 36px 0 14px;
  display: flex;
}
.section-head h3 {
  letter-spacing: -0.035em;
  margin: 5px 0 0;
  font-size: 20px;
}
.section-head button {
  color: var(--red);
  cursor: pointer;
  background: 0 0;
  border: 0;
  font-size: 10px;
  font-weight: 750;
}
.dashboard-bottom {
  grid-template-columns: 1.7fr 0.8fr;
  gap: 16px;
  display: grid;
}
.panel {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 18px;
  padding: 22px;
}
.chart-head {
  justify-content: space-between;
  align-items: start;
  display: flex;
}
.chart-head > span {
  flex-direction: column;
  display: flex;
}
.chart-head small {
  color: #939299;
  letter-spacing: 0.14em;
  font-size: 8px;
  font-weight: 800;
}
.chart-head strong {
  letter-spacing: -0.04em;
  margin-top: 5px;
  font-size: 25px;
}
.chart-head strong em {
  color: #88878d;
  font-size: 11px;
  font-style: normal;
}
.weight-chart {
  width: 100%;
  height: 120px;
  margin-top: 6px;
  overflow: visible;
}
.weight-chart .grid-lines line {
  stroke: #efedeb;
  stroke-width: 1px;
}
.weight-chart .area {
  fill: url(#area);
}
.weight-chart .line {
  fill: none;
  stroke: var(--red);
  stroke-width: 3px;
  stroke-linecap: round;
}
.weight-chart circle {
  fill: #fff;
  stroke: var(--red);
  stroke-width: 3px;
}
.chart-labels {
  color: #aaa9ae;
  letter-spacing: 0.08em;
  justify-content: space-between;
  font-size: 7px;
  font-weight: 750;
  display: flex;
}
.next-card {
  background: #f3f1ef;
  padding: 24px;
}
.date-block {
  align-items: center;
  gap: 10px;
  margin: 20px 0 13px;
  display: flex;
}
.date-block > strong {
  letter-spacing: -0.08em;
  font-size: 48px;
}
.date-block span {
  color: var(--red);
  flex-direction: column;
  font-size: 11px;
  font-weight: 800;
  display: flex;
}
.date-block small {
  color: #77767c;
  margin-top: 4px;
  font-size: 9px;
  font-weight: 500;
}
.next-card p {
  color: #77767c;
  font-size: 10px;
  line-height: 1.6;
}
.next-card button {
  color: var(--red);
  background: 0 0;
  border: 0;
  padding: 7px 0;
  font-size: 9px;
  font-weight: 800;
}
.subhero,
.progress-overview {
  color: #fff;
  background: #171719;
  border-radius: 24px;
  justify-content: space-between;
  align-items: center;
  min-height: 200px;
  padding: 32px 36px;
  display: flex;
}
.subhero h2,
.progress-overview h2 {
  font-size: clamp(27px, 3vw, 40px);
}
.subhero p,
.progress-overview p {
  color: #96969c;
  margin: 0;
  font-size: 12px;
}
.workout-progress {
  text-align: right;
  width: 180px;
  display: grid;
}
.workout-progress strong {
  letter-spacing: -0.06em;
  font-size: 42px;
}
.workout-progress span {
  color: #96969c;
  font-size: 10px;
}
.workout-progress i {
  background: #333337;
  border-radius: 4px;
  height: 4px;
  margin-top: 13px;
  overflow: hidden;
}
.workout-progress i b {
  background: var(--red);
  height: 100%;
  display: block;
}
.exercise-list,
.meal-list {
  gap: 12px;
  margin-top: 18px;
  display: grid;
}
.exercise-card,
.meal-card {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 17px;
  overflow: hidden;
}
.exercise-card.completed,
.meal-card.completed {
  border-color: #cde7dc;
}
.exercise-summary {
  text-align: left;
  cursor: pointer;
  background: #fff;
  border: 0;
  grid-template-columns: 45px minmax(200px, 1fr) 90px 110px 90px 32px;
  align-items: center;
  gap: 14px;
  width: 100%;
  min-height: 92px;
  padding: 17px 20px;
  display: grid;
}
.exercise-number {
  color: #7e7d83;
  background: #f2f0ef;
  border-radius: 11px;
  place-items: center;
  width: 40px;
  height: 40px;
  font-size: 11px;
  font-weight: 800;
  display: grid;
}
.completed .exercise-number {
  color: var(--green);
  background: #e5f6ef;
}
.exercise-name {
  flex-direction: column;
  display: flex;
}
.exercise-name small {
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 8px;
  font-weight: 800;
}
.exercise-name strong {
  margin-top: 5px;
  font-size: 14px;
}
.prescription {
  flex-direction: column;
  display: flex;
}
.prescription small {
  color: #a09fa4;
  letter-spacing: 0.12em;
  font-size: 7px;
  font-weight: 800;
}
.prescription strong {
  margin-top: 5px;
  font-size: 12px;
}
.expand {
  background: #f2f0ef;
  border-radius: 50%;
  place-items: center;
  width: 28px;
  height: 28px;
  font-size: 16px;
  display: grid;
}
.exercise-detail {
  border-top: 1px solid var(--line);
  background: #fcfbfa;
  grid-template-columns: 280px 1fr;
  gap: 26px;
  padding: 22px;
  display: grid;
}
.video-placeholder {
  color: #fff;
  background: radial-gradient(circle at 70% 25%, #4b2429, #19191c 55%);
  border-radius: 15px;
  place-content: center;
  justify-items: center;
  min-height: 210px;
  display: grid;
}
.video-placeholder span {
  background: var(--red);
  border-radius: 50%;
  place-items: center;
  width: 45px;
  height: 45px;
  padding-left: 3px;
  display: grid;
}
.video-placeholder strong {
  margin-top: 12px;
  font-size: 12px;
}
.video-placeholder small {
  color: #95959b;
  margin-top: 4px;
  font-size: 9px;
}
.guidance p {
  color: #64636a;
  margin: 10px 0 16px;
  font-size: 11px;
  line-height: 1.7;
}
.log-fields {
  grid-template-columns: 160px 1fr;
  gap: 10px;
  display: grid;
}
.set-log {
  background: #fff;
  border: 1px solid #e5e1df;
  border-radius: 12px;
  margin: 18px 0 14px;
  overflow: hidden;
}
.set-log-heading,
.set-log-row {
  grid-template-columns: 72px minmax(110px, 1fr) minmax(110px, 1fr);
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  display: grid;
}
.set-log-heading {
  color: #85838a;
  letter-spacing: 0.1em;
  background: #f3f1ef;
  font-size: 8px;
  font-weight: 900;
}
.set-log-row + .set-log-row {
  border-top: 1px solid #efedeb;
}
.set-log-row strong {
  width: 34px;
  height: 34px;
  color: var(--red);
  background: #fff0f1;
  border-radius: 50%;
  place-items: center;
  font-size: 11px;
  display: grid;
}
.set-log-row label {
  display: block;
}
.set-log-row input {
  min-height: 40px;
  margin-top: 0;
  font-size: 13px;
  font-weight: 700;
}
.sr-only {
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  position: absolute;
  overflow: hidden;
}
.guidance label {
  color: #6d6c72;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 8px;
  font-weight: 800;
}
.guidance input,
.guidance textarea {
  width: 100%;
  color: var(--ink);
  text-transform: none;
  letter-spacing: 0;
  background: #fff;
  border: 1px solid #dfdcda;
  border-radius: 9px;
  outline: none;
  margin-top: 6px;
  padding: 10px 11px;
  font-size: 11px;
}
.guidance input:focus,
.guidance textarea:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px #cf202d14;
}
.notes-label {
  margin-top: 10px;
  display: block;
}
.guidance textarea {
  resize: vertical;
  min-height: 60px;
}
.complete-button {
  background: var(--red);
  color: #fff;
  cursor: pointer;
  border: 0;
  border-radius: 9px;
  margin-top: 12px;
  padding: 11px 14px;
  font-size: 10px;
  font-weight: 800;
}
.complete-button.done {
  background: var(--green);
}
.calorie-hero {
  color: #fff;
  background: #171719;
  border-radius: 24px;
  grid-template-columns: 1fr 150px 1.2fr;
  align-items: center;
  gap: 38px;
  min-height: 224px;
  padding: 30px 36px;
  display: grid;
}
.calorie-copy > strong {
  letter-spacing: -0.06em;
  margin-top: 11px;
  font-size: 42px;
  display: block;
}
.calorie-copy strong small {
  color: #9b9ba1;
  letter-spacing: 0;
  font-size: 14px;
}
.calorie-copy p {
  color: #99999f;
  margin: 6px 0 0;
  font-size: 11px;
}
.calorie-ring {
  background: conic-gradient(var(--red) var(--progress), #333338 0);
  border-radius: 50%;
  place-items: center;
  width: 136px;
  height: 136px;
  display: grid;
  position: relative;
}
.calorie-ring:after {
  content: "";
  background: #171719;
  border-radius: 50%;
  position: absolute;
  inset: 10px;
}
.calorie-ring span {
  z-index: 1;
  flex-direction: column;
  align-items: center;
  display: flex;
}
.calorie-ring strong {
  font-size: 24px;
}
.calorie-ring small {
  color: #8f8f95;
  margin-top: 3px;
  font-size: 8px;
}
.macro-grid {
  gap: 17px;
  display: grid;
}
.macro-grid > span {
  grid-template-columns: 1fr auto;
  align-items: center;
  display: grid;
}
.macro-grid small {
  color: #8e8e94;
  letter-spacing: 0.13em;
  font-size: 7px;
  font-weight: 800;
}
.macro-grid strong {
  font-size: 12px;
}
.macro-grid em {
  color: #77777d;
  font-size: 9px;
  font-style: normal;
}
.macro-grid i {
  background: #313135;
  border-radius: 5px;
  grid-column: 1/-1;
  height: 3px;
  margin-top: 7px;
  overflow: hidden;
}
.macro-grid b {
  background: var(--red);
  height: 100%;
  display: block;
}
.nutrition-head {
  margin-top: 31px;
}
.meal-count {
  color: #747379;
  background: #efedeb;
  border-radius: 999px;
  padding: 7px 10px;
  font-size: 9px;
  font-weight: 750;
}
.meal-row {
  grid-template-columns: 50px 1fr;
  align-items: stretch;
  display: grid;
}
.check-button {
  color: #fff;
  cursor: pointer;
  background: #fff;
  border: 1.5px solid #cfccca;
  border-radius: 7px;
  place-self: center;
  width: 23px;
  height: 23px;
  font-size: 12px;
}
.completed .check-button {
  border-color: var(--green);
  background: var(--green);
}
.meal-summary {
  text-align: left;
  cursor: pointer;
  background: 0 0;
  border: 0;
  grid-template-columns: 65px 1fr 65px 25px;
  align-items: center;
  gap: 13px;
  min-height: 82px;
  padding: 14px 18px 14px 0;
  display: grid;
}
.meal-time {
  color: #84838a;
  font-size: 11px;
  font-weight: 700;
}
.meal-summary > span:nth-child(2) {
  flex-direction: column;
  display: flex;
}
.meal-summary strong {
  font-size: 13px;
}
.meal-summary small {
  color: #96959b;
  white-space: nowrap;
  text-overflow: ellipsis;
  max-width: 480px;
  margin-top: 5px;
  font-size: 9px;
  overflow: hidden;
}
.meal-calories {
  color: var(--ink);
  flex-direction: column;
  font-size: 13px;
  font-weight: 800;
  display: flex;
}
.meal-calories small {
  color: #9a999e;
  margin: 0;
  font-size: 7px;
}
.meal-summary > b {
  background: #f2f0ef;
  border-radius: 50%;
  place-items: center;
  width: 26px;
  height: 26px;
  font-size: 14px;
  display: grid;
}
.meal-detail {
  border-top: 1px solid var(--line);
  background: #fcfbfa;
  padding: 20px 28px 24px 50px;
}
.food-table {
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}
.food-row {
  color: #66656b;
  border-top: 1px solid #efedeb;
  grid-template-columns: 1.3fr 0.7fr 1fr;
  align-items: center;
  gap: 15px;
  min-height: 41px;
  padding: 9px 13px;
  font-size: 10px;
  display: grid;
}
.food-row:first-child {
  border-top: 0;
}
.food-row.heading {
  color: #8c8b91;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  background: #f0eeec;
  font-size: 7px;
  font-weight: 850;
}
.meal-tip {
  border-left: 3px solid var(--red);
  background: #f5f2f1;
  margin-top: 12px;
  padding: 12px;
}
.meal-tip strong {
  font-size: 9px;
}
.meal-tip p {
  color: #75747a;
  margin: 5px 0 0;
  font-size: 9px;
  line-height: 1.5;
}
.progress-overview {
  background: linear-gradient(125deg, #171719, #241719);
}
.progress-highlight {
  border-left: 1px solid #3a3032;
  flex-direction: column;
  min-width: 210px;
  padding-left: 30px;
  display: flex;
}
.progress-highlight small {
  color: #939399;
  letter-spacing: 0.14em;
  font-size: 8px;
  font-weight: 800;
}
.progress-highlight strong {
  letter-spacing: -0.07em;
  margin-top: 8px;
  font-size: 48px;
}
.progress-highlight em {
  color: #aaa9ad;
  font-size: 15px;
  font-style: normal;
}
.progress-highlight span {
  color: #53cc96;
  background: #1c96632b;
  border-radius: 6px;
  width: fit-content;
  margin-top: 8px;
  padding: 5px 7px;
  font-size: 9px;
}
.measurement-grid {
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 16px;
  display: grid;
}
.measurement-card {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 16px;
  padding: 18px;
}
.measurement-card > div {
  grid-template-columns: 1fr auto 1fr;
  align-items: end;
  gap: 8px;
  margin: 15px 0 12px;
  display: grid;
}
.measurement-card div small {
  color: #a09fa4;
  flex-direction: column;
  font-size: 7px;
  font-weight: 800;
  display: flex;
}
.measurement-card div strong {
  color: var(--ink);
  margin-top: 5px;
  font-size: 13px;
}
.measurement-card div b {
  color: #b1afb2;
  font-size: 11px;
}
.progress-layout {
  grid-template-columns: 1.6fr 0.75fr;
  gap: 16px;
  margin-top: 16px;
  display: grid;
}
.large-chart {
  min-height: 300px;
}
.large-chart .weight-chart {
  height: 205px;
}
.legend {
  color: #85848a;
  align-items: center;
  gap: 7px;
  font-size: 9px;
  flex-direction: row !important;
  display: flex !important;
}
.legend i {
  background: var(--red);
  border-radius: 50%;
  width: 8px;
  height: 8px;
}
.assessment-card {
  padding: 23px;
}
.assessment-item {
  border-bottom: 1px solid #efedeb;
  grid-template-columns: 10px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 15px 0;
  display: grid;
}
.assessment-item i {
  border: 2px solid #c8c5c3;
  border-radius: 50%;
  width: 8px;
  height: 8px;
}
.assessment-item.current i {
  border-color: var(--red);
  background: var(--red);
}
.assessment-item span {
  flex-direction: column;
  display: flex;
}
.assessment-item strong {
  font-size: 10px;
}
.assessment-item small {
  color: #9a999f;
  margin-top: 4px;
  font-size: 8px;
}
.assessment-item b {
  color: var(--red);
  font-size: 8px;
}
.assessment-card > p {
  color: #929197;
  margin-top: 18px;
  font-size: 9px;
  line-height: 1.55;
}
.mobile-nav {
  display: none;
}
.quick-card,
.primary-button,
.nav-item,
.exercise-card,
.meal-card {
  transition: all 0.2s;
}
.demo-ribbon {
  z-index: 60;
  color: #8e6118;
  letter-spacing: 0.06em;
  white-space: nowrap;
  background: #fff2d6;
  border-radius: 999px;
  padding: 6px 11px;
  font-size: 8px;
  font-weight: 800;
  position: fixed;
  top: 8px;
  left: 50%;
  transform: translate(-50%);
  box-shadow: 0 4px 18px #1e140a1a;
}
.auth-page {
  background: #f8f7f5;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
  display: grid;
}
.auth-brand-panel {
  color: #fff;
  background:
    radial-gradient(circle at 85% 18%, #cf202d33, #0000 33%),
    linear-gradient(145deg, #111113, #20191b);
  flex-direction: column;
  justify-content: space-between;
  min-height: 100vh;
  padding: clamp(30px, 5vw, 72px);
  display: flex;
}
.auth-brand-panel .brand {
  padding: 0;
}
.auth-brand-panel h2 {
  letter-spacing: -0.06em;
  margin: 22px 0 13px;
  font-size: clamp(38px, 4.6vw, 67px);
  line-height: 0.98;
}
.auth-brand-panel h2 em {
  color: #e22937;
  font-style: normal;
}
.auth-brand-panel p {
  color: #9d9da3;
  max-width: 470px;
  font-size: 13px;
  line-height: 1.65;
}
.auth-brand-panel > small {
  color: #626267;
  font-size: 9px;
}
.auth-form-panel {
  place-items: center;
  padding: 30px;
  display: grid;
}
.auth-card {
  width: min(390px, 100%);
}
.auth-card.compact {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 20px;
  place-self: center;
  padding: 32px;
}
.auth-card.compact .brand-mark {
  margin-bottom: 20px;
}
.auth-card h1 {
  letter-spacing: -0.05em;
  margin: 8px 0 9px;
  font-size: 31px;
}
.auth-card > p {
  color: #77767d;
  margin: 0 0 26px;
  font-size: 11px;
  line-height: 1.6;
}
.auth-card label {
  color: #66656b;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 13px;
  font-size: 8px;
  font-weight: 850;
  display: block;
}
.auth-card input {
  width: 100%;
  color: var(--ink);
  text-transform: none;
  letter-spacing: 0;
  background: #fff;
  border: 1px solid #dfdcda;
  border-radius: 10px;
  outline: none;
  margin-top: 7px;
  padding: 13px 14px;
  font-size: 11px;
}
.auth-card input:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px #cf202d14;
}
.auth-primary {
  background: var(--red);
  color: #fff;
  cursor: pointer;
  border: 0;
  border-radius: 10px;
  width: 100%;
  margin-top: 18px;
  padding: 13px 15px;
  font-size: 10px;
  font-weight: 850;
}
.auth-primary:disabled {
  opacity: 0.6;
  cursor: wait;
}
.auth-link {
  width: 100%;
  color: var(--red);
  cursor: pointer;
  background: 0 0;
  border: 0;
  margin-top: 12px;
  font-size: 9px;
  font-weight: 750;
}
.auth-message {
  color: #775f5d;
  background: #f4efed;
  border-radius: 9px;
  margin-top: 14px;
  padding: 10px;
  font-size: 9px;
  line-height: 1.45;
}
.auth-loader {
  place-self: center;
  place-items: center;
  display: grid;
}
.auth-loader p {
  color: #77767d;
  font-size: 10px;
}
@media (max-width: 1050px) {
  .quick-grid {
    grid-template-columns: 1fr 1fr;
  }
  .quick-grid .quick-card:last-child {
    grid-column: 1/-1;
  }
  .measurement-grid {
    grid-template-columns: 1fr 1fr;
  }
  .exercise-summary {
    grid-template-columns: 42px minmax(180px, 1fr) 70px 90px 28px;
  }
  .exercise-summary .prescription:nth-of-type(4) {
    display: none;
  }
  .calorie-hero {
    grid-template-columns: 1fr 130px;
  }
  .macro-grid {
    grid-column: 1/-1;
    grid-template-columns: repeat(3, 1fr);
  }
  .macro-grid > span {
    padding-right: 12px;
  }
}
@media (max-width: 760px) {
  .hydration-card {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 16px;
  }
  .sidebar {
    display: none;
  }
  .workspace {
    margin-left: 0;
    padding-bottom: 76px;
  }
  .topbar {
    height: 78px;
    padding: 15px 18px;
  }
  .topbar h1 {
    font-size: 20px;
  }
  .topbar .eyebrow {
    font-size: 7px;
  }
  .page-content {
    padding: 18px 14px 35px;
  }
  .hero-card {
    min-height: 340px;
    padding: 27px 24px;
    display: block;
  }
  .hero-card h2 {
    margin-top: 16px;
    font-size: 34px;
  }
  .hero-card p {
    padding-right: 10px;
    font-size: 11px;
  }
  .hero-rings {
    opacity: 0.72;
    width: 125px;
    height: 125px;
    position: absolute;
    bottom: 0;
    right: 8px;
  }
  .hero-rings b {
    font-size: 42px;
  }
  .quick-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .quick-grid .quick-card:last-child {
    grid-column: auto;
  }
  .quick-card {
    min-height: 105px;
  }
  .section-head {
    margin-top: 29px;
  }
  .dashboard-bottom,
  .progress-layout {
    grid-template-columns: 1fr;
  }
  .next-card {
    display: none;
  }
  .mobile-nav {
    z-index: 30;
    min-height: 66px;
    padding-bottom: max(4px, env(safe-area-inset-bottom));
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    background: #fffffff5;
    border-top: 1px solid #e4e1df;
    grid-template-columns: repeat(4, 1fr);
    display: grid;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    box-shadow: 0 -7px 24px #14141912;
  }
  .mobile-nav button {
    color: #949399;
    background: 0 0;
    border: 0;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 3px;
    font-size: 8px;
    display: flex;
  }
  .mobile-nav button span {
    font-size: 18px;
    line-height: 1;
  }
  .mobile-nav button.active {
    color: var(--red);
    font-weight: 800;
  }
  .subhero,
  .progress-overview {
    min-height: 230px;
    padding: 27px 24px;
    display: block;
  }
  .subhero h2,
  .progress-overview h2 {
    font-size: 31px;
  }
  .workout-progress {
    text-align: left;
    grid-template-columns: auto 1fr;
    align-items: end;
    column-gap: 8px;
    width: 100%;
    margin-top: 25px;
  }
  .workout-progress strong {
    font-size: 30px;
  }
  .workout-progress i {
    grid-column: 1/-1;
  }
  .exercise-summary {
    grid-template-columns: 38px 1fr 32px;
    gap: 10px;
    min-height: 84px;
    padding: 14px;
  }
  .exercise-summary .prescription {
    display: none;
  }
  .exercise-number {
    width: 36px;
    height: 36px;
  }
  .exercise-detail {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 14px;
  }
  .video-placeholder {
    min-height: 185px;
  }
  .log-fields {
    grid-template-columns: 1fr 1fr;
  }
  .calorie-hero {
    grid-template-columns: 1fr 112px;
    gap: 15px;
    padding: 26px 23px;
  }
  .calorie-copy > strong {
    font-size: 32px;
  }
  .calorie-ring {
    width: 108px;
    height: 108px;
  }
  .macro-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .macro-grid > span {
    padding-right: 0;
  }
  .meal-summary {
    grid-template-columns: 50px 1fr 48px 24px;
    gap: 8px;
    padding-right: 10px;
  }
  .meal-summary small {
    max-width: 155px;
  }
  .meal-detail {
    padding: 15px;
  }
  .food-row {
    grid-template-columns: 1fr 0.7fr;
  }
  .food-row span:last-child {
    display: none;
  }
  .progress-highlight {
    border-top: 1px solid #3a3032;
    border-left: 0;
    margin-top: 25px;
    padding: 18px 0 0;
  }
  .progress-highlight strong {
    font-size: 38px;
  }
  .measurement-grid {
    grid-template-columns: 1fr 1fr;
    gap: 9px;
  }
  .measurement-card {
    padding: 14px;
  }
  .measurement-card > div {
    grid-template-columns: 1fr;
    gap: 5px;
    margin: 12px 0;
  }
  .measurement-card div b {
    display: none;
  }
  .large-chart {
    min-height: 255px;
  }
  .large-chart .weight-chart {
    height: 155px;
  }
  .auth-page {
    grid-template-columns: 1fr;
  }
  .auth-brand-panel {
    display: none;
  }
  .auth-form-panel {
    min-height: 100vh;
    padding: 24px;
  }
}
@media (max-width: 420px) {
  .measurement-grid,
  .log-fields {
    grid-template-columns: 1fr;
  }
  .set-log-heading,
  .set-log-row {
    grid-template-columns: 54px 1fr 1fr;
    gap: 7px;
    padding-left: 9px;
    padding-right: 9px;
  }
  .top-actions .icon-button {
    display: none;
  }
}
.admin-shell {
  background: #f7f6f4;
  min-height: 100vh;
}
.admin-sidebar {
  z-index: 20;
  color: #fff;
  background: #111113;
  flex-direction: column;
  width: 246px;
  padding: 28px 20px 22px;
  display: flex;
  position: fixed;
  inset: 0 auto 0 0;
}
.capacity-card {
  background: #18181b;
  border: 1px solid #303034;
  border-radius: 15px;
  margin-top: auto;
  padding: 17px;
}
.capacity-card > span {
  justify-content: space-between;
  align-items: end;
  display: flex;
}
.capacity-card strong {
  font-size: 17px;
}
.capacity-card small {
  color: #85858b;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 8px;
}
.capacity-card > i {
  background: #333337;
  border-radius: 5px;
  height: 4px;
  margin-top: 12px;
  display: block;
  overflow: hidden;
}
.capacity-card > i b {
  background: var(--red);
  height: 100%;
  display: block;
}
.capacity-card p {
  color: #85858b;
  margin: 10px 0 0;
  font-size: 9px;
  line-height: 1.5;
}
.student-view-link {
  color: #8e8e94;
  text-align: center;
  margin-top: 17px;
  font-size: 9px;
  text-decoration: none;
}
.student-view-link:hover {
  color: #fff;
}
.admin-workspace {
  min-height: 100vh;
  margin-left: 246px;
}
.admin-topbar {
  border-bottom: 1px solid var(--line);
  background: #ffffffe6;
  justify-content: space-between;
  align-items: center;
  min-height: 92px;
  padding: 20px clamp(25px, 3.5vw, 54px);
  display: flex;
}
.admin-topbar h1 {
  letter-spacing: -0.04em;
  margin: 5px 0 0;
  font-size: 22px;
}
.admin-actions {
  align-items: center;
  gap: 10px;
  display: flex;
}
.search-box {
  border: 1px solid var(--line);
  background: #faf9f8;
  border-radius: 10px;
  align-items: center;
  gap: 8px;
  width: 220px;
  height: 39px;
  padding: 0 12px;
  display: flex;
}
.search-box span {
  color: #99989d;
}
.search-box input {
  min-width: 0;
  color: var(--ink);
  background: 0 0;
  border: 0;
  outline: 0;
  font-size: 10px;
}
.admin-primary {
  background: var(--red);
  color: #fff;
  cursor: pointer;
  border: 0;
  border-radius: 10px;
  padding: 12px 15px;
  font-size: 10px;
  font-weight: 800;
}
.admin-primary:hover {
  background: var(--red-dark);
}
.admin-avatar {
  color: #fff;
  background: #232326;
  border-radius: 50%;
  place-items: center;
  width: 38px;
  height: 38px;
  font-size: 10px;
  font-weight: 800;
  display: grid;
}
.admin-profile-trigger {
  cursor: pointer;
  border: 0;
  padding: 0;
  overflow: hidden;
}
.admin-profile-trigger .profile-avatar-image {
  color: #fff;
  background: #232326;
  width: 38px;
  height: 38px;
}
.admin-profile-popover {
  top: 50px;
}
.admin-profile-controls {
  border-top: 1px solid var(--line);
  gap: 8px;
  margin-top: 17px;
  padding-top: 13px;
  display: grid;
}
.admin-profile-controls > button {
  color: #4e4d53;
  cursor: pointer;
  background: #fff;
  border: 1px solid #dedbd9;
  border-radius: 9px;
  width: 100%;
  padding: 10px 12px;
  font-size: 9px;
  font-weight: 800;
}
.admin-content {
  max-width: 1320px;
  margin: 0 auto;
  padding: 32px clamp(25px, 3.5vw, 54px) 70px;
}
.admin-welcome {
  justify-content: space-between;
  align-items: center;
  display: flex;
}
.admin-welcome h2 {
  letter-spacing: -0.04em;
  margin: 6px 0 0;
  font-size: 25px;
}
.date-chip {
  border: 1px solid var(--line);
  color: #7f7e84;
  letter-spacing: 0.1em;
  background: #fff;
  border-radius: 8px;
  padding: 8px 11px;
  font-size: 8px;
  font-weight: 800;
}
.admin-stat-grid {
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 25px;
  display: grid;
}
.admin-stat {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 16px;
  grid-template-columns: auto 1fr auto;
  align-items: start;
  gap: 12px;
  min-height: 122px;
  padding: 18px;
  display: grid;
  position: relative;
}
.card-icon.beige {
  color: #7d5a43;
  background: #f1e8e0;
}
.admin-stat > div {
  flex-direction: column;
  display: flex;
}
.admin-stat small {
  color: #9a999f;
  letter-spacing: 0.11em;
  font-size: 7px;
  font-weight: 800;
}
.admin-stat strong {
  letter-spacing: -0.04em;
  margin-top: 6px;
  font-size: 22px;
}
.admin-stat strong em {
  color: #aaa9ae;
  font-size: 11px;
  font-style: normal;
}
.admin-stat p {
  color: #85848a;
  margin: 5px 0 0;
  font-size: 9px;
}
.admin-stat > button {
  color: var(--red);
  cursor: pointer;
  background: 0 0;
  border: 0;
  align-self: end;
  font-size: 8px;
  font-weight: 800;
}
.admin-main-grid {
  grid-template-columns: minmax(0, 1.7fr) minmax(280px, 0.7fr);
  gap: 14px;
  margin-top: 14px;
  display: grid;
}
.admin-panel {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 17px;
  overflow: hidden;
}
.admin-panel-head {
  border-bottom: 1px solid #efedeb;
  justify-content: space-between;
  align-items: center;
  min-height: 75px;
  padding: 19px 21px;
  display: flex;
}
.admin-panel-head h3 {
  margin: 5px 0 0;
  font-size: 16px;
}
.admin-panel-head > button {
  color: var(--red);
  background: 0 0;
  border: 0;
  font-size: 8px;
  font-weight: 800;
}
.student-table {
  overflow-x: auto;
}
.student-row {
  text-align: left;
  cursor: pointer;
  background: #fff;
  border: 0;
  border-top: 1px solid #f0eeec;
  grid-template-columns: 1.4fr 1fr 0.7fr 0.8fr 25px;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-width: 670px;
  min-height: 64px;
  padding: 10px 18px;
  display: grid;
}
.student-row:hover:not(.heading) {
  background: #fcfbfa;
}
.student-row.heading {
  color: #98979c;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  cursor: default;
  background: #f7f5f3;
  border-top: 0;
  min-height: 38px;
  font-size: 7px;
  font-weight: 800;
}
.student-identity {
  align-items: center;
  gap: 10px;
  display: flex;
}
.student-identity > i {
  color: #6d4438;
  background: #f0dfd6;
  border-radius: 50%;
  place-items: center;
  width: 32px;
  height: 32px;
  font-size: 8px;
  font-style: normal;
  font-weight: 800;
  display: grid;
}
.student-identity > i.has-photo {
  overflow: hidden;
}
.student-identity > i.has-photo img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}
.student-identity > b,
.student-row > span:nth-child(2) {
  flex-direction: column;
  font-size: 10px;
  display: flex;
}
.student-row small {
  color: #9b9aa0;
  margin-top: 4px;
  font-size: 8px;
  font-weight: 400;
}
.adherence {
  grid-template-columns: 28px 1fr;
  align-items: center;
  gap: 7px;
  font-size: 9px;
  display: grid;
}
.adherence i {
  background: #edeae8;
  border-radius: 4px;
  height: 3px;
  overflow: hidden;
}
.adherence i b {
  background: var(--red);
  height: 100%;
  display: block;
}
.student-status {
  border-radius: 999px;
  width: fit-content;
  padding: 5px 7px;
  font-size: 7px;
  font-weight: 800;
}
.student-status.success {
  color: var(--green);
  background: #e5f6ef;
}
.student-status.danger {
  color: var(--red);
  background: #fdebed;
}
.student-status.warning {
  color: #986717;
  background: #fff2d6;
}
.student-status.neutral {
  color: #737278;
  background: #efedeb;
}
.alert-count {
  width: 24px;
  height: 24px;
  color: var(--red);
  background: #fdebed;
  border-radius: 50%;
  place-items: center;
  font-size: 9px;
  font-weight: 800;
  display: grid;
}
.attention-item {
  text-align: left;
  cursor: pointer;
  background: #fff;
  border: 0;
  border-bottom: 1px solid #efedeb;
  grid-template-columns: 32px 1fr;
  gap: 10px;
  width: 100%;
  padding: 16px 18px;
  display: grid;
}
.attention-item:hover {
  background: #fcfbfa;
}
.attention-icon {
  border-radius: 9px;
  place-items: center;
  width: 31px;
  height: 31px;
  font-size: 13px;
  display: grid;
}
.attention-icon.red {
  color: var(--red);
  background: #fdebed;
}
.attention-icon.amber {
  color: #a16b12;
  background: #fff2d6;
}
.attention-icon.gray {
  color: #6e6d73;
  background: #efedeb;
}
.attention-item > span:last-child {
  flex-direction: column;
  display: flex;
}
.attention-item strong {
  font-size: 9px;
}
.attention-item small {
  color: #8d8c92;
  margin-top: 4px;
  font-size: 8px;
  line-height: 1.45;
}
.attention-item em {
  color: var(--red);
  margin-top: 6px;
  font-size: 7px;
  font-style: normal;
  font-weight: 800;
}
.outline-action {
  border: 1px solid var(--line);
  color: #68676d;
  background: #fff;
  border-radius: 9px;
  width: calc(100% - 36px);
  margin: 14px 18px;
  padding: 9px;
  font-size: 8px;
  font-weight: 800;
}
.quick-actions-section {
  margin-top: 23px;
}
.admin-quick-actions {
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 10px;
  display: grid;
}
.admin-quick-actions button {
  border: 1px solid var(--line);
  text-align: left;
  cursor: pointer;
  background: #fff;
  border-radius: 14px;
  grid-template-columns: 34px 1fr auto;
  align-items: center;
  gap: 10px;
  min-height: 78px;
  padding: 14px;
  display: grid;
}
.admin-quick-actions button > span {
  background: #f0eeec;
  border-radius: 9px;
  place-items: center;
  width: 34px;
  height: 34px;
  display: grid;
}
.admin-quick-actions b {
  flex-direction: column;
  font-size: 9px;
  display: flex;
}
.admin-quick-actions small {
  color: #99989e;
  margin-top: 4px;
  font-size: 7px;
  font-weight: 400;
}
.admin-quick-actions em {
  color: var(--red);
  font-style: normal;
}
.admin-modal-backdrop {
  z-index: 50;
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
  background: #0f0f11ad;
  place-items: center;
  padding: 20px;
  display: grid;
  position: fixed;
  inset: 0;
}
.admin-modal {
  background: #fff;
  border-radius: 20px;
  width: 100%;
  max-width: 390px;
  padding: 31px;
  position: relative;
  box-shadow: 0 22px 80px #0003;
}
.modal-close {
  color: #8e8d92;
  cursor: pointer;
  background: 0 0;
  border: 0;
  font-size: 22px;
  position: absolute;
  top: 13px;
  right: 14px;
}
.admin-modal .eyebrow {
  margin-top: 18px;
}
.admin-modal h2 {
  letter-spacing: -0.04em;
  margin: 8px 0;
  font-size: 23px;
}
.admin-modal p {
  color: #77767c;
  font-size: 10px;
  line-height: 1.6;
}
.admin-modal .admin-primary {
  margin-top: 8px;
}
.nav-item:disabled {
  opacity: 0.5;
  cursor: default;
}
.nav-item small {
  color: #77777d;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-left: auto;
  font-size: 6px;
}
.admin-signout {
  color: #8f8f95;
  cursor: pointer;
  background: 0 0;
  border: 0;
  margin-top: 12px;
  font-size: 8px;
  font-weight: 750;
}
.admin-signout:hover {
  color: #fff;
}
.student-stats {
  grid-template-columns: repeat(3, 1fr);
}
.real-students {
  margin-top: 14px;
}
.real-students .student-row {
  grid-template-columns: minmax(190px, 1.5fr) minmax(
      120px,
      0.8fr
    ) 90px 85px 130px;
}
.real-students .student-row:not(.heading) {
  cursor: default;
}
.calorie-cell {
  align-items: baseline;
  gap: 4px;
  display: flex;
}
.calorie-cell strong {
  font-size: 12px;
}
.calorie-cell small {
  margin: 0;
}
.student-actions {
  gap: 6px;
  display: flex;
}
.student-actions button {
  color: #4d4c52;
  cursor: pointer;
  background: #fff;
  border: 1px solid #dedbd9;
  border-radius: 7px;
  padding: 7px 8px;
  font-size: 7px;
  font-weight: 800;
}
.student-actions button:hover {
  border-color: #aaa6a3;
}
.student-actions .pause {
  color: #a46118;
}
.student-actions .activate {
  color: var(--green);
}
.admin-empty {
  color: #8b8a90;
  place-content: center;
  justify-items: center;
  min-height: 180px;
  padding: 30px;
  font-size: 10px;
  display: grid;
}
.admin-empty strong {
  color: var(--ink);
  font-size: 14px;
}
.admin-empty span {
  margin-top: 6px;
}
.students-heading p {
  color: #85848a;
  margin: 7px 0 0;
  font-size: 10px;
}
.admin-feedback {
  border-radius: 9px;
  margin: 0 0 14px;
  padding: 11px 13px;
  font-size: 9px;
  line-height: 1.5;
}
.admin-feedback.error {
  color: #9e2a32;
  background: #fff0f1;
  border: 1px solid #f0c9cc;
}
.student-form-modal {
  max-width: 580px;
  max-height: calc(100vh - 36px);
  padding: 30px;
  overflow-y: auto;
}
.student-form-modal > .eyebrow {
  margin-top: 0;
}
.student-form-modal form {
  margin-top: 20px;
}
.student-form-grid {
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  display: grid;
}
.student-form-grid label {
  color: #66656b;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  font-size: 7px;
  font-weight: 850;
}
.student-form-grid .span-two {
  grid-column: 1/-1;
}
.student-form-grid input,
.student-form-grid select,
.student-form-grid textarea {
  width: 100%;
  color: var(--ink);
  font: inherit;
  text-transform: none;
  letter-spacing: 0;
  background: #fff;
  border: 1px solid #dedbd9;
  border-radius: 9px;
  outline: none;
  margin-top: 6px;
  padding: 11px 12px;
  font-size: 10px;
}
.student-form-grid input:focus,
.student-form-grid select:focus,
.student-form-grid textarea:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px #cf202d14;
}
.student-form-grid input:disabled {
  color: #85848a;
  background: #f2f0ee;
}
.student-form-grid textarea {
  resize: vertical;
  min-height: 70px;
}
.student-access-note {
  background: #f2f0ee;
  border-radius: 10px;
  flex-direction: column;
  margin-top: 14px;
  padding: 12px 14px;
  display: flex;
}
.student-access-note strong {
  font-size: 9px;
}
.student-access-note span {
  color: #76757b;
  margin-top: 4px;
  font-size: 8px;
  line-height: 1.5;
}
.modal-actions {
  justify-content: flex-end;
  gap: 8px;
  margin-top: 17px;
  display: flex;
}
.modal-actions .outline-action,
.modal-actions .admin-primary {
  width: auto;
  margin: 0;
  padding: 11px 16px;
}
.modal-actions .outline-action {
  color: #55545a;
  cursor: pointer;
  background: #fff;
  border: 1px solid #dedbd9;
  border-radius: 9px;
  font-size: 9px;
  font-weight: 800;
}
.workout-admin-hero {
  color: #fff;
  background: linear-gradient(120deg, #171719, #29191c);
  border-radius: 20px;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  min-height: 150px;
  padding: 26px 30px;
  display: flex;
}
.workout-admin-hero h2 {
  letter-spacing: -0.045em;
  margin: 7px 0 8px;
  font-size: 27px;
}
.workout-admin-hero p {
  color: #9b9ba1;
  margin: 0;
  font-size: 10px;
}
.workout-admin-actions {
  gap: 8px;
  display: flex;
}
.workout-admin-actions .outline-action {
  color: #fff;
  cursor: pointer;
  background: 0 0;
  border-color: #48484d;
  width: auto;
  margin: 0;
  padding: 11px 14px;
}
.workout-admin-actions .admin-primary {
  white-space: nowrap;
}
.workout-tabs {
  gap: 8px;
  margin: 18px 0 12px;
  display: flex;
}
.workout-tabs button {
  border: 1px solid var(--line);
  color: #77767c;
  cursor: pointer;
  background: #fff;
  border-radius: 9px;
  padding: 9px 12px;
  font-size: 9px;
  font-weight: 800;
}
.workout-tabs button.active {
  color: #fff;
  background: #29292d;
  border-color: #29292d;
}
.workout-tabs span {
  opacity: 0.6;
  margin-left: 5px;
}
.workout-plan-list {
  overflow: hidden;
}
.workout-plan-row {
  border-top: 1px solid #efedeb;
  grid-template-columns: minmax(180px, 1.2fr) minmax(
      180px,
      1fr
    ) 100px 80px minmax(110px, auto);
  align-items: center;
  gap: 14px;
  min-height: 77px;
  padding: 13px 19px;
  display: grid;
}
.workout-plan-row:first-child {
  border-top: 0;
}
.workout-plan-row > span:nth-child(2),
.workout-plan-row > span:nth-child(3) {
  flex-direction: column;
  display: flex;
}
.workout-plan-row > span > small {
  color: #9a999f;
  letter-spacing: 0.1em;
  font-size: 7px;
  font-weight: 800;
}
.workout-plan-row > span > strong {
  margin-top: 4px;
  font-size: 10px;
}
.workout-plan-row > span > em {
  color: #8c8b91;
  margin-top: 4px;
  font-size: 8px;
  font-style: normal;
}
.workout-plan-row > button {
  color: #a46118;
  cursor: pointer;
  background: 0 0;
  border: 0;
  font-size: 8px;
  font-weight: 800;
}
.exercise-library {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  display: grid;
}
.exercise-library-card {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 16px;
  grid-template-columns: 40px 1fr;
  align-items: start;
  gap: 14px;
  min-height: 150px;
  padding: 19px;
  display: grid;
}
.exercise-library-card small {
  color: var(--red);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 7px;
  font-weight: 850;
}
.exercise-library-card h3 {
  margin: 5px 0 7px;
  font-size: 14px;
}
.exercise-library-card p {
  color: #77767c;
  margin: 0;
  font-size: 9px;
  line-height: 1.55;
}
.exercise-library-card div > span {
  color: #aaa9ae;
  margin-top: 11px;
  font-size: 7px;
  display: block;
}
.workout-modal-wide {
  max-width: 880px;
}
.plan-builder-head {
  justify-content: space-between;
  align-items: center;
  margin: 22px 0 10px;
  display: flex;
}
.plan-builder-head strong {
  font-size: 11px;
}
.plan-builder-head button {
  color: var(--red);
  cursor: pointer;
  background: 0 0;
  border: 0;
  font-size: 8px;
  font-weight: 800;
}
.plan-builder-list {
  gap: 8px;
  display: grid;
}
.plan-builder-item {
  border: 1px solid var(--line);
  background: #faf9f8;
  border-radius: 11px;
  grid-template-columns: 24px minmax(150px, 1.25fr) 65px 90px 85px minmax(
      120px,
      1fr
    ) 25px;
  align-items: end;
  gap: 8px;
  padding: 11px;
  display: grid;
}
.plan-builder-item > b {
  color: #aaa8ad;
  text-align: center;
  align-self: center;
  font-size: 10px;
}
.plan-builder-item label {
  color: #85848a;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 6px;
  font-weight: 850;
}
.plan-builder-item input,
.plan-builder-item select {
  background: #fff;
  border: 1px solid #dedbd9;
  border-radius: 7px;
  outline: none;
  width: 100%;
  margin-top: 5px;
  padding: 8px;
  font-size: 9px;
}
.plan-builder-item > button {
  color: var(--red);
  cursor: pointer;
  background: 0 0;
  border: 0;
  align-self: center;
  font-size: 18px;
}
.student-workout-empty {
  text-align: center;
  place-content: center;
  justify-items: center;
  min-height: 420px;
  display: grid;
}
.student-workout-empty h2 {
  letter-spacing: -0.04em;
  margin: 15px 0 8px;
  font-size: 25px;
}
.student-workout-empty p {
  color: #85848a;
  max-width: 370px;
  margin: 0;
  font-size: 11px;
  line-height: 1.6;
}
.student-save-message {
  color: #9e2a32;
  background: #fff0f1;
  border-radius: 9px;
  margin-top: 14px;
  padding: 11px 13px;
  font-size: 9px;
}
.exercise-video-link {
  text-decoration: none;
}
.coach-note {
  border-left: 3px solid var(--red);
  background: #f5f2f1;
  flex-direction: column;
  margin: 0 0 13px;
  padding: 10px 12px;
  display: flex;
}
.coach-note strong {
  font-size: 8px;
}
.coach-note span {
  color: #6e6d73;
  margin-top: 4px;
  font-size: 9px;
  line-height: 1.5;
}
.exercise-caution {
  color: #9a6416;
  margin-bottom: 12px;
  font-size: 9px;
  line-height: 1.5;
}
.student-log-actions {
  align-items: center;
  gap: 8px;
  display: flex;
}
.save-log-button {
  color: #55545a;
  cursor: pointer;
  background: #fff;
  border: 1px solid #d8d5d3;
  border-radius: 9px;
  margin-top: 12px;
  padding: 10px 14px;
  font-size: 9px;
  font-weight: 800;
}
.student-log-actions button:disabled {
  opacity: 0.55;
  cursor: wait;
}
.profile-row .student-signout {
  color: #a3a3a8;
  cursor: pointer;
  margin-left: auto;
  font-size: 7px;
  font-weight: 800;
}
.profile-row .student-signout:hover {
  color: #fff;
}
.top-signout {
  cursor: pointer;
  border: 0;
}
.nutrition-admin-hero {
  color: #fff;
  background: linear-gradient(120deg, #171719, #24211d);
  border-radius: 20px;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  min-height: 150px;
  padding: 26px 30px;
  display: flex;
}
.nutrition-admin-hero h2 {
  letter-spacing: -0.045em;
  margin: 7px 0 8px;
  font-size: 27px;
}
.nutrition-admin-hero p {
  color: #9b9ba1;
  margin: 0;
  font-size: 10px;
}
.nutrition-plan-list {
  margin-top: 15px;
}
.nutrition-plan-row {
  border-top: 1px solid #efedeb;
  grid-template-columns: minmax(190px, 1.25fr) minmax(
      140px,
      1fr
    ) 100px 90px 75px minmax(110px, auto);
  align-items: center;
  gap: 12px;
  min-height: 76px;
  padding: 13px 19px;
  display: grid;
}
.nutrition-plan-row > span:nth-child(n + 2):not(.student-status) {
  flex-direction: column;
  display: flex;
}
.nutrition-plan-row > span > small {
  color: #9a999f;
  letter-spacing: 0.1em;
  font-size: 7px;
  font-weight: 800;
}
.nutrition-plan-row > span > strong {
  margin-top: 5px;
  font-size: 10px;
}
.nutrition-plan-row > button {
  color: #a46118;
  cursor: pointer;
  background: 0 0;
  border: 0;
  font-size: 8px;
  font-weight: 800;
}
.plan-row-actions {
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
  display: flex;
}
.plan-row-actions button {
  color: var(--red);
  white-space: nowrap;
  cursor: pointer;
  background: 0 0;
  border: 0;
  font-size: 8px;
  font-weight: 850;
}
.plan-row-actions button:hover {
  text-decoration: underline;
}
.plan-row-actions .danger-link {
  color: #8b7779;
}
.plan-row-actions button:disabled {
  opacity: 0.45;
  cursor: wait;
}
.nutrition-modal-wide {
  max-width: 960px;
}
.nutrition-goals-grid {
  grid-template-columns: repeat(4, 1fr);
}
.nutrition-goals-grid .span-two {
  grid-column: span 2;
}
.nutrition-builder-list {
  gap: 12px;
  display: grid;
}
.nutrition-builder-meal {
  border: 1px solid var(--line);
  background: #faf9f8;
  border-radius: 13px;
  padding: 14px;
}
.nutrition-meal-head {
  grid-template-columns: 25px minmax(180px, 1fr) 110px 90px 25px;
  align-items: end;
  gap: 9px;
  display: grid;
}
.nutrition-meal-head > b {
  color: #fff;
  background: #27272a;
  border-radius: 7px;
  align-self: center;
  place-items: center;
  width: 23px;
  height: 23px;
  font-size: 8px;
  display: grid;
}
.nutrition-builder-meal label {
  color: #85848a;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 6px;
  font-weight: 850;
}
.nutrition-builder-meal input,
.nutrition-builder-meal select {
  width: 100%;
  color: var(--ink);
  text-transform: none;
  letter-spacing: 0;
  background: #fff;
  border: 1px solid #dedbd9;
  border-radius: 7px;
  outline: none;
  margin-top: 5px;
  padding: 8px;
  font-size: 9px;
}
.nutrition-meal-head > button,
.food-builder-row > button {
  color: var(--red);
  cursor: pointer;
  background: 0 0;
  border: 0;
  font-size: 18px;
}
.nutrition-meal-head > button:disabled {
  opacity: 0.25;
}
.meal-instruction-label {
  margin-top: 10px;
  display: block;
}
.food-builder-list {
  gap: 7px;
  margin-top: 11px;
  display: grid;
}
.food-builder-row {
  grid-template-columns: 1fr 130px 1fr 24px;
  align-items: end;
  gap: 8px;
  display: grid;
}
.add-food-button {
  color: var(--red);
  cursor: pointer;
  background: 0 0;
  border: 0;
  margin-top: 10px;
  font-size: 8px;
  font-weight: 800;
}
.water-goal {
  color: #42656c;
  background: #eef6f8;
  border-radius: 10px;
  margin-top: 12px;
  padding: 11px 14px;
  font-size: 9px;
}
.water-goal strong {
  margin-left: 4px;
}
.hydration-card {
  background: linear-gradient(135deg, #effaf7, #f9fcff);
  border: 1px solid #dcefeb;
  border-radius: 18px;
  grid-template-columns: minmax(230px, 0.8fr) minmax(360px, 1.2fr);
  gap: 24px;
  margin: 16px 0 24px;
  padding: 22px;
  display: grid;
}
.hydration-card-copy {
  align-items: flex-start;
  gap: 14px;
  display: flex;
}
.water-drop {
  background: #d9f3ed;
  border-radius: 14px;
  flex: none;
  place-items: center;
  width: 48px;
  height: 48px;
  font-size: 21px;
  display: grid;
}
.hydration-card-copy h3 {
  letter-spacing: -0.03em;
  margin: 6px 0;
  font-size: 19px;
}
.hydration-card-copy p {
  color: #6e8582;
  margin: 0;
  font-size: 9px;
  line-height: 1.5;
}
.hydration-settings {
  gap: 11px;
  display: grid;
}
.hydration-fixed-time {
  background: #ffffffbf;
  border-radius: 10px;
  justify-content: space-between;
  padding: 10px 12px;
  font-size: 9px;
  display: flex;
}
.hydration-fixed-time span {
  color: #738783;
}
.hydration-settings fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}
.hydration-settings legend {
  color: #6c807c;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
  font-size: 8px;
  font-weight: 800;
}
.hydration-options {
  flex-wrap: wrap;
  gap: 6px;
  display: flex;
}
.hydration-options button {
  color: #63736f;
  cursor: pointer;
  background: #fff;
  border: 1px solid #d5e5e1;
  border-radius: 999px;
  padding: 8px 10px;
  font-size: 8px;
  font-weight: 750;
}
.hydration-options button.active {
  color: #197662;
  background: #daf3ed;
  border-color: #2b9a84;
}
.hydration-settings fieldset:disabled {
  opacity: 0.45;
}
.hydration-toggle {
  color: #626b69;
  cursor: pointer;
  background: #d9dddc;
  border: 0;
  border-radius: 999px;
  justify-self: start;
  align-items: center;
  gap: 8px;
  padding: 9px 13px;
  font-size: 9px;
  font-weight: 800;
  display: inline-flex;
}
.hydration-toggle i {
  background: #a5aeac;
  border-radius: 999px;
  width: 23px;
  height: 13px;
  padding: 2px;
}
.hydration-toggle i:after {
  content: "";
  background: #fff;
  border-radius: 50%;
  width: 9px;
  height: 9px;
  transition: transform 0.2s;
  display: block;
}
.hydration-toggle.enabled {
  color: #197662;
  background: #d8f2eb;
}
.hydration-toggle.enabled i {
  background: #2b9a84;
}
.hydration-toggle.enabled i:after {
  transform: translate(10px);
}
.hydration-message {
  color: #5f7772;
  margin: 0;
  font-size: 8px;
}
.nutrition-total-summary {
  color: #fff;
  background: #242427;
  border-radius: 11px;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 18px;
  padding: 13px 15px;
  display: grid;
}
.nutrition-total-summary span {
  color: #9b9ba1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  flex-direction: column;
  font-size: 7px;
  font-weight: 800;
  display: flex;
}
.nutrition-total-summary strong {
  color: #fff;
  letter-spacing: 0;
  text-transform: none;
  margin-top: 4px;
  font-size: 13px;
}
.nutrition-total-summary .balanced strong {
  color: #61d39e;
}
.auto-meal-calories,
.food-calorie-result {
  flex-direction: column;
  align-self: center;
  display: flex;
}
.auto-meal-calories small,
.food-calorie-result small {
  color: #9b9aa0;
  letter-spacing: 0.08em;
  font-size: 6px;
  font-weight: 850;
}
.auto-meal-calories strong,
.food-calorie-result strong {
  margin-top: 4px;
  font-size: 10px;
}
.catalog-food-row {
  grid-template-columns: minmax(210px, 1.5fr) minmax(110px, 0.7fr) 75px minmax(
      140px,
      1fr
    ) 24px;
}
.quantity-combo {
  position: relative;
}
.quantity-combo input {
  padding-right: 30px;
}
.quantity-combo span {
  color: #8f8e94;
  text-transform: none;
  font-size: 8px;
  position: absolute;
  top: 13px;
  right: 9px;
}
.assessment-admin-hero {
  color: #fff;
  background: linear-gradient(120deg, #171719, #251c24);
  border-radius: 20px;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  min-height: 150px;
  padding: 26px 30px;
  display: flex;
}
.assessment-admin-hero h2 {
  letter-spacing: -0.045em;
  margin: 7px 0 8px;
  font-size: 27px;
}
.assessment-admin-hero p {
  color: #9b9ba1;
  margin: 0;
  font-size: 10px;
}
.assessment-admin-list {
  margin-top: 15px;
  overflow: hidden;
}
.assessment-admin-row {
  border-top: 1px solid #efedeb;
  grid-template-columns: minmax(190px, 1.3fr) repeat(
      4,
      minmax(85px, 0.65fr)
    ) 80px;
  align-items: center;
  gap: 12px;
  min-height: 76px;
  padding: 13px 19px;
  display: grid;
}
.assessment-admin-row > span:not(.student-identity) {
  flex-direction: column;
  display: flex;
}
.assessment-admin-row small {
  color: #9a999f;
  letter-spacing: 0.1em;
  font-size: 7px;
  font-weight: 800;
}
.assessment-admin-row strong {
  margin-top: 5px;
  font-size: 10px;
}
.assessment-admin-row > button {
  color: var(--red);
  cursor: pointer;
  background: 0 0;
  border: 0;
  font-size: 8px;
  font-weight: 850;
}
.assessment-modal-wide {
  max-width: 760px;
}
.assessment-form-grid {
  grid-template-columns: repeat(2, 1fr);
}
.assessment-item-button {
  text-align: left;
  cursor: pointer;
  background: 0 0;
  border: 0;
  width: 100%;
}
.assessment-detail-grid {
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 18px;
  display: grid;
}
.assessment-detail-grid span {
  border: 1px solid var(--line);
  border-radius: 10px;
  flex-direction: column;
  padding: 12px;
  display: flex;
}
.assessment-detail-grid small {
  color: #8b8a90;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 7px;
  font-weight: 800;
}
.assessment-detail-grid strong {
  margin-top: 5px;
  font-size: 12px;
}
.assessment-notes {
  background: #f5f2f1;
  border-radius: 10px;
  margin-top: 13px;
  padding: 13px;
}
.assessment-notes strong {
  font-size: 9px;
}
.assessment-notes p {
  color: #6f6e74;
  margin: 6px 0 0;
  font-size: 9px;
  line-height: 1.55;
}
.chart-empty {
  color: #929197;
  place-items: center;
  min-height: 180px;
  font-size: 10px;
  display: grid;
}
.photo-reminder {
  background: #fff9ed;
  border: 1px solid #ead9b9;
  border-radius: 13px;
  grid-template-columns: 34px minmax(180px, 1fr) auto auto;
  align-items: center;
  gap: 12px;
  margin: 14px clamp(28px, 4vw, 64px) 0;
  padding: 13px 15px;
  display: grid;
}
.photo-reminder-icon {
  color: #9b6814;
  background: #f8e4ba;
  border-radius: 9px;
  place-items: center;
  width: 33px;
  height: 33px;
  display: grid;
}
.photo-reminder div {
  flex-direction: column;
  display: flex;
}
.photo-reminder strong {
  font-size: 10px;
}
.photo-reminder p {
  color: #806f56;
  margin: 3px 0 0;
  font-size: 8px;
}
.photo-reminder button {
  cursor: pointer;
  background: 0 0;
  border: 0;
  font-size: 8px;
  font-weight: 800;
}
.photo-reminder-action {
  color: #fff;
  background: #a56b13 !important;
  border-radius: 8px !important;
  padding: 9px 11px !important;
}
.photo-reminder-close {
  color: #89785e;
}
.progress-photo-panel {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 18px;
  margin-bottom: 18px;
  padding: 22px;
}
.progress-photo-head {
  justify-content: space-between;
  align-items: start;
  gap: 15px;
  display: flex;
}
.progress-photo-head h3 {
  margin: 5px 0 4px;
  font-size: 18px;
}
.progress-photo-head p {
  color: #85848a;
  margin: 0;
  font-size: 9px;
}
.progress-photo-slots {
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 16px;
  display: grid;
}
.progress-photo-slots article {
  background: #faf9f8;
  border: 1px dashed #d6d2cf;
  border-radius: 12px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 155px;
  padding: 10px;
  display: flex;
  overflow: hidden;
}
.progress-photo-slots article > span {
  color: #aaa7a4;
  font-size: 25px;
}
.progress-photo-slots img {
  object-fit: cover;
  border-radius: 8px;
  width: 100%;
  height: 92px;
}
.progress-photo-slots strong {
  margin-top: 7px;
  font-size: 8px;
}
.progress-photo-slots button {
  color: var(--red);
  cursor: pointer;
  background: 0 0;
  border: 0;
  margin-top: 6px;
  font-size: 7px;
  font-weight: 800;
}
.progress-photo-slots input {
  display: none;
}
.photo-history {
  border-top: 1px solid var(--line);
  margin-top: 15px;
  padding-top: 13px;
}
.photo-history > strong {
  font-size: 9px;
}
.photo-history > div {
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 8px;
  display: flex;
}
.photo-history span {
  color: #77767c;
  background: #f2f0ee;
  border-radius: 7px;
  padding: 6px 8px;
  font-size: 7px;
}
.compact-progress-empty {
  min-height: 260px;
}
.admin-notification-anchor {
  position: relative;
}
.admin-notification-button {
  border: 1px solid var(--line);
  cursor: pointer;
  background: #fff;
  border-radius: 50%;
  width: 38px;
  height: 38px;
  font-size: 18px;
  position: relative;
}
.admin-notification-button > span {
  background: var(--red);
  color: #fff;
  border-radius: 999px;
  place-items: center;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  font-size: 7px;
  font-weight: 800;
  display: grid;
  position: absolute;
  top: -4px;
  right: -4px;
}
.admin-notification-popover {
  z-index: 55;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 16px;
  width: min(365px, 100vw - 28px);
  max-height: 480px;
  position: absolute;
  top: 48px;
  right: 0;
  overflow-y: auto;
  box-shadow: 0 20px 60px #1414192e;
}
.admin-notification-popover > div {
  border-bottom: 1px solid var(--line);
  justify-content: space-between;
  padding: 15px 17px;
  display: flex;
}
.admin-notification-popover > div strong {
  font-size: 11px;
}
.admin-notification-popover > div button {
  cursor: pointer;
  background: 0 0;
  border: 0;
}
.admin-notification-popover > p {
  color: #87868c;
  padding: 18px;
  font-size: 9px;
}
.admin-notification-popover article {
  border-bottom: 1px solid #efedeb;
  flex-direction: column;
  padding: 14px 17px;
  display: flex;
}
.admin-notification-popover article > strong {
  font-size: 10px;
}
.admin-notification-popover article small {
  color: #99989e;
  margin-top: 3px;
  font-size: 7px;
}
.admin-notification-popover article p {
  color: #55545a;
  margin: 8px 0;
  font-size: 9px;
  line-height: 1.5;
}
.admin-notification-popover article button {
  color: var(--red);
  cursor: pointer;
  background: 0 0;
  border: 0;
  align-self: flex-start;
  padding: 0;
  font-size: 7px;
  font-weight: 800;
}
.admin-photo-followup {
  gap: 15px;
  margin-top: 15px;
  display: grid;
}
.admin-photo-schedule-card,
.admin-photo-gallery {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 17px;
  padding: 20px;
}
.admin-photo-schedule-card h3 {
  margin: 5px 0;
  font-size: 17px;
}
.admin-photo-schedule-card p {
  color: #85848a;
  margin: 0;
  font-size: 9px;
}
.admin-photo-schedule-card form {
  grid-template-columns: 1fr 1fr auto;
  align-items: end;
  gap: 10px;
  margin-top: 15px;
  display: grid;
}
.admin-photo-schedule-card label {
  color: #79787e;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 7px;
  font-weight: 800;
}
.admin-photo-schedule-card select {
  background: #fff;
  border: 1px solid #dedbd9;
  border-radius: 8px;
  width: 100%;
  margin-top: 5px;
  padding: 10px;
  font-size: 9px;
}
.schedule-chips {
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 13px;
  display: flex;
}
.schedule-chips span {
  color: #77767c;
  background: #f2f0ee;
  border-radius: 8px;
  gap: 5px;
  padding: 7px 9px;
  font-size: 7px;
  display: flex;
}
.schedule-chips strong {
  color: #333237;
}
.admin-photo-gallery {
  padding: 0;
  overflow: hidden;
}
.admin-photo-gallery .admin-panel-head > span {
  color: #88878d;
  font-size: 8px;
}
.admin-photo-grid {
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  padding: 15px;
  display: grid;
}
.admin-photo-grid article {
  border: 1px solid var(--line);
  background: #faf9f8;
  border-radius: 12px;
  overflow: hidden;
}
.admin-photo-grid article > img,
.admin-photo-grid article > span {
  object-fit: cover;
  color: #99989e;
  place-items: center;
  width: 100%;
  height: 145px;
  font-size: 9px;
  display: grid;
}
.admin-photo-grid article > div {
  flex-direction: column;
  padding: 10px;
  display: flex;
}
.admin-photo-grid strong {
  font-size: 9px;
}
.admin-photo-grid small {
  color: #8c8b91;
  margin-top: 4px;
  font-size: 7px;
}
.admin-photo-grid button {
  color: var(--red);
  cursor: pointer;
  background: #fff;
  border: 1px solid #dedbd9;
  border-radius: 7px;
  margin-top: 8px;
  padding: 7px;
  font-size: 7px;
  font-weight: 800;
}
@media (max-width: 1120px) {
  .admin-stat-grid {
    grid-template-columns: 1fr 1fr;
  }
  .admin-main-grid {
    grid-template-columns: 1fr;
  }
  .attention-panel {
    grid-template-columns: repeat(3, 1fr);
    display: grid;
  }
  .attention-panel .admin-panel-head,
  .attention-panel .outline-action {
    grid-column: 1/-1;
  }
}
@media (max-width: 800px) {
  .admin-sidebar {
    display: none;
  }
  .admin-workspace {
    margin-left: 0;
  }
  .admin-topbar {
    padding: 15px 16px;
  }
  .admin-actions .search-box {
    display: none;
  }
  .admin-content {
    padding: 23px 14px 50px;
  }
  .admin-welcome h2 {
    font-size: 21px;
  }
  .admin-stat-grid {
    grid-template-columns: 1fr 1fr;
  }
  .attention-panel {
    grid-template-columns: 1fr;
  }
  .attention-panel .admin-panel-head,
  .attention-panel .outline-action {
    grid-column: auto;
  }
  .admin-quick-actions {
    grid-template-columns: 1fr;
  }
  .student-stats {
    grid-template-columns: 1fr 1fr;
  }
  .student-form-modal {
    padding: 24px 18px;
  }
  .student-form-grid {
    grid-template-columns: 1fr;
  }
  .student-form-grid .span-two {
    grid-column: auto;
  }
  .students-heading {
    align-items: end;
    gap: 12px;
  }
  .workout-admin-hero {
    flex-direction: column;
    align-items: flex-start;
  }
  .exercise-library {
    grid-template-columns: 1fr;
  }
  .plan-builder-item {
    grid-template-columns: 24px 1fr 1fr;
    align-items: end;
  }
  .plan-builder-item label:first-of-type,
  .plan-builder-item .item-notes {
    grid-column: span 2;
  }
  .workout-plan-row {
    min-width: 690px;
  }
  .workout-plan-list {
    overflow-x: auto;
  }
  .nutrition-admin-hero {
    flex-direction: column;
    align-items: flex-start;
  }
  .nutrition-plan-list {
    overflow-x: auto;
  }
  .nutrition-plan-row {
    min-width: 750px;
  }
  .nutrition-goals-grid {
    grid-template-columns: 1fr 1fr;
  }
  .nutrition-meal-head {
    grid-template-columns: 25px 1fr 1fr;
  }
  .nutrition-meal-head label:first-of-type {
    grid-column: span 2;
  }
  .food-builder-row {
    grid-template-columns: 1fr 1fr 24px;
  }
  .food-builder-row label:nth-child(3) {
    grid-column: span 2;
  }
  .nutrition-total-summary {
    grid-template-columns: 1fr;
  }
  .catalog-food-row {
    grid-template-columns: 1fr 1fr;
  }
  .catalog-food-row > label:first-child {
    grid-column: 1/-1;
  }
  .catalog-food-row > button {
    grid-column: 2;
  }
  .assessment-admin-hero {
    flex-direction: column;
    align-items: flex-start;
  }
  .assessment-admin-list {
    overflow-x: auto;
  }
  .assessment-admin-row {
    min-width: 760px;
  }
  .assessment-detail-grid {
    grid-template-columns: 1fr 1fr;
  }
  .photo-reminder {
    grid-template-columns: 34px 1fr auto;
    margin-left: 14px;
    margin-right: 14px;
  }
  .photo-reminder-close {
    grid-column: 2/-1;
    justify-self: start;
  }
  .progress-photo-slots {
    grid-template-columns: 1fr 1fr;
  }
  .admin-photo-schedule-card form {
    grid-template-columns: 1fr;
  }
  .admin-photo-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 500px) {
  .admin-stat-grid {
    grid-template-columns: 1fr;
  }
  .admin-actions .admin-primary {
    padding: 10px;
    font-size: 8px;
  }
  .admin-avatar,
  .date-chip {
    display: none;
  }
}

/* Mobile usability fixes — EH Consultoria */
@media (max-width: 800px) {
  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
  }
  button,
  a,
  input,
  select,
  textarea {
    touch-action: manipulation;
  }

  /* Student area: reliable bottom navigation and accessible profile */
  .mobile-nav {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    min-height: 70px !important;
    padding: 5px 4px max(6px, env(safe-area-inset-bottom)) !important;
  }
  .mobile-nav button {
    min-width: 0;
    min-height: 56px;
    padding: 5px 2px;
    cursor: pointer;
    font-size: 9px !important;
  }
  .mobile-nav button span {
    font-size: 20px !important;
  }
  .workspace {
    padding-bottom: calc(82px + env(safe-area-inset-bottom)) !important;
  }
  .topbar {
    position: sticky;
    z-index: 35;
    top: 0;
    min-height: 76px;
    height: auto !important;
    gap: 10px;
    padding: 13px 14px !important;
  }
  .topbar > div:first-child {
    min-width: 0;
  }
  .topbar h1 {
    max-width: 65vw;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .top-actions {
    flex: none;
    gap: 8px !important;
  }
  .top-avatar,
  .top-avatar .profile-avatar-image {
    display: grid !important;
    width: 42px !important;
    height: 42px !important;
  }
  .profile-popover,
  .admin-profile-popover {
    position: fixed !important;
    z-index: 80 !important;
    top: 68px !important;
    right: 10px !important;
    left: 10px !important;
    width: auto !important;
    max-height: calc(100dvh - 88px);
    overflow-y: auto;
  }

  /* Administrator: turn the hidden sidebar into a touch-friendly bottom bar */
  .admin-sidebar {
    display: block !important;
    position: fixed !important;
    z-index: 70 !important;
    inset: auto 0 0 !important;
    width: 100% !important;
    height: calc(72px + env(safe-area-inset-bottom)) !important;
    padding: 5px 4px max(6px, env(safe-area-inset-bottom)) !important;
    background: #111113f7 !important;
    border-top: 1px solid #303034;
    box-shadow: 0 -8px 28px #1414192b;
  }
  .admin-sidebar > .brand,
  .admin-sidebar > .capacity-card,
  .admin-sidebar > .student-view-link,
  .admin-sidebar > .admin-signout {
    display: none !important;
  }
  .admin-sidebar .side-nav {
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    gap: 2px !important;
    height: 100%;
  }
  .admin-sidebar .nav-item {
    min-width: 0;
    min-height: 56px;
    flex-direction: column;
    justify-content: center;
    gap: 3px !important;
    text-align: center;
    white-space: nowrap;
    border-radius: 10px;
    padding: 5px 1px !important;
    font-size: 8px !important;
  }
  .admin-sidebar .nav-item span {
    width: auto !important;
    font-size: 18px !important;
    line-height: 1;
  }
  .admin-workspace {
    margin-left: 0 !important;
    padding-bottom: calc(86px + env(safe-area-inset-bottom));
  }
  .admin-topbar {
    position: sticky;
    z-index: 60;
    top: 0;
    min-height: 76px !important;
    gap: 10px;
    padding: 12px 14px !important;
  }
  .admin-topbar > div:first-child {
    min-width: 0;
  }
  .admin-topbar h1 {
    max-width: 39vw;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 19px !important;
  }
  .admin-actions {
    flex: none;
    gap: 7px !important;
  }
  .admin-avatar,
  .admin-profile-trigger,
  .admin-profile-trigger .profile-avatar-image {
    display: grid !important;
    width: 40px !important;
    height: 40px !important;
  }
  .admin-actions .admin-primary {
    min-height: 40px;
    white-space: nowrap;
    padding: 9px 10px !important;
    font-size: 8px !important;
  }
  .admin-content {
    padding-bottom: 25px !important;
  }

  /* Admin lists become cards instead of wide desktop tables */
  .workout-plan-list,
  .nutrition-plan-list,
  .assessment-admin-list {
    overflow: visible !important;
  }
  .workout-plan-row,
  .nutrition-plan-row,
  .assessment-admin-row {
    min-width: 0 !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 12px !important;
    margin: 10px;
    padding: 15px !important;
    border: 1px solid var(--line) !important;
    border-radius: 13px;
    background: #fff;
  }
  .workout-plan-row > span:first-child,
  .nutrition-plan-row > span:first-child,
  .assessment-admin-row > span:first-child,
  .workout-plan-row > .plan-row-actions,
  .nutrition-plan-row > .plan-row-actions,
  .assessment-admin-row > button {
    grid-column: 1/-1;
  }
  .plan-row-actions {
    justify-content: flex-start !important;
  }

  /* Forms and dialogs stay inside the phone viewport */
  .admin-modal {
    width: calc(100vw - 20px) !important;
    max-height: calc(100dvh - 24px) !important;
    overflow-y: auto !important;
    padding: 22px 16px !important;
  }
  .admin-modal-backdrop {
    padding: 10px !important;
  }
  .student-form-grid,
  .assessment-form-grid {
    grid-template-columns: 1fr !important;
  }
  .student-form-grid .span-two,
  .assessment-form-grid .span-two {
    grid-column: auto !important;
  }
}

@media (max-width: 430px) {
  .topbar .eyebrow,
  .admin-topbar .eyebrow {
    font-size: 6px !important;
  }
  .topbar h1 {
    max-width: 62vw;
    font-size: 18px !important;
  }
  .admin-topbar h1 {
    max-width: 34vw;
    font-size: 17px !important;
  }
  .admin-actions .admin-primary {
    max-width: 108px;
    white-space: normal;
    line-height: 1.15;
  }
  .calorie-hero {
    grid-template-columns: 1fr !important;
  }
  .calorie-ring {
    margin: auto;
  }
  .progress-photo-slots,
  .admin-photo-grid {
    grid-template-columns: 1fr !important;
  }
}

/* Final mobile navigation: off-canvas sidebar */
.mobile-menu-toggle,
.mobile-menu-overlay {
  display: none;
}

@media (max-width: 800px) {
  body.mobile-menu-open {
    overflow: hidden;
  }
  .mobile-nav {
    display: none !important;
  }
  .workspace {
    padding-bottom: 0 !important;
  }

  .mobile-menu-toggle {
    flex: 0 0 42px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 42px;
    height: 42px;
    cursor: pointer;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: 0 4px 14px #1414190a;
  }
  .mobile-menu-toggle > span {
    width: 19px;
    height: 2px;
    background: #1d1d20;
    border-radius: 3px;
    transition:
      transform 0.2s,
      opacity 0.2s;
  }
  .mobile-menu-open .mobile-menu-toggle > span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .mobile-menu-open .mobile-menu-toggle > span:nth-child(2) {
    opacity: 0;
  }
  .mobile-menu-open .mobile-menu-toggle > span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
  .mobile-menu-overlay {
    z-index: 84;
    display: block;
    visibility: hidden;
    opacity: 0;
    cursor: pointer;
    background: #0d0d10a8;
    border: 0;
    position: fixed;
    inset: 0;
    transition:
      opacity 0.25s,
      visibility 0.25s;
  }
  .mobile-menu-open .mobile-menu-overlay {
    visibility: visible;
    opacity: 1;
  }

  .sidebar,
  .admin-sidebar {
    z-index: 90 !important;
    display: flex !important;
    position: fixed !important;
    inset: 0 auto 0 0 !important;
    width: min(84vw, 300px) !important;
    height: 100dvh !important;
    padding: 24px 18px max(18px, env(safe-area-inset-bottom)) !important;
    background: #111113 !important;
    border: 0 !important;
    box-shadow: 18px 0 55px #08080b66 !important;
    transform: translateX(-105%);
    transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
    overflow-y: auto;
    overscroll-behavior: contain;
  }
  .mobile-menu-open .sidebar,
  .mobile-menu-open .admin-sidebar {
    transform: translateX(0);
  }

  .sidebar > .brand,
  .admin-sidebar > .brand {
    display: flex !important;
    padding-bottom: 22px;
  }
  .admin-sidebar > .capacity-card {
    display: block !important;
  }
  .admin-sidebar > .student-view-link {
    display: block !important;
  }
  .admin-sidebar > .admin-signout {
    display: block !important;
  }
  .sidebar .side-nav,
  .admin-sidebar .side-nav {
    grid-template-columns: 1fr !important;
    gap: 7px !important;
    height: auto;
  }
  .sidebar .nav-item,
  .admin-sidebar .nav-item {
    min-height: 48px;
    flex-direction: row;
    justify-content: flex-start;
    gap: 13px !important;
    text-align: left;
    border-radius: 12px;
    padding: 12px 14px !important;
    font-size: 13px !important;
  }
  .sidebar .nav-item span,
  .admin-sidebar .nav-item span {
    width: 22px !important;
    font-size: 20px !important;
  }
  .admin-workspace {
    padding-bottom: 0 !important;
  }

  .topbar,
  .admin-topbar {
    display: flex;
    grid-template-columns: auto minmax(0, 1fr) auto;
  }
  .topbar > div:first-of-type,
  .admin-topbar > div:first-of-type {
    flex: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sidebar,
  .admin-sidebar,
  .mobile-menu-overlay,
  .mobile-menu-toggle > span {
    transition: none !important;
  }
}
