/* Public tutor profile. Tokens only, so dark mode follows. All selectors are tv- scoped. */
.tv-main{padding-bottom:calc(var(--bnav-h) + 92px);background:radial-gradient(60% 340px at 6% 0%,color-mix(in srgb,var(--primary) 11%,transparent),transparent 70%),radial-gradient(50% 300px at 98% 2%,color-mix(in srgb,var(--accent) 12%,transparent),transparent 70%)}
.tv{--ease:cubic-bezier(.2,.8,.2,1);padding-block:14px 32px;min-width:0}
.tv :focus-visible{outline:3px solid var(--primary);outline-offset:2px}
.tv-crumb ol{display:flex;flex-wrap:wrap;gap:4px;margin:0 0 10px;padding:0;list-style:none;font-size:.9rem;color:var(--muted)}
.tv-crumb li{min-width:0;display:flex;align-items:center}
.tv-crumb li+li::before{content:"/";margin-right:6px;opacity:.6}
.tv-crumb a{color:var(--primary);font-weight:600;display:inline-flex;align-items:center;min-height:44px;min-width:44px;justify-content:center;margin-inline:-6px;padding-inline:6px}
.tv-crumb a:hover{text-decoration:underline}
.tv-crumb [aria-current]{display:block;max-width:min(60vw,28ch);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--text-soft)}

/* entrance */
.tv-in{animation:tvIn .55s var(--ease) both;animation-delay:calc(var(--i,0)*55ms)}
.tv-in.still{animation:none}
@keyframes tvIn{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:none}}

/* skeleton */
.sk{display:block;border-radius:12px;background:linear-gradient(100deg,var(--tint-soft) 30%,color-mix(in srgb,var(--tint) 70%,var(--card)) 50%,var(--tint-soft) 70%);background-size:220% 100%;animation:tvSh 1.3s linear infinite}
@keyframes tvSh{to{background-position:-220% 0}}
.tv-sk{display:grid;gap:16px}
.tv-sk-hero{border-radius:26px;background:var(--card);border:1px solid var(--line-card);overflow:hidden}
.tv-sk-cover{height:120px;border-radius:0}
.tv-sk-body{display:grid;gap:12px;padding:0 18px 22px}
.tv-sk-av{width:112px;height:112px;border-radius:50%;margin-top:-56px;border:5px solid var(--card)}
.tv-sk-l{height:16px}.w40{width:40%}.w50{width:50%}.w75{width:75%}
.tv-sk-grid{display:grid;gap:16px}
.tv-sk-blk{height:170px;border-radius:22px;margin-bottom:16px}
.tv-sk-side{height:260px;border-radius:22px}
@media(min-width:960px){.tv-sk-grid{grid-template-columns:minmax(0,1fr) 340px;gap:24px}}

