/* Rooftop's sign-in screen and its other full-page panels (setting a password, loading, waiting for approval)
   (Nov 4, 2026): a navy panel about Rooftop HQ on the left, the sign-in on the right. On a phone the panel shrinks to a
   band along the top. */
#rt-gate { position: fixed; inset: 0; z-index: 99995; overflow: auto; background: #fff; color: #18283E;
  font: 15px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, Arial, sans-serif; -webkit-font-smoothing: antialiased; }
#rt-gate *, #rt-gate *::before, #rt-gate *::after { box-sizing: border-box; }
#rt-gate input, #rt-gate button { font: inherit; }
#rt-gate a:focus-visible, #rt-gate button:focus-visible { outline: 3px solid #87AADD; outline-offset: 3px; }
#rt-gate .g-split { min-height: 100%; display: grid; grid-template-columns: minmax(0, 1fr) minmax(420px, .78fr); }

/* the panel */
#rt-gate .g-brand { position: relative; overflow: hidden; min-height: 100vh; display: flex; flex-direction: column; justify-content: space-between;
  padding: 51px clamp(44px, 6vw, 110px) 37px; background: #0E2339; color: #fff; }
#rt-gate .g-brand::after { content: ''; position: absolute; width: 750px; height: 750px; top: 18%; left: 44%; border-radius: 50%; border: 1px solid rgba(164,189,214,.14); pointer-events: none; }
#rt-gate .g-logo { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 11px; line-height: 1; }
#rt-gate .g-mk { width: 35px; height: 35px; flex: none; display: block; }
#rt-gate .g-wm { display: block; font-size: 18px; font-weight: 760; letter-spacing: -.65px; }
#rt-gate .g-wm small { display: block; margin-top: 5px; font-size: 10px; font-weight: 660; letter-spacing: 1.06px; text-transform: uppercase; color: #AABBD0; }
#rt-gate .g-copy { position: relative; z-index: 1; max-width: 560px; margin: 75px 0 45px; }
#rt-gate .g-eye { font-size: 11px; font-weight: 720; letter-spacing: 1.4px; text-transform: uppercase; color: #99BDDC; }
#rt-gate .g-copy h2 { margin: 17px 0 24px; font-size: clamp(42px, 4.15vw, 69px); line-height: 1.1; letter-spacing: -2.6px; font-weight: 645; }
#rt-gate .g-copy p { margin: 0; max-width: 515px; color: #C1CCD7; font-size: 17px; line-height: 1.75; }
#rt-gate .g-lines { max-width: 510px; margin-top: 52px; border-top: 1px solid rgba(255,255,255,.17); }
#rt-gate .g-lines div { display: flex; align-items: center; gap: 18px; padding: 17px 0; border-bottom: 1px solid rgba(255,255,255,.17); color: #E6EDF5; font-size: 14px; }
#rt-gate .g-lines span { width: 25px; color: #8DA9C7; font-size: 12px; font-variant-numeric: tabular-nums; }
#rt-gate .g-bfoot { position: relative; z-index: 1; color: #8EA6BD; font-size: 12px; }

