/* Custom Fonts */
@font-face {
  font-family: 'Eighties Comeback';
  src: url('../fonts/EightiesComeback - Medium Condensed.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Commuter Sans';
  src: url('../fonts/CommuterSans-Bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Proxima Nova';
  src: url('../fonts/ProximaNovaLight.otf') format('opentype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Proxima Nova';
  src: url('../fonts/Proxima Nova Semibold.otf') format('opentype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --cpk-dark: #5A453D;
  --cpk-espresso: #5A453D;
  --cpk-brown: #5A453D;
  --cpk-brown-light: #7A6B63;
  --cpk-brown-hover: #6B5A52;
  --cpk-cream: #F7F4EF;
  --cpk-warm-white: #FDFCFA;
  --cpk-gold: #C4A87C;
  --cpk-blue: #A7C7E7;
  --cpk-blue-deep: #8BB5D9;
  --cpk-blue-soft: #CDDEED;
  --cpk-blue-pale: #E5EFF7;
  --cpk-blue-dark: #6A9BBD;
  --cpk-green: #6B8F71;
  --cpk-green-light: #E8F0E9;
  --cpk-text: #3D3229;
  --cpk-text-light: #7A6F63;
  --cpk-border: #E5DDD4;
  --cpk-shadow: rgba(28,22,18,0.08);
  --serif: 'Eighties Comeback', Georgia, serif;
  --display: 'Eighties Comeback', Georgia, serif;
  --tagline: 'Commuter Sans', 'Proxima Nova', -apple-system, sans-serif;
  --sans: 'Proxima Nova', -apple-system, sans-serif;
  --bottom-nav-h: 72px;
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --top-bar-h: 56px;
}

* { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
[onclick], button, a, select, [role="button"] { cursor: pointer; }

html {
  overflow: hidden;
  height: 100%;
  touch-action: manipulation;
}

body {
  font-family: var(--sans);
  background: var(--cpk-cream);
  color: var(--cpk-text);
  height: 100%;
  font-size: 14px;
  line-height: 1.6;
  overflow: hidden;
  overscroll-behavior: none;
}

/* ===== LOGIN SCREEN ===== */
.login-screen {
  position: fixed;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--cpk-dark);
  z-index: 2000;
  padding: 24px;
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.login-screen.hiding {
  opacity: 0;
  transform: scale(1.02);
}

.login-logo {
  width: 200px;
  height: auto;
  display: block;
  margin-bottom: 32px;
}

.login-card {
  width: 100%;
  max-width: 360px;
}

.login-input {
  width: 100%;
  padding: 16px 18px;
  border: 1px solid rgba(247,244,239,0.15);
  border-radius: 10px;
  background: rgba(247,244,239,0.06);
  color: var(--cpk-cream);
  font-family: var(--sans);
  font-size: 16px;
  margin-bottom: 12px;
  outline: none;
  -webkit-appearance: none;
  transition: border-color 0.3s;
}

.login-input::placeholder { color: rgba(247,244,239,0.3); }
.login-input:focus { border-color: var(--cpk-cream); }

.login-btn {
  width: 100%;
  padding: 16px;
  background: var(--cpk-cream);
  color: var(--cpk-brown);
  border: none;
  border-radius: 10px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  margin-top: 4px;
  -webkit-appearance: none;
  transition: background 0.3s;
}

.login-btn:active { background: var(--cpk-border); }

.login-footer {
  margin-top: 32px;
  font-family: var(--serif);
  font-size: 13px;
  font-style: italic;
  color: rgba(247,244,239,0.3);
}

/* ===== WELCOME OVERLAY ===== */
.welcome-overlay {
  position: fixed;
  inset: 0;
  background: linear-gradient(160deg, var(--cpk-dark) 0%, #6B5A52 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1500;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
  padding: 32px;
}

.welcome-overlay.active { opacity: 1; pointer-events: all; }

.welcome-content {
  text-align: center;
  transform: translateY(16px);
  transition: transform 0.6s ease 0.2s;
}

.welcome-overlay.active .welcome-content { transform: translateY(0); }

.welcome-title {
  font-family: var(--serif);
  font-size: 34px;
  color: var(--cpk-cream);
  font-weight: 300;
  margin-bottom: 12px;
  line-height: 1.2;
}

.welcome-subtitle {
  font-family: var(--serif);
  font-size: 17px;
  color: rgba(247,244,239,0.7);
  font-style: italic;
  margin-bottom: 36px;
  line-height: 1.6;
}

.welcome-enter-btn {
  padding: 16px 40px;
  background: transparent;
  border: 1px solid var(--cpk-blue);
  color: var(--cpk-blue);
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 10px;
  -webkit-appearance: none;
  transition: all 0.3s;
}

.welcome-enter-btn:active {
  background: var(--cpk-blue);
  color: var(--cpk-dark);
}

/* ===== MAIN APP SHELL ===== */
.app {
  display: none;
  flex-direction: column;
  height: 100%;
  position: relative;
}

.app.active { display: flex; }

/* Top Bar */
.top-bar {
  height: var(--top-bar-h);
  background: var(--cpk-dark);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  flex-shrink: 0;
  position: relative;
  z-index: 50;
}

.top-bar-logo {
  height: 28px;
  width: auto;
}

.top-bar-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.top-bar-name {
  font-size: 12px;
  color: rgba(247,244,239,0.7);
  font-weight: 400;
}

.top-bar-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--cpk-cream);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cpk-espresso);
  font-family: var(--serif);
  font-size: 14px;
  font-weight: 600;
}

/* Scrollable Content Area */
.content-area {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  padding-bottom: calc(var(--bottom-nav-h) + var(--safe-bottom) + 16px);
  scroll-behavior: smooth;
}

.page {
  display: none;
  padding: 20px 16px 0;
  animation: fadeUp 0.35s ease;
}

.page.active { display: block; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===== BOTTOM NAVIGATION ===== */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: calc(var(--bottom-nav-h) + var(--safe-bottom));
  padding-bottom: var(--safe-bottom);
  background: var(--cpk-dark);
  display: flex;
  align-items: stretch;
  z-index: 100;
  border-top: 1px solid rgba(90,69,61,0.12);
}

.nav-tab {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--tagline);
  color: rgba(247,244,239,0.4);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 0.2s;
  -webkit-tap-highlight-color: transparent;
  position: relative;
}

.nav-tab::after {
  content: '';
  position: absolute;
  bottom: calc(var(--safe-bottom) + 10px);
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 2px;
  background: transparent;
  border-radius: 1px;
  transition: background 0.2s;
}

.nav-tab.active { color: var(--cpk-blue); }
.nav-tab.active::after { background: var(--cpk-blue); }

.nav-tab-badge {
  position: absolute;
  top: 16px;
  right: calc(50% - 24px);
  width: 16px;
  height: 16px;
  background: var(--cpk-blue-deep);
  color: white;
  font-size: 9px;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

/* More Menu */
.more-sheet {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--cpk-cream);
  border-radius: 20px 20px 0 0;
  padding: 12px 16px calc(16px + var(--safe-bottom));
  z-index: 200;
  transform: translateY(100%);
  transition: transform 0.3s cubic-bezier(0.4,0,0.2,1);
  box-shadow: 0 -4px 30px rgba(0,0,0,0.15);
}

.more-sheet.open { transform: translateY(0); }

.more-sheet-handle {
  width: 36px;
  height: 4px;
  background: var(--cpk-border);
  border-radius: 2px;
  margin: 0 auto 16px;
}

.more-sheet-item {
  padding: 14px 8px;
  border-bottom: 1px solid var(--cpk-border);
  cursor: pointer;
  transition: background 0.15s;
}

.more-sheet-item:last-child { border-bottom: none; }
.more-sheet-item:active { background: var(--cpk-blue-pale); }

.more-sheet-label { font-family: var(--tagline); font-size: 12px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--cpk-text); }
.more-sheet-desc { font-size: 11px; color: var(--cpk-text-light); margin-top: 3px; }

.more-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.3);
  z-index: 199;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.more-overlay.open { opacity: 1; pointer-events: all; }

