/* GOOSPLACE 2026 — Premium V2 visual system
   Keeps the original dark/private identity while improving readability,
   hierarchy, form controls, cards, tables and responsive behavior. */
:root {
  --gp2-ink: #070d16;
  --gp2-navy: #0a1422;
  --gp2-navy-2: #101d2e;
  --gp2-panel: rgba(16, 29, 46, .78);
  --gp2-panel-soft: rgba(255,255,255,.045);
  --gp2-gold: #c8a468;
  --gp2-gold-2: #e8cf9d;
  --gp2-cream: #f5efe3;
  --gp2-text: #e9edf3;
  --gp2-muted: #97a4b5;
  --gp2-line: rgba(232,207,157,.16);
  --gp2-line-soft: rgba(255,255,255,.09);
  --gp2-shadow: 0 22px 55px rgba(0,0,0,.32);
  --gp2-shadow-soft: 0 12px 34px rgba(0,0,0,.18);
}

html { background: var(--gp2-ink); }
body {
  color: var(--gp2-text) !important;
  background:
    radial-gradient(900px 520px at 4% -6%, rgba(200,164,104,.17), transparent 56%),
    radial-gradient(760px 480px at 96% 0%, rgba(60,92,132,.16), transparent 58%),
    linear-gradient(180deg, #070d16 0%, #0a1422 46%, #070d16 100%) !important;
}

/* Subtle premium surface pattern, intentionally low contrast. */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.014) 1px, transparent 1px);
  background-size: 54px 54px;
  opacity: .55;
}

/* Header / navigation */
.gp-site-header {
  background: rgba(7,13,22,.82) !important;
  border-bottom: 1px solid var(--gp2-line) !important;
  box-shadow: 0 10px 34px rgba(0,0,0,.14);
}
.gp-header-inner { min-height: 84px; }
.gp-brand-mark {
  width: 42px;
  height: 42px;
  border-color: rgba(232,207,157,.52) !important;
  color: var(--gp2-gold-2) !important;
  background: linear-gradient(145deg, rgba(232,207,157,.15), rgba(255,255,255,.02)) !important;
  box-shadow: inset 0 0 20px rgba(200,164,104,.08), 0 8px 26px rgba(0,0,0,.16);
}
.gp-brand-name { letter-spacing: .22em; }
.gp-brand-tag { color: #8290a3 !important; }
.gp-nav a { color: #bec7d3 !important; }
.gp-nav a:hover,
.gp-nav .active > a {
  color: #fff !important;
  background: rgba(255,255,255,.06) !important;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.035);
}
.gp-nav .gp-nav-cta > a {
  color: #111722 !important;
  background: linear-gradient(135deg, #ead4a6, #c9a66b) !important;
  box-shadow: 0 10px 26px rgba(200,164,104,.22) !important;
}

#sub-headline {
  margin-top: 8px !important;
  border-color: var(--gp2-line-soft) !important;
  background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.025)) !important;
  box-shadow: 0 10px 26px rgba(0,0,0,.08);
}

/* Main content surfaces: lighter hierarchy without changing page structure. */
.box,
.callout,
.form-shell,
.gp-auth-shell,
.gp-feature-card,
#home_featured2 li {
  border-color: var(--gp2-line-soft) !important;
  background: linear-gradient(155deg, rgba(255,255,255,.062), rgba(255,255,255,.035)) !important;
  box-shadow: var(--gp2-shadow-soft) !important;
}
.box {
  position: relative;
  overflow: hidden;
}
.box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 28px;
  right: 28px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(232,207,157,.55), transparent);
}

h1,h2,h3,h4,h5,h6,
div.main-container h1, div.main-container h2, div.main-container h3,
div.main-container h4, div.main-container h5, div.main-container h6 {
  color: var(--gp2-cream) !important;
}
h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }

/* Buttons: restrained luxury instead of glossy legacy controls. */
.gp-btn,
input[type="submit"], input[type="button"], input[type="reset"],
button:not(.gp-menu-toggle), .button, a.button {
  min-height: 44px;
  border-radius: 11px !important;
  border: 1px solid rgba(232,207,157,.18) !important;
  letter-spacing: .035em !important;
  box-shadow: 0 10px 24px rgba(0,0,0,.16) !important;
}
input[type="submit"], .gp-btn-primary, .button, a.button {
  color: #111722 !important;
  background: linear-gradient(135deg, #ead7ae 0%, #c8a468 100%) !important;
}
input[type="button"], input[type="reset"], .gp-btn-secondary {
  color: #edf0f4 !important;
  background: rgba(255,255,255,.055) !important;
}

/* FORM CONTROLS
   Native select menus are explicitly given readable option colors.
   This fixes the white-background/white-text issue on Chrome/Edge/XAMPP. */
input[type="text"], input[type="email"], input[type="password"], input[type="number"],
input[type="tel"], input[type="date"], input[type="url"], input[type="search"],
input[type="time"], input[type="datetime-local"], input[type="file"],
select, textarea, input.mobile, select.mobile, textarea.mobile {
  color: #eef2f6 !important;
  caret-color: var(--gp2-gold-2);
  border: 1px solid rgba(255,255,255,.14) !important;
  border-radius: 11px !important;
  background-color: #111d2c !important;
  background-image: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.008)) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.025), 0 7px 20px rgba(0,0,0,.08) !important;
}
input:hover, select:hover, textarea:hover { border-color: rgba(232,207,157,.30) !important; }
input:focus, select:focus, textarea:focus {
  color: #fff !important;
  border-color: rgba(232,207,157,.72) !important;
  background-color: #142235 !important;
  box-shadow: 0 0 0 3px rgba(200,164,104,.12), 0 9px 26px rgba(0,0,0,.10) !important;
}

select,
select.mobile {
  color-scheme: dark;
  cursor: pointer;
  padding-right: 38px !important;
}
/* Native dropdown list: force contrast even when the OS paints a white popup. */
select option,
select optgroup {
  color: #121926 !important;
  background-color: #ffffff !important;
}
select option:checked,
select option:hover {
  color: #0b111b !important;
  background-color: #ead7ae !important;
}
select:disabled,
input:disabled,
textarea:disabled {
  color: #78869a !important;
  background: #0d1724 !important;
  opacity: .75;
  cursor: not-allowed;
}
::placeholder { color: #7d8a9d !important; }

label {
  color: #d6dde6 !important;
  font-weight: 650;
}
fieldset {
  border-color: var(--gp2-line-soft) !important;
  background: rgba(255,255,255,.018);
}
legend {
  color: var(--gp2-gold-2) !important;
  font-weight: 700;
  letter-spacing: .04em;
}

/* DataTables and global tables */
.gp-table-shell,
.dataTables_wrapper {
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 18px;
  padding: 16px;
  background: rgba(255,255,255,.025);
  box-shadow: 0 12px 34px rgba(0,0,0,.10);
}
.gp-table-toolbar { margin-bottom: 14px; }
.gp-table-search input,
.dataTables_wrapper .dataTables_filter input,
.dataTables_wrapper .dataTables_length select {
  color: #192130 !important;
  background: #fbfaf7 !important;
  border-color: #d7d9de !important;
}
.dataTables_wrapper .dataTables_length select option {
  color: #111827 !important;
  background: #fff !important;
}
table:not(.ui-datepicker-calendar) {
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.075);
  border-radius: 13px;
  background: rgba(5,11,19,.18);
}
table:not(.ui-datepicker-calendar) th {
  color: #f3ead9 !important;
  background: #152235 !important;
  border-bottom-color: rgba(232,207,157,.18) !important;
}
table:not(.ui-datepicker-calendar) td {
  color: #d4dbe5 !important;
  background: rgba(255,255,255,.015) !important;
}
table:not(.ui-datepicker-calendar) tbody tr:nth-child(even) td {
  background: rgba(255,255,255,.027) !important;
}
table:not(.ui-datepicker-calendar) tbody tr:hover td {
  background: rgba(200,164,104,.065) !important;
}

