/* =========================================================
   Ediomare Membros · tema claro (identidade do site ediomare.com.br)
   ========================================================= */
:root {
	color-scheme: light;
	--bg: #fbfbf9;
	--surface: #ffffff;
	--surface-2: #f3f4f2;
	--surface-3: #e7e9e6;
	--line: rgba(20, 30, 26, .08);
	--line-2: rgba(20, 30, 26, .15);
	--text: #1f2422;
	--muted: #5f6763;
	--soft: #3d4441;
	--accent: #049472;
	--accent-2: #037a5e;
	--accent-soft: #e6f4ef;
	--accent-ink: #ffffff;
	--deep: #0b3d31;
	--plum: #5a3278;
	--danger: #c43d3d;
	--radius: 12px;
	--radius-lg: 18px;
	--shadow: 0 1px 2px rgba(20, 30, 26, .06), 0 8px 24px -12px rgba(20, 30, 26, .18);
	--shadow-lg: 0 2px 4px rgba(20, 30, 26, .06), 0 24px 48px -20px rgba(20, 30, 26, .28);
	--display: "Rethink Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
	--ui: "Rethink Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
	--ease: cubic-bezier(.22, 1, .36, 1);
	--gutter: clamp(16px, 4vw, 56px);
	--hdr: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--hdr) + 16px); }
