.ghrv-scope{--ghrv-brand:#937cbf;--ghrv-dark:#614a8d;--ghrv-pink:#ef4f91;--ghrv-ink:#1a202c;--ghrv-mute:#4a5568;--ghrv-line:#e7e3f0;--ghrv-soft:#f6f3fb}
.ghrv{margin:16px 0 26px;padding:22px;border-radius:16px;background:linear-gradient(135deg,var(--ghrv-soft),#fff 60%);border:1px solid var(--ghrv-line)}
.ghrv-lead{margin:0 0 16px;font-size:15px;color:var(--ghrv-mute)}
.ghrv-grid{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:22px;align-items:start}
.ghrv-grid>*{min-width:0}
.ghrv-lab{display:block;margin:0 0 6px;padding:0;font-size:12px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--ghrv-dark)}
.ghrv-f{margin:0 0 16px;padding:0;border:0;min-width:0}

/* Selects: own arrow, no system height cap (iOS cut the text in half with the theme's height:30px / line-height:23px) */
.ghrv-scope select.ghrv-sel{display:block;width:100%;height:auto!important;min-height:48px;margin:0;padding:12px 40px 12px 12px!important;border:1px solid #cfc6e2;border-radius:10px;
  background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23614a8d' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 14px center;
  color:var(--ghrv-ink);font:16px/1.3 Inter,sans-serif!important;-webkit-appearance:none!important;-moz-appearance:none;appearance:none!important;text-overflow:ellipsis;cursor:pointer}
.ghrv-scope select.ghrv-sel:focus{outline:3px solid rgba(239,79,145,.35);outline-offset:1px;border-color:var(--ghrv-pink)}
.ghrv-scope select.ghrv-sel[aria-invalid="true"]{border-color:#c0392b}

/* Date as day / month / year */
.ghrv-dmy{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.5fr) minmax(0,1fr);gap:8px}
.ghrv-sub{display:block;margin:0;min-width:0}
.ghrv-sub>span{display:block;margin:0 0 4px;font-size:13px;color:var(--ghrv-mute)}
.ghrv-err{margin:8px 0 0;padding:8px 10px;border-radius:8px;background:#fdecea;color:#8e1b10;font-size:14px}
.ghrv-err[hidden]{display:none}
.ghrv-hint{margin:6px 0 0;font-size:13px;color:var(--ghrv-mute)}
.ghrv-quick{margin-top:18px;padding-top:16px;border-top:1px dashed #d8cfe8}
.ghrv-qout{margin:10px 0 0;font-size:15px}

.ghrv-res{display:grid;gap:10px}
.ghrv-card{padding:14px 16px;border-radius:12px;background:#fff;border:1px solid var(--ghrv-line)}
.ghrv-card small{display:block;font-size:12px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--ghrv-mute)}
.ghrv-card b{display:block;margin-top:2px;font:700 22px/1.25 "Playfair Display",Georgia,serif}
.ghrv-card span{display:block;font-size:14px;color:var(--ghrv-mute)}
.ghrv-card.is-main{background:var(--ghrv-dark);border-color:var(--ghrv-dark);color:#fff}
.ghrv-card.is-main small,.ghrv-card.is-main span{color:#e3dcf2}
.ghrv-scope .ghrv-card.is-main a{color:#fff!important}
.ghrv-card.is-next{border-color:var(--ghrv-pink);box-shadow:0 6px 18px rgba(239,79,145,.15)}
/* the results grow with their content: no fixed height, nothing clipped under the bottom edge */
.ghrv-res,.ghrv-card{height:auto!important;max-height:none!important;min-height:0;overflow:visible!important}
.ghrv-card.is-next{padding-bottom:20px}
.ghrv-bar{height:8px;margin-top:10px;border-radius:4px;background:#efe9f8;overflow:hidden}
.ghrv-bar i{display:block;height:100%;background:linear-gradient(90deg,var(--ghrv-brand),var(--ghrv-pink))}
.ghrv-btn{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:8px 16px;border:0;border-radius:999px;background:var(--ghrv-pink);color:#fff;font:700 14px Inter,sans-serif;cursor:pointer}
.ghrv-btn:hover{background:#d13173}
.ghrv-empty{padding:20px;border-radius:12px;background:#fff;border:1px dashed #cfc6e2;color:var(--ghrv-mute)}

/* Names table: two tables side by side on a wide screen */
.ghrv-tbl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 24px;align-items:start}
.ghrv-scope table{width:100%;border-collapse:collapse;margin:12px 0 18px;font-size:15px}
.ghrv-tbl table{margin:0 0 18px}
.ghrv-scope th,.ghrv-scope td{padding:8px 10px;border-bottom:1px solid var(--ghrv-line);text-align:left;vertical-align:top}
.ghrv-scope td:first-child,.ghrv-scope th:first-child{width:4.5em;white-space:nowrap}
.ghrv-scope thead th{background:var(--ghrv-soft);font-size:13px;text-transform:uppercase;letter-spacing:.04em}

/* Sticky result bar (phones): docked to the bottom, white on dark, never over the language button or «to top» */
.ghrv-sticky{display:none}
@media (max-width:760px){
  .ghrv-grid{grid-template-columns:minmax(0,1fr)}
  .ghrv-tbl{grid-template-columns:minmax(0,1fr)}
  .ghrv-scope .ghrv-tbl table.ghrv-t2 thead{display:none!important}
  .ghrv-tbl table:first-child{margin-bottom:0}
  .ghrv-scope a.ghrv-sticky{position:fixed;left:0;right:0;bottom:0;z-index:40;display:flex;justify-content:space-between;align-items:center;gap:10px;
    min-height:56px;margin:0;padding:8px 16px calc(8px + env(safe-area-inset-bottom));border-radius:0;background:#2b2140;color:#fff!important;
    font:600 15px/1.3 Inter,sans-serif;text-decoration:none!important;box-shadow:0 -6px 20px rgba(0,0,0,.22)}
  .ghrv-scope a.ghrv-sticky[hidden]{display:none}
  .ghrv-sticky-t{min-width:0;color:#fff!important}
  .ghrv-sticky-go{flex:none;padding:8px 14px;border-radius:999px;background:var(--ghrv-pink);color:#fff!important;font-weight:700}
  html.ghrv-bar-on body{padding-bottom:calc(64px + env(safe-area-inset-bottom))}
  html.ghrv-bar-on .trp-floating-switcher.trp-switcher-position-bottom{bottom:calc(64px + env(safe-area-inset-bottom))!important}
  html.ghrv-bar-on a.go-to-top-button.show-top-button{bottom:calc(122px + env(safe-area-inset-bottom))!important}
}

/* Site articles: an even grid of cards, no theme bullets or indents */
.ghrv-scope ul.arts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:0 0 24px!important;padding:0!important;list-style:none!important}
.ghrv-scope ul.arts>li{display:flex;margin:0!important;padding:0!important;list-style:none!important;min-width:0}
.ghrv-scope ul.arts>li::before,.ghrv-scope ul.arts>li::marker{content:none;display:none}
.ghrv-scope ul.arts a{display:flex;align-items:center;width:100%;min-height:64px;padding:12px 14px;border:1px solid var(--ghrv-line);border-radius:10px;background:#fff;color:var(--ghrv-ink)!important;text-decoration:none!important;font-weight:600;font-size:14px;line-height:1.4}
.ghrv-scope ul.arts a:hover{border-color:var(--ghrv-brand);color:var(--ghrv-dark)!important}
@media (max-width:600px){.ghrv-scope ul.arts{grid-template-columns:minmax(0,1fr);gap:8px}.ghrv-scope ul.arts a{min-height:52px}}

.ghrv-faq{margin:0 0 10px;border:1px solid rgba(0,0,0,.12);border-radius:8px;background:#fff}
.ghrv-faq summary{position:relative;padding:13px 46px 13px 16px;font-weight:700;cursor:pointer;list-style:none}
.ghrv-faq summary::-webkit-details-marker{display:none}
.ghrv-faq summary::after{content:"+";position:absolute;right:16px;top:50%;transform:translateY(-50%);font-size:22px}
.ghrv-faq[open] summary::after{content:"\2212"}
.ghrv-faq>div{padding:0 16px 12px}
