/*
  راهنما (1.1): «شروع استفاده در ۷ قدم» با برچسب «در سایت / در نرم‌افزار SafePod»، مقایسه دو مجوز، افزودن لایسنس و مشکلات رایج.
  این بخش‌ها فقط در نمای خانه راهنما (و بدون JavaScript) دیده می‌شوند؛ با جست‌وجو یا باز کردن یک موضوع، فهرست پرسش‌ها جای آن‌ها را
  می‌گیرد. فقط متغیرها و الگوهای سایت (--red، --ink، --line، .red-dash، .faq-group) و نقطه شکست 700 پیکسل سایت.
*/
body.page-help.help-ready:not([data-help-view="home"]) .help-guide{display:none}
.help-guide{padding-top:44px}
.help-guide-block{padding-bottom:52px;scroll-margin-top:20px}
.help-guide-block+.help-guide-block{padding-top:44px;border-top:1px solid var(--line)}
.page-help .help-guide h2{margin:0;font-size:28px;line-height:1.7;font-weight:700;letter-spacing:0}
.page-help .help-guide-label{display:flex;align-items:center;gap:12px;margin:0 0 6px;font-size:14px;font-weight:600;line-height:1.8}
.page-help .help-guide-lead{margin:4px 0 0;font-size:15px;line-height:2;color:#595959}
.page-help .help-guide-lead .help-where{margin:0 0 0 8px;vertical-align:middle}

.help-where{display:inline-flex;align-items:center;margin-top:6px;padding:1px 10px;border:1px solid var(--ink);background:#fff;color:var(--ink);font-size:12px;font-weight:700;line-height:1.9;white-space:nowrap}
.help-where-app{background:var(--ink);color:#fff}
.help-step-num{flex:0 0 26px;font-family:var(--latin-sans);font-weight:700;color:var(--red);text-align:right}

.help-start-steps{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 28px;margin:16px 0 0;padding:0;list-style:none}
.help-start-steps li{display:flex;gap:12px;padding:14px 0;border-top:1px solid var(--line)}
.help-start-steps li:nth-last-child(-n+1){border-bottom:1px solid var(--line)}
.help-start-steps a{font-size:16px;font-weight:700;line-height:1.8;text-decoration:underline;text-decoration-color:rgba(217,26,34,.55);text-underline-offset:6px}
.page-help .help-start-steps p{margin:2px 0 0;font-size:14px;line-height:1.9;color:#595959}

.help-compare-wrap{margin-top:16px;max-width:980px}
.help-compare{width:100%;border-collapse:collapse;border-top:1px solid var(--ink);font-size:15px;line-height:1.95}
.help-compare th,.help-compare td{padding:12px 14px;border-bottom:1px solid var(--line);text-align:start;vertical-align:top}
.help-compare thead th{font-size:16px;font-weight:700}
.help-compare tbody th{width:18%;font-weight:700;color:#404040}
.help-compare .help-compare-sub{background:#F6F6F6}
.page-help .help-guide-note{max-width:980px;margin:14px 0 0;padding:12px 16px;background:#F6F6F6;border-inline-start:3px solid var(--red);font-size:15px;line-height:2}

.help-license-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin:16px 0 0;padding:0;list-style:none;font-size:15px;line-height:1.95}
.help-license-steps li{display:flex;gap:8px;padding-top:12px;border-top:2px solid var(--ink)}

.page-help .help-trouble h2{margin-bottom:12px}
.help-trouble details:first-of-type{border-top:1px solid var(--ink)}

@media(max-width:700px){
  .help-guide{padding-top:28px}
  .help-guide-block{padding-bottom:34px}
  .help-guide-block+.help-guide-block{padding-top:30px}
  .page-help .help-guide h2{font-size:21px}
  .page-help .help-guide-lead{font-size:14px}
  .help-start-steps{grid-template-columns:1fr}
  .help-start-steps li:nth-last-child(-n+1){border-bottom:1px solid var(--line)}
  .help-start-steps a{font-size:15px}
  .page-help .help-start-steps p{font-size:13px}
  .help-compare thead{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}
  .help-compare,.help-compare tbody,.help-compare tr,.help-compare th,.help-compare td{display:block;width:100%}
  .help-compare tr{padding:10px 0;border-bottom:1px solid var(--line)}
  .help-compare tbody th{width:auto;padding:0 0 4px;border:0;font-size:15px;color:var(--ink)}
  .help-compare td{padding:6px 10px;border:0;font-size:14px}
  .help-compare td::before{content:attr(data-label);display:block;font-size:12px;font-weight:700;color:#595959}
  .page-help .help-guide-note{font-size:14px}
  .help-license-steps{grid-template-columns:1fr;gap:0;font-size:14px}
  .help-license-steps li{padding:10px 0;border-top:1px solid var(--line)}
  .help-license-steps li:first-child{border-top:2px solid var(--ink)}
}

/* 1.0.16: قاب‌های رسانه (Docs/Public-Media-Plan.md و الگوی .media-frame در site.css). مثل بقیه این بخش فقط در نمای خانه راهنما.
   VID-007 کنار «شروع استفاده در ۷ قدم»، IMG-008 کنار جدول دو لایسنس، IMG-009 و IMG-010 زیر مراحل فعال‌سازی و افزودن لایسنس. */
.help-compare-media{margin-top:16px}
.help-compare-media .help-compare-wrap{margin-top:0}
.page-help .help-media{margin-top:18px}
@media(max-width:700px){
  .page-help .help-media{margin-top:14px}
}

/* 1.0.38: پیوند «راهنمای خطاها» (/help/error-codes) بالای «مشکلات رایج». */
.help-errors-link{display:flex;flex-wrap:wrap;align-items:center;gap:0 10px;margin:0 0 16px;padding:8px 14px;border-inline-start:3px solid var(--red);background:#f6f6f6;font-size:15px;line-height:1.9}
.help-errors-link a{display:inline-flex;align-items:center;gap:6px;min-height:44px;font-weight:650;text-decoration:underline;text-decoration-color:rgba(217,26,34,.55);text-underline-offset:5px}
@media(max-width:700px){
  .help-errors-link{font-size:14px}
}