:root {
  --app-primary: #0876b9;
  --app-primary-dark: #064f91;
  --app-background: #f4f8fc;
  --app-surface: #ffffff;
  --app-text: #172033;
  --app-muted: #657186;
  --app-border: #dce5ef;
  --app-danger: #c9364f;
  --app-success: #16835d;
  --app-shadow: 0 20px 60px rgba(22, 54, 88, 0.12);
  --safe-top: max(18px, env(safe-area-inset-top));
  --safe-bottom: max(18px, env(safe-area-inset-bottom));
  --safe-left: max(20px, env(safe-area-inset-left));
  --safe-right: max(20px, env(safe-area-inset-right));
}

* {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html,
body {
  min-height: 100%;
  margin: 0;
}

body {
  min-height: 100dvh;
  overflow: hidden;
  background: #e9eff6;
  color: var(--app-text);
  font-family: "Google Sans Flex", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

button,
input {
  font: inherit;
}

button,
a {
  touch-action: manipulation;
}

button {
  color: inherit;
}

.mobile-stage {
  position: relative;
  width: 100%;
  max-width: 460px;
  min-height: 100dvh;
  height: 100dvh;
  margin: 0 auto;
  overflow: hidden;
  background:
    radial-gradient(circle at 92% 2%, rgba(8, 118, 185, 0.08), transparent 28%),
    var(--app-background);
}

@media (min-width: 600px) {
  body {
    padding: 18px 0;
  }

  .mobile-stage {
    min-height: calc(100dvh - 36px);
    height: calc(100dvh - 36px);
    border: 1px solid rgba(112, 137, 165, 0.22);
    border-radius: 30px;
    box-shadow: var(--app-shadow);
  }
}

.screen {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  padding:
    var(--safe-top)
    var(--safe-right)
    var(--safe-bottom)
    var(--safe-left);
  overflow: hidden auto;
  visibility: hidden;
  background:
    radial-gradient(circle at 92% 2%, rgba(8, 118, 185, 0.08), transparent 28%),
    var(--app-background);
  transform: translateX(102%);
  transition:
    transform 300ms cubic-bezier(0.32, 0.72, 0, 1),
    visibility 300ms;
  will-change: transform;
}

.screen.is-active {
  z-index: 3;
  visibility: visible;
  transform: translateX(0);
}

.screen.from-left {
  z-index: 3;
  visibility: visible;
  transform: translateX(-28%);
}

.screen.from-right {
  z-index: 3;
  visibility: visible;
  transform: translateX(102%);
}

.screen.to-left,
.screen.to-right {
  z-index: 2;
  visibility: visible;
}

.screen.to-left {
  transform: translateX(-28%);
}

.screen.to-right {
  transform: translateX(102%);
}

.welcome-screen {
  justify-content: space-between;
}

.welcome-visual {
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: center;
  padding-top: 4vh;
}

.brand-logo {
  display: block;
  object-fit: contain;
}

.brand-logo-large {
  width: min(86%, 330px);
  height: auto;
  margin: 0 auto 8px;
}

.welcome-copy {
  max-width: 340px;
  margin: -4px auto 0;
  text-align: center;
}

.welcome-copy h1,
.title-block h1,
.success-content h1 {
  margin: 0;
  font-size: clamp(29px, 8vw, 36px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.12;
}

.welcome-copy p,
.title-block p {
  margin: 14px 0 0;
  color: var(--app-muted);
  font-size: 16px;
  line-height: 1.58;
}

.welcome-actions {
  display: grid;
  gap: 11px;
  width: 100%;
  padding-top: 28px;
}

.primary-button,
.secondary-button {
  display: inline-flex;
  min-height: 54px;
  width: 100%;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border-radius: 16px;
  padding: 0 20px;
  font-size: 16px;
  font-weight: 650;
  text-decoration: none;
  transition:
    transform 120ms ease,
    background-color 180ms ease,
    border-color 180ms ease,
    opacity 180ms ease;
}

.primary-button {
  border: 1px solid var(--app-primary);
  background: var(--app-primary);
  color: #fff;
  box-shadow: 0 8px 20px rgba(8, 100, 163, 0.16);
}

.primary-button:active,
.secondary-button:active,
.icon-button:active {
  transform: scale(0.98);
}

.primary-button:hover {
  background: var(--app-primary-dark);
  border-color: var(--app-primary-dark);
}

.secondary-button {
  border: 1px solid var(--app-border);
  background: rgba(255, 255, 255, 0.75);
  color: var(--app-primary-dark);
}

.primary-button:focus-visible,
.secondary-button:focus-visible,
.icon-button:focus-visible,
.text-button:focus-visible,
.inline-link:focus-visible,
input:focus-visible {
  outline: 3px solid rgba(8, 118, 185, 0.18);
  outline-offset: 2px;
}

.primary-button:disabled,
.secondary-button:disabled {
  cursor: not-allowed;
  opacity: 0.58;
}

.screen-header {
  display: flex;
  min-height: 48px;
  align-items: center;
  justify-content: space-between;
}

.icon-button {
  display: inline-flex;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  margin-left: -8px;
  border: 0;
  border-radius: 15px;
  background: transparent;
  cursor: pointer;
}

.icon-button svg {
  width: 25px;
  height: 25px;
  stroke-width: 2.25;
}

.step-label {
  color: var(--app-muted);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: 0.02em;
}

.progress-track {
  width: 100%;
  height: 4px;
  margin-top: 9px;
  overflow: hidden;
  border-radius: 4px;
  background: #dce6ef;
}

.progress-track span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--app-primary);
  transition: width 250ms ease;
}

.screen-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: center;
  padding: clamp(32px, 8vh, 72px) 0 max(20px, 5vh);
}

