
/* Layout: marketplace prototype — sticky site header, page sections, floating comparison toolbar at the bottom.
   Neutrals carry 90% of the UI; the palette (A/B/C) only touches actions, links, badges and one dark band. */
:root{
  --bg:#FFFFFF; --surface:#FFFFFF; --subtle:#F3F3F5; --line:#E4E4E9;
  --fg:#1A1C24; --muted:#676A75; --ok:#1E8E5A;
  --primary:#F5B700; --primary-strong:#E0A700; --primary-ink:#1A1C24; --primary-soft:#EAEEFC; --primary-soft-ink:#25409F;
  --blue:#3B5BDB; --accent:#F5B700; --star:#F5B700; --badge-bg:#EAEEFC; --badge-fg:#25409F;
  --band:#16245E; --band-fg:#F4F6FD; --band-muted:#B7C0E6;
  --display:"Bricolage Grotesque", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --body:"Figtree", "Segoe UI", system-ui, -apple-system, sans-serif;
  --r-sm:8px; --r-md:14px; --r-lg:22px;
  --shadow:0 1px 2px rgba(22,20,31,.05), 0 8px 24px rgba(22,20,31,.06);
}
@media (prefers-color-scheme: dark){
  :root.modo-escuro{
    --bg:#111318; --surface:#1B1E25; --subtle:#22252D; --line:#2B2F38;
    --fg:#F1F2F5; --muted:#9B9EA9; --ok:#4CC38A;
    --primary:#7F95FF; --primary-strong:#9AABFF; --primary-ink:#0D1430; --primary-soft:#1E2645; --primary-soft-ink:#B4C1FF;
    --accent:#FF8A6B; --star:#FF8A6B; --badge-bg:#3A221B; --badge-fg:#FFB59F;
    --band:#1B1E25; --band-fg:#F1F2F5; --band-muted:#9B9EA9;
    --shadow:0 1px 2px rgba(0,0,0,.3), 0 8px 24px rgba(0,0,0,.25);
    color-scheme:dark;
  }
}
:root.modo-escuro{
  --bg:#111318; --surface:#1B1E25; --subtle:#22252D; --line:#2B2F38;
  --fg:#F1F2F5; --muted:#9B9EA9; --ok:#4CC38A;
  --primary:#7F95FF; --primary-strong:#9AABFF; --primary-ink:#0D1430; --primary-soft:#1E2645; --primary-soft-ink:#B4C1FF;
  --accent:#FF8A6B; --star:#FF8A6B; --badge-bg:#3A221B; --badge-fg:#FFB59F;
  --band:#1B1E25; --band-fg:#F1F2F5; --band-muted:#9B9EA9;
  --shadow:0 1px 2px rgba(0,0,0,.3), 0 8px 24px rgba(0,0,0,.25);
  color-scheme:dark;
}


*{box-sizing:border-box}
body{background:var(--bg); color:var(--fg); font-family:var(--body); font-size:15px; line-height:1.55; padding-bottom:120px}
.site{background:var(--bg); color:var(--fg); transition:background .2s}
h1,h2,h3{font-family:var(--display); line-height:1.1; text-wrap:balance; margin:0; letter-spacing:-.01em}
p{margin:0}
a{color:var(--primary)}
button{font:inherit; cursor:pointer}
:focus-visible{outline:2px solid var(--primary); outline-offset:2px}
.wrap{max-width:1160px; margin:0 auto; padding-left:max(16px, env(safe-area-inset-left, 0px)); padding-right:max(16px, env(safe-area-inset-right, 0px))}

/* Header */
body::before{content:""; position:fixed; inset:0 0 auto; height:env(safe-area-inset-top, 0px); z-index:10; background:var(--surface)}
.hdr{position:sticky; top:env(safe-area-inset-top, 0px); z-index:9; background:var(--surface); border-bottom:1px solid var(--line)}
.hdr .wrap{display:flex; align-items:center; gap:24px; height:64px}
.logo{display:flex; align-items:center; gap:2px; font-family:var(--logo-font, "Lexend"), var(--display); font-weight:800; font-size:22px; color:var(--fg); text-decoration:none; letter-spacing:-.02em; background:none; border:0; padding:0}
.mark{display:inline-grid; place-items:center; width:1.15em; height:1.15em; border-radius:.34em; background:var(--blue); color:var(--accent); flex:none; vertical-align:-.12em; box-shadow:inset 0 -2px 0 rgba(0,0,0,.18)}
.mark svg{width:72%; height:72%; fill:currentColor}
.logo .mark{margin-left:4px; transform:rotate(-8deg)}
.pl{width:1em; height:1em; fill:currentColor; flex:none}
.nav{display:flex; gap:22px; margin-left:12px}
.nav a{color:var(--muted); text-decoration:none; font-weight:500}
.nav a:hover{color:var(--fg)}
.hdr .right{margin-left:auto; display:flex; gap:10px; align-items:center}
.btn{display:inline-flex; align-items:center; justify-content:center; gap:8px; border-radius:999px; padding:10px 18px; font-weight:600; border:1px solid transparent; text-decoration:none; white-space:nowrap}
.btn-primary{background:var(--primary); color:var(--primary-ink)}
.btn-primary:hover{background:var(--primary-strong)}
.btn-ghost{background:transparent; color:var(--fg); border-color:var(--line)}
.btn-ghost:hover{background:var(--subtle)}
.btn-text{background:none; border:0; color:var(--fg); font-weight:600; padding:10px 8px}
.btn-lg{padding:14px 24px; font-size:16px}
.btn-block{width:100%}

/* Hero */
.hero{padding-block:56px 40px}
.hero .wrap{display:grid; grid-template-columns:1.15fr .85fr; gap:48px; align-items:center}
.eyebrow{font-size:12px; font-weight:700; letter-spacing:.08em; text-transform:uppercase; color:var(--muted)}
.hero h1{font-size:clamp(36px, 5.2vw, 60px); font-weight:800; margin-top:12px}
.hero h1 em{font-style:normal; color:var(--primary)}
.hero .lead{color:var(--muted); font-size:18px; max-width:52ch; margin-top:16px}
.search{margin-top:28px; display:flex; align-items:stretch; background:var(--surface); border:1px solid var(--line); border-radius:999px; padding:6px; box-shadow:var(--shadow); max-width:640px}
.search label{display:flex; flex-direction:column; justify-content:center; padding:4px 18px; flex:1; min-width:0}
.search label + label{border-left:1px solid var(--line); flex:.7}
.search small{font-size:11px; font-weight:700; text-transform:uppercase; letter-spacing:.06em; color:var(--muted)}
.search input{border:0; background:transparent; font:inherit; color:var(--fg); padding:2px 0; outline:none; min-width:0; width:100%}
.search input::placeholder{color:var(--muted); opacity:.8}
.search .btn{padding:12px 24px}
.chips{display:flex; flex-wrap:wrap; gap:8px; margin-top:18px; align-items:center}
.chips span.lbl{font-size:13px; color:var(--muted); margin-right:4px}
.chip{border:1px solid var(--line); background:var(--surface); color:var(--fg); border-radius:999px; padding:6px 12px; font-size:13px; font-weight:500}
.chip:hover{border-color:var(--primary); color:var(--primary)}

.collage{position:relative; height:400px}
.mini{position:absolute; background:var(--surface); border:1px solid var(--line); border-radius:var(--r-lg); box-shadow:var(--shadow); padding:14px; width:230px}
.mini .ph{height:150px; border-radius:var(--r-md)}
.mini b{display:block; margin-top:10px; font-size:15px}
.mini span{font-size:13px; color:var(--muted)}
.mini:nth-child(1){top:0; left:0}
.mini:nth-child(2){top:60px; right:0}
.mini:nth-child(3){bottom:0; left:60px}
.pill-free{position:absolute; top:24px; left:24px; background:var(--badge-bg); color:var(--badge-fg); font-size:12px; font-weight:700; padding:4px 10px; border-radius:999px}

