@charset "UTF-8";
/*
|--------------------------------------------------------------------------
| GullyPG — Gully Design System
|--------------------------------------------------------------------------
| Single source of truth for visual decisions across all four shells:
| the SaaS marketing site, the auth screens, the owner/super-admin app,
| and the generated tenant portals.
|
| Brand: aubergine primary, sky bridge, signal green.
| Type:  Outfit (display) + Lato (body).
|
| Compile with `npm run build` (or `npm run dev` to watch) — the app serves
| the compiled public/css/brand.css directly, so never hand-edit that file.
|
| Rules of the system:
|   - One filled primary button per view. Secondary is an outline, never a
|     second filled colour.
|   - Only one phrase of a headline carries the gradient. Never a sentence.
|   - Semantic colours (success/danger/warning) stay off the brand hue so a
|     confirmation can never be mistaken for a brand action.
|   - Radius grows with the surface: inputs 8, buttons 12, cards 16,
|     panels 24.
*/
@import url("https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Lato:wght@300;400;500;600;700;800;900&display=swap");
/*
|--------------------------------------------------------------------------
| 1. Scales
|--------------------------------------------------------------------------
*/
/*
|--------------------------------------------------------------------------
| 2. Tokens
|--------------------------------------------------------------------------
| Legacy aliases (--brand-*, --gp-*, --gully-*, --accent-*) are kept pointed
| at the new scales so older markup picks up the system without a rename.
*/
:root {
  --gy-brand-50: #fbf5fb;
  --gy-brand-100: #f6e5f5;
  --gy-brand-200: #edc7ea;
  --gy-brand-300: #de9dda;
  --gy-brand-400: #c769c4;
  --gy-brand-500: #a544a8;
  --gy-brand-600: #7e2b85;
  --gy-brand-700: #611f69;
  --gy-brand-800: #4a154b;
  --gy-brand-900: #350e38;
  --gy-brand-950: #210725;
  --gy-sky-50: #effbfe;
  --gy-sky-100: #d9f3fc;
  --gy-sky-200: #b3e7fa;
  --gy-sky-300: #7dd5f5;
  --gy-sky-400: #52cdf3;
  --gy-sky-500: #36c5f0;
  --gy-sky-600: #1ba9d6;
  --gy-sky-700: #1487ad;
  --gy-sky-800: #106887;
  --gy-sky-900: #0c4f66;
  --gy-signal-50: #effcf6;
  --gy-signal-100: #d7f7e7;
  --gy-signal-200: #afeece;
  --gy-signal-300: #7de0b1;
  --gy-signal-400: #4bcb92;
  --gy-signal-500: #2eb67d;
  --gy-signal-600: #1f9a69;
  --gy-signal-700: #187d56;
  --gy-signal-800: #146345;
  --gy-slate-50: #f8fafc;
  --gy-slate-100: #f1f5f9;
  --gy-slate-200: #e2e8f0;
  --gy-slate-300: #cad5e2;
  --gy-slate-400: #90a1b9;
  --gy-slate-500: #62748e;
  --gy-slate-600: #45556c;
  --gy-slate-700: #314158;
  --gy-slate-800: #1d293d;
  --gy-slate-900: #0f172b;
  --gy-slate-950: #020618;
  --gy-ink: #020618;
  --gy-body: #45556c;
  --gy-muted: #62748e;
  --gy-border: #e2e8f0;
  --gy-border-soft: rgba(2, 6, 24, 0.07);
  --gy-surface: #ffffff;
  --gy-canvas: #f8fafc;
  --gy-success: #059669;
  --gy-success-soft: #ecfdf5;
  --gy-danger: #e11d48;
  --gy-danger-soft: #fff1f2;
  --gy-warning: #d97706;
  --gy-warning-soft: #fffbeb;
  --gy-info: #1487ad;
  --gy-info-soft: #effbfe;
  --gy-font-display: Outfit, ui-sans-serif, system-ui, sans-serif;
  --gy-font-body: Lato, ui-sans-serif, system-ui, -apple-system, Segoe UI, sans-serif;
  --gy-radius-sm: 6px;
  --gy-radius-input: 8px;
  --gy-radius-btn: 12px;
  --gy-radius-card: 16px;
  --gy-radius-panel: 24px;
  --gy-shadow-xs: 0 1px 2px rgba(2, 6, 24, 0.05);
  --gy-shadow-sm: 0 2px 6px rgba(2, 6, 24, 0.05);
  --gy-shadow-md: 0 6px 16px rgba(2, 6, 24, 0.06);
  --gy-shadow-xl: 0 20px 25px -5px rgba(2, 6, 24, 0.08), 0 8px 10px -6px rgba(2, 6, 24, 0.04);
  --gy-shadow-brand: 0 10px 24px rgba(126, 43, 133, 0.3);
  /* ---- Compatibility aliases ------------------------------------------ */
  --brand-primary: var(--gy-brand-600);
  --brand-primary-hover: var(--gy-brand-800);
  --brand-secondary: var(--gy-signal-500);
  --brand-info: var(--gy-sky-500);
  --brand-warning: var(--gy-warning);
  --brand-danger: var(--gy-danger);
  --brand-ink: var(--gy-ink);
  --brand-body: var(--gy-body);
  --brand-muted: var(--gy-muted);
  --brand-border: var(--gy-border);
  --brand-canvas: var(--gy-canvas);
  --brand-surface: var(--gy-surface);
  --brand-surface-soft: var(--gy-brand-50);
  --brand-surface-mint: var(--gy-signal-50);
  --brand-surface-cool: var(--gy-sky-50);
  --brand-surface-warm: #fff7ed;
  --brand-font-heading: var(--gy-font-display);
  --brand-font-body: var(--gy-font-body);
  --brand-radius-sm: var(--gy-radius-input);
  --brand-radius-md: var(--gy-radius-btn);
  --brand-radius-lg: var(--gy-radius-card);
  --brand-radius-xl: var(--gy-radius-panel);
  --brand-shadow-card: var(--gy-shadow-md);
  --brand-shadow-card-hover: var(--gy-shadow-xl);
  --gp-ink: var(--gy-ink);
  --gp-muted: var(--gy-muted);
  --gp-border: var(--gy-border);
  --gp-paper: var(--gy-surface);
  --gp-aubergine: var(--gy-brand-600);
  --gp-aubergine-dark: var(--gy-brand-800);
  --gp-purple-bright: var(--gy-brand-500);
  --gp-blue: var(--gy-sky-700);
  --gp-sky: var(--gy-sky-500);
  --gp-green: var(--gy-signal-500);
  --gp-yellow: var(--gy-warning);
  --gp-red: var(--gy-danger);
  --gp-bg-lilac: var(--gy-brand-50);
  --gp-bg-blue: var(--gy-sky-50);
  --gp-bg-green: var(--gy-signal-50);
  --gp-bg-cream: #fff7ed;
  --gp-bg-white: var(--gy-canvas);
  --gully-cyan: var(--gy-sky-500);
  --gully-green: var(--gy-signal-500);
  --gully-yellow: var(--gy-warning);
  --gully-pink: var(--gy-danger);
  --gully-ink: var(--gy-ink);
  /* Tenant portal surface tokens. --accent-primary / --accent-secondary are
     overridden per-organization from the database in the tenant layout. */
  --accent-primary: var(--gy-brand-600);
  --accent-secondary: var(--gy-sky-500);
  --accent-warning: var(--gy-warning);
  --accent-danger: var(--gy-danger);
  --bg-color: var(--gy-canvas);
  --section-white: #ffffff;
  --section-soft: var(--gy-brand-50);
  --section-cool: var(--gy-sky-50);
  --section-warm: var(--gy-signal-50);
  --card-bg: #ffffff;
  --card-alt-color: var(--gy-slate-50);
  --text-main: var(--gy-ink);
  --text-muted: var(--gy-muted);
  --border-color: var(--gy-border);
  --border-solid: var(--gy-border);
}

