body.rhtyrl-results-page{background:#eef2f7!important}
body.rhtyrl-results-page .site-header,
body.rhtyrl-results-page #masthead,
body.rhtyrl-results-page .site-footer,
body.rhtyrl-results-page #colophon,
body.rhtyrl-results-page .entry-header,
body.rhtyrl-results-page .page-header,
body.rhtyrl-results-page .post-thumbnail,
body.rhtyrl-results-page .site-breadcrumbs{display:none!important}
body.rhtyrl-results-page .site-content,
body.rhtyrl-results-page .content-area,
body.rhtyrl-results-page .entry-content,
body.rhtyrl-results-page .wp-block-post-content,
body.rhtyrl-results-page main{max-width:100%!important;width:100%!important;padding:0!important;margin:0!important}

.rhtyrl-app{--primary:#0d2f73;--secondary:#1b5ed9;--accent:#d92e3f;--ink:#10213e;--muted:#6f7f98;font-family:Inter,system-ui,-apple-system,Segoe UI,sans-serif;color:var(--ink);max-width:1260px;margin:0 auto 36px}
.rht-stage{padding:16px}
.rht-hero{background:#fff;border:1px solid #dfe7f1;border-radius:28px;padding:28px;box-shadow:0 22px 55px rgba(18,37,73,.08);position:relative;overflow:hidden}
.rht-hero:before{content:"";position:absolute;inset:auto -90px -90px auto;width:240px;height:240px;border-radius:50%;background:radial-gradient(circle at center, rgba(27,94,217,.16), rgba(27,94,217,0) 70%)}
.rht-hero:after{content:"";position:absolute;left:0;top:0;width:100%;height:8px;background:linear-gradient(90deg,var(--accent),var(--secondary))}
.rht-hero-top{display:flex;justify-content:space-between;gap:18px;align-items:center;position:relative;z-index:1}
.rht-lockup{display:flex;gap:18px;align-items:center;min-width:0}
.rht-event-logo{width:110px;height:110px;object-fit:cover;border-radius:22px;background:#fff;padding:10px;border:1px solid #e5ebf4;box-shadow:0 16px 34px rgba(13,47,115,.08)}
.rht-rh-logo{width:150px;max-width:34vw;height:auto;object-fit:contain}
.rht-hero-copy span{display:block;font-size:12px;font-weight:900;letter-spacing:.18em;color:var(--secondary);margin-bottom:8px}
.rht-hero-copy h2{margin:0 0 10px;font-size:clamp(34px,4vw,54px);line-height:1;color:var(--primary)}
.rht-hero-copy p{margin:0;max-width:700px;color:#455873;font-size:clamp(15px,1.9vw,19px);line-height:1.55}
.rht-search-card{margin-top:22px;border:1px solid #e3e9f3;border-radius:22px;padding:18px;background:linear-gradient(180deg,#fbfdff 0%, #f4f8fd 100%);position:relative;z-index:1}
.rht-search-label{display:block;font-size:12px;font-weight:900;letter-spacing:.16em;color:var(--secondary);margin-bottom:10px}
.rht-search{position:relative}
.rht-search input{width:100%;padding:17px 18px;border-radius:16px;border:1px solid #d8e2ef;background:#fff;font-size:18px;color:#10213e;box-shadow:inset 0 1px 0 rgba(255,255,255,.6)}
.rht-search input::placeholder{color:#8795a9}
.rht-suggestions{position:absolute;left:0;right:0;top:calc(100% + 8px);z-index:11;background:#fff;border:1px solid #dfe6f1;border-radius:16px;overflow:hidden;box-shadow:0 20px 45px rgba(20,39,72,.14)}
.rht-suggestions:empty{display:none}
.rht-suggestions button{display:block;width:100%;padding:14px 16px;text-align:left;background:#fff;border:0;border-bottom:1px solid #edf2f7;color:#112341}
.rht-suggestions button:hover{background:#f7faff}
.rht-search-help{margin-top:10px;color:var(--muted);font-size:14px}
.rht-empty{margin-top:18px}
.rht-empty-card{background:#fff;border:1px solid #dfe7f1;border-radius:22px;padding:22px;box-shadow:0 16px 40px rgba(18,37,73,.05)}
.rht-empty-card strong{display:block;font-size:21px;margin-bottom:6px;color:var(--primary)}
.rht-empty-card p{margin:0;color:var(--muted)}
.rht-profile{margin-top:18px}
.rht-columns{display:grid;grid-template-columns:minmax(0,1.03fr) minmax(340px,.97fr);gap:18px;align-items:start}
.rht-main-card,.rht-photo-panel,.rht-preview-panel{background:#fff;border:1px solid #dfe7f1;border-radius:24px;box-shadow:0 16px 40px rgba(18,37,73,.05)}
.rht-main-card{padding:24px}
.rht-profile-head{display:flex;justify-content:space-between;align-items:flex-start;gap:14px;padding-bottom:16px;border-bottom:1px solid #edf2f7}
.rht-profile-head small{display:block;font-weight:900;letter-spacing:.16em;color:var(--secondary);margin-bottom:6px}
.rht-profile-head h3{margin:0;font-size:clamp(30px,3vw,40px);line-height:1.06;color:var(--primary)}
.rht-profile-head p{margin:8px 0 0;font-size:16px;color:var(--muted)}
.rht-reset{padding:12px 14px;border-radius:14px;border:1px solid #d7e1ee;background:#f7faff;color:var(--primary);font-weight:800}
.rht-results-head{padding:18px 0 12px}
.rht-results-head strong{display:block;font-size:18px;color:var(--ink)}
.rht-results-head span{display:block;font-size:14px;color:var(--muted);margin-top:4px}
.rht-results{display:grid;gap:12px}
.rht-result{display:grid;grid-template-columns:auto 1fr auto;gap:14px;align-items:center;background:#fff;border:1px solid #e4ebf5;border-radius:18px;padding:15px 16px;box-shadow:0 8px 20px rgba(18,37,73,.03)}
.rht-result input{width:20px;height:20px;accent-color:var(--secondary)}
.rht-result strong{display:block;font-size:16px;line-height:1.25;margin-bottom:4px;color:var(--ink)}
.rht-result small{display:block;line-height:1.45;color:var(--muted)}
.rht-meta{text-align:right}
.rht-result b{display:block;font-size:24px;line-height:1;color:var(--primary)}
.rht-meta small{color:var(--secondary)}
.rht-side-stack{display:grid;gap:18px}
.rht-photo-panel{padding:22px}
.rht-panel-title{font-size:18px;font-weight:900;color:var(--ink);margin-bottom:14px}
.rht-upload{display:block;text-align:center;padding:15px;border-radius:16px;background:linear-gradient(90deg,var(--primary),var(--secondary));color:#fff;font-weight:900;cursor:pointer;box-shadow:0 14px 28px rgba(13,47,115,.16)}
.rht-upload input{display:none}
.rht-side{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:14px}
.rht-side button,.rht-layout-switch button{padding:12px 10px;border-radius:14px;border:1px solid #d8e2ef;background:#f6f9fd;color:#456089;font-weight:800}
.rht-side button.active,.rht-layout-switch button.active{background:var(--primary);border-color:var(--primary);color:#fff;box-shadow:0 10px 22px rgba(13,47,115,.16)}
.rht-photo-panel p{margin:14px 0 0;color:var(--muted);font-size:13px;line-height:1.5}
.rht-preview-panel{padding:18px}
.rht-preview-head{display:flex;justify-content:space-between;gap:8px;align-items:center;margin-bottom:14px}
.rht-preview-head strong{display:block;font-size:18px;color:var(--ink)}
.rht-preview-head span{display:block;font-size:13px;color:var(--muted);margin-top:3px}
.rht-layout-switch{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:14px}
.rht-preview-panel canvas{display:block;width:100%;height:auto;border-radius:18px;border:1px solid #e3eaf4;background-image:linear-gradient(45deg,#eef3f8 25%,transparent 25%),linear-gradient(-45deg,#eef3f8 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#eef3f8 75%),linear-gradient(-45deg,transparent 75%,#eef3f8 75%);background-size:22px 22px;background-position:0 0,0 11px,11px -11px,-11px 0}
.rht-download{width:100%;margin-top:14px;padding:15px;border:0;border-radius:16px;background:linear-gradient(90deg,var(--primary),var(--secondary));color:#fff;font-size:16px;font-weight:900;box-shadow:0 16px 32px rgba(13,47,115,.16)}

@media (max-width:980px){.rht-columns{grid-template-columns:1fr}.rht-rh-logo{width:128px}}
@media (max-width:720px){.rht-stage{padding:12px}.rht-hero{padding:20px;border-radius:24px}.rht-hero-top{flex-direction:column;align-items:flex-start}.rht-lockup{flex-direction:column;align-items:flex-start}.rht-event-logo{width:92px;height:92px;border-radius:18px}.rht-hero-copy h2{font-size:40px}.rht-main-card{padding:18px}.rht-profile-head{flex-direction:column}.rht-result{grid-template-columns:auto 1fr}.rht-meta{grid-column:2;text-align:left}.rht-result b{text-align:left}.rht-layout-switch{grid-template-columns:1fr}}
.rht-selected-count{display:block;margin-top:5px;font-style:normal;font-size:12px;font-weight:800;color:var(--secondary)}

/* V8.6: gesture handling on the editable preview */
.rht-preview-panel canvas.rht-photo-active{
  touch-action:none;
  overscroll-behavior:contain;
  -webkit-user-select:none;
  user-select:none;
}
