/* Cem Öncü Performance App - Başlangıç tasarım sistemi */
:root {
  --app-bg: #070707;
  --app-surface: #121212;
  --app-surface-2: #181818;
  --app-border: rgba(212, 168, 95, .28);
  --app-gold: #d4a85f;
  --app-gold-soft: #f0c975;
  --app-text: #f7f7f7;
  --app-muted: #aaa;
  --app-success: #42d879;
  --app-danger: #ff625b;
  --app-radius: 24px;
  --app-shadow: 0 18px 55px rgba(0, 0, 0, .35);
}
* { box-sizing: border-box; }
html { background: var(--app-bg); }
body.cemoncu-app-body { margin: 0; background: radial-gradient(circle at top, #15120d 0, var(--app-bg) 30%); color: var(--app-text); font-family: inherit; min-height: 100vh; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
.app-shell { width: min(100%, 560px); min-height: 100vh; margin: 0 auto; position: relative; }
.app-main { padding: 24px 20px 40px; display: grid; gap: 18px; }
.app-main--with-nav { padding-bottom: 120px; }
.app-topbar { padding: 24px 20px 8px; }
.app-topbar__row { display: flex; align-items: center; gap: 14px; min-height: 54px; }
.app-topbar__spacer { width: 48px; margin-left: auto; }
.app-brand { display: inline-flex; align-items: center; gap: 12px; }
.app-brand--center { justify-content: center; width: 100%; }
.app-brand__mark { color: var(--app-gold-soft); font-size: 30px; font-weight: 800; letter-spacing: -4px; }
.app-brand__text { display: flex; flex-direction: column; color: var(--app-gold-soft); letter-spacing: .11em; }
.app-brand__text strong { font-size: 18px; }
.app-brand__text small { font-size: 10px; margin-top: 2px; }
.app-page-title { font-size: clamp(32px, 8vw, 44px); margin: 22px 0 0; letter-spacing: -.04em; }
.app-page-title--inline { margin: 0; font-size: 26px; }
.app-icon-button { width: 48px; height: 48px; border: 1px solid var(--app-border); border-radius: 16px; background: var(--app-surface); color: var(--app-gold-soft); font-size: 24px; }
.app-greeting h1 { margin: 0; font-size: 34px; letter-spacing: -.04em; }
.app-greeting p { color: var(--app-muted); margin: 8px 0 0; }
.app-card { background: linear-gradient(145deg, var(--app-surface-2), #0d0d0d); border: 1px solid var(--app-border); border-radius: var(--app-radius); padding: 22px; box-shadow: var(--app-shadow); }
.app-card h2 { margin: 0; font-size: 20px; }
.app-card p { color: var(--app-muted); }
.app-card__heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; }
.app-card__heading a { color: var(--app-gold-soft); font-size: 14px; }
.app-card__footer { border-top: 1px solid rgba(255,255,255,.08); margin: 22px -2px -2px; padding-top: 18px; }
.app-eyebrow { color: var(--app-gold-soft); font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.app-badge { border: 1px solid var(--app-gold); color: var(--app-gold-soft); border-radius: 999px; padding: 7px 12px; }
.app-package-card__count { font-size: 18px; }
.app-package-card__count strong { color: var(--app-gold-soft); font-size: 28px; }
.app-progress { height: 12px; background: #2c2c2c; border-radius: 999px; overflow: hidden; margin: 16px 0 8px; }
.app-progress span { display: block; height: 100%; background: linear-gradient(90deg, #b88735, #f4d17d); border-radius: inherit; }
.app-data-list { display: grid; gap: 0; }
.app-data-list > div { display: flex; justify-content: space-between; gap: 18px; padding: 15px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
.app-data-list > div:last-child { border-bottom: 0; }
.app-data-list span { color: var(--app-muted); }
.app-data-list--large strong { text-align: right; }
.app-action-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.app-action-card { min-height: 112px; display: grid; grid-template-columns: 34px 1fr 18px; align-items: center; gap: 10px; padding: 18px; background: linear-gradient(145deg, #191919, #0e0e0e); border: 1px solid var(--app-border); border-radius: 20px; }
.app-action-card > span { color: var(--app-gold-soft); font-size: 24px; }
.app-action-card b { color: #ddd; font-size: 25px; }
.app-metric-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.app-metric-grid > div { text-align: center; padding: 8px; border-right: 1px solid rgba(255,255,255,.08); }
.app-metric-grid > div:last-child { border-right: 0; }
.app-metric-grid span { display: block; color: var(--app-muted); font-size: 13px; margin-bottom: 8px; }
.app-metric-grid strong { font-size: 21px; }
.app-status { display: inline-flex; align-items: center; border: 1px solid rgba(255,255,255,.12); border-radius: 999px; padding: 7px 11px; font-size: 13px; }
.app-status--success { color: var(--app-success); }
.app-status--danger { color: var(--app-danger); }
.app-success-text { color: var(--app-success); }
.app-list { display: grid; gap: 12px; }
.app-list-item { display: flex; justify-content: space-between; align-items: center; gap: 12px; background: var(--app-surface); border: 1px solid var(--app-border); border-radius: 20px; padding: 18px; }
.app-list-item h2 { margin: 5px 0 0; font-size: 18px; }
.app-measure-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 18px; }
.app-measure-grid > div { padding: 16px; border: 1px solid rgba(212,168,95,.2); border-radius: 16px; background: #111; }
.app-measure-grid span { color: var(--app-muted); display: block; font-size: 13px; }
.app-measure-grid strong { display: block; margin-top: 7px; font-size: 22px; }
.app-package-detail { display: grid; grid-template-columns: 130px 1fr; align-items: center; gap: 22px; }
.app-progress-ring { width: 120px; height: 120px; border-radius: 50%; display: grid; place-content: center; text-align: center; background: radial-gradient(circle closest-side, #111 78%, transparent 80% 100%), conic-gradient(var(--app-gold-soft) calc(var(--progress) * 1%), #333 0); }
.app-progress-ring strong { font-size: 32px; color: var(--app-gold-soft); }
.app-progress-ring span, .app-progress-ring small { color: var(--app-muted); }
.app-profile-card { display: flex; align-items: center; gap: 18px; }
.app-avatar { width: 86px; height: 86px; border: 1px solid var(--app-gold); border-radius: 50%; display: grid; place-items: center; color: var(--app-gold-soft); font-size: 46px; }
.app-menu-list { display: grid; padding: 0 20px; }
.app-menu-list a { display: flex; justify-content: space-between; padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
.app-menu-list a:last-child { border-bottom: 0; }
.app-alert { padding: 16px 18px; border: 1px solid var(--app-border); background: var(--app-surface); border-radius: 16px; color: var(--app-muted); }
.app-alert--error { border-color: rgba(255,98,91,.4); color: #ffb1ad; }
.app-segmented { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--app-border); border-radius: 16px; overflow: hidden; }
.app-segmented button { border: 0; padding: 13px; color: var(--app-text); background: var(--app-surface); }
.app-segmented button.is-active { background: var(--app-gold-soft); color: #111; font-weight: 700; }
.app-chart-placeholder { min-height: 220px; margin-top: 18px; display: grid; place-items: center; border-radius: 16px; background: linear-gradient(180deg, rgba(212,168,95,.14), transparent), repeating-linear-gradient(to bottom, transparent 0 43px, rgba(255,255,255,.05) 44px); color: var(--app-muted); }
.app-bottom-nav { position: fixed; z-index: 30; left: 50%; bottom: 0; transform: translateX(-50%); width: min(100%, 560px); display: grid; grid-template-columns: repeat(4, 1fr); padding: 13px 10px calc(13px + env(safe-area-inset-bottom)); background: rgba(12,12,12,.94); border-top: 1px solid var(--app-border); backdrop-filter: blur(16px); }
.app-bottom-nav__item { color: #999; text-align: center; font-size: 12px; display: grid; gap: 5px; }
.app-bottom-nav__icon { font-size: 24px; }
.app-bottom-nav__item.is-active { color: var(--app-gold-soft); }
.app-login { min-height: 100vh; display: grid; place-items: center; padding: 24px; }
.app-login__panel { width: 100%; max-width: 430px; background: linear-gradient(145deg, #171717, #0b0b0b); border: 1px solid var(--app-border); border-radius: 28px; padding: 30px; box-shadow: var(--app-shadow); }
.app-login__heading { margin: 34px 0 24px; }
.app-login__heading h1 { font-size: 34px; margin: 8px 0; }
.app-login__heading p { color: var(--app-muted); }
.app-form { display: grid; gap: 16px; }
.app-field { display: grid; gap: 8px; color: var(--app-muted); }
.app-field input { width: 100%; height: 52px; border-radius: 14px; border: 1px solid rgba(255,255,255,.12); background: #0b0b0b; color: white; padding: 0 15px; outline: none; }
.app-field input:focus { border-color: var(--app-gold); box-shadow: 0 0 0 3px rgba(212,168,95,.12); }
.app-check { display: flex; align-items: center; gap: 9px; color: var(--app-muted); }
.app-button { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; border-radius: 14px; border: 1px solid var(--app-gold); padding: 0 20px; font-weight: 700; }
.app-button--gold { background: linear-gradient(90deg, #ba8734, #f0cd78); color: #0c0c0c; }
.app-login__back { display: block; text-align: center; color: var(--app-muted); margin-top: 20px; }
@media (max-width: 420px) {
  .app-package-detail { grid-template-columns: 1fr; text-align: center; }
  .app-progress-ring { margin: 0 auto; }
  .app-action-grid { grid-template-columns: 1fr 1fr; }
  .app-metric-grid strong { font-size: 18px; }
  .app-measure-grid { grid-template-columns: 1fr 1fr; }
}

/* Sprint 1.1 - Premium login ekranı */
body.cemoncu-app-body:has(.app-login) {
  overflow-x: hidden;
  background:
    radial-gradient(circle at 50% -15%, rgba(212,168,95,.16), transparent 42%),
    linear-gradient(180deg, #0b0a08 0%, #070707 38%, #050505 100%);
}

.app-login {
  position: relative;
  isolation: isolate;
  min-height: 100svh;
  padding: max(28px, env(safe-area-inset-top)) 20px max(28px, env(safe-area-inset-bottom));
  overflow: hidden;
}

.app-login::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -3;
  opacity: .22;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, #000, transparent 76%);
}

.app-login__glow {
  position: absolute;
  z-index: -2;
  border-radius: 50%;
  filter: blur(15px);
  pointer-events: none;
}

.app-login__glow--one {
  width: 300px;
  height: 300px;
  top: -180px;
  right: -120px;
  background: rgba(212,168,95,.18);
}

.app-login__glow--two {
  width: 230px;
  height: 230px;
  bottom: -150px;
  left: -120px;
  background: rgba(184,135,53,.11);
}

.app-login__panel {
  position: relative;
  width: min(100%, 440px);
  max-width: 440px;
  padding: 30px 26px 24px;
  border: 1px solid rgba(212,168,95,.24);
  border-radius: 30px;
  background:
    linear-gradient(145deg, rgba(28,27,24,.96), rgba(8,8,8,.97)),
    #0d0d0d;
  box-shadow:
    0 28px 90px rgba(0,0,0,.55),
    inset 0 1px 0 rgba(255,255,255,.035);
  backdrop-filter: blur(18px);
}

.app-login__panel::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -1px;
  width: 42%;
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, var(--app-gold-soft), transparent);
  opacity: .9;
}

.app-login__brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
}

.app-login__brand-mark {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  color: var(--app-gold-soft);
}

.app-login__brand-mark svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.1;
}

.app-login__brand .app-brand__text strong {
  font-size: 19px;
  line-height: 1;
}

.app-login__brand .app-brand__text small {
  margin-top: 5px;
  font-size: 9px;
  letter-spacing: .28em;
}

.app-login__heading {
  margin: 34px 0 23px;
  text-align: center;
}

.app-login__heading .app-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.app-login__heading .app-eyebrow::before,
.app-login__heading .app-eyebrow::after {
  content: "";
  width: 22px;
  height: 1px;
  background: rgba(212,168,95,.5);
}

.app-login__heading h1 {
  margin: 11px 0 10px;
  color: #fff;
  font-size: clamp(31px, 8vw, 39px);
  line-height: 1.08;
  letter-spacing: -.045em;
}

.app-login__heading p {
  max-width: 340px;
  margin: 0 auto;
  color: #9e9e9e;
  font-size: 14px;
  line-height: 1.7;
}

.app-login .app-alert {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  margin-bottom: 18px;
  padding: 13px 14px;
  border-radius: 14px;
  font-size: 13px;
  line-height: 1.5;
}

.app-alert__icon {
  flex: 0 0 21px;
  display: grid;
  place-items: center;
  width: 21px;
  height: 21px;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-weight: 800;
}

.app-login-form {
  gap: 17px;
}

.app-login-form .app-field {
  gap: 9px;
}

.app-field__label {
  color: #c9c9c9;
  font-size: 13px;
  font-weight: 600;
}

.app-field__control {
  position: relative;
  display: block;
}

.app-login-form .app-field input {
  height: 56px;
  padding: 0 50px 0 47px;
  border-color: rgba(255,255,255,.105);
  border-radius: 16px;
  background: rgba(3,3,3,.72);
  caret-color: var(--app-gold-soft);
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.app-login-form .app-field input::placeholder {
  color: #646464;
}

.app-login-form .app-field input:hover {
  border-color: rgba(212,168,95,.32);
}

.app-login-form .app-field input:focus {
  border-color: rgba(240,201,117,.78);
  background: rgba(8,8,8,.94);
  box-shadow: 0 0 0 4px rgba(212,168,95,.09);
}

.app-field__icon {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 16px;
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  color: var(--app-gold-soft);
  transform: translateY(-50%);
  pointer-events: none;
}

.app-field__icon svg,
.app-password-toggle svg,
.app-login__submit svg,
.app-login__security svg,
.app-login__back svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.app-password-toggle {
  position: absolute;
  z-index: 3;
  top: 50%;
  right: 10px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  padding: 9px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: #858585;
  transform: translateY(-50%);
  cursor: pointer;
}

.app-password-toggle:hover,
.app-password-toggle:focus-visible {
  background: rgba(212,168,95,.08);
  color: var(--app-gold-soft);
  outline: none;
}

.app-password-toggle__hide {
  display: none;
}

.app-password-toggle.is-visible .app-password-toggle__show {
  display: none;
}

.app-password-toggle.is-visible .app-password-toggle__hide {
  display: block;
}

.app-login-form__options {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: -2px;
}

.app-login .app-check {
  position: relative;
  gap: 9px;
  font-size: 13px;
  cursor: pointer;
}

.app-login .app-check input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.app-check__box {
  position: relative;
  width: 19px;
  height: 19px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 6px;
  background: #090909;
  transition: .2s ease;
}

.app-check__box::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 2px;
  width: 5px;
  height: 9px;
  border: solid #12100c;
  border-width: 0 2px 2px 0;
  opacity: 0;
  transform: rotate(45deg) scale(.6);
  transition: .2s ease;
}

.app-check input:checked + .app-check__box {
  border-color: var(--app-gold-soft);
  background: var(--app-gold-soft);
}

.app-check input:checked + .app-check__box::after {
  opacity: 1;
  transform: rotate(45deg) scale(1);
}

.app-check input:focus-visible + .app-check__box {
  box-shadow: 0 0 0 4px rgba(212,168,95,.13);
}

.app-login__forgot {
  color: var(--app-gold-soft);
  font-size: 13px;
  font-weight: 600;
}

.app-login__forgot:hover {
  color: #ffe1a0;
}

.app-login__submit {
  gap: 11px;
  min-height: 57px;
  margin-top: 1px;
  border: 0;
  border-radius: 16px;
  box-shadow: 0 14px 34px rgba(184,135,53,.2);
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}

.app-login__submit svg {
  width: 19px;
  height: 19px;
  transition: transform .2s ease;
}

.app-login__submit:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
  box-shadow: 0 18px 40px rgba(184,135,53,.28);
}

.app-login__submit:hover svg {
  transform: translateX(3px);
}

.app-login__submit:active {
  transform: translateY(0);
}

.app-login__security {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 21px;
  padding-top: 19px;
  border-top: 1px solid rgba(255,255,255,.07);
  color: #727272;
  font-size: 11px;
  text-align: center;
}

.app-login__security svg {
  flex: 0 0 17px;
  width: 17px;
  height: 17px;
  color: var(--app-gold);
}

.app-login__back {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: fit-content;
  margin: 19px auto 0;
  color: #979797;
  font-size: 13px;
  transition: color .2s ease;
}

.app-login__back svg {
  width: 17px;
  height: 17px;
}

.app-login__back:hover {
  color: var(--app-gold-soft);
}

@media (max-width: 480px) {
  .app-login {
    align-items: center;
    padding-inline: 14px;
  }

  .app-login__panel {
    padding: 27px 20px 22px;
    border-radius: 26px;
  }

  .app-login__heading {
    margin-top: 29px;
  }
}

@media (max-width: 350px) {
  .app-login-form__options {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .app-login *,
  .app-login *::before,
  .app-login *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}

/* Sprint 1.3 - Premium Dashboard */
body.cemoncu-app-body {
  --app-font-body: var(--font-body, var(--font-primary, "Inter", "Helvetica Neue", Arial, sans-serif));
  --app-font-heading: var(--font-heading, var(--font-display, "Montserrat", "Helvetica Neue", Arial, sans-serif));
  font-family: var(--app-font-body);
  background:
    radial-gradient(circle at 50% -8%, rgba(212,168,95,.10), transparent 31%),
    #070707;
}

.cemoncu-app-body .app-shell {
  overflow-x: hidden;
  background: linear-gradient(180deg, rgba(10,10,10,.45), rgba(4,4,4,.92));
}

.cemoncu-app-body h1,
.cemoncu-app-body h2,
.cemoncu-app-body h3,
.cemoncu-app-body strong,
.cemoncu-app-body button {
  font-family: var(--app-font-heading);
}

.app-svg-icon {
  display: block;
  width: 1em;
  height: 1em;
}

.app-topbar {
  padding: max(28px, env(safe-area-inset-top)) 22px 10px;
}

.app-topbar__row {
  min-height: 62px;
  justify-content: space-between;
}

.app-brand {
  gap: 13px;
}

.app-brand__mark {
  position: relative;
  min-width: 63px;
  color: var(--app-gold-soft);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 35px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -8px;
  text-shadow: 0 0 22px rgba(212,168,95,.17);
}

.app-brand__text strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: .08em;
}

.app-brand__text small {
  margin-top: 6px;
  font-size: 9px;
  letter-spacing: .32em;
}

.app-topbar__notice {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--app-gold-soft);
}

.app-topbar__notice .app-svg-icon {
  width: 27px;
  height: 27px;
}

.app-main--dashboard {
  gap: 20px;
  padding: 23px 20px 135px;
}

.app-greeting--dashboard h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(32px, 8.8vw, 43px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -.045em;
  text-transform: none;
}

.app-greeting--dashboard p {
  margin-top: 10px;
  color: #9d9d9d;
  font-size: 16px;
  line-height: 1.5;
}

.app-package-card--dashboard {
  padding: 23px 22px 10px;
  border-color: rgba(212,168,95,.30);
  background:
    radial-gradient(circle at 18% 0, rgba(212,168,95,.08), transparent 34%),
    linear-gradient(145deg, #171717, #0d0d0d 72%);
  box-shadow: 0 22px 60px rgba(0,0,0,.38), inset 0 1px 0 rgba(255,255,255,.025);
}

.app-package-card__top {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
}

.app-icon-disc {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  border: 1px solid rgba(212,168,95,.22);
  border-radius: 50%;
  color: var(--app-gold-soft);
  background: radial-gradient(circle at 35% 25%, rgba(212,168,95,.17), rgba(212,168,95,.035) 60%, transparent 61%);
}

.app-icon-disc--large {
  width: 58px;
  height: 58px;
}

.app-icon-disc .app-svg-icon {
  width: 25px;
  height: 25px;
}

.app-icon-disc--large .app-svg-icon {
  width: 29px;
  height: 29px;
}

.app-package-card__title {
  min-width: 0;
}

.app-package-card__title .app-eyebrow {
  display: block;
  margin-bottom: 5px;
  font-size: 10px;
  letter-spacing: .15em;
}

.app-package-card__title h2 {
  overflow: hidden;
  margin: 0;
  color: #fff;
  font-size: clamp(20px, 5.6vw, 27px);
  font-weight: 750;
  line-height: 1.1;
  letter-spacing: -.025em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.app-package-card__title p {
  margin: 8px 0 0;
  color: #d3d3d3;
  font-size: 15px;
}

.app-package-card__title p strong {
  color: var(--app-gold-soft);
  font-size: 22px;
}

.app-badge--progress {
  padding: 10px 13px;
  border-color: var(--app-gold);
  font-family: var(--app-font-heading);
  font-size: 17px;
}

.app-progress--dashboard {
  height: 14px;
  margin: 23px 0 16px;
  background: #303030;
  box-shadow: inset 0 2px 5px rgba(0,0,0,.38);
}

.app-progress--dashboard span {
  position: relative;
  background: linear-gradient(90deg, #b98531 0%, #e0ae4f 52%, #f4d784 100%);
  box-shadow: 0 0 14px rgba(212,168,95,.18);
}

.app-progress--dashboard span::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 25%, rgba(255,255,255,.22) 48%, transparent 68%);
}

.app-data-list--dashboard > div {
  display: grid;
  grid-template-columns: 27px minmax(0, 1fr) auto;
  align-items: center;
  gap: 13px;
  min-height: 62px;
  padding: 13px 0;
}

.app-data-list--dashboard .app-data-list__icon {
  color: var(--app-gold-soft);
}

.app-data-list--dashboard .app-data-list__icon .app-svg-icon {
  width: 22px;
  height: 22px;
}

.app-data-list--dashboard span:not(.app-data-list__icon) {
  font-size: 15px;
}

.app-data-list--dashboard strong {
  color: #f6f6f6;
  font-size: 16px;
  font-weight: 700;
  text-align: right;
}

.app-action-grid--dashboard {
  gap: 13px;
}

.app-action-grid--dashboard .app-action-card {
  position: relative;
  min-height: 116px;
  grid-template-columns: 50px minmax(0, 1fr) 20px;
  gap: 12px;
  padding: 18px 15px;
  border-color: rgba(212,168,95,.28);
  border-radius: 22px;
  background: linear-gradient(145deg, #191919, #0d0d0d);
  box-shadow: 0 13px 32px rgba(0,0,0,.25);
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}

.app-action-grid--dashboard .app-action-card:active {
  transform: scale(.975);
  border-color: rgba(240,201,117,.6);
  background: linear-gradient(145deg, #202020, #101010);
}

.app-action-grid--dashboard .app-action-card strong {
  color: #f5f5f5;
  font-size: clamp(15px, 4.2vw, 18px);
  line-height: 1.25;
  letter-spacing: -.015em;
}

.app-action-card__arrow {
  color: #dfdfdf;
}

.app-action-card__arrow .app-svg-icon {
  width: 20px;
  height: 20px;
}

.app-metrics-card {
  padding: 21px 20px 18px;
}

.app-card__heading--metrics {
  align-items: center;
}

.app-card__heading--metrics h2 {
  color: var(--app-gold-soft);
  font-size: 17px;
  font-weight: 750;
  letter-spacing: .02em;
  text-transform: uppercase;
}

.app-status--success {
  gap: 7px;
  color: #ddd;
  font-size: 11px;
  white-space: nowrap;
}

.app-status--success i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--app-success);
  box-shadow: 0 0 9px rgba(66,216,121,.55);
}

.app-metric-grid--dashboard {
  margin-top: 17px;
}

.app-metric-grid--dashboard > div {
  display: grid;
  justify-items: center;
  gap: 8px;
  padding: 5px 7px 3px;
}

.app-metric-grid--dashboard > div > span:not(.app-icon-disc) {
  margin: 1px 0 0;
  color: #999;
  font-size: 11px;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.app-metric-grid--dashboard strong {
  color: #fff;
  font-size: clamp(18px, 5vw, 24px);
  line-height: 1;
}

.app-metric-grid--dashboard strong small {
  font-size: .62em;
  font-weight: 500;
}

.app-bottom-nav {
  padding: 12px 7px calc(12px + env(safe-area-inset-bottom));
  border-top-color: rgba(212,168,95,.22);
  background: rgba(10,10,10,.96);
  box-shadow: 0 -12px 40px rgba(0,0,0,.45);
}

.app-bottom-nav__item {
  position: relative;
  justify-items: center;
  gap: 7px;
  padding: 3px 2px;
  color: #949494;
  font-family: var(--app-font-body);
  font-size: 11px;
}

.app-bottom-nav__item::before {
  content: "";
  position: absolute;
  top: -12px;
  width: 46px;
  height: 3px;
  border-radius: 0 0 4px 4px;
  background: transparent;
}

.app-bottom-nav__item.is-active::before {
  background: var(--app-gold-soft);
  box-shadow: 0 0 10px rgba(212,168,95,.35);
}

.app-bottom-nav__icon {
  display: grid;
  place-items: center;
  font-size: 25px;
}

.app-bottom-nav__icon .app-svg-icon {
  width: 25px;
  height: 25px;
}

.app-bottom-nav__item.is-active {
  color: var(--app-gold-soft);
}

@media (max-width: 390px) {
  .app-main--dashboard { padding-left: 16px; padding-right: 16px; }
  .app-topbar { padding-left: 18px; padding-right: 18px; }
  .app-package-card--dashboard { padding-left: 18px; padding-right: 18px; }
  .app-package-card__top { grid-template-columns: 50px minmax(0, 1fr) auto; gap: 10px; }
  .app-icon-disc--large { width: 50px; height: 50px; }
  .app-badge--progress { padding: 8px 10px; font-size: 14px; }
  .app-action-grid--dashboard .app-action-card { grid-template-columns: 43px minmax(0, 1fr) 16px; padding: 15px 12px; }
  .app-action-grid--dashboard .app-icon-disc { width: 43px; height: 43px; }
  .app-card__heading--metrics { align-items: flex-start; gap: 8px; }
  .app-status--success { padding: 6px 8px; font-size: 9px; }
}

/* Sprint 1.4 - Dashboard ikon hizalama ve gerçek gelişim grafikleri */
.app-metric-grid--dashboard .app-icon-disc {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin: 0;
  padding: 0;
  overflow: hidden;
  line-height: 1;
}

.app-metric-grid--dashboard .app-icon-disc .app-svg-icon {
  display: block;
  width: 24px;
  height: 24px;
  max-width: 24px;
  max-height: 24px;
  margin: 0;
  overflow: visible;
  stroke-width: 1.7;
  transform: none;
}

.app-main--progress {
  gap: 18px;
  padding-top: 18px;
}

.app-progress-filter {
  position: sticky;
  top: max(8px, env(safe-area-inset-top));
  z-index: 5;
  border-radius: 18px;
  background: rgba(10,10,10,.92);
  box-shadow: 0 10px 35px rgba(0,0,0,.25);
  backdrop-filter: blur(14px);
}

.app-progress-filter button {
  min-height: 52px;
  cursor: pointer;
}

.app-chart-card {
  padding: 21px 20px 18px;
  overflow: hidden;
}

.app-chart-card__heading {
  align-items: center;
}

.app-chart-card__heading .app-eyebrow {
  display: block;
  margin-bottom: 6px;
  font-size: 9px;
}

.app-chart-card__heading h2 {
  color: #f4f4f4;
  font-size: clamp(20px, 5.8vw, 27px);
  letter-spacing: -.025em;
}

.app-chart-card__heading > strong {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #f7f7f7;
  font-size: clamp(14px, 4.2vw, 18px);
  white-space: nowrap;
}

.app-chart-card__heading > strong span:first-child,
.app-chart-card__heading > strong span:last-child {
  color: var(--app-gold-soft);
}

.app-chart-card__heading > strong b {
  color: #bdbdbd;
  font-family: inherit;
  font-weight: 500;
}

.app-chart {
  margin-top: 20px;
}

.app-chart__plot {
  position: relative;
  height: 245px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.045);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(212,168,95,.105), rgba(212,168,95,.018) 72%, transparent),
    #0d0d0d;
}

.app-chart__plot svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.app-chart__grid line {
  stroke: rgba(255,255,255,.075);
  stroke-width: 1;
  stroke-dasharray: 5 7;
  vector-effect: non-scaling-stroke;
}

.app-chart__area {
  opacity: .86;
}

.app-chart__line {
  fill: none;
  stroke: var(--app-gold-soft);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
  filter: drop-shadow(0 0 5px rgba(212,168,95,.22));
}

.app-chart__point {
  fill: #121212;
  stroke: var(--app-gold-soft);
  stroke-width: 2.3;
  vector-effect: non-scaling-stroke;
}

.app-chart__callout {
  position: absolute;
  z-index: 2;
  padding: 5px 9px;
  border: 1px solid rgba(240,201,117,.72);
  border-radius: 999px;
  background: rgba(12,12,12,.92);
  color: var(--app-gold-soft);
  font-size: 11px;
  font-weight: 700;
  box-shadow: 0 5px 16px rgba(0,0,0,.28);
}

.app-chart__callout--start {
  top: 19%;
  left: 7%;
}

.app-chart__callout--end {
  right: 5%;
  bottom: 13%;
}

.app-chart__axis {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 9px 5px 0;
  color: #858585;
  font-size: 10px;
}

.app-progress-summary {
  padding-bottom: 18px;
}

.app-progress-summary__grid {
  margin-top: 19px;
  border: 1px solid rgba(212,168,95,.16);
  border-radius: 17px;
  overflow: hidden;
}

.app-progress-summary__grid > div {
  padding: 16px 8px;
  background: rgba(255,255,255,.012);
}

.app-progress-summary__grid strong {
  color: #fff;
  font-size: clamp(18px, 5vw, 24px);
}

.app-progress-summary__grid strong small {
  font-size: .62em;
  font-weight: 500;
}

.app-progress-summary__positive,
.app-progress-summary__footer strong {
  color: var(--app-success) !important;
}

.app-progress-summary__footer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 13px;
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 15px;
  overflow: hidden;
}

.app-progress-summary__footer span {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 13px 8px;
  color: #aaa;
  font-size: 13px;
}

.app-progress-summary__footer span + span {
  border-left: 1px solid rgba(255,255,255,.07);
}

@media (max-width: 390px) {
  .app-chart-card { padding-left: 16px; padding-right: 16px; }
  .app-chart__plot { height: 220px; }
  .app-chart-card__heading { gap: 8px; }
  .app-chart-card__heading > strong { gap: 4px; font-size: 13px; }
  .app-chart__callout { font-size: 9px; }
  .app-progress-summary__grid span { font-size: 10px; }
}

/* Sprint 1.5 - Ölçüm ikonları ve grafik tarih düzeni */
.app-metric-grid--dashboard .app-icon-disc {
  position: relative;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 54px;
  height: 54px;
  min-width: 54px;
  min-height: 54px;
  margin: 0 auto 6px !important;
  padding: 0 !important;
  line-height: 0 !important;
  overflow: hidden;
}

.app-metric-grid--dashboard .app-icon-disc > .app-svg-icon,
.app-metric-grid--dashboard .app-icon-disc > svg {
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  width: 25px !important;
  height: 25px !important;
  margin: 0 !important;
  padding: 0 !important;
  transform: translate(-50%, -50%) !important;
  display: block !important;
  flex: none !important;
}

.app-metric-grid--dashboard .app-icon-disc svg * {
  vector-effect: non-scaling-stroke;
}

.app-chart__axis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  padding: 11px 0 0;
  color: #929292;
  font-size: 10px;
  line-height: 1.2;
}

.app-chart__axis span {
  min-width: 0;
  text-align: center;
  white-space: nowrap;
}

.app-chart__axis span:first-child {
  text-align: left;
}

.app-chart__axis span:last-child {
  text-align: right;
}

.app-chart__callout {
  display: none;
}

.app-chart-data {
  display: grid;
  margin-top: 17px;
  border-top: 1px solid rgba(255,255,255,.075);
}

.app-chart-data__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 42px;
  padding: 10px 1px;
  border-bottom: 1px solid rgba(255,255,255,.065);
}

.app-chart-data__row:last-child {
  border-bottom: 0;
  padding-bottom: 2px;
}

.app-chart-data__row span {
  color: #a4a4a4;
  font-size: 12px;
}

.app-chart-data__row strong {
  color: #f4f4f4;
  font-size: 13px;
  font-weight: 700;
}

@media (max-width: 380px) {
  .app-chart__axis {
    font-size: 9px;
  }

  .app-chart-data__row {
    min-height: 39px;
  }
}

/* Sprint 1.6 - Vücut ölçüm ikonlarını bağımsız maske ile kesin merkezleme */
.app-metric-grid--dashboard .app-icon-disc--metric {
  position: relative !important;
  display: grid !important;
  place-items: center !important;
  width: 58px !important;
  height: 58px !important;
  min-width: 58px !important;
  min-height: 58px !important;
  margin: 0 auto 8px !important;
  padding: 0 !important;
  overflow: hidden !important;
  line-height: 1 !important;
}

/* Tema veya tarayıcı SVG kuralları artık bu üç ikonu etkileyemez. */
.app-metric-grid--dashboard .app-icon-disc--metric > svg,
.app-metric-grid--dashboard .app-icon-disc--metric > .app-svg-icon {
  display: none !important;
}

.app-metric-grid--dashboard .app-icon-disc--metric::before {
  content: "";
  position: absolute;
  inset: 50% auto auto 50%;
  width: 27px;
  height: 27px;
  transform: translate(-50%, -50%);
  background-color: currentColor;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
}

.app-metric-grid--dashboard .app-icon-disc--scale::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='4' y='3' width='16' height='18' rx='3' fill='none' stroke='black' stroke-width='1.8'/%3E%3Cpath d='M8 9a4 4 0 0 1 8 0M12 9l2-2' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='4' y='3' width='16' height='18' rx='3' fill='none' stroke='black' stroke-width='1.8'/%3E%3Cpath d='M8 9a4 4 0 0 1 8 0M12 9l2-2' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E");
}

.app-metric-grid--dashboard .app-icon-disc--muscle::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 21c-2-1-3-3-3-5 0-2 1-4 3-5l2-1V5c0-1 1-2 2-2s2 1 2 2v4h2l2-2c1-1 3 0 3 2v5c0 4-3 7-7 7H7Z' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 21c-2-1-3-3-3-5 0-2 1-4 3-5l2-1V5c0-1 1-2 2-2s2 1 2 2v4h2l2-2c1-1 3 0 3 2v5c0 4-3 7-7 7H7Z' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.app-metric-grid--dashboard .app-icon-disc--percent::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M19 5 5 19' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'/%3E%3Ccircle cx='7' cy='7' r='2' fill='none' stroke='black' stroke-width='1.8'/%3E%3Ccircle cx='17' cy='17' r='2' fill='none' stroke='black' stroke-width='1.8'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M19 5 5 19' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'/%3E%3Ccircle cx='7' cy='7' r='2' fill='none' stroke='black' stroke-width='1.8'/%3E%3Ccircle cx='17' cy='17' r='2' fill='none' stroke='black' stroke-width='1.8'/%3E%3C/svg%3E");
}


/* Sprint 2.2 — Canlı ders geçmişi */
.app-status--warning {
    color: #f0b35c;
}
.app-status--neutral {
    color: #9db3d8;
}
.app-lesson-history {
    gap: 12px;
}
.app-lesson-item {
    align-items: flex-start;
}
.app-lesson-item__main {
    min-width: 0;
    flex: 1;
}
.app-lesson-item__main h2 {
    line-height: 1.25;
}
.app-lesson-item__main p {
    margin: 9px 0 0;
    color: var(--app-muted);
    font-size: 13px;
    line-height: 1.55;
}
.app-latest-lesson-note p {
    margin-bottom: 0;
    line-height: 1.65;
}
.app-empty-lessons {
    padding: 34px 22px;
    text-align: center;
}
.app-empty-lessons__icon {
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    margin: 0 auto 16px;
    border: 1px solid rgba(214, 172, 99, .36);
    border-radius: 18px;
    background: rgba(214, 172, 99, .09);
    color: var(--app-gold);
    font-size: 24px;
    font-weight: 700;
}
.app-empty-lessons h2 {
    margin: 0 0 8px;
    font-size: 19px;
}
.app-empty-lessons p {
    margin: 0;
    color: var(--app-muted);
    line-height: 1.55;
}

@media (max-width: 390px) {
    .app-lesson-item {
        flex-direction: column;
    }
}


/* Sprint 2.2.1 — Ders durum noktaları */
.app-status {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}
.app-status__dot {
    flex: 0 0 auto;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: currentColor;
    box-shadow: 0 0 0 3px color-mix(in srgb, currentColor 14%, transparent);
}
.app-status--success { color: #49cf82; }
.app-status--danger { color: #ff6b6b; }
.app-status--warning { color: #ff6b6b; }
.app-status--neutral { color: #a7adb7; }


/* Sprint 2.3.2 — Canlı Ölçümler Sayfası */
.app-measurements-page {
    gap: 16px;
}
.app-card__heading--measurement {
    align-items: center;
}
.app-measurement-date {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--app-muted);
    font-size: 12px;
    white-space: nowrap;
}
.app-measurement-date > span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #49cf82;
    box-shadow: 0 0 0 4px rgba(73, 207, 130, .11);
}
.app-measurement-primary-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-top: 22px;
}
.app-measurement-primary-grid article {
    display: flex;
    align-items: center;
    flex-direction: column;
    min-width: 0;
    padding: 17px 8px 15px;
    border: 1px solid rgba(255,255,255,.075);
    border-radius: 18px;
    background: rgba(255,255,255,.025);
    text-align: center;
}
.app-measurement-primary-grid article > span:not(.app-measurement-primary-icon) {
    min-height: 30px;
    margin: 10px 0 5px;
    color: var(--app-muted);
    font-size: 12px;
    line-height: 1.25;
}
.app-measurement-primary-grid strong {
    overflow-wrap: anywhere;
    font-size: clamp(16px, 4.5vw, 21px);
    line-height: 1.15;
}
.app-measurement-primary-icon {
    position: relative;
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border: 1px solid rgba(214,172,99,.32);
    border-radius: 50%;
    background: rgba(214,172,99,.08);
}
.app-measurement-primary-icon::before {
    display: block;
    width: 18px;
    height: 18px;
    background-color: var(--app-gold);
    content: "";
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-size: contain;
    mask-size: contain;
}
.app-measurement-primary-icon--weight::before {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6.5 4h11A2.5 2.5 0 0 1 20 6.5v11a2.5 2.5 0 0 1-2.5 2.5h-11A2.5 2.5 0 0 1 4 17.5v-11A2.5 2.5 0 0 1 6.5 4Z'/%3E%3Cpath d='M8 9a4 4 0 0 1 8 0'/%3E%3Cpath d='m12 9 2-2'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6.5 4h11A2.5 2.5 0 0 1 20 6.5v11a2.5 2.5 0 0 1-2.5 2.5h-11A2.5 2.5 0 0 1 4 17.5v-11A2.5 2.5 0 0 1 6.5 4Z'/%3E%3Cpath d='M8 9a4 4 0 0 1 8 0'/%3E%3Cpath d='m12 9 2-2'/%3E%3C/svg%3E");
}
.app-measurement-primary-icon--muscle::before {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 8c1.5 0 2.4-1.5 2.4-3V3h3v2c0 2.2 1 3.3 2.7 3.8 2.2.6 3.9 2.5 3.9 5.2 0 3.9-3 7-7 7H8c-2.8 0-5-2.2-5-5 0-2.2 1.3-4.1 3.2-4.9'/%3E%3Cpath d='M8 13c2.5 0 4-1.4 4-4'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 8c1.5 0 2.4-1.5 2.4-3V3h3v2c0 2.2 1 3.3 2.7 3.8 2.2.6 3.9 2.5 3.9 5.2 0 3.9-3 7-7 7H8c-2.8 0-5-2.2-5-5 0-2.2 1.3-4.1 3.2-4.9'/%3E%3Cpath d='M8 13c2.5 0 4-1.4 4-4'/%3E%3C/svg%3E");
}
.app-measurement-primary-icon--fat::before {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='19' y1='5' x2='5' y2='19'/%3E%3Ccircle cx='6.5' cy='6.5' r='2.5'/%3E%3Ccircle cx='17.5' cy='17.5' r='2.5'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='19' y1='5' x2='5' y2='19'/%3E%3Ccircle cx='6.5' cy='6.5' r='2.5'/%3E%3Ccircle cx='17.5' cy='17.5' r='2.5'/%3E%3C/svg%3E");
}
.app-measurement-note {
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid rgba(255,255,255,.075);
}
.app-measurement-note span {
    display: block;
    margin-bottom: 6px;
    color: var(--app-gold-soft);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.app-measurement-note p {
    margin: 0;
    font-size: 13px;
    line-height: 1.6;
}
.app-tape-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 18px;
}
.app-tape-grid article {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-width: 0;
    padding: 14px 15px;
    border: 1px solid rgba(255,255,255,.07);
    border-radius: 15px;
    background: rgba(255,255,255,.022);
}
.app-tape-grid article:last-child:nth-child(odd) {
    grid-column: 1 / -1;
}
.app-tape-grid span {
    color: var(--app-muted);
    font-size: 13px;
}
.app-tape-grid strong {
    font-size: 15px;
}
.app-section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    padding: 4px 2px 0;
}
.app-section-heading h2 {
    margin: 4px 0 0;
    font-size: 20px;
}
.app-section-heading > span {
    color: var(--app-muted);
    font-size: 12px;
}
.app-measurement-history__list {
    display: grid;
    gap: 10px;
    margin-top: 12px;
}
.app-measurement-history-item {
    overflow: hidden;
    border: 1px solid var(--app-border);
    border-radius: 18px;
    background: var(--app-surface);
}
.app-measurement-history-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 17px 18px;
    cursor: pointer;
    list-style: none;
}
.app-measurement-history-item summary::-webkit-details-marker {
    display: none;
}
.app-measurement-history-item summary > div:first-child span,
.app-measurement-history-item summary > div:first-child strong {
    display: block;
}
.app-measurement-history-item summary > div:first-child span {
    margin-bottom: 5px;
    color: var(--app-gold-soft);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.app-measurement-history-item summary > div:first-child strong {
    font-size: 15px;
}
.app-measurement-history-item__summary {
    display: flex;
    align-items: center;
    gap: 12px;
}
.app-measurement-history-item__summary span {
    color: var(--app-muted);
    font-size: 13px;
}
.app-measurement-history-item__summary i {
    width: 8px;
    height: 8px;
    border-right: 1.5px solid var(--app-gold);
    border-bottom: 1.5px solid var(--app-gold);
    transform: rotate(45deg);
    transition: transform .2s ease;
}
.app-measurement-history-item[open] .app-measurement-history-item__summary i {
    transform: rotate(225deg);
}
.app-measurement-history-item__body {
    padding: 0 18px 18px;
    border-top: 1px solid rgba(255,255,255,.065);
}
.app-measurement-history-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    padding: 16px 0;
}
.app-measurement-history-metrics div,
.app-measurement-history-tape div {
    min-width: 0;
}
.app-measurement-history-metrics span,
.app-measurement-history-metrics strong,
.app-measurement-history-tape span,
.app-measurement-history-tape strong {
    display: block;
}
.app-measurement-history-metrics span,
.app-measurement-history-tape span {
    margin-bottom: 4px;
    color: var(--app-muted);
    font-size: 11px;
}
.app-measurement-history-metrics strong {
    overflow-wrap: anywhere;
    font-size: 14px;
}
.app-measurement-history-tape {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
}
.app-measurement-history-tape div {
    padding: 11px 12px;
    border-radius: 12px;
    background: rgba(255,255,255,.028);
}
.app-measurement-history-tape div:last-child:nth-child(odd) {
    grid-column: 1 / -1;
}
.app-measurement-history-tape strong {
    font-size: 13px;
}
.app-measurement-history-note {
    margin: 14px 0 0;
    padding: 13px 14px;
    border-left: 2px solid rgba(214,172,99,.55);
    border-radius: 0 10px 10px 0;
    background: rgba(214,172,99,.055);
    font-size: 12px;
    line-height: 1.55;
}
.app-measurement-empty {
    padding: 42px 24px;
    text-align: center;
}
.app-measurement-empty__icon {
    position: relative;
    display: grid;
    place-items: center;
    width: 60px;
    height: 60px;
    margin: 0 auto 18px;
    border: 1px solid rgba(214,172,99,.32);
    border-radius: 20px;
    background: rgba(214,172,99,.08);
}
.app-measurement-empty__icon::before {
    width: 26px;
    height: 26px;
    background: var(--app-gold);
    content: "";
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 3v18h18'/%3E%3Cpath d='m7 16 4-5 3 3 5-7'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 3v18h18'/%3E%3Cpath d='m7 16 4-5 3 3 5-7'/%3E%3C/svg%3E");
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-size: contain;
    mask-size: contain;
}
.app-measurement-empty h1 {
    margin: 8px 0 10px;
    font-size: 22px;
}
.app-measurement-empty p {
    max-width: 310px;
    margin: 0 auto;
    line-height: 1.65;
}

@media (max-width: 370px) {
    .app-card__heading--measurement {
        align-items: flex-start;
        flex-direction: column;
    }
    .app-measurement-primary-grid {
        gap: 7px;
    }
    .app-measurement-primary-grid article {
        padding-inline: 5px;
    }
}


/* Sprint 2.3.3 — Canlı Gelişim Grafikleri */
.app-progress-live {
    display: grid;
    gap: 16px;
}
.app-progress-range-message {
    padding: 12px 14px;
    border: 1px solid rgba(214, 172, 99, .24);
    border-radius: 14px;
    background: rgba(214, 172, 99, .07);
    color: var(--app-gold-soft);
    font-size: 12px;
    line-height: 1.55;
}
.app-chart-card__heading {
    align-items: flex-start;
}
.app-chart-card__heading > strong {
    color: var(--app-gold-soft);
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
}
.app-live-chart {
    margin-top: 20px;
}
.app-live-chart__canvas {
    overflow: hidden;
    height: 210px;
    border-radius: 14px;
}
.app-live-chart__canvas svg {
    display: block;
    width: 100%;
    height: 100%;
    overflow: visible;
}
.app-live-chart__grid line {
    stroke: rgba(255, 255, 255, .075);
    stroke-width: 1;
}
.app-live-chart__line {
    fill: none;
    stroke: var(--app-gold);
    stroke-width: 3.2;
    stroke-linecap: round;
    stroke-linejoin: round;
    vector-effect: non-scaling-stroke;
}
.app-live-chart__area {
    stroke: none;
}
.app-live-chart__points circle {
    fill: var(--app-surface);
    stroke: var(--app-gold);
    stroke-width: 2.5;
    vector-effect: non-scaling-stroke;
}
.app-live-chart__axis,
.app-live-chart__values,
.app-composition-values {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
}
.app-live-chart__axis {
    margin-top: 7px;
}
.app-live-chart__axis span {
    color: var(--app-muted);
    font-size: 10px;
    text-align: center;
    white-space: nowrap;
}
.app-live-chart__values {
    margin-top: 14px;
    padding-top: 13px;
    border-top: 1px solid rgba(255, 255, 255, .07);
}
.app-live-chart__values div,
.app-composition-values div {
    min-width: 0;
    text-align: center;
}
.app-live-chart__values span,
.app-live-chart__values strong,
.app-composition-values span,
.app-composition-values strong {
    display: block;
}
.app-live-chart__values span,
.app-composition-values span {
    margin-bottom: 4px;
    color: var(--app-muted);
    font-size: 9px;
    white-space: nowrap;
}
.app-live-chart__values strong,
.app-composition-values strong {
    overflow-wrap: anywhere;
    font-size: 11px;
}
.app-chart-card.is-insufficient .app-live-chart__canvas {
    opacity: .25;
}
.app-composition-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 15px;
}
.app-composition-legend span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--app-muted);
    font-size: 11px;
}
.app-composition-legend i {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}
.app-composition-legend .is-muscle {
    background: var(--app-gold);
}
.app-composition-legend .is-fat {
    background: #e36f72;
}
.app-live-chart__line--muscle {
    stroke: var(--app-gold);
}
.app-live-chart__line--fat {
    stroke: #e36f72;
}
.app-composition-point {
    fill: var(--app-surface);
    stroke-width: 2.5;
    vector-effect: non-scaling-stroke;
}
.app-composition-point--muscle {
    stroke: var(--app-gold);
}
.app-composition-point--fat {
    stroke: #e36f72;
}
.app-composition-values {
    margin-top: 14px;
    padding-top: 13px;
    border-top: 1px solid rgba(255, 255, 255, .07);
}
.app-composition-values strong + strong {
    margin-top: 3px;
}
.app-composition-values strong.is-muscle {
    color: var(--app-gold-soft);
}
.app-composition-values strong.is-fat {
    color: #ed9092;
}
.app-progress-comparison__dates {
    color: var(--app-muted);
    font-size: 10px;
    white-space: nowrap;
}
.app-progress-comparison__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 18px;
}
.app-progress-comparison__grid article {
    position: relative;
    min-width: 0;
    padding: 15px;
    border: 1px solid rgba(255, 255, 255, .07);
    border-radius: 15px;
    background: rgba(255, 255, 255, .025);
}
.app-progress-comparison__grid article::before {
    position: absolute;
    top: 16px;
    right: 14px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #9da3ad;
    box-shadow: 0 0 0 4px rgba(157, 163, 173, .08);
    content: "";
}
.app-progress-comparison__grid article.is-positive::before {
    background: #49cf82;
    box-shadow: 0 0 0 4px rgba(73, 207, 130, .10);
}
.app-progress-comparison__grid article.is-negative::before {
    background: #ff6b6b;
    box-shadow: 0 0 0 4px rgba(255, 107, 107, .10);
}
.app-progress-comparison__grid span,
.app-progress-comparison__grid strong,
.app-progress-comparison__grid small {
    display: block;
}
.app-progress-comparison__grid span {
    padding-right: 16px;
    color: var(--app-muted);
    font-size: 11px;
}
.app-progress-comparison__grid strong {
    margin: 9px 0 5px;
    font-size: 19px;
}
.app-progress-comparison__grid article.is-positive strong {
    color: #58d68d;
}
.app-progress-comparison__grid article.is-negative strong {
    color: #ff7777;
}
.app-progress-comparison__grid small {
    color: var(--app-muted);
    font-size: 9px;
    line-height: 1.4;
}
.app-progress-empty {
    padding: 42px 24px;
    text-align: center;
}
.app-progress-empty__icon {
    display: block;
    width: 60px;
    height: 60px;
    margin: 0 auto 18px;
    border: 1px solid rgba(214, 172, 99, .32);
    border-radius: 20px;
    background-color: rgba(214, 172, 99, .08);
}
.app-progress-empty h1 {
    margin: 8px 0 10px;
    font-size: 22px;
}
.app-progress-empty p {
    max-width: 320px;
    margin: 0 auto 20px;
    line-height: 1.65;
}

@media (max-width: 390px) {
    .app-chart-card__heading {
        gap: 8px;
    }
    .app-chart-card__heading > strong {
        font-size: 11px;
    }
    .app-live-chart__canvas {
        height: 190px;
    }
    .app-progress-comparison__dates {
        display: none;
    }
}


/* Sprint 2.4 — Paket Sayfası */
.app-package-empty{padding:38px 22px;text-align:center}.app-package-empty h1{margin:8px 0 10px;font-size:22px}.app-package-empty p{margin:0;color:var(--app-muted);line-height:1.6}
.app-package-history small{display:block;margin-top:4px;color:var(--app-muted);font-size:10px}


/* Sprint 3.0 — Bildirim Merkezi */
.app-notification-button {
    position: relative;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    width: 39px;
    height: 39px;
    border: 1px solid rgba(255,255,255,.09);
    border-radius: 13px;
    background: rgba(255,255,255,.025);
}
.app-notification-button.is-active {
    border-color: rgba(214,172,99,.35);
    background: rgba(214,172,99,.08);
}
.app-notification-button__icon {
    width: 19px;
    height: 19px;
    background: var(--app-gold);
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 8a6 6 0 0 0-12 0c0 7-3 7-3 9h18c0-2-3-2-3-9'/%3E%3Cpath d='M13.73 21a2 2 0 0 1-3.46 0'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 8a6 6 0 0 0-12 0c0 7-3 7-3 9h18c0-2-3-2-3-9'/%3E%3Cpath d='M13.73 21a2 2 0 0 1-3.46 0'/%3E%3C/svg%3E");
    -webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-position:center;mask-position:center;-webkit-mask-size:contain;mask-size:contain;
}
.app-notification-button__badge {
    position: absolute;
    top: -5px;
    right: -5px;
    display: grid;
    place-items: center;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    border: 2px solid var(--app-bg);
    border-radius: 999px;
    background: #e75d61;
    color: #fff;
    font-size: 9px;
    font-weight: 800;
}
.app-notifications-page { gap: 14px; }
.app-notification-list { display:grid; gap:10px; }
.app-notification-item {
    position:relative;
    display:flex;
    align-items:flex-start;
    gap:14px;
    padding:17px;
    border:1px solid var(--app-border);
    border-radius:18px;
    background:var(--app-surface);
    color:inherit;
}
.app-notification-item.is-unread {
    border-color:rgba(214,172,99,.25);
    background:linear-gradient(135deg,rgba(214,172,99,.075),var(--app-surface) 55%);
}
.app-notification-item__icon {
    flex:0 0 auto;
    width:40px;
    height:40px;
    border:1px solid rgba(214,172,99,.25);
    border-radius:14px;
    background-color:rgba(214,172,99,.08);
}
.app-notification-item__body { min-width:0; flex:1; }
.app-notification-item__meta { display:flex; justify-content:space-between; gap:10px; margin-bottom:7px; }
.app-notification-item__meta span { color:var(--app-gold-soft); font-size:10px; font-weight:700; letter-spacing:.08em; text-transform:uppercase; }
.app-notification-item__meta time { color:var(--app-muted); font-size:10px; white-space:nowrap; }
.app-notification-item h2 { margin:0 0 6px; font-size:15px; }
.app-notification-item p { margin:0; color:var(--app-muted); font-size:12px; line-height:1.55; }
.app-notification-item__unread { position:absolute; top:17px; right:12px; width:6px; height:6px; border-radius:50%; background:#49cf82; box-shadow:0 0 0 4px rgba(73,207,130,.08); }
.app-notifications-empty { padding:42px 24px; text-align:center; }
.app-notifications-empty__icon { display:block; width:58px; height:58px; margin:0 auto 17px; border:1px solid rgba(214,172,99,.3); border-radius:20px; background:rgba(214,172,99,.08); }
.app-notifications-empty h1 { margin:0 0 9px; font-size:21px; }
.app-notifications-empty p { margin:0; color:var(--app-muted); line-height:1.6; }


/* Sprint 3.1 — Takvim */
.app-calendar-page{gap:17px}.app-next-session{position:relative;display:grid;grid-template-columns:auto minmax(0,1fr);gap:15px;align-items:center;overflow:hidden;background:radial-gradient(circle at 90% 0%,rgba(214,172,99,.11),transparent 42%),var(--app-surface)}.app-next-session__date{display:grid;place-items:center;width:64px;height:74px;border:1px solid rgba(214,172,99,.28);border-radius:18px;background:rgba(214,172,99,.075)}.app-next-session__date span{color:var(--app-gold-soft);font-size:11px;font-weight:700;text-transform:uppercase}.app-next-session__date strong{margin-top:-7px;font-size:29px}.app-next-session__content h2{margin:5px 0 8px;font-size:18px}.app-next-session__content p{margin:10px 0 0;color:var(--app-muted);font-size:12px;line-height:1.5}.app-next-session__meta{display:flex;align-items:center;gap:8px;color:var(--app-muted);font-size:12px}.app-next-session__meta i{width:3px;height:3px;border-radius:50%;background:var(--app-gold)}.app-next-session__countdown{position:absolute;top:14px;right:14px;padding:5px 9px;border-radius:999px;background:rgba(73,207,130,.09);color:#59d78d;font-size:10px;font-weight:700}.app-calendar-list{display:grid;gap:22px}.app-calendar-month__lessons{display:grid;gap:10px;margin-top:12px}.app-calendar-lesson{display:grid;grid-template-columns:54px minmax(0,1fr);gap:13px;padding:16px;border:1px solid var(--app-border);border-radius:18px;background:var(--app-surface)}.app-calendar-lesson__date{display:grid;place-items:center;align-content:center;min-height:62px;border-radius:15px;background:rgba(255,255,255,.035)}.app-calendar-lesson__date strong{font-size:22px}.app-calendar-lesson__date span{margin-top:2px;color:var(--app-muted);font-size:10px;text-transform:uppercase}.app-calendar-lesson__body h3{margin:2px 0 9px;font-size:15px}.app-calendar-lesson__body>div{display:flex;flex-wrap:wrap;align-items:center;gap:10px}.app-calendar-lesson__time{color:var(--app-gold-soft);font-size:12px;font-weight:700}.app-calendar-lesson__body p{margin:10px 0 0;color:var(--app-muted);font-size:12px;line-height:1.5}.app-calendar-empty{padding:42px 24px;text-align:center}.app-calendar-empty__icon{display:block;width:60px;height:60px;margin:0 auto 18px;border:1px solid rgba(214,172,99,.3);border-radius:20px;background:rgba(214,172,99,.08)}.app-calendar-empty h1{margin:8px 0 10px;font-size:22px}.app-calendar-empty p{margin:0;color:var(--app-muted);line-height:1.6}.app-dashboard-next-lesson{display:grid;grid-template-columns:49px minmax(0,1fr) auto;align-items:center;gap:13px;margin-top:16px;padding:13px;border:1px solid rgba(255,255,255,.07);border-radius:16px;background:rgba(255,255,255,.025);color:inherit}.app-dashboard-next-lesson__date{display:grid;place-items:center;width:49px;height:52px;border-radius:14px;background:rgba(214,172,99,.09)}.app-dashboard-next-lesson__date strong{font-size:20px}.app-dashboard-next-lesson__date span{color:var(--app-gold-soft);font-size:9px;text-transform:uppercase}.app-dashboard-next-lesson h3{margin:0 0 5px;font-size:14px}.app-dashboard-next-lesson p{margin:0;color:var(--app-muted);font-size:11px}.app-dashboard-next-lesson__arrow{color:var(--app-gold);font-size:17px}.app-dashboard-next-lesson--empty{grid-template-columns:49px minmax(0,1fr)}


/* Sprint 3.2 — Dosya Merkezi */
.app-icon-disc--files::before {
    width: 22px;
    height: 22px;
    background: var(--app-gold);
    content: "";
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 7a2 2 0 0 1 2-2h5l2 2h7a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2Z'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 7a2 2 0 0 1 2-2h5l2 2h7a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2Z'/%3E%3C/svg%3E");
    -webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-position:center;mask-position:center;-webkit-mask-size:contain;mask-size:contain;
}
.app-files-page { gap: 20px; }
.app-file-group { display:grid; gap:11px; }
.app-file-group__heading { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:0 2px; }
.app-file-group__heading h2 { margin:0; font-size:16px; }
.app-file-group__heading span { display:grid; place-items:center; min-width:23px; height:23px; border-radius:999px; background:rgba(214,172,99,.09); color:var(--app-gold-soft); font-size:10px; font-weight:700; }
.app-file-list { display:grid; gap:10px; }
.app-file-card { position:relative; display:grid; grid-template-columns:46px minmax(0,1fr); gap:13px; padding:16px; border:1px solid var(--app-border); border-radius:18px; background:var(--app-surface); color:inherit; }
.app-file-card__icon { display:grid; place-items:center; width:46px; height:52px; border:1px solid rgba(214,172,99,.23); border-radius:14px; background:rgba(214,172,99,.07); }
.app-file-card__icon::before { width:23px; height:23px; background:var(--app-gold); content:""; -webkit-mask-repeat:no-repeat; mask-repeat:no-repeat; -webkit-mask-position:center; mask-position:center; -webkit-mask-size:contain; mask-size:contain; -webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8Z'/%3E%3Cpath d='M14 2v6h6'/%3E%3C/svg%3E"); mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8Z'/%3E%3Cpath d='M14 2v6h6'/%3E%3C/svg%3E"); }
.app-file-card--video .app-file-card__icon::before { -webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='m9 7 8 5-8 5Z'/%3E%3Cpath d='M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z' fill='none' stroke='black' stroke-width='2'/%3E%3C/svg%3E"); mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='m9 7 8 5-8 5Z'/%3E%3Cpath d='M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z' fill='none' stroke='black' stroke-width='2'/%3E%3C/svg%3E"); }
.app-file-card__body { min-width:0; padding-right:45px; }
.app-file-card__meta { display:flex; justify-content:space-between; gap:10px; margin-bottom:5px; }
.app-file-card__meta span { color:var(--app-gold-soft); font-size:9px; font-weight:700; letter-spacing:.07em; }
.app-file-card__meta time { color:var(--app-muted); font-size:9px; }
.app-file-card h3 { margin:0 0 7px; font-size:14px; line-height:1.35; }
.app-file-card__details { display:flex; flex-wrap:wrap; gap:6px; }
.app-file-card__details span { color:var(--app-muted); font-size:10px; }
.app-file-card__details span + span::before { margin-right:6px; content:"•"; color:var(--app-gold); }
.app-file-card p { margin:8px 0 0; color:var(--app-muted); font-size:11px; line-height:1.5; }
.app-file-card__action { position:absolute; right:15px; bottom:16px; color:var(--app-gold-soft); font-size:10px; font-weight:700; }
.app-files-empty { padding:42px 24px; text-align:center; }
.app-files-empty__icon { display:block; width:60px; height:60px; margin:0 auto 18px; border:1px solid rgba(214,172,99,.3); border-radius:20px; background:rgba(214,172,99,.08); }
.app-files-empty h1 { margin:0 0 9px; font-size:21px; }
.app-files-empty p { margin:0; color:var(--app-muted); line-height:1.6; }
.app-dashboard-profile-link { display:flex; align-items:center; justify-content:space-between; gap:16px; padding:15px 17px; border:1px solid var(--app-border); border-radius:16px; background:rgba(255,255,255,.02); color:inherit; }
.app-dashboard-profile-link span { color:var(--app-muted); font-size:12px; }
.app-dashboard-profile-link strong { color:var(--app-gold-soft); font-size:12px; }


/* Sprint 3.3 — Hafif Premium UX */
html {
    scroll-behavior: smooth;
}

body {
    -webkit-tap-highlight-color: transparent;
}

.app-shell,
.app-main,
.app-topbar,
.app-bottom-nav {
    backface-visibility: hidden;
}

.app-main {
    opacity: 0;
    transform: translateY(5px);
    transition:
        opacity 180ms ease,
        transform 180ms ease;
}

.app-is-ready .app-main {
    opacity: 1;
    transform: translateY(0);
}

.app-is-leaving .app-main {
    opacity: 0;
    transform: translateY(3px);
    transition-duration: 110ms;
}

.app-card,
.app-action-card,
.app-file-card,
.app-notification-item,
.app-calendar-lesson,
.app-dashboard-next-lesson {
    transform: translateZ(0);
}

.app-interactive {
    transition:
        transform 120ms ease,
        border-color 160ms ease,
        background-color 160ms ease,
        opacity 160ms ease;
    touch-action: manipulation;
}

.app-interactive.is-pressed {
    transform: scale(.982);
}

.app-action-card:focus-visible,
.app-file-card:focus-visible,
.app-notification-item:focus-visible,
.app-dashboard-next-lesson:focus-visible,
.app-bottom-nav a:focus-visible,
.app-button:focus-visible,
.app-icon-button:focus-visible,
.app-notification-button:focus-visible {
    outline: 2px solid var(--app-gold);
    outline-offset: 3px;
}

.app-bottom-nav a {
    position: relative;
}

.app-bottom-nav a::after {
    position: absolute;
    right: 24%;
    bottom: 4px;
    left: 24%;
    height: 2px;
    border-radius: 999px;
    background: var(--app-gold);
    opacity: 0;
    transform: scaleX(.4);
    transition:
        opacity 160ms ease,
        transform 160ms ease;
    content: "";
}

.app-bottom-nav a.is-active::after,
.app-bottom-nav a[aria-current="page"]::after {
    opacity: 1;
    transform: scaleX(1);
}

.app-bottom-nav a.is-active,
.app-bottom-nav a[aria-current="page"] {
    color: var(--app-gold-soft);
}

.app-progress > span,
.cemoncu-package-admin-progress > span {
    transition: width 520ms cubic-bezier(.22, .8, .3, 1);
}

.app-live-chart__line {
    stroke-dasharray: 1100;
    stroke-dashoffset: 1100;
    transition: stroke-dashoffset 620ms cubic-bezier(.22, .8, .3, 1);
}

.app-live-chart__line.is-drawn {
    stroke-dashoffset: 0;
}

.app-live-chart__points circle,
.app-composition-point {
    opacity: 0;
    transform-box: fill-box;
    transform-origin: center;
    animation: appPointAppear 220ms ease forwards;
    animation-delay: 380ms;
}

@keyframes appPointAppear {
    from {
        opacity: 0;
        transform: scale(.65);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.app-card,
.app-action-card,
.app-file-card,
.app-notification-item,
.app-calendar-lesson {
    content-visibility: auto;
    contain-intrinsic-size: 1px 150px;
}

.app-bottom-nav {
    will-change: transform;
}

@media (hover: hover) and (pointer: fine) {
    .app-action-card:hover,
    .app-file-card:hover,
    .app-notification-item:hover,
    .app-dashboard-next-lesson:hover {
        border-color: rgba(214, 172, 99, .22);
        transform: translateY(-1px);
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
    }

    .app-main {
        opacity: 1;
        transform: none;
    }

    .app-live-chart__line {
        stroke-dashoffset: 0;
    }
}


/* Sprint 3.3.1 — App İçi Şifre Değiştirme */
.app-profile-page {
    gap: 16px;
}
.app-profile-notice {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 13px 15px;
    border: 1px solid;
    border-radius: 14px;
    font-size: 12px;
    line-height: 1.5;
}
.app-profile-notice > span {
    flex: 0 0 auto;
    width: 7px;
    height: 7px;
    border-radius: 50%;
}
.app-profile-notice--success {
    border-color: rgba(73, 207, 130, .25);
    background: rgba(73, 207, 130, .07);
    color: #71dfa0;
}
.app-profile-notice--success > span {
    background: #49cf82;
    box-shadow: 0 0 0 4px rgba(73, 207, 130, .10);
}
.app-profile-notice--error {
    border-color: rgba(255, 107, 107, .25);
    background: rgba(255, 107, 107, .07);
    color: #ff9292;
}
.app-profile-notice--error > span {
    background: #ff6b6b;
    box-shadow: 0 0 0 4px rgba(255, 107, 107, .10);
}
.app-password-panel {
    padding: 0;
    overflow: hidden;
}
.app-password-panel > summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 18px;
    cursor: pointer;
    list-style: none;
}
.app-password-panel > summary::-webkit-details-marker {
    display: none;
}
.app-password-panel > summary h2 {
    margin: 4px 0 0;
    font-size: 17px;
}
.app-password-panel > summary i {
    width: 8px;
    height: 8px;
    border-right: 1.5px solid var(--app-gold);
    border-bottom: 1.5px solid var(--app-gold);
    transform: rotate(45deg);
    transition: transform 160ms ease;
}
.app-password-panel[open] > summary i {
    transform: rotate(225deg);
}
.app-password-form {
    display: grid;
    gap: 15px;
    padding: 18px;
    border-top: 1px solid var(--app-border);
}
.app-password-form label > span {
    display: block;
    margin-bottom: 8px;
    color: var(--app-muted);
    font-size: 12px;
    font-weight: 600;
}
.app-password-form label > small {
    display: block;
    margin-top: 6px;
    color: var(--app-muted);
    font-size: 10px;
}
.app-password-input {
    position: relative;
}
.app-password-input input {
    width: 100%;
    min-height: 48px;
    padding: 0 70px 0 14px;
    border: 1px solid var(--app-border);
    border-radius: 13px;
    background: rgba(255,255,255,.025);
    color: var(--app-text);
    font: inherit;
}
.app-password-input input:focus {
    border-color: rgba(214,172,99,.48);
    outline: 0;
    box-shadow: 0 0 0 3px rgba(214,172,99,.08);
}
.app-password-input button {
    position: absolute;
    top: 50%;
    right: 8px;
    min-width: 55px;
    min-height: 34px;
    border: 0;
    border-radius: 9px;
    background: rgba(214,172,99,.08);
    color: var(--app-gold-soft);
    font-size: 10px;
    font-weight: 700;
    transform: translateY(-50%);
}
.app-menu-list__danger {
    color: #ff7b7b !important;
}

.app-bottom-nav a::after{display:none!important}.app-bottom-nav a.is-active svg,.app-bottom-nav a[aria-current="page"] svg{transform:scale(1.1);filter:drop-shadow(0 0 8px rgba(214,172,99,.24))}.app-bottom-nav a svg{transition:transform .15s ease,filter .15s ease}
.app-dashboard-nutrition-link{display:grid;grid-template-columns:44px 1fr auto;align-items:center;gap:13px;padding:15px 17px;border:1px solid rgba(214,172,99,.18);border-radius:17px;background:linear-gradient(135deg,rgba(214,172,99,.075),rgba(255,255,255,.018));color:inherit}.app-dashboard-nutrition-link__icon{width:44px;height:44px;border-radius:14px;background:rgba(214,172,99,.1)}.app-dashboard-nutrition-link small,.app-dashboard-nutrition-link strong{display:block}.app-dashboard-nutrition-link small{color:var(--app-gold-soft);font-size:9px}.app-dashboard-nutrition-link strong{font-size:14px}.app-dashboard-nutrition-link i{color:var(--app-gold);font-style:normal}
.app-nutrition-page{gap:18px}.app-nutrition-hero h1{margin:6px 0 8px;font-size:22px}.app-nutrition-hero p{color:var(--app-muted)}.app-nutrition-hero__meta{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:20px}.app-nutrition-hero__meta span{padding:11px;border:1px solid rgba(255,255,255,.07);border-radius:13px}.app-nutrition-hero__meta small,.app-nutrition-hero__meta strong{display:block}.app-nutrition-hero__meta small{color:var(--app-muted);font-size:9px}.app-nutrition-hero__meta strong{margin-top:5px;font-size:11px}.app-nutrition-meal-list{display:grid;gap:10px}.app-nutrition-meal{display:grid;grid-template-columns:38px 1fr;gap:13px}.app-nutrition-meal__number{display:grid;place-items:center;width:38px;height:38px;border-radius:12px;background:rgba(214,172,99,.08);color:var(--app-gold-soft)}.app-nutrition-meal__heading{display:flex;justify-content:space-between}.app-nutrition-meal__heading h3{margin:0}.app-nutrition-meal__heading time{color:var(--app-gold-soft)}.app-nutrition-meal ul{display:grid;gap:8px;padding:0;list-style:none}.app-nutrition-meal li{position:relative;padding-left:15px}.app-nutrition-meal li:before{position:absolute;left:0;top:.55em;width:5px;height:5px;border-radius:50%;background:var(--app-gold);content:""}.app-nutrition-meal p,.app-nutrition-notes p{color:var(--app-muted);line-height:1.6}.app-nutrition-empty{text-align:center;padding:42px 24px}@media(max-width:390px){.app-nutrition-hero__meta{grid-template-columns:1fr}}


/* Sprint 4.0.1 — Beslenme kısayol ikonu */
.app-dashboard-nutrition-link__icon {
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    border: 1px solid rgba(214, 172, 99, .26);
}

.app-dashboard-nutrition-link__icon::before {
    display: block;
    width: 20px;
    height: 20px;
    background: var(--app-gold);
    content: "";
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 3h10'/%3E%3Cpath d='M8 3v4c0 2.2 1.8 4 4 4s4-1.8 4-4V3'/%3E%3Cpath d='M12 11v10'/%3E%3Cpath d='M8 21h8'/%3E%3Cpath d='M4 4v5a3 3 0 0 0 3 3V4'/%3E%3Cpath d='M20 4v8'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 3h10'/%3E%3Cpath d='M8 3v4c0 2.2 1.8 4 4 4s4-1.8 4-4V3'/%3E%3Cpath d='M12 11v10'/%3E%3Cpath d='M8 21h8'/%3E%3Cpath d='M4 4v5a3 3 0 0 0 3 3V4'/%3E%3Cpath d='M20 4v8'/%3E%3C/svg%3E");
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-size: contain;
    mask-size: contain;
}

/* Sprint 5.4 — Member AI Performance Report */
.app-ai-performance-report{display:grid;gap:18px}.app-ai-performance-report__head{display:flex;justify-content:space-between;gap:15px}.app-ai-performance-score{display:inline-flex;align-items:baseline;min-width:78px;justify-content:center;padding:10px 12px;border:1px solid var(--app-border);border-radius:15px;background:#0f0f0f}.app-ai-performance-score strong{color:var(--app-gold-soft);font-size:27px}.app-ai-performance-score span{color:var(--app-muted);font-size:11px}.app-ai-performance-score.is-excellent strong{color:var(--app-success)}.app-ai-performance-score.is-attention strong{color:var(--app-danger)}.app-ai-performance-grade,.app-ai-performance-metrics article,.app-ai-target{padding:15px;border:1px solid rgba(212,168,95,.18);border-radius:16px;background:#101010}.app-ai-performance-grade strong{color:var(--app-gold-soft);font-size:20px}.app-ai-performance-grade p{margin-bottom:0;line-height:1.6}.app-ai-performance-metrics{display:grid;gap:9px}.app-ai-performance-metrics span,.app-ai-performance-metrics strong{display:block}.app-ai-performance-metrics span{color:var(--app-muted);font-size:12px}.app-ai-performance-metrics strong{margin-top:6px;font-size:22px}.app-ai-performance-metrics p{margin:7px 0 0;font-size:13px}.app-ai-performance-metrics .is-good{border-color:rgba(66,216,121,.35)}.app-ai-performance-metrics .is-attention{border-color:rgba(255,98,91,.4)}.app-ai-target>div:first-child{display:flex;justify-content:space-between}.app-ai-target__bar{height:10px;margin-top:11px;overflow:hidden;border-radius:999px;background:#2a2a2a}.app-ai-target__bar i{display:block;height:100%;background:linear-gradient(90deg,#b88735,#f4d17d)}.app-ai-coach-comment{padding:16px;border-left:3px solid var(--app-gold);background:rgba(212,168,95,.08)}.app-ai-coach-comment>span{color:var(--app-gold-soft);font-size:12px;font-weight:700}.app-ai-coach-comment p{margin-bottom:0;color:#ddd;line-height:1.65}.app-measurement-history-report{margin-bottom:15px;padding:13px;border:1px solid rgba(212,168,95,.2);border-radius:14px;background:#101010}.app-measurement-history-report span,.app-measurement-history-report strong{display:block}.app-measurement-history-report span{color:var(--app-muted);font-size:12px}.app-measurement-history-report strong{margin-top:5px;color:var(--app-gold-soft)}.app-measurement-history-report p{margin:9px 0 0;color:var(--app-muted)}
