/* StudentSOS v20.7 — checkout clarity, tutor hierarchy, mobile-first start, payment marks */

/* PRO status: one compact state, no duplicated card-within-card feeling. */
.s207-sub-pill{display:flex!important;align-items:center!important;gap:7px!important;padding:7px 10px!important;border-radius:999px!important;background:#effaf5!important;border-color:#cdeedf!important;box-shadow:none!important;color:#087a57!important;white-space:nowrap}.s207-sub-pill b{font-size:11px!important}.s207-sub-pill span{font-size:10px!important;color:#5b7b70!important}.s207-sub-pill.pending{background:#fff8e8!important;border-color:#f2dfac!important;color:#8d6410!important}

/* PRO checkout: first term, then payment method, then two-line summary. */
.s207-pro-checkout{width:min(760px,calc(100vw - 30px))!important;max-width:760px!important;padding:28px!important;border-radius:26px!important;max-height:min(88vh,850px);overflow:auto;overscroll-behavior:contain}.s207-pro-checkout>h2{margin-bottom:6px!important}.s207-pro-checkout .s6-checkout-lead{margin-bottom:18px!important}.s207-checkout-step{padding:17px;border:1px solid #e5eaf2;border-radius:19px;background:#fbfcfe;margin-top:12px}.s207-step-head{display:flex;align-items:flex-start;gap:10px;margin-bottom:12px}.s207-step-head>span{width:26px;height:26px;flex:none;display:grid;place-items:center;border-radius:8px;background:#1769ff;color:#fff;font-size:12px;font-weight:900}.s207-step-head b{display:block;font-size:14px;color:#1f2937}.s207-step-head small{display:block;margin-top:3px;font-size:11px;line-height:1.35;color:#7b8496}
.s207-checkout-plans{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:9px!important;margin:0!important}.s207-checkout-plans .s205-checkout-plan{position:relative;min-height:105px;padding:13px 12px!important;border:1.5px solid #dfe5ee!important;border-radius:15px!important;background:#fff!important;text-align:left!important;display:flex!important;flex-direction:column!important;align-items:flex-start!important;justify-content:center!important;gap:4px!important;cursor:pointer}.s207-checkout-plans .s205-checkout-plan:hover{border-color:#b8caf4!important}.s207-checkout-plans .s205-checkout-plan.active{border-color:#1769ff!important;background:#f1f6ff!important;box-shadow:0 0 0 3px rgba(23,105,255,.08)!important}.s207-checkout-plans .s205-checkout-plan.active:after{content:'✓';position:absolute;right:9px;top:9px;width:20px;height:20px;display:grid;place-items:center;border-radius:50%;background:#1769ff;color:#fff;font-size:11px;font-weight:900}.s207-checkout-plans .s205-checkout-plan b{font-size:12px!important;color:#4a5568!important}.s207-checkout-plans .s205-checkout-plan strong{font-size:21px!important;line-height:1.1!important;color:#111827!important;letter-spacing:-.03em}.s207-checkout-plans .s205-checkout-plan span{font-size:10px!important;color:#8490a3!important}
.s207-payment-methods{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;margin:0!important}.s207-payment-choice>span{position:relative;min-height:76px!important;display:grid!important;grid-template-columns:42px minmax(0,1fr)!important;grid-template-rows:auto auto auto!important;column-gap:10px!important;align-content:center!important;padding:11px 13px!important;border-width:1.5px!important;border-radius:15px!important}.s207-payment-choice>input:checked+span:after{content:'✓';position:absolute;right:9px;top:9px;width:18px;height:18px;display:grid;place-items:center;border-radius:50%;background:#1769ff;color:#fff;font-size:10px;font-weight:900}.s207-payment-choice b{font-size:13px!important;padding-right:20px}.s207-payment-choice small{font-size:10px!important;line-height:1.3!important;margin-top:1px!important}.s207-payment-choice em{grid-column:2;font-size:9px;font-style:normal;color:#8792a5;margin-top:3px;line-height:1.25}.s207-pay-mark{grid-row:1/4!important;width:42px!important;height:42px!important;border-radius:12px!important;background:#f0f4fa!important;color:#192235!important;font-size:10px!important;font-weight:900!important;font-style:normal!important;letter-spacing:-.02em}.s207-pay-mark.mark-card{background:#eef4ff!important;color:#1769ff!important}.s207-pay-mark.mark-sbp{background:#f0f7ff!important;color:#4257d7!important}.s207-pay-mark.mark-sberpay{background:#ecfbf4!important;color:#08a45e!important}.s207-pay-mark.mark-tpay{background:#fff7cc!important;color:#111!important}.s207-pay-mark.mark-alfapay{background:#fff0f1!important;color:#ef3124!important}.s207-pay-mark.mark-yoomoney{background:#f1edff!important;color:#7b42e6!important}
.s207-checkout-summary{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin:13px 0}.s207-checkout-summary>div{padding:13px 14px;border-radius:15px;background:#f5f7fb;border:1px solid #e8ecf2}.s207-checkout-summary span,.s207-checkout-summary small,.s207-checkout-summary b{display:block}.s207-checkout-summary span{font-size:9px;font-weight:850;text-transform:uppercase;letter-spacing:.05em;color:#7f899b}.s207-checkout-summary b{margin:4px 0 2px;font-size:20px;color:#182230}.s207-checkout-summary small{font-size:10px;line-height:1.35;color:#738095}.s207-consent{margin:12px 0!important;font-size:11px!important;line-height:1.45!important}.s207-yoo-note{display:block;text-align:center;margin-top:9px;color:#9098a8;font-size:9px;line-height:1.4}.s207-pro-checkout .confirm-trial{min-height:49px!important;font-size:14px!important}

/* Tutor: visually distinct education systems, then level pills. */
.s207-tutor-picker{padding:24px!important}.s207-picker-head{max-width:680px;margin-bottom:16px}.s207-picker-head>span{font-size:10px;font-weight:900;letter-spacing:.08em;color:#1769ff}.s207-picker-head h2{font-size:27px;margin:5px 0}.s207-picker-head p{font-size:12px;line-height:1.5;color:#7b8494;margin:0}.s207-study-groups{display:grid;grid-template-columns:1fr 1fr;gap:12px}.s207-study-group{border:1.5px solid #e3e8f0;border-radius:19px;padding:17px;background:#fff;transition:.18s ease}.s207-study-group.active{border-color:#91b6ff;background:#f7faff;box-shadow:0 0 0 3px rgba(23,105,255,.06)}.s207-study-group-head{display:flex;gap:10px;align-items:center;padding-bottom:13px;margin-bottom:12px;border-bottom:1px solid #edf0f5}.s207-study-group-head>i{width:40px;height:40px;display:grid;place-items:center;border-radius:12px;background:#edf4ff;color:#1769ff}.s207-study-group-head svg{width:20px}.s207-study-group-head b,.s207-study-group-head span{display:block}.s207-study-group-head b{font-size:16px;color:#202939}.s207-study-group-head span{font-size:11px;color:#8892a4;margin-top:2px}.s207-level-pills{display:flex!important;flex-wrap:wrap!important;gap:7px!important}.s207-level-pills button{min-width:43px!important;height:39px!important;padding:0 10px!important;border:1px solid #e0e5ed!important;border-radius:11px!important;background:#fff!important;color:#4e596c!important;font-size:11px!important;font-weight:800!important}.s207-level-pills button.active{background:#1769ff!important;border-color:#1769ff!important;color:#fff!important;box-shadow:0 7px 16px rgba(23,105,255,.17)!important}

/* Referral: make the deal legible instead of decorative only. */
.s207-referral .s2-referral-card p{max-width:600px;font-size:14px!important;line-height:1.6!important}.s207-referral .s2-ref-bubble{font-size:13px!important}.s207-referral .s2-ref-bubble b{color:#1769ff}

/* Payment marks in public footer. */
.s207-pay-footer{display:flex;align-items:center;justify-content:space-between;gap:24px;padding-top:18px!important;padding-bottom:18px!important;margin-top:14px;border-top:1px solid rgba(126,139,163,.18);border-bottom:1px solid rgba(126,139,163,.18)}.s207-pay-footer-title{flex:none}.s207-pay-footer-title b,.s207-pay-footer-title span{display:block}.s207-pay-footer-title b{font-size:11px;color:#3e4758}.s207-pay-footer-title span{margin-top:2px;font-size:9px;color:#9099a8}.s207-pay-logos{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:7px}.pay-logo{height:31px;min-width:52px;display:inline-flex;align-items:center;justify-content:center;gap:5px;padding:0 9px;border:1px solid #e2e7ee;border-radius:9px;background:#fff;color:#253044;box-shadow:0 2px 7px rgba(35,47,69,.035)}.pay-logo i,.pay-logo em{font-style:normal}.pay-logo>i{font-size:10px;font-weight:950;line-height:1}.pay-logo>em{font-size:8px;font-weight:800;line-height:1;white-space:nowrap}.pay-logo.visa i{font-size:13px;font-style:italic;color:#17357a}.pay-logo.mir i{font-size:12px;color:#119a70;letter-spacing:-.05em}.pay-logo.mastercard{padding-inline:8px}.pay-logo.mastercard>i{position:relative;width:24px;height:14px}.pay-logo.mastercard u{position:absolute;top:1px;width:13px;height:13px;border-radius:50%;text-decoration:none;background:#ee3d35}.pay-logo.mastercard u:first-child{left:1px}.pay-logo.mastercard u:last-child{right:1px;background:#f5a623;mix-blend-mode:multiply}.pay-logo.sbp i{font-size:13px;color:#635bdf;transform:rotate(45deg)}.pay-logo.sber i{width:16px;height:16px;border-radius:50%;display:grid;place-items:center;background:#20b66f;color:#fff;font-size:9px}.pay-logo.tpay{background:#ffdd2d;border-color:#f1cf23;color:#111}.pay-logo.tpay i{font-size:13px}.pay-logo.alfa i{color:#ef3124;font-size:14px}.pay-logo.yoomoney i{width:17px;height:17px;border-radius:5px;display:grid;place-items:center;background:#7b42e6;color:#fff;font-size:10px}

/* Mobile homepage: get to the composer instead of forcing a long marketing prelude. */
@media(max-width:620px){
  .s8-mini-hero{padding:7px 0 3px!important}.s8-mini-hero-inner{display:block!important;padding:14px 14px 13px!important;border-radius:18px!important}.s8-mini-kicker{font-size:10px!important}.s8-mini-hero h1{font-size:27px!important;line-height:1.02!important;letter-spacing:-.045em!important;margin:7px 0 7px!important}.s8-mini-hero p{font-size:13px!important;line-height:1.42!important;margin:0!important;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.s12-hero-query-chips,.s8-mini-actions,.s8-mini-visual,.s204-hero-mascot,.s204-hero-capabilities{display:none!important}.s11-seo-hero .s11-bubble-stage{display:none!important;margin:0!important}.s204-hero-mascot .sos-mascot{display:none!important}
  .s7-product-first{padding:3px 0 26px!important}.s7-main-intro{padding:9px 2px 10px!important}.s7-main-intro .s2-online{font-size:10px!important}.s7-main-intro h2,.s7-main-intro h1{font-size:27px!important;line-height:1.03!important;margin:7px 0 5px!important}.s7-main-intro p{font-size:13px!important;line-height:1.4!important}.s7-composer-card{border-radius:18px!important}.s7-composer textarea{min-height:103px!important;font-size:16px!important}.s7-actions-head{padding-top:18px!important}
  .s207-pay-footer{display:block;padding-top:15px!important;padding-bottom:15px!important}.s207-pay-footer-title{margin-bottom:10px}.s207-pay-logos{justify-content:flex-start;gap:6px}.pay-logo{height:29px;padding:0 7px;min-width:47px}.pay-logo em{font-size:7px}
  .s207-pro-checkout{width:calc(100vw - 14px)!important;padding:20px 14px 18px!important;border-radius:22px 22px 0 0!important;max-height:92vh!important;margin-top:auto!important}.s207-pro-checkout h2{font-size:27px!important}.s207-pro-checkout .s6-checkout-lead{font-size:13px!important;line-height:1.45!important}.s207-checkout-step{padding:12px;border-radius:16px}.s207-step-head{margin-bottom:9px}.s207-step-head small{font-size:10px}.s207-checkout-plans{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:6px!important}.s207-checkout-plans .s205-checkout-plan{min-height:91px!important;padding:10px 8px!important;border-radius:12px!important}.s207-checkout-plans .s205-checkout-plan strong{font-size:17px!important}.s207-checkout-plans .s205-checkout-plan span{font-size:8px!important}.s207-payment-methods{grid-template-columns:1fr 1fr!important;gap:6px!important}.s207-payment-choice>span{grid-template-columns:34px minmax(0,1fr)!important;min-height:68px!important;padding:9px!important;column-gap:8px!important}.s207-pay-mark{width:34px!important;height:34px!important;font-size:8px!important}.s207-payment-choice b{font-size:11px!important}.s207-payment-choice small{font-size:8px!important}.s207-payment-choice em{font-size:8px!important}.s207-checkout-summary{gap:6px}.s207-checkout-summary>div{padding:10px}.s207-checkout-summary b{font-size:17px}.s207-consent{font-size:10px!important}
  .s207-study-groups{grid-template-columns:1fr}.s207-tutor-picker{padding:17px!important}.s207-picker-head h2{font-size:23px}.s207-study-group{padding:14px}.s207-level-pills button{height:37px!important;min-width:42px!important}
  .s207-referral .s2-referral-card p{font-size:12px!important}.s207-referral .s2-ref-visual{margin-top:20px!important}
}

/* Tool/SEO pages on phones: title + input should fit in the first useful screen. */
@media(max-width:760px){
  .s6-tool-hero{padding:10px 0 30px!important}.s6-tool-breadcrumb{margin-bottom:8px!important;font-size:10px!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.s6-tool-grid{gap:12px!important}.s6-tool-kicker{font-size:11px!important}.s6-tool-kicker i{width:6px!important;height:6px!important}.s6-tool-copy h1{font-size:31px!important;line-height:1.02!important;margin:8px 0 9px!important}.s6-tool-copy>p{font-size:14px!important;line-height:1.45!important;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.s6-tool-benefits{gap:5px!important;margin-top:10px!important;max-height:42px;overflow:hidden}.s6-tool-benefits span{padding:6px 9px!important;font-size:10px!important}.s6-tool-benefits .sos-icon{width:13px!important}.s6-tool-trust{display:none!important}.s6-tool-ai-card{margin-top:1px!important;border-radius:19px!important}.s6-tool-ai-card .s6-ai-head{padding:13px 14px 8px!important}.s6-tool-ai-card .s6-ai-head strong{font-size:12px!important}.s6-tool-ai-card .s6-ai-head p{font-size:10px!important}.s7-tool-composer textarea{min-height:116px!important;font-size:16px!important;padding-top:13px!important}.s6-ai-note{font-size:10px!important;padding:10px 13px!important}.s6-pro-nudge{padding:11px 13px!important}.s6-pro-nudge span{font-size:9px!important}.s6-pro-nudge a{font-size:10px!important}
}
.s207-pay-mark img{display:block;width:100%;height:100%;object-fit:contain;border-radius:10px}.s207-pay-logos img{display:block;width:82px;height:30px;object-fit:contain;border:1px solid #e2e7ee;border-radius:8px;background:#fff;box-shadow:0 2px 7px rgba(35,47,69,.035)}
@media(max-width:620px){.s207-pay-logos img{width:68px;height:27px}.s207-pay-mark img{border-radius:8px}}
@media(max-width:620px){
  .seo5-hero{padding:8px 0 20px!important}.seo5-breadcrumb{font-size:10px!important;margin-bottom:8px!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.seo5-hero-grid{gap:10px!important}.seo5-kicker{font-size:10px!important}.seo5-kicker i{display:none!important}.seo5-hero h1{font-size:30px!important;line-height:1.02!important;margin:8px 0!important}.seo5-lead{font-size:13px!important;line-height:1.42!important;margin-top:0!important;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.seo5-benefit-row,.seo5-query-line{display:none!important}.seo5-generator-card{margin-top:0!important;padding-top:16px!important;border-radius:18px!important}.seo5-generator-card:before{margin:-16px -1px 8px!important;padding:9px 12px!important;font-size:10px!important}.seo5-generator-card textarea{min-height:116px!important;font-size:16px!important}.seo5-proof-grid{margin-top:14px!important;grid-template-columns:repeat(2,minmax(0,1fr))!important}.seo5-proof-grid>div{padding:10px!important}.seo5-proof-grid strong{font-size:13px!important}.seo5-proof-grid span{font-size:10px!important}.seo5-proof-grid>div:nth-child(odd){border-right:1px solid #e6ebf3!important}.seo5-proof-grid>div:last-child{border-right:0!important}
}
