
[hidden]{
  display:none !important;
}

:root{
  --green:#075341;
  --green-deep:#06382f;
  --green-dark:#052e27;
  --mint:#e8f5ef;
  --mint-2:#f3faf6;
  --orange:#f58b45;
  --ink:#10231d;
  --muted:#65746e;
  --line:#dce9e3;
  --paper:#fff;
  --surface:#f6f9f7;
  font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}
*{box-sizing:border-box}
body{margin:0;background:var(--surface);color:var(--ink)}
button{font:inherit}
.portal-shell{width:min(1160px,calc(100% - 36px));margin:auto}
.portal-header{
  background:#ffffffeb;
  border-bottom:1px solid #e7efeb;
  backdrop-filter:blur(18px);
  position:sticky;top:0;z-index:20
}
.header-inner{min-height:78px;display:flex;align-items:center;justify-content:space-between}
.brand img{display:block;width:188px;height:auto}
.portal-label{
  display:flex;align-items:center;gap:9px;
  font-size:12px;font-weight:850;letter-spacing:.06em;
  text-transform:uppercase;color:var(--green)
}
.portal-dot{width:8px;height:8px;border-radius:50%;background:#23ad70;box-shadow:0 0 0 6px #23ad7018}

.login-stage{
  min-height:calc(100vh - 78px);
  display:grid;align-items:center;
  position:relative;overflow:hidden;
  background:
    radial-gradient(circle at 12% 18%,#c9eadb8f,transparent 28%),
    radial-gradient(circle at 84% 75%,#f5c8a23d,transparent 26%),
    linear-gradient(135deg,#f8fcfa 0%,#edf7f1 55%,#fbf8f4 100%)
}
.login-glow{position:absolute;border-radius:50%;pointer-events:none}
.glow-one{width:420px;height:420px;left:-180px;bottom:-170px;border:1px solid #78b89a45}
.glow-two{width:300px;height:300px;right:-130px;top:-100px;border:1px solid #e69a6757}

.login-grid{
  display:grid;grid-template-columns:1.06fr .72fr;gap:74px;
  align-items:center;padding:80px 0
}
.eyebrow,.small-kicker{
  color:#0d795a;font-size:10px;font-weight:900;
  letter-spacing:.16em;text-transform:uppercase
}
.login-copy h1{
  font-size:clamp(43px,5.4vw,70px);line-height:.99;
  margin:17px 0 22px;letter-spacing:-.055em
}
.login-copy h1 span{color:#0b6b50}
.login-copy>p{
  max-width:650px;font-size:17px;line-height:1.7;color:#53655e
}
.trust-row{display:flex;flex-wrap:wrap;gap:11px;margin-top:28px}
.trust-row span{
  background:#fff;border:1px solid #dceae3;border-radius:999px;
  padding:10px 14px;font-size:11px;font-weight:750;color:#244a3e
}

.login-card{
  background:#fff;border:1px solid #dce9e3;border-radius:28px;
  box-shadow:0 28px 70px #0b50301c;
  padding:30px
}
.card-logo{height:56px;display:flex;align-items:center;margin-bottom:28px}
.card-logo img{width:190px;height:auto;display:block}
.login-card h2{font-size:27px;letter-spacing:-.035em;margin:9px 0 8px}
.muted{color:var(--muted)}
.login-card .muted{font-size:13px;line-height:1.55;margin-bottom:20px}
.google-button-host{min-height:44px;display:flex;align-items:center}
.status-message{
  margin-top:13px;padding:11px 13px;background:#f6f9f7;
  border-radius:12px;font-size:11px;color:#61736c
}
.status-message.error{background:#fff1ef;color:#9d332b}
.security-note{
  display:flex;gap:11px;margin-top:20px;padding-top:20px;
  border-top:1px solid #edf1ef
}
.shield{
  flex:0 0 31px;height:31px;border-radius:10px;
  display:grid;place-items:center;background:#e7f6ed;color:#09714f;font-weight:900
}
.security-note strong{display:block;font-size:11.5px}
.security-note small{display:block;margin-top:4px;color:#7a8983;font-size:10.5px;line-height:1.4}

.dashboard{padding:54px 0 78px;min-height:calc(100vh - 78px)}
.dashboard-top{
  display:flex;justify-content:space-between;gap:30px;align-items:flex-start;margin-bottom:27px
}
.dashboard-top h1{font-size:38px;letter-spacing:-.045em;margin:8px 0 4px}
.ghost-button{
  border:1px solid #cadbd3;background:#fff;color:#164b3c;border-radius:13px;
  padding:11px 15px;font-weight:800;cursor:pointer
}
.policy-hero{
  border-radius:27px;padding:27px;
  background:linear-gradient(135deg,#06382f,#0d6750);
  color:white;box-shadow:0 22px 45px #06382f26;
  display:grid;grid-template-columns:1fr auto;gap:20px;align-items:center
}
.policy-hero h2{font-size:25px;margin:4px 0 7px;letter-spacing:-.035em}
.policy-hero p{margin:0;color:#cfe5dc;font-size:12.5px;line-height:1.55}
.price-block{text-align:right}
.price-block strong{display:block;font-size:37px;letter-spacing:-.05em}
.price-block span{font-size:11px;color:#cfe5dc;font-weight:700}
.policy-badge{
  display:inline-flex;padding:7px 10px;border-radius:999px;
  background:#ffffff17;border:1px solid #ffffff28;
  font-size:9px;font-weight:900;letter-spacing:.09em
}
.content-heading{
  display:flex;justify-content:space-between;align-items:flex-end;
  margin:40px 0 16px;gap:20px
}
.content-heading h2{font-size:25px;margin:6px 0 0;letter-spacing:-.035em}
.sync-pill{
  display:flex;align-items:center;gap:8px;background:#eaf6ef;color:#166044;
  padding:8px 11px;border-radius:999px;font-size:10px;font-weight:800
}
.sync-pill span{width:7px;height:7px;border-radius:50%;background:#24af70}

.vehicle-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.vehicle-card{
  background:#fff;border:1px solid #dfeae5;border-radius:21px;padding:19px;
  box-shadow:0 12px 30px #0c4c3010
}
.vehicle-top{display:flex;align-items:center;gap:13px}
.vehicle-icon{
  width:47px;height:47px;border-radius:15px;background:#eaf6f0;
  display:grid;place-items:center;font-size:22px
}
.vehicle-main{flex:1;min-width:0}
.vehicle-main strong{display:block;font-size:14px}
.vehicle-main small{display:block;color:#71817b;margin-top:4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.badge{
  padding:6px 9px;border-radius:999px;font-size:9px;font-weight:900;
  text-transform:uppercase
}
.badge.good{background:#e8f7ee;color:#08714d}
.badge.warn{background:#fff5dd;color:#916517}
.badge.bad{background:#fff0ed;color:#a03c32}
.badge.free{background:#eaf4ff;color:#285d86}
.vehicle-stats{
  display:grid;grid-template-columns:repeat(3,1fr);background:#f6f9f7;
  border-radius:14px;margin-top:16px;padding:12px 4px
}
.vehicle-stats div{text-align:center;padding:0 7px;border-right:1px solid #e3ebe7}
.vehicle-stats div:last-child{border-right:0}
.vehicle-stats b{display:block;font-size:11px}
.vehicle-stats span{display:block;color:#7a8983;font-size:8.5px;margin-top:3px}
.portal-action{
  width:100%;margin-top:14px;border:0;border-radius:12px;padding:12px 14px;
  font-weight:850;font-size:11px;background:#eef4f1;color:#557168
}
.portal-action.active{background:#0b6b50;color:#fff;cursor:pointer}

.empty{
  grid-column:1/-1;background:#fff;border:1px solid #e0eae5;border-radius:20px;
  padding:36px;text-align:center;color:#66766f
}
.website-payment-note{
  margin-top:26px;display:flex;gap:14px;padding:19px;
  background:#eef7f2;border:1px solid #d8e9e0;border-radius:18px
}
.note-icon{
  width:40px;height:40px;border-radius:13px;background:#0c694f;color:#fff;
  display:grid;place-items:center;font-size:22px
}
.website-payment-note strong{display:block;font-size:12.5px}
.website-payment-note p{margin:5px 0 0;color:#63756d;font-size:11px;line-height:1.55}

footer{border-top:1px solid #dfe9e4;background:#fff}
.footer-inner{
  min-height:72px;display:flex;justify-content:space-between;align-items:center;
  color:#71817a;font-size:10.5px
}
.footer-inner div{display:flex;gap:18px}
.footer-inner a{color:#426358;text-decoration:none;font-weight:700}

@media(max-width:820px){
  .login-grid{grid-template-columns:1fr;gap:38px;padding:50px 0}
  .login-copy h1{font-size:46px}
  .login-copy>p{font-size:15px}
  .vehicle-grid{grid-template-columns:1fr}
  .policy-hero{grid-template-columns:1fr}
  .price-block{text-align:left}
}
@media(max-width:560px){
  .portal-shell{width:min(100% - 28px,1160px)}
  .header-inner{min-height:68px}
  .brand img{width:154px}
  .portal-label{font-size:9px}
  .login-stage{min-height:calc(100vh - 68px)}
  .login-grid{padding:38px 0}
  .login-copy h1{font-size:38px}
  .trust-row{display:grid}
  .login-card{padding:22px;border-radius:22px}
  .dashboard{padding-top:36px}
  .dashboard-top{align-items:flex-start}
  .dashboard-top h1{font-size:30px}
  .policy-hero{padding:21px;border-radius:22px}
  .content-heading{align-items:flex-start;flex-direction:column}
  .footer-inner{padding:20px 0;align-items:flex-start;flex-direction:column;gap:12px}
}


.connected-account-row{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:10px;
  margin-top:7px;
}

.connected-account-pill{
  display:inline-flex;
  align-items:center;
  gap:7px;
  background:#e7f6ee;
  border:1px solid #cdebdc;
  color:#08714d;
  padding:7px 11px;
  border-radius:999px;
  font-size:10px;
  font-weight:900;
  letter-spacing:.02em;
}

.connected-account-pill::before{
  content:"";
  width:7px;
  height:7px;
  border-radius:50%;
  background:#20ad70;
  box-shadow:0 0 0 4px #20ad7018;
}


.status-message.success{
  background:#e8f7ef;
  border:1px solid #ccebdd;
  color:#08714d;
  font-weight:800;
}


html{
  scroll-behavior:smooth;
}

.login-card,
.login-copy,
.google-button-host,
.status-message,
.dashboard,
.policy-hero,
.vehicle-card,
.website-payment-note{
  will-change:transform,opacity;
}

.login-copy{
  animation:tgzFadeUp .55s cubic-bezier(.22,1,.36,1) both;
}

.login-card{
  animation:tgzFadeUp .65s .05s cubic-bezier(.22,1,.36,1) both;
}

.google-button-host{
  transition:
    transform .22s cubic-bezier(.22,1,.36,1),
    opacity .22s ease;
}

.google-button-host:hover{
  transform:translateY(-1px);
}

.status-message{
  transition:
    background-color .22s ease,
    border-color .22s ease,
    color .22s ease,
    transform .22s cubic-bezier(.22,1,.36,1),
    opacity .22s ease;
}

.status-message.success{
  animation:tgzConnected .34s cubic-bezier(.22,1,.36,1) both;
}

.dashboard:not([hidden]){
  animation:tgzDashboardIn .5s cubic-bezier(.22,1,.36,1) both;
}

.policy-hero{
  animation:tgzFadeUp .48s .05s cubic-bezier(.22,1,.36,1) both;
}

.vehicle-card{
  transition:
    transform .2s cubic-bezier(.22,1,.36,1),
    box-shadow .2s ease,
    border-color .2s ease;
}

.vehicle-card:hover{
  transform:translateY(-2px);
  box-shadow:0 18px 36px #0c4c3018;
  border-color:#cfe3da;
}

.ghost-button{
  transition:
    transform .18s ease,
    background-color .18s ease,
    border-color .18s ease;
}

.ghost-button:hover{
  transform:translateY(-1px);
  background:#f5faf7;
}

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

@keyframes tgzConnected{
  0%{
    opacity:.25;
    transform:translateY(4px) scale(.985);
  }
  100%{
    opacity:1;
    transform:translateY(0) scale(1);
  }
}

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

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

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

.payment-status-bar{
  margin:16px 0 0;padding:13px 15px;border-radius:14px;font-size:11.5px;font-weight:750;line-height:1.5;border:1px solid transparent
}
.payment-status-bar.info{background:#eef6f2;color:#245548;border-color:#d8e9e0}
.payment-status-bar.warn{background:#fff7e7;color:#7f5a12;border-color:#f1ddb1}
.payment-status-bar.success{background:#e8f7ef;color:#08714d;border-color:#ccebdd}
.payment-status-bar.error{background:#fff0ed;color:#9f3d32;border-color:#f1d0c9}
.portal-action:disabled{cursor:not-allowed;opacity:.82}
