:root {
  --lapis: #2457B8; --lapis-2: #3C7BE0; --pom: #C2343F; --pom-2: #E0565E; --saffron: #E39B2D; --saffron-2: #F5BF4F;
  --garden: #1E8A6E; --garden-2: #35B38C; --night: #3A2F8F; --night-2: #6A5BD6;
  --r3: 24px;
  --sh3: 0 1px 2px rgba(16,24,40,.04), 0 4px 14px rgba(16,24,40,.06);
  --lift: 0 1px 0 rgba(255,255,255,.16) inset, 0 1px 2px rgba(16,24,40,.08), 0 8px 18px -10px rgba(16,24,40,.45);
}
body { background: radial-gradient(1200px 600px at 100% -10%, #E6EEF8 0%, transparent 60%), radial-gradient(900px 500px at -10% 30%, #F3EEE4 0%, transparent 60%), #F2F5F8; }

.brand { direction: rtl; gap: 8px; align-items: center; }
.brand .circle { display: none; }
.brand-mark { width: 32px; height: 32px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 2px rgba(255,255,255,.22); flex: none; }
.brand-name { font: 900 20px/1 Vaz, Tahoma, sans-serif; color: #fff; white-space: nowrap; }
.tb-icon { width: 38px; padding: 0 !important; justify-content: center; }
.tb-icon svg { width: 20px; height: 20px; }
.lang-switch.tb-btn { font-weight: 700; }
.tb-sos { background: linear-gradient(180deg, var(--pom-2), var(--pom)) !important; border-color: rgba(255,255,255,.25) !important; box-shadow: 0 2px 6px rgba(194,52,63,.28); }
.tb-sos svg { width: 16px; height: 16px; }
.topbar .search { display: none !important; }
body[data-route="search"] .topbar .search, body[data-route="tests"] .topbar .search { display: block !important; }
@media (max-width: 420px) {
  .brand-mark { width: 28px; height: 28px; } .brand-name { font-size: 17px; }
  .tb-icon { width: 34px; } .tb-row { gap: 6px; }
}
@media (max-width: 345px) { .brand-name { font-size: 15px; } .tb-sos span { font-size: 13px; } }

.card { border-radius: var(--r3); box-shadow: var(--sh3); }
.page-title { font-size: 27px; letter-spacing: -.2px; }
.sec-h h3 { font-weight: 900; }

.tabbar { box-shadow: 0 -1px 0 rgba(16,24,40,.06), 0 -4px 16px rgba(16,24,40,.04); }
.tab { position: relative; font-size: 13px; }
.t-today { --tc: var(--garden); } .t-practice { --tc: var(--lapis); } .t-talk { --tc: #138A72; } .t-me { --tc: #C2345E; }
.tab.on svg { background: color-mix(in srgb, var(--tc) 14%, #fff); box-shadow: none; }
.tab .badge { position: absolute; top: 0; inset-inline-start: calc(50% + 8px); min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--pom); color: #fff; font: 700 11px/18px Vaz, sans-serif; font-style: normal; box-shadow: 0 0 0 2px #fff; }

.today-hero.compact { height: 200px; }
@media (min-width: 700px) { .today-hero.compact { height: 250px; } }
.mood-card { padding: 14px 10px 12px; }
.mc-q { display: flex; align-items: center; justify-content: center; gap: 10px; }
.mc-q h3 { margin: 0; }
.mood-row, .face-row { display: grid !important; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; margin-top: 8px; }
.mood-row .face-btn, .face-row .face-btn { min-width: 0; padding: 6px 2px 4px; border-radius: 16px; background: #F6F8FA; box-shadow: none; border: 1px solid #EDF1F4; }
.mood-row .face-btn svg, .face-row .face-btn svg { width: 100% !important; max-width: 56px; height: auto !important; }
.mood-row .face-btn span, .face-row .face-btn span { font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; display: block; }
.face-btn.on { box-shadow: 0 0 0 2px var(--garden) !important; background: #EEF8F4 !important; }

.say { flex: none; }
.say.say-l { display: inline-flex; align-items: center; gap: 6px; width: auto !important; padding: 6px 14px 6px 12px !important; border-radius: 99px !important; font: 700 13.5px Vaz, sans-serif; position: static !important; }
.say.say-l svg { width: 18px; height: 18px; }

.sug-card { display: flex; align-items: center; gap: 14px; margin-top: 14px; padding: 16px 18px; text-decoration: none; color: #fff !important; background: linear-gradient(135deg, var(--garden) 0%, var(--garden-2) 100%); box-shadow: var(--lift); position: relative; overflow: hidden; }
.sug-card::after { content: ""; position: absolute; width: 220px; height: 220px; border-radius: 50%; left: -80px; top: -120px; background: radial-gradient(circle, rgba(255,255,255,.14), rgba(255,255,255,0) 70%); pointer-events: none; }
.sug-card .sg-t { flex: 1; display: flex; flex-direction: column; min-width: 0; position: relative; z-index: 1; }
.sug-card .sg-t small { color: rgba(255,255,255,.92); font-size: 13px; line-height: 1.6; }
.sug-card .sg-t b { font: 900 19px/1.45 Vaz, sans-serif; margin: 2px 0; }
.sg-play { flex: none; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; color: var(--garden); position: relative; z-index: 1;
  background: #fff; box-shadow: 0 2px 8px rgba(0,0,0,.12); }
.sg-play svg { width: 24px; height: 24px; margin-left: -3px; transform: scaleX(-1); }
.sug-card:active, .big-act:active, .check-card:active, .call-btn:active { transform: translateY(1px) scale(.995); filter: brightness(.97); }
@media (hover: hover) { .sug-card, .big-act, .check-card, .call-btn { transition: transform .15s, box-shadow .15s; } .sug-card:hover, .big-act:hover, .check-card:hover, .call-btn:hover { transform: translateY(-1px); } }

.big-acts { display: grid; gap: 12px; margin-top: 14px; }
.big-act { display: flex; align-items: center; gap: 14px; padding: 15px 16px; border-radius: 22px; color: #fff !important; text-decoration: none; box-shadow: var(--lift); position: relative; overflow: hidden; transition: transform .12s; }
.big-act .ba-ic { width: 48px; height: 48px; border-radius: 16px; display: grid; place-items: center; flex: none; background: rgba(255,255,255,.18); box-shadow: 0 0 0 1px rgba(255,255,255,.14) inset; }
.big-act .ba-ic svg { width: 26px; height: 26px; stroke-width: 2.1; }
.big-act .ba-t { display: flex; flex-direction: column; min-width: 0; position: relative; }
.big-act b { font: 900 18px/1.4 Vaz, sans-serif; }
.big-act small { font-size: 13px; color: rgba(255,255,255,.9); line-height: 1.55; }
.b-calm { background: linear-gradient(135deg, var(--lapis) 0%, var(--lapis-2) 100%); }
.b-talk { background: linear-gradient(135deg, #0F7D67 0%, #29B08B 100%); }
.b-sleep { background: linear-gradient(135deg, var(--night) 0%, var(--night-2) 100%); }
.b-red { background: linear-gradient(135deg, var(--pom) 0%, var(--pom-2) 100%); }
.link-card { display: flex; align-items: center; gap: 12px; margin-top: 12px; padding: 14px 16px; text-decoration: none; color: var(--ink) !important; }
.link-card > svg:first-child { width: 26px; height: 26px; color: var(--lapis); flex: none; }
.link-card > span { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.link-card small { color: var(--muted); font-size: 13px; }
.link-card .chev { transform: scaleX(-1); color: #B6C2CB; width: 18px; height: 18px; }
.link-card.due { background: linear-gradient(135deg, #FFF7E6, #FFFFFF); border: 1.5px solid #F2D49A; }
.link-card.due > svg:first-child { color: var(--saffron); }

.wl-hero.small { height: 210px; }
.wl-dots { display: flex; justify-content: center; gap: 6px; margin-bottom: 10px; }
.wl-dots i { width: 26px; height: 6px; border-radius: 6px; background: #DCE3E9; display: block; }
.wl-dots i.on { background: var(--garden); }
.wl-h { font-size: 18px; text-align: center; margin: 10px 0 12px; line-height: 1.7; }
.wl-h span { color: var(--muted); font-size: 16px; }
.wl-langs { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.wl-lang { border: 0; border-radius: 22px; padding: 22px 10px; cursor: pointer; color: #fff; box-shadow: var(--lift); display: flex; flex-direction: column; align-items: center; gap: 4px; }
.wl-lang b { font: 900 26px/1.3 Vaz, sans-serif; } .wl-lang small { font-size: 14px; opacity: .92; }
.wl-lang[data-lang="fa"] { background: linear-gradient(135deg, var(--lapis), var(--lapis-2)); }
.wl-lang[data-lang="ps"] { background: linear-gradient(135deg, #0F7D67, #29B08B); }
.wl-avs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.wl-av { border: 2px solid var(--line); background: linear-gradient(180deg, #fff, #F4F7FA); border-radius: 18px; padding: 8px 4px; cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 2px; font: 700 14px Vaz, sans-serif; color: var(--ink); }
.wl-av svg { width: 100%; max-width: 72px; height: auto; }
.wl-av.on { border-color: var(--garden); box-shadow: 0 0 0 3px rgba(30,138,110,.2); }
.wl-who { justify-content: center; }
.wl-g.on { box-shadow: 0 0 0 3px rgba(30,138,110,.25); }

.calm-banner { display: flex; align-items: center; gap: 12px; padding: 16px; margin: 6px 0 4px; border-radius: 22px; text-decoration: none; color: #fff !important;
  background: radial-gradient(circle at 85% 20%, rgba(255,236,170,.35), transparent 30%), linear-gradient(135deg, #1E1B4B, var(--night) 55%, var(--night-2)); box-shadow: var(--lift); }
.calm-banner .cb-moon { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle at 35% 30%, #FFF6D5, #F5C95C); color: #3A2F8F; flex: none; box-shadow: 0 0 14px rgba(255,214,120,.35); }
.calm-banner .cb-moon svg { width: 24px; height: 24px; fill: #3A2F8F; }
.calm-banner .cb-t { flex: 1; display: flex; flex-direction: column; } .calm-banner b { font-size: 18px; } .calm-banner small { opacity: .9; font-size: 13px; }
.calm-banner .chev { transform: scaleX(-1); width: 18px; color: rgba(255,255,255,.75); }
.tile .t-ic { box-shadow: none; background: linear-gradient(180deg, color-mix(in srgb, var(--c) 20%, #fff), color-mix(in srgb, var(--c) 9%, #fff)) !important; }
.ex-row .r-title svg { width: 18px; height: 18px; vertical-align: -3px; color: var(--lapis); }

.check-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.check-card { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 14px; border-radius: 22px; background: #fff; box-shadow: var(--sh3); text-decoration: none; color: var(--ink) !important; min-height: 128px; transition: transform .12s; }
.check-card .cc-ic, .stp-intro .cc-ic { width: 46px; height: 46px; border-radius: 15px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--c), color-mix(in srgb, var(--c) 65%, #fff)); box-shadow: 0 4px 10px -4px color-mix(in srgb, var(--c) 45%, transparent); }
.check-card .cc-ic svg, .stp-intro .cc-ic svg { width: 25px; height: 25px; stroke-width: 2.1; }
.check-card .cc-t { display: flex; flex-direction: column; }
.check-card b { font: 900 16.5px/1.45 Vaz, sans-serif; } .check-card small { color: var(--muted); font-size: 13px; }
.check-card .r-last { position: absolute; top: 12px; left: 12px; font-size: 13px; padding: 1px 9px; border-radius: 10px; }
.check-card.big { flex-direction: row; align-items: center; min-height: 0; padding: 16px; color: #fff !important; background: linear-gradient(135deg, var(--lapis), var(--lapis-2)); box-shadow: var(--lift); }
.check-card.big .cc-ic { background: rgba(255,255,255,.18); box-shadow: 0 0 0 1px rgba(255,255,255,.14) inset; }
.check-card.big small { color: rgba(255,255,255,.9); } .check-card.big b { font-size: 18.5px; }
.check-card.big .r-last { position: static; margin-inline-start: auto; }

.stp-top .crumb { margin-bottom: 4px; }
.stp .prog { display: flex; gap: 4px; direction: rtl; }
.stp .prog i { flex: 1; height: 7px; border-radius: 7px; background: #DCE3E9; display: block; }
.stp .prog i.f { background: linear-gradient(90deg, var(--lapis-2), var(--lapis)); }
.stp .prog i.cur { box-shadow: 0 0 0 2px rgba(36,87,184,.35); }
.stp-count { display: flex; justify-content: space-between; color: var(--muted); font-size: 13px; font-weight: 700; margin: 8px 2px 6px; }
.stp-count .stp-added { display: block; font-size: 14px; font-weight: 400; }
.stp-stem { color: var(--muted); font-size: 14.5px; line-height: 1.8; margin: 4px 0 6px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; cursor: pointer; }
.stp-stem.open { -webkit-line-clamp: unset; display: block; }
.stp-sec { font-weight: 900; color: var(--lapis); margin: 6px 0 0; }
.stp-q { font: 900 23px/1.6 Vaz, sans-serif; margin: 8px 0 10px; }
.stp .say.say-l { margin-bottom: 12px; background: #E8EFF8; color: var(--lapis); border: 0; }
.stp-opts { display: grid; gap: 10px; }
.ans { display: flex; align-items: center; gap: 12px; width: 100%; text-align: start; border: 1.5px solid #DDE4EA; border-bottom-width: 3px; border-radius: 18px; padding: 14px 16px; background: #fff; font: 700 17px/1.5 Vaz, sans-serif; color: var(--ink); cursor: pointer; transition: transform .08s, border-color .15s, background .15s; }
.ans:active { transform: translateY(3px); border-bottom-width: 2px; }
.ans.sel { border-color: var(--lapis); background: #EEF4FD; color: #173E86; }
.ans .dots { display: flex; gap: 5px; margin-inline-start: auto; flex: none; }
.ans .dots i { width: 13px; height: 13px; border-radius: 50%; background: #E3E9EE; display: block; box-shadow: 0 1px 1px rgba(0,0,0,.08) inset; }
.ans .dots i.f { background: var(--saffron); box-shadow: none; }
.stp-nav { display: flex; justify-content: space-between; gap: 10px; margin-top: 14px; }
.stp-num { margin: 6px 0 12px; } .stp-num input { font-size: 20px; text-align: center; }
.stp-hint { text-align: center; }
.stp-intro { text-align: center; padding: 22px 18px; }
.stp-intro .cc-ic { margin: 0 auto 8px; width: 60px; height: 60px; border-radius: 20px; }
.stp-intro .cc-ic svg { width: 32px; height: 32px; }
.stp-intro h1 { font-size: 24px; margin: 0; }
.stp-stem-big { font-size: 15.5px; line-height: 1.9; margin: 10px 0; text-align: start; }
.stp-intro .say.say-l { margin: 0 auto 14px; background: #E8EFF8; color: var(--lapis); border: 0; }
.stp-full { display: block; margin-top: 12px; color: var(--muted); font-size: 13.5px; }
.btn-block { display: block; width: 100%; }

.res-card { text-align: center; padding: 20px 18px; border-top: 6px solid var(--lvc, #2E9D5B); }
.res-card.lv-ok { --lvc: #2E9D5B; } .res-card.lv-mild { --lvc: #C99419; } .res-card.lv-mod { --lvc: #DD7426; } .res-card.lv-high { --lvc: #C8443C; }
.res-card > small { color: var(--muted); font-weight: 700; }
.res-word { font: 900 34px/1.4 Vaz, sans-serif; color: var(--lvc); margin: 4px 0 8px; }
.gauge4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; height: 16px; margin: 6px 4px 2px; }
.gauge4 span { border-radius: 8px; opacity: .35; position: relative; }
.gauge4 .g0 { background: #2E9D5B; } .gauge4 .g1 { background: #C99419; } .gauge4 .g2 { background: #DD7426; } .gauge4 .g3 { background: #C8443C; }
.gauge4 span.on { opacity: 1; box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--lvc); transform: scaleY(1.25); }
.gauge4-l { display: flex; justify-content: space-between; font-size: 12.5px; color: var(--muted); margin: 4px 4px 10px; }
.res-card p { font-size: 15.5px; line-height: 1.9; }
.res-card .result-domains { text-align: start; }
.doc-details { margin-top: 14px; padding: 0; overflow: hidden; }
.doc-details > summary { list-style: none; display: flex; align-items: center; gap: 12px; padding: 14px 16px; cursor: pointer; }
.doc-details > summary::-webkit-details-marker { display: none; }
.doc-details > summary svg { width: 24px; height: 24px; color: #4B6478; flex: none; }
.doc-details > summary span { display: flex; flex-direction: column; } .doc-details > summary small { color: var(--muted); }
.doc-details[open] > summary { border-bottom: 1px solid var(--line); }
.doc-details > :not(summary) { margin-left: 14px; margin-right: 14px; }
.doc-details .result-score { margin-top: 12px; }
.res-card + .safety-box, .safety-box + .btn-block { margin-top: 12px; }
.sug-card + .big-act { margin-top: 12px; }

.sos-hero { background: radial-gradient(circle at 15% 0%, rgba(255,255,255,.18), transparent 40%), linear-gradient(135deg, #9E2430, var(--pom) 60%, var(--pom-2)) !important; box-shadow: var(--lift); }
.sos-c { margin: 14px 0 6px; }
.call-list { display: grid; gap: 10px; margin-top: 12px; }
.call-btn { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 20px; text-decoration: none; color: #fff !important; box-shadow: var(--lift); background: linear-gradient(135deg, var(--pom), var(--pom-2)); transition: transform .12s; }
.call-btn.counsel { background: linear-gradient(135deg, #0F7D67, #29B08B); }
.call-btn.trusted { background: linear-gradient(135deg, var(--lapis), var(--lapis-2)); }
.call-btn > svg { width: 46px; height: 46px; padding: 11px; border-radius: 50%; background: rgba(255,255,255,.18); box-shadow: 0 0 0 1px rgba(255,255,255,.14) inset; flex: none; stroke-width: 2.1; }
.call-btn .cb-t { display: flex; flex-direction: column; min-width: 0; }
.call-btn b { font: 900 17px/1.45 Vaz, sans-serif; } .call-btn small { color: rgba(255,255,255,.92); font-size: 13px; }
.call-btn small bdi { font: 700 16px/1.4 Vaz, sans-serif; letter-spacing: .5px; }
.call-list.compact .call-btn { padding: 10px 12px; } .call-list.compact .call-btn > svg { width: 38px; height: 38px; padding: 9px; } .call-list.compact b { font-size: 15.5px; }
.safety-box .call-list { margin: 10px 0 2px; }
.tr-form { display: grid; gap: 10px; }
.sos-now .call-list { margin-top: 8px; }

.cs-wait { display: flex; align-items: center; gap: 10px; color: var(--muted); }
.spin { width: 18px; height: 18px; border-radius: 50%; border: 3px solid #DCE3E9; border-top-color: var(--garden); animation: spin 1s linear infinite; display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }
.cs-off { display: flex; gap: 12px; align-items: flex-start; }
.cs-off > svg { width: 30px; height: 30px; color: var(--garden); flex: none; margin-top: 4px; }
.cs-off p { margin: 4px 0 6px; font-size: 14px; }
.cs-start { display: grid; gap: 10px; }
.opt { display: flex; align-items: center; gap: 12px; width: 100%; text-align: start; border: 2px solid var(--line); border-radius: 18px; padding: 12px 14px; background: #fff; cursor: pointer; font: inherit; color: var(--ink); box-shadow: none; margin-bottom: 8px; }
.opt .ot { flex: 1; display: flex; flex-direction: column; } .opt b { font-size: 15.5px; } .opt small { color: var(--muted); font-size: 13px; }
.opt > svg { width: 24px; height: 24px; color: var(--garden); flex: none; }
.opt .radio { width: 22px; height: 22px; border-radius: 50%; border: 2px solid #AEBBC5; flex: none; }
.opt.on { border-color: var(--garden); background: #F1FAF6; } .opt.on .radio { border: 7px solid var(--garden); }
.cs-prefs h3 { font-size: 15px; margin: 10px 0 6px; }
.cs-prefs h3:first-child { margin-top: 0; }
.cs-l { display: block; font-weight: 700; font-size: 14px; margin: 12px 0 4px; }
.cs-consent { display: flex; gap: 10px; align-items: flex-start; margin: 14px 0 12px; font-size: 14px; line-height: 1.8; color: #42515C; }
.cs-consent input { width: 20px; height: 20px; flex: none; margin-top: 3px; accent-color: var(--garden); }
.cs-prefs .note svg { width: 15px; height: 15px; vertical-align: -2px; }
.cs-thread, .cs-book, .cn-mini { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink) !important; margin-bottom: 10px; }
.cs-thread .av, .cn-card .av, .cn-mini .av, .th-head .av { flex: none; width: 52px; height: 52px; border-radius: 50%; overflow: hidden; background: linear-gradient(180deg, #EAF2FA, #D7E6F5); display: grid; place-items: center; box-shadow: 0 0 0 1px rgba(16,24,40,.06); }
.cs-thread .av svg, .cn-card .av svg, .cn-mini .av svg, .th-head .av svg { width: 100%; height: 100%; }
.cs-thread .ct, .cs-book .ct { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.cs-thread small, .cs-book small { color: var(--muted); font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cn-mini > span:last-child { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.cn-mini small { color: var(--muted); font-size: 13px; }
.cs-thread .chev { transform: scaleX(-1); width: 18px; color: #B6C2CB; }
.cs-book > svg { width: 30px; height: 30px; color: var(--lapis); flex: none; }
.cs-acts { display: grid; gap: 10px; margin: 6px 0 10px; }
.cs-set { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: 14px; margin: 4px 2px 14px; }
.cs-set svg { width: 16px; height: 16px; }
.share-line { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; margin: 4px 0 0; font-size: 14px; color: #55636E; flex-basis: 100%; order: 5; }
.share-line svg { width: 15px; height: 15px; flex: none; }
.share-line a { font-weight: 700; color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.sh-consent { font-size: 15px; line-height: 1.9; }
.sh-consent dl { margin: 8px 0; }
.sh-consent dt { font-weight: 800; margin-top: 10px; }
.sh-consent dd { margin: 2px 0 0; }
.sh-consent .muted { font-size: 14px; }
.sh-card h3, .sh-ask h3 { margin: 0 0 6px; }
.sh-card p { font-size: 15px; }
.sh-what { display: inline-block; font-size: 14px; margin: 6px 2px 10px; }
.sh-on .btn-block, .sh-ask .btn-block, .sh-card .btn-block, .sh-page .btn-block { margin-top: 10px; text-align: center; }
.case-bg { z-index: 10002; }
.modal.case-warn { max-width: 440px; text-align: start; }
.modal.case-warn h2 { font-size: 20px; margin: 0 0 8px; }
.modal.case-warn p { font-size: 15px; line-height: 1.9; margin: 0 0 14px; }
.modal.case-warn .btn-block { margin-top: 10px; font-size: 16px; }
.modal.case-warn .btn small { display: block; font-size: 14px; font-weight: 400; opacity: .9; }
.modal.case-warn .btn[disabled] { opacity: .55; cursor: not-allowed; }
.call-rep { font-size: 14px; margin: 6px 0 0; display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; align-items: center; }
.call-rep .btn-xs { font-size: 14px; }
.cs-rate b { display: block; margin-bottom: 6px; }
.hw-card { border-inline-start: 5px solid var(--garden); }
.hw-card > small { color: var(--muted); font-weight: 700; }
.hw-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.hw-row b { font-size: 16px; }
.hw-card .sg-play { width: 44px; height: 44px; }
.hw-card .prog { display: flex; gap: 4px; margin: 8px 0 4px; direction: rtl; }
.hw-card .prog i { flex: 1; height: 7px; border-radius: 6px; background: #DCE3E9; display: block; }
.hw-card .prog i.f { background: var(--garden-2); }
.cn-card { margin-bottom: 12px; }
.cn-top { display: flex; gap: 12px; align-items: flex-start; }
.cn-card .av { width: 64px; height: 64px; }
.cn-t { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.cn-t b { font-size: 17px; } .cn-t small { color: var(--muted); }
.pills { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 4px; }
.pill { font-size: 12.5px; font-weight: 600; background: #EEF3F7; color: #42515C; border-radius: 99px; padding: 1px 10px; }
.cn-bio { font-size: 14px; margin: 8px 0 4px; color: #3A4750; }
.cn-next { display: flex; align-items: center; gap: 8px; margin: 8px 0; padding: 7px 12px; border-radius: 12px; background: #EFF8F3; color: #1F6E4A; font-weight: 700; font-size: 13.5px; }
.cn-next svg { width: 18px; height: 18px; flex: none; } .cn-next.none { background: #F4F6F8; color: var(--muted); }
.cn-acts { display: flex; gap: 8px; flex-wrap: wrap; }
.bk-h { font-size: 16px; margin: 16px 0 8px; }
.slot-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.slot { border: 2px solid var(--line); border-bottom-width: 4px; border-radius: 14px; padding: 8px 4px; background: #fff; font: 700 14px/1.5 Vaz, sans-serif; color: var(--ink); cursor: pointer; text-align: center; }
.slot small { color: var(--muted); font-weight: 600; font-size: 13px; }
.slot.on { border-color: var(--garden); background: #EAF7F1; color: #11604A; }
.bk-ok { text-align: center; } .bk-ok svg { margin: 0 auto; }
.th-wrap { display: flex; flex-direction: column; min-height: calc(100vh - 180px); }
.th-head { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 20px; color: #fff; background: linear-gradient(135deg, #0F7D67, #29B08B); box-shadow: var(--lift); }
.th-head .crumb { color: #fff; margin: 0; font-size: 20px; }
.th-head .av { width: 42px; height: 42px; background: #fff; }
.th-head .ct { display: flex; flex-direction: column; } .th-head small { opacity: .9; font-size: 12.5px; }
.th-note { align-self: center; display: flex; gap: 6px; align-items: center; font-size: 13px; color: var(--muted); background: #fff; border-radius: 99px; padding: 3px 12px; margin: 10px 0 4px; box-shadow: 0 1px 3px rgba(0,0,0,.06); }
.th-note svg { width: 14px; height: 14px; }
.th-log { flex: 1; display: flex; flex-direction: column; gap: 8px; padding: 8px 2px; }
.tm { max-width: 84%; display: flex; flex-direction: column; }
.tm .mb { padding: 9px 13px; border-radius: 18px; font-size: 15px; line-height: 1.75; box-shadow: 0 1px 2px rgba(0,0,0,.07); }
.tm.me { align-self: flex-start; } .tm.me .mb { background: #DCF3E8; border-bottom-right-radius: 6px; }
.tm.them { align-self: flex-end; } .tm.them .mb { background: #fff; border-bottom-left-radius: 6px; }
.tm.sys { align-self: center; max-width: 92%; } .tm.sys .mb { background: #EEF2F5; color: var(--muted); font-size: 13px; box-shadow: none; }
.tm .at { font-size: 12.5px; color: var(--muted); padding: 1px 8px; } .tm.them .at { text-align: left; }
.tm.t-homework .mb { border-inline-start: 4px solid var(--garden); display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.tm.t-homework small { color: var(--muted); } .tm.t-homework p { margin: 0; }
.tm.t-voice .mb { display: flex; align-items: center; gap: 8px; }
.vplay { width: 36px; height: 36px; border-radius: 50%; border: 0; display: grid; place-items: center; color: #fff; background: var(--garden); cursor: pointer; flex: none; }
.vplay svg { width: 16px; height: 16px; } .vplay.loading { opacity: .5; }
.wave { display: flex; align-items: center; gap: 2px; height: 22px; direction: ltr; }
.wave i { width: 3px; border-radius: 2px; background: var(--garden-2); display: block; height: 8px; }
.wave i:nth-child(3n) { height: 16px; } .wave i:nth-child(4n+1) { height: 12px; } .wave i:nth-child(5n) { height: 20px; }
.th-bk { display: flex; gap: 8px; align-items: center; background: #EAF2FB; box-shadow: none; padding: 10px 14px; }
.th-bk svg { width: 20px; height: 20px; color: var(--lapis); flex: none; }
.th-chips { display: flex; gap: 6px; flex-wrap: wrap; margin: 6px 0; }
.th-chips .chip { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; text-decoration: none; color: inherit; }
.th-chips .chip svg { width: 15px; height: 15px; }
.th-in, .th-rec { position: sticky; bottom: calc(84px + env(safe-area-inset-bottom)); display: flex; align-items: center; gap: 8px; padding: 8px; border-radius: 28px; background: #fff; box-shadow: 0 0 0 1px rgba(16,24,40,.06), 0 6px 18px rgba(16,24,40,.10); }
.th-in input { flex: 1; min-width: 0; border: 0; outline: 0; font: 400 16px Vaz, sans-serif; padding: 6px 10px; background: transparent; }
.th-mic, .th-send { width: 48px; height: 48px; border-radius: 50%; border: 0; display: grid; place-items: center; color: #fff; background: linear-gradient(180deg, #29B08B, #0F7D67); box-shadow: 0 2px 6px rgba(15,125,103,.25); cursor: pointer; flex: none; }
.th-mic svg, .th-send svg { width: 22px; height: 22px; } .th-send svg { transform: scaleX(-1); }
.th-mic.off { background: #B9C4CC; box-shadow: none; }
.th-rec { justify-content: space-between; padding: 10px 14px; }
.th-rec .dot { width: 12px; height: 12px; border-radius: 50%; background: var(--pom); animation: blink 1s infinite; }
@keyframes blink { 50% { opacity: .3; } }
.th-rec #th-sec { font: 700 18px Vaz, sans-serif; flex: 1; }
.ur-form { display: grid; gap: 10px; }
.ur-form p { margin: 0; }

.chat-in { margin-right: 0 !important; margin-left: 0 !important; }
.yavar-banner .yb-av svg { width: 44px; height: 44px; }

.chips.sugg { gap: 8px; }
.chips.sugg .chip { font-size: 15px; padding: 6px 16px; text-decoration: none; color: inherit; background: #fff; box-shadow: none; border: 1px solid #E6ECF1; }

.m-tree { width: 220px; height: 150px; margin: 0 auto 8px; border-radius: 18px; overflow: hidden; position: relative; }
.m-tree svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.ci-opt { font-size: 13px; margin: 10px 0 0; text-align: center; }
.stat-row a.stat { text-decoration: none; color: inherit; }
.ex-source { line-height: 1.9; }
.res-note { margin: 4px 6px 14px; line-height: 1.9; }
.av .team-av { width: 78%; height: 78%; object-fit: contain; border-radius: 50%; }
.cs-thread .av:has(.team-av), .th-head .av:has(.team-av) { background: #fff; }
.garden { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 760px) { .garden { grid-template-columns: 1.15fr 1fr; } }
.gd-card .btn { white-space: normal; text-align: center; line-height: 1.6; }

:root { --sh: 0 1px 2px rgba(16,24,40,.04), 0 4px 14px rgba(16,24,40,.06); --sh-lg: 0 2px 4px rgba(16,24,40,.05), 0 10px 24px rgba(16,24,40,.08); }
.btn-success, .btn-primary { box-shadow: 0 2px 6px rgba(44,110,155,.18); }

.res-box { margin: 14px 0 12px; padding: 12px 14px; border-radius: 16px; background: #F3F8F6; border: 1px solid #D7EBE3; text-align: start; }
.res-row { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; margin: 0; }
.res-row input { width: 22px; height: 22px; flex: none; margin-top: 3px; accent-color: var(--garden); cursor: pointer; }
.res-row span { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.res-row b { font-size: 15px; line-height: 1.6; color: var(--ink); }
.res-row small { font-size: 13px; color: var(--muted); line-height: 1.7; }
.res-more { margin: 6px 0 0; margin-inline-start: 34px; font-size: 13px; color: var(--muted); }
.res-more summary { cursor: pointer; color: var(--garden); font-weight: 700; list-style-position: inside; }
.res-more p { margin: 6px 0 0; line-height: 1.9; }
#res-set .res-box { margin: 0; }
#res-set .qn-actions { margin-top: 10px; }

.demo-form h3 { font-size: 17px; margin: 0 0 4px; }
.demo-form > .muted { font-size: 13px; margin: 0 0 8px; }
.demo-q { margin: 12px 0 0; }
.demo-q > b { display: block; font-size: 14.5px; margin-bottom: 6px; }
.demo-q .chips { gap: 6px; }
.demo-q .chip { font-size: 13.5px; padding: 5px 12px; }
.demo-q select { max-width: 320px; }
.demo-wrap { margin-top: 10px; }
.demo-wrap > summary { cursor: pointer; color: var(--garden); font-weight: 700; padding: 6px 0; }

.svc-chips { gap: 6px; }
.svc-chips .chip { font-size: 13.5px; padding: 6px 12px; text-align: start; }
.pill.svc { background: #E6F4EF; color: #0F7D67; font-weight: 700; }

.fx-clip { position: absolute; inset: 0; border-radius: inherit; overflow: hidden; pointer-events: none; z-index: 0; }
.fx-rip { position: absolute; border-radius: 50%; background: currentColor; opacity: .22; transform: scale(0); animation: fx-rip .6s cubic-bezier(.2, .7, .3, 1) forwards; pointer-events: none; }
@keyframes fx-rip { to { transform: scale(1); opacity: 0; } }
.btn, .chip, .opt, .face-btn, .tile, .link-card, .ex-row, .ans, .wl-av, .wl-g, .wl-lang, .seg button, .med-row, .story-row, .cs-thread {
  transition: transform .14s ease, background-color .2s ease, border-color .2s ease, color .2s ease, box-shadow .2s ease;
}
.btn:active, .chip:active, .opt:active, .face-btn:active, .tile:active, .link-card:active, .ex-row:active, .wl-av:active, .wl-g:active, .wl-lang:active, .seg button:active, .med-row:active, .story-row:active, .cs-thread:active { transform: scale(.97); }
.ans:active { transform: translateY(2px); border-bottom-width: 1.5px; }
.fx-pop { animation: fx-pop .38s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes fx-pop { 0% { transform: scale(.94); } 55% { transform: scale(1.05); } 100% { transform: scale(1); } }
.fx-bounce { animation: fx-bounce .42s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes fx-bounce { 0% { transform: translateY(0) scale(1); } 40% { transform: translateY(-5px) scale(1.12); } 100% { transform: translateY(0) scale(1); } }
.chip.on { transition: background-color .2s ease, color .2s ease, transform .14s ease; }
@media (hover: hover) { .btn:hover, .chip:hover, .opt:hover { filter: brightness(.98); } }
@media (prefers-reduced-motion: reduce) {
  .fx-rip, .fx-clip { display: none !important; }
  .fx-pop, .fx-bounce { animation: none !important; }
  .btn:active, .chip:active, .opt:active, .face-btn:active, .tile:active, .link-card:active, .ex-row:active, .ans:active { transform: none; }
}
.cs-who { margin: 0 0 12px; font-size: 13.5px; line-height: 1.8; color: #42515C; }
.cs-who summary { cursor: pointer; font-weight: 700; color: #1E557C; }
.zoom-note, .wipe-note { margin: 8px 0 0; }
.rp-sel h2, .rp-sel h3 { margin: 0 0 8px; font-size: 17px; }
.rp-ck { display: flex; gap: 10px; align-items: flex-start; padding: 9px 0; border-bottom: 1px solid #EEF2F5; cursor: pointer; }
.rp-ck:last-of-type { border-bottom: 0; }
.rp-ck input { width: 22px; height: 22px; flex: none; margin-top: 2px; accent-color: var(--garden); }
.rp-ck span { display: flex; flex-direction: column; line-height: 1.6; }
.rp-ck small { color: #56646F; font-size: 13px; }
.res-card.lv-high { --lvc: #C77700; }
.res-sos-b { margin: 8px 0 12px; color: #B23A3A; border-color: #E9C3BE; }
.wt-card .wt-goal { margin: 6px 0; overflow-wrap: anywhere; }
.wt-item { border-top: 1px solid var(--line); padding: 10px 0; display: flex; flex-direction: column; gap: 6px; overflow-wrap: anywhere; }
.wt-item > small, .wt-rev { color: var(--muted); font-size: 14px; }
.wt-item .wt-l { font-size: 15px; font-weight: 700; }
.wt-rev { color: #1F6E40; display: inline-flex; align-items: center; gap: 4px; }
.ac-card { border: 2px solid #9CC3E8; background: #F3F8FE; }
.ac-h { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; } .ac-h b { font-size: 18px; } .ac-h small { color: var(--muted); }
.ac-acts { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0; } .ac-acts .btn, .ac-acts .ac-done { flex: 1 1 140px; }
.ac-done { display: inline-flex; align-items: center; gap: 6px; color: #1F6E40; font-weight: 700; }
.ac-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; font-weight: 700; }
.ac-week { display: block; margin: 6px 0; font-weight: 700; }
.ac-what { padding-inline-start: 20px; } .ac-what li { margin: 4px 0; }
.ac-kind { border: 0; padding: 0; margin: 0 0 8px; }
.med-rule { border-inline-start: 5px solid #B7791F; background: #FFF8E6; }
.med-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; border-top: 1px solid var(--line); padding: 8px 0; overflow-wrap: anywhere; }
.med-row small { color: var(--muted); flex: 1 1 120px; font-size: 14px; }
.med-times { display: flex; gap: 6px; flex-wrap: wrap; } .med-times input { flex: 1 1 100px; width: auto; }
.fib-q .chip { text-align: start; }
.fib-res { margin-top: 12px; } .fib-res.b1 { border: 2px solid #B7791F; } .fib-res.b2 { border: 2px solid #C8443C; }
.swp h3 { margin-top: 18px; }
.sw-r { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; } .sw-r label { flex: 1 1 200px; line-height: 2.2; }
.sw-n { display: inline-block; width: 5.4em; padding: 2px 6px; margin: 0 4px; }
.sw-rules, .sw-nt, .sw-sh { border: 1px solid var(--line); border-radius: 14px; margin: 14px 0; padding: 8px 12px; min-width: 0; }
.sw-rules legend, .sw-nt legend, .sw-sh legend { font-weight: 700; padding: 0 6px; }
.rq-card summary { cursor: pointer; } .rq-card textarea { margin-bottom: 4px; }
.tq-item, .tq-new { overflow-wrap: anywhere; } .tq-new fieldset { border: 0; padding: 0; margin: 8px 0; min-width: 0; }
.page-aftercare .card h2, .page-swp .card h2, .page-meds .card h2 { font-size: 17px; margin: 14px 0 6px; }