/* hero */
.tv-hero{position:relative;border-radius:26px;background:var(--card);border:1px solid var(--line-card);box-shadow:var(--shadow);overflow:hidden}
.tv-cover{position:relative;height:88px;overflow:hidden;background:linear-gradient(120deg,color-mix(in srgb,var(--primary) 88%,#000) 0%,var(--primary) 42%,color-mix(in srgb,var(--teal-light) 78%,var(--accent)) 80%,var(--accent) 125%)}
.tv-cover::before{content:"";position:absolute;inset:0;background-image:radial-gradient(rgba(255,255,255,.28) 1.2px,transparent 1.4px);background-size:20px 20px;-webkit-mask-image:linear-gradient(100deg,transparent 15%,#000 95%);mask-image:linear-gradient(100deg,transparent 15%,#000 95%);opacity:.7}
.tv-cover i{position:absolute;border-radius:50%;background:#fff;opacity:.13}
.tv-cover .b1{width:200px;height:200px;right:-50px;top:-100px}
.tv-cover .b2{width:110px;height:110px;left:36%;bottom:-70px;opacity:.1}
.tv-cover .b3{width:60px;height:60px;left:8%;top:18px;opacity:.1}
.tv-cover svg{position:absolute;color:#fff;opacity:.75}
.tv-cover .sp1{right:28%;top:22px;animation:tvTw 3.2s ease-in-out infinite}
.tv-cover .sp2{right:12%;bottom:22px;color:var(--accent);animation:tvTw 3.2s ease-in-out 1.2s infinite}
@keyframes tvTw{50%{transform:scale(.6) rotate(20deg);opacity:.35}}
/* soft guardian-style hero (tutor page); guardian-view keeps the band */
.tv-soft{isolation:isolate;border-radius:28px;background:linear-gradient(135deg,var(--tint) 0%,var(--card) 55%,var(--tint-warm) 130%)}
.tv-soft .tv-cover{background:none}
.tv-soft .tv-cover::before{content:none}
.tv-blob{position:absolute;border-radius:50%;z-index:-1;pointer-events:none;filter:blur(2px)}
.tv-bl1{width:240px;height:240px;right:-70px;top:-90px;background:radial-gradient(circle,var(--accent) 0%,transparent 68%);opacity:.32}
.tv-bl2{width:260px;height:260px;left:-100px;bottom:-140px;background:radial-gradient(circle,var(--teal-light) 0%,transparent 68%);opacity:.3}
.tv-hat{position:absolute;right:16px;bottom:14px;width:92px;height:92px;color:var(--primary);opacity:.09;z-index:-1;transform:rotate(-8deg);pointer-events:none}
.tv-soft .tv-avwrap,.tv-soft .tv-avwrap.ver{background:var(--card);box-shadow:0 0 0 3px var(--accent),var(--shadow)}
.tv-soft .tv-avwrap:not(.ver){box-shadow:0 0 0 3px color-mix(in srgb,var(--accent) 45%,var(--line-chip)),var(--shadow)}
.tv-soft .tv-av{padding:0;overflow:hidden}
.tv-tools{position:absolute;top:12px;right:12px;display:flex;gap:8px;z-index:2}
.tv-icbtn{display:inline-grid;place-items:center;width:44px;height:44px;border-radius:50%;border:1px solid var(--glass-line);background:var(--glass);color:var(--primary);backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);cursor:pointer;padding:0;transition:transform .2s,background .2s}
.tv-icbtn:hover{background:var(--card)}
.tv-icbtn:active{transform:scale(.92)}
.tv-icbtn.on{color:var(--coral)}
.tv-hin{position:relative;display:grid;grid-template-columns:88px minmax(0,1fr);gap:12px 16px;padding:0 16px 20px;min-width:0}
.tv-avwrap{position:relative;grid-column:1;grid-row:1;margin-top:-44px;width:88px;height:88px;padding:4px;border-radius:50%;background:var(--line-chip);box-shadow:0 12px 26px -12px rgba(11,19,36,.5)}
.tv-avwrap.ver{background:conic-gradient(from 200deg,var(--primary),var(--accent),var(--coral),var(--primary))}
.tv-av{width:100%;height:100%;border-radius:50%;background:var(--card);padding:4px}
.tv-av img{display:block;width:100%;height:100%;object-fit:cover;border-radius:50%;background:var(--tint)}
.tv-vb{position:absolute;right:2px;bottom:4px;display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:var(--btn-bg);color:#fff;border:3px solid var(--card)}
.tv-hbody{display:contents}
.tv-hbody>*{grid-column:1/-1;min-width:0;justify-self:start;max-width:100%}
.tv-hbody>.tv-namerow,.tv-hbody>.tv-name{grid-column:2;grid-row:1}
.tv-hbody>.tv-name{align-self:center}
.tv-namerow{display:flex;flex-wrap:wrap;align-items:center;gap:4px 12px;padding-top:12px}
.tv-sample{display:inline-flex;align-items:center;min-height:26px;padding:0 12px;border-radius:99px;background:var(--tag-bg);color:var(--tag-fg);font-size:.78rem;font-weight:700;letter-spacing:.03em;text-transform:uppercase}
.tv-name{font-size:clamp(1.25rem,1rem + 1.4vw,2rem);line-height:1.2;overflow-wrap:anywhere;word-break:break-word;max-width:100%;margin:0}
.tv-act[hidden],.tv-actli:has(>.tv-act[hidden]){display:none}
.tv-act{display:inline-flex;align-items:center;gap:7px;margin:0;min-height:28px;padding:0 12px 0 10px;border-radius:99px;background:var(--tint-soft);border:1px solid var(--line-chip);font-size:.82rem;font-weight:600;color:var(--text-soft)}
.tv-actdot{flex:none;width:9px;height:9px;border-radius:50%;background:#9CA3AF}
.tv-actdot.on{background:#22C55E}
.tv-inst{margin:0;color:var(--text-soft2);line-height:1.5;overflow-wrap:anywhere;max-width:62ch}
.tv-meta,.tv-types{display:flex;flex-wrap:wrap;gap:8px 16px;list-style:none;margin:0;padding:0;color:var(--text-soft)}
.tv-meta{font-size:.92rem;align-items:center}
.tv-meta li{display:inline-flex;align-items:center;gap:6px;min-width:0;line-height:1.4}
.tv-meta svg{color:var(--primary);flex:none;width:16px;height:16px}
.tv-rate{gap:8px}
.tv-rate b{font-family:var(--font-head);font-size:1rem;color:var(--ink)}
.tv-rate .tv-rl{color:var(--muted);font-size:.9rem;text-decoration:none}
.tv-rate .tv-rl:hover{color:var(--primary);text-decoration:underline}
.tv-new{color:var(--muted);font-size:.9rem}
.tv-types{gap:8px}
.tv-types li{display:inline-flex;align-items:center;gap:6px;min-height:32px;padding:0 12px 0 10px;border-radius:99px;background:color-mix(in srgb,var(--primary) 12%,var(--card));color:var(--primary);font-weight:600;font-size:.86rem;border:1px solid color-mix(in srgb,var(--primary) 30%,transparent)}
.tv-status{display:inline-flex;align-items:center;gap:6px;min-height:28px;padding:0 10px;border-radius:99px;font-size:.8rem;font-weight:700;line-height:1.2;white-space:nowrap;flex:none}
.tv-status svg{flex:none;width:16px;height:16px}
.tv-status.ok{background:color-mix(in srgb,#16A34A 14%,var(--card));color:#15803D;border:1px solid color-mix(in srgb,#16A34A 35%,transparent)}
.tv-status.warn{background:var(--tint-soft);color:var(--muted);border:1px solid var(--line-chip)}
:root[data-theme="dark"] .tv-status.ok{color:#4ADE80}

/* facts */
.tv-facts{list-style:none;margin:16px 0 0;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:10px}
.tv-facts li{display:flex;align-items:center;gap:12px;padding:12px 14px;border-radius:18px;background:var(--card);border:1px solid var(--line-card);min-width:0;box-shadow:var(--det-shadow)}
.tv-fic{flex:none;display:grid;place-items:center;width:40px;height:40px;border-radius:14px;background:var(--tint);color:var(--primary)}
.tv-facts li>div{min-width:0}
.tv-facts small{display:block;color:var(--muted);font-size:.78rem;line-height:1.3}
.tv-facts b{display:block;font-weight:600;font-size:.94rem;line-height:1.35;color:var(--ink);overflow-wrap:anywhere}

/* layout */
.tv-layout{display:grid;gap:16px;margin-top:16px;min-width:0}
.tv-col{display:grid;gap:16px;align-content:start;min-width:0}
.tv-sec{padding:20px 18px;border-radius:24px;background:var(--card);border:1px solid var(--line-card);box-shadow:var(--det-shadow);min-width:0;scroll-margin-top:84px}
.tv-sec>h2{display:flex;align-items:center;gap:10px;font-size:1.25rem;margin-bottom:14px}
.tv-sic{display:grid;place-items:center;flex:none;width:36px;height:36px;border-radius:12px;background:var(--tint);color:var(--primary)}
.tv-sec h3{font-size:1.02rem;margin-bottom:8px}
.tv-p{color:var(--text-soft);line-height:1.7;overflow-wrap:anywhere}
.tv-note{margin-top:10px;color:var(--muted);font-size:.88rem;line-height:1.55}
.tv-empty{color:var(--muted)}
@media(min-width:960px){
  .tv-layout{grid-template-columns:minmax(0,1fr) 340px;gap:24px;align-items:start}
  .tv-col{gap:20px}
  .tv-sec{padding:24px 26px}
}
@media(min-width:640px){
  .tv-cover{height:136px}
  .tv-hin{grid-template-columns:136px minmax(0,1fr);gap:0 24px;align-items:start;padding:0 28px 24px}
  .tv-avwrap{width:136px;height:136px;margin-top:-68px;padding:5px}
  .tv-hbody{display:grid;grid-template-columns:minmax(0,1fr);gap:8px;align-content:start;padding-top:16px;grid-column:2;grid-row:1}
  .tv-hbody>*,.tv-hbody>.tv-namerow,.tv-hbody>.tv-name{grid-column:auto;grid-row:auto;align-self:auto}
  .tv-namerow{padding-top:0;gap:8px 12px}
  .tv-types{margin-top:4px}
}
@media(min-width:900px){
  .tv-hbody{grid-template-columns:minmax(0,1fr) auto;column-gap:24px}
  .tv-hbody>*{grid-column:1}
  .tv-hbody>.tv-types{grid-column:2;grid-row:1/span 3;flex-direction:column;align-items:flex-start;margin:0;padding:12px;border-radius:20px;background:var(--tint-soft);border:1px solid var(--line-chip);align-self:start}
}

/* chips */
.tv-chips{display:flex;flex-wrap:wrap;gap:8px;list-style:none;margin:0;padding:0}
.tv-chips li{display:inline-flex;align-items:center;min-height:34px;padding:2px 14px;border-radius:99px;background:var(--tint-soft);border:1px solid var(--line-chip);color:var(--text-soft);font-size:.92rem;line-height:1.4;max-width:100%;overflow-wrap:anywhere}
.tv-chips.warm li{background:var(--tag-bg);color:var(--tag-fg);border-color:transparent}
.tv-chips li.extra{display:none}
.tv-chips.all li.extra{display:inline-flex}
.tv-more{margin-top:10px;min-height:44px;padding:0 16px;border-radius:99px;border:1.5px solid var(--btn-line);background:transparent;color:var(--primary);font-weight:700;cursor:pointer}
.tv-more:hover{background:var(--tint)}
.tv-two{display:grid;gap:18px}
@media(min-width:720px){.tv-two{grid-template-columns:1fr 1fr;gap:24px}}

/* timeline */
.tv-tl{list-style:none;margin:0;padding:0}
.tv-tl li{position:relative;display:flex;gap:14px;padding-bottom:6px}
.tv-dot{flex:none;width:16px;height:16px;margin-top:6px;border-radius:50%;background:var(--card);border:4px solid var(--primary);box-shadow:0 0 0 5px color-mix(in srgb,var(--primary) 16%,transparent)}
.tv-tlb{min-width:0}
.tv-tlb h3{margin:2px 0 4px;font-size:1.12rem;overflow-wrap:anywhere}
.tv-tlb .tv-p{font-size:.95rem}
.tv-kind{display:inline-block;padding:0 10px;border-radius:99px;background:var(--tag-bg);color:var(--tag-fg);font-size:.76rem;font-weight:700}

/* areas */
.tv-areas{display:grid;gap:18px}
@media(min-width:720px){.tv-areas{grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);align-items:start}}
.tv-fig{margin:0}
.tv-fig figcaption{margin-top:6px;color:var(--muted);font-size:.8rem}
.tv-map{display:block;width:100%;height:auto;border-radius:18px;border:1px solid var(--line-chip)}
.tv-map .m-bg{fill:color-mix(in srgb,var(--tint) 75%,var(--card))}
.tv-map .m-blk{fill:var(--card);opacity:.85}
.tv-map .m-rd{fill:none;stroke:var(--line-field);stroke-width:5;stroke-linecap:round}
.tv-map .m-rv{fill:none;stroke:color-mix(in srgb,var(--teal-light) 45%,var(--card));stroke-width:12;stroke-linecap:round;opacity:.7}
.tv-map .m-pin path{fill:var(--primary);stroke:var(--card);stroke-width:2}
.tv-map .m-sh{fill:rgba(11,19,36,.25)}
.tv-map .m-pin text{fill:var(--surface);font:700 14px var(--font-head)}
.tv-map .m-lab{fill:var(--muted);font:600 11px var(--font-body)}
.tv-dist{font-weight:600;color:var(--ink);margin-bottom:8px}
.tv-pins{list-style:none;margin:0;padding:0;display:grid;gap:6px}
.tv-pins li{display:flex;align-items:center;gap:10px;min-height:36px;overflow-wrap:anywhere;color:var(--text-soft)}
.tv-pn{flex:none;display:grid;place-items:center;width:26px;height:26px;border-radius:50%;background:var(--primary);color:var(--surface);font:700 .8rem var(--font-head)}

/* availability */
.tv-gridw{overflow-x:auto;margin-inline:-4px;padding-inline:4px}
.tv-grid{width:100%;border-collapse:separate;border-spacing:4px;table-layout:fixed}
.tv-grid th{font-weight:600;font-size:.76rem;color:var(--muted);padding:2px 0;text-align:center}
.tv-grid tbody th{text-align:left;width:64px;color:var(--text-soft);font-size:.78rem;padding-right:4px;overflow-wrap:anywhere}
.tv-grid td{height:36px;text-align:center;border-radius:10px;padding:0}
.tv-grid td.on{background:color-mix(in srgb,var(--primary) 18%,var(--card));color:var(--primary);border:1px solid color-mix(in srgb,var(--primary) 40%,transparent)}
.tv-grid td.on svg{margin:auto}
.tv-grid td.off{background:var(--tint-soft)}
.tv-grid td.off i{display:block;width:10px;height:2px;margin:auto;border-radius:2px;background:var(--line-field)}
@media(min-width:720px){.tv-grid td{height:42px}.tv-grid tbody th{width:96px;font-size:.88rem}.tv-grid th{font-size:.86rem}}

/* fee */
.tv-feebig{display:flex;flex-wrap:wrap;align-items:baseline;gap:6px 10px;margin-bottom:8px}
.tv-feebig b{font-family:var(--font-head);font-size:clamp(1.7rem,1.3rem + 1.8vw,2.4rem);line-height:1.2;color:var(--primary)}
.tv-feebig span{color:var(--muted)}
.tv-steps{list-style:none;margin:16px 0 0;padding:0;display:grid;gap:14px}
.tv-steps li{display:flex;gap:14px}
.tv-sn{flex:none;display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:var(--tag-bg);color:var(--tag-fg);font:800 1rem var(--font-head)}
.tv-steps h3{margin-bottom:2px}
@media(min-width:720px){.tv-steps{grid-template-columns:repeat(3,1fr)}.tv-steps li{flex-direction:column}}

/* reviews: see css/reviews.css */

/* similar tutors: full width under the profile, shared .tc cards (css/tutors.css), no entrance animation */
.tv-simhost{margin-top:16px;min-width:0}
.tv-simhost:empty{display:none}
@media(min-width:960px){.tv-simhost{margin-top:24px}}
.tv-simlead{margin:-6px 0 14px;font-size:.95rem}
.tv-simg{display:grid;gap:16px;grid-template-columns:minmax(0,1fr);min-width:0}
.tv-simg .tc{height:100%;min-width:0;animation:none}
.tv-simg .tc-acts{margin-top:auto}
@media(max-width:559px){.tv-simg .tc:nth-child(n+4){display:none}}
@media(min-width:560px){.tv-simg{grid-template-columns:repeat(2,minmax(0,1fr))}.tv-simg .tc:last-child:nth-child(odd){grid-column:1/-1}}
@media(min-width:1100px){.tv-simg{grid-template-columns:repeat(auto-fit,minmax(230px,1fr))}.tv-simg .tc:last-child:nth-child(odd){grid-column:auto}}
/* a single match keeps a normal card width instead of stretching across the whole section */
.tv-simg .tc:only-child{grid-column:1/-1;justify-self:center;width:100%;max-width:440px}
.tv-simmore{display:flex;justify-content:center;margin:18px 0 0}
.tv-simmore .btn{min-width:180px}

/* side card */
.tv-side{min-width:0}
.tv-card{display:grid;gap:12px;padding:20px;border-radius:26px;background:var(--card);border:1px solid var(--line-card);box-shadow:var(--shadow-lg);position:relative;overflow:hidden}
.tv-card::before{content:"";position:absolute;inset:0 0 auto 0;height:5px;background:var(--grad)}
.tv-flab{color:var(--muted);font-size:.84rem;font-weight:600;margin-top:4px}
.tv-fee{margin:-6px 0 0}
.tv-fee b{font-family:var(--font-head);font-size:clamp(1.7rem,1.4rem + 1vw,2.1rem);line-height:1.2;color:var(--ink);overflow-wrap:anywhere}
.tv-fsub{color:var(--muted);font-size:.86rem;margin-top:-8px}
.tv-cta{width:100%;min-height:52px;font-size:1.02rem;text-align:center}
.tv-cta.dis{background:var(--tint-soft);color:var(--muted);box-shadow:none;border:1px dashed var(--line-field)}
.tv-cta.dis:hover{background:var(--tint-soft);box-shadow:none}
.tv-cn{font-size:.86rem;color:var(--text-soft2);line-height:1.5}
.tv-cn a{color:var(--primary);font-weight:700;text-decoration:underline;display:inline-block;min-height:24px}
.tv-cn.warn{padding:10px 12px;border-radius:14px;background:var(--tag-bg);color:var(--tag-fg)}
.tv-row2{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.tv-ghost{min-height:46px;padding:0 12px;background:var(--glass);border:1.5px solid var(--btn-line);color:var(--primary);font-size:.95rem}
.tv-ghost:hover{background:var(--tint)}
.tv-ghost.on{color:var(--coral);border-color:color-mix(in srgb,var(--coral) 45%,transparent)}
.tv-ghost svg,.tv-cta svg{flex:none}
.tv-trust{display:flex;gap:12px;padding:14px;border-radius:18px;background:var(--tint-soft);border:1px solid var(--line-chip);color:var(--text-soft);font-size:.86rem;line-height:1.55}
.tv-trust svg{flex:none;color:var(--primary);margin-top:2px}
.tv-trust b{display:block;color:var(--ink);font-size:.92rem}
.tv-report{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:44px;border:0;background:transparent;color:var(--muted);font-size:.86rem;text-decoration:underline;cursor:pointer}
.tv-report:hover{color:var(--coral)}
@media(min-width:960px){
  .tv-side{position:sticky;top:78px;align-self:start}
}
@media(min-width:960px) and (max-height:640px){.tv-side{position:static}}

/* mobile action bar */
.tv-bar{position:fixed;left:0;right:0;bottom:calc(var(--bnav-h) + env(safe-area-inset-bottom,0px));z-index:80;display:flex;align-items:center;gap:10px;padding:10px max(14px,env(safe-area-inset-left,0px));background:var(--bnav-bg);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);border-top:1px solid var(--bnav-line)}
.tv-bar-fee{display:grid;line-height:1.2;min-width:0;margin-right:auto}
.tv-bar-fee small{color:var(--muted);font-size:.74rem}
.tv-bar-fee b{font-family:var(--font-head);font-size:1.1rem;white-space:nowrap}
.tv-bar .tv-cta{width:auto;flex:0 1 190px;min-height:46px;padding:0 14px;font-size:.95rem}
.tv-bar-save{flex:none}
@media(min-width:960px){.tv-bar{display:none}.tv-main{padding-bottom:40px}}

/* toast */
.tv-toast{position:fixed;left:50%;bottom:calc(var(--bnav-h) + 86px);z-index:120;transform:translate(-50%,20px);max-width:min(92vw,420px);padding:12px 18px;border-radius:16px;background:var(--ink);color:var(--surface);font-size:.92rem;line-height:1.5;text-align:center;opacity:0;pointer-events:none;transition:opacity .25s,transform .25s;box-shadow:var(--shadow)}
.tv-toast.show{opacity:1;transform:translate(-50%,0)}
@media(min-width:960px){.tv-toast{bottom:28px}}

/* not found */
.tv-nf{display:grid;justify-items:center;gap:12px;text-align:center;padding:40px 18px;border-radius:26px;background:var(--card);border:1px solid var(--line-card);box-shadow:var(--det-shadow)}
.tv-nf h1{font-size:clamp(1.4rem,1.1rem + 1.4vw,2rem)}
.tv-nf p{color:var(--text-soft2);max-width:46ch}
.tv-nfb{display:flex;flex-wrap:wrap;justify-content:center;gap:10px;margin-top:6px}
.tv-nf-p{padding:16px}

@media(prefers-reduced-motion:reduce){
  .tv-in,.sk,.tv-cover svg{animation:none!important}
  .tv-icbtn,.tv-toast{transition:none}
}

.tv-rad{margin:10px 0 0;color:var(--text-soft);font-size:.92rem}
.tv-areas .tv-chips,.tv-dist+.tv-chips{margin-top:2px}

/* education list */
.tv-edl{list-style:none;margin:0;padding:0;display:grid;gap:10px}
.tv-edi{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px 18px;align-items:center;padding:14px 16px;border:1px solid var(--line);border-radius:16px;background:var(--card,transparent)}
.tv-edm{min-width:0;display:grid;gap:4px;justify-items:start}
.tv-edeg{display:inline-flex;align-items:center;gap:6px;max-width:100%;padding:3px 12px 3px 9px;border-radius:99px;background:var(--tag-bg,var(--tint));color:var(--tag-fg,var(--primary));font-size:.82rem;font-weight:700;white-space:nowrap}
.tv-edeg-i{flex:none;width:15px;height:15px}
.tv-einst{font-weight:700;color:var(--ink);font-size:1rem;line-height:1.35;overflow-wrap:anywhere}
.tv-egrp{color:var(--muted);font-size:.9rem;line-height:1.35;overflow-wrap:anywhere}
.tv-eside{display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-end;align-items:center}
.tv-ef{display:inline-flex;align-items:baseline;gap:6px;padding:4px 11px;border-radius:99px;border:1px solid var(--line);background:var(--tint-soft);white-space:nowrap;font-size:.85rem}
.tv-ef-l{color:var(--muted);font-size:.74rem;font-weight:700;text-transform:uppercase;letter-spacing:.03em}
.tv-ef b{color:var(--ink);font-weight:700}
.tv-ena{color:var(--muted);font-size:.85rem}
@media (max-width:719px){
  .tv-edi{grid-template-columns:minmax(0,1fr)}
  .tv-eside{justify-content:flex-start}
}
.tv-note{margin:10px 0 0;color:var(--muted);font-size:.85rem}
/* certificates */
.tv-certs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:0;padding:0;list-style:none}
@media(min-width:560px){.tv-certs{grid-template-columns:repeat(auto-fill,minmax(168px,1fr))}}
.tv-cert{display:grid;grid-template-rows:auto 1fr;min-width:0;border-radius:16px;border:1px solid var(--line-card);background:var(--card);box-shadow:0 1px 3px rgba(15,40,35,.08);overflow:hidden}
.tv-cert:hover{border-color:var(--btn-line,var(--line-field));box-shadow:0 4px 14px rgba(15,40,35,.12)}
.tv-cert-th{position:relative;display:block;width:100%;aspect-ratio:4/3;padding:0;border:0;border-bottom:1px solid var(--line);overflow:hidden;background:var(--tint-soft);cursor:zoom-in}
.tv-cert-th img{display:block;width:100%;height:100%;object-fit:cover}
.tv-cert-th:focus-visible{outline:3px solid var(--primary);outline-offset:-3px}
.tv-cert-bd{position:absolute;left:8px;bottom:8px;display:grid;place-items:center;width:26px;height:26px;border-radius:50%;background:var(--card);color:var(--primary);box-shadow:0 1px 4px rgba(0,0,0,.25)}
.tv-cert-bd svg{width:15px;height:15px}
.tv-cert-tx{display:grid;gap:4px;align-content:start;min-width:0;padding:10px 12px 12px}
.tv-cert-tx b{font-size:.92rem;line-height:1.35;overflow-wrap:anywhere}
.tv-cert-meta{display:flex;flex-wrap:wrap;align-items:center;gap:4px 8px}
.tv-cert-meta small{color:var(--muted);overflow-wrap:anywhere;line-height:1.35}
.tv-cert-yr{display:inline-block;padding:1px 9px;border-radius:99px;background:var(--tint-soft);color:var(--primary);border:1px solid var(--line-chip);font-size:.76rem;font-weight:700}
.tv-certg{display:grid;justify-items:center;gap:12px;text-align:center}
.tv-cert-ph{position:relative;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;width:100%;max-width:420px}
@media(min-width:560px){.tv-cert-ph{grid-template-columns:repeat(4,minmax(0,1fr));max-width:560px}}
.tv-cert-phi{display:grid;gap:6px;padding:6px;border-radius:12px;border:1px solid var(--line-card);background:var(--card);filter:blur(3px);opacity:.85}
.tv-cert-phi i{display:block;border-radius:8px;background:var(--tint-soft);aspect-ratio:4/3}
.tv-cert-phi i+i{aspect-ratio:auto;height:10px;width:70%}
.tv-cert-lock{position:absolute;left:50%;top:50%;display:grid;place-items:center;width:52px;height:52px;margin:-26px 0 0 -26px;border-radius:50%;background:var(--card);color:var(--primary);border:1px solid var(--line-chip);box-shadow:0 4px 14px rgba(15,40,35,.2)}
.tv-cert-lock svg{width:24px;height:24px}
.tv-certg-t{margin:0;color:var(--text-soft);line-height:1.5;font-weight:600}
.tv-certl,.tv-certm{display:inline-flex;align-items:center;min-height:48px;padding:0 18px;font-weight:700}
.tv-certm{margin-top:12px;color:var(--primary);text-decoration:underline;text-underline-offset:3px}

/* certificates section: same visual language as the profile card (header pill, 4:3 tiles with the title below, verified line, empty state) */
.tv-sec>h2 .tv-cert-count{margin-left:auto;flex:none;display:inline-flex;align-items:center;min-height:28px;padding:0 10px;border-radius:99px;border:1px solid var(--line-chip);background:var(--tint-soft);color:var(--primary);font-weight:800;font-size:.78rem}
.tv-certs{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 12px}
@media(min-width:560px){.tv-certs{grid-template-columns:repeat(auto-fill,minmax(132px,148px));gap:18px 14px}}
.tv-cert{display:grid;grid-template-rows:auto 1fr;gap:8px;border:0;background:transparent;box-shadow:none;overflow:visible;border-radius:0}
.tv-cert:hover{border:0;box-shadow:none}
.tv-cert-th{border:1px solid var(--line-card);border-radius:14px;box-shadow:0 1px 3px rgba(15,40,35,.08)}
.tv-cert-th:hover{border-color:var(--btn-line,var(--line-field))}
.tv-cert-tx{padding:0;gap:2px}
.tv-cert-tx b{font-size:.88rem;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.tv-cert-meta small{font-size:.78rem}
.tv-certv{display:flex;align-items:center;gap:10px;margin:16px 0 0;padding:12px 14px;border-radius:14px;background:color-mix(in srgb,var(--primary) 10%,var(--card));border:1px solid color-mix(in srgb,var(--primary) 35%,transparent);color:var(--primary);font-size:.88rem;font-weight:700;line-height:1.45}
.tv-certv svg{flex:none}
.tv-cempty{display:grid;justify-items:center;gap:6px;padding:20px 16px;border-radius:16px;border:1.5px dashed var(--line-field);background:var(--tint-soft);text-align:center}
.tv-cempty b{font-size:1rem}
.tv-cempty .tv-empty{margin:0;font-size:.88rem}
.tv-cempty-i{display:grid;place-items:center;width:44px;height:44px;border-radius:14px;background:var(--card);color:var(--primary)}
.tv-cempty-i svg{width:22px;height:22px}
@media (max-width:519px){.tv-hat{display:none}}
@media (min-width:640px){.tv-hat{width:150px;height:150px;right:30px;bottom:20px}}
/* hero content: pill facts, same language as the own profile */
.tv-soft .tv-meta{gap:6px 8px}
.tv-soft .tv-meta li{min-height:28px;padding:0 10px 0 8px;border-radius:99px;background:var(--tint-soft);border:1px solid var(--line-chip);font-size:.84rem}
.tv-soft .tv-meta li.tv-actli{padding:0;background:none;border:0}
.tv-soft .tv-name{font-weight:800;letter-spacing:-.01em}
@media (min-width:640px){
  .tv-soft .tv-meta li{min-height:32px;padding:0 12px 0 10px;font-size:.9rem}
}
@media (max-width:639px){
  .tv-soft .tv-meta{gap:4px 6px}
  .tv-soft .tv-meta li{min-height:24px;padding:0 8px 0 6px;font-size:.8rem;gap:4px}
  .tv-soft .tv-meta svg{width:14px;height:14px}
}
[data-save][hidden]{display:none!important}
/* tight top of the soft hero (cover band removed); scoped so guardian-view keeps its cover */
.tv-soft .tv-cover{display:none}
.tv-soft .tv-hin{padding-top:16px}
.tv-soft .tv-avwrap{margin-top:0}
.tv-soft .tv-namerow{padding-top:48px}
@media(min-width:640px){
  .tv-soft .tv-hin{padding-top:28px}
  .tv-soft .tv-avwrap{margin-top:0}
  .tv-soft .tv-hbody{padding-top:8px}
  .tv-soft .tv-namerow{padding-top:0}
}
@media(min-width:640px) and (max-width:899px){.tv-soft .tv-namerow{padding-right:112px}}
@media(min-width:900px){.tv-soft .tv-hbody>.tv-types{margin-top:44px}}

/* phones: less empty space (smaller hero gaps, tighter cards and gutters) */
@media(max-width:639px){
  .tv{padding-block:8px 20px}
  .tv-soft .tv-hin{padding:14px 14px 14px;gap:8px 12px;grid-template-columns:76px minmax(0,1fr);align-items:center}
  .tv-soft .tv-avwrap{width:76px;height:76px;padding:3px}
  .tv-soft .tv-namerow{padding-top:0;gap:4px 8px}
  .tv-hbody>.tv-namerow,.tv-hbody>.tv-name{align-self:center}
  .tv-hat{width:64px;height:64px;right:10px;bottom:8px}
  .tv-hbody>*{margin-block:0}
  .tv-soft .tv-meta{padding-top:10px;border-top:1px solid var(--line-chip)}
  .tv-facts{margin-top:10px;gap:8px}
  .tv-facts li{padding:10px 12px;gap:10px;border-radius:16px}
  .tv-fic{width:34px;height:34px;border-radius:12px}
  .tv-layout{gap:12px;margin-top:12px}
  .tv-col{gap:12px}
  .tv-sec{padding:16px 14px;border-radius:20px}
  .tv-sec>h2{font-size:1.1rem;margin-bottom:10px;gap:8px}
  .tv-sic{width:30px;height:30px;border-radius:10px}
  .tv-p{line-height:1.6}
  .tv-card{padding:16px;border-radius:22px;gap:10px}
  .tv-main{padding-bottom:calc(var(--bnav-h) + 76px)}
}
/* no entrance animation: the profile header flickered on every page change */
.tv-in{animation:none!important;opacity:1!important;transform:none!important}

/* Show all N sits in the chip row, right after the last chip */
.tv-chips li.tv-morei{background:none;border:0;padding:0;min-height:0}
.tv-chips li.tv-morei .tv-more{margin:0;min-height:34px;padding:0 14px;font-size:.92rem}

/* phones: the name wraps instead of hiding under the save and share buttons, the institution stays beside the photo,
   the experience chip (the Experience card is right below) is dropped, a lone last fact card spans the row, and the Review button is full width */
@media(max-width:639px){
  .tv-tools{top:10px;right:10px;gap:6px}
  .tv-tools .tv-icbtn{width:38px;height:38px}
  .tv-soft .tv-avwrap{grid-row:1/3;align-self:start}
  .tv-soft .tv-namerow{padding-right:88px;align-self:end}
  .tv-hbody>.tv-inst{grid-column:2;grid-row:2;align-self:start;font-size:.92rem;line-height:1.4}
  .tv-hbody>.tv-namerow,.tv-hbody>.tv-name{grid-row:1}
  .tv-soft .tv-meta li.tv-mx{display:none}
  .tv-facts li:last-child:nth-child(odd){grid-column:1/-1}
  .tv-hbody>.tv-hrev{justify-self:stretch}
  .tv-hrev .rv-hbtn{width:100%;justify-content:center}
}

/* phones: Save and Share are already in the header card, so the side card does not repeat them */
@media(max-width:639px){
  .tv-card .tv-row2{display:none}
}

/* phones: name, then Verified and Active now on one row, then the institution tight under them (no loose gap beside the photo) */
.tv-act-top{display:none}
@media(max-width:639px){
  .tv-soft .tv-hin{row-gap:4px;align-items:start}
  .tv-soft .tv-avwrap{align-self:start}
  .tv-soft .tv-namerow,.tv-hbody>.tv-namerow{align-self:start;gap:6px 8px}
  .tv-soft .tv-namerow .tv-name{flex:1 1 100%}
  .tv-act-top{display:inline-flex}
  .tv-soft .tv-meta li.tv-actli{display:none}
  .tv-hbody>.tv-inst{align-self:start;margin-top:0}
}
@media(max-width:639px){
  .tv-soft .tv-namerow{padding-right:0}
  .tv-soft .tv-namerow .tv-name{flex:1 1 100%;padding-right:84px;box-sizing:border-box}
  .tv-act-top{white-space:nowrap}
  .tv-act-top .tv-actdot+span{white-space:nowrap}
}

/* phones: the heart and share buttons get their own row above the photo and name, so the name has the full width and stays on one line */
@media(max-width:639px){
  .tv-hero>.tv-tools{position:static;justify-content:flex-end;padding:10px 12px 0}
  .tv-soft .tv-hin{padding-top:4px}
  .tv-soft .tv-namerow .tv-name{flex:1 1 100%;padding-right:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:1.2rem}
}

/* phones: heart and share sit on the same line as the name, at the right end; the name stays on one line (cut with an ellipsis if it is very long) */
@media(max-width:639px){
  .tv-hero>.tv-tools{position:absolute;top:14px;right:12px;padding:0;gap:4px}
  .tv-hero>.tv-tools .tv-icbtn{width:34px;height:34px}
  .tv-hero>.tv-tools .tv-icbtn svg{width:18px;height:18px}
  .tv-soft .tv-hin{padding-top:14px}
  .tv-soft .tv-namerow .tv-name{padding-right:78px;font-size:1.18rem;line-height:34px}
}

/* single column (under 960px): the per month fee card (the side card) comes right after Education and background, not at the very end.
   .tv-col stops being a box of its own so its sections and the side card can be ordered together. Sections up to Education keep order 0
   (the Reviews card is among them when the tutor has reviews, see .tv-rvfirst), the fee card is 1, everything after Education is 2.
   With no reviews yet the Reviews card is the last section and goes after the fee card too. */
@media(max-width:959px){
  .tv-col{display:contents}
  .tv-side{order:1}
  #sec-certs,#sec-areas,#sec-avail,#sec-fee{order:2}
  .tv-layout:not(.tv-rvfirst) #sec-reviews{order:2}
}

/* phones: the status chip ("Verified" / "Not verified yet") and the activity chip ("Active now" / "Active 12 days ago") share one line when they can: tighter padding, font and gaps */
@media(max-width:639px){
  .tv-soft .tv-namerow{gap:6px 5px}
  .tv-soft .tv-namerow .tv-status,.tv-soft .tv-namerow .tv-act-top{min-height:26px;padding:0 8px 0 7px;gap:4px;font-size:.74rem;line-height:1.2}
  .tv-soft .tv-namerow .tv-status svg{width:13px;height:13px}
  .tv-soft .tv-namerow .tv-actdot{width:8px;height:8px}
}

/* the status and activity chips live in .tv-chiprow; it adds no box on wider screens */
.tv-chiprow{display:contents}
/* phones: photo and name (with the heart and share buttons) on the first row; the two chips get the full card width on the second, so they fit on one line;
   the degree line is the third */
@media(max-width:639px){
  .tv-soft .tv-namerow,.tv-hbody>.tv-namerow{display:contents}
  .tv-soft .tv-avwrap{grid-row:1;align-self:center}
  .tv-soft .tv-namerow .tv-name{grid-column:2;grid-row:1;align-self:center;min-width:0}
  .tv-chiprow{grid-column:1/-1;grid-row:2;display:flex;flex-wrap:wrap;align-items:center;gap:6px 5px}
  .tv-hbody>.tv-inst{grid-column:1/-1;grid-row:3;align-self:start}
}

/* phones: the degree and institute line stays on one line and ends with an ellipsis when it is too long (the full text is the tooltip) */
@media(max-width:639px){
  .tv-hbody>.tv-inst{min-width:0;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
}

/* phones: the name and the degree line fill the space beside the photo (no empty gap); the two chips take the full card width on the row below */
@media(max-width:639px){
  .tv-soft .tv-avwrap{grid-row:1/3;align-self:center}
  .tv-soft .tv-namerow .tv-name{grid-column:2;grid-row:1;align-self:end}
  .tv-hbody>.tv-inst{grid-column:2;grid-row:2;align-self:start}
  .tv-hin:has(.tv-inst[hidden]) .tv-namerow .tv-name{align-self:center}
  .tv-chiprow{grid-column:1/-1;grid-row:3}
}

/* phones: a little space above the Verified and Active chips row, between the photo block and the chips */
@media(max-width:639px){
  .tv-chiprow{margin-top:8px}
}

/* phones: the degree and institute line may take two lines at most, then ends with an ellipsis (replaces the one-line rule above) */
@media(max-width:639px){
  .tv-hbody>.tv-inst{white-space:normal;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2;overflow:hidden;text-overflow:ellipsis;overflow-wrap:anywhere;line-height:1.35}
}