/* ===== MOBILE CARDS ===== */
.m-card {
  background: white;
  border-radius: 14px;
  border: 1px solid var(--cpk-border);
  padding: 20px;
  margin-bottom: 14px;
}

.m-card-title {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 500;
  color: var(--cpk-dark);
  margin-bottom: 14px;
}

/* ===== HOME PAGE ===== */
.m-welcome-banner {
  background: linear-gradient(135deg, var(--cpk-dark) 0%, #6B5A52 100%);
  border-radius: 14px;
  padding: 24px 20px;
  color: var(--cpk-cream);
  margin-bottom: 16px;
  position: relative;
  overflow: hidden;
}

.m-welcome-banner::after {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 50%;
  height: 100%;
  background: radial-gradient(ellipse at right top, rgba(181,205,224,0.1) 0%, transparent 60%);
}

.m-welcome-greeting {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 300;
  position: relative;
  z-index: 1;
  margin-bottom: 8px;
}

.m-welcome-text {
  color: rgba(247,244,239,0.7);
  font-size: 13px;
  font-weight: 300;
  position: relative;
  z-index: 1;
  line-height: 1.6;
}

.m-welcome-sig {
  color: var(--cpk-blue);
  font-family: 'Allura', 'Caveat', cursive;
  font-style: normal;
  font-size: 26px;
  line-height: 1.1;
  margin-top: 14px;
  position: relative;
  z-index: 1;
}

/* Horizontal Stat Scroll */
.m-stats-row {
  display: flex;
  gap: 10px;
  margin-bottom: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 2px 0;
  scrollbar-width: none;
}

.m-stats-row::-webkit-scrollbar { display: none; }

.m-stat {
  flex: 0 0 calc(33.33% - 7px);
  min-width: 105px;
  scroll-snap-align: start;
  background: var(--cpk-blue-pale);
  border: 1px solid rgba(181,205,224,0.35);
  border-radius: 12px;
  padding: 16px 12px;
  text-align: center;
}

.m-stat-value { font-family: var(--serif); font-size: 22px; color: var(--cpk-dark); font-weight: 500; }
.m-stat-label { font-size: 10px; color: var(--cpk-blue-dark); margin-top: 4px; letter-spacing: 0.3px; }

/* Quick Actions */
.m-quick-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 16px;
}

