html.gf-auth-open,
html.gf-auth-open body { overflow: hidden !important; }

/* Quote-only presentation: preserve shared account/workshop and linking flows. */
#gf-customer-auth-modal .gf-auth__direct-contact { display:none; }
#gf-customer-auth-modal[data-intent="quote"] .gf-auth__tabs,
#gf-customer-auth-modal[data-intent="quote"] [data-auth-form="login"],
#gf-customer-auth-modal[data-intent="quote"] [data-auth-form="register"] { display:none!important; }
#gf-customer-auth-modal[data-intent="quote"] .gf-auth__direct-contact { display:block; text-align:center; margin:0; }
#gf-customer-auth-modal[data-intent="quote"] .gf-auth__panel:has(.gf-auth__tabs[hidden]) .gf-auth__direct-contact,
#gf-customer-auth-modal[data-intent="quote"][data-link-confirmation] .gf-auth__direct-contact { display:none; }
#gf-customer-auth-modal .gf-auth__direct-contact h3 { font-size:clamp(16px,1.2vw,20px); line-height:1.4; font-weight:650; color:#262626; margin:0 0 8px; }
#gf-customer-auth-modal .gf-auth__direct-contact p { font-size:clamp(12px,1vw,14px); line-height:1.6; color:#717171; margin:0; }
#gf-customer-auth-modal .gf-auth__contact-links { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:6%; margin-top:clamp(20px,2vw,30px); }
#gf-customer-auth-modal .gf-auth__contact-links a { display:flex; flex-direction:column; align-items:center; gap:10px; color:#303030; text-decoration:none; font-size:14px; font-weight:600; letter-spacing:.05em; border-radius:12px; padding:8px; }
#gf-customer-auth-modal .gf-auth__contact-icon { width:64px; height:64px; display:grid; place-items:center; border:1px solid #f4c1c6; border-radius:50%; background:#fff2f3; color:#cf1b2b; }
#gf-customer-auth-modal .gf-auth__contact-icon svg { width:28px; height:28px; }
#gf-customer-auth-modal .gf-auth__contact-links a:hover .gf-auth__contact-icon { background:#ffe4e7; border-color:#cf1b2b; }
#gf-customer-auth-modal .gf-auth__contact-links a:focus-visible { outline:2px solid #cf1b2b; outline-offset:3px; }
#gf-customer-auth-modal[data-intent="quote"] .gf-auth__story { background:radial-gradient(ellipse at 0% 0%,#ffe6e9 0,transparent 44%),#fff; color:#242424; border-right:1px solid #f2dcde; min-height:0; padding:clamp(28px,3vw,48px) 9%; align-items:center; }
#gf-customer-auth-modal[data-intent="quote"] .gf-auth__story::before,
#gf-customer-auth-modal[data-intent="quote"] .gf-auth__story::after { border-color:rgba(197,31,42,.2); pointer-events:none; }
#gf-customer-auth-modal[data-intent="quote"] .gf-auth__story-mark { opacity:.45; transform:scale(.5); transform-origin:top left; top:20px; left:9%; }
#gf-customer-auth-modal[data-intent="quote"] .gf-auth__story-mark span { border-color:#c51f2a; }
#gf-customer-auth-modal[data-intent="quote"] .gf-auth__intro { color:#262626!important; font-size:clamp(20px,1.8vw,26px); font-weight:600; line-height:1.45; margin:60px 0 0; }
#gf-customer-auth-modal[data-intent="quote"] .gf-auth__intro strong { color:#c51f2a; font-size:clamp(26px,2.4vw,36px); line-height:1.2; font-weight:750; margin-top:18px; overflow-wrap:anywhere; }
#gf-customer-auth-modal[data-intent="quote"] .gf-auth__close { background:#fff!important; border-color:#f0c5ca!important; color:#c51f2a!important; }
#gf-customer-auth-modal[data-intent="quote"] .gf-auth__close::before,
#gf-customer-auth-modal[data-intent="quote"] .gf-auth__close::after { background:#c51f2a!important; }
@media(max-width:760px) {
 #gf-customer-auth-modal[data-intent="quote"] .gf-auth__story { border-right:0; border-bottom:1px solid #f2dcde; padding:60px 6% 24px; background:radial-gradient(ellipse at 100% 0%,#ffe5e8,transparent 48%),#fff; }
 #gf-customer-auth-modal[data-intent="quote"] .gf-auth__story-mark { left:auto; right:8%; top:-16px; opacity:.22; }
 #gf-customer-auth-modal[data-intent="quote"] .gf-auth__intro { margin:0; font-size:20px; }
 #gf-customer-auth-modal[data-intent="quote"] .gf-auth__intro strong { margin-top:10px; font-size:28px; }
 #gf-customer-auth-modal[data-intent="quote"] .gf-auth__panel { padding:24px 6%; }
}

