/* Review revision 7: mobile reading, restrained services and continuous care path. */
:root{--action:#075a43;--action-hover:#064a37}
body,button,input,select,textarea,h1,h2,h3,h4{font-family:Vazir,sans-serif}
.btn-primary,.btn-green{background:var(--action);border-color:var(--action);color:#fff}.btn-primary:hover,.btn-green:hover{background:var(--action-hover);border-color:var(--action-hover)}
.reading-width{max-width:820px}.campaign-v7 p,.detail-v7 p{line-height:2.05}.campaign-v7 .section,.detail-v7 .section{padding:48px 0}.campaign-v7 h2,.detail-v7 h2{font-size:clamp(23px,2.7vw,32px);line-height:1.6;margin:0 0 22px}.detail-v7 h3{font-size:20px;margin:30px 0 12px;line-height:1.7}.campaign-v7 p,.detail-v7 p{font-size:16px}.route-note,.data-origin{font-size:13px!important;color:#516575}.type-name{white-space:nowrap}.topic-choices{display:grid;grid-template-columns:1fr 1fr;gap:32px;margin:32px 0}.topic-choices article{border:0;border-top:2px solid #cbdcda;background:transparent;border-radius:0;padding:22px 0;box-shadow:none}.topic-choices h3{font-size:23px}.topic-choices .btn{font-size:13px;min-height:44px;padding:9px 15px}.topic-choices p{font-size:15px}
.campaign-partners{background:#f0f5f5;padding:48px 0}.campaign-partners h2{font-size:30px}.campaign-brand-row{gap:22px;margin:25px 0}.campaign-brand{padding:0;border:0;background:transparent;min-height:44px;gap:8px}.campaign-brand small{font-size:11px;color:#536978}.tapsi-brand:before{content:none}.partner-services{border-block:1px solid #cbd8da}.partner-service{border-bottom:1px solid #d1dcdf}.partner-service:last-child{border-bottom:0}.partner-service>summary,.coupon-drawer>summary{display:flex;align-items:center;gap:12px;min-height:56px;cursor:pointer;list-style:none;font-size:15px;padding:12px 0}.partner-service summary::-webkit-details-marker,.coupon-drawer summary::-webkit-details-marker,.timeline-step summary::-webkit-details-marker{display:none}.fold-sign{margin-right:auto;flex:none;font-size:22px;color:#47655d;font-weight:400}.partner-service[open]>summary>.fold-sign,.coupon-drawer[open]>summary>.fold-sign,.timeline-step[open]>summary>.fold-sign{transform:rotate(45deg)}
.coupon-rows{list-style:none;margin:0;padding:0}.coupon-row{padding:15px 0;border-top:1px solid #dbe3e5;font-size:13px;background:transparent}.coupon-row>div:first-child{display:flex;gap:10px;flex-wrap:wrap;align-items:baseline}.coupon-row strong{font-size:14px}.coupon-row>div:first-child>span{color:#546974}.coupon-placeholder{display:flex;flex-wrap:wrap;gap:5px 20px;margin:7px 0;color:#536570}.coupon-placeholder b{font-weight:400}.coupon-conditions{font-size:12px;color:#536570}.coupon-conditions>summary{cursor:pointer;min-height:36px;display:list-item}.coupon-conditions p{font-size:13px;line-height:1.9;margin:8px 0}.coupon-drawer{border-top:1px solid #cbd8d4;margin:18px 0 0;background:transparent;border-radius:0}.coupon-drawer>summary{color:#075a43;font-size:14px}.coupon-drawer .icon{width:18px;height:18px;flex:none}.karafs-partner-link{display:flex;align-items:center;gap:14px;padding:22px 0;color:#173b30;text-decoration:none}.karafs-partner-link img{width:40px;height:46px;object-fit:contain}.karafs-partner-link>span{display:grid;gap:3px}.karafs-partner-link small{font-size:12px;color:#536978}.karafs-partner-link>.icon{margin-right:auto}
.detail-v7 .detail-hero{padding:26px 0 0;background:transparent}.detail-v7 .detail-hero h1{font-size:clamp(25px,3.2vw,38px);line-height:1.7;margin:8px 0 20px}.detail-v7 .detail-hero .chapter-tag{font-size:13px}.campaign-banner-slot{min-height:160px;aspect-ratio:4.2/1;background:#eaf2f6;border:1px dashed #b9cdd5;border-radius:10px;display:grid;place-items:center;color:#486571;font-size:14px;margin-bottom:28px}.detail-v7 .page-nav{position:relative;top:0}.plain-facts{list-style:disc;padding-right:22px;margin:0}.plain-facts li{padding:7px 0;line-height:2}.plain-facts strong{display:block;font-size:16px;font-weight:700}.detail-v7 #know{background:transparent}.signs-list{list-style:none;margin:20px 0;padding:0;display:grid;grid-template-columns:1fr 1fr;gap:20px 26px}.signs-list>li{display:flex;gap:12px;align-items:flex-start}.signs-list .icon{flex:none;margin-top:6px}.signs-list p{font-size:14px;margin:4px 0}.signs-list strong{font-size:16px}.detail-v7 .urgent{margin:26px 0;border-radius:8px}.detail-v7 .urgent p{font-size:14px}.detail-v7 #check{padding-top:8px}
.care-timeline{list-style:none;margin:24px 0 0;padding:0;position:relative}.care-timeline:before{content:'';position:absolute;right:24px;top:25px;bottom:35px;width:2px;background:#d6e1dd}.care-timeline>li{position:relative;margin:0}.timeline-step{margin:0;border:0;border-bottom:1px solid #dce5e0;background:transparent;border-radius:0}.timeline-step>summary{display:flex;align-items:flex-start;gap:18px;padding:22px 0;list-style:none;cursor:pointer;min-height:80px}.step-number{display:flex;justify-content:center;align-items:center;flex:none;width:50px;height:50px;font-size:25px;line-height:1;background:#f7f9f8;color:#075a43;font-weight:700;z-index:1;direction:ltr}.step-heading{display:flex;flex-direction:column;gap:6px;flex:1;padding-top:7px;min-width:0}.step-heading>strong{font-size:18px;line-height:1.7}.step-heading>small{font-size:13px;line-height:1.9;color:#536971}.timeline-step>summary>.fold-sign{padding-top:8px}.step-content{margin:0 68px 22px 0}.step-content>p{margin:0}.step-content .coupon-drawer{margin-top:16px}.detail-v7 #nutrition{background:transparent}.detail-v7 .carb-help{background:#f0f5f3;border:0;border-radius:10px;padding:26px;margin:32px 0 0}.detail-v7 .carb-help h3{margin-top:18px}.detail-v7 .carb-help p{font-size:15px}.detail-v7 .carb-help ol{padding-right:22px}.detail-v7 .carb-help li{font-size:14px;line-height:2}.carb-steps{padding-right:24px}.carb-steps li{padding:7px 0;line-height:2}.carb-example{padding:14px 20px;background:#f1f5f7;border-radius:8px;margin:20px 0}.carb-example p{font-size:14px;margin:0}.food-table-wrap{max-width:100%;overflow-x:auto;margin:24px 0 18px;border:0;border-radius:0}.food-table{min-width:0;width:100%;border-collapse:collapse;font-size:14px}.food-table caption{text-align:right;color:#17323c;font-size:16px;font-weight:700;padding:0 0 14px}.food-table th,.food-table td{text-align:right;vertical-align:top;white-space:normal;padding:14px 12px;border-bottom:1px solid #d8e1e4;line-height:1.9}.food-table th{background:transparent}.food-table thead{background:#eef3f5}.food-table tbody th{font-weight:400;width:32%}.food-table th small{display:block;color:#536978;font-weight:400;font-size:12px}.food-table td:last-child{white-space:nowrap}.food-source{font-size:13px;color:#486571}.food-source summary{min-height:40px;cursor:pointer}.food-source p{font-size:13px}.download-section{background:#eaf3ee;padding:32px 0!important}.download-panel{background:transparent;color:#173c2e;box-shadow:none;padding:0;border:0;display:flex;gap:25px;align-items:center}.download-panel h2{color:#173c2e!important;font-size:27px!important}.download-panel p{color:#304e42;font-size:15px!important;line-height:2}.download-panel .section-label{color:#38604e}.download-actions small{color:#3e5c4d;font-size:12px}.download-panel .btn{background:#075a43;color:white}.download-dialog{font-family:Vazir,sans-serif;max-width:480px;color:#172e3b;background:#fff}.download-dialog label{display:block;margin:16px 0 7px;font-size:14px}.download-dialog input[type=tel],.download-dialog select{font:inherit;font-size:16px;width:100%;min-height:46px;border:1px solid #a6bfb3;background:white;color:#172e3b;border-radius:7px;padding:8px 12px}.download-dialog .download-consent{display:flex;gap:11px;align-items:flex-start;font-size:13px;line-height:1.9}.download-consent input{width:20px;height:20px;margin-top:4px;flex:none;accent-color:#075a43}.download-dialog form>.btn{min-height:46px;width:100%;justify-content:center}.download-dialog #download-error{font-size:13px;color:#a23a27}.download-dialog #download-error:empty{display:none}.karafs-data-page h1{font-size:28px;margin:20px 0}.back-link{font-size:13px;color:#075a43}.weight-result{margin:30px 0 12px;padding:25px 0;border-block:1px solid #cfddd5}.weight-result figcaption{font-size:15px;color:#365746}.weight-result>div{display:flex;align-items:baseline;gap:18px;flex-wrap:wrap;color:#075a43}.weight-result strong{font-size:clamp(58px,10vw,90px);font-weight:700;line-height:1.5}.weight-result span{font-size:21px}.weight-context{font-size:14px;line-height:2;color:#4b6358}.community-count-chart{margin:32px 0}.community-count-chart figcaption{font-size:18px;font-weight:700;margin-bottom:20px}.community-chart-label{display:flex;justify-content:space-between;gap:12px;margin:15px 0 7px;font-size:14px}.community-chart-label strong{font-size:20px;color:#075a43}.community-track{height:12px;background:#e0e9e4;border-radius:3px}.community-track span{display:block;height:100%;background:#075a43;border-radius:3px}.community-track .new-users{background:#0dac7b}.new-member-copy{font-size:16px}.carb-totals{margin:40px 0 20px;border-top:1px solid #d6e0d9;padding-top:25px}.carb-totals h2{font-size:22px}.carb-totals p{font-size:13px;color:#536978}.carb-totals dl{display:grid;grid-template-columns:1fr 1fr;gap:20px}.carb-totals dt{font-size:13px}.carb-totals dd{margin:10px 0;font-size:22px;color:#075a43}.site-footer{padding-bottom:30px}
.quiz-copy h1 .no-break,.quiz-copy h2 .no-break{white-space:nowrap}.quiz-blank{display:inline-block;vertical-align:baseline}.quiz-options .quiz-ratio{font-size:20px;line-height:1.5;display:block}.quiz-ratio small{display:block;font-size:12px;font-weight:400}.quiz-top{padding:15px 22px}.quiz-slide{padding:25px}.quiz-copy h1,.quiz-copy h2{font-size:clamp(30px,3.1vw,46px);line-height:1.7}.quiz-top-actions>button{min-width:44px;min-height:44px}.quiz-controls{min-height:45px;padding:5px 20px}.quiz-controls .quiz-nav{margin-right:auto}.quiz-bottom{padding:8px 22px 15px}.quiz-bottom a{font-size:14px}.quiz-progress button{min-height:16px}.quiz-slide .world-bar,.quiz-slide .world-bar.projected{animation:none}.world-bar.projected{border:0}.world-chart-heading h3{font-size:18px}
@media(max-width:800px){
 .campaign-v7 .section,.detail-v7 .section{padding:30px 0}.campaign-v7 p,.detail-v7 p{font-size:15px}.reading-width{width:calc(100% - 36px)}.topic-choices{grid-template-columns:1fr;gap:6px;margin-top:22px}.topic-choices article{border:0;border-top:1px solid #cfddda;background:transparent;padding:22px 0}.topic-choices h3{font-size:22px;white-space:nowrap}.topic-choices p{font-size:15px}.campaign-partners{padding:30px 0}.campaign-partners h2{font-size:25px}.campaign-brand small{font-size:11px}.campaign-brand-row{flex-wrap:wrap}.partner-service>summary{font-size:15px}.karafs-partner-link strong{font-size:16px}.detail-v7 .detail-hero h1{font-size:25px}.campaign-banner-slot{min-height:105px;aspect-ratio:2.9/1;margin-bottom:20px}.detail-v7 .page-nav .wrap{width:100%}.detail-v7 .page-nav a{font-size:12px;padding:11px 12px}.detail-v7 h3{font-size:19px}.signs-list{grid-template-columns:1fr;gap:15px}.plain-facts li{font-size:15px}.care-timeline:before{right:20px}.step-number{width:42px;height:48px;font-size:24px}.timeline-step>summary{gap:12px;padding:18px 0}.step-heading{padding-top:6px}.step-heading strong{font-size:16px}.step-heading small{font-size:12px}.step-content{margin-right:54px}.step-content p{font-size:14px}.step-content .coupon-drawer>summary{font-size:13px;gap:7px}.coupon-drawer>summary .icon{display:none}.coupon-placeholder{display:grid;gap:4px}.coupon-row strong{font-size:13px}.coupon-conditions p{font-size:12px}.carb-example{padding:12px 14px}.food-table{font-size:12px}.food-table th,.food-table td{padding:11px 6px}.food-table th small{font-size:11px}.food-table tbody th{width:30%}.food-table td:nth-child(2){width:43%}.food-table td:last-child{white-space:normal;width:27%}.food-table caption{font-size:15px}.detail-v7 .carb-help{padding:20px}.download-panel{display:block}.download-panel h2{font-size:24px!important}.download-actions{margin-top:20px;align-items:flex-start}.download-dialog{width:calc(100% - 28px);padding:20px}.download-dialog .dialog-head h2{font-size:22px}.download-dialog label{font-size:13px}.karafs-data-page h1{font-size:25px}.carb-totals dl{grid-template-columns:1fr}.carb-totals dd{font-size:22px}.quiz-copy h1,.quiz-copy h2,.quiz-slide-blue .quiz-copy h2,.quiz-world-layout .quiz-copy h2{font-size:clamp(23px,6vw,30px);line-height:1.75;letter-spacing:0}.quiz-slide{padding:17px}.quiz-top{padding:10px 14px 2px}.quiz-options strong.quiz-ratio{font-size:17px}.quiz-options .quiz-ratio small{font-size:11px;line-height:1.6}.quiz-top-actions{gap:4px}.quiz-top-actions>button{min-width:40px;min-height:40px}.quiz-top .chapter-tag{font-size:11px}.quiz-source{font-size:11px!important}.quiz-copy>p{font-size:13px}.quiz-controls{padding:3px 14px;min-height:35px}.quiz-bottom a{font-size:13px}.quiz-world-layout .quiz-copy{order:0}.quiz-world-layout .quiz-world{order:1}.quiz-layout{gap:17px}.world-dashboard{padding:15px}.world-bar-unit{font-size:11px}.world-bar-track{height:40px}.world-bar-row{grid-template-columns:38px minmax(0,1fr);gap:8px}.world-bar bdi{font-size:22px}.global-trend figcaption,.world-chart-kicker,.type-chart-tag,.type-chart-caption,.type-chart>small,.world-dashboard .world-note,.world-year span{font-size:11px!important}.type-chart-value{flex-wrap:wrap;min-height:50px}.type-chart-value span{font-size:11px}.world-type-charts{gap:10px}.type-chart{padding:12px 9px}.quiz-donut span,.diagnosis-visual .quiz-legend,.diagnosis-visual>p{font-size:11px!important}.diagnosis-visual{grid-template-columns:126px minmax(0,1fr)}.diagnosis-visual .quiz-donut{width:126px;height:126px}.quiz-options .answer-label{font-size:11px}.quiz-feedback{font-size:12px}.site-header .brand strong{font-size:11px}.site-header .brand span{font-size:10px}.site-header .header-download{font-size:11px}
}
@media(max-width:360px){.quiz-top .chapter-tag{font-size:10px}.quiz-top-actions>button{min-width:36px;min-height:40px}.quiz-copy h1,.quiz-copy h2,.quiz-slide-blue .quiz-copy h2{font-size:22px}.quiz-options strong.quiz-ratio{font-size:16px}.diagnosis-visual{grid-template-columns:112px minmax(0,1fr);gap:10px}.diagnosis-visual .quiz-donut{width:112px;height:112px}.world-bar-unit{font-size:11px}.world-bar{padding:0 6px;gap:3px}.world-bar bdi{font-size:19px}.step-content{margin-right:0;padding-right:12px;border-right:2px solid #d6e1dd}.site-header .header-download .icon{display:none}}
@media print{.timeline-step>.step-content,.coupon-drawer>.coupon-rows,.partner-service>.coupon-rows{display:block!important}.page-nav,.header-download,.download-section{display:none!important}}
.quiz-options strong.quiz-ratio{direction:rtl;unicode-bidi:isolate}.quiz-options strong.quiz-ratio bdi{unicode-bidi:isolate}
/* Search-table sizing only: no palette or section-layout changes. */
.searchable-food-table .food-table{min-width:590px}.searchable-food-table .food-table th,.searchable-food-table .food-table td{width:auto}.searchable-food-table .food-table th:nth-child(1){min-width:105px}.searchable-food-table .food-table th:nth-child(2){min-width:90px}.searchable-food-table .food-table th:nth-child(3){min-width:75px}.searchable-food-table .food-table th:nth-child(4){min-width:175px}.searchable-food-table .food-table th:nth-child(5){min-width:100px}.table-tools .search{max-width:420px}.table-tools input{min-width:0}