.m-quick-btn {
  background: white;
  border: 1px solid var(--cpk-border);
  border-radius: 8px;
  padding: 16px 14px;
  cursor: pointer;
  transition: all 0.15s;
  -webkit-appearance: none;
  font-family: var(--sans);
  text-align: left;
}

.m-quick-btn:active { background: var(--cpk-blue-pale); border-color: var(--cpk-blue); transform: scale(0.98); }

.m-quick-label { font-size: 13px; font-weight: 500; color: var(--cpk-text); }
.m-quick-sub { font-size: 10px; color: var(--cpk-text-light); margin-top: 1px; }

/* Reminder Banner */
.m-reminder {
  border-left: 3px solid var(--cpk-blue);
  background: var(--cpk-blue-pale);
  border-radius: 0 8px 8px 0;
  padding: 14px 16px;
  margin-bottom: 10px;
}

.m-reminder-text { font-size: 13px; line-height: 1.5; color: var(--cpk-text); }

/* ===== NEIGHBORHOOD PAGE ===== */
.m-neighborhood-hero {
  background: linear-gradient(160deg, var(--cpk-blue) 0%, #A7C7E7 40%, var(--cpk-brown-light) 100%);
  border-radius: 14px;
  padding: 32px 20px;
  text-align: center;
  color: white;
  margin-bottom: 16px;
  position: relative;
  overflow: hidden;
}

.m-neighborhood-city {
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin-bottom: 4px;
}

.m-neighborhood-name {
  font-family: var(--serif);
  font-size: 34px;
  font-weight: 300;
}

.m-neighborhood-desc {
  font-size: 14px;
  line-height: 1.7;
  color: var(--cpk-text);
  font-weight: 300;
  margin-bottom: 4px;
}

.m-neighborhood-desc em {
  font-family: var(--serif);
  font-size: 16px;
  color: var(--cpk-brown);
}

.m-map-area {
  background: var(--cpk-blue-pale);
  border: 2px dashed var(--cpk-blue);
  border-radius: 12px;
  height: 220px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--cpk-blue-dark);
  overflow: hidden;
  position: relative;
}

.m-map-area.has-map {
  height: 520px;
  border: none;
  background: none;
}

.m-map-area.has-map iframe {
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 12px;
}

.m-map-text { font-size: 12px; font-weight: 500; }
.m-map-sub { font-size: 10px; color: var(--cpk-blue-deep); margin-top: 2px; }

.m-map-legend-hint {
  text-align: center;
  font-family: var(--sans);
  font-size: 11px;
  color: var(--cpk-brown-light);
  margin-top: 6px;
  margin-bottom: 14px;
  letter-spacing: 0.3px;
}

/* HubSpot listing cards */
.m-search-card {
  background: #fff;
  border: 1px solid var(--cpk-brown-light);
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 12px;
}
.m-search-name {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 600;
  color: var(--cpk-espresso);
  margin-bottom: 4px;
}
.m-search-stage {
  font-family: var(--sans);
  font-size: 12px;
  color: var(--cpk-brown-light);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}

/* Search tabs (multiple searches) */
.m-search-tabs {
  display: flex;
  gap: 6px;
  margin-bottom: 20px;
  background: var(--cpk-border);
  border-radius: 10px;
  padding: 4px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.m-search-tab {
  flex: 1;
  padding: 10px 20px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.3px;
  color: var(--cpk-text-light);
  background: none;
  border: none;
  border-radius: 8px;
  margin-bottom: -2px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s;
}
.m-search-tab:hover {
  color: var(--cpk-espresso);
}
.m-search-tab.active {
  color: var(--cpk-espresso);
  background: white;
  font-weight: 600;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

/* Tour items inside listing cards */
.m-tour-heading {
  font-family: var(--serif);
  font-size: 14px;
  font-weight: 600;
  color: var(--cpk-espresso);
  margin-bottom: 8px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--cpk-cream);
}
.m-tour-item {
  padding: 10px 0;
  border-bottom: 1px solid var(--cpk-cream);
}
.m-tour-item:last-child {
  border-bottom: none;
}
.m-tour-property {
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 600;
  color: var(--cpk-espresso);
}
.m-tour-meta {
  font-family: var(--sans);
  font-size: 13px;
  color: var(--cpk-brown-light);
  margin-top: 2px;
}
.m-tour-meta span {
  margin-right: 6px;
}
.m-tour-notes {
  font-family: var(--sans);
  font-size: 13px;
  color: var(--cpk-espresso);
  font-style: italic;
  margin-top: 4px;
}
.m-tour-content {
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.6;
  color: var(--cpk-espresso);
  padding: 4px 0;
}
.m-tour-content strong {
  color: var(--cpk-espresso);
  font-weight: 700;
}
.m-tour-empty {
  font-family: var(--sans);
  font-size: 14px;
  color: var(--cpk-brown-light);
  text-align: center;
  padding: 40px 20px;
}

/* Dashboard mode: 3 stages — searching → signing → lifestyle */
.app.mode-searching .phase-signing,
.app.mode-searching .phase-lifestyle { display: none !important; }
.app.mode-signing .phase-searching,
.app.mode-signing .phase-lifestyle { display: none !important; }
.app.mode-lifestyle .phase-searching,
.app.mode-lifestyle .phase-signing { display: none !important; }

/* Neighborhood selector */
.m-hood-selector {
  margin-bottom: 12px;
}
.m-hood-label {
  display: block;
  font-family: var(--tagline);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--cpk-dark);
  margin-bottom: 6px;
}
.m-hood-select {
  width: 100%;
  padding: 10px 14px;
  font-family: var(--sans);
  font-size: 14px;
  color: var(--cpk-dark);
  background: var(--cpk-cream);
  border: 1px solid var(--cpk-brown-light);
  border-radius: 8px;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238B7355' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  cursor: pointer;
}
.m-hood-select:focus {
  outline: none;
  border-color: var(--cpk-blue);
}