#gf-customer-auth-modal [data-quote-purpose][hidden],
#gf-customer-auth-modal [data-personal-rejection][hidden] { display:none!important; }
#gf-customer-auth-modal [data-quote-purpose] select {
  width:100%; min-width:0; box-sizing:border-box; border:1px solid #ddd;
  border-radius:12px; background:#f7f7f7; color:#222; padding:14px;
  font:inherit;
}
#gf-customer-auth-modal .gf-auth__personal-rejection { text-align:center; }
#gf-customer-auth-modal .gf-auth__rejection-icon {
  display:inline-flex; align-items:center; justify-content:center;
  width:64px; height:64px; border:3px solid #c7192b; border-radius:50%;
  color:#c7192b; font-size:0; line-height:1; position:relative; box-sizing:border-box;
}
#gf-customer-auth-modal .gf-auth__rejection-icon::before,
#gf-customer-auth-modal .gf-auth__rejection-icon::after {
  content:""; position:absolute; top:50%; left:50%; width:26px; height:3px;
  background:currentColor; border-radius:2px; transform:translate(-50%,-50%) rotate(45deg);
}
#gf-customer-auth-modal .gf-auth__rejection-icon::after { transform:translate(-50%,-50%) rotate(-45deg); }
#gf-customer-auth-modal [data-auth-preflight] { display:none!important; }
#gf-customer-auth-modal .gf-google-pending { margin:0; }

#gf-customer-auth-modal .gf-auth__profile-notice {
  background: #f4f4f4;
  border-radius: 10px;
  color: #666;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
  margin: 0;
  padding: 12px 14px;
}
#gf-customer-auth-modal .gf-auth__profile-notice[hidden] { display: none !important; }

.gf-auth {
  align-items: center;
  display: flex;
  inset: 0;
  justify-content: center;
  padding: 20px;
  position: fixed;
  z-index: 2147483600;
}

.gf-auth__backdrop {
  background: rgba(10, 8, 8, .72);
  inset: 0;
  position: absolute;
}

.gf-auth__dialog {
  background: #fff;
  border: 0;
  border-radius: var(--gf-radius-dialog);
  box-shadow: 0 32px 100px rgba(0, 0, 0, .36);
  max-height: calc(100dvh - 40px);
  max-width: 860px;
  overflow: hidden;
  padding: 0;
  position: relative;
  width: 100%;
}

.gf-auth__dialog:focus { outline: none; }

.gf-auth__shell {
  display: grid;
  grid-template-columns: minmax(290px, .82fr) minmax(430px, 1.18fr);
  max-height: calc(100dvh - 40px);
  min-height: 548px;
}

