/* BSSI · web-v2 · بخشِ «tests» — منتقل‌شده از resources/interpretation-content/BSSI/sections (RULES §۷.۸):
   قاعده‌های بلااستفاده‌ی پیش‌نمایش حذف، فونت = var(--font-family)، keyframeها با پیشوندِ bssi- */
.bssi-tests,
.bssi-tests *{margin:0;padding:0;box-sizing:border-box}
.bssi-tests{font-family:var(--font-family);color:#343A40;}
.bssi-tests .section-main-title{margin-bottom:24px;padding-top:30px}
.bssi-tests .section-main-title h2{color:#343A40;font-size:28px;font-weight:800;line-height:38px;border-radius:8px 0 0 8px;background:#E6FCF5;padding:0 5px 0 12px;position:relative;display:inline-block;margin-bottom:18px}
.bssi-tests .section-main-title h2>div{position:absolute;top:-26px;right:0}
.bssi-tests .section-main-title h2 div[data-title]::before{content:attr(data-title);color:#12B886;font-size:17px;font-weight:700;background-color:#E6FCF5;padding:0 6px;border-radius:8px}
.bssi-tests .section-main-title p{color:#343A40;text-align:justify;font-size:18px;font-weight:400;line-height:34px}
.bssi-tests .runtime-error{display:none;margin:20px 0;padding:14px;border:1px solid #DC2626;border-radius:12px;color:#991B1B;background:#FFF;font-size:13px;font-weight:700;direction:ltr;text-align:left}
.bssi-tests .ts-banner{border-radius:20px;overflow:hidden;background:#F8FAFC;margin-bottom:6px}
.bssi-tests .ts-banner img{display:block;width:100%;aspect-ratio:3/1;object-fit:cover}
.bssi-tests .ts-body{container-type:inline-size}
.bssi-tests .ts-intro{margin-top:14px;font-size:17px;line-height:33px;color:#343A40;text-align:justify}
.bssi-tests .ts-path{margin-top:22px;border-radius:24px;background:#F6FAF9;padding:18px 16px 16px}
.bssi-tests .ts-path__t{font-size:15px;font-weight:900;color:#1E293B;text-align:center}
.bssi-tests .ts-path ol{--n:4;list-style:none;position:relative;display:grid;grid-template-columns:repeat(var(--n),minmax(0,1fr));margin-top:14px}
.bssi-tests .ts-path ol::before{content:'';position:absolute;top:21px;inset-inline:calc(50% / var(--n));height:2px;background:#C9EDE0}
.bssi-tests .ts-path li{position:relative;text-align:center;min-width:0}
.bssi-tests .ts-path a{display:flex;flex-direction:column;align-items:center;gap:6px;text-decoration:none;color:#1E293B;font-size:14px;font-weight:800;line-height:22px;padding:0 4px}
.bssi-tests .ts-path__n{width:44px;height:44px;border-radius:50%;background:#fff;border:2px solid #12B886;color:#0B7A57;font-size:16px;font-weight:900;display:flex;align-items:center;justify-content:center;flex-shrink:0}
.bssi-tests .ts-path__help .ts-path__n{background:#12B886;color:#fff;font-size:14px}
.bssi-tests .ts-path__help a{color:#0B7A57}
.bssi-tests .ts-path__note{margin-top:12px;font-size:14.5px;line-height:27px;color:#475569;text-align:center}
.bssi-tests .ts-list{display:flex;flex-direction:column;gap:14px;margin-top:18px}
.bssi-tests .ts-card{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-areas:'h f' 'x x' 'y y';align-items:center;column-gap:16px;border-radius:24px;background:#fff;border:1px solid #E5EEF0;box-shadow:0 6px 20px rgba(15,23,42,.04);padding:20px 22px;scroll-margin-top:16px}
.bssi-tests .ts-card__h{grid-area:h;display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.bssi-tests .ts-card__n{width:30px;height:30px;border-radius:50%;background:#E6FCF5;color:#0B7A57;font-size:14px;font-weight:900;display:flex;align-items:center;justify-content:center;flex-shrink:0}
.bssi-tests .ts-card__t{font-size:19px;font-weight:900;color:#1E293B;line-height:1.5}
.bssi-tests .ts-card__abbr{font-size:13px;font-weight:800;color:#94A3B8;direction:ltr;unicode-bidi:isolate}
.bssi-tests .ts-facts{grid-area:x;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:12px}
.bssi-tests .ts-facts div{border-radius:12px;background:#F8FAFC;border:1px solid #EEF2F6;padding:8px 12px;min-width:0}
.bssi-tests .ts-facts dt{font-size:12px;font-weight:800;color:#64748B;line-height:20px}
.bssi-tests .ts-facts dd{font-size:14.5px;font-weight:800;color:#1E293B;line-height:24px}
.bssi-tests .ts-card__you{grid-area:y;margin-top:12px;border-radius:16px;background:#F4FFFB;border:1px solid #D3F4E8;padding:12px 16px;font-size:15px;line-height:29px;color:#0B4F3C;text-align:justify}
.bssi-tests .ts-card__you b{display:block;font-size:13px;font-weight:900;color:#0B7A57;line-height:22px}
.bssi-tests .ts-card__f{grid-area:f;display:flex}
.bssi-tests .ts-cta{display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:11px 26px;border-radius:12px;background:#12B886;color:#fff;font-size:14.5px;font-weight:800;text-decoration:none}
.bssi-tests .ts-cta svg{width:16px;height:16px;fill:#fff}
.bssi-tests .ts-closing{margin-top:22px;border-radius:16px;background:#F3F4F6;border:1px solid #E5E7EB;padding:16px 20px;font-size:15.5px;line-height:30px;color:#475569;text-align:justify}
@container (max-width:560px){
.bssi-tests .ts-card{padding:18px 16px;grid-template-columns:minmax(0,1fr);grid-template-areas:'h' 'x' 'y' 'f'}
.bssi-tests .ts-card__f{margin-top:14px}
.bssi-tests .ts-card__h{display:grid;grid-template-columns:auto minmax(0,auto);justify-content:center;column-gap:10px;row-gap:2px;text-align:center}
.bssi-tests .ts-card__t{min-width:0}
.bssi-tests .ts-card__abbr{grid-column:1/-1}
.bssi-tests .ts-facts{grid-template-columns:1fr;gap:6px}
.bssi-tests .ts-facts div{display:flex;justify-content:space-between;align-items:baseline;gap:10px;padding:6px 12px}
.bssi-tests .ts-facts dd{text-align:left}
.bssi-tests .ts-cta{width:100%}
.bssi-tests .ts-path{padding:16px 8px 14px}
.bssi-tests .ts-path a{font-size:12.5px;line-height:19px;padding:0 2px}
.bssi-tests .ts-path__n{width:38px;height:38px;font-size:14px}
.bssi-tests .ts-path__help .ts-path__n{font-size:12.5px}
.bssi-tests .ts-path ol::before{top:18px}
}
@container (max-width:300px){
.bssi-tests .ts-path{padding:14px 4px 12px}
.bssi-tests .ts-path a{font-size:11.5px;line-height:18px;padding:0 1px}
.bssi-tests .ts-path__n{width:34px;height:34px;font-size:13px}
.bssi-tests .ts-path__help .ts-path__n{font-size:11.5px}
.bssi-tests .ts-path ol::before{top:16px}
}
@media(max-width:768px){
.bssi-tests .section-main-title p{font-size:16px;line-height:30px}
.bssi-tests .ts-banner img{aspect-ratio:5/2}
}
@media(max-width:576px){
.bssi-tests .section-main-title h2{font-size:22px;line-height:30px}
.bssi-tests .ts-banner img{aspect-ratio:2/1}
.bssi-tests .ts-intro{font-size:16px;line-height:30px}
.bssi-tests .ts-closing{font-size:15px;line-height:28px}
}