/* Photo placeholders: content colors, independent from brand palette */
.ph{position:relative; display:grid; place-items:center; color:#fff; font-family:var(--display); font-weight:700; overflow:hidden}
.ph::after{content:""; position:absolute; inset:0; background:radial-gradient(circle at 50% 38%, rgba(255,255,255,.28) 0 18%, transparent 19%), radial-gradient(ellipse at 50% 100%, rgba(255,255,255,.22) 0 38%, transparent 39%)}
.ph i{position:relative; z-index:1; font-style:normal; font-size:15px; letter-spacing:.05em; opacity:.0}
.t1{background:linear-gradient(160deg,#C98B6B,#7A4B3A)}
.t2{background:linear-gradient(160deg,#7C93A8,#3E5468)}
.t3{background:linear-gradient(160deg,#B79A7C,#6B5440)}
.t4{background:linear-gradient(160deg,#8AA37E,#4A6140)}
.t5{background:linear-gradient(160deg,#C4A0A8,#7D5560)}
.t6{background:linear-gradient(160deg,#9E8FB0,#5B4E6E)}

/* Sections */
section.block{padding-block:48px}
.sec-head{display:flex; align-items:end; justify-content:space-between; gap:16px; margin-bottom:24px; flex-wrap:wrap}
.sec-head h2{font-size:clamp(24px, 3vw, 32px); font-weight:700}
.sec-head p{color:var(--muted); margin-top:6px}
.cats{display:grid; grid-template-columns:repeat(4, 1fr); gap:12px}
.cat{display:flex; gap:14px; align-items:center; background:var(--surface); border:1px solid var(--line); border-radius:var(--r-md); padding:16px; text-align:left; color:var(--fg)}
.cat:hover{border-color:var(--primary)}
.cat .ic{flex:none; width:44px; height:44px; border-radius:12px; display:grid; place-items:center; background:var(--primary-soft); color:var(--primary-soft-ink)}
.cat svg{width:22px; height:22px; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round}
.cat b{display:block; font-size:15px}
.cat span{font-size:13px; color:var(--muted); font-variant-numeric:tabular-nums}

.grid-t{display:grid; grid-template-columns:repeat(3, 1fr); gap:20px}
.tcard{background:var(--surface); border:1px solid var(--line); border-radius:var(--r-lg); overflow:hidden; display:flex; flex-direction:column; text-align:left; padding:0; color:var(--fg)}
.tcard:hover{box-shadow:var(--shadow)}
.tcard .ph{aspect-ratio:4/3; max-width:100%}
.tcard .body{padding:16px 18px 18px; display:flex; flex-direction:column; gap:6px; flex:1}
.tcard .top{display:flex; justify-content:space-between; align-items:center; gap:8px}
.tcard h3{font-size:18px; font-weight:700}
.tcard .subj{color:var(--muted); font-size:14px}
.rating{display:inline-flex; align-items:center; gap:4px; font-weight:600; font-size:14px; font-variant-numeric:tabular-nums}
.rating .s{color:var(--star)}
.rating small{color:var(--muted); font-weight:400}
.tags{display:flex; gap:6px; flex-wrap:wrap; margin-top:4px}
.tag{font-size:12px; padding:3px 9px; border-radius:999px; background:var(--subtle); color:var(--muted); font-weight:500}
.tag.free{background:var(--badge-bg); color:var(--badge-fg); font-weight:700}
.tcard .foot{display:flex; justify-content:space-between; align-items:center; margin-top:auto; padding-top:12px; border-top:1px solid var(--line)}
.price{font-family:var(--display); font-weight:700; font-size:20px; font-variant-numeric:tabular-nums}
.price small{font-family:var(--body); font-size:13px; color:var(--muted); font-weight:400}
.link{color:var(--primary); font-weight:600; font-size:14px}
.fav{position:absolute; top:12px; right:12px; z-index:2; width:34px; height:34px; border-radius:50%; background:rgba(255,255,255,.9); display:grid; place-items:center; color:#16141F}
.fav svg{width:18px; height:18px; fill:none; stroke:currentColor; stroke-width:2}

.steps{display:grid; grid-template-columns:repeat(3, 1fr); gap:20px}
.step{padding:24px; border-radius:var(--r-lg); background:var(--subtle)}
.step .n{font-family:var(--display); font-weight:800; font-size:15px; width:34px; height:34px; border-radius:50%; display:grid; place-items:center; background:var(--primary); color:var(--primary-ink)}
.step h3{font-size:19px; margin-top:16px}
.step p{color:var(--muted); margin-top:8px}

.band{background:var(--band); color:var(--band-fg); border-radius:var(--r-lg); padding:44px; display:grid; grid-template-columns:1.3fr 1fr; gap:32px; align-items:center}
.band h2{font-size:clamp(26px, 3.4vw, 38px); font-weight:800}
.band h2 span{color:var(--accent)}
.band p{color:var(--band-muted); margin-top:12px; max-width:48ch}
.band .stats{display:grid; grid-template-columns:1fr 1fr; gap:16px}
.band .stat{border:1px solid rgba(255,255,255,.14); border-radius:var(--r-md); padding:16px}
.band .stat b{display:block; font-family:var(--display); font-size:28px; color:var(--band-fg); font-variant-numeric:tabular-nums}
.band .stat span{font-size:13px; color:var(--band-muted)}
.btn-accent{background:var(--primary); color:var(--primary-ink); margin-top:24px}
.btn-accent:hover{background:var(--primary-strong)}
.band{border:1px solid var(--line)}

footer{border-top:1px solid var(--line); margin-top:48px; padding-block:32px; color:var(--muted); font-size:14px}
footer .wrap{display:flex; justify-content:space-between; gap:16px; flex-wrap:wrap; align-items:center}

/* Profile */
.crumbs{font-size:13px; color:var(--muted); padding-block:20px 0}
.crumbs a{color:var(--muted)}
.prof{display:grid; grid-template-columns:minmax(0,1fr) 360px; gap:40px; padding-block:20px 40px; align-items:start}
.p-head{display:flex; gap:24px; align-items:flex-start}
.p-head .ph{width:150px; height:150px; border-radius:var(--r-lg); flex:none}
.p-head h1{font-size:clamp(28px, 3.6vw, 40px); font-weight:800}
.p-head .headline{font-size:17px; color:var(--muted); margin-top:8px; max-width:56ch}
.meta{display:flex; flex-wrap:wrap; gap:8px 18px; margin-top:14px; font-size:14px; color:var(--muted); align-items:center}
.verified{display:inline-flex; align-items:center; gap:5px; color:var(--ok); font-weight:600}
.verified svg{width:16px; height:16px; fill:none; stroke:currentColor; stroke-width:2.4; stroke-linecap:round; stroke-linejoin:round}
.tabs{display:flex; gap:4px; border-bottom:1px solid var(--line); margin-top:28px; overflow-x:auto}
.tabs a{padding:12px 14px; color:var(--muted); text-decoration:none; font-weight:600; border-bottom:2px solid transparent; white-space:nowrap}
.tabs a.on{color:var(--fg); border-color:var(--primary)}
.p-sec{padding-block:28px; border-bottom:1px solid var(--line)}
.p-sec h2{font-size:22px; font-weight:700; margin-bottom:12px}
.p-sec p{max-width:65ch; color:var(--fg)}
.p-sec p + p{margin-top:10px}
.facts{display:grid; grid-template-columns:repeat(3, 1fr); gap:12px; margin-top:20px}
.fact{background:var(--subtle); border-radius:var(--r-md); padding:14px 16px}
.fact b{display:block; font-family:var(--display); font-size:22px; font-variant-numeric:tabular-nums}
.fact span{font-size:13px; color:var(--muted)}
.video{margin-top:20px; aspect-ratio:16/9; max-width:100%; border-radius:var(--r-lg); position:relative}
.video .play{position:absolute; inset:0; margin:auto; width:64px; height:64px; border-radius:50%; background:rgba(255,255,255,.92); display:grid; place-items:center; z-index:2; color:#16141F}
.video .play svg{width:24px; height:24px; fill:currentColor; margin-left:4px}
.video .cap{position:absolute; left:16px; bottom:14px; z-index:2; color:#fff; font-size:14px; font-weight:600; text-shadow:0 1px 6px rgba(0,0,0,.4)}

.sched-wrap{overflow-x:auto}
.sched{display:grid; grid-template-columns:repeat(7, minmax(72px,1fr)); gap:8px; min-width:560px}
.sched .d{font-size:12px; font-weight:700; text-transform:uppercase; letter-spacing:.06em; color:var(--muted); text-align:center; padding-bottom:4px}
.sched .d span{display:block; font-family:var(--display); font-size:17px; color:var(--fg); letter-spacing:0; text-transform:none; font-variant-numeric:tabular-nums}
.slot{border:0; border-radius:var(--r-sm); padding:8px 0; font-size:13px; font-weight:600; text-align:center; font-variant-numeric:tabular-nums; background:var(--primary-soft); color:var(--primary-soft-ink)}
.slot:hover{background:var(--primary); color:var(--primary-ink)}
.slot.off{background:transparent; color:var(--muted); text-decoration:line-through; opacity:.55; cursor:default}
.slot.off:hover{background:transparent; color:var(--muted)}
.legend{display:flex; gap:16px; font-size:13px; color:var(--muted); margin-top:12px; flex-wrap:wrap}

.rev-sum{display:grid; grid-template-columns:auto 1fr; gap:28px; align-items:center; margin-bottom:24px}
.rev-sum .big{font-family:var(--display); font-size:52px; font-weight:800; line-height:1}
.rev-sum .big + div{color:var(--star); letter-spacing:2px}
.bars{display:grid; gap:6px; max-width:340px}
.bar{display:grid; grid-template-columns:24px 1fr 38px; gap:10px; align-items:center; font-size:13px; color:var(--muted); font-variant-numeric:tabular-nums}
.bar i{display:block; height:6px; border-radius:6px; background:var(--subtle); overflow:hidden}
.bar i::before{content:""; display:block; height:100%; width:var(--w); background:var(--star)}
.reviews{display:grid; gap:20px}
.rev{display:grid; grid-template-columns:44px 1fr; gap:14px}
.rev .av{width:44px; height:44px; border-radius:50%; font-size:14px}
.rev .who{display:flex; gap:10px; align-items:baseline; flex-wrap:wrap}
.rev .who b{font-size:15px}
.rev .who span{font-size:13px; color:var(--muted)}
.rev .st{color:var(--star); font-size:13px; letter-spacing:1px}
.rev p{margin-top:4px}

.book{position:sticky; top:calc(env(safe-area-inset-top, 0px) + 84px); background:var(--surface); border:1px solid var(--line); border-radius:var(--r-lg); padding:22px; box-shadow:var(--shadow); display:grid; gap:16px}
.book .pr{display:flex; align-items:baseline; justify-content:space-between; gap:10px}
.book .pr .price{font-size:30px}
.opts{display:grid; gap:8px}
.opt{display:flex; justify-content:space-between; align-items:center; gap:10px; border:1px solid var(--line); border-radius:var(--r-md); padding:12px 14px; background:var(--surface); color:var(--fg); text-align:left}
.opt.on{border-color:var(--primary); background:var(--primary-soft)}
.opt b{display:block; font-size:14px}
.opt span{font-size:13px; color:var(--muted)}
.opt .v{font-weight:700; font-variant-numeric:tabular-nums; white-space:nowrap}
.save{font-size:11px; font-weight:700; background:var(--badge-bg); color:var(--badge-fg); padding:2px 7px; border-radius:999px; margin-left:6px}
.book .note{font-size:13px; color:var(--muted); display:grid; gap:6px}
.book .note div{display:flex; gap:8px; align-items:center}
.book .note svg{width:16px; height:16px; flex:none; fill:none; stroke:var(--ok); stroke-width:2.2; stroke-linecap:round; stroke-linejoin:round}
.avail{display:grid; gap:10px}
.avail div{display:grid; grid-template-columns:160px 1fr; gap:12px; padding:12px 16px; background:var(--subtle); border-radius:var(--r-md)}
.avail b{font-size:14px}
.avail span{color:var(--muted); font-size:14px}
@media (max-width:640px){ .avail div{grid-template-columns:1fr; gap:2px} }
.cform{display:grid; gap:14px}
.cform label{display:grid; gap:6px; font-size:13px; font-weight:600}
.cform input:not([type=radio]), .cform select, .cform textarea{font:inherit; font-weight:400; font-size:14px; color:var(--fg); background:var(--surface); border:1px solid var(--line); border-radius:var(--r-sm); padding:10px 12px; width:100%; resize:vertical}
.cform input:focus, .cform select:focus, .cform textarea:focus{outline:2px solid var(--primary); outline-offset:0; border-color:transparent}
.cform fieldset{border:0; padding:0; margin:0; display:grid; gap:6px}
.cform legend{font-size:13px; font-weight:600; padding:0; margin-bottom:6px}
.seg{display:grid; grid-template-columns:1fr 1fr; border:1px solid var(--line); border-radius:var(--r-sm); overflow:hidden}
.seg input{position:absolute; opacity:0; pointer-events:none}
.seg label{display:block; text-align:center; padding:9px; font-weight:600; cursor:pointer; color:var(--muted)}
.seg input:checked + label{background:var(--primary-soft); color:var(--primary-soft-ink)}
.seg input:focus-visible + label{outline:2px solid var(--primary); outline-offset:-2px}
.sent{display:grid; gap:10px; text-align:center; justify-items:center; padding-block:8px}
.sent p{color:var(--muted); font-size:14px}
.ok-ic{width:48px; height:48px; border-radius:50%; background:var(--primary-soft); color:var(--primary-soft-ink); display:grid; place-items:center}
.ok-ic svg{width:24px; height:24px; fill:none; stroke:currentColor; stroke-width:2.4; stroke-linecap:round; stroke-linejoin:round}
/* Final palette: yellow = action and energy, blue = knowledge and trust */
a, .link{color:var(--blue)}
:focus-visible{outline-color:var(--blue)}
.hero h1 em{color:var(--blue); background:linear-gradient(transparent 70%, #FFE38F 70%)}
.step .n{background:var(--blue); color:#FFFFFF}
.tabs a.on, .cat-tabs button.on{border-color:var(--blue)}
.chip:hover{border-color:var(--blue); color:var(--blue)}
.cat:hover, .opt.on{border-color:var(--blue)}
.band{border:0}
.band .stat{border-color:rgba(255,255,255,.18)}
.verified{color:var(--blue)}
.book .note svg{stroke:var(--blue)}
.cform input:focus, .cform select:focus, .cform textarea:focus{outline-color:var(--blue)}
.role button.on{border-color:var(--blue)}
.stepper div.on::before{background:var(--blue)}
/* More blue + brand plus */
.hdr{border-top:3px solid var(--blue)}
.step{background:var(--primary-soft)}
.step h3{color:var(--primary-soft-ink)}
.fact{background:var(--primary-soft)}
.fact b{color:var(--blue)}
.avail div{background:var(--primary-soft)}
.avail b{color:var(--primary-soft-ink)}
footer{background:var(--band); color:var(--band-muted); border-top:0}
.eyebrow{color:var(--blue)}
.sec-head h2, .p-sec h2{display:flex; align-items:center; gap:10px}
.sec-head h2::before, .p-sec h2::before{content:""; width:.8em; height:.8em; flex:none; border-radius:.24em; transform:rotate(-8deg); box-shadow:inset 0 -2px 0 rgba(0,0,0,.18); background:var(--accent) var(--blue); background:linear-gradient(var(--accent),var(--accent)) center/56% 20% no-repeat, linear-gradient(var(--accent),var(--accent)) center/20% 56% no-repeat, var(--blue)}
.btn .mark{font-size:1.05em}
.link .mark{font-size:.95em; margin-left:2px}
.perk .ok-ic{border-radius:12px; transform:rotate(-8deg)}
:root{--plus-svg:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='8.5' y='2' width='7' height='20' rx='3.5'/%3E%3Crect x='2' y='8.5' width='20' height='7' rx='3.5'/%3E%3C/svg%3E")}
.band{position:relative; overflow:hidden}
.band > *{position:relative; z-index:1}
.band::after{content:""; position:absolute; right:-60px; bottom:-80px; width:340px; height:340px; background:var(--accent); opacity:.1; -webkit-mask:var(--plus-svg) center/contain no-repeat; mask:var(--plus-svg) center/contain no-repeat; transform:rotate(-8deg)}
.collage::before{content:""; position:absolute; inset:40px; background:var(--primary-soft); -webkit-mask:var(--plus-svg) center/contain no-repeat; mask:var(--plus-svg) center/contain no-repeat; transform:rotate(-8deg)}
.perk .ok-ic{background:var(--blue); color:var(--accent)}
/* Teacher dashboard */
.dash{display:grid; grid-template-columns:230px minmax(0,1fr); gap:32px; padding-block:28px 40px; align-items:start}
.side{position:sticky; top:calc(env(safe-area-inset-top, 0px) + 84px); display:grid; gap:4px}
.side .me{display:flex; gap:10px; align-items:center; padding:8px 10px 16px}
.side .me .ph{width:44px; height:44px; border-radius:50%}
.side .me b{display:block; font-size:14px}
.side .me span{font-size:12px; color:var(--muted)}
.side button{display:flex; justify-content:space-between; align-items:center; gap:8px; border:0; background:none; text-align:left; padding:10px 12px; border-radius:var(--r-sm); font-weight:600; color:var(--muted)}
.side button.on{background:var(--primary-soft); color:var(--primary-soft-ink)}
.side .cnt{background:var(--blue); color:#fff; font-size:11px; border-radius:999px; padding:1px 7px}
.dash-top{display:flex; justify-content:space-between; align-items:end; gap:16px; flex-wrap:wrap}
.dash-top h1{font-size:clamp(26px,3.4vw,34px); font-weight:800}
.dash-top p{color:var(--muted); margin-top:6px}
.progress{background:var(--primary-soft); border-radius:var(--r-md); padding:16px 18px; display:grid; gap:10px; margin-top:20px}
.progress .hd{display:flex; justify-content:space-between; gap:10px; font-size:14px; color:var(--primary-soft-ink); flex-wrap:wrap}
.progress .tr{height:8px; border-radius:8px; background:#FFFFFF; overflow:hidden}
.progress .tr i{display:block; height:100%; width:var(--p); background:var(--blue); border-radius:8px; transition:width .4s}
.panel{background:var(--surface); border:1px solid var(--line); border-radius:var(--r-lg); padding:22px; display:grid; gap:16px; margin-top:20px}
.panel > h2{font-size:19px}
.panel > p.hint{color:var(--muted); font-size:14px; margin-top:-8px}
.drop{border:2px dashed var(--line); border-radius:var(--r-md); padding:28px 16px; display:grid; gap:8px; justify-items:center; text-align:center; cursor:pointer; color:var(--muted); font-size:14px; transition:border-color .15s, background .15s}
.drop b{color:var(--fg); font-size:15px}
.drop.over, .drop:hover{border-color:var(--blue); background:var(--primary-soft)}
.drop .di{width:44px; height:44px; border-radius:12px; display:grid; place-items:center; background:var(--primary-soft); color:var(--blue)}
.drop .di svg{width:22px; height:22px; fill:none; stroke:currentColor; stroke-width:2; stroke-linecap:round; stroke-linejoin:round}
.file{display:flex; gap:12px; align-items:center; border:1px solid var(--line); border-radius:var(--r-md); padding:12px 14px}
.file .fi{width:40px; height:40px; border-radius:10px; background:var(--primary-soft); color:var(--primary-soft-ink); display:grid; place-items:center; font-size:11px; font-weight:800; flex:none}
.file div{min-width:0; flex:1}
.file b{display:block; font-size:14px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap}
.file span{font-size:12px; color:var(--muted)}
.file button{border:0; background:none; color:var(--muted); font-weight:600; font-size:13px}
.vid-prev{width:100%; max-width:100%; border-radius:var(--r-md); background:#000; aspect-ratio:16/9}
.photo-row{display:flex; gap:18px; align-items:center; flex-wrap:wrap}
.photo-row img{width:96px; height:96px; border-radius:50%; object-fit:cover; flex:none}
.edu{display:grid; gap:10px}
.edu-item{display:grid; grid-template-columns:minmax(0,1fr) auto; gap:10px; align-items:center; background:var(--subtle); border-radius:var(--r-md); padding:12px 14px}
.edu-item b{display:block; font-size:14px}
.edu-item span{font-size:13px; color:var(--muted)}
.edu-item button{border:0; background:none; color:var(--muted); font-size:13px; font-weight:600}
.savebar{position:sticky; bottom:calc(84px + env(safe-area-inset-bottom, 0px)); margin-top:20px; display:flex; gap:10px; justify-content:flex-end; align-items:center; background:var(--surface); border:1px solid var(--line); border-radius:var(--r-lg); padding:12px 14px; box-shadow:var(--shadow); flex-wrap:wrap}
.savebar span{margin-right:auto; font-size:13px; color:var(--muted)}
.toast{position:fixed; left:50%; top:calc(84px + env(safe-area-inset-top, 0px)); transform:translateX(-50%); background:var(--band); color:#fff; padding:10px 16px; border-radius:999px; font-weight:600; font-size:14px; z-index:30; box-shadow:var(--shadow)}
.boost{display:grid; grid-template-columns:auto 1fr; gap:12px; align-items:start; background:var(--primary-soft); border-radius:var(--r-md); padding:14px 16px; font-size:20px}
.boost b{display:block; font-size:14px; color:var(--primary-soft-ink)}
.boost span:not(.mark){font-size:13px; color:var(--primary-soft-ink); opacity:.85}
.tag.must{background:var(--primary-soft); color:var(--primary-soft-ink); font-weight:700}
.three{display:grid; grid-template-columns:1.4fr 1.2fr .8fr; gap:12px}
@media (max-width:640px){ .three{grid-template-columns:1fr} }
.err{color:#B3261E; font-size:13px; font-weight:600; margin-top:-6px}
.edu-empty{font-size:14px; color:#B3261E; background:#FDECEA; border-radius:var(--r-md); padding:12px 14px}
.cform .invalid input:not([type=radio]):not([type=checkbox]), .cform .invalid select, .cform .invalid textarea{border-color:#B3261E; background:#FFF8F7}
.cform fieldset.invalid .pick label{border-color:#E8A39D}
.ferr{display:flex; gap:6px; align-items:center; color:#B3261E; font-size:13px; font-weight:600}
.ferr::before{content:"!"; display:inline-grid; place-items:center; width:16px; height:16px; border-radius:50%; background:#B3261E; color:#fff; font-size:11px; font-weight:800; flex:none}
.savebar span.bad{color:#B3261E; font-weight:600}
.ast{color:#B3261E}
.counter{font-size:12px; color:var(--muted); justify-self:end; margin-top:-8px}
@media (max-width:960px){ .dash{grid-template-columns:1fr} .side{position:static; grid-auto-flow:column; grid-auto-columns:max-content; overflow-x:auto} .side .me{display:none} }
[hidden]{display:none!important}
.edu-form{border:1.5px solid var(--blue); border-radius:var(--r-md); padding:16px; display:grid; gap:14px; background:var(--surface)}
.ef-title{font-size:15px}
.ef-btns{display:flex; gap:10px; flex-wrap:wrap}
.add-edu{display:flex; align-items:center; justify-content:center; gap:10px; width:100%; border:1.5px dashed var(--line); background:var(--surface); border-radius:var(--r-md); padding:16px; font-weight:700; font-size:15px; color:var(--blue)}
.add-edu:hover{border-color:var(--blue); background:var(--primary-soft)}
.ph-empty{border-radius:50%; background:var(--subtle); color:var(--muted); display:grid; place-items:center; flex:none; border:1.5px dashed var(--line)}
.ph-empty svg{width:55%; height:55%; fill:none; stroke:currentColor; stroke-width:1.6}
#me-av img{width:100%; height:100%; border-radius:50%; object-fit:cover}
/* Tour */
.panel, #teach-card{scroll-margin-top:96px}
@media (max-width:640px){ .panel, #teach-card{scroll-margin-top:120px} }
.pulse{animation:pulse 1.6s ease-out 2}
@keyframes pulse{0%{box-shadow:0 0 0 0 rgba(59,91,219,.55)}100%{box-shadow:0 0 0 18px rgba(59,91,219,0)}}
.tour-hl{position:fixed; z-index:60; border-radius:16px; box-shadow:0 0 0 4px var(--accent), 0 0 0 9999px rgba(16,20,40,.62); pointer-events:none; transition:all .3s ease}
.tour-block{position:fixed; inset:0; z-index:59}
.tour-tip{position:fixed; z-index:61; width:min(340px, calc(100vw - 32px)); background:var(--surface); border-radius:var(--r-lg); padding:18px 18px 14px; box-shadow:0 16px 50px rgba(0,0,0,.3); display:grid; gap:8px; transition:top .3s ease, left .3s ease}
.tour-tip .tt-step{font-size:12px; font-weight:700; color:var(--blue); letter-spacing:.04em; text-transform:uppercase}
.tour-tip h3{font-size:18px}
.tour-tip p{font-size:14px; color:var(--muted)}
.tour-dots{display:flex; gap:5px}
.tour-dots i{width:7px; height:7px; border-radius:50%; background:var(--line)}
.tour-dots i.on{background:var(--blue); width:18px; border-radius:4px}
.tour-nav{display:flex; align-items:center; gap:8px; margin-top:6px}
.tour-nav .skip{margin-right:auto; border:0; background:none; color:var(--muted); font-weight:600; font-size:13px; padding:6px 0}
.tour-nav .btn{padding:9px 16px; font-size:14px}
@media (prefers-reduced-motion: reduce){ .tour-hl, .tour-tip{transition:none} .pulse{animation:none; outline:3px solid var(--blue)} }
/* Welcome */
.modal{position:fixed; inset:0; z-index:40; background:rgba(16,20,40,.5); display:grid; place-items:center; padding:16px}
.mbox{background:var(--surface); border-radius:var(--r-lg); max-width:440px; width:100%; padding:32px 28px 20px; display:grid; gap:14px; text-align:center; justify-items:center; box-shadow:0 20px 60px rgba(0,0,0,.25); animation:pop .35s ease-out}
.mbox h2{font-size:26px; font-weight:800}
.mbox p{color:var(--muted)}
.w-mark{font-size:52px; line-height:0}
.w-mark .mark{animation:spin .6s ease-out}
.w-steps{display:grid; gap:8px; width:100%; text-align:left; background:var(--primary-soft); border-radius:var(--r-md); padding:14px 16px; font-size:14px; font-weight:600; color:var(--primary-soft-ink)}
.w-steps span{display:flex; gap:10px; align-items:center}
.tw{display:grid; grid-template-columns:auto 1fr; gap:18px; align-items:start; background:var(--band); color:var(--band-fg); border-radius:var(--r-lg); padding:22px 24px; margin-bottom:24px; animation:pop .35s ease-out}
.tw .w-mark{font-size:44px}
.tw h2{font-size:21px; font-weight:800}
.tw p{color:var(--band-muted); margin-top:6px; max-width:62ch; font-size:14px}
.tw-btns{display:flex; gap:10px; flex-wrap:wrap; margin-top:14px}
@keyframes pop{from{transform:translateY(10px) scale(.97); opacity:.4}to{transform:none; opacity:1}}
@keyframes spin{from{transform:rotate(-200deg) scale(.4)}to{transform:rotate(-8deg) scale(1)}}
@media (max-width:640px){ .tw{grid-template-columns:1fr} }
/* Auth flow */
.code{display:grid; grid-template-columns:repeat(6,1fr); gap:8px}
.code input{font-family:var(--display); font-size:24px; font-weight:700; text-align:center; padding:12px 0 !important; border-radius:var(--r-md) !important; font-variant-numeric:tabular-nums}
.code.bad input{border-color:#B3261E !important; background:#FFF8F7 !important}
.vic{width:52px; height:52px; border-radius:50%; background:var(--primary-soft); color:var(--blue); display:grid; place-items:center}
.vic svg{width:26px; height:26px; fill:none; stroke:currentColor; stroke-width:2; stroke-linejoin:round}
.resend{border:0; background:none; padding:0; color:var(--blue); font-weight:600; text-decoration:underline; font-size:inherit}
.resend:disabled{color:var(--muted); text-decoration:none; cursor:default}
.demo{font-size:12px; color:var(--muted); background:var(--subtle); border-radius:var(--r-sm); padding:8px 10px; text-align:center}
/* Hero brand visual */
.collage::before{inset:20px; background:none}
.hero-mark{position:absolute; inset:0; display:grid; place-items:center; pointer-events:none}
.hero-mark::before{content:""; position:absolute; width:300px; height:300px; border-radius:50%; background:var(--primary-soft)}
.hero-mark .mark{position:relative; font-size:170px; transform:rotate(-8deg); box-shadow:inset 0 -10px 0 rgba(0,0,0,.18), 0 24px 50px rgba(59,91,219,.28)}
.fchip{position:absolute; display:inline-flex; align-items:center; gap:8px; background:var(--surface); border:1px solid var(--line); border-radius:999px; padding:8px 14px 8px 8px; font-weight:700; font-size:14px; box-shadow:var(--shadow); animation:float 6s ease-in-out infinite; white-space:nowrap}
.fi2{width:28px; height:28px; border-radius:50%; background:var(--primary-soft); color:var(--blue); display:grid; place-items:center}
.fi2 svg{width:15px; height:15px; fill:none; stroke:currentColor; stroke-width:2; stroke-linecap:round; stroke-linejoin:round}
@keyframes float{0%,100%{transform:translateY(0)}50%{transform:translateY(-8px)}}
@media (prefers-reduced-motion: reduce){ .fchip{animation:none} }
.hero-mini{display:none}
@media (max-width:960px){
  .hero-top{display:grid; grid-template-columns:minmax(0,1fr) auto; gap:12px; align-items:center; margin-top:12px}
  .hero-top h1{margin-top:0}
  .hero-mini{display:block; position:relative; width:230px; height:220px}
  .hm-mark{position:absolute; inset:0; display:grid; place-items:center}
  .hm-mark::before{content:""; position:absolute; width:150px; height:150px; border-radius:50%; background:var(--primary-soft)}
  .hm-mark .mark{position:relative; font-size:92px; transform:rotate(-8deg); box-shadow:inset 0 -6px 0 rgba(0,0,0,.18), 0 14px 30px rgba(59,91,219,.28)}
}
@media (max-width:640px){
  .hero-mini{width:128px; height:150px}
  .hm-mark::before{width:104px; height:104px}
  .hm-mark .mark{font-size:62px}
  .hero-mini .fchip{font-size:10.5px; padding:3px 7px 3px 3px; gap:4px}
  .hero-mini .fi2{width:17px; height:17px}
  .hero-mini .fi2 svg{width:10px; height:10px}
  .hero h1{font-size:32px}
}
/* Site trust seals */
.safecard{position:absolute; right:0; bottom:0; z-index:3; background:var(--band); color:var(--band-fg); border-radius:var(--r-md); padding:14px 16px; display:grid; gap:7px; box-shadow:var(--shadow); font-size:12.5px; font-weight:600; min-width:210px}
.safecard .sc-hd{display:flex; align-items:center; gap:8px; font-size:14px; margin-bottom:2px}
.safecard .sc-ic{width:28px; height:28px; border-radius:50%; background:var(--accent); color:var(--band); display:grid; place-items:center}
.safecard .sc-ic svg{width:15px; height:15px}
.safecard > span{display:flex; align-items:center; gap:7px; color:var(--band-muted)}
.safecard > span svg{width:14px; height:14px; color:var(--accent); flex:none}
.only-sm{display:none !important}
@media (max-width:960px){ .only-sm{display:flex !important} }
.trustbar{display:flex; flex-wrap:wrap; gap:8px 18px; margin-top:16px; font-size:13px; font-weight:600; color:var(--primary-soft-ink)}
.trustbar span, .fseals span{display:inline-flex; align-items:center; gap:6px}
.trustbar svg{width:16px; height:16px; color:var(--blue)}
.safe{border-top:1px solid var(--line); border-bottom:1px solid var(--line); padding-block:20px; display:grid; grid-template-columns:auto 1fr; gap:24px; align-items:center}
.safe-hd h2{font-size:15px; font-weight:700; font-family:var(--body); letter-spacing:0}
.safe-hd h2::before{display:none}
.safe-hd p{display:none}
.medals{display:flex; flex-wrap:wrap; gap:10px 28px; justify-content:flex-end}
.medal{display:grid; grid-template-columns:28px auto; grid-template-rows:auto auto; column-gap:10px; align-items:center}
.medal .mi{grid-row:1 / 3; width:28px; height:28px; border-radius:50%; display:grid; place-items:center; background:var(--primary-soft); color:var(--blue)}
.medal .mi svg{width:15px; height:15px}
.medal b{font-size:13px}
.medal span{font-size:12px; color:var(--muted)}
.fseals{display:flex; flex-wrap:wrap; gap:14px; font-weight:600; color:#FFFFFF}
.fseals svg{width:16px; height:16px; color:var(--accent)}
@media (max-width:960px){ .safe{grid-template-columns:1fr} .medals{justify-content:flex-start} }
@media (max-width:640px){ .medals{display:grid; grid-template-columns:1fr 1fr; gap:14px} }
/* New pages */
.btn-teach{background:var(--primary-soft); color:var(--primary-soft-ink); border-color:transparent}
.btn-teach:hover{background:#DCE3FB}
.hero-teach{margin-top:22px; display:flex; gap:16px; align-items:center; justify-content:space-between; background:var(--primary-soft); border-radius:var(--r-md); padding:14px 14px 14px 18px; max-width:640px}
.ht-txt{display:grid; gap:2px; min-width:0}
.ht-txt b{font-size:15px; color:var(--primary-soft-ink)}
.ht-txt span{font-size:14px; color:var(--primary-soft-ink); opacity:.85}
.hero-teach .btn{flex:none; padding:10px 18px; font-size:14px}
@media (max-width:640px){ .hero-teach{flex-direction:column; align-items:stretch; gap:12px} .hero-teach .btn{width:100%} }
.cat-hero{padding-block:28px 8px; display:grid; gap:10px}
.cat-hero h1{font-size:clamp(30px,4.4vw,48px); font-weight:800}
.cat-hero p{color:var(--muted); font-size:17px; max-width:60ch}
.filters{display:flex; gap:8px; flex-wrap:wrap; margin-top:10px}
.chip.on{background:var(--fg); color:var(--bg); border-color:var(--fg)}
.chip.on:hover{color:var(--bg)}
.cat-tabs{display:flex; gap:8px; overflow-x:auto; padding-block:16px 4px; border-bottom:1px solid var(--line)}
.cat-tabs button{flex:none; border:0; background:none; padding:10px 12px; font-weight:600; color:var(--muted); border-bottom:2px solid transparent; white-space:nowrap}
.cat-tabs button.on{color:var(--fg); border-color:var(--primary)}
.rows{display:grid; gap:12px}
.row{display:grid; grid-template-columns:72px minmax(0,1fr) auto; gap:16px; align-items:center; background:var(--surface); border:1px solid var(--line); border-radius:var(--r-md); padding:12px; text-align:left; color:var(--fg)}
.row:hover{box-shadow:var(--shadow)}
.row .ph{width:72px; height:72px; border-radius:12px}
.row h3{font-size:16px}
.row .subj{color:var(--muted); font-size:14px}
.row .end{display:grid; gap:4px; justify-items:end}
@media (max-width:640px){ .row{grid-template-columns:56px minmax(0,1fr)} .row .ph{width:56px;height:56px} .row .end{grid-column:2; justify-items:start; grid-auto-flow:column; gap:12px; align-items:center} }
.auth{min-height:calc(100vh - 220px); display:grid; place-items:center; padding-block:48px}
.auth-card{width:100%; max-width:420px; background:var(--surface); border:1px solid var(--line); border-radius:var(--r-lg); padding:32px 28px; box-shadow:var(--shadow); display:grid; gap:18px}
.auth-card h1{font-size:28px; font-weight:800}
.auth-card .sub{color:var(--muted)}
.or{display:grid; grid-template-columns:1fr auto 1fr; gap:12px; align-items:center; color:var(--muted); font-size:13px}
.or::before,.or::after{content:""; height:1px; background:var(--line)}
.small-c{text-align:center; font-size:14px; color:var(--muted)}
.small-c a{font-weight:600}
.role{display:grid; grid-template-columns:1fr 1fr; gap:10px}
.role button{border:1px solid var(--line); background:var(--surface); border-radius:var(--r-md); padding:14px; text-align:left; color:var(--fg); display:grid; gap:2px}
.role button b{font-size:15px}
.role button span{font-size:12px; color:var(--muted)}
.role button.on{border-color:var(--primary); background:var(--primary-soft)}
.teach{display:grid; grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr); gap:48px; padding-block:40px; align-items:start}
.teach-pitch h1{font-size:clamp(30px,4.2vw,46px); font-weight:800}
.teach-pitch h1 span{color:var(--accent)}
.teach-pitch > p{color:var(--muted); font-size:17px; margin-top:14px; max-width:46ch}
.perks{display:grid; gap:14px; margin-top:28px}
.perk{display:grid; grid-template-columns:40px 1fr; gap:14px; align-items:start}
.perk .ok-ic{width:40px; height:40px}
.perk .ok-ic svg{width:20px; height:20px}
.perk b{display:block}
.perk span{color:var(--muted); font-size:14px}
.stepper{display:grid; grid-template-columns:repeat(3,1fr); gap:8px}
.stepper div{display:grid; gap:6px; font-size:12px; font-weight:600; color:var(--muted)}
.stepper div::before{content:""; height:4px; border-radius:4px; background:var(--line)}
.stepper div.on{color:var(--fg)}
.stepper div.on::before{background:var(--primary)}
.two{display:grid; grid-template-columns:1fr 1fr; gap:12px}
.photo-up{display:flex; gap:16px; align-items:center; border:1.5px dashed var(--line); border-radius:var(--r-md); padding:14px}
.photo-up .ph{width:64px; height:64px; border-radius:50%; flex:none}
.photo-up span{font-size:13px; color:var(--muted); font-weight:400}
.form-nav{display:flex; gap:10px; justify-content:space-between}
.form-nav .btn-primary{margin-left:auto}
.pick{display:flex; flex-wrap:wrap; gap:8px}
.pick input{position:absolute; opacity:0; pointer-events:none}
.pick label{display:block; border:1px solid var(--line); border-radius:999px; padding:6px 12px; font-size:13px; font-weight:500; cursor:pointer}
.pick input:checked + label{background:var(--primary-soft); color:var(--primary-soft-ink); border-color:transparent; font-weight:600}
@media (max-width:960px){ .teach{grid-template-columns:1fr; gap:28px} }
@media (max-width:640px){ .two{grid-template-columns:1fr} .auth-card{padding:24px 18px} }
.free-banner{display:flex; gap:10px; align-items:center; background:var(--badge-bg); color:var(--badge-fg); border-radius:var(--r-md); padding:10px 14px; font-size:14px; font-weight:600}

/* Comparison toolbar */
.cmp{position:fixed; left:50%; transform:translateX(-50%); bottom:calc(14px + env(safe-area-inset-bottom, 0px)); z-index:20; background:#16141F; color:#F4F3F7; border-radius:20px; padding:10px; display:flex; gap:10px; align-items:center; box-shadow:0 10px 40px rgba(0,0,0,.3); max-width:calc(100% - 24px - env(safe-area-inset-left, 0px) - env(safe-area-inset-right, 0px)); flex-wrap:wrap; justify-content:center}
.cmp .grp{display:flex; gap:4px; background:rgba(255,255,255,.07); border-radius:14px; padding:4px}
.cmp button{background:transparent; border:0; color:#C9C6D3; border-radius:10px; padding:8px 12px; font-size:13px; font-weight:600; display:flex; align-items:center; gap:8px; white-space:nowrap}
.cmp button.on{background:#F4F3F7; color:#16141F}
.cmp .sw{display:flex}
.cmp .sw i{width:12px; height:12px; border-radius:50%; border:1.5px solid #16141F; margin-left:-4px}
.cmp .sw i:first-child{margin-left:0}
.cmp .tag-proto{font-size:11px; text-transform:uppercase; letter-spacing:.08em; color:#8E8A9C; padding:0 6px}

@media (max-width: 960px){
  .hero .wrap{grid-template-columns:1fr}
  .collage{display:none}
  .cats{grid-template-columns:repeat(2, 1fr)}
  .grid-t{grid-template-columns:repeat(2, 1fr)}
  .prof{grid-template-columns:1fr}
  .book{position:static}
  .band{grid-template-columns:1fr; padding:28px}
  .nav{display:none}
}
@media (max-width: 640px){
  .hero{padding-block:32px 24px}
  .search{flex-direction:column; border-radius:var(--r-lg); gap:4px}
  .search label{padding:8px 12px}
  .search label + label{border-left:0; border-top:1px solid var(--line)}
  .search .btn{border-radius:var(--r-md)}
  .grid-t, .steps, .facts{grid-template-columns:1fr}
  .cats{grid-template-columns:1fr 1fr}
  .cat{flex-direction:column; align-items:flex-start; gap:10px}
  .p-head{flex-direction:column}
  .p-head .ph{width:110px; height:110px}
  .rev-sum{grid-template-columns:1fr}
  .hdr .wrap{height:auto; min-height:60px; padding-block:10px; gap:10px; flex-wrap:wrap}
  .hdr .right{gap:6px}
  .hdr .right .btn, .hdr .right .btn-text{padding:7px 11px; font-size:13px}
  .hide-sm{display:none}
  .cmp .tag-proto{display:none}
  .cmp button .lbl-long{display:none}
}
@media (prefers-reduced-motion: reduce){ *{transition:none!important} }

/* ===== App real: estados dinâmicos ===== */
html{color-scheme:light}
body{margin:0}
[hidden]{display:none!important}
.hdr-name{font-weight:600; color:var(--muted); font-size:14px}
.ph::after{display:none}
.ph-img{width:100%; height:100%; object-fit:cover; display:block}
.ph-ini{position:relative; z-index:1; color:#fff; font-size:40px; letter-spacing:.02em}
.row .ph-ini{font-size:20px}
.p-head .ph{overflow:hidden}
.rating.new{font-size:12px; font-weight:700; background:var(--primary-soft); color:var(--primary-soft-ink); border-radius:999px; padding:2px 9px}
.empty{display:flex; gap:16px; align-items:center; border:1.5px dashed var(--line); border-radius:var(--r-lg); padding:20px 22px; flex-wrap:wrap; font-size:15px; background:var(--surface)}
.empty > .mark{font-size:34px; color:var(--accent); transform:rotate(-8deg)}
.empty > div{display:grid; gap:4px; flex:1; min-width:200px}
.empty > div > b{font-size:16px}
.empty > div > span{color:var(--muted); font-size:14px}
.empty > .btn{font-size:15px; padding:12px 20px}
.empty > .btn .mark{font-size:1.05em}
@media (max-width:640px){ .empty > .btn{width:100%} }
.skel{min-height:320px; border:1px solid var(--line); background:linear-gradient(90deg,var(--subtle),#FAFAFB,var(--subtle)); background-size:200% 100%; animation:sk 1.2s infinite linear}
@keyframes sk{to{background-position:-200% 0}}
.loading{padding:40px 0; color:var(--muted)}
.status-bar{border-radius:var(--r-md); padding:12px 16px; font-size:14px; font-weight:600; margin-bottom:16px}
.status-bar.info{background:var(--primary-soft); color:var(--primary-soft-ink)}
.status-bar.ok{background:#E6F4EC; color:#14653F}
.status-bar.warn{background:#FFF4D6; color:#6E4E00}
.req-list{display:grid; gap:12px; margin-top:20px}
.req{border:1px solid var(--line); border-radius:var(--r-lg); padding:18px; display:grid; gap:8px; background:var(--surface)}
.req-hd{display:flex; align-items:center; gap:10px; flex-wrap:wrap}
.req-date{margin-left:auto; font-size:13px; color:var(--muted)}
.req-goal{font-size:14px; color:var(--muted)}
.req-msg{font-size:14px; white-space:pre-wrap}
.req-btns{display:flex; gap:8px; flex-wrap:wrap}
.req-contact{display:flex; gap:8px; align-items:center; background:#E6F4EC; color:#14653F; border-radius:var(--r-sm); padding:10px 12px; font-size:14px; flex-wrap:wrap}
.req-contact svg{width:16px; height:16px; fill:none; stroke:currentColor; stroke-width:2.4; flex:none}
.pill{font-size:12px; font-weight:700; border-radius:999px; padding:2px 9px}
.pill.pend{background:#FFF4D6; color:#6E4E00}
.pill.ok{background:#E6F4EC; color:#14653F}
.pill.no{background:var(--subtle); color:var(--muted)}
.req-av{width:36px; height:36px; border-radius:50%; flex:none}
.req-av .ph-ini{font-size:13px}
.link-btn{border:0; background:none; padding:0; color:var(--fg); font:inherit; cursor:pointer}
.link-btn:hover b{color:var(--blue)}
.toast.bad{background:#B3261E}
.btn:disabled{opacity:.6; cursor:wait}
.chip.toggle.on{background:var(--blue); border-color:var(--blue); color:#fff}
.photo-up .ph{overflow:hidden}
@media (max-width:640px){ .hdr-name{display:none} }
.why{background:var(--primary-soft); border-radius:var(--r-md); padding:14px 16px; display:grid; gap:8px}
.why b{font-size:14px; color:var(--primary-soft-ink)}
.why div{display:grid; grid-template-columns:18px 1fr; gap:8px; align-items:start; font-size:13px; color:var(--primary-soft-ink)}
.why svg{width:18px; height:18px; fill:none; stroke:var(--blue); stroke-width:2.4; stroke-linecap:round; stroke-linejoin:round}
.back-home{display:inline-flex; align-items:center; gap:4px; border:1px solid var(--line); background:var(--surface); color:var(--fg); border-radius:999px; padding:7px 12px 7px 8px; font:inherit; font-size:14px; font-weight:600; cursor:pointer; flex:none}
.back-home:hover{border-color:var(--blue); color:var(--blue)}
.back-home svg{width:18px; height:18px; fill:none; stroke:currentColor; stroke-width:2.4; stroke-linecap:round; stroke-linejoin:round}
.hdr .wrap{gap:16px}
@media (max-width:640px){ .back-home span{display:none} .back-home{padding:7px} }

.cat-other{width:100%; margin-top:12px; display:grid; grid-template-columns:auto 1fr auto; gap:14px; align-items:center; border-style:dashed}
.cat-other .ic{background:none; font-size:30px}
.cat-other .cat-go{font-weight:700; font-size:14px; color:var(--blue); white-space:nowrap}
@media (max-width:640px){ .cat-other{grid-template-columns:auto 1fr; flex-direction:row} .cat-other .cat-go{grid-column:2} }
.cat-other .mark svg{fill:currentColor; stroke:none; width:72%; height:72%}
.cat-other .ic .mark{font-size:30px; color:var(--accent); transform:rotate(-8deg)}
.nav-back{display:flex; gap:6px; flex:none}
.nav-back:has(> :not([hidden])){margin-right:2px}
@media (max-width:640px){ .nav-back{gap:4px} }
.btn-danger{background:#B3261E; color:#fff}
.btn-danger:hover{background:#8F1E18}
.side-danger{color:#B3261E !important; margin-top:12px; font-weight:600}
.side-danger:hover{background:#FDECEA !important}
.danger-zone{margin-top:36px; border-top:1px solid var(--line); padding-top:20px; display:grid; gap:6px; justify-items:start}
.danger-zone b{font-size:15px}
.danger-zone span{font-size:14px; color:var(--muted)}
.danger-zone .btn{color:#B3261E; border-color:#E8A39D; margin-top:6px}
.del-ic{width:52px; height:52px; border-radius:50%; background:#FDECEA; color:#B3261E; display:grid; place-items:center; font-family:var(--display); font-weight:800; font-size:26px}
#del-form{gap:14px}

/* ===== Anúncios ===== */
.step-hint{font-size:14px; color:var(--primary-soft-ink); background:var(--primary-soft); border-radius:var(--r-md); padding:12px 14px}
.subj-pick{display:grid; gap:10px}
.subj-pick .sp-legend{font-size:13px; font-weight:600}
.subj-pick .sp-legend small{font-weight:400; color:var(--muted)}
.multi-tip{display:grid; gap:10px; border:1.5px solid var(--blue); background:var(--primary-soft); color:var(--primary-soft-ink); border-radius:var(--r-md); padding:14px 16px; font-size:14px}
.multi-tip b{font-size:14px}
.multi-tip .mt-btns{display:flex; flex-wrap:wrap; gap:8px}
.multi-tip .btn{padding:8px 14px; font-size:13px}
.multi-tip .mt-limit{font-size:13px; color:var(--muted)}
.cnt-soft{font-size:11px; font-weight:700; color:var(--muted)}
.ads-list{display:grid; gap:12px; margin-top:20px}
.ad-item{border:1px solid var(--line); border-radius:var(--r-lg); padding:16px 18px; display:grid; gap:6px; background:var(--surface)}
.ad-item.editing{border-color:var(--blue); box-shadow:0 0 0 3px var(--primary-soft)}
.ad-item .ai-hd{display:flex; gap:10px; align-items:center; flex-wrap:wrap}
.ad-item .ai-hd b{font-size:16px}
.ad-item .ai-sub{font-size:14px; color:var(--muted)}
.ad-item .ai-miss{font-size:13px; color:#6E4E00}
.ad-item .ai-btns{display:flex; gap:8px; flex-wrap:wrap; margin-top:4px}
.ad-item .ai-btns .btn{padding:8px 14px; font-size:13px}
.ad-new{display:flex; align-items:center; justify-content:center; gap:10px; width:100%; border:1.5px dashed var(--line); background:var(--surface); border-radius:var(--r-lg); padding:18px; font-weight:700; font-size:15px; color:var(--blue); font-family:inherit; cursor:pointer}
.ad-new:hover{border-color:var(--blue); background:var(--primary-soft)}
.ad-new small{font-weight:500; color:var(--muted)}
.ads-limit{border:1.5px dashed var(--line); border-radius:var(--r-lg); padding:16px 18px; font-size:14px; color:var(--muted)}
.ed-hd{display:flex; gap:10px; align-items:center; flex-wrap:wrap}
.ed-hd h2{font-size:19px}
.ed-video{display:grid; gap:10px; border-top:1px solid var(--line); padding-top:16px}
.ed-btns{display:flex; gap:10px; flex-wrap:wrap; align-items:center}
.btn-del{color:#B3261E; border-color:#E8A39D; margin-left:auto}
.save-state-line{font-size:13px; color:var(--muted); min-height:18px}
.save-state-line.bad{color:#B3261E; font-weight:600}
.other-ads{display:grid; gap:10px}
.oa{display:flex; justify-content:space-between; gap:12px; align-items:center; border:1px solid var(--line); border-radius:var(--r-md); padding:12px 14px; background:var(--surface); text-align:left; font:inherit; color:var(--fg); cursor:pointer}
.oa:hover{border-color:var(--blue)}
.oa b{display:block; font-size:15px}
.oa span{font-size:13px; color:var(--muted)}
.tag.must{font-family:var(--body)}
@media (max-width:640px){ .btn-del{margin-left:0} }
.tabs button{padding:12px 14px; color:var(--muted); background:none; border:0; border-bottom:2px solid transparent; font:inherit; font-weight:600; white-space:nowrap; cursor:pointer}
.tabs button.on{color:var(--fg); border-color:var(--blue)}
.p-sec{scroll-margin-top:96px}

/* ===== Listas de escolha no visual do site ===== */
.cform legend, .sp-legend{display:block; width:100%; float:none}
.subj-pick fieldset{display:grid; gap:10px}
.sp-legend{font-size:13px; font-weight:600}
.sp-legend small{font-weight:400; color:var(--muted)}
.cform select{appearance:none; -webkit-appearance:none; background:var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233B5BDB' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center / 18px; padding-right:40px !important; cursor:pointer}
.cform select:hover{border-color:#C9CCD6}
.fs{position:relative}
.fs-native{position:absolute; opacity:0; pointer-events:none; width:1px; height:1px; overflow:hidden}
.fs-btn{width:100%; display:flex; align-items:center; gap:10px; border:1px solid var(--line); border-radius:var(--r-sm); background:var(--surface); padding:9px 12px; font:inherit; font-size:14px; font-weight:500; color:var(--fg); text-align:left; cursor:pointer; min-height:44px}
.fs-btn:hover{border-color:#C9CCD6}
.fs.open .fs-btn, .fs-btn:focus-visible{border-color:var(--blue); box-shadow:0 0 0 3px var(--primary-soft); outline:none}
.fs-ph{color:var(--muted); font-weight:400}
.fs-chev{width:18px; height:18px; margin-left:auto; fill:none; stroke:var(--blue); stroke-width:2.4; stroke-linecap:round; stroke-linejoin:round; transition:transform .15s; flex:none}
.fs.open .fs-chev{transform:rotate(180deg)}
.fs-ic{width:28px; height:28px; border-radius:8px; background:var(--primary-soft); color:var(--blue); display:grid; place-items:center; flex:none}
.fs-ic svg{width:16px; height:16px; fill:none; stroke:currentColor; stroke-width:1.9; stroke-linecap:round; stroke-linejoin:round}
.fs-list{position:absolute; z-index:35; top:calc(100% + 6px); left:0; right:0; background:var(--surface); border:1px solid var(--line); border-radius:var(--r-md); box-shadow:0 12px 32px rgba(26,28,36,.14); padding:6px; max-height:340px; overflow:auto; display:grid; gap:2px}
.fs-opt{display:flex; align-items:center; gap:10px; padding:8px 10px; border-radius:var(--r-sm); cursor:pointer; font-size:14px; font-weight:500}
.fs-opt.active{background:var(--primary-soft); color:var(--primary-soft-ink)}
.fs-opt[aria-selected="true"]{font-weight:700; color:var(--primary-soft-ink)}
.fs-check{width:18px; height:18px; margin-left:auto; fill:none; stroke:var(--blue); stroke-width:2.6; stroke-linecap:round; stroke-linejoin:round; visibility:hidden}
.fs-opt[aria-selected="true"] .fs-check{visibility:visible}
.invalid .fs-btn{border-color:#B3261E; background:#FFF8F7}

/* ===== Administração ===== */
.adm-badge{width:44px; height:44px; border-radius:12px; background:var(--band); display:grid; place-items:center; font-size:26px}
.stats-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:12px; margin-top:20px}
.stat-card{display:grid; gap:4px; text-align:left; border:1px solid var(--line); border-radius:var(--r-lg); background:var(--surface); padding:18px; font:inherit; color:var(--fg); cursor:default}
.stat-card[data-goto]{cursor:pointer}
.stat-card[data-goto]:hover{border-color:var(--blue); box-shadow:var(--shadow)}
.stat-card b{font-family:var(--display); font-size:32px; line-height:1.1; color:var(--blue); font-variant-numeric:tabular-nums}
.stat-card span{font-weight:600; font-size:14px}
.stat-card small{font-size:12px; color:var(--muted)}
.adm-note{margin-top:20px; font-size:13px; color:var(--muted); border:1.5px dashed var(--line); border-radius:var(--r-md); padding:12px 14px}
.adm-tools{display:grid; gap:12px; margin-top:16px}
.adm-search{width:100%; font:inherit; font-size:15px; border:1px solid var(--line); border-radius:999px; padding:11px 16px; background:var(--surface); color:var(--fg)}
.adm-search:focus{outline:2px solid var(--blue); border-color:transparent}
.users{display:grid; gap:10px; margin-top:16px}
.user-row{display:grid; grid-template-columns:minmax(0,1.3fr) auto minmax(0,1fr) auto; gap:12px; align-items:center; border:1px solid var(--line); border-radius:var(--r-md); padding:12px 14px; background:var(--surface)}
.user-row.is-susp{background:#FFF8F7}
.u-main{display:grid; min-width:0}
.u-main b{font-size:15px}
.u-main span, .u-meta{font-size:13px; color:var(--muted); overflow:hidden; text-overflow:ellipsis}
.u-tags{display:flex; gap:6px; flex-wrap:wrap; align-items:center}
.u-btns{display:flex; gap:6px; flex-wrap:wrap; justify-content:flex-end}
.u-btns .btn{padding:7px 12px; font-size:13px}
.u-btns .btn-del{margin-left:0}
.user-detail{border:1.5px solid var(--blue); border-radius:var(--r-lg); padding:18px; margin-top:16px; display:grid; gap:12px; background:var(--surface)}
.user-detail h2{font-size:21px}
.user-detail h3{font-size:15px; margin-top:6px}
.ud-hd{display:flex; justify-content:space-between; gap:12px; align-items:flex-start; flex-wrap:wrap}
.ud-hd span{font-size:13px; color:var(--muted)}
.log{display:grid; gap:8px; margin-top:16px}
.log-row{display:grid; gap:2px; border:1px solid var(--line); border-radius:var(--r-md); padding:10px 14px; background:var(--surface)}
.log-row b{font-size:14px}
.log-row span{font-size:13px; color:var(--muted)}
.log-row small{font-size:12px; color:var(--muted)}
.reason{color:#8F1E18 !important}
@media (max-width:960px){ .stats-grid{grid-template-columns:1fr 1fr} .user-row{grid-template-columns:1fr; gap:8px} .u-btns{justify-content:flex-start} }
@media (max-width:640px){ .stats-grid{grid-template-columns:1fr} }
.adm-badge .mark{font-size:26px !important; color:var(--accent) !important; transform:rotate(-8deg)}

/* ===== Ajustes da revisão ===== */
/* Textos muito longos (sem espaços) quebram a linha em vez de alargar a página */
.p-head, .p-sec, .book, .tcard, .row, .req, .ad-item, .oa, .user-row, .log-row, .user-detail, .cat, .empty, .multi-tip, .why{overflow-wrap:anywhere}
.report-link{border:0; background:none; padding:4px 0 0; font:inherit; font-size:13px; color:var(--muted); text-decoration:underline; cursor:pointer; justify-self:center}
.report-link:hover{color:#B3261E}
.teach-switch{display:grid; gap:14px; justify-items:start}
.teach-switch p{color:var(--muted)}
