/* LHD PlantOps Discovery v1.0.4 — full-canvas private discovery portal */
html { scroll-behavior:smooth; }
body.lhd-po-canvas { margin:0!important; padding:0!important; background:#edf1f5!important; }
body.lhd-po-canvas #wpadminbar { display:none!important; }
.lhd-po-app,
.lhd-po-gate {
  --po-bg:#07101b;
  --po-bg-2:#0b1b2d;
  --po-panel:#fff;
  --po-ink:#132031;
  --po-muted:#687588;
  --po-line:#dbe2ea;
  --po-accent:#1f77d0;
  --po-accent-2:#55adff;
  --po-accent-soft:#eaf4ff;
  --po-success:#17825c;
  --po-danger:#b63838;
  --po-shadow:0 24px 70px rgba(7,16,27,.18);
  --po-radius:20px;
  width:100%; min-height:100vh; color:var(--po-ink);
  font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}
.lhd-po-app *, .lhd-po-gate * { box-sizing:border-box; }
.lhd-po-app button,.lhd-po-app input,.lhd-po-app textarea,.lhd-po-app select,
.lhd-po-gate button,.lhd-po-gate input { font:inherit; }
.lhd-po-app button,.lhd-po-gate button { cursor:pointer; }
.lhd-po-shell { width:min(1180px,calc(100% - 40px)); margin:0 auto; }

/* Shared brand */
.lhd-po-brand{display:flex;align-items:center;gap:14px}
.lhd-po-mark{width:44px;height:44px;border-radius:12px;background:linear-gradient(145deg,#55adff,#1769b6);display:grid;place-items:center;font-weight:900;color:#fff;box-shadow:0 12px 30px rgba(31,119,208,.32)}
.lhd-po-brand-title{font-weight:800;letter-spacing:.01em;font-size:18px;color:#fff}.lhd-po-brand-sub{color:#9eafc2;font-size:12px;margin-top:2px}
.lhd-po-private-pill{border:1px solid rgba(255,255,255,.18);color:#d1deeb;border-radius:999px;padding:9px 13px;font-size:12px;background:rgba(255,255,255,.055);white-space:nowrap}
.lhd-po-eyebrow{color:#73b8ff;font-size:12px;font-weight:800;letter-spacing:.16em;text-transform:uppercase}
.lhd-po-section-kicker{color:var(--po-accent);font-weight:850;font-size:12px;letter-spacing:.14em;text-transform:uppercase}

/* Private access gate */
.lhd-po-gate {
  background:
    radial-gradient(circle at 14% 4%,rgba(31,119,208,.28),transparent 28%),
    radial-gradient(circle at 88% 7%,rgba(85,173,255,.14),transparent 24%),
    linear-gradient(145deg,#07101b 0%,#091725 54%,#06101b 100%);
  color:#fff; padding:28px 0;
}
.lhd-po-gate-shell{width:min(1180px,calc(100% - 40px));min-height:calc(100vh - 56px);margin:0 auto;display:flex;flex-direction:column}
.lhd-po-gate-header{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:4px 0 24px}
.lhd-po-gate-grid{flex:1;display:grid;grid-template-columns:minmax(0,1.15fr) minmax(360px,.72fr);gap:72px;align-items:center;padding:36px 0 48px}
.lhd-po-gate-intro{max-width:700px}
.lhd-po-gate-intro h1{color:#fff!important;font-size:clamp(46px,5.7vw,76px)!important;line-height:.98!important;letter-spacing:-.052em!important;margin:16px 0 22px!important;font-weight:820!important;padding:0!important;max-width:760px}
.lhd-po-gate-lead{font-size:17px;line-height:1.72;color:#becbda;max-width:680px;margin:0 0 34px}
.lhd-po-gate-points{display:grid;gap:13px;max-width:680px}
.lhd-po-gate-point{display:grid;grid-template-columns:46px 1fr;gap:14px;align-items:start;padding:15px 16px;border:1px solid rgba(255,255,255,.08);background:rgba(255,255,255,.035);border-radius:14px}
.lhd-po-gate-point>span{width:36px;height:36px;display:grid;place-items:center;border-radius:10px;background:rgba(76,164,255,.13);color:#79bcff;font-size:11px;font-weight:900;letter-spacing:.08em}
.lhd-po-gate-point strong{display:block;color:#f7fbff;font-size:14px;margin:1px 0 4px}.lhd-po-gate-point small{display:block;color:#9fb0c2;font-size:13px;line-height:1.5}
.lhd-po-gate-card{background:#fff;color:var(--po-ink);border-radius:24px;padding:34px;box-shadow:0 30px 90px rgba(0,0,0,.34);border:1px solid rgba(255,255,255,.5);position:relative;overflow:hidden}
.lhd-po-gate-card:before{content:"";position:absolute;inset:0 0 auto 0;height:4px;background:linear-gradient(90deg,#1769b6,#55adff)}
.lhd-po-gate-lock{width:48px;height:48px;border-radius:14px;background:#eaf4ff;display:grid;place-items:center;margin-bottom:24px;position:relative}.lhd-po-gate-lock:before{content:"";width:18px;height:15px;border:3px solid #176fbe;border-bottom:0;border-radius:10px 10px 0 0;position:absolute;top:10px}.lhd-po-gate-lock:after{content:"";width:24px;height:19px;border-radius:6px;background:#176fbe;position:absolute;top:21px}.lhd-po-gate-lock span{width:4px;height:7px;border-radius:3px;background:#eaf4ff;position:absolute;top:27px;z-index:2}
.lhd-po-gate-card h2{color:var(--po-ink)!important;font-size:clamp(28px,3vw,36px)!important;line-height:1.08!important;letter-spacing:-.035em!important;margin:8px 0 10px!important;padding:0!important}
.lhd-po-gate-card>p{color:var(--po-muted);line-height:1.6;margin:0 0 24px}
.lhd-po-gate-card label{font-size:13px;font-weight:800;display:block;margin:0 0 8px;color:#2f3f51}
.lhd-po-gate-card input[type=password]{width:100%;border:1px solid #cbd5df!important;background:#fff!important;border-radius:12px!important;padding:14px 15px!important;color:var(--po-ink)!important;outline:none;min-height:50px;box-shadow:none!important;transition:.18s}
.lhd-po-gate-card input[type=password]:focus{border-color:#61b2ff!important;box-shadow:0 0 0 4px rgba(31,119,208,.11)!important}
.lhd-po-gate-button{width:100%;margin-top:12px;display:flex!important;align-items:center;justify-content:center;gap:10px}.lhd-po-gate-button span{font-size:18px;line-height:1}
.lhd-po-gate-error{display:flex;flex-direction:column;gap:2px;background:#fff1f1;color:#9d3232;border:1px solid #efcdcd;border-radius:11px;padding:11px 13px;margin:0 0 16px;font-size:13px}.lhd-po-gate-error span{font-weight:500;color:#9f5757}
.lhd-po-gate-privacy{display:grid;grid-template-columns:24px 1fr;gap:10px;border-top:1px solid #e7edf3;margin-top:22px;padding-top:18px;color:#687588}.lhd-po-gate-privacy>span{width:22px;height:22px;display:grid;place-items:center;border-radius:7px;background:#eff5fb;color:#347ab7;font-weight:900;font-size:12px}.lhd-po-gate-privacy p{font-size:12px;line-height:1.55;margin:1px 0 0}
.lhd-po-gate-footer{display:flex;justify-content:space-between;gap:18px;padding:20px 0 4px;border-top:1px solid rgba(255,255,255,.08);font-size:11px;color:#7890a8;letter-spacing:.06em;text-transform:uppercase}.lhd-po-gate-footer span:first-child{color:#a7b7c8;font-weight:800}

/* Questionnaire canvas */
.lhd-po-app{background:#edf1f5;padding-bottom:0}
.lhd-po-intro-band{background:
  radial-gradient(circle at 17% 0%,rgba(31,119,208,.25),transparent 30%),
  radial-gradient(circle at 91% 10%,rgba(85,173,255,.1),transparent 24%),
  linear-gradient(145deg,#081522,#07101b 64%,#071421);color:#fff;padding-bottom:64px}
.lhd-po-header{padding:26px 0 8px;color:#fff}.lhd-po-brand-row{display:flex;align-items:center;justify-content:space-between;gap:18px}.lhd-po-header-actions{display:flex;align-items:center;gap:12px}.lhd-po-exit-link{color:#91a5b9!important;text-decoration:none!important;font-size:12px;font-weight:700;padding:9px 2px}.lhd-po-exit-link:hover{color:#fff!important}
.lhd-po-hero{padding:50px 0 42px;display:grid;grid-template-columns:minmax(0,1.2fr) minmax(320px,.68fr);gap:58px;align-items:center;color:#fff}
.lhd-po-app .lhd-po-hero h1{color:#fff!important;font-size:clamp(42px,5.1vw,64px)!important;line-height:1!important;letter-spacing:-.048em!important;margin:14px 0 18px!important;max-width:800px;font-weight:820!important;padding:0!important}
.lhd-po-hero-copy>p{color:#bdc9d7;line-height:1.72;max-width:760px;margin:0;font-size:16px}
.lhd-po-discovery-brief{border:1px solid rgba(255,255,255,.1);background:rgba(255,255,255,.045);box-shadow:0 18px 40px rgba(0,0,0,.12);border-radius:18px;padding:22px 22px 19px;backdrop-filter:blur(6px)}
.lhd-po-brief-label{color:#7dbfff;text-transform:uppercase;letter-spacing:.15em;font-weight:850;font-size:10px;margin-bottom:12px}.lhd-po-brief-row{display:grid;grid-template-columns:78px 1fr;gap:12px;padding:11px 0;border-top:1px solid rgba(255,255,255,.08)}.lhd-po-brief-row span{color:#8296aa;font-size:12px}.lhd-po-brief-row strong{color:#edf6ff;font-size:13px;line-height:1.4}.lhd-po-discovery-brief p{border-top:1px solid rgba(255,255,255,.08);color:#8fa2b5;font-size:11px;line-height:1.55;margin:12px 0 0;padding-top:13px}
.lhd-po-portal{margin-top:-30px;position:relative;z-index:2;padding-bottom:76px}.lhd-po-portal-thanks{margin-top:-18px}
.lhd-po-progress-wrap{background:rgba(10,22,35,.96);border:0;color:#fff;padding:18px 22px;border-radius:0;position:sticky;top:0;z-index:999;backdrop-filter:blur(10px);box-shadow:0 10px 24px rgba(7,16,27,.12)}
.lhd-po-progress-top{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:11px}.lhd-po-progress-label{font-size:12px;color:#9fb0c2}.lhd-po-progress-title{font-weight:800;font-size:14px}.lhd-po-progress-track{height:5px;background:rgba(255,255,255,.1);border-radius:999px;overflow:hidden}.lhd-po-progress-bar{height:100%;width:0;background:linear-gradient(90deg,#1f77d0,#61b2ff);transition:width .3s ease}
.lhd-po-card{background:var(--po-panel);border-radius:18px 18px var(--po-radius) var(--po-radius);box-shadow:var(--po-shadow);overflow:hidden}.lhd-po-section{display:none;padding:clamp(30px,4.2vw,58px)}.lhd-po-section.lhd-po-active{display:block;animation:lhdPoFade .28s ease}@keyframes lhdPoFade{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
.lhd-po-app .lhd-po-section h2,.lhd-po-app .lhd-po-thanks h2{color:var(--po-ink)!important;margin:8px 0 10px!important;font-size:clamp(29px,3vw,40px)!important;letter-spacing:-.034em!important;font-weight:820!important;padding:0!important}.lhd-po-section-intro{color:var(--po-muted);max-width:790px;line-height:1.68;margin:0 0 30px}
.lhd-po-how-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:4px 0 26px}.lhd-po-how-card{background:#f7f9fb;border:1px solid #e1e7ed;border-radius:14px;padding:17px}.lhd-po-how-card>span{display:inline-grid;place-items:center;width:29px;height:29px;border-radius:8px;background:#eaf4ff;color:#1f77d0;font-size:10px;font-weight:900;margin-bottom:12px}.lhd-po-how-card strong{display:block;color:#263749;font-size:14px;margin-bottom:5px}.lhd-po-how-card p{margin:0;color:#718094;font-size:12px;line-height:1.5}
.lhd-po-question{padding:26px 0;border-top:1px solid var(--po-line)}.lhd-po-question:first-of-type{border-top:0}.lhd-po-q-label{display:flex;align-items:flex-start;gap:12px;font-weight:760;line-height:1.45;margin-bottom:12px}.lhd-po-q-num{flex:0 0 auto;min-width:31px;height:31px;border-radius:9px;display:grid;place-items:center;background:var(--po-accent-soft);color:var(--po-accent);font-size:12px;font-weight:900}.lhd-po-help{color:var(--po-muted);font-size:13px;line-height:1.55;margin:-4px 0 13px 43px}
.lhd-po-app input[type="text"],.lhd-po-app input[type="email"],.lhd-po-app input[type="password"],.lhd-po-app textarea,.lhd-po-app select{width:100%;border:1px solid #cdd6df!important;background:#fff!important;border-radius:12px!important;padding:13px 14px!important;color:var(--po-ink)!important;outline:none;transition:.18s;min-height:48px;box-shadow:none!important}.lhd-po-app textarea{min-height:120px;resize:vertical;line-height:1.55}.lhd-po-app input:focus,.lhd-po-app textarea:focus,.lhd-po-app select:focus{border-color:#6ab4ff!important;box-shadow:0 0 0 4px rgba(31,119,208,.10)!important}
.lhd-po-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.lhd-po-option{position:relative}.lhd-po-option input{position:absolute;opacity:0;pointer-events:none}.lhd-po-option label{display:flex;align-items:center;gap:10px;border:1px solid #d5dde6;border-radius:12px;padding:13px 14px;min-height:48px;cursor:pointer;transition:.18s;background:#fff;color:var(--po-ink);font-weight:500}.lhd-po-option label:before{content:"";width:18px;height:18px;border:1.5px solid #9aa8b7;border-radius:5px;flex:0 0 auto}.lhd-po-option input[type="radio"]+label:before{border-radius:50%}.lhd-po-option input:checked+label{border-color:#5aa9f6;background:var(--po-accent-soft)}.lhd-po-option input:checked+label:before{border-color:var(--po-accent);background:var(--po-accent);box-shadow:inset 0 0 0 4px #fff}
.lhd-po-workflow-strip{display:grid;grid-template-columns:repeat(8,1fr);gap:7px;margin:0 0 30px}.lhd-po-workflow-step{padding:11px 7px;background:#f2f6fa;border:1px solid #e0e7ee;border-radius:10px;text-align:center;font-size:11px;font-weight:800;color:#536174}.lhd-po-notice{border:1px solid #cfe4f7;background:#f1f8ff;border-radius:14px;padding:16px 18px;color:#38536b;line-height:1.55;font-size:14px;margin-bottom:26px}
.lhd-po-nav-row{display:flex;justify-content:space-between;align-items:center;gap:12px;border-top:1px solid var(--po-line);padding:22px clamp(28px,4vw,54px);background:#fbfcfd}.lhd-po-btn{border:0!important;border-radius:11px!important;padding:12px 18px!important;font-weight:800!important;min-height:46px;line-height:1.2!important;text-decoration:none!important}.lhd-po-btn-primary{background:#1674ca!important;color:#fff!important;box-shadow:0 9px 20px rgba(22,116,202,.2)}.lhd-po-btn-primary:hover{background:#0f66b4!important}.lhd-po-btn-secondary{background:#edf2f6!important;color:#304052!important}.lhd-po-btn-ghost{background:transparent!important;color:#637184!important;padding-inline:8px!important}.lhd-po-actions-left,.lhd-po-actions-right{display:flex;gap:8px;align-items:center}.lhd-po-save-status{font-size:12px;color:#7b8898}
.lhd-po-review-grid{display:grid;gap:14px}.lhd-po-review-group{border:1px solid var(--po-line);border-radius:14px;overflow:hidden}.lhd-po-review-group h3{margin:0!important;background:#f3f6f9;padding:13px 15px!important;font-size:14px!important;color:var(--po-ink)!important}.lhd-po-review-item{padding:12px 15px;border-top:1px solid #e7ecf1}.lhd-po-review-q{color:#697789;font-size:12px;margin-bottom:4px}.lhd-po-review-a{white-space:pre-wrap;line-height:1.5;font-size:14px}.lhd-po-file-box{border:1px dashed #aebbc8;border-radius:14px;padding:20px;background:#fbfcfd}.lhd-po-file-box input{width:100%}.lhd-po-security-note{display:flex;gap:10px;color:#637184;font-size:12px;line-height:1.55;margin-top:10px}.lhd-po-submit-error{margin-top:16px;color:var(--po-danger);font-weight:700}.lhd-po-hp{position:absolute!important;left:-10000px!important;width:1px!important;height:1px!important;overflow:hidden!important}
.lhd-po-thanks{text-align:center;padding:70px 30px;background:#fff;border-radius:20px;box-shadow:var(--po-shadow)}.lhd-po-thanks-badge{width:64px;height:64px;border-radius:18px;display:grid;place-items:center;background:#eaf8f2;color:var(--po-success);font-size:27px;font-weight:900;margin:0 auto 18px}

@media(max-width:900px){
  .lhd-po-gate-grid{grid-template-columns:1fr;gap:38px;padding-top:26px}.lhd-po-gate-intro{max-width:800px}.lhd-po-gate-card{width:min(620px,100%)}
  .lhd-po-hero{grid-template-columns:1fr;gap:24px;padding:42px 0 42px}.lhd-po-discovery-brief{display:grid;grid-template-columns:1fr 1fr 1fr;gap:0}.lhd-po-brief-label,.lhd-po-discovery-brief p{grid-column:1/-1}.lhd-po-brief-row{grid-template-columns:1fr;gap:4px;padding:11px 12px}.lhd-po-brief-row:nth-of-type(2){border-left:1px solid rgba(255,255,255,.08);border-right:1px solid rgba(255,255,255,.08)}
  .lhd-po-workflow-strip{grid-template-columns:repeat(4,1fr)}.lhd-po-options{grid-template-columns:1fr}
}
@media(max-width:640px){
  .lhd-po-shell,.lhd-po-gate-shell{width:min(100% - 24px,1180px)}
  .lhd-po-gate{padding:16px 0}.lhd-po-gate-shell{min-height:calc(100vh - 32px)}.lhd-po-gate-header{padding-bottom:12px}.lhd-po-private-pill{display:none}.lhd-po-gate-grid{padding:28px 0 32px}.lhd-po-gate-intro h1{font-size:clamp(40px,13vw,56px)!important}.lhd-po-gate-lead{font-size:15px}.lhd-po-gate-card{padding:26px 21px;border-radius:18px}.lhd-po-gate-footer{flex-direction:column;gap:6px}
  .lhd-po-header{padding-top:18px}.lhd-po-header-actions{gap:8px}.lhd-po-exit-link{padding:8px 0}.lhd-po-intro-band{padding-bottom:48px}.lhd-po-hero{padding:34px 0 35px}.lhd-po-app .lhd-po-hero h1{font-size:clamp(38px,11vw,52px)!important}.lhd-po-hero-copy>p{font-size:14px}.lhd-po-discovery-brief{display:block;padding:18px}.lhd-po-brief-row{grid-template-columns:72px 1fr;padding:10px 0}.lhd-po-brief-row:nth-of-type(2){border-left:0;border-right:0}
  .lhd-po-portal{margin-top:-22px;padding-bottom:36px}.lhd-po-card{border-radius:14px 14px var(--po-radius) var(--po-radius)}.lhd-po-progress-wrap{border-radius:0;padding:15px 18px}.lhd-po-section{padding:30px 20px}.lhd-po-how-grid{grid-template-columns:1fr}.lhd-po-nav-row{padding:16px 20px;align-items:stretch;flex-direction:column}.lhd-po-actions-left,.lhd-po-actions-right{width:100%;justify-content:space-between}.lhd-po-actions-right .lhd-po-btn-primary{flex:1}.lhd-po-workflow-strip{grid-template-columns:repeat(2,1fr)}.lhd-po-help{margin-left:0}
}

/* v1.0.6 questionnaire navigation: return to the top of the form so the
   section number/category and section introduction are visible before answers. */
.lhd-po-card {
  scroll-margin-top: 0;
}
