:root {
  --green: #00aa5b;
  --green-2: #08c46f;
  --ink: #101828;
  --muted: #667085;
  --soft: #f6f8fb;
  --card: #ffffff;
  --blue: #1570ef;
  --orange: #f79009;
  --purple: #7a5af8;
  --red: #f04438;
  --radius: 28px;
}

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

html,
body {
  margin: 0;
  min-height: 100%;
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  background: #dfe5ee;
  color: var(--ink);
}

body {
  display: flex;
  justify-content: center;
}

.phone-frame {
  width: 100%;
  max-width: 430px;
  min-height: 100vh;
  background: #dfe5ee;
}

.app-shell {
  min-height: 100vh;
  background:
    radial-gradient(circle at top right, rgba(0,170,91,.16), transparent 32%),
    var(--soft);
  position: relative;
  overflow-x: hidden;
}

.page-view {
  padding: calc(18px + env(safe-area-inset-top)) 20px 124px;
  animation: pageIn .28s ease both;
}

@keyframes pageIn {
  from { opacity: 0; transform: translateY(10px) scale(.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.app-header {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-icon {
  width: 56px;
  height: 56px;
  border-radius: 20px;
  background: transparent;
  display: grid;
  place-items: center;
  color: white;
  box-shadow: 0 16px 30px rgba(0, 170, 91, .28);
}

.brand-icon svg {
  width: 28px;
  height: 28px;
}

.header-title {
  flex: 1;
}

.header-title h1 {
  margin: 0;
  font-size: 25px;
  font-weight: 900;
  letter-spacing: -.7px;
}

.header-title p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.icon-btn {
  width: 52px;
  height: 52px;
  border: 0;
  border-radius: 19px;
  background: rgba(255,255,255,.9);
  color: var(--ink);
  display: grid;
  place-items: center;
  box-shadow: 0 12px 26px rgba(16,24,40,.08);
}

.icon-btn svg {
  width: 23px;
  height: 23px;
}

.hero-card {
  margin-top: 20px;
  min-height: 178px;
  padding: 22px;
  border-radius: 32px;
  background:
    radial-gradient(circle at 85% 80%, rgba(255,255,255,.25), transparent 28%),
    linear-gradient(145deg, #00aa5b, #059669);
  color: white;
  box-shadow: 0 20px 38px rgba(0,170,91,.28);
  position: relative;
  overflow: hidden;
}

.hero-label {
  font-size: 13px;
  font-weight: 800;
  opacity: .86;
}

.hero-value {
  margin: 10px 0 8px;
  font-size: 38px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: -1.6px;
}

.hero-meta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 11px;
  border-radius: 999px;
  background: rgba(255,255,255,.17);
  font-size: 13px;
  font-weight: 850;
}

.hero-meta svg {
  width: 17px;
  height: 17px;
}

.primary-cta {
  margin-top: 16px;
  height: 76px;
  border: 0;
  width: 100%;
  border-radius: 26px;
  background: #101828;
  color: white;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 18px;
  box-shadow: 0 18px 32px rgba(16,24,40,.18);
  font-family: inherit;
  text-align: left;
}

.primary-cta .cta-icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: white;
  color: #101828;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}

.primary-cta strong {
  display: block;
  font-size: 18px;
  font-weight: 900;
}

.primary-cta small {
  display: block;
  margin-top: 3px;
  color: rgba(255,255,255,.68);
  font-weight: 700;
}

.primary-cta .chev {
  margin-left: auto;
}

.glass-card,
.card {
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,.76);
  border-radius: var(--radius);
  box-shadow: 0 14px 30px rgba(16,24,40,.06);
}

.quick-card {
  margin-top: 18px;
  padding: 16px 14px;
}

.card-title {
  font-size: 18px;
  font-weight: 900;
  letter-spacing: -.4px;
  margin: 0 0 14px;
}

.quick-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.quick-item {
  border: 0;
  background: transparent;
  font-family: inherit;
  display: grid;
  justify-items: center;
  gap: 9px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 900;
}

.quick-icon {
  width: 52px;
  height: 52px;
  border-radius: 18px;
  display: grid;
  place-items: center;
}

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

.bg-green { background: rgba(0,170,91,.12); color: var(--green); }
.bg-blue { background: rgba(21,112,239,.12); color: var(--blue); }
.bg-orange { background: rgba(247,144,9,.14); color: var(--orange); }
.bg-purple { background: rgba(122,90,248,.12); color: var(--purple); }
.bg-red { background: rgba(240,68,56,.12); color: var(--red); }

.section-head {
  margin: 26px 0 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.section-head h2 {
  margin: 0;
  font-size: 21px;
  font-weight: 900;
  letter-spacing: -.5px;
}

.section-head button,
.section-head a {
  border: 0;
  background: transparent;
  color: var(--green);
  font-family: inherit;
  font-weight: 900;
  text-decoration: none;
}

.list-card {
  padding: 15px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.avatar {
  width: 52px;
  height: 52px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}

.avatar.round {
  border-radius: 50%;
}

.avatar svg {
  width: 25px;
  height: 25px;
}

.item-main {
  flex: 1;
  min-width: 0;
}

.item-main strong {
  display: block;
  font-size: 15px;
  font-weight: 900;
}

.item-main small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.badge {
  padding: 7px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 900;
}

.badge.green { background: rgba(0,170,91,.12); color: var(--green); }
.badge.blue { background: rgba(21,112,239,.12); color: var(--blue); }
.badge.orange { background: rgba(247,144,9,.14); color: var(--orange); }
.badge.purple { background: rgba(122,90,248,.12); color: var(--purple); }

.search-box {
  width: 100%;
  height: 58px;
  border: 0;
  outline: 0;
  border-radius: 22px;
  padding: 0 18px;
  margin-top: 18px;
  background: rgba(255,255,255,.94);
  box-shadow: 0 12px 28px rgba(16,24,40,.06);
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 11px;
}

.stat-card {
  padding: 14px;
  min-height: 112px;
}

.stat-card svg {
  width: 22px;
  height: 22px;
}

.stat-card b {
  display: block;
  margin-top: 18px;
  font-size: 26px;
  font-weight: 900;
}

.stat-card small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.bottom-nav {
  position: fixed;
  left: 50%;
  bottom: calc(14px + env(safe-area-inset-bottom));
  transform: translateX(-50%);
  width: calc(100% - 32px);
  max-width: 398px;
  height: 74px;
  padding: 7px;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(255,255,255,.85);
  border-radius: 30px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  box-shadow: 0 18px 42px rgba(16,24,40,.18);
  z-index: 50;
}

.nav-item {
  border: 0;
  background: transparent;
  border-radius: 23px;
  color: #98a2b3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  font-family: inherit;
  font-size: 10px;
  font-weight: 900;
  transition: .22s ease;
}

.nav-item svg {
  width: 22px;
  height: 22px;
  stroke-width: 2.5;
}

.nav-item.active {
  color: var(--green);
  background: rgba(0,170,91,.12);
  transform: translateY(-2px);
}

.nav-item:active,
.primary-cta:active,
.quick-item:active {
  transform: scale(.96);
}

.sheet-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(16, 24, 40, .35);
  backdrop-filter: blur(8px);
  z-index: 100;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.bottom-sheet {
  width: 100%;
  max-width: 430px;
  background: white;
  border-radius: 32px 32px 0 0;
  padding: 14px 20px 24px;
  animation: sheetUp .25s ease both;
}

@keyframes sheetUp {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}

.sheet-handle {
  width: 44px;
  height: 5px;
  background: #d0d5dd;
  border-radius: 99px;
  margin: 0 auto 18px;
}

.bottom-sheet h2 {
  margin: 0 0 6px;
  font-size: 22px;
  font-weight: 900;
}

.sheet-subtitle {
  margin: 0 0 16px;
  color: var(--muted);
  font-weight: 700;
}

.form-input {
  width: 100%;
  height: 56px;
  border: 0;
  outline: 0;
  border-radius: 20px;
  background: #f6f8fb;
  padding: 0 16px;
  margin-bottom: 12px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
}

.total-box {
  background: #101828;
  color: white;
  border-radius: 24px;
  padding: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 6px 0 14px;
}

.total-box span {
  color: rgba(255,255,255,.72);
  font-weight: 700;
}

.total-box strong {
  font-size: 22px;
  font-weight: 900;
}

.save-btn {
  width: 100%;
  height: 58px;
  border: 0;
  border-radius: 22px;
  background: var(--green);
  color: white;
  font-family: inherit;
  font-size: 16px;
  font-weight: 900;
}

.cancel-btn {
  width: 100%;
  height: 52px;
  border: 0;
  border-radius: 20px;
  background: transparent;
  color: var(--muted);
  font-family: inherit;
  font-size: 15px;
  font-weight: 850;
  margin-top: 6px;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 104px;
  transform: translateX(-50%);
  width: calc(100% - 36px);
  max-width: 390px;
  min-height: 62px;
  padding: 12px 14px;
  border-radius: 24px;
  background: rgba(16, 24, 40, .92);
  color: white;
  z-index: 300;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 22px 48px rgba(16, 24, 40, .34);
  backdrop-filter: blur(18px);
  animation: toastIn .25s ease both;
  font-weight: 800;
}

.toast.success { border: 1px solid rgba(0, 170, 91, .35); }
.toast.warning { border: 1px solid rgba(247, 144, 9, .38); }
.toast.danger { border: 1px solid rgba(240, 68, 56, .38); }

.toast-icon {
  width: 38px;
  height: 38px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}

.toast.success .toast-icon {
  background: rgba(0, 170, 91, .18);
  color: #22c55e;
}

.toast.warning .toast-icon {
  background: rgba(247, 144, 9, .18);
  color: #fbbf24;
}

.toast.danger .toast-icon {
  background: rgba(240, 68, 56, .18);
  color: #fb7185;
}

.toast-content {
  flex: 1;
}

.toast-title {
  font-size: 14px;
  font-weight: 900;
}

.toast-message {
  margin-top: 2px;
  font-size: 12px;
  color: rgba(255,255,255,.72);
  font-weight: 650;
}

.toast button {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 14px;
  background: rgba(255,255,255,.08);
  color: white;
  display: grid;
  place-items: center;
}

@keyframes toastIn {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(18px) scale(.96);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0) scale(1);
  }
}

.confirm-box {
  background: rgba(255,255,255,.96);
  width: calc(100% - 40px);
  max-width: 390px;
  border-radius: 34px;
  padding: 24px;
  text-align: center;
  box-shadow: 0 24px 60px rgba(16,24,40,.25);
  animation: popIn .22s ease both;
}

.confirm-icon {
  width: 68px;
  height: 68px;
  border-radius: 24px;
  background: rgba(240,68,56,.12);
  color: var(--red);
  display: grid;
  place-items: center;
  margin: 0 auto 16px;
}

.confirm-box h3 {
  margin: 0 0 8px;
  font-size: 22px;
  font-weight: 900;
}

.confirm-box p {
  margin: 0 0 22px;
  color: var(--muted);
  font-weight: 700;
  line-height: 1.5;
}

.confirm-actions {
  display: flex;
  gap: 10px;
}

.confirm-actions button {
  flex: 1;
  height: 54px;
  border: 0;
  border-radius: 20px;
  font-family: inherit;
  font-weight: 900;
}

.btn-muted {
  background: #f2f4f7;
  color: var(--ink);
}

.btn-danger {
  background: var(--red);
  color: white;
}

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

@media (max-width: 360px) {
  .page-view {
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero-value {
    font-size: 32px;
  }

  .quick-grid {
    gap: 4px;
  }

  .quick-icon {
    width: 48px;
    height: 48px;
  }
}

.timeline-card {
  margin: 14px 0;
  padding: 18px;
  border-radius: 26px;
  background: rgba(255,255,255,.94);
  border: 1px solid rgba(255,255,255,.76);
  box-shadow: 0 14px 30px rgba(16,24,40,.06);
}

.timeline-card h3 {
  margin: 0 0 16px;
  font-size: 18px;
  font-weight: 900;
}

.timeline-step {
  display: flex;
  gap: 12px;
  position: relative;
  padding-bottom: 16px;
}

.timeline-step:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 17px;
  top: 34px;
  width: 2px;
  height: calc(100% - 24px);
  background: #e5e7eb;
}

.timeline-step.done:not(:last-child)::after,
.timeline-step.active:not(:last-child)::after {
  background: rgba(0,170,91,.35);
}

.timeline-dot {
  width: 36px;
  height: 36px;
  border-radius: 14px;
  background: #f2f4f7;
  color: #98a2b3;
  display: grid;
  place-items: center;
  z-index: 2;
}

.timeline-dot svg {
  width: 18px;
  height: 18px;
}

.timeline-step.done .timeline-dot {
  background: rgba(0,170,91,.14);
  color: var(--green);
}

.timeline-step.active .timeline-dot {
  background: var(--green);
  color: white;
}

.timeline-content strong {
  display: block;
  font-size: 14px;
  font-weight: 900;
}

.timeline-content small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.bottom-sheet {
  max-height: 88vh;
  overflow-y: auto;
  padding-bottom: calc(24px + env(safe-area-inset-bottom));
}

.bottom-sheet::-webkit-scrollbar {
  display: none;
}
.form-input,
select.form-input {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;

  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' fill='none' stroke='%23667085' stroke-width='2'%3E%3Cpath d='m5 8 5 5 5-5'/%3E%3C/svg%3E")
    no-repeat right 16px center,
    #f8fafc;

  padding-right: 48px;

  border: 1px solid #eaecf0;

  transition: .2s;
}

.form-input:focus {
  border-color: var(--green);
  box-shadow:
    0 0 0 4px rgba(0,170,91,.12);
}

.status-chip-grid {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 10px;
  margin: 14px 0;
}

.status-chip {
  height: 50px;
  border: 0;
  border-radius: 18px;
  background: #f2f4f7;
  color: var(--ink);
  font-family: inherit;
  font-weight: 900;
  transition: .2s;
}

.status-chip.active {
  background: var(--green);
  color: white;
  box-shadow:
    0 12px 24px
    rgba(0,170,91,.25);
}

.status-chip:active {
  transform: scale(.96);
}

.sheet-section-title {
  margin: 16px 0 10px;
  font-size: 15px;
  font-weight: 900;
  color: var(--ink);
}

.status-chip-grid.payment {
  grid-template-columns: repeat(3, 1fr);
}

.payment-chip.active {
  background: #101828;
  color: white;
  box-shadow: 0 12px 24px rgba(16,24,40,.20);
}

.payment-summary {
  margin: 14px 0;
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.payment-summary small {
  display: block;
  color: var(--muted);
  font-weight: 700;
  margin-bottom: 4px;
}

.payment-summary strong {
  font-size: 17px;
  font-weight: 900;
}

.secondary-btn {
  width: 100%;
  height: 56px;
  border: 0;
  border-radius: 22px;
  background: #101828;
  color: white;
  font-family: inherit;
  font-size: 15px;
  font-weight: 900;
  margin-top: 10px;
}

.compact-sheet {
  max-height: 70vh;
}

.badge.red {
  background: rgba(240,68,56,.12);
  color: var(--red);
}

.timeline-step.next {
  cursor: pointer;
}

.timeline-step.next .timeline-dot {
  background: rgba(0,170,91,.12);
  color: var(--green);
  transition: .2s;
}

.timeline-step.next .timeline-content strong {
  color: var(--green);
}

.timeline-step.next:active .timeline-dot {
  transform: scale(.94);
}



.receipt-card {
  background: white;
  border-radius: 26px;
  padding: 20px;
  margin-bottom: 14px;
  color: var(--ink);
  box-shadow: 0 14px 30px rgba(16,24,40,.06);
}

.receipt-card h2 {
  margin: 0;
  text-align: center;
  font-size: 22px;
  font-weight: 900;
}

.receipt-card p {
  margin: 4px 0 0;
  text-align: center;
  color: var(--muted);
  font-weight: 700;
}

.receipt-line {
  border-top: 1px dashed #d0d5dd;
  margin: 14px 0;
}

.receipt-row,
.receipt-total {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin: 10px 0;
}

.receipt-row span,
.receipt-total span {
  color: var(--muted);
  font-weight: 700;
}

.receipt-row strong {
  text-align: right;
  font-weight: 900;
}

.receipt-total strong {
  font-size: 22px;
  font-weight: 900;
}

.receipt-footer {
  margin-top: 16px;
  text-align: center;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.qr-box {
  margin: 16px auto 10px;
  display: grid;
  place-items: center;
  gap: 6px;
}

.qr-box canvas {
  width: 128px;
  height: 128px;
  padding: 8px;
  border-radius: 18px;
  background: white;
  border: 1px solid #eaecf0;
}

.qr-box small {
  color: var(--muted);
  font-weight: 800;
}

.qr-box img {
  width: 128px;
  height: 128px;
  padding: 8px;
  border-radius: 18px;
  background: white;
  border: 1px solid #eaecf0;
}

.qr-reader {
  width: 100%;
  min-height: 260px;
  overflow: hidden;
  border-radius: 24px;
  background: #101828;
  margin: 14px 0;
}

.qr-reader video {
  border-radius: 24px;
}

.timeline-step.pickable {
  cursor: pointer;
  border-radius: 18px;
  margin: 0 -6px;
  padding-left: 6px;
  padding-right: 6px;
}

.timeline-step.pickable:active {
  background: rgba(0,170,91,.06);
}

.whatsapp-btn {
  margin-top: 10px;
  background: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.whatsapp-btn svg {
  width: 20px;
  height: 20px;
}

.progress-panel {
  margin: 14px 0;
  padding: 18px;
  border-radius: 28px;
  background: rgba(255,255,255,.96);
  border: 1px solid rgba(255,255,255,.8);
  box-shadow: 0 16px 34px rgba(16,24,40,.07);
}

.progress-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.progress-head h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 900;
}

.progress-head p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.progress-head span {
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(0,170,91,.12);
  color: var(--green);
  font-size: 11px;
  font-weight: 900;
  white-space: nowrap;
}

.progress-grid {
  display: grid;
  gap: 10px;
}

.progress-step {
  width: 100%;
  border: 0;
  border-radius: 22px;
  padding: 12px;
  background: #f8fafc;
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: inherit;
  text-align: left;
  transition: .18s ease;
}

.progress-step:active {
  transform: scale(.98);
}

.progress-icon {
  width: 42px;
  height: 42px;
  border-radius: 16px;
  background: #eef2f6;
  color: #98a2b3;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}

.progress-icon svg {
  width: 20px;
  height: 20px;
}

.progress-text strong {
  display: block;
  font-size: 14px;
  font-weight: 900;
  color: var(--ink);
}

.progress-text small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.progress-step.done .progress-icon {
  background: rgba(0,170,91,.12);
  color: var(--green);
}

.progress-step.active {
  background: rgba(0,170,91,.10);
  outline: 1px solid rgba(0,170,91,.24);
}

.progress-step.active .progress-icon {
  background: var(--green);
  color: white;
}

.progress-step.future .progress-icon {
  background: rgba(21,112,239,.10);
  color: var(--blue);
}

.wa-confirm .wa-icon {
  background: rgba(37,211,102,.14);
  color: #25d366;
}

.btn-whatsapp {
  background: #25d366;
  color: white;
}

.mini-wa-btn,
.mini-open-btn {
  border: 0;
  border-radius: 16px;
  padding: 10px 13px;
  font-family: inherit;
  font-weight: 900;
}

.mini-wa-btn {
  background: #25d366;
  color: white;
}

.mini-open-btn {
  background: rgba(0,170,91,.12);
  color: var(--green);
}

.empty-state {
  padding: 28px 12px;
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--muted);
}

.empty-state svg {
  width: 42px;
  height: 42px;
  color: var(--green);
  margin-bottom: 10px;
}

.empty-state strong {
  color: var(--ink);
  font-weight: 900;
}

.empty-state small {
  margin-top: 4px;
  font-weight: 700;
}

.report-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 18px;
}

.report-metric {
  min-height: 132px;
  padding: 16px;
}

.report-metric .avatar {
  width: 44px;
  height: 44px;
  border-radius: 16px;
}

.report-metric b {
  display: block;
  margin-top: 18px;
  font-size: 26px;
  font-weight: 900;
}

.report-metric small {
  color: var(--muted);
  font-weight: 800;
}

.finance-summary {
  padding: 18px;
  display: grid;
  gap: 14px;
}

.finance-summary div {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.finance-summary span {
  color: var(--muted);
  font-weight: 800;
}

.finance-summary strong {
  font-size: 17px;
  font-weight: 900;
}

.report-toolbar {
  margin: 14px 0 18px;
}

.calendar-filter-btn {
  width: 100%;
  height: 56px;
  border: 0;
  border-radius: 22px;
  background: white;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 18px;
  box-shadow: 0 10px 24px rgba(16,24,40,.06);
  font-family: inherit;
}

.calendar-filter-btn svg {
  width: 20px;
  height: 20px;
  color: var(--blue);
}

.calendar-filter-btn span {
  font-weight: 800;
  color: var(--ink);
}

.date-label {
  display: block;
  margin: 14px 0 8px;
  font-size: 13px;
  font-weight: 800;
  color: var(--muted);
}

.profile-hero {
  padding: 22px;
  border-radius: 32px;
  background: linear-gradient(145deg, #101828, #1d2939);
  color: white;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: 0 18px 36px rgba(16,24,40,.20);
}

.profile-logo {
  width: 64px;
  height: 64px;
  border-radius: 24px;
  background: rgba(255,255,255,.12);
  display: grid;
  place-items: center;
}

.profile-logo svg {
  width: 30px;
  height: 30px;
}

.profile-hero h1 {
  margin: 0;
  font-size: 26px;
  font-weight: 900;
}

.profile-hero p {
  margin: 4px 0 0;
  color: rgba(255,255,255,.72);
  font-weight: 700;
}

.profile-card {
  margin-top: 18px;
  padding: 18px;
}

.profile-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid #eef2f6;
}

.profile-row:last-child {
  border-bottom: 0;
}

.profile-row span {
  color: var(--muted);
  font-weight: 800;
}

.profile-row strong {
  font-weight: 900;
}

.logout-btn {
  width: 100%;
  height: 56px;
  margin-top: 18px;
  border: 0;
  border-radius: 22px;
  background: rgba(240,68,56,.10);
  color: var(--red);
  font-family: inherit;
  font-weight: 900;
}

.form-textarea {
  width: 100%;
  min-height: 110px;
  border: 0;
  outline: 0;
  border-radius: 20px;
  background: #f6f8fb;
  padding: 14px 16px;
  margin-bottom: 12px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  resize: vertical;
  color: var(--ink);
}

.profile-photo {
  width: 64px;
  height: 64px;
  border-radius: 24px;
  background: rgba(255,255,255,.12);
  display: grid;
  place-items: center;
  overflow: hidden;
  flex: 0 0 auto;
}

.profile-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-photo svg {
  width: 30px;
  height: 30px;
}

.home-profile-row{
  display:flex;
  align-items:center;
  gap:14px;
  margin-bottom:10px;
}

.home-profile-photo{
  width:54px;
  height:54px;
  border-radius:18px;
  object-fit:cover;
}

.home-profile-placeholder{
  width:54px;
  height:54px;
  border-radius:18px;
  background:rgba(255,255,255,.12);
  display:grid;
  place-items:center;
}

.home-profile-placeholder svg{
  width:24px;
  height:24px;
}

.home-header-photo {
  width: 56px;
  height: 56px;
  border-radius: 20px;
  object-fit: cover;
  box-shadow: 0 16px 30px rgba(16,24,40,.16);
}

.google-user{
  display:flex;
  flex-direction:column;
  gap:2px;
  margin-top:8px;
}

.google-user small{
  opacity:.75;
}

.clickable-card {
  cursor: pointer;
  transition: .18s ease;
}

.clickable-card:active {
  transform: scale(.985);
}

.login-screen {
  min-height: 100vh;
  padding: 28px;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at top, rgba(0,170,91,.18), transparent 36%),
    linear-gradient(180deg, #f8fafc, #eef2f6);
}

.login-card {
  width: 100%;
  max-width: 390px;
  padding: 32px 24px;
  border-radius: 36px;
  background: rgba(255,255,255,.92);
  box-shadow: 0 24px 60px rgba(16,24,40,.12);
  text-align: center;
}

.login-logo {
  width: 120px;
  height: 120px;
  margin: 0 auto 18px;
  border-radius: 28px;
  background: transparent;
  color: white;
  display: grid;
  place-items: center;
  box-shadow: none;
}

.login-logo svg {
  width: 38px;
  height: 38px;
}

.login-card h1 {
  margin: 0;
  font-size: 32px;
  font-weight: 900;
}

.login-card p {
  margin: 12px 0 24px;
  color: var(--muted);
  font-weight: 700;
  line-height: 1.6;
}

.login-google-btn {
  width: 100%;
  height: 58px;
  border: 0;
  border-radius: 22px;
  background: #101828;
  color: white;
  font-family: inherit;
  font-size: 15px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.login-google-btn svg {
  width: 20px;
  height: 20px;
}

.login-card small {
  display: block;
  margin-top: 18px;
  color: var(--muted);
  font-weight: 700;
  line-height: 1.5;
}

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

.login-screen{
  position:fixed;
  inset:0;
  overflow:hidden;
  overscroll-behavior:none;
  touch-action:none;
}

.login-logo img{
  width:100%;
  height:100%;
  object-fit:contain;
}

body.login-mode{
  overflow:hidden;
}

.login-screen .login-logo {
  width: 120px !important;
  height: 120px !important;
  background: transparent !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
}

.login-screen .login-logo img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  background: transparent !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}

.trial-banner{
  margin:12px;
  padding:14px 16px;
  border-radius:18px;
  background:linear-gradient(
    135deg,
    #f59e0b,
    #f97316
  );
  color:#fff;
  font-weight:800;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}

.trial-banner button{
  border:0;
  border-radius:12px;
  padding:8px 14px;
  background:#fff;
  color:#111827;
  font-weight:800;
}
