/*
Theme Name: KiaraHub Production
Theme URI: https://kiarahub.com/
Description: Commercial production-ready KiaraHub super-app theme with a single responsive design system.
Version: 60.0.0
Author: KiaraHub
Text Domain: kiarahub
License: GPL-2.0-or-later
*/

/* =========================================================
   KIARAHUB V50 — SINGLE DESIGN SYSTEM
   One visual language. One responsive shell. Feature modules
   must not introduce competing cards, rails or mobile menus.
   ========================================================= */
:root{
  --kh-bg:#f3f5f9;
  --kh-surface:#ffffff;
  --kh-surface-soft:#f8fafc;
  --kh-surface-strong:#eef2ff;
  --kh-ink:#0b1020;
  --kh-text:#344054;
  --kh-muted:#667085;
  --kh-faint:#98a2b3;
  --kh-line:#e3e7ef;
  --kh-line-strong:#d0d5dd;
  --kh-primary:#5b45f5;
  --kh-primary-strong:#4531d1;
  --kh-violet:#7c55ef;
  --kh-primary-2:#13a8a8;
  --kh-accent:#ff7a45;
  --kh-dark:#10162b;
  --kh-success:#16803c;
  --kh-danger:#d92d20;
  --kh-warning:#b54708;
  --kh-radius:22px;
  --kh-radius-md:14px;
  --kh-radius-sm:11px;
  --kh-shadow:0 2px 3px rgba(16,24,40,.03),0 16px 45px rgba(16,24,40,.07);
  --kh-shadow-lg:0 22px 70px rgba(16,24,40,.13);
  --kh-container:1180px;
  --kh-header:72px;
  --kh-mobile-nav:68px;
  --kh-focus:0 0 0 4px rgba(91,69,245,.14);
}
*,
*::before,
*::after{box-sizing:border-box}
html{scroll-behavior:smooth;overflow-x:hidden}
body.kh-site,
body.kh39-site,
body.kh-v50{
  margin:0;
  background:var(--kh-bg);
  color:var(--kh-text);
  font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  line-height:1.55;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
  overflow-x:hidden;
}
body.kh-site a,
body.kh39-site a{color:inherit;text-decoration:none}
button,input,textarea,select{font:inherit}
button{cursor:pointer}
img{display:block;max-width:100%;height:auto}
svg{max-width:100%}
:focus-visible{outline:none;box-shadow:var(--kh-focus)}
::selection{background:#dfe5ff;color:var(--kh-ink)}
.kh-container{width:min(calc(100% - 40px),var(--kh-container));margin-inline:auto}
.kh-skip-link{position:fixed;left:14px;top:-100px;z-index:100000;padding:10px 14px;border-radius:10px;background:var(--kh-ink);color:#fff!important}
.kh-skip-link:focus{top:14px}

/* ---------- shell ---------- */
.kh-shell-header{
  position:sticky;top:0;z-index:1000;
  height:var(--kh-header);
  background:rgba(255,255,255,.92);
  border-bottom:1px solid rgba(228,231,236,.92);
  backdrop-filter:saturate(150%) blur(18px);
}
.kh-shell-header__inner{height:100%;display:flex;align-items:center;gap:20px}
.kh-brand{display:inline-flex;align-items:center;gap:10px;min-width:max-content;font-weight:900;letter-spacing:-.045em}
.kh-brand__mark{width:38px;height:38px;border-radius:12px;display:grid;place-items:center;background:linear-gradient(135deg,var(--kh-primary),var(--kh-violet));color:#fff;font-weight:950;box-shadow:0 8px 20px rgba(49,87,232,.18)}
.kh-brand__name{font-size:20px;color:var(--kh-ink)}
.kh-brand__name span{color:var(--kh-primary)}
.kh-global-search{position:relative;flex:1;max-width:390px}
.kh-global-search input{width:100%;height:42px;border:1px solid var(--kh-line);border-radius:13px;background:var(--kh-surface-soft);color:var(--kh-ink);padding:0 14px 0 40px;outline:0;transition:.18s}
.kh-global-search input:focus{border-color:#aab8f5;box-shadow:var(--kh-focus);background:#fff}
.kh-global-search__icon{position:absolute;left:14px;top:8px;color:var(--kh-muted);font-size:19px;pointer-events:none}
.kh-primary-nav{display:flex;align-items:center;gap:3px;margin-left:auto}
.kh-primary-nav a{display:inline-flex;align-items:center;gap:7px;padding:10px 11px;border-radius:11px;color:#475467;font-size:13px;font-weight:800;transition:.16s}
.kh-primary-nav a span{font-size:16px}
.kh-primary-nav a:hover{background:#f2f4f7}
.kh-primary-nav a.is-active{background:#eef2ff;color:var(--kh-primary)}
.kh-header-actions{display:flex;align-items:center;gap:5px}
.kh-header-icon,.kh-login-link{display:grid;place-items:center;min-width:38px;height:38px;border-radius:11px;color:#475467!important;font-weight:800}
.kh-header-icon:hover,.kh-login-link:hover{background:#f2f4f7}
.kh-avatar{display:grid;place-items:center;width:38px;height:38px;border-radius:50%;background:#e8edff;color:var(--kh-primary)!important;font-weight:950}
.kh-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid transparent;border-radius:12px;padding:11px 16px;font-size:13px;font-weight:850;transition:transform .16s,box-shadow .16s,background .16s}
.kh-button:hover{transform:translateY(-1px)}
.kh-button--small{padding:9px 13px}
.kh-button--primary,.kh39-btn-primary{background:linear-gradient(135deg,var(--kh-primary),var(--kh-violet));color:#fff!important;box-shadow:0 8px 20px rgba(49,87,232,.17)}
.kh39-btn,.kh39-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid var(--kh-line);border-radius:12px;padding:10px 14px;background:#fff;color:var(--kh-ink);font-weight:800;font-size:13px;transition:.16s}
.kh39-btn:hover{transform:translateY(-1px);box-shadow:var(--kh-shadow)}
.kh39-btn-light{background:#fff;color:#344054!important}
.kh39-btn-secondary{background:#eef2ff;color:#2946b8;border-color:#dfe6ff}

/* ---------- global content primitives ---------- */
.kh39-section{padding:54px 0}
.kh39-section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:20px}
.kh39-section-head h2{margin:5px 0 0;color:var(--kh-ink);font-size:clamp(25px,3vw,36px);line-height:1.1;letter-spacing:-.045em}
.kh39-eyebrow{display:block;color:var(--kh-primary);font-size:11px;font-weight:950;letter-spacing:.11em;text-transform:uppercase}
.kh39-card,.kh39-path,.kh39-service,.kh39-job-row,.kh39-home-side,.kh39-profile-mini,.kh39-network-menu,.kh39-side,.kh39-composer,
.kh-feed-card,.kh-social-v2-card{
  background:var(--kh-surface)!important;
  border:1px solid var(--kh-line)!important;
  border-radius:var(--kh-radius)!important;
  box-shadow:var(--kh-shadow)!important;
}
.kh39-path,.kh39-service,.kh39-job-row{transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}
.kh39-path:hover,.kh39-service:hover,.kh39-job-row:hover{transform:translateY(-2px);box-shadow:var(--kh-shadow-lg)!important;border-color:#d5dcf6!important}
.kh39-card{padding:20px}
.kh39-home-grid{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:18px}
.kh39-feed-stack{display:grid;gap:14px}
.kh39-home-side{padding:20px}
.kh39-home-side h3{margin:6px 0 8px;color:var(--kh-ink)}
.kh39-home-side p{margin:0;color:var(--kh-muted)}
.kh39-side-links{display:grid;gap:8px;margin-top:16px}
.kh39-side-links a{font-size:13px;font-weight:850;color:var(--kh-primary)}

/* ---------- homepage ---------- */
.kh39-hero{padding:76px 0 70px;background:radial-gradient(circle at 85% 15%,rgba(112,72,232,.12),transparent 35%),linear-gradient(135deg,#fbfcff 0%,#eef3ff 100%);border-bottom:1px solid #e8ebf3}
.kh39-hero-grid{display:grid;grid-template-columns:minmax(0,1.12fr) minmax(320px,.7fr);gap:46px;align-items:center}
.kh39-hero h1{margin:11px 0 18px;color:var(--kh-ink);font-size:clamp(42px,6.2vw,72px);line-height:.98;letter-spacing:-.065em}
.kh39-hero h1 span{color:var(--kh-primary)}
.kh39-hero p{max-width:670px;margin:0;color:var(--kh-muted);font-size:17px}
.kh39-hero-search{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(150px,.75fr) auto;gap:9px;margin:27px 0 14px}
.kh39-hero-search input{height:50px;width:100%;border:1px solid var(--kh-line);border-radius:13px;background:#fff;padding:0 14px;outline:0}
.kh39-hero-search input:focus{border-color:#aab8f5;box-shadow:var(--kh-focus)}
.kh39-hero-links{display:flex;flex-wrap:wrap;gap:18px;color:var(--kh-primary);font-size:13px;font-weight:850}
.kh39-hero-panel{padding:27px;border-radius:24px;background:linear-gradient(145deg,#172554,#6947e8);color:#fff;box-shadow:0 24px 60px rgba(49,55,140,.24)}
.kh39-hero-panel h3{margin:0 0 7px;font-size:26px;letter-spacing:-.035em}
.kh39-hero-panel p{margin:0;color:rgba(255,255,255,.76);font-size:14px}
.kh39-pillar-list{display:grid;gap:9px;margin-top:20px}
.kh39-pillar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 14px;border:1px solid rgba(255,255,255,.13);border-radius:13px;background:rgba(255,255,255,.08)}
.kh39-pillar b{font-size:13px}.kh39-pillar span{font-size:11px;color:rgba(255,255,255,.68)}
.kh39-four-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.kh39-path{min-height:190px;padding:21px;display:flex;flex-direction:column;gap:7px}
.kh39-path .icon{font-size:25px;color:var(--kh-primary)}
.kh39-path b{font-size:10px;letter-spacing:.09em;color:var(--kh-muted)}
.kh39-path strong{color:var(--kh-ink);font-size:19px;letter-spacing:-.025em}
.kh39-path small{color:var(--kh-muted);line-height:1.55}
.kh39-path em{font-style:normal;color:var(--kh-primary);font-size:12px;font-weight:900;margin-top:auto;padding-top:9px}
.kh39-services{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}
.kh39-service{min-height:130px;padding:17px;display:flex;flex-direction:column;gap:6px}
.kh39-service .badge{width:36px;height:36px;display:grid;place-items:center;border-radius:11px;background:#eef2ff;color:var(--kh-primary);font-size:10px;font-weight:950}
.kh39-service b{color:var(--kh-ink)}.kh39-service small{color:var(--kh-muted)}
.kh39-job-list{display:grid;gap:9px}
.kh39-job-row{display:grid;grid-template-columns:44px minmax(0,1fr) auto 20px;align-items:center;gap:13px;padding:14px}
.kh39-company-avatar{width:44px;height:44px;border-radius:12px;display:grid;place-items:center;background:#eef2ff;color:var(--kh-primary);font-weight:950}
.kh39-job-main{min-width:0;display:grid;gap:2px}
.kh39-job-main small,.kh39-job-main>span{font-size:12px;color:var(--kh-muted)}
.kh39-job-main strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--kh-ink)}
.kh39-salary{font-size:12px;color:var(--kh-success)}
.kh39-cta{display:flex;align-items:center;justify-content:space-between;gap:22px;padding:29px;border-radius:22px;background:var(--kh-ink);color:#fff}
.kh39-cta h2{margin:0 0 5px;letter-spacing:-.035em}.kh39-cta p{margin:0;color:#b9c2d0}.kh39-cta-actions{display:flex;gap:9px;flex-wrap:wrap}

/* ---------- social / network ---------- */
.kh39-network-bar{padding:38px 0 17px;background:#fff;border-bottom:1px solid var(--kh-line)}
.kh39-network-bar h1{margin:5px 0;color:var(--kh-ink);font-size:clamp(29px,4vw,44px);letter-spacing:-.05em}
.kh39-network-bar p{margin:0;color:var(--kh-muted)}
.kh39-network-tabs{display:flex;gap:5px;margin-top:20px;overflow:auto}
.kh39-network-tabs a{padding:9px 13px;border-radius:10px;color:var(--kh-muted);font-size:13px;font-weight:850;white-space:nowrap}
.kh39-network-tabs a:hover,.kh39-network-tabs a.active{background:#eef2ff;color:var(--kh-primary)}
.kh39-network-grid{display:grid;grid-template-columns:220px minmax(0,1fr) 270px;gap:16px;padding:20px 0 60px;align-items:start}
.kh39-left-col,.kh39-right-col{display:grid;gap:12px}
.kh39-profile-mini{padding:18px;text-align:center;display:grid;gap:5px}
.kh39-profile-mini .cover{height:54px;margin:-18px -18px 0;background:linear-gradient(135deg,var(--kh-primary),var(--kh-violet));border-radius:18px 18px 0 0}
.kh39-profile-mini .avatar{margin:-25px auto 2px;width:68px;height:68px;border:4px solid #fff;border-radius:50%;overflow:hidden}
.kh39-profile-mini .avatar img{width:100%;height:100%;object-fit:cover}
.kh39-profile-mini span{font-size:12px;color:var(--kh-muted)}
.kh39-profile-mini a{font-size:12px;color:var(--kh-primary);font-weight:850}
.kh39-network-menu{padding:7px;display:grid}
.kh39-network-menu a{padding:10px;border-radius:9px;color:#475467;font-size:13px;font-weight:800}
.kh39-network-menu a:hover,.kh39-network-menu a.active{background:#eef2ff;color:var(--kh-primary)}
.kh39-composer{padding:14px}
.kh39-composer-top{display:flex;gap:10px}
.kh39-composer-avatar{width:44px;height:44px;flex:0 0 44px;border-radius:50%;overflow:hidden}
.kh39-composer-avatar img{width:100%;height:100%;object-fit:cover}
.kh39-composer textarea{width:100%;min-height:76px;border:0;resize:vertical;outline:0;padding:8px 2px;color:var(--kh-ink);background:transparent}
.kh39-composer-bottom{display:flex;align-items:center;justify-content:space-between;gap:10px;padding-top:10px;border-top:1px solid var(--kh-line)}
.kh39-composer-hint{font-size:11px;color:var(--kh-muted)}
.kh39-post-btn{border:0;border-radius:10px;padding:9px 16px;background:linear-gradient(135deg,var(--kh-primary),var(--kh-violet));color:#fff;font-weight:900}
.kh39-side{padding:17px}.kh39-side h3{margin:0 0 12px;color:var(--kh-ink);font-size:15px}
.kh39-person{display:flex;align-items:center;gap:9px;padding:9px 0;border-top:1px solid #f0f2f5}
.kh39-person:first-of-type{border-top:0}.kh39-person-avatar{width:38px;height:38px;flex:0 0 38px;border-radius:50%;overflow:hidden}
.kh39-person-avatar img{width:100%;height:100%;object-fit:cover}.kh39-person>div:nth-child(2){min-width:0;flex:1;display:grid}
.kh39-person strong,.kh39-person span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.kh39-person strong{font-size:12px;color:var(--kh-ink)}.kh39-person span{font-size:10px;color:var(--kh-muted)}
.kh39-add{padding:6px 8px!important;border:1px solid var(--kh-line)!important;border-radius:9px!important;background:#fff!important;font-size:11px!important;font-weight:850!important}
.kh39-hashtags{display:flex;flex-wrap:wrap;gap:6px}.kh39-hashtags a{padding:7px 9px;border-radius:999px;background:#f2f4f7;color:#475467;font-size:11px;font-weight:800}

/* Existing generated social cards: normalize them into the same system. */
.kh-feed-card,.kh-social-v2-card{padding:16px!important;color:var(--kh-text)!important}
.kh-feed-card-head{display:flex!important;align-items:center!important;gap:10px!important}
.kh-feed-card-body{color:var(--kh-text)!important;line-height:1.65!important}
.kh-feed-card-actions{border-top:1px solid var(--kh-line)!important}
.kh-feed-card-actions button,.kh-feed-card-actions a{background:transparent!important;color:var(--kh-muted)!important}

/* ---------- move / booking feature ---------- */
.kh45-move-card{display:grid;grid-template-columns:1.15fr .85fr;min-height:330px;overflow:hidden;border:1px solid var(--kh-line);border-radius:24px;background:#fff;box-shadow:var(--kh-shadow)}
.kh45-move-copy{padding:34px}.kh45-move-badge{display:inline-flex;padding:7px 10px;border-radius:999px;background:#eef2ff;color:var(--kh-primary);font-size:10px;font-weight:950;letter-spacing:.06em}
.kh45-move-copy h3{margin:15px 0 10px;color:var(--kh-ink);font-size:30px;line-height:1.1;letter-spacing:-.045em}
.kh45-move-copy p{max-width:640px;color:var(--kh-muted)}
.kh45-move-points{display:flex;flex-wrap:wrap;gap:8px;margin:18px 0;color:#475467;font-size:12px;font-weight:800}
.kh45-move-points span{padding:8px 10px;border-radius:10px;background:#f7f8fa}
.kh45-move-actions{display:flex;gap:8px;flex-wrap:wrap}
.kh45-move-visual{position:relative;min-height:330px;background:radial-gradient(circle at 30% 20%,#e4eaff,transparent 35%),linear-gradient(145deg,#f4f6ff,#e9ecff)}
.kh45-route-line{position:absolute;left:30%;top:14%;width:3px;height:72%;background:linear-gradient(var(--kh-primary),var(--kh-violet));transform:rotate(21deg);border-radius:9px}
.kh45-route-pin{position:absolute;display:grid;place-items:center;width:35px;height:35px;border-radius:50%;background:#fff;border:4px solid var(--kh-primary);color:var(--kh-primary);font-size:11px;font-weight:950;box-shadow:var(--kh-shadow)}
.kh45-route-pin.pickup{left:22%;top:12%}.kh45-route-pin.drop{right:20%;bottom:12%}
.kh45-car{position:absolute;left:47%;top:48%;font-size:38px;filter:drop-shadow(0 7px 10px rgba(16,24,40,.12))}
.kh45-route-label{position:absolute;padding:6px 9px;border-radius:8px;background:#fff;box-shadow:var(--kh-shadow);font-size:10px;font-weight:850;color:#475467}
.pickup-label{left:18%;top:25%}.drop-label{right:14%;bottom:25%}

/* ---------- book-a-ride page ---------- */
.kh-ride-page{padding-top:8px}
.kh-page-hero{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:22px;flex-wrap:wrap}
.kh-page-hero h1{margin:8px 0 6px;color:var(--kh-ink);font-size:clamp(26px,3.4vw,38px);line-height:1.08;letter-spacing:-.045em}
.kh-page-hero p{margin:0;max-width:520px;color:var(--kh-muted);font-size:14.5px}
.kh-ride-hero-badges{display:flex;gap:8px;flex-wrap:wrap}
.kh-ride-hero-badges span{padding:9px 13px;border-radius:11px;background:#fff;border:1px solid var(--kh-line);box-shadow:var(--kh-shadow);color:#344054;font-size:12px;font-weight:800;white-space:nowrap}

.kh-ride-layout{display:grid;grid-template-columns:.95fr 1.05fr;gap:20px;align-items:start}

.kh-card{background:var(--kh-surface);border:1px solid var(--kh-line);border-radius:var(--kh-radius);box-shadow:var(--kh-shadow);padding:22px}
.kh-card-head,.kh-map-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:16px;padding-bottom:16px;border-bottom:1px solid var(--kh-line)}
.kh-card-head h2,.kh-map-card-head h2{margin:4px 0 0;color:var(--kh-ink);font-size:21px;letter-spacing:-.03em}
.kh-map-card-head p{margin:4px 0 0;color:var(--kh-muted);font-size:12.5px}
.kh-eyebrow{display:block;color:var(--kh-primary);font-size:10.5px;font-weight:950;letter-spacing:.1em;text-transform:uppercase}
.kh-service-pill{flex:0 0 auto;padding:7px 11px;border-radius:999px;background:#eef2ff;color:var(--kh-primary);font-size:10.5px;font-weight:950;letter-spacing:.05em;white-space:nowrap}

.kh-toggle{display:flex;gap:6px;padding:5px;margin-bottom:18px;border-radius:13px;background:var(--kh-surface-soft);border:1px solid var(--kh-line)}
.kh-toggle button{flex:1;border:0;background:transparent;border-radius:9px;padding:10px 8px;font-size:12.5px;font-weight:850;color:var(--kh-muted);transition:.16s}
.kh-toggle button.active{background:#fff;color:var(--kh-ink);box-shadow:var(--kh-shadow)}

.kh-ride-form{display:grid;gap:16px}
.kh-field{display:grid;gap:7px}
.kh-field label{font-size:12.5px;font-weight:850;color:var(--kh-ink)}
.kh-field label span{font-weight:600;color:var(--kh-faint)}
.kh-field input:not([type=checkbox]):not([type=radio]),.kh-field textarea,.kh-field select{width:100%;height:46px;padding:0 14px;font-size:13.5px}
.kh-field textarea{height:auto;padding:12px 14px;resize:vertical}

.kh-vehicle-type-group{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
.kh-vehicle-type-option{position:relative;display:grid;justify-items:center;gap:4px;padding:14px 8px;border:1.5px solid var(--kh-line);border-radius:var(--kh-radius-md);background:#fff;cursor:pointer;text-align:center;transition:.16s}
.kh-vehicle-type-option input{position:absolute;opacity:0;pointer-events:none}
.kh-vt-icon{font-size:22px}
.kh-vt-name{font-size:12.5px;font-weight:850;color:var(--kh-ink)}
.kh-vt-rate{font-size:11px;color:var(--kh-muted);font-weight:700}
.kh-vt-check{position:absolute;top:7px;right:7px;width:16px;height:16px;border-radius:50%;background:var(--kh-primary);color:#fff;font-size:10px;display:grid;place-items:center;opacity:0;transform:scale(.6);transition:.16s}
.kh-vehicle-type-option:hover{border-color:#c7d0f8}
.kh-vehicle-type-option:has(input:checked){border-color:var(--kh-primary);background:#f5f7ff;box-shadow:0 0 0 3px rgba(49,87,232,.1)}
.kh-vehicle-type-option:has(input:checked) .kh-vt-check{opacity:1;transform:scale(1)}

.kh-location-input{position:relative}
.kh-location-input input{padding-right:46px!important}
.kh-location-action{position:absolute;right:5px;top:5px;width:36px;height:36px;border:0;border-radius:9px;background:var(--kh-surface-strong);color:var(--kh-primary);font-size:15px;display:grid;place-items:center}
.kh-live-location-row{padding-left:2px}
.kh-location-status{font-size:11.5px;color:var(--kh-muted);font-weight:700}

.kh-note{margin:0;font-size:11.5px;color:var(--kh-faint);line-height:1.5}
.kh-form-note{text-align:center;margin-top:2px}
.kh-checkline{display:flex;align-items:center;gap:9px;font-size:13px;font-weight:800;color:var(--kh-ink);cursor:pointer}
.kh-checkline input{width:17px;height:17px}

.kh-fare-preview{display:flex;align-items:center;justify-content:space-between;padding:16px 18px;border-radius:var(--kh-radius-md);background:linear-gradient(135deg,#eef2ff,#f5f0ff);border:1px solid #dfe6ff}
.kh-fare-preview strong{font-size:22px;color:var(--kh-ink);letter-spacing:-.03em}
.kh-fare-preview span{font-size:11.5px;color:var(--kh-muted);font-weight:800}

.kh-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid transparent;border-radius:12px;padding:13px 18px;font-size:14px;font-weight:850;transition:transform .16s,box-shadow .16s}
.kh-btn:hover{transform:translateY(-1px)}
.kh-btn-block{width:100%}
.kh-btn-primary{background:linear-gradient(135deg,var(--kh-primary),var(--kh-violet));color:#fff;box-shadow:0 10px 24px rgba(49,87,232,.22)}
.kh-btn-outline{background:#fff;border-color:var(--kh-line-strong);color:var(--kh-ink)}
.kh-btn-accent{background:var(--kh-success);color:#fff}

.kh-ride-map-card{display:flex;flex-direction:column;position:sticky;top:calc(var(--kh-header) + 16px)}
.kh45-ride-map-shell{position:relative;height:320px;border-radius:var(--kh-radius-md);overflow:hidden;background:var(--kh-surface-strong)}
.kh45-ride-map-shell #kh-map{width:100%;height:100%}
.kh-map-loading{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;gap:8px;background:var(--kh-surface-strong);color:var(--kh-muted);font-size:12.5px;font-weight:800}
.kh-map-loading span{width:16px;height:16px;border-radius:50%;border:2.5px solid #c7d0f8;border-top-color:var(--kh-primary);animation:kh-spin .8s linear infinite}
.kh-map-status-row{display:flex;justify-content:space-between;margin-top:10px;font-size:11px;color:var(--kh-faint);font-weight:800}
.kh-route-help{display:flex;gap:10px;margin-top:14px;padding:13px 14px;border-radius:var(--kh-radius-md);background:var(--kh-surface-soft)}
.kh-route-help strong{display:block;font-size:12.5px;color:var(--kh-ink)}
.kh-route-help p{margin:2px 0 0;font-size:12px;color:var(--kh-muted)}

.kh-ride-benefits{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-top:22px}
.kh-ride-benefits .kh-card{padding:20px}
.kh-ride-benefits span{display:inline-flex;width:32px;height:32px;border-radius:9px;background:#eef2ff;color:var(--kh-primary);font-weight:950;font-size:12.5px;align-items:center;justify-content:center;margin-bottom:10px}
.kh-ride-benefits h3{margin:0 0 5px;font-size:15px;color:var(--kh-ink)}
.kh-ride-benefits p{margin:0;font-size:12.5px;color:var(--kh-muted)}

.kh-modal-overlay{position:fixed;inset:0;z-index:9998;display:flex;align-items:center;justify-content:center;padding:20px;background:rgba(16,24,40,.5);backdrop-filter:blur(3px)}
.kh-modal{width:100%;max-width:400px;padding:26px}
.kh-ride-status-spinner{width:46px;height:46px;margin:4px auto 16px;border-radius:50%;border:3.5px solid #e4e7ec;border-top-color:var(--kh-primary);animation:kh-spin .8s linear infinite}
.kh-driver-card{display:flex;align-items:center;gap:12px;margin-top:14px;padding:14px;border-radius:var(--kh-radius-md);background:var(--kh-surface-soft);border:1px solid var(--kh-line)}
.kh-driver-card-avatar{width:44px;height:44px;flex:0 0 auto;border-radius:50%;background:#eef2ff;display:grid;place-items:center;font-size:20px}
.kh-driver-card-details{display:grid;gap:1px;flex:1;min-width:0}
.kh-driver-card-details strong{font-size:13.5px;color:var(--kh-ink)}

@keyframes kh-spin{to{transform:rotate(360deg)}}

@media (max-width:1050px){
  .kh-ride-layout{grid-template-columns:1fr}
  .kh-ride-map-card{position:static}
}
@media (max-width:780px){
  .kh-page-hero{flex-direction:column;align-items:flex-start}
  .kh-card{padding:18px}
  .kh-vehicle-type-group{grid-template-columns:repeat(3,1fr);gap:6px}
  .kh-vehicle-type-option{padding:11px 4px}
  .kh-ride-benefits{grid-template-columns:1fr}
  .kh45-ride-map-shell{height:240px}
}

/* ---------- leaflet map skin (matches design system) ---------- */
.kh45-ride-map-shell #kh-map{border-radius:var(--kh-radius-md)}
.kh45-ride-map-shell .leaflet-container{background:var(--kh-surface-strong);font-family:inherit}
.kh45-ride-map-shell .leaflet-control-zoom{border:none!important;box-shadow:var(--kh-shadow)!important;border-radius:11px!important;overflow:hidden}
.kh45-ride-map-shell .leaflet-control-zoom a{width:32px!important;height:32px!important;line-height:32px!important;background:#fff!important;color:var(--kh-ink)!important;border-color:var(--kh-line)!important;font-weight:900}
.kh45-ride-map-shell .leaflet-control-zoom a:hover{background:var(--kh-surface-soft)!important}
.kh45-ride-map-shell .leaflet-control-attribution{background:rgba(255,255,255,.85)!important;border-radius:8px 0 0 0!important;font-size:9.5px!important;color:var(--kh-faint)!important;padding:2px 6px!important}
.kh45-ride-map-shell .leaflet-popup-content-wrapper{border-radius:var(--kh-radius-sm)!important;box-shadow:var(--kh-shadow-lg)!important;border:1px solid var(--kh-line)}
.kh45-ride-map-shell .leaflet-popup-content{margin:10px 12px!important;font-size:12.5px!important;color:var(--kh-text)!important}
.kh45-ride-map-shell .leaflet-popup-tip{box-shadow:none!important;border:1px solid var(--kh-line)}
.kh45-ride-map-shell .kh-pickup-pin,.kh45-ride-map-shell .kh-drop-pin{display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:#fff;box-shadow:var(--kh-shadow);font-size:15px}
.kh45-ride-map-shell .kh-pickup-pin{border:3px solid var(--kh-primary)}
.kh45-ride-map-shell .kh-drop-pin{border:3px solid var(--kh-danger)}
.kh-map-loading{transition:opacity .2s ease}
.kh-map-loading[hidden],.kh-map-loading.kh-hidden{display:none!important}

/* ---------- forms / WordPress defaults ---------- */
input,textarea,select{max-width:100%;color:var(--kh-ink)}
input:not([type=checkbox]):not([type=radio]),textarea,select{border:1px solid var(--kh-line);border-radius:12px;background:#fff}
input:not([type=checkbox]):not([type=radio]):focus,textarea:focus,select:focus{border-color:#aab8f5;box-shadow:var(--kh-focus);outline:0}
button[type=submit],input[type=submit]{border:0;border-radius:11px;padding:10px 15px;background:var(--kh-primary);color:#fff;font-weight:850}
table{width:100%;border-collapse:collapse;background:#fff;border:1px solid var(--kh-line);border-radius:14px;overflow:hidden}
th,td{padding:11px 12px;border-bottom:1px solid var(--kh-line);text-align:left}
th{color:var(--kh-ink);font-size:12px}td{font-size:13px}

/* =========================================================
   SITEWIDE PAGE COMPONENTS (v50.1) — utility grid, listing
   cards, dashboards, jobs/careers, profile & account hubs.
   Reuses the same tokens as the shell/booking system.
   ========================================================= */

/* ---------- generic page utilities ---------- */
.kh-main{padding:30px 0 60px}
.kh-title{color:var(--kh-ink);letter-spacing:-.045em;line-height:1.08}
.kh-muted{color:var(--kh-muted)}
.kh-pad{padding:22px}
.kh-icon{display:inline-flex;width:40px;height:40px;border-radius:11px;background:#eef2ff;color:var(--kh-primary);align-items:center;justify-content:center;font-size:19px;margin-bottom:10px}
.kh-grid{display:grid;gap:14px}
.kh-grid-3{grid-template-columns:repeat(3,minmax(0,1fr))}
.kh-grid-4{grid-template-columns:repeat(4,minmax(0,1fr))}
.kh-ecosystem-hero{padding:64px 0 40px;background:linear-gradient(180deg,#f5f7ff,var(--kh-bg))}
.kh-empty-state{padding:40px 20px;text-align:center;color:var(--kh-muted);background:var(--kh-surface-soft);border:1px dashed var(--kh-line-strong);border-radius:var(--kh-radius-md)}
.kh-cash-badge{display:inline-flex;align-items:center;gap:8px;padding:8px 13px;border-radius:999px;background:#eef2ff;color:var(--kh-primary);font-size:12px;font-weight:900;margin-bottom:14px}
.kh-live-dot{width:8px;height:8px;border-radius:50%;background:var(--kh-success);box-shadow:0 0 0 3px rgba(22,128,60,.18)}

/* ---------- listing card system (videos / marketplace) ---------- */
/* ---------- dashboards (customer/host/driver/restaurant) ---------- */
.kh-dash{display:grid;grid-template-columns:220px minmax(0,1fr);gap:22px;padding:26px 0 60px;align-items:start}
.kh-dash-nav{position:sticky;top:calc(var(--kh-header) + 16px);display:grid;gap:3px;padding:10px;background:var(--kh-surface);border:1px solid var(--kh-line);border-radius:var(--kh-radius-md);box-shadow:var(--kh-shadow)}
.kh-dash-nav a{padding:10px 12px;border-radius:9px;font-size:13px;font-weight:800;color:#475467}
.kh-dash-nav a:hover{background:var(--kh-surface-soft)}
.kh-dash-nav a.active{background:#eef2ff;color:var(--kh-primary)}
.kh-dash>main{min-width:0}
.kh-dash>main h2{color:var(--kh-ink);letter-spacing:-.03em;margin-top:34px}
.kh-dash>main h2:first-child{margin-top:0}
.kh-driver-info{display:grid;gap:1px}
.kh-driver-info strong{font-size:12.5px;color:var(--kh-ink)}
.kh-driver-info span{font-size:11px;color:var(--kh-muted)}
.kh-status{display:inline-flex;padding:5px 10px;border-radius:999px;font-size:11px;font-weight:900;background:#f2f4f7;color:#475467}
.kh-status.status-pending,.kh-status-pending{background:#fff6e8;color:var(--kh-warning)}
.kh-status.status-accepted,.kh-status.status-ongoing,.kh-status-accepted,.kh-status-ongoing{background:#eef2ff;color:var(--kh-primary)}
.kh-status.status-completed,.kh-status-completed{background:#eafaf0;color:var(--kh-success)}
.kh-status.status-cancelled,.kh-status.status-declined,.kh-status-cancelled,.kh-status-declined{background:#fdecec;color:var(--kh-danger)}
.kh-btn-decline{background:#fdecec;color:var(--kh-danger)!important;border-color:#fbd5d5!important}

/* ---------- jobs & careers ---------- */
.kh-careers-hero{padding:56px 0 34px;text-align:left}
.kh-jobs-grid,.kh-network-job-list{display:grid;gap:14px}
.kh-feature.kh-job-card{display:block;background:var(--kh-surface);border:1px solid var(--kh-line);border-radius:var(--kh-radius);box-shadow:var(--kh-shadow);padding:20px;transition:transform .18s,box-shadow .18s}
.kh-feature.kh-job-card:hover{transform:translateY(-2px);box-shadow:var(--kh-shadow-lg)}
.kh-job-card-top{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
.kh-job-type-pill{flex:0 0 auto;padding:6px 10px;border-radius:999px;background:#eef2ff;color:var(--kh-primary);font-size:10.5px;font-weight:900;white-space:nowrap}
.kh-job-meta-row{margin:8px 0 0;color:var(--kh-muted);font-size:12.5px}
.kh-job-salary{margin:6px 0 0;font-size:13px;font-weight:850;color:var(--kh-ink)}
.kh-job-excerpt{margin:10px 0 0;color:var(--kh-text);font-size:13px;line-height:1.55}
.kh-job-card-cta{display:inline-block;margin-top:14px;color:var(--kh-primary);font-weight:900;font-size:12.5px}
.kh-job-deadline{display:block;margin-top:8px;color:var(--kh-faint);font-size:11px;font-weight:800}
.kh-jobs-closed-list{list-style:none;margin:14px 0 0;padding:0;display:grid;gap:8px}
.kh-jobs-closed-list li{padding:12px 14px;background:var(--kh-surface-soft);border-radius:var(--kh-radius-sm);font-size:13px;color:var(--kh-ink)}
.kh-network-hero{padding:44px 0 20px}
.kh-network-filterbar{display:flex;flex-wrap:wrap;gap:10px;align-items:center;padding:14px 16px;margin-bottom:18px;background:var(--kh-surface);border:1px solid var(--kh-line);border-radius:var(--kh-radius-md);box-shadow:var(--kh-shadow)}
.filter-actions{display:flex;gap:8px;flex-wrap:wrap}
.filter-check{display:flex;align-items:center;gap:6px;font-size:12.5px;font-weight:800;color:var(--kh-ink)}
.kh-network-results-meta{color:var(--kh-muted);font-size:12.5px;font-weight:700;margin-bottom:12px}

/* ---------- profile & account hubs ---------- */
.kh-profile-page{padding:26px 0 60px}
.kh-profile-card{display:flex;align-items:center;gap:18px;padding:22px;background:var(--kh-surface);border:1px solid var(--kh-line);border-radius:var(--kh-radius);box-shadow:var(--kh-shadow)}
.kh-profile-avatar img{width:88px;height:88px;border-radius:50%;object-fit:cover;border:3px solid #fff;box-shadow:var(--kh-shadow)}
.kh-profile-main{flex:1;min-width:0}
.kh-profile-main h1{margin:8px 0 4px;color:var(--kh-ink);font-size:22px;letter-spacing:-.03em}
.kh-profile-main p{margin:0;color:var(--kh-muted);font-size:13.5px}
.kh-role-chip{display:inline-flex;align-items:center;gap:6px;padding:6px 11px;border-radius:999px;background:#eef2ff;color:var(--kh-primary);font-size:10.5px;font-weight:950;text-transform:uppercase;letter-spacing:.05em}
.kh-profile-actions{display:flex;gap:8px;margin-top:14px;flex-wrap:wrap}
.kh-social-profile-strip{margin:14px 0}
.kh-social-mini-stats{display:flex;gap:0;background:var(--kh-surface);border:1px solid var(--kh-line);border-radius:var(--kh-radius-md);box-shadow:var(--kh-shadow);overflow:hidden}
.kh-social-mini-stats b{flex:1;display:flex;flex-direction:column;align-items:center;gap:2px;padding:14px 8px;font-size:18px;color:var(--kh-ink);border-right:1px solid var(--kh-line)}
.kh-social-mini-stats b:last-child{border-right:0}
.kh-social-mini-stats small{font-size:10.5px;font-weight:800;color:var(--kh-muted);text-transform:uppercase;letter-spacing:.04em}
.kh-v9-panel{background:var(--kh-surface);border:1px solid var(--kh-line);border-radius:var(--kh-radius);box-shadow:var(--kh-shadow);padding:22px}
.kh-v9-panel-head h2{margin:0 0 4px;color:var(--kh-ink);font-size:18px}
.kh-v9-panel-head p{margin:0;color:var(--kh-muted);font-size:12.5px}
.kh-feed-list{display:grid;gap:12px;margin-top:16px}
.kh-account-page{padding:28px 0 60px}
.kh-account-v9-head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:22px;flex-wrap:wrap}
.kh-account-v9-head h1{margin:8px 0 6px;color:var(--kh-ink);font-size:26px;letter-spacing:-.04em}
.kh-account-v9-head p{margin:0;color:var(--kh-muted);font-size:13.5px;max-width:520px}
.kh-v9-actions{display:flex;gap:8px}
.kh-account-v9-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:26px}
.kh-account-v9-card{display:flex;flex-direction:column;gap:6px;padding:18px;background:var(--kh-surface);border:1px solid var(--kh-line);border-radius:var(--kh-radius-md);box-shadow:var(--kh-shadow);transition:transform .16s,box-shadow .16s}
.kh-account-v9-card:hover{transform:translateY(-2px);box-shadow:var(--kh-shadow-lg)}
.kh-account-v9-card.primary{border-color:#dfe6ff;background:linear-gradient(180deg,#fff,#f8f9ff)}
.kh-account-v9-card .icon{font-size:22px}
.kh-account-v9-card strong{color:var(--kh-ink);font-size:13.5px}
.kh-account-v9-card small{color:var(--kh-muted);font-size:11.5px}
.kh-v9-service-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:14px}
.kh-v9-service{display:flex;flex-direction:column;gap:5px;padding:14px;border:1px solid var(--kh-line);border-radius:var(--kh-radius-sm);background:#fff;transition:transform .16s,box-shadow .16s}
.kh-v9-service:hover{transform:translateY(-2px);box-shadow:var(--kh-shadow)}
.kh-v9-service-icon{font-size:18px}
.kh-v9-service strong{font-size:12.5px;color:var(--kh-ink)}
.kh-social-follow{padding:9px 16px!important}

@media (max-width:1050px){
  .kh-grid-4{grid-template-columns:repeat(2,minmax(0,1fr))}
  .kh-v9-service-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:780px){
  .kh-grid-3,.kh-grid-4{grid-template-columns:1fr 1fr}
  .kh-dash{grid-template-columns:1fr}
  .kh-dash-nav{position:static;display:flex;overflow-x:auto;gap:4px}
  .kh-dash-nav a{white-space:nowrap}
  .kh-account-v9-grid{grid-template-columns:1fr 1fr}
  .kh-profile-card{flex-direction:column;text-align:center}
  .kh-social-mini-stats{flex-wrap:wrap}
  .kh-social-mini-stats b{flex:1 1 50%;border-right:0;border-bottom:1px solid var(--kh-line)}
}

/* =========================================================
   EXPLORE — vertical reel-scroll feed
   ========================================================= */
.kh-explore{position:relative;height:calc(100dvh - var(--kh-header));overflow:hidden;background:#0b0d17}
.kh-explore-head{position:absolute;top:16px;left:0;right:0;z-index:5;display:flex;flex-direction:column;align-items:center;gap:2px;pointer-events:none}
.kh-explore-head .kh-eyebrow{color:#c9d3ff}
.kh-explore-head h1{margin:0;color:#fff;font-size:15px;font-weight:850;letter-spacing:-.02em;text-shadow:0 2px 10px rgba(0,0,0,.35)}

.kh-reel-feed{height:100%;overflow-y:scroll;scroll-snap-type:y mandatory;scroll-behavior:smooth;-webkit-overflow-scrolling:touch}
.kh-reel-feed::-webkit-scrollbar{display:none}

.kh-reel{position:relative;height:100%;width:100%;scroll-snap-align:start;scroll-snap-stop:always;display:flex;align-items:flex-end;overflow:hidden}
.kh-reel-bg{position:absolute;inset:0;background-size:cover;background-position:center;background-color:#141726}
.kh-reel-bg video{width:100%;height:100%;object-fit:cover}
.kh-reel-scrim{position:absolute;inset:0;background:linear-gradient(180deg,rgba(11,13,23,.05) 0%,rgba(11,13,23,.15) 45%,rgba(11,13,23,.82) 100%)}

.kh-reel-tone-blue .kh-reel-bg{background:radial-gradient(circle at 25% 20%,#3d63f2,transparent 55%),linear-gradient(155deg,#1a2a63,#0d1230)}
.kh-reel-tone-violet .kh-reel-bg{background:radial-gradient(circle at 75% 25%,#8a63f2,transparent 55%),linear-gradient(155deg,#2a1a5e,#130d2e)}
.kh-reel-tone-teal .kh-reel-bg{background:radial-gradient(circle at 25% 75%,#1f9d7f,transparent 55%),linear-gradient(155deg,#0e3a34,#0a1a22)}
.kh-reel-tone-coral .kh-reel-bg{background:radial-gradient(circle at 75% 75%,#f2703d,transparent 55%),linear-gradient(155deg,#5e2612,#2e130c)}

.kh-reel-body{position:relative;z-index:2;width:100%;padding:26px 22px calc(30px + env(safe-area-inset-bottom,0px));color:#fff}
.kh-reel-icon{display:inline-flex;width:52px;height:52px;border-radius:16px;align-items:center;justify-content:center;font-size:26px;background:rgba(255,255,255,.14);backdrop-filter:blur(6px);margin-bottom:14px}
.kh-reel-body h2{margin:0 0 8px;font-size:clamp(22px,4.5vw,30px);letter-spacing:-.04em;line-height:1.12}
.kh-reel-body p{margin:0 0 18px;max-width:420px;color:rgba(255,255,255,.82);font-size:14px;line-height:1.5}
.kh-reel-badge{position:absolute;top:18px;right:18px;z-index:2;padding:6px 10px;border-radius:999px;background:rgba(255,255,255,.12);color:#fff;font-size:9.5px;font-weight:950;letter-spacing:.1em;backdrop-filter:blur(6px)}
.kh-reel-cat-badge{display:inline-flex;margin-bottom:10px;padding:6px 11px;border-radius:999px;background:rgba(255,255,255,.14);color:#fff;font-size:10.5px;font-weight:850;backdrop-filter:blur(6px)}
.kh-reel--item .kh-reel-body p{font-size:12.5px;color:rgba(255,255,255,.75)}

.kh-reel-body--user{padding-right:78px}
.kh-reel-author{display:flex;align-items:center;gap:10px;margin-bottom:10px}
.kh-reel-author img{width:38px;height:38px;border-radius:50%;border:2px solid rgba(255,255,255,.5)}
.kh-reel-author strong{display:block;font-size:13.5px}
.kh-reel-author span{display:block;font-size:11px;color:rgba(255,255,255,.65)}
.kh-reel-caption{margin:0;font-size:13.5px;line-height:1.5;color:rgba(255,255,255,.92)}

.kh-reel-rail{position:absolute;right:14px;bottom:calc(30px + env(safe-area-inset-bottom,0px));z-index:3;display:flex;flex-direction:column;gap:16px;align-items:center}
.kh-reel-action{display:flex;flex-direction:column;align-items:center;gap:4px;border:0;background:rgba(255,255,255,.12);width:48px;height:48px;border-radius:50%;color:#fff;backdrop-filter:blur(6px);transition:.16s}
.kh-reel-action span{font-size:19px;line-height:1}
.kh-reel-action b{position:absolute;margin-top:52px;font-size:10px;font-weight:800;white-space:nowrap}
.kh-reel-action:active{transform:scale(.92)}
.kh-reel-action.is-active{background:var(--kh-danger);color:#fff}

.kh-reel--empty .kh-reel-bg{background:linear-gradient(155deg,#232849,#12142a)}

.kh-reel-progress{position:absolute;top:50%;right:6px;transform:translateY(-50%);z-index:4;display:flex;flex-direction:column;gap:5px}
.kh-reel-progress span{width:4px;height:14px;border-radius:3px;background:rgba(255,255,255,.28);transition:.2s}
.kh-reel-progress span.is-active{background:#fff;height:20px}

.kh-reel-compose-fab{position:absolute;left:18px;bottom:calc(24px + env(safe-area-inset-bottom,0px));z-index:5;width:54px;height:54px;border-radius:50%;border:0;background:linear-gradient(135deg,var(--kh-primary),var(--kh-violet));color:#fff;font-size:28px;font-weight:400;box-shadow:0 12px 28px rgba(49,87,232,.4);display:grid;place-items:center}
.kh-reel-compose-fab:active{transform:scale(.94)}

.kh-reel-compose-card{width:100%;max-width:420px}
.kh-reel-compose-close{border:0;background:var(--kh-surface-soft);width:32px;height:32px;border-radius:9px;color:var(--kh-muted);font-size:13px}
.kh-reel-compose-preview{margin-top:10px;border-radius:var(--kh-radius-md);overflow:hidden;max-height:220px}
.kh-reel-compose-preview img,.kh-reel-compose-preview video{width:100%;max-height:220px;object-fit:cover;display:block}

@media (max-width:780px){
  .kh-explore{height:calc(100dvh - var(--kh-header) - var(--kh-mobile-nav) - 10px)}
  .kh-reel-rail{right:10px}
  .kh-reel-compose-fab{bottom:calc(var(--kh-mobile-nav) + 24px)}
}

/* ---------- footer ---------- */
.kh-footer{margin-top:30px;background:#fff;border-top:1px solid var(--kh-line)}
.kh-footer__grid{display:grid;grid-template-columns:2fr repeat(4,1fr);gap:30px;padding:48px 0 38px}
.kh-footer__brand p{max-width:260px;color:var(--kh-muted);font-size:13px}
.kh-footer h3{margin:0 0 10px;color:var(--kh-ink);font-size:12px;text-transform:uppercase;letter-spacing:.08em}
.kh-footer__grid>div:not(.kh-footer__brand){display:grid;align-content:start;gap:8px}
.kh-footer__grid a{font-size:13px;color:#475467}.kh-footer__grid a:hover{color:var(--kh-primary)}
.kh-footer__bottom{display:flex;justify-content:space-between;gap:15px;padding:18px 0;border-top:1px solid var(--kh-line);color:var(--kh-faint);font-size:11px}
.kh-footer__bottom a{color:var(--kh-muted)}

/* ---------- one and only mobile navigation ---------- */
.kh-mobile-nav{display:none}
.kh39-mobile-nav{display:none}

/* ---------- common legacy utility compatibility ---------- */
.kh39-header,.kh39-header-inner,.kh39-brand,.kh39-global-search,.kh39-nav,.kh39-actions{ /* legacy markup compatibility */ }
.kh39-header{position:sticky;top:0;z-index:1000;height:var(--kh-header);background:rgba(255,255,255,.94);border-bottom:1px solid var(--kh-line);backdrop-filter:blur(18px)}
.kh39-header-inner{width:min(calc(100% - 40px),var(--kh-container));height:100%;margin:auto;display:flex;align-items:center;gap:20px}
.kh39-brand{display:flex;align-items:center;gap:10px;font-weight:900}.kh39-mark{width:38px;height:38px;border-radius:12px;display:grid;place-items:center;background:linear-gradient(135deg,var(--kh-primary),var(--kh-violet));color:#fff}.kh39-brand-word{font-size:20px}.kh39-brand-word span{color:var(--kh-primary)}
.kh39-global-search{position:relative;flex:1;max-width:390px}.kh39-global-search input{width:100%;height:42px;padding:0 14px 0 38px;border:1px solid var(--kh-line);border-radius:13px;background:#f8fafc}
.kh39-nav{display:flex;gap:3px;margin-left:auto}.kh39-nav a{padding:10px 11px;border-radius:11px;font-size:13px;font-weight:800;color:#475467}.kh39-nav a.is-active{background:#eef2ff;color:var(--kh-primary)}
.kh39-actions{display:flex;gap:5px}.kh39-avatar{display:grid!important;place-items:center!important;width:38px!important;height:38px!important;border-radius:50%!important;background:#e8edff!important;color:var(--kh-primary)!important}.kh39-join{background:linear-gradient(135deg,var(--kh-primary),var(--kh-violet))!important;color:#fff!important;border-radius:11px!important}.kh39-menu{display:none!important}

/* ---------- responsive system ---------- */
@media (max-width:1050px){
  .kh-primary-nav a span{display:none}
  .kh39-four-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .kh39-services{grid-template-columns:repeat(3,minmax(0,1fr))}
  .kh39-network-grid{grid-template-columns:190px minmax(0,1fr)}
  .kh39-right-col{display:none}
}
@media (max-width:760px){
  :root{--kh-header:64px}
  .kh-container{width:min(calc(100% - 28px),var(--kh-container))}
  .kh-shell-header__inner,.kh39-header-inner{gap:10px}
  .kh-global-search{display:none}
  .kh-primary-nav{display:none}
  .kh-header-actions .kh-header-icon,.kh-login-link{display:none}
  .kh39-global-search,.kh39-nav{display:none}
  .kh39-menu{display:none!important}
  .kh39-hero{padding:48px 0 46px}
  .kh39-hero-grid{grid-template-columns:1fr;gap:26px}
  .kh39-hero h1{font-size:clamp(40px,13vw,58px)}
  .kh39-hero-search{grid-template-columns:1fr;gap:8px}
  .kh39-hero-search .kh39-btn{width:100%}
  .kh39-section{padding:38px 0}
  .kh39-section-head{align-items:flex-start}
  .kh39-section-head h2{font-size:26px}
  .kh39-four-grid{grid-template-columns:1fr 1fr;gap:10px}
  .kh39-path{min-height:170px;padding:16px}
  .kh39-home-grid{grid-template-columns:1fr}
  .kh39-services{grid-template-columns:repeat(2,minmax(0,1fr))}
  .kh39-job-row{grid-template-columns:40px minmax(0,1fr) auto}
  .kh39-job-row>i{display:none}
  .kh39-salary{display:none}
  .kh39-cta{align-items:flex-start;flex-direction:column;padding:23px}
  .kh39-network-grid{grid-template-columns:1fr;padding-top:12px;padding-bottom:90px}
  .kh39-left-col{display:none}
  .kh45-move-card{grid-template-columns:1fr}
  .kh45-move-copy{padding:25px}
  .kh45-move-copy h3{font-size:26px}
  .kh45-move-visual{min-height:260px}
  .kh-footer__grid{grid-template-columns:1fr 1fr;gap:24px;padding:34px 0}
  .kh-footer__brand{grid-column:1/-1}
  .kh-footer__bottom{flex-direction:column;padding-bottom:88px}
  .kh-mobile-nav{position:fixed;display:grid;grid-template-columns:1fr 1fr 1.15fr 1fr 1fr;left:10px;right:10px;bottom:max(10px,env(safe-area-inset-bottom));z-index:9999;height:68px;padding:6px;border:1px solid rgba(226,228,236,.92);border-radius:22px;background:rgba(255,255,255,.90);box-shadow:0 14px 42px rgba(16,24,40,.18),0 2px 8px rgba(16,24,40,.06);backdrop-filter:blur(22px);-webkit-backdrop-filter:blur(22px);isolation:isolate}
  .kh-mobile-nav a{position:relative;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:4px;min-width:0;border-radius:16px;color:#667085;font-size:10px;line-height:1;font-weight:800;text-decoration:none;-webkit-tap-highlight-color:transparent;transition:transform .16s ease,background .16s ease,color .16s ease}
  .kh-mobile-nav a:active{transform:scale(.94)}
  .kh-mobile-nav a.is-active{background:#f0efff;color:var(--kh-primary)}
  .kh-mobile-nav__icon{display:grid;place-items:center;width:25px;height:25px}
  .kh-mobile-nav__icon svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
  .kh-mobile-nav a.is-active:after{content:"";position:absolute;bottom:3px;width:4px;height:4px;border-radius:50%;background:currentColor}
  .kh-mobile-nav__create{margin:-17px 3px -2px;background:#fff!important;color:var(--kh-primary)!important;border:1px solid #e8e7ff;box-shadow:0 8px 22px rgba(91,69,245,.16)}
  .kh-mobile-nav__create-icon{display:grid;place-items:center;width:46px;height:46px;margin-top:-2px;border-radius:16px;background:linear-gradient(135deg,#5b45f5,#7b61ff);color:#fff;box-shadow:0 7px 18px rgba(91,69,245,.28)}
  .kh-mobile-nav__create-icon svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round}
  .kh-mobile-nav__create span:last-child{margin-bottom:3px}
  body{padding-bottom:78px}
  .kh39-mobile-nav{display:none!important}
}
@media (max-width:430px){
  .kh39-four-grid{grid-template-columns:1fr}
  .kh39-services{grid-template-columns:1fr 1fr}
  .kh39-hero-panel{padding:21px}
  .kh39-hero-links{gap:11px}
  .kh39-section-head>a{font-size:11px}
}
@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{scroll-behavior:auto!important;transition:none!important;animation:none!important}
}
@media print{
  .kh-shell-header,.kh39-header,.kh-mobile-nav,.kh-footer{display:none!important}
  body{background:#fff!important;padding:0!important}
  .kh-container{width:100%!important}
}


/* =========================================================
   V51 CONTENT HUB
   One mixed discovery stream + one publishing surface.
   Uses the existing V50 design tokens; no second theme.
   ========================================================= */
.kh-hub{min-height:60vh}
.kh-hub-hero{
  padding:56px 0 34px;
  background:
    radial-gradient(circle at 82% 20%,rgba(112,72,232,.12),transparent 34%),
    radial-gradient(circle at 15% 0%,rgba(49,87,232,.11),transparent 32%),
    var(--kh-surface);
  border-bottom:1px solid var(--kh-line);
}
.kh-hub-hero-grid{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(280px,.8fr);gap:32px;align-items:center}
.kh-hub-hero h1{margin:8px 0 14px;max-width:850px;color:var(--kh-ink);font-size:clamp(34px,5vw,58px);line-height:1.04;letter-spacing:-.055em}
.kh-hub-hero p{max-width:780px;margin:0;color:var(--kh-muted);font-size:17px}
.kh-hub-hero-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:24px}
.kh-hub-hero-panel{padding:24px;border:1px solid var(--kh-line);border-radius:22px;background:rgba(255,255,255,.82);box-shadow:var(--kh-shadow)}
.kh-hub-hero-panel strong{display:block;color:var(--kh-ink);font-size:18px;margin-bottom:14px}
.kh-hub-publish-mini{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.kh-hub-publish-mini span{padding:10px 11px;border:1px solid var(--kh-line);border-radius:11px;background:var(--kh-surface-soft);font-size:13px;font-weight:800;color:var(--kh-text)}
.kh-hub-hero-panel small{display:block;margin-top:15px;color:var(--kh-muted);line-height:1.45}
.kh-hub-section{padding-top:28px;padding-bottom:70px}
.kh-hub-toolbar{display:flex;gap:14px;align-items:center;justify-content:space-between;margin-bottom:20px;position:sticky;top:72px;z-index:20;padding:10px 0;background:linear-gradient(var(--kh-bg) 72%,rgba(246,248,252,0))}
.kh-hub-filters{display:flex;gap:7px;overflow:auto;scrollbar-width:none;padding:3px 1px}
.kh-hub-filters::-webkit-scrollbar{display:none}
.kh-hub-filters button{white-space:nowrap;border:1px solid var(--kh-line);background:#fff;color:var(--kh-muted);border-radius:999px;padding:9px 13px;font-size:12px;font-weight:850}
.kh-hub-filters button:hover{border-color:#b6c1ef;color:var(--kh-primary)}
.kh-hub-filters button.is-active{background:var(--kh-ink);border-color:var(--kh-ink);color:#fff}
.kh-hub-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:22px;align-items:start}
.kh-hub-stream{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.kh-hub-card{overflow:hidden;border:1px solid var(--kh-line);border-radius:18px;background:#fff;box-shadow:0 1px 2px rgba(16,24,40,.02);transition:transform .18s,box-shadow .18s,border-color .18s}
.kh-hub-card:hover{transform:translateY(-2px);box-shadow:var(--kh-shadow);border-color:#d3d9e4}
.kh-hub-media{height:180px;position:relative;background:linear-gradient(135deg,#edf1ff,#f7f8fb);overflow:hidden}
.kh-hub-media img{width:100%;height:100%;object-fit:cover}
.kh-hub-placeholder{height:100%;display:grid;place-items:center;background:linear-gradient(135deg,#edf1ff,#f8fafc)}
.kh-hub-placeholder span{font-size:52px;filter:drop-shadow(0 8px 18px rgba(16,24,40,.08))}
.kh-hub-type{position:absolute;left:12px;top:12px;padding:6px 9px;border-radius:999px;background:rgba(16,24,40,.82);color:#fff;font-size:11px;font-weight:850;backdrop-filter:blur(8px)}
.kh-hub-card-body{padding:16px 17px 17px}
.kh-hub-meta{min-height:18px;color:var(--kh-primary);font-size:11px;font-weight:850;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.kh-hub-card h3{margin:5px 0 7px;color:var(--kh-ink);font-size:18px;line-height:1.2;letter-spacing:-.02em}
.kh-hub-card h3 a:hover{color:var(--kh-primary)}
.kh-hub-card p{margin:0;color:var(--kh-muted);font-size:13px;line-height:1.5;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;min-height:59px}
.kh-hub-card-foot{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:15px}
.kh-hub-inline-action{font-size:12px;font-weight:850;color:var(--kh-primary)!important}
.kh-hub-side{display:grid;gap:14px;position:sticky;top:126px}
.kh-hub-side-card{padding:20px;border:1px solid var(--kh-line);border-radius:18px;background:#fff;box-shadow:var(--kh-shadow)}
.kh-hub-side-card h3{margin:5px 0 14px;color:var(--kh-ink);font-size:19px;line-height:1.2}
.kh-hub-create-list{display:grid;gap:5px}
.kh-hub-create-list button,.kh-hub-create-list a{width:100%;display:grid;grid-template-columns:25px 1fr 20px;gap:7px;align-items:center;text-align:left;padding:10px 7px;border:0;border-radius:10px;background:transparent;color:var(--kh-text)}
.kh-hub-create-list button:hover,.kh-hub-create-list a:hover{background:var(--kh-surface-soft);color:var(--kh-primary)}
.kh-hub-create-list button b,.kh-hub-create-list a b{font-size:13px}
.kh-hub-create-list button i,.kh-hub-create-list a i{font-style:normal;text-align:right;color:var(--kh-faint)}
.kh-hub-keep p{margin:0 0 12px;color:var(--kh-muted);font-size:13px}
.kh-hub-keep a{display:block;padding:9px 0;border-top:1px solid var(--kh-line);color:var(--kh-primary);font-size:13px;font-weight:850}
.kh-hub-empty{grid-column:1/-1;padding:60px 25px;text-align:center;border:1px dashed var(--kh-line-strong);border-radius:20px;background:#fff}
.kh-hub-empty>div{font-size:40px}.kh-hub-empty h2{margin:10px 0 5px;color:var(--kh-ink)}.kh-hub-empty p{color:var(--kh-muted)}
.kh-hub-modal{position:fixed;inset:0;z-index:10000;display:grid;place-items:center;padding:18px}
.kh-hub-modal[hidden]{display:none}
.kh-hub-modal-backdrop{position:absolute;inset:0;background:rgba(16,24,40,.52);backdrop-filter:blur(5px)}
.kh-hub-modal-card{position:relative;width:min(760px,100%);max-height:min(90vh,900px);overflow:auto;border:1px solid rgba(255,255,255,.45);border-radius:22px;background:#fff;box-shadow:var(--kh-shadow-lg);padding:22px}
.kh-hub-modal-head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:16px}
.kh-hub-modal-head h2{margin:3px 0 0;color:var(--kh-ink);font-size:26px;letter-spacing:-.03em}
.kh-hub-close{width:38px;height:38px;border:0;border-radius:11px;background:var(--kh-surface-soft);color:var(--kh-muted);font-size:23px}
.kh-hub-close:hover{background:#eef2ff;color:var(--kh-primary)}
.kh-hub-type-picker{display:flex;gap:7px;overflow:auto;padding-bottom:10px;margin-bottom:10px;scrollbar-width:none}
.kh-hub-type-picker::-webkit-scrollbar{display:none}
.kh-hub-type-picker button{display:inline-flex;align-items:center;gap:6px;white-space:nowrap;padding:9px 11px;border:1px solid var(--kh-line);border-radius:999px;background:#fff;color:var(--kh-muted);font-size:12px;font-weight:850}
.kh-hub-type-picker button.is-active{border-color:#b8c2f5;background:#eef2ff;color:var(--kh-primary)}
.kh-hub-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:13px}
.kh-hub-field{display:grid;gap:6px;color:var(--kh-text);font-size:12px;font-weight:850}
.kh-hub-field-wide{grid-column:1/-1}
.kh-hub-field em{font-style:normal;color:var(--kh-faint);font-weight:650}
.kh-hub-field input,.kh-hub-field textarea,.kh-hub-field select{width:100%;border:1px solid var(--kh-line);border-radius:11px;background:#fff;color:var(--kh-ink);padding:11px 12px;outline:0}
.kh-hub-field textarea{resize:vertical;min-height:120px}
.kh-hub-field input:focus,.kh-hub-field textarea:focus{border-color:#aab8f5;box-shadow:var(--kh-focus)}
.kh-hub-check{grid-column:1/-1;display:flex;align-items:center;gap:8px;font-size:12px;font-weight:750;color:var(--kh-text)}
.kh-hub-check input{width:17px;height:17px}
.kh-hub-conditional{display:none}
.kh-hub-special-note{margin-top:14px;padding:11px 13px;border-radius:11px;background:#f7f8ff;color:var(--kh-muted);font-size:12px;line-height:1.5}
.kh-hub-form-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;margin-top:16px}
#kh-hub-publish-status{margin-right:auto;color:var(--kh-primary);font-size:12px;font-weight:800}
.kh-hub-login{text-align:center;padding:35px 10px}.kh-hub-login p{color:var(--kh-muted)}
body.kh-hub-modal-open{overflow:hidden}
.kh-hub-card[hidden]{display:none}

@media (max-width: 1000px){
  .kh-hub-layout{grid-template-columns:1fr}
  .kh-hub-side{position:static;grid-template-columns:1fr 1fr}
}
@media (max-width: 760px){
  .kh-hub-hero{padding:34px 0 25px}
  .kh-hub-hero-grid{grid-template-columns:1fr;gap:18px}
  .kh-hub-hero h1{font-size:38px}
  .kh-hub-hero p{font-size:15px}
  .kh-hub-toolbar{top:68px}
  .kh-hub-stream{grid-template-columns:1fr}
  .kh-hub-side{grid-template-columns:1fr}
  .kh-hub-media{height:200px}
  .kh-hub-form-grid{grid-template-columns:1fr}
  .kh-hub-field-wide,.kh-hub-check{grid-column:auto}
  .kh-hub-modal{padding:8px}
  .kh-hub-modal-card{padding:16px;border-radius:18px;max-height:94vh}
  .kh-hub-form-actions{position:sticky;bottom:-16px;padding:12px 0 4px;background:#fff}
}
@media (max-width: 520px){
  .kh-hub-hero h1{font-size:32px}
  .kh-hub-hero-actions .kh-button{width:100%}
  .kh-hub-hero-panel{padding:16px}
  .kh-hub-section{padding-top:16px}
  .kh-hub-toolbar{display:block}
  .kh-hub-toolbar>.kh-button{margin-top:9px;width:100%}
  .kh-hub-filters{margin-inline:-4px}
  .kh-hub-card-body{padding:14px}
}

/* =========================================================
   KIARAHUB v52 — CONSTELLATION DESIGN LAYER
   A connected discovery system: Intent → Stream → Action.
   This layer intentionally supersedes the visual treatment of
   v51 without introducing another stylesheet.
   ========================================================= */
/* Tokens for this layer now live in the single :root block at the top
   of the file (KIARAHUB V50 — SINGLE DESIGN SYSTEM) so there is one
   source of truth for color, radius and shadow across the theme. */
body.kh-site{background:var(--kh-bg);}
.kh-shell-header{background:rgba(248,250,253,.84);border-bottom:1px solid rgba(220,225,235,.8);backdrop-filter:blur(22px) saturate(170%)}
.kh-shell-header__inner{gap:14px}
.kh-brand{gap:9px}
.kh-brand__mark{width:42px;height:42px;border-radius:15px;background:conic-gradient(from 210deg,#5b45f5,#8b5cf6,#13a8a8,#5b45f5);box-shadow:0 10px 28px rgba(91,69,245,.25);position:relative}
.kh-brand__mark:after{content:"";position:absolute;inset:9px;border:2px solid rgba(255,255,255,.8);border-radius:9px;transform:rotate(45deg)}
.kh-brand__name{font-size:21px}
.kh-global-search{max-width:440px}
.kh-global-search input{height:46px;border-radius:15px;background:#fff;border-color:#e0e5ee;padding-left:43px;box-shadow:0 4px 18px rgba(16,24,40,.035)}
.kh-primary-nav{gap:2px}
.kh-primary-nav a{padding:10px 12px;border-radius:13px;font-size:12px}
.kh-primary-nav a.is-active{background:var(--kh-surface-strong);color:var(--kh-primary)}
.kh-button{border-radius:14px;padding:12px 17px;font-size:13px}
.kh-button--primary{background:linear-gradient(135deg,#5b45f5,#7c55ef);box-shadow:0 10px 25px rgba(91,69,245,.2)}
.kh39-section{padding:64px 0}

/* Explore: intent-first discovery */
.kh-hub{min-height:70vh}
.kh-hub-hero{padding:46px 0 28px;background:radial-gradient(circle at 78% 10%,rgba(91,69,245,.18),transparent 27%),radial-gradient(circle at 15% 0%,rgba(19,168,168,.10),transparent 25%),linear-gradient(180deg,#fbfcff 0%,#f3f5f9 100%);border-bottom:1px solid #e4e8f0}
.kh-hub-hero-grid{grid-template-columns:minmax(0,1.15fr) minmax(300px,.85fr);gap:34px;align-items:end}
.kh-eyebrow{display:inline-flex;align-items:center;gap:7px;color:#5b45f5;font-size:10px;font-weight:950;letter-spacing:.13em}
.kh-eyebrow:before{content:"";width:7px;height:7px;border-radius:50%;background:#13a8a8;box-shadow:0 0 0 4px rgba(19,168,168,.10)}
.kh-hub-hero h1{font-size:clamp(43px,6.4vw,78px);line-height:.91;letter-spacing:-.075em;margin:12px 0 17px;max-width:800px;color:#0b1020}
.kh-hub-hero h1 em{font-style:normal;background:linear-gradient(100deg,#5b45f5,#13a8a8);-webkit-background-clip:text;background-clip:text;color:transparent}
.kh-hub-hero p{max-width:690px;font-size:16px;color:#667085;margin:0}
.kh-hub-hero-actions{display:flex;flex-wrap:wrap;gap:9px;margin-top:24px}
.kh-hub-hero-panel{padding:20px;border:1px solid #e0e5ef;border-radius:25px;background:rgba(255,255,255,.78);box-shadow:var(--kh-shadow);backdrop-filter:blur(15px)}
.kh-hub-hero-panel__top{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:14px}
.kh-hub-hero-panel strong{color:#0b1020;font-size:15px}
.kh-hub-live{font-size:10px;font-weight:900;color:#16803c;background:#eaf8ef;padding:6px 9px;border-radius:999px}
.kh-hub-intent-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
.kh-hub-intent{border:1px solid #e2e6ee;border-radius:16px;background:#fff;padding:12px;text-align:left;transition:.18s;min-height:70px}
.kh-hub-intent:hover,.kh-hub-intent.is-active{transform:translateY(-2px);border-color:#bfc7f7;box-shadow:0 10px 25px rgba(16,24,40,.07);background:#f8f7ff}
.kh-hub-intent b{display:block;color:#10162b;font-size:12px}.kh-hub-intent span{display:block;font-size:18px;margin-bottom:5px}.kh-hub-intent small{color:#8a94a6;font-size:10px}
.kh-hub-section{padding-top:24px}
.kh-hub-toolbar{position:sticky;top:76px;z-index:50;display:flex;align-items:center;justify-content:space-between;gap:15px;padding:10px 0;background:rgba(243,245,249,.88);backdrop-filter:blur(15px)}
.kh-hub-toolbar__label{font-size:11px;font-weight:900;color:#10162b;white-space:nowrap}
.kh-hub-filters{display:flex;gap:6px;overflow:auto;scrollbar-width:none;flex:1}.kh-hub-filters::-webkit-scrollbar{display:none}
.kh-hub-filters button{border:1px solid #dfe4ec;background:#fff;border-radius:999px;padding:9px 13px;color:#697386;font-size:11px;font-weight:850;white-space:nowrap;transition:.16s}
.kh-hub-filters button:hover{border-color:#bfc7f7;color:#5b45f5}.kh-hub-filters button.is-active{background:#10162b;border-color:#10162b;color:#fff;box-shadow:0 7px 16px rgba(16,22,43,.14)}
.kh-hub-layout{display:block}
.kh-hub-stream{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:14px;align-items:start;padding-bottom:70px}
.kh-hub-card{grid-column:span 4;min-width:0;overflow:hidden;background:#fff;border:1px solid #e1e5ed;border-radius:22px;box-shadow:0 4px 20px rgba(16,24,40,.045);transition:transform .2s,box-shadow .2s,border-color .2s;position:relative}
.kh-hub-card:nth-child(3n+1){grid-column:span 5}.kh-hub-card:nth-child(3n+2){grid-column:span 4}.kh-hub-card:nth-child(3n){grid-column:span 3}
.kh-hub-card:hover{transform:translateY(-4px);border-color:#cbd2e5;box-shadow:var(--kh-shadow-lg)}
.kh-hub-media{height:190px;position:relative;background:linear-gradient(135deg,#151a30,#5b45f5);overflow:hidden}
.kh-hub-media:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 35%,rgba(9,13,28,.58) 100%);pointer-events:none}
.kh-hub-media img{width:100%;height:100%;object-fit:cover;transition:transform .5s}.kh-hub-card:hover .kh-hub-media img{transform:scale(1.035)}
.kh-hub-placeholder{height:100%;display:grid;place-items:center;color:#fff;background:radial-gradient(circle at 20% 20%,rgba(19,168,168,.65),transparent 28%),linear-gradient(135deg,#141a31,#684ce9)}
.kh-hub-placeholder span{font-size:52px;filter:drop-shadow(0 12px 20px rgba(0,0,0,.18))}
.kh-hub-type{position:absolute;z-index:2;left:13px;top:13px;padding:7px 9px;border-radius:999px;background:rgba(255,255,255,.88);backdrop-filter:blur(10px);color:#11172a;font-size:9px;font-weight:950;text-transform:uppercase;letter-spacing:.06em}
.kh-hub-card--job .kh-hub-type{color:#4b39cf}.kh-hub-card--parking .kh-hub-type{color:#087f7f}.kh-hub-card--classified .kh-hub-type{color:#b44d20}.kh-hub-card--property .kh-hub-type{color:#7b3f98}.kh-hub-card--restaurant .kh-hub-type{color:#b54708}.kh-hub-card--reel .kh-hub-type{color:#c02668}.kh-hub-card--game .kh-hub-type{color:#166534}
.kh-hub-card-body{padding:17px 17px 15px}.kh-hub-meta{font-size:10px;color:#8a94a6;font-weight:750;min-height:16px}.kh-hub-card h3{margin:5px 0 7px;font-size:20px;line-height:1.08;letter-spacing:-.035em;color:#10162b}.kh-hub-card h3 a:hover{color:#5b45f5}.kh-hub-card p{font-size:12px;line-height:1.55;color:#667085;margin:0;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.kh-hub-card-foot{display:flex;align-items:center;gap:8px;margin-top:15px}.kh-hub-inline-action{font-size:11px;font-weight:900;color:#5b45f5;margin-left:auto}.kh-hub-card .kh-button{padding:10px 12px;font-size:11px}
.kh-hub-connect{margin-top:12px;padding-top:11px;border-top:1px solid #edf0f4;display:flex;gap:6px;flex-wrap:wrap}.kh-hub-connect a{font-size:9px;font-weight:850;color:#667085;background:#f5f7fa;border-radius:999px;padding:6px 8px}.kh-hub-connect a:hover{background:#eef0ff;color:#5b45f5}
.kh-hub-empty{grid-column:1/-1;padding:75px 25px;text-align:center;border:1px dashed #cdd4e1;border-radius:24px;background:#fff}.kh-hub-empty h2{color:#10162b}
.kh-hub-side{display:none}
.kh-hub-modal-card{border-radius:26px;box-shadow:0 30px 100px rgba(0,0,0,.22)}
.kh-hub-type-picker button{border-radius:999px}.kh-hub-type-picker button.is-active{background:#10162b;color:#fff;border-color:#10162b}
.kh-hub-special-note{border-radius:14px;background:#f5f7ff;border:1px solid #e3e6ff}

/* Global page rhythm and legacy cards */
.kh39-card,.kh39-path,.kh39-service,.kh39-job-row,.kh39-home-side,.kh39-profile-mini,.kh39-network-menu,.kh39-side,.kh39-composer,.kh-feed-card,.kh-social-v2-card{border-radius:22px!important;box-shadow:0 4px 22px rgba(16,24,40,.045)!important;border-color:#e1e5ed!important}
.kh39-path:hover,.kh39-service:hover,.kh39-job-row:hover{box-shadow:var(--kh-shadow)!important;border-color:#cbd2e5!important}
.kh-footer{border-top:1px solid #e1e5ed!important;background:#10162b!important}
.kh-mobile-nav{background:rgba(255,255,255,.90)!important;border-color:#dfe4ec!important;backdrop-filter:blur(22px)!important;-webkit-backdrop-filter:blur(22px)!important}
.kh-mobile-nav a.is-active{color:#5b45f5!important}

@media(max-width:1000px){
 .kh-primary-nav a:nth-child(5){display:none}
 .kh-hub-card,.kh-hub-card:nth-child(3n+1),.kh-hub-card:nth-child(3n+2),.kh-hub-card:nth-child(3n){grid-column:span 6}
 .kh-hub-hero-grid{grid-template-columns:1fr}
}
@media(max-width:760px){
 .kh-shell-header{height:64px}.kh-global-search{order:3;flex-basis:100%;display:none}.kh-primary-nav{display:none}.kh-brand__name{font-size:19px}
 .kh-hub-hero{padding:30px 0 20px}.kh-hub-hero h1{font-size:41px}.kh-hub-hero p{font-size:14px}.kh-hub-hero-actions .kh-button{flex:1;min-width:145px}
 .kh-hub-intent-grid{grid-template-columns:repeat(3,1fr)}.kh-hub-intent{min-height:66px;padding:9px}.kh-hub-intent small{display:none}
 .kh-hub-toolbar{top:64px;padding:8px 0}.kh-hub-toolbar__label{display:none}
 .kh-hub-stream{grid-template-columns:1fr;gap:12px}.kh-hub-card,.kh-hub-card:nth-child(3n+1),.kh-hub-card:nth-child(3n+2),.kh-hub-card:nth-child(3n){grid-column:1}
 .kh-hub-media{height:210px}.kh-hub-card h3{font-size:21px}
 .kh-hub-section{width:min(calc(100% - 24px),var(--kh-container));padding-top:8px}
}
@media(max-width:430px){
 .kh-hub-hero h1{font-size:35px}.kh-hub-intent span{font-size:16px}.kh-hub-intent b{font-size:10px}.kh-hub-hero-actions{display:grid;grid-template-columns:1fr 1fr}.kh-hub-hero-actions .kh-button:first-child{grid-column:1/-1}
}

/* v55: unified classifieds + property marketplace is rendered by page-marketplace.php */
/* v58 — unified user-generated marketplace */
.kh-marketplace-page{background:#f7f8fc;min-height:70vh;padding:18px 0 70px}.kh-market-hero{display:grid;grid-template-columns:minmax(0,1.4fr) .6fr;gap:22px;padding:48px 0 30px}.kh-market-hero>div,.kh-market-cta,.kh-market-publisher,.kh-market-card{background:#fff;border:1px solid #e5e7ef;border-radius:26px;box-shadow:0 12px 35px rgba(16,24,40,.055)}.kh-market-hero>div:first-child{padding:38px}.kh-market-kicker,.kh-market-section-head>div>span{font-size:11px;letter-spacing:.14em;font-weight:850;color:#6046d8}.kh-market-hero h1{font-size:clamp(38px,6vw,68px);line-height:.96;letter-spacing:-.06em;margin:12px 0 16px}.kh-market-hero h1 span{background:linear-gradient(90deg,#6046d8,#0ea5a8);-webkit-background-clip:text;background-clip:text;color:transparent}.kh-market-hero p{max-width:700px;color:#667085;font-size:17px;line-height:1.65}.kh-market-search{display:grid;grid-template-columns:1fr 190px auto;gap:9px;margin-top:24px}.kh-market-search input,.kh-market-publisher input,.kh-market-publisher select,.kh-market-publisher textarea{width:100%;box-sizing:border-box;border:1px solid #dfe3eb;border-radius:13px;padding:13px 14px;background:#fff;font:inherit}.kh-market-search button,.kh-market-button{border:0;border-radius:13px;background:#171c2d;color:#fff;font-weight:850;padding:13px 18px;text-decoration:none;cursor:pointer}.kh-market-cta{padding:28px;display:flex;flex-direction:column;justify-content:center;background:linear-gradient(145deg,#171c2d,#302657);color:#fff}.kh-market-cta-icon{width:54px;height:54px;border-radius:16px;background:#fff;color:#171c2d;display:grid;place-items:center;font-size:30px;margin-bottom:18px}.kh-market-cta strong{font-size:26px}.kh-market-cta p{color:#d9d7e7;line-height:1.55}.kh-market-cta a{color:#fff;text-decoration:none;font-weight:850;margin-top:8px}.kh-market-alert{margin:0 0 18px;padding:14px 16px;border-radius:14px;background:#eefaf5;color:#176b4a}.kh-market-alert.error{background:#fff1f0;color:#a3312d}.kh-market-cats{padding:10px 0 28px}.kh-market-section-head{display:flex;justify-content:space-between;align-items:end;margin-bottom:14px}.kh-market-section-head h2,.kh-market-results-head h2{margin:5px 0 0;font-size:28px;letter-spacing:-.035em}.kh-market-cat-row{display:flex;gap:9px;flex-wrap:wrap}.kh-market-cat-row a{padding:10px 15px;border-radius:999px;background:#fff;border:1px solid #e5e7ef;color:#475467;text-decoration:none;font-size:13px;font-weight:800}.kh-market-cat-row a.active{background:#171c2d;color:#fff;border-color:#171c2d}.kh-market-layout{display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:22px}.kh-market-results-head{display:flex;justify-content:space-between;align-items:end;margin:0 0 14px}.kh-market-results-head>small{color:#667085}.kh-market-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.kh-market-card{overflow:hidden}.kh-market-media{display:block;height:205px;background:#eef0f5;text-decoration:none}.kh-market-media img{width:100%;height:100%;object-fit:cover}.kh-market-media span{height:100%;display:grid;place-items:center;font-size:46px;color:#9aa1b2}.kh-market-card-body{padding:16px}.kh-market-card-body small{font-size:10px;text-transform:uppercase;letter-spacing:.12em;font-weight:850;color:#6046d8}.kh-market-card h3{font-size:17px;margin:7px 0}.kh-market-card h3 a{color:#101828;text-decoration:none}.kh-market-card strong{font-size:18px}.kh-market-card p{font-size:12px;color:#667085;margin:8px 0 0}.kh-market-publisher{padding:22px;align-self:start;position:sticky;top:18px}.kh-market-publisher h2{margin:5px 0;font-size:28px}.kh-market-publisher>p{color:#667085;font-size:13px;line-height:1.55}.kh-market-publisher form{display:grid;gap:11px;margin-top:18px}.kh-market-publisher label{display:grid;gap:6px;font-size:12px;font-weight:800;color:#344054}.kh-market-two{display:grid;grid-template-columns:1fr 1fr;gap:9px}.kh-market-publisher details{background:#f7f8fc;border-radius:13px;padding:12px}.kh-market-publisher summary{cursor:pointer;font-weight:800;font-size:12px}.kh-market-empty{background:#fff;border:1px dashed #cfd4df;border-radius:20px;padding:40px;text-align:center;color:#667085}.kh-market-empty strong{display:block;color:#101828;font-size:18px}.kh-market-single{padding:35px 0 70px}.kh-market-back{color:#6046d8;text-decoration:none;font-weight:800}.kh-market-single-grid{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(320px,.8fr);gap:28px;margin-top:18px}.kh-market-single-image,.kh-market-single-placeholder{width:100%;height:auto;max-height:650px;object-fit:cover;border-radius:28px;background:#eef0f5}.kh-market-single-placeholder{height:520px;display:grid;place-items:center;font-size:70px;color:#9aa1b2}.kh-market-single-card{background:#fff;border:1px solid #e5e7ef;border-radius:28px;padding:30px;box-shadow:0 15px 40px rgba(16,24,40,.06);align-self:start}.kh-market-single-card>span{font-size:11px;text-transform:uppercase;letter-spacing:.13em;font-weight:850;color:#6046d8}.kh-market-single-card h1{font-size:clamp(32px,5vw,52px);line-height:1;letter-spacing:-.05em}.kh-market-single-price{display:block;font-size:25px;margin:12px 0}.kh-market-single-content{color:#475467;line-height:1.75;margin:22px 0}.kh-market-secondary{display:inline-flex;margin-left:8px;padding:12px 15px;border-radius:13px;background:#f0f1f5;color:#101828;text-decoration:none;font-weight:800}
@media(max-width:900px){.kh-market-hero,.kh-market-layout,.kh-market-single-grid{grid-template-columns:1fr}.kh-market-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.kh-market-publisher{position:static}.kh-market-search{grid-template-columns:1fr}.kh-market-single-placeholder{height:320px}}
@media(max-width:600px){.kh-market-hero>div:first-child{padding:26px}.kh-market-grid{grid-template-columns:1fr}.kh-market-two{grid-template-columns:1fr}.kh-market-hero h1{font-size:42px}.kh-market-search input,.kh-market-search button{min-height:48px}}
/* v58 marketplace hardening */
.kh-honeypot{position:absolute!important;left:-10000px!important;width:1px!important;height:1px!important;opacity:0!important}.kh-market-search{grid-template-columns:minmax(0,1fr) 180px 150px auto}.kh-market-seller,.kh-market-seller-large{color:#667085!important;font-size:12px}.kh-market-actions{display:flex;gap:9px;flex-wrap:wrap}.kh-market-gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.kh-market-gallery img{width:100%;height:300px;object-fit:cover;border-radius:18px}.kh-market-status{font-size:12px;color:#667085;border-top:1px solid #eef0f4;padding-top:15px}.kh-market-pagination{margin:24px 0;display:flex;justify-content:center}.kh-market-pagination .page-numbers{display:inline-flex;min-width:38px;height:38px;align-items:center;justify-content:center;margin:0 3px;border:1px solid #e5e7ef;border-radius:10px;text-decoration:none;color:#344054;background:#fff;font-weight:800}.kh-market-pagination .current{background:#171c2d;color:#fff;border-color:#171c2d}.kh-my-listings{padding:35px 0 70px}.kh-my-list-grid{display:grid;gap:14px}.kh-my-list-card{display:grid;grid-template-columns:150px 1fr;gap:18px;background:#fff;border:1px solid #e5e7ef;border-radius:20px;padding:14px}.kh-my-list-card img,.kh-my-list-card .kh-market-single-placeholder{width:150px;height:120px;object-fit:cover;border-radius:14px}.kh-my-list-card h2{margin:7px 0}.kh-my-list-card h2 a{color:#101828;text-decoration:none}.kh-owner-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:12px}.kh-owner-actions a{font-size:12px;font-weight:850;color:#6046d8;text-decoration:none}.kh-edit-listing{background:#fff;border:1px solid #e5e7ef;border-radius:22px;padding:22px;margin:0 0 20px}.kh-edit-listing form{display:grid;gap:12px}.kh-edit-listing label{display:grid;gap:6px;font-weight:800;font-size:12px}.kh-edit-listing input,.kh-edit-listing textarea{width:100%;box-sizing:border-box;border:1px solid #dfe3eb;border-radius:12px;padding:12px;font:inherit}.kh-market-specific{display:grid;gap:8px}.kh-market-specific>div[hidden]{display:none!important}
@media(max-width:900px){.kh-market-search{grid-template-columns:1fr 1fr}.kh-market-search button{grid-column:1/-1}.kh-market-layout{grid-template-columns:1fr}.kh-market-publisher{position:static}.kh-market-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){.kh-market-hero{grid-template-columns:1fr}.kh-market-hero>div:first-child{padding:25px}.kh-market-grid{grid-template-columns:1fr}.kh-market-search{grid-template-columns:1fr}.kh-market-search button{grid-column:auto}.kh-my-list-card{grid-template-columns:1fr}.kh-my-list-card img,.kh-my-list-card .kh-market-single-placeholder{width:100%;height:190px}.kh-market-gallery{grid-template-columns:1fr}.kh-market-gallery img{height:240px}}

/* =========================================================
   KIARAHUB v60 — urgency + nearby experience
   ========================================================= */
.kh-try-bar{background:#101828;color:#fff;border-bottom:1px solid rgba(255,255,255,.08)}
.kh-try-head{display:flex;align-items:center;justify-content:space-between;gap:22px;padding:18px 0 14px}
.kh-try-head>div{display:grid;gap:3px}
.kh-try-head span{font-size:10px;font-weight:950;letter-spacing:.12em;color:#aab8f5}
.kh-try-head strong{font-size:18px;letter-spacing:-.02em}
.kh-try-head small{color:#b9c2d0;font-size:12px}
.kh-try-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;padding-bottom:14px}
.kh-try-grid a{display:grid;gap:2px;padding:11px 12px;border:1px solid rgba(255,255,255,.1);border-radius:12px;background:rgba(255,255,255,.05);transition:.18s}
.kh-try-grid a:hover{background:rgba(255,255,255,.1);transform:translateY(-1px)}
.kh-try-grid b{font-size:12px}.kh-try-grid span{font-size:11px;color:#b9c2d0}.kh-try-grid em{font-style:normal;font-size:11px;color:#cbd5ff;font-weight:850;margin-top:3px}
.kh-nearby-experience{background:#fff;border-bottom:1px solid var(--kh-line)}
.kh-nearby-inner{min-height:62px;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:10px 0}
.kh-nearby-copy{display:grid;min-width:0}
.kh-nearby-kicker{font-size:9px;letter-spacing:.12em;font-weight:950;color:var(--kh-primary)}
.kh-nearby-copy strong{font-size:14px;color:var(--kh-ink)}
.kh-nearby-copy span:last-child{font-size:11px;color:var(--kh-muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.kh-nearby-results{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;padding:0 0 13px}
.kh-nearby-card{display:flex;gap:9px;min-width:0;padding:9px;border:1px solid var(--kh-line);border-radius:12px;background:var(--kh-surface-soft);transition:.16s}
.kh-nearby-card:hover{border-color:#cbd5ff;transform:translateY(-1px)}
.kh-nearby-thumb{width:42px;height:42px;flex:0 0 42px;border-radius:10px;background:#eef2ff;color:var(--kh-primary);display:grid;place-items:center;overflow:hidden;font-weight:900}
.kh-nearby-thumb img{width:100%;height:100%;object-fit:cover}
.kh-nearby-card>span:last-child{min-width:0;display:grid;gap:1px}
.kh-nearby-card small,.kh-nearby-card em{font-size:9px;color:var(--kh-muted);font-style:normal}
.kh-nearby-card strong{font-size:11px;color:var(--kh-ink);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.kh-nearby-empty{grid-column:1/-1;padding:10px;border:1px dashed var(--kh-line-strong);border-radius:12px;font-size:12px;color:var(--kh-muted)}
.kh-nearby-empty a{color:var(--kh-primary);font-weight:850}
.kh-ad-nearby{padding:12px 0 18px;text-align:center}
.kh-ad-nearby__label{display:block;font-size:9px;letter-spacing:.1em;text-transform:uppercase;color:var(--kh-faint);margin-bottom:5px}
@media(max-width:900px){
 .kh-try-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
 .kh-nearby-results{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:620px){
 .kh-try-head{align-items:flex-start;flex-direction:column}
 .kh-try-head .kh-button{width:100%}
 .kh-try-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .kh-nearby-inner{align-items:flex-start;flex-direction:column}
 .kh-nearby-locate{width:100%}
 .kh-nearby-copy span:last-child{white-space:normal}
 .kh-nearby-results{grid-template-columns:1fr}
}

/* v60 cookie-personalized content */
.kh-cookie-personalized .kh-cookie-context{display:block;margin-top:6px;color:#667085;font-size:.86rem}
.kh-cookie-content-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.kh-cookie-content-card{display:flex;gap:12px;min-height:92px;padding:14px;border:1px solid #e4e7ec;border-radius:16px;background:#fff;text-decoration:none;color:inherit;box-shadow:0 1px 2px rgba(16,24,40,.04)}
.kh-cookie-content-card:hover{transform:translateY(-1px);box-shadow:0 5px 18px rgba(16,24,40,.08)}
.kh-cookie-content-card>span:last-child{display:flex;flex:1;min-width:0;flex-direction:column;gap:5px}
.kh-cookie-content-card strong{font-size:.96rem;line-height:1.25}
.kh-cookie-content-card small{color:#667085;line-height:1.35}
.kh-cookie-content-card em{font-style:normal;font-size:.82rem;font-weight:700;margin-top:auto}
.kh-cookie-thumb{width:72px;height:72px;flex:0 0 72px;border-radius:12px;overflow:hidden;background:#f2f4f7}
.kh-cookie-thumb img{width:100%;height:100%;object-fit:cover}
@media(max-width:760px){.kh-cookie-content-grid{grid-template-columns:1fr}.kh-cookie-content-card{min-height:82px}}

/* KiaraHub ad layout: visible, stable, and separated from interactive controls. */
.kh-ad-incontent{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:6px;clear:both;margin:28px auto;padding:10px 8px;min-height:250px;max-width:100%;box-sizing:border-box;overflow:hidden;}
.kh-ad-incontent:before{content:'Advertisement';font-size:9px;line-height:1;text-transform:uppercase;letter-spacing:.12em;color:var(--kh-faint,#8a8f98);}
@media (max-width:767px){
 
 
 
 .kh-ad-incontent{margin:24px auto;min-height:250px;padding-left:4px;padding-right:4px}
}
@media (min-width:768px) and (max-width:1199px){
 
}
@media (min-width:1200px){
 
}


/* v61 profile creator/editor */
.kh-profile-success{margin:0 0 16px;padding:12px 15px;border:1px solid #bbf7d0;background:#f0fdf4;color:#166534;border-radius:14px;font-weight:600}.kh-profile-hero{display:flex;gap:24px;align-items:center}.kh-profile-avatar-wrap{flex:0 0 150px}.kh-profile-avatar-img{width:150px;height:150px;border-radius:50%;object-fit:cover;display:block;background:#eef2ff;border:5px solid #fff;box-shadow:0 10px 30px rgba(15,23,42,.12)}.kh-profile-headline{font-size:17px;font-weight:600;margin:6px 0}.kh-profile-bio{max-width:760px;color:#475569;line-height:1.65;margin:10px 0}.kh-profile-meta{display:flex;gap:14px;flex-wrap:wrap;font-size:14px;color:#64748b;margin:10px 0}.kh-profile-meta a{color:inherit;text-decoration:none}.kh-profile-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:14px}.kh-profile-editor{scroll-margin-top:90px}.kh-profile-editor-grid{display:grid;grid-template-columns:180px minmax(0,1fr);gap:28px}.kh-profile-upload{display:flex;flex-direction:column;align-items:center;text-align:center;gap:10px}.kh-editor-avatar{width:150px;height:150px;border-radius:50%;object-fit:cover;background:#f1f5f9;border:4px solid #fff;box-shadow:0 8px 24px rgba(15,23,42,.1)}.kh-upload-btn{position:relative;overflow:hidden;cursor:pointer}.kh-upload-btn input{position:absolute;inset:0;opacity:0;cursor:pointer}.kh-profile-editor .kh-field{margin-bottom:14px}.kh-profile-editor label{display:block;font-weight:650;margin-bottom:6px}.kh-profile-editor input,.kh-profile-editor textarea,.kh-profile-editor select{width:100%;box-sizing:border-box;border:1px solid #dbe2ea;border-radius:12px;padding:12px 13px;background:#fff;font:inherit}.kh-profile-editor textarea{resize:vertical}.kh-profile-save{margin-top:18px}.kh-profile-upload small{font-size:12px;color:#64748b;line-height:1.45}@media(max-width:700px){.kh-profile-hero{align-items:flex-start;flex-direction:column}.kh-profile-avatar-wrap{flex-basis:auto}.kh-profile-avatar-img{width:112px;height:112px}.kh-profile-editor-grid{grid-template-columns:1fr;gap:20px}.kh-profile-upload{align-items:flex-start;text-align:left}.kh-editor-avatar{width:112px;height:112px}.kh-profile-actions .kh-btn{flex:1;text-align:center}.kh-profile-meta{gap:8px}.kh-profile-success{font-size:14px}}

/* KiaraHub consolidated super-app hub */
.kh-superapp{background:linear-gradient(180deg,#f8fbff 0,#fff 42%);min-height:70vh}
.kh-super-hero{padding:clamp(42px,7vw,88px) 0 46px;background:radial-gradient(circle at 82% 22%,rgba(99,102,241,.12),transparent 34%),radial-gradient(circle at 15% 0,rgba(14,165,233,.12),transparent 30%)}
.kh-super-hero .kh-container{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(280px,.7fr);gap:28px;align-items:center}
.kh-super-copy h1{font-size:clamp(40px,6vw,76px);line-height:.98;letter-spacing:-.045em;margin:10px 0 18px;max-width:850px}.kh-super-copy p{font-size:clamp(17px,2vw,21px);line-height:1.65;max-width:760px;color:#475569}.kh-super-actions,.kh-super-links{display:flex;gap:10px;flex-wrap:wrap;margin-top:22px}
.kh-super-account{padding:26px;border:1px solid #dbe5f0;border-radius:24px;background:rgba(255,255,255,.86);box-shadow:0 18px 50px rgba(15,23,42,.08)}.kh-super-account-icon{width:52px;height:52px;border-radius:16px;display:grid;place-items:center;background:#eef2ff;font-size:28px;margin-bottom:14px}.kh-super-account p{color:#64748b;line-height:1.55;margin-bottom:0}
.kh-super-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}.kh-super-card{padding:25px;border:1px solid #e2e8f0;border-radius:24px;background:#fff;box-shadow:0 10px 35px rgba(15,23,42,.055);display:flex;flex-direction:column;min-height:330px}.kh-super-card-icon{width:48px;height:48px;border-radius:15px;background:#f1f5f9;display:grid;place-items:center;font-size:24px;margin-bottom:18px}.kh-super-card h3{font-size:25px;margin:6px 0 8px}.kh-super-card p{color:#64748b;line-height:1.6;margin:0}.kh-super-links{margin-top:auto}.kh-super-links .kh-btn{flex:1;min-width:125px;text-align:center}.kh-super-how{padding-top:10px}.kh-super-how-grid{display:grid;grid-template-columns:1fr 1fr;gap:30px;align-items:start;padding:34px;border:1px solid #e2e8f0;border-radius:28px;background:#f8fafc}.kh-super-how h2{font-size:36px;margin:8px 0 12px}.kh-super-how p{color:#64748b;line-height:1.7}.kh-super-steps{display:grid;gap:12px}.kh-super-steps>div{display:grid;grid-template-columns:42px 1fr;column-gap:12px;padding:15px;border-radius:16px;background:#fff;border:1px solid #e5e7eb}.kh-super-steps b{grid-row:span 2;color:#4f46e5}.kh-super-steps span{color:#64748b;font-size:14px;margin-top:3px}
.kh-job-company{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:0 0 16px;font-size:18px}.kh-job-company a{font-size:14px}
@media(max-width:1050px){.kh-super-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.kh-super-hero .kh-container{grid-template-columns:1fr}.kh-super-account{max-width:620px}}
@media(max-width:700px){.kh-super-grid,.kh-super-how-grid{grid-template-columns:1fr}.kh-super-hero{padding-top:34px}.kh-super-copy h1{font-size:42px}.kh-super-card{min-height:0}.kh-super-actions .kh-btn,.kh-super-links .kh-btn{width:100%}.kh-super-how-grid{padding:22px}.kh-super-how h2{font-size:30px}}

/* Roast & Reboot — contestant experience */
.kh-rr-page{background:linear-gradient(180deg,#0b1020 0,#141a2f 34%,#fff 34%);min-height:100vh}.kh-rr-hero{color:#fff;padding:clamp(58px,8vw,110px) 0 78px}.kh-rr-hero h1{font-size:clamp(46px,8vw,92px);letter-spacing:-.055em;line-height:.95;margin:10px 0 18px}.kh-rr-hero p{max-width:760px;font-size:clamp(17px,2vw,22px);line-height:1.6;color:#d9def0}.kh-rr-hero-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:26px}.kh-rr-hero .kh-btn:not(.kh-btn-primary){background:rgba(255,255,255,.08);border-color:rgba(255,255,255,.2);color:#fff}.kh-rr-content{display:grid;grid-template-columns:minmax(0,.72fr) minmax(0,1.28fr);gap:28px;margin-top:-30px;padding-bottom:70px}.kh-rr-story{padding:30px;border-radius:26px;background:#f8fafc;border:1px solid #e2e8f0;height:max-content;position:sticky;top:90px}.kh-rr-story h2{font-size:32px;line-height:1.1;margin:10px 0 14px}.kh-rr-story p{color:#64748b;line-height:1.7}.kh-rr-pills{display:flex;gap:8px;flex-wrap:wrap;margin-top:20px}.kh-rr-pills span{padding:8px 11px;border-radius:999px;background:#fff;border:1px solid #e2e8f0;font-size:12px;font-weight:750}.kh-rr-form-card{background:#fff;border:1px solid #e2e8f0;border-radius:28px;box-shadow:0 18px 60px rgba(15,23,42,.1);padding:clamp(20px,4vw,38px)}.kh-rr-section{padding:0 0 30px;margin:0 0 30px;border-bottom:1px solid #edf0f5}.kh-rr-section h2{font-size:25px;margin:6px 0 18px}.kh-rr-kicker{font-size:10px;letter-spacing:.14em;text-transform:uppercase;font-weight:900;color:#6366f1}.kh-rr-help{font-size:13px;color:#64748b;line-height:1.5}.kh-rr-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.kh-rr-form label{display:block;margin-bottom:14px}.kh-rr-form label>span{display:block;font-size:13px;font-weight:800;margin-bottom:7px;color:#1e293b}.kh-rr-form input,.kh-rr-form textarea{width:100%;box-sizing:border-box;border:1px solid #d9e0ea;border-radius:13px;padding:12px 13px;background:#fff;font:inherit;color:#111827;outline:none}.kh-rr-form input:focus,.kh-rr-form textarea:focus{border-color:#6366f1;box-shadow:0 0 0 3px rgba(99,102,241,.1)}.kh-rr-form textarea{min-height:100px;resize:vertical;line-height:1.55}.kh-rr-stack{display:grid;gap:3px}.kh-rr-consent{display:flex!important;gap:10px;align-items:flex-start;margin:8px 0 18px!important}.kh-rr-consent input{width:auto!important;margin-top:3px}.kh-rr-consent span{font-size:12px!important;font-weight:500!important;color:#64748b!important;line-height:1.5}.kh-rr-submit{width:100%;min-height:50px}.kh-rr-success,.kh-rr-error,.kh-rr-login-note{padding:15px 17px;border-radius:14px;margin-bottom:20px}.kh-rr-success{background:#f0fdf4;border:1px solid #bbf7d0;color:#166534}.kh-rr-error{background:#fef2f2;border:1px solid #fecaca;color:#991b1b}.kh-rr-login-note{background:#f8fafc;border:1px solid #e2e8f0}.kh-rr-login-note p{color:#64748b;line-height:1.55}.kh-rr-directory{padding:52px 0 80px}.kh-rr-directory-head{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:28px}.kh-rr-directory-head h1{font-size:clamp(38px,5vw,62px);letter-spacing:-.04em;margin:7px 0}.kh-rr-directory-head p{color:#64748b;max-width:650px}.kh-rr-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.kh-rr-card{border:1px solid #e2e8f0;border-radius:22px;overflow:hidden;background:#fff;box-shadow:0 10px 35px rgba(15,23,42,.05)}.kh-rr-card-photo{display:block;aspect-ratio:16/10;background:#eef2ff;display:grid;place-items:center;font-size:42px;color:#6366f1;overflow:hidden}.kh-rr-card-photo img{width:100%;height:100%;object-fit:cover}.kh-rr-card-body{padding:19px}.kh-rr-card-top{display:flex;justify-content:space-between;gap:8px;font-size:11px;color:#64748b}.kh-rr-card h2{font-size:22px;margin:8px 0}.kh-rr-card h2 a{color:#111827;text-decoration:none}.kh-rr-card p{color:#64748b;line-height:1.55;font-size:14px}.kh-text-link{font-weight:800;color:#4f46e5;text-decoration:none;font-size:13px}.kh-rr-empty{grid-column:1/-1;padding:40px;text-align:center;border:1px dashed #cbd5e1;border-radius:18px;color:#64748b}.kh-rr-single{padding:50px 0 80px}.kh-rr-profile{max-width:1000px;margin:0 auto}.kh-rr-profile-hero{display:flex;gap:24px;align-items:center;padding:30px;border-radius:28px;background:#f8fafc;border:1px solid #e2e8f0}.kh-rr-profile-avatar{width:140px;height:140px;flex:0 0 140px;border-radius:50%;overflow:hidden;background:#e9edff;display:grid;place-items:center;font-size:48px;color:#6366f1}.kh-rr-profile-avatar img{width:100%;height:100%;object-fit:cover}.kh-rr-profile-hero h1{font-size:clamp(36px,5vw,58px);letter-spacing:-.045em;margin:7px 0}.kh-rr-profile-meta,.kh-rr-socials{display:flex;gap:9px;flex-wrap:wrap;color:#64748b;font-size:13px}.kh-rr-socials{margin-top:14px}.kh-rr-socials a{padding:7px 10px;border:1px solid #dbe3ee;border-radius:999px;text-decoration:none;color:#334155;background:#fff}.kh-rr-public-intro{padding:24px 4px;color:#475569;font-size:17px;line-height:1.75}.kh-rr-answer-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.kh-rr-answer{padding:20px;border:1px solid #e2e8f0;border-radius:20px;background:#fff}.kh-rr-answer h2{font-size:15px;margin:0 0 9px}.kh-rr-answer p{color:#475569;line-height:1.65;margin:0}.kh-rr-directory .navigation{margin-top:28px}@media(max-width:900px){.kh-rr-content{grid-template-columns:1fr}.kh-rr-story{position:static}.kh-rr-cards{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:650px){.kh-rr-grid,.kh-rr-cards,.kh-rr-answer-grid{grid-template-columns:1fr}.kh-rr-hero{padding-top:45px}.kh-rr-directory-head{align-items:flex-start;flex-direction:column}.kh-rr-profile-hero{align-items:flex-start;flex-direction:column}.kh-rr-profile-avatar{width:110px;height:110px;flex-basis:110px}.kh-rr-form-card{border-radius:20px;padding:18px}.kh-rr-story{padding:22px}.kh-rr-hero-actions .kh-btn{width:100%;text-align:center}}
/* Roast & Reboot application refresh */
.kh-rr-hero-badge{display:inline-flex;align-items:center;gap:8px;padding:8px 12px;border:1px solid rgba(255,255,255,.18);background:rgba(255,255,255,.08);border-radius:999px;font-size:11px;font-weight:900;letter-spacing:.08em;margin-bottom:18px}.kh-rr-live-dot{width:8px;height:8px;border-radius:50%;background:#fb7185;box-shadow:0 0 0 5px rgba(251,113,133,.14);animation:khrrpulse 1.8s infinite}.kh-rr-urgency{display:flex;gap:10px;align-items:center;max-width:760px;margin-top:18px;padding:13px 15px;border:1px solid rgba(255,255,255,.14);background:rgba(255,255,255,.055);border-radius:16px;color:#dfe5f5;font-size:13px;line-height:1.45}.kh-rr-urgency strong{color:#fff;white-space:nowrap}.kh-rr-story-top{display:flex;justify-content:space-between;align-items:center;gap:10px}.kh-rr-mini-badge{font-size:11px;font-weight:850;padding:6px 9px;border-radius:999px;background:#eef2ff;color:#4f46e5}.kh-rr-form-card{position:relative}.kh-rr-form-head{display:flex;justify-content:space-between;gap:18px;align-items:flex-start;padding:0 0 24px;margin-bottom:25px;border-bottom:1px solid #edf0f5}.kh-rr-form-head h2{font-size:clamp(26px,3vw,36px);letter-spacing:-.03em;margin:5px 0 5px}.kh-rr-form-head p{margin:0;color:#64748b}.kh-rr-save-note{padding:10px 12px;border-radius:13px;background:#f8fafc;border:1px solid #e2e8f0;font-size:12px;font-weight:800;color:#334155;line-height:1.5;text-align:right}.kh-rr-save-note span{font-weight:600;color:#64748b}.kh-rr-progress{position:sticky;top:70px;z-index:4;padding:12px 14px;margin:0 0 16px;background:rgba(255,255,255,.94);backdrop-filter:blur(12px);border:1px solid #e2e8f0;border-radius:15px}.kh-rr-progress-top{display:flex;justify-content:space-between;gap:12px;font-size:11px;color:#64748b;margin-bottom:7px}.kh-rr-progress-top strong{color:#111827}.kh-rr-progress-track{height:6px;border-radius:99px;background:#e9edf4;overflow:hidden}.kh-rr-progress-track span{display:block;height:100%;width:0;background:linear-gradient(90deg,#6366f1,#a855f7);border-radius:inherit;transition:width .25s ease}.kh-rr-section-nav{display:flex;gap:7px;overflow:auto;padding:2px 0 18px;scrollbar-width:none}.kh-rr-section-nav::-webkit-scrollbar{display:none}.kh-rr-section-nav a{flex:0 0 auto;padding:8px 10px;border:1px solid #e2e8f0;border-radius:999px;background:#fff;color:#475569;text-decoration:none;font-size:11px;font-weight:800}.kh-rr-section-nav a:hover,.kh-rr-section-nav a:focus{border-color:#a5b4fc;color:#4f46e5}.kh-rr-step{display:inline-grid;place-items:center;width:27px;height:27px;margin-right:7px;border-radius:9px;background:#eef2ff;color:#4f46e5;font-size:11px;font-weight:900;vertical-align:middle}.kh-rr-section{scroll-margin-top:100px}.kh-rr-section h2{letter-spacing:-.02em}.kh-rr-form textarea{transition:border-color .15s,box-shadow .15s}.kh-rr-final-cta{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px;margin-top:4px;border:1px solid #e0e7ff;background:linear-gradient(135deg,#f8faff,#f5f3ff);border-radius:18px}.kh-rr-final-cta div{display:grid;gap:3px}.kh-rr-final-cta strong{font-size:15px;color:#111827}.kh-rr-final-cta span{font-size:12px;color:#64748b}.kh-rr-final-cta .kh-rr-submit{width:auto;min-width:260px}.kh-rr-page .kh-btn-primary{box-shadow:0 10px 25px rgba(79,70,229,.2)}
@keyframes khrrpulse{0%,100%{opacity:1;transform:scale(1)}50%{opacity:.55;transform:scale(.78)}}
@media(max-width:700px){.kh-rr-urgency{align-items:flex-start;flex-direction:column;gap:3px}.kh-rr-form-head{flex-direction:column}.kh-rr-save-note{text-align:left;width:100%;box-sizing:border-box}.kh-rr-progress{top:58px}.kh-rr-final-cta{position:sticky;bottom:calc(12px + env(safe-area-inset-bottom));z-index:5;flex-direction:column;align-items:stretch;box-shadow:0 12px 35px rgba(15,23,42,.16);padding:14px}.kh-rr-final-cta .kh-rr-submit{width:100%;min-width:0}.kh-rr-section-nav a{padding:8px 9px}}
@media(prefers-reduced-motion:reduce){.kh-rr-live-dot{animation:none}.kh-rr-progress-track span{transition:none}}

/* Roast & Reboot homepage urgency block */
.kh-home-roast{padding:22px 0 8px}.kh-home-roast-inner{display:grid;grid-template-columns:minmax(0,1fr) 290px;gap:20px;align-items:stretch;padding:26px 28px;border:1px solid #e3ddff;border-radius:25px;background:radial-gradient(circle at 90% 10%,rgba(110,77,238,.20),transparent 34%),linear-gradient(135deg,#f7f5ff 0%,#fff 68%);box-shadow:0 18px 45px rgba(66,48,150,.09)}.kh-home-roast-kicker{display:inline-flex;align-items:center;gap:7px;font-size:10px;font-weight:900;letter-spacing:.12em;color:#6245db}.kh-home-roast-dot{width:8px;height:8px;border-radius:50%;background:#ef4444;box-shadow:0 0 0 5px rgba(239,68,68,.12);animation:khRRPulse 1.6s infinite}.kh-home-roast h2{margin:10px 0 8px;max-width:850px;font-size:clamp(27px,4vw,46px);line-height:1;letter-spacing:-.055em;color:#101828}.kh-home-roast h2 em{font-style:normal;color:#6046d8}.kh-home-roast p{max-width:760px;margin:0;color:#667085;font-size:15px;line-height:1.65}.kh-home-roast-actions{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin-top:17px}.kh-home-roast-secondary{font-size:13px;font-weight:850;color:#4935ad;text-decoration:none}.kh-home-roast-copy small{display:block;margin-top:12px;color:#7a718d;font-size:11px}.kh-home-roast-card{display:flex;flex-direction:column;justify-content:center;padding:24px;border-radius:20px;background:linear-gradient(145deg,#18132d,#4d36a8);color:#fff;box-shadow:0 16px 35px rgba(47,32,112,.20)}.kh-home-roast-card span{font-size:10px;font-weight:900;letter-spacing:.15em;color:#d8d0ff}.kh-home-roast-card strong{margin:9px 0 17px;font-size:23px;line-height:1.08;letter-spacing:-.035em}.kh-home-roast-card b{font-size:13px;color:#fff}.kh-home-roast .kh39-btn-primary{box-shadow:0 10px 22px rgba(96,70,216,.2)}@keyframes khRRPulse{0%,100%{opacity:1;transform:scale(1)}50%{opacity:.45;transform:scale(.82)}}
@media(max-width:760px){.kh-home-roast{padding:14px 0 4px}.kh-home-roast-inner{grid-template-columns:1fr;padding:21px 18px;border-radius:20px}.kh-home-roast h2{font-size:34px}.kh-home-roast-actions{display:grid;grid-template-columns:1fr}.kh-home-roast-actions .kh39-btn,.kh-home-roast-secondary{text-align:center}.kh-home-roast-card{padding:19px}.kh-home-roast-card strong{font-size:21px}}
@media(prefers-reduced-motion:reduce){.kh-home-roast-dot{animation:none}}

/* Roast & Reboot — trait-focused application + shareable contestant profile */
.kh-rr-trait-note{margin:-4px 0 18px;padding:14px 16px;border:1px solid #e0e7ff;border-radius:15px;background:linear-gradient(135deg,#f8faff,#faf5ff);color:#596579;font-size:13px;line-height:1.6}.kh-rr-trait-note strong{color:#3730a3}.kh-rr-section#rr-pressure .kh-rr-stack label{padding:16px 16px 15px;border:1px solid #e8eaf2;border-radius:16px;background:linear-gradient(180deg,#fff,#fbfcff);transition:transform .15s ease,box-shadow .15s ease,border-color .15s ease}.kh-rr-section#rr-pressure .kh-rr-stack label:focus-within{border-color:#a5b4fc;box-shadow:0 10px 28px rgba(79,70,229,.08);transform:translateY(-1px)}.kh-rr-section#rr-pressure .kh-rr-stack label>span:before{content:'REALITY CHECK';display:block;margin-bottom:5px;font-size:9px;letter-spacing:.12em;color:#6366f1}.kh-rr-sharebar{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:16px}.kh-rr-share-url{flex:1 1 240px;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:9px 11px;border:1px solid #dbe3ee;border-radius:11px;background:#fff;color:#64748b;font-size:11px}.kh-rr-sharebar .kh-btn,.kh-rr-profile-share-bottom .kh-btn{min-height:38px;padding:9px 13px}.kh-rr-profile-callout{display:flex;gap:10px;align-items:center;margin:20px 0;padding:14px 16px;border-radius:16px;border:1px solid #e0e7ff;background:linear-gradient(135deg,#f8faff,#fff);color:#64748b;font-size:13px}.kh-rr-profile-callout strong{color:#111827}.kh-rr-answer{position:relative}.kh-rr-answer-tag{display:inline-block;margin-bottom:8px;font-size:9px;font-weight:900;letter-spacing:.12em;color:#6366f1}.kh-rr-profile-share-bottom{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:22px;padding:20px;border-radius:20px;background:linear-gradient(135deg,#111827,#312e81);color:#fff}.kh-rr-profile-share-bottom strong{font-size:16px}.kh-rr-profile-share-bottom span{font-size:12px;color:#cbd5e1;margin-right:auto}.kh-rr-profile-share-bottom>div{display:flex;gap:8px}.kh-rr-profile-share-bottom .kh-btn:not(.kh-btn-primary){background:rgba(255,255,255,.08);border-color:rgba(255,255,255,.2);color:#fff}@media(max-width:650px){.kh-rr-sharebar{display:grid;grid-template-columns:1fr 1fr}.kh-rr-share-url{grid-column:1/-1}.kh-rr-sharebar .kh-btn{width:100%}.kh-rr-profile-callout{align-items:flex-start;flex-direction:column}.kh-rr-profile-share-bottom{align-items:stretch}.kh-rr-profile-share-bottom>div{display:grid;grid-template-columns:1fr 1fr}.kh-rr-profile-share-bottom .kh-btn{width:100%}}

/* Roast & Reboot v68 — public, no-login application form */
.kh-rr-public-form{--rr-ink:#101828;--rr-muted:#667085;--rr-line:#e4e7ec;--rr-brand:#5b5bd6;--rr-brand2:#8b5cf6}
.kh-rr-honeypot{position:absolute!important;left:-9999px!important;width:1px!important;height:1px!important;opacity:0!important;pointer-events:none!important}
.kh-rr-form-intro{display:grid;grid-template-columns:auto auto 1fr;align-items:center;gap:10px;padding:13px 15px;margin:0 0 16px;border:1px solid #e1e7ff;border-radius:16px;background:linear-gradient(135deg,#f7f8ff,#fbf8ff);color:#667085;font-size:12px;line-height:1.45}
.kh-rr-form-lock{display:inline-flex;align-items:center;padding:7px 9px;border-radius:999px;background:#111827;color:#fff;font-size:9px;font-weight:900;letter-spacing:.08em}
.kh-rr-form-intro strong{color:#111827;white-space:nowrap}
.kh-rr-required-badge{display:inline-flex;align-items:center;white-space:nowrap;padding:7px 10px;border-radius:999px;background:#f2f4ff;color:#4f46e5;font-size:10px;font-weight:900}
.kh-rr-section-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;margin-bottom:20px}
.kh-rr-section-heading h2{margin:6px 0 5px;font-size:clamp(25px,3vw,34px);letter-spacing:-.035em;color:var(--rr-ink)}
.kh-rr-section-heading p{margin:0;max-width:680px;color:var(--rr-muted);font-size:13px;line-height:1.6}
.kh-rr-form label>span b,.kh-rr-consent b{color:#dc2626}
.kh-rr-question-stack{display:grid;gap:14px}
.kh-rr-question-card{position:relative;padding:18px 18px 8px;border:1px solid var(--rr-line);border-radius:19px;background:linear-gradient(180deg,#fff,#fcfcfe);box-shadow:0 5px 20px rgba(16,24,40,.035)}
.kh-rr-question-card:focus-within{border-color:#b9b9f4;box-shadow:0 12px 32px rgba(91,91,214,.10);transform:translateY(-1px)}
.kh-rr-qtop{display:flex;align-items:center;gap:8px;margin-bottom:10px}
.kh-rr-qnum{display:inline-grid;place-items:center;min-width:35px;height:25px;padding:0 7px;border-radius:8px;background:#111827;color:#fff;font-size:10px;font-weight:900}
.kh-rr-qtype{font-size:9px;letter-spacing:.13em;font-weight:900;color:#6868d9}
.kh-rr-question-card label{margin-bottom:7px!important}
.kh-rr-question-card label>span{font-size:14px!important;line-height:1.45}
.kh-rr-question-card textarea{min-height:122px;padding:14px 15px;border-radius:14px;background:#fff;font-size:14px;line-height:1.65}
.kh-rr-question-card textarea::placeholder{color:#98a2b3}
.kh-rr-answer-hint{display:block;margin:6px 2px 0;color:#98a2b3;font-size:10px;line-height:1.4}
.kh-rr-trait-warning{display:grid;gap:3px;margin:0 0 16px;padding:14px 16px;border:1px solid #fedf89;border-radius:15px;background:#fffaeb;color:#7a2e0e;font-size:12px;line-height:1.55}
.kh-rr-trait-warning strong{color:#92400e}
.kh-rr-social-optional{margin-top:18px;padding:16px;border:1px dashed #d0d5dd;border-radius:17px;background:#fafafa}
.kh-rr-social-optional>strong{display:block;font-size:12px;color:#344054;margin-bottom:3px}
.kh-rr-social-optional>span{display:block;font-size:11px;color:#667085;margin-bottom:12px}
.kh-rr-social-optional .kh-rr-grid{margin-bottom:-14px}
.kh-rr-public-form textarea:required:valid,.kh-rr-public-form input:required:valid{border-color:#d9e0ea}
.kh-rr-public-form textarea:required:invalid:not(:focus),.kh-rr-public-form input:required:invalid:not(:focus){border-color:#f1c7c7}
.kh-rr-section-profile{scroll-margin-top:100px}
@media(max-width:700px){
  .kh-rr-form-intro{grid-template-columns:1fr;gap:6px}
  .kh-rr-form-intro strong{white-space:normal}
  .kh-rr-section-heading{flex-direction:column;gap:9px}
  .kh-rr-required-badge{align-self:flex-start}
  .kh-rr-question-card{padding:15px 14px 7px;border-radius:16px}
  .kh-rr-question-card textarea{min-height:135px}
}

/* =========================================================
   KIARAHUB — CONTESTANT APPLICATION FORM v68.1
   Premium Audition / Reality Show skin
   Questionnaire structure/content intentionally preserved.
   ========================================================= */

/* Outer application surface */
.kh-rr-page .kh-rr-form-card {
    max-width: 980px;
    margin: 0 auto;
    padding: 35px 16px 80px;
}

.kh-rr-page .kh-rr-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 28px;
    border-radius: 28px;
    border: 1px solid rgba(255,255,255,.08);
    background: linear-gradient(145deg,rgba(25,24,35,.98),rgba(12,12,18,.98));
    box-shadow: 0 25px 80px rgba(0,0,0,.30), inset 0 1px 0 rgba(255,255,255,.04);
    color: #e9e7f0;
}

/* The last theme's questionnaire remains intact; this skin only changes its visual presentation. */
.kh-rr-page .kh-rr-form input,
.kh-rr-page .kh-rr-form select,
.kh-rr-page .kh-rr-form textarea {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 14px;
    background: linear-gradient(145deg,#11111a,#0c0c13);
    color: #fff;
    padding: 14px 15px;
    font-size: 16px;
    line-height: 1.45;
    outline: none;
    transition: border-color .18s ease,box-shadow .18s ease,transform .18s ease,background .18s ease;
}

.kh-rr-page .kh-rr-form input { min-height: 52px; }
.kh-rr-page .kh-rr-form textarea { min-height: 125px; resize: vertical; }
.kh-rr-page .kh-rr-form input::placeholder,
.kh-rr-page .kh-rr-form textarea::placeholder { color: #666575; }

.kh-rr-page .kh-rr-form input:focus,
.kh-rr-page .kh-rr-form textarea:focus,
.kh-rr-page .kh-rr-form select:focus {
    border-color: #8b5cf6;
    background: #12121d;
    box-shadow: 0 0 0 3px rgba(139,92,246,.13),0 12px 30px rgba(0,0,0,.20);
    transform: translateY(-1px);
}

/* Profile fields: clean two-column audition form */
.kh-rr-page .kh-rr-grid {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 16px;
}

.kh-rr-page .kh-rr-grid > label,
.kh-rr-page .kh-rr-social-optional label {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
    color: #e9e7f0;
    font-size: 12px;
    font-weight: 850;
    line-height: 1.4;
}

.kh-rr-page .kh-rr-form > label:not(.kh-rr-consent) {
    color: #e9e7f0;
    font-size: 12px;
    font-weight: 850;
    line-height: 1.4;
}

.kh-rr-page .kh-rr-form b { color: #ff7899; }

/* Questionnaire sections: same questions/order, premium cards */
.kh-rr-page .kh-rr-section {
    position: relative;
    padding: 25px;
    border-radius: 24px;
    border: 1px solid rgba(139,92,246,.20);
    background: linear-gradient(145deg,rgba(21,19,33,.98),rgba(16,16,24,.98));
    box-shadow: 0 20px 60px rgba(0,0,0,.18);
    scroll-margin-top: 100px;
}

.kh-rr-page .kh-rr-section-heading {
    margin-bottom: 20px;
}

.kh-rr-page .kh-rr-section-heading h2,
.kh-rr-page .kh-rr-section-heading p,
.kh-rr-page .kh-rr-section-heading .kh-rr-kicker { color: #fff; }
.kh-rr-page .kh-rr-section-heading p { color: #aaa8b8; }

.kh-rr-page .kh-rr-question-stack { display: grid; gap: 14px; }

.kh-rr-page .kh-rr-question-card {
    position: relative;
    padding: 16px 16px 12px;
    border-radius: 17px;
    border: 1px solid rgba(255,255,255,.07);
    background: rgba(255,255,255,.025);
    transition: border-color .18s ease,transform .18s ease,background .18s ease,box-shadow .18s ease;
}

.kh-rr-page .kh-rr-question-card:hover,
.kh-rr-page .kh-rr-question-card:focus-within {
    transform: translateY(-2px);
    border-color: rgba(139,92,246,.34);
    background: rgba(139,92,246,.045);
    box-shadow: 0 14px 35px rgba(0,0,0,.18);
}

.kh-rr-page .kh-rr-question-card label {
    display: flex;
    flex-direction: column;
    gap: 8px;
    color: #eee;
}

.kh-rr-page .kh-rr-question-card label > span {
    font-size: 14px !important;
    line-height: 1.55;
}

.kh-rr-page .kh-rr-qtop { margin-bottom: 10px; }
.kh-rr-page .kh-rr-qnum { background: linear-gradient(135deg,#7c3aed,#ec4899); }
.kh-rr-page .kh-rr-qtype { color: #bca7ff; }

/* Reality-check personality round gets extra emphasis */
.kh-rr-page .kh-rr-trait-section {
    border-color: rgba(255,45,104,.25);
    background: radial-gradient(circle at 100% 0%,rgba(255,45,104,.12),transparent 35%),radial-gradient(circle at 0% 100%,rgba(139,92,246,.12),transparent 35%),#12111a;
}

.kh-rr-page .kh-rr-trait-warning {
    border-left: 3px solid #ff2d68;
    border-top: 1px solid rgba(255,45,104,.15);
    border-right: 1px solid rgba(255,45,104,.15);
    border-bottom: 1px solid rgba(255,45,104,.15);
    border-radius: 10px;
    background: rgba(255,45,104,.07);
    color: #c7c3cf;
}
.kh-rr-page .kh-rr-trait-warning strong { color: #ff7899; }

/* Progress / navigation */
.kh-rr-page .kh-rr-progress {
    border-color: rgba(139,92,246,.20);
    background: rgba(18,18,29,.94);
    color: #aaa4bb;
}
.kh-rr-page .kh-rr-progress-top strong { color: #fff; }
.kh-rr-page .kh-rr-progress-track { background: rgba(255,255,255,.08); }
.kh-rr-page .kh-rr-progress-track span { background: linear-gradient(90deg,#7c3aed,#a855f7,#ec4899); }

.kh-rr-page .kh-rr-section-nav a {
    border-color: rgba(255,255,255,.10);
    background: #11111a;
    color: #aaa8b8;
}
.kh-rr-page .kh-rr-section-nav a:hover,
.kh-rr-page .kh-rr-section-nav a:focus {
    border-color: #8b5cf6;
    color: #c4aaff;
}

/* Public/no-login banner */
.kh-rr-page .kh-rr-form-intro {
    border-color: rgba(139,92,246,.22);
    background: radial-gradient(circle at 100% 0%,rgba(236,72,153,.08),transparent 35%),rgba(139,92,246,.07);
    color: #aaa8b8;
}
.kh-rr-page .kh-rr-form-intro strong { color: #fff; }
.kh-rr-page .kh-rr-form-lock { background: linear-gradient(110deg,#7c3aed,#ec4899); }

/* Optional profiles */
.kh-rr-page .kh-rr-social-optional {
    border: 1px dashed rgba(255,255,255,.13);
    background: rgba(255,255,255,.025);
    border-radius: 17px;
}
.kh-rr-page .kh-rr-social-optional > strong { color: #eee; }
.kh-rr-page .kh-rr-social-optional > span { color: #92909d; }

/* Required answer states */
.kh-rr-page .kh-rr-form textarea:required:valid,
.kh-rr-page .kh-rr-form input:required:valid { border-color: rgba(139,92,246,.25); }
.kh-rr-page .kh-rr-form textarea:required:invalid:not(:focus),
.kh-rr-page .kh-rr-form input:required:invalid:not(:focus) { border-color: rgba(255,70,100,.28); }

/* Error / success */
.kh-rr-page .kh-rr-error {
    border: 1px solid rgba(255,70,100,.30);
    background: rgba(255,45,104,.08);
    color: #ff9bb1;
    border-radius: 14px;
}

/* Consent */
.kh-rr-page .kh-rr-consent {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    padding: 15px 16px;
    border-radius: 15px;
    border: 1px solid rgba(255,255,255,.08);
    background: rgba(255,255,255,.025);
    color: #aaa8b8;
    font-size: 12px;
    line-height: 1.6;
}
.kh-rr-page .kh-rr-consent input[type="checkbox"] { width: 19px; min-width: 19px; height: 19px; min-height: 19px; margin: 2px 0 0; accent-color: #8b5cf6; }
.kh-rr-page .kh-rr-consent b { color: #ff7899; }

/* Submit */
.kh-rr-page .kh-rr-submit,
.kh-rr-page .kh-rr-form button[type="submit"] {
    min-height: 58px;
    border: 0;
    border-radius: 16px;
    background: linear-gradient(110deg,#7c3aed,#a855f7,#ec4899);
    color: #fff;
    font-size: 14px;
    font-weight: 950;
    letter-spacing: .02em;
    cursor: pointer;
    box-shadow: 0 14px 35px rgba(139,92,246,.25);
    transition: transform .18s ease,box-shadow .18s ease,filter .18s ease;
}
.kh-rr-page .kh-rr-submit:hover,
.kh-rr-page .kh-rr-form button[type="submit"]:hover { transform: translateY(-2px); box-shadow: 0 18px 45px rgba(139,92,246,.35); filter: brightness(1.08); }
.kh-rr-page .kh-rr-submit:active,
.kh-rr-page .kh-rr-form button[type="submit"]:active { transform: scale(.98); }

.kh-rr-page .kh-rr-answer-hint { color: #777486; }

.kh-rr-page .kh-rr-form input:focus-visible,
.kh-rr-page .kh-rr-form textarea:focus-visible,
.kh-rr-page .kh-rr-form select:focus-visible,
.kh-rr-page .kh-rr-form button:focus-visible {
    outline: 3px solid rgba(168,85,247,.28);
    outline-offset: 2px;
}

@media (max-width:700px) {
    .kh-rr-page .kh-rr-form-card { padding: 20px 10px 55px; }
    .kh-rr-page .kh-rr-form { padding: 16px; gap: 16px; border-radius: 21px; }
    .kh-rr-page .kh-rr-grid { grid-template-columns: 1fr; gap: 12px; }
    .kh-rr-page .kh-rr-section { padding: 17px; border-radius: 19px; }
    .kh-rr-page .kh-rr-question-card { padding: 14px 14px 10px; }
    .kh-rr-page .kh-rr-section-heading { flex-direction: column; gap: 9px; }
    .kh-rr-page .kh-rr-required-badge { align-self: flex-start; }
    .kh-rr-page .kh-rr-final-cta { position: sticky; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 5; flex-direction: column; align-items: stretch; box-shadow: 0 12px 35px rgba(0,0,0,.35); padding: 14px; }
    .kh-rr-page .kh-rr-final-cta .kh-rr-submit { width: 100%; min-width: 0; }
    .kh-rr-page .kh-rr-form-intro { grid-template-columns: 1fr; gap: 6px; }
}

@media (max-width:400px) {
    .kh-rr-page .kh-rr-form-card { padding-left: 7px; padding-right: 7px; }
    .kh-rr-page .kh-rr-form { padding: 12px; }
    .kh-rr-page .kh-rr-form input,
    .kh-rr-page .kh-rr-form textarea { border-radius: 12px; }
}

@media (prefers-reduced-motion:reduce) {
    .kh-rr-page .kh-rr-question-card,
    .kh-rr-page .kh-rr-form input,
    .kh-rr-page .kh-rr-form textarea,
    .kh-rr-page .kh-rr-submit { transition: none; }
}

/* =========================================================
   KIARAHUB — CONTESTANT FORM VISUAL REPLACEMENT
   Premium Audition / Reality Show styling
   Questionnaire markup/content intentionally unchanged.
   ========================================================= */
#contestant-form.kh-rr-form-card{background:transparent;border:0;box-shadow:none;padding:0}
#contestant-form .kh-rr-public-form{display:flex;flex-direction:column;gap:20px;padding:28px;border-radius:28px;border:1px solid rgba(255,255,255,.08);background:linear-gradient(145deg,rgba(25,24,35,.98),rgba(12,12,18,.98));box-shadow:0 25px 80px rgba(0,0,0,.30),inset 0 1px 0 rgba(255,255,255,.04);color:#e9e7f0}
#contestant-form .kh-rr-form-intro{display:grid;grid-template-columns:auto auto 1fr;align-items:center;gap:10px;padding:13px 15px;margin:0 0 2px;border:1px solid rgba(139,92,246,.24);border-radius:16px;background:linear-gradient(135deg,rgba(139,92,246,.10),rgba(255,45,104,.06));color:#aaa8b8;font-size:12px;line-height:1.45}
#contestant-form .kh-rr-form-lock{display:inline-flex;align-items:center;padding:7px 9px;border-radius:999px;background:#171421;color:#fff;font-size:9px;font-weight:900;letter-spacing:.08em}
#contestant-form .kh-rr-form-intro strong{color:#fff;white-space:nowrap}
#contestant-form .kh-rr-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
#contestant-form .kh-rr-form label{display:flex;flex-direction:column;gap:8px;min-width:0;margin:0;color:#e9e7f0;font-size:12px;font-weight:850;line-height:1.4}
#contestant-form .kh-rr-form label>span{display:block;margin:0;color:#e9e7f0;font-size:12px;font-weight:850;line-height:1.45}
#contestant-form .kh-rr-form label>span b,#contestant-form .kh-rr-consent b{color:#ff7c9f}
#contestant-form .kh-rr-form input,#contestant-form .kh-rr-form select,#contestant-form .kh-rr-form textarea{width:100%;box-sizing:border-box;border:1px solid rgba(255,255,255,.10);border-radius:14px;background:linear-gradient(145deg,#11111a,#0c0c13);color:#fff;padding:14px 15px;font:inherit;font-size:16px;line-height:1.45;outline:none;transition:border-color .18s ease,box-shadow .18s ease,transform .18s ease,background .18s ease}
#contestant-form .kh-rr-form input{min-height:52px}
#contestant-form .kh-rr-form textarea{min-height:125px;resize:vertical;line-height:1.55}
#contestant-form .kh-rr-form input::placeholder,#contestant-form .kh-rr-form textarea::placeholder{color:#666575}
#contestant-form .kh-rr-form input:focus,#contestant-form .kh-rr-form select:focus,#contestant-form .kh-rr-form textarea:focus{border-color:#8b5cf6;background:#12121d;box-shadow:0 0 0 3px rgba(139,92,246,.13),0 12px 30px rgba(0,0,0,.20);transform:translateY(-1px)}
#contestant-form .kh-rr-section{padding:0 0 30px;margin:0 0 0;border-bottom:1px solid rgba(255,255,255,.07);scroll-margin-top:100px}
#contestant-form .kh-rr-section-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;margin-bottom:20px}
#contestant-form .kh-rr-section-heading h2{margin:6px 0 8px;color:#fff;font-size:clamp(25px,3vw,34px);letter-spacing:-.035em;line-height:1.08}
#contestant-form .kh-rr-section-heading p{margin:0;max-width:680px;color:#92909d;font-size:12px;line-height:1.65}
#contestant-form .kh-rr-step{display:inline-grid;place-items:center;width:27px;height:27px;margin-right:7px;border-radius:9px;background:rgba(139,92,246,.15);color:#c4aaff;font-size:11px;font-weight:900;vertical-align:middle}
#contestant-form .kh-rr-kicker{font-size:10px;letter-spacing:.14em;text-transform:uppercase;font-weight:900;color:#bca7ff}
#contestant-form .kh-rr-required-badge{padding:6px 9px;border-radius:999px;background:rgba(255,45,104,.10);border:1px solid rgba(255,45,104,.22);color:#ff7c9f;font-size:9px;font-weight:950;letter-spacing:.08em;white-space:nowrap}
#contestant-form .kh-rr-answer-hint{display:block;color:#777486;font-size:10px;font-weight:700;line-height:1.5;letter-spacing:.02em}
#contestant-form .kh-rr-social-optional{padding:18px;border:1px solid rgba(255,255,255,.06);border-radius:18px;background:rgba(255,255,255,.025);margin-top:4px}
#contestant-form .kh-rr-social-optional>strong{display:block;color:#fff;font-size:13px;margin-bottom:3px}
#contestant-form .kh-rr-social-optional>span{display:block;color:#777486;font-size:11px;margin-bottom:14px}
#contestant-form .kh-rr-question-stack{display:grid;gap:14px}
#contestant-form .kh-rr-question-card{position:relative;padding:18px 18px 14px;border:1px solid rgba(255,255,255,.07);border-radius:17px;background:rgba(255,255,255,.025);box-shadow:none;transition:border-color .18s ease,transform .18s ease,background .18s ease}
#contestant-form .kh-rr-question-card:hover,#contestant-form .kh-rr-question-card:focus-within{transform:translateY(-2px);border-color:rgba(139,92,246,.30);background:rgba(139,92,246,.035);box-shadow:0 12px 32px rgba(0,0,0,.15)}
#contestant-form .kh-rr-qtop{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px}
#contestant-form .kh-rr-qnum{display:inline-flex;align-items:center;justify-content:center;min-width:38px;height:27px;padding:0 9px;border-radius:9px;background:rgba(139,92,246,.13);color:#c4aaff;font-size:10px;font-weight:950;letter-spacing:.04em}
#contestant-form .kh-rr-qtype{font-size:9px;font-weight:950;letter-spacing:.13em;color:#ff7c9f}
#contestant-form .kh-rr-trait-section{position:relative;padding:25px;border-radius:24px;border:1px solid rgba(139,92,246,.25);background:radial-gradient(circle at 0% 0%,rgba(139,92,246,.12),transparent 38%),radial-gradient(circle at 100% 100%,rgba(255,45,104,.08),transparent 35%),linear-gradient(145deg,#151321,#101018);box-shadow:0 20px 60px rgba(0,0,0,.18);margin-bottom:30px}
#contestant-form .kh-rr-trait-section .kh-rr-question-card{background:rgba(255,255,255,.025)}
#contestant-form .kh-rr-trait-warning{margin:0 0 22px;padding:14px 16px;border-left:3px solid #ff2d68;border-radius:10px;background:rgba(255,45,104,.07);color:#c7c3cf;font-size:12px;line-height:1.65}
#contestant-form .kh-rr-trait-warning strong{display:block;color:#ff7899;margin-bottom:3px}
#contestant-form .kh-rr-consent{display:flex!important;flex-direction:row!important;align-items:flex-start!important;gap:10px!important;margin:8px 0 0!important;padding:15px 16px;border-radius:14px;border:1px solid rgba(255,255,255,.07);background:rgba(255,255,255,.025)}
#contestant-form .kh-rr-consent input{width:auto!important;min-height:auto!important;margin-top:3px;flex:0 0 auto}
#contestant-form .kh-rr-consent span{font-size:12px!important;font-weight:500!important;color:#aaa8b8!important;line-height:1.55}
#contestant-form .kh-rr-final-cta{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px;margin-top:0;border:1px solid rgba(139,92,246,.22);background:linear-gradient(135deg,rgba(124,58,237,.10),rgba(236,72,153,.07));border-radius:18px}
#contestant-form .kh-rr-final-cta div{display:grid;gap:3px}
#contestant-form .kh-rr-final-cta strong{font-size:15px;color:#fff}
#contestant-form .kh-rr-final-cta span{font-size:12px;color:#92909d}
#contestant-form .kh-rr-final-cta .kh-rr-submit{width:auto;min-width:260px;min-height:58px}
#contestant-form .kh-rr-submit{border:0;border-radius:16px;background:linear-gradient(110deg,#7c3aed,#a855f7,#ec4899);color:#fff;font-size:14px;font-weight:950;letter-spacing:.02em;cursor:pointer;box-shadow:0 14px 35px rgba(139,92,246,.25);transition:transform .18s ease,box-shadow .18s ease,filter .18s ease}
#contestant-form .kh-rr-submit:hover{transform:translateY(-2px);box-shadow:0 18px 45px rgba(139,92,246,.35);filter:brightness(1.08)}
#contestant-form .kh-rr-submit:active{transform:scale(.98)}
#contestant-form .kh-rr-success,#contestant-form .kh-rr-error{padding:15px 17px;border-radius:14px;margin:0 0 2px;font-size:13px;font-weight:700;line-height:1.5}
#contestant-form .kh-rr-success{border:1px solid rgba(139,92,246,.30);background:rgba(139,92,246,.08);color:#c4aaff}
#contestant-form .kh-rr-error{border:1px solid rgba(255,70,100,.30);background:rgba(255,45,104,.08);color:#ff9bb1}
#contestant-form .kh-rr-form [aria-invalid="true"]{border-color:#ff5c83;box-shadow:0 0 0 3px rgba(255,45,104,.10)}
#contestant-form .kh-rr-public-form>input[name="kh_rr_nonce"],#contestant-form .kh-rr-public-form>input[name="kh_rr_submit"]{display:none}
@media(max-width:700px){
#contestant-form.kh-rr-form-card{padding:0}
#contestant-form .kh-rr-public-form{padding:16px;gap:16px;border-radius:21px}
#contestant-form .kh-rr-grid{grid-template-columns:1fr;gap:12px}
#contestant-form .kh-rr-form-intro{grid-template-columns:1fr;gap:6px}
#contestant-form .kh-rr-form-intro strong{white-space:normal}
#contestant-form .kh-rr-section-heading{flex-direction:column;gap:9px}
#contestant-form .kh-rr-required-badge{align-self:flex-start}
#contestant-form .kh-rr-trait-section{padding:17px;border-radius:19px}
#contestant-form .kh-rr-question-card{padding:15px 14px 12px;border-radius:16px}
#contestant-form .kh-rr-question-card textarea{min-height:135px}
#contestant-form .kh-rr-final-cta{position:sticky;bottom:calc(12px + env(safe-area-inset-bottom));z-index:5;flex-direction:column;align-items:stretch;box-shadow:0 12px 35px rgba(0,0,0,.35);padding:14px}
#contestant-form .kh-rr-final-cta .kh-rr-submit{width:100%;min-width:0}
}
@media(max-width:400px){#contestant-form .kh-rr-public-form{padding:12px;border-radius:18px}#contestant-form .kh-rr-form input,#contestant-form .kh-rr-form select,#contestant-form .kh-rr-form textarea{border-radius:12px}}
@media(prefers-reduced-motion:reduce){#contestant-form .kh-rr-form input,#contestant-form .kh-rr-form select,#contestant-form .kh-rr-form textarea,#contestant-form .kh-rr-question-card,#contestant-form .kh-rr-submit{transition:none}}

/* =========================================================
   THEME-WIDE ADS + AD-BLOCK NOTICE
   ========================================================= */

/* =========================================================
   v64 — RESPONSIVE UX/UI HARDENING
   Mobile • Tablet • Laptop • Wide Desktop
   Keeps every component inside the viewport and prevents
   horizontal overflow caused by legacy/feature modules.
   ========================================================= */
*,*::before,*::after{box-sizing:border-box}
html{width:100%;max-width:100%;overflow-x:hidden;-webkit-text-size-adjust:100%;text-size-adjust:100%}
body.kh-site{width:100%;max-width:100%;min-width:0;overflow-x:hidden;margin:0}
img,video,iframe,embed,object,svg{max-width:100%}
img,video{height:auto}
iframe{border:0}
button,input,select,textarea{max-width:100%;font:inherit}
input,select,textarea{min-width:0}
textarea{resize:vertical}
table{width:100%;max-width:100%;border-collapse:collapse}
pre,code{max-width:100%;overflow-x:auto}
*,*:before,*:after{overflow-wrap:anywhere}

.kh-container{width:min(100% - 40px,1200px);max-width:1200px;margin-left:auto;margin-right:auto;min-width:0}
.kh-shell-header__inner{min-width:0}
.kh-shell-header{width:100%;max-width:100%;overflow:visible}
.kh-brand,.kh-global-search,.kh-primary-nav,.kh-header-actions{min-width:0}
.kh-brand__name{white-space:nowrap}
.kh-global-search{min-width:0}
.kh-global-search input{min-width:0;max-width:100%}
.kh-primary-nav{min-width:0;overflow:hidden}
.kh-primary-nav a{white-space:nowrap}
.kh-header-actions{flex:0 0 auto;align-items:center}

/* Prevent grid/flex children from forcing the viewport wider. */
[class*="grid"], [class*="layout"], [class*="row"], [class*="inner"],
.kh39-home-grid,.kh39-network-grid,.kh39-services,.kh39-four-grid,
.kh-hub-hero-grid,.kh-hub-stream,.kh-market-layout,.kh-market-single-grid{min-width:0}
[class*="grid"]>* , [class*="layout"]>* , [class*="row"]>*{min-width:0}

/* Common responsive media behaviour. */
.kh-card,.kh-panel,.kh-modal-card,.kh-hub-card,.kh-market-card,
.kh-market-publisher,.kh-market-single-card,.kh-rr-form,.kh-rr-public-form{min-width:0;max-width:100%}
.kh-button,.kh39-btn,.kh-btn{max-width:100%;white-space:normal}

/* Large laptop / small desktop */
@media (max-width:1199px){
  .kh-container{width:min(100% - 32px,1120px)}
  .kh-shell-header__inner{gap:14px}
  .kh-primary-nav{gap:1px}
  .kh-primary-nav a{padding-left:8px;padding-right:8px;font-size:12px}
  .kh-header-actions{gap:4px}
  .kh-hub-hero-grid{grid-template-columns:minmax(0,1.35fr) minmax(250px,.65fr);gap:22px}
  .kh-market-layout{grid-template-columns:minmax(0,1fr) 320px}
}

/* Tablet: 768–1023px */
@media (min-width:761px) and (max-width:1023px){
  :root{--kh-header:68px}
  .kh-container{width:min(100% - 32px,960px)}
  .kh-shell-header{height:68px}
  .kh-shell-header__inner{height:68px;gap:10px}
  .kh-brand__name{font-size:18px}
  .kh-global-search{flex:1 1 220px;max-width:none}
  .kh-global-search input{height:40px;font-size:13px}
  .kh-primary-nav{display:flex;flex:0 1 auto;overflow:hidden}
  .kh-primary-nav a{font-size:11px;padding:8px 6px}
  .kh-primary-nav a:nth-child(n+5){display:none}
  .kh-header-actions .kh-header-icon{display:none}
  .kh-login-link{display:none}
  .kh-header-actions .kh-button{padding-left:11px;padding-right:11px}
  .kh-hub-hero-grid,.kh-market-hero{grid-template-columns:1fr}
  .kh-hub-hero{padding:42px 0 28px}
  .kh-hub-hero-panel{max-width:720px}
  .kh-market-layout{grid-template-columns:1fr}
  .kh-market-publisher{position:static}
  .kh-market-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .kh-market-search{grid-template-columns:minmax(0,1fr) 170px}
  .kh-market-search>*:last-child{grid-column:1/-1}
  .kh-footer__grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .kh-footer__brand{grid-column:1/-1}
  .kh-mobile-nav{display:none!important}
  body{padding-bottom:0!important}
}

/* Phones and narrow tablets */
@media (max-width:760px){
  .kh-container{width:calc(100% - 24px);max-width:none}
  .kh-shell-header{height:64px;min-height:64px}
  .kh-shell-header__inner{width:calc(100% - 24px);height:64px;gap:8px}
  .kh-brand{flex:0 0 auto;max-width:45vw}
  .kh-brand__mark{width:38px;height:38px;border-radius:12px}
  .kh-brand__name{font-size:18px;overflow:hidden;text-overflow:ellipsis}
  .kh-global-search{display:none!important}
  .kh-primary-nav{display:none!important}
  .kh-header-actions{margin-left:auto;flex:0 0 auto}
  .kh-header-actions .kh-header-icon,.kh-login-link{display:none!important}
  .kh-header-actions .kh-button{min-height:38px;padding:9px 12px;font-size:12px}

  /* Make every major page section single-column when space is tight. */
  .kh-hub-hero-grid,.kh-market-hero,.kh-market-layout,.kh-market-single-grid,
  .kh39-home-grid,.kh39-network-grid{grid-template-columns:1fr!important}
  .kh-hub-hero{padding:30px 0 22px}
  .kh-hub-hero h1{font-size:clamp(34px,10vw,46px);line-height:1}
  .kh-hub-hero p{font-size:14px;line-height:1.55}
  .kh-hub-hero-actions{display:grid;grid-template-columns:1fr;gap:8px}
  .kh-hub-hero-actions>*{width:100%;min-width:0}
  .kh-hub-stream{grid-template-columns:1fr!important}
  .kh-hub-card,.kh-hub-card:nth-child(n){grid-column:1!important}
  .kh-hub-media{height:clamp(180px,55vw,230px)}

  .kh-market-hero{gap:12px;padding:24px 0 18px}
  .kh-market-hero>div:first-child{padding:22px}
  .kh-market-hero h1{font-size:clamp(34px,10vw,46px)}
  .kh-market-hero p{font-size:14px}
  .kh-market-search{grid-template-columns:1fr!important;gap:8px}
  .kh-market-search>*{width:100%!important;min-width:0;grid-column:auto!important}
  .kh-market-grid{grid-template-columns:1fr!important}
  .kh-market-card,.kh-market-publisher{width:100%;max-width:100%}
  .kh-market-publisher{position:static}
  .kh-market-single{padding-top:20px}
  .kh-market-single-grid{gap:14px}
  .kh-market-single-card{padding:20px}
  .kh-market-single-image{max-height:65vh}
  .kh-market-single-placeholder{height:min(60vw,320px)}
  .kh-market-gallery{grid-template-columns:1fr}
  .kh-market-gallery img{height:auto;max-height:70vh}

  .kh-footer__grid{grid-template-columns:1fr 1fr!important;gap:18px;padding:28px 0}
  .kh-footer__brand{grid-column:1/-1!important}
  .kh-footer__bottom{display:grid;grid-template-columns:1fr;gap:8px;padding-bottom:94px}

  /* Bottom nav owns the safe-area on phones. */
  .kh-mobile-nav{display:grid!important;left:8px;right:8px;bottom:max(8px,env(safe-area-inset-bottom));height:64px;min-height:64px}
  body{padding-bottom:82px!important}

  /* Forms */
  .kh-market-two,.kh-rr-final-cta,.kh-rr-form-head{grid-template-columns:1fr!important;display:grid}
  .kh-rr-final-cta{flex-direction:column;align-items:stretch}
  .kh-rr-final-cta .kh-rr-submit{width:100%!important;min-width:0!important}
  .kh-rr-form input,.kh-rr-form select,.kh-rr-form textarea,
  #contestant-form .kh-rr-form input,#contestant-form .kh-rr-form select,#contestant-form .kh-rr-form textarea{font-size:16px!important;max-width:100%;min-width:0}
  .kh-my-list-card{grid-template-columns:1fr!important}
  .kh-my-list-card img,.kh-my-list-card .kh-market-single-placeholder{width:100%;height:200px}
}

/* Very small phones */
@media (max-width:480px){
  .kh-container{width:calc(100% - 20px)}
  .kh-shell-header__inner{width:calc(100% - 20px)}
  .kh-brand__name{font-size:17px}
  .kh-header-actions .kh-button{font-size:11px;padding:8px 10px}
  .kh-mobile-nav{left:6px;right:6px;height:62px;min-height:62px;border-radius:19px}
  .kh-mobile-nav a{font-size:9px}
  .kh-mobile-nav__create-icon{width:42px;height:42px;border-radius:14px}
  .kh39-four-grid,.kh39-services{grid-template-columns:1fr!important}
  .kh39-hero h1{font-size:clamp(34px,12vw,48px)}
  .kh-hub-hero h1,.kh-market-hero h1{font-size:34px}
  .kh-hub-hero-actions{grid-template-columns:1fr!important}
  .kh-footer__grid{grid-template-columns:1fr!important}
  .kh-footer__brand{grid-column:auto!important}
  .kh-market-card-body{padding:14px}
  .kh-market-media{height:190px}
  .kh-rr-sharebar,.kh-rr-profile-share-bottom>div{grid-template-columns:1fr!important}
  .kh-rr-share-url{grid-column:auto!important}
}

/* Prevent common embedded/third-party widgets from breaking layouts. */
.kh-ad-nearby,.kh-ad-slot,.kh-ad-container,.adsbygoogle,[id*="adsterra"],[class*="adsterra"]{max-width:100%;overflow:hidden}
.kh-ad-nearby iframe,.kh-ad-slot iframe{max-width:100%!important}

/* Landscape phones */
@media (max-height:500px) and (max-width:900px){
  .kh-mobile-nav{height:54px;min-height:54px}
  .kh-mobile-nav__icon{height:20px}
  .kh-mobile-nav__create-icon{width:38px;height:38px}
  body{padding-bottom:68px!important}
}