.title-block {
  margin-bottom: 34px;
}

.eyebrow {
  display: block;
  margin-bottom: 9px;
  color: var(--app-primary);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.title-block strong {
  color: var(--app-text);
  font-weight: 650;
  overflow-wrap: anywhere;
}

.code-mark,
.success-mark,
.topbar-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.code-mark {
  width: 48px;
  height: 48px;
  margin-bottom: 19px;
  border-radius: 15px;
  background: rgba(8, 118, 185, 0.1);
  color: var(--app-primary);
}

.code-mark svg {
  width: 25px;
  height: 25px;
}

form {
  width: 100%;
}

.field-group {
  margin-bottom: 22px;
}

.field-group label {
  display: block;
  margin: 0 0 8px 2px;
  font-size: 14px;
  font-weight: 650;
}

.input-wrap {
  position: relative;
  display: flex;
  min-height: 56px;
  align-items: center;
  border: 1px solid var(--app-border);
  border-radius: 16px;
  background: var(--app-surface);
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.input-wrap:focus-within {
  border-color: var(--app-primary);
  box-shadow: 0 0 0 4px rgba(8, 118, 185, 0.09);
}

.input-wrap > svg {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  margin-left: 17px;
  color: #8491a3;
  stroke-width: 1.9;
}

.input-wrap input {
  min-width: 0;
  min-height: 54px;
  flex: 1;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--app-text);
  padding: 0 16px 0 12px;
  font-size: 16px;
}

.input-wrap input::placeholder {
  color: #9aa5b4;
}

.field-message {
  min-height: 20px;
  margin: 7px 2px 0;
  color: var(--app-danger);
  font-size: 13px;
  line-height: 1.45;
}

.field-message.centered {
  margin-top: 11px;
  text-align: center;
}

.field-hint {
  margin: 8px 2px 0;
  color: var(--app-muted);
  font-size: 13px;
  line-height: 1.45;
}

.form-submit {
  margin-top: 4px;
}

.otp-fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.otp-group {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: clamp(7px, 2.1vw, 10px);
}

.otp-group input {
  width: 100%;
  min-width: 0;
  height: clamp(52px, 14vw, 59px);
  border: 1px solid var(--app-border);
  border-radius: 14px;
  outline: 0;
  background: var(--app-surface);
  color: var(--app-text);
  font-size: 23px;
  font-weight: 700;
  text-align: center;
  caret-color: var(--app-primary);
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

.otp-group input:focus {
  border-color: var(--app-primary);
  box-shadow: 0 0 0 3px rgba(8, 118, 185, 0.1);
}

.otp-group.has-error input {
  border-color: rgba(201, 54, 79, 0.65);
  animation: otp-shake 280ms ease;
}

@keyframes otp-shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-3px); }
  75% { transform: translateX(3px); }
}