body.edio { margin: 0; background: var(--bg); color: var(--text); font: 400 16px/1.6 var(--ui); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
.edio a:focus-visible, .edio button:focus-visible, .edio input:focus-visible, .edio select:focus-visible, .edio textarea:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 16px; top: -60px; z-index: 100; background: var(--accent); color: #fff; padding: 10px 16px; border-radius: 8px; font-weight: 600; }
.skip:focus { top: 16px; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; letter-spacing: -.025em; line-height: 1.15; margin: 0 0 .5em; color: var(--text); }
em { font-style: italic; }

/* ---------- Botões ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 24px; border-radius: 999px; border: 1px solid transparent; font: 600 15px/1 var(--ui); cursor: pointer; white-space: nowrap; transition: transform .3s var(--ease), background-color .2s, border-color .2s, color .2s, box-shadow .3s var(--ease); }
.btn:active { transform: scale(.97); }
.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: var(--accent-2); box-shadow: 0 10px 24px -12px rgba(4, 148, 114, .7); }
.btn--ghost { border-color: var(--line-2); color: var(--text); background: var(--surface); }
.btn--ghost:hover { border-color: var(--text); }
.btn--light { background: #fff; color: var(--deep); }
.btn--light:hover { background: #f1f5f3; }
.btn--sm { min-height: 40px; padding: 0 18px; font-size: 14px; }
.btn--on-dark.btn--ghost { color: #fff; border-color: rgba(255, 255, 255, .45); background: rgba(255, 255, 255, .08); }
.btn--on-dark.btn--ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .16); }

/* ---------- Header ---------- */
.hdr { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--hdr); background: rgba(251, 251, 249, .97); border-bottom: 1px solid var(--line); transition: background-color .35s var(--ease), border-color .35s, color .35s; }
.admin-bar .hdr { top: 32px; }
@media (max-width: 782px) { .admin-bar .hdr { top: 46px; } }
.has-hero .hdr:not(.is-solid) { background: transparent; border-color: transparent; color: #fff; }
.has-hero .hdr:not(.is-solid) .hdr__nav a { color: rgba(255, 255, 255, .82); }
.has-hero .hdr:not(.is-solid) .hdr__nav a:hover, .has-hero .hdr:not(.is-solid) .hdr__nav a[aria-current] { color: #fff; }
.has-hero .hdr:not(.is-solid) .hdr__brand em { color: #8fe3c8; }
.has-hero .hdr:not(.is-solid) .btn--ghost { color: #fff; border-color: rgba(255, 255, 255, .45); background: transparent; }
.has-hero .hdr:not(.is-solid) .hdr__search input:focus, .has-hero .hdr:not(.is-solid) .hdr__search input:not(:placeholder-shown) { color: var(--text); }
.hdr__in { position: relative; height: 100%; display: flex; align-items: center; gap: 32px; padding: 0 var(--gutter); }
.hdr__brand { display: flex; align-items: center; gap: 10px; font: 700 18px/1 var(--display); letter-spacing: -.01em; flex-shrink: 0; }
.hdr__brand img { width: 40px; height: 40px; object-fit: contain; }
.hdr__brand em { color: var(--accent); }
.hdr__nav { display: flex; gap: 4px; }
.hdr__nav a { position: relative; padding: 8px 12px; color: var(--muted); font-size: 15px; font-weight: 500; transition: color .2s; }
.hdr__nav a:hover, .hdr__nav a[aria-current] { color: var(--text); }
.hdr__nav a[aria-current]::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 2px; border-radius: 2px; background: var(--accent); }
.hdr__actions { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.hdr__search { position: relative; display: flex; align-items: center; }
.hdr__search svg { position: absolute; left: 12px; color: currentColor; opacity: .7; pointer-events: none; }
.hdr__search input { width: 40px; height: 40px; padding: 0 0 0 38px; border-radius: 999px; border: 1px solid transparent; background: transparent; color: var(--text); font: 400 16px var(--ui); cursor: pointer; transition: width .4s var(--ease), background-color .3s, border-color .3s; }
.hdr__search input::placeholder { color: transparent; }
.hdr__search input:focus, .hdr__search input:not(:placeholder-shown) { width: 220px; background: #fff; border-color: var(--line-2); cursor: text; outline: none; }
.hdr__search input:focus::placeholder { color: var(--muted); }
.hdr__icon { position: relative; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; }
.hdr__icon:hover { background: rgba(0, 0, 0, .05); }
.hdr__dot { position: absolute; top: 2px; right: 0; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--accent); color: #fff; font-size: 11px; font-weight: 700; line-height: 18px; text-align: center; }
.hdr__burger { display: none; width: 44px; height: 44px; margin-left: -10px; border: 0; background: none; color: inherit; cursor: pointer; position: relative; }
.hdr__burger span { position: absolute; left: 12px; right: 12px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .3s var(--ease), top .3s var(--ease); }
.hdr__burger span:first-child { top: 17px; }
.hdr__burger span:last-child { top: 25px; }
.hdr__burger[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.hdr__burger[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

.menu-user { position: relative; }
.menu-user__btn { display: block; padding: 0; border: 2px solid transparent; border-radius: 50%; background: none; cursor: pointer; transition: border-color .2s; }
.menu-user__btn:hover, .menu-user__btn[aria-expanded="true"] { border-color: var(--accent); }
.menu-user__btn img { width: 36px; height: 36px; border-radius: 50%; }
.menu-user__pop { position: absolute; right: 0; top: calc(100% + 12px); width: 260px; padding: 8px; background: #fff; color: var(--text); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg); transform-origin: top right; animation: pop .22s var(--ease); }
.menu-user__pop[hidden] { display: none; }
.menu-user__name { margin: 0 0 6px; padding: 10px 12px 12px; border-bottom: 1px solid var(--line); font-weight: 600; font-size: 15px; }
.menu-user__name small { display: block; color: var(--muted); font-weight: 400; font-size: 13px; overflow: hidden; text-overflow: ellipsis; }
.menu-user__pop a { display: block; padding: 10px 12px; border-radius: 8px; font-size: 15px; color: var(--soft); }
.menu-user__pop a:hover { background: var(--surface-2); color: var(--text); }
.menu-user__pop a.is-muted { color: var(--muted); }
@keyframes pop { from { opacity: 0; transform: translateY(-6px) scale(.97); } }

/* Selo de nível */
.lvl { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; padding: 4px 10px 4px 6px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-2); font: 600 12px/1 var(--ui); }
.lvl svg { width: 16px; height: 16px; }
.hero .lvl { background: rgba(255, 255, 255, .14); color: #d8f5ea; margin: 0 0 18px; }

/* ---------- Hero (faixa verde da marca) ---------- */
.hero { position: relative; min-height: min(82vh, 760px); display: flex; align-items: flex-end; overflow: hidden; isolation: isolate; background: var(--deep); color: #fff; }
.hero__bg { position: absolute; inset: 0; z-index: -2; background: var(--deep) center right / cover no-repeat; }
.hero__shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(8, 44, 36, .96) 0%, rgba(8, 44, 36, .9) 36%, rgba(8, 44, 36, .35) 58%, transparent 76%), linear-gradient(0deg, rgba(8, 44, 36, .6), transparent 40%); }
.hero__in { width: 100%; max-width: 720px; padding: calc(var(--hdr) + 48px) var(--gutter) clamp(48px, 8vh, 96px); }
.hero__kicker { margin: 0 0 14px; color: var(--accent); font: 600 13px/1 var(--ui); letter-spacing: .14em; text-transform: uppercase; }
.hero .hero__kicker { color: #8fe3c8; }
.hero__title { font-size: clamp(40px, 6vw, 76px); line-height: 1.03; margin-bottom: 20px; color: #fff; }
.hero__title em { color: #8fe3c8; padding-right: .08em; }
.hero__lead { max-width: 52ch; margin: 0 0 32px; color: rgba(255, 255, 255, .86); font-size: clamp(16px, 1.4vw, 19px); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__in > * { animation: rise .8s var(--ease) both; }
.hero__in > *:nth-child(2) { animation-delay: .06s; }
.hero__in > *:nth-child(3) { animation-delay: .12s; }
.hero__in > *:nth-child(4) { animation-delay: .18s; }
.hero__in > *:nth-child(5) { animation-delay: .24s; }
@keyframes rise { from { opacity: 0; transform: translateY(20px); } }

/* ---------- Fileiras ---------- */
.rows { padding: 24px 0 40px; }
.row { padding: 20px 0 20px; }
.row__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 0 var(--gutter); margin-bottom: 10px; }
.row__title { font-size: clamp(22px, 2.2vw, 30px); margin: 0; }
.row__more { color: var(--accent); font-size: 14px; font-weight: 600; }
.row__more span { display: inline-block; transition: transform .3s var(--ease); }
.row__more:hover span { transform: translateX(4px); }
.row__empty { padding: 0 var(--gutter); color: var(--muted); margin: 0; }
.row__viewport { position: relative; }
.row__track { display: flex; gap: 16px; margin: 0; padding: 10px var(--gutter) 20px; list-style: none; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 var(--gutter); scrollbar-width: none; overscroll-behavior-x: contain; }
.row__track::-webkit-scrollbar { display: none; }
.row__track .card { flex: 0 0 clamp(150px, 17vw, 230px); scroll-snap-align: start; }
.row__track .card--square { flex-basis: clamp(190px, 21vw, 270px); }
.row__nav { position: absolute; top: 50%; z-index: 3; width: 44px; height: 44px; margin-top: -40px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: #fff; color: var(--text); box-shadow: var(--shadow); cursor: pointer; opacity: 0; transition: opacity .25s, transform .25s var(--ease); }
.row__nav--prev { left: calc(var(--gutter) - 22px); }
.row__nav--next { right: calc(var(--gutter) - 22px); }
.row__viewport:hover .row__nav:not([disabled]) { opacity: 1; }
.row__nav:hover { transform: scale(1.08); }
.row__nav[disabled] { opacity: 0 !important; pointer-events: none; }

/* ---------- Card ---------- */
.card { position: relative; }
.card__link { display: block; }
.card__media { position: relative; display: block; aspect-ratio: 300 / 580; overflow: hidden; border-radius: var(--radius); background: var(--surface-2); box-shadow: var(--shadow); transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.card--square .card__media { aspect-ratio: 1 / 1; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.card__link:hover .card__media, .card__link:focus-visible .card__media { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card__link:hover img { transform: scale(1.04); }
.card--fit .card__media { background: linear-gradient(160deg, #eef3f0, #dfe7e3); }
.card--fit .card__media img { object-fit: contain; padding: 14px; filter: drop-shadow(0 10px 18px rgba(0, 0, 0, .25)); }
.card__placeholder { position: absolute; inset: 0; display: grid; place-items: center; font: 700 64px var(--display); color: #fff; background: linear-gradient(160deg, var(--accent), var(--plum)); }
.card__badge { position: absolute; z-index: 1; left: 10px; bottom: 10px; padding: 5px 10px; border-radius: 999px; background: rgba(255, 255, 255, .94); color: var(--text); font-size: 12px; font-weight: 700; box-shadow: 0 2px 8px rgba(0, 0, 0, .12); }
.card__badge.is-owned { background: var(--accent); color: #fff; }
.card__title { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-top: 12px; font-weight: 600; font-size: 15px; line-height: 1.35; color: var(--text); }
.card__progress { display: block; height: 5px; margin-top: 10px; border-radius: 5px; background: var(--surface-3); overflow: hidden; }
.card__progress span { display: block; height: 100%; background: var(--accent); border-radius: 5px; }
.card__meta { display: block; margin-top: 6px; color: var(--muted); font-size: 13px; }

/* ---------- Faixa comunidade ---------- */
.band { margin: 32px var(--gutter) 24px; padding: clamp(28px, 4vw, 56px); border-radius: var(--radius-lg); display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; background: linear-gradient(110deg, #5a3278 0%, #3f5a78 45%, #2f8a6c 100%); color: #fff; }
.band h2 { font-size: clamp(26px, 3vw, 40px); margin-bottom: 10px; color: #fff; }
.band p { margin: 0; max-width: 56ch; color: rgba(255, 255, 255, .88); }
.band .hero__kicker { color: #cdeee2; }

/* ---------- Páginas internas ---------- */
.main { min-height: 70vh; }
.wrap { padding: calc(var(--hdr) + 40px) var(--gutter) 64px; }
.wrap--page { max-width: 1180px; margin: 0 auto; }
.phead { margin-bottom: 32px; }
.phead h1 { font-size: clamp(34px, 4.4vw, 56px); margin-bottom: 8px; }
.phead p { margin: 0; color: var(--muted); max-width: 60ch; }
.prose { color: var(--soft); max-width: 72ch; }
.prose:has(.woocommerce), .prose:has(#buddypress), .prose:has(.tutor-dashboard), .prose:has(.tutor-wrap), .prose:has(.gamipress-achievements-container) { max-width: none; }
.prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(170px, 42vw), 1fr)); gap: 28px 16px; margin: 0; padding: 0; list-style: none; }
.grid:has(.card--square) { grid-template-columns: repeat(auto-fill, minmax(min(220px, 42vw), 1fr)); }
.list { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.list a { display: block; padding: 18px 20px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); transition: box-shadow .2s, transform .3s var(--ease); }
.list a:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.list strong { display: block; margin-bottom: 4px; }
.list span { color: var(--muted); font-size: 15px; }
.empty { display: grid; justify-items: center; gap: 12px; padding: 64px 24px; text-align: center; color: var(--muted); border: 1px dashed var(--line-2); border-radius: var(--radius-lg); background: #fff; }
.empty h1 { font-size: clamp(30px, 4vw, 48px); margin: 0; }
.empty p { margin: 0; max-width: 44ch; }
.notice { padding: 12px 14px; border-radius: 10px; font-size: 15px; }
.notice--err { background: #fdecec; border: 1px solid #f3c2c2; color: #8a2424; }

/* ---------- Página do curso ---------- */
.course { padding: 0 !important; }
.course__hero { position: relative; overflow: hidden; isolation: isolate; padding: calc(var(--hdr) + 48px) var(--gutter) 56px; background: linear-gradient(180deg, var(--accent-soft), var(--bg)); border-bottom: 1px solid var(--line); }
.course__blur { display: none; }
.course__in { display: grid; grid-template-columns: minmax(180px, 280px) minmax(0, 1fr); gap: clamp(24px, 5vw, 64px); align-items: center; max-width: 1180px; margin: 0 auto; }
.course__poster img { width: 100%; aspect-ratio: 300 / 580; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); animation: rise .8s var(--ease) both; }
.course__info { animation: rise .8s .08s var(--ease) both; }
.course__title { font-size: clamp(34px, 4.6vw, 58px); margin-bottom: 14px; }
.course__meta { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 0 0 18px; padding: 0; list-style: none; color: var(--muted); font-size: 15px; }
.course__meta li + li::before { content: "·"; margin-right: 20px; }
.course__lead { max-width: 60ch; color: var(--soft); font-size: 17px; }
.course__lead p { margin: 0 0 12px; }
.course__progress { max-width: 360px; margin: 8px 0 20px; }
.course__progress small { display: block; margin-top: 6px; color: var(--muted); }
.course__entry { max-width: 420px; margin-top: 20px; }
.edio .course__entry .tutor-card, .edio .course__entry .tutor-card-body, .edio .course__entry .tutor-card-footer { background: transparent !important; border: 0 !important; padding: 0 !important; box-shadow: none !important; }
.edio .course__entry .tutor-card-footer { display: none; }
.edio .course__entry .tutor-course-sidebar-card-pricing, .edio .course__entry .price, .edio .course__entry .tutor-fs-4 { color: var(--text) !important; font: 700 28px var(--ui) !important; margin-bottom: 12px; }
.edio .course__entry .tutor-btn, .edio .course__entry button, .edio .course__entry .single_add_to_cart_button { width: 100%; justify-content: center; min-height: 52px; border-radius: 999px !important; font-size: 16px !important; }
.course__body { max-width: 1180px; margin: 0 auto; padding: 32px var(--gutter) 80px; }

/* ---------- Login ---------- */
body.edio:has(.auth) .ftr, body.edio:has(.auth) .hdr { display: none; }
.auth { display: grid; grid-template-columns: minmax(340px, 460px) 1fr; min-height: 100vh; }
.auth__panel { display: flex; flex-direction: column; justify-content: center; padding: 48px clamp(24px, 4vw, 56px); background: #fff; border-right: 1px solid var(--line); animation: rise .7s var(--ease) both; }
.auth__logo { width: 64px; height: 64px; margin-bottom: 28px; object-fit: contain; }
.auth h1 { font-size: 40px; margin-bottom: 6px; }
.auth__sub { margin: 0 0 24px; color: var(--muted); }
.auth form p { margin: 0 0 16px; }
.auth label { display: block; margin-bottom: 6px; font-size: 14px; font-weight: 500; color: var(--soft); }
.auth .login-remember label { display: flex; align-items: center; gap: 8px; cursor: pointer; }
.auth input[type=text], .auth input[type=password], .auth input[type=email], .auth input[type=submit] { width: 100%; }
.auth__links { display: flex; justify-content: space-between; margin: 20px 0 0; font-size: 14px; }
.auth__links a { color: var(--accent); font-weight: 600; }
.auth__safe { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 32px 0 0; color: var(--muted); font-size: 13px; }
.auth__art { background: var(--deep) center / cover no-repeat; }
.auth__tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; margin-bottom: 20px; border-radius: 999px; background: var(--surface-2); }
.auth__tabs button { min-height: 40px; border: 0; border-radius: 999px; background: transparent; color: var(--muted); font: 600 14px var(--ui); cursor: pointer; transition: background-color .2s, color .2s, box-shadow .2s; }
.auth__tabs button[aria-selected="true"] { background: #fff; color: var(--text); box-shadow: 0 1px 3px rgba(0, 0, 0, .12); }
.auth__pane[hidden] { display: none; }
.auth #magic-login-shortcode, .auth .magic-login-login-block, .auth .magic-login-form { padding: 0 !important; margin: 0 !important; border: 0 !important; background: none !important; box-shadow: none !important; max-width: none !important; }
.auth .magic-login-form-header, .auth .magic-login-form .magic-login-submit-heading { display: none; }
.auth .magic-login-form p { margin: 0 0 16px; }
.auth .magic-login-form input[type=submit], .auth .magic-login-form button { width: 100%; }
.auth .magic_login_block_login_success, .auth .info, .auth .error { padding: 12px 14px; border-radius: 10px; background: var(--accent-soft); border: 1px solid var(--line); color: var(--soft); font-size: 15px; margin-bottom: 16px; }

/* ---------- Formulários ---------- */
.edio input[type=text], .edio input[type=email], .edio input[type=password], .edio input[type=tel], .edio input[type=number], .edio input[type=url], .edio input[type=date], .edio input[type=search], .edio select, .edio textarea, .edio .select2-container--default .select2-selection--single {
	min-height: 48px; padding: 10px 14px; border-radius: 10px; border: 1px solid var(--line-2); background: #fff; color: var(--text); font: 400 16px/1.4 var(--ui); transition: border-color .2s, box-shadow .2s;
}
.edio .hdr__search input { min-height: 0; }
.edio textarea { min-height: 120px; }
.edio input:focus, .edio select:focus, .edio textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(4, 148, 114, .15); }
.edio input[type=checkbox], .edio input[type=radio] { accent-color: var(--accent); width: 18px; height: 18px; }
.edio input[type=submit], .edio button[type=submit]:not(.btn):not(.tutor-btn):not(.tutor-mark-as-complete-button):not(.post__btn):not(.post__x), .edio .button, .edio .button.alt, .edio button.alt, .edio a.button, .edio button.button, .edio .single_add_to_cart_button, .edio .checkout-button, .edio #place_order, .edio .wc-forward {
	min-height: 48px; padding: 0 26px !important; border-radius: 999px !important; border: 0 !important; background: var(--accent) !important; color: #fff !important; font: 600 15px/48px var(--ui) !important; cursor: pointer; transition: background-color .2s, transform .3s var(--ease);
}
.edio input[type=submit]:hover, .edio button[type=submit]:not(.btn):not(.tutor-btn):not(.tutor-mark-as-complete-button):not(.post__btn):not(.post__x):hover, .edio .button:hover, .edio a.button:hover, .edio button.button:hover, .edio .single_add_to_cart_button:hover, .edio #place_order:hover { background: var(--accent-2) !important; }
.edio .woocommerce-message .button, .edio .woocommerce-info .button { min-height: 36px; line-height: 36px !important; padding: 0 16px !important; font-size: 14px !important; }
.edio .hdr__search input, .edio .auth__tabs button { box-shadow: none; }

/* ---------- WooCommerce ---------- */
.woocommerce-message, .woocommerce-info, .woocommerce-error, .woocommerce-notice { background: #fff !important; color: var(--soft) !important; border: 1px solid var(--line) !important; border-left: 3px solid var(--accent) !important; border-radius: 10px; list-style: none; }
.woocommerce-error { border-left-color: var(--danger) !important; }
.woocommerce-message::before, .woocommerce-info::before { color: var(--accent) !important; }
.woocommerce div.product { display: grid; grid-template-columns: minmax(220px, 380px) 1fr; gap: clamp(24px, 5vw, 64px); align-items: start; }
.woocommerce div.product div.images, .woocommerce div.product div.summary { width: auto !important; float: none !important; margin: 0 !important; }
.woocommerce div.product div.images img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.woocommerce div.product .product_title { font-size: clamp(32px, 4vw, 50px); }
.woocommerce div.product p.price, .woocommerce div.product span.price { color: var(--accent) !important; font: 700 28px var(--ui); }
.price-free { color: var(--accent); font-weight: 700; }
.woocommerce div.product .woocommerce-tabs, .woocommerce div.product .related, .woocommerce div.product .up-sells { grid-column: 1 / -1; }
.woocommerce div.product .woocommerce-tabs ul.tabs { padding: 0; }
.woocommerce div.product .woocommerce-tabs ul.tabs::before { border-color: var(--line) !important; }
.woocommerce div.product .woocommerce-tabs ul.tabs li { background: transparent !important; border: 0 !important; }
.woocommerce div.product .woocommerce-tabs ul.tabs li::before, .woocommerce div.product .woocommerce-tabs ul.tabs li::after { display: none; }
.woocommerce div.product .woocommerce-tabs ul.tabs li a { color: var(--muted) !important; }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a { color: var(--text) !important; box-shadow: inset 0 -2px var(--accent); }
.woocommerce .product_meta { color: var(--muted); font-size: 14px; }
.woocommerce ul.products li.product img { border-radius: var(--radius); }
.woocommerce ul.products li.product .price { color: var(--accent); }
.woocommerce table.shop_table { border-color: var(--line) !important; border-radius: var(--radius); background: #fff; }
.woocommerce table.shop_table th, .woocommerce table.shop_table td { border-color: var(--line) !important; }
.woocommerce form .form-row label { color: var(--soft); font-size: 14px; }
.woocommerce form .form-row .required { color: var(--accent); text-decoration: none; }
.edio .woocommerce form .form-row { padding: 0; margin: 0 0 16px; }
.edio .woocommerce form .form-row-first, .edio .woocommerce form .form-row-last { width: calc(50% - 8px); }
.edio .woocommerce form .form-row .input-text { background: #fff !important; color: var(--text) !important; border: 1px solid var(--line-2) !important; border-radius: 10px !important; min-height: 48px; padding: 10px 14px !important; font-size: 16px !important; }
.edio form.checkout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 420px); gap: 16px 48px; align-items: start; }
.edio form.checkout > * { grid-column: 1; }
.edio form.checkout #customer_details .col-1, .edio form.checkout #customer_details .col-2 { width: 100%; float: none; }
.edio form.checkout #order_review_heading { grid-column: 2; grid-row: 1; margin: 0; }
.edio form.checkout #order_review { grid-column: 2; grid-row: 2; position: sticky; top: calc(var(--hdr) + 24px); padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.edio form.checkout #customer_details { grid-row: 1 / span 2; }
.edio form.checkout #order_review table.shop_table { border: 0 !important; }
.edio form.checkout #payment { background: transparent !important; border: 0; }
.edio form.checkout #payment div.payment_box { background: var(--surface-2) !important; }
.edio form.checkout #place_order { width: 100%; float: none; margin-top: 8px; }
.woocommerce-checkout .woocommerce-privacy-policy-text { font-size: 13px; color: var(--muted); }
.woocommerce-account.logged-in .woocommerce { display: grid; grid-template-columns: 240px 1fr; gap: 40px; align-items: start; }
.woocommerce-account .woocommerce-MyAccount-navigation, .woocommerce-account .woocommerce-MyAccount-content { width: auto !important; float: none !important; }
.woocommerce-account.logged-in .woocommerce-MyAccount-navigation { grid-column: 1; grid-row: 1; }
.woocommerce-account.logged-in .woocommerce-MyAccount-content { grid-column: 2; grid-row: 1; }
.woocommerce-MyAccount-navigation ul { margin: 0; padding: 8px; list-style: none; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); position: sticky; top: calc(var(--hdr) + 16px); }
.woocommerce-MyAccount-navigation a { display: block; padding: 10px 14px; border-radius: 8px; color: var(--soft); font-weight: 500; text-decoration: none !important; }
.woocommerce-MyAccount-navigation a:hover { background: var(--surface-2); color: var(--text); }
.woocommerce-MyAccount-navigation .is-active a { background: var(--accent-soft); color: var(--accent-2); }
.woocommerce-MyAccount-content a:not(.button) { color: var(--accent); }
.woocommerce form.login, .woocommerce form.register, .woocommerce form.checkout_coupon { border: 1px solid var(--line) !important; border-radius: var(--radius-lg) !important; background: #fff; padding: 24px !important; }

/* ---------- Tutor LMS ---------- */
.edio { --tutor-color-primary: #049472; --tutor-color-primary-rgb: 4, 148, 114; --tutor-color-primary-hover: #037a5e; }
.edio {
	--tutor-surface-brand-dark: #023d30; --tutor-surface-brand-primary: #049472; --tutor-surface-brand-primary-2: #037a5e;
	--tutor-surface-brand-secondary: #cdeee3; --tutor-surface-brand-tertiary: #f1faf7; --tutor-surface-brand-quaternary: #e2f5ee;
	--tutor-text-brand: #049472; --tutor-text-brand-hover: #037a5e; --tutor-text-brand-secondary: #8fd9bf;
	--tutor-icon-brand: #049472; --tutor-icon-brand-hover: #037a5e; --tutor-icon-brand-secondary: #cdeee3;
	--tutor-button-primary: #049472; --tutor-button-primary-hover: #037a5e; --tutor-button-primary-focused: #049472; --tutor-button-primary-disabled: #8fd9bf;
	--tutor-button-primary-soft: #e2f5ee; --tutor-button-primary-soft-hover: #cdeee3; --tutor-button-primary-soft-focused: #e2f5ee;
	--tutor-border-brand: #049472; --tutor-border-brand-secondary: #cdeee3; --tutor-border-brand-tertiary: #8fd9bf;
	--tutor-actions-brand-primary: #049472; --tutor-actions-brand-primary-hover: #037a5e; --tutor-actions-brand-secondary: #cdeee3; --tutor-actions-brand-tertiary: #e2f5ee;
	--tutor-visual-brand-1: #049472; --tutor-visual-brand-2: #8fd9bf; --tutor-visual-brand-3: #cdeee3;
}
[data-tutor-theme=light] { --tutor-actions-brand-primary: #049472; --tutor-actions-brand-primary-hover: #037a5e; --tutor-text-brand: #049472; --tutor-border-brand: #049472; --tutor-surface-base: #fbfbf9; }
.edio .tutor-btn-primary { background: var(--accent) !important; border-color: var(--accent) !important; color: #fff !important; border-radius: 999px; }
.edio .tutor-btn-outline-primary { border-color: var(--accent) !important; color: var(--accent) !important; border-radius: 999px; }
.edio .tutor-wrap, .edio .tutor-course-archive-page, .edio .tutor-page-wrap:not(.course) { padding-top: calc(var(--hdr) + 32px); padding-bottom: 64px; }
.edio .tutor-accordion-item, .edio .tutor-card { border-color: var(--line) !important; border-radius: var(--radius) !important; }
.edio .tutor-progress-value { background: var(--accent) !important; }
.edio-video-soon { aspect-ratio: 16 / 9; display: grid; place-items: center; margin: 0 0 20px; padding: 24px; text-align: center; border-radius: var(--radius-lg); border: 1px dashed var(--line-2); background: radial-gradient(80% 80% at 50% 0%, var(--accent-soft), transparent 70%), #fff; }
.edio-video-soon p { margin: 0 auto; max-width: 46ch; color: var(--soft); }
.edio-video-soon__k { margin-bottom: 8px !important; color: var(--accent) !important; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; font-size: 13px; }

/* ---------- BuddyPress ---------- */
.edio .buddypress-wrap *, .edio .buddypress-wrap *::before { box-shadow: none !important; }
.edio .buddypress-wrap .bp-navs, .edio .buddypress-wrap .subnav-filters, .edio .buddypress-wrap #whats-new-form, .edio .buddypress-wrap .activity-list .activity-item { background: #fff !important; border: 1px solid var(--line) !important; border-radius: var(--radius) !important; }
.edio .buddypress-wrap .activity-list .activity-item { margin-bottom: 12px; padding: 16px !important; }
.edio .buddypress-wrap .bp-navs li.selected a, .edio .buddypress-wrap .bp-navs li.current a { color: var(--accent) !important; background: transparent !important; }
.edio .buddypress-wrap .activity-header a, .edio .buddypress-wrap .bp-list .item-title a { color: var(--accent); }
.edio .buddypress-wrap .bp-feedback { background: #fff !important; border: 1px solid var(--line); border-radius: 10px; }
.edio .buddypress-wrap .bp-feedback .bp-icon { background: var(--accent) !important; }
.edio .buddypress-wrap .dir-search form, .edio .buddypress-wrap .select-wrap { background: transparent !important; border: 0 !important; }
.edio .buddypress-wrap .avatar { border-radius: 50%; }

/* ---------- Minha jornada ---------- */
.journey { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 24px; margin-bottom: 40px; }
.journey__level { position: relative; overflow: hidden; padding: clamp(24px, 4vw, 40px); border-radius: var(--radius-lg); background: linear-gradient(140deg, var(--deep), #145c49 60%, #2f8a6c); color: #fff; }
.journey__level .hero__kicker { color: #8fe3c8; }
.journey__level h2 { color: #fff; font-size: clamp(32px, 4vw, 48px); margin-bottom: 8px; }
.journey__level p { margin: 0 0 22px; color: rgba(255, 255, 255, .85); max-width: 46ch; }
.journey__bar { height: 10px; border-radius: 10px; background: rgba(255, 255, 255, .18); overflow: hidden; }
.journey__bar span { display: block; height: 100%; border-radius: 10px; background: #8fe3c8; transition: width 1s var(--ease); }
.journey__next { margin-top: 10px; font-size: 14px; color: rgba(255, 255, 255, .8); }
.journey__steps { display: grid; gap: 10px; margin: 0; padding: 20px; list-style: none; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); }
.journey__steps li { display: flex; align-items: center; gap: 12px; padding: 8px 6px; color: var(--muted); }
.journey__steps li.is-done { color: var(--text); font-weight: 600; }
.journey__steps li.is-now { color: var(--accent-2); font-weight: 700; }
.journey__dot { width: 28px; height: 28px; flex: 0 0 28px; display: grid; place-items: center; border-radius: 50%; background: var(--surface-2); color: var(--muted); }
.is-done .journey__dot { background: var(--accent); color: #fff; }
.is-now .journey__dot { background: var(--accent-soft); color: var(--accent-2); box-shadow: 0 0 0 2px var(--accent); }
.badges { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(148px, 44vw), 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.badge { display: grid; justify-items: center; gap: 10px; padding: 24px 16px 20px; text-align: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); transition: transform .3s var(--ease), box-shadow .3s; }
.badge:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.badge__icon { width: 76px; height: 76px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: conic-gradient(from 200deg, #049472, #5a3278, #d58a5a, #049472); box-shadow: inset 0 0 0 5px rgba(255, 255, 255, .35); }
.badge__icon svg { width: 34px; height: 34px; }
.badge strong { font-size: 16px; }
.badge small { color: var(--muted); font-size: 13px; line-height: 1.4; }
.badge.is-locked .badge__icon { background: var(--surface-2); color: #aab1ad; box-shadow: inset 0 0 0 2px var(--line-2); }
.badge.is-locked strong { color: var(--muted); }
.badge__state { font-size: 12px; font-weight: 700; color: var(--accent-2); }
.badge.is-locked .badge__state { color: var(--muted); }

/* ---------- Footer ---------- */
.ftr { border-top: 1px solid var(--line); background: #f2f4f2; }
.ftr__in { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; max-width: 1180px; margin: 0 auto; padding: 56px var(--gutter) 64px; }
.ftr__brand img { width: 60px; height: 60px; object-fit: contain; margin-bottom: 14px; }
.ftr__brand p { margin: 0 0 12px; font: 700 20px/1.3 var(--display); letter-spacing: -.01em; }
.ftr__brand small { color: var(--muted); font-size: 13px; }
.ftr h2 { margin: 0 0 14px; font: 700 12px/1 var(--ui); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.ftr nav a { display: block; padding: 5px 0; color: var(--soft); font-size: 15px; transition: color .2s; }
.ftr nav a:hover { color: var(--accent); }

/* ---------- Entrada suave ---------- */
.js .reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: calc(var(--i, 0) * 50ms); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- Responsivo ---------- */
@media (max-width: 1080px) {
	.hdr__burger { display: block; }
	.hdr__nav { position: fixed; inset: var(--hdr) 0 auto; flex-direction: column; gap: 0; padding: 8px var(--gutter) 20px; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s; }
	.hdr__nav.is-open { transform: none; opacity: 1; visibility: visible; }
	.has-hero .hdr:not(.is-solid) .hdr__nav a, .hdr__nav a { color: var(--soft); padding: 14px 4px; font-size: 17px; border-bottom: 1px solid var(--line); }
	.hdr__nav a[aria-current]::after { display: none; }
	.hdr__nav a[aria-current] { color: var(--accent) !important; }
	.hdr__in { gap: 12px; }
	.ftr__in { grid-template-columns: 1fr 1fr; }
	.ftr__brand { grid-column: 1 / -1; }
	.woocommerce-account.logged-in .woocommerce { grid-template-columns: 1fr; }
	.woocommerce-account.logged-in .woocommerce-MyAccount-content { grid-column: 1; grid-row: 2; }
	.journey { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
	.edio form.checkout { grid-template-columns: 1fr; }
	.edio form.checkout #order_review_heading, .edio form.checkout #order_review, .edio form.checkout #customer_details { grid-column: 1; grid-row: auto; position: static; }
}
@media (max-width: 720px) {
	:root { --hdr: 64px; }
	.hdr__brand span { display: none; }
	.hdr__search input:focus, .hdr__search input:not(:placeholder-shown) { width: 160px; }
	.hero { min-height: 78vh; }
	.hero__bg { background-position: 70% center; }
	.hero__shade { background: linear-gradient(0deg, rgba(8, 44, 36, .96) 12%, rgba(8, 44, 36, .7) 50%, rgba(8, 44, 36, .2) 100%); }
	.hero__cta .btn { flex: 1 1 auto; }
	.row__nav { display: none; }
	.auth { grid-template-columns: 1fr; }
	.auth__art { display: none; }
	.woocommerce div.product { grid-template-columns: 1fr; }
	.woocommerce div.product div.images { max-width: 280px; }
	.band { flex-direction: column; align-items: flex-start; }
	.course__in { grid-template-columns: 1fr; }
	.course__poster { max-width: 200px; }
	.edio .woocommerce form .form-row-first, .edio .woocommerce form .form-row-last { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
	.js .reveal { opacity: 1; transform: none; }
}
.edio .hdr__search input { min-height: 0; padding: 0 0 0 38px; background: transparent; border: 1px solid transparent; box-shadow: none; }
.edio .hdr__search input:focus, .edio .hdr__search input:not(:placeholder-shown) { background: #fff; border-color: var(--line-2); padding-right: 12px; }
.hero__shade { background: linear-gradient(90deg, rgba(8, 44, 36, .97) 0%, rgba(8, 44, 36, .95) 44%, rgba(8, 44, 36, .45) 60%, transparent 76%), linear-gradient(0deg, rgba(8, 44, 36, .6), transparent 40%); }

/* ---------- Gestão ---------- */
.gestao .phead { margin-bottom: 20px; }
.gtabs { display: flex; gap: 4px; margin: 0 0 28px; padding: 4px; overflow-x: auto; background: var(--surface-2); border-radius: 999px; width: fit-content; max-width: 100%; scrollbar-width: none; }
.gtabs::-webkit-scrollbar { display: none; }
.gtabs a { padding: 9px 18px; border-radius: 999px; color: var(--muted); font-weight: 600; font-size: 15px; white-space: nowrap; transition: background-color .2s, color .2s; }
.gtabs a:hover { color: var(--text); }
.gtabs a[aria-current] { background: #fff; color: var(--text); box-shadow: 0 1px 3px rgba(0, 0, 0, .1); }
.ghead { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.ghead h2 { margin: 0; font-size: 28px; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 32px; }
.stat { padding: 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); }
.stat small { display: block; color: var(--muted); font-size: 13px; font-weight: 600; margin-bottom: 8px; }
.stat strong { font: 700 30px/1 var(--display); letter-spacing: -.02em; }
.quick h2 { font-size: 26px; margin-bottom: 14px; }
.quick__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.quick__item { display: grid; gap: 6px; padding: 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); transition: transform .3s var(--ease), box-shadow .3s, border-color .2s; }
.quick__item:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--accent); }
.quick__item strong { font-size: 17px; color: var(--accent-2); }
.quick__item span { color: var(--muted); font-size: 14px; line-height: 1.45; }
.glist { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.gitem { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 14px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); }
.gitem__thumb { width: 64px; aspect-ratio: 300 / 580; border-radius: 8px; overflow: hidden; background: var(--surface-2); }
.gitem__thumb--sq { aspect-ratio: 1; }
.gitem__thumb img { width: 100%; height: 100%; object-fit: cover; }
.gitem__info { display: grid; gap: 6px; min-width: 0; }
.gitem__info strong { font-size: 17px; }
.gitem__info > span { color: var(--muted); font-size: 14px; }
.gitem__actions { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.gitem__actions form { margin: 0; }
.gprice { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.gprice label { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 14px; }
.edio .gprice input { width: 110px; min-height: 40px; padding: 6px 10px; }
.pill { display: inline-block; margin-right: 6px; padding: 3px 10px; border-radius: 999px; background: var(--surface-2); color: var(--muted); font-size: 12px; font-weight: 700; }
.pill--on { background: var(--accent-soft); color: var(--accent-2); }
.edio .btn--danger, .edio button.btn--danger { background: #fff !important; color: var(--danger) !important; border: 1px solid #f0caca !important; min-height: 40px; line-height: 38px !important; padding: 0 16px !important; font-size: 14px !important; }
.edio .btn--danger:hover { background: #fdecec !important; }
.edio .gitem .btn--sm, .edio .gitem button.btn--sm { min-height: 40px; line-height: 38px !important; padding: 0 16px !important; font-size: 14px !important; }
.edio .btn--ghost, .edio button.btn--ghost { background: #fff !important; color: var(--text) !important; border: 1px solid var(--line-2) !important; }
.gform { max-width: 880px; padding: clamp(20px, 3vw, 32px); background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); }
.gform h2 { font-size: 28px; margin-bottom: 20px; }
.gform__grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; }
.gform__grid label { display: grid; gap: 6px; font-size: 14px; font-weight: 600; color: var(--soft); }
.gform__grid input[type=file] { min-height: 0; padding: 10px; border-style: dashed; font-size: 14px; }
.gform__check { display: flex !important; align-items: center; gap: 10px; }
.gform__hint { margin: 8px 0 0; color: var(--muted); font-size: 13px; align-self: end; }
.gform__actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 24px; }
.span-4 { grid-column: span 4; } .span-6 { grid-column: span 6; } .span-8 { grid-column: span 8; } .span-12 { grid-column: span 12; }
.toast-inline { max-width: 880px; margin: 0 0 20px; padding: 12px 16px; border-radius: 12px; font-weight: 600; }
.toast-inline--ok { background: var(--accent-soft); color: var(--accent-2); border: 1px solid #bfe5d7; }
.toast-inline--err { background: #fdecec; color: #8a2424; border: 1px solid #f3c2c2; }
.gtable-wrap { overflow-x: auto; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); }
.gtable { width: 100%; border-collapse: collapse; font-size: 15px; }
.gtable th { position: sticky; top: 0; background: var(--surface-2); text-align: left; font-size: 13px; color: var(--muted); padding: 12px 16px; }
.gtable td { padding: 12px 16px; border-top: 1px solid var(--line); }
.gtable tr:hover td { background: #fafbfa; }
.menu-user__pop a.is-strong { color: var(--accent-2); font-weight: 700; }
@media (max-width: 900px) {
	.stats, .quick__grid { grid-template-columns: 1fr 1fr; }
	.gitem { grid-template-columns: 56px minmax(0, 1fr); }
	.gitem__actions { grid-column: 1 / -1; justify-content: flex-start; }
	.span-4, .span-6, .span-8 { grid-column: span 12; }
}

/* ---------- Avisos de conquista ---------- */
.toasts { position: fixed; right: 20px; bottom: 20px; z-index: 90; display: grid; gap: 12px; width: min(360px, calc(100vw - 32px)); }
.toast { position: relative; display: grid; grid-template-columns: 48px 1fr; gap: 14px; padding: 16px 40px 16px 16px; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-lg); animation: toastIn .6s var(--ease) both; animation-delay: var(--d, 0ms); transition: opacity .35s, transform .35s var(--ease); }
.toast.is-out { opacity: 0; transform: translateY(12px); }
.toast__icon { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: conic-gradient(from 200deg, #049472, #5a3278, #d58a5a, #049472); }
.toast__icon svg { width: 24px; height: 24px; }
.toast strong { display: block; font-size: 15px; margin-bottom: 2px; }
.toast p { margin: 0 0 6px; color: var(--muted); font-size: 14px; line-height: 1.4; }
.toast a { color: var(--accent); font-weight: 600; font-size: 14px; }
.toast__x { position: absolute; top: 8px; right: 8px; width: 32px; height: 32px; border: 0; background: none; color: var(--muted); font-size: 22px; line-height: 1; cursor: pointer; border-radius: 50%; }
.toast__x:hover { background: var(--surface-2); }
@keyframes toastIn { from { opacity: 0; transform: translateY(24px) scale(.96); } }

/* BuddyPress: ações pequenas e discretas (não herdam o botão verde) */
.edio .buddypress-wrap .activity-meta a.button, .edio .buddypress-wrap .activity-meta button, .edio .buddypress-wrap .generic-button a, .edio .buddypress-wrap .generic-button button {
	min-height: 34px !important; padding: 0 12px !important; line-height: 32px !important; font-size: 13px !important; background: #fff !important; color: var(--muted) !important; border: 1px solid var(--line) !important; border-radius: 999px !important;
}
.edio .buddypress-wrap .activity-meta a.button:hover, .edio .buddypress-wrap .generic-button a:hover { color: var(--accent) !important; border-color: var(--accent) !important; }
.edio .buddypress-wrap .activity-meta { background: transparent !important; padding: 8px 0 0 !important; }
.edio .buddypress-wrap .dir-search button, .edio .buddypress-wrap .dir-search input[type=submit], .edio .buddypress-wrap .subnav-search button {
	min-height: 40px !important; width: 44px; padding: 0 !important; background: transparent !important; color: var(--muted) !important; border: 0 !important; line-height: 40px !important;
}
.edio .buddypress-wrap .activity-list .activity-avatar img, .edio .buddypress-wrap .activity-list .activity-avatar { width: 52px !important; height: 52px !important; }
.edio .buddypress-wrap .activity-list .activity-content { margin-left: 68px !important; }
.edio .buddypress-wrap .activity-list .activity-avatar { position: absolute; }
.edio .buddypress-wrap .activity-list .activity-item { position: relative; }
.edio .buddypress-wrap .activity-inner { background: var(--surface-2) !important; border-radius: 12px; padding: 12px 16px !important; }
.edio .buddypress-wrap #activity-stream, .edio .buddypress-wrap .activity { border: 0 !important; background: none !important; padding: 0 !important; }
.edio .buddypress-wrap #whats-new-form #whats-new { min-height: 90px; }
.edio .buddypress-wrap #whats-new-content, .edio .buddypress-wrap #whats-new-textarea { border: 0 !important; background: none !important; }

/* Produtos relacionados (e qualquer lista de produtos do Woo): cards da mesma altura */
.woocommerce ul.products { display: grid !important; grid-template-columns: repeat(auto-fill, minmax(min(210px, 44vw), 1fr)); gap: 20px; margin: 0; padding: 0; }
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none !important; }
.woocommerce ul.products li.product { display: flex; flex-direction: column; width: auto !important; float: none !important; margin: 0 !important; padding: 12px 12px 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); transition: transform .3s var(--ease), box-shadow .3s; }
.woocommerce ul.products li.product:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.woocommerce ul.products li.product a.woocommerce-LoopProduct-link { display: flex; flex-direction: column; flex: 1; }
.woocommerce ul.products li.product img { width: 100%; aspect-ratio: 1 / 1; height: auto !important; object-fit: contain; margin: 0 0 12px !important; padding: 6px; background: linear-gradient(160deg, #eef3f0, #dfe7e3); border-radius: var(--radius); }
.woocommerce ul.products li.product .woocommerce-loop-product__title { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.7em; margin: 0 0 6px; padding: 0 !important; font-size: 15px !important; line-height: 1.35; color: var(--text); }
.woocommerce ul.products li.product .price { margin: auto 0 12px !important; font-weight: 700; }
.woocommerce ul.products li.product .button { margin: 0 !important; width: 100%; text-align: center; }

/* ---------- Comunidade ---------- */
.com { display: grid; grid-template-columns: 240px minmax(0, 1fr) 280px; gap: 28px; max-width: 1280px; margin: 0 auto; align-items: start; }
.com__side, .com__info { position: sticky; top: calc(var(--hdr) + 24px); }
.com__title { font-size: 30px; margin-bottom: 14px; }
.com__spaces { display: grid; gap: 4px; }
.com__spaces a { display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 12px; color: var(--soft); font-weight: 600; transition: background-color .2s; }
.com__spaces a:hover { background: var(--surface-2); }
.com__spaces a[aria-current] { background: var(--accent-soft); color: var(--accent-2); }
.com__spaces svg { margin-left: auto; color: var(--muted); flex-shrink: 0; }
.com__dot { width: 34px; height: 34px; flex: 0 0 34px; display: grid; place-items: center; border-radius: 10px; background: linear-gradient(140deg, var(--accent), var(--plum)); color: #fff; font: 600 15px var(--ui); }
.com__sname { display: grid; line-height: 1.25; font-size: 14px; }
.com__sname small { color: var(--muted); font-weight: 500; font-size: 12px; }
.com__head { margin-bottom: 16px; }
.com__head h2 { font-size: clamp(26px, 3vw, 36px); margin-bottom: 4px; }
.com__head p { margin: 0; color: var(--muted); }
.com__gate { padding: 32px; text-align: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); }
.com__gate h3 { font-size: 24px; }
.com__gate p { color: var(--muted); max-width: 46ch; margin: 0 auto 20px; }
.com__gate .hero__cta { justify-content: center; }
.av { width: 44px; height: 44px; flex: 0 0 44px; border-radius: 50%; object-fit: cover; background: var(--surface-2); }
.av--sm { width: 32px; height: 32px; flex-basis: 32px; }
.composer { display: flex; gap: 12px; padding: 16px; margin-bottom: 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); }
.composer__body { flex: 1; min-width: 0; }
.edio .composer textarea { width: 100%; min-height: 84px; resize: vertical; border: 0; padding: 10px 0; background: transparent; box-shadow: none; }
.edio .composer textarea:focus { box-shadow: none; }
.composer__bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 10px; border-top: 1px solid var(--line); }
.composer__img { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; color: var(--muted); font-weight: 600; font-size: 14px; cursor: pointer; }
.composer__img:hover { background: var(--surface-2); color: var(--text); }
.feed { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; margin: 0; padding: 0; list-style: none; }
.post { padding: 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); }
.post__head { display: flex; align-items: center; gap: 12px; }
.post__head > div { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; }
.post__head strong { font-size: 15px; }
.post__head time, .comment time { color: var(--muted); font-size: 13px; }
.post__del { margin-left: auto; }
.post__del button { width: 36px; height: 36px; display: grid; place-items: center; border: 0; border-radius: 50%; background: none; color: var(--muted); cursor: pointer; }
.post__del button:hover { background: #fdecec; color: var(--danger); }
.post__body { margin: 12px 0 0; font-size: 16px; line-height: 1.6; color: var(--text); white-space: pre-line; }
.post__body p { margin: 0 0 8px; }
.post__body img { margin-top: 8px; border-radius: 12px; max-height: 520px; width: auto; }
.post__actions { display: flex; gap: 6px; margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--line); }
.post__actions form { margin: 0; }
.post__btn { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 12px; border: 0; border-radius: 999px; background: none; color: var(--muted); font: 600 14px var(--ui); cursor: pointer; transition: background-color .2s, color .2s; }
.post__btn:hover { background: var(--surface-2); color: var(--text); }
.post__btn.is-on { color: var(--accent-2); }
.post__btn--static { cursor: default; }
.post__btn--static:hover { background: none; color: var(--muted); }
.comments { display: grid; gap: 10px; margin: 12px 0 0; padding: 0; list-style: none; }
.comment { display: flex; gap: 10px; }
.comment > div { flex: 1; padding: 8px 12px; background: var(--surface-2); border-radius: 12px; }
.comment strong { font-size: 14px; }
.comment p { margin: 2px 0 0; font-size: 15px; }
.reply { display: flex; align-items: center; gap: 10px; margin-top: 12px; }
.reply input[type=text] { flex: 1; min-width: 0; }
.edio .reply input[type=text] { flex: 1; min-height: 40px; padding: 8px 14px; border-radius: 999px; background: var(--surface-2); border-color: transparent; }
.pager { display: flex; justify-content: center; gap: 10px; margin-top: 20px; }
.com__card { padding: 18px; margin-bottom: 14px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); }
.com__card h3 { font-size: 18px; margin-bottom: 10px; }
.com__card ul { margin: 0; padding-left: 18px; color: var(--soft); font-size: 14px; display: grid; gap: 6px; }
.com__card p { margin: 10px 0 0; color: var(--muted); font-size: 14px; }
@media (max-width: 1080px) {
	.com { grid-template-columns: 1fr; }
	.com__side, .com__info { position: static; }
	.com__spaces { display: flex; overflow-x: auto; gap: 8px; padding-bottom: 4px; }
	.com__spaces a { flex: 0 0 auto; background: #fff; border: 1px solid var(--line); }
	.com__sname small { display: none; }
	.com__info { display: none; }
}
/* Área da aula: barra lateral compacta, para caber mais aulas na tela. */
.tutor-learning-sidebar .tutor-learning-sidebar-curriculum .tutor-learning-progress { flex-direction: row !important; align-items: center !important; gap: 12px !important; padding: 12px 16px !important; }
.tutor-learning-sidebar .tutor-learning-progress > :not(.tutor-learning-progress-content) { flex: 1; min-width: 0; }
.tutor-learning-sidebar .tutor-learning-progress-content { flex: 0 0 auto; }
.tutor-learning-sidebar .tutor-learning-sidebar-curriculum .tutor-learning-progress-text { padding: 0 !important; font-size: 13px !important; line-height: 1.2 !important; white-space: nowrap; }
.tutor-learning-sidebar .tutor-learning-sidebar-curriculum .tutor-learning-nav { padding: 6px 6px 10px !important; }
.tutor-learning-sidebar .tutor-learning-sidebar-curriculum .tutor-learning-nav .tutor-learning-nav-body { padding-inline-start: 22px !important; }
.tutor-learning-sidebar .tutor-learning-sidebar-curriculum .tutor-learning-nav .tutor-learning-nav-body::before { inset-inline-start: 15px !important; }
.tutor-learning-sidebar .tutor-learning-sidebar-curriculum .tutor-learning-nav .tutor-learning-nav-item { min-height: 0 !important; padding: 7px 10px !important; gap: 8px !important; font-size: 13.5px !important; line-height: 1.35 !important; }
.tutor-learning-sidebar .tutor-learning-nav-item svg { width: 18px !important; height: 18px !important; margin-top: 0 !important; }
.tutor-learning-sidebar .tutor-learning-nav-item .tutor-tiny-2 { display: none; }
.tutor-learning-sidebar .tutor-learning-nav-item .tutor-overflow-hidden > div:first-child { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tutor-learning-sidebar .tutor-learning-nav-item.active::before { top: 6px !important; height: calc(100% - 12px) !important; inset-inline-start: -5px !important; }
/* Informações do curso: capa com altura limitada. */
.tutor-course-info .tutor-course-thumb { max-width: 760px; margin-inline: auto; }
.tutor-course-info .tutor-course-thumb img { display: block; max-height: 320px; object-fit: cover; }
/* Aula concluída: ícone ao lado do texto (o selo do Tutor ficava por cima do texto). */
.tutor-lesson-content .tutor-mark-as-complete-button.completed { justify-content: center !important; gap: 10px !important; min-width: 190px; padding: 8px 12px 8px 20px !important; }
.tutor-lesson-content .tutor-mark-as-complete-button.completed > span { width: auto !important; white-space: nowrap; }
.tutor-lesson-content .tutor-mark-as-complete-button.completed svg { position: static !important; width: 24px !important; height: 24px !important; }
.tutor-mark-as-complete-button.completed[data-edio] { cursor: pointer; }
.tutor-mark-as-complete-button.completed[data-edio]:hover { filter: brightness(.94); }
.journey__how { margin: 14px 0 0 !important; font-size: 13px; color: rgba(255, 255, 255, .7) !important; }
.toast--xp .toast__icon { background: linear-gradient(140deg, #f2b84b, #d58a5a); }
.toast--menos .toast__icon { background: var(--surface-2); color: var(--muted); }
.com__section { margin: 14px 10px 4px; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.com__spaces a.is-locked { color: var(--muted); }
.com__spaces .com__dot { width: 28px; height: 28px; flex-basis: 28px; border-radius: 8px; background: var(--surface-2); color: var(--muted); font-size: 14px; }
.com__spaces a[aria-current] .com__dot { background: var(--accent); color: #fff; }
.com__hash { color: var(--accent); }
.com__gate svg { color: var(--muted); margin-bottom: 8px; }
@media (max-width: 1080px) { .com__section { display: none; } }
.gitem--room { grid-template-columns: 44px minmax(0, 1fr) auto; }
.gitem__hash { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; background: var(--accent-soft); color: var(--accent-2); font: 700 20px var(--ui); }
[data-room-ref][hidden] { display: none !important; }
.edio .post__btn, .edio button.post__btn { min-height: 36px !important; padding: 0 12px !important; background: transparent !important; color: var(--muted) !important; font: 600 14px/36px var(--ui) !important; border-radius: 999px !important; }
.edio .post__btn:hover { background: var(--surface-2) !important; color: var(--text) !important; }
.edio .post__btn.is-on { color: var(--accent-2) !important; }
.edio .post__del button { width: 36px; min-height: 36px !important; padding: 0 !important; background: transparent !important; color: var(--muted) !important; line-height: 1 !important; }
.edio .post__del button:hover { background: #fdecec !important; color: var(--danger) !important; }

/* ================= Estúdio de cursos (painel da Pastora) ================= */
.span-2 { grid-column: span 2; } .span-3 { grid-column: span 3; } .span-5 { grid-column: span 5; } .span-9 { grid-column: span 9; }
.st { --st-r: 14px; }
.st-head { display: flex; align-items: center; gap: 14px; margin: 0 0 22px; }
.st-back { flex: 0 0 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line-2); background: #fff; color: var(--text); transition: border-color .2s, transform .3s var(--ease); }
.st-back:hover { border-color: var(--text); transform: translateX(-2px); }
.st-head__title { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 12px; min-width: 0; flex: 1; }
.st-head__title h2 { margin: 0; font-size: clamp(24px, 3vw, 32px); line-height: 1.1; }
.st-crumb { width: 100%; margin: 0; color: var(--muted); font-size: 13px; font-weight: 600; }
.st-head__actions { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.st-tabs { margin-bottom: 20px; }
.st-lead { max-width: 70ch; margin: 0 0 18px; color: var(--muted); font-size: 15px; }
.st-help { display: block; color: var(--muted); font-size: 13px; font-weight: 400; line-height: 1.45; }
.st-muted { color: var(--muted); }
.st-empty { margin: 8px 0 4px; padding: 16px; border: 1px dashed var(--line-2); border-radius: 12px; color: var(--muted); font-size: 14px; text-align: center; }

/* Módulos */
.st-modules { display: grid; gap: 14px; }
.st-module { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); transition: box-shadow .3s var(--ease), opacity .25s, transform .25s; }
.st-module:hover { box-shadow: var(--shadow); }
.st-module__head { display: flex; align-items: center; gap: 8px; padding: 10px 12px 10px 8px; }
.st-module__toggle { flex: 0 0 36px; height: 36px; display: grid; place-items: center; border: 0; border-radius: 10px; background: var(--surface-2); color: var(--soft); cursor: pointer; transition: transform .3s var(--ease), background-color .2s; }
.st-module__toggle:hover { background: var(--surface-3); }
.st-module.is-open .st-module__toggle { transform: rotate(180deg); }
.st-module__count { flex: 0 0 auto; color: var(--muted); font-size: 13px; font-weight: 600; white-space: nowrap; }
.st-module__body { display: grid; grid-template-rows: 0fr; opacity: 0; transition: grid-template-rows .3s var(--ease), opacity .25s; }
.st-module__body > div { overflow: hidden; }
.st-module.is-open .st-module__body { grid-template-rows: 1fr; opacity: 1; }
.st-module.is-open .st-module__body > div { padding: 0 12px 12px; }
.st-grip { flex: 0 0 28px; height: 36px; display: grid; place-items: center; border: 0; border-radius: 8px; background: none; color: var(--muted); cursor: grab; touch-action: none; }
.st-grip:hover { background: var(--surface-2); color: var(--text); }
.st-grip:active { cursor: grabbing; }
.edio input.st-inline { flex: 1; min-width: 0; text-overflow: ellipsis; min-height: 40px; padding: 6px 10px; border-color: transparent; background: transparent; font-weight: 600; }
.edio input.st-inline:hover { border-color: var(--line-2); background: #fff; }
.edio input.st-inline--module { font: 600 18px/1.2 var(--ui); }
.st-lessons { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; min-height: 8px; }
.st-lesson { display: grid; grid-template-columns: 28px 44px minmax(0, 1fr) auto auto 36px; align-items: center; gap: 10px; padding: 8px 8px 8px 4px; border-radius: 12px; background: var(--surface-2); transition: background-color .2s, opacity .25s, transform .25s var(--ease); }
.st-lesson:hover { background: var(--surface-3); }
.st-lesson__icon { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 10px; background: #fff center / cover no-repeat; color: var(--accent-2); }
.st-lesson__main { display: grid; min-width: 0; }
.st-lesson__main small { padding-left: 11px; color: var(--muted); font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.edio .st-lesson input.st-inline { min-height: 34px; padding: 4px 10px; font-size: 15px; }
.st-lesson .pill { margin: 0; }
.is-ghost { opacity: .35; background: var(--accent-soft) !important; }
.is-leaving { opacity: 0; transform: scale(.98); }
.st-menu { position: relative; }
.st-menu__btn { width: 36px; height: 36px; display: grid; place-items: center; border: 0; border-radius: 10px; background: none; color: var(--soft); cursor: pointer; }
.st-menu__btn:hover, .st-menu__btn[aria-expanded=true] { background: var(--surface-3); }
.st-menu__list { position: absolute; right: 0; top: calc(100% + 6px); z-index: 30; min-width: 190px; padding: 6px; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-lg); animation: st-pop .18s var(--ease); }
.st-menu__list a, .st-menu__list button { display: block; width: 100%; padding: 10px 12px; border: 0; border-radius: 8px; background: none; color: var(--text); font: 500 14px var(--ui); text-align: left; cursor: pointer; }
.st-menu__list a:hover, .st-menu__list button:hover { background: var(--surface-2); }
.st-menu__list .is-danger { color: var(--danger); }
@keyframes st-pop { from { opacity: 0; transform: translateY(-4px); } }
.st-flash { position: fixed; left: 50%; bottom: 96px; z-index: 90; padding: 12px 18px; border-radius: 999px; background: #1f2422; color: #fff; font: 600 14px var(--ui); box-shadow: var(--shadow-lg); opacity: 0; transform: translate(-50%, 10px); pointer-events: none; transition: opacity .25s, transform .35s var(--ease); }
.st-flash.is-on { opacity: 1; transform: translate(-50%, 0); }
.st-flash.is-bad { background: #8a2424; }

/* Formulários do estúdio */
.st-form { max-width: none; }
.st-switch { position: relative; display: flex !important; align-items: flex-start; gap: 14px !important; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; cursor: pointer; }
.st-switch--inline { padding: 12px 14px; }
.st-switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.st-switch__ui { position: relative; flex: 0 0 44px; height: 26px; margin-top: 1px; border-radius: 999px; background: var(--surface-3); transition: background-color .2s; }
.st-switch__ui::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .2); transition: transform .3s var(--ease); }
.st-switch input:checked + .st-switch__ui { background: var(--accent); }
.st-switch input:checked + .st-switch__ui::after { transform: translateX(18px); }
.st-switch input:focus-visible + .st-switch__ui { box-shadow: 0 0 0 3px rgba(4, 148, 114, .3); }
.st-switch strong { display: block; font-size: 15px; color: var(--text); }
.st-switch small { display: block; margin-top: 2px; color: var(--muted); font-size: 13px; font-weight: 400; }
.st-img { display: grid; gap: 8px; align-content: start; }
.st-img__label { font-size: 14px; font-weight: 600; color: var(--soft); }
.st-img__drop { position: relative; display: grid; place-items: end center; padding: 12px; border: 1.5px dashed var(--line-2); border-radius: 12px; background: var(--surface-2) center / cover no-repeat; cursor: pointer; transition: border-color .2s; }
.st-img__drop:hover { border-color: var(--accent); }
.st-img__drop--poster { width: 170px; aspect-ratio: 300 / 580; }
.st-img__drop--wide { aspect-ratio: 1920 / 700; }
.st-img__drop--a4 { width: min(100%, 320px); aspect-ratio: 297 / 210; }
.st-img__drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.st-img__drop span { padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .92); font-size: 13px; font-weight: 600; box-shadow: 0 1px 4px rgba(0, 0, 0, .12); max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.st-tag { padding: 2px 8px; border: 1px solid var(--line-2); border-radius: 6px; background: #fff; font: 600 12px var(--ui); color: var(--accent-2); cursor: pointer; }
.st-tag:hover { border-color: var(--accent); }

/* Certificado no estúdio */
.st-cert { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 24px; align-items: start; }
.st-cert__preview { position: sticky; top: calc(var(--hdr) + 16px); display: grid; gap: 8px; }

/* Alunos */
.st-alunos { display: grid; gap: 18px; }
.st-enroll { max-width: none; }
.st-enroll h3 { margin: 0 0 14px; font-size: 20px; }
.st-enroll__btn { display: flex; align-items: end; }
.st-enroll__btn .btn { width: 100%; }
.st-prog { display: inline-block; vertical-align: middle; width: 90px; height: 6px; border-radius: 999px; background: var(--surface-3); overflow: hidden; }
.st-prog span { display: block; height: 100%; border-radius: inherit; background: var(--accent); }

/* Editor de aula */
.st-editor { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 22px; align-items: start; padding-bottom: 24px; }
.st-editor__main { display: grid; gap: 16px; }
.st-card { padding: 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); }
.st-card h3 { margin: 0 0 14px; font-size: 20px; }
.st-card__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.st-card__head h3 { margin: 0 0 2px; }
.st-sub { margin: 18px 0 10px; font-size: 14px; font-weight: 600; color: var(--soft); }
.st-seg { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; margin-bottom: 4px; background: var(--surface-2); border-radius: 12px; }
.st-seg label { position: relative; cursor: pointer; }
.st-seg input { position: absolute; opacity: 0; }
.st-seg span { display: block; padding: 9px 16px; border-radius: 9px; color: var(--muted); font-size: 14px; font-weight: 600; transition: background-color .2s, color .2s; }
.st-seg input:checked + span { background: #fff; color: var(--text); box-shadow: 0 1px 3px rgba(0, 0, 0, .1); }
.st-seg input:focus-visible + span { box-shadow: 0 0 0 3px rgba(4, 148, 114, .3); }
.st-seg--wrap { margin-bottom: 14px; }
.st-file { position: relative; display: block; padding: 18px; border: 1.5px dashed var(--line-2); border-radius: 12px; background: var(--surface-2); cursor: pointer; transition: border-color .2s, background-color .2s; }
.st-file:hover { border-color: var(--accent); background: var(--accent-soft); }
.st-file input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.st-file__ui { display: grid; gap: 4px; }
.st-file__ui strong { font-size: 15px; color: var(--accent-2); }
.st-file__ui small { color: var(--muted); font-size: 13px; }
.mat { display: grid; gap: 6px; margin: 0 0 10px; padding: 0; list-style: none; }
.mat:empty { display: none; }
.mat li { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 12px; align-items: center; padding: 10px 14px; border-radius: 10px; background: var(--surface-2); font-size: 14px; }
.mat__name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
.mat small { color: var(--muted); }
.mat__rm { display: flex; align-items: center; gap: 6px; color: var(--danger); font-size: 13px; font-weight: 600; cursor: pointer; }
.st-quiz-cfg { margin-bottom: 14px; }
.st-questions { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.st-q { display: grid; gap: 10px; padding: 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface-2); transition: border-color .2s, box-shadow .2s; }
.st-q.is-bad { border-color: var(--danger); box-shadow: 0 0 0 3px rgba(196, 61, 61, .12); }
.st-q__head { display: flex; align-items: center; gap: 10px; }
.st-q__n { flex: 0 0 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: var(--accent); color: #fff; font-weight: 700; font-size: 14px; }
.edio .st-q__head select { flex: 1; max-width: 260px; min-height: 40px; padding: 6px 12px; font-size: 14px; }
.edio .st-q textarea { min-height: 0; }
.st-q__hint { margin: 0; color: var(--muted); font-size: 12.5px; }
.st-alts { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.st-alt { display: grid; grid-template-columns: 34px minmax(0, 1fr) 32px; gap: 8px; align-items: center; }
.edio .st-alt__txt { min-height: 42px; }
.edio .st-alt__txt[readonly] { background: var(--surface-2); }
.st-alt__ok { position: relative; width: 34px; height: 34px; display: grid; place-items: center; cursor: pointer; }
.st-alt__ok input { position: absolute; opacity: 0; }
.st-alt__ok::before { content: ""; width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--line-2); background: #fff; transition: all .2s; }
.st-alt__ok:has(input[type=checkbox])::before { border-radius: 6px; }
.st-alt__ok:has(input:checked)::before { border-color: var(--accent); background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E") center / 14px no-repeat; }
.st-alt__ok:has(input:focus-visible)::before { box-shadow: 0 0 0 3px rgba(4, 148, 114, .3); }
.st-x { width: 32px; height: 32px; display: grid; place-items: center; border: 0; border-radius: 50%; background: none; color: var(--muted); font-size: 20px; line-height: 1; cursor: pointer; }
.st-x:hover { background: #fdecec; color: var(--danger); }
.st-q [data-alt-add] { justify-self: start; }
.st-q__exp summary { cursor: pointer; color: var(--muted); font-size: 13px; font-weight: 600; }
.st-q__exp textarea { margin-top: 8px; width: 100%; }
.st-editor__side { position: sticky; top: calc(var(--hdr) + 16px); }
.st-preview { display: grid; gap: 10px; }
.st-preview__player { aspect-ratio: 16 / 9; display: grid; place-items: center; border-radius: 12px; background: #11151a; overflow: hidden; }
.st-preview__player[hidden] { display: none; }
.st-preview__player iframe, .st-preview__player video { width: 100%; height: 100%; border: 0; }
.st-preview__empty { margin: 0; color: rgba(255, 255, 255, .6); font-size: 13px; }
.st-preview__body { padding: 16px; background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.st-preview__body strong { display: block; font-size: 17px; line-height: 1.3; }
.st-preview__desc { max-height: 220px; overflow: auto; margin-top: 8px; color: var(--soft); font-size: 14px; line-height: 1.55; }
.st-preview__desc p { margin: 0 0 8px; }
.st-preview__meta { margin: 8px 0 0; color: var(--accent-2); font-size: 13px; font-weight: 600; }
.st-preview__meta:empty { display: none; }
.st-savebar { position: sticky; bottom: 0; z-index: 20; margin: 0 calc(-1 * var(--gutter)); padding: 12px var(--gutter); background: rgba(251, 251, 249, .9); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-top: 1px solid var(--line); }
.st-savebar__in { position: relative; display: flex; align-items: center; justify-content: flex-end; gap: 10px; max-width: 1180px; margin: 0 auto; }
.st-savebar__msg { flex: 1; margin: 0; color: var(--muted); font-size: 14px; font-weight: 600; }
.st-savebar__msg.is-dirty { color: #9a6a12; }
.st-savebar__msg.is-bad { color: var(--danger); }
.st-progress { position: absolute; left: 0; right: 0; top: -13px; height: 3px; background: var(--surface-3); overflow: hidden; }
.st-progress span { display: block; width: 0; height: 100%; background: var(--accent); transition: width .2s; }
@media (max-width: 1080px) {
	.st-editor, .st-cert { grid-template-columns: 1fr; }
	.st-editor__side, .st-cert__preview { position: static; }
}
@media (max-width: 720px) {
	.st-head { flex-wrap: wrap; }
	.st-head__actions { width: 100%; justify-content: flex-start; }
	.st-lesson { grid-template-columns: 24px 36px minmax(0, 1fr) 36px; }
	.st-lesson .pill, .st-lesson > .btn { display: none; }
	.st-lesson__icon { width: 36px; height: 36px; }
	.st-module__head { flex-wrap: wrap; row-gap: 6px; }
	.edio .st-module__head input.st-inline--module { flex: 1 1 calc(100% - 140px); font-size: 17px; }
	.st-module__head > .btn { order: 5; margin-left: 80px; }
	.st-module__count { display: none; }
	.gform__grid > [class*=span-] { grid-column: span 12; }
	.st-savebar__msg { font-size: 13px; }
}

/* ================= Perguntas dentro da aula (aluno) ================= */
.lq { max-width: 780px; margin: 32px auto 8px; padding: clamp(20px, 3vw, 32px); background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); scroll-margin-top: calc(var(--hdr) + 20px); }
.lq__k { margin: 0; color: var(--accent-2); font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.lq__head h3 { margin: 6px 0 4px; font: 700 clamp(22px, 2.6vw, 28px)/1.2 var(--display); letter-spacing: -.02em; }
.lq__head > p:not(.lq__k) { margin: 0; color: var(--muted); font-size: 14px; }
.lq__done { display: inline-flex; margin-top: 12px !important; padding: 6px 12px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-2) !important; font-weight: 700; }
.lq__form { display: grid; gap: 14px; margin-top: 20px; }
.lq__q { margin: 0; padding: 16px; border: 1px solid var(--line); border-radius: 14px; transition: border-color .2s, background-color .2s; }
.lq__q legend { display: flex; gap: 10px; padding: 0; font-size: 16px; font-weight: 600; line-height: 1.45; }
.lq__q legend span { flex: 0 0 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; background: var(--surface-2); font-size: 13px; }
.lq__hint { margin: 6px 0 0 36px; color: var(--muted); font-size: 13px; }
.lq__opts { display: grid; gap: 6px; margin: 12px 0 0 36px; }
.lq__opt { display: flex; align-items: center; gap: 12px; min-height: 46px; padding: 10px 14px; border: 1px solid var(--line-2); border-radius: 12px; cursor: pointer; transition: border-color .2s, background-color .2s; }
.lq__opt:hover { border-color: var(--accent); }
.lq__opt:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }
.lq__fb { margin: 8px 0 0 36px; font-size: 14px; font-weight: 600; }
.lq__fb:empty { display: none; }
.lq__q.is-ok { border-color: #9fd9c5; background: #f3fbf8; }
.lq__q.is-ok .lq__fb { color: var(--accent-2); }
.lq__q.is-bad, .lq__q.is-missing { border-color: #efb3b3; background: #fff7f7; }
.lq__q.is-bad .lq__fb, .lq__q.is-missing .lq__fb { color: #8a2424; }
.lq__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.lq__msg { margin: 0; font-weight: 600; color: var(--soft); }
.lq.is-passed .lq__msg { color: var(--accent-2); }
.lq-link { max-width: 780px; margin: 24px auto 0; padding: 22px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; background: var(--accent-soft); border-radius: var(--radius-lg); }
.lq-link p { margin: 0; font-weight: 600; }
.tutor-lesson-content .tutor-mark-as-complete-button.is-locked { background: var(--surface-2) !important; color: var(--soft) !important; }
.toast--aviso .toast__icon { background: var(--surface-2); color: var(--muted); }

/* ================= Certificado ================= */
.cert { position: relative; container-type: inline-size; width: 100%; aspect-ratio: 297 / 210; overflow: hidden; border-radius: 8px; background: #fffdf8 center / cover no-repeat; color: #1f2422; box-shadow: var(--shadow-lg); }
.cert__frame { position: absolute; inset: 2.4cqw; border: .28cqw solid #049472; outline: .12cqw solid rgba(90, 50, 120, .45); outline-offset: -1.2cqw; border-radius: .6cqw; }
.cert__leaf { position: absolute; width: 12cqw; color: #049472; }
.cert__leaf--l { left: 3.6cqw; top: 3.6cqw; transform: rotate(-90deg); }
.cert__leaf--r { right: 3.6cqw; top: 3.6cqw; transform: rotate(180deg); color: #5a3278; }
.cert__in { position: absolute; inset: 6.5cqw 9cqw 5.6cqw; display: flex; flex-direction: column; align-items: center; text-align: center; }
.cert__brand { display: flex; align-items: center; gap: 1cqw; font: 700 1.7cqw/1 var(--display); color: #0b3d31; }
.cert__brand img { width: 3.6cqw; height: 3.6cqw; object-fit: contain; }
.cert__brand em { color: #049472; }
.cert__title { margin: 3.4cqw 0 0; font: 700 4.6cqw/1 var(--display); letter-spacing: -.02em; color: #0b3d31; }
.cert__lead { margin: 2.6cqw 0 0; font: 600 1.35cqw/1.3 var(--ui); letter-spacing: .16em; text-transform: uppercase; color: #6b736f; }
.cert__lead:empty { display: none; }
.cert__name { min-width: 46%; margin: 1.3cqw 0 0; padding: 0 2cqw 1.1cqw; border-bottom: .12cqw solid rgba(4, 148, 114, .4); font: 700 5.2cqw/1.08 var(--display); letter-spacing: -.02em; color: #5a3278; }
.cert__text { max-width: 64cqw; margin: 2.2cqw 0 0; font: 400 2cqw/1.55 var(--ui); color: #3d4441; }
.cert__foot { width: 100%; margin-top: auto; display: grid; grid-template-columns: 1fr auto 1fr; align-items: end; }
.cert__sign { justify-self: start; display: grid; justify-items: center; gap: .3cqw; }
.cert__line { width: 22cqw; height: .12cqw; margin-bottom: .7cqw; background: #1f2422; }
.cert__sign strong { font: 700 1.8cqw/1.1 var(--display); }
.cert__sign small { font: 400 1.25cqw var(--ui); color: #6b736f; }
.cert__seal { width: 9cqw; color: #049472; }
.cert__meta { justify-self: end; display: grid; justify-items: end; gap: .25cqw; }
.cert__meta small { font: 600 1cqw var(--ui); letter-spacing: .1em; text-transform: uppercase; color: #6b736f; }
.cert__meta strong { font: 700 1.5cqw var(--ui); letter-spacing: .14em; }
.cert-page { background: var(--bg); }
.cert-page__in { max-width: 1120px; margin: 0 auto; padding: 28px 16px 48px; }
.cert-page__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.cert-page__ok { display: flex; align-items: center; gap: 8px; margin: 0; color: var(--accent-2); font-weight: 600; font-size: 14px; }
.cert-page__hint { margin: 16px 0 0; color: var(--muted); font-size: 14px; text-align: center; }
@page { size: A4 landscape; margin: 0; }
@media print {
	.cert-page { background: #fff; }
	.cert-page__bar, .cert-page__hint { display: none; }
	.cert-page__in { max-width: none; padding: 0; }
	.cert-page .cert { width: 297mm; height: 209mm; aspect-ratio: auto; border-radius: 0; box-shadow: none; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}
.certs { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.certs__item { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 14px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); }
.certs__item.is-ready { border-color: #bfe5d7; }
.certs__thumb { width: 64px; aspect-ratio: 300 / 580; border-radius: 8px; overflow: hidden; background: var(--surface-2); }
.certs__thumb img { width: 100%; height: 100%; object-fit: cover; }
.certs__info { display: grid; gap: 6px; min-width: 0; }
.certs__info strong { font-size: 17px; }
.certs__info > span:not(.st-prog) { color: var(--muted); font-size: 14px; }
.certs__info .st-prog { width: min(240px, 100%); }
@media (max-width: 640px) { .certs__item { grid-template-columns: 48px minmax(0, 1fr); } .certs__item .btn { grid-column: 1 / -1; } .certs__thumb { width: 48px; } }
.st-card textarea, .st-card select, .gform__grid label > input, .gform__grid label > textarea, .gform__grid label > select { width: 100%; }
.st-card > textarea { display: block; }
.st [hidden], .lq [hidden] { display: none !important; }
@media screen { .cert-page .cert { max-width: calc((100vh - 130px) * 297 / 210); margin: 0 auto; } }
.course__banner { position: absolute; inset: 0; z-index: -1; background: center / cover no-repeat; }
.course__banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(251, 251, 249, .97) 0%, rgba(251, 251, 249, .9) 45%, rgba(251, 251, 249, .55) 100%), linear-gradient(0deg, var(--bg), transparent 40%); }
.course__cert { display: inline-flex; align-items: center; gap: 12px; margin: 0 0 20px; padding: 10px 16px 10px 12px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255, 255, 255, .8); color: var(--soft); }
.course__cert svg { width: 26px; height: 26px; color: var(--plum); flex: 0 0 auto; }
.course__cert strong { display: block; font-size: 15px; color: var(--text); }
.course__cert small { color: var(--muted); font-size: 13px; }
a.course__cert.is-ready { border-color: #bfe5d7; background: var(--accent-soft); transition: transform .3s var(--ease), box-shadow .3s; }
a.course__cert.is-ready:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
a.course__cert.is-ready svg { color: var(--accent-2); }.hdr__brand em, .ftr__brand em, .cert__brand em { font-style: normal; }
.edio .btn--ghost:hover, .edio button.btn--ghost:hover { background: var(--surface-2) !important; color: var(--text) !important; border-color: var(--text) !important; }
.edio .btn--primary, .edio button.btn--primary { color: #fff !important; }
.edio .btn--primary:hover, .edio button.btn--primary:hover { background: var(--accent-2) !important; color: #fff !important; }
/* Campo de imagem com prévia + recorte */
.st-img__drop--square { width: 220px; aspect-ratio: 1; }
.st-img__drop { place-items: center; overflow: hidden; }
.st-img__drop .st-img__empty { display: grid; place-items: center; color: var(--muted); }
.st-img__drop.has-img .st-img__empty { display: none; }
.st-img__drop .st-img__btn { position: absolute; left: 50%; bottom: 10px; transform: translateX(-50%); padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .94); color: var(--text); font-size: 13px; font-weight: 600; box-shadow: 0 1px 4px rgba(0, 0, 0, .14); white-space: nowrap; pointer-events: none; transition: transform .3s var(--ease); }
.st-img__drop:not(.has-img) .st-img__btn { position: static; transform: none; margin-top: 8px; background: #fff; }
.st-img__drop:not(.has-img) { align-content: center; }
.st-img__drop.has-img:hover .st-img__btn { transform: translateX(-50%) translateY(-2px); }
.st-img__drop.has-img::after { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, 0); transition: background-color .2s; pointer-events: none; }
.st-img__drop.has-img:hover::after { background: rgba(0, 0, 0, .12); }
.crop { width: min(760px, calc(100vw - 32px)); max-height: calc(100vh - 32px); padding: 0; border: 0; border-radius: 18px; background: #fff; color: var(--text); box-shadow: var(--shadow-lg); }
.crop::backdrop { background: rgba(15, 20, 18, .55); backdrop-filter: blur(3px); }
.crop[open] { animation: st-pop .25s var(--ease); }
.crop__box { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; max-height: calc(100vh - 32px); margin: 0; }
.crop__head { display: flex; justify-content: space-between; gap: 12px; padding: 18px 20px 12px; }
.crop__head h3 { margin: 0 0 2px; font-size: 20px; }
.crop__hint { margin: 0; color: var(--muted); font-size: 13px; }
.crop__stage { height: min(60vh, 480px); background: #11151a; }
.crop__stage img { display: block; max-width: 100%; }
.crop__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 14px 20px 18px; }
.crop__tools { display: flex; gap: 6px; }
.crop__tools .btn { min-width: 40px; padding: 0 12px; }
.crop__size { flex: 1; margin: 0; color: var(--muted); font-size: 13px; }
@media (max-width: 560px) { .crop__size { flex-basis: 100%; order: -1; } }.st-img__drop .st-img__empty { background: none; box-shadow: none; padding: 0; }
/* Salas: ícone e regras de acesso */
.room-icon-btn { width: 56px; height: 56px; display: grid; place-items: center; border: 1.5px dashed var(--line-2); border-radius: 14px; background: var(--accent-soft); color: var(--accent-2); font: 700 22px var(--ui); cursor: pointer; transition: border-color .2s, transform .3s var(--ease); }
.room-icon-btn:hover { border-color: var(--accent); transform: translateY(-1px); }
.room-icon-btn svg { width: 26px; height: 26px; }
.icon-picker { padding: 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface-2); animation: st-pop .2s var(--ease); }
.icon-picker__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 8px; }
.edio .icon-picker__head input { flex: 1; max-width: 360px; min-height: 42px; }
.icon-picker__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 6px; max-height: 300px; overflow: auto; margin-top: 8px; }
.icon-picker__item { display: grid; justify-items: center; gap: 6px; padding: 12px 4px 8px; border: 1px solid transparent; border-radius: 10px; background: #fff; color: var(--soft); cursor: pointer; transition: border-color .2s, color .2s; }
.icon-picker__item:hover, .icon-picker__item:focus-visible { border-color: var(--accent); color: var(--accent-2); }
.icon-picker__item > span { font: 700 20px/24px var(--ui); }
.icon-picker__item small { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 11px; color: var(--muted); }
.room-rules { display: grid; gap: 12px; }
.room-rules__group { margin: 0; padding: 0; border: 0; }
.room-rules__group legend { margin-bottom: 8px; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.chip-check { position: relative; display: inline-flex; margin: 0 6px 6px 0; cursor: pointer; }
.chip-check input { position: absolute; opacity: 0; }
.chip-check span { padding: 8px 14px; border: 1px solid var(--line-2); border-radius: 999px; background: #fff; font-size: 14px; font-weight: 600; color: var(--soft); transition: all .2s; }
.chip-check span::before { content: "+ "; color: var(--muted); }
.chip-check input:checked + span { border-color: var(--accent); background: var(--accent-soft); color: var(--accent-2); }
.chip-check input:checked + span::before { content: "✓ "; color: var(--accent-2); }
.chip-check input:focus-visible + span { box-shadow: 0 0 0 3px rgba(4, 148, 114, .3); }
.com__dot svg, .gitem__hash svg { width: 18px; height: 18px; }
.gitem__hash svg { width: 22px; height: 22px; }
.com__hash svg { width: .85em; height: .85em; vertical-align: -.08em; }.span-1 { grid-column: span 1; } .span-7 { grid-column: span 7; } .span-10 { grid-column: span 10; } .span-11 { grid-column: span 11; }
.gform__grid .chip-check { display: inline-flex !important; width: auto; }
/* Ícone da sala: sempre visível, inclusive ao passar o mouse e na sala aberta */
.com__spaces .com__dot { color: var(--soft); transition: background-color .2s, color .2s, box-shadow .2s; }
.com__spaces a:hover .com__dot { background: #fff; color: var(--accent-2); box-shadow: 0 1px 3px rgba(0, 0, 0, .08); }
.com__spaces a[aria-current] .com__dot { background: #fff; color: var(--accent-2); box-shadow: 0 1px 3px rgba(4, 148, 114, .25); }
.com__dot svg { stroke: currentColor; }.com__spaces .com__dot svg, .com__hash svg, .gitem__hash svg { margin: 0; display: block; flex-shrink: 0; }
.com__spaces .com__dot { padding: 0; line-height: 0; }
.com__spaces .com__dot svg { color: inherit; }
.lq__opt input { flex: 0 0 auto; margin: 0; }
@media (max-width: 600px) { .lq { padding: 18px 14px; } .lq__opts, .lq__fb, .lq__hint { margin-left: 0; } .lq__q { padding: 14px 12px; } }
.com > *, .com__main, .com__side { min-width: 0; }
.com__hash svg { display: inline-block; vertical-align: -.08em; }

/* Tabelas viram cartões no celular (rótulo de cada coluna ao lado do valor). */
@media (max-width: 640px) {
	.gtable-wrap { overflow: visible; }
	.gtable thead { display: none; }
	.gtable, .gtable tbody, .gtable tr, .gtable td { display: block; width: 100%; }
	.gtable tr { padding: 14px 16px; border-top: 1px solid var(--line); }
	.gtable tbody tr:first-child { border-top: 0; }
	.gtable tr:hover td { background: none; }
	.gtable td { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 4px 0; border: 0; text-align: right; }
	.gtable td::before { content: attr(data-label); flex: 0 0 auto; color: var(--muted); font-size: 13px; font-weight: 600; text-align: left; }
	.gtable td:first-child { display: block; padding-bottom: 8px; text-align: left; }
	.gtable td:first-child::before, .gtable td[data-label=""]::before { content: none; }
	.gtable td[data-label=""] { justify-content: flex-start; padding-top: 10px; }
	.gtable .st-prog { width: 90px; }
}

@media (max-width: 640px) {
	.st-card { padding: 18px 14px; }
	.st-q { padding: 12px 10px; }
	.st-alt { grid-template-columns: 28px minmax(0, 1fr) 28px; gap: 6px; }
	.edio .st-alt__txt { padding-inline: 10px; }
}

.com__spaces { scrollbar-width: none; }
.com__spaces::-webkit-scrollbar { display: none; }

.tutor-learning-area-footer .tutor-mark-as-complete-button span { white-space: nowrap; }
@media (max-width: 480px) {
	.tutor-learning-area-footer { gap: 8px; padding-inline: 8px; }
	.edio .tutor-learning-area-footer > a.tutor-btn { font-size: 0 !important; gap: 0 !important; width: 44px !important; min-width: 44px; height: 44px; padding: 0 !important; justify-content: center; }
	.edio .tutor-learning-area-footer > a.tutor-btn svg { width: 20px; height: 20px; }
}

/* Tutor 4 usa Inter por padrão; aqui segue a fonte do site. */
:root { --tutor-font-family-body: var(--ui); --tutor-font-family-heading: var(--ui); }
.toasts > .toast:nth-child(n+4) { display: none; }

/* A capa do curso já mostra o progresso; o bloco do Tutor repetia a mesma informação. */
.course__entry .tutor-course-progress-wrapper { display: none; }
