.new_content.native-tests-page{color:#171717;font-family:Arial,Helvetica,sans-serif;text-align:left;background:transparent}
.native-tests-page *{box-sizing:border-box}
.native-tests-breadcrumb{display:flex;gap:10px;align-items:center;font-size:13px;opacity:.68;margin-bottom:26px}
.native-tests-breadcrumb a{color:inherit;text-decoration:none}
.native-tests-heading{text-align:center;margin:0 auto 30px;max-width:750px}
.native-tests-heading h1{font-size:clamp(32px,5vw,54px);line-height:1.07;letter-spacing:-.035em;margin:11px 0 14px;font-weight:850}
.native-tests-heading>p{margin:0 auto;font-size:16px;line-height:1.65;opacity:.76}
.native-tests-eyebrow{text-transform:uppercase;letter-spacing:.12em;font-size:11px;font-weight:850;color:#ff4d40}
.native-tests-hint{font-size:12px;opacity:.7;margin-top:18px}
.native-tests-panel{padding:clamp(22px,4vw,42px);border:1px solid rgba(46,46,73,.11);border-radius:20px;background:#fff;box-shadow:0 12px 50px rgba(46,46,73,.055);margin-bottom:20px}
.native-tests-panel>h2{font-size:25px;font-weight:800;margin:0 0 13px;color:#2e2e49}
.native-tests-panel>p{font-size:15px;line-height:1.7;margin:10px 0 18px}
.native-tests-agree{display:flex;align-items:flex-start;gap:12px;font-size:14px;line-height:1.5;margin:24px 0 16px;cursor:pointer}
.native-tests-agree input{margin-top:3px;accent-color:#ff4d40;width:18px;height:18px;flex:none}
.native-tests-actions{display:flex;gap:10px;flex-wrap:wrap}
.native-tests-button{appearance:none;display:inline-flex;align-items:center;justify-content:center;border:1px solid #ff4d40;border-radius:10px;color:#fff!important;background:#ff4d40;padding:12px 18px;font-weight:700;font-size:14px;line-height:1.3;font-family:inherit;cursor:pointer;text-decoration:none!important;transition:opacity .16s ease}
.native-tests-button:hover{opacity:.84}
.native-tests-button:disabled{opacity:.35;cursor:not-allowed}
.native-tests-button-muted{color:#2e2e49!important;background:transparent;border-color:rgba(46,46,73,.25)}
.native-tests-status{min-height:18px;margin:16px 0 0!important;font-size:13px;line-height:1.5;color:#51616e}
.native-tests-status-error{color:#c63636}
.native-tests-history{display:grid;gap:7px}
.native-tests-history a{display:flex;justify-content:space-between;gap:20px;color:#2e2e49!important;text-decoration:none!important;border:1px solid rgba(46,46,73,.12);border-radius:10px;padding:15px}
.native-tests-history a:hover{border-color:#ff4d40}
.native-tests-history small{font-size:12px;opacity:.6;white-space:nowrap}
.native-tests-progress-head{display:flex;justify-content:space-between;gap:8px;font-size:13px;font-weight:750;margin-bottom:10px}
.native-tests-progress-head span:last-child{opacity:.63}
.native-tests-progress-track{height:6px;background:rgba(46,46,73,.11);border-radius:10px;overflow:hidden;margin-bottom:40px}
.native-tests-progress-track>div{height:100%;width:0;background:#ff4d40;border-radius:10px;transition:width .2s}
.native-tests-question[hidden],[data-native-next][hidden],[data-native-finish][hidden]{display:none!important}
.native-tests-group{color:#ff4d40;font-size:12px;font-weight:750;letter-spacing:.05em;text-transform:uppercase}
.native-tests-question h2{font-size:clamp(20px,3vw,27px);line-height:1.45;font-weight:700;color:#2e2e49;margin:10px 0 23px;white-space:pre-line}
.native-tests-question-image{display:block;max-width:min(100%,560px);height:auto;max-height:390px;object-fit:contain;margin:16px 0 24px;border-radius:10px}
.native-tests-answer-label{display:block;font-size:13px;font-weight:750;margin-bottom:9px}
.native-tests-question textarea{width:100%;min-height:168px;resize:vertical;background:#fff;border:1px solid rgba(46,46,73,.27);border-radius:12px;padding:15px 17px;box-sizing:border-box;font:400 15px/1.6 inherit;color:#2e2e49}
.native-tests-question textarea:focus{border-color:#ff4d40;outline:3px solid rgba(255,77,64,.12)}
.native-tests-wizard-nav{display:flex;align-items:center;gap:12px;margin-top:24px;flex-wrap:wrap}
.native-tests-wizard-nav span{font-size:12px;opacity:.6;flex:1;text-align:center}
.native-tests-back{display:inline-block;color:#2e2e49!important;margin-top:24px;font-size:13px;text-decoration:underline!important}
.native-tests-result{text-align:center}
.native-tests-result>h2{font-size:clamp(34px,7vw,68px);color:#ff4d40}
.native-tests-result-sub{font-weight:700}
@media(max-width:600px){.native-tests-panel{border-radius:13px;padding:20px 15px}.native-tests-history a{flex-direction:column;gap:4px}.native-tests-wizard-nav span{order:4;flex:0 0 100%}}

/* Match the original 160personalities full-page question layout. */
.native-tests-all-questions{max-width:940px;margin:0 auto;box-shadow:none}
.native-tests-all-questions .native-tests-source-intro{margin:0 0 30px;color:#666774;font-size:14px;line-height:1.65}
.native-tests-all-questions .native-tests-source-intro p{margin:8px 0}
.native-tests-all-questions .native-tests-question{padding:27px 0 31px;border-top:1px solid #e5e5eb}
.native-tests-all-questions .native-tests-question:first-of-type{border-top:0}
.native-tests-all-questions .native-tests-question-number{margin:0 0 8px;font-size:13px;font-weight:750;color:#9293a0}
.native-tests-all-questions .native-tests-question h2{font-size:20px;line-height:1.5;margin:10px 0 14px;font-weight:750;letter-spacing:-.015em}
.native-tests-all-questions .native-tests-question-image{max-width:100%;max-height:460px;margin:12px 0 22px}
.native-tests-all-questions .native-tests-question textarea{min-height:136px;margin-top:6px}
.native-tests-save-indicator{margin:8px 0 0;font-size:12px;color:#838593}
.native-tests-all-questions .native-tests-wizard-nav{position:sticky;bottom:12px;z-index:4;background:rgba(255,255,255,.97);border:1px solid #e5e5eb;box-shadow:0 6px 24px rgba(46,46,73,.07);border-radius:12px;padding:12px}
.native-tests-all-questions .native-tests-wizard-nav .native-tests-back{margin:0}
.native-tests-all-questions .native-tests-progress-track{margin-bottom:22px}
.native-tests-page .result-question-review__inner{max-width:980px;margin:0 auto}
.native-tests-page .result-question-review__list{display:flex;flex-direction:column;gap:12px}
.native-tests-page .result-question-review__card{position:relative;padding:22px 24px;border:1px solid #e5e5eb;border-radius:15px;background:#fff}
.native-tests-page .result-question-review__card::before{content:"";position:absolute;left:0;top:0;bottom:0;width:3px;background:#ff4d40}
.native-tests-page .result-question-review__question-meta{display:flex;gap:8px;align-items:center;margin:0 0 8px;font-size:11px;color:#999}
.native-tests-page .result-question-review__number{padding:5px 8px;background:#fff1ef;border-radius:6px;color:#ff4d40;font-weight:900}
.native-tests-page .result-question-review__card h3{margin:0 0 16px;font-size:17px;line-height:1.5;color:#2e2e49}
.native-tests-page .result-question-review__columns{display:grid;grid-template-columns:1fr}
.native-tests-page .result-question-review__panel{padding:16px;border-radius:11px;background:#f7f7f9;border:1px solid #eeeef1}
.native-tests-page .result-question-review__label{font-size:11px;letter-spacing:.07em;text-transform:uppercase;color:#8e8e9c}
.native-tests-page .result-question-review__text{font-size:14px;line-height:1.6;white-space:normal;overflow-wrap:anywhere;color:#2e2e49}
.native-tests-page .result-question-review__header{margin:32px 0 18px}
.native-tests-page .result-question-review__header h2{font-size:23px;margin:4px 0}
.native-tests-page .result-question-review__header p{font-size:13px;color:#666774}
@media(max-width:600px){
  .native-tests-all-questions .native-tests-question{padding:21px 0}
  .native-tests-all-questions .native-tests-wizard-nav{bottom:5px}
  .native-tests-page .result-question-review__card{padding:17px}
}


/* ============================================================
   Native Personality Test — independent devil.ai questionnaire theme
   Inspired by /free-personality-test without importing its global rules.
   .new_content owns responsive widths; the inner shell owns page design.
   Every new selector is scoped to the native test, NEVER the sidebars.
   ============================================================ */

.native-tests-page .native-tests-inner{
    width:100%;
    max-width:1180px;
    min-width:0;
    margin:0 auto;
    padding:34px 0 95px;
    box-sizing:border-box;
    color:#171717;
    font-size:15px;
    line-height:1.55;
    text-align:left;
}
.native-tests-page .native-tests-inner *,
.native-tests-page .native-tests-inner *::before,
.native-tests-page .native-tests-inner *::after{box-sizing:border-box}
.native-tests-page .native-tests-inner :is(h1,h2,h3,h4,h5){
    color:#141414;
    border:0;
    padding:0;
    text-indent:0;
    float:none;
    position:static;
    text-transform:none;
    text-shadow:none;
    width:auto;
    max-width:100%;
    display:block;
    background:transparent;
}
.native-tests-page .native-tests-inner p{
    float:none;
    padding:0;
    line-height:1.6;
}
.native-tests-page .native-tests-inner a{transition:color .15s ease,border-color .15s ease,background-color .15s ease}
.native-tests-page .native-tests-breadcrumb{
    margin:0 0 23px;
    gap:9px;
    font-size:12px;
    font-weight:600;
    opacity:1;
    color:#767676;
}
.native-tests-page .native-tests-breadcrumb a{color:#555!important;text-decoration:none}
.native-tests-page .native-tests-breadcrumb a:hover{color:#ff4d40!important}
.native-tests-page .native-tests-heading{
    width:100%;
    max-width:none;
    text-align:left;
    margin:0 0 25px;
    padding:27px 0 23px;
    border-top:8px solid #ff4d40;
    border-bottom:2px solid #141414;
}
.native-tests-page .native-tests-eyebrow{
    display:inline-block;
    color:white;
    background:#ff4d40;
    padding:7px 10px;
    font-size:11px;
    line-height:1.2;
    letter-spacing:1.2px;
    font-weight:800;
    text-transform:uppercase;
}
.native-tests-page .native-tests-heading h1{
    color:#141414;
    font-family:Arial,Helvetica,sans-serif;
    font-weight:850;
    font-size:clamp(30px,4vw,48px);
    line-height:1.08;
    letter-spacing:-.045em;
    margin:14px 0 10px;
    border:0;
}
.native-tests-page .native-tests-heading>p{
    font-size:15px;
    line-height:1.6;
    max-width:780px;
    margin:0;
    opacity:1;
    color:#545454;
}
.native-tests-page .native-tests-hint{
    margin-top:12px;
    font-size:12px;
    line-height:1.45;
    color:#797979;
    opacity:1;
}
.native-tests-page .native-tests-panel{
    width:100%;
    max-width:none;
    margin:0 0 22px;
    padding:clamp(19px,3.5vw,36px);
    border:1px solid #d9d9d9;
    border-top:3px solid #171717;
    border-radius:3px;
    box-shadow:none;
    background:#fff;
}
.native-tests-page .native-tests-panel>h2{
    font-size:clamp(21px,2.3vw,27px);
    font-weight:850;
    line-height:1.25;
    margin:0 0 14px;
}
.native-tests-page .native-tests-panel>p{
    margin:9px 0 15px;
    max-width:740px;
    color:#555;
    font-size:14px;
}
.native-tests-page .native-tests-agree{margin:18px 0;align-items:flex-start}
.native-tests-page .native-tests-agree input{accent-color:#ff4d40}
.native-tests-page .native-tests-button{
    background:#ff4d40;
    color:#fff!important;
    border:2px solid #ff4d40;
    border-radius:3px;
    padding:12px 19px;
    box-shadow:none;
    font-family:Arial,Helvetica,sans-serif;
    font-size:13px;
    font-weight:850;
    line-height:1.2;
}
.native-tests-page .native-tests-button:hover:not(:disabled){
    opacity:1;
    background:#e83d31;
    border-color:#e83d31;
}
.native-tests-page .native-tests-button-muted{
    background:#fff;
    border-color:#242424;
    color:#171717!important;
}
.native-tests-page .native-tests-button-muted:hover:not(:disabled){background:#f4f4f2;border-color:#171717}
.native-tests-page .native-tests-history{gap:0;border:1px solid #dedede}
.native-tests-page .native-tests-history a{
    display:flex;
    align-items:center;
    border:0;
    border-radius:0;
    padding:14px 16px;
    border-bottom:1px solid #e4e4e4;
    font-size:14px;
    color:#171717!important;
}
.native-tests-page .native-tests-history a:last-child{border-bottom:0}
.native-tests-page .native-tests-history a:hover{background:#fff5f3;color:#ff4d40!important}
.native-tests-page .native-tests-history small{font-size:11px;opacity:1;color:#888}
.native-tests-page .native-tests-all-questions{
    width:100%;
    max-width:none;
    padding:clamp(18px,3.5vw,38px);
}
.native-tests-page .native-tests-all-questions .native-tests-source-intro{
    border-left:4px solid #ff4d40;
    background:#f7f7f5;
    padding:14px 18px;
    margin:0 0 26px;
    font-size:13px;
    color:#555;
}
.native-tests-page .native-tests-all-questions .native-tests-source-intro p{margin:4px 0}
.native-tests-page .native-tests-progress-head{
    color:#171717;
    margin-bottom:8px;
    font-size:12px;
    font-weight:800;
}
.native-tests-page .native-tests-progress-track{
    height:10px;
    background:#f2f2f2;
    border:1px solid #171717;
    border-radius:0;
    margin:0 0 20px;
}
.native-tests-page .native-tests-progress-track>div{border-radius:0;background:#ff4d40}
.native-tests-page .native-tests-all-questions .native-tests-question{
    margin:0;
    border:0;
    border-bottom:1px solid #d9d9d9;
    padding:28px 0 33px;
}
.native-tests-page .native-tests-question:first-of-type{padding-top:10px}
.native-tests-page .native-tests-group{
    display:inline-block;
    margin:0 0 9px;
    color:#ff4d40;
    font-size:11px;
    font-weight:850;
    letter-spacing:.07em;
}
.native-tests-page .native-tests-question-number{
    display:flex;
    align-items:center;
    gap:12px;
    width:100%;
    margin:0 0 13px;
    padding:0;
    color:#777;
    background:transparent;
    font-size:12px;
    font-weight:800;
    line-height:1.3;
}
.native-tests-page .native-tests-question-index{
    display:inline-flex;
    justify-content:center;
    align-items:center;
    flex:0 0 36px;
    height:36px;
    width:36px;
    padding:0;
    color:#fff;
    background:#ff4d40;
    font-size:14px;
    font-weight:900;
}
.native-tests-page .native-tests-all-questions .native-tests-question h2{
    color:#141414;
    font-size:clamp(18px,2vw,23px);
    font-weight:800;
    line-height:1.35;
    letter-spacing:-.02em;
    margin:0 0 17px;
    padding:0;
    border:0;
    display:block;
}
.native-tests-page .native-tests-question-image{
    max-width:100%;
    width:auto;
    max-height:none;
    height:auto;
    object-fit:contain;
    margin:13px 0 19px;
    border:1px solid #e7e7e7;
    border-radius:3px;
}
.native-tests-page .native-tests-answer-label{
    display:block;
    color:#171717;
    font-size:12px;
    font-weight:800;
    margin:0 0 8px;
}
.native-tests-page .native-tests-all-questions .native-tests-question textarea{
    display:block;
    width:100%;
    min-height:145px;
    padding:15px;
    background:#fff;
    border:2px solid #d4d4d4;
    border-radius:3px;
    box-shadow:none;
    color:#151515;
    font:400 15px/1.6 Arial,Helvetica,sans-serif;
    resize:vertical;
}
.native-tests-page .native-tests-question textarea:focus{
    border-color:#ff4d40;
    outline:2px solid rgba(255,77,64,.17);
    outline-offset:1px;
}
.native-tests-page .native-tests-save-indicator{font-size:11px;margin:7px 0 0;color:#747474}
.native-tests-page .native-tests-all-questions .native-tests-wizard-nav{
    display:flex;
    align-items:center;
    gap:14px;
    position:sticky;
    z-index:5;
    bottom:9px;
    width:100%;
    padding:12px 16px;
    margin:24px 0 0;
    border:1px solid #171717;
    border-radius:3px;
    box-shadow:0 8px 22px rgba(0,0,0,.09);
    background:#fff;
}
.native-tests-page .native-tests-wizard-nav span{color:#666;font-size:11px;opacity:1}
.native-tests-page .native-tests-back{font-size:12px;color:#363636!important}
.native-tests-page .native-tests-back:hover{color:#ff4d40!important}

/* Result components reuse the original data and structure, but share the
   flat red/black theme of the existing free personality questionnaire. */
.native-tests-page [data-result-page]{
    --result-accent:#ff4d40;
    --result-soft:#f7f7f5;
    --result-border:#dcdcd9;
    --result-ink:#171717;
    --result-copy:#5c5c5c;
    --result-muted:#858585;
    padding:0;
    width:100%;
    min-width:0;
    color:#171717;
}
.native-tests-page .test-results__inner{max-width:1180px;width:100%;margin:0 auto}
.native-tests-page .test-results__hero{
    border:1px solid #d9d9d9;
    border-top:5px solid #ff4d40;
    border-radius:3px;
    box-shadow:none;
    padding:clamp(19px,3vw,33px);
}
.native-tests-page .test-results__hero::before{display:none}
.native-tests-page .test-results__result-card,
.native-tests-page .test-results__score-card,
.native-tests-page .test-results__subscore-card,
.native-tests-page .test-results__system-card,
.native-tests-page .test-results__info-card,
.native-tests-page .test-results__ai-panel{
    box-shadow:none;
    border-radius:3px;
}
.native-tests-page .test-results__type{color:#171717}
.native-tests-page .test-results__score-value{color:#ff4d40}
.native-tests-page .test-results__button{
    border-radius:3px;
    box-shadow:none;
    text-decoration:none!important;
}
.native-tests-page .test-results__hero h1{border:0;color:#171717}
.native-tests-page .result-question-review__card{
    border-radius:3px;
    box-shadow:none;
}
.native-tests-page .result-question-review__card::before{background:#ff4d40}
.native-tests-page .result-question-review__panel{border-radius:3px}
.native-tests-page .result-question-review__header h2{border:0}

@media(max-width:700px){
    .native-tests-page .native-tests-inner{padding:22px 0 65px}
    .native-tests-page .native-tests-heading{padding:22px 0}
    .native-tests-page .native-tests-all-questions .native-tests-wizard-nav{
        bottom:5px;
        padding:10px;
        gap:10px;
    }
    .native-tests-page .native-tests-wizard-nav span{order:3;flex:0 0 100%;text-align:left}
    .native-tests-page .native-tests-button{padding:11px 13px}
    .native-tests-page .native-tests-history a{gap:6px;align-items:flex-start}
    .native-tests-page .test-results__primary{gap:12px}
}

/* Original 160 two-column answer / AI understanding review. */
.native-tests-page .result-question-review__columns.native-tests-ai-columns{
    display:grid;
    grid-template-columns:minmax(0,1fr) minmax(0,1fr);
    gap:12px;
}
.native-tests-page .native-tests-ai-columns .result-question-review__panel--ai{
    background:#fff9f7;
}
@media(max-width:720px){
    .native-tests-page .result-question-review__columns.native-tests-ai-columns{
        grid-template-columns:1fr;
    }
}

/* Keep the answer and finish controls at the end of the form. Only the slim
   completion indicator stays attached to the viewport while scrolling. */
.native-tests-page .native-tests-all-questions .native-tests-wizard-nav{
    position:static;
    z-index:auto;
    bottom:auto;
    box-shadow:none;
}
.native-tests-viewport-progress{
    position:fixed;
    left:250px;
    right:auto;
    bottom:0;
    z-index:2147483000;
    width:calc(100% - 550px);
    max-width:calc(100% - 550px);
    transform:none;
    pointer-events:none;
    background:rgba(255,255,255,.97);
    border:1px solid #171717;
    border-bottom:0;
}
.native-tests-page .native-tests-viewport-progress .native-tests-progress-track{
    height:6px;
    margin:0;
    border:0;
    background:#ededed;
}
.native-tests-page .native-tests-viewport-progress .native-tests-progress-track>div{
    background:#ff4d40;
}

/* Keep the pinned indicator as easy to read as the in-page progress display. */
.native-tests-viewport-progress{
    padding:9px 13px 10px;
    background:#fff;
    border-top:1px solid #171717;
    box-shadow:0 -4px 14px rgba(0,0,0,.08);
}
.native-tests-page .native-tests-viewport-progress .native-tests-progress-head{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:12px;
    margin:0 0 6px;
    color:#171717;
    font-size:12px;
    line-height:1.3;
    font-weight:800;
}
.native-tests-page .native-tests-viewport-progress .native-tests-progress-head span:last-child{
    color:#666;
    opacity:1;
    text-align:right;
    white-space:nowrap;
}
.native-tests-page .native-tests-viewport-progress .native-tests-progress-track{
    height:10px;
    margin:0;
    border:1px solid #171717;
    border-radius:0;
    background:#f2f2f2;
}
.native-tests-page .native-tests-viewport-progress .native-tests-progress-track>div{
    border-radius:0;
    background:#ff4d40;
}
@media(max-width:700px){
    .native-tests-viewport-progress{padding:8px 10px 9px}
    .native-tests-page .native-tests-viewport-progress .native-tests-progress-head{font-size:11px}
}

/* Match the fixed bar's available width to the site's .new_content wrapper. */
@media(max-width:1800px){
    .native-tests-viewport-progress{
        width:calc(100% - 450px);
        max-width:calc(100% - 450px);
    }
}
@media(max-width:1200px){
    .native-tests-viewport-progress{
        left:0;
        width:100%;
        max-width:100%;
    }
}
