/* Farakhoud Future Navigator 1.2.0 Candidate 5 — Amoozeshyar page fix on RC12. */
.fan-shell{
  --fan-accent:#eceb12;--fan-dark:#252d30;--fan-canvas:#f4f6f6;--fan-card:#fff;
  --fan-text:#20272a;--fan-muted:#6f7a7f;--fan-line:#dfe4e5;--fan-soft:#f7f9f9;
  --fan-yellow:var(--fan-accent);--fan-charcoal:var(--fan-dark);--fan-gray:var(--fan-muted);--fan-radius:20px;
  direction:rtl;width:min(1120px,calc(100% - 28px));margin:28px auto 56px;padding:18px;border-radius:30px;background:var(--fan-canvas);color:var(--fan-text);
  font-family:inherit;font-size:15px;line-height:1.9;letter-spacing:0;word-spacing:0
}
.fan-shell,.fan-shell *{box-sizing:border-box;font-family:inherit;letter-spacing:0;word-spacing:0}.fan-shell a{text-decoration:none}.fan-shell img{max-width:100%;height:auto}
body.fan-app-page .page-title{display:none}body.fan-app-page .main-page-wrapper{padding-top:22px;background:#eef1f1}body.fan-app-page .main-page-wrapper>.container,body.fan-app-page .content-layout-wrapper,body.fan-app-page .site-content,body.fan-app-page .content-area,body.fan-app-page article.page,body.fan-app-page .entry-content,body.fan-app-page .wpb-content-wrapper,body.fan-app-page .vc_row,body.fan-app-page .wpb_row,body.fan-app-page .wpb_column,body.fan-app-page .vc_column_container,body.fan-app-page .vc_column-inner,body.fan-app-page .wpb_text_column,body.fan-app-page .wpb_wrapper{border:0;outline:0;box-shadow:none}body.fan-app-page .main-page-wrapper>.container,body.fan-app-page .content-layout-wrapper,body.fan-app-page article.page,body.fan-app-page .entry-content,body.fan-app-page .wpb-content-wrapper{max-width:none;background:transparent}body.fan-app-page .site-content,body.fan-app-page .content-area,body.fan-app-page .vc_column-inner{padding-top:0;padding-bottom:0}body.fan-app-page .wpb_text_column,body.fan-app-page .wpb_content_element{margin-bottom:0}
/* Exact host structure found in the exported /8757-2/ HTML. */
body.fan-app-page .amzshyar-other-pages-title{display:none!important}body.fan-app-page .container.container-page.link-style{width:100%;max-width:none;margin:0;padding:24px 0 56px;border:0;background:#eef1f1;box-shadow:none}body.fan-app-page .page-container.box-content-wrapper{width:100%;max-width:none;margin:0;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none}body.fan-app-page .page-container:has(.fan-shell)>figure.wp-block-table:not(:has(.fan-shell)){display:none!important}body.fan-app-page figure.wp-block-table:has(.fan-shell),body.fan-app-page figure.wp-block-table:has(.fan-shell)>table,body.fan-app-page figure.wp-block-table:has(.fan-shell)>table>tbody,body.fan-app-page figure.wp-block-table:has(.fan-shell)>table>tbody>tr,body.fan-app-page figure.wp-block-table:has(.fan-shell)>table>tbody>tr>td,body.fan-app-page figure.wp-block-table:has(.fan-shell) code{display:block!important;width:100%!important;max-width:none!important;margin:0!important;padding:0!important;border:0!important;outline:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;color:inherit!important;font-family:inherit!important;font-size:inherit!important;line-height:inherit!important;letter-spacing:0!important;word-spacing:0!important;white-space:normal!important}
/* Chrome/Samsung fail-safe: works even before the body class or JavaScript. */
body:has(.fan-shell) .page-title{display:none!important}body:has(.fan-shell) .main-page-wrapper{padding-top:22px;background:#eef1f1}body:has(.fan-shell) .main-page-wrapper>.container,body:has(.fan-shell) .content-layout-wrapper,body:has(.fan-shell) .site-content,body:has(.fan-shell) .content-area,body:has(.fan-shell) article.page,body:has(.fan-shell) .entry-content,body:has(.fan-shell) .wpb-content-wrapper,body:has(.fan-shell) .vc_row,body:has(.fan-shell) .wpb_row,body:has(.fan-shell) .wpb_column,body:has(.fan-shell) .vc_column_container,body:has(.fan-shell) .vc_column-inner,body:has(.fan-shell) .wpb_text_column,body:has(.fan-shell) .wpb_wrapper{border:0!important;outline:0!important;box-shadow:none!important}body:has(.fan-shell) .main-page-wrapper>.container,body:has(.fan-shell) .content-layout-wrapper,body:has(.fan-shell) article.page,body:has(.fan-shell) .entry-content,body:has(.fan-shell) .wpb-content-wrapper,body:has(.fan-shell) .vc_row,body:has(.fan-shell) .wpb_row,body:has(.fan-shell) .vc_column-inner,body:has(.fan-shell) .wpb_wrapper{background:transparent!important}body:has(.fan-shell) .main-page-wrapper>.container,body:has(.fan-shell) .content-layout-wrapper{max-width:none!important}body:has(.fan-shell) article.page,body:has(.fan-shell) .entry-content,body:has(.fan-shell) .wpb-content-wrapper{margin:0!important;padding:0!important}body:has(.fan-shell) .site-content,body:has(.fan-shell) .content-area,body:has(.fan-shell) .vc_column-inner{padding-top:0!important;padding-bottom:0!important}body:has(.fan-shell) .wpb_text_column,body:has(.fan-shell) .wpb_content_element{margin-bottom:0!important}body:has(.fan-shell) .vc_row:has(.wpb_wrapper:empty):not(:has(.fan-shell)),body:has(.fan-shell) .wpb_text_column:has(>.wpb_wrapper:empty){display:none!important}

/* Approved internal hero */
.fan-ui-hero{position:relative;overflow:hidden;display:grid;grid-template-columns:minmax(0,1.2fr) minmax(330px,.8fr);gap:42px;align-items:center;padding:46px 48px;border:1px solid var(--fan-line);border-radius:28px;background:linear-gradient(135deg,var(--fan-card) 0%,var(--fan-card) 62%,color-mix(in srgb,var(--fan-accent) 10%,var(--fan-card)) 100%)}
.fan-ui-hero:after{content:"";position:absolute;left:-72px;top:-78px;width:180px;height:180px;border:24px solid color-mix(in srgb,var(--fan-accent) 23%,transparent);border-radius:50%}.fan-ui-hero-copy{position:relative;z-index:1}
.fan-ui-kicker{display:flex;align-items:center;gap:10px;margin-bottom:10px;color:#5f696d;font-size:14px;font-weight:600}.fan-ui-kicker:before{content:"";width:25px;height:5px;border-radius:20px;background:var(--fan-accent)}
.fan-shell .fan-ui-hero h1{margin:0 0 14px;color:var(--fan-text);font-size:48px;line-height:1.45;font-weight:700}.fan-ui-hero-copy>p{max-width:700px;margin:0;color:var(--fan-muted);font-size:16px;line-height:2.1}
.fan-ui-status{display:inline-flex;align-items:center;gap:8px;margin-top:22px;padding:9px 13px;border:1px solid color-mix(in srgb,var(--fan-accent) 35%,var(--fan-line));border-radius:999px;background:color-mix(in srgb,var(--fan-accent) 8%,var(--fan-card));color:#4d5558;font-size:13px;font-weight:600}.fan-ui-status i{width:8px;height:8px;border-radius:50%;background:color-mix(in srgb,var(--fan-accent) 70%,#777);box-shadow:0 0 0 4px color-mix(in srgb,var(--fan-accent) 25%,transparent)}
.fan-ui-decision{position:relative;z-index:1;padding:26px;border-radius:22px;background:var(--fan-dark);box-shadow:0 20px 42px rgba(24,31,34,.14)}.fan-ui-decision-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:15px;color:#fff}.fan-ui-decision-head b{font-size:15px}.fan-ui-decision-head span{color:var(--fan-accent);font-size:12px}
.fan-ui-layers{display:grid;grid-template-columns:1fr 1fr;gap:9px}.fan-ui-layers span{display:flex;align-items:center;gap:8px;min-height:52px;padding:10px 12px;border:1px solid rgba(255,255,255,.11);border-radius:12px;background:rgba(255,255,255,.05);color:#edf0f0;font-size:13px;font-weight:600}.fan-ui-layers span:before{content:"";width:7px;height:7px;flex:0 0 7px;border-radius:50%;background:var(--fan-accent)}

/* One connected six-stage stepper */
.fan-journey{margin-top:16px;padding:25px 26px 19px;border:1px solid var(--fan-line);border-radius:20px;background:var(--fan-card)}.fan-journey-top{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:18px}.fan-journey-top b{font-size:15px}.fan-journey-top span{color:var(--fan-muted);font-size:12px}
.fan-journey-steps{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));direction:rtl}.fan-journey-step{position:relative;display:grid;justify-items:center;gap:8px;text-align:center;color:#8a9498;font-size:12px;line-height:1.55}.fan-journey-step:not(:last-child):after{content:"";position:absolute;z-index:0;top:17px;left:calc(-50% + 22px);width:calc(100% - 44px);height:2px;background:#e4e8e9}.fan-journey-step.is-done:not(:last-child):after{background:var(--fan-accent)}
.fan-journey-step i{position:relative;z-index:1;display:grid;place-items:center;width:36px;height:36px;border:1px solid var(--fan-line);border-radius:50%;background:#f3f5f5;color:#778186;font-style:normal;font-weight:700}.fan-journey-step.is-done i{border-color:var(--fan-accent);background:var(--fan-accent);color:var(--fan-dark)}.fan-journey-step.is-active i{border-color:var(--fan-dark);background:var(--fan-dark);color:var(--fan-accent);box-shadow:0 0 0 5px rgba(37,45,48,.08)}
.fan-journey-step strong{color:#4f595d;font-size:13px;font-weight:600}.fan-journey-step.is-active strong{color:var(--fan-text);font-weight:700}.fan-journey-step small{display:block;max-width:115px;color:#929b9f;font-size:10px}

/* Cards, typography and controls */
.fan-card{margin:16px 0;padding:30px;border:1px solid var(--fan-line);border-radius:var(--fan-radius);background:var(--fan-card);box-shadow:0 9px 28px rgba(34,41,45,.035)}.fan-card h2{margin:0 0 8px;color:var(--fan-text);font-size:25px;line-height:1.65}.fan-card h3{margin:5px 0;color:var(--fan-text)}
.fan-label,.fan-kicker{display:inline-flex;align-items:center;gap:8px;color:#6f7210;font-size:12px;font-weight:700}.fan-label:before,.fan-kicker:before{content:"";width:18px;height:4px;border-radius:10px;background:var(--fan-accent)}.fan-muted{color:var(--fan-muted)}.fan-grid2{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.fan-shell label{display:block;margin:12px 0;font-size:14px;font-weight:600}.fan-shell input[type=text],.fan-shell input:not([type]),.fan-shell input[type=email],.fan-shell input[type=password],.fan-shell input[type=tel],.fan-shell input[type=number],.fan-shell input[name=full_name],.fan-shell input[name=mobile],.fan-shell input[name=grade_field],.fan-shell input[name=province],.fan-shell input[name=profile_code],.fan-shell textarea,.fan-shell select{width:100%;min-height:46px;margin-top:6px;padding:11px 13px;border:1px solid #d8dddf;border-radius:12px;outline:0;background:#fff;color:var(--fan-text);font:inherit;font-size:15px}.fan-shell textarea{min-height:110px;resize:vertical}.fan-shell input:focus,.fan-shell textarea:focus,.fan-shell select:focus{border-color:color-mix(in srgb,var(--fan-accent) 70%,#777);box-shadow:0 0 0 3px color-mix(in srgb,var(--fan-accent) 22%,transparent)}
.fan-primary,.fan-prev,.fan-print,.fan-secondary{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:11px 20px;border:0;border-radius:12px;cursor:pointer;font:inherit;font-weight:700;text-decoration:none;transition:transform .18s ease,filter .18s ease}.fan-primary{background:var(--fan-accent);color:var(--fan-dark)}.fan-primary:hover,.fan-secondary:hover{filter:brightness(.97);transform:translateY(-1px)}.fan-primary.inline{display:inline-flex}.fan-bigbtn{padding:14px 24px}.fan-prev,.fan-print{background:#eef1f1;color:var(--fan-text)}.fan-secondary{border:1px solid color-mix(in srgb,var(--fan-accent) 40%,var(--fan-line));background:color-mix(in srgb,var(--fan-accent) 8%,#fff);color:#3c4200}
.fan-note,.fan-disclaimer{margin:18px 0;padding:16px 18px;border-right:4px solid var(--fan-accent);border-radius:12px;background:color-mix(in srgb,var(--fan-accent) 6%,var(--fan-soft));color:#566065;font-size:14px}.fan-consent{padding:12px;border-radius:12px;background:var(--fan-soft)}.fan-consent a{color:#5f6200;font-weight:800;text-decoration:underline}
.fan-nav{display:flex;justify-content:space-between;gap:10px;margin-top:22px}.fan-step{display:none}.fan-step.active{display:block;animation:fanIn .25s ease}@keyframes fanIn{from{opacity:.3;transform:translateY(7px)}to{opacity:1;transform:none}}.fan-stepno{display:inline-grid;place-items:center;min-width:38px;height:29px;margin-bottom:10px;padding:0 8px;border-radius:99px;background:var(--fan-accent);font-size:12px;font-weight:700}.fan-progress{position:sticky;z-index:4;bottom:8px;height:5px;margin:12px 4px;overflow:hidden;border-radius:20px;background:#e8ecec}.fan-progress div{height:100%;background:var(--fan-accent);transition:width .2s ease}

.fan-shell a.fan-primary,.fan-shell a.fan-primary:link,.fan-shell a.fan-primary:visited{color:var(--fan-dark);-webkit-text-fill-color:var(--fan-dark);text-shadow:none}
.fan-guest-card{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:28px;align-items:center}.fan-guest-card p{margin:0;color:var(--fan-muted)}.fan-guest-card .fan-primary{min-width:220px}

/* Approved assessment intro */
.fan-intro-card{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(300px,.75fr);gap:34px;align-items:stretch;padding:38px 40px}.fan-intro-copy>p{margin:0;color:var(--fan-muted);font-size:14px;line-height:2.1}.fan-intro-copy .fan-primary{margin-top:22px}.fan-intro-note{display:flex;flex-direction:column;justify-content:center;padding:24px;border:1px solid color-mix(in srgb,var(--fan-accent) 35%,var(--fan-line));border-top:5px solid var(--fan-accent);border-radius:16px;background:color-mix(in srgb,var(--fan-accent) 7%,var(--fan-soft))}.fan-intro-note>b{margin-bottom:8px;font-size:15px}.fan-intro-note p{margin:0;color:var(--fan-muted);font-size:13px;line-height:2}.fan-intro-note ul{margin:14px 0 0;padding:0 18px 0 0;color:#566065;font-size:12px;line-height:2}

/* Questions */
.fan-question{padding:16px 0;border-top:1px solid var(--fan-line)}.fan-question p{margin:0 0 10px;font-weight:600}.fan-scale{display:flex;gap:8px}.fan-scale label{margin:0}.fan-scale input,.fan-option input{position:absolute;opacity:0}.fan-scale span{display:grid;place-items:center;width:42px;height:38px;border:1px solid #d9dfe0;border-radius:10px;background:#fff;cursor:pointer;transition:.15s}.fan-scale input:checked+span{border-color:var(--fan-accent);background:var(--fan-accent);font-weight:700;transform:translateY(-2px)}.fan-likert-head{display:flex;justify-content:space-between;margin-top:18px;color:var(--fan-muted);font-size:11px}
.fan-exam-groups{margin:20px 0;padding:18px;border:1px solid var(--fan-line);border-radius:18px;background:var(--fan-soft)}.fan-exam-groups small{display:block;margin-top:6px;color:var(--fan-muted);line-height:1.9}.fan-check-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:9px;margin:12px 0}.fan-check-option{display:flex;align-items:center;gap:8px;min-height:48px;margin:0;padding:10px 12px;border:1px solid var(--fan-line);border-radius:13px;background:#fff;cursor:pointer}.fan-check-option input{width:18px;height:18px;min-width:18px;margin:0}.fan-check-option:has(input:checked){border-color:var(--fan-accent);background:color-mix(in srgb,var(--fan-accent) 10%,#fff)}

/* Student dashboard */
.fan-dashboard-main{display:grid;grid-template-columns:1.25fr .75fr;gap:16px}.fan-dashboard-main .fan-card{margin-bottom:0}.fan-dashboard-summary>div{display:flex;justify-content:space-between;gap:12px;padding:10px 0;border-bottom:1px solid var(--fan-line)}.fan-dashboard-summary>div:last-child{border-bottom:0}.fan-dashboard-summary span{color:var(--fan-muted)}.fan-dashboard-actions{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:16px}.fan-dashboard-actions a{display:grid;gap:5px;padding:18px;border:1px solid var(--fan-line);border-radius:15px;background:var(--fan-card);color:var(--fan-text)}.fan-dashboard-actions a:hover{border-color:var(--fan-accent);background:color-mix(in srgb,var(--fan-accent) 5%,#fff)}.fan-dashboard-actions span{color:var(--fan-muted);font-size:12px}

/* Existing internal screens share the same light design system */
.fan-hero,.fan-lab-hero,.fan-report-head{position:relative;overflow:hidden;margin-bottom:16px;padding:38px 42px;border:1px solid var(--fan-line);border-radius:24px;background:linear-gradient(135deg,var(--fan-card),color-mix(in srgb,var(--fan-accent) 8%,var(--fan-card)));color:var(--fan-text)}.fan-shell .fan-hero h1,.fan-shell .fan-lab-hero h1,.fan-shell .fan-report-head h1{margin:6px 0 10px;color:var(--fan-text);font-size:36px;line-height:1.5}.fan-hero p,.fan-lab-hero p,.fan-report-head p{margin:0;color:var(--fan-muted)}.fan-hero:after,.fan-lab-hero:after{content:"";position:absolute;left:-75px;top:-78px;width:150px;height:150px;border:20px solid color-mix(in srgb,var(--fan-accent) 24%,transparent);border-radius:50%}.fan-badges{display:flex;flex-wrap:wrap;gap:8px;margin-top:18px}.fan-badges span,.fan-pill{padding:5px 11px;border:1px solid var(--fan-line);border-radius:999px;background:#fff;font-size:12px}.fan-report-head{display:flex;justify-content:space-between;align-items:flex-start;gap:20px}.fan-report-actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center}

/* Public landing */
.fan-sales-hero{position:relative;overflow:hidden;margin-bottom:20px;padding:58px 50px;border-radius:28px;background:var(--fan-dark);color:#fff;box-shadow:0 22px 48px rgba(25,31,34,.13)}.fan-sales-hero:before{content:"";position:absolute;left:-140px;top:-130px;width:250px;height:250px;border-radius:50%;background:var(--fan-accent)}.fan-shell .fan-sales-hero h1{max-width:790px;margin:8px 0 14px;color:#fff;font-size:48px;line-height:1.45}.fan-sales-lead,.fan-hero-copy{max-width:820px;color:#e5e9ea}.fan-sales-lead{font-size:19px}.fan-hero-copy{font-size:15px}.fan-hero-badge,.fan-trust-row span,.fan-price{display:inline-block;padding:7px 11px;border:1px solid rgba(255,255,255,.17);border-radius:999px;background:rgba(255,255,255,.06);color:#eef1f2;font-size:12px}.fan-hero-actions,.fan-trust-row{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin-top:20px}
.fan-video{margin:18px 0;overflow:hidden;border-radius:20px;background:#111}.fan-video iframe,.fan-video video{display:block;width:100%;height:auto;aspect-ratio:16/9;border:0}.fan-video-section{padding:28px}.fan-section-head{display:flex;justify-content:space-between;gap:20px;align-items:flex-start}.fan-video-chip{padding:7px 11px;border-radius:999px;background:var(--fan-dark);color:var(--fan-accent);font-size:12px;font-weight:800}.fan-video-placeholder{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:320px;margin-top:18px;border-radius:20px;background:var(--fan-dark);color:#fff;text-align:center}.fan-play-mark{display:grid;place-items:center;width:70px;height:70px;border-radius:50%;background:var(--fan-accent);color:var(--fan-dark);font-size:24px}
.fan-feature-grid,.fan-four{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin:14px 0}.fan-feature-grid article,.fan-four>div{padding:20px;border:1px solid var(--fan-line);border-radius:16px;background:var(--fan-card)}.fan-feature-grid article>b{display:inline-grid;place-items:center;min-width:44px;height:30px;padding:0 10px;border-radius:99px;background:var(--fan-dark);color:var(--fan-accent)}.fan-feature-grid article.wow{background:var(--fan-dark);color:#fff}.fan-feature-grid article.wow h3{color:#fff}.fan-four strong{font-size:27px}.fan-four span{color:var(--fan-muted);font-size:13px}
.fan-problem-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:18px 0}.fan-problem-grid>div,.fan-report-preview>div{display:grid;gap:5px;padding:16px;border:1px solid var(--fan-line);border-radius:15px;background:var(--fan-soft)}.fan-compare{margin-top:16px;overflow:hidden;border:1px solid var(--fan-line);border-radius:18px}.fan-compare>div{display:grid;grid-template-columns:1fr 1fr;border-bottom:1px solid var(--fan-line)}.fan-compare>div:last-child{border-bottom:0}.fan-compare span,.fan-compare strong{padding:13px 16px}.fan-compare strong{background:color-mix(in srgb,var(--fan-accent) 9%,#fff)}.fan-compare-head{background:var(--fan-dark);color:#fff;font-weight:800}
.fan-pill-grid{display:flex;flex-wrap:wrap;gap:9px;margin-top:14px}.fan-pill-grid span{padding:8px 12px;border:1px solid var(--fan-line);border-radius:999px;background:var(--fan-soft);font-size:13px}.fan-wow-section{display:grid;grid-template-columns:1.25fr .75fr;gap:30px;margin:20px 0;padding:36px;border-radius:24px;background:var(--fan-dark);color:#fff}.fan-shell .fan-wow-section h2{color:#fff;font-size:34px}.fan-wow-section p{color:#dce1e2}.fan-lab-mini,.fan-wow-orbit{display:grid;grid-template-columns:repeat(2,1fr);gap:9px}.fan-lab-mini{grid-template-columns:repeat(4,1fr)}.fan-lab-mini span,.fan-wow-orbit span{padding:11px;border:1px solid rgba(255,255,255,.13);border-radius:12px;background:rgba(255,255,255,.05)}.fan-lab-mini b{display:block;color:var(--fan-accent)}.fan-parent-landing{display:grid;grid-template-columns:1.4fr .6fr;gap:24px;align-items:center}.fan-family-demo{display:grid;gap:8px;padding:22px;border-radius:18px;background:var(--fan-dark);color:#fff}.fan-family-demo b{color:var(--fan-accent);font-size:25px}.fan-report-preview{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:16px 0}.fan-brand-block,.fan-final-cta{margin:20px 0;padding:34px;border-radius:24px;background:var(--fan-accent);text-align:center}.fan-brand-block h2,.fan-final-cta h2{color:var(--fan-dark)}

/* Alerts, reports and scores */
.fan-alert{margin:10px 0;padding:12px 14px;border:1px solid;border-radius:12px}.fan-alert p{margin:4px 0}.fan-alert.red{border-color:#efb3b3;background:#fff0f0}.fan-alert.yellow{border-color:#ead27a;background:#fff9df}.fan-alert.green{border-color:#b8dec0;background:#eefaf0}.fan-status{display:inline-block;padding:5px 10px;border-radius:999px;font-size:12px;font-weight:700}.fan-status.red{background:#ffe2e2;color:#9a1b1b}.fan-status.yellow{background:#fff2be;color:#6f5600}.fan-status.green{background:#ddf4e1;color:#23632d}
.fan-summary-grid{display:grid;grid-template-columns:1.2fr .8fr;gap:14px}.fan-bigscore{font-size:60px;font-weight:800;line-height:1.1}.fan-bigscore small{color:var(--fan-muted);font-size:18px}.fan-bigscore.small{font-size:46px}.fan-metrics{display:grid;grid-template-columns:1fr 1fr;gap:12px 20px}.fan-metric{display:grid;grid-template-columns:1fr 50px;gap:4px 10px;align-items:end}.fan-metric>div:first-child{display:flex;justify-content:space-between}.fan-meter{grid-column:1/-1;height:7px;overflow:hidden;border-radius:20px;background:#e9eded}.fan-meter i{display:block;height:100%;border-radius:20px;background:var(--fan-accent)}
.fan-major{display:flex;gap:16px;padding:18px 0;border-top:1px solid var(--fan-line)}.fan-rank{display:grid;place-items:center;width:42px;height:42px;flex:0 0 auto;border-radius:50%;background:var(--fan-dark);color:var(--fan-accent);font-weight:800}.fan-major-main{flex:1}.fan-major-title,.fan-section-title,.fan-family-head,.fan-choice-head{display:flex;align-items:center;justify-content:space-between;gap:10px}.fan-major p{margin:3px 0 10px;color:#596366}.fan-mini{display:flex;flex-wrap:wrap;gap:8px}.fan-mini span{padding:3px 8px;border:1px solid var(--fan-line);border-radius:8px;font-size:12px}.fan-parent-box{background:linear-gradient(135deg,var(--fan-card),color-mix(in srgb,var(--fan-accent) 8%,var(--fan-card)))}.fan-cta{display:flex;align-items:center;justify-content:space-between;margin:16px 0;padding:25px 28px;border-radius:20px;background:var(--fan-dark);color:#fff}.fan-cta h2{margin:0;color:#fff}.fan-cta p{margin:3px 0;color:#ccd2d3}
.fan-profile-quads{display:grid;grid-template-columns:repeat(2,1fr);gap:14px}.fan-profile-quads>div,.fan-choice-analysis,.fan-lab-summary{padding:16px;border:1px solid var(--fan-line);border-radius:15px;background:var(--fan-soft)}.fan-profile-chip{display:flex;justify-content:space-between;gap:10px;padding:8px 0;border-bottom:1px solid var(--fan-line)}.fan-profile-chip:last-child{border-bottom:0}.fan-profile-chip span{color:#747700;font-weight:800}.fan-choice-analysis{margin:12px 0;background:var(--fan-card)}.fan-choice-analysis.unverified{border-style:dashed}.fan-choice-head span{padding:5px 9px;border-radius:999px;background:color-mix(in srgb,var(--fan-accent) 10%,#fff);font-size:12px}.fan-reason-list,.fan-action-list{padding-right:23px}.fan-reason-list li,.fan-action-list li{margin:8px 0}.fan-explain-block,.fan-interview-quote{margin-top:12px;padding:12px 14px;border-radius:12px;background:var(--fan-soft)}.fan-interview-quote{display:grid;grid-template-columns:34px 1fr;gap:10px}.fan-interview-quote>b{display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:var(--fan-dark);color:var(--fan-accent)}

/* Lab, authentication and portals */
.fan-lab-grid,.fan-case-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.fan-lab-card,.fan-case-card{display:block;padding:20px;border:1px solid var(--fan-line);border-radius:17px;background:var(--fan-card);color:var(--fan-text);box-shadow:0 8px 24px rgba(34,41,45,.035);transition:.18s}.fan-lab-card:hover,.fan-case-card:hover{border-color:var(--fan-accent);transform:translateY(-2px)}.fan-lab-card.done{border-color:var(--fan-accent)}.fan-lab-card>span,.fan-case-card>span{color:#747700;font-size:11px;font-weight:800}.fan-lab-box{padding:28px;border-radius:20px;background:var(--fan-dark);color:#fff}.fan-shell .fan-lab-box h2,.fan-shell .fan-lab-box h3{color:#fff}.fan-lab-box p{color:#d7ddde}.fan-lab-results{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}.fan-lab-results>div{display:flex;flex-wrap:wrap;gap:8px;padding:12px;border:1px solid rgba(255,255,255,.13);border-radius:13px;background:rgba(255,255,255,.05)}.fan-lab-results b{width:100%;color:var(--fan-accent)}.fan-lab-task{margin:20px 0;padding:20px;border:1px solid var(--fan-line);border-radius:17px;background:var(--fan-soft)}.fan-lab-task>span{padding:4px 9px;border-radius:20px;background:var(--fan-dark);color:var(--fan-accent);font-size:11px}.fan-option{margin:8px 0}.fan-option span{display:block;padding:11px 13px;border:1px solid var(--fan-line);border-radius:12px;background:#fff;cursor:pointer}.fan-option input:checked+span{border-color:var(--fan-accent);background:color-mix(in srgb,var(--fan-accent) 10%,#fff)}.fan-range{width:calc(100% - 60px)}.fan-range-output{display:inline-grid;place-items:center;width:42px;height:34px;margin-right:8px;border-radius:9px;background:var(--fan-dark);color:var(--fan-accent)}.fan-lab-progress{display:flex;align-items:center;gap:12px;margin:14px 0;padding:12px 15px;border:1px solid var(--fan-line);border-radius:14px;background:var(--fan-soft)}.fan-lab-progress strong{color:#777a00;font-size:23px}.fan-lab-explorer form{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:14px;align-items:end}
.fan-auth-grid{display:grid;grid-template-columns:1.25fr .75fr;gap:14px;align-items:start}.fan-verified{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:14px 0;padding:16px;border:1px solid var(--fan-line);border-radius:16px;background:var(--fan-soft)}.fan-pay-state{min-width:190px;padding:13px 16px;border-radius:14px;background:var(--fan-dark);color:#fff;text-align:center}.fan-pay-state span{display:block;color:#bbc2c4;font-size:12px}.fan-pay-state b{color:var(--fan-accent)}.fan-pay-price{margin:12px 0;font-size:28px;font-weight:900}.fan-inline-form{display:flex;gap:8px}.fan-inline-form input{flex:1}.fan-flow-links{display:flex;flex-wrap:wrap;justify-content:center;gap:10px;max-width:900px;margin:12px auto}.fan-flow-done{border-right:5px solid var(--fan-accent)}
.fan-public-table{width:100%;border:1px solid var(--fan-line);border-collapse:separate;border-spacing:0;border-radius:14px;overflow:hidden}.fan-public-table th,.fan-public-table td{padding:12px;border-bottom:1px solid var(--fan-line);text-align:right}.fan-public-table th{background:var(--fan-soft);color:var(--fan-text)}.fan-school-metrics{grid-template-columns:repeat(4,1fr)}.fan-major-row{display:flex;justify-content:space-between;gap:12px;padding:10px 0;border-bottom:1px solid var(--fan-line)}.fan-major-row:last-child{border-bottom:0}.fan-no-print{display:block}

@media(max-width:920px){.fan-ui-hero{grid-template-columns:1fr;padding:34px}.fan-journey-steps{grid-template-columns:repeat(3,1fr);gap:22px 0}.fan-journey-step:nth-child(3):after{display:none}.fan-intro-card,.fan-dashboard-main{grid-template-columns:1fr}.fan-check-grid{grid-template-columns:repeat(2,1fr)}.fan-feature-grid,.fan-four{grid-template-columns:repeat(2,1fr)}.fan-wow-section,.fan-parent-landing{grid-template-columns:1fr}.fan-lab-grid,.fan-case-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:700px){.fan-shell{width:calc(100% - 16px);margin:8px auto 34px;font-size:14px}.fan-ui-hero{gap:24px;padding:23px 18px;border-radius:20px}.fan-shell .fan-ui-hero h1{font-size:31px}.fan-ui-hero-copy>p{font-size:13.5px}.fan-ui-decision{padding:18px;border-radius:16px}.fan-ui-layers{gap:7px}.fan-ui-layers span{padding:8px;font-size:11.5px}.fan-journey{padding:20px 12px 14px}.fan-journey-top{padding:0 4px}.fan-journey-top span{display:none}.fan-journey-steps{display:flex;gap:0;overflow-x:auto;padding:5px 0 10px;scroll-snap-type:x proximity}.fan-journey-step{flex:0 0 118px;scroll-snap-align:start}.fan-journey-step:not(:last-child):after{left:calc(-50% + 22px);width:calc(100% - 44px)}.fan-card{padding:21px 17px;border-radius:17px}.fan-intro-card{padding:24px 18px;gap:22px}.fan-card h2{font-size:22px}.fan-intro-copy .fan-primary,.fan-nav .fan-primary,.fan-nav .fan-prev{flex:1}.fan-grid2,.fan-summary-grid,.fan-metrics,.fan-profile-quads{grid-template-columns:1fr}.fan-scale{justify-content:space-between}.fan-scale span{width:42px}.fan-dashboard-actions{grid-template-columns:1fr}.fan-hero,.fan-lab-hero,.fan-report-head{display:block;padding:25px 20px}.fan-shell .fan-hero h1,.fan-shell .fan-lab-hero h1,.fan-shell .fan-report-head h1{font-size:28px}.fan-report-actions{margin-top:12px}.fan-sales-hero{padding:38px 23px;border-radius:21px}.fan-shell .fan-sales-hero h1{font-size:33px}.fan-sales-lead{font-size:17px}.fan-section-head{display:block}.fan-feature-grid,.fan-four,.fan-problem-grid,.fan-report-preview,.fan-lab-grid,.fan-case-grid,.fan-lab-results{grid-template-columns:1fr}.fan-lab-mini{grid-template-columns:repeat(2,1fr)}.fan-auth-grid{grid-template-columns:1fr}.fan-verified{display:block}.fan-pay-state{margin-top:12px}.fan-inline-form{display:block}.fan-inline-form button{width:100%;margin-top:8px}.fan-lab-explorer form{grid-template-columns:1fr}.fan-public-table{display:block;overflow-x:auto;font-size:12px}.fan-school-metrics{grid-template-columns:1fr 1fr}.fan-primary,.fan-prev,.fan-print,.fan-secondary{min-height:46px}}
@media(max-width:480px){.fan-check-grid,.fan-school-metrics,.fan-lab-mini{grid-template-columns:1fr}.fan-ui-layers span{min-height:48px}.fan-scale span{width:39px}.fan-compare span,.fan-compare strong{padding:10px;font-size:12px}}
@media(max-width:700px){.fan-guest-card{grid-template-columns:1fr}.fan-guest-card .fan-primary{width:100%}}
@media(max-width:700px){.fan-shell{width:calc(100% - 10px);margin:5px auto 34px;padding:5px;border-radius:20px}}
@media print{@page{size:A4;margin:14mm}.fan-shell{width:auto;margin:0;color:#111;font-size:11pt}.fan-no-print,.fan-print,.fan-cta,.fan-nav,.fan-primary,.fan-journey{display:none}.fan-card{break-inside:avoid-page;page-break-inside:avoid;border:1px solid #ddd;box-shadow:none}.fan-report-page{break-before:page;page-break-before:always}.fan-report-cover{break-after:page;page-break-after:always}.fan-major,.fan-choice-analysis,.fan-profile-quads>div{break-inside:avoid-page;page-break-inside:avoid}}

/* =========================================================
   FARAKHOUD AYANDEHNEGAR — CANDIDATE 6 SAFE OVERRIDES
   Preserves Candidate 5 appearance while fixing mobile/print
   structure without malformed nested media blocks.
   ========================================================= */

.fan-sales-hero .fan-sales-lead,
.fan-sales-hero .fan-hero-copy,
.fan-sales-hero p{color:#e5e9ea!important;-webkit-text-fill-color:#e5e9ea!important}
.fan-lab-box p{color:#d7ddde!important;-webkit-text-fill-color:#d7ddde!important}
.fan-wow-section p{color:#dce1e2!important;-webkit-text-fill-color:#dce1e2!important}
.fan-feature-grid article.wow p{color:#dce1e2!important;-webkit-text-fill-color:#dce1e2!important}

.fan-print-footer{display:none!important}

@media(max-width:700px){
  .fan-journey-steps{
    display:grid!important;
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:22px 0!important;
    overflow-x:visible!important;
    padding:5px 0 10px!important;
    scroll-snap-type:none!important;
  }
  .fan-journey-step{
    flex:none!important;
    min-width:0!important;
    scroll-snap-align:none!important;
  }
}

/* Engine 2.0 evidence labels */
.fan-evidence-status{display:inline-flex;align-items:center;gap:6px;padding:5px 10px;border-radius:999px;font-size:12px;font-weight:800}
.fan-evidence-status.strong{background:#ddf4e1;color:#23632d}
.fan-evidence-status.compare{background:#eef1f1;color:#465156}
.fan-evidence-status.investigate{background:#fff2be;color:#6f5600}
.fan-evidence-status.lower{background:#ffe2e2;color:#9a1b1b}
.fan-evidence-status.insufficient{background:#f0ebff;color:#62428a}
.fan-lab-signal{display:block;width:100%;margin-top:5px;font-weight:700}
.fan-lab-signal small{display:block;margin-top:4px;font-weight:400;line-height:1.8}
.fan-data-confidence{display:inline-flex;gap:6px;align-items:center;padding:5px 9px;border:1px solid var(--fan-line);border-radius:999px;background:#fff;font-size:12px}

@media print{
  @page{size:A4 portrait;margin:14mm 14mm 30mm 14mm}

  body::after{content:none!important;display:none!important}
  header.fk-core.fk-core-header,
  footer,
  .fk-core-footer,
  .footer-curved,
  .fk-footer-cta,
  #wpadminbar{display:none!important;visibility:hidden!important}

  .fan-shell{
    width:100%!important;
    max-width:none!important;
    margin:0!important;
    padding:0!important;
    color:#111!important;
    font-size:11pt!important;
    background:#fff!important;
    box-shadow:none!important;
    overflow:visible!important;
  }
  .fan-shell,.fan-shell *{-webkit-print-color-adjust:exact!important;print-color-adjust:exact!important;box-sizing:border-box!important}
  .fan-no-print,.fan-print,.fan-cta,.fan-nav,.fan-primary,.fan-journey,.fan-guest-card{display:none!important}

  .fan-card,
  .fan-report-page,
  .fan-choice-analysis,
  .fan-major,
  .fan-major-row{
    break-before:auto!important;
    page-break-before:auto!important;
    break-after:auto!important;
    page-break-after:auto!important;
    min-height:0!important;
    height:auto!important;
  }
  .fan-card{border:1px solid #ddd!important;box-shadow:none!important}
  .fan-report-page{break-inside:auto!important;page-break-inside:auto!important}
  .fan-report-cover{break-after:page!important;page-break-after:always!important}
  .fan-major,.fan-major-row{break-inside:auto!important;page-break-inside:auto!important;margin-bottom:5mm!important}
  .fan-choice-analysis,.fan-profile-quads>div{break-inside:avoid-page!important;page-break-inside:avoid!important}
  .fan-report-page h2,.fan-report-page h3{break-after:avoid-page!important;page-break-after:avoid!important}

  .fan-lab-box{break-before:page!important;page-break-before:always!important}

  .fan-print-footer{
    display:flex!important;
    position:fixed;
    left:14mm;
    right:14mm;
    bottom:4mm;
    height:11mm;
    box-sizing:border-box;
    align-items:center;
    justify-content:space-between;
    gap:4mm;
    padding:2mm 1mm 0;
    border-top:.4mm solid #e4e800;
    background:#fff;
    direction:rtl;
    font-family:inherit;
    font-size:7.5pt;
    line-height:1.4;
    color:#687078;
    z-index:9999999;
  }
  .fan-print-footer strong{color:#242c2f;font-size:8pt;white-space:nowrap}
  .fan-print-footer span{text-align:left}
}


/* Candidate 6.2 — print/PDF collision + lab progress contrast fixes */
.fan-lab-box .fan-lab-progress>span{
  color:#566065!important;
  -webkit-text-fill-color:#566065!important;
  font-weight:600!important;
}

@media print{
  /* Keep each lab-result card intact when Chrome fragments the dark lab section. */
  .fan-lab-results>div{
    break-inside:avoid-page!important;
    page-break-inside:avoid!important;
  }

  /* Preserve clear space above the fixed footer on every printed page. */
  .fan-shell{padding-bottom:0!important}
}


/* Candidate 6.3 — keep section labels with their headings and prevent FAMILY card/footer collision */
@media print{
  /* Prevent a numbered section label from being orphaned at the bottom of a page. */
  .fan-report-page > .fan-label{
    break-after:avoid-page!important;
    page-break-after:avoid!important;
  }

  /* FAMILY analysis is compact enough to stay together; move it to the next page when needed. */
  .fan-parent-box{
    break-inside:avoid-page!important;
    page-break-inside:avoid!important;
  }
}


/* Candidate 6.4 — prevent numbered section labels from becoming print orphans */
@media print{
  /* Chrome can still fragment an inline-flex label from the following heading.
     These two sections already continue on the next page, so begin them there as a unit. */
  .fan-initial-choices-box,
  .fan-action-box{
    break-before:page!important;
    page-break-before:always!important;
  }
}


/* Candidate 6.5 — make the final landing CTA unmistakable on the yellow block. */
.fan-final-cta .fan-primary.fan-bigbtn,
.fan-final-cta a.fan-primary.fan-bigbtn:link,
.fan-final-cta a.fan-primary.fan-bigbtn:visited{
  background:#1f2d33!important;
  color:#f1f40f!important;
  -webkit-text-fill-color:#f1f40f!important;
  border:2px solid #1f2d33!important;
  box-shadow:0 10px 24px rgba(31,45,51,.24)!important;
  font-weight:850!important;
  min-height:52px!important;
  padding:13px 28px!important;
}
.fan-final-cta .fan-primary.fan-bigbtn:hover{
  background:#293a41!important;
  filter:none!important;
  transform:translateY(-1px);
}

/* 1.3.0 — professional decision dossier */
.fan-decision-matrix{overflow-x:auto;margin-top:16px;border:1px solid var(--fan-line);border-radius:16px}.fan-decision-matrix table{width:100%;min-width:680px;border-collapse:collapse}.fan-decision-matrix th,.fan-decision-matrix td{padding:13px 14px;border-left:1px solid var(--fan-line);border-bottom:1px solid var(--fan-line);text-align:center}.fan-decision-matrix thead th{background:var(--fan-dark);color:#fff}.fan-decision-matrix tbody th{background:var(--fan-soft);text-align:right}.fan-decision-matrix td b,.fan-decision-matrix td small{display:block}.fan-decision-matrix td b{color:#747700}.fan-decision-matrix td small{color:var(--fan-muted)}
.fan-risk-grid,.fan-scenario-grid,.fan-question-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:16px}.fan-risk-grid article,.fan-scenario-grid article,.fan-question-grid article{padding:18px;border:1px solid var(--fan-line);border-radius:16px;background:var(--fan-soft)}.fan-risk-grid article>div{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.fan-risk-grid h3,.fan-scenario-grid h3,.fan-question-grid h3{margin:0 0 9px}.fan-risk-grid article>div span{padding:4px 8px;border-radius:999px;background:#fff;color:var(--fan-muted);font-size:11px;white-space:nowrap}.fan-risk-grid p{min-height:82px;color:var(--fan-muted);font-size:12.5px;line-height:1.9}.fan-risk-grid small{display:block;margin-top:5px;line-height:1.8}.fan-scenario-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.fan-scenario-grid ol,.fan-question-grid ul{margin:0;padding-right:22px}.fan-scenario-grid li,.fan-question-grid li{margin:9px 0;line-height:1.9}.fan-paid-lab-gate{max-width:840px;margin:40px auto;padding:42px;border-top:6px solid var(--fan-accent);text-align:center}.fan-paid-lab-gate h1{font-size:34px}.fan-paid-lab-gate>p{color:var(--fan-muted);font-size:16px;line-height:2}.fan-paid-lab-gate .fan-lab-progress{justify-content:center}.fan-paid-lab-gate>small{display:block;margin-top:14px;color:var(--fan-muted)}
@media(max-width:920px){.fan-wow-paths,.fan-premium-grid,.fan-risk-grid,.fan-question-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:700px){.fan-wow-report-hero{grid-template-columns:1fr!important;padding:27px 20px!important}.fan-shell .fan-wow-report-hero h1{font-size:29px!important}.fan-wow-ready{min-height:110px!important}.fan-wow-paths,.fan-premium-grid,.fan-risk-grid,.fan-scenario-grid,.fan-question-grid{grid-template-columns:1fr!important}.fan-wow-hidden-value{padding:25px 18px!important}.fan-wow-payline{display:grid!important}.fan-wow-payline .fan-primary{width:100%;text-align:center}.fan-paid-lab-gate{margin:12px auto!important;padding:27px 18px!important}.fan-paid-lab-gate h1{font-size:27px!important}}
@media print{.fan-wow-report .fan-wow-payline,.fan-wow-report .fan-flow-links,.fan-wow-report .fan-wow-hidden-value{display:none!important}.fan-decision-matrix{overflow:visible!important}.fan-risk-grid,.fan-question-grid{grid-template-columns:repeat(2,1fr)!important}.fan-scenario-grid{grid-template-columns:1fr!important}}

/* 1.3.0 — WOW free report */
.fan-wow-report-hero{display:grid;grid-template-columns:minmax(0,1fr) 150px;gap:24px;align-items:center;margin-bottom:16px;padding:38px 42px;border-radius:24px;background:linear-gradient(135deg,var(--fan-dark),#34434a);color:#fff;box-shadow:0 18px 42px rgba(31,45,51,.15)}
.fan-shell .fan-wow-report-hero h1{margin:8px 0 10px;color:#fff;font-size:38px;line-height:1.45}.fan-wow-report-hero p{margin:0;color:#dce2e4}.fan-wow-ready{display:grid;place-items:center;min-height:140px;padding:14px;border:1px solid rgba(255,255,255,.16);border-radius:20px;background:rgba(255,255,255,.06);text-align:center}.fan-wow-ready span,.fan-wow-ready small{color:#d3dadd;font-size:12px}.fan-wow-ready strong{color:var(--fan-accent);font-size:54px;line-height:1}
.fan-wow-discovery{position:relative;overflow:hidden;border-top:5px solid var(--fan-accent)}.fan-wow-discovery.primary:after{content:"";position:absolute;left:-45px;bottom:-55px;width:130px;height:130px;border:18px solid color-mix(in srgb,var(--fan-accent) 30%,transparent);border-radius:50%}.fan-wow-discovery p{max-width:920px;font-size:17px;line-height:2.05}.fan-wow-discovery.tension{background:linear-gradient(135deg,#fff,color-mix(in srgb,var(--fan-accent) 7%,#fff))}.fan-wow-discovery.tension small{display:block;color:var(--fan-muted)}
.fan-wow-paths{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:18px}.fan-wow-paths article{display:flex;gap:13px;padding:18px;border:1px solid var(--fan-line);border-radius:17px;background:var(--fan-soft)}.fan-wow-paths article>div:last-child{min-width:0}.fan-wow-paths article span{color:#747700;font-size:11px;font-weight:800}.fan-wow-paths h3{margin:3px 0 7px;font-size:18px}.fan-wow-paths p{margin:0;color:var(--fan-muted);font-size:12.5px;line-height:1.95}
.fan-wow-hidden-value{padding:34px;background:var(--fan-dark);color:#fff}.fan-shell .fan-wow-hidden-value h2{max-width:900px;color:#fff}.fan-wow-hidden-value>div>p{color:#d8dfe1}.fan-premium-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:9px;margin:20px 0}.fan-premium-grid span{padding:12px;border:1px solid rgba(255,255,255,.13);border-radius:12px;background:rgba(255,255,255,.05);color:#f2f5f6;font-size:12px}.fan-premium-grid span:before{content:"✓";margin-left:7px;color:var(--fan-accent);font-weight:900}.fan-wow-payline{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:22px;padding-top:20px;border-top:1px solid rgba(255,255,255,.14)}.fan-wow-payline>div:first-child{display:grid;gap:3px}.fan-wow-payline small,.fan-wow-payline span{color:#c8d0d2}.fan-wow-payline strong{color:var(--fan-accent);font-size:27px}.fan-wow-trust{margin:14px 0;padding:15px 18px;border:1px solid var(--fan-line);border-radius:14px;background:#fff;color:var(--fan-muted)}.fan-wow-trust b{color:var(--fan-text)}


/* v1.3.1 — contrast protection against late theme/link color overrides */
body .fan-shell .fan-wow-hidden-value,
body .fan-shell .fan-wow-hidden-value h1,
body .fan-shell .fan-wow-hidden-value h2,
body .fan-shell .fan-wow-hidden-value h3,
body .fan-shell .fan-wow-hidden-value p,
body .fan-shell .fan-wow-hidden-value small,
body .fan-shell .fan-wow-hidden-value span:not(.fan-label),
body .fan-shell .fan-wow-hidden-value div {
  color:#f3f6f7!important;
  -webkit-text-fill-color:#f3f6f7!important;
  text-shadow:none!important;
}
body .fan-shell .fan-wow-hidden-value .fan-label,
body .fan-shell .fan-wow-hidden-value .fan-wow-payline strong,
body .fan-shell .fan-wow-hidden-value .fan-premium-grid span:before {
  color:var(--fan-accent)!important;
  -webkit-text-fill-color:var(--fan-accent)!important;
}
body .fan-shell .fan-wow-hidden-value a.fan-primary,
body .fan-shell .fan-wow-hidden-value a.fan-primary:link,
body .fan-shell .fan-wow-hidden-value a.fan-primary:visited {
  color:var(--fan-dark)!important;
  -webkit-text-fill-color:var(--fan-dark)!important;
}
.fan-flow-required{max-width:820px;margin:26px auto;padding:34px;border-top:5px solid var(--fan-accent);text-align:center}
.fan-flow-required p{max-width:680px;margin:10px auto 20px;color:var(--fan-muted);line-height:2}


/* 1.3.3 — audit fix: readability, evidence transparency, parent comparison */
body .fan-shell .fan-wow-hidden-value,
body .fan-shell .fan-wow-hidden-value *:not(.fan-primary):not(.fan-primary *){
  color:#f4f7f8!important;
  -webkit-text-fill-color:#f4f7f8!important;
}
body .fan-shell .fan-wow-hidden-value .fan-label,
body .fan-shell .fan-wow-hidden-value .fan-wow-payline strong,
body .fan-shell .fan-wow-hidden-value .fan-premium-grid span:before{
  color:#f1f40f!important;
  -webkit-text-fill-color:#f1f40f!important;
}
.fan-precision-badge{display:inline-flex!important;margin:4px 0 7px;padding:4px 8px;border-radius:999px;font-size:10.5px!important;font-weight:800!important;line-height:1.5}
.fan-precision-badge.high{background:#e4f5e7;color:#245f31!important;-webkit-text-fill-color:#245f31!important}
.fan-precision-badge.medium{background:#fff2bf;color:#6a5600!important;-webkit-text-fill-color:#6a5600!important}
.fan-precision-badge.low{background:#f0ebff;color:#614588!important;-webkit-text-fill-color:#614588!important}
.fan-precision-note{display:block;margin-top:8px;color:#687078!important;-webkit-text-fill-color:#687078!important;line-height:1.8}
.fan-family-compare{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:15px 0}
.fan-family-compare>div{padding:13px 15px;border:1px solid var(--fan-line);border-radius:13px;background:var(--fan-soft)}
.fan-family-compare b,.fan-family-compare span{display:block}.fan-family-compare span{margin-top:5px;color:var(--fan-muted)}
.fan-lab-scope{display:inline-flex;margin:7px 0 10px;padding:5px 9px;border:1px solid rgba(255,255,255,.22);border-radius:999px;color:#fff;background:rgba(255,255,255,.08);font-size:11px;font-weight:800}
.fan-lab-scope-card{display:inline-flex;margin:2px 0 8px;padding:3px 7px;border-radius:999px;background:#fff2bf;color:#6a5600;font-size:10.5px;font-weight:800}
@media(max-width:700px){.fan-family-compare{grid-template-columns:1fr}}


/* 1.3.4 — final WOW polish */
.fan-wow-surprise{
  position:relative;overflow:hidden;
  background:linear-gradient(135deg,#fff,color-mix(in srgb,var(--fan-accent) 10%,#fff));
  border:1px solid color-mix(in srgb,var(--fan-accent) 55%,var(--fan-line));
}
.fan-wow-surprise:before{
  content:"";position:absolute;left:-38px;top:-44px;width:120px;height:120px;
  border-radius:50%;background:color-mix(in srgb,var(--fan-accent) 22%,transparent);
}
.fan-wow-surprise h2{max-width:900px}
.fan-wow-surprise p{max-width:940px;font-size:16px;line-height:2}
.fan-wow-action{
  border-right:5px solid var(--fan-accent);
  background:var(--fan-soft);
}
.fan-wow-action h2{margin-bottom:8px}
.fan-wow-action p{margin-bottom:0;line-height:2;color:var(--fan-text)}
/* Do not allow late theme link colors to leak into any dark Ayandehnegar block. */
body .fan-shell .fan-wow-report-hero *,
body .fan-shell .fan-wow-hidden-value *:not(.fan-primary):not(.fan-primary *),
body .fan-shell .fan-family-demo *{
  text-shadow:none;
}

/* =========================================================
   v1.3.6 — FINAL UI + COMMERCE VISUAL HARDENING
   Scope: public Ayandehnegar only. Prevent theme-blue leakage,
   improve lab readability, and restore breathing room.
   ========================================================= */

/* Neutral public typography: the host theme must not inject blue into report copy. */
body .fan-shell .fan-card h1,
body .fan-shell .fan-card h2,
body .fan-shell .fan-card h3,
body .fan-shell .fan-card h4,
body .fan-shell .fan-report-page h1,
body .fan-shell .fan-report-page h2,
body .fan-shell .fan-report-page h3,
body .fan-shell .fan-report-page h4{
  color:var(--fan-text)!important;
  -webkit-text-fill-color:var(--fan-text)!important;
  text-shadow:none!important;
}
body .fan-shell .fan-card p,
body .fan-shell .fan-card li,
body .fan-shell .fan-card small:not(.fan-precision-badge):not(.fan-lab-scope-card),
body .fan-shell .fan-report-page p,
body .fan-shell .fan-report-page li{
  color:#59656a!important;
  -webkit-text-fill-color:#59656a!important;
}
body .fan-shell a:not(.fan-primary):not(.fan-secondary):not(.fan-prev):not(.fan-print):not(.fan-lab-card):not(.fan-case-card){
  color:#465257!important;
  -webkit-text-fill-color:#465257!important;
  text-decoration-color:var(--fan-accent)!important;
}

/* Labels and headings need visible breathing room. */
body .fan-shell .fan-card > .fan-label,
body .fan-shell .fan-report-page > .fan-label,
body .fan-shell .fan-section-title .fan-label{
  margin-bottom:10px!important;
}
body .fan-shell .fan-card > .fan-label + h2,
body .fan-shell .fan-report-page > .fan-label + h2{
  margin-top:0!important;
  margin-bottom:14px!important;
}
body .fan-shell .fan-card h2 + p,
body .fan-shell .fan-report-page h2 + p{
  margin-top:0!important;
}

/* Landing lab: charcoal, not black; clear hierarchy and spacing. */
body .fan-shell .fan-wow-section{
  background:linear-gradient(135deg,#34464c 0%,#2d3b40 100%)!important;
  color:#f7f9f9!important;
  padding:40px!important;
  gap:34px!important;
  box-shadow:0 16px 36px rgba(36,50,55,.12)!important;
}
body .fan-shell .fan-wow-section .fan-kicker{
  margin:0 0 11px!important;
  color:#f1f40f!important;
  -webkit-text-fill-color:#f1f40f!important;
}
body .fan-shell .fan-wow-section h2{
  margin:0 0 14px!important;
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
}
body .fan-shell .fan-wow-section p{
  margin:0 0 18px!important;
  color:#e3eaec!important;
  -webkit-text-fill-color:#e3eaec!important;
  line-height:2.05!important;
}
body .fan-shell .fan-wow-section .fan-muted-light{
  margin-top:14px!important;
  margin-bottom:0!important;
  color:#cfd9dc!important;
  -webkit-text-fill-color:#cfd9dc!important;
}
body .fan-shell .fan-wow-orbit{
  gap:12px!important;
  align-content:center!important;
}
body .fan-shell .fan-wow-orbit span{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-height:72px!important;
  padding:14px 12px!important;
  background:rgba(255,255,255,.085)!important;
  border-color:rgba(255,255,255,.17)!important;
  color:#f7f9fa!important;
  -webkit-text-fill-color:#f7f9fa!important;
  line-height:1.7!important;
  text-align:center!important;
}
body .fan-shell .fan-lab-mini{
  gap:10px!important;
  margin-top:4px!important;
}
body .fan-shell .fan-lab-mini span{
  padding:13px 10px!important;
  color:#f2f6f7!important;
  -webkit-text-fill-color:#f2f6f7!important;
  line-height:1.65!important;
}
body .fan-shell .fan-lab-mini b{
  margin-top:4px!important;
  color:#f1f40f!important;
  -webkit-text-fill-color:#f1f40f!important;
}

/* Actual lab screens and report lab boxes: lighter charcoal + guaranteed contrast. */
body .fan-shell .fan-lab-box{
  background:linear-gradient(135deg,#34464c,#2d3b40)!important;
  color:#f7f9f9!important;
  padding:30px!important;
}
body .fan-shell .fan-lab-box h1,
body .fan-shell .fan-lab-box h2,
body .fan-shell .fan-lab-box h3,
body .fan-shell .fan-lab-box b{
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
}
body .fan-shell .fan-lab-box p,
body .fan-shell .fan-lab-box li,
body .fan-shell .fan-lab-box small,
body .fan-shell .fan-lab-box span:not(.fan-label){
  color:#e2e9eb!important;
  -webkit-text-fill-color:#e2e9eb!important;
}
body .fan-shell .fan-lab-box .fan-label,
body .fan-shell .fan-lab-box .fan-lab-results b{
  color:#f1f40f!important;
  -webkit-text-fill-color:#f1f40f!important;
}

/* Lab cards: title/description no longer stick together. */
body .fan-shell .fan-lab-grid{
  gap:16px!important;
}
body .fan-shell a.fan-lab-card{
  padding:22px!important;
  color:var(--fan-text)!important;
  -webkit-text-fill-color:var(--fan-text)!important;
}
body .fan-shell .fan-lab-card > span{
  display:inline-flex!important;
  margin:0 0 10px!important;
  color:#6f7210!important;
  -webkit-text-fill-color:#6f7210!important;
}
body .fan-shell .fan-lab-card h3{
  margin:0 0 10px!important;
  color:var(--fan-text)!important;
  -webkit-text-fill-color:var(--fan-text)!important;
  font-size:18px!important;
  line-height:1.75!important;
}
body .fan-shell .fan-lab-card .fan-lab-scope-card{
  margin:0 0 12px!important;
}
body .fan-shell .fan-lab-card p{
  margin:0 0 12px!important;
  color:#647075!important;
  -webkit-text-fill-color:#647075!important;
  line-height:1.95!important;
}
body .fan-shell .fan-lab-card .fan-mini{
  margin-top:13px!important;
}

/* Major cards/report: explicit vertical rhythm. */
body .fan-shell .fan-major-title{
  align-items:flex-start!important;
  gap:14px!important;
  margin-bottom:9px!important;
}
body .fan-shell .fan-major-title h3{
  margin:0!important;
  line-height:1.75!important;
}
body .fan-shell .fan-major-title > span{
  flex:0 0 auto!important;
  margin-top:3px!important;
  color:#69757a!important;
  -webkit-text-fill-color:#69757a!important;
}
body .fan-shell .fan-major-main > p{
  margin:0 0 12px!important;
  line-height:2!important;
}
body .fan-shell .fan-explain-block{
  margin-top:14px!important;
}

/* Re-assert dark-block colors AFTER neutral typography reset. */
body .fan-shell .fan-wow-report-hero h1,
body .fan-shell .fan-wow-hidden-value h1,
body .fan-shell .fan-wow-hidden-value h2,
body .fan-shell .fan-wow-hidden-value h3,
body .fan-shell .fan-family-demo h1,
body .fan-shell .fan-family-demo h2,
body .fan-shell .fan-family-demo h3{
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
}
body .fan-shell .fan-wow-report-hero p,
body .fan-shell .fan-wow-hidden-value p,
body .fan-shell .fan-wow-hidden-value small,
body .fan-shell .fan-family-demo p,
body .fan-shell .fan-family-demo small,
body .fan-shell .fan-family-demo span{
  color:#e0e7e9!important;
  -webkit-text-fill-color:#e0e7e9!important;
}
body .fan-shell .fan-wow-hidden-value .fan-label,
body .fan-shell .fan-wow-hidden-value .fan-wow-payline strong,
body .fan-shell .fan-family-demo b{
  color:#f1f40f!important;
  -webkit-text-fill-color:#f1f40f!important;
}

@media(max-width:700px){
  body .fan-shell .fan-wow-section{padding:26px 20px!important;gap:24px!important}
  body .fan-shell .fan-wow-orbit span{min-height:62px!important;padding:12px 10px!important}
  body .fan-shell .fan-lab-card{padding:19px!important}
  body .fan-shell .fan-major-title{display:block!important}
  body .fan-shell .fan-major-title > span{display:inline-block!important;margin-top:6px!important}
}


/* =========================================================
   v1.3.7 — FINAL READABILITY + ANSWER LABELS + PARENT FLOW
   ========================================================= */

/* 1) Assessment choices: show meaning, never bare 1..5. */
body .fan-shell .fan-scale.fan-scale-text{
  display:grid!important;
  grid-template-columns:repeat(5,minmax(0,1fr))!important;
  gap:8px!important;
  width:100%!important;
}
body .fan-shell .fan-scale.fan-scale-text label{display:block!important;min-width:0!important}
body .fan-shell .fan-scale.fan-scale-text span{
  width:100%!important;
  min-height:48px!important;
  height:auto!important;
  padding:8px 9px!important;
  border:1px solid #d9dfe0!important;
  border-radius:11px!important;
  background:#fff!important;
  color:#2f393d!important;
  -webkit-text-fill-color:#2f393d!important;
  font-size:12px!important;
  line-height:1.65!important;
  text-align:center!important;
}
body .fan-shell .fan-scale.fan-scale-text input:checked+span{
  border-color:#d9d800!important;
  background:#f1f40f!important;
  color:#242d30!important;
  -webkit-text-fill-color:#242d30!important;
  box-shadow:0 5px 14px rgba(157,157,0,.12)!important;
}
body .fan-shell .fan-scale-help{
  margin:16px 0 2px!important;
  padding:10px 13px!important;
  border-radius:10px!important;
  background:#f7f8f6!important;
  color:#59656a!important;
  -webkit-text-fill-color:#59656a!important;
  font-size:12px!important;
}

/* 2) Parent journey: completed circles stay visibly yellow. */
body .fan-shell .fan-journey-step.is-done i{
  background:#f1f40f!important;
  border-color:#dfe200!important;
  color:#242d30!important;
  -webkit-text-fill-color:#242d30!important;
  box-shadow:0 0 0 4px rgba(241,244,15,.16)!important;
}
body .fan-shell .fan-journey-step.is-done strong{
  color:#313b3f!important;
  -webkit-text-fill-color:#313b3f!important;
  font-weight:800!important;
}
body .fan-shell .fan-journey-step.is-done:not(:last-child):after{background:#f1f40f!important}

/* 3) Labs are light surfaces now — no black lab block anywhere public. */
body .fan-shell .fan-feature-grid article.wow{
  background:#fffef0!important;
  border-color:#e4e57c!important;
  color:#283236!important;
  box-shadow:inset 0 4px 0 #f1f40f!important;
}
body .fan-shell .fan-feature-grid article.wow h1,
body .fan-shell .fan-feature-grid article.wow h2,
body .fan-shell .fan-feature-grid article.wow h3,
body .fan-shell .fan-feature-grid article.wow p,
body .fan-shell .fan-feature-grid article.wow span{
  color:#283236!important;
  -webkit-text-fill-color:#283236!important;
}
body .fan-shell .fan-feature-grid article.wow>b{
  background:#303c40!important;
  color:#f1f40f!important;
  -webkit-text-fill-color:#f1f40f!important;
}
body .fan-shell .fan-wow-section{
  background:#f8faf8!important;
  border:1px solid #e2e6e2!important;
  border-right:5px solid #f1f40f!important;
  color:#283236!important;
  box-shadow:0 12px 30px rgba(31,45,51,.07)!important;
}
body .fan-shell .fan-wow-section .fan-kicker{color:#6f7200!important;-webkit-text-fill-color:#6f7200!important}
body .fan-shell .fan-wow-section h1,
body .fan-shell .fan-wow-section h2,
body .fan-shell .fan-wow-section h3{color:#242d30!important;-webkit-text-fill-color:#242d30!important}
body .fan-shell .fan-wow-section p,
body .fan-shell .fan-wow-section .fan-muted-light{color:#5a666b!important;-webkit-text-fill-color:#5a666b!important}
body .fan-shell .fan-wow-section .fan-lab-mini span,
body .fan-shell .fan-wow-section .fan-wow-orbit span{
  background:#fff!important;
  border-color:#dfe4e3!important;
  color:#2f3a3e!important;
  -webkit-text-fill-color:#2f3a3e!important;
  box-shadow:0 5px 12px rgba(34,45,48,.04)!important;
}
body .fan-shell .fan-wow-section .fan-lab-mini b{color:#777a00!important;-webkit-text-fill-color:#777a00!important}

body .fan-shell .fan-lab-box{
  background:#f7f9f8!important;
  border:1px solid #dfe5e3!important;
  border-right:5px solid #f1f40f!important;
  color:#283236!important;
  box-shadow:none!important;
}
body .fan-shell .fan-lab-box h1,
body .fan-shell .fan-lab-box h2,
body .fan-shell .fan-lab-box h3,
body .fan-shell .fan-lab-box b{
  color:#242d30!important;
  -webkit-text-fill-color:#242d30!important;
}
body .fan-shell .fan-lab-box p,
body .fan-shell .fan-lab-box li,
body .fan-shell .fan-lab-box small,
body .fan-shell .fan-lab-box span:not(.fan-label){
  color:#58656a!important;
  -webkit-text-fill-color:#58656a!important;
}
body .fan-shell .fan-lab-box .fan-label{color:#717400!important;-webkit-text-fill-color:#717400!important}
body .fan-shell .fan-lab-box .fan-lab-progress{
  background:#fff!important;
  border-color:#dfe4e3!important;
}
body .fan-shell .fan-lab-box .fan-lab-progress strong{color:#747700!important;-webkit-text-fill-color:#747700!important}
body .fan-shell .fan-lab-box .fan-lab-results>div{
  display:grid!important;
  gap:7px!important;
  background:#fff!important;
  border:1px solid #dfe4e3!important;
  padding:16px!important;
}
body .fan-shell .fan-lab-box .fan-lab-results b{
  display:block!important;
  margin:0 0 5px!important;
  color:#242d30!important;
  -webkit-text-fill-color:#242d30!important;
  font-size:16px!important;
  line-height:1.7!important;
}
body .fan-shell .fan-lab-box .fan-lab-results span{display:block!important;line-height:1.8!important}
body .fan-shell .fan-lab-box .fan-lab-signal{
  margin-top:5px!important;
  padding-top:8px!important;
  border-top:1px solid #edf0ef!important;
  color:#4f5c61!important;
  -webkit-text-fill-color:#4f5c61!important;
}
body .fan-shell .fan-lab-box .fan-lab-signal small{display:block!important;margin-top:5px!important}

/* 4) Dark surfaces that remain by design: force high contrast, never theme blue/black. */
body .fan-shell .fan-ui-decision,
body .fan-shell .fan-wow-report-hero,
body .fan-shell .fan-wow-hidden-value,
body .fan-shell .fan-family-demo,
body .fan-shell .fan-pay-state{
  background-color:#33444a!important;
  color:#f7f9fa!important;
}
body .fan-shell .fan-ui-decision h1,body .fan-shell .fan-ui-decision h2,body .fan-shell .fan-ui-decision h3,
body .fan-shell .fan-wow-report-hero h1,body .fan-shell .fan-wow-report-hero h2,body .fan-shell .fan-wow-report-hero h3,
body .fan-shell .fan-wow-hidden-value h1,body .fan-shell .fan-wow-hidden-value h2,body .fan-shell .fan-wow-hidden-value h3,
body .fan-shell .fan-family-demo h1,body .fan-shell .fan-family-demo h2,body .fan-shell .fan-family-demo h3{
  color:#fff!important;-webkit-text-fill-color:#fff!important;
}
body .fan-shell .fan-ui-decision p,body .fan-shell .fan-ui-decision span,
body .fan-shell .fan-wow-report-hero p,body .fan-shell .fan-wow-report-hero span,
body .fan-shell .fan-wow-hidden-value p,body .fan-shell .fan-wow-hidden-value span:not(.fan-label),body .fan-shell .fan-wow-hidden-value small,
body .fan-shell .fan-family-demo p,body .fan-shell .fan-family-demo span,body .fan-shell .fan-family-demo small{
  color:#e5ecee!important;-webkit-text-fill-color:#e5ecee!important;
}
body .fan-shell .fan-wow-hidden-value .fan-label,
body .fan-shell .fan-wow-hidden-value .fan-wow-payline strong,
body .fan-shell .fan-family-demo b,
body .fan-shell .fan-ui-decision-head span{
  color:#f1f40f!important;-webkit-text-fill-color:#f1f40f!important;
}

/* 5) Kill theme-blue on every non-button public link and textual heading. */
body .fan-shell a:not(.fan-primary):not(.fan-secondary):not(.fan-prev):not(.fan-print),
body .fan-shell a:not(.fan-primary):not(.fan-secondary):not(.fan-prev):not(.fan-print):visited{
  color:#48555a!important;
  -webkit-text-fill-color:#48555a!important;
  text-decoration-color:#c7ca00!important;
}
body .fan-shell .fan-card h1,body .fan-shell .fan-card h2,body .fan-shell .fan-card h3,
body .fan-shell .fan-report-page h1,body .fan-shell .fan-report-page h2,body .fan-shell .fan-report-page h3{
  text-decoration:none!important;
}

/* 6) Before payment: a visible sample-report block. */
body .fan-shell .fan-sample-before-pay{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:18px!important;
  margin:18px 0 0!important;
  padding:16px 18px!important;
  border:1px solid rgba(241,244,15,.45)!important;
  border-radius:14px!important;
  background:rgba(255,255,255,.08)!important;
}
body .fan-shell .fan-sample-before-pay>div{display:grid!important;gap:4px!important}
body .fan-shell .fan-sample-before-pay b{color:#fff!important;-webkit-text-fill-color:#fff!important}
body .fan-shell .fan-sample-before-pay span{color:#dfe7e9!important;-webkit-text-fill-color:#dfe7e9!important;font-size:12px!important}
body .fan-shell .fan-sample-before-pay .fan-secondary{
  flex:0 0 auto!important;
  background:#fff!important;
  border-color:#fff!important;
  color:#283236!important;
  -webkit-text-fill-color:#283236!important;
}

/* 7) Explicit spacing between major/lab titles and explanatory copy. */
body .fan-shell .fan-major h3,
body .fan-shell .fan-choice-card b,
body .fan-shell .fan-lab-card h3{margin-bottom:10px!important}
body .fan-shell .fan-major p,
body .fan-shell .fan-choice-card p,
body .fan-shell .fan-lab-card p{margin-top:6px!important;line-height:2!important}

@media(max-width:900px){
  body .fan-shell .fan-scale.fan-scale-text{grid-template-columns:repeat(3,minmax(0,1fr))!important}
}
@media(max-width:700px){
  body .fan-shell .fan-scale.fan-scale-text{grid-template-columns:1fr!important}
  body .fan-shell .fan-scale.fan-scale-text span{min-height:44px!important;text-align:right!important;justify-content:flex-start!important;padding:10px 13px!important}
  body .fan-shell .fan-sample-before-pay{display:grid!important}
  body .fan-shell .fan-sample-before-pay .fan-secondary{width:100%!important}
  body .fan-shell .fan-wow-section{padding:24px 18px!important}
  body .fan-shell .fan-lab-box{padding:22px 18px!important}
}

/* Final dark CTA/header contrast pass. */
body .fan-shell .fan-cta{
  background:#33444a!important;
  color:#f7f9fa!important;
}
body .fan-shell .fan-cta h1,
body .fan-shell .fan-cta h2,
body .fan-shell .fan-cta h3{
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
}
body .fan-shell .fan-cta p,
body .fan-shell .fan-cta span,
body .fan-shell .fan-cta small{
  color:#e5ecee!important;
  -webkit-text-fill-color:#e5ecee!important;
}
body .fan-shell .fan-compare-head,
body .fan-shell .fan-compare-head span,
body .fan-shell .fan-compare-head strong{
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
}

/* =========================================================
   v1.3.8 - BUNDLED PDF SAMPLE + FINAL PRINT READABILITY
   ========================================================= */
.fan-sample-actions,.fan-sample-pay-actions{display:flex;flex-wrap:wrap;gap:10px;align-items:center}
.fan-sample-download{background:#f1f40f!important;border-color:#f1f40f!important;color:#242d30!important;-webkit-text-fill-color:#242d30!important}
@media(max-width:700px){.fan-sample-actions,.fan-sample-pay-actions{display:grid!important;grid-template-columns:1fr!important}.fan-sample-actions a,.fan-sample-pay-actions a{width:100%!important}}

/* The professional report prints the lab section on a light surface too. */
@media print{
  body .fan-shell .fan-lab-box{
    background:#f7f9f8!important;
    color:#283236!important;
    border:1px solid #dfe4e3!important;
    box-shadow:none!important;
  }
  body .fan-shell .fan-lab-box h1,
  body .fan-shell .fan-lab-box h2,
  body .fan-shell .fan-lab-box h3,
  body .fan-shell .fan-lab-box b{color:#242d30!important;-webkit-text-fill-color:#242d30!important}
  body .fan-shell .fan-lab-box p,
  body .fan-shell .fan-lab-box li,
  body .fan-shell .fan-lab-box small,
  body .fan-shell .fan-lab-box span:not(.fan-label){color:#58656a!important;-webkit-text-fill-color:#58656a!important}
  body .fan-shell .fan-lab-box .fan-label{color:#717400!important;-webkit-text-fill-color:#717400!important}
  body .fan-shell .fan-lab-box .fan-lab-results>div{background:#fff!important;border-color:#dfe4e3!important}
  body .fan-shell .fan-lab-box .fan-lab-results b{color:#737700!important;-webkit-text-fill-color:#737700!important}
}


/* =========================================================
   v1.3.9 - FINAL REPORT POLISH / PRINT / PERSONALIZATION
   ========================================================= */
body .fan-shell .fan-bigscore{
  display:inline-flex!important;
  align-items:baseline!important;
  gap:2px!important;
  white-space:nowrap!important;
  direction:ltr!important;
  unicode-bidi:isolate!important;
  font-variant-numeric:tabular-nums!important;
  max-width:100%!important;
}
body .fan-shell .fan-bigscore small{white-space:nowrap!important;flex:0 0 auto!important}
body .fan-shell .fan-major-context{
  display:grid!important;
  gap:5px!important;
  margin:10px 0 13px!important;
  padding:11px 13px!important;
  border-right:3px solid #eef10b!important;
  border-radius:10px!important;
  background:#f7f9f8!important;
}
body .fan-shell .fan-major-context b{color:#313b3f!important;-webkit-text-fill-color:#313b3f!important}
body .fan-shell .fan-major-context span{color:#5d686d!important;-webkit-text-fill-color:#5d686d!important;line-height:1.9!important}
body .fan-shell .fan-personal-question{font-weight:700!important;background:#fffbea!important;border-radius:8px!important;padding:7px 9px!important}
body .fan-shell .fan-print-tip{display:block!important;max-width:320px!important;margin-top:7px!important;color:#68757a!important;-webkit-text-fill-color:#68757a!important;font-size:11px!important;line-height:1.7!important}
/* Final lab surface is light on screen and print; no dark/low-contrast variant survives theme rules. */
body .fan-shell .fan-lab-box,
body .fan-shell section.fan-lab-box{
  background:#f7f9f8!important;
  color:#283236!important;
  border:1px solid #dfe5e3!important;
  border-right:5px solid #f1f40f!important;
  box-shadow:none!important;
}
body .fan-shell .fan-lab-box *{text-shadow:none!important}
body .fan-shell .fan-lab-box h1,
body .fan-shell .fan-lab-box h2,
body .fan-shell .fan-lab-box h3,
body .fan-shell .fan-lab-box b{color:#242d30!important;-webkit-text-fill-color:#242d30!important}
body .fan-shell .fan-lab-box p,
body .fan-shell .fan-lab-box li,
body .fan-shell .fan-lab-box small,
body .fan-shell .fan-lab-box span:not(.fan-label){color:#58656a!important;-webkit-text-fill-color:#58656a!important}
body .fan-shell .fan-lab-box .fan-label{color:#717400!important;-webkit-text-fill-color:#717400!important}
body .fan-shell .fan-lab-box .fan-lab-results>div{background:#fff!important;border:1px solid #dfe4e3!important}

@media print{
  body .fan-shell .fan-bigscore{font-size:48pt!important;white-space:nowrap!important}
  body .fan-shell .fan-bigscore small{font-size:13pt!important}
  body .fan-shell .fan-print-tip{display:none!important}
  body .fan-shell .fan-major-context{background:#f7f9f8!important;border-right:1.2mm solid #eef10b!important}
  body .fan-shell .fan-action-box .fan-school-choice-cta{
    display:flex!important;
    background:#f7f9f8!important;
    color:#283236!important;
    border:1px solid #dfe4e3!important;
    border-right:1.2mm solid #eef10b!important;
    box-shadow:none!important;
  }
  body .fan-shell .fan-action-box .fan-school-choice-cta h2{color:#242d30!important;-webkit-text-fill-color:#242d30!important}
  body .fan-shell .fan-action-box .fan-school-choice-cta p{color:#58656a!important;-webkit-text-fill-color:#58656a!important}
  body .fan-shell .fan-action-box .fan-school-choice-cta .fan-primary{display:none!important}
}

/* v1.4.0 — focused assessment + optional enrichment */
.fan-autosave-note{margin:14px 0 18px;padding:11px 14px;border-radius:14px;background:#f5f7e8;border:1px solid rgba(190,185,0,.28);font-size:13px;line-height:1.9;color:var(--fan-text)}
.fan-question-focus{max-width:820px;margin-inline:auto;padding:clamp(22px,4vw,38px)}
.fan-question-meta{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:18px;flex-wrap:wrap}
.fan-question-section{font-size:13px;font-weight:800;color:var(--fan-muted);background:var(--fan-canvas);border-radius:999px;padding:7px 12px}
.fan-question-focus>h2{font-size:clamp(22px,4.6vw,34px);line-height:1.7;margin:0 0 8px}
.fan-question-hint{margin:0 0 18px}
.fan-scale-focus{display:grid;grid-template-columns:1fr;gap:9px;margin-top:18px}
.fan-scale-focus label{width:100%}
.fan-scale-focus label span{display:block;width:100%;box-sizing:border-box;text-align:right;padding:13px 16px;border-radius:14px;transition:transform .12s ease,border-color .12s ease,background .12s ease}
.fan-scale-focus label input:checked+span{transform:translateY(-1px)}
.fan-enrichment-card{border:1px solid rgba(25,35,38,.08)}
.fan-enrichment-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:18px}
.fan-enrichment-grid a{display:flex;flex-direction:column;gap:7px;text-decoration:none;color:var(--fan-text);background:var(--fan-canvas);border:1px solid rgba(25,35,38,.08);border-radius:18px;padding:16px;min-height:92px}
.fan-enrichment-grid a b{font-size:15px}
.fan-enrichment-grid a span{font-size:13px;line-height:1.8;color:var(--fan-muted)}
.fan-enrichment-grid a.done{background:#f3f8ef;border-color:rgba(56,128,70,.22)}
@media(max-width:720px){
  .fan-question-focus{padding:20px 15px}
  .fan-question-meta{align-items:flex-start}
  .fan-question-focus>h2{font-size:23px;line-height:1.65}
  .fan-scale-focus label span{padding:12px 13px;font-size:14px}
  .fan-enrichment-grid{grid-template-columns:1fr}
}

/* v1.4.1 — question-first warm start and auto-advance */
.fan-warm-start{max-width:880px;margin:24px auto;padding:clamp(20px,4vw,34px);scroll-margin-top:24px}
.fan-warm-head{margin-bottom:18px}.fan-warm-head h2{margin:7px 0 6px;font-size:clamp(24px,4vw,34px)}.fan-warm-head p{margin:0;color:var(--fan-muted);line-height:1.9}
.fan-warm-progress{height:5px;background:#e8ecec;border-radius:99px;overflow:hidden;margin:14px 0 22px}.fan-warm-progress div{height:100%;width:16.66%;background:var(--fan-accent);transition:width .2s ease}
.fan-warm-step{display:none}.fan-warm-step.active{display:block;animation:fanIn .22s ease}.fan-warm-step h3{font-size:clamp(22px,4.4vw,32px);line-height:1.7;margin:8px 0 14px}
.fan-warm-prev{border:0;background:transparent;color:var(--fan-muted);cursor:pointer;margin-top:14px;padding:7px 0;font:inherit}
.fan-warm-note,.fan-auto-next-hint{display:block;color:var(--fan-muted);font-size:13px;line-height:1.7}.fan-warm-note{margin-top:14px;text-align:center}
.fan-question-nav{align-items:center}.fan-question-nav .fan-auto-next-hint{margin-inline-start:auto}
.fan-answer-picked{opacity:.86;transform:scale(.995);transition:opacity .15s ease,transform .15s ease}
.fan-start-ready{animation:fanStartPulse .55s ease}@keyframes fanStartPulse{0%{transform:translateY(8px);opacity:.72}100%{transform:none;opacity:1}}
.fan-profile-final .fan-card{max-width:900px;margin-inline:auto}
@media(max-width:640px){.fan-warm-start{margin:14px 0;padding:18px 14px}.fan-warm-step h3{font-size:22px}.fan-question-nav{justify-content:flex-start}.fan-question-nav .fan-auto-next-hint{margin-inline-start:0}.fan-warm-note{font-size:12px}}

/* v1.4.2: force readable sample-report button labels across theme/mobile Safari overrides. */
body .fan-shell .fan-sample-before-pay .fan-secondary,body .fan-shell .fan-sample-before-pay .fan-secondary:visited,body .fan-shell .fan-sample-before-pay .fan-secondary:hover{color:#111!important;-webkit-text-fill-color:#111!important;}

/* v1.4.4: clearer main + floating exam-group selection */
.fan-group-block{margin-top:14px;padding:14px;border:1px solid rgba(22,38,52,.10);border-radius:16px;background:rgba(255,255,255,.72)}
.fan-group-caption{display:flex;align-items:center;justify-content:space-between;gap:10px;font-weight:800;color:var(--fan-text);margin-bottom:10px}
.fan-group-caption small{font-weight:600;color:var(--fan-muted);font-size:.82em}
.fan-check-grid-float{grid-template-columns:repeat(2,minmax(0,1fr))}
@media (max-width:560px){.fan-group-caption{align-items:flex-start;flex-direction:column;gap:3px}.fan-check-grid-float{grid-template-columns:1fr 1fr}}
