/* ==========================================================================
   SAVEON MOBILE APP DESIGN SYSTEM & SIMULATOR STYLES
   Exact reproduction of Saveon Expo React Native color tokens & layout
   ========================================================================== */

:root {
  --so-bg: #F8F9FA;
  --so-card: #FFFFFF;
  --so-text-primary: #000000;
  --so-text-secondary: #666666;
  --so-text-muted: #999999;
  
  /* Saveon Exact Brand Colors */
  --so-gold: #B7863C;
  --so-gold-glow: rgba(183, 134, 60, 0.52);
  --so-green: #8BC34A;
  --so-green-dark: #7CB342;
  --so-obsidian: #0A0A0A;
  --so-charcoal: #1A1A1A;
  --so-charcoal-light: #2D2D2D;
  --so-border: #F0F0F0;
  --so-radius-xl: 32px;
  --so-radius-lg: 24px;
  --so-radius-md: 20px;
  --so-radius-sm: 14px;
  
  --font-heading: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
}

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

html, body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  font-family: var(--font-body);
  background-color: #000000;
  color: var(--so-text-primary);
  font-size: 14px;
  user-select: none;
}

/* Fullscreen Cinematic Stage & Sizing (Matching Authentic Mobile Dimensions) */
:fullscreen,
:-webkit-full-screen,
body.is-fullscreen {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  background: radial-gradient(circle at 50% 30%, rgba(183, 134, 60, 0.18) 0%, #08090b 70%) !important;
  width: 100vw !important;
  height: 100vh !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
}

:fullscreen body,
:-webkit-full-screen body {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  background: transparent !important;
  width: 100% !important;
  height: 100% !important;
  overflow: hidden !important;
}

:fullscreen .phone-viewport,
:-webkit-full-screen .phone-viewport,
body.is-fullscreen .phone-viewport {
  width: min(300px, 86vw) !important;
  height: min(650px, 88vh) !important;
  aspect-ratio: 9 / 19.5 !important;
  border-radius: 40px !important;
  box-shadow: 0 25px 75px -12px rgba(0, 0, 0, 0.95), 0 0 0 2.5px #262930, 0 0 0 5px rgba(255, 255, 255, 0.1) !important;
  margin: auto !important;
}

/* Standalone desktop browser mode */
@media (min-width: 520px) and (min-height: 600px) {
  body:not(.is-fullscreen) {
    display: flex;
    justify-content: center;
    align-items: center;
    background: radial-gradient(circle at 50% 30%, rgba(183, 134, 60, 0.18) 0%, #08090b 70%);
  }
  body:not(.is-fullscreen) .phone-viewport {
    width: min(300px, 86vw);
    height: min(650px, 88vh);
    aspect-ratio: 9 / 19.5;
    border-radius: 40px;
    box-shadow: 0 25px 75px -12px rgba(0, 0, 0, 0.95), 0 0 0 2.5px #262930, 0 0 0 5px rgba(255, 255, 255, 0.1);
    margin: auto;
  }
}

.phone-viewport {
  position: relative;
  width: 100%;
  height: 100%;
  background-color: var(--so-bg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* In-Simulator Fullscreen Pill */
.sim-fs-pill {
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  background: rgba(0, 0, 0, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 12px;
  padding: 2px 7px;
  color: #FFFFFF;
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 600;
  cursor: pointer;
  line-height: 1.2;
  margin-right: 4px;
  transition: all 0.15s ease;
  z-index: 105;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
  white-space: nowrap;
}

.sim-fs-pill:hover {
  background: rgba(183, 134, 60, 0.65);
  border-color: var(--so-gold);
  color: #FFFFFF;
  transform: scale(1.04);
}

.phone-viewport.theme-light-status .sim-fs-pill {
  background: rgba(0, 0, 0, 0.08);
  border-color: rgba(0, 0, 0, 0.28);
  color: #111111;
  box-shadow: none;
}

.phone-viewport.theme-light-status .sim-fs-pill:hover {
  background: rgba(183, 134, 60, 0.25);
  border-color: var(--so-gold);
  color: #000;
}

/* System Status Bar (Non-transparent, solid native mobile status bar) */
.ios-status-bar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 44px;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 100;
  background: #141518;
  color: #FFFFFF;
  font-size: 13px;
  font-weight: 600;
  pointer-events: none;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.phone-viewport.theme-light-status .ios-status-bar {
  background: #FFFFFF !important;
  color: #000000 !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08) !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04) !important;
}

.status-notch-spacer {
  flex: 1;
  min-width: 16px;
  max-width: 60px;
  height: 16px;
}

.status-icons {
  display: flex;
  align-items: center;
  gap: 4px;
  pointer-events: auto;
}

.status-icon {
  width: 16px;
  height: 16px;
}

/* Base Screen Layout */
.screen {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  background-color: var(--so-bg);
  opacity: 0;
  pointer-events: none;
  transform: translateX(35px);
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.screen.active {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
  z-index: 10;
}

/* ==========================================================================
   1. WELCOME SCREEN (Authentic Saveon Styling)
   ========================================================================== */
.screen--welcome {
  background: url('assets/welcomebg.jpg') center center / cover no-repeat;
  justify-content: flex-end;
}

.welcome-bg-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60%;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.7) 45%, rgba(0, 0, 0, 0.95) 100%);
  pointer-events: none;
}

.welcome-content {
  position: relative;
  z-index: 2;
  padding: 0 32px 42px;
  display: flex;
  flex-direction: column;
}

.welcome-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 28px;
}

.welcome-text-line {
  font-family: var(--font-heading);
  font-size: 46px;
  font-weight: 200;
  color: #FFFFFF;
  letter-spacing: 1px;
  line-height: 1.1;
  margin-bottom: 2px;
}

.welcome-appname {
  font-family: var(--font-heading);
  font-size: 48px;
  font-weight: 600;
  color: var(--so-gold);
  letter-spacing: 1px;
  text-shadow: 0 0 25px var(--so-gold-glow);
  line-height: 1.1;
  margin-bottom: 14px;
}

.welcome-tagline {
  font-family: var(--font-body);
  font-size: 13.5px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.85);
  line-height: 20px;
  letter-spacing: 0.3px;
  max-width: 280px;
}

.welcome-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* White Pill Button */
.btn-welcome-primary {
  width: 100%;
  height: 56px;
  border-radius: 28px;
  background: linear-gradient(180deg, #FFFFFF 0%, #F5F5F5 100%);
  border: none;
  font-family: var(--font-body);
  font-size: 19px;
  font-weight: 600;
  color: #000000;
  letter-spacing: 0.4px;
  box-shadow: 0 5px 14px rgba(255, 255, 255, 0.28);
  cursor: pointer;
  transition: transform 0.15s ease, opacity 0.15s ease;
}

.btn-welcome-primary:active {
  transform: scale(0.98);
}

.btn-welcome-secondary {
  width: 100%;
  height: 48px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.08);
  border: 1.5px solid rgba(255, 255, 255, 0.32);
  color: #FFFFFF;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-welcome-secondary:active {
  background: rgba(255, 255, 255, 0.16);
}

.welcome-footer {
  margin-top: 14px;
  text-align: center;
}

.welcome-footer-text {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.58);
}

.welcome-links {
  display: inline-flex;
  gap: 4px;
  margin-top: 2px;
}

.welcome-link {
  font-size: 11px;
  color: var(--so-gold);
  font-weight: 600;
  text-decoration: none;
}