.text-button,
.inline-link {
  min-height: 44px;
  border: 0;
  background: transparent;
  color: var(--app-primary);
  font-size: 14px;
  font-weight: 650;
  cursor: pointer;
}

.resend-button {
  display: block;
  margin: 13px auto 0;
  padding: 0 10px;
}

.resend-button:disabled {
  color: var(--app-muted);
  cursor: default;
}

.inline-link {
  padding: 2px;
}

.is-hidden {
  display: none !important;
}

.toast {
  position: absolute;
  z-index: 20;
  right: max(16px, env(safe-area-inset-right));
  bottom: max(18px, env(safe-area-inset-bottom));
  left: max(16px, env(safe-area-inset-left));
  visibility: hidden;
  border: 1px solid rgba(220, 229, 239, 0.8);
  border-radius: 14px;
  background: #172033;
  color: #fff;
  padding: 13px 16px;
  opacity: 0;
  box-shadow: 0 12px 30px rgba(16, 28, 45, 0.2);
  font-size: 14px;
  line-height: 1.45;
  transform: translateY(12px);
  transition:
    opacity 180ms ease,
    transform 180ms ease,
    visibility 180ms;
}

.toast.is-visible {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.static-page {
  display: flex;
  flex-direction: column;
  padding:
    var(--safe-top)
    var(--safe-right)
    var(--safe-bottom)
    var(--safe-left);
}

.app-topbar {
  display: flex;
  min-height: 52px;
  align-items: center;
  gap: 10px;
  font-size: 17px;
  font-weight: 700;
}

.topbar-logo {
  width: 42px;
  height: 30px;
  object-fit: contain;
}

.topbar-icon {
  width: 40px;
  height: 40px;
  border-radius: 13px;
  background: rgba(8, 118, 185, 0.1);
  color: var(--app-primary);
}

.topbar-icon svg {
  width: 21px;
}

.success-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.success-mark {
  width: 66px;
  height: 66px;
  margin-bottom: 24px;
  border-radius: 22px;
  background: rgba(22, 131, 93, 0.11);
  color: var(--app-success);
}

.success-mark svg {
  width: 31px;
  height: 31px;
  stroke-width: 2.4;
}

.admin-mark {
  background: rgba(8, 118, 185, 0.1);
  color: var(--app-primary);
}

.success-content .eyebrow {
  margin-bottom: 10px;
}

.user-name {
  margin: 12px 0 0;
  color: var(--app-muted);
  font-size: 17px;
}

.bottom-action {
  padding-top: 24px;
}

.button-link svg {
  width: 19px;
  height: 19px;
}

.panel-login-page {
  overflow-y: auto;
}

.panel-login-content {
  width: 100%;
  margin: auto 0;
  padding: 24px 0;
}

.panel-logo {
  width: min(64%, 250px);
  margin: 0 auto 18px;
}

.panel-login-content .title-block {
  text-align: center;
}

.panel-login-content form .field-group {
  margin-bottom: 16px;
}

.password-toggle {
  display: inline-flex;
  width: 48px;
  height: 52px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  border: 0;
  background: transparent;
  color: var(--app-muted);
  cursor: pointer;
}

.password-toggle svg {
  width: 20px;
  height: 20px;
}

@media (max-height: 680px) {
  .screen-body {
    justify-content: flex-start;
    padding-top: 28px;
  }

  .title-block {
    margin-bottom: 24px;
  }

  .welcome-visual {
    justify-content: flex-start;
  }

  .brand-logo-large {
    width: min(66%, 270px);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Giriş sonrasındaki tek mobil uygulama kabuğu */
.mobile-app-shell {
  padding: 0;
}

.app-view-stack {
  position: absolute;
  inset: 0 0 82px;
  overflow: hidden;
}

.app-view {
  position: absolute;
  inset: 0;
  visibility: hidden;
  background: var(--app-background);
  transform: translateX(100%);
  transition: transform 280ms cubic-bezier(.32,.72,0,1), visibility 280ms;
  will-change: transform;
}

.app-view.is-active {
  visibility: visible;
  z-index: 3;
  transform: translateX(0);
}

.app-view.from-left { visibility: visible; z-index: 3; transform: translateX(-24%); }
.app-view.from-right { visibility: visible; z-index: 3; transform: translateX(100%); }
.app-view.to-left { visibility: visible; z-index: 2; transform: translateX(-24%); }
.app-view.to-right { visibility: visible; z-index: 2; transform: translateX(100%); }

.view-scroll {
  height: 100%;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding:
    calc(var(--safe-top) + 8px)
    var(--safe-right)
    28px
    var(--safe-left);
}

.view-header { margin: 8px 0 24px; }
.view-header h1 { margin: 0; font-size: 31px; line-height: 1.1; letter-spacing: -.035em; font-weight: 700; }
.section-kicker { margin: 0 0 7px; color: var(--app-primary); text-transform: uppercase; letter-spacing: .08em; font-size: 12px; font-weight: 700; }

.app-tabbar {
  position: absolute;
  z-index: 12;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  min-height: 82px;
  padding: 7px max(8px, env(safe-area-inset-right)) max(7px, env(safe-area-inset-bottom)) max(8px, env(safe-area-inset-left));
  border-top: 1px solid rgba(199,211,224,.82);
  background: rgba(251,253,255,.92);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.tab-item {
  display: flex;
  min-width: 0;
  min-height: 56px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  border: 0;
  border-radius: 13px;
  background: transparent;
  color: #8995a5;
  cursor: pointer;
  transition: color 160ms ease, background 160ms ease, transform 100ms ease;
}
.tab-item:active { transform: scale(.97); }
.tab-item.is-active { color: var(--app-primary); }
.tab-item svg { width: 22px; height: 22px; stroke-width: 2; }
.tab-item span { max-width: 100%; overflow: hidden; font-size: 11px; font-weight: 650; text-overflow: ellipsis; white-space: nowrap; }

.home-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 4px; }
.home-header p { margin: 0 0 3px; color: var(--app-muted); font-size: 15px; }
.home-header h1 { margin: 0; font-size: 25px; letter-spacing: -.025em; line-height: 1.2; }
.home-actions { display: flex; align-items: center; gap: 8px; }
.home-actions button, .home-actions span {
  display: inline-flex; width: 42px; height: 42px; align-items: center; justify-content: center;
  border: 1px solid var(--app-border); border-radius: 14px; background: var(--app-surface); color: var(--app-muted);
}
.home-actions button { cursor: default; }
.home-actions span { border-color: rgba(8,118,185,.12); background: rgba(8,118,185,.1); color: var(--app-primary); }
.home-actions svg { width: 20px; }
.home-intro { margin: 18px 0 24px; color: var(--app-muted); font-size: 14px; line-height: 1.5; }

.balance-card {
  margin-bottom: 27px; padding: 23px; border-radius: 23px;
  background: linear-gradient(145deg, var(--app-primary-dark), var(--app-primary)); color: #fff;
  box-shadow: 0 13px 28px rgba(6,79,145,.18);
}
.balance-card > p { margin: 0 0 7px; color: rgba(255,255,255,.72); font-size: 13px; }
.balance-card > strong { display: block; font-size: 30px; letter-spacing: -.035em; }
.balance-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 23px 0 18px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.2); }
.balance-meta span { font-size: 14px; font-weight: 650; }
.balance-meta small { display: block; margin-bottom: 5px; color: rgba(255,255,255,.66); font-size: 11px; font-weight: 500; }
.due-line { display: flex; min-height: 38px; align-items: center; gap: 8px; padding: 0 11px; border-radius: 11px; background: rgba(255,255,255,.1); font-size: 12px; }
.due-line svg { width: 16px; }.due-line strong { margin-left: auto; }

.section-title { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 13px; }
.section-title h2 { margin: 0; font-size: 18px; letter-spacing: -.02em; }
.section-title button { min-height: 44px; border: 0; background: transparent; color: var(--app-primary); font-size: 13px; font-weight: 650; }
.quick-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; margin-bottom: 27px; }
.quick-grid button {
  position: relative; display: flex; min-height: 128px; flex-direction: column; align-items: flex-start; justify-content: space-between;
  border: 1px solid var(--app-border); border-radius: 18px; background: var(--app-surface); padding: 16px; text-align: left; cursor: pointer;
}
.quick-grid button > span { display: inline-flex; width: 38px; height: 38px; align-items: center; justify-content: center; border-radius: 12px; background: rgba(8,118,185,.1); color: var(--app-primary); }
.quick-grid button strong { max-width: 110px; font-size: 14px; line-height: 1.3; }
.quick-grid button > svg { position: absolute; right: 13px; bottom: 15px; width: 16px; color: var(--app-muted); }