/* CMS loading state */
.cms-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  color: var(--cpk-text-light);
  font-size: 12px;
  gap: 8px;
}

.cms-loading::before {
  content: '';
  width: 16px;
  height: 16px;
  border: 2px solid var(--cpk-border);
  border-top-color: var(--cpk-blue-deep);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

.cms-badge {
  position: fixed;
  bottom: calc(var(--bottom-nav-h) + var(--safe-bottom) + 8px);
  right: 8px;
  background: var(--cpk-green);
  color: white;
  font-size: 9px;
  padding: 3px 8px;
  border-radius: 10px;
  z-index: 90;
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}

.cms-badge.show { opacity: 1; }

/* Saturday Itinerary */
.m-saturday {
  background: linear-gradient(135deg, var(--cpk-dark) 0%, #7A6B63 100%);
  border-radius: 14px;
  padding: 24px 20px;
  color: var(--cpk-cream);
  margin-bottom: 16px;
}

.m-saturday-title {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 300;
  font-style: italic;
  margin-bottom: 2px;
}

.m-saturday-sub {
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(247,244,239,0.5);
  margin-bottom: 20px;
}

.m-sat-item {
  display: flex;
  gap: 14px;
  margin-bottom: 16px;
  align-items: flex-start;
}

.m-sat-time {
  font-family: var(--serif);
  font-size: 13px;
  color: var(--cpk-gold);
  min-width: 60px;
  padding-top: 1px;
}

.m-sat-what { font-size: 13px; font-weight: 300; line-height: 1.4; }
.m-sat-where { font-size: 11px; color: rgba(247,244,239,0.5); margin-top: 2px; }

/* Partners Grid */
.m-partners-grid {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 2px 0 6px;
  margin-bottom: 16px;
  scrollbar-width: none;
}

.m-partners-grid::-webkit-scrollbar { display: none; }

.m-partner {
  flex: 0 0 70%;
  max-width: 260px;
  scroll-snap-align: start;
  background: white;
  border: 1px solid var(--cpk-border);
  border-radius: 12px;
  padding: 20px;
  text-align: center;
}

.m-partner-visual {
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}

.m-partner-logo {
  max-height: 44px;
  max-width: 120px;
  object-fit: contain;
}

.m-partner-emoji {
  font-size: 32px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.m-partner-name { font-family: var(--serif); font-size: 16px; margin-bottom: 2px; }
.m-partner-type { font-size: 10px; color: var(--cpk-text-light); letter-spacing: 0.5px; margin-bottom: 8px; }
.m-partner-perk { font-size: 11px; color: var(--cpk-blue-dark); font-weight: 500; background: var(--cpk-blue-pale); padding: 4px 12px; border-radius: 20px; display: inline-block; line-height: 1.4; }

/* ===== CHECKLIST PAGE ===== */
.m-page-header {
  margin-bottom: 16px;
}

.m-page-title {
  font-family: var(--tagline);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--cpk-dark);
}

.m-page-subtitle {
  font-size: 13px;
  color: var(--cpk-text-light);
  font-weight: 300;
  margin-top: 2px;
}

.m-progress-bar {
  height: 6px;
  background: var(--cpk-blue-pale);
  border-radius: 3px;
  margin-bottom: 16px;
  overflow: hidden;
}

.m-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--cpk-blue-deep), var(--cpk-brown));
  border-radius: 3px;
  transition: width 0.5s ease;
}

.m-progress-label {
  font-size: 12px;
  color: var(--cpk-text-light);
  margin-bottom: 8px;
  text-align: right;
}

.m-check-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px;
  background: white;
  border: 1px solid var(--cpk-border);
  border-radius: 12px;
  margin-bottom: 8px;
  cursor: pointer;
  transition: all 0.2s;
  min-height: 56px;
  -webkit-user-select: none;
  user-select: none;
}

.m-check-item:active { transform: scale(0.99); }