/*
|--------------------------------------------------------------------------
| 3. Base & typography
|--------------------------------------------------------------------------
*/
body {
  background: var(--gy-surface);
  color: var(--gy-body);
  font-family: var(--gy-font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6,
.section-title, .block-title, .page-title h1,
.hero-title, .hero-title-main, .platform-hero-title,
.section-title-saas, .feat-title-saas,
.dashboard-title, .admin-page-title, .card-title-custom {
  color: var(--gy-ink);
  font-family: var(--gy-font-display);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

h1, .hero-title, .hero-title-main {
  color: var(--gy-ink);
  font-family: "Outfit", ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.02;
  text-wrap: balance;
}

h2, .section-title, .section-title-saas {
  color: var(--gy-ink);
  font-family: "Outfit", ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

h3 {
  color: var(--gy-ink);
  font-family: "Outfit", ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

h4, .card-title-custom {
  color: var(--gy-ink);
  font-family: "Outfit", ui-sans-serif, system-ui, sans-serif;
  font-size: 1.125rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.25;
  font-weight: 700;
}

h5 {
  color: var(--gy-ink);
  font-family: "Outfit", ui-sans-serif, system-ui, sans-serif;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.3;
  font-weight: 700;
}

h6 {
  color: var(--gy-ink);
  font-family: "Outfit", ui-sans-serif, system-ui, sans-serif;
  font-size: 0.9375rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.3;
  font-weight: 700;
}

p, .lead, .section-subtitle, .hero-subtitle {
  font-family: var(--gy-font-body);
  color: var(--gy-body);
}

.lead, .hero-subtitle {
  font-size: 1.125rem;
  font-weight: 400;
  line-height: 1.65;
}

a {
  color: var(--gy-brand-600);
  text-decoration: none;
  transition: color 160ms ease;
}

a:hover {
  color: var(--gy-brand-800);
}

.text-muted, .text-secondary {
  color: var(--gy-muted) !important;
}

/* The signature move: one accent phrase per headline, brand -> sky -> signal.
   Never apply to a whole sentence. */
.gradient-text,
.gy-gradient-text,
.text-gradient {
  background: linear-gradient(90deg, #7e2b85, #36c5f0, #2eb67d);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  padding-bottom: 0.06em; /* keeps descenders from clipping */
}

/* Eyebrow / section label */
.gy-eyebrow,
.section-tag,
.legal-kicker,
.small-tag-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: "Lato", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-radius: 999px;
  background: var(--gy-brand-50);
  color: var(--gy-brand-700);
  padding: 0.4rem 0.8rem;
}

.gy-eyebrow-plain {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: "Lato", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gy-brand-600);
  background: none;
  padding: 0;
}

/*
|--------------------------------------------------------------------------
| 4. Layout rhythm
|--------------------------------------------------------------------------
*/
.gy-section,
.gs-landing-section-white,
.gs-landing-section-light,
.brand-section-white,
.brand-section-soft,
.brand-section-cool,
.brand-section-warm {
  padding-top: 4rem;
  padding-bottom: 4rem;
  background: var(--gy-surface);
}

.gs-landing-section-light,
.brand-section-soft,
.gy-section-soft {
  background: var(--gy-brand-50);
}

.brand-section-cool, .gy-section-cool {
  background: var(--gy-sky-50);
}

.brand-section-warm, .gy-section-warm {
  background: var(--gy-signal-50);
}

.gy-section-canvas {
  background: var(--gy-canvas);
}

@media (max-width: 767.98px) {
  .gy-section,
  .gs-landing-section-white,
  .gs-landing-section-light {
    padding-top: 2.75rem;
    padding-bottom: 2.75rem;
  }
}
/*
|--------------------------------------------------------------------------
| 5. Buttons
|--------------------------------------------------------------------------
| One filled primary per view. Secondary is an outline. Text actions get an
| arrow glyph rather than button chrome.
*/
.btn,
a.btn,
button.btn,
.btn-custom-saas,
.btn-custom-primary,
.btn-custom-secondary,
.btn-auth,
.btn-custom,
.btn-tenant-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 2.75rem;
  padding: 0.7rem 1.25rem;
  border: 1px solid transparent;
  border-radius: var(--gy-radius-btn);
  font-family: var(--gy-font-body);
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0;
  text-decoration: none;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px rgba(126, 43, 133, 0.2);
}

.btn-sm {
  min-height: 2.25rem;
  padding: 0.45rem 0.85rem;
  font-size: 0.8125rem;
}

.btn-lg {
  min-height: 3.25rem;
  padding: 0.95rem 1.75rem;
  font-size: 1.0625rem;
  border-radius: 14px;
}

/* The one primary action — brand fill, brand-tinted shadow. */
.btn-primary,
.btn-saas-primary,
.btn-auth-primary,
.btn-custom-primary,
.btn-tenant-primary,
.btn-custom-saas.btn-saas-primary,
.btn-custom.btn-primary {
  background: var(--gy-brand-600) !important;
  border-color: var(--gy-brand-600) !important;
  color: #ffffff !important;
  box-shadow: var(--gy-shadow-brand);
}

.btn-primary:hover,
.btn-saas-primary:hover,
.btn-auth-primary:hover,
.btn-custom-primary:hover,
.btn-tenant-primary:hover,
.btn-custom-saas.btn-saas-primary:hover {
  background: var(--gy-brand-800) !important;
  border-color: var(--gy-brand-800) !important;
  color: #ffffff !important;
  box-shadow: 0 14px 30px rgba(126, 43, 133, 0.34);
}

/* Secondary — outline only, never a second fill. */
.btn-outline-primary,
.btn-secondary,
.btn-saas-secondary,
.btn-custom-secondary,
.btn-custom-saas.btn-saas-secondary {
  background: var(--gy-surface) !important;
  border-color: var(--gy-brand-200) !important;
  color: var(--gy-brand-700) !important;
  box-shadow: var(--gy-shadow-xs);
}

.btn-outline-primary:hover,
.btn-secondary:hover,
.btn-saas-secondary:hover,
.btn-custom-secondary:hover,
.btn-custom-saas.btn-saas-secondary:hover {
  background: var(--gy-brand-50) !important;
  border-color: var(--gy-brand-300) !important;
  color: var(--gy-brand-800) !important;
}

.btn-light {
  background: var(--gy-slate-100) !important;
  border-color: var(--gy-border) !important;
  color: var(--gy-slate-700) !important;
}

.btn-light:hover {
  background: var(--gy-slate-200) !important;
}

.btn-dark {
  background: var(--gy-slate-900) !important;
  border-color: var(--gy-slate-900) !important;
  color: #ffffff !important;
}

/* Semantic buttons stay off the brand hue. */
.btn-success {
  background: var(--gy-success) !important;
  border-color: var(--gy-success) !important;
  color: #ffffff !important;
}

.btn-success:hover {
  background: #047857 !important;
  border-color: #047857 !important;
}

.btn-danger {
  background: var(--gy-danger) !important;
  border-color: var(--gy-danger) !important;
  color: #ffffff !important;
}

.btn-danger:hover {
  background: #be123c !important;
  border-color: #be123c !important;
}

.btn-warning {
  background: var(--gy-warning) !important;
  border-color: var(--gy-warning) !important;
  color: #ffffff !important;
}

.btn-info {
  background: var(--gy-sky-600) !important;
  border-color: var(--gy-sky-600) !important;
  color: #ffffff !important;
}

.btn-outline-secondary {
  background: transparent !important;
  border-color: var(--gy-border) !important;
  color: var(--gy-slate-700) !important;
  box-shadow: none;
}

.btn-outline-secondary:hover {
  background: var(--gy-slate-50) !important;
  color: var(--gy-ink) !important;
}

.btn-outline-danger {
  background: transparent !important;
  border-color: rgba(225, 29, 72, 0.35) !important;
  color: var(--gy-danger) !important;
}

.btn-outline-danger:hover {
  background: var(--gy-danger-soft) !important;
}

.btn-outline-success {
  background: transparent !important;
  border-color: rgba(5, 150, 105, 0.35) !important;
  color: var(--gy-success) !important;
}

.btn-outline-success:hover {
  background: var(--gy-success-soft) !important;
}

/* Ghost / text action — arrow glyph, no chrome. */
.gy-text-action {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--gy-brand-600);
  font-family: var(--gy-font-body);
  font-weight: 700;
  font-size: 0.9375rem;
}

.gy-text-action:hover {
  color: var(--gy-brand-800);
  gap: 0.6rem;
}

.gy-text-action i, .gy-text-action svg {
  transition: transform 180ms ease;
}

.btn:disabled, .btn.disabled {
  opacity: 0.55;
  box-shadow: none;
  transform: none;
}

/*
|--------------------------------------------------------------------------
| 6. Badges
|--------------------------------------------------------------------------
| Brand badges label a section. Semantic badges report state.
*/
.badge,
.badge-status {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  font-family: var(--gy-font-body);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1;
}

.badge-brand,
.hero-badge,
.feat-pm-badge {
  background: var(--gy-brand-50);
  color: var(--gy-brand-700);
  border: 1px solid var(--gy-brand-100);
}

.badge-available, .badge-active, .badge-success, .bg-success,
.bg-success-light, .badge.bg-success {
  background: var(--gy-success-soft) !important;
  color: var(--gy-success) !important;
  border: 1px solid rgba(5, 150, 105, 0.2);
}

.badge-occupied, .badge-inactive, .badge-danger, .bg-danger,
.bg-danger-light, .badge.bg-danger {
  background: var(--gy-danger-soft) !important;
  color: var(--gy-danger) !important;
  border: 1px solid rgba(225, 29, 72, 0.2);
}

.badge-reserved, .badge-maintenance, .badge-warning, .bg-warning,
.badge.bg-warning {
  background: var(--gy-warning-soft) !important;
  color: var(--gy-warning) !important;
  border: 1px solid rgba(217, 119, 6, 0.2);
}

.badge-info, .bg-info, .badge.bg-info {
  background: var(--gy-sky-50) !important;
  color: var(--gy-sky-700) !important;
  border: 1px solid var(--gy-sky-200);
}

.badge.bg-primary, .bg-brand-primary-light {
  background: var(--gy-brand-50) !important;
  color: var(--gy-brand-700) !important;
  border: 1px solid var(--gy-brand-100);
}

.badge.bg-secondary, .bg-brand-secondary-light {
  background: var(--gy-slate-100) !important;
  color: var(--gy-slate-600) !important;
  border: 1px solid var(--gy-border);
}

/*
|--------------------------------------------------------------------------
| 7. Cards, panels, icon chips
|--------------------------------------------------------------------------
*/
.card,
.card-custom,
.pricing-card,
.feature-card,
.feature-card-saas,
.solution-block,
.gs-feature-card,
.surface-card,
.admin-data-card,
.contact-form-panel,
.feat-card-layout,
.property-card,
.auth-card {
  background: var(--gy-surface);
  border: 1px solid var(--gy-border-soft);
  border-radius: var(--gy-radius-card);
  box-shadow: var(--gy-shadow-xs);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.card:hover,
.card-custom:hover,
.pricing-card:hover,
.feature-card:hover,
.feature-card-saas:hover,
.solution-block:hover,
.gs-feature-card:hover,
.feat-card-layout:hover,
.property-card:hover {
  border-color: var(--gy-brand-200);
  box-shadow: var(--gy-shadow-xl);
  transform: translateY(-2px);
}

.card-header, .card-header-custom {
  background: transparent;
  border-bottom: 1px solid var(--gy-border);
  font-family: var(--gy-font-display);
  font-weight: 700;
  color: var(--gy-ink);
}

.card-footer {
  background: transparent;
  border-top: 1px solid var(--gy-border);
}

/* Large prose / legal blocks get the most generous curvature. */
.gy-panel, .legal-document, .glass-panel-1 {
  background: var(--gy-surface);
  border: 1px solid var(--gy-border-soft);
  border-radius: var(--gy-radius-panel);
  box-shadow: var(--gy-shadow-md);
}

/* Icon-chip card — a ~38px tinted rounded-square chip, a bold one-line
   title, one sentence of copy. Never more than two lines of body text. */
.gy-icon-chip,
.feature-icon-saas,
.feat-icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  border-radius: 10px;
  background: var(--gy-brand-50);
  color: var(--gy-brand-600);
  font-size: 1rem;
}

.gy-icon-chip-sky {
  background: var(--gy-sky-50);
  color: var(--gy-sky-700);
}

.gy-icon-chip-signal {
  background: var(--gy-signal-50);
  color: var(--gy-signal-700);
}

.gy-icon-chip-lg {
  width: 48px;
  height: 48px;
  flex-basis: 48px;
  border-radius: 12px;
  font-size: 1.25rem;
}

.gy-card-title, .feat-title-saas {
  font-family: var(--gy-font-display);
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--gy-ink);
  letter-spacing: -0.02em;
  margin-bottom: 0.35rem;
}

.gy-card-text {
  font-size: 0.9375rem;
  color: var(--gy-body);
  line-height: 1.6;
  margin-bottom: 0;
}

/* Stat tile — dashboards and marketing proof points. */
.gy-stat {
  background: var(--gy-surface);
  border: 1px solid var(--gy-border-soft);
  border-radius: var(--gy-radius-card);
  padding: 1.25rem;
  box-shadow: var(--gy-shadow-xs);
}

.gy-stat-value {
  font-family: var(--gy-font-display);
  font-size: 1.875rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--gy-ink);
  line-height: 1;
}

