/* ============================================================
   PSTET Tools Suite V2 — Styles (34 Tools)
   All classes prefixed pstet- to avoid conflicts
   ============================================================ */
.pstet-tool *,.pstet-tool *::before,.pstet-tool *::after{box-sizing:border-box}
.pstet-tool{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen,Ubuntu,sans-serif;max-width:700px;margin:20px auto;border:1px solid #e0e0e0;border-radius:10px;overflow:hidden;background:#fff;box-shadow:0 2px 12px rgba(0,0,0,.06);color:#333;line-height:1.5;font-size:15px}
.pstet-tool-header{background:linear-gradient(135deg,#1a73e8 0%,#0d47a1 100%);color:#fff;padding:16px 20px}
.pstet-tool-header h3{margin:0;font-size:18px;font-weight:600;line-height:1.3}
.pstet-tool-header p{margin:4px 0 0;opacity:.85;font-size:13px}
.pstet-tool-body{padding:20px}
.pstet-form-row{margin-bottom:14px}
.pstet-form-row label{display:block;font-weight:600;font-size:13px;margin-bottom:5px;color:#444}
.pstet-form-row small{display:block;font-size:12px;color:#777;margin-top:3px}
.pstet-row-inline{display:flex;gap:12px;flex-wrap:wrap}
.pstet-row-inline>div{flex:1;min-width:120px}
.pstet-input{width:100%;padding:10px 12px;border:1px solid #ccc;border-radius:6px;font-size:14px;color:#333;background:#fafafa;transition:border-color .2s,box-shadow .2s;-webkit-appearance:none}
.pstet-input:focus{outline:none;border-color:#1a73e8;box-shadow:0 0 0 3px rgba(26,115,232,.12);background:#fff}
textarea.pstet-input{resize:vertical}
select.pstet-input{cursor:pointer}
input[type="file"].pstet-input{padding:8px;background:#f5f5f5}

/* Buttons */
.pstet-btn-group{display:flex;gap:10px;flex-wrap:wrap;margin-top:16px}
.pstet-btn{padding:10px 22px;border:none;border-radius:6px;font-size:14px;font-weight:600;cursor:pointer;transition:background .2s,transform .1s;display:inline-flex;align-items:center;gap:6px;text-decoration:none}
.pstet-btn:active{transform:scale(.97)}
.pstet-btn:disabled{opacity:.5;cursor:not-allowed}
.pstet-btn-primary{background:#1a73e8;color:#fff}
.pstet-btn-primary:hover:not(:disabled){background:#1565c0}
.pstet-btn-secondary{background:#e0e0e0;color:#333}
.pstet-btn-secondary:hover:not(:disabled){background:#d0d0d0}
.pstet-btn-success{background:#2e7d32;color:#fff}
.pstet-btn-success:hover:not(:disabled){background:#1b5e20}
.pstet-btn-sm{padding:6px 14px;font-size:12px}
.pstet-btn-whatsapp{background:#25D366;color:#fff}
.pstet-btn-whatsapp:hover{background:#1da851;color:#fff}
.pstet-btn-telegram{background:#0088cc;color:#fff}
.pstet-btn-telegram:hover{background:#006699;color:#fff}

/* Result */
.pstet-result{margin-top:16px;padding:14px 16px;border-radius:8px;font-size:14px;line-height:1.6}
.pstet-result-success{background:#e8f5e9;border:1px solid #a5d6a7;color:#1b5e20}
.pstet-result-fail{background:#ffebee;border:1px solid #ef9a9a;color:#b71c1c}
.pstet-result-info{background:#e3f2fd;border:1px solid #90caf9;color:#0d47a1}
.pstet-result-warning{background:#fff8e1;border:1px solid #ffe082;color:#e65100}
.pstet-error{color:#d32f2f;font-size:13px}

/* Tables */
.pstet-table{width:100%;border-collapse:collapse;margin-top:14px;font-size:13px}
.pstet-table th,.pstet-table td{padding:8px 12px;text-align:left;border-bottom:1px solid #eee}
.pstet-table th{background:#f5f5f5;font-weight:600;color:#444}
.pstet-table tr:last-child td{border-bottom:none}

/* Tabs */
.pstet-tabs{display:flex;gap:0;border-bottom:2px solid #e0e0e0;margin-bottom:16px;overflow-x:auto}
.pstet-tab{padding:8px 16px;border:none;background:transparent;font-size:13px;font-weight:600;cursor:pointer;color:#666;border-bottom:2px solid transparent;margin-bottom:-2px;transition:all .2s;white-space:nowrap}
.pstet-tab.active,.pstet-tab:hover{color:#1a73e8;border-bottom-color:#1a73e8}
.pstet-tab-content{display:none}.pstet-tab-content.active{display:block}

/* ── Countdown ── */
.pstet-countdown .pstet-countdown-display{display:flex;justify-content:center;align-items:center;gap:6px;padding:20px;flex-wrap:wrap}
.pstet-cd-box{text-align:center;background:#0d47a1;color:#fff;border-radius:8px;padding:12px 14px;min-width:68px}
.pstet-cd-num{display:block;font-size:32px;font-weight:700;line-height:1.1;font-variant-numeric:tabular-nums}
.pstet-cd-label{display:block;font-size:11px;text-transform:uppercase;opacity:.8;margin-top:4px}
.pstet-cd-sep{font-size:28px;font-weight:700;color:#0d47a1}
.pstet-cd-date-display{text-align:center;font-size:13px;color:#666;margin:0;padding-bottom:16px}

/* ── Typing ── */
.pstet-typing-stats{display:flex;justify-content:space-around;flex-wrap:wrap;gap:8px;padding:12px 0;margin-bottom:12px;border-bottom:1px solid #eee}
.pstet-stat{text-align:center}
.pstet-stat-val{display:block;font-size:24px;font-weight:700;color:#1a73e8;font-variant-numeric:tabular-nums}
.pstet-stat-label{font-size:11px;text-transform:uppercase;color:#888}
.pstet-typing-passage{background:#f9f9f9;border:1px solid #e0e0e0;border-radius:6px;padding:14px;font-size:15px;line-height:1.8;margin-bottom:12px;min-height:80px;max-height:200px;overflow-y:auto}
.pstet-char-correct{color:#2e7d32;background:#e8f5e9}
.pstet-char-wrong{color:#d32f2f;background:#ffebee;text-decoration:underline}
.pstet-char-current{border-bottom:2px solid #1a73e8;background:#e3f2fd}
.pstet-typing-input{font-family:monospace;font-size:15px}
.pstet-typing-input:disabled{background:#f0f0f0}

/* ── Photo ── */
.pstet-photo-preview-area{margin-top:16px}
.pstet-photo-compare{display:flex;gap:16px;flex-wrap:wrap}
.pstet-photo-box{flex:1;min-width:140px;text-align:center}
.pstet-photo-box img,.pstet-photo-box canvas{max-width:100%;max-height:200px;border:1px solid #ddd;border-radius:4px}
.pstet-photo-box p{margin:4px 0;font-size:12px;color:#666}

/* ── PDF ── */
.pstet-pdf-thumbs{display:flex;gap:8px;flex-wrap:wrap;margin:10px 0}
.pstet-pdf-thumb{width:80px;height:100px;border:2px solid #ddd;border-radius:4px;overflow:hidden;cursor:grab;position:relative}
.pstet-pdf-thumb img{width:100%;height:100%;object-fit:cover}
.pstet-pdf-thumb-remove{position:absolute;top:2px;right:2px;background:rgba(211,47,47,.85);color:#fff;border:none;border-radius:50%;width:20px;height:20px;font-size:12px;cursor:pointer;line-height:1;display:flex;align-items:center;justify-content:center}

/* ── Resume ── */
.pstet-res-preview{margin-top:16px;border:1px solid #ddd;border-radius:6px;padding:30px;background:#fff;font-size:14px;line-height:1.6}
.pstet-res-preview h2{text-align:center;font-size:22px;margin:0 0 4px;color:#1a73e8}
.pstet-res-preview .pstet-res-contact{text-align:center;font-size:13px;color:#555;margin-bottom:16px}
.pstet-res-preview h4{font-size:14px;text-transform:uppercase;color:#1a73e8;border-bottom:2px solid #1a73e8;padding-bottom:4px;margin:14px 0 8px}
.pstet-res-preview .pstet-res-edu-item{margin-bottom:6px}
.pstet-res-preview .pstet-res-skills-list{display:flex;flex-wrap:wrap;gap:6px}
.pstet-res-preview .pstet-res-skill-tag{background:#e3f2fd;color:#1565c0;padding:3px 10px;border-radius:12px;font-size:12px}

/* ── Syllabus / Progress bars ── */
.pstet-syl-progress,.pstet-doccl-progress{background:#e0e0e0;border-radius:20px;overflow:hidden;margin-bottom:16px;height:24px}
.pstet-syl-bar{background:linear-gradient(90deg,#2e7d32,#43a047);height:100%;width:0%;border-radius:20px;transition:width .4s;display:flex;align-items:center;justify-content:center;min-width:40px}
.pstet-syl-bar span{color:#fff;font-size:12px;font-weight:700}
.pstet-syl-section{margin-bottom:4px}
.pstet-syl-toggle{width:100%;text-align:left;padding:10px 14px;background:#f5f5f5;border:1px solid #e0e0e0;border-radius:6px;cursor:pointer;font-size:14px;font-weight:600;color:#333;display:flex;justify-content:space-between;align-items:center}
.pstet-syl-toggle:hover{background:#eee}
.pstet-syl-arrow{font-size:12px;transition:transform .2s}
.pstet-syl-section.pstet-syl-open .pstet-syl-arrow{transform:rotate(180deg)}
.pstet-syl-topics{display:none;padding:8px 14px;border:1px solid #e0e0e0;border-top:none;border-radius:0 0 6px 6px;background:#fafafa}
.pstet-syl-section.pstet-syl-open .pstet-syl-topics{display:block}
.pstet-syl-topic{display:flex;align-items:center;gap:8px;padding:6px 0;font-size:14px;cursor:pointer}
.pstet-syl-topic input[type="checkbox"]{width:16px;height:16px;accent-color:#2e7d32;cursor:pointer}

/* ── Salary ── */
.pstet-sal-result table{width:100%;border-collapse:collapse}
.pstet-sal-result table td{padding:6px 10px;border-bottom:1px solid #eee;font-size:14px}
.pstet-sal-result table td:first-child{font-weight:600;color:#444;width:55%}
.pstet-sal-result table td:last-child{text-align:right;font-variant-numeric:tabular-nums}
.pstet-sal-result table tr.pstet-sal-total td{font-weight:700;font-size:15px;border-top:2px solid #1a73e8;color:#1a73e8}

/* ================================================================
   MOCK TEST
   ================================================================ */
.pstet-mock-topbar{display:flex;justify-content:space-between;align-items:center;padding:10px 14px;background:#f5f5f5;border-radius:6px;margin-bottom:12px;flex-wrap:wrap;gap:8px}
.pstet-mock-timer{font-size:18px;font-weight:700;color:#d32f2f;font-variant-numeric:tabular-nums}
.pstet-mock-progress{font-size:13px;font-weight:600;color:#555}
.pstet-mock-palette{display:flex;flex-wrap:wrap;gap:4px;margin-bottom:14px}
.pstet-mock-palette .pstet-mp-btn{width:32px;height:32px;border:1px solid #ccc;border-radius:4px;background:#fff;font-size:12px;font-weight:600;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all .15s}
.pstet-mp-btn.pstet-mp-current{border-color:#1a73e8;background:#e3f2fd;color:#1a73e8}
.pstet-mp-btn.pstet-mp-answered{background:#2e7d32;color:#fff;border-color:#2e7d32}
.pstet-mp-btn.pstet-mp-skipped{background:#fff8e1;border-color:#ff8f00;color:#ff8f00}
.pstet-mock-question-area{padding:16px;border:1px solid #e0e0e0;border-radius:8px;background:#fafafa;margin-bottom:12px;min-height:180px}
.pstet-mock-question-area .pstet-mq-text{font-size:15px;font-weight:500;margin-bottom:14px;line-height:1.6}
.pstet-mock-question-area .pstet-mq-option{display:flex;align-items:flex-start;gap:10px;padding:10px 14px;margin-bottom:6px;border:1px solid #ddd;border-radius:6px;cursor:pointer;transition:background .15s,border-color .15s;font-size:14px}
.pstet-mq-option:hover{background:#e3f2fd;border-color:#90caf9}
.pstet-mq-option.pstet-mq-selected{background:#e3f2fd;border-color:#1a73e8;font-weight:600}
.pstet-mq-option.pstet-mq-correct{background:#e8f5e9;border-color:#2e7d32}
.pstet-mq-option.pstet-mq-wrong{background:#ffebee;border-color:#d32f2f}
.pstet-mq-option input[type="radio"]{margin-top:3px;accent-color:#1a73e8}

/* Mock results */
.pstet-mock-results{padding:20px}
.pstet-mock-results .pstet-mr-summary{display:flex;flex-wrap:wrap;gap:12px;margin-bottom:20px}
.pstet-mr-card{flex:1;min-width:100px;padding:14px;border-radius:8px;text-align:center}
.pstet-mr-card .pstet-mr-val{font-size:28px;font-weight:700;display:block}
.pstet-mr-card .pstet-mr-label{font-size:11px;text-transform:uppercase;margin-top:4px;display:block}
.pstet-mr-card.pstet-mr-correct{background:#e8f5e9;color:#2e7d32}
.pstet-mr-card.pstet-mr-wrong{background:#ffebee;color:#d32f2f}
.pstet-mr-card.pstet-mr-skip{background:#fff8e1;color:#e65100}
.pstet-mr-card.pstet-mr-score{background:#e3f2fd;color:#0d47a1}

/* ── Daily Quiz ── */
.pstet-dq-question{font-size:16px;font-weight:500;margin-bottom:14px;line-height:1.6}
.pstet-dq-options{margin-bottom:12px}
.pstet-dq-opt{display:flex;align-items:flex-start;gap:10px;padding:10px 14px;margin-bottom:6px;border:1px solid #ddd;border-radius:6px;cursor:pointer;transition:all .15s;font-size:14px}
.pstet-dq-opt:hover{background:#e3f2fd}
.pstet-dq-opt.pstet-dq-selected{background:#e3f2fd;border-color:#1a73e8}
.pstet-dq-opt.pstet-dq-correct-ans{background:#e8f5e9;border-color:#2e7d32}
.pstet-dq-opt.pstet-dq-wrong-ans{background:#ffebee;border-color:#d32f2f}
.pstet-dq-score{font-size:13px;color:#666;margin-top:8px}

/* ── Readiness ── */
.pstet-readiness-subjects .pstet-rs-row{display:flex;align-items:center;gap:10px;margin-bottom:8px}
.pstet-rs-row label{min-width:120px;font-size:13px;font-weight:600;color:#444}
.pstet-rs-row input[type="range"]{flex:1}
.pstet-rs-row .pstet-rs-val{min-width:40px;text-align:right;font-size:13px;font-weight:600;color:#1a73e8}

/* ── Performance Tracker ── */
.pstet-perf-chart-wrap{margin-top:16px;position:relative;height:280px}
.pstet-perf-history{margin-top:12px}
.pstet-perf-history table{width:100%;font-size:13px;border-collapse:collapse}
.pstet-perf-history td,.pstet-perf-history th{padding:6px 10px;border-bottom:1px solid #eee;text-align:left}
.pstet-perf-history th{background:#f5f5f5;font-weight:600}

/* ── PYQ Viewer ── */
.pstet-pyq-list .pstet-pyq-item{padding:12px 14px;border:1px solid #e0e0e0;border-radius:6px;margin-bottom:8px;background:#fafafa}
.pstet-pyq-item .pstet-pyq-q{font-weight:500;margin-bottom:6px}
.pstet-pyq-item .pstet-pyq-meta{font-size:12px;color:#888}
.pstet-pyq-item .pstet-pyq-ans{margin-top:6px;padding:8px;background:#e8f5e9;border-radius:4px;font-size:13px;display:none}
.pstet-pyq-item .pstet-pyq-show-ans{font-size:12px;color:#1a73e8;cursor:pointer;text-decoration:underline;background:none;border:none;padding:0}
.pstet-pyq-count{font-size:13px;color:#666;margin-top:8px}

/* ── Document Checklist ── */
.pstet-doccl-list .pstet-doccl-item{display:flex;align-items:flex-start;gap:10px;padding:10px 0;border-bottom:1px solid #f0f0f0}
.pstet-doccl-item input[type="checkbox"]{width:18px;height:18px;accent-color:#2e7d32;margin-top:2px;cursor:pointer}
.pstet-doccl-item .pstet-doccl-info{flex:1}
.pstet-doccl-item .pstet-doccl-name{font-weight:600;font-size:14px}
.pstet-doccl-item .pstet-doccl-tip{font-size:12px;color:#777;margin-top:2px}
.pstet-doccl-item .pstet-doccl-cat-tag{font-size:11px;background:#e3f2fd;color:#1565c0;padding:2px 8px;border-radius:10px;display:inline-block;margin-top:3px}

/* ── Admit Card ── */
.pstet-admit-status{padding:14px;border-radius:8px;margin-bottom:14px;font-weight:600;font-size:15px;text-align:center}
.pstet-admit-status.pstet-admit-released{background:#e8f5e9;color:#2e7d32;border:1px solid #a5d6a7}
.pstet-admit-status.pstet-admit-not-released{background:#fff8e1;color:#e65100;border:1px solid #ffe082}
.pstet-admit-steps ol{padding-left:20px;font-size:14px;line-height:1.8}
.pstet-admit-steps h4{font-size:14px;margin:12px 0 8px;color:#444}

/* ── Form Guide ── */
.pstet-fg-progress{margin-bottom:16px}
.pstet-fg-step-area{padding:16px;border:1px solid #e0e0e0;border-radius:8px;background:#fafafa;min-height:120px;margin-bottom:12px}
.pstet-fg-step-area .pstet-fg-step-title{font-size:16px;font-weight:600;margin-bottom:10px;color:#1a73e8}
.pstet-fg-step-area .pstet-fg-step-body{font-size:14px;line-height:1.7}
.pstet-fg-step-area .pstet-fg-step-tip{margin-top:10px;padding:8px 12px;background:#fff8e1;border-radius:6px;font-size:13px;color:#e65100}

/* ── Study Planner ── */
.pstet-sp-output{margin-top:16px}
.pstet-sp-output .pstet-sp-summary{padding:14px;background:#e3f2fd;border-radius:8px;margin-bottom:14px;font-size:14px}
.pstet-sp-output table{width:100%;font-size:13px;border-collapse:collapse}
.pstet-sp-output td,.pstet-sp-output th{padding:6px 10px;border-bottom:1px solid #eee;text-align:left}
.pstet-sp-output th{background:#f5f5f5;font-weight:600}
.pstet-sp-output tr.pstet-sp-revision td{background:#fff8e1;font-style:italic}

/* ── Exam Compare ── */
.pstet-ec-table-wrap{overflow-x:auto}
.pstet-ec-table-wrap table{width:100%;min-width:400px;border-collapse:collapse;font-size:13px}
.pstet-ec-table-wrap th,.pstet-ec-table-wrap td{padding:8px 12px;border:1px solid #e0e0e0;text-align:left;vertical-align:top}
.pstet-ec-table-wrap th{background:#f5f5f5;font-weight:600;position:sticky;left:0;z-index:1}
.pstet-ec-table-wrap thead th{background:#1a73e8;color:#fff;text-align:center}

/* ── Pay Matrix ── */
.pstet-pm-table-wrap{overflow-x:auto;margin-top:12px}
.pstet-pm-table-wrap table{width:100%;font-size:12px;border-collapse:collapse}
.pstet-pm-table-wrap th,.pstet-pm-table-wrap td{padding:6px 8px;border:1px solid #e0e0e0;text-align:right;white-space:nowrap}
.pstet-pm-table-wrap th{background:#1a73e8;color:#fff;text-align:center;font-size:11px}
.pstet-pm-table-wrap td:first-child{font-weight:600;background:#f5f5f5;text-align:center}

/* ── Cutoff Trend ── */
.pstet-ct-chart-wrap{position:relative;height:300px;margin-top:12px}

/* ── Bookmarks ── */
.pstet-bk-list .pstet-bk-item{display:flex;justify-content:space-between;align-items:center;padding:10px 12px;border:1px solid #e0e0e0;border-radius:6px;margin-bottom:6px}
.pstet-bk-item a{color:#1a73e8;text-decoration:none;font-weight:500;font-size:14px}
.pstet-bk-item a:hover{text-decoration:underline}
.pstet-bk-item .pstet-bk-remove{color:#d32f2f;cursor:pointer;background:none;border:none;font-size:16px}
.pstet-bk-item .pstet-bk-date{font-size:11px;color:#999}

/* ── Discussion ── */
.pstet-disc-messages{max-height:400px;overflow-y:auto;margin-bottom:14px}
.pstet-disc-msg-item{padding:10px 14px;border:1px solid #e0e0e0;border-radius:8px;margin-bottom:8px;background:#fafafa}
.pstet-disc-msg-item .pstet-disc-author{font-weight:600;font-size:13px;color:#1a73e8}
.pstet-disc-msg-item .pstet-disc-time{font-size:11px;color:#999;margin-left:8px}
.pstet-disc-msg-item .pstet-disc-text{font-size:14px;margin-top:4px;line-height:1.5}

/* ── Notify ── */
.pstet-notify-buttons{display:flex;gap:10px;flex-wrap:wrap}

/* ── WhatsApp Share ── */
.pstet-whatsapp-share{display:inline-block;margin:8px 0}

/* ── Dark Mode Toggle ── */
.pstet-dark-toggle-wrap{display:inline-block;margin:8px 0}
body.pstet-dark .pstet-tool{background:#1e1e1e;color:#e0e0e0;border-color:#444}
body.pstet-dark .pstet-tool-header{background:linear-gradient(135deg,#263238,#37474f)}
body.pstet-dark .pstet-input{background:#2c2c2c;color:#e0e0e0;border-color:#555}
body.pstet-dark .pstet-input:focus{border-color:#64b5f6;box-shadow:0 0 0 3px rgba(100,181,246,.2)}
body.pstet-dark .pstet-table th{background:#333;color:#ccc}
body.pstet-dark .pstet-table td{border-bottom-color:#444}
body.pstet-dark .pstet-mock-question-area,.pstet-dark .pstet-fg-step-area,.pstet-dark .pstet-pyq-item{background:#2c2c2c;border-color:#444}
body.pstet-dark .pstet-syl-toggle{background:#2c2c2c;border-color:#444;color:#ddd}
body.pstet-dark .pstet-syl-topics{background:#262626;border-color:#444}
body.pstet-dark .pstet-mock-topbar{background:#2c2c2c}
body.pstet-dark .pstet-mq-option{border-color:#555;color:#ddd}
body.pstet-dark .pstet-mq-option:hover{background:#333}

/* ── Responsive ── */
@media(max-width:480px){
    .pstet-tool{margin:12px 0;border-radius:8px;font-size:14px}
    .pstet-tool-header{padding:12px 14px}.pstet-tool-header h3{font-size:16px}
    .pstet-tool-body{padding:14px}
    .pstet-row-inline{flex-direction:column}
    .pstet-btn{padding:10px 16px;font-size:13px;width:100%;justify-content:center}
    .pstet-btn-group{flex-direction:column}
    .pstet-cd-box{min-width:56px;padding:10px}.pstet-cd-num{font-size:24px}
    .pstet-stat-val{font-size:20px}
    .pstet-photo-compare{flex-direction:column}
    .pstet-res-preview{padding:16px}
    .pstet-mock-palette .pstet-mp-btn{width:28px;height:28px;font-size:11px}
    .pstet-mr-card{min-width:70px;padding:10px}.pstet-mr-card .pstet-mr-val{font-size:22px}
}

@media print{
    body *{visibility:hidden}
    .pstet-res-preview,.pstet-res-preview *,.pstet-sp-output,.pstet-sp-output *,.pstet-doccl-list,.pstet-doccl-list *{visibility:visible}
    .pstet-res-preview,.pstet-sp-output,.pstet-doccl-list{position:absolute;left:0;top:0;width:100%}
}

/* ═══════════════════════════════════════════
   UNIVERSAL TOOL ATTENTION SYSTEM
   Makes ALL tools impossible to scroll past
   ═══════════════════════════════════════════ */

/* --- Hook Bar (injected by JS above every tool) --- */
.pstet-hook{border-radius:14px 14px 0 0;padding:16px 22px;text-align:center;cursor:pointer;position:relative;overflow:hidden;z-index:2;margin-bottom:0}
.pstet-hook-light{background:linear-gradient(135deg,#ff6b35,#f7c948)}
.pstet-hook-dark{background:linear-gradient(135deg,#667eea,#a855f7)}
.pstet-hook::before{content:'';position:absolute;top:0;left:-100%;width:60%;height:100%;background:linear-gradient(90deg,transparent,rgba(255,255,255,0.25),transparent);animation:pstet-hook-shine 2.5s ease-in-out infinite}
@keyframes pstet-hook-shine{0%{left:-100%}100%{left:200%}}
.pstet-hook-inner{display:flex;align-items:center;justify-content:center;gap:10px;flex-wrap:wrap}
.pstet-hook-emoji{font-size:22px;animation:pstet-hook-wiggle 2s ease-in-out infinite}
@keyframes pstet-hook-wiggle{0%,100%{transform:rotate(0)}25%{transform:rotate(-12deg)}75%{transform:rotate(12deg)}}
.pstet-hook-cta{font-size:15px;font-weight:800;letter-spacing:.3px}
.pstet-hook-light .pstet-hook-cta{color:#1a1a2e!important}
.pstet-hook-dark .pstet-hook-cta{color:#fff!important}
.pstet-hook-arrow{display:inline-block;animation:pstet-hook-bounce 1.2s infinite;font-size:16px}
@keyframes pstet-hook-bounce{0%,100%{transform:translateY(0)}50%{transform:translateY(5px)}}
.pstet-hook-badge{display:inline-block;padding:3px 10px;border-radius:12px;font-size:10px;font-weight:700;letter-spacing:.5px;text-transform:uppercase}
.pstet-hook-light .pstet-hook-badge{background:#1a1a2e;color:#fff!important}
.pstet-hook-dark .pstet-hook-badge{background:rgba(255,255,255,0.2);color:#fff!important}
.pstet-hook-sub{font-size:11px;font-weight:500;display:block;width:100%;margin-top:4px}
.pstet-hook-light .pstet-hook-sub{color:rgba(26,26,46,0.55)!important}
.pstet-hook-dark .pstet-hook-sub{color:rgba(255,255,255,0.6)!important}
.pstet-hook-users{display:inline-flex;align-items:center;gap:4px;font-size:11px;font-weight:600;margin-left:4px;animation:pstet-hook-fade 3s infinite}
@keyframes pstet-hook-fade{0%,100%{opacity:.7}50%{opacity:1}}
.pstet-hook-light .pstet-hook-users{color:rgba(26,26,46,0.7)!important}
.pstet-hook-dark .pstet-hook-users{color:rgba(255,255,255,0.7)!important}

/* --- Scroll entrance (hidden until JS triggers) --- */
.pstet-tool.pstet-hidden,.pstet-si.pstet-hidden,.pstet-hook.pstet-hidden{opacity:0;transform:translateY(40px)}
.pstet-tool.pstet-visible,.pstet-si.pstet-visible,.pstet-hook.pstet-visible{opacity:1!important;transform:translateY(0)!important;transition:opacity .7s ease,transform .7s cubic-bezier(.22,1,.36,1)}

/* --- Glow pulse when first visible --- */
.pstet-tool.pstet-glow{animation:pstet-glow-blue 2.5s ease-out}
.pstet-si.pstet-glow{animation:pstet-glow-purple 2.5s ease-out}
@keyframes pstet-glow-blue{0%{box-shadow:0 0 0 0 rgba(26,115,232,0.6)}25%{box-shadow:0 0 30px 6px rgba(26,115,232,0.35)}100%{box-shadow:0 2px 12px rgba(0,0,0,.06)}}
@keyframes pstet-glow-purple{0%{box-shadow:0 0 0 0 rgba(102,126,234,0.7)}25%{box-shadow:0 0 35px 8px rgba(102,126,234,0.4)}100%{box-shadow:none}}

/* --- Connect hook bar to tool seamlessly --- */
.pstet-hook+.pstet-tool{border-top-left-radius:0!important;border-top-right-radius:0!important;margin-top:0!important;border-top:none!important}
.pstet-hook+.pstet-si{border-top-left-radius:0!important;border-top-right-radius:0!important;margin-top:0!important}

/* --- Responsive hook --- */
@media(max-width:600px){.pstet-hook{padding:12px 14px}.pstet-hook-cta{font-size:13px}.pstet-hook-sub{font-size:10px}}

/* ═══════════════════════════════════════════
   35. SCORE INTELLIGENCE — Premium Dark UI
   Bulletproof: zero black text on ANY theme
   ═══════════════════════════════════════════ */

/* === LEVEL 1: Nuclear color reset — beats .entry-content p, .post-body div, etc === */
.pstet-si,.pstet-si div,.pstet-si span,.pstet-si p,.pstet-si strong,.pstet-si b,
.pstet-si em,.pstet-si i,.pstet-si label,.pstet-si li,.pstet-si td,.pstet-si th,
.pstet-si small,.pstet-si h3,.pstet-si h4,.pstet-si h5,.pstet-si button{color:#fff!important}
/* Double-class specificity for themes with body .content .post p {color:black} */
body .pstet-si,body .pstet-si div,body .pstet-si span,body .pstet-si p,
body .pstet-si label,body .pstet-si li,body .pstet-si h3{color:#fff!important}
.pstet-si{background:linear-gradient(135deg,#0f0c29,#302b63,#24243e)!important;border-radius:20px;padding:28px;font-family:'Segoe UI',system-ui,-apple-system,sans-serif;margin:24px 0;overflow:hidden;line-height:1.5;-webkit-font-smoothing:antialiased}
.pstet-si *{box-sizing:border-box;margin:0;padding:0}
.pstet-si h3,.pstet-si h4{font-family:inherit!important;border:none!important;background:none!important;-webkit-text-fill-color:unset;padding:0!important;margin:0!important;line-height:1.3!important}
.pstet-si p{margin:0!important}
.pstet-si ul{list-style:none!important;margin:0!important;padding:0!important}
.pstet-si li{list-style:none!important;margin:0!important;padding:0!important}
.pstet-si a{color:#a8edea!important;text-decoration:none!important}
.pstet-si button{font-family:inherit;background:none;border:none}
.pstet-si input,.pstet-si select{font-family:inherit}

/* === LEVEL 2: Gradient text elements (need transparent, NOT white) === */
.pstet-si .pstet-si-title{color:transparent!important;-webkit-text-fill-color:transparent!important;background:linear-gradient(135deg,#a8edea,#fed6e3)!important;-webkit-background-clip:text!important;background-clip:text!important}
.pstet-si .pstet-si-score-display{color:transparent!important;-webkit-text-fill-color:transparent!important;background:linear-gradient(135deg,#a8edea,#fed6e3)!important;-webkit-background-clip:text!important;background-clip:text!important}
.pstet-si .pstet-si-stat-val{color:transparent!important;-webkit-text-fill-color:transparent!important;background:linear-gradient(135deg,#a8edea,#fed6e3)!important;-webkit-background-clip:text!important;background-clip:text!important}
.pstet-si .pstet-si-cd-num{color:transparent!important;-webkit-text-fill-color:transparent!important;background:linear-gradient(135deg,#667eea,#fed6e3)!important;-webkit-background-clip:text!important;background-clip:text!important}

/* === LEVEL 3: Dimmed text (subtitle, labels, notes — not full white) === */
.pstet-si .pstet-si-subtitle{color:rgba(255,255,255,0.5)!important}
.pstet-si .pstet-si-pills span{color:rgba(255,255,255,0.6)!important}
.pstet-si .pstet-si-cd-lbl{color:rgba(255,255,255,0.4)!important}
.pstet-si .pstet-si-cd-note{color:rgba(255,255,255,0.25)!important}
.pstet-si .pstet-si-step-l{color:rgba(255,255,255,0.4)!important}
.pstet-si .pstet-si-step-c{color:rgba(255,255,255,0.4)!important}
.pstet-si .pstet-si-step-active .pstet-si-step-l,
.pstet-si .pstet-si-step-done .pstet-si-step-l{color:rgba(255,255,255,0.8)!important}
.pstet-si .pstet-si-tab{color:rgba(255,255,255,0.45)!important}
.pstet-si .pstet-si-tab-active{color:#fff!important}
.pstet-si .pstet-si-field label{color:rgba(255,255,255,0.75)!important}
.pstet-si .pstet-si-or{color:rgba(255,255,255,0.25)!important}
.pstet-si .pstet-si-range-labels span{color:rgba(255,255,255,0.3)!important}
.pstet-si .pstet-si-calc-total{color:rgba(255,255,255,0.5)!important}
.pstet-si .pstet-si-calc-total strong{color:#a8edea!important;-webkit-text-fill-color:#a8edea!important}
.pstet-si .pstet-si-status-desc{color:rgba(255,255,255,0.65)!important}
.pstet-si .pstet-si-stat-lbl{color:rgba(255,255,255,0.4)!important}
.pstet-si .pstet-si-bar-label span{color:rgba(255,255,255,0.65)!important}
.pstet-si .pstet-si-bar-legend{color:rgba(255,255,255,0.25)!important}
.pstet-si .pstet-si-bar-legend span{color:#fed6e3!important}
.pstet-si .pstet-si-section-title{color:rgba(255,255,255,0.9)!important}
.pstet-si .pstet-si-tips li{color:rgba(255,255,255,0.75)!important}
.pstet-si .pstet-si-share-preview{color:rgba(255,255,255,0.6)!important}
.pstet-si .pstet-si-sec-item label{color:rgba(255,255,255,0.45)!important}

/* === Header === */
.pstet-si-header{text-align:center;padding:24px 0 14px}
.pstet-si-badge{display:inline-block;background:linear-gradient(135deg,#667eea,#764ba2);padding:6px 16px;border-radius:20px;font-size:12px;font-weight:700;letter-spacing:1px;text-transform:uppercase;margin-bottom:14px}
.pstet-si-title{font-size:2.2rem;font-weight:800;margin:0 0 8px;line-height:1.2}
.pstet-si-subtitle{font-size:14px}
.pstet-si-pills{display:flex;flex-wrap:wrap;gap:8px;justify-content:center;margin-top:14px}
.pstet-si-pills span{background:rgba(255,255,255,0.07);border:1px solid rgba(255,255,255,0.1);border-radius:20px;padding:5px 14px;font-size:12px}

/* === Countdown === */
.pstet-si-countdown{background:rgba(255,255,255,0.05);backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px);border:1px solid rgba(255,255,255,0.1);border-radius:20px;padding:22px 28px;margin:20px 0;text-align:center}
.pstet-si-cd-title{font-size:14px;font-weight:700;color:rgba(255,255,255,0.9);margin-bottom:14px;display:flex;align-items:center;justify-content:center;gap:6px}
.pstet-si-cd-grid{display:flex;justify-content:center;gap:16px}
.pstet-si-cd-item{background:rgba(255,255,255,0.06);border-radius:14px;padding:14px 20px;min-width:70px;text-align:center}
.pstet-si-cd-num{display:block;font-size:2rem;font-weight:800;background:linear-gradient(135deg,#667eea,#fed6e3);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;line-height:1.2}
.pstet-si-cd-lbl{display:block;font-size:10px;color:rgba(255,255,255,0.4);text-transform:uppercase;letter-spacing:1px;margin-top:2px}
.pstet-si-cd-note{font-size:11px;color:rgba(255,255,255,0.25);margin-top:10px}

/* === Step Wizard === */
.pstet-si-steps{display:flex;justify-content:center;align-items:center;margin:24px 0}
.pstet-si-step{display:flex;flex-direction:column;align-items:center}
.pstet-si-step-c{width:42px;height:42px;border-radius:50%;background:rgba(255,255,255,0.08);border:2px solid rgba(255,255,255,0.15);display:flex;align-items:center;justify-content:center;font-weight:700;font-size:15px;transition:all .4s;z-index:2;color:rgba(255,255,255,0.4)}
.pstet-si-step-active .pstet-si-step-c{background:linear-gradient(135deg,#667eea,#764ba2);border-color:#667eea;box-shadow:0 0 18px rgba(102,126,234,0.5);color:#fff}
.pstet-si-step-done .pstet-si-step-c{background:#00b894;border-color:#00b894;color:#fff}
.pstet-si-step-l{font-size:10px;margin-top:5px;color:rgba(255,255,255,0.4);white-space:nowrap}
.pstet-si-step-active .pstet-si-step-l,.pstet-si-step-done .pstet-si-step-l{color:rgba(255,255,255,0.8)}
.pstet-si-step-line{width:70px;height:2px;background:rgba(255,255,255,0.08);margin-bottom:20px;transition:background .4s}
.pstet-si-step-line-done{background:#00b894}

/* === Tabs === */
.pstet-si-tabs{display:flex;gap:4px;background:rgba(255,255,255,0.05);border-radius:12px;padding:4px;margin-bottom:22px}
.pstet-si-tab{flex:1;padding:10px;text-align:center;border-radius:9px;cursor:pointer;font-size:13px;font-weight:600;color:rgba(255,255,255,0.45);transition:all .3s;user-select:none}
.pstet-si-tab:hover{color:rgba(255,255,255,0.7);background:rgba(255,255,255,0.04)}
.pstet-si-tab-active,.pstet-si-tab-active:hover{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff}
.pstet-si-tabpane{display:none}
.pstet-si-tabpane-active{display:block}

/* === Form Card === */
.pstet-si-form{background:rgba(255,255,255,0.05);backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px);border:1px solid rgba(255,255,255,0.1);border-radius:20px;padding:28px;margin-bottom:20px}
.pstet-si-field{margin-bottom:18px}
.pstet-si-field label{display:block;font-weight:600;margin-bottom:8px;color:rgba(255,255,255,0.75);font-size:13px;letter-spacing:.4px}
.pstet-si-field select,.pstet-si-field input[type=number]{width:100%!important;padding:13px 16px!important;background:rgba(255,255,255,0.07)!important;border:1px solid rgba(255,255,255,0.12)!important;border-radius:12px!important;color:#fff!important;font-size:15px!important;outline:none;transition:all .3s;-webkit-appearance:none;appearance:none}
.pstet-si-field select:focus,.pstet-si-field input[type=number]:focus{border-color:#667eea!important;background:rgba(102,126,234,0.1)!important;box-shadow:0 0 0 3px rgba(102,126,234,0.2)!important}
.pstet-si-field select option{background:#302b63!important;color:#fff!important}
.pstet-si-field input::placeholder{color:rgba(255,255,255,0.25)}

/* Score Display + Slider */
.pstet-si-score-display{text-align:center;font-size:3.5rem;font-weight:900;background:linear-gradient(135deg,#a8edea,#fed6e3);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;line-height:1;margin-bottom:10px}
.pstet-si-slider{width:100%;height:6px!important;border-radius:3px;background:rgba(255,255,255,0.1)!important;outline:none;cursor:pointer;-webkit-appearance:none;appearance:none;padding:0!important;border:none!important;margin:0!important}
.pstet-si-slider::-webkit-slider-thumb{-webkit-appearance:none;width:24px;height:24px;border-radius:50%;background:linear-gradient(135deg,#667eea,#764ba2);cursor:pointer;box-shadow:0 0 12px rgba(102,126,234,0.6)}
.pstet-si-slider::-moz-range-thumb{width:24px;height:24px;border-radius:50%;background:linear-gradient(135deg,#667eea,#764ba2);cursor:pointer;border:none;box-shadow:0 0 12px rgba(102,126,234,0.6)}
.pstet-si-range-labels{display:flex;justify-content:space-between;font-size:11px;color:rgba(255,255,255,0.3);margin-top:6px}
.pstet-si-or{text-align:center;margin:12px 0;color:rgba(255,255,255,0.25);font-size:11px;position:relative}
.pstet-si-or::before,.pstet-si-or::after{content:'';position:absolute;top:50%;width:44%;height:1px;background:rgba(255,255,255,0.08)}
.pstet-si-or::before{left:0}.pstet-si-or::after{right:0}
.pstet-si-manual{margin-top:0}

/* Section-wise Grid */
.pstet-si-sections-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.pstet-si-sec-item{background:rgba(255,255,255,0.04);border-radius:10px;padding:12px}
.pstet-si-sec-item label{font-size:11px!important;color:rgba(255,255,255,0.45)!important;margin-bottom:6px!important;display:block!important}
.pstet-si-sec-item input{width:100%!important;background:rgba(255,255,255,0.08)!important;border:1px solid rgba(255,255,255,0.1)!important;border-radius:8px!important;padding:8px 10px!important;color:#fff!important;font-size:14px!important;outline:none;transition:border-color .3s}
.pstet-si-sec-item input:focus{border-color:#667eea}
.pstet-si-sec-item input::placeholder{color:rgba(255,255,255,0.2)}
.pstet-si-calc-total{text-align:center;margin-top:14px;font-size:14px;color:rgba(255,255,255,0.5)}
.pstet-si-calc-total strong{color:#a8edea;font-size:1.4rem;font-weight:800}

/* === Buttons === */
.pstet-si-btn{display:inline-flex!important;align-items:center;justify-content:center;gap:8px;padding:14px 24px!important;border-radius:12px!important;font-size:14px!important;font-weight:700;cursor:pointer;border:none!important;transition:all .3s;letter-spacing:.5px;color:#fff!important;line-height:1.4}
.pstet-si-analyze-btn{background:linear-gradient(135deg,#667eea,#764ba2)!important;width:100%;animation:pstet-si-pulse 2s infinite}
.pstet-si-analyze-btn:hover{transform:translateY(-2px);box-shadow:0 8px 25px rgba(102,126,234,0.4)}
@keyframes pstet-si-pulse{0%,100%{transform:scale(1)}50%{transform:translateY(-3px);box-shadow:0 8px 25px rgba(102,126,234,0.4)}}
.pstet-si-btn-sec{background:rgba(255,255,255,0.09)!important;border:1px solid rgba(255,255,255,0.15)!important;color:#fff!important}
.pstet-si-btn-sec:hover{background:rgba(255,255,255,0.14)!important}
.pstet-si-wa-btn{background:#25D366!important}
.pstet-si-wa-btn:hover{background:#1ebe5a!important}

/* === Result Cards (frosted glass) === */
.pstet-si-card{background:rgba(255,255,255,0.05);backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px);border:1px solid rgba(255,255,255,0.1);border-radius:20px;padding:28px;margin-bottom:20px;animation:pstet-si-fadeUp .5s ease forwards}
@keyframes pstet-si-fadeUp{from{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}

/* Status Zone */
.pstet-si-status{text-align:center;padding:22px;border-radius:16px;margin-bottom:16px}
.pstet-si-status-safe{background:rgba(0,184,148,0.12);border:1px solid rgba(0,184,148,0.3)}
.pstet-si-status-borderline{background:rgba(253,203,110,0.12);border:1px solid rgba(253,203,110,0.3)}
.pstet-si-status-danger{background:rgba(225,112,85,0.12);border:1px solid rgba(225,112,85,0.3)}
.pstet-si-status-emoji{font-size:2.8rem;line-height:1.2}
.pstet-si-status-title{font-size:1.5rem;font-weight:800;margin:8px 0;color:#fff}
.pstet-si-status-desc{color:rgba(255,255,255,0.65);font-size:13px;line-height:1.6}

/* Gauge */
.pstet-si-gauge{text-align:center;margin:16px 0}

/* Stats Grid */
.pstet-si-stats-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(155px,1fr));gap:14px;margin-top:18px}
.pstet-si-stat{background:rgba(255,255,255,0.05);border:1px solid rgba(255,255,255,0.08);border-radius:14px;padding:16px;text-align:center}
.pstet-si-stat-val{font-size:1.7rem;font-weight:800;background:linear-gradient(135deg,#a8edea,#fed6e3);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;line-height:1.2}
.pstet-si-stat-lbl{font-size:10px;color:rgba(255,255,255,0.4);margin-top:4px;text-transform:uppercase;letter-spacing:.5px}

/* Category Comparison Bars */
.pstet-si-bar-item{margin-bottom:14px}
.pstet-si-bar-label{display:flex;justify-content:space-between;font-size:12px;margin-bottom:5px;color:rgba(255,255,255,0.65)}
.pstet-si-bar-track{height:10px;background:rgba(255,255,255,0.07);border-radius:5px;overflow:visible;position:relative}
.pstet-si-bar-fill{height:100%;border-radius:5px;transition:width 1.2s ease;width:0}
.pstet-si-user-line{position:absolute;top:-5px;width:3px;height:20px;background:#fed6e3;border-radius:2px;transition:left 1.2s ease;box-shadow:0 0 8px #fed6e3;left:0}
.pstet-si-bar-legend{font-size:11px;color:rgba(255,255,255,0.25);text-align:center;margin-top:8px}
.pstet-si-section-title{font-size:15px;font-weight:700;margin-bottom:16px;color:rgba(255,255,255,0.9);display:flex;align-items:center;gap:8px}

/* Chart */
.pstet-si-chart-card canvas{max-height:220px}

/* Tips */
.pstet-si-tips li{padding:12px 16px!important;background:rgba(255,255,255,0.04)!important;border-left:3px solid #667eea!important;border-radius:0 8px 8px 0!important;margin-bottom:8px!important;font-size:13px!important;color:rgba(255,255,255,0.75)!important;line-height:1.5}

/* Share */
.pstet-si-share-preview{background:rgba(255,255,255,0.04);border-radius:10px;padding:14px;font-size:12px;color:rgba(255,255,255,0.6);margin-bottom:14px;border-left:3px solid #667eea;white-space:pre-line;line-height:1.6;font-family:'Courier New',monospace}
.pstet-si-share-btns{display:flex;gap:10px;flex-wrap:wrap}

/* Confetti */
.pstet-si-confetti{position:fixed;top:0;left:0;width:100%;height:100%;pointer-events:none;z-index:9999}

/* === Responsive === */
@media(max-width:600px){
    .pstet-si{padding:16px;border-radius:14px}
    .pstet-si-header{padding:14px 0 8px}
    .pstet-si-title{font-size:1.4rem}
    .pstet-si-form{padding:18px}
    .pstet-si-card{padding:18px;border-radius:14px}
    .pstet-si-step-line{width:35px}
    .pstet-si-stats-grid{grid-template-columns:1fr 1fr}
    .pstet-si-share-btns{flex-direction:column}
    .pstet-si-share-btns .pstet-si-btn{width:100%}
    .pstet-si-sections-grid{grid-template-columns:1fr}
    .pstet-si-cd-grid{gap:8px}
    .pstet-si-cd-item{padding:10px 14px;min-width:55px}
    .pstet-si-cd-num{font-size:1.4rem}
    .pstet-si-score-display{font-size:2.5rem}
    .pstet-si-countdown{padding:16px}
}

/* === Print === */
@media print{
    .pstet-si{background:#fff!important;color:#000!important;-webkit-print-color-adjust:exact;print-color-adjust:exact}
    .pstet-si-form,.pstet-si-analyze-btn,.pstet-si-share-btns,.pstet-si-steps,.pstet-si-confetti,.pstet-si-countdown{display:none!important}
    .pstet-si-card{background:#f8f9fa!important;border:1px solid #ddd!important;break-inside:avoid}
    .pstet-si-status-title,.pstet-si-stat-val,.pstet-si-section-title{-webkit-text-fill-color:#000!important;color:#000!important}
    .pstet-si-status-desc,.pstet-si-tips li,.pstet-si-bar-label{color:#333!important}
}
