:root { --rg-orange:#ff4a1f; --rg-ink:#30353b; --rg-cream:#fff9f1; --rg-line:#eadfd7; --rg-nav-height:64px; }
.rg-product-nav { box-sizing:border-box; height:var(--rg-nav-height); display:flex; align-items:center; gap:24px; padding:0 28px; background:#fff9f1; border-bottom:1px solid var(--rg-line); color:var(--rg-ink); font:500 14px/1.4 Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; }
.rg-product-nav * { box-sizing:border-box; }
.rg-product-nav a { color:var(--rg-ink); text-decoration:none; white-space:nowrap; border-radius:9px; padding:9px 12px; }
.rg-product-nav a:hover { background:#feebdf; color:#af2a09; }
.rg-product-nav a:focus-visible { outline:3px solid #ff9d7d; outline-offset:2px; }
.rg-product-nav a[aria-current="page"] { background:#ff4a1f; color:white; }
.rg-product-nav .rg-brand { color:#c8350d; font-size:21px; font-weight:800; letter-spacing:-.7px; padding-left:0; margin-right:auto; }
.rg-product-nav .rg-links { display:flex; align-items:center; gap:4px; }
.rg-product-nav .rg-mobile-menu { display:none; }
#rg-shell-nav { position:fixed; inset:0 0 auto; z-index:40; }
html[data-rg-surface] body { padding-top:var(--rg-nav-height); }
html[data-rg-surface="chat"] .h-screen, html[data-rg-surface="chat"] .h-dvh { height:calc(100dvh - var(--rg-nav-height)) !important; }
html[data-rg-surface="identity"] { color-scheme:light; --pf-v5-global--primary-color--100:#d73b12; --pf-v5-global--primary-color--200:#af2a09; --pf-v5-global--link--Color:#ba3210; --pf-v5-global--BackgroundColor--100:#fff9f1; --pf-v5-global--FontFamily--text:system-ui,sans-serif; }
html[data-rg-surface="identity"] body { background:#fff9f1; color:#30353b; font-family:system-ui,sans-serif; }
html[data-rg-surface="identity"] .pf-v5-c-login { min-height:calc(100dvh - 64px); background:#fff9f1; }
html[data-rg-surface="identity"] .pf-v5-c-login__container { max-width:480px; margin:auto; }
html[data-rg-surface="identity"] .pf-v5-c-login__main { border:1px solid #eadfd7; border-radius:18px; box-shadow:0 8px 32px #30353b09; background:white; }
html[data-rg-surface="identity"] .pf-v5-c-login__header { color:#30353b; }
html[data-rg-surface="identity"] .pf-v5-c-button.pf-m-primary { background:#d73b12; border-radius:9px; }
html[data-rg-surface="identity"] .pf-v5-c-page { min-height:calc(100dvh - 64px); --pf-v5-c-page--BackgroundColor:#fff9f1; }
html[data-rg-surface="identity"] .pf-v5-c-masthead { background:#fff9f1; color:#30353b; border-bottom:1px solid #eadfd7; }
html[data-rg-surface="identity"] .pf-v5-c-masthead .pf-v5-c-button { color:#30353b; }
@media (max-width:600px) { .rg-product-nav { gap:8px; padding:0 12px; } .rg-product-nav .rg-brand { font-size:18px; } .rg-product-nav a { padding:8px; font-size:13px; } .rg-product-nav .rg-links { gap:0; } }
html[data-rg-surface="identity"] #kc-header-wrapper { color:#30353b; font-size:25px; font-weight:800; letter-spacing:-.5px; text-transform:none; }
html[data-rg-surface="identity"] .login-pf-page { padding-top:36px; }
html[data-rg-surface="identity"] .login-pf-page .card-pf { max-width:480px; border:1px solid #eadfd7; border-radius:18px; box-shadow:0 8px 32px #30353b09; }
html[data-rg-surface="identity"] input:not([type="checkbox"]):not([type="hidden"]):not([type="submit"]) { min-height:42px; border:1px solid #c8c0bb; border-radius:6px; }
html[data-rg-surface="identity"] input:focus-visible { outline:2px solid #ff9d7d; outline-offset:1px; }
html[data-rg-surface="chat"] [data-sonner-toaster][data-y-position="top"] { top:calc(var(--rg-nav-height) + 16px) !important; }
html[data-rg-surface="chat"]:not(.dark) body { background:#fff9f1; }
html[data-rg-surface="chat"]:not(.dark) .bg-white { background-color:#fff9f1; }
html[data-rg-surface="chat"]:not(.dark) #chat-input { background-color:transparent; }
html[data-rg-surface="identity"] .pf-v5-c-page__header,
html[data-rg-surface="identity"] .pf-v5-c-page__header-tools,
html[data-rg-surface="identity"] .pf-v5-c-page__sidebar { background:#fff9f1; color:#30353b; }
html[data-rg-surface="identity"] .pf-v5-c-page__sidebar { border-right:1px solid #eadfd7; }
html[data-rg-surface="identity"] .pf-v5-c-nav__link { color:#30353b; }
html[data-rg-surface="identity"] .pf-v5-c-nav__link:hover,
html[data-rg-surface="identity"] .pf-v5-c-nav__link.pf-m-current { color:#af2a09; background:#feebdf; }
html[data-rg-surface="identity"] .pf-v5-c-nav__link::after { border-color:#ff4a1f; }
html[data-rg-surface="identity"] .pf-v5-c-page__header .pf-v5-c-button,
html[data-rg-surface="identity"] .pf-v5-c-menu-toggle { color:#30353b; background:transparent; }
html[data-rg-surface="identity"] .pf-v5-c-page__main { min-width:0; }
@media (max-width:600px) {
  html[data-rg-surface="identity"] .pf-v5-c-page__header { grid-template-columns:auto minmax(0,1fr); }
  html[data-rg-surface="identity"] .pf-v5-c-page__header-tools { min-width:0; overflow-wrap:anywhere; }
  html[data-rg-surface="identity"] .pf-v5-c-page__header-brand-link img { max-width:120px; }
  html[data-rg-surface="identity"] .pf-v5-c-menu-toggle__text { max-width:120px; overflow:hidden; text-overflow:ellipsis; }
}
/* Keep a single product identity above the native sign-in form. */
html[data-rg-surface="identity"] #kc-header { display:none; }
html[data-rg-surface="identity"] .pf-v5-c-login__main { border-top-color:#ff4a1f !important; }
html[data-rg-surface="identity"] .pf-v5-c-form-control:focus-within::after { border-bottom-color:#ff4a1f !important; }
html[data-rg-surface="identity"] .pf-v5-c-toolbar,
html[data-rg-surface="identity"] .pf-v5-c-masthead__content { background:transparent; --pf-v5-c-toolbar--BackgroundColor:transparent; }