.m-check-circle {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid var(--cpk-border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.25s;
  font-size: 14px;
  color: transparent;
  margin-top: 1px;
}

.m-check-item.done { background: var(--cpk-blue-pale); border-color: rgba(181,205,224,0.4); }

.m-check-item.done .m-check-circle {
  background: var(--cpk-blue-deep);
  border-color: var(--cpk-blue-deep);
  color: white;
}

.m-check-item.done .m-check-title { text-decoration: line-through; color: var(--cpk-text-light); }

.m-check-title { font-weight: 500; font-size: 14px; margin-bottom: 2px; }
.m-check-desc { font-size: 12px; color: var(--cpk-text-light); line-height: 1.4; }

/* ===== REBATE TRACKER ===== */
.m-rebate-hero {
  background: white;
  border: 1px solid var(--cpk-border);
  border-radius: 14px;
  padding: 28px 20px;
  text-align: center;
  margin-bottom: 16px;
}

.m-rebate-amount {
  font-family: var(--serif);
  font-size: 52px;
  color: var(--cpk-brown);
  font-weight: 300;
  line-height: 1;
  margin-bottom: 4px;
}

.m-rebate-label { font-size: 13px; color: var(--cpk-text-light); margin-bottom: 24px; }

.m-rebate-track {
  width: 100%;
  height: 8px;
  background: var(--cpk-cream);
  border-radius: 4px;
  margin-bottom: 20px;
  overflow: hidden;
}

.m-rebate-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--cpk-blue-deep), var(--cpk-brown), var(--cpk-gold));
  border-radius: 4px;
  transition: width 0.8s ease;
}

.m-rebate-steps {
  display: flex;
  justify-content: space-between;
}

.m-rebate-step { text-align: center; flex: 1; }

.m-rebate-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid var(--cpk-border);
  background: white;
  margin: 0 auto 6px;
  transition: all 0.3s;
}

.m-rebate-step.complete .m-rebate-dot { background: var(--cpk-brown); border-color: var(--cpk-brown); }
.m-rebate-step.current .m-rebate-dot { border-color: var(--cpk-blue-deep); background: var(--cpk-blue-pale); box-shadow: 0 0 0 3px rgba(181,205,224,0.3); }

.m-rebate-step-label { font-size: 9px; color: var(--cpk-text-light); line-height: 1.3; }
.m-rebate-step.complete .m-rebate-step-label { color: var(--cpk-brown); font-weight: 500; }

/* ===== LEASE INFO FORM ===== */
.lease-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.lease-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.lease-label {
  font-size: 11px;
  color: var(--cpk-text-light);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-family: var(--sans);
  font-weight: 400;
}

.lease-input {
  font-family: var(--sans);
  font-size: 17px;
  color: var(--cpk-dark);
  background: var(--cpk-cream);
  border: 1px solid var(--cpk-border);
  border-radius: 10px;
  padding: 12px 14px;
  width: 100%;
  outline: none;
  transition: border-color 0.2s;
  -webkit-appearance: none;
  appearance: none;
}

.lease-input:focus {
  border-color: var(--cpk-brown);
}

.lease-input::placeholder {
  color: var(--cpk-text-light);
  opacity: 0.5;
}

.lease-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.lease-prefix {
  position: absolute;
  left: 14px;
  font-family: var(--sans);
  font-size: 17px;
  color: var(--cpk-text-light);
  pointer-events: none;
}

.lease-currency {
  padding-left: 28px;
}

.lease-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%235A453D' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
  cursor: pointer;
}

.m-submit-btn.lease-save-btn {
  margin-top: 32px;
}

.lease-save-btn.saved {
  background: transparent;
  color: var(--cpk-text-light);
  border: 1px solid var(--cpk-border);
  font-size: 12px;
  padding: 10px;
  letter-spacing: 1.5px;
}

.lease-status {
  text-align: center;
  font-size: 13px;
  margin-top: 8px;
  min-height: 20px;
  font-family: var(--sans);
}