.surface-card, .account-card, .receivable-card { border: 1px solid var(--app-border); border-radius: 18px; background: var(--app-surface); }
.surface-card { overflow: hidden; margin-bottom: 24px; }
.movement-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 15px 16px; border-bottom: 1px solid #edf1f5; }
.movement-row:last-child { border-bottom: 0; }
.movement-row div { display: flex; flex-direction: column; gap: 4px; }
.movement-row strong { font-size: 14px; }.movement-row span { color: var(--app-muted); font-size: 12px; }
.movement-money { align-items: flex-end; }.movement-money > strong { font-size: 14px; }

.safe-summary {
  display: flex; width: 100%; min-height: 112px; align-items: center; gap: 14px; margin: 0 0 6px;
  border: 1px solid rgba(8,118,185,.18); border-radius: 19px; background: #edf7fd; padding: 17px; text-align: left;
}
.safe-summary > span { display: inline-flex; width: 44px; height: 44px; flex: 0 0 auto; align-items: center; justify-content: center; border-radius: 14px; background: var(--app-surface); color: var(--app-primary); }
.safe-summary div { flex: 1; }.safe-summary strong { font-size: 16px; }.safe-summary p { margin: 5px 0; color: var(--app-muted); font-size: 12px; line-height: 1.4; }.safe-summary small { color: var(--app-primary); font-weight: 700; }.safe-summary > svg { width: 18px; color: var(--app-primary); }

