/* PromptVault Core Alpha */
.pv-core-overlay,.pv-core-family,.pv-core-tool-modal{display:none}
.pv-core-open{overflow:hidden}
.pv-core-toast{position:fixed;z-index:9000;left:50%;bottom:90px;transform:translate(-50%,20px);opacity:0;background:#07111b;color:#fff;border:1px solid rgba(55,163,255,.25);padding:10px 14px;border-radius:12px;font:700 11px/1 system-ui;transition:.18s;pointer-events:none}.pv-core-toast.show{opacity:1;transform:translate(-50%,0)}
.pv-core-overlay.open{display:block;position:fixed;z-index:3000;inset:0;background:#f6f9fd;color:#101722;overflow:auto}
.pv-core-head{position:sticky;top:0;z-index:4;display:flex;align-items:center;gap:12px;padding:10px 18px;background:rgba(248,251,255,.94);backdrop-filter:blur(20px);border-bottom:1px solid #e8eef6}.pv-core-head>div{flex:1}.pv-core-head small{display:block;font:800 8px/1.2 system-ui;letter-spacing:.14em;color:#2388ee}.pv-core-head strong{font:800 18px/1.2 system-ui}.pv-core-back,.pv-core-saved{border:1px solid #dfe8f3;background:#fff;border-radius:12px;height:38px;padding:0 13px;color:#142034;font-weight:800}.pv-core-back{font-size:24px}.pv-core-saved{font-size:12px}
.pv-core-main{max-width:1120px;margin:auto;padding:28px 22px 70px}.pv-core-intro{max-width:760px}.pv-core-kicker{font:900 9px/1 system-ui;letter-spacing:.12em;color:#197be0}.pv-core-intro h1{font:850 40px/1.02 system-ui;letter-spacing:-.045em;margin:9px 0 8px}.pv-core-intro p{color:#667489;font:500 14px/1.55 system-ui;max-width:660px}.pv-core-search-wrap{display:flex;align-items:center;gap:10px;background:#fff;border:1px solid #dae5f1;border-radius:18px;box-shadow:0 10px 35px rgba(27,78,127,.07);height:62px;padding:0 14px;margin:20px 0 10px}.pv-core-search-wrap>span{font-size:26px;color:#268ff7}.pv-core-search-wrap input{flex:1;border:0;outline:0;background:none;font:600 14px system-ui;color:#121b29}.pv-core-search-wrap button{border:0;background:#eff5fb;border-radius:10px;width:32px;height:32px;color:#77859a}.pv-core-modes{display:flex;gap:8px}.pv-core-modes button{border:1px solid #dfe9f4;background:#fff;border-radius:999px;padding:8px 12px;color:#526176;font:700 10px system-ui}.pv-core-modes .active{background:#147fea;color:#fff;border-color:#147fea}
.pv-core-tools{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:26px 0 18px}.pv-core-tools button{display:flex;align-items:center;gap:11px;text-align:left;border:1px solid #e0e9f3;background:#fff;border-radius:18px;padding:14px;box-shadow:0 8px 24px rgba(30,70,115,.04)}.pv-core-tools b{width:38px;height:38px;border-radius:12px;display:grid;place-items:center;background:#eaf5ff;color:#1785ec;font-size:18px}.pv-core-tools span{display:block}.pv-core-tools strong{display:block;font:800 11px system-ui;color:#162030}.pv-core-tools small{display:block;color:#8290a3;font:500 8px/1.35 system-ui;margin-top:3px}
.pv-core-filter-row{display:flex;gap:7px;overflow:auto;padding:3px 0 12px}.pv-core-filter-row button{white-space:nowrap;border:1px solid #dfe8f2;background:#fff;border-radius:999px;padding:8px 12px;color:#68768a;font:750 9px system-ui}.pv-core-filter-row .active{background:#101a29;border-color:#101a29;color:#fff}
.pv-core-result-head{display:flex;justify-content:space-between;align-items:end;margin:8px 0 12px}.pv-core-result-head small{display:block;color:#2388ee;font:900 8px system-ui;letter-spacing:.13em}.pv-core-result-head strong{display:block;font:800 18px system-ui;margin-top:3px}.pv-core-result-head>span{color:#8491a4;font:600 9px system-ui}
.pv-core-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.pv-core-card{min-height:210px;text-align:left;border:1px solid #e0e9f3;background:#fff;border-radius:20px;padding:15px;color:#121b29;box-shadow:0 10px 30px rgba(24,63,104,.05);transition:.15s}.pv-core-card:hover{transform:translateY(-2px);box-shadow:0 16px 38px rgba(24,63,104,.09)}.pv-core-card-top{display:flex;justify-content:space-between;color:#77869a;font:800 8px system-ui;letter-spacing:.08em}.pv-core-card-top b{color:#1a87ee;font-size:15px}.pv-core-card h3{font:850 18px/1.08 system-ui;letter-spacing:-.025em;margin:23px 0 5px}.pv-core-card p{font:600 10px system-ui;color:#788699;margin:0 0 14px}.pv-core-models{display:flex;gap:5px;flex-wrap:wrap}.pv-core-models span{font:700 7px system-ui;background:#f0f5fa;color:#56657a;padding:5px 6px;border-radius:6px}.pv-core-card footer{display:flex;justify-content:space-between;align-items:end;margin-top:22px;padding-top:11px;border-top:1px solid #edf2f7}.pv-core-card footer span{font:600 8px system-ui;color:#8995a7}.pv-core-card footer span strong{color:#172235;font-size:12px}.pv-core-card footer em{font:800 8px system-ui;color:#1c83e7;font-style:normal}.pv-core-more{display:block;margin:18px auto;border:1px solid #d9e5f0;background:#fff;border-radius:13px;padding:10px 18px;color:#425268;font-weight:800}.pv-core-empty,.pv-core-error{grid-column:1/-1;padding:35px;border:1px dashed #d5e0ec;border-radius:18px;text-align:center;color:#7a889a}
.pv-core-family.open{display:block;position:fixed;z-index:3500;inset:0;background:#f6f9fd;color:#111a28;overflow:auto}.pv-core-family-shell>header{position:sticky;top:0;z-index:3;display:flex;align-items:center;gap:12px;padding:10px 18px;background:rgba(248,251,255,.95);backdrop-filter:blur(20px);border-bottom:1px solid #e6edf5}.pv-core-family-shell>header>div{flex:1}.pv-core-family-shell>header small{display:block;color:#2388ee;font:900 7px system-ui;letter-spacing:.14em}.pv-core-family-shell>header strong{font:800 15px system-ui}.pv-core-family-shell>header button{border:1px solid #dce6f0;background:#fff;border-radius:11px;height:36px;padding:0 12px;color:#26364d;font-weight:800}.pv-core-family-shell>main{max-width:920px;margin:auto;padding:26px 20px 70px}.pv-family-hero{padding:25px;border-radius:24px;background:linear-gradient(135deg,#0c2035,#0b4d8f 62%,#167fe0);color:#fff;box-shadow:0 18px 45px rgba(17,84,144,.16)}.pv-family-review{font:900 8px system-ui;letter-spacing:.12em;color:#a8d8ff}.pv-family-hero h1{font:850 34px/1.02 system-ui;letter-spacing:-.04em;margin:8px 0 5px}.pv-family-hero p{color:#b7d7f1;font:600 11px system-ui}.pv-family-stat{display:flex;gap:8px;flex-wrap:wrap;margin-top:20px}.pv-family-stat span{background:rgba(255,255,255,.10);border:1px solid rgba(255,255,255,.13);padding:8px 9px;border-radius:9px;font:600 8px system-ui}.pv-family-stat b{font-size:10px}
.pv-dna,.pv-master,.pv-model-select,.pv-variant{margin-top:20px;background:#fff;border:1px solid #e2eaf3;border-radius:20px;padding:17px}.pv-dna small,.pv-family-section-head small{font:900 8px system-ui;letter-spacing:.13em;color:#2589e8}.pv-dna h2,.pv-family-section-head h2{font:800 17px system-ui;margin:3px 0 0}.pv-dna-row{display:flex;gap:7px;flex-wrap:wrap;margin-top:12px}.pv-dna-row button{border:1px solid #dce7f1;background:#f6f9fc;border-radius:999px;padding:7px 10px;color:#5d6c80;font:700 8px system-ui}.pv-dna-row .locked{background:#eaf5ff;color:#177ddb;border-color:#c8e4fb}.pv-family-section-head{display:flex;align-items:end;justify-content:space-between;gap:12px;margin-bottom:10px}.pv-family-section-head>button,.pv-family-section-head>div>button{border:1px solid #dce6ef;background:#f6f9fc;border-radius:9px;padding:7px 10px;color:#31506e;font:800 8px system-ui}.pv-family-section-head>span{color:#8794a5;font:600 8px system-ui}.pv-master textarea,.pv-variant textarea{width:100%;min-height:160px;border:0;background:#f7f9fc;border-radius:13px;padding:13px;resize:vertical;box-sizing:border-box;color:#2c384a;font:500 11px/1.55 system-ui;outline:none}.pv-model-row{display:flex;gap:7px;overflow:auto}.pv-model-row button{min-width:105px;text-align:left;border:1px solid #dfe8f1;background:#f7f9fc;border-radius:12px;padding:9px}.pv-model-row button strong,.pv-model-row button small{display:block}.pv-model-row button strong{font:800 9px system-ui}.pv-model-row button small{font:600 7px system-ui;color:#8491a2;margin-top:3px}.pv-model-row .active{background:#147fea;color:#fff;border-color:#147fea}.pv-model-row .active small{color:#cfe8ff}.pv-audience-row{display:flex;gap:6px;flex-wrap:wrap;margin-top:9px}.pv-audience-row button{border:1px solid #e0e8f1;background:#fff;border-radius:999px;padding:6px 9px;color:#66768a;font:700 8px system-ui}.pv-audience-row .active{background:#eaf5ff;color:#1478d5;border-color:#c8e4fb}.pv-family-tools{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;margin-top:20px}.pv-family-tools button{display:grid;text-align:left;border:1px solid #e0e9f2;background:#fff;border-radius:16px;padding:14px}.pv-family-tools b{color:#1684ec;font-size:18px}.pv-family-tools strong{font:800 10px system-ui;margin:7px 0 2px}.pv-family-tools span{font:600 8px system-ui;color:#8592a4}
.pv-core-tool-modal.open{display:flex;position:fixed;z-index:4000;inset:0;align-items:flex-end;justify-content:center}.pv-core-tool-backdrop{position:absolute;inset:0;border:0;background:rgba(10,18,28,.45);backdrop-filter:blur(5px)}.pv-core-tool-modal>section{position:relative;z-index:2;background:#fff;width:min(720px,100%);max-height:88vh;overflow:auto;border-radius:26px 26px 0 0;padding:18px 18px 28px;box-shadow:0 -25px 70px rgba(0,0,0,.18)}.pv-core-tool-modal header{display:flex;justify-content:space-between;align-items:start}.pv-core-tool-modal header small{font:900 8px system-ui;color:#2187e8;letter-spacing:.13em}.pv-core-tool-modal h2{font:850 22px system-ui;margin:4px 0 13px}.pv-core-tool-modal header button{border:1px solid #dfe7ef;background:#f7f9fc;width:34px;height:34px;border-radius:50%;font-size:18px}.pv-tool-copy p{color:#6e7d90;font:500 11px/1.5 system-ui}.pv-core-tool-modal textarea{width:100%;min-height:150px;box-sizing:border-box;border:1px solid #dfe8f2;background:#f8fafc;border-radius:13px;padding:12px;color:#263449;font:500 11px/1.5 system-ui;outline:none}.pv-core-tool-modal select{width:100%;height:44px;border:1px solid #dfe8f2;background:#fff;border-radius:11px;padding:0 10px;margin:9px 0}.pv-tool-primary,.pv-tool-secondary{width:100%;height:44px;border-radius:12px;font:800 10px system-ui;margin-top:9px}.pv-tool-primary{border:0;background:#147fea;color:#fff}.pv-tool-secondary{border:1px solid #dce6ef;background:#fff;color:#31506e}.pv-doctor-score{display:flex;align-items:center;gap:10px;margin:14px 0}.pv-doctor-score b{font:850 32px system-ui;color:#147fea}.pv-doctor-score span{font:700 10px system-ui;color:#65758a}.pv-doctor-checks{display:grid;grid-template-columns:1fr 1fr;gap:6px}.pv-doctor-checks span{padding:8px;border-radius:9px;font:700 8px system-ui}.pv-doctor-checks .good{background:#edf9f4;color:#237a58}.pv-doctor-checks .warn{background:#fff6e8;color:#9a651d}.pv-doctor-checks+p{font:500 10px/1.5 system-ui;color:#68788d}.pv-failure-grid{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin:9px 0}.pv-failure-grid button{border:1px solid #dfe8f1;background:#fff;border-radius:11px;padding:10px;text-align:left;color:#34445b;font:750 9px system-ui}
.pv-core-loading{text-align:center;padding:50px;color:#758398}
@media(max-width:780px){
  .pv-core-main{padding:19px 13px 90px}.pv-core-intro h1{font-size:29px}.pv-core-intro p{font-size:11px}.pv-core-search-wrap{height:56px;border-radius:17px}.pv-core-tools{grid-template-columns:1fr;gap:7px;margin-top:18px}.pv-core-tools button{padding:11px}.pv-core-grid{grid-template-columns:1fr}.pv-core-card{min-height:170px}.pv-core-card h3{margin-top:17px}.pv-core-result-head>span{display:none}.pv-core-family-shell>main{padding:16px 13px 90px}.pv-family-hero{padding:20px}.pv-family-hero h1{font-size:27px}.pv-family-stat{gap:5px}.pv-dna,.pv-master,.pv-model-select,.pv-variant{padding:13px;margin-top:12px}.pv-family-tools{grid-template-columns:1fr}.pv-master textarea,.pv-variant textarea{min-height:190px}.pv-core-tool-modal>section{padding-bottom:calc(24px + env(safe-area-inset-bottom))}.pv-doctor-checks{grid-template-columns:1fr}
}
/* =========================================================
   ADAPTIVE PROMPT ENGINE — AUTOPILOT
   ========================================================= */
.pv-autopilot-launch{background:linear-gradient(135deg,#147fea,#39a8ff)!important;color:#fff!important;border-color:transparent!important;box-shadow:0 9px 24px rgba(20,127,234,.18)}
.pv-core-tools{grid-template-columns:1.25fr 1fr 1fr 1fr}
.pv-core-tool-featured{border-color:#bfe0ff!important;background:linear-gradient(135deg,#f8fcff,#eaf6ff)!important}
.pv-core-tool-featured b{background:linear-gradient(135deg,#147fea,#50b7ff)!important;color:#fff!important}
.pv-architect-hero{padding:15px 15px 16px;border-radius:17px;background:linear-gradient(135deg,#071b2e,#0b62b8 62%,#168dea);color:#fff;margin-bottom:14px}
.pv-architect-hero>span{font:900 8px system-ui;letter-spacing:.14em;color:#bce3ff}.pv-architect-hero h3{font:850 20px/1.06 system-ui;letter-spacing:-.025em;margin:6px 0}.pv-architect-hero p{font:500 9px/1.5 system-ui;color:#c6e2f8;margin:0;max-width:580px}
.pv-architect-label,.pv-architect-full{display:block}.pv-architect-label{font:800 10px system-ui;color:#24344a;margin:6px 0}.pv-architect-brief{min-height:125px!important}
.pv-architect-row{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:8px}.pv-architect-row label,.pv-architect-full{display:block}.pv-architect-row label>span,.pv-architect-full>span{display:block;font:750 8px system-ui;color:#637389;margin:0 0 5px 2px}.pv-architect-row em{font-style:normal;color:#a0aab8;font-weight:600}.pv-architect-row input{width:100%;height:42px;box-sizing:border-box;border:1px solid #dfe8f2;border-radius:11px;background:#f9fbfd;padding:0 10px;outline:none;font:600 9px system-ui;color:#263449}.pv-architect-row select{margin:0!important}
.pv-project-memory{border:1px solid #e1e9f2;border-radius:13px;padding:10px 11px;margin-top:9px;background:#fbfcfe}.pv-project-memory summary{cursor:pointer;font:800 9px system-ui;color:#496079}.pv-project-memory[open] summary{margin-bottom:9px}.pv-project-memory textarea{min-height:80px!important}.pv-project-memory .pv-tool-secondary{height:38px}
.pv-architect-build{margin-top:11px!important;background:linear-gradient(135deg,#147fea,#35a5ff)!important;box-shadow:0 10px 28px rgba(20,127,234,.18)}
.pv-architect-detection,.pv-architect-result-hero,.pv-architect-model{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:14px;padding:12px;border:1px solid #e0e9f2;border-radius:14px;background:#f9fbfd}.pv-architect-detection small,.pv-architect-result-hero small,.pv-architect-model small,.pv-architect-family-options>small,.pv-architect-questions>small,.pv-architect-dna>small,.pv-strength-map>small,.pv-architect-variants>small,.pv-architect-recent>small{font:900 7px system-ui;letter-spacing:.13em;color:#1683e7}.pv-architect-detection h3,.pv-architect-result-hero h3{font:800 14px system-ui;margin:3px 0}.pv-architect-detection>span,.pv-architect-model>span{font:700 8px system-ui;color:#617189;background:#fff;border:1px solid #dce6ef;border-radius:999px;padding:6px 8px}
.pv-architect-family-options,.pv-architect-questions{margin-top:12px}.pv-architect-family-options>button{display:flex;align-items:center;gap:9px;width:100%;text-align:left;margin-top:6px;padding:9px;border:1px solid #e0e8f1;border-radius:12px;background:#fff;color:#1f2c3e}.pv-architect-family-options>button.active{border-color:#75baf7;background:#eef8ff}.pv-architect-family-options button>b{width:25px;height:25px;border-radius:8px;display:grid;place-items:center;background:#edf4fa;color:#4382b9;font:850 9px system-ui}.pv-architect-family-options button span{flex:1}.pv-architect-family-options button strong{display:block;font:800 9px system-ui}.pv-architect-family-options button small{display:block;font:600 7px system-ui;color:#8794a5;margin-top:2px}.pv-architect-family-options button em{font:800 8px system-ui;color:#1683e7;font-style:normal}
.pv-architect-questions label{display:block;margin-top:7px}.pv-architect-questions label span{display:block;font:750 8px system-ui;color:#5c6d82;margin:0 0 4px 2px}.pv-architect-questions input{width:100%;height:39px;box-sizing:border-box;border:1px solid #dfe8f1;border-radius:10px;background:#fff;padding:0 9px;outline:none;font:600 9px system-ui}
.pv-architect-result-hero{background:linear-gradient(135deg,#071b2e,#0d5aab);color:#fff;border:0}.pv-architect-result-hero small{color:#b8e0ff}.pv-architect-result-hero p{font:600 8px system-ui;color:#bcd8ef;margin:3px 0 0}.pv-architect-score{width:68px;height:68px;flex:0 0 auto;border-radius:50%;display:grid;place-items:center;align-content:center;background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.18)}.pv-architect-score b{font:850 25px/1 system-ui}.pv-architect-score span{font:650 6px system-ui;color:#cbe7fb;margin-top:3px}
.pv-architect-dna,.pv-strength-map,.pv-architect-variants{margin-top:10px;padding:11px;border:1px solid #e1e9f2;border-radius:13px;background:#fff}.pv-architect-dna>div{display:grid;grid-template-columns:repeat(4,1fr);gap:6px;margin-top:7px}.pv-architect-dna span{display:block;padding:8px;border-radius:9px;background:#f3f7fb;font:650 7px system-ui;color:#8793a4}.pv-architect-dna b{display:block;color:#23344a;font:800 8px system-ui;margin-top:3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pv-architect-model h4{margin:3px 0 0;font:800 12px system-ui}
.pv-strength-map>div{display:grid;grid-template-columns:105px 1fr 28px;gap:7px;align-items:center;margin-top:7px}.pv-strength-map span,.pv-strength-map em{font:700 7px system-ui;color:#69798d}.pv-strength-map em{text-align:right;font-style:normal}.pv-strength-map i{height:6px;background:#edf2f6;border-radius:99px;overflow:hidden}.pv-strength-map i b{display:block;height:100%;background:linear-gradient(90deg,#147fea,#55b9ff);border-radius:99px}
.pv-architect-variants>div{display:flex;gap:5px;overflow:auto;margin-top:7px}.pv-architect-variants button{white-space:nowrap;border:1px solid #dfe8f1;background:#f8fafc;border-radius:999px;padding:7px 9px;font:750 7px system-ui;color:#607086}.pv-architect-variants button.active{background:#147fea;border-color:#147fea;color:#fff}
.pv-architect-output{min-height:270px!important;margin-top:10px;background:#f7f9fc!important}.pv-architect-actions{display:grid;grid-template-columns:1fr 1fr;gap:7px}.pv-architect-bridge{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;margin-top:8px}.pv-architect-bridge button{border:1px solid #dfe8f1;background:#fff;border-radius:10px;padding:9px;color:#36516d;font:800 7px system-ui}
.pv-architect-recent{margin-top:16px;border-top:1px solid #e8edf3;padding-top:12px}.pv-architect-recent button{display:flex;justify-content:space-between;gap:8px;width:100%;text-align:left;border:0;border-bottom:1px solid #edf1f5;background:none;padding:8px 1px}.pv-architect-recent strong{font:750 8px system-ui;color:#35475e}.pv-architect-recent span{font:650 7px system-ui;color:#8b97a7}
@media(max-width:780px){
  .pv-core-tools{grid-template-columns:1fr!important}.pv-architect-row{grid-template-columns:1fr}.pv-architect-dna>div{grid-template-columns:1fr 1fr}.pv-architect-bridge{grid-template-columns:1fr}.pv-strength-map>div{grid-template-columns:90px 1fr 24px}
}

.pv-core-autopilot-inline{border:0;background:none;color:#147fea;font:800 9px system-ui;padding:3px 2px 8px;cursor:pointer}

/* Vantra Originals source collection */
.pv-source-card{border-color:#b9ddfb;background:linear-gradient(180deg,#ffffff,#f4faff)}
.pv-source-card .pv-core-card-top span{color:#147fea}
.pv-source-card footer em{color:#0c73d0}
.pv-source-hero{background:linear-gradient(135deg,#07111b,#0b3155 58%,#137fd8)}
.pv-source-save-wide{width:100%;height:45px;margin-top:12px;border:1px solid #cfe4f7;border-radius:12px;background:#eef8ff;color:#1476d0;font:800 9px system-ui}