/* ==========================================================================
   2. AUTH SCREENS (Login, Signup, Forgot Pass)
   ========================================================================== */
.screen--login {
  background: linear-gradient(180deg, #FFFFFF 0%, #F8F9FA 50%, #FFFFFF 100%);
  padding-top: 36px;
  overflow: hidden;
}

.screen--login .screen-header-row {
  padding: 4px 18px 2px;
}

.screen--signup, .screen--forgot {
  background: linear-gradient(180deg, #FFFFFF 0%, #F8F9FA 50%, #FFFFFF 100%);
  padding-top: 44px;
}

.screen-header-row {
  padding: 10px 20px;
  display: flex;
  align-items: center;
}

.btn-circle-back {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #F1F5F9;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #000000;
  transition: background-color 0.15s;
}

.btn-circle-back svg {
  width: 22px;
  height: 22px;
}

.btn-circle-back:active {
  background: #E2E8F0;
}

.screen-body-scroll {
  flex: 1;
  overflow-y: auto;
  padding: 8px 18px 24px;
  display: flex;
  flex-direction: column;
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 0, 0, 0.16) transparent;
  -webkit-overflow-scrolling: touch;
}

.screen-body-scroll::-webkit-scrollbar {
  display: block;
  width: 4px;
}

.screen-body-scroll::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.16);
  border-radius: 4px;
}

.screen--home .screen-body-scroll,
.screen--usage .screen-body-scroll,
.screen--performance .screen-body-scroll {
  padding-bottom: 84px !important;
}

.screen--login .screen-body-scroll {
  padding: 0 18px 8px !important;
  overflow-y: hidden !important;
}

.screen--signup .screen-body-scroll,
.screen--forgot .screen-body-scroll {
  padding: 4px 18px 22px !important;
}

.auth-title-section {
  margin-bottom: 12px;
}

.auth-sub-greeting {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--so-text-secondary);
  display: block;
  margin-bottom: 2px;
}

.auth-title {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 700;
  color: #000000;
  line-height: 1.15;
}

.auth-title-accent {
  color: #000000;
  font-weight: 800;
}

.auth-subtitle {
  font-size: 11.5px;
  color: var(--so-text-secondary);
  margin-top: 4px;
  line-height: 1.35;
}

/* 1-Click Demo Credentials Card */
.demo-autofill-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: var(--so-radius-sm);
  background: #F4FBF7;
  border: 1px solid #C8E6C9;
  margin-bottom: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.demo-autofill-card:hover {
  background: #E8F5E9;
  border-color: #81C784;
}

.autofill-badge-icon {
  font-size: 18px;
}

.autofill-content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.autofill-title {
  font-size: 12px;
  color: #2E7D32;
  font-weight: 600;
}

.autofill-email {
  font-size: 11px;
  color: #388E3C;
  font-family: monospace;
}

.autofill-btn-pill {
  font-size: 11px;
  font-weight: 700;
  color: #2E7D32;
  background: #FFFFFF;
  border: 1px solid #A5D6A7;
  padding: 4px 12px;
  border-radius: 12px;
  cursor: pointer;
}

/* Auth Input Fields */
.auth-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.auth-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.auth-icon-box {
  position: absolute;
  left: 12px;
  width: 20px;
  height: 20px;
  color: #000000;
  opacity: 0.6;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.auth-icon-box svg {
  width: 18px;
  height: 18px;
}

.auth-input {
  width: 100%;
  height: 44px;
  padding: 0 42px 0 40px;
  border-radius: var(--so-radius-sm);
  border: 1.5px solid #E5E7EB;
  background: #FFFFFF;
  font-family: var(--font-body);
  font-size: 13.5px;
  color: #000000;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.auth-input:focus {
  outline: none;
  border-color: #000000;
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.08);
}

.auth-eye-btn {
  position: absolute;
  right: 12px;
  background: none;
  border: none;
  color: #000000;
  opacity: 0.6;
  cursor: pointer;
  display: flex;
  align-items: center;
}

.auth-eye-btn svg {
  width: 18px;
  height: 18px;
}

.auth-forgot-row {
  display: flex;
  justify-content: flex-end;
  margin-top: -3px;
  margin-bottom: 2px;
}

.auth-link-btn {
  background: none;
  border: none;
  color: #000000;
  font-size: 11.5px;
  font-weight: 600;
  font-family: var(--font-body);
  cursor: pointer;
}

/* Black Pill Button (Saveon Auth Button) */
.btn-auth-primary {
  width: 100%;
  height: 46px;
  border-radius: 23px;
  background: linear-gradient(90deg, #000000 0%, #1A1A1A 100%);
  border: none;
  color: #FFFFFF;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  margin-top: 4px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.22);
  transition: transform 0.15s ease;
}

.btn-auth-primary:active {
  transform: scale(0.98);
}

.auth-divider {
  display: flex;
  align-items: center;
  text-align: center;
  color: #999999;
  font-size: 11px;
  margin: 10px 0 8px;
}

.auth-divider::before, .auth-divider::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid #E5E7EB;
}

.auth-divider span {
  padding: 0 10px;
}

.btn-google-auth {
  width: 100%;
  height: 42px;
  border-radius: 21px;
  background: #FFFFFF;
  border: 1.5px solid #E5E7EB;
  color: #000000;
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: background-color 0.15s;
}

.btn-google-auth:active {
  background: #F9FAFB;
}

.google-svg {
  width: 17px;
  height: 17px;
}

.auth-switch-prompt {
  text-align: center;
  font-size: 11.5px;
  color: var(--so-text-secondary);
  margin-top: 8px;
}

.auth-switch-link {
  background: none;
  border: none;
  color: #000000;
  font-weight: 700;
  font-family: var(--font-body);
  cursor: pointer;
}

/* 2FA Digit Boxes */
.auth-shield-icon {
  width: 60px;
  height: 60px;
  border-radius: 30px;
  background: #F1F5F9;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

/* Authentic Signup Enhancements (signup.tsx) */
.auth-field-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.auth-field-label {
  font-size: 12.5px;
  font-weight: 600;
  color: #374151;
  letter-spacing: 0.3px;
  font-family: var(--font-body);
}

.auth-error-banner {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #FEF2F2;
  border: 1px solid #FECACA;
  border-radius: 12px;
  padding: 10px 14px;
  margin-bottom: 14px;
}

.auth-error-banner.shake {
  animation: authShake 0.4s ease-in-out;
}

@keyframes authShake {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-6px); }
  40%, 80% { transform: translateX(6px); }
}

.auth-error-banner .error-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.auth-error-banner .error-text {
  font-size: 12px;
  font-weight: 600;
  color: #DC2626;
  line-height: 1.35;
}

.email-valid-icon {
  position: absolute;
  right: 14px;
  width: 20px;
  height: 20px;
  display: none;
  align-items: center;
  justify-content: center;
}

.email-valid-icon.visible {
  display: flex;
}

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

.email-typo-suggestion {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #EFF6FF;
  border: 1px solid #DBEAFE;
  border-radius: 10px;
  padding: 8px 12px;
  margin-top: 4px;
}

.email-typo-suggestion .bulb-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.email-typo-suggestion .suggestion-prompt {
  font-size: 11.5px;
  color: #374151;
}

.btn-suggestion-text {
  background: none;
  border: none;
  padding: 0;
  color: #2563EB;
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
  font-family: inherit;
  font-size: inherit;
}