.lease-status.success { color: var(--cpk-brown); }
.lease-status.error { color: #c44; }

@media (max-width: 600px) {
  .lease-form {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* ===== REFERRAL PAGE ===== */
.m-referral-hero {
  background: linear-gradient(135deg, #6B5A52 0%, var(--cpk-dark) 50%, #7A6B63 100%);
  border-radius: 14px;
  padding: 32px 20px;
  color: var(--cpk-cream);
  text-align: center;
  margin-bottom: 16px;
}

.m-referral-label {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 300;
  margin-bottom: 4px;
}

.m-referral-amount {
  font-family: var(--serif);
  font-size: 48px;
  color: var(--cpk-blue);
  font-weight: 300;
  line-height: 1.1;
}

.m-referral-desc {
  font-size: 13px;
  color: rgba(247,244,239,0.6);
  font-weight: 300;
  line-height: 1.5;
  margin-top: 8px;
  max-width: 300px;
  margin-left: auto;
  margin-right: auto;
}

.m-qr-area {
  background: white;
  border-radius: 14px;
  padding: 24px;
  text-align: center;
  margin-bottom: 16px;
  border: 1px solid var(--cpk-border);
}

.m-qr-box {
  width: 160px;
  height: 160px;
  background: white;
  border: 1px solid var(--cpk-border);
  border-radius: 12px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.m-qr-pattern {
  width: 130px;
  height: 130px;
  background: repeating-conic-gradient(var(--cpk-dark) 0% 25%, white 0% 50%) 0 0 / 13px 13px;
  border-radius: 4px;
  position: relative;
}

.m-qr-center {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  background: white;
  padding: 5px;
  border-radius: 3px;
  font-family: var(--serif);
  font-size: 14px;
  color: var(--cpk-brown);
  font-weight: 600;
  letter-spacing: 1px;
}

.m-qr-link {
  font-size: 11px;
  color: var(--cpk-text-light);
  margin-bottom: 16px;
}

.m-qr-link span {
  display: inline-block;
  background: var(--cpk-blue-pale);
  color: var(--cpk-blue-dark);
  padding: 6px 16px;
  border-radius: 20px;
  margin-top: 4px;
  font-weight: 500;
}

.m-share-row {
  display: flex;
  gap: 8px;
}

.m-share-btn {
  flex: 1;
  padding: 14px 8px;
  border-radius: 10px;
  border: 1px solid var(--cpk-border);
  background: white;
  color: var(--cpk-text);
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  -webkit-appearance: none;
  transition: all 0.15s;
}

.m-share-btn:active { background: var(--cpk-blue-pale); border-color: var(--cpk-blue); }

/* ===== POST-APPLICATION CHECKLIST ===== */
.m-postapp-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--cpk-blue-pale);
  color: var(--cpk-blue-deep);
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.2s;
}

.m-postapp-check {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid var(--cpk-border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.2s;
  color: transparent;
}

.m-postapp-check svg {
  width: 14px;
  height: 14px;
}

.m-postapp-item.checked .m-postapp-check {
  background: var(--cpk-blue-deep);
  border-color: var(--cpk-blue-deep);
  color: white;
}

.m-postapp-item.checked .m-postapp-num {
  background: var(--cpk-blue-deep);
  color: white;
}

.m-postapp-item.checked {
  opacity: 0.6;
}

/* ===== TOURS PAGE ===== */

/* Parsed tour schedule */
.m-tour-day {
  background: white;
  border: 1px solid var(--cpk-border);
  border-radius: 14px;
  padding: 20px;
  margin-bottom: 14px;
}

.m-tour-day-header {
  font-family: var(--serif);
  font-size: 18px;
  color: var(--cpk-dark);
  margin-bottom: 4px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--cpk-border);
}

.m-tour-stop {
  display: flex;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(229,221,212,0.4);
  align-items: flex-start;
}

.m-tour-stop:last-child { border-bottom: none; }

.m-tour-stop-time {
  font-family: var(--serif);
  font-size: 14px;
  color: var(--cpk-blue-dark);
  min-width: 72px;
  font-weight: 500;
  padding-top: 1px;
}

.m-tour-stop-name {
  font-size: 15px;
  font-weight: 500;
  color: var(--cpk-text);
}

.m-tour-stop-note {
  font-size: 12px;
  color: var(--cpk-blue-dark);
  margin-top: 2px;
  font-style: italic;
}

/* Keeley's sticky notes — from HubSpot tour log */
.m-tour-note {
  border: none;
  border-radius: 2px;
  padding: 20px 22px 16px;
  margin-bottom: 16px;
  position: relative;
  width: 220px;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow:
    0 8px 12px -2px rgba(0,0,0,0.15),
    0 3px 4px -1px rgba(0,0,0,0.08);
}
.m-tour-note::before {
  content: '';
  position: absolute;
  top: -3px;
  left: 50%;
  transform: translateX(-50%);
  width: 48px;
  height: 10px;
  background: rgba(255,255,255,0.45);
  border-radius: 1px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.08);
}
.m-tour-note-text {
  font-family: 'Caveat', cursive;
  font-size: 20px;
  font-weight: 500;
  color: #3D3229;
  line-height: 1.45;
}
.m-tour-note-sig {
  font-family: 'Caveat', cursive;
  font-size: 18px;
  font-weight: 600;
  color: rgba(90,69,61,0.5);
  text-align: right;
  margin-top: 10px;
}

/* Reminder tips — modern minimal chips from Google Sheets */
.m-reminder-note {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(167,199,231,0.1);
  border: 1px solid rgba(167,199,231,0.25);
  border-radius: 10px;
  padding: 10px 14px;
  margin-bottom: 8px;
}
.m-reminder-note-icon {
  font-size: 16px;
  flex-shrink: 0;
}
.m-reminder-note-text {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 400;
  color: var(--cpk-text);
  line-height: 1.45;
}

/* Mobile adjustments for notes */
@media (max-width: 600px) {
  .m-tour-note {
    width: 180px;
    min-height: 160px;
    padding: 16px 18px 14px;
  }
  .m-tour-note-text { font-size: 18px; }
  .m-tour-note-sig { font-size: 16px; }
  .m-reminder-note { padding: 8px 12px; }
  .m-reminder-note-text { font-size: 12px; }
}

.m-tour-day-label {
  font-family: var(--serif);
  font-size: 16px;
  color: var(--cpk-brown);
  margin-bottom: 10px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--cpk-border);
}

.m-tour-card {
  background: white;
  border: 1px solid var(--cpk-border);
  border-radius: 12px;
  margin-bottom: 10px;
  overflow: hidden;
}

.m-tour-header {
  padding: 16px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  cursor: pointer;
}

.m-tour-time {
  font-family: var(--serif);
  font-size: 14px;
  color: var(--cpk-brown);
  margin-bottom: 2px;
}

.m-tour-property { font-weight: 500; font-size: 15px; }
.m-tour-addr { font-size: 11px; color: var(--cpk-text-light); margin-top: 2px; }

.m-tour-expand {
  font-size: 18px;
  color: var(--cpk-text-light);
  transition: transform 0.3s;
  padding: 4px;
}

.m-tour-card.open .m-tour-expand { transform: rotate(180deg); }

.m-tour-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.m-tour-card.open .m-tour-body { max-height: 300px; }

.m-tour-notes {
  padding: 0 16px 16px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--cpk-text);
}