.gy-stat-label {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: "Lato", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gy-muted);
  margin-top: 0.5rem;
}

/*
|--------------------------------------------------------------------------
| 8. Forms
|--------------------------------------------------------------------------
| Filled at rest, not outlined. Border + soft brand glow only on focus.
*/
.form-control,
.form-select,
.form-control-custom,
.form-control-tenant,
.input-group-text {
  background: var(--gy-slate-50);
  border: 1px solid transparent;
  border-radius: var(--gy-radius-input);
  color: var(--gy-ink);
  font-family: var(--gy-font-body);
  font-size: 0.9375rem;
  min-height: 2.75rem;
  padding: 0.6rem 0.85rem;
  transition: background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.form-control::placeholder, .form-control-custom::placeholder {
  color: var(--gy-slate-400);
}

.form-control:focus,
.form-select:focus,
.form-control-custom:focus,
.form-control-tenant:focus {
  background: var(--gy-surface);
  border-color: var(--gy-brand-600);
  box-shadow: 0 0 0 4px rgba(126, 43, 133, 0.15);
  outline: none;
}

.form-label {
  font-family: var(--gy-font-body);
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--gy-slate-700);
  margin-bottom: 0.35rem;
}

.form-text {
  color: var(--gy-muted);
  font-size: 0.8125rem;
}