/* the sign-in side */
#rt-gate .g-auth { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 46px clamp(30px, 5vw, 95px) 60px; }
#rt-gate .g-box { width: min(390px, 100%); }
#rt-gate .g-kick { display: block; margin-bottom: 10px; font-size: 11px; font-weight: 720; letter-spacing: 1.4px; text-transform: uppercase; color: #54718E; }
#rt-gate h1 { margin: 0 0 11px; font-size: 30px; line-height: 1.23; letter-spacing: -1px; font-weight: 670; }
#rt-gate .g-sub { margin: 0 0 30px; color: #5D6B7D; font-size: 14px; }
#rt-gate .g-ssos { display: grid; gap: 10px; }
#rt-gate .g-sso { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; height: 46px; border: 1px solid #CFD7E1; border-radius: 6px; background: #fff; color: #102841; font-size: 13.5px; font-weight: 650; cursor: pointer; }
#rt-gate .g-sso:hover { background: #F5F8FB; border-color: #A6B9D0; }
#rt-gate .g-sso svg { width: 17px; height: 17px; }
#rt-gate .g-or { display: flex; align-items: center; gap: 13px; margin: 24px 0 4px; color: #7A8795; font-size: 11px; font-weight: 650; letter-spacing: .7px; text-transform: uppercase; }
#rt-gate .g-or::before, #rt-gate .g-or::after { content: ''; flex: 1; height: 1px; background: #DDE3EA; }
#rt-gate label { display: block; margin: 17px 0 8px; font-size: 12px; font-weight: 650; color: #18283E; }
#rt-gate input { display: block; width: 100%; height: 46px; padding: 0 13px; border: 1px solid #CBD4DE; border-radius: 6px; background: #fff; color: #18283E; font-size: 15px; outline: 0; }
#rt-gate input::placeholder { color: #8A96A6; }
#rt-gate input:focus { border-color: #2E5FA3; box-shadow: 0 0 0 3px #DCE7F4; }
#rt-gate .g-pw { position: relative; }
#rt-gate .g-pw input { padding-right: 70px; }
#rt-gate .g-show { position: absolute; top: 7px; right: 7px; height: 32px; padding: 0 11px; border: 0; border-radius: 5px; background: #ECF2F8; color: #35618D; font-size: 12px; font-weight: 650; cursor: pointer; }
#rt-gate .g-show:hover { background: #E0E9F3; }
#rt-gate .g-fgt { display: flex; justify-content: flex-end; margin: 12px 0 24px; }
#rt-gate .g-link { border: 0; background: none; padding: 0; color: #35618D; font-size: 12px; font-weight: 600; cursor: pointer; }
#rt-gate .g-link:hover { text-decoration: underline; }
#rt-gate .g-btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; width: 100%; min-height: 48px; padding: 12px 18px; border: 1px solid transparent; border-radius: 6px; background: #102841; color: #fff; font-size: 13.5px; font-weight: 650; text-decoration: none; cursor: pointer; transition: background .15s; }
#rt-gate .g-btn:hover { background: #1C456C; }
#rt-gate .g-btn[disabled] { opacity: .6; cursor: default; }
#rt-gate .g-btn svg { width: 15px; height: 15px; flex: none; }
#rt-gate .g-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 14px; }
#rt-gate .g-new { display: flex; align-items: center; gap: 13px; margin: 31px 0 20px; color: #7A8795; font-size: 11px; font-weight: 650; letter-spacing: .7px; text-transform: uppercase; }
#rt-gate .g-new::before, #rt-gate .g-new::after { content: ''; flex: 1; height: 1px; background: #DDE3EA; }
#rt-gate .g-acts { display: grid; gap: 11px; }
#rt-gate .g-act { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; padding: 13px 16px; border: 1px solid #CFD7E1; border-radius: 6px; background: #F8FAFB; color: #102841; text-align: left; text-decoration: none; cursor: pointer; transition: background .15s, border-color .15s; }
#rt-gate .g-act:hover { background: #F2F6F9; border-color: #A6B9D0; }
#rt-gate .g-act b { display: block; font-size: 13px; font-weight: 680; }
#rt-gate .g-act small { display: block; margin-top: 2px; font-size: 11.5px; color: #66768A; }
#rt-gate .g-act svg { width: 16px; height: 16px; flex: none; color: #58718B; }
#rt-gate .g-err { margin: 12px 0 0; color: #B42318; font-size: 13px; }
#rt-gate .g-ok { margin: 12px 0 0; color: #1E6B3A; font-size: 13px; }
#rt-gate .g-bar { height: 6px; margin-top: 14px; border-radius: 3px; background: #E1E5EC; overflow: hidden; }
#rt-gate .g-bar i { display: block; height: 100%; width: 0; background: #102841; transition: width .2s; }

/* a group's own product (Dealr, Nov 29, 2026): the same layout in its own colours (--g-accent, set from config.js) */
#rt-gate.g-prod .g-brand { background: radial-gradient(900px 620px at 92% 108%, color-mix(in srgb, var(--g-accent) 42%, transparent), transparent 62%), radial-gradient(700px 480px at -10% -10%, color-mix(in srgb, var(--g-accent) 18%, transparent), transparent 60%), #0B1220; }
#rt-gate.g-prod .g-brand::after { border-color: color-mix(in srgb, var(--g-accent) 32%, transparent); }
#rt-gate.g-prod .g-wm small, #rt-gate.g-prod .g-bfoot { color: #9AA6BC; }
#rt-gate.g-prod .g-eye, #rt-gate.g-prod .g-lines span { color: color-mix(in srgb, var(--g-accent) 45%, #fff); }
#rt-gate.g-prod .g-copy p { color: #C3CADB; }
#rt-gate.g-prod .g-kick { display: none; } /* the group's name is in the panel and the line under the heading */
#rt-gate.g-prod .g-btn { background: var(--g-accent); }
#rt-gate.g-prod .g-btn:hover { background: color-mix(in srgb, var(--g-accent) 82%, #000); }
#rt-gate.g-prod .g-bar i { background: var(--g-accent); }
#rt-gate.g-prod input:focus { border-color: var(--g-accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--g-accent) 18%, transparent); }
#rt-gate.g-prod .g-link, #rt-gate.g-prod .g-show { color: var(--g-accent); }
#rt-gate.g-prod .g-show { background: color-mix(in srgb, var(--g-accent) 9%, #fff); }

@media (max-width: 1000px) {
  #rt-gate .g-brand { padding-inline: 45px; }
  #rt-gate .g-copy h2 { font-size: 48px; }
}
@media (max-width: 760px) {
  #rt-gate .g-split { display: block; }
  #rt-gate .g-brand { min-height: 0; padding: 26px 21px 24px; }
  #rt-gate .g-brand::after, #rt-gate .g-lines, #rt-gate .g-bfoot, #rt-gate .g-copy p { display: none; }
  #rt-gate .g-copy { margin: 30px 0 0; }
  #rt-gate .g-copy h2 { margin: 12px 0 0; font-size: 32px; letter-spacing: -1.3px; }
  #rt-gate .g-auth { padding: 36px 21px 56px; }
  #rt-gate .g-box { width: min(480px, 100%); }
  #rt-gate h1 { font-size: 26px; }
}
