.wcis-cq-shell{max-width:860px;margin:0 auto;padding:28px 18px 56px;font-family:'Inter',system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;color:#0f172a}
.wcis-cq-shell *{font-family:inherit}
.wcis-cq-grid{display:grid;gap:18px}.wcis-cq-grid-2{grid-template-columns:minmax(0,1.2fr) minmax(280px,.8fr)}.wcis-cq-grid-3{grid-template-columns:repeat(auto-fit,minmax(240px,1fr))}.wcis-cq-grid--profile{grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:14px}
.wcis-cq-card,.wcis-cq-panel{background:#fff;border:1px solid #e8ecf3;border-radius:28px;padding:28px;box-shadow:0 12px 34px rgba(15,23,42,.05)}
.wcis-cq-shell--quiz .wcis-cq-card{max-width:760px;margin:0 auto}
.wcis-cq-title{margin:0 0 8px;font-size:36px;line-height:1.05;font-weight:800;letter-spacing:-.04em;color:#0f172a}.wcis-cq-section-title{margin:0 0 8px;font-size:18px;line-height:1.22;font-weight:700;letter-spacing:-.02em;color:#0f172a}.wcis-cq-subtitle{margin:0;color:#64748b;font-size:14px;line-height:1.7}.wcis-cq-muted{color:#64748b}
.wcis-cq-kicker{margin:0 0 12px;color:#4f46e5;font-size:12px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}
.wcis-cq-badges{display:flex;flex-wrap:wrap;gap:10px;margin:16px 0 0}.wcis-cq-badge{display:inline-flex;align-items:center;gap:8px;padding:8px 12px;border:1px solid #e1e8f4;background:#f8fbff;color:#475569;border-radius:999px;font-size:12px;font-weight:700;letter-spacing:.01em}
.wcis-cq-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:20px}.wcis-cq-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:0 16px;border-radius:14px;background:#111827;color:#fff;text-decoration:none;border:1px solid #111827;cursor:pointer;font-size:14px;font-weight:700;transition:transform .18s ease,box-shadow .18s ease,background .18s ease,color .18s ease,border-color .18s ease;box-shadow:0 10px 24px rgba(15,23,42,.09)}.wcis-cq-btn:hover{transform:translateY(-1px);box-shadow:0 14px 28px rgba(15,23,42,.14)}.wcis-cq-btn--light{background:#fff;color:#0f172a;border-color:#d7deea;box-shadow:none}.wcis-cq-btn--accent{background:linear-gradient(135deg,#4f46e5 0%,#2563eb 100%);border-color:#4f46e5}
.wcis-cq-list{margin:0;padding-left:18px;color:#334155;display:grid;gap:10px}.wcis-cq-form label{display:flex;flex-direction:column;gap:8px;font-size:13px;color:#334155;font-weight:600}.wcis-cq-form input[type=text],.wcis-cq-form select{height:46px;border:1px solid #dbe3ee;border-radius:14px;padding:0 14px;background:#fff;color:#0f172a;font-size:14px;box-shadow:inset 0 1px 2px rgba(15,23,42,.02)}.wcis-cq-form input[disabled]{background:#f8fafc;color:#64748b}.wcis-cq-form-help{font-size:12px;color:#64748b;font-weight:500}
.wcis-cq-hero{position:relative;overflow:hidden;background:linear-gradient(135deg,#ffffff 0%,#faf7ff 52%,#eff6ff 100%)}.wcis-cq-hero::before{content:'';position:absolute;inset:0;background:radial-gradient(circle at top right,rgba(79,70,229,.09),transparent 35%),radial-gradient(circle at bottom left,rgba(37,99,235,.07),transparent 28%)}.wcis-cq-hero-grid{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(260px,.8fr);gap:20px;align-items:center}.wcis-cq-greeting{display:inline-flex;align-items:center;gap:10px;padding:10px 14px;border-radius:999px;background:#eef2ff;border:1px solid #ddd6fe;color:#4338ca;font-size:13px;font-weight:700;margin-bottom:14px}.wcis-cq-hero-copy{position:relative;z-index:1}.wcis-cq-hero-copy .wcis-cq-section-title{font-size:42px;font-weight:800;line-height:1.02;max-width:580px}.wcis-cq-hero-copy p{max-width:620px}.wcis-cq-hero-card{position:relative;z-index:1;background:rgba(255,255,255,.82);backdrop-filter:blur(6px);border:1px solid rgba(221,214,254,.85);border-radius:24px;padding:22px;box-shadow:0 16px 40px rgba(79,70,229,.11)}.wcis-cq-hero-card h3{margin:0 0 10px;font-size:18px;color:#0f172a}.wcis-cq-hero-card p{margin:0;color:#64748b;line-height:1.7}.wcis-cq-illustration{display:flex;justify-content:center;align-items:center}.wcis-cq-illustration svg{width:100%;max-width:290px;height:auto;filter:drop-shadow(0 18px 36px rgba(79,70,229,.16))}
.wcis-cq-profile-card{background:linear-gradient(180deg,#fff 0%,#fcfcff 100%)}.wcis-cq-profile-banner{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:16px 18px;border-radius:18px;background:#f8fbff;border:1px solid #dbeafe;margin-bottom:20px}.wcis-cq-profile-banner strong{display:block;font-size:15px;color:#0f172a;margin-bottom:4px}.wcis-cq-profile-banner p{margin:0;color:#64748b;line-height:1.6}.wcis-cq-status{display:inline-flex;align-items:center;gap:8px;padding:8px 12px;border-radius:999px;font-size:12px;font-weight:700}.wcis-cq-status--warning{background:#fff7ed;color:#9a3412;border:1px solid #fed7aa}.wcis-cq-status--ready{background:#ecfdf5;color:#166534;border:1px solid #bbf7d0}
.wcis-cq-progress-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:18px;flex-wrap:wrap}.wcis-cq-progress-wrap{display:flex;align-items:center;gap:10px;flex-wrap:wrap;width:min(100%,380px)}.wcis-cq-progress-bar{height:10px;background:#edf2f7;border-radius:999px;overflow:hidden;min-width:160px;flex:1}.wcis-cq-progress-fill{height:100%;background:linear-gradient(90deg,#4f46e5 0%,#2563eb 100%);border-radius:999px}.wcis-cq-encourage{font-size:13px;font-weight:700;color:#4f46e5}.wcis-cq-step-note{padding:12px 14px;border-radius:16px;background:#f8fbff;border:1px solid #dbeafe;color:#31558f;font-size:14px;font-weight:600;margin-bottom:18px}.wcis-cq-quiz-copy{margin-bottom:6px}.wcis-cq-step-helper{margin:0;color:#64748b;font-size:14px;line-height:1.7}
.wcis-cq-question-block{padding:8px 0 0}.wcis-cq-question-block--single{border:none;padding-top:8px}.wcis-cq-question-stage{display:inline-flex;align-items:center;padding:7px 11px;border-radius:999px;background:#f5f3ff;color:#5b21b6;font-size:12px;font-weight:700;margin-bottom:14px}.wcis-cq-question-block h3{margin:0 0 18px;font-size:28px;line-height:1.2;color:#0f172a;font-weight:700;letter-spacing:-.03em;max-width:620px}
.wcis-cq-scale{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;align-items:stretch}.wcis-cq-scale-option{position:relative;display:block}.wcis-cq-scale-option input{position:absolute;opacity:0;pointer-events:none}.wcis-cq-scale-label{display:flex;align-items:center;justify-content:center;min-height:58px;padding:0 12px;border:1px solid #e2e8f0;border-radius:16px;background:#fff;color:#475569;font-size:13px;font-weight:600;text-align:center;transition:border-color .18s ease,background .18s ease,color .18s ease,transform .18s ease,box-shadow .18s ease}.wcis-cq-scale-option:hover .wcis-cq-scale-label{transform:translateY(-1px);border-color:#c7d2fe;background:#fafaff;box-shadow:0 8px 18px rgba(79,70,229,.07)}.wcis-cq-scale-option input:checked + .wcis-cq-scale-label{border-color:#4f46e5;background:linear-gradient(180deg,#f5f3ff 0%,#eef2ff 100%);color:#312e81;box-shadow:0 12px 26px rgba(79,70,229,.11)}
.wcis-cq-chip-grid{display:flex;gap:10px;flex-wrap:wrap}.wcis-cq-chip{display:inline-flex;align-items:center;gap:8px;padding:10px 12px;border:1px solid #e5e7eb;border-radius:999px;background:#fff;color:#334155;font-weight:600}.wcis-cq-chip input{accent-color:#4f46e5}
.wcis-cq-result-item{display:flex;justify-content:space-between;gap:16px;padding:12px 0;border-top:1px solid #eef2f7}.wcis-cq-result-item:first-child{border-top:none}.wcis-cq-card-section{margin-top:18px}.wcis-cq-shell .wcis-cq-card + .wcis-cq-card{margin-top:18px}.wcis-cq-inline-form{display:inline-flex;margin:0}.wcis-cq-btn__emoji{font-size:16px;line-height:1}.wcis-cq-actions--sm .wcis-cq-btn{min-height:40px;padding:0 14px;font-size:13px}
@media (max-width:960px){.wcis-cq-grid-2,.wcis-cq-hero-grid{grid-template-columns:1fr}.wcis-cq-hero-copy .wcis-cq-section-title,.wcis-cq-title{font-size:34px}.wcis-cq-question-block h3{font-size:24px}.wcis-cq-scale{grid-template-columns:1fr}.wcis-cq-scale-label{min-height:52px;justify-content:flex-start;text-align:left;padding:0 16px}.wcis-cq-progress-wrap{width:100%}}
@media (max-width:640px){.wcis-cq-shell{padding:22px 14px 40px}.wcis-cq-card,.wcis-cq-panel{padding:22px}.wcis-cq-hero-copy .wcis-cq-section-title,.wcis-cq-title{font-size:30px}.wcis-cq-section-title{font-size:24px}.wcis-cq-actions{flex-direction:column}.wcis-cq-btn{width:100%}.wcis-cq-profile-banner{flex-direction:column}.wcis-cq-progress-head{align-items:flex-start}.wcis-cq-question-block h3{font-size:22px}}


.wcis-cq-shell--wide{max-width:1180px;padding-top:22px}
.wcis-cq-utilitybar{display:flex;align-items:center;justify-content:space-between;gap:14px;max-width:980px;margin:0 auto 16px;padding:0 6px}
.wcis-cq-utilityactions{display:flex;align-items:center;gap:10px}
.wcis-cq-utilitylink{display:inline-flex;align-items:center;gap:8px;padding:9px 12px;border-radius:999px;background:#fff;border:1px solid #e5eaf3;color:#475569;text-decoration:none;font-size:13px;font-weight:600;transition:all .18s ease}
.wcis-cq-utilitylink:hover{border-color:#c7d2fe;color:#312e81;transform:translateY(-1px)}
.wcis-cq-utilityclose{display:inline-flex;align-items:center;justify-content:center;width:38px;height:38px;border-radius:999px;background:#fff;border:1px solid #e5eaf3;color:#0f172a;text-decoration:none;font-size:22px;line-height:1}
.wcis-cq-utilityclose:hover{border-color:#c7d2fe;color:#312e81}
.wcis-cq-quiz-stage{max-width:980px !important;min-height:640px;padding:34px 42px 110px;position:relative}
.wcis-cq-quiz-copy--spacious{padding-bottom:20px;margin-bottom:26px;border-bottom:1px solid #edf2f7}
.wcis-cq-section-title{font-size:17px !important;font-weight:700;max-width:740px}
.wcis-cq-question-block h3{font-size:24px !important;max-width:760px;margin-bottom:28px}
.wcis-cq-scale{gap:12px}
.wcis-cq-scale-label{min-height:64px;border-radius:18px;font-size:14px;font-weight:600}
.wcis-cq-actions--spacious{margin-top:34px;padding-top:22px}
.wcis-cq-step-note{margin-bottom:24px}
.wcis-cq-question-block--single{padding-top:10px;padding-bottom:24px}
.wcis-cq-shell--quiz .wcis-cq-card{border-radius:34px}
@media (max-width:960px){.wcis-cq-shell--wide{max-width:860px}.wcis-cq-utilitybar{max-width:760px}.wcis-cq-quiz-stage{max-width:760px !important;padding:28px 24px 80px}.wcis-cq-section-title{font-size:16px !important}.wcis-cq-question-block h3{font-size:22px !important}}
@media (max-width:640px){.wcis-cq-utilitybar{padding:0;flex-wrap:wrap}.wcis-cq-utilityactions{width:100%;justify-content:space-between}.wcis-cq-utilitylink{font-size:12px}.wcis-cq-quiz-stage{padding:22px 18px 64px;min-height:auto}.wcis-cq-question-block h3{font-size:20px !important}}

.wcis-cq-mini-hint{margin:2px 0 10px;color:#64748b;font-size:13px;font-weight:500}


/* v1.0.8: Premium spacing refinement for one-question quiz view */
.wcis-cq-shell--wide .wcis-cq-quiz-stage{
    min-height: 680px;
    padding-top: 46px;
    padding-bottom: 88px;
}
.wcis-cq-shell--wide .wcis-cq-step-note{
    margin-bottom: 34px;
}
.wcis-cq-shell--wide .wcis-cq-mini-hint{
    margin: 0 0 74px;
    color: #64748b;
    font-size: 14px;
    font-weight: 500;
}
.wcis-cq-shell--wide .wcis-cq-question-block--single h3{
    margin-bottom: 34px;
}
.wcis-cq-shell--wide .wcis-cq-scale{
    margin-bottom: 88px;
}
.wcis-cq-shell--wide .wcis-cq-actions{
    margin-top: 0;
}
@media (max-width: 960px){
    .wcis-cq-shell--wide .wcis-cq-quiz-stage{
        min-height: auto;
        padding-top: 28px;
        padding-bottom: 42px;
    }
    .wcis-cq-shell--wide .wcis-cq-mini-hint{
        margin-bottom: 38px;
    }
    .wcis-cq-shell--wide .wcis-cq-scale{
        margin-bottom: 42px;
    }
}


/* v1.0.9: Tighten quiz stage height and bring action button closer to answers */
.wcis-cq-shell--wide .wcis-cq-quiz-stage{
    min-height: 520px !important;
    padding-top: 36px !important;
    padding-bottom: 48px !important;
}
.wcis-cq-shell--wide .wcis-cq-question-block--single h3{
    margin-bottom: 20px !important;
}
.wcis-cq-shell--wide .wcis-cq-scale{
    margin-bottom: 28px !important;
}
.wcis-cq-shell--wide .wcis-cq-actions{
    margin-top: 8px !important;
}
@media (max-width: 960px){
    .wcis-cq-shell--wide .wcis-cq-quiz-stage{
        min-height: auto !important;
        padding-top: 24px !important;
        padding-bottom: 34px !important;
    }
    .wcis-cq-shell--wide .wcis-cq-scale{
        margin-bottom: 24px !important;
    }
}

.wcis-cq-school-match-note{margin:10px 0 0;color:#64748b;font-size:13px;line-height:1.55}

/* v1.0.12: dashboard-contained result/history polish */
.wcis-cq-result-head{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;flex-wrap:wrap}
.wcis-cq-latest-result{padding:18px;border:1px solid #dbeafe;border-radius:18px;background:#f8fbff}
.wcis-cq-result-item--stacked{align-items:flex-start}
.wcis-cq-result-item--stacked>div{min-width:0}
@media (max-width:720px){.wcis-cq-result-head{display:block}.wcis-cq-result-head .wcis-cq-actions{margin-top:14px}}


/* v1.0.13: Result screen redesign */
.wcis-cq-shell--results{max-width:1100px}
.wcis-cq-result-hero{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:24px;
    margin-bottom:18px;
    padding:34px;
    border:1px solid #e4eaf5;
    border-radius:30px;
    background:
        radial-gradient(circle at top right, rgba(79,70,229,.10), transparent 32%),
        linear-gradient(135deg,#ffffff 0%,#f8fbff 100%);
    box-shadow:0 20px 50px rgba(15,23,42,.07);
}
.wcis-cq-result-hero .wcis-cq-title{font-size:42px;margin-bottom:10px}
.wcis-cq-result-date{
    min-width:150px;
    padding:14px 16px;
    border-radius:20px;
    border:1px solid #dbe7f8;
    background:#fff;
    text-align:right;
    box-shadow:0 10px 25px rgba(15,23,42,.04);
}
.wcis-cq-result-date span{display:block;color:#64748b;font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.06em}
.wcis-cq-result-date strong{display:block;margin-top:4px;color:#0f172a;font-size:15px}
.wcis-cq-result-insights{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:18px;
    margin-bottom:18px;
}
.wcis-cq-insight-card{
    padding:24px;
    border-radius:26px;
    border:1px solid #e4eaf5;
    box-shadow:0 14px 34px rgba(15,23,42,.045);
}
.wcis-cq-insight-card--traits{background:linear-gradient(135deg,#fff7ed 0%,#fff 62%)}
.wcis-cq-insight-card--sectors{background:linear-gradient(135deg,#eef2ff 0%,#fff 62%)}
.wcis-cq-insight-head{display:flex;gap:14px;align-items:flex-start;margin-bottom:18px}
.wcis-cq-insight-icon{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:42px;
    height:42px;
    border-radius:16px;
    background:#fff;
    box-shadow:0 8px 18px rgba(15,23,42,.07);
}
.wcis-cq-insight-head h3{margin:0 0 4px;font-size:20px;line-height:1.2}
.wcis-cq-insight-head p{margin:0;color:#64748b;font-size:13px;line-height:1.5}
.wcis-cq-chip-cloud{display:flex;flex-wrap:wrap;gap:10px}
.wcis-cq-chip-soft{
    display:inline-flex;
    align-items:center;
    gap:8px;
    padding:10px 13px;
    border-radius:999px;
    border:1px solid transparent;
    font-size:13px;
}
.wcis-cq-chip-soft strong{font-weight:800}
.wcis-cq-chip-soft em{font-style:normal;font-weight:700;opacity:.75}
.wcis-cq-chip-soft--1{background:#eff6ff;border-color:#bfdbfe;color:#1d4ed8}
.wcis-cq-chip-soft--2{background:#f5f3ff;border-color:#ddd6fe;color:#6d28d9}
.wcis-cq-chip-soft--3{background:#ecfdf5;border-color:#bbf7d0;color:#047857}
.wcis-cq-chip-soft--4{background:#fff7ed;border-color:#fed7aa;color:#c2410c}
.wcis-cq-recommendation-board{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:18px;
}
.wcis-cq-reco-panel{
    background:#fff;
    border:1px solid #e4eaf5;
    border-radius:28px;
    padding:22px;
    box-shadow:0 16px 38px rgba(15,23,42,.055);
    min-height:280px;
}
.wcis-cq-reco-head{
    display:flex;
    gap:10px;
    align-items:center;
    padding-bottom:15px;
    margin-bottom:14px;
    border-bottom:1px solid #edf2f7;
}
.wcis-cq-reco-head span{
    display:inline-flex;
    width:36px;
    height:36px;
    align-items:center;
    justify-content:center;
    border-radius:14px;
    background:#f8fbff;
}
.wcis-cq-reco-head h3{margin:0;font-size:22px;line-height:1.2}
.wcis-cq-reco-list{display:grid;gap:12px}
.wcis-cq-reco-row{
    display:flex;
    justify-content:space-between;
    gap:14px;
    align-items:flex-start;
    padding:14px;
    border-radius:18px;
    background:#f8fafc;
    border:1px solid #eef2f7;
}
.wcis-cq-reco-row strong{display:block;font-size:15px;line-height:1.35;color:#0f172a}
.wcis-cq-reco-row p{margin:6px 0 0;color:#64748b;font-size:13px;line-height:1.5}
.wcis-cq-reco-row--school{display:block}
.wcis-cq-match-pill{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    flex-shrink:0;
    padding:7px 10px;
    border-radius:999px;
    background:#eef2ff;
    color:#4338ca;
    border:1px solid #dbe3ff;
    font-size:12px;
    font-weight:800;
    white-space:nowrap;
}
.wcis-cq-empty-state{
    padding:18px;
    border-radius:18px;
    background:#f8fafc;
    border:1px dashed #cbd5e1;
}
.wcis-cq-empty-state strong{display:block;margin-bottom:6px;color:#0f172a}
.wcis-cq-empty-state p,.wcis-cq-empty-text{color:#64748b;line-height:1.6}
.wcis-cq-result-actions{
    display:flex;
    gap:12px;
    align-items:center;
    flex-wrap:wrap;
    margin-top:20px;
    padding:18px;
    border-radius:24px;
    background:#f8fbff;
    border:1px solid #e4eaf5;
}
.wcis-cq-btn--dark{background:#0f172a;border-color:#0f172a}
@media(max-width:1050px){
    .wcis-cq-recommendation-board{grid-template-columns:1fr}
    .wcis-cq-result-insights{grid-template-columns:1fr}
}
@media(max-width:720px){
    .wcis-cq-result-hero{display:block;padding:24px}
    .wcis-cq-result-hero .wcis-cq-title{font-size:32px}
    .wcis-cq-result-date{text-align:left;margin-top:16px}
    .wcis-cq-reco-row{display:block}
    .wcis-cq-match-pill{margin-top:10px}
}


/* v1.0.14 action button refresh */
.wcis-cq-result-actions .wcis-cq-btn{
    min-height:52px;
    padding:0 22px;
    border-radius:18px;
    font-weight:800;
    box-shadow:0 10px 22px rgba(15,23,42,.08);
    transition:all .22s ease;
}
.wcis-cq-result-actions .wcis-cq-btn:hover{
    transform:translateY(-2px);
}
.wcis-cq-btn--purple{
    background:linear-gradient(135deg,#7c3aed 0%,#4f46e5 100%);
    border-color:#6d28d9;
    color:#fff;
}
.wcis-cq-btn--purple:hover{
    box-shadow:0 14px 28px rgba(109,40,217,.28);
}
.wcis-cq-btn--sky{
    background:linear-gradient(135deg,#f0f9ff 0%,#e0f2fe 100%);
    border-color:#bae6fd;
    color:#0369a1;
}
.wcis-cq-btn--sky:hover{
    background:linear-gradient(135deg,#e0f2fe 0%,#bae6fd 100%);
}
.wcis-cq-btn--amber{
    background:linear-gradient(135deg,#f59e0b 0%,#ea580c 100%);
    border-color:#ea580c;
    color:#fff;
}
.wcis-cq-btn--amber:hover{
    box-shadow:0 14px 28px rgba(234,88,12,.24);
}


/* v1.0.16: true fullscreen/fallback fullscreen mode for Career Quiz */
body.wcis-cq-fullscreen-active{overflow:hidden!important;}
body.wcis-cq-fullscreen-active .wcis-cq-shell--quiz{
    position:fixed!important;
    inset:0!important;
    z-index:999999!important;
    width:100vw!important;
    max-width:none!important;
    height:100vh!important;
    margin:0!important;
    padding:28px 42px!important;
    overflow:auto!important;
    background:linear-gradient(135deg,#f8fafc 0%,#ffffff 52%,#eef2ff 100%)!important;
}
.wcis-cq-shell--quiz:fullscreen,
.wcis-cq-shell--quiz:-webkit-full-screen{
    width:100vw!important;
    max-width:none!important;
    min-height:100vh!important;
    margin:0!important;
    padding:28px 42px!important;
    overflow:auto!important;
    background:linear-gradient(135deg,#f8fafc 0%,#ffffff 52%,#eef2ff 100%)!important;
}
.wcis-cq-shell--fullscreen-active .wcis-cq-quiz-stage,
.wcis-cq-shell--quiz:fullscreen .wcis-cq-quiz-stage,
.wcis-cq-shell--quiz:-webkit-full-screen .wcis-cq-quiz-stage{
    max-width:1280px!important;
    margin:0 auto!important;
    min-height:calc(100vh - 160px)!important;
}
.wcis-cq-shell--fullscreen-active .wcis-cq-utilitybar,
.wcis-cq-shell--quiz:fullscreen .wcis-cq-utilitybar,
.wcis-cq-shell--quiz:-webkit-full-screen .wcis-cq-utilitybar{
    max-width:1280px!important;
    margin-left:auto!important;
    margin-right:auto!important;
}
@media(max-width:760px){
    body.wcis-cq-fullscreen-active .wcis-cq-shell--quiz,
    .wcis-cq-shell--quiz:fullscreen,
    .wcis-cq-shell--quiz:-webkit-full-screen{
        padding:18px 14px!important;
    }
}


/* v1.0.17 preference filter redesign */
.wcis-cq-pref-hero{
    margin-bottom:34px;
    padding:28px;
    border-radius:28px;
    background:
      radial-gradient(circle at top right, rgba(79,70,229,.12), transparent 34%),
      linear-gradient(135deg,#ffffff 0%,#f8fbff 100%);
    border:1px solid #e3ebf7;
    box-shadow:0 18px 42px rgba(15,23,42,.06);
}
.wcis-cq-pref-step{
    display:inline-flex;
    align-items:center;
    gap:8px;
    padding:8px 14px;
    border-radius:999px;
    background:#eef2ff;
    color:#4338ca;
    font-size:12px;
    font-weight:800;
    text-transform:uppercase;
    letter-spacing:.06em;
    margin-bottom:14px;
}
.wcis-cq-pref-hero h2{
    margin:0 0 10px;
    font-size:52px;
    line-height:1;
    letter-spacing:-0.04em;
}
.wcis-cq-pref-hero p{
    max-width:720px;
    margin:0;
    color:#64748b;
    font-size:17px;
    line-height:1.7;
}
.wcis-cq-preferences-grid{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:28px;
    margin-top:28px;
}
.wcis-cq-preferences-grid .wcis-cq-field{
    margin-bottom:0!important;
}
.wcis-cq-interest-grid{
    display:flex;
    flex-wrap:wrap;
    gap:16px;
    margin-top:20px;
    margin-bottom:34px;
}
.wcis-cq-interest-grid label{
    position:relative;
    min-width:150px;
    min-height:110px;
    display:flex!important;
    align-items:center;
    justify-content:center;
    text-align:center;
    padding:18px;
    border-radius:28px!important;
    border:1px solid #dde7f4!important;
    background:#fff!important;
    font-size:18px;
    font-weight:700;
    color:#0f172a;
    box-shadow:0 10px 24px rgba(15,23,42,.04);
    transition:all .22s ease;
}
.wcis-cq-interest-grid label:hover{
    transform:translateY(-3px);
    border-color:#c7d2fe!important;
    box-shadow:0 16px 34px rgba(79,70,229,.10);
}
.wcis-cq-interest-grid input:checked + span,
.wcis-cq-interest-grid label.active{
    color:#4338ca;
}
.wcis-cq-interest-grid label:has(input:checked){
    background:linear-gradient(135deg,#eef2ff 0%,#ffffff 100%)!important;
    border-color:#6366f1!important;
    box-shadow:0 18px 40px rgba(99,102,241,.18);
}
.wcis-cq-interest-grid input{
    position:absolute;
    top:16px;
    left:16px;
    width:18px;
    height:18px;
}
.wcis-cq-select-group{
    padding:24px;
    border-radius:26px;
    border:1px solid #e3ebf7;
    background:#fbfdff;
}
.wcis-cq-select-group h3{
    margin:0 0 18px;
    font-size:20px;
}
.wcis-cq-select-group select{
    min-height:60px;
    border-radius:18px!important;
    font-size:16px;
    background:#fff;
}
.wcis-cq-preference-submit{
    margin-top:38px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:24px;
    padding:26px;
    border-radius:28px;
    background:linear-gradient(135deg,#111827 0%,#1e1b4b 100%);
    color:#fff;
}
.wcis-cq-preference-submit p{
    margin:0;
    color:rgba(255,255,255,.78);
}
.wcis-cq-preference-submit .wcis-cq-btn{
    min-height:62px;
    padding:0 34px;
    border-radius:20px;
    background:linear-gradient(135deg,#7c3aed 0%,#4f46e5 100%);
    border:none;
    box-shadow:0 18px 40px rgba(79,70,229,.35);
    font-size:17px;
}
@media(max-width:900px){
    .wcis-cq-preferences-grid{
        grid-template-columns:1fr;
    }
    .wcis-cq-pref-hero h2{
        font-size:38px;
    }
    .wcis-cq-preference-submit{
        display:block;
    }
    .wcis-cq-preference-submit .wcis-cq-btn{
        width:100%;
        margin-top:18px;
    }
}


/* v1.0.18 REAL preference page rebuild */
.wcis-cq-shell--preferences{max-width:1120px}
.wcis-cq-pref-page{
    border-radius:34px;
    overflow:hidden;
    background:#fff;
    border:1px solid #e4eaf5;
    box-shadow:0 22px 60px rgba(15,23,42,.075);
}
.wcis-cq-pref-hero-real{
    display:flex;
    justify-content:space-between;
    gap:28px;
    align-items:center;
    padding:38px;
    background:
      radial-gradient(circle at top right,rgba(124,58,237,.16),transparent 34%),
      linear-gradient(135deg,#0f172a 0%,#1e1b4b 55%,#312e81 100%);
    color:#fff;
}
.wcis-cq-pref-hero-real h2{
    margin:0 0 12px;
    color:#fff;
    font-size:46px;
    line-height:1;
    letter-spacing:-.045em;
}
.wcis-cq-pref-hero-real p{
    margin:0;
    max-width:680px;
    color:rgba(255,255,255,.78);
    font-size:16px;
    line-height:1.65;
}
.wcis-cq-pref-step{
    display:inline-flex;
    align-items:center;
    padding:8px 13px;
    margin-bottom:16px;
    border-radius:999px;
    background:rgba(255,255,255,.12);
    border:1px solid rgba(255,255,255,.18);
    color:#fff;
    font-size:12px;
    font-weight:800;
    letter-spacing:.06em;
    text-transform:uppercase;
}
.wcis-cq-pref-orb{
    flex:0 0 120px;
    height:120px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:36px;
    background:rgba(255,255,255,.12);
    border:1px solid rgba(255,255,255,.18);
    box-shadow:inset 0 1px 0 rgba(255,255,255,.16);
}
.wcis-cq-pref-orb span{font-size:52px}
.wcis-cq-pref-form{padding:34px}
.wcis-cq-pref-section{
    padding:28px;
    border:1px solid #e7edf7;
    border-radius:30px;
    background:#fff;
    margin-bottom:22px;
}
.wcis-cq-pref-section--soft{
    background:linear-gradient(135deg,#f8fbff 0%,#fff 100%);
}
.wcis-cq-pref-section-head{
    display:flex;
    justify-content:space-between;
    gap:18px;
    margin-bottom:22px;
}
.wcis-cq-pref-section-head h3{
    margin:0 0 7px;
    font-size:25px;
    line-height:1.15;
    letter-spacing:-.025em;
}
.wcis-cq-pref-section-head p{
    margin:0;
    color:#64748b;
    font-size:14px;
    line-height:1.6;
}
.wcis-cq-area-grid{
    display:grid;
    grid-template-columns:repeat(5,minmax(0,1fr));
    gap:14px;
}
.wcis-cq-area-tile{
    position:relative;
    min-height:142px;
    border:1px solid #dfe7f2;
    border-radius:26px;
    background:linear-gradient(180deg,#fff 0%,#fbfdff 100%);
    display:flex!important;
    flex-direction:column!important;
    align-items:flex-start!important;
    justify-content:flex-start!important;
    gap:7px!important;
    padding:18px!important;
    cursor:pointer;
    transition:all .22s ease;
    box-shadow:0 9px 20px rgba(15,23,42,.035);
}
.wcis-cq-area-tile:hover{
    transform:translateY(-3px);
    border-color:#c4b5fd;
    box-shadow:0 18px 36px rgba(79,70,229,.11);
}
.wcis-cq-area-tile input{
    position:absolute;
    top:14px;
    right:14px;
    width:18px;
    height:18px;
    accent-color:#4f46e5;
}
.wcis-cq-area-icon{
    width:44px;
    height:44px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:16px;
    background:#f8fafc;
    font-size:24px;
    margin-bottom:6px;
}
.wcis-cq-area-tile strong{
    color:#0f172a;
    font-size:15px;
    line-height:1.15;
}
.wcis-cq-area-tile em{
    color:#64748b;
    font-size:12px;
    line-height:1.45;
    font-style:normal;
}
.wcis-cq-area-tile:has(input:checked){
    border-color:#6366f1;
    background:linear-gradient(135deg,#eef2ff 0%,#fff 100%);
    box-shadow:0 18px 40px rgba(99,102,241,.16);
}
.wcis-cq-area-tile:has(input:checked) .wcis-cq-area-icon{
    background:#4f46e5;
    color:#fff;
}
.wcis-cq-pref-select-grid{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:16px;
}
.wcis-cq-pref-select-card{
    padding:18px;
    border:1px solid #e0e8f4;
    border-radius:24px;
    background:#fff;
    box-shadow:0 8px 18px rgba(15,23,42,.025);
}
.wcis-cq-pref-select-card span{
    display:block;
    color:#0f172a;
    font-size:14px;
    font-weight:800;
    margin-bottom:10px;
}
.wcis-cq-pref-select-card select{
    width:100%;
    height:54px;
    border-radius:16px!important;
    border:1px solid #d8e2ef!important;
    padding:0 14px!important;
    font-size:15px!important;
    background:#fff!important;
}
.wcis-cq-pref-submit{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:24px;
    padding:26px 28px;
    border-radius:30px;
    background:linear-gradient(135deg,#f8fbff 0%,#eef2ff 100%);
    border:1px solid #dbe4f5;
}
.wcis-cq-pref-submit strong{
    display:block;
    font-size:20px;
    color:#0f172a;
    margin-bottom:6px;
}
.wcis-cq-pref-submit p{
    margin:0;
    color:#64748b;
    line-height:1.55;
}
.wcis-cq-btn--pref{
    min-height:58px;
    padding:0 28px;
    border-radius:18px;
    background:linear-gradient(135deg,#7c3aed 0%,#2563eb 100%)!important;
    border-color:#4f46e5!important;
    color:#fff!important;
    font-weight:800;
    white-space:nowrap;
    box-shadow:0 18px 36px rgba(79,70,229,.25);
}
@media(max-width:980px){
    .wcis-cq-area-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
    .wcis-cq-pref-select-grid{grid-template-columns:1fr}
    .wcis-cq-pref-hero-real{display:block}
    .wcis-cq-pref-orb{display:none}
}
@media(max-width:640px){
    .wcis-cq-pref-form,.wcis-cq-pref-hero-real{padding:24px}
    .wcis-cq-pref-hero-real h2{font-size:34px}
    .wcis-cq-area-grid{grid-template-columns:1fr}
    .wcis-cq-pref-submit{display:block}
    .wcis-cq-btn--pref{width:100%;margin-top:18px}
}


/* v1.0.19 compact preference page refinement */
.wcis-cq-shell--preferences{
    max-width:1040px;
    padding-top:20px;
}
.wcis-cq-pref-page{
    border-radius:28px;
}
.wcis-cq-pref-hero-real{
    padding:26px 30px;
    border-radius:0;
}
.wcis-cq-pref-hero-real h2{
    font-size:36px !important;
    line-height:1.05;
    margin-bottom:8px;
}
.wcis-cq-pref-hero-real p{
    font-size:14px;
    line-height:1.55;
    max-width:620px;
}
.wcis-cq-pref-step{
    padding:6px 11px;
    margin-bottom:10px;
    font-size:11px;
}
.wcis-cq-pref-orb{
    flex:0 0 86px;
    height:86px;
    border-radius:26px;
}
.wcis-cq-pref-orb span{
    font-size:38px;
}
.wcis-cq-pref-form{
    padding:24px 26px 26px;
}
.wcis-cq-pref-section{
    padding:20px 22px;
    border-radius:24px;
    margin-bottom:16px;
}
.wcis-cq-pref-section-head{
    margin-bottom:16px;
}
.wcis-cq-pref-section-head h3{
    font-size:20px;
    margin-bottom:4px;
}
.wcis-cq-pref-section-head p{
    font-size:13px;
}
.wcis-cq-area-grid{
    gap:10px;
}
.wcis-cq-area-tile{
    min-height:104px;
    border-radius:20px!important;
    padding:14px!important;
    gap:4px!important;
}
.wcis-cq-area-tile input{
    top:11px;
    right:11px;
    width:15px;
    height:15px;
}
.wcis-cq-area-icon{
    width:34px;
    height:34px;
    border-radius:12px;
    font-size:18px;
    margin-bottom:4px;
}
.wcis-cq-area-tile strong{
    font-size:13px;
}
.wcis-cq-area-tile em{
    font-size:11px;
    line-height:1.35;
}
.wcis-cq-pref-select-grid{
    gap:12px;
}
.wcis-cq-pref-select-card{
    padding:14px;
    border-radius:20px;
}
.wcis-cq-pref-select-card span{
    font-size:13px;
    margin-bottom:8px;
}
.wcis-cq-pref-select-card select{
    height:46px!important;
    min-height:46px!important;
    border-radius:14px!important;
    font-size:14px!important;
}
.wcis-cq-pref-submit{
    padding:18px 20px;
    border-radius:24px;
    gap:18px;
}
.wcis-cq-pref-submit strong{
    font-size:17px;
    margin-bottom:3px;
}
.wcis-cq-pref-submit p{
    font-size:13px;
    line-height:1.45;
}
.wcis-cq-btn--pref{
    min-height:48px;
    padding:0 20px;
    border-radius:15px;
    font-size:14px;
}
@media(max-width:980px){
    .wcis-cq-shell--preferences{
        max-width:860px;
    }
    .wcis-cq-area-grid{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }
}
@media(max-width:640px){
    .wcis-cq-pref-form,.wcis-cq-pref-hero-real{
        padding:20px;
    }
    .wcis-cq-pref-hero-real h2{
        font-size:30px!important;
    }
    .wcis-cq-area-tile{
        min-height:94px;
    }
}


/* v1.0.21: keep fullscreen active during quiz form submit */
.wcis-cq-is-loading{
    position:relative;
    pointer-events:none;
    opacity:.72;
}
.wcis-cq-is-loading::after{
    content:'Updating your quiz...';
    position:absolute;
    left:50%;
    bottom:28px;
    transform:translateX(-50%);
    z-index:99999;
    padding:10px 16px;
    border-radius:999px;
    background:#0f172a;
    color:#fff;
    font-size:13px;
    font-weight:800;
    box-shadow:0 12px 28px rgba(15,23,42,.24);
}


/* v1.0.23: submit state fix - do not dim/blur whole quiz during AJAX submit */
.wcis-cq-is-loading{
    opacity:1!important;
    pointer-events:none;
}
.wcis-cq-is-loading::after{
    content:'Saving...';
    bottom:18px;
    background:rgba(15,23,42,.92);
    backdrop-filter:none;
}


/* v1.0.24: make fullscreen quiz/preference overlay scrollable */
body.wcis-cq-fullscreen-active{
    overflow:hidden!important;
}
body.wcis-cq-fullscreen-active .wcis-cq-shell--fullscreen-active{
    position:fixed!important;
    inset:0!important;
    z-index:999999!important;
    width:100vw!important;
    max-width:none!important;
    height:100vh!important;
    max-height:100vh!important;
    overflow-y:auto!important;
    overflow-x:hidden!important;
    overscroll-behavior:contain!important;
    -webkit-overflow-scrolling:touch!important;
    padding:24px!important;
    background:#f8fafc!important;
}
body.wcis-cq-fullscreen-active .wcis-cq-shell--fullscreen-active .wcis-cq-pref-page,
body.wcis-cq-fullscreen-active .wcis-cq-shell--fullscreen-active .wcis-cq-quiz-stage,
body.wcis-cq-fullscreen-active .wcis-cq-shell--fullscreen-active .wcis-cq-result-hero{
    max-width:1280px;
    margin-left:auto;
    margin-right:auto;
}
body.wcis-cq-fullscreen-active .wcis-cq-shell--fullscreen-active::after{
    content:'';
    display:block;
    height:48px;
}
body.wcis-cq-fullscreen-active .wcis-cq-shell--fullscreen-active .wcis-cq-utilitybar{
    position:sticky;
    top:0;
    z-index:20;
    background:rgba(248,250,252,.92);
    backdrop-filter:blur(10px);
    border-radius:999px;
    padding:8px;
    margin-bottom:14px;
}
@supports selector(:fullscreen){
    .wcis-cq-shell--fullscreen-active:fullscreen{
        overflow-y:auto!important;
        overflow-x:hidden!important;
        height:100vh!important;
        max-height:100vh!important;
        padding:24px!important;
        background:#f8fafc!important;
    }
}


/* v1.0.25 recommended schools modal + strict inventory recommendations */
.wcis-cq-view-schools-btn{
    width:100%;
    margin-top:8px;
}
.wcis-cq-school-modal{
    display:none;
    position:fixed;
    inset:0;
    z-index:1000000;
}
.wcis-cq-school-modal.is-open{
    display:block;
}
.wcis-cq-school-modal__backdrop{
    position:absolute;
    inset:0;
    background:rgba(15,23,42,.45);
    backdrop-filter:blur(6px);
}
.wcis-cq-school-modal__panel{
    position:relative;
    width:min(760px, calc(100vw - 32px));
    max-height:calc(100vh - 60px);
    overflow:auto;
    margin:30px auto;
    border-radius:28px;
    background:#fff;
    box-shadow:0 30px 80px rgba(15,23,42,.28);
    border:1px solid #e2e8f0;
}
.wcis-cq-school-modal__head{
    position:sticky;
    top:0;
    z-index:2;
    display:flex;
    justify-content:space-between;
    gap:18px;
    padding:22px 24px;
    background:#f8fbff;
    border-bottom:1px solid #e2e8f0;
}
.wcis-cq-school-modal__head strong{
    display:block;
    font-size:22px;
    color:#0f172a;
}
.wcis-cq-school-modal__head p{
    margin:5px 0 0;
    color:#64748b;
    line-height:1.5;
}
.wcis-cq-school-modal__head button{
    width:42px;
    height:42px;
    border-radius:999px;
    border:1px solid #dbe3ee;
    background:#fff;
    cursor:pointer;
    font-size:24px;
    line-height:1;
}
.wcis-cq-school-modal__list{
    display:grid;
    gap:12px;
    padding:18px;
}
.wcis-cq-school-modal__item{
    display:flex;
    justify-content:space-between;
    gap:16px;
    padding:16px;
    border-radius:18px;
    background:#fff;
    border:1px solid #e8eef7;
}
.wcis-cq-school-modal__item strong{
    display:block;
    color:#0f172a;
}
.wcis-cq-school-modal__item p{
    margin:6px 0 0;
    color:#64748b;
    line-height:1.5;
}
@media(max-width:680px){
    .wcis-cq-school-modal__item{
        display:block;
    }
}


/* v1.0.26: result history view buttons */
.wcis-cq-history-row{
    align-items:flex-start;
}
.wcis-cq-history-row .wcis-cq-actions{
    margin-top:0;
    align-items:center;
}
.wcis-cq-history-notice{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:16px;
    padding:16px 18px;
    margin-bottom:16px;
    border:1px solid #fed7aa;
    background:#fff7ed;
    color:#9a3412;
    border-radius:20px;
}
.wcis-cq-history-notice strong{
    color:#9a3412;
}
@media(max-width:720px){
    .wcis-cq-history-row,
    .wcis-cq-history-notice{
        display:block;
    }
    .wcis-cq-history-row .wcis-cq-actions,
    .wcis-cq-history-notice .wcis-cq-btn{
        margin-top:12px;
    }
}


/* v1.0.28: recommended school modal container, image, and count refinement */
.wcis-cq-school-thumb{
    width:100%;
    height:92px;
    object-fit:cover;
    border-radius:16px;
    margin-bottom:12px;
    background:#eef2f7;
    border:1px solid #e2e8f0;
}
.wcis-cq-school-modal{
    position:fixed!important;
    inset:0!important;
    z-index:2147483000!important;
}
.wcis-cq-school-modal__panel{
    position:fixed!important;
    top:24px!important;
    left:50%!important;
    right:auto!important;
    transform:translateX(-50%)!important;
    width:min(720px, calc(100vw - 48px))!important;
    max-width:720px!important;
    max-height:calc(100vh - 48px)!important;
    margin:0!important;
    overflow:auto!important;
}
.wcis-cq-school-modal__backdrop{
    position:fixed!important;
    inset:0!important;
}
.wcis-cq-school-modal__list{
    padding:14px!important;
    gap:10px!important;
}
.wcis-cq-school-modal__item{
    align-items:center;
    padding:14px!important;
}
.wcis-cq-school-modal__thumb{
    width:64px;
    height:64px;
    border-radius:16px;
    object-fit:cover;
    background:#eef2f7;
    border:1px solid #e2e8f0;
    flex:0 0 64px;
}
.wcis-cq-school-modal__copy{
    flex:1;
    min-width:0;
}
.wcis-cq-school-modal__item .wcis-cq-actions{
    flex:0 0 auto;
}
@media(max-width:680px){
    .wcis-cq-school-modal__panel{
        top:12px!important;
        width:calc(100vw - 24px)!important;
        max-height:calc(100vh - 24px)!important;
    }
    .wcis-cq-school-modal__item{
        display:block!important;
    }
    .wcis-cq-school-modal__thumb{
        width:100%;
        height:120px;
        margin-bottom:10px;
    }
}


/* v1.0.29: clean school meta display and stronger school thumbnails */
.wcis-cq-school-thumb{
    display:block;
}
.wcis-cq-school-modal__item{
    grid-template-columns:auto 1fr auto;
}