.m-tour-notes-bg {
  background: var(--cpk-cream);
  padding: 12px 14px;
  border-radius: 10px;
  margin-bottom: 10px;
}

/* Horizontal row for sticky notes */
.m-tour-notes-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 20px;
  justify-content: center;
}

/* Virtual Tours / Videos page */
.m-vtour-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.m-vtour-card {
  display: block;
  background: white;
  border: 1px solid var(--cpk-border);
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  transition: box-shadow 0.2s;
}
.m-vtour-card:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.m-vtour-thumb {
  width: 100%;
  height: 180px;
  background-size: cover;
  background-position: center;
  background-color: var(--cpk-cream);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.m-vtour-thumb-fallback {
  background: linear-gradient(135deg, var(--cpk-cream) 0%, rgba(167,199,231,0.2) 100%);
}
.m-vtour-play {
  width: 52px;
  height: 52px;
  background: rgba(90,69,61,0.85);
  border-radius: 50%;
  position: relative;
}
.m-vtour-play::after {
  content: '';
  position: absolute;
  left: 20px;
  top: 14px;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 12px 0 12px 20px;
  border-color: transparent transparent transparent white;
}
.m-vtour-info {
  padding: 14px 16px;
}
.m-vtour-label {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  color: var(--cpk-text);
}
.m-vtour-type {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  color: var(--cpk-text-light);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 4px;
}

@media (min-width: 600px) {
  .m-vtour-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.m-tags { display: flex; gap: 6px; flex-wrap: wrap; }

.m-tag {
  display: inline-block;
  font-size: 10px;
  padding: 4px 10px;
  border-radius: 20px;
  font-weight: 600;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

.m-tag.special { background: rgba(181,205,224,0.2); color: var(--cpk-blue-dark); }
.m-tag.ask { background: rgba(90,69,61,0.1); color: var(--cpk-brown); }

/* ===== SEARCHES PAGE ===== */
.m-search-badge {
  display: inline-block;
  background: var(--cpk-blue-pale);
  color: var(--cpk-blue-dark);
  font-size: 11px;
  padding: 4px 12px;
  border-radius: 20px;
  font-weight: 500;
  margin-bottom: 12px;
  border: 1px solid rgba(181,205,224,0.4);
}

.m-search-card {
  background: white;
  border: 1px solid var(--cpk-border);
  border-radius: 12px;
  padding: 18px 16px;
  margin-bottom: 10px;
}

.m-search-name { font-family: var(--serif); font-size: 18px; margin-bottom: 2px; }
.m-search-addr { font-size: 11px; color: var(--cpk-text-light); margin-bottom: 12px; }

.m-search-details {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 8px;
}

.m-search-detail { text-align: center; }
.m-search-detail-label { font-size: 9px; color: var(--cpk-text-light); text-transform: uppercase; letter-spacing: 0.3px; }
.m-search-detail-value { font-size: 13px; font-weight: 500; color: var(--cpk-text); margin-top: 2px; }

/* ===== APPLICATION PAGE ===== */
.m-form-group { margin-bottom: 16px; }

.m-form-label {
  font-size: 12px;
  font-weight: 500;
  color: var(--cpk-text);
  margin-bottom: 6px;
  display: block;
}

.m-form-input {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--cpk-border);
  border-radius: 10px;
  font-family: var(--sans);
  font-size: 16px;
  color: var(--cpk-text);
  background: white;
  outline: none;
  -webkit-appearance: none;
  transition: border-color 0.3s;
}

.m-form-input:focus { border-color: var(--cpk-blue-deep); box-shadow: 0 0 0 3px rgba(181,205,224,0.15); }

.m-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

.m-submit-btn {
  width: 100%;
  padding: 16px;
  background: var(--cpk-brown);
  color: var(--cpk-cream);
  border: none;
  border-radius: 10px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  cursor: pointer;
  -webkit-appearance: none;
  transition: all 0.3s;
  margin-top: 4px;
}

.m-submit-btn:active { background: var(--cpk-brown-hover); transform: scale(0.99); }

/* Section label in More sheet */
.more-section-label {
  font-size: 9px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--cpk-text-light);
  padding: 12px 8px 4px;
  font-weight: 600;
}

/* ===== DESKTOP BREAKPOINT ===== */
@media (min-width: 768px) {
  :root { --bottom-nav-h: 0px; }

  .bottom-nav { display: none; }
  .more-sheet, .more-overlay { display: none; }
  .top-bar { display: none; }

  .app.active { flex-direction: row; }

  .desktop-sidebar {
    display: flex !important;
    width: 260px;
    background: var(--cpk-dark);
    color: var(--cpk-cream);
    flex-direction: column;
    position: fixed;
    top: 0; left: 0;
    height: 100vh;
    z-index: 100;
  }

  .content-area {
    margin-left: 260px;
    padding-bottom: 32px;
  }

  .page { padding: 32px 40px 0; max-width: 900px; }

  .m-stats-row { overflow: visible; }
  .m-stat { flex: 1; min-width: auto; }
  .m-quick-actions { grid-template-columns: 1fr 1fr 1fr 1fr; }
  .m-partners-grid { overflow: visible; }
  .m-partner { flex: 1; max-width: none; }
  .m-search-details { grid-template-columns: 1fr 1fr 1fr 1fr; }
}

@media (max-width: 767px) {
  .desktop-sidebar { display: none !important; }
}

/* Desktop Sidebar Styles */
.desktop-sidebar .ds-header {
  padding: 28px 24px 20px;
  border-bottom: 1px solid rgba(90,69,61,0.15);
}

.desktop-sidebar .ds-logo {
  width: 80px;
  height: auto;
  display: block;
}

.desktop-sidebar .ds-label {
  font-family: var(--tagline);
  font-size: 10px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: rgba(247,244,239,0.5);
  margin-top: 8px;
  font-weight: 700;
}

.desktop-sidebar .ds-nav {
  flex: 1;
  padding: 16px 0;
  overflow-y: auto;
}

.desktop-sidebar .ds-section {
  font-family: var(--tagline);
  font-size: 10px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: rgba(247,244,239,0.35);
  padding: 20px 24px 8px;
  font-weight: 700;
}

.desktop-sidebar .ds-item {
  display: block;
  font-family: var(--tagline);
  padding: 12px 24px;
  cursor: pointer;
  transition: all 0.2s;
  color: rgba(247,244,239,0.55);
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border-left: 3px solid transparent;
}

.desktop-sidebar .ds-item:hover {
  background: rgba(90,69,61,0.08);
  color: var(--cpk-cream);
}

.desktop-sidebar .ds-item.active {
  background: rgba(167,199,231,0.08);
  color: var(--cpk-blue);
  border-left-color: var(--cpk-blue);
  font-weight: 500;
}

.desktop-sidebar .ds-badge {
  margin-left: 8px;
  background: var(--cpk-blue-deep);
  color: white;
  font-size: 10px;
  padding: 2px 8px;
  border-radius: 10px;
  font-weight: 600;
}

.desktop-sidebar .ds-client {
  padding: 12px;
  border-top: 1px solid rgba(90,69,61,0.15);
  display: flex;
  align-items: center;
  gap: 12px;
  transition: background 0.15s;
  border-radius: 8px;
  margin: 8px 12px 12px;
}

.desktop-sidebar .ds-client:hover {
  background: rgba(90,69,61,0.06);
}

.desktop-sidebar .ds-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--cpk-cream);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cpk-espresso);
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 600;
}

