:root {
  --bg: #110f0c; --panel: #1b1812; --panel-2: #242016; --line: #372e22;
  --cream: #fcffe3; --sage: #b9bc8e; --olive: #4a5410; --olive-2: #2f3708; --brown: #58402f; --dark: #2a1c14;
  --text: #f4f6dc; --muted: #a9a58d; --err: #ff9b86;
  --side-w: 64px; --side-open: 248px;
  --font: "Archivo", "Helvetica Neue", Arial, sans-serif;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); font-weight: 400; font-stretch: 105%; line-height: 1.5; font-size: 16px; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--sage); outline-offset: 2px; }
h1, h2, h3 { margin: 0; font-weight: 800; font-stretch: 125%; letter-spacing: -.015em; line-height: 1.12; }
svg.i { width: 22px; height: 22px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* botões e campos */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 20px; border-radius: 999px; border: 2px solid var(--sage); background: var(--sage); color: var(--dark); font-weight: 700; font-stretch: 112%; font-size: .86rem; transition: transform .15s, opacity .15s, background .15s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn.ghost { background: transparent; color: var(--sage); }
.btn.ghost:hover { background: rgba(185,188,142,.12); }
.btn.small { padding: 7px 14px; font-size: .76rem; }
.btn[disabled], .btn.off { opacity: .45; cursor: default; transform: none; pointer-events: none; }
.eyebrow { font-size: .72rem; font-weight: 700; font-stretch: 125%; letter-spacing: .16em; text-transform: uppercase; color: var(--sage); }
.muted { color: var(--muted); }
.field { display: block; width: 100%; padding: 12px 15px; border-radius: 12px; border: 2px solid var(--line); background: var(--panel); font-size: 16px; }
.field:focus { border-color: var(--sage); outline: 0; }
.chip { white-space: nowrap; align-self: flex-start; display: inline-block; font-size: .64rem; font-weight: 700; font-stretch: 125%; letter-spacing: .1em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; border: 1.5px solid currentColor; }
.chip.solid { background: var(--sage); color: var(--dark); border-color: var(--sage); }
.empty { border: 2px dashed var(--line); border-radius: 18px; padding: 28px; text-align: center; color: var(--muted); }
.link-btn { background: none; border: 0; padding: 0; text-decoration: underline; text-underline-offset: 3px; color: var(--sage); font-weight: 500; }
.demo { background: var(--brown); color: var(--cream); text-align: center; font-size: .78rem; padding: 6px 16px; position: relative; z-index: 60; }
mark { background: rgba(185,188,142,.35); color: inherit; border-radius: 3px; padding: 0 1px; }

/* login */
.login { min-height: 100vh; display: grid; place-items: center; padding: 24px 16px; background: radial-gradient(120% 80% at 50% 0%, #5d6a14, var(--olive) 55%, var(--olive-2)); }
.login-box { width: 100%; max-width: 420px; background: var(--cream); color: var(--dark); border-radius: 26px; padding: 34px 28px 28px; text-align: center; box-shadow: 0 30px 60px -30px rgba(0,0,0,.6); }
.login-box .logo { width: 76px; height: 76px; border-radius: 22px; object-fit: cover; display: block; margin: 0 auto 18px; }
.login-box h1 { font-size: 1.5rem; }
.login-box p { margin: 10px 0 22px; color: #6b6446; }
.login-box .eyebrow { color: var(--olive); }
.login-box .field { border-color: var(--olive); background: #fff; color: var(--dark); margin-bottom: 12px; }
.login-box .btn { width: 100%; background: var(--olive); border-color: var(--olive); color: var(--cream); }
.login-box .btn.ghost { background: transparent; color: var(--olive); }
.login-box .link-btn { color: var(--olive); }
.msg { margin: 14px 0 0 !important; font-size: .86rem; }
.msg.err { color: #a93a22 !important; }

/* estrutura */
.side { position: fixed; z-index: 40; inset: 0 auto 0 0; width: var(--side-w); background: var(--sage); color: var(--dark); display: flex; flex-direction: column; overflow: hidden; transition: width .22s ease, box-shadow .22s; }
.side .sb { display: flex; align-items: center; gap: 12px; height: 64px; padding: 0 17px; background: var(--olive); color: var(--cream); flex: none; }
.side .sb img { width: 30px; height: 30px; border-radius: 9px; object-fit: cover; flex: none; }
.side .sb b { font-weight: 800; font-stretch: 125%; font-size: .9rem; line-height: 1.05; }
.side .sb small { display: block; font-size: .56rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 600; color: var(--sage); }
.side nav { padding: 12px 10px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.side nav button, .side .me button { display: flex; align-items: center; gap: 14px; width: 100%; height: 44px; padding: 0 12px; border: 0; border-radius: 12px; background: none; text-align: left; color: var(--dark); font-weight: 600; font-stretch: 108%; font-size: .9rem; white-space: nowrap; }
.side nav button:hover, .side .me button:hover { background: rgba(255,255,255,.28); }
.side nav button.on { background: var(--olive); color: var(--cream); }
.side .lb { opacity: 0; transition: opacity .15s; }
.side .me { padding: 10px; border-top: 1px solid rgba(42,28,20,.18); display: flex; flex-direction: column; gap: 2px; }
.side .me .who { padding: 4px 12px 6px; font-size: .74rem; opacity: 0; transition: opacity .15s; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #3a3416; }
.side:hover, .side:has(:focus-visible), .side.open { width: var(--side-open); box-shadow: 18px 0 40px -18px rgba(0,0,0,.55); }
.side:hover .lb, .side:has(:focus-visible) .lb, .side.open .lb, .side:hover .who, .side:has(:focus-visible) .who, .side.open .who { opacity: 1; transition-delay: .06s; }
.scrim { position: fixed; inset: 0; background: rgba(0,0,0,.55); z-index: 35; display: none; }
.scrim.on { display: block; }
.main { margin-left: var(--side-w); min-height: 100vh; }
.bar { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 12px; padding: 12px clamp(16px, 3vw, 36px); background: rgba(17,15,12,.88); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.burger { display: none; width: 42px; height: 42px; border-radius: 12px; border: 2px solid var(--line); background: none; place-items: center; }
.search { position: relative; flex: 1; max-width: 560px; }
.search .i { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--muted); pointer-events: none; }
.search input { width: 100%; padding: 11px 44px 11px 42px; border-radius: 999px; border: 2px solid var(--line); background: var(--panel); font-size: 16px; }
.search input:focus { border-color: var(--sage); outline: 0; }
.search kbd { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); font: inherit; font-size: .7rem; color: var(--muted); border: 1px solid var(--line); border-radius: 6px; padding: 1px 7px; }
.search input:focus + kbd, .search input:not(:placeholder-shown) + kbd { display: none; }
.pg { padding: clamp(20px, 3vw, 36px); max-width: 1320px; display: flex; flex-direction: column; gap: clamp(28px, 4vw, 44px); }
.pg.flush { padding-top: 0; }

/* hero */
.hero { margin: 0 calc(clamp(20px, 3vw, 36px) * -1); background: var(--olive); color: var(--cream); padding: clamp(28px, 5vw, 56px) clamp(20px, 3vw, 36px); display: flex; align-items: center; gap: clamp(18px, 4vw, 44px); }
.hero .badge { width: clamp(84px, 12vw, 150px); aspect-ratio: 1; border-radius: 28%; background: var(--cream); display: grid; place-items: center; flex: none; overflow: hidden; }
.hero .badge img { width: 78%; }
.hero h1 { font-size: clamp(1.9rem, 5.4vw, 4rem); letter-spacing: -.025em; }
.hero .sub { margin-top: 6px; font-size: clamp(.7rem, 1.6vw, 1.1rem); letter-spacing: .34em; text-transform: uppercase; color: var(--sage); font-stretch: 112%; }
.hero p { margin: 14px 0 0; max-width: 54ch; color: #e3e7b8; }
.pghead { display: flex; flex-direction: column; gap: 8px; }
.pghead h1 { font-size: clamp(1.7rem, 4.4vw, 2.6rem); }
.pghead p { margin: 0; color: var(--muted); max-width: 60ch; }

/* carrosséis */
.rowsec { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.rh { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.rh h2 { font-size: 1.05rem; font-stretch: 112%; font-weight: 700; letter-spacing: 0; }
.rh a { font-size: .8rem; color: var(--sage); font-weight: 600; background: none; border: 0; }
.rh a:hover { text-decoration: underline; }
.rail { position: relative; margin-inline: calc(clamp(20px, 3vw, 36px) * -1); }
.track { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x proximity; padding: 4px clamp(20px, 3vw, 36px) 10px; scrollbar-width: none; }
.track::-webkit-scrollbar { display: none; }
.track > * { scroll-snap-align: start; flex: none; }
.rb { position: absolute; top: 0; bottom: 10px; width: 54px; border: 0; z-index: 3; display: none; place-items: center; color: var(--cream); opacity: 0; transition: opacity .15s; }
.rb.l { left: 0; background: linear-gradient(90deg, var(--bg) 20%, transparent); }
.rb.r { right: 0; background: linear-gradient(270deg, var(--bg) 20%, transparent); }
.rb .i { width: 28px; height: 28px; stroke-width: 2.2; }
@media (hover: hover) { .rail:hover .rb.can { opacity: 1; } .rb { display: grid; } }

/* cartões vertical (estilo Kiwify) */
.tile { position: relative; width: clamp(160px, 17vw, 214px); aspect-ratio: 2 / 2.5; border-radius: 12px; border: 0; padding: 0; overflow: hidden; text-align: left; display: block; color: var(--cream); background: var(--olive); transition: transform .18s, box-shadow .18s; }
.tile:hover { transform: translateY(-4px); box-shadow: 0 14px 30px -14px rgba(0,0,0,.7); }
.tile.c0 { background: var(--sage); color: var(--dark); }
.tile.c1 { background: var(--olive); }
.tile.c2 { background: var(--brown); }
.tile.c3 { background: #d9dcae; color: var(--dark); }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, rgba(255,255,255,.14), transparent 40%); pointer-events: none; }
.tile .art { position: absolute; inset: 0 0 25% 0; display: grid; place-items: center; }
.tile .art .lg { width: 56%; aspect-ratio: 1; border-radius: 50%; background: var(--cream); display: grid; place-items: center; overflow: hidden; }
.tile .art .lg img { width: 82%; }
.tile .art .lg .i { width: 44%; height: 44%; color: var(--olive); }
.tile > img.cv { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tile .cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 14px 13px; font-weight: 700; font-stretch: 112%; font-size: .9rem; line-height: 1.2; }
.tile > img.cv ~ .cap { background: linear-gradient(transparent, rgba(0,0,0,.75)); color: #fff; }
.tile .cap small { display: block; font-weight: 500; font-size: .7rem; opacity: .8; margin-bottom: 3px; letter-spacing: .04em; }
.tile.wide { width: clamp(220px, 24vw, 300px); aspect-ratio: 16 / 10; }
.tile.person .art { inset: 0; }
.tile.person .art .lg { width: 100%; height: 100%; border-radius: 0; background: var(--panel-2); font-size: 2.4rem; font-weight: 800; color: var(--sage); }
.tile.person .art .lg img { width: 100%; height: 100%; object-fit: cover; }
.tile.person .cap { background: linear-gradient(transparent, rgba(0,0,0,.8)); color: #fff; }

/* encontros (estilo "Aulas ao vivo") */
.evgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; }
.ev { width: 100%; background: var(--cream); color: var(--dark); border-radius: 20px; overflow: hidden; display: flex; flex-direction: column; min-width: 0; }
.track .ev { width: clamp(270px, 28vw, 340px); }
.ev .evtop { position: relative; background: var(--olive); color: var(--cream); padding: 18px 20px 20px; height: 118px; overflow: hidden; }
.ev .evtop::after { content: ""; position: absolute; right: -34px; bottom: -70px; width: 150px; height: 150px; border: 1px solid rgba(252,255,227,.3); border-radius: 50%; }
.ev .evtop b { display: block; font-size: 2.9rem; font-weight: 800; font-stretch: 125%; line-height: .95; letter-spacing: -.02em; }
.ev .evtop small { display: block; margin-top: 6px; font-weight: 700; letter-spacing: .2em; font-size: .72rem; text-transform: uppercase; color: var(--sage); }
.ev .evtop .when { position: absolute; right: 18px; top: 46px; font-size: .84rem; font-weight: 600; z-index: 1; }
.ev .evtop .chip { position: absolute; right: 18px; top: 16px; background: rgba(252,255,227,.18); border: 0; z-index: 1; }
.ev .evtop .chip.live { background: var(--sage); color: var(--dark); }
.ev.rec .evtop { background: var(--brown); }
.ev .evbot { padding: 16px 20px 20px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.ev h3 { font-size: 1.08rem; font-stretch: 118%; }
.ev .host { margin: 0; color: #6b6446; font-size: .88rem; }
.ev .desc { margin: 6px 0 0; font-size: .86rem; color: #4a4430; }
.ev .evacts { margin-top: auto; padding-top: 14px; display: flex; flex-wrap: wrap; gap: 8px; }
.ev .btn { background: var(--olive); border-color: var(--olive); color: var(--cream); }
.ev .btn.ghost { background: transparent; color: var(--olive); }
.ev .btn.ghost:hover { background: rgba(74,84,16,.1); }
.agwrap { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 32px; align-items: start; }
.cal { background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 16px; position: sticky; top: 84px; }
.cal .ch { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; font-weight: 700; font-stretch: 118%; }
.cal .ch button { width: 32px; height: 32px; border-radius: 10px; border: 0; background: none; display: grid; place-items: center; }
.cal .ch button:hover { background: var(--panel-2); }
.cal .gr { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; text-align: center; font-size: .82rem; }
.cal .gr .dw { color: var(--muted); font-size: .66rem; letter-spacing: .08em; padding: 4px 0; text-transform: uppercase; }
.cal .gr button { aspect-ratio: 1; border: 0; border-radius: 10px; background: none; position: relative; font-size: .84rem; }
.cal .gr button:hover:not(.x) { background: var(--panel-2); }
.cal .gr button.today { color: var(--sage); font-weight: 800; }
.cal .gr button.sel { background: var(--sage); color: var(--dark); }
.cal .gr button.has::after { content: ""; position: absolute; left: 50%; bottom: 4px; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; background: var(--sage); }
.cal .gr button.has.pastd::after { background: transparent; border: 1.5px solid var(--muted); width: 6px; height: 6px; bottom: 3px; margin-left: -3px; }
.cal .gr button.sel::after { background: var(--dark); border-color: var(--dark); }
.cal .gr .x { visibility: hidden; }
.cal .leg { margin-top: 12px; display: flex; gap: 14px; font-size: .72rem; color: var(--muted); }
.cal .leg span::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--sage); margin-right: 6px; }
.cal .leg span.p::before { background: none; border: 1.5px solid var(--muted); }
.agcol { display: flex; flex-direction: column; gap: 34px; min-width: 0; }
.fbar { display: flex; align-items: center; gap: 10px; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 8px 14px; font-size: .86rem; }

/* curadoria + materiais */
.pills { display: flex; gap: 8px; flex-wrap: wrap; }
.pills button { padding: 7px 16px; border-radius: 999px; border: 2px solid var(--line); background: none; font-weight: 600; font-size: .8rem; }
.pills button.on { background: var(--sage); color: var(--dark); border-color: var(--sage); }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
.pc { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; min-width: 0; }
.pc .tile { width: 100%; aspect-ratio: 16 / 9; border-radius: 0; }
.pc .tile:hover { transform: none; box-shadow: none; }
.pc .tile .art { inset: 0; }
.pc .tile .art .lg { width: 25%; min-width: 54px; }
.pc .bd { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.pc .bd .chip { color: var(--sage); }
.pc h3 { font-size: 1.02rem; font-stretch: 115%; }
.pc p { margin: 0; color: var(--muted); font-size: .9rem; }
.pc .btn { align-self: flex-start; margin-top: auto; }
.pc .bd .btn { margin-top: 8px; }

/* busca */
.res { display: flex; flex-direction: column; gap: 10px; }
.res .it { display: flex; align-items: center; gap: 16px; background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; width: 100%; text-align: left; }
.res .it:hover { border-color: var(--sage); }
.res .it .tx { flex: 1; min-width: 0; }
.res .it b { display: block; font-weight: 700; font-stretch: 112%; }
.res .it span.sn { display: block; color: var(--muted); font-size: .86rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.res .it .chip { color: var(--sage); flex: none; }
.rtitle { font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin: 10px 0 -2px; font-stretch: 125%; }

/* modal */
.modal { position: fixed; inset: 0; z-index: 70; display: grid; place-items: center; padding: 18px; background: rgba(0,0,0,.7); }
.modal[hidden], .chat[hidden] { display: none; }
.mbox { position: relative; width: 100%; max-width: 760px; max-height: calc(100vh - 36px); overflow: auto; background: var(--panel); border: 1px solid var(--line); border-radius: 20px; padding: clamp(18px, 3vw, 30px); display: flex; flex-direction: column; gap: 14px; }
.mbox h2 { font-size: 1.5rem; padding-right: 36px; }
.mbox .x { position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; border-radius: 50%; border: 0; background: var(--panel-2); display: grid; place-items: center; }
.mbox p { margin: 0; color: var(--muted); white-space: pre-line; }
.vid { aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: #000; }
.vid iframe { width: 100%; height: 100%; border: 0; display: block; }
.pcard { display: flex; gap: 18px; align-items: flex-start; }
.pcard .ph { width: 120px; height: 120px; }
.pcard .tx { display: flex; flex-direction: column; gap: 8px; min-width: 0; }

/* assistente */
.ask { position: fixed; right: 22px; bottom: 22px; z-index: 45; display: flex; align-items: center; gap: 12px; padding: 7px 22px 7px 7px; border-radius: 999px; border: 0; background: var(--olive); color: var(--cream); box-shadow: 0 14px 34px -10px rgba(0,0,0,.7); font-weight: 600; font-stretch: 108%; font-size: .92rem; transition: transform .15s; }
.ask:hover { transform: translateY(-2px); }
.ask img, .chat .hd img { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; background: var(--cream); border: 2px solid var(--sage); flex: none; }
.chat { position: fixed; right: 22px; bottom: 22px; z-index: 55; width: min(400px, calc(100vw - 24px)); height: min(560px, calc(100vh - 44px)); background: var(--panel); border: 1px solid var(--line); border-radius: 20px; display: flex; flex-direction: column; overflow: hidden; box-shadow: 0 24px 60px -12px rgba(0,0,0,.8); }
.chat .hd { display: flex; align-items: center; gap: 12px; padding: 12px 14px; background: var(--olive); color: var(--cream); }
.chat .hd b { font-weight: 800; font-stretch: 120%; display: block; line-height: 1.1; }
.chat .hd small { font-size: .72rem; color: var(--sage); }
.chat .hd button { margin-left: auto; width: 34px; height: 34px; border-radius: 50%; border: 0; background: rgba(252,255,227,.15); display: grid; place-items: center; color: var(--cream); }
.chat .ms { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.msg-b { max-width: 88%; padding: 10px 14px; border-radius: 16px; font-size: .92rem; background: var(--panel-2); border-bottom-left-radius: 4px; white-space: pre-line; }
.msg-b.me { align-self: flex-end; background: var(--sage); color: var(--dark); border-radius: 16px; border-bottom-right-radius: 4px; }
.msg-b .lk { display: flex; flex-direction: column; gap: 6px; margin-top: 8px; }
.msg-b .lk button { text-align: left; border: 1px solid var(--line); background: var(--panel); border-radius: 10px; padding: 8px 10px; font-size: .84rem; font-weight: 600; }
.msg-b .lk button:hover { border-color: var(--sage); }
.msg-b .lk small { display: block; color: var(--muted); font-weight: 400; }
.dots span { display: inline-block; width: 6px; height: 6px; margin: 0 2px; border-radius: 50%; background: var(--muted); animation: bl 1s infinite; }
.dots span:nth-child(2) { animation-delay: .15s; } .dots span:nth-child(3) { animation-delay: .3s; }
@keyframes bl { 0%, 80%, 100% { opacity: .25; } 40% { opacity: 1; } }
.chat form { display: flex; gap: 8px; padding: 10px; border-top: 1px solid var(--line); }
.chat form .field { border-radius: 999px; padding: 10px 16px; }
.chat form .btn { padding: 0 18px; }
.sug { display: flex; flex-wrap: wrap; gap: 6px; }
.sug button { border: 1px solid var(--line); background: none; border-radius: 999px; padding: 5px 12px; font-size: .78rem; }
.sug button:hover { border-color: var(--sage); }

/* vitrine (formulário) e gerenciar */
.two { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.form { display: flex; flex-direction: column; gap: 14px; }
.form label { display: flex; flex-direction: column; gap: 6px; font-size: .78rem; font-weight: 600; letter-spacing: .04em; color: var(--muted); }
.form textarea.field { min-height: 90px; resize: vertical; }
.form .chk { flex-direction: row; align-items: center; gap: 10px; font-size: .9rem; color: var(--text); }
.photo-row { display: flex; align-items: center; gap: 14px; }
.ph { width: 96px; height: 96px; border-radius: 18px; background: var(--panel-2); border: 2px solid var(--line); overflow: hidden; display: grid; place-items: center; color: var(--muted); font-weight: 800; flex: none; }
.ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
.prev { background: var(--olive-2); color: var(--cream); border-radius: 20px; padding: 22px; display: flex; flex-direction: column; gap: 12px; position: sticky; top: 84px; }
.prev .ph { width: 100%; height: auto; aspect-ratio: 1; border-radius: 16px; border: 0; background: #3b4309; }
.prev .band { text-align: center; background: linear-gradient(90deg, var(--sage), #fcffe3 50%, var(--sage)); color: #2f3706; font-size: .62rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; padding: 8px; border-radius: 12px; }
.prev b { font-weight: 800; font-stretch: 120%; }
.prev small { color: var(--sage); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; }
.chips li { background: var(--cream); color: var(--dark); font-size: .78rem; padding: 5px 12px; border-radius: 999px; font-weight: 500; }
.subnav { display: flex; gap: 8px; flex-wrap: wrap; }
.subnav button { padding: 7px 14px; border-radius: 999px; border: 2px solid var(--line); background: none; font-weight: 600; font-size: .8rem; }
.subnav button.on { background: var(--sage); color: var(--dark); border-color: var(--sage); }
.row { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); }
.row .tx { flex: 1; min-width: 0; }
.row .tx b { display: block; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.row .tx small { color: var(--muted); }
.row .acts { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.status { font-size: .84rem; min-height: 1.3em; }
.status.err { color: var(--err); }
.toast { position: fixed; left: 50%; bottom: 22px; transform: translateX(-50%); background: var(--cream); color: var(--dark); padding: 11px 20px; border-radius: 999px; font-size: .86rem; z-index: 90; font-weight: 600; }

/* celular e telas estreitas */
@media (max-width: 860px) {
  :root { --side-w: 0px; }
  .side { width: var(--side-open); transform: translateX(-100%); transition: transform .22s ease; box-shadow: none; }
  .side:hover { width: var(--side-open); }
  .side .lb, .side .who { opacity: 1; }
  .side.open { transform: none; box-shadow: 18px 0 40px -10px rgba(0,0,0,.6); }
  .burger { display: grid; }
  .search kbd { display: none; }
  .agwrap { grid-template-columns: 1fr; }
  .cal { position: static; }
  .two { grid-template-columns: 1fr; }
  .prev { position: static; }
  .tile { width: 150px; }
  .tile.wide { width: 220px; }
  .hero { flex-direction: column; align-items: flex-start; }
  .ask { right: 14px; bottom: 14px; padding-right: 18px; }
  .ask span { font-size: .86rem; }
  .chat { right: 0; bottom: 0; width: 100vw; height: min(78vh, 640px); border-radius: 20px 20px 0 0; }
  .pcard { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }
.tile.wide .art { inset: 0 0 30% 0; }
.tile.wide .art .lg { width: auto; height: 68%; }
.demo + .side { top: 26px; }
.track { scroll-padding-inline: clamp(20px, 3vw, 36px); }

.demo { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; height: 26px; line-height: 14px; }

/* hero com gato e balão */
.hero { align-items: flex-end; padding-bottom: 0; overflow: hidden; }
.hero .badge { display: none; }
.hero .mascot { width: clamp(150px, 19vw, 260px); height: auto; flex: none; display: block; margin-bottom: -2px; align-self: flex-end; }
.hero .htx { padding-bottom: clamp(26px, 4vw, 48px); min-width: 0; }
.hero .bubble { position: relative; margin: 18px 0 0; max-width: 44ch; background: var(--cream); color: var(--dark); border-radius: 22px; padding: 16px 22px; font-weight: 500; font-size: clamp(.95rem, 1.5vw, 1.1rem); line-height: 1.4; }
.hero .bubble b { font-weight: 800; font-stretch: 120%; }
.hero .bubble::before { content: ""; position: absolute; left: -14px; bottom: 20px; border: 10px solid transparent; border-right: 16px solid var(--cream); border-left: 0; }
@media (max-width: 860px) {
  .hero { flex-direction: column; align-items: flex-start; gap: 14px; padding-bottom: 28px; }
  .hero .mascot { width: 120px; margin: 0; align-self: flex-start; }
  .hero .htx { padding-bottom: 0; }
  .hero .bubble::before { left: 28px; top: -12px; bottom: auto; border: 10px solid transparent; border-bottom: 14px solid var(--cream); border-top: 0; }
}

/* capas inteiras, proporção 2:3 (400x600), sem cortes */
.tile { width: clamp(150px, 15vw, 200px); aspect-ratio: 2 / 3; }
.tile.bare .cap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); padding: 0; }
.tile.bare::after { display: none; }
@media (max-width: 860px) { .tile { width: 150px; } }
.pg { max-width: none; }

/* sem barra de busca: topo só no celular; links externos no menu */
.bar { display: none; }
.bt { font-weight: 800; font-stretch: 125%; font-size: .95rem; }
.side nav a { display: flex; align-items: center; gap: 14px; width: 100%; height: 44px; padding: 0 12px; border-radius: 12px; color: var(--dark); font-weight: 600; font-stretch: 108%; font-size: .9rem; white-space: nowrap; }
.side nav a:hover { background: rgba(255,255,255,.28); }
.side nav .sep { height: 1px; background: rgba(42,28,20,.18); margin: 8px 6px; flex: none; }
.side nav { overflow-y: auto; scrollbar-width: none; }
.tilegrid { display: flex; flex-wrap: wrap; gap: 16px; }
@media (max-width: 860px) { .bar { display: flex; } .hero { margin-top: 0; } }

/* botões do encontro lado a lado */
.ev .evacts { flex-wrap: nowrap; gap: 8px; }
.ev .evacts .btn { flex: 1 1 0; min-width: 0; padding: 9px 8px; font-size: .74rem; }
.ev .evacts .btn.off { background: var(--sage); border-color: var(--sage); color: var(--dark); }
.ev .evacts .btn.off { opacity: 1; background: #d9dcae; border-color: #d9dcae; color: #4a4430; }

/* botão do gato: só o ícone; abre no hover (desktop) e no carregamento/rolagem (celular) */
.ask { padding: 6px; gap: 0; }
.ask span { max-width: 0; opacity: 0; overflow: hidden; white-space: nowrap; margin: 0; transition: max-width .3s ease, opacity .2s, margin .3s; }
.ask:hover span, .ask:focus-visible span, .ask.big span { max-width: 240px; opacity: 1; margin: 0 14px 0 12px; }
@media (max-width: 860px) { .ask { padding: 6px; } .ask span { font-size: .9rem; } }
.ev .evtop small { font-size: .7rem; }

/* menu: sem ícone no topo; o nome entra animado no hover */
.side .sb { padding: 0 14px; }
.side .sb .lb { transform: translateX(-12px); transition: opacity .2s, transform .28s ease; }
.side:hover .sb .lb, .side:has(:focus-visible) .sb .lb, .side.open .sb .lb { transform: none; }
@media (max-width: 860px) { .side .sb .lb { transform: none; } }
/* menu encolhido: sem faixa vazia no topo; a faixa com o nome desce no hover */

/* login: senha que aparece, link discreto, rodapé */
.login { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0; }
.login-box { margin: auto 0 0; }
.lfoot { margin: 28px 0 4px; color: rgba(252,255,227,.72); font-size: .78rem; text-align: center; }
.login-box + .lfoot { margin-top: 24px; }
.login { padding-bottom: 20px; }
.login-box { margin-top: auto; }
.lfoot { margin-bottom: 0; }
.pw { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s ease; }
.pw.on { grid-template-rows: 1fr; }
.pw > div { overflow: hidden; min-height: 0; }
.pw .field { margin-bottom: 12px; }
.login-box .tiny { display: block; margin: 14px auto 0; background: none; border: 0; padding: 4px 8px; font-size: .74rem; color: #6b6446; text-decoration: underline; text-underline-offset: 3px; opacity: .85; }
.login-box .tiny:hover { opacity: 1; }
.login-box p.msg { min-height: 1.2em; }
.main { display: flex; flex-direction: column; }
.main > main { flex: 1; }
.foot { padding: 22px clamp(20px, 3vw, 36px) 28px; border-top: 1px solid var(--line); color: var(--muted); font-size: .78rem; text-align: center; margin-top: 24px; }
.login-box { margin: auto 0; }
.lfoot { margin: 0; padding-top: 20px; }

/* nome da comunidade aparece no rodapé do menu (sem empurrar os itens) */

/* bloco da marca (marrom) acima do Sair */
.side .me .who { display: none; }
/* avatar */
.av { width: 28px; height: 28px; border-radius: 50%; background: #4a3324; color: #f6ecd8; display: grid; place-items: center; font-size: .66rem; font-weight: 800; overflow: hidden; flex: none; }
.av img { width: 100%; height: 100%; object-fit: cover; display: block; }
.av.nav { width: 26px; height: 26px; margin: 0 1px; }
/* perfil */
.form h3.sec { margin: 8px 0 0; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--sage); font-weight: 700; }
.form h3.sec:first-child { margin-top: 0; }
/* comentários */
.cmts { margin-top: 18px; border-top: 1px solid var(--line); padding-top: 14px; }
.cmts h3 { margin: 0 0 10px; font-size: 1rem; }
.cm { display: flex; gap: 10px; padding: 8px 0; }
.cm .av { width: 34px; height: 34px; }
.cm .cb { min-width: 0; flex: 1; }
.cm .ch { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; font-size: .86rem; }
.cm .ch small { color: var(--muted); font-size: .72rem; }
.cm .fd { font-size: .58rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; background: var(--sage); color: #2f3706; padding: 2px 7px; border-radius: 99px; }
.cm .cdel { margin-left: auto; background: none; border: 0; color: var(--muted); font-size: .72rem; cursor: pointer; text-decoration: underline; }
.cm p { margin: 2px 0 0; font-size: .9rem; white-space: pre-line; overflow-wrap: anywhere; }
.cm.mini { background: rgba(255,255,255,.07); border-radius: 12px; padding: 10px; }
#cmf { display: flex; gap: 10px; align-items: flex-start; margin-top: 10px; flex-wrap: wrap; }
#cmf .av { width: 34px; height: 34px; }
#cmf textarea { flex: 1; min-width: 160px; min-height: 52px; }

/* topo com o gatinho: sempre presente, só o nome aparece no hover (sem deslocar o menu) */
.side .sb { background: none; color: var(--dark); border-bottom: 1px solid rgba(42,28,20,.18); }
.side .sb img { width: 36px; height: 36px; border-radius: 0; object-fit: contain; margin-left: -2px; }
.side .sb b { font-size: .86rem; color: var(--dark); display: block; white-space: nowrap; }
.side .sb small { color: #4a4a22; white-space: nowrap; }
.side .sb .lb { line-height: 1.15; }
.side nav a { text-decoration: none; }
.side .me { border-top: 0; padding-top: 0; }
.side .sb { height: 64px; overflow: visible; display: flex; }
.side .sb .lb { transform: none; }

/* gerenciar: borda quando fechado, marrom quando o menu abre */
.side nav .adm { margin-top: auto; background: none; color: var(--dark); box-shadow: inset 0 0 0 1.5px #4a3324; }
.side:hover nav .adm, .side:has(:focus-visible) nav .adm, .side.open nav .adm, .side nav .adm.on { background: #4a3324; color: #f6ecd8; box-shadow: none; }
.side:hover nav .adm:hover { background: #5a4130; }
/* nome no menu: letra marrom, sem círculo */
.av.nav.ltr { background: none; color: #4a3324; font-size: .95rem; width: 28px; height: 28px; margin: 0; }
.side nav button.on .av.ltr { color: var(--cream); }
/* gato + balão entre o header e as trilhas */
.hero { align-items: center; padding-bottom: clamp(28px, 5vw, 56px); }
.hero .htx { padding-bottom: 0; }
.hello { display: flex; align-items: flex-end; gap: 6px; margin-top: calc(clamp(28px, 4vw, 44px) * -0.3); }
.hello .mascot { width: clamp(110px, 14vw, 170px); height: auto; flex: none; display: block; }
.hello .bubble { position: relative; margin: 0 0 clamp(14px, 3vw, 34px); max-width: 44ch; background: var(--cream); color: var(--dark); border-radius: 22px; padding: 16px 22px; font-weight: 500; font-size: clamp(.95rem, 1.5vw, 1.1rem); line-height: 1.4; }
.hello .bubble b { font-weight: 800; font-stretch: 120%; }
.hello .bubble::before { content: ""; position: absolute; left: -14px; bottom: 22px; border: 10px solid transparent; border-right: 16px solid var(--cream); border-left: 0; }
@media (max-width: 860px) { .hello .mascot { width: 96px; } .hello .bubble { margin-bottom: 18px; } }
/* menu flutuante de trilhas/módulos */
.ehead { display: flex; align-items: center; justify-content: space-between; gap: 12px; position: relative; }
.tmwrap { position: relative; }
.tmb { width: 42px; height: 42px; border-radius: 12px; border: 2px solid var(--line); background: none; color: var(--cream); display: grid; place-items: center; cursor: pointer; }
.tmb:hover { border-color: var(--sage); }
.tmenu { position: absolute; right: 0; top: 50px; z-index: 30; width: min(320px, 86vw); max-height: 70vh; overflow: auto; background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 10px; box-shadow: 0 24px 50px -12px rgba(0,0,0,.7); }
.tmenu[hidden] { display: none; }
.tmenu .tmh { font-size: .62rem; letter-spacing: .16em; text-transform: uppercase; color: var(--sage); font-weight: 700; padding: 10px 10px 4px; }
.tmenu button { display: block; width: 100%; text-align: left; background: none; border: 0; color: var(--cream); padding: 9px 10px; border-radius: 10px; font-size: .9rem; cursor: pointer; }
.tmenu button:hover { background: rgba(255,255,255,.08); }
.tmenu button.cur { background: var(--olive); }
.login-box .logo { width: 128px; height: 128px; border-radius: 0; object-fit: contain; margin-bottom: 20px; }
.login-box h1 { margin-top: 24px !important; }
.login-box .logo { width: 170px; height: auto; margin-bottom: 14px; }
.login-box .logo { margin-bottom: 24px; }
.login-box .brandrow { display: flex; align-items: center; justify-content: center; gap: 14px; }
.login-box .brandrow .logo { width: 104px; margin: 0; }
.login-box .brandrow .eyebrow { text-align: left; font-size: .82rem; line-height: 1.35; letter-spacing: .14em; }
.login-box .brandrow .logo { width: 84px; }
.login-box .brandrow { margin-bottom: 14px; }
.login-box h1 { margin-top: 38px !important; }
.login-box h1 + p { margin-top: 22px; }
.login-box h1 + p { margin-top: 8px; }
.login-box p.msg { min-height: 0; margin: 8px 0 0; }
.login-box p.msg:empty { display: none; }
.login-box { padding-bottom: 12px; }
.login-box .tiny { margin-top: 12px; }
.login-box .brandrow .eyebrow { color: #4a3324; }
form.login-box { display: flex; flex-direction: column; min-height: 500px; padding-bottom: 20px; }
form.login-box .tiny { margin-top: auto; padding-top: 24px; }
form.login-box .tiny + p.msg:empty { display: none; }
form.login-box { min-height: 444px; }

/* gerenciar > estrutura */
.hint { color: var(--muted); font-size: .86rem; margin: 0 0 12px; max-width: 70ch; }
.tree { display: flex; flex-direction: column; gap: 8px; max-width: 860px; }
.tree .kids { margin: 6px 0 4px 26px; padding-left: 12px; border-left: 2px solid var(--line); display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.tree .kids > .node { align-self: stretch; }
.nrow { display: flex; align-items: center; gap: 8px; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 8px 10px; }
.nrow.sections { background: var(--panel-2); }
.nrow.dragging { opacity: .4; }
.nrow.over { outline: 2px dashed var(--sage); outline-offset: 2px; }
.nrow .grip { cursor: grab; color: var(--muted); font-size: 1.1rem; line-height: 1; user-select: none; }
.nrow .car { width: 22px; flex: none; background: none; border: 0; color: var(--sage); font-size: .9rem; cursor: pointer; padding: 0; }
.nrow .nt { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.nrow .nt b { font-size: .92rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nrow .nt small { color: var(--muted); font-size: .72rem; }
.nrow .nacts { display: flex; gap: 4px; flex-wrap: wrap; justify-content: flex-end; }
.nrow .nacts button { background: none; border: 1px solid var(--line); color: var(--cream); border-radius: 8px; padding: 4px 9px; font-size: .74rem; cursor: pointer; }
.nrow .nacts button:hover { border-color: var(--sage); }
@media (max-width: 620px) { .nrow { flex-wrap: wrap; } .nrow .nacts { width: 100%; justify-content: flex-start; } }
.vid { position: relative; }
.vid .wm { position: absolute; z-index: 2; pointer-events: none; font-size: .72rem; color: rgba(255,255,255,.28); text-shadow: 0 0 3px rgba(0,0,0,.5); white-space: nowrap; user-select: none; top: 12%; left: 8%; animation: wmv 36s linear infinite; }
@keyframes wmv { 0% { top: 12%; left: 8%; } 25% { top: 20%; left: 52%; } 50% { top: 74%; left: 40%; } 75% { top: 62%; left: 6%; } 100% { top: 12%; left: 8%; } }

/* login: Primeiro acesso • Esqueci a senha */
form.login-box .tinyrow { margin-top: auto; padding-top: 24px; display: flex; justify-content: center; align-items: center; gap: 4px; }
form.login-box .tinyrow .tiny { margin: 0; padding: 4px 6px; }
.login-box .tinyrow .dot { color: #6b6446; font-size: .7rem; opacity: .7; }
/* boas-vindas e termos */
.modal.lock .x { display: none; }
.welcome { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.welcome .mascot { width: 150px; height: auto; }
.welcome h2 { margin: 0; }
.welcome p { margin: 0; color: var(--muted); max-width: 46ch; }
.terms { max-height: 36vh; overflow: auto; background: var(--panel-2); border: 1px solid var(--line); border-radius: 12px; padding: 14px; white-space: pre-line; font-size: .9rem; margin: 4px 0 10px; }
.warn { color: var(--sage); margin: 0 0 6px; font-size: .9rem; }
.tl { display: flex; flex-direction: column; gap: 6px; font-size: .86rem; margin: 10px 0; color: var(--muted); }
#mbox .chk { display: flex; align-items: center; gap: 10px; margin: 6px 0; font-size: .92rem; }
.nrow .nacts button.tg.on { background: var(--sage); color: #2f3706; border-color: var(--sage); }

/* acesso rápido (3 tracinhos) */
.qscrim { position: fixed; inset: 0; background: rgba(0,0,0,.6); z-index: 55; }
.qa { position: fixed; z-index: 56; top: 0; right: 0; bottom: 0; width: min(560px, 100vw); background: var(--panel); border-left: 1px solid var(--line); overflow: auto; box-shadow: -24px 0 50px -20px rgba(0,0,0,.7); animation: qin .22s ease; }
@keyframes qin { from { transform: translateX(30px); opacity: 0; } to { transform: none; opacity: 1; } }
.qh { position: relative; background: var(--sage); color: var(--dark); min-height: 250px; display: flex; align-items: flex-end; overflow: hidden; }
.qh img.cv { position: absolute; right: 0; top: 0; height: 100%; width: 46%; object-fit: cover; object-position: top; mask-image: linear-gradient(90deg, transparent, #000 25%); -webkit-mask-image: linear-gradient(90deg, transparent, #000 25%); }
.qh .qx { position: absolute; top: 14px; right: 14px; z-index: 2; width: 36px; height: 36px; border-radius: 50%; border: 0; background: rgba(0,0,0,.45); color: #fff; display: grid; place-items: center; cursor: pointer; }
.qt { position: relative; z-index: 1; padding: 22px; width: 62%; display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.qt small { font-size: .74rem; letter-spacing: .04em; opacity: .8; }
.qt b { font-size: 1.05rem; line-height: 1.25; }
.qt p { margin: 0; font-size: .82rem; opacity: .85; }
.qb { padding: 20px 22px 30px; display: flex; flex-direction: column; gap: 10px; }
.qb h3 { margin: 0; font-size: 1.25rem; }
.qb > small { color: var(--muted); }
.qb select { margin: 6px 0; }
.ql { display: flex; flex-direction: column; gap: 4px; }
.qr { display: flex; align-items: flex-start; gap: 10px; padding: 8px 6px; border-radius: 10px; }
.qr:hover { background: rgba(255,255,255,.05); }
.qc { width: 18px; height: 18px; margin-top: 18px; accent-color: var(--sage); flex: none; }
.qi { display: flex; gap: 12px; background: none; border: 0; color: var(--cream); text-align: left; cursor: pointer; flex: 1; min-width: 0; padding: 0; }
.qth { width: 112px; aspect-ratio: 16 / 9; border-radius: 6px; background: var(--panel-2); overflow: hidden; flex: none; position: relative; }
.qth img { position: absolute; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.qtx { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.qtx b { font-size: .9rem; line-height: 1.25; }
.qtx small { color: var(--muted); font-size: .78rem; line-height: 1.3; }
@media (max-width: 520px) { .qth { width: 84px; } .qt { width: 100%; } .qh img.cv { opacity: .35; width: 70%; } }
/* avaliação */
.rate { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 14px; margin: 14px 0 0; padding-top: 12px; border-top: 1px solid var(--line); }
.stars { display: flex; }
.stars button { background: none; border: 0; padding: 0 2px; font-size: 1.6rem; line-height: 1; color: var(--line); cursor: pointer; transition: transform .1s; }
.stars button.on { color: #e9b949; }
.stars:hover button { color: #e9b949; }
.stars button:hover ~ button { color: var(--line); }
.stars button:hover { transform: scale(1.15); }
.rate small { color: var(--muted); }
/* gerenciar: ranking e comentários */
.rank { display: flex; flex-direction: column; gap: 6px; max-width: 860px; }
.rk { display: flex; align-items: center; gap: 12px; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; }
.rk .pos { width: 28px; height: 28px; border-radius: 50%; background: var(--sage); color: #2f3706; display: grid; place-items: center; font-weight: 800; font-size: .8rem; flex: none; }
.rk .nt { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.rk .nt small { color: var(--muted); font-size: .74rem; }
.rk .sc { display: flex; align-items: center; gap: 8px; flex: none; }
.rk .st { color: #e9b949; letter-spacing: 1px; } .rk .st .off { color: var(--line); }
.rk .sc small { color: var(--muted); }
.cfbar { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 12px; max-width: 860px; }
.cfbar select { flex: 1; min-width: 220px; }
.cmrow { display: flex; gap: 10px; align-items: flex-start; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 8px 12px; margin-bottom: 8px; max-width: 860px; }
.cmrow .cm { flex: 1; padding: 0; }
.on-l { color: var(--muted); font-size: .72rem; }
.qt .btn { background: #fff; color: #1b1812; border-color: #fff; margin-top: 8px; }

/* boas-vindas: X com dica */
.welcome { position: relative; }
.welcome .wx { position: absolute; top: -6px; right: -6px; width: 36px; height: 36px; border-radius: 50%; border: 0; background: var(--panel-2); color: var(--cream); display: grid; place-items: center; cursor: pointer; }
.welcome .wx:hover { background: var(--line); }
.welcome .wtip { position: absolute; right: 44px; top: 50%; transform: translateY(-50%); background: #000; color: #fff; font-size: .74rem; padding: 6px 10px; border-radius: 8px; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .15s; }
.welcome .wx:hover .wtip, .welcome .wx:focus-visible .wtip { opacity: 1; }
.welcome .wmsg { min-height: 1.2em; color: var(--sage); font-size: .84rem; }
/* termos com rolagem */
.terms { max-height: 38vh; overflow-y: scroll; scrollbar-width: thin; scrollbar-color: var(--sage) var(--panel-2); }
.terms::-webkit-scrollbar { width: 10px; } .terms::-webkit-scrollbar-track { background: var(--panel-2); border-radius: 8px; }
.terms::-webkit-scrollbar-thumb { background: var(--sage); border-radius: 8px; border: 2px solid var(--panel-2); }
.tl[hidden] { display: none; }
#tgo { margin-top: 8px; width: 100%; }
/* Dídi: painel no estilo de tutor */
.chat { background: #14120e; border-radius: 22px; }
.chat .hd { background: transparent; border-bottom: 1px solid var(--line); padding: 14px 16px; }
.chat .hd small { color: var(--muted); }
.chat .hd img { width: 40px; height: 40px; border: 0; background: var(--cream); }
.cempty { margin: auto; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; padding: 6px 4px; width: 100%; }
.cempty .cic { width: 64px; height: 64px; border-radius: 50%; background: var(--sage); display: grid; place-items: center; overflow: hidden; }
.cempty .cic img { width: 86%; }
.cempty h3 { margin: 6px 0 0; font-size: 1.2rem; }
.cempty p { margin: 0; color: var(--muted); font-size: .86rem; max-width: 34ch; }
.csug { display: flex; flex-direction: column; gap: 8px; width: 100%; margin-top: 8px; }
.csug button { display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; background: var(--panel); border: 1px solid var(--line); color: var(--cream); border-radius: 12px; padding: 13px 14px; font-size: .9rem; font-weight: 600; cursor: pointer; }
.csug button:hover { border-color: var(--sage); }
.csug button svg { width: 18px; height: 18px; color: var(--sage); flex: none; }
.chat form { border-top: 0; padding: 10px 12px 4px; }
.chat form .field { background: var(--panel); border-color: var(--sage); }
.chint { text-align: center; color: var(--muted); font-size: .7rem; padding: 2px 12px 12px; }
.chint kbd { border: 1px solid var(--line); border-radius: 5px; padding: 0 5px; font-size: .66rem; font-family: inherit; }
.cempty { margin: 0 auto; gap: 8px; }
.cempty .cic { width: 56px; height: 56px; flex: none; }
.csug button { padding: 11px 14px; }
.csug { gap: 6px; }
.chat { height: min(620px, calc(100vh - 44px)); }

/* cards de agenda: data à esquerda, tipo à direita, gradiente */
.ev .evtop { display: flex; justify-content: space-between; align-items: flex-start; height: auto; min-height: 96px; padding: 18px 20px; background: linear-gradient(135deg, #4a5410 0%, #6f7d1c 100%); }
.ev.rec .evtop { background: linear-gradient(135deg, #3b2a1d 0%, #6b4a33 100%); }
.ev .evtop::after { display: none; }
.ev .evl b { font-size: 1.7rem; letter-spacing: .01em; line-height: 1; font-stretch: 118%; }
.ev .evl small { margin-top: 8px; font-size: .86rem; letter-spacing: .04em; text-transform: none; color: var(--cream); opacity: .9; font-weight: 600; }
.ev .evtop .chip { position: static; font-size: .66rem; }
/* Dídi: topo marrom, corpo claro */
.chat { background: #fbf8ec; color: #2a1c14; }
.chat .hd { background: #4a3324; color: #f6ecd8; border-bottom: 0; }
.chat .hd small { color: #e2c9a0; }
.chat .hd button { background: rgba(255,255,255,.16); color: #f6ecd8; }
.chat .hd img { background: #fbf8ec; }
.chat .cempty h3 { color: #2a1c14; }
.chat .cempty p { color: #6b6446; }
.chat .cempty .cic { background: #e6ead0; }
.chat .csug button { background: #fff; border-color: #e3dcc3; color: #2a1c14; }
.chat .csug button:hover { border-color: #4a3324; }
.chat .csug button svg { color: #4a3324; }
.chat .msg-b { background: #fff; color: #2a1c14; border: 1px solid #eee7cf; }
.chat .msg-b.me { background: #4a3324; color: #f6ecd8; border-color: #4a3324; }
.chat .msg-b .lk button { background: #fbf8ec; border-color: #e3dcc3; color: #2a1c14; }
.chat .msg-b .lk button:hover { border-color: #4a3324; }
.chat .msg-b .lk small { color: #6b6446; }
.chat form .field { background: #fff; border-color: #c9bf9a; color: #2a1c14; }
.chat form .field::placeholder { color: #8a8264; }
.chat form .btn { background: #4a3324; border-color: #4a3324; color: #f6ecd8; }
.chint { color: #8a8264; } .chint kbd { border-color: #d7cfb2; }

/* aulas com liberação programada */
[data-showif][hidden] { display: none !important; }
.tile.locked img.cv, .tile.locked .art { filter: grayscale(1) brightness(.78); }
.tile.locked { box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); }
.tile .lkic { position: absolute; top: 10px; right: 10px; z-index: 2; width: 26px; height: 26px; border-radius: 50%; background: rgba(20,18,14,.78); color: #fff; display: grid; place-items: center; }
.tile .lkic svg, .qth .lkic svg { width: 14px; height: 14px; }
.tile .lkb { position: absolute; left: 8px; right: 8px; bottom: 8px; z-index: 2; background: rgba(20,18,14,.8); color: #f1f1f1; font-size: .68rem; font-weight: 600; text-align: center; padding: 5px 8px; border-radius: 999px; }
.qr.locked .qth img { filter: grayscale(1) brightness(.8); }
.qth .lkic { position: absolute; top: 4px; right: 4px; z-index: 2; width: 20px; height: 20px; border-radius: 50%; background: rgba(20,18,14,.78); color: #fff; display: grid; place-items: center; }
.qth .lkic svg { width: 11px; height: 11px; }
.lockbox { margin: 14px 0 4px; padding: 26px 18px; text-align: center; border: 1px dashed var(--line); border-radius: 14px; display: flex; flex-direction: column; align-items: center; gap: 8px; color: var(--muted); }
.lockbox svg { width: 34px; height: 34px; }
.lockbox b { color: var(--cream); font-size: 1.05rem; }
.lockbox p { margin: 0; }

/* ===== Gerenciar: resumo, membras, acessos, engajamento, lembretes, NPS ===== */
.kpis { display: grid; grid-template-columns: repeat(auto-fill, minmax(168px, 1fr)); gap: 10px; margin: 6px 0 16px; }
.kpi { text-align: left; background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 14px 14px 12px; display: flex; flex-direction: column; gap: 4px; color: inherit; font: inherit; cursor: pointer; }
.kpi b { font-size: 1.9rem; line-height: 1; }
.kpi span { font-size: .78rem; color: var(--muted); }
.kpi.hot { border-color: #c9a24a; } .kpi.hot b { color: #e9b949; }
.kpi:hover { border-color: var(--sage); }
.rgrid, .rmgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 12px; align-items: start; }
.rbox { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.rbox h3 { margin: 0; font-size: .95rem; }
.rtop { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.rl { display: flex; flex-direction: column; padding: 6px 0; border-top: 1px solid var(--line); } .rl:first-of-type { border-top: 0; }
.rl small, .muted { color: var(--muted); font-size: .76rem; } .tiny { font-size: .72rem; }
.mbar { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin: 6px 0; }
.mbar .field { flex: 1; min-width: 160px; }
.mbar .mini { display: flex; flex-direction: column; font-size: .68rem; color: var(--muted); gap: 2px; }
.mbar .mini .field { min-width: 130px; }
.chipbar { margin: 8px 0 12px; }
.mr, .lr { display: flex; align-items: center; gap: 12px; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; margin-bottom: 6px; }
.mi { flex: 1; min-width: 0; display: flex; flex-direction: column; } .mi small { color: var(--muted); font-size: .74rem; overflow: hidden; text-overflow: ellipsis; }
.mavg { color: var(--muted); font-size: .76rem; white-space: nowrap; }
.pill { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: .7rem; font-weight: 700; white-space: nowrap; background: var(--line); }
.pill.s-ok { background: #3a4a12; color: #d9e6a3; } .pill.s-sch { background: #3b3a58; color: #cfcdf5; } .pill.s-exp { background: #5a4417; color: #f0d79a; } .pill.s-off { background: #4a3a30; color: #e6cbb8; } .pill.s-ban { background: #5a2121; color: #f3b9b9; }
.mhead { display: flex; align-items: center; gap: 12px; padding-bottom: 8px; } .mhead > div { flex: 1; display: flex; flex-direction: column; } .mhead small { color: var(--muted); font-size: .76rem; }
.form .two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.qbtn { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; } .qbtn small { color: var(--muted); }
.modsel { display: flex; flex-direction: column; gap: 4px; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; } .modsel small { color: var(--muted); font-size: .74rem; margin-bottom: 4px; }
.atbl { overflow-x: auto; } .ah, .ar { display: grid; grid-template-columns: minmax(170px, 1.6fr) 140px 140px 90px 110px 120px 80px; gap: 8px; align-items: center; min-width: 900px; }
.ah { font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding: 0 12px 6px; }
.ar { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 8px 12px; margin-bottom: 6px; }
.ar .field { padding: 7px 8px; font-size: .8rem; }
.rk.eg .egbar { flex: 1; max-width: 340px; height: 10px; border-radius: 6px; background: var(--line); overflow: hidden; } .rk.eg .egbar i { display: block; height: 100%; background: var(--sage); }
.rk.eg.warn { border-color: #b4566a; } .rk.eg.warn .bar i { background: #c76a80; } .rk.eg .pc { width: 44px; text-align: right; }
.alertb { background: var(--panel); border: 1px solid #b4566a; border-radius: 12px; padding: 10px 14px; margin: 8px 0; display: flex; flex-direction: column; gap: 2px; max-width: 860px; } .alertb span { color: var(--muted); font-size: .82rem; }
.cmrow.hid { opacity: .6; }
.cb .rpl { display: flex; gap: 8px; margin-top: 8px; align-items: flex-start; } .cb .rpl .field { flex: 1; }
.cb .trep { margin-top: 8px; padding: 6px 10px; border-left: 3px solid var(--sage); background: rgba(255,255,255,.04); border-radius: 0 8px 8px 0; font-size: .85rem; }
.cb .cacts { display: flex; gap: 14px; margin-top: 6px; }
.lnk { background: none; border: 0; padding: 0; color: var(--muted); font-size: .76rem; text-decoration: underline; cursor: pointer; } .lnk.bad { color: #d98a8a; }
.cm.reply { margin-left: 34px; } .cm.hid { opacity: .55; }
.lr .lacts { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; justify-content: flex-end; } .sent { font-size: .72rem; color: #d9e6a3; background: #3a4a12; padding: 3px 8px; border-radius: 999px; }
.prev { background: #e7f3de; color: #1f2a14; border-radius: 12px; padding: 10px 12px; } .prev small { color: #5c6b4d; letter-spacing: .08em; } .prev p { margin: 4px 0 0; white-space: pre-wrap; }
.sw { position: relative; display: inline-block; width: 44px; height: 24px; } .sw input { opacity: 0; width: 0; height: 0; } .sw i { position: absolute; inset: 0; border-radius: 999px; background: var(--line); transition: .2s; } .sw i::after { content: ''; position: absolute; left: 3px; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: .2s; } .sw input:checked + i { background: var(--sage); } .sw input:checked + i::after { transform: translateX(20px); }
.chs { display: flex; gap: 14px; align-items: center; }
.nptop { display: flex; justify-content: space-between; gap: 10px; align-items: center; flex-wrap: wrap; }
.npgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; margin: 8px 0 14px; }
.npgrid .nkc { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; display: flex; flex-direction: column; gap: 2px; } .npgrid .nkc.big { background: var(--sage); color: #2f3706; } .npgrid .nkc small { font-size: .64rem; letter-spacing: .1em; opacity: .75; } .npgrid .nkc b { font-size: 2rem; line-height: 1.1; } .npgrid .nkc b.g { color: #b7d26a; } .npgrid .nkc b.r { color: #e08a9a; } .npgrid .nkc span { font-size: .76rem; opacity: .75; }
.rk .pos.g { background: #b7d26a; } .rk .pos.r { background: #e08a9a; }
.conv { margin-top: 18px; max-width: 560px; background: var(--panel); border: 1px dashed var(--line); border-radius: 12px; padding: 12px 14px; display: flex; flex-direction: column; gap: 6px; } .conv small { color: var(--muted); font-size: .78rem; } .cvr { display: flex; gap: 8px; flex-wrap: wrap; } .cvr .field { flex: 1; min-width: 180px; }
.npsb { display: flex; flex-direction: column; gap: 12px; padding: 4px 2px; } .npsb h2 { margin: 0; } .npsb p { margin: 0; color: var(--muted); } .npsb .tag { align-self: flex-start; font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; border: 1px solid var(--line); border-radius: 999px; padding: 4px 10px; }
.nps10 { display: grid; grid-template-columns: repeat(11, 1fr); gap: 4px; } .nps10 button { padding: 10px 0; border-radius: 10px; border: 1px solid var(--line); background: none; color: inherit; font-weight: 700; } .nps10 button.on { background: var(--sage); color: #2f3706; border-color: var(--sage); }
.npsleg { display: flex; justify-content: space-between; font-size: .7rem; color: var(--muted); } .npsact { display: flex; gap: 10px; }
@media (max-width: 640px) { .nps10 { grid-template-columns: repeat(6, 1fr); } .form .two { grid-template-columns: 1fr; } }

.devskip { position: fixed; left: 14px; bottom: 14px; z-index: 5; background: none; border: 1px dashed var(--muted); color: var(--muted); border-radius: 999px; padding: 7px 14px; font-size: .74rem; cursor: pointer; }
.devskip:hover { color: var(--sage); border-color: var(--sage); }

/* ===== Gerenciar em tema claro ===== */
.main.adm { background: #f7f3df; color: #2a1c14; --panel: #fffdf4; --panel-2: #f1ecd2; --line: #e3dcbd; --text: #2a1c14; --muted: #7b735a; --sage: #58402f; --err: #b3402c; }
.main.adm h1, .main.adm h2, .main.adm h3, .main.adm b { color: #2a1c14; }
.main.adm .eyebrow { color: #7a6a2a; }
.main.adm .field { color: #2a1c14; background: #fffdf4; border-color: #e3dcbd; }
.main.adm .field::placeholder { color: #a39b80; }
.main.adm .field:focus { border-color: #58402f; }
.main.adm .btn { background: #58402f; border-color: #58402f; color: #fcffe3; }
.main.adm .btn.ghost { background: transparent; color: #58402f; border-color: #cdbf9a; }
.main.adm .btn:disabled { opacity: .5; }
.main.adm .subnav button { color: #4a3a2a; border-color: #dcd3b0; background: #fffdf4; }
.main.adm .subnav button.on { background: #58402f; border-color: #58402f; color: #fcffe3; }
.main.adm .hint, .main.adm .muted, .main.adm small { color: #7b735a; }
.main.adm .empty { color: #7b735a; border-color: #d8cfae; background: transparent; }
.main.adm .row, .main.adm .rk, .main.adm .mr, .main.adm .lr, .main.adm .ar, .main.adm .rbox, .main.adm .kpi, .main.adm .cmrow, .main.adm .modsel, .main.adm .conv, .main.adm .alertb, .main.adm .npgrid .nkc { background: #fffdf4; border-color: #e3dcbd; }
.main.adm .kpi:hover { border-color: #58402f; }
.main.adm .kpi.hot { border-color: #c48a1d; background: #fff7e0; } .main.adm .kpi.hot b { color: #9a6a05; }
.main.adm .npgrid .nkc.big { background: #58402f; color: #fcffe3; } .main.adm .npgrid .nkc.big b, .main.adm .npgrid .nkc.big small, .main.adm .npgrid .nkc.big span { color: #fcffe3; }
.main.adm .npgrid .nkc b.g { color: #4f6a10; } .main.adm .npgrid .nkc b.r { color: #b3402c; }
.main.adm .rk .pos { background: #58402f; color: #fcffe3; } .main.adm .rk .pos.g { background: #6b8a1e; } .main.adm .rk .pos.r { background: #c4534a; }
.main.adm .rk .st { color: #d49a16; } .main.adm .rk .st .off { color: #dcd3b0; }
.main.adm .rk.eg .egbar { background: #e9e2c4; } .main.adm .rk.eg .egbar i { background: #6b8a1e; } .main.adm .rk.eg.warn { border-color: #c4534a; } .main.adm .rk.eg.warn .egbar i { background: #c4534a; }
.main.adm .alertb { border-color: #c4534a; } .main.adm .alertb span { color: #7b735a; }
.main.adm .pill { background: #ece5c8; color: #4a3a2a; }
.main.adm .pill.s-ok { background: #e3efc2; color: #3f5a0a; } .main.adm .pill.s-sch { background: #e2e0f6; color: #3d3a7a; } .main.adm .pill.s-exp { background: #fae9bd; color: #7a5410; } .main.adm .pill.s-off { background: #efe0d4; color: #6a4a35; } .main.adm .pill.s-ban { background: #f8d9d6; color: #8a2a24; }
.main.adm .fd { background: #58402f; color: #fcffe3; }
.main.adm .sent { background: #e3efc2; color: #3f5a0a; }
.main.adm .prev { background: #eef5dc; color: #23301a; } .main.adm .prev small { color: #5c6b4d; }
.main.adm .sw i { background: #d8cfae; } .main.adm .sw input:checked + i { background: #6b8a1e; }
.main.adm .lnk { color: #7b735a; } .main.adm .lnk.bad { color: #b3402c; }
.main.adm .cb .trep { background: #f3eed8; border-left-color: #58402f; color: #2a1c14; }
.main.adm .cm .cb p, .main.adm .cm .ch small { color: #2a1c14; } .main.adm .cm .ch small { color: #7b735a; }
.main.adm .toast { background: #2a1c14; color: #fcffe3; }
.main.adm .rsec { display: flex; flex-direction: column; gap: 12px; padding: 18px; border: 1px solid #e3dcbd; border-radius: 18px; background: #fbf8e8; margin-bottom: 18px; }
.rsh h2 { margin: 0; font-size: 1.1rem; } .rsh p { margin: 2px 0 0; color: var(--muted); font-size: .84rem; }
.rsec .kpis { margin: 0; }
.main.adm .rl { border-top-color: #ece5c8; }
/* árvore da estrutura em tema claro */
.main.adm .nrow, .main.adm .tree, .main.adm .nrow > * { color: #2a1c14; }
.main.adm .nrow { background: #fffdf4; border-color: #e3dcbd; }
.main.adm { --cream: #2a1c14; --olive: #58402f; }
.main.adm .nrow .nacts button { color: #2a1c14; border-color: #d8cfae; }
.main.adm .nrow .nacts button.tg.on { background: #58402f; color: #fcffe3; border-color: #58402f; }
.main.adm .nrow.sections { background: #f3eed8; }
.main.adm .nrow .car { color: #58402f; }

/* ===== Gestão v3: menu em dois níveis, tipos de conta, permissões, acessos ===== */
.ask[hidden] { display: none !important; }
.gnav { margin-bottom: 8px; } .snav { margin: 0 0 14px; } .snav button { font-size: .8rem; opacity: .9; }
.tb { display: flex; gap: 4px; flex-wrap: wrap; }
.main.adm .tb .fd, .tb .fd { font-size: .6rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 3px 8px; border-radius: 99px; background: #58402f; color: #fcffe3; white-space: nowrap; }
.tb .fd.free { background: #d9cfa3; color: #4a3a1c; } .tb .fd.std { background: #ece5c5; color: #5f5638; }
.mr { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; } .mr .mi { flex: 1; min-width: 160px; }
.atbl .ah, .atbl .ar { grid-template-columns: 30px minmax(180px, 1.5fr) 100px 130px 160px 170px 210px; min-width: 1000px; }
.ar .ck { display: flex; justify-content: center; } .ar .mi small { display: block; color: var(--muted); font-size: .72rem; }
.racts { display: flex; gap: 6px; justify-content: flex-end; }
.bulkbar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 8px 12px; margin: 0 0 10px; background: var(--panel-2); border: 1px solid var(--line); border-radius: 12px; }
.xres { padding: 10px 14px; border-radius: 10px; background: var(--panel-2); border: 1px solid var(--line); margin-bottom: 10px; font-size: .88rem; } .xres.bad { border-color: #b4553a; }
.mhead { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; } .mhead small { display: block; color: var(--muted); }
.fs { border: 1px solid var(--line); border-radius: 14px; padding: 12px 16px 14px; margin: 0 0 14px; } .fs legend { padding: 0 8px; font-weight: 700; font-size: .85rem; }
.fs .two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; } @media (max-width: 640px) { .fs .two { grid-template-columns: 1fr; } }
.qbtn { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; margin: 8px 0; }
.ptab .pr, .pmat .pr0, .pmat .ph0 { display: grid; align-items: center; gap: 10px; padding: 7px 0; border-bottom: 1px solid var(--line); }
.ptab .pr { grid-template-columns: 1.6fr 1fr 150px; } .pd { font-size: .78rem; } .pd.yes { color: #4b7a2a; } .pd.no { color: #9a5a3a; }
.pmat .pr0, .pmat .ph0 { grid-template-columns: 1.8fr repeat(4, 1fr); } .pmat .ph0 { font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 700; }
.pc0 { text-align: center; } .pc0 input { width: 18px; height: 18px; }
.ustats { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 10px; margin-bottom: 12px; }
.ustats > div { background: var(--panel-2); border-radius: 10px; padding: 10px 12px; } .ustats b { display: block; font-size: 1.05rem; } .ustats small { color: var(--muted); font-size: .72rem; }
.ulist .up { display: grid; grid-template-columns: 1.4fr 2fr 50px; align-items: center; gap: 10px; padding: 4px 0; font-size: .85rem; }
.tile.locked .lkic svg { width: 16px; height: 16px; }
.tile.locked .lkb.xb, .tile.locked .lkb { }
.tile.locked .lkic + .lkb { top: 10px; bottom: auto; right: 44px; left: 8px; text-align: left; font-size: .62rem; padding: 4px 8px; }

/* ===== Gestão v4 ===== */
.cafa { display: flex; gap: 12px; align-items: flex-start; background: #fff6d8; border: 1px solid #ecdca0; border-left: 4px solid #8a9a2b; border-radius: 14px; padding: 12px 16px; margin: 0 0 16px; max-width: 860px; }
.cafa img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; background: #fffdf4; flex: none; }
.cafa b { font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: #6b6a1f; }
.cafa p { margin: 3px 0 0; font-size: .88rem; line-height: 1.5; color: #4a3a2a; }
.msec { background: #fffdf4; border: 1px solid #e3dcbd; border-radius: 18px; padding: 20px 22px; margin: 0 0 28px; display: flex; flex-direction: column; gap: 14px; }
.msec h3 { margin: 0; font-size: 1.05rem; } .msec .cafa { margin: 0; max-width: none; }
.addg { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; } .addg label { display: flex; flex-direction: column; gap: 4px; font-size: .8rem; color: var(--muted); }
.mpick .modsel { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 6px 14px; margin-top: 10px; padding: 12px; border: 1px dashed var(--line); border-radius: 12px; } .mpick .modsel[hidden] { display: none; }
.btn.danger, .btn.ghost.danger { color: #9a3a22; border-color: #d9b0a0; } .fs.danger { border-color: #e0bfb2; background: #fff8f4; }
.row { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 12px 16px; margin-bottom: 8px; }
.main.adm .row { background: #fffdf4; border-color: #e3dcbd; }
.reltag { position: absolute; top: 10px; left: 10px; z-index: 2; display: inline-flex; align-items: center; gap: 5px; background: rgba(20,18,14,.8); color: #fff; font-size: .68rem; font-weight: 700; padding: 4px 9px; border-radius: 999px; } .reltag svg { width: 12px; height: 12px; }
.tile.locked .reltag { top: 10px; }
.supf { display: flex; flex-direction: column; gap: 10px; width: 100%; } .supf label { display: flex; flex-direction: column; gap: 4px; font-size: .78rem; opacity: .85; } .supw { max-width: 100%; width: 100%; }
.supc { background: #fffdf4; border: 1px solid #e3dcbd; border-radius: 14px; padding: 14px 18px; margin-bottom: 10px; } .supc .sh { display: flex; justify-content: space-between; gap: 10px; align-items: center; } .supc p { margin: 8px 0 12px; white-space: pre-wrap; }
.pmat .pr0, .pmat .ph0 { grid-template-columns: 1.8fr repeat(5, 1fr); } .pc0.all { background: #f1ecd2; border-radius: 8px; padding: 4px 0; }
.rvk { display: grid; grid-template-columns: repeat(3, minmax(140px, 1fr)) minmax(220px, 1.4fr); gap: 12px; margin-bottom: 14px; align-items: stretch; } @media (max-width: 860px) { .rvk { grid-template-columns: 1fr 1fr; } }
.rdist { background: #fffdf4; border: 1px solid #e3dcbd; border-radius: 14px; padding: 10px 14px; display: flex; flex-direction: column; gap: 4px; } .rdist > div { display: grid; grid-template-columns: 28px 1fr 26px; gap: 8px; align-items: center; font-size: .78rem; }
.rvbar { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; } .fakebadge { font-size: .72rem; background: #f6e3b4; color: #7a5410; border-radius: 999px; padding: 4px 12px; font-weight: 700; }
.podium { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 12px; margin-bottom: 14px; }
.rkc { position: relative; background: linear-gradient(160deg, #fffdf4, #f4ecc4); border: 1px solid #e3dcbd; border-radius: 16px; padding: 16px 16px 14px 56px; display: flex; flex-direction: column; gap: 3px; } .rkc:first-child { border-color: #d3b24a; box-shadow: 0 6px 18px rgba(180,150,40,.18); }
.rkc .rkp { position: absolute; left: 14px; top: 14px; width: 30px; height: 30px; border-radius: 50%; background: #58402f; color: #fcffe3; display: grid; place-items: center; font-weight: 800; } .rkc:first-child .rkp { background: #c99a1a; }
.rkc small { color: var(--muted); } .rks { display: flex; align-items: center; gap: 8px; margin-top: 6px; } .rks .st, .kh .st { color: #d9a31a; letter-spacing: 1px; } .st .off { color: #d8d0ae; }
.rank2 { display: flex; flex-direction: column; gap: 6px; } .rk2 { display: grid; grid-template-columns: 30px minmax(160px, 1.6fr) 1.4fr 80px; gap: 12px; align-items: center; background: #fffdf4; border: 1px solid #e3dcbd; border-radius: 12px; padding: 9px 14px; }
.rk2 .pos { font-weight: 800; color: #8a7a4a; } .rk2 .nt small { color: var(--muted); display: block; } .bar2 { height: 8px; background: #ece5c5; border-radius: 99px; overflow: hidden; } .bar2 i { display: block; height: 100%; background: #8a9a2b; } .rk2 .sc { text-align: right; } .rk2 .sc small { display: block; color: var(--muted); font-size: .7rem; }
.kanban { display: grid; grid-template-columns: repeat(6, minmax(190px, 1fr)); gap: 12px; overflow-x: auto; padding-bottom: 8px; }
.kcol { background: #f1ecd2; border-radius: 14px; padding: 10px; display: flex; flex-direction: column; gap: 8px; min-height: 120px; } .kh { display: flex; justify-content: space-between; align-items: center; font-size: .8rem; font-weight: 700; padding: 2px 4px 6px; }
.kcard { background: #fffdf4; border: 1px solid #e3dcbd; border-radius: 10px; padding: 9px 11px; font-size: .82rem; display: flex; flex-direction: column; gap: 2px; } .kcard small { color: var(--muted); } .kcard .kn { color: #8a6a14; font-weight: 700; font-size: .74rem; } .kempty { color: var(--muted); font-size: .76rem; text-align: center; padding: 14px 0; }
.kcol.kno { background: #ebe6d0; opacity: .85; }
.evmini { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px; margin-bottom: 14px; }
.evm { text-align: left; background: #fffdf4; border: 1px solid #e3dcbd; border-radius: 12px; padding: 10px 14px; cursor: pointer; display: flex; flex-direction: column; gap: 2px; color: #2a1c14; font: inherit; } .evm:hover { border-color: #8a9a2b; } .evm b { font-size: .8rem; color: #6b6a1f; } .evm span { font-size: .88rem; font-weight: 600; }
.vasw { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-top: 10px; font-size: .82rem; color: var(--muted); } .vasw button { border: 1px solid #d8cfa8; background: #fffdf4; border-radius: 99px; padding: 5px 13px; cursor: pointer; font: inherit; font-size: .8rem; color: #58402f; }
.vabar { position: sticky; top: 0; z-index: 60; background: #c99a1a; color: #2a1c14; text-align: center; padding: 8px 12px; font-size: .85rem; } .vabar button { margin-left: 10px; border: 0; background: #2a1c14; color: #fff; border-radius: 99px; padding: 4px 14px; cursor: pointer; font: inherit; }

/* ===== v5: suporte, cabeçalho da aula, comentários em balão ===== */
.supf .field, .supf textarea.field, .supf select.field { border-radius: 12px; }
.supf .btn { border-radius: 12px; width: 100%; padding: 11px 14px; }
.supf textarea.field { resize: vertical; min-height: 96px; padding: 12px 14px; }
.linkb { background: none; border: 0; color: var(--muted); font: inherit; font-size: .8rem; cursor: pointer; text-decoration: underline; padding: 4px 0; text-align: center; }
#cback { margin-left: auto; width: auto !important; border-radius: 99px !important; padding: 0 12px; font-size: .78rem; } #cback + #cx { margin-left: 8px; }
.lhead { display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; margin-bottom: 6px; padding-right: 44px; } .lht { min-width: 0; } .lht h2 { margin-top: 4px; }
.rate.rtop { margin: 6px 0 0; padding: 0; border: 0; flex: none; } .rate.rtop .stars button { font-size: 1.35rem; }
.ledit { display: inline-grid; place-items: center; width: 28px; height: 28px; margin-left: 6px; vertical-align: middle; border-radius: 50%; border: 1px solid var(--line); background: transparent; color: var(--sage); cursor: pointer; } .ledit svg { width: 15px; height: 15px; } .ledit:hover { background: var(--sage); color: #2f3706; }
.cmts h3 { margin-bottom: 14px; }
#cmf { display: flex; gap: 12px; align-items: flex-start; margin: 0 0 18px; flex-wrap: nowrap; }
.bub, .cm .cb { position: relative; background: var(--cream); color: var(--dark); border: 0; border-radius: 22px; padding: 14px 20px; }
.bub::before, .cm .cb::before { content: ''; position: absolute; left: -14px; top: 18px; width: 0; height: 0; background: none; transform: none; border: 10px solid transparent; border-right: 16px solid var(--cream); border-left: 0; }
.bub { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
#cmf .bub textarea { border: 0; background: transparent; border-radius: 0; padding: 2px 0; min-height: 48px; resize: none; box-shadow: none; outline: 0; width: 100%; }
#cmf .bub .btn { align-self: flex-end; }
.cm { gap: 12px; padding: 7px 0; align-items: flex-start; } .cm.reply { margin-left: 30px; }
.main.adm .bub, .main.adm .cm .cb { background: #fffdf4; border-color: #e3dcbd; } .main.adm .bub::before, .main.adm .cm .cb::before { border-color: #e3dcbd; }
.chat .supf .field, .chat .supf input.field, .chat .supf textarea.field, .chat .supf select.field { border-radius: 12px !important; height: auto; padding: 10px 14px; }
.chat .supf .btn { border-radius: 12px !important; width: 100%; padding: 12px 14px !important; height: auto !important; font-size: .9rem; }

/* v6: layouts, casinha, balão */
.cm .cb p, .cm .ch small, .bub textarea { color: var(--dark) !important; } .cm .ch small { opacity: .65; }
.main.adm .bub, .main.adm .cm .cb { background: #fffdf4; border: 1px solid #e3dcbd; } .main.adm .bub::before, .main.adm .cm .cb::before { border-right-color: #fffdf4; }
.main:not(.adm) .pg .empty { max-width: 520px; padding: 22px 26px; }
.ehl { display: flex; align-items: center; gap: 10px; min-width: 0; }
.homeb { width: 34px; height: 34px; border-radius: 50%; border: 0; background: var(--panel-2); color: var(--cream); display: grid; place-items: center; flex: none; cursor: pointer; transition: background .15s, transform .15s; }
.homeb:hover { background: var(--olive); transform: translateY(-1px); } .homeb svg { width: 18px; height: 18px; }
.tilegrid.wide .tile { width: clamp(260px, 30vw, 380px); aspect-ratio: 16 / 10; }
.lrows { display: flex; flex-direction: column; gap: 10px; max-width: 860px; }
.lrow { display: flex; align-items: center; gap: 16px; width: 100%; text-align: left; border: 1px solid var(--line); background: var(--panel); color: var(--cream); border-radius: 16px; padding: 12px 16px; cursor: pointer; transition: background .15s, transform .15s; }
.lrow:hover { background: var(--panel-2); transform: translateX(3px); }
.lrow .lth { width: 84px; aspect-ratio: 16 / 10; border-radius: 10px; background: var(--olive) center / cover; flex: none; }
.lrow .lnum { width: 42px; height: 42px; border-radius: 50%; background: var(--sage); color: var(--dark); display: grid; place-items: center; font-weight: 800; flex: none; }
.lrow .ltx { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.lrow .ltx small { color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.lrow .lst { color: var(--sage); font-size: .85rem; display: flex; align-items: center; gap: 6px; flex: none; } .lrow .lst svg { width: 16px; height: 16px; }
.lrows.steps { position: relative; } .lrows.steps .lrow { border-radius: 999px; padding: 10px 20px 10px 10px; }
.mbox.lay-cinema, .mbox.lay-side { max-width: 1120px; }
.mbox.lay-cinema .lbody { display: flex; flex-direction: column; gap: 14px; }
.mbox.lay-side .lbody { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(280px, 1fr); gap: 22px; align-items: start; }
.mbox.lay-side .lside { max-height: 70vh; overflow: auto; }
.mbox.lay-text .lmain { display: flex; flex-direction: column-reverse; gap: 14px; }
.mbox.lay-text .ldesc { font-size: 1.12rem; line-height: 1.65; color: var(--cream); }
.mbox.lay-text .vid { max-width: 520px; }
@media (max-width: 860px) { .mbox.lay-side .lbody { display: flex; flex-direction: column; } .lrow .lth { display: none; } }
.lmain { display: flex; flex-direction: column; gap: 14px; }

/* v7 */
.vid .wm { animation: none; transition: top 5s linear, left 5s linear; display: flex; flex-direction: column; gap: 1px; line-height: 1.25; color: rgba(255,255,255,.34); }
.vid .wm b { font-weight: 700; letter-spacing: .02em; }
.lbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 10px 0 12px; }
.lser { font-size: .86rem; font-weight: 700; color: var(--sage); }
.lbr { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.ltg { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); background: transparent; color: var(--cream); display: grid; place-items: center; cursor: pointer; }
.ltg svg { width: 17px; height: 17px; } .ltg:hover { background: var(--panel-2); }
.snav { display: flex; justify-content: space-between; gap: 10px; margin-top: 8px; } .snav .btn svg { width: 15px; height: 15px; vertical-align: -3px; }
.mbox.lt-light { background: #faf7ec; color: #2a1c14; border-color: #e3dcbd; --cream: #2a1c14; --muted: #6f6650; --line: #e3dcbd; --panel-2: #efe8cf; }
.mbox.lt-light h2, .mbox.lt-light h3 { color: #2a1c14; } .mbox.lt-light p { color: #5a5240; } .mbox.lt-light .ldesc { color: #3b3123; }
.mbox.lt-light .chip { color: #55641f !important; border-color: #b9c08c; }
.mbox.lt-light .x { background: #efe8cf; color: #2a1c14; }
.mbox.lt-light .stars button { color: #cdbf8d; } .mbox.lt-light .stars button.on, .mbox.lt-light .stars button:hover { color: #c9940f; }
.mbox.lt-light .bub, .mbox.lt-light .cm .cb { background: #fff; color: #2a1c14; border: 1px solid #e3dcbd; }
.mbox.lt-light .bub::before, .mbox.lt-light .cm .cb::before { border-right-color: #e3dcbd; left: -15px; }
.mbox.lt-light .bub textarea, .mbox.lt-light .cm .cb p { color: #2a1c14 !important; }
.mbox.lt-light .empty { color: #7b735a; border-color: #d8cfae; }
.mbox.lt-light .btn.ghost { color: #2a1c14; border-color: #cfc59a; }
.mbox.lt-light .lockbox { color: #2a1c14; }
.pgrow { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; } .pgrow .btn { white-space: nowrap; } .pgrow .btn svg { width: 16px; height: 16px; vertical-align: -3px; }
.main:not(.adm) .pg .empty { margin-left: auto; margin-right: auto; }
.single { display: flex; flex-direction: column; gap: 14px; max-width: 1100px; } .single .ldesc { margin: 0; color: var(--cream); font-size: 1.05rem; line-height: 1.6; white-space: pre-line; }
.qa { top: 50%; left: 50%; right: auto; bottom: auto; transform: translate(-50%, -50%); width: min(760px, 94vw); max-height: 90vh; border: 1px solid var(--line); border-radius: 20px; animation: qpop .2s ease; box-shadow: 0 30px 80px -20px rgba(0,0,0,.8); }
@keyframes qpop { from { opacity: 0; transform: translate(-50%, -48%); } to { opacity: 1; transform: translate(-50%, -50%); } }
.devrow { position: fixed; left: 14px; bottom: 14px; z-index: 5; display: flex; gap: 8px; flex-wrap: wrap; } .devrow .devskip { position: static; }
.bubbtn { display: inline-flex; align-items: center; gap: 6px; margin: 10px 0 0; padding: 8px 16px; border: 0; border-radius: 999px; background: var(--olive); color: var(--cream); font-weight: 700; cursor: pointer; font-size: .9rem; } .bubbtn svg { width: 15px; height: 15px; } .bubbtn:hover { filter: brightness(1.15); }
.hello .bubble .bubbtn { display: flex; }
.lk.qz { flex-direction: column; align-items: stretch; }
.covf { display: flex; flex-direction: column; gap: 8px; }
.covrow { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; } .covrow small { color: var(--muted); flex: 1; min-width: 220px; line-height: 1.4; }
.covup { cursor: pointer; display: inline-flex; align-items: center; gap: 6px; } .covup svg { width: 15px; height: 15px; }
.covprev { display: flex; gap: 18px; align-items: flex-end; flex-wrap: wrap; } .covprev figure { margin: 0; display: flex; flex-direction: column; gap: 6px; } .covprev figcaption { font-size: .78rem; color: var(--muted); }
.cvp { border-radius: 12px; background: var(--olive) center / cover no-repeat; border: 1px solid var(--line); } .cvp.port { width: 128px; aspect-ratio: 4 / 5; } .cvp.land { width: 208px; aspect-ratio: 16 / 10; }
@media (max-width: 860px) { .qa { width: 96vw; } }

.bublink { background: none; border: 0; padding: 0; font: inherit; font-weight: 800; color: var(--olive); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; } .bublink:hover { color: var(--brown); }
.hello .bubble { max-width: 56ch; }

.welcome .wcaf { max-width: 52ch; line-height: 1.55; } .welcome .bublink { color: var(--sage); }

.welcome .wbtns { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-top: 6px; }

/* v8: capas */
.covf { display: flex; flex-direction: column; gap: 10px; } .covt { font-size: .85rem; }
.covprev { display: flex; gap: 22px; align-items: flex-start; flex-wrap: wrap; }
.cvf { margin: 0; display: flex; flex-direction: column; gap: 8px; width: 220px; position: relative; }
.cvf figcaption { display: flex; flex-direction: column; font-size: .82rem; } .cvf figcaption small { color: var(--muted); }
.cvf .covup { align-self: flex-start; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; } .cvf .covup svg { width: 15px; height: 15px; }
.cvf .field { font-size: .8rem; padding: 8px 12px; }
.cvf .cvp.port { width: 140px; } .cvf .cvp.land { width: 220px; }
.covbusy { display: none; position: absolute; top: 4px; left: 4px; background: rgba(0,0,0,.65); color: #fff; font-size: .72rem; padding: 3px 9px; border-radius: 999px; } .cvf.busy .covbusy { display: block; }
.covhint { color: var(--muted); }
.cvpage { display: flex; flex-direction: column; gap: 18px; margin-top: 14px; }
.cvmod { border: 1px solid #e3dcbd; background: #fffdf4; border-radius: 18px; padding: 8px 18px; }
.cvit { display: flex; gap: 22px; align-items: flex-start; flex-wrap: wrap; padding: 16px 0; } .cvit + .cvit { border-top: 1px dashed #e3dcbd; }
.cvit .cvname { width: 220px; display: flex; flex-direction: column; gap: 2px; } .cvit .cvname small { color: #7b735a; text-transform: uppercase; letter-spacing: .08em; font-size: .68rem; } .cvit .cvname b { line-height: 1.3; }
.cvit.les .cvf .cvp.port { width: 96px; } .cvit.les .cvf .cvp.land { width: 160px; } .cvit.les .cvf { width: 170px; }
.main.adm .cvf .field { background: #fff; }

/* v9 */
.tile.notitle .cap { display: none; }
.ltg { position: absolute; top: 14px; right: 58px; z-index: 3; }
.lhead { padding-right: 96px; } .lht .chip { display: inline-block; margin-bottom: 12px; } .lht h2 { margin-top: 0; }
.ldone { white-space: nowrap; } .ldone.on { background: var(--olive); color: var(--cream); }
.mbox.lt-light .ldone.on { background: #55641f; color: #fff; }
.lbar { margin: 4px 0 12px; }
.snav { align-items: center; } .snav .lser { font-size: .86rem; font-weight: 700; color: var(--sage); text-align: center; flex: 1; } .mbox.lt-light .snav .lser { color: #55641f; }
.ldl { display: flex; flex-direction: column; gap: 8px; border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; margin-top: 4px; } .ldl > b { display: flex; align-items: center; gap: 8px; font-size: .92rem; } .ldl > b svg { width: 17px; height: 17px; }
.dl { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 10px; background: var(--panel-2); color: var(--cream); text-decoration: none; font-weight: 600; font-size: .9rem; } .dl svg { width: 18px; height: 18px; flex: none; } .dl:hover { filter: brightness(1.08); } .dl.off { opacity: .6; }
.mbox.lt-light .dl { color: #2a1c14; }
.filesf { display: flex; flex-direction: column; gap: 8px; } .fl { display: flex; flex-direction: column; gap: 8px; }
.flr { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; } .flr .field { flex: 1; min-width: 200px; } .flr small { color: var(--muted); max-width: 180px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.snav .lser { flex: none; margin-left: auto; margin-right: 4px; }

/* v10 */
.lht .chip { margin-bottom: 24px; }
.ldrow { display: flex; justify-content: flex-start; }
.tile.locked .lkic + .lkb, .tile .lkb { top: 50%; bottom: auto; left: 50%; right: auto; transform: translate(-50%, -50%); width: max-content; max-width: 88%; text-align: center; font-size: .72rem; padding: 6px 12px; }
.tile .plic { position: absolute; right: 8px; bottom: 8px; z-index: 2; width: 32px; height: 24px; border-radius: 6px; background: rgba(20,18,14,.82); color: #fff; display: grid; place-items: center; } .tile .plic svg { width: 16px; height: 16px; }
.lplay { display: flex; flex-direction: column; gap: 10px; margin-top: 6px; } .lplay > b { display: flex; align-items: center; gap: 8px; font-size: .92rem; } .lplay > b svg { width: 17px; height: 17px; }
.pgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.pth { background: none; border: 0; padding: 0; text-align: left; color: inherit; cursor: pointer; display: flex; flex-direction: column; gap: 6px; }
.pth .pim { position: relative; aspect-ratio: 16 / 10; border-radius: 10px; background: var(--olive) center / cover no-repeat; overflow: hidden; display: grid; place-items: center; box-shadow: 0 0 0 1px var(--line); }
.pth .pim em { font-style: normal; font-weight: 800; font-size: 1.6rem; color: var(--cream); opacity: .8; }
.pth.cur .pim { box-shadow: 0 0 0 3px var(--sage); } .mbox.lt-light .pth.cur .pim { box-shadow: 0 0 0 3px #55641f; }
.pth .pck { position: absolute; right: 6px; bottom: 6px; width: 24px; height: 24px; border-radius: 50%; background: #55641f; color: #fff; display: grid; place-items: center; } .pth .pck svg { width: 14px; height: 14px; }
.pth .pnow { position: absolute; left: 6px; top: 6px; background: rgba(20,18,14,.85); color: #fff; font-size: .62rem; font-weight: 700; padding: 3px 8px; border-radius: 999px; }
.pth .plk { position: absolute; right: 6px; top: 6px; width: 22px; height: 22px; border-radius: 50%; background: rgba(20,18,14,.8); color: #fff; display: grid; place-items: center; } .pth .plk svg { width: 12px; height: 12px; }
.pth .ptt { font-size: .8rem; line-height: 1.3; font-weight: 600; }
.cact { display: flex; flex-wrap: wrap; gap: 4px; align-items: center; margin-top: 8px; }
.rxb { background: transparent; border: 1px solid transparent; border-radius: 999px; padding: 2px 7px; font-size: .95rem; cursor: pointer; opacity: .5; display: inline-flex; align-items: center; gap: 4px; transition: opacity .12s, background .12s; } .rxb i { font-style: normal; font-size: .72rem; font-weight: 700; }
.rxb:hover, .rxb.has { opacity: 1; } .rxb.has { background: rgba(0,0,0,.06); border-color: rgba(0,0,0,.1); } .rxb.on { background: #e6efc2; border-color: #8a9a2b; opacity: 1; }
.rpl { margin-left: auto; background: none; border: 0; font-size: .74rem; color: #6f6650; text-decoration: underline; cursor: pointer; }
.rpf { display: flex; gap: 8px; align-items: flex-end; margin-top: 8px; } .rpf textarea { flex: 1; min-height: 44px; border-radius: 12px; resize: none; font-size: .85rem; } .rpf[hidden] { display: none; }

/* v11: sino e notificações */
.hero { position: relative; }
.hbell, #navnot { position: relative; }
.hbell { position: absolute; top: 14px; right: 14px; z-index: 2; width: 42px; height: 42px; border-radius: 50%; border: 0; background: rgba(0,0,0,.35); color: var(--cream); display: grid; place-items: center; cursor: pointer; }
.hbell:hover { background: var(--olive); } .hbell svg { width: 22px; height: 22px; }
.nb { position: absolute; top: -3px; right: -3px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: #d9534f; color: #fff; font: 700 11px/18px system-ui, sans-serif; text-align: center; font-style: normal; }
#navnot .nb { top: 6px; left: 30px; right: auto; }
.nact { margin: 0 0 12px; }
.nlist { display: grid; gap: 10px; max-width: 760px; }
.nit { display: flex; gap: 12px; align-items: flex-start; background: var(--panel-2); border-radius: 14px; padding: 14px 16px; border-left: 4px solid var(--olive); }
.nit .ndot { flex: none; width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--olive); display: grid; place-items: center; margin-top: 2px; }
.nit .ndot svg { width: 14px; height: 14px; }
.nit .nbd { flex: 1; min-width: 0; } .nit .nbd p { margin: 4px 0; opacity: .85; } .nit small { opacity: .6; }
.nit.rd { border-left-color: transparent; opacity: .72; } .nit.rd .ndot { background: var(--olive); color: var(--dark); border-color: var(--olive); }
.nit .btn { flex: none; white-space: nowrap; }
@media (max-width: 600px) { .nit { flex-wrap: wrap; } }
.nit small { display: block; }

.nhome { margin-bottom: 10px; }
@media (max-width: 600px) { .mbox h2 { padding-right: 0; font-size: 1.35rem; } }
@media (max-width: 600px) { .nit .nbd { flex: 1 1 calc(100% - 40px); } .nit .btn { margin-left: 34px; } }

.tile { position: relative; }
.pbar { position: absolute; left: 10px; right: 10px; bottom: 10px; height: 5px; border-radius: 3px; background: rgba(0,0,0,.45); overflow: hidden; z-index: 2; }
.pbar i { display: block; height: 100%; background: var(--olive); border-radius: 3px; }
.pbar { left: 0; right: 0; bottom: 0; height: 6px; border-radius: 0; background: rgba(0,0,0,.5); }
.pbar i { background: #d6e26a; border-radius: 0 3px 3px 0; }

.dav { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; display: block; }

.hello .mwrap { position: relative; width: clamp(130px, 16vw, 200px); height: clamp(150px, 18vw, 220px); flex: none; }
.hello .mscot { position: absolute; left: 0; bottom: 0; width: 100%; height: 100%; object-fit: contain; object-position: left bottom; opacity: 0; transition: opacity .7s ease; }
.hello .mscot.on { opacity: 1; }
@media (max-width: 860px) { .hello .mwrap { width: 108px; height: 130px; } }

.hello .mwrap { width: clamp(150px, 19vw, 230px); height: auto; }
.hello .mscot { position: static; width: 100%; height: auto; opacity: 1; display: block; }
@media (max-width: 860px) { .hello .mwrap { width: 120px; height: auto; } }

.hello .mwrap { width: clamp(112px, 14.25vw, 172px); }
@media (max-width: 860px) { .hello .mwrap { width: 90px; } }
.mbox.nbox { max-width: 560px; max-height: 78vh; overflow: auto; }
.nmod .pghead { margin-bottom: 8px; } .nmod h1.nh { font-size: 1.6rem; margin: 6px 0 4px; } .nmod .pghead p { margin: 0 0 4px; }
.nmod .nact { margin: 6px 0 10px; } .nmod .nlist { max-width: none; }

.login-box .logo.dlogin { height: auto; object-fit: contain; border-radius: 0; width: 110px; }
.login-box .brandrow .logo.dlogin { width: 78px; }
.login-box .brandrow .logo.dlogin { width: 51px; }
.login-box .brandrow .eyebrow { font-size: .902rem; }
.login-box h1 { font-size: 1.425rem; }
.login-box .brandrow { align-items: flex-end; }
.login-box .brandrow .logo.dlogin { width: 56px; }
.login-box .brandrow .eyebrow { margin-bottom: 2px; line-height: 1.25; }

/* v12 */
/* 1 descrição como citação */
.ldesc { border-left: 4px solid var(--sage); padding: 2px 0 2px 16px; margin: 6px 0 26px !important; white-space: pre-line; overflow-wrap: anywhere; }
.mbox.lt-light .ldesc { border-left-color: #55641f; }
/* 2 balão dos comentários */
.bub, .cm .cb { --bbg: var(--cream); --bbd: var(--cream); background: var(--bbg) !important; border: 1px solid var(--bbd) !important; }
.main.adm .bub, .main.adm .cm .cb, .mbox.lt-light .bub, .mbox.lt-light .cm .cb { --bbg: #fffdf4; --bbd: #e3dcbd; }
.bub::before, .cm .cb::before, .main.adm .bub::before, .main.adm .cm .cb::before, .mbox.lt-light .bub::before, .mbox.lt-light .cm .cb::before { content: '' !important; position: absolute; left: -8px !important; top: 9px !important; width: 14px !important; height: 14px !important; box-sizing: border-box; background: var(--bbg) !important; border: 1px solid var(--bbd) !important; border-right: 0 !important; border-top: 0 !important; border-radius: 0 0 0 3px; transform: rotate(45deg) !important; }
/* 3 lixeira e responder */
.cm .cdel { display: inline-grid; grid-auto-flow: column; align-items: center; gap: 4px; margin-left: auto; width: 28px; height: 28px; place-items: center; border-radius: 50%; text-decoration: none; color: #7b735a; padding: 0; background: none; border: 0; cursor: pointer; }
.cm .cdel svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.cm .cdel:hover { color: #b3402c; background: rgba(179,64,44,.1); }
.cm .cdel.sure { width: auto; padding: 0 10px; color: #fff; background: #b3402c; font-size: .72rem; font-weight: 700; }
.cact .rplb { margin-left: auto; padding: 5px 14px; font-size: .74rem; text-decoration: none; display: inline-flex; margin-top: 0; }
.mbox.lt-light .cact .rplb, .cact .rplb { color: #58402f; border-color: #cdbf9a; background: transparent; }
/* 4/11 callouts */
.cafa { max-width: none !important; width: 100%; box-sizing: border-box; align-items: center; }
.cafa img.mega { width: 64px; height: auto; border-radius: 0; background: none; object-fit: contain; flex: none; }
/* 5 data da liberação nos cards do conjunto */
.pth .plb { position: absolute; left: 6px; right: 6px; top: 50%; transform: translateY(-50%); background: rgba(20,18,14,.82); color: #fff; font-size: .68rem; font-weight: 600; text-align: center; padding: 4px 6px; border-radius: 8px; line-height: 1.25; }
/* 6-9 largura */
html, body { max-width: 100%; overflow-x: clip; }
.main { min-width: 0; width: calc(100% - var(--side-w)); box-sizing: border-box; }
.pg, .pg > * { min-width: 0; max-width: 100%; box-sizing: border-box; }
.row, .nrow { flex-wrap: wrap; }
.row .racts { flex-wrap: wrap; }
.mbox { max-width: min(760px, calc(100vw - 24px)); box-sizing: border-box; }
.mbox.lay-cinema, .mbox.lay-side { max-width: min(1120px, calc(100vw - 24px)); }
.mbox p, .mbox h2, .mbox h3 { overflow-wrap: anywhere; }
.subnav.snav { justify-content: flex-start !important; margin-top: 0 !important; }
/* 10 layouts */
.lyb { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px; margin: 0 0 16px; display: flex; flex-direction: column; gap: 14px; max-width: 900px; }
.lyb h3 { font-size: 1.05rem; } .lyb label { display: flex; flex-direction: column; gap: 6px; font-size: .82rem; font-weight: 600; flex: 1; min-width: 220px; }
.lyr { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; } .lyr .btn { flex: none; }
.lyl { display: flex; flex-direction: column; gap: 8px; } .lyi { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; justify-content: space-between; padding: 8px 0; border-top: 1px solid var(--line); } .lyi span { flex: 1; min-width: 180px; font-size: .88rem; } .lyi .lsel { width: 260px; max-width: 100%; }

/* v12b */
.cvlay { display: flex; flex-direction: column; gap: 6px; min-width: 200px; flex: 1; font-size: .8rem; } .cvlay b { font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; color: #7b735a; }
.cvit .cvlay .lsel { max-width: 260px; }
/* comentários do painel sem card por comentário */
.main.adm .cmrow { background: none !important; border: 0 !important; border-radius: 0; padding: 0; margin-bottom: 14px; max-width: none; }
.main.adm .cmrow .cm { width: 100%; }

/* v13 vitrine admin */
.vtl { display: flex; flex-direction: column; gap: 8px; margin-top: 10px; max-width: 980px; }
.vti { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; background: #fffdf4; border: 1px solid #e3dcbd; border-radius: 14px; padding: 10px 14px; }
.vti .adm-th, .vti > .adm-th { width: 44px; height: 44px; border-radius: 50%; overflow: hidden; background: #e6e9b8; display: grid; place-items: center; font-weight: 700; color: #4a5410; flex: none; }
.vti .adm-th img { width: 100%; height: 100%; object-fit: cover; }
.vtx { flex: 1; min-width: 180px; display: flex; flex-direction: column; } .vtx small { color: #7b735a; } .vtx .fd { font-style: normal; font-size: .62rem; letter-spacing: .08em; text-transform: uppercase; background: #4a5410; color: #fcffe3; padding: 2px 7px; border-radius: 99px; margin-left: 6px; }
.vck { display: inline-flex; align-items: center; gap: 6px; font-size: .82rem; font-weight: 600; } .vpos { width: 70px; padding: 6px 8px; }
.diagb { font: inherit; font-size: .8rem; background: none; border: 1px dashed #b9bc8e; border-radius: 99px; padding: 5px 12px; cursor: pointer; color: inherit; } .diagpre { white-space: pre-wrap; overflow-wrap: anywhere; font-size: .8rem; background: rgba(0,0,0,.06); padding: 12px; border-radius: 10px; }

/* v14 login: nome no topo e gata no canto */
.login-box { position: relative; }
.login-box .cantogata { position: absolute; right: 40px; bottom: calc(100% - 14px); width: 150px; height: auto; display: block; margin: 0; pointer-events: none; }
.login-box .brandrow { justify-content: center; align-items: center; padding-top: 4px; }
.login-box .brandrow .eyebrow { text-align: center; }
@media (max-width: 480px) { .login-box .cantogata { width: 124px; right: 20px; } }
/* v15: faixa preta na home (hero e fileiras vazam para as margens) + login mais compacto */
.pg > .hero, .pg > .rail, .pg .hero, .pg .rail { max-width: none; }
.login { padding-top: 112px; }
form.login-box { min-height: 0; }
form.login-box .tinyrow { margin-top: 14px; padding-top: 0; }
form.login-box .tiny { padding-top: 0; }
@media (max-width: 480px) { .login { padding-top: 96px; } }

/* v16 login: detalhe sutil e campos 10% menores */
#lf h1 + p { font-style: italic; font-size: .92em; color: #8a8368; }
#lf .field { width: 90%; margin-inline: auto; padding: 10px 16px; font-size: .9rem; display: block; }
#lf .btn { width: 90%; margin-inline: auto; padding: 10px 20px; font-size: .9rem; }

/* v17 */
.demo + .side { top: var(--demo-off, 26px); }
:root { --side-open: 284px; }

/* v18 edição em massa lado a lado */
.lyg { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.lyc { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; min-width: 0; } .lyc label { width: 100%; min-width: 0; } .lyc .lsel { width: 100%; }
@media (max-width: 700px) { .lyg { grid-template-columns: 1fr; } }
.mbox.lt-light.nbox .eyebrow { color: #55641f; }

/* v19 */
.nb, #navnot .nb { background: #58402f; color: #fcffe3; box-shadow: 0 0 0 2px #fcffe3; }
.ask { padding: 0 !important; border: 2px solid var(--sage) !important; }
.ask img { border: 0; width: 46px; height: 46px; }
.cbtns { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; } .cbn { text-decoration: none; display: inline-flex; align-items: center; gap: 6px; } .cbn svg { width: 16px; height: 16px; }
.igtxt { margin: 10px 0 0; font-weight: 600; }
.hint { font-size: .8rem; color: var(--muted); margin: 0; }
.vmode { display: flex; flex-direction: column; gap: 8px; } .vmode label { display: flex; align-items: center; gap: 8px; font-weight: 600; } .vmode small { font-weight: 400; color: #7b735a; }
.vtl:not(.man) .vpo { display: none; }
.vmode { align-items: flex-start; } .vmode label { display: flex !important; flex-direction: row !important; align-items: center; justify-content: flex-start; text-align: left; gap: 10px; width: auto; } .vmode input[type=radio] { width: 18px; height: 18px; margin: 0; flex: none; accent-color: #58402f; } .vmode small { display: inline; margin-left: 4px; }
.nb, #navnot .nb { box-shadow: none !important; }

/* v20 em breve */
.tile .lkb.soon{top:10px;bottom:auto;left:10px;right:auto;transform:none;width:auto;font-size:.68rem;padding:4px 9px}
.tile.locked[data-closed]{cursor:default}
.lrow[data-closed]{cursor:default}
.soonbox .cafa{margin:0}

/* v21 termos/personalizar/acesso */
.tdidi .cafa{margin:0 0 12px}
.terms .tt{margin:0 0 10px;font-size:1.05rem;color:var(--cream)}
.mbox.lt-light .terms{background:#fff}
.pzs .cafa{margin:0 0 8px}.pzs .pzh{margin:0 0 12px}
.pzs .form{display:flex;flex-direction:column;gap:12px}
.pzs .form label{display:flex;flex-direction:column;gap:5px;font-size:.88rem}
.pzs .form .field{background:#fff;color:#2a1c14;border:1px solid #d8cfae}
.pzs .wbtns{justify-content:flex-start}
.acpl{display:flex;flex-direction:column;gap:10px;max-width:720px}
.acpi{display:flex;gap:12px;align-items:flex-start;background:var(--panel-2);border:1px solid var(--line);border-radius:14px;padding:14px 16px;cursor:pointer}
.acpi input{margin-top:4px;flex:none}.acpi span{display:flex;flex-direction:column;gap:3px}.acpi small{color:var(--muted);font-size:.82rem;line-height:1.45}

/* v22 callout com a Dídi encostada na base; botões do personalizar */
.cafa{overflow:hidden;align-items:stretch !important;padding:0 16px 0 14px !important;min-height:0}
.cafa img.mega{align-self:flex-end;margin-bottom:0;display:block;width:64px;height:auto}
.cafa > div{align-self:center;padding:12px 0}
.pzs .wbtns{gap:16px !important}
.pzs .wbtns .btn{margin:0}
.pzs .wbtns{display:flex !important;flex-wrap:wrap;gap:16px !important;margin-top:6px}
.login-box h1{margin-bottom:16px}

/* v23 barras de rolagem em tons de marrom */
html, body, .mbox, .chat, .ml, .ql, .terms, .nbox, .side, .tw, * { scrollbar-color: #8a6a4f #2a1f17; }
.mbox.lt-light, .mbox.lt-light *, .chat, .chat * { scrollbar-color: #8a6a4f #efe8cf; }
*::-webkit-scrollbar { width: 12px; height: 12px; }
*::-webkit-scrollbar-track { background: #2a1f17; }
*::-webkit-scrollbar-thumb { background: #8a6a4f; border-radius: 99px; border: 3px solid #2a1f17; }
*::-webkit-scrollbar-thumb:hover { background: #a98563; }
*::-webkit-scrollbar-button { display: none; }
.mbox.lt-light::-webkit-scrollbar-track, .mbox.lt-light *::-webkit-scrollbar-track, .chat *::-webkit-scrollbar-track { background: #efe8cf; }
.mbox.lt-light::-webkit-scrollbar-thumb, .mbox.lt-light *::-webkit-scrollbar-thumb, .chat *::-webkit-scrollbar-thumb { border-color: #efe8cf; }

/* v24 lista ilustrada, galeria, aula única */
.lrow .lth.ph{display:grid;place-items:center;background:var(--olive);color:var(--cream)}.lrow .lth.ph svg{width:22px;height:22px}
.lrows.list .lrow .lth{width:96px}
@media (max-width:860px){.lrows.list .lrow .lth{display:grid;width:64px}.lrows.list .lrow .lth:not(.ph){display:block}}
.single .lbar{display:flex;justify-content:flex-end}.single .inlt{margin:0;font-size:1.3rem}
.single .lplay{margin-top:4px}.single .cmts{margin-top:8px;max-width:860px}
.nxm{display:flex;justify-content:flex-end;margin-top:10px;padding-top:16px;border-top:1px solid var(--line)}
.single .stars button{color:#6f6a45}.single .stars button.on,.single .stars button:hover{color:#e3c25c}

/* v25 ajustes visuais */
.welcome .mascot{width:auto;height:170px}
.cafa{position:relative;overflow:visible !important;align-items:center !important;padding:14px 18px 14px 100px !important;min-height:64px;margin-bottom:22px !important}
.cafa img.mega{position:absolute;left:16px;bottom:-9px;width:66px;height:auto;margin:0}
.cafa > div{padding:0 !important;align-self:center}
.msec .cafa,.tdidi .cafa,.pzs .cafa{margin-bottom:22px !important}
.cmempty{position:relative;border:1px dashed var(--line);border-radius:16px;padding:22px 150px 22px 18px;min-height:96px;display:flex;align-items:center;color:var(--muted);overflow:hidden}
.cmempty p{margin:0;font-size:.95rem;white-space:normal}
.cmempty img{position:absolute;right:14px;bottom:0;width:118px;height:auto;display:block}
.rpf .field,.rpf textarea{background:#eef1d2 !important;color:#2a1c14 !important;border:1px solid #b9c08c !important}
.rpf textarea::placeholder{color:#6f6650}
.cm .cdel.sure{width:auto;height:auto;padding:7px 14px;border-radius:999px;background:#fffaf0;color:#b3261e;border:1px solid #e0b9b2;font-size:.78rem;font-weight:700;gap:6px}
.cm .cdel.sure:hover{background:#fdeceb;color:#b3261e}

/* v26 layouts de aula: páginas cheias e blog */
.mbox.lay-text .lmain{flex-direction:column !important;display:flex;gap:14px}.mbox.lay-text .vid{max-width:none}
.ldesc.bt{margin:0}
.lpg .pghead h1{margin:6px 0 0;font-size:clamp(1.6rem,3vw,2.3rem)}.lpg .lbar{display:flex;justify-content:flex-start;margin-top:8px}
.lpmain{display:flex;flex-direction:column;gap:14px;min-width:0}.lpmain .ldesc{margin:0}
.lp-cinema .lpmain{max-width:1180px}
.lpside{display:grid;grid-template-columns:minmax(0,1.9fr) minmax(240px,1fr);gap:24px;align-items:start}
.lpatt{position:sticky;top:20px}
@media (max-width:860px){.lpside{grid-template-columns:1fr}.lpatt{position:static}}
.lpg .cmts{max-width:860px}
.lnav{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;padding-top:18px;border-top:1px solid var(--line)}
.blkf{display:flex;flex-direction:column;gap:10px}.blk{display:flex;gap:10px;align-items:flex-start;background:var(--panel-2);border:1px solid var(--line);border-radius:12px;padding:10px}
.blk.drag{opacity:.4}.blk.over{border-color:var(--sage);box-shadow:0 0 0 2px var(--sage) inset}
.blkh{cursor:grab;font-size:1.3rem;line-height:1;padding:4px 6px;color:var(--muted);user-select:none}
.blkb{flex:1;min-width:0;display:flex;flex-direction:column;gap:6px}.blkb textarea{min-height:70px}
.blka{display:flex;flex-direction:column;gap:4px}.blkadd{display:flex;gap:8px;flex-wrap:wrap}

/* v27 aulas: navegação, materiais, tema claro nas páginas */
.lpg.lt-light { background: #faf7ec; color: #2a1c14; border-color: #e3dcbd; --cream: #2a1c14; --muted: #6f6650; --line: #e3dcbd; --panel-2: #efe8cf; }
.lpg.lt-light h2, .lpg.lt-light h3 { color: #2a1c14; } .lpg.lt-light p { color: #5a5240; } .lpg.lt-light .ldesc { color: #3b3123; }
.lpg.lt-light .chip { color: #55641f !important; border-color: #b9c08c; }
.lpg.lt-light .x { background: #efe8cf; color: #2a1c14; }
.lpg.lt-light .stars button { color: #cdbf8d; } .lpg.lt-light .stars button.on, .lpg.lt-light .stars button:hover { color: #c9940f; }
.lpg.lt-light .bub, .lpg.lt-light .cm .cb { background: #fff; color: #2a1c14; border: 1px solid #e3dcbd; }
.lpg.lt-light .bub::before, .lpg.lt-light .cm .cb::before { border-right-color: #e3dcbd; left: -15px; }
.lpg.lt-light .bub textarea, .lpg.lt-light .cm .cb p { color: #2a1c14 !important; }
.lpg.lt-light .empty { color: #7b735a; border-color: #d8cfae; }
.lpg.lt-light .btn.ghost { color: #2a1c14; border-color: #cfc59a; }
.lpg.lt-light .lockbox { color: #2a1c14; }
.lpg.lt-light .ldone.on { background: #55641f; color: #fff; }
.snav { align-items: center; } .snav .lser { font-size: .86rem; font-weight: 700; color: var(--sage); text-align: center; flex: 1; } .lpg.lt-light .snav .lser { color: #55641f; }
.lpg.lt-light .dl { color: #2a1c14; }
.pth.cur .pim { box-shadow: 0 0 0 3px var(--sage); } .lpg.lt-light .pth.cur .pim { box-shadow: 0 0 0 3px #55641f; }
.lpg.lt-light .ldesc { border-left-color: #55641f; }
.main.adm .bub, .main.adm .cm .cb, .lpg.lt-light .bub, .lpg.lt-light .cm .cb { --bbg: #fffdf4; --bbd: #e3dcbd; }
.bub::before, .cm .cb::before, .main.adm .bub::before, .main.adm .cm .cb::before, .lpg.lt-light .bub::before, .lpg.lt-light .cm .cb::before { content: '' !important; position: absolute; left: -8px !important; top: 9px !important; width: 14px !important; height: 14px !important; box-sizing: border-box; background: var(--bbg) !important; border: 1px solid var(--bbd) !important; border-right: 0 !important; border-top: 0 !important; border-radius: 0 0 0 3px; transform: rotate(45deg) !important; }
.lpg.lt-light .cact .rplb, .cact .rplb { color: #58402f; border-color: #cdbf9a; background: transparent; }
.lpg.lt-light.nbox .eyebrow { color: #55641f; }
.lpg.lt-light .terms{background:#fff}
.lpg.lt-light, .lpg.lt-light *, .chat, .chat * { scrollbar-color: #8a6a4f #efe8cf; }
.lpg.lt-light::-webkit-scrollbar-track, .lpg.lt-light *::-webkit-scrollbar-track, .chat *::-webkit-scrollbar-track { background: #efe8cf; }
.lpg.lt-light::-webkit-scrollbar-thumb, .lpg.lt-light *::-webkit-scrollbar-thumb, .chat *::-webkit-scrollbar-thumb { border-color: #efe8cf; }
.lpg.lt-light{background:#faf7ec;border-radius:22px;padding:clamp(18px,3vw,32px);color:#2a1c14;--cream:#2a1c14;--muted:#6f6650;--line:#e3dcbd;--panel-2:#efe8cf}
.lpg.lt-light h1,.lpg.lt-light h2,.lpg.lt-light h3{color:#2a1c14}
.lpg.lt-light .eyebrow{color:#55641f}.lpg.lt-light .homeb,.lpg.lt-light .tmb,.lpg.lt-light .ltgp{background:#efe8cf;color:#2a1c14;border-color:#d8cfae}
.lpg.lt-light .ldesc{color:#3b3123;border-left-color:#55641f}.lpg.lt-light .stars button{color:#cdbf8d}.lpg.lt-light .stars button.on,.lpg.lt-light .stars button:hover{color:#c9940f}
.lpg.lt-light .acard{color:#2a1c14;background:#fff;border-color:#e3dcbd}
.lpg.lt-light .btn.ghost{color:#2a1c14;border-color:#cdbf9a}
.lpg{max-width:none !important}.lp-cinema .lpmain{max-width:none}
.lhtools{display:flex;gap:8px;align-items:center}.ltgp{position:static !important;width:42px;height:42px;border-radius:12px;border:2px solid var(--line);background:none;color:var(--cream);display:grid;place-items:center;cursor:pointer}
.ltq{right:108px !important}
.eylink{background:none;border:0;padding:0;cursor:pointer;text-decoration:none}.eylink:hover{text-decoration:underline}
.chlink{cursor:pointer;background:none}.chlink:hover{text-decoration:underline}
.lnav{display:none}
.lact{display:flex;gap:10px;flex-wrap:wrap;align-items:center;justify-content:space-between;margin:6px 0}
.alist{display:flex;gap:10px;flex-wrap:wrap}
.acard{display:inline-flex;align-items:center;gap:10px;padding:12px 16px;border-radius:12px;border:1px solid var(--line);background:var(--panel-2);color:var(--cream);text-decoration:none;font-weight:600;font-size:.92rem}
.acard:hover{filter:brightness(1.06)}.acard.off{opacity:.6}.aem{font-size:1.1rem}
.atts{display:flex;flex-direction:column;gap:10px}.atts.titled .att{font-size:1rem}.atts.titled .alist{flex-direction:column}.atts.titled .acard{width:100%}
.ldesc.bt{border-left:0 !important;padding:0 !important;margin:0 !important;font-size:1.08rem;line-height:1.65}
.flink{display:flex;gap:8px;flex-wrap:wrap;margin-top:8px}.flink .field{flex:1;min-width:160px}
.cafa img.mega{bottom:-17px !important}.cafa{margin-bottom:30px !important}
.cmempty{max-width:520px;margin:0 auto 18px;padding-right:140px}
.ldesc.bt{font-weight:400 !important}

/* v28 tour */
.tour{position:fixed;inset:0;z-index:9000}
.tour .tv{position:fixed;background:rgba(30,20,12,.55);-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px)}
.tour .tring{position:fixed;border-radius:16px;box-shadow:0 0 0 3px #d9c98a,0 0 0 8px rgba(217,201,138,.3);pointer-events:none}
.tbub{position:fixed;background:#faf7ec;color:#2a1c14;border-radius:18px;padding:16px 18px 14px 96px;box-shadow:0 14px 40px rgba(0,0,0,.35);min-height:96px}
.tbub>img{position:absolute;left:12px;bottom:-12px;width:72px}
.tbub b{font-size:1.02rem}.tbub p{margin:6px 0 12px;font-size:.92rem;line-height:1.45}
.tfoot{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}
.tdots{display:flex;gap:5px}.tdots u{width:7px;height:7px;border-radius:50%;background:#d8cfae;text-decoration:none}.tdots u.on{background:#55641f;width:18px;border-radius:5px}
.tbtn{display:flex;gap:8px}.tbub .btn.ghost{color:#2a1c14}

/* v29 */
.cafa img.mega{bottom:-9px !important}.cafa{margin-bottom:22px !important}
.tour .tv{inset:0;width:100%;height:100%;left:0;top:0;right:auto;bottom:auto}
.tour .tring{border:2px solid #f1e6b0;box-shadow:0 0 0 5px rgba(241,230,176,.22),0 0 26px rgba(241,230,176,.4);animation:tpulse 2s ease-in-out infinite}
@keyframes tpulse{50%{box-shadow:0 0 0 8px rgba(241,230,176,.12),0 0 34px rgba(241,230,176,.55)}}
.tbub>img{top:50% !important;bottom:auto !important;transform:translateY(-50%);left:14px !important}
.welcome.wcols{display:grid !important;grid-template-columns:minmax(150px,.8fr) 1.4fr;gap:28px;align-items:center;text-align:left}
.welcome.wcols .wl{display:flex;justify-content:center;align-items:center}
.welcome.wcols .mascot{width:auto;height:min(340px,48vh);max-width:100%}
.welcome.wcols .wr{display:flex;flex-direction:column;gap:14px;align-items:flex-start}
.welcome.wcols .wr p{max-width:none}
.welcome.wcols .wbtns{justify-content:flex-start}
#mbox:has(.wcols){max-width:880px;width:min(880px,94vw)}
@media (max-width:640px){.welcome.wcols{grid-template-columns:1fr;gap:12px;text-align:center}.welcome.wcols .wr{align-items:center}.welcome.wcols .mascot{height:150px}.welcome.wcols .wbtns{justify-content:center}}

/* v30 */
.lpg{--vw:min(1180px,max(560px,calc((100vh - 250px) * 16 / 9)));max-width:var(--vw) !important;margin-left:auto !important;margin-right:auto !important}
.lpg.lp-side{max-width:min(1240px,100%) !important}
.lpg.lt-light{margin-top:8px !important;box-shadow:0 10px 40px rgba(0,0,0,.35)}
.lpside.noatt{grid-template-columns:1fr !important}
.eylink{font-family:inherit !important}.chlink{font-family:inherit}
.atts .alist{display:flex;gap:10px;flex-wrap:wrap}
.atts.multi:not(.titled) .alist{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}
.atts.multi:not(.titled) .acard{width:100%}
.acard .aem{display:inline-grid;place-items:center;flex:none}.acard .aem svg{width:20px;height:20px}
@media (max-width:760px){.atts.multi:not(.titled) .alist{grid-template-columns:1fr}}
@media (min-width:761px) and (max-width:980px){.atts.multi:not(.titled) .alist{grid-template-columns:repeat(2,minmax(0,1fr))}}
.cafa.cafc{max-width:640px;margin-left:auto !important;margin-right:auto !important}
.lpg{--vw:min(1180px,max(560px,calc((100vh - 300px) * 16 / 9 + 70px)))}
.lpg.lp-side{max-width:min(1240px,calc(100% - 24px)) !important}
.cafa.cafc{max-width:620px !important;width:100%}

/* v31 */
.cafa img.mega{bottom:-3px !important}
.mbox .x + .cafa,.mbox .x + .pzs > .cafa:first-child{margin-top:40px !important}
#mbox.tkbox{max-width:440px}
.tourask{display:flex;flex-direction:column;align-items:center;text-align:center;gap:12px;padding:6px 4px}
.tourask img{width:110px;height:auto}.tourask h3{margin:0;font-size:1.25rem;line-height:1.25}
.tourask .wbtns{justify-content:center}
.chat.ccenter{right:calc(50vw - min(400px, 100vw - 24px) / 2);bottom:calc(50vh - min(620px, 100vh - 44px) / 2);z-index:60;box-shadow:0 30px 80px rgba(0,0,0,.5)}
.chatbd{position:fixed;inset:0;z-index:59;background:rgba(30,20,12,.5);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);transition:opacity .7s ease}
.chatbd.out{opacity:0}
.tourask .wbtns{display:flex !important;gap:12px !important;flex-wrap:wrap;justify-content:center}.tourask .btn{margin:0}#mbox.tkbox{max-width:480px}

/* v32 */
.welcome.wcols .mascot{height:min(289px,41vh) !important}
@media (max-width:640px){.welcome.wcols .mascot{height:128px !important}}
.tourask .tkimg{width:100%;height:auto;aspect-ratio:3/2;max-height:190px;object-fit:cover;border-radius:14px}
.tourask .wbtns{flex-wrap:nowrap !important}
.pzt{font-size:.95rem}.pzlink{color:#55641f;font-weight:700;text-decoration:underline}

/* v33 */
/* páginas de aula: fundo liso, sem janela */
.lpg.lt-light{background:none !important;box-shadow:none !important;padding:0 !important;border-radius:0 !important;margin-top:0 !important}
.main:has(.lpg.lt-light){background:#faf7ec;color:#2a1c14}
.main:has(.lpg.lt-light) .foot{color:#6f6650;border-color:#e3dcbd}
.main:has(.lpg.lt-light) .bar,.main:has(.lpg.lt-light) .bt{background:#faf7ec;color:#2a1c14}
.lpg.lp-side{max-width:min(1240px,100%) !important}
/* modal: concluir à esquerda, navegação à direita */
.lact{justify-content:flex-start !important}.lnavg{display:flex;gap:10px;flex-wrap:wrap;margin-left:auto}
.lchr{display:flex;align-items:center;gap:8px;margin-bottom:6px}.lchr .chip{margin:0}
.homeb.sm{width:34px;height:34px;border-radius:50%}.homeb.sm svg{width:18px;height:18px}
/* tour ask */
.tourask .tkimg{width:230px !important;max-height:none !important;aspect-ratio:auto !important;object-fit:contain !important;border-radius:0 !important;height:auto}
.tourask .wbtns{display:grid !important;grid-template-columns:1fr 1fr;gap:12px !important;width:100%}
.tourask .btn{width:100%;margin:0;justify-content:center}
/* ícone do menu */
.side .sb img{width:44px !important;height:30px !important;object-fit:contain !important;margin-left:-4px !important}
/* barra de rolagem estilizada em vez da padrão do navegador */
@supports selector(::-webkit-scrollbar){*{scrollbar-color:auto !important;scrollbar-width:auto !important}}
.mbox::-webkit-scrollbar-track{background:transparent !important;margin:24px 0}
.mbox::-webkit-scrollbar{width:14px}
.mbox::-webkit-scrollbar-thumb{border:4px solid transparent !important;background-clip:padding-box}
.lpg.lt-light{padding:28px 0 0 !important}.lpg{padding-top:28px}.lchr{margin-bottom:12px !important}
.tourask .btn{height:48px !important;box-sizing:border-box;padding-top:0 !important;padding-bottom:0 !important;display:flex;align-items:center}

/* v34 */
.lpg{--vw:min(1180px,max(560px,calc((100vh - 340px) * 16 / 9)))}
.cmempty img{bottom:-9px !important}
.side:hover #navnot .nb,.side:has(:focus-visible) #navnot .nb,.side.open #navnot .nb{position:static;margin-left:auto;top:auto;left:auto;right:auto;flex:none}
#navnot{align-items:center}
.attlock .acard{width:auto}
.lpg,.lpg.lt-light{padding-left:clamp(20px,3vw,36px) !important;padding-right:clamp(20px,3vw,36px) !important;box-sizing:border-box}

.login-box .brandrow{margin-bottom:22px}
/* login: texto 5% maior, +10% até o campo, +60% entre botão e links */
.login-box .brandrow .eyebrow{font-size:calc(.902rem * 1.05) !important}
.login-box .brandrow{margin-bottom:24.4px !important}
form.login-box .tinyrow{margin-top:22.4px !important}
form.login-box .tinyrow{margin-top:35.8px !important}

/* ---- v35: ajustes mobile + próximo módulo ---- */
.nxm{display:block;border-top:0;padding-top:0;margin:18px 0 6px}
.nxm .btn{width:100%;height:auto;min-height:46px;white-space:normal;line-height:1.25;padding:12px 18px;text-align:center;justify-content:center}
@media (max-width:860px){
  html:has(.login),html:has(.login) body{background:#2d3409}
  body:has(.login) .demo{display:none}
  .login{min-height:100dvh}
  .pzs .wbtns{display:flex !important;flex-wrap:nowrap !important;gap:8px !important}
  .pzs .wbtns .btn{flex:1 1 0;min-width:0;padding-left:10px !important;padding-right:10px !important;font-size:.82rem;white-space:nowrap;justify-content:center;margin:0}
  .pzs .wbtns .btn#pzsave{flex:.7 1 0}
  .tourask .tkimg{width:195px !important}
  .tourask .wbtns{align-items:stretch !important}
  .tourask .btn{margin:0 !important;transform:none !important;align-self:stretch}
  .hbell{position:fixed;right:14px;z-index:46}
  .ask{bottom:86px !important}
  .ev .evl b{font-size:1.53rem}
  .ev .evl small{font-size:.77rem}
  .chat.ccenter{left:50% !important;right:auto !important;top:50% !important;bottom:auto !important;transform:translate(-50%,-50%);width:min(340px,calc(100vw - 24px)) !important;max-width:none !important;height:min(620px,calc(100dvh - 44px)) !important;max-height:none !important}
  .lact{flex-wrap:nowrap !important;gap:8px}
  .lact .lnavg{flex-wrap:nowrap;gap:8px;margin-left:auto}
  .lact .btn{white-space:nowrap;font-size:.8rem;padding-left:12px;padding-right:12px}
  .lact:has(.lnavg .btn:nth-child(2)){flex-direction:column;align-items:center !important;gap:12px}
  .lact:has(.lnavg .btn:nth-child(2)) .lnavg{width:100%;display:grid;grid-template-columns:1fr 1fr;margin:0}
  .lact:has(.lnavg .btn:nth-child(2)) .lnavg .btn{width:100%;justify-content:center}
}
/* balão de comentário: bico limpo (triângulo duplo, sem emenda na borda) */
.bub::before, .cm .cb::before, .main.adm .bub::before, .main.adm .cm .cb::before, .mbox.lt-light .bub::before, .mbox.lt-light .cm .cb::before, .lpg.lt-light .bub::before, .lpg.lt-light .cm .cb::before { content: '' !important; position: absolute !important; left: -10px !important; top: 9px !important; width: 11px !important; height: 18px !important; background: var(--bbd) !important; border: 0 !important; border-radius: 0 !important; transform: none !important; clip-path: polygon(100% 0, 0 50%, 100% 100%); }
.bub::after, .cm .cb::after { content: ''; position: absolute; left: -8px; top: 10.5px; width: 9.5px; height: 15px; background: var(--bbg); clip-path: polygon(100% 0, 0 50%, 100% 100%); }
.cm.reply .cb::after { display: block }
@media (max-width:860px){.hbell{top:12px}body:has(.demo) .hbell{top:calc(var(--demo-off,26px) + 12px)}}

/* v36: player da aula Cinema 50% mais alto (desktop) */
@media (min-width:861px){.lpg.lp-cinema{--vw:min(1770px,calc(100vw - 130px),max(840px,calc((100vh - 340px) * 16 / 9 * 1.5)))}}

/* v37: sem barra de rolagem (a barra marrom) no menu lateral */
.side nav,.side{overflow-x:hidden !important;scrollbar-width:none !important}
.side nav::-webkit-scrollbar,.side::-webkit-scrollbar{display:none !important;width:0;height:0}

/* v38: botões do aviso do tour sempre na mesma altura */
.tourask .wbtns .btn,.tourask .wbtns .btn.ghost{margin:0 !important}
.tourask .wbtns{align-items:start !important}

/* v39: em breve nos módulos, prévia de layouts, botões das aulas centralizados */
.tile.soon{filter:grayscale(1);cursor:default}
.tile.soon:hover{transform:none}
.soonc{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);z-index:3;background:rgba(17,15,12,.72);color:#fcffe3;font-weight:800;font-size:.8rem;letter-spacing:.14em;text-transform:uppercase;padding:9px 16px;border-radius:999px;white-space:nowrap}
.lprevb{margin-top:8px;width:auto !important;align-self:flex-start;display:inline-flex}.lprevb .i{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2;vertical-align:-3px;margin-right:4px}
.lpv{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:12px}
.lpc{border:2px solid #e3dcbd;border-radius:14px;padding:10px;background:#fffdf4;display:grid;gap:8px;align-content:start;color:#2a1c14}
.lpc.on{border-color:#4a5410;box-shadow:0 0 0 3px rgba(74,84,16,.15)}
.lpc small{color:#7b735a;font-size:.74rem;line-height:1.3}
.lpc .wf{height:130px;background:#f1ecd2;border-radius:8px;padding:8px;display:grid;gap:5px;overflow:hidden}
.lpc .wf i{display:block;background:#b9bc8e;border-radius:4px}
.lpc .wf i.d{background:#58402f}.lpc .wf i.t{background:#d8d2b0;height:5px}
@media (max-width:860px){
  .lact,.lact:has(.lnavg .btn:nth-child(2)){justify-content:center !important}
  .lact{gap:8px !important;padding:0}
  .lact .lnavg{margin-left:0 !important;gap:8px}
  .lact:not(:has(.lnavg .btn:nth-child(2))) .btn{flex:1 1 auto;min-width:0;font-size:.7rem;padding:9px 8px;white-space:nowrap}
  .lact:not(:has(.lnavg .btn:nth-child(2))) .lnavg{flex:1 1 auto;display:flex}
  .lact:not(:has(.lnavg .btn:nth-child(2))) .lnavg .btn{width:100%}
  .lact:not(:has(.lnavg .btn)) {justify-content:center}
}
.tile.soon .reltag,.tile.soon .lkic{display:none}

/* v40: botão Próximo módulo pequeno no desktop; aulas travadas e módulos Em breve em P&B */
@media (min-width:861px){
  .nxm{text-align:left}
  .nxm .btn{width:auto;min-height:0;padding:7px 14px;font-size:.76rem;display:inline-flex}
}
.tile.locked[data-lesson]{filter:grayscale(1)}
.tile.soon{transition:filter .3s ease, transform .2s}
@media (hover:hover) and (min-width:861px){.tile.soon:hover{filter:none}}

/* v41 — Textos e mensagens */
.txwrap { display: flex; flex-direction: column; gap: 12px; max-width: 820px; }
.txs { background: #fffdf4; border: 1px solid #e3dcbd; border-radius: 14px; padding: 12px 14px; }
.txs > summary { cursor: pointer; font-weight: 700; font-size: .98rem; }
.txs[open] > summary { margin-bottom: 10px; }
.txf { display: flex; flex-direction: column; gap: 6px; margin: 10px 0; }
.txh { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.txh label { font-weight: 600; font-size: .85rem; }
.txs textarea.field { min-height: 60px; resize: vertical; }
.txtour { border-top: 1px dashed #e3dcbd; padding-top: 8px; margin-top: 8px; }
.faqr { border: 1px solid #e3dcbd; border-radius: 12px; padding: 10px; margin: 10px 0; display: flex; flex-direction: column; gap: 8px; background: #fff; }
.faqr label { display: flex; flex-direction: column; gap: 4px; font-size: .82rem; font-weight: 600; }
.faqr label.chk { flex-direction: row; align-items: center; font-weight: 500; }
.faqx { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.faqr .btn { align-self: flex-start; }
.txact { display: flex; gap: 8px; flex-wrap: wrap; }
.txbar { position: sticky; bottom: 0; padding: 10px 0; background: linear-gradient(rgba(248,241,222,0), #f8f1de 40%); }
@media (max-width: 600px) { .faqx { grid-template-columns: 1fr; } }

/* v42 — Dídi do tour 15% menor */
.tourask .tkimg { width: 196px !important; }
@media (max-width: 600px) { .tourask .tkimg { width: 166px !important; } }

/* v43 — Acervo: botão sempre no pé do card */
.cards .pc .bd > .btn { margin-top: auto !important; align-self: flex-start; }

/* v44 — tour sem piscar; título de módulo clicável */
.tour.tmv .tring, .tour.tmv .tbub { opacity: 0 !important; transition: none !important; }
.tour.tmv .tv { clip-path: none !important; -webkit-clip-path: none !important; }
.rh h2 a.rhm { color: inherit; text-decoration: none; }
.rh h2 a.rhm:hover { text-decoration: underline; text-underline-offset: 4px; }
#ldone:disabled { opacity: .5; cursor: not-allowed; }

/* v45 */
.pc .indat { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: .78rem; }
.pc .indat svg { width: 14px; height: 14px; }
.eyebrow a.rhm { color: inherit; }

/* v46 — rota, selos, avisos */
.ptabs { margin: 4px 0 18px; }
.rotag { display: grid; gap: 26px; max-width: 760px; }
.rlist { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.rt { display: grid; grid-template-columns: 44px 1fr auto; gap: 12px; align-items: center; background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; opacity: .62; }
.rt.got { opacity: 1; border-color: var(--sage); }
.rt .ri { width: 44px; height: 44px; border-radius: 50%; background: var(--panel-2); display: grid; place-items: center; font-size: 1.35rem; filter: grayscale(1); }
.rt.got .ri { filter: none; background: #f3efc0; }
.rt .ri svg { width: 20px; height: 20px; }
.rt b { display: block; font-size: .98rem; }
.rt small { color: var(--muted); font-size: .82rem; }
.rt em { font-style: normal; font-size: .76rem; color: var(--muted); text-align: right; }
.rt.got em, .rt em.st-ok { color: var(--sage); font-weight: 700; }
.rt.mrow { opacity: 1; cursor: pointer; }
.rt.mrow:hover { border-color: var(--sage); }
.rbar { height: 8px; border-radius: 99px; background: var(--panel-2); overflow: hidden; }
.rbar i { display: block; height: 100%; background: var(--sage); border-radius: 99px; }
@media (max-width: 560px) { .rt { grid-template-columns: 40px 1fr; } .rt em { grid-column: 2; text-align: left; } }
.selos { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.selos li { display: inline-flex; align-items: center; gap: 6px; background: #f3efc0; color: #3a3416; border-radius: 99px; padding: 5px 12px 5px 8px; font-size: .8rem; font-weight: 700; }
.fbar { margin-top: 12px; }
.folb.on { border-color: var(--sage); color: var(--sage); }
.folb svg { width: 16px; height: 16px; }
.av.clk { cursor: pointer; }
.bcard { background: #fffdf4; border: 1px solid #e3dcbd; border-radius: 14px; padding: 12px; margin: 10px 0; display: flex; flex-direction: column; gap: 8px; }
.bcard label, .bgrid label { display: flex; flex-direction: column; gap: 4px; font-size: .82rem; font-weight: 600; }
.bgrid { display: grid; grid-template-columns: 90px 1fr 1fr; gap: 8px; }
.bgrid label:only-child, #bgm, #bgs { width: 100%; }
.bact { display: flex; justify-content: space-between; align-items: center; }
@media (max-width: 600px) { .bgrid { grid-template-columns: 1fr; } }

/* v47 — importar roteiro e checklist */
.impw, .tdw { display: flex; flex-direction: column; gap: 12px; max-width: 820px; }
.impw label { display: flex; flex-direction: column; gap: 4px; font-size: .85rem; font-weight: 600; }
.tdm { background: #fffdf4; border: 1px solid #e3dcbd; border-radius: 14px; padding: 12px 14px; }
.tdm h3 { margin: 0 0 6px; font-size: 1rem; }
.tdl { list-style: none; margin: 4px 0 8px; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.tdl2 { border-top: 1px dashed #e3dcbd; padding-top: 8px; margin-top: 8px; }
.tdi { display: flex; align-items: center; gap: 8px; font-size: .88rem; }
.tdi span:nth-child(2) { flex: 1; }
.tdi.ok { color: var(--muted); text-decoration: line-through; }
.tdc { width: 20px; text-align: center; font-weight: 700; }

/* v48 aparência em lista expansível */
.cvtools { display: flex; gap: 8px; margin-top: 12px; }
details.cvmod { padding: 0 18px; }
details.cvmod > summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 0; cursor: pointer; }
details.cvmod > summary::-webkit-details-marker { display: none; }
.cvsum { display: flex; flex-direction: column; gap: 2px; min-width: 0; } .cvsum b { font-size: 1.02rem; } .cvsum small { color: #7b735a; font-size: .78rem; }
.cvcar { transition: transform .2s; color: #7b735a; } details.cvmod[open] > summary .cvcar { transform: rotate(180deg); }
details.cvmod[open] > summary { border-bottom: 1px solid #e3dcbd; }
/* v49 avisos */
.avs { max-width: 640px; margin-top: 18px; display: flex; flex-direction: column; gap: 14px; }
.avst { margin: 0; font-weight: 600; }
.avq { display: flex; gap: 8px; }
.avl { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.avl label { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid rgba(188,192,142,.25); border-radius: 14px; cursor: pointer; }
.avl label:hover { background: rgba(188,192,142,.08); }
.avl input, .qpick input { width: 20px; height: 20px; accent-color: #b9bc8e; flex: none; }
.avl span { display: flex; flex-direction: column; } .avl small { opacity: .7; }
.qpick { display: flex; flex-direction: column; gap: 8px; margin-top: 10px; }
.qpick label { display: flex; align-items: center; gap: 10px; cursor: pointer; padding: 6px 0; }
.qpick .btn { align-self: flex-start; margin-top: 6px; }
.qpick input[type=checkbox], .avl input[type=checkbox] { appearance: auto !important; -webkit-appearance: checkbox !important; background: #fff !important; width: 20px !important; height: 20px !important; padding: 0 !important; border-radius: 4px; accent-color: #4a5410; }
/* v50 sem capa: Dídi da logo do menu, sem o cafuné */
.tile .art .lg:has(.dfb) { background: rgba(252,255,227,.92); }
.tile .art .lg img.dfb { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }
/* v51 imagem dos selos */
.bimgrow { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 6px 0; }
.bimgp { width: 48px; height: 48px; border-radius: 12px; background: #efe9cf; display: grid; place-items: center; overflow: hidden; } .bimgp img { width: 100%; height: 100%; object-fit: cover; } .bimgp small { font-size: .6rem; text-align: center; }
.bimgb { cursor: pointer; }
img.bimg { width: 1.6em; height: 1.6em; border-radius: 6px; object-fit: cover; vertical-align: middle; }
.rt .ri img.bimg { width: 100%; height: 100%; border-radius: inherit; }
/* v52 tag Fundadora */
.cm .fd.own, .main.adm .fd.own, .vtx .fd.own { background: linear-gradient(90deg,#b9bc8e,#fcffe3 50%,#b9bc8e); color: #2f3706; box-shadow: 0 0 0 1px #8e9460 inset; }

/* v53: Dídi sem capa = só a imagem, sem círculo, sem moldura, sem fundo */
.tile .art .lg:has(.dfb){background:none;border-radius:0;width:86%;aspect-ratio:auto;height:auto;overflow:visible;box-shadow:none;border:0}
.tile .art .lg img.dfb{width:100%;height:auto;object-fit:contain;object-position:center;background:none;border-radius:0}
.tile.wide .art .lg:has(.dfb){width:auto;height:70%}
.tile.wide .art .lg img.dfb{height:100%;width:auto}
.pc .tile .art .lg:has(.dfb){width:70%;min-width:0}
.serf small{display:block;margin-top:4px}