.form-control.is-invalid, .form-select.is-invalid {
  border-color: var(--gy-danger);
  background: var(--gy-danger-soft);
}

.invalid-feedback {
  color: var(--gy-danger);
  font-size: 0.8125rem;
  font-weight: 600;
}

.form-check-input:checked {
  background-color: var(--gy-brand-600);
  border-color: var(--gy-brand-600);
}

.form-check-input:focus {
  border-color: var(--gy-brand-400);
  box-shadow: 0 0 0 3px rgba(126, 43, 133, 0.15);
}

.input-group-text {
  background: var(--gy-slate-100);
  color: var(--gy-muted);
}

/*
|--------------------------------------------------------------------------
| 9. Tables
|--------------------------------------------------------------------------
*/
.table {
  --bs-table-color: var(--gy-body);
  font-family: var(--gy-font-body);
  font-size: 0.9375rem;
  margin-bottom: 0;
}

.table thead th,
.table-custom thead th,
.table-dark thead th {
  background: var(--gy-slate-50) !important;
  color: var(--gy-slate-600) !important;
  border-bottom: 1px solid var(--gy-border) !important;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.85rem 1rem;
  white-space: nowrap;
}

.table > :not(caption) > * > * {
  padding: 0.9rem 1rem;
  border-bottom-color: var(--gy-border);
  vertical-align: middle;
}

.table tbody tr:hover {
  background: var(--gy-brand-50);
}

.table tbody tr:last-child > * {
  border-bottom: 0;
}

.table-responsive {
  border-radius: var(--gy-radius-card);
}

/*
|--------------------------------------------------------------------------
| 10. Alerts, pagination, breadcrumbs, modals, accordions
|--------------------------------------------------------------------------
*/
.alert,
.alert-custom,
.alert-custom-success,
.alert-custom-error,
.alert-success-custom {
  border-radius: var(--gy-radius-card);
  border: 1px solid transparent;
  padding: 0.9rem 1.1rem;
  font-family: var(--gy-font-body);
  font-size: 0.9375rem;
  font-weight: 600;
}

.alert-success, .alert-custom-success, .alert-success-custom {
  background: var(--gy-success-soft) !important;
  border-color: rgba(5, 150, 105, 0.22) !important;
  color: var(--gy-success) !important;
}

.alert-danger, .alert-custom-error {
  background: var(--gy-danger-soft) !important;
  border-color: rgba(225, 29, 72, 0.22) !important;
  color: var(--gy-danger) !important;
}

.alert-warning {
  background: var(--gy-warning-soft) !important;
  border-color: rgba(217, 119, 6, 0.22) !important;
  color: var(--gy-warning) !important;
}

.alert-info {
  background: var(--gy-sky-50) !important;
  border-color: var(--gy-sky-200) !important;
  color: var(--gy-sky-800) !important;
}

.pagination {
  gap: 0.25rem;
}

