/* =========================================================
   STAR — Rede Social Acadêmica
   CSS3 puro (Flexbox/Grid), mobile-first, sem frameworks.
   ========================================================= */

:root {
  --navy-900: #0a1640;
  --navy-800: #0f1d4d;
  --navy-700: #13265f;
  --navy: #0b1a4a;
  --ink: #0e1a3d;
  --text: #1d2540;
  --muted: #6b7391;
  --muted-2: #8a91aa;
  --blue: #1f6feb;
  --blue-600: #1a5fd6;
  --blue-50: #eef3fd;
  --blue-100: #e1eafc;
  --line: #dfe3ee;
  --line-2: #eceff6;
  --bg: #ffffff;
  --bg-soft: #f6f8fc;
  --page: #eef1f7;
  --red: #d64550;
  --green: #2fa36b;
  --radius: 12px;
  --radius-lg: 18px;
  --shadow: 0 6px 24px rgba(14, 26, 61, .08);
  --shadow-lg: 0 18px 48px rgba(14, 26, 61, .14);
  --shell: 480px;
  --nav-h: 76px;
  --font: 'Lexend', 'Segoe UI', system-ui, -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-weight: 400;
  color: var(--text);
  background: var(--page);
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3 { color: var(--ink); line-height: 1.2; margin: 0; font-weight: 600; }
p { margin: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid rgba(31, 111, 235, .45); outline-offset: 2px; border-radius: 6px; }

.icon { width: 22px; height: 22px; flex: none; }
.muted { color: var(--muted); }
.small { font-size: .85rem; }
.center { text-align: center; }
.link { color: var(--blue); font-weight: 500; }
.link:hover { text-decoration: underline; }
.verified { width: 20px; height: 20px; margin-left: 6px; vertical-align: -3px; }

/* Selo de perfil verificado: estrela amarela pulsando ao lado do nome */
.verified-star { display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; margin-left: 6px; vertical-align: -3px; position: relative; isolation: isolate; }
.verified-star .icon { width: 100%; height: 100%; animation: verified-pulse 1.6s ease-in-out infinite; transform-origin: center; }
.verified-star::after { content: ""; position: absolute; inset: 10%; border-radius: 50%; background: #facc15; opacity: 0; z-index: -1; animation: verified-glow 1.6s ease-out infinite; }
@keyframes verified-pulse {
  0%, 100% { transform: scale(1); filter: drop-shadow(0 0 0 rgba(250, 204, 21, 0)); }
  50% { transform: scale(1.18); filter: drop-shadow(0 0 4px rgba(250, 204, 21, .85)); }
}
@keyframes verified-glow {
  0% { transform: scale(.6); opacity: .55; }
  100% { transform: scale(1.9); opacity: 0; }
}
.profile-id h1 .verified-star { width: 26px; height: 26px; }
.comment-list .c-name .verified-star, .menu-user strong .verified-star { width: 16px; height: 16px; margin-left: 4px; }

/* ---------- Logo ---------- */
.logo { display: inline-flex; align-items: center; gap: 8px; color: var(--navy-900); }
.logo-mark { width: 44px; height: 44px; }
.logo-text { font-weight: 600; letter-spacing: .02em; font-size: 1.65rem; }
.logo-inline .logo-mark { width: 46px; height: 46px; margin-top: -4px; }
.logo-light { color: #fff; }
.logo-stack { flex-direction: column; gap: 4px; }
.logo-stack .logo-mark { width: 150px; height: 150px; }
.logo-stack .logo-text { font-size: 3.1rem; font-weight: 600; letter-spacing: .14em; margin-left: .14em; }
.logo-a { display: inline-block; width: .66em; height: .7em; margin-right: .14em; overflow: visible; vertical-align: baseline; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 48px; padding: 0 22px; border-radius: 10px;
  font-weight: 500; font-size: 1rem; border: 1.5px solid transparent;
  transition: background .15s, border-color .15s, color .15s, transform .1s;
  white-space: nowrap;
}
.btn:active { transform: scale(.98); }
.btn-block { width: 100%; }
.btn-sm { height: 36px; padding: 0 14px; font-size: .875rem; border-radius: 8px; }
.btn-primary { background: var(--navy-800); color: #fff; height: 56px; font-size: 1.15rem; }
.btn-primary.btn-sm { height: 36px; font-size: .875rem; }
.btn-primary:hover { background: var(--navy-700); }
.btn-outline { background: #fff; border-color: var(--line); color: var(--ink); height: 56px; font-size: 1.1rem; }
.btn-outline:hover { background: var(--bg-soft); }
.btn-outline .google { width: 26px; height: 26px; }
.btn-outline-blue { background: #fff; border-color: var(--blue); color: var(--blue); border-radius: 999px; height: 46px; padding: 0 26px; font-size: 1.05rem; }
.btn-outline-blue:hover { background: var(--blue-50); }
.btn-outline-blue.is-on { background: var(--blue); color: #fff; }
.btn-outline-blue.btn-sm { height: 34px; padding: 0 16px; font-size: .875rem; }
.btn-ghost { background: var(--bg-soft); color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { background: var(--line-2); }
.btn-danger { background: #fff1f2; color: var(--red); border-color: #f6c9cd; }
.btn-light { background: #fff; color: var(--navy); }
.btn-link { color: var(--blue); font-weight: 500; display: inline-flex; align-items: center; gap: 6px; }
.btn-link .icon { width: 18px; height: 18px; }

/* ---------- Formulários ---------- */
.field { margin: 0 0 22px; border: 0; padding: 0; min-width: 0; }
.field > label, .field > legend { display: block; font-weight: 500; color: var(--ink); margin-bottom: 12px; font-size: 1.05rem; padding: 0; }
.field-hint { font-size: .85rem; color: var(--muted); margin-top: 6px; }
.field-error { font-size: .85rem; color: var(--red); margin-top: 6px; }
.field-row-end { display: flex; justify-content: flex-end; margin: -6px 0 22px; }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 30px; }
.input, .input-icon {
  width: 100%; min-height: 56px; border: 1.5px solid var(--line); border-radius: 10px;
  background: #fff; transition: border-color .15s, box-shadow .15s;
}
.input { padding: 14px 16px; font-size: 1rem; }
textarea.input { resize: vertical; min-height: 110px; line-height: 1.5; }
select.input { appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b7391' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center / 20px; padding-right: 44px; }
.input-icon { display: flex; align-items: center; gap: 14px; padding: 0 18px; position: relative; }
.input-icon > .icon { color: var(--muted); width: 26px; height: 26px; }
.input-icon input, .input-icon select { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; height: 54px; font-size: 1.05rem; }
.input-icon.select select { appearance: none; padding-right: 30px; cursor: pointer; }
.input-icon.select .chev { position: absolute; right: 18px; pointer-events: none; color: var(--muted); width: 22px; height: 22px; }
.input-icon select:invalid, .input-icon select option[value=""] { color: var(--muted-2); }
.input:focus, .input-icon:focus-within { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(31, 111, 235, .12); }
.is-invalid { border-color: var(--red) !important; }
input::placeholder, textarea::placeholder { color: var(--muted-2); }
.toggle-pass { color: var(--muted); display: flex; }
.toggle-pass .icon { width: 26px; height: 26px; }
.check { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 1.05rem; margin: 6px 0 24px; padding-left: 26px; cursor: pointer; }
.check input { width: 24px; height: 24px; accent-color: var(--navy); flex: none; margin: 0; }
.divider { width: 100%; display: flex; align-items: center; gap: 24px; color: var(--muted); margin: 28px 0; font-size: 1rem; }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }

/* ---------- Telas de autenticação ---------- */
body.auth { background: #fff; }
.auth-shell { min-height: 100vh; max-width: 860px; margin: 0 auto; position: relative; display: flex; flex-direction: column; align-items: center; padding: 48px 20px 0; overflow: hidden; }
.auth-card-wrap { width: 100%; max-width: 700px; position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; }
.auth-card-wrap.center { text-align: center; gap: 18px; padding-top: 40px; }
.auth-brand { margin: 70px 0 34px; }
.auth-brand.small { margin: 0 0 30px; }
.auth-brand.small .logo-mark { width: 100px; height: 100px; }
.auth-brand.small .logo-text { font-size: 2.6rem; }
.auth-title { font-size: 2.1rem; font-weight: 600; text-align: center; }
.auth-sub { color: var(--muted); font-size: 1.3rem; text-align: center; line-height: 1.6; margin: 16px 0 34px; }
.register .auth-sub { margin-bottom: 36px; }
.auth-card {
  width: 100%; background: #fff; border-radius: 16px; border: 1px solid var(--line-2);
  box-shadow: 0 10px 30px rgba(14, 26, 61, .04); padding: 44px 56px 56px;
}
.auth-card form { margin-bottom: 0; }
.auth-card .btn-primary { margin-top: 4px; }
.auth-switch { text-align: center; margin-top: 36px; color: var(--ink); font-size: 1.15rem; }
.auth-switch .link { margin-left: 8px; }
.register form, .register > .btn { width: 100%; }
.register .field { margin-bottom: 18px; }
.back-btn { position: absolute; left: -16px; top: 26px; color: var(--ink); padding: 8px; }
.back-btn .icon { width: 32px; height: 32px; }
.campus-art { width: 100%; max-width: 760px; color: #dfe3f2; margin-top: 30px; flex: none; opacity: .9; }
.prose { align-items: stretch; max-width: 640px; gap: 14px; padding-bottom: 20px; }
.prose .auth-brand { align-self: center; }
.prose h2 { margin-top: 10px; }
.prose p { color: var(--muted); line-height: 1.7; }

/* ---------- Shell do app (mobile-first) ---------- */
.shell {
  max-width: var(--shell); margin: 0 auto; min-height: 100vh; background: #fff;
  position: relative; padding-bottom: calc(var(--nav-h) + env(safe-area-inset-bottom));
  box-shadow: 0 0 0 1px var(--line-2);
}
.page { min-height: calc(100vh - 90px); }
.container { padding: 20px 26px 32px; }
.container.narrow { max-width: 640px; margin: 0 auto; }

.topbar {
  position: sticky; top: 0; z-index: 30; background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(10px); display: flex; align-items: center; justify-content: space-between;
  padding: 18px 26px 16px 34px; border-bottom: 1px solid var(--line-2);
}
.topbar-actions { display: flex; align-items: center; gap: 18px; }
.icon-btn { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; color: var(--ink); }
.icon-btn:hover { background: var(--bg-soft); }
.icon-btn .icon { width: 30px; height: 30px; }
.icon-btn.has-dot::after { content: ""; position: absolute; top: 6px; right: 8px; width: 11px; height: 11px; border-radius: 50%; background: var(--blue); border: 2px solid #fff; }
.avatar { border-radius: 50%; object-fit: cover; background: var(--blue-50); flex: none; }
.avatar-sm { width: 36px; height: 36px; }
.avatar-md { width: 54px; height: 54px; }
.avatar-lg { width: 64px; height: 64px; }
.avatar-xl { width: 74px; height: 74px; }
.avatar-xxl { width: 112px; height: 112px; }

/* Menu suspenso */
.menu { position: relative; }
.menu-panel {
  position: absolute; right: 0; top: calc(100% + 10px); min-width: 250px; z-index: 60;
  background: #fff; border: 1px solid var(--line-2); border-radius: 14px; box-shadow: var(--shadow-lg);
  padding: 8px; color: var(--text);
}

.menu-panel a, .menu-panel button { display: flex; width: 100%; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 10px; font-size: .95rem; text-align: left; }
.menu-panel a:hover, .menu-panel button:hover { background: var(--bg-soft); }
.menu-panel .icon { width: 20px; height: 20px; color: var(--muted); }
.menu-panel .danger, .menu-panel .danger .icon { color: var(--red); }
.menu-panel form { margin: 0; }
.menu-user { display: flex; gap: 10px; align-items: center; padding: 8px 12px 12px; border-bottom: 1px solid var(--line-2); margin-bottom: 6px; }
.menu-user strong { display: block; font-size: .95rem; color: var(--ink); }
.menu-user small { color: var(--muted); }

/* Navegação inferior */

/* Cabeçalho de páginas */
.page-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin: 12px 0 24px; }
.page-head h1 { font-size: 1.75rem; display: flex; align-items: center; gap: 12px; }
.page-head .muted { margin-top: 10px; font-size: 1.05rem; }
.back-link { display: inline-flex; align-items: center; gap: 4px; color: var(--muted); margin: 4px 0 8px; }
.back-link .icon { width: 20px; height: 20px; }

/* Cartões */
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); }
.form-card { padding: 26px; }
.empty { padding: 40px 24px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 14px; color: var(--muted); }
.empty-icon { width: 46px; height: 46px; color: var(--blue); }

/* Flash e toast */
.flash { margin: 14px 26px 0; padding: 14px 16px; border-radius: 12px; font-size: .95rem; }
.auth-card .flash, .auth-card-wrap > .flash { margin: 0 0 22px; width: 100%; }
.flash-success { background: #e9f8f0; color: #1d7a4c; border: 1px solid #c3ead5; }
.flash-error { background: #fff1f2; color: #b4323d; border: 1px solid #f6c9cd; }
.toast {
  position: fixed; left: 50%; bottom: calc(var(--nav-h) + 24px); transform: translateX(-50%);
  background: var(--navy-900); color: #fff; padding: 13px 20px; border-radius: 12px; z-index: 100;
  box-shadow: var(--shadow-lg); font-size: .95rem; max-width: calc(100% - 32px); text-align: center;
  animation: toast-in .2s ease-out;
}
body.auth .toast { bottom: 32px; }
@keyframes toast-in { from { opacity: 0; transform: translate(-50%, 10px); } }

/* ---------- Feed imersivo (tema escuro) ---------- */

/* ---------- Bottom sheet de comentários ---------- */
.sheet { position: fixed; inset: 0; z-index: 80; display: flex; justify-content: center; align-items: flex-end; }
.sheet-backdrop { position: absolute; inset: 0; background: rgba(5, 8, 16, .5); animation: fade .2s; }
.sheet-panel { position: relative; width: 100%; max-width: var(--shell); max-height: 78vh; background: #fff; border-radius: 22px 22px 0 0; display: flex; flex-direction: column; animation: up .25s ease-out; color: var(--text); }
@keyframes up { from { transform: translateY(40px); opacity: 0; } }
@keyframes fade { from { opacity: 0; } }
.sheet-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px 10px 24px; border-bottom: 1px solid var(--line-2); }
.sheet-head h2 { font-size: 1.15rem; }
.comment-list { list-style: none; margin: 0; padding: 8px 20px; overflow-y: auto; flex: 1; min-height: 120px; }
.comment-list li { display: flex; gap: 12px; padding: 12px 0; }
.comment-list .c-name { font-weight: 600; font-size: .92rem; color: var(--ink); display: inline-flex; align-items: center; }
.comment-list .c-name .verified { width: 16px; height: 16px; margin-left: 4px; }
.comment-list .c-time { color: var(--muted-2); font-size: .8rem; margin-left: 8px; }
.comment-list .c-text { margin-top: 2px; font-size: .95rem; overflow-wrap: anywhere; }
.comment-list .c-empty { color: var(--muted); justify-content: center; padding: 30px 0; }
.comment-form { display: flex; align-items: center; gap: 12px; padding: 12px 20px calc(14px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line-2); }
.comment-form input { flex: 1; min-width: 0; height: 44px; border: 1.5px solid var(--line); border-radius: 999px; padding: 0 18px; outline: 0; }
.comment-form input:focus { border-color: var(--blue); }

/* ---------- Perfil ---------- */
.profile { padding-top: 18px; }
.profile-card { overflow: hidden; border-radius: 22px; }
.profile-cover { height: 184px; background: linear-gradient(120deg, #0b1f5c, #0d2466 60%, #0f2a72); position: relative; overflow: hidden; }
.cover-art { position: absolute; right: -40px; bottom: -6px; width: 92%; color: rgba(140, 165, 230, .32); }
.profile-main { padding: 0 32px 30px; position: relative; }
.profile-avatar { position: relative; width: 204px; margin-top: -126px; margin-left: 2px; }
.profile-avatar .avatar { width: 204px; height: 204px; border: 5px solid #fff; box-shadow: 0 4px 18px rgba(0, 0, 0, .12); }
.avatar-cam { position: absolute; right: -4px; bottom: 0; width: 52px; height: 52px; border-radius: 50%; background: #fff; border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; color: var(--blue-600); box-shadow: var(--shadow); }
.avatar-cam .icon { width: 28px; height: 28px; }
.profile-id { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-top: 10px; }
.profile-id h1 { font-size: 1.95rem; font-weight: 600; display: flex; align-items: center; }
.profile-id h1 .verified { width: 26px; height: 26px; }
.profile-id .muted { font-size: 1.15rem; margin-top: 6px; }
.profile-id .btn-outline-blue { margin-top: 0; height: 48px; font-size: 1.1rem; padding: 0 26px; }
.stats { list-style: none; padding: 0; margin: 22px 0 26px; display: grid; grid-template-columns: 1.15fr 1fr 1fr .9fr; gap: 14px; }
.stats li { border: 1px solid var(--line); border-radius: 12px; padding: 16px 8px 14px; text-align: center; display: flex; flex-direction: column; gap: 6px; }
.stats strong { font-size: 1.3rem; font-weight: 600; color: var(--ink); display: inline-flex; align-items: center; justify-content: center; gap: 10px; }
.stats span { font-size: .98rem; color: var(--muted); }
.star-blue { color: var(--blue); width: 28px; height: 28px; }
.bio { font-size: 1.15rem; line-height: 1.65; color: var(--ink); }
.ext-links { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 14px 40px; }
.ext-links a { display: inline-flex; align-items: center; gap: 12px; color: var(--blue-600); font-size: 1rem; }
.ext-links a:hover { text-decoration: underline; }
.ext-links .gh { color: #24292f; width: 26px; height: 26px; }
.ext-links .in { color: #0a66c2; width: 26px; height: 26px; }
.ext-links .icon { width: 24px; height: 24px; color: var(--muted); }

.tabs { display: flex; justify-content: space-between; margin: 22px 0 10px; border-bottom: 1px solid var(--line-2); overflow-x: auto; scrollbar-width: none; }
.tabs a { padding: 12px 28px 16px; color: var(--muted); font-size: 1.1rem; position: relative; white-space: nowrap; }
.tabs a.active { color: var(--blue-600); font-weight: 500; }
.tabs a.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 4px; border-radius: 4px; background: var(--blue-600); }
.about { padding: 24px; }
.about dl { margin: 0 0 20px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.about dt { color: var(--muted); font-size: .85rem; }
.about dd { margin: 4px 0 0; color: var(--ink); font-weight: 500; }
.about h3 { font-size: 1.05rem; margin-bottom: 12px; }

/* ---------- Cartão de publicação ---------- */
.post-list { display: flex; flex-direction: column; gap: 18px; }
.post-card { padding: 22px 28px 18px; position: relative; }
.post-head { display: flex; align-items: flex-start; gap: 22px; }
.post-author { flex: 1; min-width: 0; padding-top: 2px; }
.post-author .name { display: flex; align-items: center; font-size: 1.32rem; font-weight: 500; color: var(--ink); }
.post-author .meta { color: var(--muted); font-size: 1.05rem; display: block; margin-top: 4px; }
.post-time { color: var(--muted); font-size: 1.05rem; margin-top: 12px; }
.kebab { margin-top: 2px; }
.kebab .icon { width: 26px; height: 26px; }
.post-title { font-size: 1.2rem; margin: 14px 0 0; }
.post-body { margin-top: 16px; font-size: 1.22rem; line-height: 1.6; color: var(--ink); overflow-wrap: anywhere; }
.post-body .hashtag { color: var(--blue-600); }
.hash-tags { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.hash-tags a { display: inline-block; background: var(--blue-50); color: var(--blue-600); border-radius: 999px; padding: 6px 16px; font-size: 1rem; }
.post-media { display: block; margin-top: 14px; border-radius: 12px; overflow: hidden; background: var(--bg-soft); }
.post-media img { width: 100%; max-height: 560px; object-fit: cover; }
.post-foot { display: flex; align-items: center; gap: 46px; margin-top: 18px; padding: 0 6px; }
.foot-btn { display: inline-flex; align-items: center; gap: 14px; color: var(--muted); font-size: 1.08rem; }
.foot-btn .icon { width: 28px; height: 28px; }
.foot-btn.star { color: var(--ink); font-weight: 500; }
.foot-btn.star .on { display: none; color: var(--blue-600); }
.foot-btn.star .off { color: var(--blue-600); }
.foot-btn.star.is-on .on { display: block; }
.foot-btn.star.is-on .off { display: none; }
.type-badge { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-size: .85rem; font-weight: 500; padding: 4px 12px 4px 10px; border-radius: 999px; background: var(--blue-50); color: var(--blue-600); }
.type-badge .icon { width: 16px; height: 16px; }
.type-badge.type-conquista { background: #fff6e0; color: #a86b00; }
.type-badge.type-certificado { background: #e8f7f0; color: #1d7a4c; }
.type-badge.type-noticia { background: #f1ecff; color: #5b3fc4; }

.project-hero { padding: 22px 26px; margin-bottom: 16px; }
.project-hero h1 { font-size: 1.6rem; margin: 12px 0 8px; }

/* ---------- Vagas (Swipe to Apply) ---------- */
.jobs-page { overflow-x: clip; padding-top: 18px; }
.jobs-page .page-head { padding: 0 14px; margin-top: 18px; }
.jobs-page .page-head h1 { font-size: 1.85rem; }
.info-tip { position: relative; display: inline-flex; color: var(--muted); cursor: help; }
.info-tip .icon { width: 26px; height: 26px; }
.info-tip .tip { display: none; position: absolute; top: 34px; left: -100px; width: 280px; background: var(--navy-900); color: #fff; font-size: .85rem; font-weight: 400; line-height: 1.5; padding: 12px 14px; border-radius: 10px; z-index: 20; box-shadow: var(--shadow-lg); }
.info-tip:hover .tip, .info-tip:focus .tip { display: block; }
.btn-filter { height: 56px; padding: 0 26px; font-size: 1.2rem; margin-top: 4px; }
.btn-filter .icon { width: 26px; height: 26px; }
.btn-filter.is-on { background: var(--blue-50); color: var(--blue); }
.filters { padding: 20px; margin: 0 0 20px; }
.filters .field { margin-bottom: 14px; }
.filter-actions { display: flex; justify-content: flex-end; gap: 10px; }
.filter-actions .btn-primary { height: 48px; font-size: 1rem; }

.job-progress { text-align: center; margin: 30px 0 32px; }
.job-progress p { color: var(--ink); font-size: 1.15rem; font-weight: 500; }
.segments { display: flex; justify-content: center; gap: 9px; margin-top: 16px; }
.segments span { width: 44px; height: 7px; border-radius: 4px; background: #dfe2ea; transition: background .2s; }
.segments span.active { background: var(--blue-600); }

.job-stage { position: relative; margin: 0 -26px; padding: 0 84px; min-height: 620px; }
.swipe-glow { position: absolute; top: 130px; bottom: 300px; width: 240px; border-radius: 50%; filter: blur(20px); pointer-events: none; opacity: .9; }
.swipe-glow.left { left: -150px; background: radial-gradient(closest-side, rgba(255, 196, 200, .55), rgba(255, 196, 200, 0)); }
.swipe-glow.right { right: -150px; background: radial-gradient(closest-side, rgba(190, 236, 205, .6), rgba(190, 236, 205, 0)); }
.swipe-hint { position: absolute; top: 470px; width: 104px; display: flex; flex-direction: column; align-items: center; text-align: center; font-size: .95rem; line-height: 1.55; z-index: 3; letter-spacing: .01em; }
.swipe-hint .icon { width: 42px; height: 42px; margin-bottom: 22px; stroke-width: 2; }
.swipe-hint .hint-sub { margin-top: 12px; font-size: .9rem; }
.swipe-hint.left { left: 4px; color: #d1495b; }
.swipe-hint.right { right: 4px; color: #3fa968; }
.swipe-hint:hover .icon { transform: scale(1.12); }
.job-deck { position: relative; display: grid; }
.job-card, .job-empty { grid-area: 1 / 1; }
.job-card {
  padding: 30px 30px 32px; border-radius: 22px; border-color: var(--line-2);
  box-shadow: 0 14px 40px rgba(14, 26, 61, .10); background: #fff; touch-action: pan-y;
  user-select: none; transition: transform .35s ease, opacity .35s ease; will-change: transform;
}
.job-card:not(:first-of-type) { pointer-events: none; }
.job-card.behind { transform: translateY(14px) scale(.97); opacity: 0; }
.job-card.dragging { transition: none; cursor: grabbing; }
.job-card.gone-left { transform: translateX(-140%) rotate(-14deg); opacity: 0; }
.job-card.gone-right { transform: translateX(140%) rotate(14deg); opacity: 0; }
.job-card .stamp { position: absolute; top: 34px; padding: 6px 14px; border: 3px solid; border-radius: 10px; font-weight: 700; font-size: 1.2rem; letter-spacing: .06em; opacity: 0; transform: rotate(-10deg); }
.job-card .stamp.apply { right: 30px; color: var(--green); }
.job-card .stamp.skip { left: 30px; color: var(--red); transform: rotate(10deg); }
.job-top { display: flex; justify-content: space-between; align-items: flex-start; }
.badge-sponsored, .badge-type { display: inline-flex; align-items: center; gap: 8px; background: var(--blue-50); color: var(--blue-600); border-radius: 8px; padding: 6px 12px; font-size: 1rem; }
.badge-sponsored .icon { width: 20px; height: 20px; }
.bookmark { width: 48px; height: 48px; margin: -6px -10px 0 0; color: var(--ink); }
.bookmark .icon { width: 38px; height: 38px; stroke-width: 1.5; }
.bookmark .on { display: none; color: var(--blue-600); }
.bookmark.is-on .on { display: block; }
.bookmark.is-on .off { display: none; }
.job-hero { display: grid; grid-template-columns: 122px 1fr; gap: 32px; margin-top: 24px; }
.company-logo { width: 122px; height: 134px; border: 1px solid var(--line); border-radius: 14px; display: flex; align-items: center; justify-content: center; overflow: hidden; background: #fff; }
.company-logo img { width: 100%; height: 100%; object-fit: contain; padding: 6px; }
.company-logo span { font-weight: 700; font-size: 1.8rem; color: var(--navy); }
.company-logo.sm { width: 56px; height: 56px; border-radius: 12px; }
.company-logo.sm span { font-size: 1.05rem; }
.job-hero h2 { font-size: 2.1rem; font-weight: 600; line-height: 1.3; margin-top: -4px; }
.job-hero .company { font-size: 1.25rem; font-weight: 500; color: var(--ink); margin: 18px 0 18px; display: flex; align-items: center; }
.job-line { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 1.2rem; margin-bottom: 12px; }
.job-line .icon { width: 24px; height: 24px; }
.compat { border: 1.5px solid var(--line); border-radius: 14px; margin: 30px 0 0; }
.compat summary { list-style: none; display: flex; align-items: center; gap: 16px; padding: 16px 30px 16px 18px; cursor: pointer; }
.compat summary::-webkit-details-marker { display: none; }
.compat-icon { width: 58px; height: 58px; border-radius: 50%; background: var(--blue-50); display: flex; align-items: center; justify-content: center; color: var(--blue-600); flex: none; }
.compat-icon .icon { width: 30px; height: 30px; }
.compat-text { flex: 1; display: flex; flex-direction: column; gap: 4px; }
.compat-text strong { font-size: 1.2rem; font-weight: 600; color: var(--ink); }
.compat-text small { color: var(--muted); font-size: 1.02rem; }
.compat .chev { color: var(--muted); transition: transform .2s; }
.compat[open] .chev { transform: rotate(180deg); }
.compat-body { padding: 0 20px 18px; }
.meter { height: 8px; border-radius: 4px; background: var(--line-2); overflow: hidden; margin-bottom: 14px; }
.meter span { display: block; height: 100%; background: linear-gradient(90deg, var(--blue), #5c9bff); border-radius: 4px; }
.compat-body ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; font-size: .95rem; }
.compat-body li { display: flex; gap: 8px; align-items: flex-start; }
.compat-body li .icon { width: 18px; height: 18px; margin-top: 2px; }
.compat-body li.ok .icon { color: var(--green); }
.compat-body li.no .icon { color: var(--red); }
.job-facts { display: grid; grid-template-columns: 1.4fr 1fr .9fr; margin-top: 28px; padding: 30px 0 34px; border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); }
.job-facts > div { padding: 0 12px; border-left: 1px solid var(--line); }
.job-facts > div:first-child { border-left: 0; padding-left: 12px; }
.fact-label { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: .98rem; margin-bottom: 22px; }
.fact-label .icon { width: 30px; height: 30px; color: var(--ink); }
.job-facts p { color: var(--ink); font-size: 1.15rem; line-height: 1.65; }
.job-section { padding: 32px 0 30px; border-bottom: 1px solid var(--line-2); }
.job-section:last-of-type { border-bottom: 0; padding-bottom: 20px; }
.job-section h3 { font-size: 1.2rem; font-weight: 500; margin-bottom: 18px; }
.skill-chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 12px; }
.skill-chips li { background: var(--blue-50); color: var(--ink); border-radius: 999px; padding: 7px 14px; font-size: 1rem; }
.skill-chips li.match { background: var(--blue-100); color: var(--blue-600); }
.job-desc { color: var(--text); font-size: 1.15rem; line-height: 1.65; }
.job-desc[data-clamp] { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.more { margin-top: 16px; font-size: 1.15rem; }
.more .icon { width: 22px; height: 22px; color: var(--muted); }
.job-note { display: flex; align-items: center; gap: 22px; background: var(--bg-soft); border-radius: 12px; padding: 22px 26px; margin-top: 18px; }
.job-note .icon { width: 32px; height: 32px; color: var(--blue-600); }
.job-note p { color: var(--text); font-size: 1rem; line-height: 1.7; }
.job-empty { padding: 50px 26px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 14px; border-radius: 22px; }
.job-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.job-row { display: flex; align-items: center; gap: 14px; padding: 16px; }
.job-row-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.job-row-info strong { color: var(--ink); }
.job-row-info .muted { font-size: .9rem; }
.status { font-size: .85rem; font-weight: 500; }
.status-candidatado { color: var(--green); }
.status-salvo { color: var(--blue); }

/* ---------- Pesquisa / listas ---------- */
.search-form { padding: 20px; margin-bottom: 20px; display: flex; flex-direction: column; gap: 14px; }
.search-form .field-grid { gap: 12px; }
.seg { display: inline-flex; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 12px; padding: 4px; gap: 4px; }
.seg label, .seg a { cursor: pointer; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span, .seg a { display: block; padding: 8px 18px; border-radius: 9px; color: var(--muted); font-weight: 500; }
.seg input:checked + span, .seg a.active { background: #fff; color: var(--ink); box-shadow: 0 1px 4px rgba(14, 26, 61, .1); }
.people, .notif-list { list-style: none; margin: 0; padding: 6px 18px; }
.people li { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line-2); }
.people li:last-child, .notif-list li:last-child { border-bottom: 0; }
.people-info { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.people-info .name { font-weight: 500; color: var(--ink); display: flex; align-items: center; font-size: 1.05rem; }
.people-info .muted { font-size: .9rem; }
.notif-list li { border-bottom: 1px solid var(--line-2); }
.notif-list a { display: flex; align-items: center; gap: 16px; padding: 14px 0; }
.notif-avatar { position: relative; }
.notif-kind { position: absolute; right: -4px; bottom: -4px; width: 28px; height: 28px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; border: 2px solid #fff; }
.notif-kind .icon { width: 15px; height: 15px; }
.kind-star { background: #f5b400; }
.kind-comment { background: var(--blue); }
.kind-follow { background: var(--navy-800); }
.notif-text { flex: 1; color: var(--text); }
.notif-text strong { color: var(--ink); }
.notif-text small { display: block; color: var(--muted); margin-top: 2px; }

/* ---------- Nova publicação ---------- */
.pill-group { display: flex; flex-wrap: wrap; gap: 10px; }
.pill input { position: absolute; opacity: 0; pointer-events: none; }
.pill span { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border: 1.5px solid var(--line); border-radius: 999px; cursor: pointer; color: var(--muted); }
.pill span .icon { width: 18px; height: 18px; }
.pill input:checked + span { border-color: var(--blue); background: var(--blue-50); color: var(--blue-600); }
.pill input:focus-visible + span { outline: 3px solid rgba(31, 111, 235, .45); }
.upload { display: inline-flex; cursor: pointer; }
.upload input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.upload span { display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; border: 1.5px dashed var(--line); border-radius: 10px; color: var(--blue-600); font-weight: 500; }
.upload:hover span { background: var(--blue-50); }
.upload-preview { margin-top: 12px; border-radius: 12px; max-height: 260px; object-fit: cover; }
.avatar-field { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.password-box summary { cursor: pointer; color: var(--blue-600); font-weight: 500; margin-bottom: 16px; }

/* ---------- Painel administrativo ---------- */
body.admin { background: var(--bg-soft); }
.admin-shell { display: grid; grid-template-columns: 260px minmax(0, 1fr); min-height: 100vh; }
.admin-side { background: var(--navy-900); color: #fff; padding: 26px 18px; display: flex; flex-direction: column; gap: 6px; position: sticky; top: 0; height: 100vh; }
.admin-side .logo { color: #fff; }
.admin-side .logo .logo-mark { filter: brightness(0) invert(1); }
.admin-label { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: rgba(255, 255, 255, .55); margin: 18px 10px 12px; }
.admin-side nav { display: flex; flex-direction: column; gap: 4px; }
.admin-side nav a, .admin-back { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 10px; color: rgba(255, 255, 255, .8); }
.admin-side nav a:hover { background: rgba(255, 255, 255, .08); }
.admin-side nav a.active { background: rgba(255, 255, 255, .14); color: #fff; }
.admin-side .icon { width: 20px; height: 20px; }
.admin-foot { margin-top: auto; display: flex; flex-direction: column; gap: 4px; }
.admin-foot form { display: contents; }
.admin-logout { display: flex; align-items: center; gap: 12px; width: 100%; padding: 11px 12px; border-radius: 10px; color: rgba(255, 255, 255, .8); font-size: inherit; text-align: left; }
.admin-logout:hover, .admin-back:hover { background: rgba(255, 255, 255, .08); color: #fff; }
.admin-main { padding: 32px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.admin-main .flash { margin: 0; }
.admin-title { font-size: 1.6rem; }
.admin-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.admin-search { min-width: 280px; }
.admin-search .input-icon { min-height: 46px; }
.admin-search input { height: 44px; font-size: .95rem; }
.metrics { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 14px; }
.metric { padding: 18px; display: flex; flex-direction: column; gap: 4px; }
.metric-icon { width: 40px; height: 40px; border-radius: 10px; background: var(--blue-50); color: var(--blue-600); display: flex; align-items: center; justify-content: center; margin-bottom: 8px; }
.metric strong { font-size: 1.6rem; color: var(--ink); font-weight: 600; }
.metric span { color: var(--muted); font-size: .9rem; }
.admin-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.admin-grid.two { grid-template-columns: minmax(260px, 1fr) 2fr; }
.admin-main .card { padding: 20px; }
.admin-main .card h2 { font-size: 1.1rem; margin-bottom: 16px; }
.bars { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.bars li { display: grid; grid-template-columns: 140px 1fr 32px; align-items: center; gap: 10px; font-size: .9rem; }
.bar-label { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--text); }
.bar { height: 10px; background: var(--line-2); border-radius: 5px; overflow: hidden; }
.bar span { display: block; height: 100%; background: var(--navy-800); border-radius: 5px; }
.bar-val { text-align: right; font-weight: 600; color: var(--ink); }
.mini-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.mini-list li { display: flex; gap: 12px; align-items: center; }
.mini-list strong { display: block; font-size: .95rem; color: var(--ink); }
.table-wrap { overflow-x: auto; padding: 0 !important; }
.table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.table th { text-align: left; font-weight: 500; color: var(--muted); padding: 14px 16px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.table td { padding: 14px 16px; border-bottom: 1px solid var(--line-2); vertical-align: middle; }
.table tr:last-child td { border-bottom: 0; }
.table td a { color: var(--ink); font-weight: 500; }
.table td.clip { max-width: 360px; }
.table .actions { display: flex; gap: 8px; justify-content: flex-end; }
.table .actions form { margin: 0; }
.tag { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: .8rem; background: var(--line-2); color: var(--muted); white-space: nowrap; }
.tag-blue { background: var(--blue-50); color: var(--blue-600); }
.tag-green { background: #e9f8f0; color: #1d7a4c; }
.tag-red { background: #fff1f2; color: var(--red); }
.stack { display: flex; flex-direction: column; gap: 4px; }
.stack .btn-primary { height: 48px; font-size: 1rem; align-self: flex-start; }
.stack .field { margin-bottom: 14px; }
.stack .check { padding-left: 0; font-size: .95rem; margin: 0 0 10px; }

/* ---------- Responsivo ---------- */
@media (max-width: 599px) {
  .shell { box-shadow: none; }

  .auth-shell { padding: 28px 16px 0; }
  .auth-brand { margin: 30px 0 22px; }
  .logo-stack .logo-mark { width: 104px; height: 104px; }
  .logo-stack .logo-text { font-size: 2.2rem; }
  .auth-brand.small .logo-mark { width: 72px; height: 72px; }
  .auth-brand.small .logo-text { font-size: 1.9rem; }
  .auth-title { font-size: 1.55rem; }
  .auth-sub { font-size: 1rem; margin: 10px 0 24px; }
  .auth-card { padding: 26px 20px 30px; border-radius: 14px; }
  .field > label, .field > legend { font-size: .95rem; margin-bottom: 8px; }
  .input-icon, .input { min-height: 50px; }
  .input-icon input, .input-icon select { height: 48px; font-size: .95rem; }
  .input-icon > .icon { width: 22px; height: 22px; }
  .btn-primary, .btn-outline { height: 50px; font-size: 1rem; }
  .auth-switch { font-size: 1rem; margin-top: 24px; }
  .field-grid { gap: 0 12px; }
  .check { padding-left: 4px; font-size: .9rem; }
  .back-btn { left: -8px; top: 6px; }
  .back-btn .icon { width: 26px; height: 26px; }

  .admin-shell { grid-template-columns: minmax(0, 1fr); }
  .admin-side { position: static; height: auto; flex-direction: row; flex-wrap: wrap; align-items: center; padding: 14px; }
  .admin-label { display: none; }
  /* Voltar/Sair continuam à vista no celular: ficam na linha da logo, a navegação desce para a linha de baixo */
  .admin-side .logo { order: 1; }
  .admin-foot { order: 2; margin: 0 0 0 auto; flex-direction: row; gap: 2px; }
  .admin-side nav { order: 3; }
  .admin-back, .admin-logout { padding: 9px 10px; gap: 6px; font-size: .88rem; white-space: nowrap; }
  .admin-side .admin-foot .icon { width: 18px; height: 18px; }
  .admin-side nav { flex-direction: row; overflow-x: auto; width: 100%; }
  .admin-side nav a { white-space: nowrap; }
  .admin-main { padding: 16px; }
  .admin-grid.two { grid-template-columns: 1fr; }
  .admin-search { min-width: 0; width: 100%; }
  .bars li { grid-template-columns: 100px 1fr 28px; }
}
@media (max-width: 599px) {

  .register .field-grid .input-icon { padding: 0 12px; gap: 8px; }
  .register .field-grid select { font-size: .86rem; }
  .register .field-grid .input-icon.select .chev { right: 10px; width: 18px; }

}

/* ---------- Coluna do app: mesmas proporções das telas de referência (celular) em qualquer largura ---------- */
:root { --nav-h: 68px; }
.container { padding: 16px 16px 28px; }
.topbar { padding: 12px 16px; }
.logo-inline .logo-mark { width: 38px; height: 38px; }
.logo-text { font-size: 1.4rem; }
.icon-btn .icon { width: 26px; height: 26px; }
.avatar-md { width: 44px; height: 44px; }

.avatar-xl { width: 48px; height: 48px; }

.profile { padding-top: 12px; }
.profile-cover { height: 120px; }
.profile-main { padding: 0 18px 22px; }
.profile-avatar { width: 128px; margin-top: -76px; }
.profile-avatar .avatar { width: 128px; height: 128px; border-width: 4px; }
.avatar-cam { width: 40px; height: 40px; }
.avatar-cam .icon { width: 22px; height: 22px; }
.profile-id { flex-wrap: wrap; }
.profile-id h1 { font-size: 1.45rem; }
.profile-id .muted { font-size: .95rem; margin-top: 4px; }
.profile-id .btn-outline-blue { height: 40px; font-size: .95rem; padding: 0 18px; }
.stats { grid-template-columns: repeat(2, 1fr); gap: 10px; margin: 18px 0; }
.stats strong { font-size: 1.1rem; }
.stats span { font-size: .85rem; }
.bio { font-size: .98rem; }
.ext-links { gap: 10px 22px; }
.ext-links a { font-size: .9rem; }
.tabs a { padding: 10px 14px 14px; font-size: .95rem; }
.post-card { padding: 16px 16px 14px; }
.post-head { gap: 12px; }
.post-head .avatar-lg { width: 48px; height: 48px; }
.post-author .name { font-size: 1.05rem; }
.post-author .meta, .post-time { font-size: .85rem; }
.post-time { margin-top: 4px; }
.post-body { font-size: 1rem; margin-top: 12px; }
.hash-tags a { font-size: .85rem; padding: 4px 12px; }
.post-foot { gap: 22px; }
.foot-btn { font-size: .92rem; gap: 8px; }
.foot-btn .icon { width: 22px; height: 22px; }
.jobs-page .page-head { padding: 0; }
.jobs-page .page-head h1 { font-size: 1.35rem; }
.jobs-page .page-head .muted { font-size: .92rem; }
.btn-filter { height: 44px; padding: 0 16px; font-size: 1rem; }
.job-progress { margin: 18px 0 20px; }
.job-progress p { font-size: .95rem; }
.segments span { width: 30px; height: 5px; }
.job-stage { margin: 0 -16px; padding: 0 26px; }
.swipe-hint { display: none; }
.swipe-glow { width: 120px; }
.swipe-glow.left { left: -90px; }
.swipe-glow.right { right: -90px; }
.job-card { padding: 20px 18px 22px; }
.job-hero { grid-template-columns: 76px 1fr; gap: 16px; margin-top: 16px; }
.company-logo { width: 76px; height: 84px; }
.job-hero h2 { font-size: 1.35rem; }
.job-hero .company { font-size: 1rem; margin: 10px 0; }
.job-line { font-size: .92rem; margin-bottom: 6px; }
.job-line .icon { width: 18px; height: 18px; }
.compat { margin-top: 20px; }
.compat summary { padding: 12px 14px; gap: 12px; }
.compat-icon { width: 44px; height: 44px; }
.compat-icon .icon { width: 22px; height: 22px; }
.compat-text strong { font-size: 1rem; }
.compat-text small { font-size: .85rem; }
.job-facts { grid-template-columns: 1fr; gap: 16px; padding: 20px 0; }
.job-facts > div { border-left: 0; padding: 0; }
.fact-label { margin-bottom: 6px; }
.fact-label .icon { width: 22px; height: 22px; }
.job-facts p { font-size: .95rem; }
.job-section { padding: 20px 0; }
.job-section h3 { font-size: 1rem; margin-bottom: 12px; }
.skill-chips { gap: 8px; }
.skill-chips li { font-size: .85rem; padding: 5px 11px; }
.job-desc { font-size: .95rem; }
.more { font-size: .95rem; }
.job-note { padding: 14px 16px; gap: 14px; }
.job-note p { font-size: .85rem; }
.page-head h1 { font-size: 1.4rem; }
.page-head { flex-wrap: wrap; }

.profile-id { flex-wrap: nowrap; }
.profile-id .btn-outline-blue { flex: none; margin-top: 4px; }
.stats { grid-template-columns: 1.2fr 1fr 1fr 1fr; gap: 6px; }
.stats li { padding: 10px 2px 9px; gap: 2px; border-radius: 10px; }
.stats strong { font-size: 1rem; gap: 5px; }
.stats span { font-size: .66rem; }
.star-blue { width: 18px; height: 18px; }
.ext-links { gap: 10px 18px; }
.ext-links a { font-size: .74rem; gap: 6px; }
.ext-links .icon { width: 18px; height: 18px; }
.tabs a { padding: 10px 10px 12px; font-size: .85rem; }
.post-author .meta { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.jobs-page .page-head { flex-wrap: nowrap; align-items: flex-start; }
.jobs-page .page-head h1 { font-size: 1.2rem; gap: 6px; }
.jobs-page .page-head .muted { font-size: .78rem; margin-top: 6px; }
.info-tip .icon { width: 18px; height: 18px; }
.btn-filter { height: 38px; padding: 0 14px; font-size: .9rem; flex: none; gap: 6px; }
.btn-filter .icon { width: 18px; height: 18px; }
.segments span { width: 22px; height: 4px; }
.job-stage { margin: 0 -16px; padding: 0 54px; min-height: 0; }
.swipe-hint { display: flex; width: 50px; top: 46%; font-size: .52rem; line-height: 1.5; }
.swipe-hint .icon { width: 24px; height: 24px; margin-bottom: 12px; }
.swipe-hint .hint-sub { font-size: .52rem; margin-top: 6px; }
.swipe-hint.left { left: 2px; }
.swipe-hint.right { right: 2px; }
.swipe-glow { width: 130px; top: 70px; bottom: 260px; }
.swipe-glow.left { left: -80px; }
.swipe-glow.right { right: -80px; }
.job-card { padding: 16px 15px 16px; border-radius: 14px; }
.badge-sponsored, .badge-type { font-size: .72rem; padding: 3px 8px; gap: 5px; border-radius: 6px; }
.badge-sponsored .icon { width: 13px; height: 13px; }
.bookmark { width: 32px; height: 32px; margin: -4px -6px 0 0; }
.bookmark .icon { width: 24px; height: 24px; }
.job-hero { grid-template-columns: 60px 1fr; gap: 16px; margin-top: 12px; }
.company-logo { width: 60px; height: 66px; border-radius: 10px; }
.job-hero h2 { font-size: 1.12rem; }
.job-hero .company { font-size: .82rem; margin: 8px 0 8px; }
.job-hero .company .verified { width: 15px; height: 15px; }
.job-line { font-size: .74rem; gap: 6px; margin-bottom: 5px; }
.job-line .icon { width: 14px; height: 14px; }
.compat { margin-top: 16px; border-radius: 10px; }
.compat summary { padding: 9px 12px 9px 9px; gap: 9px; }
.compat-icon { width: 30px; height: 30px; }
.compat-icon .icon { width: 16px; height: 16px; }
.compat-text strong { font-size: .8rem; }
.compat-text small { font-size: .68rem; }
.compat .chev { width: 16px; height: 16px; }
.compat-body { padding: 0 12px 12px; }
.compat-body ul { font-size: .72rem; }
.job-facts { grid-template-columns: 1.4fr 1fr .9fr; gap: 0; padding: 16px 0 18px; margin-top: 14px; }
.job-facts > div { border-left: 1px solid var(--line); padding: 0 6px 0 8px; }
.job-facts > div:first-child { border-left: 0; padding-left: 6px; }
.fact-label { font-size: .6rem; gap: 6px; margin-bottom: 10px; }
.fact-label .icon { width: 16px; height: 16px; }
.job-facts p { font-size: .74rem; line-height: 1.6; }
.job-section { padding: 16px 0 14px; }
.job-section h3 { font-size: .82rem; margin-bottom: 10px; }
.skill-chips { gap: 6px; }
.job-card .skill-chips li { font-size: .66rem; padding: 3px 8px; }
.job-desc { font-size: .74rem; }
.more { font-size: .78rem; margin-top: 8px; }
.more .icon { width: 14px; height: 14px; }
.job-note { padding: 10px 12px; gap: 10px; margin-top: 8px; border-radius: 8px; }
.job-note .icon { width: 18px; height: 18px; }
.job-note p { font-size: .66rem; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* Telas bem estreitas (iPhone SE, Android compacto): cabeçalho do feed sem quebrar linha */

/* =========================================================
   Ajustes de fidelidade ao conceito + correções visuais
   (fica por último de propósito: refina as regras acima)
   ========================================================= */

/* Sensação de app: sem flash cinza ao tocar e sem atraso no toque */
a, button, summary, label { -webkit-tap-highlight-color: transparent; }
a, button, summary, input, select { touch-action: manipulation; }

/* App instalado / telas com notch: respeita a área segura do topo */
.topbar { padding-top: calc(12px + env(safe-area-inset-top)); }

.auth-shell { padding-top: calc(28px + env(safe-area-inset-top)); }

/* Botão "Instalar app" (só aparece quando o navegador permite instalar) */
.install-link { margin: 18px auto 0; justify-content: center; width: 100%; font-size: .95rem; }
.install-link .icon { width: 20px; height: 20px; }

/* Login/cadastro: a ilustração do campus fica sempre no pé da tela */
.auth-shell { min-height: 100vh; min-height: 100dvh; }
.campus-art { margin-top: auto; padding-top: 28px; }

/* Perfil: as 5 abas cabem na tela, como no conceito (e rolam só em telas muito estreitas) */
.tabs { justify-content: space-between; }
.tabs a { padding: 10px 6px 12px; font-size: .82rem; }
.profile-id > div:first-child { min-width: 0; }
.profile-id .muted { font-size: .88rem; }

/* Cartão de publicação: "Curso • semestre" cabe em uma linha */
.kebab { width: 32px; margin-right: -6px; }
.post-author .meta { font-size: .78rem; }
.post-time { font-size: .8rem; }

/* Imagem do post: proporção de cartão (como no conceito), sem cortar o assunto */
.post-media img { width: 100%; max-height: none; aspect-ratio: 16 / 10; object-fit: cover; object-position: center 40%; }

/* Feed: curso • semestre • campus em uma linha só */

/* Vagas: "Candidatar-se" não quebra mais em duas linhas */
.swipe-hint { width: 58px; }
.swipe-hint .hint-sub { white-space: nowrap; font-size: .46rem; letter-spacing: 0; }
.swipe-hint.left { left: 0; }
.swipe-hint.right { right: 0; }

/* Formulário de nova publicação */
.field-hint-inline { color: var(--muted); font-weight: 400; }

@media (max-width: 599px) {
  /* Login/cadastro mais compactos: a ilustração do campus aparece sem rolar */
  .auth-shell { padding-top: calc(20px + env(safe-area-inset-top)); }
  .auth-brand { margin: 18px 0 14px; }
  .auth-title { font-size: 1.45rem; }
  .auth-sub { margin: 8px 0 18px; font-size: .95rem; line-height: 1.5; }
  .auth-card { padding: 20px 20px 22px; }
  .field { margin-bottom: 14px; }
  .field > label, .field > legend { margin-bottom: 6px; font-size: .9rem; }
  .input-icon, .input { min-height: 46px; }
  .input-icon input, .input-icon select { height: 44px; }
  .field-row-end { margin: -4px 0 14px; }
  .btn-primary, .btn-outline { height: 48px; font-size: 1rem; }
  .divider { margin: 16px 0; }
  .auth-switch { margin-top: 16px; }
  .register .field { margin-bottom: 12px; }
  .register .divider { margin: 14px 0; }
  .campus-art { max-width: 100%; padding-top: 18px; }

  /* Campus e Semestre lado a lado: o texto do seletor cabe inteiro */
  .register .field-grid .input-icon { padding: 0 10px; gap: 6px; }
  .register .field-grid .input-icon > .icon { width: 18px; height: 18px; }
  .register .field-grid .input-icon.select .chev { right: 8px; width: 16px; height: 16px; }
  .register .field-grid select { font-size: .78rem; padding-right: 20px; }
}

/* =========================================================
   Novo feed (conceito escuro) + navegação unificada
   - topo do feed: logo, abas (Para você / Seguindo / Destaques), pesquisa e sino
   - cada publicação é um cartão: mídia limpa, legenda, ações ao lado e autor
   - barra inferior: Postagens, Notícias, "+" central, Vagas, Perfil
   (fica por último de propósito: vale sobre as regras acima)
   ========================================================= */
:root { --nav-h: 72px; --feed-top: calc(94px + env(safe-area-inset-top)); }

/* ---------- Tema escuro ---------- */
body.theme-dark { background: #05070d; }
body.theme-dark .shell {
  color: #fff; box-shadow: none;
  background:
    radial-gradient(130% 34% at 90% 0%, rgba(32, 82, 190, .30), transparent 62%),
    linear-gradient(#070b16, #05070d 60%);
}

/* ---------- Topo do feed: logo + atalhos em cima, as 3 abas inteiras embaixo ---------- */
.feed-top {
  position: fixed; top: 0; left: 50%; transform: translateX(-50%); z-index: 30;
  width: 100%; max-width: var(--shell); height: var(--feed-top);
  padding: env(safe-area-inset-top) 0 0; color: #fff;
  background: linear-gradient(#070b16 calc(100% - 10px), rgba(7, 11, 22, 0));
}
.feed-bar { height: 52px; padding: 0 8px 0 16px; display: flex; align-items: center; justify-content: space-between; }
.feed-bar .logo { color: #fff; }
.feed-bar .logo-mark { width: 40px; height: 40px; margin-top: 0; }
.feed-actions { display: flex; align-items: center; gap: 2px; }
.feed-tabs {
  height: 42px; display: flex; align-items: stretch; justify-content: space-between; gap: 14px;
  padding: 0 20px; overflow-x: auto; scrollbar-width: none;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.feed-tabs::-webkit-scrollbar { display: none; }
.feed-tabs a { position: relative; flex: none; display: flex; align-items: center; padding: 0 2px; font-size: .88rem; color: rgba(255, 255, 255, .62); white-space: nowrap; }
.feed-tabs a.active { color: #fff; font-weight: 500; }
.feed-tabs a.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; border-radius: 3px; background: #2f7bff; }
.feed-top .icon-btn { flex: none; width: 40px; height: 40px; color: rgba(255, 255, 255, .9); }
.feed-top .icon-btn .icon { width: 24px; height: 24px; }
.feed-top .icon-btn:hover { background: rgba(255, 255, 255, .1); }
.feed-top .icon-btn.active { color: #4d8dff; }
.feed-top .icon-btn.has-dot::after { top: 5px; right: 6px; border-color: #070b16; }

/* ---------- Lista de cartões ---------- */
.page-immersive { min-height: 0; padding-top: 0; }
.page-immersive .flash { position: fixed; top: calc(var(--feed-top) + 8px); left: 50%; transform: translateX(-50%); z-index: 50; width: calc(min(100%, var(--shell)) - 28px); margin: 0; }
/* Rolagem "snap": cada publicação ocupa a tela inteira (entre o topo e a barra inferior) e a lista encaixa de uma em uma.
   O feed é fixo (top/bottom: 0) e os slides usam 100% dele, em vez de 100vh/dvh: em alguns celulares (app instalado
   com barra de status) o vh é maior que a área visível e o rodapé do cartão ficava atrás da barra inferior. */
.feed { position: fixed; top: 0; bottom: 0; left: 0; right: 0; width: 100%; max-width: var(--shell); margin: 0 auto; overflow-y: auto; scroll-snap-type: y mandatory; overscroll-behavior: contain; scrollbar-width: none; }
.feed::-webkit-scrollbar { display: none; }
.feed-sentinel { height: 1px; }
.feed-empty { height: 100%; scroll-snap-align: start; box-sizing: border-box; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: var(--feed-top) 36px calc(var(--nav-h) + env(safe-area-inset-bottom)); text-align: center; }
.feed-empty h2 { color: #fff; font-size: 1.25rem; }
.feed-empty p { color: rgba(255, 255, 255, .75); }
.feed-empty .empty-icon { color: #fff; width: 52px; height: 52px; }

/* ---------- Cartão da publicação ---------- */
.slide {
  height: 100%; box-sizing: border-box; display: flex;
  scroll-snap-align: start; scroll-snap-stop: always;
  padding: calc(var(--feed-top) + 6px) 14px calc(var(--nav-h) + env(safe-area-inset-bottom) + 12px);
}
.slide-card {
  flex: 1; min-height: 0; display: flex; flex-direction: column;
  position: relative; padding: 10px; border-radius: 28px; color: #fff;
  background: linear-gradient(165deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .02) 45%), #0d1426;
  border: 1px solid rgba(255, 255, 255, .1); box-shadow: 0 16px 40px rgba(0, 0, 0, .35);
}
.rank-chip { position: absolute; top: -9px; left: 20px; z-index: 3; background: var(--blue); color: #fff; font-weight: 600; font-size: .8rem; padding: 3px 11px; border-radius: 999px; box-shadow: 0 4px 12px rgba(31, 111, 235, .45); }

.chip { display: inline-flex; align-items: center; gap: 6px; border-radius: 999px; font-size: .8rem; }
.chip .icon { width: 16px; height: 16px; }
.chip-glass { background: rgba(8, 12, 24, .55); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); padding: 5px 11px; color: #fff; border: 1px solid rgba(255, 255, 255, .14); }

.slide-media { flex: 1 1 auto; min-height: 120px; position: relative; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; border-radius: 20px; background: #0f1a3d; color: #fff; isolation: isolate; }
.slide-media.no-img { justify-content: center; padding-top: 46px; background: radial-gradient(120% 90% at 85% 10%, #23397a 0%, #0f1d4d 48%, #080c1c 100%); }
.slide-media.no-img.type-conquista { background: radial-gradient(120% 90% at 85% 10%, #3b3a8f 0%, #141b4f 48%, #080c1c 100%); }
.slide-media.no-img.type-certificado { background: radial-gradient(120% 90% at 85% 10%, #13516f 0%, #0e2546 48%, #080c1c 100%); }
.slide-img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.media-chip { position: absolute; top: 12px; left: 12px; }
.slide-media .bg-icon { position: absolute; z-index: -1; right: -8%; bottom: -12%; width: 64%; height: auto; color: rgba(255, 255, 255, .07); stroke-width: 1; }
.media-info { padding: 0 14px 14px; }
.slide-media.no-img .media-info { padding-top: 4px; }
.slide-title { color: #fff; font-size: 1.2rem; font-weight: 600; line-height: 1.3; text-shadow: 0 2px 14px rgba(0, 0, 0, .35); }
.slide-summary { margin-top: 6px; font-size: .86rem; line-height: 1.5; font-weight: 300; color: rgba(255, 255, 255, .92); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* Legenda + ações (estrela, comentários) lado a lado; autor + compartilhar logo abaixo */
.slide-card:not(:has(.slide-media)) { justify-content: center; }
.slide-media { margin-bottom: 0; }
.slide-body { flex: none; display: grid; grid-template-columns: minmax(0, 1fr) 54px; margin-top: 10px; }
.caption-box { grid-column: 1; grid-row: 1; min-width: 0; margin-right: 6px; padding: 14px 16px; display: flex; flex-direction: column; justify-content: center; gap: 8px; border-radius: 20px; background: rgba(255, 255, 255, .045); border: 1px solid rgba(255, 255, 255, .09); }
.caption-title { font-size: 1rem; font-weight: 600; line-height: 1.3; color: #fff; }
.caption-title a { color: inherit; }
.caption-tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 2px 10px; }
.caption-tags a { font-size: .85rem; color: #6ea4ff; }
.caption { font-size: .95rem; line-height: 1.55; color: rgba(255, 255, 255, .95); overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; cursor: pointer; }
.caption-title + .caption { -webkit-line-clamp: 3; }
.caption.open { display: block; max-height: 26vh; overflow-y: auto; }
.caption .hashtag { color: #6ea4ff; }
.music-line { display: flex; align-items: center; gap: 6px; font-size: .78rem; color: rgba(255, 255, 255, .65); }
.music-line .icon { width: 15px; height: 15px; }
.acts { grid-column: 2; grid-row: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; }
.act { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; min-width: 44px; min-height: 44px; color: #fff; }
.act .icon { width: 26px; height: 26px; }
.act-count { font-size: .8rem; font-weight: 500; line-height: 1.2; }
.act:hover .icon { color: #8ab6ff; }
.act-star .on { display: none; color: #4d8dff; }
.act-star.is-on .on { display: block; }
.act-star.is-on .off { display: none; }
.act-star.pop .icon { animation: star-pop .35s ease-out; }
@keyframes star-pop { 40% { transform: scale(1.3); } }
.acts-foot { grid-column: 2; grid-row: 2; margin-top: 10px; padding-top: 12px; border-top: 1px solid rgba(255, 255, 255, .09); display: flex; justify-content: center; align-items: center; }
.slide-author { grid-column: 1; grid-row: 2; min-width: 0; margin-top: 10px; padding-top: 12px; border-top: 1px solid rgba(255, 255, 255, .09); display: flex; align-items: center; gap: 12px; }
.slide-author .avatar { width: 46px; height: 46px; border: 2px solid rgba(255, 255, 255, .85); }
.author-info { flex: 1; min-width: 0; }
.author-line { display: flex; flex-wrap: wrap; align-items: center; column-gap: 2px; min-width: 0; }
.author-name { display: inline-flex; align-items: center; min-width: 0; font-size: 1rem; font-weight: 600; color: #fff; }
.author-name .verified-star { flex: none; }
.author-name-text { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.author-meta { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-top: 2px; font-size: .78rem; line-height: 1.35; color: rgba(255, 255, 255, .72); }
/* Seguir: só texto ao lado do nome (sem botão com borda disputando atenção com as ações) */
.btn-follow { flex: none; display: inline-flex; align-items: center; min-height: 28px; padding: 0 6px; font-size: .78rem; font-weight: 500; color: #6ea4ff; }
.btn-follow:not(.is-on)::before { content: "+"; margin-right: 3px; font-size: 1rem; line-height: 1; }
.btn-follow.is-on { color: rgba(255, 255, 255, .6); }

/* Caixa de comentários combinando com o tema escuro do feed */
body.theme-dark .sheet-panel { background: #0f1628; color: #e9edf8; border: 1px solid rgba(255, 255, 255, .08); border-bottom: 0; }
body.theme-dark .sheet-head, body.theme-dark .comment-form { border-color: rgba(255, 255, 255, .08); }
body.theme-dark .sheet-head h2, body.theme-dark .comment-list .c-name { color: #fff; }
body.theme-dark .sheet-head .icon-btn { color: #fff; }
body.theme-dark .comment-form input { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .14); color: #fff; }

/* ---------- Barra inferior: Postagens · Notícias · [+] · Vagas · Perfil ---------- */
.bottom-nav {
  position: fixed; bottom: 0; left: 50%; transform: translateX(-50%); z-index: 40;
  width: 100%; max-width: var(--shell); height: calc(var(--nav-h) + env(safe-area-inset-bottom));
  padding: 8px 8px env(safe-area-inset-bottom);
  display: grid; grid-template-columns: 1fr 1fr 72px 1fr 1fr; align-items: center;
  background: #fff; border: 1px solid var(--line-2); border-bottom: 0; border-radius: 26px 26px 0 0;
  box-shadow: 0 -8px 28px rgba(14, 26, 61, .06);
}
.bottom-nav a { height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; color: var(--muted); font-size: .7rem; font-weight: 500; }
.bottom-nav .icon { width: 26px; height: 26px; }
.bottom-nav a.active { color: var(--blue); }
.bottom-nav a.active .icon { stroke-width: 2.2; }
.bottom-nav .nav-fab { width: 56px; height: 56px; justify-self: center; border-radius: 18px; color: #fff; background: linear-gradient(145deg, #3b82ff, #1a5fd6); box-shadow: 0 8px 22px rgba(31, 111, 235, .42); transition: transform .12s; }
.bottom-nav .nav-fab .icon { width: 30px; height: 30px; stroke-width: 2.4; }
.bottom-nav .nav-fab:active { transform: scale(.94); }
body.theme-dark .bottom-nav { background: linear-gradient(#0d1322, #090d18); border-color: rgba(255, 255, 255, .09); box-shadow: 0 -10px 30px rgba(0, 0, 0, .4); }
body.theme-dark .bottom-nav a { color: rgba(255, 255, 255, .72); }
body.theme-dark .bottom-nav a.active { color: #4d8dff; }
body.theme-dark .bottom-nav .nav-fab { color: #fff; }

/* ---------- Telas internas: topo enxuto (logo · sino · menu) ---------- */
.topbar-actions { gap: 2px; }
.topbar-actions .icon-btn { width: 40px; height: 40px; }
.topbar-actions .icon-btn .icon { width: 25px; height: 25px; }
.topbar-actions .icon-btn.active { color: var(--blue); }
.topbar-actions .icon-btn.has-dot::after { top: 5px; right: 6px; }
.menu-panel a.menu-user { padding: 8px 12px 12px; margin-bottom: 6px; border-radius: 10px 10px 0 0; border-bottom: 1px solid var(--line-2); }
.menu-panel a.menu-user:hover { background: transparent; }

/* Telas bem estreitas: abas do feed um pouco mais compactas (e rolam se ainda não couberem) */
@media (max-width: 374px) {
  .feed-bar { padding-left: 12px; }
  .feed-tabs { gap: 12px; padding: 0 14px; }
  .feed-tabs a { font-size: .82rem; }
  .topbar { padding-left: 12px; padding-right: 8px; }
}

/* Telas baixas (iPhone SE, celulares compactos): o cartão continua cabendo inteiro na tela do snap */
@media (max-height: 740px) {
  .slide-card { padding: 8px; border-radius: 24px; }
  .slide-media { min-height: 96px; border-radius: 18px; }
  .slide-body { margin-top: 8px; }
  .caption-box { padding: 10px 14px; gap: 5px; }
  .caption { font-size: .9rem; line-height: 1.45; -webkit-line-clamp: 2; }
  .caption-title { font-size: .95rem; }
  .caption-title + .caption { -webkit-line-clamp: 2; }
  .caption-tags, .music-line { display: none; }
  .slide-author, .acts-foot { margin-top: 8px; padding-top: 8px; }
  .slide-author .avatar { width: 40px; height: 40px; }
  .author-meta { -webkit-line-clamp: 1; }
}

.feed-tabs { justify-content: space-around; }
/* ---------- Vagas: filtro + "Minhas candidaturas" lado a lado ---------- */
.job-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0 0 16px; }
.jobs-page .page-head { margin-bottom: 14px; }
.job-toolbar .btn-filter { margin-top: 0; }
.job-toolbar .btn-mine { flex: 1 1 auto; justify-content: center; }

/* ---------- Vagas: balão (cartão) um pouco maior no celular ---------- */
@media (max-width: 599px) {
  .job-stage { padding: 0 46px; }
  .swipe-hint { width: 46px; font-size: .48rem; }
  .swipe-hint .hint-sub { font-size: .4rem; letter-spacing: -.02em; }
  .job-card { padding: 22px 18px 20px; border-radius: 18px; }
  .badge-sponsored, .badge-type { font-size: .8rem; padding: 4px 10px; }
  .bookmark { width: 36px; height: 36px; }
  .bookmark .icon { width: 27px; height: 27px; }
  .job-hero { grid-template-columns: 72px 1fr; gap: 14px; margin-top: 16px; }
  .company-logo { width: 72px; height: 80px; }
  .job-hero h2 { font-size: 1.28rem; }
  .job-hero .company { font-size: .92rem; margin: 10px 0; }
  .job-line { font-size: .84rem; gap: 7px; margin-bottom: 7px; }
  .job-line .icon { width: 16px; height: 16px; }
  .compat { margin-top: 20px; }
  .compat summary { padding: 11px 12px 11px 11px; gap: 11px; }
  .compat-icon { width: 36px; height: 36px; }
  .compat-icon .icon { width: 19px; height: 19px; }
  .compat-text strong { font-size: .92rem; }
  .compat-text small { font-size: .76rem; }
  .compat-body ul { font-size: .8rem; }
  .job-facts { padding: 20px 0 22px; margin-top: 18px; }
  .fact-label { font-size: .68rem; }
  .job-facts p { font-size: .84rem; }
  .job-section { padding: 20px 0 18px; }
  .job-section h3 { font-size: .92rem; }
  .job-card .skill-chips li { font-size: .74rem; padding: 4px 10px; }
  .job-desc { font-size: .84rem; }
  .more { font-size: .86rem; }
  .job-note { padding: 12px 14px; }
  .job-note p { font-size: .74rem; }
}

/* Edição rápida de curso na tabela do painel (abre um formulário pequeno) */
.inline-edit { position: relative; }
.inline-edit summary { list-style: none; cursor: pointer; }
.inline-edit summary::-webkit-details-marker { display: none; }
.inline-edit[open] form { position: absolute; right: 0; top: calc(100% + 6px); z-index: 5; min-width: 240px; padding: 12px; background: var(--bg); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 8px 24px rgba(0, 0, 0, .12); }