.desktop-sidebar .ds-name { font-size: 13px; font-weight: 500; }
.desktop-sidebar .ds-status { font-size: 11px; color: rgba(247,244,239,0.5); }

/* ===== PROFILE PAGE ===== */
.m-profile-header {
  text-align: center;
  padding: 8px 0 24px;
}

.m-avatar-wrap {
  position: relative;
  display: inline-block;
  margin: 0 auto 4px;
}

.m-profile-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--cpk-cream);
  border: 2px solid var(--cpk-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cpk-espresso);
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 600;
  transition: box-shadow 0.2s;
}

.m-avatar-wrap:hover .m-profile-avatar {
  box-shadow: 0 0 0 3px var(--cpk-blue-soft);
}

.m-avatar-edit {
  font-size: 11px;
  color: var(--cpk-text-light);
  text-align: center;
  margin-top: 4px;
  letter-spacing: 0.3px;
}

.m-avatar-picker {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin: 8px auto 8px;
  animation: fadeSlideDown 0.2s ease;
}

@keyframes fadeSlideDown {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

.m-avatar-option {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
  box-shadow: 0 1px 4px var(--cpk-shadow);
}

.m-avatar-option:hover {
  transform: scale(1.12);
  box-shadow: 0 2px 8px var(--cpk-shadow);
}

.m-avatar-option.selected {
  box-shadow: 0 0 0 3px var(--cpk-blue-deep);
  transform: scale(1.08);
}

.m-profile-name {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 400;
  color: var(--cpk-dark);
  margin-bottom: 4px;
}

.m-profile-email {
  font-size: 13px;
  color: var(--cpk-text-light);
  font-weight: 300;
}