.page-link {
  border: 1px solid var(--gy-border);
  border-radius: var(--gy-radius-input) !important;
  color: var(--gy-slate-600);
  font-family: var(--gy-font-body);
  font-size: 0.875rem;
  font-weight: 700;
  padding: 0.45rem 0.8rem;
}

.page-link:hover {
  background: var(--gy-brand-50);
  color: var(--gy-brand-700);
  border-color: var(--gy-brand-200);
}

.page-item.active .page-link {
  background: var(--gy-brand-600);
  border-color: var(--gy-brand-600);
  color: #ffffff;
}

.page-item.disabled .page-link {
  color: var(--gy-slate-400);
  background: var(--gy-slate-50);
}

.breadcrumb {
  font-size: 0.8125rem;
  font-weight: 600;
  margin-bottom: 0;
}

.breadcrumb-item a {
  color: var(--gy-muted);
}

.breadcrumb-item a:hover {
  color: var(--gy-brand-600);
}

.breadcrumb-item.active {
  color: var(--gy-ink);
}

.modal-content {
  border: 1px solid var(--gy-border-soft);
  border-radius: var(--gy-radius-panel);
  box-shadow: var(--gy-shadow-xl);
}

.modal-header, .modal-footer {
  border-color: var(--gy-border);
}

.modal-title {
  font-family: var(--gy-font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.accordion-item {
  border: 1px solid var(--gy-border-soft) !important;
  border-radius: var(--gy-radius-card) !important;
  margin-bottom: 0.75rem;
  overflow: hidden;
  background: var(--gy-surface);
}

.accordion-button {
  font-family: var(--gy-font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--gy-ink);
  background: var(--gy-surface);
  padding: 1.1rem 1.25rem;
}

.accordion-button:not(.collapsed) {
  background: var(--gy-brand-50);
  color: var(--gy-brand-800);
  box-shadow: none;
}

.accordion-button:focus {
  box-shadow: 0 0 0 3px rgba(126, 43, 133, 0.15);
  border-color: transparent;
}

.accordion-body {
  color: var(--gy-body);
  font-size: 0.9375rem;
  padding: 0 1.25rem 1.25rem;
}

.dropdown-menu {
  border: 1px solid var(--gy-border-soft);
  border-radius: var(--gy-radius-card);
  box-shadow: var(--gy-shadow-xl);
  padding: 0.4rem;
}

.dropdown-item {
  border-radius: var(--gy-radius-input);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--gy-slate-700);
  padding: 0.55rem 0.75rem;
}

.dropdown-item:hover {
  background: var(--gy-brand-50);
  color: var(--gy-brand-700);
}

.progress {
  background: var(--gy-slate-100);
  border-radius: 999px;
  height: 8px;
}

.progress-bar {
  background: var(--gy-brand-600);
  border-radius: 999px;
}

hr {
  border-color: var(--gy-border);
  opacity: 1;
}

/*
|--------------------------------------------------------------------------
| 11. Marketing shell (.gully-landing)
|--------------------------------------------------------------------------
*/
.gully-landing {
  background: var(--gy-surface);
}

.gs-navbar {
  position: sticky;
  top: 0;
  z-index: 1030;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--gy-border-soft);
  padding: 0.85rem 0;
  transition: box-shadow 200ms ease, background-color 200ms ease;
}

.gs-navbar.scrolled {
  background: rgba(255, 255, 255, 0.97);
  box-shadow: var(--gy-shadow-sm);
}