.feature-empty { margin-top: 17vh; text-align: center; }
.feature-icon { display: inline-flex; width: 65px; height: 65px; align-items: center; justify-content: center; border-radius: 21px; background: rgba(8,118,185,.1); color: var(--app-primary); }
.feature-icon svg { width: 31px; height: 31px; }
.feature-empty h2 { margin: 22px 0 9px; font-size: 21px; }
.feature-empty > p { max-width: 310px; margin: 0 auto; color: var(--app-muted); font-size: 15px; line-height: 1.55; }
.info-strip { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 27px auto 0; border: 1px solid var(--app-border); border-radius: 14px; background: var(--app-surface); padding: 13px; color: var(--app-muted); font-size: 13px; }
.info-strip svg { width: 17px; }

.payment-summary-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; margin-bottom: 20px; }
.payment-summary-grid > div { min-width: 0; border: 1px solid var(--app-border); border-radius: 15px; background: var(--app-surface); padding: 13px 10px; }
.payment-summary-grid small { display: block; margin-bottom: 5px; color: var(--app-muted); font-size: 10px; }
.payment-summary-grid strong { display: block; overflow: hidden; font-size: 13px; text-overflow: ellipsis; }
.filter-pills { display: flex; gap: 7px; margin: 0 -1px 18px; overflow-x: auto; scrollbar-width: none; }
.filter-pills button { min-height: 40px; flex: 0 0 auto; border: 1px solid var(--app-border); border-radius: 999px; background: var(--app-surface); padding: 0 16px; color: var(--app-muted); font-size: 13px; font-weight: 650; }
.filter-pills button.is-active { border-color: var(--app-primary); background: var(--app-primary); color: #fff; }
.receivable-list { display: grid; gap: 12px; }
.receivable-card { padding: 17px; }
.receivable-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.receivable-head small, .detail-hero small { display: block; margin-bottom: 4px; color: var(--app-muted); font-size: 11px; }
.receivable-head strong { font-size: 17px; }
.receivable-person { display: flex; align-items: center; gap: 7px; margin: 15px 0; color: var(--app-muted); font-size: 13px; }.receivable-person svg { width: 16px; }
.money-columns { display: grid; grid-template-columns: repeat(3,1fr); gap: 6px; margin: 0; padding: 13px 0; border-top: 1px solid #edf1f5; border-bottom: 1px solid #edf1f5; }
.money-columns dt { color: var(--app-muted); font-size: 10px; }.money-columns dd { margin: 4px 0 0; font-size: 12px; font-weight: 700; }
.receivable-dates { display: flex; justify-content: space-between; gap: 8px; margin-top: 13px; color: var(--app-muted); font-size: 11px; }
.receivable-dates span { display: flex; align-items: center; gap: 5px; }.receivable-dates svg { width: 14px; }
.card-detail-button { display: flex; width: 100%; min-height: 44px; align-items: center; justify-content: center; gap: 5px; margin-top: 12px; border: 0; border-radius: 12px; background: #edf7fd; color: var(--app-primary); font-size: 13px; font-weight: 700; }.card-detail-button svg { width: 15px; }

.status-badge { display: inline-flex; min-height: 26px; align-items: center; border-radius: 999px; padding: 0 9px; font-size: 10px; font-weight: 700; white-space: nowrap; }
.status-paid { background: #e7f7f0; color: #137252; }.status-overdue { background: #fff0f1; color: #b42e45; }
.status-partial { background: #fff6df; color: #906714; }.status-unpaid { background: #edf1f5; color: #5f6c7e; }
.empty-card { border: 1px dashed #cfd9e5; border-radius: 18px; padding: 28px 18px; text-align: center; }
.empty-card > svg { width: 29px; margin: 0 auto 12px; color: #8e9cad; }.empty-card h3 { margin: 0 0 6px; font-size: 15px; }.empty-card p, .muted-copy { margin: 0; color: var(--app-muted); font-size: 13px; line-height: 1.5; }

.profile-hero { display: flex; flex-wrap: wrap; align-items: center; gap: 13px; margin-bottom: 16px; border: 1px solid var(--app-border); border-radius: 19px; background: var(--app-surface); padding: 17px; }
.profile-hero > span { display: inline-flex; width: 50px; height: 50px; align-items: center; justify-content: center; border-radius: 16px; background: rgba(8,118,185,.1); color: var(--app-primary); }.profile-hero > span svg { width: 27px; }
.profile-hero div { min-width: 0; flex: 1; }.profile-hero h2 { margin: 0; font-size: 17px; }.profile-hero p { margin: 4px 0 0; overflow: hidden; color: var(--app-muted); font-size: 12px; text-overflow: ellipsis; }
.profile-hero em { display: flex; align-items: center; gap: 4px; margin-left: 63px; color: var(--app-success); font-size: 11px; font-style: normal; }.profile-hero em svg { width: 14px; }
.account-card { margin-bottom: 14px; padding: 17px; }
.account-card label, .bottom-sheet label { display: block; margin-bottom: 15px; font-size: 13px; font-weight: 650; }.account-card label .input-wrap, .bottom-sheet label .input-wrap { margin-top: 7px; }
.account-card .detail-list { margin-bottom: 16px; }
.verified-text { color: var(--app-success) !important; font-weight: 700 !important; }
.logout-button { display: flex; min-height: 52px; align-items: center; justify-content: center; gap: 8px; margin-top: 20px; border: 1px solid rgba(201,54,79,.18); border-radius: 16px; background: #fff5f6; color: var(--app-danger); font-weight: 650; text-decoration: none; }.logout-button svg { width: 19px; }

.sheet-backdrop { position: absolute; z-index: 29; inset: 0; background: rgba(14,25,40,.34); opacity: 0; transition: opacity 240ms ease; }
.sheet-backdrop.is-open { opacity: 1; }
.bottom-sheet { position: absolute; z-index: 30; right: 0; bottom: 0; left: 0; max-height: 88%; overflow: hidden; border-radius: 25px 25px 0 0; background: var(--app-surface); padding: 8px var(--safe-right) var(--safe-bottom) var(--safe-left); transform: translateY(102%); transition: transform 280ms cubic-bezier(.32,.72,0,1); box-shadow: 0 -15px 45px rgba(17,33,53,.16); }
.bottom-sheet.is-open { transform: translateY(0); }
.sheet-handle { width: 38px; height: 5px; margin: 2px auto 7px; border-radius: 5px; background: #d1dae4; }
.sheet-head { display: flex; min-height: 50px; align-items: center; justify-content: space-between; }.sheet-head h2 { margin: 0; font-size: 20px; }.sheet-close { margin-right: -8px; }
.sheet-body { max-height: calc(88dvh - 82px); overflow-y: auto; padding: 8px 0 4px; }
.detail-hero { position: relative; border-radius: 17px; background: var(--app-background); padding: 17px; }.detail-hero h3 { margin: 0; font-size: 21px; }.detail-hero .status-badge { position: absolute; top: 17px; right: 17px; }
.detail-list { margin: 14px 0; }
.detail-list > div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid #edf1f5; }.detail-list dt { color: var(--app-muted); font-size: 13px; }.detail-list dd { margin: 0; max-width: 60%; font-size: 13px; font-weight: 650; text-align: right; overflow-wrap: anywhere; }
.note-box { margin: 15px 0; border-radius: 14px; background: #fff8e8; padding: 14px; }.note-box strong { font-size: 12px; }.note-box p { margin: 6px 0 0; color: var(--app-muted); font-size: 13px; line-height: 1.5; }
.sheet-section-title { margin: 20px 0 10px; font-size: 15px; }
.transaction-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid #edf1f5; }.transaction-row span:first-child { display: flex; flex-direction: column; gap: 4px; }.transaction-row strong { font-size: 14px; }.transaction-row small { color: var(--app-muted); font-size: 11px; }
.sheet-copy { margin: 0 0 18px; color: var(--app-muted); line-height: 1.5; }

.skeleton { display: block; overflow: hidden; border-radius: 13px; background: #e6ebf1; position: relative; }
.skeleton::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg,transparent,rgba(255,255,255,.62),transparent); transform: translateX(-100%); animation: skeleton-shimmer 1.4s infinite; }
@keyframes skeleton-shimmer { to { transform: translateX(100%); } }
.skeleton-header { display: grid; gap: 10px; }.skeleton-line { height: 16px; }.skeleton-line.short { width: 30%; }.skeleton-line.wide { width: 66%; height: 28px; }
.skeleton-card { height: 178px; margin-bottom: 20px; }.skeleton-card.tall { height: 250px; }
.skeleton-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; }.skeleton-tile { height: 125px; }
.skeleton-list-row { height: 118px; margin-bottom: 12px; }