.gf-auth__story {
  align-items: flex-end;
  background:
    radial-gradient(circle at 16% 12%, rgba(255, 255, 255, .18), transparent 24%),
    radial-gradient(circle at 88% 82%, rgba(255, 174, 174, .22), transparent 28%),
    linear-gradient(145deg, #8d0710 0%, #c31420 50%, #e12834 100%);
  color: #fff;
  display: flex;
  min-height: 548px;
  overflow: hidden;
  padding: 44px 38px;
  position: relative;
}

.gf-auth__story::before,
.gf-auth__story::after {
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 999px;
  content: '';
  position: absolute;
}
.gf-auth__story::before { height: 290px; left: -150px; top: -120px; width: 290px; }
.gf-auth__story::after { bottom: -160px; height: 360px; right: -220px; width: 360px; }

.gf-auth__story-mark {
  height: 110px;
  left: 38px;
  opacity: .92;
  position: absolute;
  top: 42px;
  width: 142px;
}
.gf-auth__story-mark span {
  border: 2px solid rgba(255, 255, 255, .82);
  border-radius: 999px;
  height: 54px;
  position: absolute;
  width: 54px;
}
.gf-auth__story-mark span:nth-child(1) { left: 44px; top: 0; }
.gf-auth__story-mark span:nth-child(2) { left: 8px; top: 45px; }
.gf-auth__story-mark span:nth-child(3) { left: 80px; top: 45px; }

.gf-auth__intro {
  color: #fff !important;
  font-size: 20px;
  line-height: 1.5;
  margin: 0;
  position: relative;
  z-index: 2;
}
.gf-auth__intro strong {
  display: block;
  font-size: 25px;
  font-weight: 750;
  letter-spacing: -.02em;
  line-height: 1.35;
  margin-top: 12px;
}

.gf-auth__panel {
  background: #fff;
  max-height: calc(100dvh - 40px);
  overflow-y: auto;
  padding: 96px 46px 54px;
  scrollbar-color: rgba(112, 112, 112, .72) transparent;
  scrollbar-width: thin;
}
.gf-auth__panel::-webkit-scrollbar { width: 5px; }
.gf-auth__panel::-webkit-scrollbar-track { background: transparent; }
.gf-auth__panel::-webkit-scrollbar-thumb {
  background: rgba(112, 112, 112, .72);
  border: 0;
  border-radius: 999px 0 0 999px;
  min-height: 48px;
}
.gf-auth__panel::-webkit-scrollbar-button { display: none; height: 0; width: 0; }

.gf-auth__social {
  display: grid;
  gap: 18px;
  margin: 0 0 22px;
}
.gf-auth__divider {
  align-items: center;
  color: #8a8a8a;
  display: flex;
  font-size: 12px;
  gap: 12px;
  margin-bottom: 0;
  text-transform: uppercase;
}
.gf-auth__divider::before,
.gf-auth__divider::after { background: var(--gf-line); content: ''; flex: 1; height: 1px; }
.gf-auth__google-button {
  display: flex;
  justify-content: center;
  min-height: 50px;
  width: 100%;
}
.gf-auth__google-button > div,
.gf-auth__google-button iframe {
  max-width: none !important;
  width: 100% !important;
}
.gf-auth__google-button [role="button"] {
  border-radius: 10px !important;
  box-sizing: border-box !important;
  max-width: none !important;
  min-height: 50px !important;
  width: 100% !important;
}
.gf-auth__google-heading { display: grid; gap: 6px; margin-bottom: 3px; }
.gf-auth__google-heading strong { color: var(--gf-ink); font-size: 19px; line-height: 1.25; }
.gf-auth__google-heading span { color: var(--gf-muted); font-size: 13px; line-height: 1.5; }
.gf-auth__google-heading b { color: var(--gf-ink); overflow-wrap: anywhere; }
.gf-auth .gf-auth__text-button {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  color: var(--gf-muted) !important;
  cursor: pointer;
  font-size: 14px !important;
  min-height: 38px;
  padding: 6px 12px !important;
  text-decoration: underline;
  text-underline-offset: 3px;
  width: 100%;
}
.gf-auth .gf-auth__text-button:hover { color: var(--gf-red) !important; }

.gf-auth__close {
  align-items: center;
  background: var(--gf-red) !important;
  border: 1px solid var(--gf-red) !important;
  border-radius: 999px !important;
  box-shadow: 0 5px 18px rgba(0, 0, 0, .09) !important;
  color: #fff !important;
  cursor: pointer;
  display: flex;
  font-size: 0 !important;
  height: 42px;
  justify-content: center;
  max-width: 42px !important;
  min-width: 42px !important;
  padding: 0 !important;
  position: absolute;
  right: 20px;
  top: 20px;
  width: 42px !important;
  z-index: 5;
}
.gf-auth__close::before,
.gf-auth__close::after {
  background: currentColor;
  border-radius: 999px;
  content: '';
  height: 3px;
  left: 50%;
  position: absolute;
  top: 50%;
  width: 14px;
}
.gf-auth__close::before { transform: translate(-50%, -50%) rotate(45deg); }
.gf-auth__close::after { transform: translate(-50%, -50%) rotate(-45deg); }

.gf-auth__preflight {
  align-items: center;
  color: var(--gf-muted);
  display: flex;
  font-size: 13px;
  gap: 8px;
  margin: -8px 0 16px;
}
.gf-auth__preflight > span {
  animation: gf-auth-spin .75s linear infinite;
  border: 2px solid #dedede;
  border-radius: 50%;
  border-top-color: var(--gf-red);
  height: 14px;
  width: 14px;
}
@keyframes gf-auth-spin { to { transform: rotate(360deg); } }

.gf-auth__sr-only {
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  height: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

@media (max-width: 760px) {
  .gf-auth__dialog {
    border-radius: 18px;
    max-height: calc(100dvh - 20px);
    max-width: 560px;
    overflow-y: auto;
  }
  .gf-auth__shell { display: block; max-height: none; min-height: 0; }
  .gf-auth__story { min-height: 225px; padding: 70px 24px 28px; }
  .gf-auth__story-mark { left: 24px; top: 22px; transform: scale(.65); transform-origin: left top; }
  .gf-auth__intro { font-size: 16px; line-height: 1.45; }
  .gf-auth__intro strong { font-size: 20px; line-height: 1.32; margin-top: 8px; }
  .gf-auth__panel { max-height: none; overflow: visible; padding: 28px 22px 26px; }
  .gf-auth__close {
    background: rgba(255, 255, 255, .14) !important;
    border-color: rgba(255, 255, 255, .45) !important;
    box-shadow: none !important;
    right: 16px;
    top: 16px;
  }
}
#gf-customer-auth-modal .gf-auth__zalo{display:flex;align-items:center;box-sizing:border-box;width:100%;min-width:0;height:50px;padding:0 12px;margin:0 0 16px;border:1px solid #dadce0;border-radius:10px;background:#fff;color:#3c4043;font:500 14px/26px "Google Sans",arial,sans-serif;letter-spacing:.25px;cursor:pointer}
#gf-customer-auth-modal .gf-auth__zalo[hidden]{display:none}
#gf-customer-auth-modal .gf-auth__zalo img{flex:0 0 18px;width:18px;height:18px;margin-right:8px}
#gf-customer-auth-modal .gf-auth__zalo span{flex:1;text-align:center}
#gf-customer-auth-modal .gf-auth__zalo:disabled{opacity:.6;cursor:wait}
#gf-customer-auth-modal .gf-auth__zalo:focus-visible{outline:2px solid #0068ff;outline-offset:3px}
#gf-customer-auth-modal .gf-field-label{display:inline-flex!important;align-items:baseline;gap:4px;flex-wrap:nowrap}
#gf-customer-auth-modal .gf-field-label .gf-required-mark{display:inline!important;flex:none;white-space:nowrap}
#gf-customer-auth-modal[data-link-confirmation] .gf-auth__divider{display:none!important}
#gf-customer-auth-modal[data-link-confirmation] .gf-auth__notice{color:#c51f2a!important}

/* Compact vertical quote layout; social sign-in remains the primary action. */
@media(min-width:761px) {
 #gf-customer-auth-modal[data-intent="quote"] .gf-auth__dialog,
 #gf-customer-auth-modal[data-intent="quote"] .gf-auth__panel { scrollbar-width:none; -ms-overflow-style:none; }
 #gf-customer-auth-modal[data-intent="quote"] .gf-auth__dialog::-webkit-scrollbar,
 #gf-customer-auth-modal[data-intent="quote"] .gf-auth__panel::-webkit-scrollbar { display:none; width:0; height:0; }
}
#gf-customer-auth-modal[data-intent="quote"] .gf-auth__dialog { width:min(94%,640px); max-width:640px; overflow-y:auto; }
#gf-customer-auth-modal[data-intent="quote"] .gf-auth__shell { display:block; min-height:0; max-height:none; }
#gf-customer-auth-modal[data-intent="quote"] .gf-auth__story { display:block; padding:42px 7% 24px; border-right:0; border-bottom:1px solid #f2dcde; background:radial-gradient(ellipse at 100% 0%,#ffe5e8,transparent 55%),#fff; }
#gf-customer-auth-modal[data-intent="quote"] .gf-auth__story-mark { left:auto; right:8%; top:-22px; opacity:.18; }
#gf-customer-auth-modal[data-intent="quote"] .gf-auth__intro { margin:0; font-size:clamp(19px,1.6vw,24px); line-height:1.4; padding-right:18px; }
#gf-customer-auth-modal[data-intent="quote"] .gf-auth__intro { padding-right:0; }
#gf-customer-auth-modal[data-intent="quote"] .gf-auth__intro { max-width:calc(100% - 56px); line-height:1.5; text-wrap:pretty; }
#gf-customer-auth-modal[data-intent="quote"] [data-auth-copy] { display:inline; }
#gf-customer-auth-modal[data-intent="quote"] .gf-auth__intro strong[data-auth-context] { display:inline; font-size:inherit; line-height:inherit; margin:0; letter-spacing:inherit; }
#gf-customer-auth-modal[data-intent="quote"] .gf-auth__intro strong[data-auth-context]::before { content:" "; white-space:pre; }
#gf-customer-auth-modal[data-intent="quote"] .gf-auth__intro strong { margin-top:10px; font-size:clamp(26px,2.2vw,32px); }
#gf-customer-auth-modal[data-intent="quote"] .gf-auth__panel { padding:28px 7% 24px; max-height:none; overflow:visible; }
#gf-customer-auth-modal[data-intent="quote"] .gf-auth__zalo,
#gf-customer-auth-modal[data-intent="quote"] .gf-auth__google-button { border-radius:12px; box-shadow:0 5px 16px rgba(130,23,37,.10); }
#gf-customer-auth-modal[data-intent="quote"] .gf-auth__zalo { border-color:#d5a4aa; font-weight:600; }
#gf-customer-auth-modal[data-intent="quote"] .gf-auth__google-button { outline:1px solid #d5a4aa; outline-offset:-1px; }
#gf-customer-auth-modal[data-intent="quote"] .gf-auth__social { gap:24px; margin-bottom:18px; }
#gf-customer-auth-modal[data-intent="quote"] .gf-auth__direct-contact h3 { font-size:15px; font-weight:500; color:#666; margin-bottom:5px; }
#gf-customer-auth-modal[data-intent="quote"] .gf-auth__direct-contact p { font-size:12px; color:#858585; }
#gf-customer-auth-modal[data-intent="quote"] .gf-auth__contact-links { display:flex; justify-content:center; gap:clamp(22px,5vw,44px); margin-top:14px; }
#gf-customer-auth-modal[data-intent="quote"] .gf-auth__contact-links a { flex:0 1 92px; padding:6px; gap:7px; font-size:12px; font-weight:500; }
#gf-customer-auth-modal[data-intent="quote"] .gf-auth__contact-icon { width:48px; height:48px; }
#gf-customer-auth-modal[data-intent="quote"] .gf-auth__contact-icon svg { width:23px; height:23px; }
@media(max-width:760px) {
 #gf-customer-auth-modal[data-intent="quote"] .gf-auth__dialog { width:100%; }
 #gf-customer-auth-modal[data-intent="quote"] .gf-auth__story { padding:52px 6% 22px; }
 #gf-customer-auth-modal[data-intent="quote"] .gf-auth__panel { padding:24px 6% 20px; }
}