.navbar-brand-saas {
  display: inline-flex;
  align-items: center;
  color: var(--gy-ink);
  font-family: var(--gy-font-display);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.navbar-brand-saas:hover {
  color: var(--gy-brand-700);
}

.nav-menu-saas {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.gs-nav-link, .nav-link-saas {
  display: inline-block;
  padding: 0.5rem 0.85rem;
  border-radius: var(--gy-radius-input);
  color: var(--gy-slate-700);
  font-family: var(--gy-font-body);
  font-size: 0.9375rem;
  font-weight: 700;
}

.gs-nav-link:hover, .nav-link-saas:hover {
  color: var(--gy-brand-700);
  background: var(--gy-brand-50);
}

.gs-nav-link.active, .nav-link-saas.active {
  color: var(--gy-brand-700);
  background: var(--gy-brand-50);
}

.mobile-toggle-btn {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--gy-border);
  border-radius: var(--gy-radius-btn);
  background: var(--gy-surface);
  color: var(--gy-ink);
}

.mobile-drawer {
  position: fixed;
  inset: 64px 0 auto 0;
  z-index: 1029;
  max-height: 0;
  overflow: hidden;
  background: var(--gy-surface);
  border-bottom: 1px solid var(--gy-border);
  padding: 0 1.25rem;
  transition: max-height 260ms ease, padding 260ms ease;
}

.mobile-drawer.open {
  max-height: 80vh;
  overflow-y: auto;
  padding: 1.25rem;
}

.mobile-nav-list {
  list-style: none;
  margin: 0 0 0.5rem;
  padding: 0;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.75rem 0.5rem;
  border-radius: var(--gy-radius-input);
  color: var(--gy-slate-700);
  font-weight: 700;
}

.mobile-nav-link.active, .mobile-nav-link:hover {
  background: var(--gy-brand-50);
  color: var(--gy-brand-700);
}

/* Hero. Compact above, generous below — sits close to the nav. */
.gs-landing-hero, .home-hero, .features-hero, .faq-hero {
  position: relative;
  background: linear-gradient(180deg, var(--gy-brand-50) 0%, #ffffff 100%);
  padding-top: 3.5rem;
  padding-bottom: 4.5rem;
  overflow: hidden;
}

.hero-title {
  max-width: 14ch;
}

.hero-subtitle {
  max-width: 46ch;
  color: var(--gy-body);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  margin-top: 1.5rem;
  padding: 0;
  list-style: none;
}

.hero-points li {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--gy-slate-700);
  font-size: 0.875rem;
  font-weight: 700;
}

.hero-points i {
  color: var(--gy-signal-600);
  font-size: 0.8125rem;
}

.bg-gradient-soft, .glow-orb-1, .glow-orb-2 {
  display: none;
}

/* Footer */
.gs-footer, .saas-footer {
  position: relative;
  background: var(--gy-slate-950);
  color: var(--gy-slate-400);
  padding: 4rem 0 2rem;
}

.gs-footer-accent {
  height: 3px;
  background: linear-gradient(90deg, #7e2b85, #36c5f0, #2eb67d);
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
}

.gs-footer h1, .gs-footer h2, .gs-footer h3, .gs-footer h4, .gs-footer h5, .gs-footer h6,
.gs-footer-heading, .footer-title {
  color: #ffffff;
  font-family: var(--gy-font-display);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.gs-footer p, .gs-footer .text-muted, .gs-footer .small {
  color: var(--gy-slate-400) !important;
}

.gs-footer .text-dark, .gs-footer .fw-bold.text-dark {
  color: #ffffff !important;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links li {
  margin-bottom: 0.55rem;
}

.footer-links a, .footer-link {
  color: var(--gy-slate-400);
  font-size: 0.9375rem;
}

.footer-links a:hover, .footer-link:hover {
  color: var(--gy-brand-400);
}

.gs-social-icon, .footer-social-link, .social-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin-right: 0.5rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.07);
  color: var(--gy-slate-300);
  transition: background-color 180ms ease, color 180ms ease;
}

.gs-social-icon:hover, .footer-social-link:hover, .social-icon-btn:hover {
  background: var(--gy-brand-600);
  color: #ffffff;
}

/* Legal / long-form prose — max-w-4xl equivalent. */
.legal-page {
  background: var(--gy-canvas);
  padding: 3.5rem 0;
}

.legal-document {
  max-width: 56rem;
  margin: 0 auto;
  padding: 3rem;
}

.legal-section {
  margin-bottom: 2.25rem;
}

.legal-section h2 {
  font-size: 1.375rem;
  margin-bottom: 0.75rem;
}

.legal-section p, .legal-section li {
  color: var(--gy-body);
  font-size: 0.9375rem;
}

/*
|--------------------------------------------------------------------------
| 11b. Marketing components
|--------------------------------------------------------------------------
| Native building blocks for the landing pages: hero, CTA band, checklists,
| numbered steps, plan cards, FAQ accordions. Pages compose these — they
| don't restyle them.
*/
.gy-hero {
  background: linear-gradient(180deg, var(--gy-brand-50) 0%, #ffffff 100%);
  border-bottom: 1px solid var(--gy-border-soft);
  padding: 4rem 0 4.5rem;
}

.gy-hero-compact {
  padding: 3rem 0 3.5rem;
}

.gy-hero h1 {
  max-width: 16ch;
}

.gy-hero .gy-hero-sub {
  max-width: 52ch;
  font-size: 1.125rem;
  line-height: 1.65;
  color: var(--gy-body);
  margin: 1.25rem 0 0;
}

/* Product-mock frame used beside hero copy. */
.gy-mock {
  background: var(--gy-surface);
  border: 1px solid var(--gy-border-soft);
  border-radius: var(--gy-radius-panel);
  box-shadow: var(--gy-shadow-xl);
  overflow: hidden;
}

.gy-mock-titlebar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.1rem;
  background: var(--gy-slate-950);
}

.gy-mock-titlebar .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.gy-mock-titlebar .label {
  margin-left: 0.5rem;
  color: var(--gy-slate-400);
  font-family: var(--gy-font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Checkmark list — hero proof points and plan inclusions. */
.gy-check-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.gy-check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin-bottom: 0.65rem;
  color: var(--gy-slate-700);
  font-size: 0.9375rem;
}

.gy-check-list li i {
  color: var(--gy-signal-600);
  margin-top: 0.28rem;
  font-size: 0.8125rem;
}

.gy-check-list.muted li i {
  color: var(--gy-slate-400);
}

/* Numbered step — "how it works". */
.gy-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gy-brand-600);
  color: #ffffff;
  font-family: var(--gy-font-display);
  font-size: 1.125rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

/* Full-bleed brand band for the closing CTA. Buttons invert on it. */
.gy-cta-band {
  background: linear-gradient(135deg, var(--gy-brand-700) 0%, var(--gy-brand-900) 100%);
  padding: 4.5rem 0;
}

.gy-cta-band h2 {
  color: #ffffff !important;
}

.gy-cta-band p {
  color: rgba(255, 255, 255, 0.75);
  max-width: 52ch;
}

.gy-cta-band .btn-inverse {
  background: #ffffff !important;
  border-color: #ffffff !important;
  color: var(--gy-brand-700) !important;
  box-shadow: 0 10px 24px rgba(2, 6, 24, 0.25);
}

.gy-cta-band .btn-inverse:hover {
  background: var(--gy-brand-50) !important;
}

.gy-cta-band .btn-ghost-inverse {
  background: transparent !important;
  border-color: rgba(255, 255, 255, 0.5) !important;
  color: #ffffff !important;
}

.gy-cta-band .btn-ghost-inverse:hover {
  background: rgba(255, 255, 255, 0.1) !important;
  border-color: #ffffff !important;
}

/* Plan cards. Exactly one .featured per page — it carries the brand border
   and the filled CTA; every other plan uses the outline CTA. */
.gy-plan {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--gy-surface);
  border: 1px solid var(--gy-border-soft);
  border-radius: var(--gy-radius-card);
  padding: 1.75rem;
  box-shadow: var(--gy-shadow-xs);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.gy-plan:hover {
  border-color: var(--gy-brand-200);
  box-shadow: var(--gy-shadow-xl);
  transform: translateY(-2px);
}

.gy-plan.featured {
  border: 2px solid var(--gy-brand-600);
  box-shadow: 0 18px 40px rgba(126, 43, 133, 0.14);
}

.gy-plan-name {
  font-family: var(--gy-font-display);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.15rem;
}

.gy-plan-for {
  color: var(--gy-muted);
  font-size: 0.875rem;
  margin-bottom: 1.1rem;
}

.gy-plan-price {
  font-family: var(--gy-font-display);
  font-size: 2.25rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--gy-ink);
  line-height: 1;
}

.gy-plan-price .per {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--gy-muted);
  letter-spacing: 0;
}

.gy-plan-cycle {
  color: var(--gy-muted);
  font-size: 0.8125rem;
  margin-top: 0.35rem;
}

.gy-plan-limits {
  list-style: none;
  margin: 1.25rem 0;
  padding: 1rem 0;
  border-top: 1px solid var(--gy-border);
  border-bottom: 1px solid var(--gy-border);
}

.gy-plan-limits li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
  color: var(--gy-slate-700);
}

.gy-plan-limits li:last-child {
  margin-bottom: 0;
}

.gy-plan-limits .val {
  font-weight: 700;
  color: var(--gy-ink);
  white-space: nowrap;
}

/* Billing cycle toggle. */
.gy-toggle {
  display: inline-flex;
  align-items: center;
  background: var(--gy-slate-100);
  border-radius: 999px;
  padding: 4px;
}

