.quiz-top{border-bottom:0;padding-bottom:2px}.quiz-top-actions{display:flex;align-items:center;gap:12px}.quiz-top-actions>button{display:grid;place-items:center;min-width:40px;min-height:40px;border:1px solid #caddef;background:#fff;color:#2167b1;border-radius:11px;font-size:21px;line-height:1}.quiz-top-actions>button:disabled{color:#a0b4c8;background:#f4f7fb}.quiz-shell[data-active-slide="1"] .quiz-top{background:#155c9d}.quiz-shell[data-active-slide="1"] .quiz-top .chapter-tag,.quiz-shell[data-active-slide="1"] .quiz-counter,.quiz-shell[data-active-slide="1"] .quiz-counter b{color:#e2effb}.quiz-controls .quiz-nav{min-width:50px}.type-choice-heading{white-space:nowrap;font-size:clamp(23px,3vw,36px)}.campaign-brand-row{display:flex;align-items:center;gap:14px;margin:25px 0 12px}.campaign-brand{display:flex;align-items:center;justify-content:center;gap:12px;padding:13px 24px;border:1px solid #dbe5ec;background:#fff;border-radius:14px;min-height:65px}.campaign-brand img{width:39px;height:39px;object-fit:contain}.campaign-brand b{font-size:17px}.tapsi-wordmark{font-size:24px;font-weight:700;color:#222}.tapsi-brand:before{content:'';width:19px;height:13px;border-top:4px solid #f57420;border-bottom:4px solid #f57420;transform:skew(-18deg)}.risk-entry{display:flex;align-items:center;justify-content:space-between;gap:30px;margin-top:28px;padding:25px;background:#edf5ff;border:1px solid #d2e4f8;border-radius:18px}.risk-entry .chapter-tag{margin-bottom:7px;font-size:11px}.risk-entry h3{font-size:21px;margin-bottom:8px}.risk-entry p{font-size:13px;max-width:620px;margin:0}.risk-entry .btn{flex-shrink:0}.risk-dialog{border:0;border-radius:24px;padding:25px;width:min(620px,calc(100% - 32px));max-height:calc(100dvh - 40px);overflow:auto;color:var(--ink);background:#fff;font-family:Vazir,sans-serif;box-shadow:0 25px 80px #0b2d4d44}.risk-dialog::backdrop{background:#102d4d77;backdrop-filter:blur(4px)}.risk-dialog [hidden]{display:none!important}.risk-dialog-head{display:flex;justify-content:space-between;align-items:flex-start;gap:15px;margin-bottom:16px}.risk-dialog-head .chapter-tag{font-size:10px;margin:0 0 5px}.risk-dialog-head h2{font-size:24px;margin:0}.risk-dialog-head .close-btn{background:#f0f5f9;border-radius:50%;font-size:26px;min-width:38px;height:38px;display:grid;place-items:center;line-height:1}.risk-intro-copy{font-size:13px;color:#586b7c}.field-label{display:block;font-size:14px;font-weight:700;margin-bottom:8px}.risk-dialog input[type="tel"],.risk-bmi-fields input{width:100%;min-height:47px;border:1px solid #afc9e3;border-radius:10px;background:#fff;padding:9px 12px;font-size:17px;color:#234662}.field-note{font-size:11px;color:#677e91;margin:6px 0 17px}.risk-consent{display:flex;align-items:flex-start;gap:10px;font-size:12px;line-height:1.9;color:#3a556d;margin:19px 0 10px}.risk-consent input{width:19px;height:19px;accent-color:#2167b1;flex:none;margin:4px 0 0}.risk-private-note{font-size:10px;color:#6d8293;margin:10px 0 15px}.form-error{font-size:12px;color:#9c4024;line-height:1.8;margin:9px 0;min-height:0}.form-error:empty{display:none}.risk-dialog form>.btn{width:100%;justify-content:center}.risk-without-phone{display:block;margin:15px auto 0;background:none;border:0;border-bottom:1px solid #bdd1e3;padding:7px 0;color:#386d9a;font-size:12px;min-height:40px}.risk-step-line{display:flex;align-items:center;gap:20px;font-size:11px;color:#507594;margin-bottom:20px}.risk-step-line progress{height:7px;flex:1;accent-color:#2167b1;max-width:200px}.risk-dialog fieldset{border:0;padding:0;margin:0;min-width:0}.risk-dialog legend{font-size:21px;font-weight:700;line-height:1.8;padding:0;width:100%;margin-bottom:7px}.risk-dialog legend:focus{outline:none}.risk-question-note{font-size:12px;color:#61788b;line-height:1.9}.risk-options{display:grid;gap:9px;margin-top:18px}.risk-options label{display:flex;align-items:center;gap:12px;min-height:53px;border:1px solid #cbdeef;border-radius:12px;padding:10px 14px;font-size:13px;cursor:pointer;line-height:1.8}.risk-options label:has(input:checked){border-color:#2167b1;background:#edf5ff}.risk-options input{width:18px;height:18px;flex:none;accent-color:#2167b1;margin:0}.risk-question-actions{display:flex;justify-content:space-between;gap:20px;margin-top:24px}.risk-question-actions .btn{min-width:100px;justify-content:center}.risk-bmi-fields{display:grid;grid-template-columns:1fr 1fr;gap:15px}.risk-bmi-fields label{font-size:11px}.risk-bmi-fields input{font-size:15px;display:block;margin-top:5px}.risk-calc-bmi{border:0;background:none;color:#2167b1;font-size:11px;padding:9px 0;text-decoration:underline}.risk-result{background:#edf5ff;border:1px solid #d7e7f8;border-radius:16px;padding:24px;text-align:center;margin-bottom:16px}.risk-result>span{font-size:11px;color:#5d7b96}.risk-result h3{font-size:27px;color:#155c9d;margin:12px 0}.risk-score{display:flex;align-items:baseline;justify-content:center;gap:10px;margin:14px 0}.risk-score bdi{font-size:42px;color:#2167b1;font-weight:700}.risk-score span{font-size:11px;color:#637d95}.risk-result p,.risk-result-limit{font-size:12px;line-height:1.95}.risk-result p{margin-bottom:0}.risk-result-limit{color:#566e81;margin-bottom:20px}.risk-method{border-top:1px solid #e1e9f1;margin-top:24px;padding-top:14px;font-size:10px;color:#60798e}.risk-method summary{cursor:pointer}.risk-method p{margin:10px 0}.risk-method a{display:block;color:#2167b1;text-decoration:underline;margin:7px 0}
@media(max-width:800px){
 html{scroll-padding-top:78px}.wrap{width:calc(100% - 32px)}.site-header .header-inner{height:62px;gap:12px;width:calc(100% - 28px)}.site-header .brand{gap:9px;min-width:0}.site-header .brand img{width:35px;height:40px}.site-header .brand span{font-size:9px;line-height:1.9}.site-header .brand strong{font-size:10px;white-space:nowrap}.site-header .header-download{font-size:10px;padding:4px 0;gap:5px;min-height:40px;white-space:nowrap}.site-header .header-download .icon{width:17px;height:17px}.page-nav{top:62px}.desktop-nav{display:none}
 .quiz-intro{padding:9px 0 24px}.quiz-intro>.wrap{width:calc(100% - 24px)}.quiz-shell{border-radius:20px}.quiz-top{padding:10px 14px 0;min-height:48px;gap:8px}.quiz-top .chapter-tag{font-size:9px;line-height:1.6}.quiz-top-actions{gap:8px}.quiz-top-actions>button{min-width:36px;min-height:36px;border-radius:9px;font-size:20px}.quiz-counter{font-size:10px;white-space:nowrap}.quiz-counter b{font-size:15px}
 .quiz-slide{padding:14px}.quiz-layout,.quiz-layout.quiz-world-layout{display:flex;flex-direction:column;align-items:stretch;gap:14px;min-height:0}.quiz-copy,.quiz-world-layout .quiz-copy{order:0}.quiz-world-layout .quiz-world{order:1}.desktop-break{display:none}.quiz-copy h1,.quiz-copy h2,.quiz-slide-blue .quiz-copy h2,.quiz-world-layout .quiz-copy h2{font-size:27px;line-height:1.65;letter-spacing:-.7px;margin:6px 0 13px}.quiz-eyebrow{font-size:10px}.quiz-copy>p{font-size:12px;line-height:1.9;margin-bottom:14px}.quiz-blank{min-width:42px;padding:0 7px;border-radius:7px}.diagnosis-blank{min-width:58px}.quiz-options{gap:8px}.quiz-options button,.quiz-slide-blue .quiz-options button{min-height:61px;padding:8px 5px;border-radius:11px}.quiz-options strong{font-size:24px}.quiz-options .quiz-ratio{gap:6px}.quiz-options .quiz-ratio>span{font-size:14px}.quiz-options .answer-label{font-size:9px}.quiz-feedback{min-height:0;padding:0;font-size:11px;line-height:1.85}.quiz-feedback:not(:empty){padding-top:10px;min-height:36px}.quiz-source{font-size:8px;line-height:1.8;margin-top:10px}
 .quiz-visual{border-radius:16px;padding:12px;min-height:0}.people-visual{display:flex;align-items:center;justify-content:center;gap:17px;text-align:right;min-height:100px}.people-visual .quiz-visual-label{display:none}.people-visual .quiz-mystery{height:76px;width:76px;min-width:76px;border-width:9px;margin:0}.quiz-mystery strong{font-size:31px}.quiz-mystery span{display:none}.people-visual .quiz-people{width:145px;flex:none;padding:7px 0;gap:3px;grid-template-columns:repeat(9,1fr)}.quiz-person svg{width:13px;height:32px}.people-visual>p{font-size:11px;line-height:1.8;margin:0;max-width:135px}.diagnosis-visual{display:grid;grid-template-columns:118px minmax(0,1fr);gap:7px 15px;min-height:140px}.diagnosis-visual .quiz-donut{grid-column:1;grid-row:1/3;width:118px;height:118px;padding:13px}.quiz-donut strong{font-size:32px}.quiz-donut span{font-size:8px;line-height:1.7;max-width:80px}.diagnosis-visual .quiz-legend{grid-column:2;grid-row:1;display:grid;gap:4px;margin:0;text-align:right;align-self:end;font-size:8px}.diagnosis-visual>p{grid-column:2;grid-row:2;font-size:10px;line-height:1.9;margin:0;align-self:center}.quiz-slide-blue .quiz-fill-hint{font-size:11px;margin-bottom:12px}
 .quiz-world-layout .quiz-copy .btn{font-size:12px;min-height:40px;padding:8px 14px;margin:0}.world-dashboard{padding:13px;border-radius:16px}.world-chart-heading{margin-bottom:13px}.world-chart-kicker{font-size:8px}.world-chart-heading h3{font-size:15px;margin-top:1px}.world-bar-row{grid-template-columns:35px minmax(0,1fr);gap:8px;margin-bottom:10px}.world-year{font-size:12px}.world-year span{font-size:8px}.world-bar-track{height:31px}.world-bar{padding:0 8px;gap:5px}.world-bar bdi{font-size:20px}.world-bar-unit{font-size:8px}.global-trend{padding-bottom:12px}.global-trend figcaption{font-size:8px;line-height:1.7}.world-type-charts{gap:8px;margin-top:12px}.type-chart{padding:11px 9px;border-radius:12px}.type-chart-tag{font-size:10px}.type-chart-value{gap:4px;min-height:33px;margin:5px 0 8px;flex-wrap:nowrap}.type-chart-value bdi{font-size:25px}.type-chart-value span{font-size:8px}.type1-pictogram,.type2-segments{min-height:27px;gap:2px}.type1-pictogram svg{height:27px}.type2-segments i{height:23px}.type2-segments .threshold-plus{font-size:15px}.type-chart-caption{font-size:8px;margin-top:7px}.type-chart>small{font-size:7px}.world-dashboard .world-note{font-size:7px;line-height:1.9;margin-top:10px;padding-top:9px}.quiz-sources{font-size:9px;margin-top:12px}
 .quiz-controls{padding:13px 14px;gap:13px;flex-wrap:nowrap;align-items:flex-start}.quiz-auto{width:auto;flex:1;font-size:9px;justify-content:flex-end;gap:4px 9px;line-height:1.8}.quiz-auto button{font-size:9px;min-height:27px}.quiz-progress{padding:9px 0}.quiz-bottom{padding:9px 14px 13px}.quiz-bottom a{font-size:10px;min-height:34px;display:flex;align-items:center}
 .campaign-choices{padding:25px 0 32px}.campaign-choices>.wrap{width:calc(100% - 32px)}.campaign-choices .chapter-tag{font-size:10px;margin-bottom:8px}.type-choice-heading{font-size:25px;letter-spacing:-.7px;white-space:nowrap;margin-bottom:13px}.diabetes-definition{font-size:13px;line-height:2;margin-bottom:22px}.topic-choices{gap:12px;margin-top:18px}.topic-choices article{padding:18px;border:1px solid #d5e3f0;border-radius:15px;background:white}.topic-choices .path-index{display:none}.topic-choices h3{font-size:21px;white-space:nowrap;margin-bottom:8px}.topic-choices p{font-size:13px;line-height:1.95;margin-bottom:15px}.topic-choices .btn{font-size:12px}.choice-foot{font-size:10px;margin:17px 0}.campaign-partners{padding:30px 0}.campaign-partners h2{font-size:25px}.campaign-partners>.wrap>p{font-size:13px;line-height:2}.campaign-brand-row{gap:10px;margin:20px 0}.campaign-brand{padding:9px 18px;min-height:56px;gap:8px}.campaign-brand img{width:32px;height:32px}.campaign-brand b{font-size:15px}.tapsi-wordmark{font-size:21px}.partner-categories{font-size:12px;gap:12px}.partner-data{margin-top:20px}.risk-entry{display:block;padding:18px;margin-top:22px;border-radius:15px}.risk-entry h3{font-size:20px}.risk-entry p{font-size:12px}.risk-entry .btn{margin-top:16px;font-size:12px;min-height:43px}
 .risk-dialog{width:calc(100% - 20px);max-height:calc(100dvh - 20px);padding:20px 17px;border-radius:20px}.risk-dialog-head h2{font-size:21px}.risk-dialog legend{font-size:20px}.risk-options label{font-size:12px;min-height:53px;padding:10px 12px}.risk-dialog-head{margin-bottom:14px}.risk-intro-copy{font-size:12px}.risk-result h3{font-size:25px}.risk-method{font-size:9px}.section{padding-top:35px;padding-bottom:35px}.detail-hero h1{font-size:27px}.site-footer{padding-bottom:30px}.risk-dialog::backdrop{backdrop-filter:none}
}
@media(max-width:350px){.type-choice-heading{font-size:23px}.quiz-copy h1,.quiz-copy h2,.quiz-slide-blue .quiz-copy h2,.quiz-world-layout .quiz-copy h2{font-size:25px}.world-type-charts{gap:6px}.type-chart{padding:10px 7px}.type-chart-value bdi{font-size:23px}.type-chart-value span{font-size:7px}.world-bar-unit{font-size:7px}.site-header .header-download{font-size:9px}}

/* Readable supporting labels and compact, attached banner content on phones. */
@media(max-width:800px){
 .quiz-top-actions>button{min-width:44px;min-height:44px}
 .quiz-top{padding-top:8px;padding-bottom:3px}
 .quiz-source,.quiz-eyebrow,.quiz-top .chapter-tag{font-size:11px}
 .world-chart-kicker,.world-chart-unit,.global-trend figcaption,.world-year span,.world-bar-unit{font-size:11px}
 .world-chart-heading{margin-bottom:12px}.world-chart-heading h3{font-size:16px}
 .world-bar-track{height:34px}.world-year{font-size:13px}
 .type-chart-tag,.type-chart-value span,.type-chart-caption,.type-chart>small{font-size:11px}
 .type-chart-value{min-height:45px;flex-wrap:wrap;gap:0 5px;align-content:center}
 .type-chart-value bdi{font-size:26px}.type-chart-caption{line-height:1.7}
 .world-dashboard .world-note{display:none}
 .quiz-sources,.quiz-auto,.quiz-auto button,.quiz-bottom a,.quiz-options .answer-label{font-size:11px}
 .quiz-legend,.diagnosis-visual .quiz-legend{font-size:11px}
 .diagnosis-visual{grid-template-columns:124px minmax(0,1fr);gap:8px 12px}
 .diagnosis-visual .quiz-donut{width:124px;height:124px}
 .quiz-donut span{font-size:11px;max-width:90px}.diagnosis-visual>p{font-size:11px}
 .site-header .brand strong,.site-header .header-download{font-size:11px}
 .quiz-copy>p,.quiz-slide-blue .quiz-fill-hint{font-size:13px}
 .topic-choices article{padding:16px}.topic-choices h3{margin-bottom:9px}
 .topic-choices .btn{min-height:44px}.choice-foot{font-size:11px}
 .partner-categories{display:grid;grid-template-columns:1fr 1fr;gap:14px;font-size:12px}
}
@media(max-width:350px){
 .site-header .brand span{font-size:0}.site-header .brand strong{font-size:11px}
 .quiz-top .chapter-tag{max-width:116px;line-height:1.7}
 .type-chart-value{min-height:58px}.type-chart-value bdi{font-size:25px}
 .world-bar{padding:0 6px;gap:4px}.world-bar bdi{font-size:18px}.world-bar-unit{font-size:11px}
 .diagnosis-visual{grid-template-columns:110px minmax(0,1fr)}
 .diagnosis-visual .quiz-donut{width:110px;height:110px;padding:11px}
}