.pwd-requirements-box {
  background: #F9FAFB;
  border: 1px solid #E5E7EB;
  border-radius: 10px;
  padding: 10px 12px;
  margin-top: 6px;
  display: none;
}

.pwd-requirements-box.visible {
  display: block;
}

.pwd-requirements-title {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: #374151;
  letter-spacing: 0.4px;
  margin-bottom: 6px;
}

.pwd-requirements-list {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.pwd-req-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: #6B7280;
  transition: color 0.2s;
}

.pwd-req-item.met {
  color: #059669;
  font-weight: 500;
}

.pwd-req-item .req-icon {
  width: 14px;
  height: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.pwd-req-item .req-icon svg {
  width: 14px;
  height: 14px;
}

.pwd-req-item.met .req-icon {
  color: #10B981;
}

.pwd-req-item:not(.met) .req-icon {
  color: #DC2626;
}

.pwd-match-status {
  margin-top: 4px;
  display: none;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 500;
}

.pwd-match-status.visible {
  display: flex;
}

.pwd-match-status.match {
  color: #059669;
}

.pwd-match-status.mismatch {
  color: #DC2626;
}

.auth-terms-note {
  font-size: 11px;
  color: #6B7280;
  text-align: center;
  line-height: 1.45;
  margin-top: 14px;
}

.auth-terms-note a {
  color: #000000;
  font-weight: 600;
  text-decoration: none;
}

.auth-terms-note a:hover {
  text-decoration: underline;
}

/* Post-Signup 2FA Alert Modal (Alert.alert simulation) */
#modal-post-signup-2fa {
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.alert-dialog-card {
  background: #FFFFFF;
  border-radius: 20px;
  padding: 24px 20px 20px;
  width: 100%;
  max-width: 310px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: alertPopIn 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes alertPopIn {
  0% { transform: scale(0.85); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

.alert-dialog-badge {
  font-size: 32px;
  margin-bottom: 8px;
}

.alert-dialog-title {
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 700;
  color: #000000;
  margin-bottom: 8px;
}

.alert-dialog-message {
  font-size: 12.5px;
  color: #64748B;
  line-height: 1.45;
  margin-bottom: 20px;
}

.alert-dialog-actions {
  display: flex;
  gap: 10px;
  width: 100%;
}

.alert-btn {
  flex: 1;
  height: 42px;
  border-radius: 12px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
}

.alert-btn--secondary {
  background: #F1F5F9;
  color: #475569;
}

.alert-btn--secondary:hover {
  background: #E2E8F0;
}

.alert-btn--primary {
  background: #000000;
  color: #FFFFFF;
}

.alert-btn--primary:hover {
  background: #1A1A1A;
}

.auth-shield-icon svg {
  width: 32px;
  height: 32px;
}

.digit-code-row {
  display: flex;
  justify-content: space-between;
  gap: 6px;
  margin: 20px 0 24px;
}

.code-box {
  flex: 1;
  height: 52px;
  border-radius: 12px;
  border: 1.5px solid #E5E7EB;
  text-align: center;
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  color: #000000;
}

.code-box:focus {
  border-color: #000000;
  outline: none;
}

/* ==========================================================================
   3. HOME DASHBOARD (Exact Saveon Layout & WelcomeHeader.tsx)
   ========================================================================== */
.screen--home {
  background-color: var(--so-bg);
  padding-top: 0 !important;
}

/* Deep Obsidian Header - Extends seamlessly behind status bar with zero gap */
.saveon-dark-header {
  position: relative;
  background: linear-gradient(135deg, #2A2A2A 0%, #1A1A1A 60%, #0A0A0A 100%);
  padding: 44px 20px 22px;
  overflow: hidden;
  border-bottom-left-radius: 28px;
  border-bottom-right-radius: 28px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  flex-shrink: 0 !important;
}

.header-decor-circle1 {
  position: absolute;
  top: -40px;
  right: -30px;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
  pointer-events: none;
}

.header-decor-circle2 {
  position: absolute;
  bottom: -50px;
  left: 20px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: rgba(139, 195, 74, 0.05);
  pointer-events: none;
}

.header-top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.location-pill {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
  white-space: nowrap;
  min-width: 0;
}

.location-pill span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 80px;
  display: inline-block;
}

.loc-icon {
  width: 16px;
  height: 16px;
}

.header-right-tools {
  display: flex;
  align-items: center;
  gap: 8px;
}

.weather-chip {
  display: flex;
  align-items: center;
  gap: 4px;
  background: rgba(255, 255, 255, 0.1);
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 11px;
  color: #FFFFFF;
  font-weight: 600;
}

.weather-icon {
  width: 14px;
  height: 14px;
}

.header-icon-btn {
  position: relative;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

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

.header-badge {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 14px;
  height: 14px;
  border-radius: 7px;
  background: #EF4444;
  color: #FFFFFF;
  font-size: 9px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.header-avatar-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, #8BC34A, #7CB342);
  border: 2px solid rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.header-greeting-block {
  display: flex;
  flex-direction: column;
}

.greeting-time {
  font-size: 10.5px;
  color: #8BC34A;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.greeting-user {
  font-family: var(--font-heading);
  font-size: 17.5px;
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.2;
  margin-top: 1px;
}

.greeting-quote {
  font-size: 9.5px;
  color: rgba(255, 255, 255, 0.55);
  font-style: italic;
  margin-top: 3px;
}

/* Dashboard Scroll Body (Unified Natural Mobile Scrolling) */
.dashboard-scroll {
  flex: 1;
  overflow-y: auto;
  padding: 0 0 84px 0;
  display: flex;
  flex-direction: column;
  scrollbar-width: none;
  -ms-overflow-style: none;
  background-color: var(--so-bg);
}

.dashboard-scroll::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

.dashboard-content-cards {
  padding: 12px 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Hardware Telemetry Banner */
.hardware-bridge-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 12px;
  background: #FFFFFF;
  border-radius: var(--so-radius-sm);
  border: 1px solid var(--so-border);
  gap: 8px;
}

.bridge-status-left {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
  flex: 1 1 auto;
  overflow: hidden;
}

.bridge-status-left > div {
  min-width: 0;
  flex: 1 1 auto;
  overflow: hidden;
}

.bridge-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #8BC34A;
  box-shadow: 0 0 0 0 rgba(139, 195, 74, 0.7);
  animation: pulse-green 2s infinite;
  flex-shrink: 0;
}

@keyframes pulse-green {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(139, 195, 74, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(139, 195, 74, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(139, 195, 74, 0); }
}

.bridge-label {
  font-size: 10.5px;
  color: #000000;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bridge-sub {
  font-size: 8.5px;
  color: var(--so-text-secondary);
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bridge-load-right {
  text-align: right;
  flex-shrink: 0;
  white-space: nowrap;
  margin-left: auto;
}

.bridge-power-val {
  font-family: var(--font-heading);
  font-size: 12.5px;
  color: #000000;
  white-space: nowrap;
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
  line-height: 1.1;
}

.bridge-power-val strong {
  font-weight: 700;
  font-size: 13.5px;
}

.bridge-load-tag {
  font-size: 8.5px;
  color: #8BC34A;
  font-weight: 600;
  display: block;
  white-space: nowrap;
}

/* Real Saveon Stats Row (StatsRow.tsx) */
.saveon-stats-row {
  display: flex;
  gap: 12px;
}

.stat-box {
  flex: 1;
  border-radius: 12px;
  padding: 9px 11px;
  display: flex;
  flex-direction: column;
}

.stat-box--charcoal {
  background: linear-gradient(135deg, #2D2D2D 0%, #1A1A1A 100%);
  color: #FFFFFF;
}

.stat-box--green {
  background: linear-gradient(135deg, #8BC34A 0%, #7CB342 100%);
  color: #FFFFFF;
}

.stat-box-icon {
  width: 18px;
  height: 18px;
  margin-bottom: 3px;
}

.stat-box-icon svg {
  width: 16px;
  height: 16px;
}

.stat-box-label {
  font-size: 9.5px;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 400;
  margin-bottom: 2px;
}

.stat-box-value-row {
  display: flex;
  align-items: baseline;
  gap: 3px;
}

.stat-box-val {
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.stat-box-unit {
  font-size: 10.5px;
  font-weight: 400;
}

/* Energy Consumed Card (EnergyConsumptionCard.tsx) */
.energy-consumed-card {
  background: #FFFFFF;
  border-radius: 14px;
  padding: 10px 12px;
  border: 1px solid var(--so-border);
}

.energy-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4px;
}

.energy-card-title {
  font-size: 11.5px;
  font-weight: 500;
  color: var(--so-text-secondary);
}

.timeframe-dropdown-btn {
  display: flex;
  align-items: center;
  gap: 3px;
  padding: 2px 7px;
  border-radius: 10px;
  border: 1px solid #E5E5E5;
  background: #FFFFFF;
  font-size: 9.5px;
  font-family: var(--font-body);
  font-weight: 500;
  color: #000000;
  cursor: pointer;
}

.timeframe-dropdown-btn svg {
  width: 11px;
  height: 11px;
}

.energy-total-row {
  display: flex;
  align-items: baseline;
  gap: 3px;
  margin-bottom: 6px;
}

.energy-total-num {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  color: #000000;
  letter-spacing: -0.5px;
}

.energy-total-unit {
  font-size: 11px;
  font-weight: 500;
  color: #000000;
}

/* Split Bars (Green Eco + Black Consumed) */
.split-bars-container {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  height: 68px;
  padding-top: 4px;
  gap: 6px;
}

.split-bar-col {
  flex: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  cursor: pointer;
}

.split-bar-stack {
  width: 100%;
  max-width: 18px;
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: #F1F5F9;
  height: 100%;
  justify-content: flex-end;
}

.bar-part-green {
  background: #8BC34A;
  width: 100%;
  transition: height 0.3s ease;
}

.bar-part-black {
  background: #2D2D2D;
  width: 100%;
  transition: height 0.3s ease;
}

.split-bar-col.active .bar-part-black {
  background: #000000;
}

.split-day-label {
  font-size: 8.5px;
  color: var(--so-text-secondary);
  margin-top: 3px;
  font-weight: 500;
}

.split-bar-col.active .split-day-label {
  color: #000000;
  font-weight: 700;
}

/* AI Recommendation Card */
.ai-suggestion-card {
  background: #FFFFFF;
  border-radius: var(--so-radius-md);
  padding: 16px;
  border: 1px solid var(--so-border);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.suggestion-header-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.suggestion-sparkle-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(139, 195, 74, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
}

.suggestion-sparkle-icon svg {
  width: 18px;
  height: 18px;
}

.suggestion-tag {
  font-size: 9px;
  font-weight: 700;
  color: #7CB342;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.suggestion-title {
  font-size: 13.5px;
  font-weight: 700;
  color: #000000;
}

.suggestion-text {
  font-size: 11.5px;
  color: var(--so-text-secondary);
  line-height: 1.45;
}

.btn-suggestion-apply {
  align-self: flex-start;
  padding: 6px 14px;
  border-radius: 12px;
  background: #000000;
  color: #FFFFFF;
  border: none;
  font-size: 11px;
  font-weight: 600;
  font-family: var(--font-body);
  cursor: pointer;
  transition: all 0.2s;
}

.btn-suggestion-apply:active {
  transform: scale(0.96);
}

/* Rooms & Appliances Grid */
.rooms-section {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.rooms-section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.rooms-section-title {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
  color: #000000;
}

.rooms-active-counter {
  font-size: 11px;
  font-weight: 600;
  color: #7CB342;
  background: rgba(139, 195, 74, 0.15);
  padding: 2px 10px;
  border-radius: 12px;
}

.rooms-card-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.room-block {
  background: #FFFFFF;
  border-radius: var(--so-radius-md);
  padding: 14px 16px;
  border: 1px solid var(--so-border);
}

.room-block-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 8px;
  margin-bottom: 8px;
  border-bottom: 1px solid #F5F5F5;
}

.room-identity {
  display: flex;
  align-items: center;
  gap: 8px;
}

.room-glyph {
  font-size: 16px;
}

.room-title-text {
  font-size: 13px;
  font-weight: 700;
  color: #000000;
}

.room-power-sum {
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 700;
  color: #8BC34A;
}

.room-devices-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.device-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.device-label {
  font-size: 12px;
  color: #333333;
  font-weight: 500;
}

/* Saveon Switch Toggle */
.toggle-switch {
  position: relative;
  display: inline-block;
  width: 40px;
  height: 24px;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background-color: #E2E8F0;
  border-radius: 24px;
  transition: 0.25s;
}

.toggle-slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: #FFFFFF;
  border-radius: 50%;
  transition: 0.25s;
  box-shadow: 0 1px 3px rgba(0,0,0,0.25);
}

input:checked + .toggle-slider {
  background-color: #8BC34A;
}

input:checked + .toggle-slider:before {
  transform: translateX(16px);
}

/* Floating Action Button (Clean mobile experience: replaced by inline Rooms pill to avoid card obstruction) */
.floating-fab {
  display: none !important;
}

/* Rooms Header Inline Add Room Button */
.rooms-header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-addroom-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #000000;
  color: #FFFFFF;
  border: none;
  border-radius: 12px;
  padding: 3px 9px;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.15s ease;
}

.btn-addroom-pill:hover {
  opacity: 0.85;
}

/* Bottom Nav Protective Shield & Scrim */
.nav-bottom-shield {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 66px;
  background: linear-gradient(180deg, rgba(248, 249, 250, 0) 0%, rgba(248, 249, 250, 0.88) 45%, #F8F9FA 100%);
  pointer-events: none;
  z-index: 55;
  display: none;
}

.phone-viewport.app-logged-in .nav-bottom-shield {
  display: block !important;
}

/* Floating Pill Bottom Navigation (BottomNav.tsx) */
.saveon-bottom-pill-nav {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 12px;
  height: 52px;
  background: #FFFFFF;
  border-radius: 26px;
  display: none;
  align-items: center;
  justify-content: space-around;
  padding: 0 10px;
  border: 1px solid #ECECEC;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
  z-index: 60;
}

.phone-viewport.app-logged-in .saveon-bottom-pill-nav {
  display: flex !important;
}

.nav-pill-btn {
  width: 40px;
  height: 40px;
  border-radius: 20px;
  background: none;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999999;
  cursor: pointer;
  transition: all 0.2s ease;
}

.nav-pill-btn svg {
  width: 24px;
  height: 24px;
}

.nav-pill-btn.active {
  background: #F7F8FA;
  color: #000000;
}

/* ==========================================================================
   4. USAGE ANALYTICS & PERFORMANCE SUB-SCREENS
   ========================================================================== */
.screen--usage, .screen--performance, .screen--weather {
  background: #F8F9FA;
  padding-top: 44px;
}

.screen--usage .screen-body-scroll,
.screen--performance .screen-body-scroll,
.screen--weather .screen-body-scroll {
  padding: 12px 20px 110px;
}

.screen-sub-header {
  padding: 10px 18px;
  background: #FFFFFF;
  border-bottom: 1px solid #F0F0F0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.btn-sub-back {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #F1F5F9;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #000000;
}

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

.sub-header-title {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
  color: #000000;
}

.sub-header-spacer {
  width: 36px;
}

.usage-period-pills {
  display: flex;
  background: #EAECEF;
  padding: 3px;
  border-radius: 12px;
  gap: 3px;
  margin-bottom: 8px;
}

.usage-period-chip {
  flex: 1;
  background: none;
  border: none;
  padding: 5px 0;
  border-radius: 9px;
  font-size: 11px;
  font-family: var(--font-body);
  font-weight: 500;
  color: #666666;
  cursor: pointer;
}

.usage-period-chip.active {
  background: #FFFFFF;
  color: #000000;
  font-weight: 700;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}

.usage-kpi-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 10px;
}

.kpi-card {
  background: #FFFFFF;
  border-radius: 12px;
  padding: 10px 12px;
  border: 1px solid var(--so-border);
}

.kpi-label {
  font-size: 10px;
  color: var(--so-text-secondary);
  display: block;
  margin-bottom: 2px;
}

.kpi-val {
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 700;
  color: #000000;
}

.kpi-val small {
  font-size: 11px;
  font-weight: 500;
}

.kpi-status-tag {
  font-size: 9px;
  color: var(--so-text-muted);
  display: block;
  margin-top: 2px;
}

.text-green {
  color: #7CB342;
  font-weight: 600;
}

.usage-chart-box {
  background: #FFFFFF;
  border-radius: 14px;
  padding: 12px;
  border: 1px solid var(--so-border);
  margin-bottom: 10px;
}

.chart-box-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.chart-box-label {
  font-size: 11.5px;
  font-weight: 600;
  color: #000000;
}

.chart-legend-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #8BC34A;
}

.curve-chart-svg {
  width: 100%;
  height: 88px;
}

.chart-x-labels {
  display: flex;
  justify-content: space-between;
  padding: 4px 2px 0;
  font-size: 9px;
  color: var(--so-text-muted);
}

.tariff-alert-box {
  display: flex;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 12px;
  background: #FFFBEB;
  border: 1px solid #FDE68A;
}

.tariff-icon {
  font-size: 16px;
}

.tariff-desc strong {
  font-size: 11px;
  color: #92400E;
  display: block;
}

.tariff-desc span {
  font-size: 10px;
  color: #B45309;
  line-height: 1.3;
  display: block;
  margin-top: 2px;
}

/* Performance Circular Gauge */
.progress-ring-card {
  background: #FFFFFF;
  border-radius: 16px;
  padding: 13px 14px;
  border: 1px solid var(--so-border);
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.svg-ring-wrapper {
  position: relative;
  width: 86px;
  height: 86px;
  flex-shrink: 0;
}

.ring-svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.ring-bg {
  fill: none;
  stroke: #F1F5F9;
  stroke-width: 10;
}

.ring-fill {
  fill: none;
  stroke: #8BC34A;
  stroke-width: 10;
  stroke-linecap: round;
  transition: stroke-dashoffset 0.6s ease, stroke 0.3s ease;
}

.ring-fill.is-excess {
  stroke: #EF4444 !important;
  filter: drop-shadow(0 0 6px rgba(239, 68, 68, 0.4));
}

.ring-fill.is-warn {
  stroke: #F59E0B !important;
}

.ring-center-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.ring-pct-text {
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 700;
  color: #000000;
  line-height: 1;
  transition: color 0.3s ease;
}

.ring-pct-text.is-excess {
  color: #EF4444 !important;
}

.ring-sub-label {
  font-size: 9px;
  color: var(--so-text-muted);
  margin-top: 2px;
  transition: color 0.3s ease;
}

.ring-sub-label.is-excess {
  color: #EF4444 !important;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.goal-info-block {
  flex: 1;
  min-width: 0;
}

.goal-header-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 2px;
}

.goal-info-block h4 {
  font-size: 13px;
  font-weight: 700;
  color: #000000;
  margin: 0;
}

.budget-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 2px 7px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1px;
  white-space: nowrap;
}

.budget-status-pill--ok {
  background: #ECFDF5;
  color: #047857;
  border: 1px solid #A7F3D0;
}

.budget-status-pill--warn {
  background: #FFFBEB;
  color: #B45309;
  border: 1px solid #FDE68A;
}

.budget-status-pill--excess {
  background: #FEF2F2;
  color: #DC2626;
  border: 1px solid #FECACA;
  animation: pulse-budget-border 2s infinite ease-in-out;
}

@keyframes pulse-budget-border {
  0%, 100% { border-color: #FECACA; }
  50% { border-color: #EF4444; }
}

.goal-usage-p {
  font-size: 12px;
  color: var(--so-text-secondary);
  margin: 3px 0 4px;
}

.goal-excess-summary {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  margin-bottom: 8px;
}

.excess-metric-label {
  color: var(--so-text-muted);
}

.excess-metric-val {
  font-weight: 700;
}

.excess-metric-val.font-green {
  color: #10B981;
}

.excess-metric-val.font-red {
  color: #DC2626;
}

.excess-metric-val.font-amber {
  color: #D97706;
}

.btn-edit-goal {
  padding: 5px 12px;
  border-radius: 10px;
  background: #000000;
  color: #FFFFFF;
  border: none;
  font-size: 11px;
  font-weight: 600;
  font-family: var(--font-body);
  cursor: pointer;
  transition: opacity 0.15s;
}

.btn-edit-goal:hover {
  opacity: 0.85;
}

/* Dedicated Budget Excess & Buffer Callout Banner */
.budget-callout-card {
  border-radius: 12px;
  padding: 10px 12px;
  margin-bottom: 10px;
  border: 1px solid var(--so-border);
  background: #FFFFFF;
  transition: all 0.3s ease;
}

.budget-callout-card.is-excess {
  background: linear-gradient(180deg, #FEF2F2 0%, #FFFFFF 100%);
  border-color: #FCA5A5;
}

.budget-callout-card.is-ok {
  background: linear-gradient(180deg, #F0FDF4 0%, #FFFFFF 100%);
  border-color: #BBF7D0;
}

.budget-callout-card.is-warn {
  background: linear-gradient(180deg, #FFFBEB 0%, #FFFFFF 100%);
  border-color: #FDE68A;
}

.callout-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}

.callout-title-group {
  display: flex;
  align-items: center;
  gap: 6px;
}

.callout-title {
  font-size: 12px;
  font-weight: 700;
  color: #000000;
}

.callout-badge {
  font-size: 9px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 999px;
}

.callout-badge.badge-red {
  background: #DC2626;
  color: #FFFFFF;
}

.callout-badge.badge-green {
  background: #10B981;
  color: #FFFFFF;
}

.callout-badge.badge-amber {
  background: #D97706;
  color: #FFFFFF;
}

.callout-desc {
  font-size: 10.5px;
  color: var(--so-text-secondary);
  line-height: 1.35;
  margin: 0 0 6px;
}

.callout-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  background: rgba(0, 0, 0, 0.025);
  padding: 6px 8px;
  border-radius: 8px;
}

.callout-stat-col {
  display: flex;
  flex-direction: column;
}

.callout-stat-label {
  font-size: 8px;
  color: var(--so-text-muted);
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.2px;
}

.callout-stat-val {
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 700;
  color: #000000;
  margin-top: 1px;
}

.callout-stat-val.text-danger {
  color: #DC2626;
}

.callout-stat-val.text-success {
  color: #059669;
}

.excessive-summary-card {
  background: #FFFFFF;
  border-radius: 12px;
  padding: 10px 12px;
  border: 1px solid var(--so-border);
  margin-bottom: 10px;
}

.excessive-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.excessive-head h5 {
  font-size: 12px;
  font-weight: 700;
  color: #000000;
}

.excessive-badge {
  font-size: 9.5px;
  color: #DC2626;
  background: #FEE2E2;
  padding: 1px 7px;
  border-radius: 10px;
  font-weight: 600;
}

.incident-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.incident-item strong {
  font-size: 11.5px;
  color: #000000;
  display: block;
}

.incident-item small {
  font-size: 10px;
  color: var(--so-text-secondary);
}

.share-breakdown-card {
  background: #FFFFFF;
  border-radius: 12px;
  padding: 12px;
  border: 1px solid var(--so-border);
}

.share-breakdown-card h5 {
  font-size: 12px;
  font-weight: 700;
  color: #000000;
  margin-bottom: 12px;
}

.share-bars-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.share-label-row {
  display: flex;
  justify-content: space-between;
  font-size: 11.5px;
  margin-bottom: 4px;
}

.share-track {
  height: 8px;
  background: #F1F5F9;
  border-radius: 4px;
  overflow: hidden;
}

.share-fill {
  height: 100%;
  border-radius: 4px;
}

/* ==========================================================================
   5. WATTBOT AI CONSULTANT (ChatScreen.tsx)
   ========================================================================== */
.screen--chat {
  background: #F8FAFC;
  padding-top: 44px;
}

.wattbot-header {
  padding: 12px 18px;
  background: #000000;
  display: flex;
  align-items: center;
  gap: 12px;
}

.wattbot-header .btn-circle-back {
  background: #FFFFFF !important;
  color: #000000 !important;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
  white-space: nowrap;
}

.wattbot-header .btn-circle-back svg,
.wattbot-header .btn-circle-back svg path {
  fill: #000000 !important;
}

.wattbot-title-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.wattbot-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #8BC34A;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wattbot-avatar svg {
  width: 18px;
  height: 18px;
}

.wattbot-name {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
  color: #FFFFFF;
}

.wattbot-status {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.7);
  display: flex;
  align-items: center;
  gap: 4px;
}

.wattbot-green-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #8BC34A;
}

.wattbot-messages {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.wattbot-messages::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

.chat-bubble-row {
  display: flex;
  gap: 8px;
  max-width: 86%;
}

.chat-bubble-row.bot {
  align-self: flex-start;
}

.chat-bubble-row.user {
  align-self: flex-end;
  flex-direction: row-reverse;
}

.bubble-avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #000000;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.bubble-avatar svg {
  width: 14px;
  height: 14px;
}

.chat-bubble {
  padding: 10px 14px;
  border-radius: 16px;
  font-size: 12px;
  line-height: 1.45;
}

.chat-bubble-row.bot .chat-bubble {
  background: #FFFFFF;
  color: #000000;
  border: 1px solid #E5E7EB;
  border-top-left-radius: 4px;
}

.chat-bubble-row.user .chat-bubble {
  background: #000000;
  color: #FFFFFF;
  border-top-right-radius: 4px;
}

.wattbot-chips-bar {
  padding: 8px 14px;
  background: #FFFFFF;
  display: flex;
  gap: 6px;
  overflow-x: auto;
  white-space: nowrap;
  border-top: 1px solid #F1F5F9;
}

.wattbot-chip {
  background: #F1F5F9;
  border: 1px solid #E2E8F0;
  padding: 6px 12px;
  border-radius: 14px;
  font-size: 11px;
  font-family: var(--font-body);
  color: #000000;
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.15s;
}

.wattbot-chip:hover {
  background: #000000;
  color: #FFFFFF;
}

.wattbot-input-bar {
  padding: 10px 14px 20px;
  background: #FFFFFF;
  border-top: 1px solid #E2E8F0;
  display: flex;
  gap: 8px;
}

.wattbot-input-bar input {
  flex: 1;
  height: 42px;
  padding: 0 16px;
  border-radius: 21px;
  border: 1.5px solid #E2E8F0;
  font-family: var(--font-body);
  font-size: 13px;
  color: #000000;
}

.wattbot-input-bar input:focus {
  outline: none;
  border-color: #000000;
}

.wattbot-input-bar button {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #000000;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.wattbot-input-bar button svg {
  width: 18px;
  height: 18px;
}

/* ==========================================================================
   6. MODALS & SHEETS
   ========================================================================== */
.app-modal-backdrop {
  display: none;
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 120;
  flex-direction: column;
  justify-content: flex-end;
  animation: fadeIn 0.2s ease;
}

.app-modal-backdrop.active {
  display: flex !important;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.notif-sheet, .room-sheet {
  background: #FFFFFF;
  border-top-left-radius: 28px;
  border-top-right-radius: 28px;
  padding: 20px 20px 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-height: 80%;
  animation: slideUp 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.notif-sheet-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 8px;
  border-bottom: 1px solid #F0F0F0;
}

.notif-sheet-header h4 {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  color: #000000;
}

.btn-clear-notifs {
  background: none;
  border: none;
  font-size: 11px;
  color: var(--so-text-secondary);
  cursor: pointer;
}

.btn-close-modal {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #F1F5F9;
  border: none;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.notif-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow-y: auto;
}

.notif-card {
  display: flex;
  gap: 12px;
  padding: 12px;
  border-radius: 14px;
  background: #F8F9FA;
  border: 1px solid #E5E7EB;
}

.notif-severity-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-top: 4px;
  flex-shrink: 0;
}

.notif-severity-dot.red { background: #EF4444; }
.notif-severity-dot.amber { background: #F59E0B; }

.notif-content strong {
  font-size: 12px;
  color: #000000;
  display: block;
}

.notif-content p {
  font-size: 11px;
  color: var(--so-text-secondary);
  margin: 2px 0 4px;
}

.notif-content small {
  font-size: 9.5px;
  color: var(--so-text-muted);
}

.color-chips-row {
  display: flex;
  gap: 10px;
  margin-top: 6px;
}

.color-chip {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s;
}

.color-chip.active {
  border-color: #000000;
  transform: scale(1.15);
}

.modal-label {
  font-size: 12px;
  font-weight: 600;
  color: #000000;
}

/* Toast */
.saveon-toast {
  position: absolute;
  bottom: 96px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(8px);
  color: #FFFFFF;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 11.5px;
  font-weight: 500;
  z-index: 150;
  box-shadow: 0 4px 14px rgba(0,0,0,0.25);
  pointer-events: none;
  white-space: nowrap;
}

.saveon-toast[hidden] {
  display: none;
}

/* ==========================================================================
   7. WEATHER & HVAC IMPACT SCREEN (WelcomeHeader weather chip)
   ========================================================================== */
.btn-weather-refresh {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #F1F5F9;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #000000;
  transition: all 0.2s;
}

.btn-weather-refresh svg {
  width: 18px;
  height: 18px;
}

.btn-weather-refresh:active {
  transform: rotate(180deg);
}

.weather-location-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.weather-location-info {
  display: flex;
  align-items: center;
  gap: 8px;
}

.weather-location-info .loc-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.weather-location-info strong {
  display: block;
  font-size: 13.5px;
  color: #000000;
}

.weather-sub-loc {
  font-size: 11px;
  color: #64748B;
}

.btn-unit-chip {
  padding: 5px 12px;
  border-radius: 14px;
  background: #000000;
  color: #FFFFFF;
  border: none;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  font-family: var(--font-body);
}

.weather-hero-card {
  background: linear-gradient(135deg, #2A2A2A 0%, #1A1A1A 60%, #0A0A0A 100%);
  border-radius: var(--so-radius-lg);
  padding: 20px 18px 18px;
  color: #FFFFFF;
  margin-bottom: 14px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.weather-hero-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 16px;
}

.weather-temp-huge {
  font-family: var(--font-heading);
  font-size: 48px;
  font-weight: 700;
  line-height: 1;
  color: #FFFFFF;
}

.weather-degree {
  font-size: 24px;
  font-weight: 500;
  color: #B7863C;
  vertical-align: top;
  margin-left: 2px;
}

.weather-condition-text {
  display: block;
  font-size: 13px;
  color: #A0AEC0;
  margin-top: 4px;
  font-weight: 500;
}

.weather-hero-glyph {
  font-size: 42px;
}

.weather-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 10px 8px;
}

.weather-stat-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.wstat-label {
  font-size: 9.5px;
  color: #94A3B8;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.wstat-val {
  font-size: 12px;
  font-weight: 700;
  color: #FFFFFF;
  margin-top: 2px;
}

/* Energy & Climate Impact Card */
.energy-impact-card {
  background: #FFFFFF;
  border-radius: var(--so-radius-md);
  padding: 16px;
  border: 1px solid var(--so-border);
  margin-bottom: 14px;
}

.impact-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.impact-badge {
  font-size: 11px;
  font-weight: 700;
  color: #7CB342;
  background: rgba(139, 195, 74, 0.15);
  padding: 3px 8px;
  border-radius: 8px;
}

.impact-level.amber {
  font-size: 11px;
  font-weight: 700;
  color: #D97706;
}

.impact-text {
  font-size: 12px;
  color: var(--so-text-secondary);
  line-height: 1.45;
  margin-bottom: 12px;
}

.impact-action-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.impact-savings-pill {
  font-size: 11.5px;
  color: #2E7D32;
  background: #F1F8E9;
  padding: 6px 10px;
  border-radius: 8px;
}

.btn-impact-optimize {
  width: 100%;
  padding: 10px;
  background: #000000;
  color: #FFFFFF;
  border: none;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  font-family: var(--font-body);
}

/* Hourly and Daily Forecast Sections */
.hourly-forecast-section,
.daily-forecast-section {
  background: #FFFFFF;
  border-radius: var(--so-radius-md);
  padding: 14px 16px;
  border: 1px solid var(--so-border);
  margin-bottom: 14px;
}

.forecast-section-title {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  color: #000000;
  margin-bottom: 10px;
}

.hourly-chips-row {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: none;
}

.hourly-chips-row::-webkit-scrollbar {
  display: none;
}

.hourly-chip {
  flex: 0 0 54px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 8px 4px;
  border-radius: 12px;
  background: #F8F9FA;
  border: 1px solid #EDEDED;
  gap: 3px;
}

.hourly-chip.active {
  background: #000000;
  color: #FFFFFF;
  border-color: #000000;
}

.hourly-chip.active .h-time,
.hourly-chip.active .h-temp {
  color: #FFFFFF;
}

.hourly-chip.active .h-load {
  color: #8BC34A;
}

.h-time {
  font-size: 10px;
  color: #64748B;
  font-weight: 600;
}

.h-icon {
  font-size: 15px;
}

.h-temp {
  font-size: 11px;
  font-weight: 700;
  color: #000000;
}

.h-load {
  font-size: 9.5px;
  font-weight: 600;
  color: #7CB342;
}

.daily-cards-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.daily-card-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 0;
  border-bottom: 1px solid #F5F5F5;
  font-size: 12px;
}

.daily-card-row:last-child {
  border-bottom: none;
}

.d-day {
  flex: 1.2;
  font-weight: 600;
  color: #000000;
}

.d-icon {
  flex: 0.8;
  font-size: 14px;
}

.d-range {
  flex: 1.2;
  font-weight: 600;
  color: #475569;
}

.d-tag {
  font-size: 10px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 10px;
}

.d-tag.high {
  background: #FEF2F2;
  color: #DC2626;
}

.d-tag.med {
  background: #FFFBEB;
  color: #D97706;
}

.d-tag.low {
  background: #F0FDF4;
  color: #16A34A;
}

/* ==========================================================================
   8. PROFILE MODAL & SETTINGS PREFERENCES
   ========================================================================== */
.profile-sheet, .settings-sheet {
  max-height: 85%;
  overflow-y: auto;
  scrollbar-width: none;
}

.profile-sheet::-webkit-scrollbar,
.settings-sheet::-webkit-scrollbar {
  display: none;
}

.profile-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 0 16px;
  border-bottom: 1px solid #F0F0F0;
  margin-bottom: 10px;
}

.profile-large-avatar {
  position: relative;
  width: 54px;
  height: 54px;
  border-radius: 27px;
  background: linear-gradient(135deg, #000000 0%, #2A2A2A 100%);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  border: 2px solid #B7863C;
  flex-shrink: 0;
}

.avatar-online-dot {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #10B981;
  border: 2px solid #FFFFFF;
}

.profile-info-block {
  display: flex;
  flex-direction: column;
}

.profile-user-name {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  color: #000000;
  line-height: 1.2;
}

.profile-user-email {
  font-size: 12px;
  color: #64748B;
  margin-top: 2px;
}

.profile-role-badge {
  font-size: 9.5px;
  font-weight: 600;
  color: #B7863C;
  background: rgba(183, 134, 60, 0.12);
  padding: 2px 8px;
  border-radius: 8px;
  margin-top: 5px;
  align-self: flex-start;
}

.profile-menu-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.profile-menu-item {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 10px 12px;
  border-radius: 12px;
  background: #F8F9FA;
  border: 1px solid #F0F0F0;
  cursor: pointer;
  text-align: left;
  transition: all 0.2s;
}

.profile-menu-item:hover {
  background: #F1F5F9;
}

.menu-icon-box {
  width: 36px;
  height: 36px;
  border-radius: 18px;
  background: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000000;
  flex-shrink: 0;
  border: 1px solid #ECECEC;
}

.menu-icon-box svg {
  width: 18px;
  height: 18px;
}

.menu-text-block {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.menu-text-block strong {
  font-size: 13px;
  color: #000000;
}

.menu-text-block span {
  font-size: 11px;
  color: #64748B;
}

.menu-arrow {
  font-size: 18px;
  color: #94A3B8;
}

.profile-menu-item--signout {
  margin-top: 6px;
  border-color: #FECACA;
  background: #FEF2F2;
}

.profile-menu-item--signout:hover {
  background: #FEE2E2;
}

.profile-menu-item--signout .signout-icon {
  background: #FEE2E2;
  color: #DC2626;
  border-color: #FECACA;
}

.profile-menu-item--signout strong {
  color: #DC2626;
}

/* Settings Sheet Styles */
.settings-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.settings-group {
  background: #F8F9FA;
  border-radius: 12px;
  padding: 12px 14px;
  border: 1px solid #F0F0F0;
}

.settings-group-title {
  display: block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #64748B;
  margin-bottom: 8px;
}

.settings-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 4px 0;
}

.settings-row:not(:last-child) {
  border-bottom: 1px solid #ECECEC;
  padding-bottom: 8px;
  margin-bottom: 6px;
}

.settings-row strong {
  display: block;
  font-size: 12px;
  color: #000000;
}

.settings-row span {
  font-size: 10.5px;
  color: #64748B;
}

.unit-segmented-control {
  display: flex;
  background: #E2E8F0;
  border-radius: 16px;
  padding: 2px;
}

.unit-segment {
  padding: 4px 10px;
  border-radius: 14px;
  border: none;
  background: none;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  color: #475569;
  font-family: var(--font-body);
}

.unit-segment.active {
  background: #000000;
  color: #FFFFFF;
}

.setting-toggle {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
  flex-shrink: 0;
}

.setting-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background-color: #CBD5E1;
  transition: 0.2s;
  border-radius: 24px;
}

.toggle-slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: 0.2s;
  border-radius: 50%;
}

.setting-toggle input:checked + .toggle-slider {
  background-color: #8BC34A;
}

.setting-toggle input:checked + .toggle-slider:before {
  transform: translateX(20px);
}


/* ==========================================================================
   AUTHENTIC SMARTPHONE SIZING & TYPOGRAPHY FOR PHONE VIEWPORT
   Guarantees genuine mobile app aesthetics in embedded, standalone & fullscreen
   ========================================================================== */
.phone-viewport .ios-status-bar {
  padding: 0 12px;
  font-size: 11px;
  height: 38px;
  background: #141518;
}
.phone-viewport.theme-light-status .ios-status-bar {
  background: #FFFFFF !important;
  color: #000000 !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08) !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04) !important;
}
.phone-viewport .sim-fs-pill {
  padding: 1px 6px;
  font-size: 9.5px;
  white-space: nowrap;
}
.phone-viewport .welcome-content {
  padding: 0 16px 18px;
}
.phone-viewport .welcome-brand {
  margin-bottom: 10px;
}
.phone-viewport .welcome-text-line {
  font-size: 28px;
  line-height: 1.1;
}
.phone-viewport .welcome-appname {
  font-size: 30px;
  margin-bottom: 5px;
  line-height: 1.1;
}
.phone-viewport .welcome-tagline {
  font-size: 11px;
  line-height: 15px;
  max-width: 220px;
}
.phone-viewport .welcome-actions {
  gap: 8px;
}
.phone-viewport .btn-welcome-primary {
  height: 42px;
  font-size: 14px;
  border-radius: 21px;
}
.phone-viewport .btn-welcome-secondary {
  height: 36px;
  font-size: 11px;
  border-radius: 18px;
}
.phone-viewport .welcome-footer {
  margin-top: 4px;
}
.phone-viewport .welcome-footer-text, 
.phone-viewport .welcome-link {
  font-size: 9.5px;
}

.phone-viewport .screen--home {
  padding-top: 0 !important;
}

/* Zero-scroll Login screen */
.phone-viewport .screen--login {
  padding-top: 32px !important;
  overflow: hidden !important;
}
.phone-viewport .screen--login .screen-header-row {
  padding: 2px 14px 0 !important;
}
.phone-viewport .screen--login .btn-circle-back {
  width: 32px;
  height: 32px;
}
.phone-viewport .screen--login .btn-circle-back svg {
  width: 18px;
  height: 18px;
}
.phone-viewport .screen--login .screen-body-scroll {
  padding: 0 14px 6px !important;
  overflow: hidden !important;
}
.phone-viewport .screen--login .auth-title-section {
  margin-bottom: 4px;
}
.phone-viewport .screen--login .auth-title {
  font-size: 20px;
  line-height: 1.1;
}
.phone-viewport .screen--login .demo-autofill-card {
  padding: 4px 10px;
  margin-bottom: 6px;
  border-radius: 10px;
  gap: 8px;
}
.phone-viewport .screen--login .autofill-badge-icon {
  font-size: 14px;
}
.phone-viewport .screen--login .autofill-title {
  font-size: 10.5px;
}
.phone-viewport .screen--login .autofill-email {
  font-size: 9.5px;
}
.phone-viewport .screen--login .autofill-btn-pill {
  padding: 2px 7px;
  font-size: 9.5px;
}
.phone-viewport .screen--login .auth-form {
  gap: 6px;
}
.phone-viewport .screen--login .auth-input {
  height: 35px;
  font-size: 12.5px;
  border-radius: 10px;
  padding: 0 34px 0 32px;
}
.phone-viewport .screen--login .auth-icon-box {
  left: 9px;
  width: 16px;
  height: 16px;
}
.phone-viewport .screen--login .auth-icon-box svg {
  width: 15px;
  height: 15px;
}
.phone-viewport .screen--login .auth-eye-btn {
  right: 9px;
}
.phone-viewport .screen--login .auth-eye-btn svg {
  width: 15px;
  height: 15px;
}
.phone-viewport .screen--login .auth-forgot-row {
  margin: 1px 0;
}
.phone-viewport .screen--login .auth-link-btn {
  font-size: 10px;
}
.phone-viewport .screen--login .btn-auth-primary {
  height: 36px;
  font-size: 13.5px;
  border-radius: 18px;
  margin-top: 2px;
}
.phone-viewport .screen--login .auth-divider {
  margin: 4px 0;
  font-size: 10px;
}
.phone-viewport .screen--login .btn-google-auth {
  height: 34px;
  font-size: 11.5px;
  border-radius: 17px;
}
.phone-viewport .screen--login .auth-switch-prompt {
  font-size: 10px;
  margin-top: 4px;
}

.phone-viewport .screen--signup,
.phone-viewport .screen--forgot,
.phone-viewport .screen--weather {
  padding-top: 36px;
}

.phone-viewport .saveon-dark-header {
  padding: 40px 16px 18px !important;
  flex-shrink: 0 !important;
}

.phone-viewport .greeting-time {
  font-size: 10.5px;
}
.phone-viewport .greeting-user {
  font-size: 17.5px;
}
.phone-viewport .greeting-quote {
  font-size: 9.5px;
}
.phone-viewport .location-pill {
  font-size: 11px;
}
.phone-viewport .location-pill span {
  max-width: 78px;
}

.phone-viewport .screen--home .screen-body-scroll,
.phone-viewport .screen--usage .screen-body-scroll,
.phone-viewport .screen--performance .screen-body-scroll {
  padding: 8px 14px 75px !important;
}

.phone-viewport .screen--signup .screen-body-scroll,
.phone-viewport .screen--forgot .screen-body-scroll {
  padding: 4px 14px 18px !important;
}

.phone-viewport .saveon-bottom-pill-nav {
  left: 12px;
  right: 12px;
  bottom: 8px;
  height: 48px;
  padding: 0 8px;
}
.phone-viewport .nav-pill-btn {
  width: 36px;
  height: 36px;
}