.gy-toggle button {
  border: 0;
  background: transparent;
  border-radius: 999px;
  padding: 0.5rem 1.1rem;
  font-family: var(--gy-font-body);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--gy-slate-600);
  cursor: pointer;
}

.gy-toggle button.active {
  background: var(--gy-brand-600);
  color: #ffffff;
  box-shadow: var(--gy-shadow-sm);
}

/* FAQ category pill nav. */
.gy-pill-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.gy-pill-nav a, .gy-pill-nav button {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border: 1px solid var(--gy-border);
  border-radius: 999px;
  background: var(--gy-surface);
  color: var(--gy-slate-700);
  padding: 0.45rem 0.9rem;
  font-family: var(--gy-font-body);
  font-size: 0.875rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
}

.gy-pill-nav a:hover, .gy-pill-nav button:hover {
  border-color: var(--gy-brand-300);
  color: var(--gy-brand-700);
}

.gy-pill-nav .active {
  background: var(--gy-brand-600);
  border-color: var(--gy-brand-600);
  color: #ffffff;
}

/* Split feature rows (image/mock beside copy) alternate direction. */
.gy-split {
  display: flex;
  align-items: center;
  gap: 3rem;
}

.gy-split > * {
  flex: 1 1 0;
  min-width: 0;
}

@media (max-width: 991.98px) {
  .gy-split {
    flex-direction: column;
    gap: 2rem;
  }
  .gy-hero {
    padding: 2.5rem 0 3rem;
  }
  .gy-cta-band {
    padding: 3rem 0;
  }
}
/*
|--------------------------------------------------------------------------
| 12. Auth shell (.gully-auth)
|--------------------------------------------------------------------------
*/
.gully-auth {
  min-height: 100vh;
  background: linear-gradient(160deg, var(--gy-brand-50) 0%, #ffffff 45%, var(--gy-sky-50) 100%);
  font-family: var(--gy-font-body);
}

.gully-auth .auth-card {
  background: var(--gy-surface);
  border: 1px solid var(--gy-border-soft);
  border-radius: var(--gy-radius-panel);
  box-shadow: var(--gy-shadow-xl);
  padding: 2.5rem;
}

.gully-auth .brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--gy-font-display);
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--gy-ink);
}

.gully-auth .auth-subtitle {
  color: var(--gy-muted);
  font-size: 0.9375rem;
}

.gully-auth .auth-link {
  color: var(--gy-brand-600);
  font-weight: 700;
}

.gully-auth .auth-link:hover {
  color: var(--gy-brand-800);
}

.gully-auth .auth-footer-text {
  color: var(--gy-muted);
  font-size: 0.875rem;
}

.gully-auth .glow-circle, .gully-auth .glow-1, .gully-auth .glow-2, .gully-auth .glowing-bg {
  display: none;
}

.gully-auth .input-icon {
  color: var(--gy-slate-400);
}

/*
|--------------------------------------------------------------------------
| 13. App shell (.gully-app) — owner + super admin
|--------------------------------------------------------------------------
*/
.gully-app {
  --accent-primary: var(--gy-brand-600);
  --accent-secondary: var(--gy-sky-600);
  --accent-warning: var(--gy-warning);
  --accent-danger: var(--gy-danger);
  --bg-color: var(--gy-canvas);
  --card-alt-color: var(--gy-slate-50);
  --text-main: var(--gy-ink);
  --text-muted: var(--gy-muted);
  --border-color: var(--gy-border);
  background: var(--gy-canvas) !important;
  font-family: var(--gy-font-body);
}

.gully-app #sidebar {
  background: var(--gy-slate-950) !important;
  border-right: 0 !important;
  box-shadow: none;
}

.gully-app .sidebar-brand {
  border-color: rgba(255, 255, 255, 0.08) !important;
  color: #ffffff !important;
  font-family: var(--gy-font-display);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.gully-app .sidebar-brand span {
  color: #ffffff !important;
}

.gully-app .brand-mark {
  width: 44px;
  height: 34px;
  object-fit: contain;
  flex: 0 0 auto;
}

/* Body text and icons on the dark rail shift up a step for AA contrast. */
.gully-app .nav-link,
.gully-app .nav-link-btn,
.gully-app .sidebar-link {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.65rem 0.85rem;
  margin-bottom: 0.15rem;
  border: 1px solid transparent !important;
  border-radius: var(--gy-radius-btn) !important;
  color: var(--gy-slate-400) !important;
  font-family: var(--gy-font-body);
  font-size: 0.9375rem;
  font-weight: 700 !important;
  transition: background-color 160ms ease, color 160ms ease;
}

.gully-app .nav-link i,
.gully-app .nav-link-btn i,
.gully-app .sidebar-link i {
  color: var(--gy-slate-500) !important;
  width: 18px;
  text-align: center;
}

.gully-app .nav-link:hover,
.gully-app .nav-link-btn:hover,
.gully-app .sidebar-link:hover {
  background: rgba(255, 255, 255, 0.06) !important;
  color: #ffffff !important;
}

.gully-app .nav-link.active,
.gully-app .nav-link-btn.active,
.gully-app .sidebar-link.active {
  background: rgba(126, 43, 133, 0.28) !important;
  border-color: rgba(199, 105, 196, 0.32) !important;
  color: #ffffff !important;
  box-shadow: inset 3px 0 0 var(--gy-brand-400);
}

.gully-app .nav-link.active i,
.gully-app .nav-link-btn.active i,
.gully-app .sidebar-link.active i {
  color: var(--gy-brand-400) !important;
}

.gully-app .nav-menu {
  padding: 0.75rem;
}

.gully-app .sidebar-footer {
  border-color: rgba(255, 255, 255, 0.08) !important;
}

.gully-app .user-name {
  color: #ffffff !important;
  font-weight: 700;
}

.gully-app .user-role {
  color: var(--gy-slate-400) !important;
  font-size: 0.75rem;
}

.gully-app .user-avatar {
  background: var(--gy-brand-600) !important;
  color: #ffffff !important;
  border-radius: 12px;
  box-shadow: none !important;
  font-family: var(--gy-font-display);
  font-weight: 700;
}

.gully-app .top-navbar {
  background: var(--gy-surface) !important;
  backdrop-filter: none;
  border: 1px solid var(--gy-border-soft) !important;
  border-radius: var(--gy-radius-card) !important;
  box-shadow: var(--gy-shadow-xs) !important;
  padding: 1rem 1.25rem;
}

.gully-app .page-title h1 {
  color: var(--gy-ink) !important;
  font-family: var(--gy-font-display);
  font-size: clamp(1.5rem, 2.5vw, 1.875rem) !important;
  font-weight: 800 !important;
  letter-spacing: -0.03em !important;
  line-height: 1.15 !important;
  margin-bottom: 0.2rem;
}

.gully-app .page-title p {
  color: var(--gy-muted) !important;
  font-size: 0.9375rem;
  margin-bottom: 0;
}

.gully-app .card-custom,
.gully-app .card {
  background: var(--gy-surface) !important;
  border: 1px solid var(--gy-border-soft) !important;
  border-radius: var(--gy-radius-card) !important;
  box-shadow: var(--gy-shadow-xs) !important;
}

.gully-app .card-custom:hover,
.gully-app .card:hover {
  border-color: var(--gy-brand-200) !important;
  box-shadow: var(--gy-shadow-md) !important;
  transform: none;
}

.gully-app .card-title-custom {
  font-family: var(--gy-font-display);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--gy-ink);
}