/* Legacy jQuery UI widgets, datepicker and autocomplete. */
.ui-widget,
.ui-widget input,
.ui-widget select,
.ui-widget textarea,
.ui-widget button { font-family: inherit !important; }
.ui-widget-content {
  color: #263141 !important;
  border-color: #d9dde4 !important;
  background: #fff !important;
}
.ui-widget-content a { color: #1f2937 !important; }
.ui-state-default,
.ui-widget-content .ui-state-default,
.ui-widget-header .ui-state-default {
  color: #263141 !important;
  border-color: #d9dde4 !important;
  background: #f4f5f7 !important;
}
.ui-state-hover,
.ui-widget-content .ui-state-hover,
.ui-state-focus,
.ui-widget-content .ui-state-focus {
  color: #111827 !important;
  border-color: #c8a468 !important;
  background: #f5e7c9 !important;
}
.ui-datepicker .ui-datepicker-header {
  color: #f4ead8 !important;
  border: 0 !important;
  background: #111d2c !important;
}

/* Alerts / messages */
.gp-alert,
.system-message__card {
  border-radius: 14px !important;
}

/* Footer */
.gp-footer {
  border-top-color: var(--gp2-line) !important;
  background: linear-gradient(180deg, rgba(0,0,0,.08), rgba(0,0,0,.22)) !important;
}

/* Responsive refinements for long legacy forms/tables. */
@media (max-width: 900px) {
  .box { padding: 24px !important; }
  .gp-nav-wrap { background: rgba(7,13,22,.985) !important; }
}
@media (max-width: 640px) {
  .box { padding: 18px !important; border-radius: 17px !important; }
  input[type="text"], input[type="email"], input[type="password"], input[type="number"],
  input[type="tel"], input[type="date"], input[type="url"], input[type="search"],
  select, textarea, input.mobile, select.mobile, textarea.mobile {
    width: 100% !important;
    max-width: 100% !important;
    min-height: 46px;
    font-size: 16px !important; /* prevents iOS zoom */
  }
  .gp-table-shell, .dataTables_wrapper { padding: 10px; border-radius: 14px; }
}

/* Respect accessibility preferences. */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* R7 · Maps */
.gp-map-page{padding-top:24px;padding-bottom:44px}.gp-map-hero{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin:20px auto 24px;padding:28px;border:1px solid rgba(224,183,106,.2);border-radius:24px;background:linear-gradient(145deg,rgba(16,31,51,.96),rgba(8,18,32,.98));box-shadow:0 24px 70px rgba(0,0,0,.26)}.gp-map-hero h1{margin:5px 0 8px;font-size:clamp(30px,5vw,48px);letter-spacing:-.035em}.gp-map-hero p{max-width:720px;margin:0;color:#b8c1cf;line-height:1.65}.gp-map-provider-badge{flex:0 0 auto;padding:9px 12px;border:1px solid rgba(224,183,106,.28);border-radius:999px;background:rgba(224,183,106,.08);color:#e7c98f;font-size:12px;font-weight:700;letter-spacing:.04em}.gp-map-filter{display:grid;grid-template-columns:minmax(220px,1fr) minmax(220px,1fr) auto;gap:18px;align-items:end;margin:0 auto 18px;padding:20px;border:1px solid rgba(255,255,255,.08);border-radius:20px;background:rgba(10,22,38,.86)}.gp-map-filter__field label{display:block;margin:0 0 8px;color:#d9e0e8;font-size:13px;font-weight:700}.gp-map-filter__field select{width:100%!important;min-width:0!important}.gp-map-filter__actions{display:flex;gap:10px;align-items:center}.gp-map-filter__actions button,.gp-secondary-button{min-height:44px;display:inline-flex;align-items:center;justify-content:center;padding:0 17px;border-radius:12px;text-decoration:none;font-weight:700}.gp-secondary-button{border:1px solid rgba(255,255,255,.14);background:rgba(255,255,255,.04);color:#eef2f6!important}.gp-map-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:0 0 18px}.gp-map-stats>div{padding:16px 18px;border:1px solid rgba(255,255,255,.08);border-radius:16px;background:rgba(10,22,38,.72)}.gp-map-stats strong{display:block;color:#f6ead1;font-size:25px}.gp-map-stats span{display:block;margin-top:2px;color:#929fb0;font-size:12px}.gp-map-shell{position:relative;overflow:hidden;border:1px solid rgba(224,183,106,.23);border-radius:24px;background:#0b1524;box-shadow:0 24px 70px rgba(0,0,0,.28)}.gp-contact-map{width:100%;height:min(68vh,680px);min-height:440px;background:#101b28}.gp-map-runtime-message{position:absolute;z-index:900;left:18px;right:18px;bottom:18px;padding:12px 14px;border:1px solid rgba(255,196,112,.35);border-radius:12px;background:rgba(32,20,8,.94);color:#ffe1ad;font-size:13px}.gp-map-notice{margin:14px 0;padding:14px 16px;border-radius:14px;border:1px solid rgba(255,255,255,.1);line-height:1.55}.gp-map-notice.is-warning{background:rgba(137,91,30,.15);border-color:rgba(224,183,106,.28);color:#f1dcb4}.gp-map-notice.is-info{background:rgba(59,105,150,.12);border-color:rgba(122,169,215,.22);color:#c9dced}.gp-map-empty{display:grid;place-items:center;text-align:center;min-height:300px;padding:30px;border:1px dashed rgba(224,183,106,.28);border-radius:22px;background:rgba(10,22,38,.45)}.gp-map-empty>span{font-size:56px;color:#d9b56f}.gp-map-empty h2{margin:8px 0 4px}.gp-map-empty p{margin:0;color:#9aa7b7}.gp-map-popup{min-width:210px;color:#15202c;font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif}.gp-map-popup h3{margin:0 0 5px;color:#0d1723;font-size:16px}.gp-map-popup__family{margin-bottom:5px;color:#8a652f;font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.04em}.gp-map-popup p{margin:0 0 7px;color:#495767;line-height:1.45}.gp-map-popup small{display:block;margin-bottom:8px;color:#788696}.gp-map-popup a{color:#815c24!important;font-weight:800;text-decoration:none}.gp-map-embed{display:block;max-width:100%;border:0!important;border-radius:16px;background:#101b28}.gp-map-fallback{width:100%;min-height:180px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;padding:22px;text-align:center;border:1px solid rgba(224,183,106,.2);border-radius:16px;background:linear-gradient(145deg,#0d1a2b,#101f33);color:#c5cfdb}.gp-map-fallback__icon{font-size:28px;color:#ddb96e}.gp-map-fallback strong{color:#f2e4c8}.gp-map-fallback__link{display:inline-flex;margin-top:5px;padding:8px 12px;border-radius:10px;background:rgba(224,183,106,.12);color:#ebcd91!important;font-weight:800;text-decoration:none}.leaflet-container{font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif}.leaflet-control-zoom a{color:#16212e!important}.leaflet-popup-content-wrapper,.leaflet-popup-tip{background:#fff}
@media(max-width:760px){.gp-map-hero{align-items:flex-start;flex-direction:column}.gp-map-filter{grid-template-columns:1fr}.gp-map-filter__actions{width:100%}.gp-map-filter__actions button,.gp-secondary-button{flex:1}.gp-map-stats{grid-template-columns:1fr 1fr 1fr}.gp-map-stats>div{padding:12px}.gp-map-stats strong{font-size:21px}.gp-contact-map{height:58vh;min-height:390px}}
@media(max-width:480px){.gp-map-stats{grid-template-columns:1fr}.gp-map-hero{padding:22px}.gp-map-filter{padding:16px}.gp-contact-map{min-height:360px}}

/* R8 - Geo Location: always-visible map, premium directory and robust empty states */
.gp-map-hero--r8{align-items:center}.gp-map-shell--always{min-height:440px}.gp-map-loading{position:absolute;inset:0;z-index:500;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;padding:32px;text-align:center;background:radial-gradient(circle at 50% 30%,rgba(224,183,106,.08),transparent 42%),linear-gradient(145deg,#0b1727,#0d1d30);color:#aeb9c7}.gp-map-loading[hidden]{display:none}.gp-map-loading__icon{display:grid;place-items:center;width:54px;height:54px;margin-bottom:4px;border:1px solid rgba(224,183,106,.26);border-radius:50%;background:rgba(224,183,106,.08);color:#e3bf78;font-size:27px}.gp-map-loading strong{color:#f5e9cf;font-size:18px}.gp-map-loading span:last-child{max-width:520px;color:#98a5b5;font-size:13px;line-height:1.55}.gp-map-notice__sub{margin-top:5px;color:inherit;opacity:.82;font-size:12px}.gp-map-directory{margin-top:24px;padding:22px;border:1px solid rgba(255,255,255,.075);border-radius:22px;background:rgba(8,18,31,.72)}.gp-map-directory__head{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin-bottom:16px}.gp-map-directory__head h2{margin:4px 0 0;color:#f5ead4;font-size:22px}.gp-map-directory__head>span{color:#8f9cac;font-size:12px}.gp-map-directory__grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.gp-map-contact-card{display:flex;gap:13px;min-width:0;padding:15px;border:1px solid rgba(255,255,255,.075);border-radius:16px;background:rgba(14,29,48,.72);transition:border-color .2s ease,background .2s ease,transform .2s ease}.gp-map-contact-card:hover{transform:translateY(-1px);border-color:rgba(224,183,106,.2);background:rgba(17,34,55,.84)}.gp-map-contact-card__marker{flex:0 0 36px;width:36px;height:36px;display:grid;place-items:center;border-radius:11px;background:rgba(224,183,106,.1);color:#e5c17c;font-size:18px}.gp-map-contact-card.is-unmapped .gp-map-contact-card__marker{background:rgba(255,255,255,.045);color:#758292}.gp-map-contact-card__body{min-width:0}.gp-map-contact-card h3{margin:0 0 3px;color:#eef2f6;font-size:15px}.gp-map-contact-card__relation{display:inline-block;margin-bottom:4px;color:#d3ad68;font-size:11px;font-weight:800;letter-spacing:.04em;text-transform:uppercase}.gp-map-contact-card p{margin:0 0 7px;color:#9eaab9;font-size:12px;line-height:1.5}.gp-map-contact-card a{color:#e8c982!important;font-size:12px;font-weight:800;text-decoration:none}.gp-map-contact-card__status{color:#758292;font-size:12px}.gp-map-filter select{appearance:auto!important;background-image:none!important}.leaflet-interactive{stroke:#f1d79e;fill:#b98a3d}.gp-contact-map .leaflet-control-attribution{font-size:10px}.gp-contact-map .leaflet-control-attribution a{color:#6f5427!important}
@media (max-width:760px){.gp-map-directory__grid{grid-template-columns:1fr}.gp-map-directory__head{align-items:flex-start;flex-direction:column}.gp-map-shell--always,.gp-contact-map{min-height:390px}.gp-map-hero--r8{align-items:flex-start}}

.gp-map-contact-card__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .65rem 1rem;
    margin-top: .7rem;
}
/* GOOSPLACE R9 — Signature Velvet
   Distinctive luxury direction: aubergine + jade + copper + warm ivory.
   Loaded after the legacy/modern/premium layers so the functional markup can remain intact. */
:root {
  --r9-bg: #100c16;
  --r9-bg-2: #17101f;
  --r9-bg-3: #1c1425;
  --r9-panel: rgba(33, 24, 43, .82);
  --r9-panel-solid: #21182b;
  --r9-panel-soft: rgba(255,255,255,.045);
  --r9-jade: #79d9c0;
  --r9-jade-deep: #1f9c83;
  --r9-jade-ink: #0d2e28;
  --r9-copper: #e5a37d;
  --r9-copper-soft: #f0c1a4;
  --r9-ivory: #f7f0e6;
  --r9-text: #eee8ef;
  --r9-muted: #afa6b7;
  --r9-line: rgba(121,217,192,.15);
  --r9-line-warm: rgba(229,163,125,.18);
  --r9-shadow: 0 24px 72px rgba(4, 2, 8, .42);
  --r9-shadow-soft: 0 14px 34px rgba(4,2,8,.22);
  --r9-radius: 22px;
  --r9-radius-sm: 14px;
  --r9-serif: "Iowan Old Style", "Palatino Linotype", Palatino, Baskerville, Georgia, serif;
  --r9-sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

html { background: var(--r9-bg); }
body {
  color: var(--r9-text) !important;
  background:
    radial-gradient(900px 560px at -8% -5%, rgba(121,217,192,.16), transparent 58%),
    radial-gradient(820px 540px at 108% 0%, rgba(229,163,125,.14), transparent 56%),
    radial-gradient(720px 520px at 48% 110%, rgba(79,45,102,.18), transparent 58%),
    linear-gradient(180deg, #100c16 0%, #17101f 42%, #120d19 100%) !important;
  font-family: var(--r9-sans) !important;
}
body::before {
  opacity: .22 !important;
  background-image:
    linear-gradient(rgba(121,217,192,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(229,163,125,.025) 1px, transparent 1px) !important;
  background-size: 64px 64px !important;
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(115deg, transparent 0 43%, rgba(121,217,192,.025) 43% 44%, transparent 44% 100%);
}

/* Typography — less oversized, more editorial. */
h1,h2,h3,h4,h5,h6,
div.main-container h1, div.main-container h2, div.main-container h3,
div.main-container h4, div.main-container h5, div.main-container h6 {
  color: var(--r9-ivory) !important;
  font-family: var(--r9-serif) !important;
  font-weight: 500 !important;
  letter-spacing: -.035em !important;
}
h1 { font-size: clamp(2.6rem, 5.2vw, 4.6rem) !important; line-height: 1.01 !important; }
h2 { font-size: clamp(2rem, 3.8vw, 3.25rem) !important; }
h3 { font-size: clamp(1.35rem, 2.4vw, 2rem) !important; }
p, li, td, label { color: var(--r9-text); }
a { color: var(--r9-jade) !important; }
a:hover { color: #b7f4e4 !important; }

/* Header: signature translucent ribbon. */
.gp-site-header {
  background: rgba(16,12,22,.82) !important;
  border-bottom: 1px solid var(--r9-line) !important;
  box-shadow: 0 14px 46px rgba(4,2,8,.2) !important;
  backdrop-filter: blur(24px) saturate(145%) !important;
}
.gp-site-header::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--r9-jade), var(--r9-copper), transparent);
  opacity: .48;
}
.gp-header-inner { min-height: 78px !important; }
.gp-brand { gap: 14px !important; }
.gp-brand-mark {
  width: 42px !important;
  height: 42px !important;
  border: 1px solid rgba(121,217,192,.3) !important;
  border-radius: 14px !important;
  color: #0c2b25 !important;
  background: linear-gradient(135deg, #9be5d1 0%, #73cfb7 48%, #e5a37d 100%) !important;
  box-shadow: 0 10px 28px rgba(26,128,106,.17), inset 0 1px rgba(255,255,255,.48) !important;
  font-family: var(--r9-serif) !important;
  font-weight: 700 !important;
}
.gp-brand-name {
  color: var(--r9-ivory) !important;
  letter-spacing: .22em !important;
  font-size: 15px !important;
}
.gp-brand-tag {
  color: #9b90a5 !important;
  letter-spacing: .105em !important;
  text-transform: none !important;
  font-size: 10px !important;
}
.gp-nav a {
  color: #c6bdcc !important;
  border-radius: 11px !important;
  font-weight: 650 !important;
}
.gp-nav a:hover {
  color: var(--r9-ivory) !important;
  background: rgba(121,217,192,.07) !important;
}
.gp-nav .active > a {
  color: #dff8f0 !important;
  background: rgba(121,217,192,.1) !important;
  box-shadow: inset 0 0 0 1px rgba(121,217,192,.11) !important;
}
.gp-nav .active > a::after {
  content: "";
  position: absolute;
  left: 18px; right: 18px; bottom: 5px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--r9-jade), var(--r9-copper));
}
.gp-nav li { position: relative; }
.gp-nav .gp-nav-cta > a {
  color: #102b26 !important;
  background: linear-gradient(135deg, #9ae4d0, #69cdb4) !important;
  box-shadow: 0 12px 28px rgba(31,156,131,.17) !important;
}
.gp-nav-danger > a { color: #efb59b !important; }
.gp-menu-toggle { color: var(--r9-ivory) !important; }

/* Utility bar: quiet, polished, useful. */
.gp-utility { background: transparent !important; }
#sub-headline {
  margin-top: 14px !important;
  padding: 10px 14px !important;
  border: 1px solid rgba(255,255,255,.07) !important;
  border-radius: 14px !important;
  background: rgba(255,255,255,.025) !important;
  box-shadow: none !important;
}
#tagline2 { color: #a99fb1 !important; }
#tagline2 b { color: var(--r9-ivory) !important; }
.tagline_right fieldset {
  border-color: rgba(229,163,125,.16) !important;
  background: rgba(229,163,125,.045) !important;
  color: var(--r9-copper-soft) !important;
}

/* Breadcrumbs become compact glass chips. */
#breadcrumb {
  margin-top: 18px !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
}
#breadcrumb ul {
  display: inline-flex !important;
  flex-wrap: wrap;
  gap: 7px;
  align-items: center;
  padding: 7px 10px !important;
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 999px;
  background: rgba(255,255,255,.025);
}
#breadcrumb li { color: #8f8598 !important; }
#breadcrumb li.first { color: var(--r9-copper-soft) !important; }
#breadcrumb a { color: #bdb4c4 !important; text-decoration: none !important; }
#breadcrumb a:hover { color: var(--r9-jade) !important; }

/* Main surfaces */
.box, .callout, .form-shell, .gp-auth-shell, .gp-feature-card,
#home_featured2 li, .gp-map-hero, .gp-map-filter, .gp-map-directory,
.gp-table-shell, .dataTables_wrapper {
  border-color: rgba(121,217,192,.1) !important;
  background: linear-gradient(155deg, rgba(38,27,50,.82), rgba(27,20,36,.72)) !important;
  box-shadow: var(--r9-shadow-soft) !important;
}
.box, .form-shell, .gp-auth-shell, .gp-map-hero, .gp-map-directory {
  border-radius: var(--r9-radius) !important;
}
.box::before {
  left: 22px !important; right: 22px !important;
  background: linear-gradient(90deg, transparent, var(--r9-jade), var(--r9-copper), transparent) !important;
  opacity: .65;
}

/* Editorial accents / eyebrow */
.eyebrow, .gp-feature-kicker, legend {
  color: var(--r9-copper-soft) !important;
}
.eyebrow::before { background: linear-gradient(90deg, var(--r9-jade), var(--r9-copper)) !important; }

/* Buttons */
.gp-btn, input[type="submit"], input[type="button"], input[type="reset"],
button:not(.gp-menu-toggle), .button, a.button {
  min-height: 44px !important;
  border-radius: 12px !important;
  border: 1px solid rgba(121,217,192,.15) !important;
  box-shadow: 0 10px 24px rgba(4,2,8,.18) !important;
  font-weight: 720 !important;
  letter-spacing: .015em !important;
}
.gp-btn-primary, input[type="submit"], .button, a.button {
  color: #102c26 !important;
  background: linear-gradient(135deg, #98e3cf 0%, #6fceb5 100%) !important;
  border-color: rgba(121,217,192,.38) !important;
}
.gp-btn-primary:hover, input[type="submit"]:hover, .button:hover, a.button:hover {
  background: linear-gradient(135deg, #abecd9, #79d9c0) !important;
  box-shadow: 0 14px 34px rgba(31,156,131,.2) !important;
}
input[type="button"], input[type="reset"], .gp-btn-secondary, .gp-secondary-button {
  color: var(--r9-copper-soft) !important;
  border-color: rgba(229,163,125,.22) !important;
  background: rgba(229,163,125,.055) !important;
}

/* Forms */
input[type="text"], input[type="email"], input[type="password"], input[type="number"],
input[type="tel"], input[type="date"], input[type="url"], input[type="search"],
input[type="time"], input[type="datetime-local"], input[type="file"], select, textarea,
input.mobile, select.mobile, textarea.mobile {
  color: #f3edf4 !important;
  caret-color: var(--r9-jade);
  border: 1px solid rgba(255,255,255,.1) !important;
  border-radius: 12px !important;
  background-color: #1b1424 !important;
  background-image: linear-gradient(180deg, rgba(255,255,255,.025), rgba(255,255,255,.008)) !important;
  box-shadow: inset 0 1px rgba(255,255,255,.025) !important;
}
input:hover, select:hover, textarea:hover { border-color: rgba(121,217,192,.26) !important; }
input:focus, select:focus, textarea:focus {
  color: #fff !important;
  border-color: rgba(121,217,192,.72) !important;
  background-color: #21182c !important;
  box-shadow: 0 0 0 3px rgba(121,217,192,.11), 0 12px 28px rgba(4,2,8,.11) !important;
}
::placeholder { color: #81778b !important; }
label { color: #d9d1dc !important; }
select { color-scheme: dark; }
select option, select optgroup { color: #241a2d !important; background: #fffaf5 !important; }
select option:checked, select option:hover { color: #112b26 !important; background: #c8efe4 !important; }

/* Radio / checkbox accent without replacing native semantics. */
input[type="radio"], input[type="checkbox"] { accent-color: var(--r9-jade-deep); }

/* Tables and DataTables */
.gp-table-shell, .dataTables_wrapper {
  padding: 18px !important;
  border-radius: 20px !important;
}
.dataTables_wrapper .dataTables_filter label,
.dataTables_wrapper .dataTables_length label,
.dataTables_wrapper .dataTables_info { color: #c9c0cf !important; }
.gp-table-search input,
.dataTables_wrapper .dataTables_filter input,
.dataTables_wrapper .dataTables_length select {
  color: #efe8f0 !important;
  background: #17101f !important;
  border-color: rgba(121,217,192,.16) !important;
}
.dataTables_wrapper .dataTables_length select option { color: #241a2d !important; background: #fffaf5 !important; }

table:not(.ui-datepicker-calendar) {
  border: 1px solid rgba(121,217,192,.1) !important;
  border-radius: 16px !important;
  background: rgba(18,13,25,.45) !important;
}
table:not(.ui-datepicker-calendar) th {
  color: #f5ede8 !important;
  background: linear-gradient(135deg, #2a1d35 0%, #22302f 100%) !important;
  border-bottom-color: rgba(121,217,192,.22) !important;
  letter-spacing: .07em !important;
}
table:not(.ui-datepicker-calendar) td {
  color: #dcd4df !important;
  background: rgba(255,255,255,.012) !important;
  border-color: rgba(255,255,255,.045) !important;
}
table:not(.ui-datepicker-calendar) tbody tr:nth-child(even) td { background: rgba(121,217,192,.018) !important; }
table:not(.ui-datepicker-calendar) tbody tr:hover td { background: rgba(121,217,192,.06) !important; }
table:not(.ui-datepicker-calendar) tbody tr:hover td:first-child { box-shadow: inset 3px 0 0 var(--r9-jade); }
.dataTables_wrapper .dataTables_paginate .paginate_button {
  color: #c8c0cf !important;
  border-color: transparent !important;
  border-radius: 10px !important;
  background: transparent !important;
}
.dataTables_wrapper .dataTables_paginate .paginate_button.current,
.dataTables_wrapper .dataTables_paginate .paginate_button.current:hover {
  color: #102c26 !important;
  border-color: transparent !important;
  background: var(--r9-jade) !important;
}

/* Contact/list page presentation visible in current screenshots. */
.gp-addressbook-hero, .gp-contacts-hero, .gp-page-hero {
  border-bottom-color: rgba(121,217,192,.12) !important;
}
.gp-addressbook-hero h1, .gp-contacts-hero h1, .gp-page-hero h1 { max-width: 820px; }

/* Map module recolor */
.gp-map-hero, .gp-map-filter, .gp-map-directory { border-color: rgba(121,217,192,.11) !important; }
.gp-map-provider-badge,
.gp-map-contact-card__relation,
.gp-map-popup__family { color: var(--r9-copper-soft) !important; }
.gp-map-provider-badge { border-color: rgba(229,163,125,.22) !important; background: rgba(229,163,125,.055) !important; }
.gp-map-stats > div, .gp-map-contact-card { background: rgba(30,22,40,.74) !important; border-color: rgba(121,217,192,.08) !important; }
.gp-map-stats strong { color: var(--r9-jade) !important; }
.gp-map-contact-card__marker { background: rgba(121,217,192,.1) !important; color: var(--r9-jade) !important; }
.gp-map-shell { border-color: rgba(121,217,192,.2) !important; background: #15101d !important; }
.leaflet-interactive { stroke: #b6f0e1 !important; fill: #2c9f87 !important; }

/* Alerts */
.gp-alert, .system-message__card {
  border-color: rgba(121,217,192,.13) !important;
  background: rgba(31,23,41,.92) !important;
  box-shadow: var(--r9-shadow-soft) !important;
}

/* Footer */
.gp-footer {
  border-top: 1px solid rgba(121,217,192,.11) !important;
  background: linear-gradient(180deg, rgba(16,12,22,.18), rgba(9,7,13,.72)) !important;
}
.gp-footer::before {
  content: "";
  display: block;
  width: min(calc(100% - 32px), var(--gp-max));
  height: 1px;
  margin: 0 auto;
  background: linear-gradient(90deg, transparent, rgba(121,217,192,.35), rgba(229,163,125,.3), transparent);
}
.gp-location-chip {
  border-color: rgba(121,217,192,.12) !important;
  background: rgba(121,217,192,.045) !important;
  color: #beb5c5 !important;
}

/* Floating "Subir" button */
.gp-back-to-top, #gpBackToTop {
  color: #102c26 !important;
  border-color: rgba(121,217,192,.35) !important;
  background: linear-gradient(135deg, #9ce6d2, #70cfb6) !important;
  box-shadow: 0 16px 34px rgba(31,156,131,.18) !important;
}

/* jQuery UI/date picker */
.ui-datepicker .ui-datepicker-header { background: #24192f !important; color: #f3e9e4 !important; }
.ui-state-hover, .ui-widget-content .ui-state-hover,
.ui-state-focus, .ui-widget-content .ui-state-focus {
  color: #102c26 !important;
  border-color: var(--r9-jade) !important;
  background: #d7f3eb !important;
}

/* Mobile */
@media (max-width: 900px) {
  .gp-nav-wrap { background: rgba(18,13,25,.985) !important; border-color: rgba(121,217,192,.1) !important; }
  .gp-nav .active > a::after { left: 12px; right: auto; width: 28px; bottom: 4px; }
}
@media (max-width: 640px) {
  h1 { font-size: clamp(2.35rem, 12vw, 3.5rem) !important; }
  #sub-headline { border-radius: 12px !important; }
  .gp-table-shell, .dataTables_wrapper { padding: 10px !important; border-radius: 16px !important; }
  .gp-brand-tag { display: none !important; }
}

@media (prefers-reduced-motion: no-preference) {
  .gp-brand-mark { transition: transform .25s ease, box-shadow .25s ease; }
  .gp-brand:hover .gp-brand-mark { transform: rotate(-3deg) translateY(-1px); box-shadow: 0 14px 34px rgba(31,156,131,.24), inset 0 1px rgba(255,255,255,.48) !important; }
}

/* R9.1 — Map reliability: the basemap is always visible, even with 0 markers. */
.gp-map-shell--r91 { min-height: 460px; isolation: isolate; }
.gp-map-shell--r91 .gp-contact-map,
.gp-map-shell--r91 .gp-map-fallback-frame {
  width: 100%;
  min-height: 460px;
  height: min(68vh, 680px);
  border: 0;
}
.gp-map-shell--r91 .gp-map-fallback-frame { display: block; background: #17101f; }
.gp-map-shell--r91 .gp-map-fallback-frame[hidden] { display: none; }
.gp-map-loading--compact {
  inset: auto 18px 18px 18px !important;
  min-height: 0 !important;
  flex-direction: row !important;
  justify-content: flex-start !important;
  text-align: left !important;
  padding: 12px 14px !important;
  border: 1px solid rgba(121,217,192,.16);
  border-radius: 14px;
  background: rgba(20,14,28,.92) !important;
  backdrop-filter: blur(12px);
}
.gp-map-loading--compact .gp-map-loading__icon {
  width: 34px;
  height: 34px;
  margin: 0;
  flex: 0 0 34px;
  font-size: 18px;
}
.gp-map-loading--compact strong { font-size: 13px; }
.gp-map-loading--compact span:last-child { margin-left: auto; font-size: 11px; }
@media (max-width: 640px) {
  .gp-map-shell--r91,
  .gp-map-shell--r91 .gp-contact-map,
  .gp-map-shell--r91 .gp-map-fallback-frame { min-height: 380px; height: 56vh; }
  .gp-map-loading--compact { align-items: flex-start !important; }
  .gp-map-loading--compact span:last-child { display: none; }
}
/* GOOSPLACE R10 — Atelier Light
   Luminous premium direction: porcelain + warm white + petrol + champagne + ink.
   This layer intentionally loads last so the legacy markup can stay stable. */
:root {
  --r10-bg: #f4f1eb;
  --r10-bg-2: #faf8f4;
  --r10-surface: rgba(255,255,255,.88);
  --r10-surface-solid: #ffffff;
  --r10-surface-soft: #f8f6f1;
  --r10-ink: #17212b;
  --r10-ink-2: #24313d;
  --r10-muted: #6f7a84;
  --r10-petrol: #0f5a5d;
  --r10-petrol-2: #16747a;
  --r10-petrol-soft: #dceceb;
  --r10-champagne: #b49362;
  --r10-champagne-soft: #efe3cf;
  --r10-line: #e2ddd4;
  --r10-line-strong: #d2c9bd;
  --r10-danger: #a34d45;
  --r10-success: #2f7662;
  --r10-shadow: 0 24px 70px rgba(45, 49, 52, .10);
  --r10-shadow-soft: 0 12px 36px rgba(45, 49, 52, .08);
  --r10-radius: 24px;
  --r10-radius-sm: 14px;
  --r10-serif: "Iowan Old Style", "Palatino Linotype", Palatino, Baskerville, Georgia, serif;
  --r10-sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

html { background: var(--r10-bg) !important; color-scheme: light !important; }
body {
  color: var(--r10-ink) !important;
  background:
    radial-gradient(900px 520px at 8% -10%, rgba(180,147,98,.13), transparent 60%),
    radial-gradient(820px 520px at 100% 5%, rgba(15,90,93,.10), transparent 58%),
    linear-gradient(180deg, #fbfaf7 0%, #f5f2ec 52%, #f2eee7 100%) !important;
  font-family: var(--r10-sans) !important;
}
body::before {
  opacity: .45 !important;
  background-image:
    linear-gradient(rgba(15,90,93,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(180,147,98,.025) 1px, transparent 1px) !important;
  background-size: 72px 72px !important;
}
body::after {
  background: radial-gradient(680px 280px at 50% 0%, rgba(255,255,255,.62), transparent 72%) !important;
}

h1,h2,h3,h4,h5,h6,
div.main-container h1, div.main-container h2, div.main-container h3,
div.main-container h4, div.main-container h5, div.main-container h6 {
  color: var(--r10-ink) !important;
  font-family: var(--r10-serif) !important;
  font-weight: 500 !important;
  letter-spacing: -.035em !important;
}
h1 { font-size: clamp(2.5rem, 4.8vw, 4.25rem) !important; line-height: 1.02 !important; }
h2 { font-size: clamp(1.85rem, 3.2vw, 2.85rem) !important; }
h3 { font-size: clamp(1.25rem, 2.1vw, 1.75rem) !important; }
p, li, td, label, span { color: inherit; }
a { color: var(--r10-petrol) !important; }
a:hover { color: var(--r10-petrol-2) !important; }

/* Header */
.gp-site-header {
  background: rgba(250,248,244,.88) !important;
  border-bottom: 1px solid rgba(23,33,43,.08) !important;
  box-shadow: 0 12px 34px rgba(45,49,52,.07) !important;
  backdrop-filter: blur(24px) saturate(145%) !important;
}
.gp-site-header::after {
  background: linear-gradient(90deg, transparent, rgba(15,90,93,.30), rgba(180,147,98,.38), transparent) !important;
  opacity: 1 !important;
}
.gp-header-inner { min-height: 76px !important; }
.gp-brand-mark {
  color: #fff !important;
  border: 1px solid rgba(15,90,93,.12) !important;
  border-radius: 14px !important;
  background: linear-gradient(145deg, #0f5a5d, #18767a) !important;
  box-shadow: 0 10px 24px rgba(15,90,93,.18), inset 0 1px rgba(255,255,255,.18) !important;
}
.gp-brand-name { color: var(--r10-ink) !important; letter-spacing: .20em !important; }
.gp-brand-tag { color: #8a8076 !important; }
.gp-nav a { color: #4e5963 !important; background: transparent !important; }
.gp-nav a:hover { color: var(--r10-petrol) !important; background: rgba(15,90,93,.06) !important; }
.gp-nav .active > a {
  color: var(--r10-petrol) !important;
  background: rgba(15,90,93,.075) !important;
  box-shadow: inset 0 0 0 1px rgba(15,90,93,.08) !important;
}
.gp-nav .active > a::after { background: linear-gradient(90deg, var(--r10-petrol), var(--r10-champagne)) !important; }
.gp-nav .gp-nav-cta > a {
  color: #fff !important;
  background: linear-gradient(135deg, #0f5a5d, #18777a) !important;
  box-shadow: 0 10px 24px rgba(15,90,93,.17) !important;
}
.gp-nav-danger > a { color: var(--r10-danger) !important; }
.gp-menu-toggle { color: var(--r10-ink) !important; }

/* Utility / breadcrumbs */
#sub-headline {
  border-color: rgba(23,33,43,.07) !important;
  background: rgba(255,255,255,.55) !important;
  box-shadow: 0 8px 26px rgba(45,49,52,.035) !important;
}
#tagline2 { color: var(--r10-muted) !important; }
#tagline2 b { color: var(--r10-ink) !important; }
.tagline_right fieldset {
  border-color: rgba(180,147,98,.24) !important;
  background: rgba(180,147,98,.075) !important;
  color: #80653f !important;
}
#breadcrumb ul {
  border-color: rgba(23,33,43,.08) !important;
  background: rgba(255,255,255,.72) !important;
  box-shadow: 0 8px 24px rgba(45,49,52,.04) !important;
}
#breadcrumb li { color: #8c877f !important; }
#breadcrumb li.first { color: #927044 !important; }
#breadcrumb a { color: #65717a !important; }
#breadcrumb a:hover { color: var(--r10-petrol) !important; }

/* Main surfaces */
.box, .callout, .form-shell, .gp-auth-shell, .gp-feature-card,
#home_featured2 li, .gp-map-hero, .gp-map-filter, .gp-map-directory,
.gp-table-shell, .dataTables_wrapper,
.gp-contact-card, .gp-contact-directory, .gp-contact-hero {
  border: 1px solid rgba(23,33,43,.08) !important;
  background: rgba(255,255,255,.84) !important;
  box-shadow: var(--r10-shadow-soft) !important;
  backdrop-filter: blur(16px) saturate(120%);
}
.box, .form-shell, .gp-auth-shell, .gp-map-hero, .gp-map-directory,
.gp-contact-card, .gp-contact-directory, .gp-contact-hero {
  border-radius: var(--r10-radius) !important;
}
.box::before { background: linear-gradient(90deg, transparent, var(--r10-petrol), var(--r10-champagne), transparent) !important; opacity: .4 !important; }
.eyebrow, .gp-feature-kicker, legend, .gp-contact-eyebrow { color: #947344 !important; }
.eyebrow::before { background: linear-gradient(90deg, var(--r10-petrol), var(--r10-champagne)) !important; }

/* Buttons */
.gp-btn, input[type="submit"], input[type="button"], input[type="reset"],
button:not(.gp-menu-toggle), .button, a.button, .gp-contact-button {
  min-height: 44px !important;
  border-radius: 12px !important;
  box-shadow: none !important;
  font-weight: 700 !important;
}
.gp-btn-primary, input[type="submit"], .button, a.button, .gp-contact-button--primary {
  color: #fff !important;
  border-color: var(--r10-petrol) !important;
  background: linear-gradient(135deg, #0f5a5d, #18777a) !important;
  box-shadow: 0 10px 24px rgba(15,90,93,.16) !important;
}
.gp-btn-primary:hover, input[type="submit"]:hover, .button:hover, a.button:hover, .gp-contact-button--primary:hover {
  color: #fff !important;
  background: linear-gradient(135deg, #12666a, #1a8588) !important;
}
input[type="button"], input[type="reset"], .gp-btn-secondary, .gp-secondary-button,
.gp-contact-button:not(.gp-contact-button--primary) {
  color: var(--r10-ink-2) !important;
  border-color: var(--r10-line-strong) !important;
  background: #fff !important;
}

/* Inputs / selects */
input[type="text"], input[type="email"], input[type="password"], input[type="number"],
input[type="tel"], input[type="date"], input[type="url"], input[type="search"],
input[type="time"], input[type="datetime-local"], input[type="file"], select, textarea,
input.mobile, select.mobile, textarea.mobile,
.gp-contact-field input[type="text"], .gp-contact-field input[type="email"],
.gp-contact-field input[type="tel"], .gp-contact-control select, .gp-contact-phone-row > input {
  color: var(--r10-ink) !important;
  caret-color: var(--r10-petrol) !important;
  border: 1px solid #d8d4cd !important;
  border-radius: 12px !important;
  background: rgba(255,255,255,.96) !important;
  box-shadow: inset 0 1px 1px rgba(23,33,43,.02) !important;
}
input:hover, select:hover, textarea:hover { border-color: #b8c9c7 !important; }
input:focus, select:focus, textarea:focus,
.gp-contact-field input:focus, .gp-contact-control select:focus, .gp-contact-phone-row > input:focus {
  color: var(--r10-ink) !important;
  border-color: rgba(15,90,93,.64) !important;
  background: #fff !important;
  box-shadow: 0 0 0 4px rgba(15,90,93,.09) !important;
}
input[readonly], .gp-contact-field input[readonly] { color: #7b858e !important; background: #f2f0ec !important; }
::placeholder { color: #9aa2a8 !important; }
label, .gp-contact-field > span, .gp-contact-field > legend, .gp-contact-family-choice label { color: #4f5b65 !important; }
.gp-contact-field > span b { color: #8d6a3b !important; }
select { color-scheme: light !important; }
select option, select optgroup, .gp-contact-control select option, .gp-contact-phone-row select option,
.dataTables_wrapper .dataTables_length select option {
  color: #17212b !important;
  background: #fff !important;
}
select option:checked { color: #0f4b4e !important; background: #dfeeed !important; }
input[type="radio"], input[type="checkbox"] { accent-color: var(--r10-petrol); }

/* Tables / DataTables */
.gp-table-shell, .dataTables_wrapper {
  padding: 20px !important;
  border-radius: 22px !important;
  background: rgba(255,255,255,.90) !important;
}
.dataTables_wrapper .dataTables_filter label,
.dataTables_wrapper .dataTables_length label,
.dataTables_wrapper .dataTables_info { color: #59656f !important; }
.gp-table-search input,
.dataTables_wrapper .dataTables_filter input,
.dataTables_wrapper .dataTables_length select {
  color: var(--r10-ink) !important;
  background: #fff !important;
  border-color: #d8d4cd !important;
}
table:not(.ui-datepicker-calendar) {
  border: 1px solid var(--r10-line) !important;
  border-radius: 16px !important;
  background: #fff !important;
  box-shadow: none !important;
}
table:not(.ui-datepicker-calendar) th {
  color: #fff !important;
  background: linear-gradient(135deg, #174f52 0%, #1b6467 100%) !important;
  border-bottom-color: rgba(255,255,255,.18) !important;
  letter-spacing: .06em !important;
}
table:not(.ui-datepicker-calendar) td {
  color: #35414b !important;
  background: #fff !important;
  border-color: #ece8e2 !important;
}
table:not(.ui-datepicker-calendar) tbody tr:nth-child(even) td { background: #faf9f6 !important; }
table:not(.ui-datepicker-calendar) tbody tr:hover td { background: #eef6f5 !important; }
table:not(.ui-datepicker-calendar) tbody tr:hover td:first-child { box-shadow: inset 3px 0 0 var(--r10-petrol); }
.dataTables_wrapper .dataTables_paginate .paginate_button {
  color: #56616a !important;
  border-color: transparent !important;
  background: transparent !important;
}
.dataTables_wrapper .dataTables_paginate .paginate_button.current,
.dataTables_wrapper .dataTables_paginate .paginate_button.current:hover {
  color: #fff !important;
  background: var(--r10-petrol) !important;
}

/* Contact-specific */
.gp-contact-hero {
  background:
    radial-gradient(circle at 90% 8%, rgba(180,147,98,.13), transparent 32%),
    linear-gradient(145deg, rgba(255,255,255,.96), rgba(248,246,241,.96)) !important;
}
.gp-contact-hero h1, .gp-contact-directory h2, .gp-contact-section-head h2 { color: var(--r10-ink) !important; }
.gp-contact-hero p, .gp-contact-directory p, .gp-contact-section-head p { color: var(--r10-muted) !important; }
.gp-contact-section-head > span {
  border-color: rgba(15,90,93,.16) !important;
  background: var(--r10-petrol-soft) !important;
  color: var(--r10-petrol) !important;
}
.gp-contact-card { background: rgba(255,255,255,.92) !important; }
.gp-contact-family-choice input[type="radio"] { accent-color: var(--r10-petrol) !important; }

/* Maps */
.gp-map-hero, .gp-map-filter, .gp-map-directory { background: rgba(255,255,255,.90) !important; }
.gp-map-provider-badge,
.gp-map-contact-card__relation,
.gp-map-popup__family { color: #8c6a3c !important; }
.gp-map-provider-badge { border-color: rgba(180,147,98,.24) !important; background: #f7efe2 !important; }
.gp-map-stats > div, .gp-map-contact-card { background: #fff !important; border-color: var(--r10-line) !important; }
.gp-map-stats strong { color: var(--r10-petrol) !important; }
.gp-map-contact-card__marker { background: var(--r10-petrol-soft) !important; color: var(--r10-petrol) !important; }
.gp-map-shell { border-color: #d7d2ca !important; background: #e9efee !important; box-shadow: var(--r10-shadow-soft) !important; }
.gp-map-shell--r91 .gp-map-fallback-frame { background: #e9efee !important; }
.gp-map-loading--compact {
  border-color: rgba(23,33,43,.10) !important;
  background: rgba(255,255,255,.92) !important;
  color: var(--r10-ink) !important;
  box-shadow: 0 10px 28px rgba(45,49,52,.09) !important;
}
.leaflet-interactive { stroke: #fff !important; fill: #0f696d !important; }

/* Alerts */
.gp-alert, .system-message__card {
  color: var(--r10-ink) !important;
  border-color: rgba(23,33,43,.09) !important;
  background: rgba(255,255,255,.94) !important;
  box-shadow: var(--r10-shadow-soft) !important;
}

/* Footer */
.gp-footer {
  color: #65717a !important;
  border-top: 1px solid rgba(23,33,43,.08) !important;
  background: rgba(247,244,238,.82) !important;
}
.gp-footer::before { background: linear-gradient(90deg, transparent, rgba(15,90,93,.32), rgba(180,147,98,.28), transparent) !important; }
.gp-footer a { color: #53636a !important; }
.gp-location-chip { border-color: rgba(15,90,93,.11) !important; background: #eef5f4 !important; color: #53636a !important; }

/* Back to top */
.gp-back-to-top, #gpBackToTop {
  color: #fff !important;
  border-color: var(--r10-petrol) !important;
  background: linear-gradient(135deg, #0f5a5d, #17777a) !important;
  box-shadow: 0 14px 28px rgba(15,90,93,.18) !important;
}

/* jQuery UI */
.ui-widget-content { color: var(--r10-ink) !important; background: #fff !important; }
.ui-datepicker { border-color: var(--r10-line) !important; box-shadow: var(--r10-shadow-soft) !important; }
.ui-datepicker .ui-datepicker-header { background: #174f52 !important; color: #fff !important; }
.ui-state-default, .ui-widget-content .ui-state-default { color: #35414b !important; background: #faf9f6 !important; border-color: #e6e1da !important; }
.ui-state-hover, .ui-widget-content .ui-state-hover,
.ui-state-focus, .ui-widget-content .ui-state-focus { color: #0f4b4e !important; border-color: var(--r10-petrol) !important; background: #e1efee !important; }

/* Legacy text colors that were hard-coded for dark backgrounds. */
.main-container, .container1, .container, #wrapper, #content, #main { color: var(--r10-ink) !important; }
.main-container font[color="#FFFFFF"], .main-container font[color="#ffffff"] { color: var(--r10-ink) !important; }
hr { border-color: var(--r10-line) !important; }

/* Scrollbars */
* { scrollbar-color: #9fb7b4 #efede8; }
::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track { background: #efede8; }
::-webkit-scrollbar-thumb { background: #a9bebb; border: 3px solid #efede8; border-radius: 999px; }
::-webkit-scrollbar-thumb:hover { background: #86a7a3; }

@media (max-width: 900px) {
  .gp-nav-wrap {
    background: rgba(252,250,246,.985) !important;
    border-color: rgba(23,33,43,.08) !important;
    box-shadow: 0 18px 46px rgba(45,49,52,.10) !important;
  }
}
@media (max-width: 640px) {
  h1 { font-size: clamp(2.2rem, 11vw, 3.25rem) !important; }
  .gp-table-shell, .dataTables_wrapper { padding: 10px !important; border-radius: 16px !important; }
}

/* R10.2 — official GOOSPLACE logo */
.gp-brand--image {
  gap: 10px !important;
  min-width: 0;
}
.gp-brand-logo {
  display: block;
  width: 148px;
  height: auto;
  margin: -16px 0 -15px;
  object-fit: contain;
  flex: 0 0 auto;
}
.gp-brand-copy--logo {
  padding-left: 10px;
  border-left: 1px solid rgba(15,90,93,.14);
}
.gp-brand-copy--logo .gp-brand-tag {
  max-width: 155px;
  margin-top: 0 !important;
  color: #7c817f !important;
  line-height: 1.35;
  letter-spacing: .12em !important;
}
.gp-footer .gp-brand-logo { width: 138px; }
.gp-footer .gp-brand-copy--logo { border-left-color: rgba(15,90,93,.11); }

/* Address map embeds: responsive, visible and consistent with Atelier Light. */
.gp-map-embed-wrap {
  width: 100%;
  max-width: 560px;
  margin: 0 auto 18px;
  overflow: hidden;
  border: 1px solid var(--r10-line);
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--r10-shadow-soft);
}
.gp-map-embed-wrap .gp-map-embed {
  width: 100% !important;
  max-width: none !important;
  min-height: 250px;
  border-radius: 0 !important;
}
.gp-map-embed-actions {
  display: flex;
  justify-content: flex-end;
  padding: 10px 12px;
  border-top: 1px solid var(--r10-line);
  background: #fbfaf7;
}
.gp-map-embed-actions .gp-map-fallback__link {
  margin: 0;
  color: var(--r10-petrol) !important;
  background: var(--r10-petrol-soft) !important;
}

@media (max-width: 760px) {
  .gp-brand-logo { width: 126px; margin-top: -13px; margin-bottom: -12px; }
  .gp-brand-copy--logo { display: none !important; }
  .gp-header-inner { min-height: 68px !important; }
}

/* R10.2 — address list/map layout */
.gp-address-results {
  width: min(calc(100% - 32px), var(--gp-max));
  margin: 10px auto 32px;
  display: grid;
  gap: 22px;
}
.gp-address-results__table,
.gp-address-results__maps {
  min-width: 0;
}
.gp-address-results__maps > table {
  width: 100% !important;
}
.gp-address-results__maps td {
  vertical-align: top !important;
}

.gp-address-maps {
  width: 100%;
}
.gp-address-maps__heading {
  margin: 0 0 14px;
}
.gp-address-maps__heading h2 {
  margin: 3px 0 0 !important;
  font-size: clamp(1.45rem, 2.5vw, 2rem) !important;
}
.gp-address-maps__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  gap: 18px;
}
.gp-address-map-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--r10-line);
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--r10-shadow-soft);
}
.gp-address-map-card__info {
  padding: 16px 16px 4px;
}
.gp-address-map-card__map .gp-map-embed-wrap {
  max-width: none;
  margin: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
.gp-address-map-card__map .gp-map-embed {
  min-height: 300px;
}


/* R11.3 — My Accounts feature-card contrast and caption refinement.
   modern.css historically forced #home_featured2 h4 to white; the light theme
   needs an explicit higher-specificity override. */
#home_featured2 li {
  background: rgba(255,255,255,.92) !important;
}
#home_featured2 li .gp-account-caption {
  display: block;
  min-height: 72px;
  padding: 18px 20px 20px;
  text-align: left;
  border-top: 1px solid rgba(23,33,43,.065);
  background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(247,244,238,.90));
}
#home_featured2 li .gp-account-caption h4,
#home_featured2 li h4 {
  margin: 0 0 6px !important;
  color: var(--r10-ink) !important;
  font-family: var(--r10-serif) !important;
  font-size: 1.32rem !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
  letter-spacing: -.02em !important;
  text-shadow: none !important;
}
#home_featured2 li .gp-account-caption span {
  display: block;
  color: #66727a !important;
  font-size: .82rem;
  line-height: 1.5;
}
#home_featured2 li:hover .gp-account-caption {
  background: linear-gradient(180deg, #ffffff, #eef6f5);
}
#home_featured2 li:hover .gp-account-caption h4 {
  color: var(--r10-petrol) !important;
}
#home_featured2 .imgholder {
  background: #e8eceb !important;
}
@media (max-width: 640px) {
  #home_featured2 li .gp-account-caption { min-height: 0; padding: 15px 17px 17px; }
  #home_featured2 li .gp-account-caption h4, #home_featured2 li h4 { font-size: 1.2rem !important; }
}

/* R11.4 — Homepage hero contrast for Atelier light theme.
   The original modern.css hero was authored for a dark background, including
   white vault-card text. These overrides make the complete hero coherent and
   readable on the current porcelain/light visual system. */
.gp-hero {
  color: var(--r10-ink) !important;
}
.gp-hero h1 {
  color: var(--r10-ink) !important;
  text-shadow: none !important;
}
.gp-hero h1 em {
  color: var(--r10-petrol) !important;
}
.gp-hero-lead {
  color: #59666f !important;
}
.gp-hero-orbit::before {
  border-color: rgba(15,90,93,.16) !important;
}
.gp-hero-orbit::after {
  border-color: rgba(180,147,98,.22) !important;
}
.gp-vault-card {
  border-color: rgba(23,33,43,.09) !important;
  background:
    radial-gradient(circle at 85% 8%, rgba(180,147,98,.13), transparent 34%),
    linear-gradient(145deg, rgba(255,255,255,.98), rgba(246,243,237,.96)) !important;
  box-shadow: 0 24px 60px rgba(45,49,52,.11), inset 0 1px rgba(255,255,255,.9) !important;
}
.gp-vault-lock {
  border-color: rgba(15,90,93,.20) !important;
  color: var(--r10-petrol) !important;
  background: rgba(15,90,93,.075) !important;
  box-shadow: inset 0 0 0 7px rgba(255,255,255,.55) !important;
}
.gp-vault-card strong {
  color: var(--r10-ink) !important;
  text-shadow: none !important;
}
.gp-vault-card p {
  color: #66727a !important;
}
.gp-vault-meta span {
  border: 1px solid rgba(15,90,93,.08) !important;
  background: rgba(15,90,93,.055) !important;
  color: #315f61 !important;
}
@media (max-width: 640px) {
  .gp-hero-lead { color: #59666f !important; }
  .gp-vault-card { box-shadow: 0 18px 42px rgba(45,49,52,.09) !important; }
}

/* R11.5 homepage hero contrast hard-fix */
.gp-vault-card .gp-vault-copy-title,
.gp-vault-card strong { color: #243442 !important; text-shadow: none !important; opacity: 1 !important; }
.gp-vault-card .gp-vault-copy-text,
.gp-vault-card p { color: #5f6f7b !important; opacity: 1 !important; }

/* R11.6 homepage feature-card contrast fix */
.gp-feature-body h3,
.gp-feature-card h3,
#home_featured2 h4 {
  color: #243442 !important;
  text-shadow: none !important;
  opacity: 1 !important;
}
.gp-feature-body p,
.gp-feature-card p,
#home_featured2 p {
  color: #66727a !important;
  text-shadow: none !important;
  opacity: 1 !important;
}
.gp-feature-card:hover .gp-feature-body h3,
#home_featured2 li:hover h4 {
  color: #0f5a5d !important;
}

/* R11.7 my_accounts card-caption contrast fix */
#home_featured2 li {
  background: rgba(255,255,255,.94) !important;
}
#home_featured2 li .gp-account-caption {
  display: block;
  min-height: 74px;
  padding: 18px 20px 20px;
  text-align: left;
  border-top: 1px solid rgba(23,33,43,.065);
  background: linear-gradient(180deg, rgba(255,255,255,.99), rgba(247,244,238,.92)) !important;
}
#home_featured2 li .gp-account-caption h4,
#home_featured2 li h4 {
  margin: 0 !important;
  color: #243442 !important;
  font-family: var(--r10-serif) !important;
  font-size: 1.32rem !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
  letter-spacing: -.02em !important;
  text-shadow: none !important;
  opacity: 1 !important;
}
#home_featured2 li:hover .gp-account-caption {
  background: linear-gradient(180deg, #ffffff, #eef6f5) !important;
}
#home_featured2 li:hover .gp-account-caption h4,
#home_featured2 li:hover h4 {
  color: #0f5a5d !important;
}
#home_featured2 .imgholder {
  background: #e8eceb !important;
}

/* R11.8 index feature cards hard-fix */
.gp-home-card-title,
.gp-feature-body h3,
.gp-feature-card h3 {
  color: #243442 !important;
  text-shadow: none !important;
  opacity: 1 !important;
}
.gp-home-card-text,
.gp-feature-body p,
.gp-feature-card p {
  color: #66727a !important;
  text-shadow: none !important;
  opacity: 1 !important;
}
.gp-feature-card:hover .gp-home-card-title,
.gp-feature-card:hover h3 {
  color: #0f5a5d !important;
}


/* R12.0 Password recovery */
.gp-auth-links {
  margin-top: 16px;
  text-align: right;
  font-size: .9rem;
}
.gp-auth-links a { color: #0f5a5d !important; font-weight: 700; text-decoration: none; }
.gp-auth-links a:hover { text-decoration: underline; }
.gp-alert--success {
  border-color: rgba(15,90,93,.22) !important;
  background: rgba(15,90,93,.08) !important;
  color: #174f51 !important;
}
.gp-alert--info {
  border-color: rgba(180,147,98,.28) !important;
  background: rgba(180,147,98,.10) !important;
  color: #6f572f !important;
}
.gp-field-help {
  display: block;
  margin-top: 7px;
  color: #66727a;
  font-size: .78rem;
}
@media (max-width: 640px) { .gp-auth-links { text-align: left; } }

/* R12.1-RC1 — Credential favorites */
.gp-credential-directory {
  width: min(1180px, calc(100% - 32px));
  margin: 28px auto 42px;
  padding: clamp(20px, 3vw, 30px);
  border: 1px solid rgba(23,33,43,.08);
  border-radius: 24px;
  background: rgba(255,255,255,.88);
  box-shadow: var(--r10-shadow-soft);
}
.gp-credential-list-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.gp-credential-list-head h2 {
  margin: 5px 0 7px;
  color: #243442 !important;
  font-family: var(--r10-serif);
  font-size: clamp(1.65rem, 3vw, 2.15rem);
  letter-spacing: -.03em;
}
.gp-credential-list-head p { margin: 0; color: #66727a; }
.gp-credential-filters { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.gp-credential-filter {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 15px;
  border: 1px solid rgba(23,33,43,.10);
  border-radius: 999px;
  background: #fff;
  color: #52616d !important;
  text-decoration: none !important;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 6px 18px rgba(45,49,52,.05);
}
.gp-credential-filter > span:last-child {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  height: 24px;
  padding: 0 6px;
  border-radius: 999px;
  background: #f2eee7;
  color: #725d42;
  font-size: 11px;
}
.gp-credential-filter:hover { border-color: rgba(15,90,93,.28); color: #0f5a5d !important; }
.gp-credential-filter.is-active {
  border-color: #0f5a5d;
  background: #0f5a5d;
  color: #fff !important;
  box-shadow: 0 9px 22px rgba(15,90,93,.15);
}
.gp-credential-filter.is-active > span:last-child { background: rgba(255,255,255,.16); color: #fff; }
.gp-credential-table th:first-child,
.gp-credential-table td:first-child { width: 92px; text-align: center !important; }
.gp-favorite-form { margin: 0; display: inline-flex; }
button.gp-favorite-toggle,
.gp-favorite-toggle {
  width: 40px !important;
  min-width: 40px !important;
  height: 40px !important;
  min-height: 40px !important;
  padding: 0 !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(180,147,98,.24) !important;
  border-radius: 50% !important;
  background: #fffaf2 !important;
  color: #a27e48 !important;
  font-size: 23px !important;
  line-height: 1 !important;
  box-shadow: none !important;
  cursor: pointer;
  transition: transform .16s ease, background .16s ease, border-color .16s ease;
}
button.gp-favorite-toggle:hover { transform: translateY(-1px) scale(1.04); border-color: rgba(180,147,98,.48) !important; }
button.gp-favorite-toggle.is-favorite {
  background: #f8eedc !important;
  border-color: rgba(180,147,98,.45) !important;
  color: #9a6f30 !important;
}
.gp-credential-id { text-align: center; font-variant-numeric: tabular-nums; }
.gp-credential-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 180px;
  padding: 30px;
  border: 1px dashed rgba(23,33,43,.12);
  border-radius: 18px;
  background: #fbfaf7;
  color: #66727a;
  text-align: center;
}
.gp-credential-empty__star { font-size: 34px; color: #b49362; }
.gp-credential-empty strong { color: #243442; font-family: var(--r10-serif); font-size: 1.2rem; }
.gp-credential-empty a { color: #0f5a5d !important; font-weight: 700; }
.gp-inline-error { color: #a13f3f; font-weight: 700; }
@media (max-width: 640px) {
  .gp-credential-directory { width: min(100% - 20px, 1180px); padding: 16px; }
  .gp-credential-list-head { align-items: stretch; }
  .gp-credential-filters { width: 100%; }
  .gp-credential-filter { flex: 1 1 auto; justify-content: center; }
}


/* R12.1-RC2 — Compact homepage vertical rhythm.
   Uses space more efficiently on desktop without changing interior pages. */
.gp-home-main .gp-hero {
  padding-top: clamp(30px, 4.5vw, 58px) !important;
  padding-bottom: 18px !important;
}
.gp-home-main .gp-hero-grid {
  gap: clamp(28px, 4vw, 58px) !important;
}
.gp-home-main .gp-hero-orbit {
  min-height: 340px !important;
}
.gp-home-main .gp-vault-card {
  padding-top: 24px !important;
  padding-bottom: 24px !important;
}
.gp-home-main .gp-vault-lock {
  margin-bottom: 16px !important;
}
.gp-home-main .gp-section {
  padding-top: 14px !important;
  padding-bottom: 56px !important;
}
.gp-home-main .gp-section-heading {
  margin-bottom: 22px !important;
}

@media (min-width: 1025px) {
  .gp-home-main .gp-hero h1 {
    margin-bottom: 18px !important;
  }
  .gp-home-main .gp-hero-lead {
    margin-bottom: 22px !important;
    line-height: 1.65 !important;
  }
}

@media (max-width: 1024px) {
  .gp-home-main .gp-hero {
    padding-top: 38px !important;
    padding-bottom: 18px !important;
  }
  .gp-home-main .gp-hero-orbit {
    min-height: 300px !important;
  }
  .gp-home-main .gp-section {
    padding-top: 20px !important;
    padding-bottom: 48px !important;
  }
}

@media (max-width: 640px) {
  .gp-home-main .gp-hero {
    padding-top: 30px !important;
    padding-bottom: 12px !important;
  }
  .gp-home-main .gp-hero-orbit {
    min-height: 280px !important;
  }
  .gp-home-main .gp-section {
    padding-top: 20px !important;
    padding-bottom: 40px !important;
  }
}

/* R12.1-RC3 — Credential favorites AJAX + stronger visual state + clean notes */
.gp-credential-table th:first-child,
.gp-credential-table td:first-child { width: 132px; min-width: 132px; }
.gp-favorite-form { display: flex; justify-content: center; }
button.gp-favorite-toggle,
.gp-favorite-toggle {
  width: auto !important;
  min-width: 96px !important;
  height: 38px !important;
  min-height: 38px !important;
  padding: 0 12px !important;
  gap: 7px;
  border-radius: 999px !important;
  font-size: 13px !important;
  font-weight: 800 !important;
}
.gp-favorite-star { font-size: 20px; line-height: 1; }
.gp-favorite-label { font-size: 12px; letter-spacing: .01em; }
button.gp-favorite-toggle.is-favorite {
  background: linear-gradient(135deg, #b78942, #d3ad68) !important;
  border-color: #a67a39 !important;
  color: #fff !important;
  box-shadow: 0 7px 18px rgba(166,122,57,.22) !important;
}
button.gp-favorite-toggle.is-favorite .gp-favorite-star { color: #fff7dc; }
button.gp-favorite-toggle.is-loading { opacity: .65; cursor: wait; transform: none !important; }
.gp-credential-row { transition: background .22s ease, box-shadow .22s ease, opacity .18s ease, transform .18s ease; }
.gp-credential-row.is-favorite td {
  background: rgba(197,157,91,.10) !important;
}
.gp-credential-row.is-favorite td:first-child {
  box-shadow: inset 4px 0 0 #b78942;
}
.gp-credential-row.favorite-updated { animation: gpFavoriteFlash .62s ease; }
.gp-credential-row.is-removing { opacity: 0; transform: translateY(-4px); }
@keyframes gpFavoriteFlash {
  0% { box-shadow: inset 0 0 0 999px rgba(197,157,91,.16); }
  100% { box-shadow: inset 0 0 0 999px rgba(197,157,91,0); }
}
.gp-credential-note {
  max-width: 520px;
  color: #53636f !important;
  line-height: 1.55;
  white-space: normal;
  overflow-wrap: anywhere;
}
.gp-muted { color: #9aa4aa; }
.gp-sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0,0,0,0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
@media (max-width: 640px) {
  .gp-credential-table th:first-child,
  .gp-credential-table td:first-child { width: 112px; min-width: 112px; }
  button.gp-favorite-toggle,
  .gp-favorite-toggle { min-width: 82px !important; padding: 0 9px !important; }
}


/* R12.1-RC4 — Credential filter stays client-side + stronger homepage compaction */
.gp-credential-empty-link {
  appearance: none;
  border: 0;
  background: transparent;
  color: #0f5a5d;
  font: inherit;
  font-weight: 700;
  text-decoration: underline;
  cursor: pointer;
}

@media (min-width: 1025px) {
  .gp-home-main .gp-hero {
    padding-top: 18px !important;
    padding-bottom: 2px !important;
  }
  .gp-home-main .gp-hero-grid {
    gap: clamp(24px, 3vw, 44px) !important;
    grid-template-columns: minmax(0, 1.32fr) minmax(270px, .68fr) !important;
  }
  .gp-home-main .eyebrow { margin-bottom: 10px !important; }
  .gp-home-main .gp-hero h1 {
    margin-bottom: 12px !important;
    font-size: clamp(2.9rem, 4.4vw, 4.7rem) !important;
    line-height: .99 !important;
  }
  .gp-home-main .gp-hero-lead {
    margin-bottom: 16px !important;
    line-height: 1.5 !important;
    max-width: 720px !important;
  }
  .gp-home-main .gp-hero-orbit {
    min-height: 268px !important;
    height: auto !important;
  }
  .gp-home-main .gp-hero-orbit::before { width: 252px !important; height: 252px !important; }
  .gp-home-main .gp-hero-orbit::after { width: 196px !important; height: 196px !important; }
  .gp-home-main .gp-vault-card {
    width: min(100%, 292px) !important;
    padding: 18px 20px !important;
    border-radius: 24px !important;
  }
  .gp-home-main .gp-vault-lock {
    width: 58px !important;
    height: 58px !important;
    margin: 0 auto 11px !important;
    font-size: 28px !important;
  }
  .gp-home-main .gp-vault-card strong { font-size: 1.22rem !important; }
  .gp-home-main .gp-vault-card p { margin: 6px 0 12px !important; line-height: 1.45 !important; }
  .gp-home-main .gp-vault-meta span { padding: 8px 3px !important; }
  .gp-home-main .gp-section {
    padding-top: 2px !important;
    padding-bottom: 42px !important;
  }
  .gp-home-main .gp-section-heading { margin-bottom: 16px !important; }
  .gp-home-main .gp-section-heading .eyebrow { margin-bottom: 7px !important; }
  .gp-home-main .gp-section-heading h2 { line-height: 1.08 !important; }
}

@media (min-width: 641px) and (max-width: 1024px) {
  .gp-home-main .gp-hero-orbit { min-height: 250px !important; }
  .gp-home-main .gp-vault-card { width: min(100%, 300px) !important; padding: 20px !important; }
  .gp-home-main .gp-section { padding-top: 8px !important; }
}


/* R12.1-RC5 — structural home compaction.
   Removes the redundant feature intro block and lets cards follow the hero directly. */
.gp-home-main .gp-home-features {
  margin-top: 0 !important;
}

@media (min-width: 1025px) {
  .gp-home-main .gp-hero {
    padding-top: 10px !important;
    padding-bottom: 8px !important;
  }
  .gp-home-main .gp-hero-grid {
    align-items: center !important;
    gap: clamp(22px, 2.6vw, 38px) !important;
    grid-template-columns: minmax(0, 1.38fr) minmax(250px, .62fr) !important;
  }
  .gp-home-main .gp-hero h1 {
    max-width: 790px !important;
    margin-bottom: 12px !important;
    font-size: clamp(2.65rem, 3.55vw, 3.85rem) !important;
    line-height: 1.01 !important;
  }
  .gp-home-main .gp-hero-lead {
    max-width: 710px !important;
    margin-bottom: 14px !important;
    font-size: 1rem !important;
    line-height: 1.48 !important;
  }
  .gp-home-main .gp-actions {
    margin-top: 0 !important;
  }
  .gp-home-main .gp-hero-orbit {
    min-height: 0 !important;
    height: auto !important;
    padding: 8px 0 !important;
  }
  .gp-home-main .gp-hero-orbit::before {
    width: 222px !important;
    height: 222px !important;
  }
  .gp-home-main .gp-hero-orbit::after {
    width: 168px !important;
    height: 168px !important;
  }
  .gp-home-main .gp-vault-card {
    width: min(100%, 270px) !important;
    padding: 15px 17px !important;
    border-radius: 22px !important;
  }
  .gp-home-main .gp-vault-lock {
    width: 50px !important;
    height: 50px !important;
    margin: 0 auto 9px !important;
    font-size: 24px !important;
  }
  .gp-home-main .gp-vault-card strong {
    font-size: 1.08rem !important;
    line-height: 1.2 !important;
  }
  .gp-home-main .gp-vault-card p {
    margin: 5px 0 10px !important;
    font-size: 11px !important;
    line-height: 1.38 !important;
  }
  .gp-home-main .gp-vault-meta {
    gap: 5px !important;
  }
  .gp-home-main .gp-vault-meta span {
    padding: 6px 2px !important;
    font-size: 8px !important;
  }
  .gp-home-main .gp-home-features {
    padding-top: 8px !important;
    padding-bottom: 34px !important;
  }
  .gp-home-main .gp-feature-media {
    height: 175px !important;
  }
  .gp-home-main .gp-feature-body {
    padding: 18px 20px 20px !important;
  }
}

@media (min-width: 641px) and (max-width: 1024px) {
  .gp-home-main .gp-home-features {
    padding-top: 10px !important;
  }
}

@media (max-width: 640px) {
  .gp-home-main .gp-home-features {
    padding-top: 12px !important;
  }
}


/* R12.2-RC2 — destructive actions: always red with white text */
.gp-delete-button,
.gp-btn-danger,
button.gp-delete-button,
button.gp-btn-danger,
input.gp-btn-danger,
a.gp-btn-danger {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 36px !important;
  padding: 8px 14px !important;
  border: 1px solid #b42318 !important;
  border-radius: 10px !important;
  background: #b42318 !important;
  color: #ffffff !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  text-decoration: none !important;
  box-shadow: 0 6px 16px rgba(180,35,24,.16) !important;
  cursor: pointer !important;
}
.gp-delete-button:hover,
.gp-btn-danger:hover {
  border-color: #8f1c13 !important;
  background: #8f1c13 !important;
  color: #ffffff !important;
}
.gp-delete-button:disabled,
.gp-btn-danger:disabled {
  opacity: .62 !important;
  cursor: wait !important;
}
.gp-contact-actions {
  white-space: nowrap !important;
  text-align: center !important;
}


/* R12.2-RC3 — contact map popup */
.gp-map-popup-link {
  font-weight: 800 !important;
  text-decoration: underline !important;
  text-underline-offset: 3px;
  cursor: pointer;
}
body.gp-modal-open {
  overflow: hidden !important;
}
.gp-map-modal[hidden] {
  display: none !important;
}
.gp-map-modal {
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.gp-map-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(24, 34, 42, .52);
  backdrop-filter: blur(7px);
}
.gp-map-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(860px, 96vw);
  max-height: 92vh;
  overflow: hidden;
  border: 1px solid rgba(23,33,43,.10);
  border-radius: 24px;
  background: #fffdfa;
  box-shadow: 0 30px 90px rgba(23,33,43,.28);
}
.gp-map-modal__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 22px;
  padding: 22px 24px 18px;
  border-bottom: 1px solid rgba(23,33,43,.08);
  background: linear-gradient(180deg, #ffffff, #faf7f1);
}
.gp-map-modal__eyebrow {
  display: block;
  margin-bottom: 5px;
  color: #947344;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.gp-map-modal__header h2 {
  margin: 0 !important;
  color: #243442 !important;
  font-family: var(--r10-serif) !important;
  font-size: 1.65rem !important;
  line-height: 1.15 !important;
}
.gp-map-modal__header p {
  margin: 6px 0 0 !important;
  color: #66727a !important;
  font-size: 13px !important;
  line-height: 1.45 !important;
}
.gp-map-modal__close {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  min-height: 40px !important;
  padding: 0 !important;
  border: 1px solid rgba(23,33,43,.10) !important;
  border-radius: 50% !important;
  background: #ffffff !important;
  color: #425563 !important;
  box-shadow: none !important;
  font-size: 28px !important;
  font-weight: 400 !important;
  line-height: 36px !important;
  cursor: pointer;
}
.gp-map-modal__close:hover {
  background: #f2eee7 !important;
  color: #243442 !important;
}
.gp-map-modal__canvas {
  height: min(520px, 58vh);
  min-height: 340px;
  background: #e9ece9;
}
.gp-map-modal__canvas iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: #e9ece9;
}
.gp-map-modal__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 24px 20px;
  border-top: 1px solid rgba(23,33,43,.08);
  background: #fffdfa;
  color: #71808a;
  font-size: 12px;
}
.gp-map-modal__footer .gp-btn {
  white-space: nowrap;
}
@media (max-width: 640px) {
  .gp-map-modal {
    padding: 10px;
    align-items: flex-end;
  }
  .gp-map-modal__dialog {
    width: 100%;
    max-height: 94vh;
    border-radius: 20px 20px 12px 12px;
  }
  .gp-map-modal__header {
    padding: 18px 18px 14px;
  }
  .gp-map-modal__header h2 {
    font-size: 1.35rem !important;
  }
  .gp-map-modal__canvas {
    min-height: 300px;
    height: 48vh;
  }
  .gp-map-modal__footer {
    align-items: stretch;
    flex-direction: column;
    padding: 14px 18px 18px;
  }
  .gp-map-modal__footer .gp-btn {
    width: 100%;
  }
}

/* R12.2-RC6 — contact table reachability + ID-repair feedback */
.gp-contacts-list {
  width: min(100%, 1500px) !important;
  max-width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 12px !important;
  padding-right: 12px !important;
  overflow: visible !important;
}
.gp-contacts-scroll-fallback {
  width: 100% !important;
  max-width: 100% !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-inline: contain;
  padding-bottom: 10px;
  scrollbar-width: auto;
  scrollbar-color: #0f5a5d #e8ece9;
}
.gp-contacts-scroll-fallback::-webkit-scrollbar,
.gp-contacts-list .gp-table-scroll::-webkit-scrollbar { height: 13px; }
.gp-contacts-scroll-fallback::-webkit-scrollbar-track,
.gp-contacts-list .gp-table-scroll::-webkit-scrollbar-track { background: #e8ece9; border-radius: 999px; }
.gp-contacts-scroll-fallback::-webkit-scrollbar-thumb,
.gp-contacts-list .gp-table-scroll::-webkit-scrollbar-thumb { background: #0f5a5d; border-radius: 999px; border: 3px solid #e8ece9; }
.gp-contacts-scroll-fallback #load_contactos,
.gp-contacts-list #load_contactos {
  min-width: 1480px !important;
  width: 1480px !important;
}
.gp-contacts-scroll-fallback .gp-table-shell,
.gp-contacts-list .gp-table-shell {
  width: 100% !important;
  max-width: 100% !important;
}
.gp-contacts-list .gp-table-scroll {
  width: 100% !important;
  max-width: 100% !important;
  overflow-x: scroll !important;
  overflow-y: hidden !important;
  padding-bottom: 8px;
}
.gp-contact-repair-notice,
.gp-contact-repair-error {
  width: min(100%, 1320px);
  margin: 12px auto;
  padding: 12px 15px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
}
.gp-contact-repair-notice {
  border: 1px solid rgba(15,90,93,.22);
  background: rgba(15,90,93,.08);
  color: #315f61;
}
.gp-contact-repair-error {
  border: 1px solid rgba(180,35,24,.25);
  background: rgba(180,35,24,.07);
  color: #8f1c13;
}

/* R12.4-RC1 · Footer country detection / premium active region */
.gp-footer-locations .gp-location-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 34px;
  white-space: nowrap;
  transition: border-color .2s ease, background-color .2s ease, color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.gp-location-flag {
  display: none;
  flex: 0 0 auto;
  font-size: 16px;
  line-height: 1;
  letter-spacing: 0;
  text-transform: none;
}
.gp-location-chip--country.is-active {
  border-color: rgba(180,147,98,.52) !important;
  background: linear-gradient(135deg, #fffdf9 0%, #f5eee2 100%) !important;
  color: #24494b !important;
  font-weight: 800;
  box-shadow: 0 8px 22px rgba(91,76,54,.10), 0 0 0 2px rgba(180,147,98,.08);
  transform: translateY(-1px);
}
.gp-location-chip--country.is-active .gp-location-flag {
  display: inline-flex;
}
.gp-location-chip--country.is-active::after {
  content: "";
  flex: 0 0 auto;
  width: 6px;
  height: 6px;
  margin-left: 1px;
  border-radius: 50%;
  background: #0f696d;
  box-shadow: 0 0 0 4px rgba(15,105,109,.10);
}
@media (max-width: 640px) {
  .gp-footer-locations .gp-location-chip {
    min-height: 32px;
    padding: 8px 10px !important;
    gap: 6px;
  }
  .gp-location-flag { font-size: 15px; }
}

/* R12.4-RC3 · Stronger footer country active state */
.gp-location-chip--country.is-active {
  border-color: rgba(177, 137, 76, .72) !important;
  background: linear-gradient(135deg, #fffdf8 0%, #f0e4cf 100%) !important;
  color: #164f52 !important;
  box-shadow: 0 9px 24px rgba(88, 68, 38, .14), inset 0 0 0 1px rgba(255,255,255,.75) !important;
}
.gp-location-chip--country.is-active .gp-location-label {
  font-weight: 850;
}
.gp-location-chip--country.is-active .gp-location-flag {
  display: inline-flex !important;
  filter: saturate(1.08);
}

/* R12.4-RC7 — credential actions */
.gp-credential-actions {
  white-space: nowrap !important;
  text-align: center !important;
}
.gp-inline-delete-form {
  display: inline-block !important;
  margin: 0 0 0 8px !important;
  vertical-align: middle !important;
}
