/* ==========================================================
   Prepara Redação — Design System
   ========================================================== */
:root {
  --pink: #E8399A;
  --pink-600: #C81E7E;
  --pink-700: #A3176A;
  --pink-50: #FFF1F8;
  --pink-100: #FCDCEC;
  --yellow: #FFDF58;
  --yellow-600: #F2C21B;
  --yellow-50: #FFF9DE;
  --ink: #2A1630;
  --ink-2: #4A3550;
  --muted: #84708A;
  --line: #F1E4EC;
  --bg: #FFFAF3;
  --card: #FFFFFF;
  --green: #16A34A; --green-50: #EAF8EF;
  --amber: #D97706; --amber-50: #FFF5E0;
  --red: #E11D48; --red-50: #FFECF0;
  --blue: #2563EB; --blue-50: #EAF1FF;
  --purple: #9333EA; --purple-50: #F5EBFF;
  --gray-50: #F7F3F6;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(42,22,48,.04), 0 6px 24px rgba(42,22,48,.06);
  --shadow-lg: 0 20px 60px rgba(42,22,48,.18);
  --sidebar: 264px;
  --font: 'Nunito Sans', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --font-head: 'Lexend', 'Nunito Sans', system-ui, sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { font-family: var(--font); color: var(--ink); background: var(--bg); font-size: 14.5px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
a { color: var(--pink-600); text-decoration: none; }
a:hover { color: var(--pink-700); }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 600; letter-spacing: -.01em; margin: 0 0 .4em; color: var(--ink); }
h1 { font-size: 26px; } h2 { font-size: 20px; } h3 { font-size: 16.5px; } h4 { font-size: 14.5px; }
img { max-width: 100%; }
hr { border: 0; border-top: 1px solid var(--line); margin: 20px 0; }
.muted { color: var(--muted); }
.small { font-size: 12.5px; }
.nowrap { white-space: nowrap; }
.text-right { text-align: right; } .text-center { text-align: center; }
.mt-0{margin-top:0}.mt-1{margin-top:6px}.mt-2{margin-top:12px}.mt-3{margin-top:20px}.mt-4{margin-top:32px}
.mb-0{margin-bottom:0}.mb-1{margin-bottom:6px}.mb-2{margin-bottom:12px}.mb-3{margin-bottom:20px}
.flex { display: flex; align-items: center; gap: 10px; }
.flex-wrap { flex-wrap: wrap; }
.between { justify-content: space-between; }
.grow { flex: 1; min-width: 0; }
.gap-sm { gap: 6px; } .gap-lg { gap: 18px; }
.grid { display: grid; gap: 18px; }
.g-2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
.g-3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.g-4 { grid-template-columns: repeat(4, minmax(0,1fr)); }
.g-side { grid-template-columns: minmax(0,1fr) 340px; align-items: start; }
.g-side-l { grid-template-columns: 340px minmax(0,1fr); align-items: start; }
@media (max-width: 980px) { .g-side, .g-side-l { grid-template-columns: 1fr; } }
.hide { display: none !important; }
[x-cloak] { display: none; }

/* ---------- Layout ---------- */
.app { display: flex; min-height: 100vh; }
.sidebar { width: var(--sidebar); background: #fff; border-right: 1px solid var(--line); position: fixed; inset: 0 auto 0 0; display: flex; flex-direction: column; z-index: 40; transition: transform .25s; }
.sidebar .brand { padding: 18px 22px 10px; display: flex; align-items: center; gap: 10px; }
.sidebar .brand img { height: 58px; }
.nav { padding: 8px 14px 20px; overflow-y: auto; flex: 1; }
.nav-label { font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #B7A3BC; padding: 16px 12px 6px; }
.nav a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; color: var(--ink-2); font-weight: 600; margin-bottom: 2px; transition: background .15s, color .15s; }
.nav a svg { width: 19px; height: 19px; stroke-width: 2; color: #A893AE; transition: color .15s; }
.nav a:hover { background: var(--pink-50); color: var(--pink-700); }
.nav a:hover svg { color: var(--pink); }
.nav a.active { background: linear-gradient(135deg, var(--pink), #F45FB0); color: #fff; box-shadow: 0 6px 18px rgba(232,57,154,.35); }
.nav a.active svg { color: #fff; }
.nav .count { margin-left: auto; background: var(--yellow); color: var(--ink); border-radius: 999px; font-size: 11px; font-weight: 800; padding: 1px 8px; }
.nav a.active .count { background: #fff; color: var(--pink-700); }
.sidebar-foot { padding: 14px; border-top: 1px solid var(--line); }
.sidebar-foot .help { background: var(--yellow-50); border: 1px dashed var(--yellow-600); border-radius: 14px; padding: 12px 14px; font-size: 12.5px; color: var(--ink-2); }

.main { flex: 1; margin-left: var(--sidebar); min-width: 0; display: flex; flex-direction: column; }
.topbar { height: 68px; display: flex; align-items: center; gap: 14px; padding: 0 28px; background: rgba(255,250,243,.85); backdrop-filter: blur(10px); position: sticky; top: 0; z-index: 30; border-bottom: 1px solid transparent; }
.topbar.scrolled { border-bottom-color: var(--line); }
.topbar .burger { display: none; }
.topbar .title { font-family: var(--font-head); font-weight: 600; font-size: 18px; }
.content { padding: 8px 28px 40px; flex: 1; }
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin: 10px 0 22px; flex-wrap: wrap; }
.page-head h1 { margin: 0; }
.page-head p { margin: 4px 0 0; color: var(--muted); }

.icon-btn { width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--line); background: #fff; display: inline-grid; place-items: center; cursor: pointer; color: var(--ink-2); position: relative; transition: all .15s; }
.icon-btn:hover { border-color: var(--pink-100); color: var(--pink); }
.icon-btn svg { width: 19px; height: 19px; }
.icon-btn .dot { position: absolute; top: 7px; right: 8px; width: 9px; height: 9px; border-radius: 50%; background: var(--pink); border: 2px solid #fff; }

.avatar { width: 38px; height: 38px; border-radius: 50%; background: linear-gradient(135deg, var(--yellow), #FFC94A); color: var(--ink); display: inline-grid; place-items: center; font-weight: 800; font-size: 13px; flex-shrink: 0; overflow: hidden; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatar.sm { width: 30px; height: 30px; font-size: 11px; }
.avatar.lg { width: 72px; height: 72px; font-size: 22px; }
.avatar.pink { background: linear-gradient(135deg, var(--pink-100), #F9C0DD); color: var(--pink-700); }

.user-menu { display: flex; align-items: center; gap: 10px; cursor: pointer; padding: 4px 8px 4px 4px; border-radius: 999px; border: 1px solid var(--line); background: #fff; }
.user-menu .who { line-height: 1.15; }
.user-menu .who b { font-size: 13px; display: block; }
.user-menu .who span { font-size: 11.5px; color: var(--muted); }

/* ---------- Dropdown ---------- */
.dropdown { position: relative; }
.dropdown-menu { position: absolute; right: 0; top: calc(100% + 8px); background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lg); min-width: 220px; padding: 6px; display: none; z-index: 60; }
.dropdown.open .dropdown-menu { display: block; animation: pop .15s ease-out; }
.dropdown-menu a, .dropdown-menu button { display: flex; align-items: center; gap: 10px; width: 100%; padding: 9px 12px; border-radius: 10px; color: var(--ink-2); font: inherit; font-weight: 600; background: none; border: 0; cursor: pointer; text-align: left; }
.dropdown-menu a:hover, .dropdown-menu button:hover { background: var(--pink-50); color: var(--pink-700); }
.dropdown-menu svg { width: 17px; height: 17px; }
.dropdown-menu .sep { height: 1px; background: var(--line); margin: 6px 4px; }
.notif-menu { width: 340px; max-height: 420px; overflow-y: auto; }
.notif-item { display: flex; gap: 10px; padding: 10px; border-radius: 10px; color: var(--ink); }
.notif-item:hover { background: var(--pink-50); }
.notif-item.unread { background: var(--yellow-50); }
.notif-item .ni { width: 34px; height: 34px; border-radius: 10px; background: var(--pink-50); color: var(--pink); display: grid; place-items: center; flex-shrink: 0; }
.notif-item .ni svg { width: 16px; height: 16px; }
@keyframes pop { from { opacity: 0; transform: translateY(-4px) scale(.98); } to { opacity: 1; transform: none; } }

/* ---------- Cards ---------- */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.card-body { padding: 22px; }
.card-head { padding: 18px 22px; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.card-head h3 { margin: 0; }
.card-foot { padding: 14px 22px; border-top: 1px solid var(--line); }

.kpi { padding: 20px; display: flex; gap: 16px; align-items: center; position: relative; overflow: hidden; }
.kpi .ki { width: 50px; height: 50px; border-radius: 15px; display: grid; place-items: center; flex-shrink: 0; }
.kpi .ki svg { width: 24px; height: 24px; }
.kpi .kv { font-family: var(--font-head); font-size: 26px; font-weight: 700; line-height: 1.1; }
.kpi .kl { color: var(--muted); font-size: 13px; font-weight: 600; }
.kpi.pink .ki { background: var(--pink-50); color: var(--pink); }
.kpi.yellow .ki { background: var(--yellow-50); color: #C49400; }
.kpi.green .ki { background: var(--green-50); color: var(--green); }
.kpi.blue .ki { background: var(--blue-50); color: var(--blue); }
.kpi.red .ki { background: var(--red-50); color: var(--red); }
.kpi.purple .ki { background: var(--purple-50); color: var(--purple); }

.hero { background: linear-gradient(120deg, var(--pink) 0%, #F35DB1 55%, #FF8FC8 100%); color: #fff; border-radius: 22px; padding: 28px 32px; position: relative; overflow: hidden; }
.hero h1, .hero h2 { color: #fff; }
.hero p { opacity: .92; margin: 0; }
.hero::after { content: ''; position: absolute; right: -60px; top: -60px; width: 260px; height: 260px; border-radius: 50%; background: var(--yellow); opacity: .9; }
.hero::before { content: ''; position: absolute; right: 120px; bottom: -90px; width: 180px; height: 180px; border-radius: 50%; background: rgba(255,255,255,.14); }
.hero > * { position: relative; z-index: 1; }
.hero .btn { background: #fff; color: var(--pink-700); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 18px; border-radius: 12px; border: 1px solid transparent; background: var(--pink); color: #fff; font: inherit; font-weight: 700; cursor: pointer; transition: all .15s; white-space: nowrap; text-decoration: none; line-height: 1.2; }
.btn:hover { background: var(--pink-600); color: #fff; transform: translateY(-1px); box-shadow: 0 6px 16px rgba(232,57,154,.28); }
.btn:active { transform: none; }
.btn svg { width: 17px; height: 17px; }
.btn.sm { padding: 7px 12px; font-size: 13px; border-radius: 10px; }
.btn.sm svg { width: 15px; height: 15px; }
.btn.lg { padding: 13px 24px; font-size: 15.5px; border-radius: 14px; }
.btn.block { width: 100%; }
.btn.ghost { background: #fff; color: var(--ink-2); border-color: var(--line); }
.btn.ghost:hover { border-color: var(--pink-100); color: var(--pink-700); background: var(--pink-50); box-shadow: none; }
.btn.soft { background: var(--pink-50); color: var(--pink-700); }
.btn.soft:hover { background: var(--pink-100); box-shadow: none; }
.btn.yellow { background: var(--yellow); color: var(--ink); }
.btn.yellow:hover { background: var(--yellow-600); box-shadow: 0 6px 16px rgba(242,194,27,.35); }
.btn.dark { background: var(--ink); }
.btn.dark:hover { background: #170a1a; box-shadow: none; }
.btn.danger { background: var(--red-50); color: var(--red); }
.btn.danger:hover { background: var(--red); color: #fff; box-shadow: none; }
.btn.green { background: var(--green); }
.btn.green:hover { background: #12843c; box-shadow: 0 6px 16px rgba(22,163,74,.28); }
.btn.blue { background: var(--blue); }
.btn.blue:hover { background: #1d4fd0; box-shadow: none; }
.btn[disabled], .btn.disabled { opacity: .5; pointer-events: none; }
.link-btn { background: none; border: 0; color: var(--pink-600); font: inherit; font-weight: 700; cursor: pointer; padding: 0; }

/* ---------- Badges ---------- */
.badge { display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; background: var(--gray-50); color: var(--ink-2); white-space: nowrap; }
.badge svg { width: 13px; height: 13px; }
.badge.green { background: var(--green-50); color: var(--green); }
.badge.amber { background: var(--amber-50); color: var(--amber); }
.badge.red { background: var(--red-50); color: var(--red); }
.badge.blue { background: var(--blue-50); color: var(--blue); }
.badge.pink { background: var(--pink-50); color: var(--pink-700); }
.badge.purple { background: var(--purple-50); color: var(--purple); }
.badge.yellow { background: var(--yellow-50); color: #9A7400; }
.badge.dark { background: var(--ink); color: #fff; }
.dot-s { width: 8px; height: 8px; border-radius: 50%; display: inline-block; background: currentColor; }

/* ---------- Forms ---------- */
.field { margin-bottom: 16px; }
.field > label, .label { display: block; font-weight: 700; font-size: 13px; margin-bottom: 6px; color: var(--ink-2); }
.field .hint { font-size: 12px; color: var(--muted); margin-top: 5px; }
.input, select.input, textarea.input { width: 100%; padding: 11px 14px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; font: inherit; color: var(--ink); transition: border .15s, box-shadow .15s; outline: none; }
.input:focus { border-color: var(--pink); box-shadow: 0 0 0 4px rgba(232,57,154,.12); }
textarea.input { resize: vertical; min-height: 90px; }
select.input { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%2384708A' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 36px; }
.input.sm { padding: 8px 12px; border-radius: 10px; font-size: 13.5px; }
select.input.sm { padding-right: 34px; background-position: right 10px center; }
.input-icon { position: relative; }
.input-icon svg { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); width: 17px; height: 17px; color: var(--muted); pointer-events: none; }
.input-icon .input { padding-left: 40px; }
.check { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; font-weight: 600; padding: 6px 0; }
.check input { width: 18px; height: 18px; accent-color: var(--pink); margin-top: 1px; flex-shrink: 0; }
.check small { display: block; font-weight: 500; color: var(--muted); }
.switch { position: relative; display: inline-flex; align-items: center; gap: 12px; cursor: pointer; }
.switch input { display: none; }
.switch .sl { width: 42px; height: 24px; border-radius: 999px; background: #E6D9E2; position: relative; transition: background .2s; flex-shrink: 0; }
.switch .sl::after { content: ''; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0,0,0,.15); transition: transform .2s; }
.switch input:checked + .sl { background: var(--pink); }
.switch input:checked + .sl::after { transform: translateX(18px); }
.radio-cards { display: grid; gap: 10px; }
.radio-card { display: flex; gap: 12px; align-items: flex-start; border: 1.5px solid var(--line); border-radius: 14px; padding: 12px 14px; cursor: pointer; transition: all .15s; }
.radio-card:has(input:checked) { border-color: var(--pink); background: var(--pink-50); }
.radio-card input { accent-color: var(--pink); margin-top: 3px; }
.check-list { max-height: 210px; overflow-y: auto; border: 1.5px solid var(--line); border-radius: 12px; padding: 6px 12px; }

.dropzone { border: 2px dashed #E9C6DA; border-radius: 16px; padding: 26px; text-align: center; background: var(--pink-50); cursor: pointer; transition: all .15s; position: relative; }
.dropzone:hover, .dropzone.over { border-color: var(--pink); background: #FFE6F3; }
.dropzone svg { width: 34px; height: 34px; color: var(--pink); }
.dropzone input[type=file] { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.dropzone b { display: block; margin-top: 6px; }
.dropzone small { color: var(--muted); }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: separate; border-spacing: 0; }
.table th { text-align: left; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); padding: 12px 16px; border-bottom: 1px solid var(--line); background: #FFFCF7; white-space: nowrap; }
.table td { padding: 13px 16px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.table tr:last-child td { border-bottom: 0; }
.table tbody tr { transition: background .12s; }
.table tbody tr:hover { background: #FFFBF6; }
.table .w-check { width: 44px; }
.table input[type=checkbox] { width: 17px; height: 17px; accent-color: var(--pink); }
.person { display: flex; align-items: center; gap: 10px; }
.person b { display: block; font-weight: 700; }
.person span { font-size: 12.5px; color: var(--muted); }

.toolbar { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; padding: 16px 18px; border-bottom: 1px solid var(--line); }
.toolbar .input { width: auto; }
.bulkbar { display: none; align-items: center; gap: 10px; padding: 10px 18px; background: var(--yellow-50); border-bottom: 1px solid #F6E7A8; font-weight: 700; flex-wrap: wrap; }
.bulkbar.show { display: flex; }

.pagination { display: flex; gap: 6px; align-items: center; justify-content: flex-end; padding: 14px 18px; flex-wrap: wrap; }
.pagination a, .pagination span { min-width: 34px; height: 34px; padding: 0 10px; border-radius: 10px; display: inline-grid; place-items: center; border: 1px solid var(--line); background: #fff; color: var(--ink-2); font-weight: 700; font-size: 13px; }
.pagination a:hover { border-color: var(--pink); color: var(--pink); }
.pagination .cur { background: var(--pink); color: #fff; border-color: var(--pink); }

/* ---------- Tabs ---------- */
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); padding: 0 12px; overflow-x: auto; }
.tabs a, .tabs button { padding: 14px 14px 12px; color: var(--muted); font-weight: 700; border: 0; background: none; font: inherit; font-weight: 700; cursor: pointer; border-bottom: 3px solid transparent; white-space: nowrap; display: flex; align-items: center; gap: 8px; }
.tabs a:hover, .tabs button:hover { color: var(--pink-700); }
.tabs .active { color: var(--pink-700); border-bottom-color: var(--pink); }
.tabs .tc { background: var(--gray-50); color: var(--ink-2); border-radius: 999px; padding: 0 8px; font-size: 12px; }
.tabs .active .tc { background: var(--pink-50); color: var(--pink-700); }
.pills { display: inline-flex; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 4px; gap: 4px; }
.pills a, .pills button { padding: 7px 14px; border-radius: 9px; font-weight: 700; color: var(--muted); background: none; border: 0; font: inherit; font-weight: 700; cursor: pointer; }
.pills .active { background: var(--pink); color: #fff; }

/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; background: rgba(42,22,48,.45); backdrop-filter: blur(3px); z-index: 100; display: none; align-items: flex-start; justify-content: center; padding: 5vh 16px; overflow-y: auto; }
.modal.open { display: flex; animation: fade .15s; }
.modal-box { background: #fff; border-radius: 22px; width: 100%; max-width: 560px; box-shadow: var(--shadow-lg); animation: pop .2s ease-out; }
.modal-box.lg { max-width: 820px; }
.modal-box.xl { max-width: 1040px; }
.modal-head { padding: 20px 24px; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; }
.modal-head h3 { margin: 0; }
.modal-body { padding: 22px 24px; }
.modal-foot { padding: 16px 24px; border-top: 1px solid var(--line); display: flex; justify-content: flex-end; gap: 10px; background: #FFFCF7; border-radius: 0 0 22px 22px; }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

/* ---------- Toast / Alerts ---------- */
.toasts { position: fixed; right: 20px; bottom: 20px; z-index: 200; display: flex; flex-direction: column; gap: 10px; }
.toast { background: var(--ink); color: #fff; padding: 13px 18px; border-radius: 14px; box-shadow: var(--shadow-lg); display: flex; gap: 10px; align-items: center; font-weight: 600; max-width: 380px; animation: pop .2s; }
.toast.success { background: #11803A; } .toast.error { background: var(--red); } .toast.info { background: var(--ink); }
.toast svg { width: 18px; height: 18px; flex-shrink: 0; }
.alert { padding: 13px 16px; border-radius: 12px; display: flex; gap: 10px; align-items: flex-start; font-weight: 600; margin-bottom: 16px; }
.alert svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 1px; }
.alert.info { background: var(--blue-50); color: #1E40AF; }
.alert.warn { background: var(--amber-50); color: #92400E; }
.alert.success { background: var(--green-50); color: #166534; }
.alert.error { background: var(--red-50); color: #9F1239; }
.alert.pink { background: var(--pink-50); color: var(--pink-700); }

/* ---------- Empty ---------- */
.empty { text-align: center; padding: 48px 20px; color: var(--muted); }
.empty .ei { width: 70px; height: 70px; border-radius: 22px; margin: 0 auto 14px; background: var(--yellow-50); display: grid; place-items: center; color: #C49400; }
.empty .ei svg { width: 32px; height: 32px; }
.empty h3 { color: var(--ink); }

/* ---------- Tema cards ---------- */
.cards-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.tcard { background: #fff; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; transition: transform .18s, box-shadow .18s; }
.tcard:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(42,22,48,.10); }
.tcard .cover { aspect-ratio: 16/9; background: linear-gradient(135deg, var(--pink) 0%, #FF8FC8 60%, var(--yellow) 140%); position: relative; overflow: hidden; }
.tcard .cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tcard .cover .ph { position: absolute; inset: 0; display: grid; place-items: center; color: rgba(255,255,255,.9); }
.tcard .cover .ph svg { width: 42px; height: 42px; }
.tcard .cover .badge { position: absolute; top: 12px; left: 12px; box-shadow: 0 2px 8px rgba(0,0,0,.1); }
.tcard .tb { padding: 16px 18px; flex: 1; display: flex; flex-direction: column; gap: 8px; }
.tcard .tb h3 { font-size: 15px; line-height: 1.35; margin: 0; }
.tcard .meta { font-size: 12.5px; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.tcard .meta svg { width: 14px; height: 14px; }
.tcard .tf { padding: 12px 18px; border-top: 1px solid var(--line); display: flex; gap: 8px; justify-content: flex-end; }

/* ---------- Turmas ---------- */
.split { display: grid; grid-template-columns: 330px 1fr; gap: 20px; align-items: start; }
.list-item { display: block; padding: 14px 16px; border-radius: 14px; border: 1.5px solid transparent; color: var(--ink); margin-bottom: 6px; transition: all .15s; }
.list-item:hover { background: var(--pink-50); color: var(--ink); }
.list-item.active { border-color: var(--pink); background: var(--pink-50); }
.list-item b { display: block; }
.list-item small { color: var(--muted); }
.color-dot { width: 12px; height: 12px; border-radius: 4px; display: inline-block; }
.copybox { display: flex; align-items: center; gap: 8px; background: var(--gray-50); border-radius: 12px; padding: 8px 8px 8px 14px; font-family: ui-monospace, monospace; font-size: 12.5px; }
.copybox span { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------- Score ---------- */
.score { font-family: var(--font-head); font-weight: 700; }
.score.green { color: var(--green); } .score.amber { color: var(--amber); } .score.red { color: var(--red); }
.score-ring { --p: 0; --c: var(--pink); width: 120px; height: 120px; border-radius: 50%; background: conic-gradient(var(--c) calc(var(--p) * 1%), #F4E8EF 0); display: grid; place-items: center; }
.score-ring > div { width: 94px; height: 94px; border-radius: 50%; background: #fff; display: grid; place-items: center; text-align: center; }
.score-ring b { font-family: var(--font-head); font-size: 26px; line-height: 1; }
.score-ring small { color: var(--muted); font-size: 11px; }
.progress { height: 8px; background: #F4E8EF; border-radius: 999px; overflow: hidden; }
.progress > div { height: 100%; background: linear-gradient(90deg, var(--pink), #FF8FC8); border-radius: 999px; }

/* ---------- Auth ---------- */
.auth { min-height: 100vh; display: grid; grid-template-columns: 1.05fr 1fr; }
.auth-art { background: var(--yellow); position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: center; align-items: center; padding: 40px; }
.auth-art::before { content: ''; position: absolute; width: 520px; height: 520px; border-radius: 50%; background: rgba(232,57,154,.10); top: -160px; left: -160px; }
.auth-art::after { content: ''; position: absolute; width: 380px; height: 380px; border-radius: 50%; background: rgba(255,255,255,.35); bottom: -140px; right: -100px; }
.auth-art img { width: min(380px, 80%); position: relative; z-index: 1; filter: drop-shadow(0 18px 30px rgba(163,23,106,.18)); }
.auth-art .tag { position: relative; z-index: 1; margin-top: 26px; text-align: center; max-width: 380px; }
.auth-art .tag h2 { font-size: 24px; color: var(--pink-700); }
.auth-art .tag p { color: var(--ink-2); margin: 0; }
.auth-art .floating { position: absolute; z-index: 1; background: #fff; border-radius: 16px; padding: 12px 16px; box-shadow: 0 14px 30px rgba(42,22,48,.12); display: flex; gap: 10px; align-items: center; font-weight: 700; font-size: 13px; }
.auth-art .floating svg { width: 20px; height: 20px; color: var(--pink); }
.auth-form { display: flex; align-items: center; justify-content: center; padding: 40px 24px; background: #fff; }
.auth-form .box { width: 100%; max-width: 400px; }
.auth-form h1 { font-size: 28px; }

/* ---------- Charts ---------- */
.chart-box { position: relative; height: 280px; }
.chart-box.sm { height: 220px; }

/* ---------- Lista de redações (aluno) ---------- */
.rlist .ritem { display: flex; gap: 14px; align-items: center; padding: 14px 18px; border-bottom: 1px solid var(--line); color: var(--ink); }
.rlist .ritem:last-child { border-bottom: 0; }
.rlist .ritem:hover { background: #FFFBF6; }
.rlist .rnote { width: 64px; height: 64px; border-radius: 16px; display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; font-size: 18px; flex-shrink: 0; }
.rnote.green { background: var(--green-50); color: var(--green); }
.rnote.amber { background: var(--amber-50); color: var(--amber); }
.rnote.red { background: var(--red-50); color: var(--red); }
.rnote.gray { background: var(--gray-50); color: var(--muted); }

/* ---------- Videoaulas ---------- */
.course-card .cover { aspect-ratio: 16/9; }
.player-wrap { display: grid; grid-template-columns: 1fr 360px; gap: 20px; align-items: start; }
.player { aspect-ratio: 16/9; background: #120914; border-radius: 18px; overflow: hidden; }
.player iframe, .player video { width: 100%; height: 100%; border: 0; display: block; }
.playlist { max-height: calc(100vh - 160px); overflow-y: auto; }
.pl-item { display: flex; gap: 12px; align-items: center; padding: 12px 16px; border-bottom: 1px solid var(--line); color: var(--ink); cursor: pointer; }
.pl-item:hover { background: var(--pink-50); color: var(--ink); }
.pl-item.active { background: var(--pink-50); box-shadow: inset 3px 0 0 var(--pink); }
.pl-item .pn { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--gray-50); font-weight: 800; font-size: 12px; flex-shrink: 0; }
.pl-item.done .pn { background: var(--green); color: #fff; }
.pl-item .pn svg { width: 15px; height: 15px; }

/* ---------- Correção / Visualização ---------- */
.essay-page { position: relative; margin: 0 auto 18px; background: #fff; border-radius: 6px; box-shadow: 0 6px 24px rgba(42,22,48,.12); user-select: none; line-height: 0; }
.essay-page img { width: 100%; display: block; border-radius: 6px; pointer-events: none; }
.essay-page svg.ov { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.ov .ann { cursor: pointer; }
.ov .ann rect, .ov .ann line, .ov .ann path { fill: none; vector-effect: non-scaling-stroke; }
.ov .ann rect.fill { stroke: none; opacity: .12; }
.ov .ann.dim { opacity: .18; }
.ov .ann.hl rect:not(.fill), .ov .ann.hl line, .ov .ann.hl path { stroke-width: 4 !important; }
.ann-num { position: absolute; transform: translate(-50%, -50%); min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; color: #fff; font-size: 11px; font-weight: 800; display: grid; place-items: center; line-height: 1; pointer-events: auto; cursor: pointer; box-shadow: 0 2px 6px rgba(0,0,0,.25); border: 2px solid #fff; z-index: 2; }
.ann-num.dim { opacity: .2; }
.essay-wrap { background: #EEE5EB; border-radius: 18px; padding: 24px; min-height: 60vh; overflow: auto; }

.comp-block { border: 1px solid var(--line); border-radius: 14px; margin-bottom: 10px; overflow: hidden; background: #fff; }
.comp-head { display: flex; align-items: center; gap: 10px; padding: 12px 14px; cursor: pointer; }
.comp-head .cbadge { width: 32px; height: 32px; border-radius: 10px; color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 12px; flex-shrink: 0; }
.comp-head .ct { flex: 1; font-size: 13px; font-weight: 600; line-height: 1.35; }
.comp-head .cn { font-family: var(--font-head); font-weight: 700; white-space: nowrap; }
.comp-body { padding: 0 14px 14px; display: none; }
.comp-block.open .comp-body { display: block; }
.comp-block .chev { transition: transform .2s; width: 18px; height: 18px; color: var(--muted); }
.comp-block.open .chev { transform: rotate(180deg); }
.ann-card { display: flex; gap: 10px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; margin-top: 8px; cursor: pointer; transition: all .12s; font-size: 13.5px; }
.ann-card:hover, .ann-card.hl { border-color: var(--pink); background: var(--pink-50); }
.ann-card .an { min-width: 22px; height: 22px; padding: 0 5px; border-radius: 999px; color: #fff; display: grid; place-items: center; font-size: 11px; font-weight: 800; flex-shrink: 0; }
.ann-card .at { flex: 1; }
.ann-card .acts { display: flex; gap: 4px; opacity: .5; }
.ann-card:hover .acts { opacity: 1; }
.ann-card .acts button { background: none; border: 0; cursor: pointer; color: var(--muted); padding: 2px; }
.ann-card .acts button:hover { color: var(--red); }
.ann-card .acts svg { width: 15px; height: 15px; }

.score-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; }
.score-grid button { padding: 8px 0; border-radius: 9px; border: 1.5px solid var(--line); background: #fff; font: inherit; font-weight: 800; font-size: 13px; cursor: pointer; color: var(--ink-2); transition: all .1s; }
.score-grid button:hover { border-color: var(--pink); color: var(--pink); }
.score-grid button.on { background: var(--pink); border-color: var(--pink); color: #fff; }
.nivel-desc { background: var(--yellow-50); border-radius: 10px; padding: 9px 12px; font-size: 12.5px; color: var(--ink-2); margin-top: 8px; min-height: 36px; }

/* Editor */
.editor { display: grid; grid-template-columns: 1fr 400px; height: 100vh; overflow: hidden; }
.editor-left, .editor-right { min-height: 0; overflow: hidden; }
.editor-left { display: flex; flex-direction: column; min-width: 0; background: #EEE5EB; }
.editor-bar { display: flex; align-items: center; gap: 8px; padding: 10px 16px; background: #fff; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.tool-group { display: inline-flex; background: var(--gray-50); border-radius: 12px; padding: 3px; gap: 2px; }
.tool { width: 38px; height: 36px; border-radius: 9px; border: 0; background: none; cursor: pointer; display: grid; place-items: center; color: var(--ink-2); position: relative; }
.tool:hover { background: #fff; color: var(--pink); }
.tool.on { background: #fff; color: var(--pink); box-shadow: 0 2px 6px rgba(42,22,48,.1); }
.tool svg { width: 18px; height: 18px; }
.tool[data-tip]:hover::after { content: attr(data-tip); position: absolute; top: calc(100% + 6px); left: 50%; transform: translateX(-50%); background: var(--ink); color: #fff; font-size: 11.5px; padding: 4px 8px; border-radius: 6px; white-space: nowrap; z-index: 10; line-height: 1.3; }
.editor-canvas { flex: 1; overflow: auto; padding: 26px; min-height: 0; }
.editor-canvas .essay-page { max-width: var(--zoomw, 860px); }
.editor-canvas.drawing .essay-page { cursor: crosshair; }
.editor-right { background: #fff; border-left: 1px solid var(--line); display: flex; flex-direction: column; min-height: 0; }
.editor-right .er-head { padding: 16px 18px; border-bottom: 1px solid var(--line); }
.editor-right .er-body { flex: 1; overflow-y: auto; padding: 14px 16px; }
.editor-right .er-foot { padding: 14px 16px; border-top: 1px solid var(--line); display: grid; gap: 8px; }
.total-pill { display: flex; align-items: baseline; gap: 4px; background: var(--pink-50); border-radius: 14px; padding: 8px 16px; }
.total-pill b { font-family: var(--font-head); font-size: 26px; color: var(--pink-700); }
.total-pill span { color: var(--muted); font-weight: 700; }

.ann-pop { position: fixed; z-index: 120; width: 340px; background: #fff; border-radius: 18px; box-shadow: var(--shadow-lg); border: 1px solid var(--line); padding: 16px; display: none; }
.ann-pop.open { display: block; animation: pop .15s; }
.comp-pick { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 10px; }
.comp-pick button { border: 2px solid transparent; border-radius: 10px; padding: 6px 10px; color: #fff; font-weight: 800; cursor: pointer; opacity: .55; font: inherit; font-weight: 800; font-size: 12.5px; }
.comp-pick button.on { opacity: 1; border-color: var(--ink); }
.sugs { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0 10px; max-height: 110px; overflow-y: auto; }
.sugs button { border: 1px solid var(--line); background: var(--gray-50); border-radius: 999px; padding: 4px 10px; font: inherit; font-size: 12px; cursor: pointer; color: var(--ink-2); }
.sugs button:hover { border-color: var(--pink); color: var(--pink-700); background: var(--pink-50); }

.rec-btn.recording { background: var(--red); color: #fff; animation: pulse 1.2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(225,29,72,.15); } }

.view-grid { display: grid; grid-template-columns: 1fr 400px; gap: 20px; align-items: start; }
.sticky { position: sticky; top: 84px; }
.side-scroll { max-height: calc(100vh - 110px); overflow-y: auto; }

/* Zerada */
.zerada { background: var(--red-50); border: 1px solid #FBC6D2; color: #9F1239; border-radius: 14px; padding: 14px 16px; font-weight: 700; }

/* ---------- Responsivo ---------- */
@media (max-width: 1200px) {
  .g-4 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .view-grid, .player-wrap { grid-template-columns: 1fr; }
  .editor { grid-template-columns: 1fr 340px; }
}
@media (max-width: 980px) {
  .sidebar { transform: translateX(-100%); box-shadow: var(--shadow-lg); }
  body.nav-open .sidebar { transform: none; }
  body.nav-open::after { content: ''; position: fixed; inset: 0; background: rgba(42,22,48,.4); z-index: 35; }
  .main { margin-left: 0; }
  .topbar .burger { display: inline-grid; }
  .g-3, .g-2 { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .auth { grid-template-columns: 1fr; }
  .auth-art { min-height: 260px; padding: 30px; }
  .auth-art .floating, .auth-art .tag p { display: none; }
  .auth-art img { width: 200px; }
  .editor { grid-template-columns: 1fr; height: auto; overflow: visible; }
  .editor-left, .editor-right { overflow: visible; }
  .editor-canvas { max-height: 75vh; }
  .editor-right { border-left: 0; border-top: 1px solid var(--line); }
  .user-menu .who { display: none; }
}
@media (max-width: 980px) { .sticky { position: static; } .m-first { order: -1; } .side-scroll { max-height: none; } }
@media (max-width: 640px) {
  .essay-wrap { padding: 8px; border-radius: 12px; }
  .page-head h1 { font-size: 21px; }
  .content { padding: 6px 14px 30px; }
  .topbar { padding: 0 14px; }
  .g-4 { grid-template-columns: 1fr 1fr; }
  .kpi { padding: 14px; gap: 10px; }
  .kpi .ki { width: 40px; height: 40px; }
  .kpi .kv { font-size: 20px; }
  .hero { padding: 22px; }
  .notif-menu { width: 300px; right: -60px; }
}

@media print {
  .sidebar, .topbar, .no-print, .toasts { display: none !important; }
  .main { margin: 0; }
  .content { padding: 0; }
  .view-grid { grid-template-columns: 1fr; }
  .sticky { position: static; }
  .side-scroll { max-height: none; overflow: visible; }
  .comp-body { display: block !important; }
  .card { box-shadow: none; }
  .essay-page { box-shadow: none; page-break-inside: avoid; }
  body { background: #fff; }
}

/* v2 */
.comp-grid { grid-template-columns: 90px 1fr 110px 90px 60px; }
@media (max-width: 760px) { .comp-grid { grid-template-columns: 1fr 1fr; } }
code { background: var(--gray-50); padding: 1px 6px; border-radius: 6px; font-size: 12px; }
.help-step { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.help-step:last-child { border-bottom: 0; }
.help-step .hn { width: 34px; height: 34px; border-radius: 11px; background: var(--pink-50); color: var(--pink-700); display: grid; place-items: center; font-weight: 800; flex-shrink: 0; }
details summary { cursor: pointer; }

.ia-fab { position: fixed; right: 22px; bottom: 22px; width: 56px; height: 56px; border-radius: 18px; background: linear-gradient(135deg,#7c3aed,#E8399A); color: #fff; display: grid; place-items: center; box-shadow: 0 12px 30px rgba(124,58,237,.35); z-index: 90; transition: transform .15s; }
.ia-fab:hover { transform: translateY(-3px) scale(1.04); color: #fff; }
.ia-fab svg { width: 24px; height: 24px; }
.toasts { bottom: 90px; }

.capa-auto { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 14px 18px; color: var(--yellow);
  background: radial-gradient(circle at 15% 20%, rgba(255,255,255,.16) 0 18%, transparent 19%), radial-gradient(circle at 88% 85%, rgba(255,223,88,.22) 0 22%, transparent 23%), linear-gradient(135deg, var(--pink) 0%, #F35DB1 100%); }
.capa-auto img { height: 34px !important; max-width: 60% !important; width: auto !important; position: static !important; inset: auto !important; object-fit: contain !important; margin-bottom: 8px; filter: brightness(0) invert(1) drop-shadow(0 2px 4px rgba(0,0,0,.15)); opacity:.95; }
.capa-auto b { font-family: var(--font-head); font-size: 20px; line-height: 1.15; text-shadow: 0 2px 8px rgba(120,0,60,.25); }
.capa-auto span { color: #fff; font-size: 11.5px; font-weight: 700; opacity: .9; margin-top: 6px; letter-spacing: .06em; text-transform: uppercase; }
.player-vazio { height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; text-align: center; padding: 20px; color: #fff;
  background: radial-gradient(circle at 20% 25%, rgba(255,223,88,.18) 0 20%, transparent 21%), linear-gradient(135deg, #3b1240, #6d1a55 55%, #a3176a); }
.player-vazio .pv-ico { width: 74px; height: 74px; border-radius: 50%; background: rgba(255,255,255,.14); display: grid; place-items: center; margin-bottom: 6px; color: var(--yellow); }
.player-vazio b { font-family: var(--font-head); font-size: 19px; }
.player-vazio span { opacity: .8; font-size: 14px; }

/* ================= Mobile / App (v6) ================= */
@media (max-width: 980px) {
  .g-side, .g-side-l, .g-3, .g-2, .split { grid-template-columns: minmax(0, 1fr) !important; }
}
.grid > *, .g-side > *, .g-side-l > *, .split > * { min-width: 0; }
.input, select.input, textarea.input { max-width: 100%; }
.copybox, .copybox span { overflow-wrap: anywhere; word-break: break-word; min-width: 0; }

/* barra inferior */
.tabbar { display: none; }
.install-bar[hidden] { display: none !important; }
@media (max-width: 980px) {
  .tabbar { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    background: rgba(255,255,255,.96); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px);
    border-top: 1px solid var(--line); box-shadow: 0 -6px 24px rgba(42,22,48,.06); padding: 6px 6px calc(6px + env(safe-area-inset-bottom)); }
  .tabbar a { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 4px 2px; color: var(--muted); font-size: 11px; font-weight: 700; text-decoration: none; -webkit-tap-highlight-color: transparent; }
  .tabbar .ti { position: relative; width: 44px; height: 30px; display: grid; place-items: center; border-radius: 12px; transition: background .15s; }
  .tabbar .ti svg { width: 22px; height: 22px; }
  .tabbar .ti em { position: absolute; top: -3px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--pink); color: #fff; font-style: normal; font-size: 10.5px; line-height: 18px; font-weight: 800; border: 2px solid #fff; }
  .tabbar a.on { color: var(--pink); }
  .tabbar a.on .ti { background: var(--pink-50, #fdeaf4); }
  .tabbar a.tab-main .ti { width: 52px; height: 52px; margin-top: -24px; border-radius: 18px; background: linear-gradient(135deg, var(--pink), #f35db1); color: #fff; box-shadow: 0 10px 22px rgba(232,57,154,.4); border: 3px solid #fff; }
  .tabbar a.tab-main { color: var(--pink); }
  .tabbar a.tab-main .ti em { background: var(--yellow); color: var(--ink, #2a1630); }
  body { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
  .ia-fab { bottom: calc(88px + env(safe-area-inset-bottom)); right: 16px; width: 50px; height: 50px; border-radius: 16px; }
  .toasts { bottom: calc(150px + env(safe-area-inset-bottom)) !important; }
  .sidebar { z-index: 70; }
  body.nav-open::after { z-index: 65 !important; }
  .topbar { padding-top: env(safe-area-inset-top); }

  .install-bar { position: fixed; left: 12px; right: 12px; bottom: calc(84px + env(safe-area-inset-bottom)); z-index: 61; display: flex; align-items: center; gap: 12px;
    background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 10px 10px 10px 12px; box-shadow: var(--shadow-lg); animation: subir .35s ease; }
  .install-bar img { width: 42px; height: 42px; border-radius: 12px; }
  .install-bar b { display: block; font-size: 14px; } .install-bar span { display: block; font-size: 12px; color: var(--muted); line-height: 1.35; }
  @keyframes subir { from { transform: translateY(20px); opacity: 0; } }

  /* toques maiores e inputs que não dão zoom no iPhone */
  .input, select.input, textarea.input { font-size: 16px; }
  .btn { min-height: 42px; }
  .btn.sm { min-height: 36px; }
  .modal { max-height: calc(100dvh - 24px); }
}
.standalone .topbar { padding-top: max(env(safe-area-inset-top), 0px); }

/* filtros recolhidos */
.filtros-toggle { display: none; }
@media (max-width: 760px) {
  .filtros-toggle { display: inline-flex; margin: 12px 14px 0; }
  form.m-filtros:not(.m-aberto) { display: none !important; }
}

/* tabelas → cartões */
@media (max-width: 760px) {
  .table.mcards { min-width: 0 !important; }
  .table.mcards thead { display: none; }
  .table.mcards, .table.mcards tbody, .table.mcards tr, .table.mcards td { display: block; width: 100%; }
  .table.mcards tbody { padding: 4px 10px 10px; }
  .table.mcards tr { border: 1px solid var(--line); border-radius: 16px; margin: 10px 0 0; padding: 8px 14px; background: #fff; box-shadow: 0 2px 8px rgba(42,22,48,.04); }
  .table.mcards tr.full { border: 0; box-shadow: none; padding: 0; background: transparent; }
  .table.mcards td { border: 0 !important; padding: 6px 0 !important; display: flex; align-items: center; justify-content: space-between; gap: 12px; text-align: right; max-width: none !important; white-space: normal; }
  .table.mcards td::before { content: attr(data-label); font-size: 11px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); text-align: left; flex-shrink: 0; }
  .table.mcards td[data-label=""]::before { display: none; }
  .table.mcards td[data-label=""] { justify-content: flex-end; }
  .table.mcards td:first-child { justify-content: flex-start; text-align: left; font-size: 15px; padding-top: 8px !important; }
  .table.mcards td:first-child::before { display: none; }
  .table.mcards td:has(> input[type=checkbox]:only-child) { position: absolute; width: auto; right: 14px; padding: 8px 0 !important; }
  .table.mcards tr:has(td > input[type=checkbox]:only-child) { position: relative; padding-right: 44px; }
  .table.mcards td .btn { margin-left: auto; }
  .table.mcards td.text-right:last-child { justify-content: stretch; } .table.mcards td.text-right:last-child .btn { flex: 1; justify-content: center; }
  .table-wrap:has(.mcards) { overflow: visible; }
}
.capa-auto.ic b { font-size: 18px; }
@media (max-width: 760px) {
  .table.mcards tr { overflow: hidden; }
  .table.mcards td { flex-wrap: wrap; min-width: 0; overflow-wrap: anywhere; }
  .table.mcards td > * { max-width: 100%; }
}