.gully-app .card-header-custom {
  border-bottom: 1px solid var(--gy-border);
  padding-bottom: 0.9rem;
  margin-bottom: 1.1rem;
}

.gully-app .btn-custom-primary,
.gully-app .btn-primary {
  background: var(--gy-brand-600) !important;
  border-color: var(--gy-brand-600) !important;
  border-radius: var(--gy-radius-btn) !important;
  box-shadow: var(--gy-shadow-brand) !important;
}

.gully-app .btn-custom-primary:hover,
.gully-app .btn-primary:hover {
  background: var(--gy-brand-800) !important;
  border-color: var(--gy-brand-800) !important;
  transform: translateY(-1px);
}

.gully-app .form-control,
.gully-app .form-select,
.gully-app .form-control-custom {
  background: var(--gy-slate-50) !important;
  border: 1px solid transparent !important;
  border-radius: var(--gy-radius-input) !important;
  min-height: 2.75rem;
}

.gully-app .form-control:focus,
.gully-app .form-select:focus,
.gully-app .form-control-custom:focus {
  background: var(--gy-surface) !important;
  border-color: var(--gy-brand-600) !important;
  box-shadow: 0 0 0 4px rgba(126, 43, 133, 0.15) !important;
}

/* Semantic text helpers used across the admin views. */
.text-brand-primary, .text-violet-400 {
  color: var(--gy-brand-600) !important;
}

.text-brand-secondary, .text-cyan-400 {
  color: var(--gy-sky-700) !important;
}

.text-brand-warning {
  color: var(--gy-warning) !important;
}

.text-brand-danger {
  color: var(--gy-danger) !important;
}

.text-success {
  color: var(--gy-success) !important;
}

.text-danger {
  color: var(--gy-danger) !important;
}

.text-warning {
  color: var(--gy-warning) !important;
}

.text-info {
  color: var(--gy-sky-700) !important;
}

/*
|--------------------------------------------------------------------------
| 14. Tenant portal
|--------------------------------------------------------------------------
| --accent-primary / --accent-secondary come from the organization record,
| so structure and neutrals are fixed here while the accent stays dynamic.
*/
.navbar-tenant {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--gy-border-soft);
}

.navbar-brand-tenant {
  font-family: var(--gy-font-display);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--gy-ink);
}

.nav-link-tenant {
  padding: 0.5rem 0.85rem;
  border-radius: var(--gy-radius-input);
  color: var(--gy-slate-700);
  font-weight: 700;
  font-size: 0.9375rem;
}

.nav-link-tenant:hover, .nav-link-tenant.active {
  color: var(--accent-primary);
  background: var(--gy-slate-50);
}

.hero-tenant {
  background: linear-gradient(180deg, var(--gy-slate-50) 0%, #ffffff 100%);
  padding: 3.5rem 0 4.5rem;
}

.section-header {
  margin-bottom: 2.5rem;
}

.amenity-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: var(--gy-slate-50);
  border: 1px solid var(--gy-border);
  color: var(--gy-slate-700);
  font-size: 0.8125rem;
  font-weight: 700;
}

.property-image-container {
  border-radius: var(--gy-radius-card);
  overflow: hidden;
}

.tenant-footer {
  background: var(--gy-slate-950);
  color: var(--gy-slate-400);
  padding: 3.5rem 0 2rem;
}

.tenant-footer .footer-heading {
  color: #ffffff;
  font-family: var(--gy-font-display);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.btn-whatsapp, .floating-whatsapp {
  background: #25d366 !important;
  border-color: #25d366 !important;
  color: #ffffff !important;
}

/*
|--------------------------------------------------------------------------
| 15. Responsive & print
|--------------------------------------------------------------------------
*/
.mobile-menu-button, .mobile-sidebar-scrim {
  display: none;
}

@media (max-width: 991.98px) {
  .gully-app #sidebar {
    transform: translateX(-105%);
    transition: transform 0.25s ease;
    width: min(290px, 86vw) !important;
  }
  .gully-app.sidebar-open #sidebar {
    transform: translateX(0);
  }
  .gully-app #main-content {
    margin-left: 0 !important;
    padding: 16px !important;
  }
  .gully-app .top-navbar {
    align-items: flex-start !important;
    gap: 12px;
    padding: 14px !important;
  }
  .gully-app .top-actions {
    gap: 8px !important;
  }
  .mobile-menu-button {
    display: inline-flex;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--gy-border);
    border-radius: var(--gy-radius-btn);
    background: var(--gy-surface);
    color: var(--gy-ink);
    flex: 0 0 auto;
  }
  .mobile-sidebar-scrim {
    position: fixed;
    inset: 0;
    z-index: 90;
    background: rgba(2, 6, 24, 0.55);
    backdrop-filter: blur(3px);
  }
  .gully-app.sidebar-open .mobile-sidebar-scrim {
    display: block;
  }
}
@media (max-width: 575.98px) {
  .gully-app .page-title h1 {
    font-size: 1.375rem !important;
  }
  .gully-app .card-custom {
    padding: 16px !important;
  }
  .legal-document {
    padding: 1.75rem;
  }
  .gully-auth .auth-card {
    padding: 1.75rem;
  }
}
@media print {
  .btn-no-print, .gs-navbar, .gs-footer, #sidebar, .top-navbar, .floating-whatsapp {
    display: none !important;
  }
  body {
    background: #ffffff;
  }
}
