/* ═══════════════════════════════════════════════════════
   Painel Bitcontrol — mesma marca do site, fundo claro
   para leitura/escrita confortável
═══════════════════════════════════════════════════════ */
:root {
  --navy: #0C3C61;
  --navy-dk: #082a45;
  --ink: #050d1a;
  --blue: #1565E0;
  --red: #D22B35;
  --red-dk: #a81f28;
  --bg: #f3f5f9;
  --card: #ffffff;
  --text: #16202e;
  --muted: #5d6b7e;
  --line: #e1e6ee;
  --line-strong: #cdd5e1;
  --ok: #1f8a4c;
  --ok-bg: #e7f6ee;
  --warn: #9a6400;
  --warn-bg: #fff4dc;
  --err-bg: #fdecee;
  --radius: 12px;
  --shadow: 0 1px 2px rgba(16, 32, 56, .06), 0 4px 16px rgba(16, 32, 56, .05);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body { font-family: 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif; font-size: 15px; line-height: 1.5; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
hr { border: 0; border-top: 1px solid var(--line); margin: 6px 0; }

/* ─── TOPO ───────────────────────────────────────────── */
.pn-top {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; gap: 28px;
  height: 64px; padding: 0 24px;
  background: linear-gradient(90deg, var(--ink), var(--navy));
  color: #fff;
  box-shadow: 0 2px 12px rgba(5, 13, 26, .25);
}
.pn-brand { display: flex; align-items: center; gap: 12px; color: #fff; }
.pn-brand:hover { text-decoration: none; }
.pn-brand img { width: 112px; height: auto; }
.pn-brand span { padding: 2px 9px; border-radius: 999px; background: rgba(255, 255, 255, .12); font-size: .72rem; font-weight: 600; letter-spacing: .6px; text-transform: uppercase; }
.pn-nav { display: flex; gap: 4px; }
.pn-nav a { padding: 8px 14px; border-radius: 8px; color: rgba(255, 255, 255, .72); font-size: .88rem; font-weight: 500; white-space: nowrap; }
.pn-nav a:hover { color: #fff; background: rgba(255, 255, 255, .08); text-decoration: none; }
.pn-nav a.is-on { color: #fff; background: rgba(255, 255, 255, .14); }
.pn-user { display: flex; align-items: center; gap: 10px; margin-left: auto; font-size: .88rem; }
.pn-avatar { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--red); font-weight: 700; font-size: .85rem; }
.pn-link-btn { background: none; border: 0; color: rgba(255, 255, 255, .72); cursor: pointer; padding: 6px 8px; border-radius: 6px; }
.pn-link-btn:hover { color: #fff; background: rgba(255, 255, 255, .08); }

/* ─── LAYOUT ─────────────────────────────────────────── */
.pn-main { max-width: 1180px; margin: 0 auto; padding: 32px 24px 80px; }
.pn-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }
.pn-head h1 { font-size: 1.6rem; font-weight: 700; line-height: 1.2; color: var(--ink); }
.pn-sub { margin-top: 4px; color: var(--muted); font-size: .9rem; }
.pn-back { display: inline-block; margin-bottom: 6px; font-size: .85rem; color: var(--muted); }

/* ─── BOTÕES ─────────────────────────────────────────── */
.pn-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 18px; border-radius: 10px; border: 1px solid var(--line-strong);
  background: var(--card); color: var(--text); font-size: .9rem; font-weight: 600;
  cursor: pointer; white-space: nowrap; transition: background .15s, border-color .15s, box-shadow .15s;
}
.pn-btn:hover { text-decoration: none; border-color: var(--navy); }
.pn-btn-primary { background: var(--red); border-color: var(--red); color: #fff; box-shadow: 0 6px 16px rgba(210, 43, 53, .22); }
.pn-btn-primary:hover { background: var(--red-dk); border-color: var(--red-dk); }
.pn-btn-ghost { background: transparent; }
.pn-btn-danger { color: var(--red); background: transparent; }
.pn-btn-danger:hover { border-color: var(--red); background: var(--err-bg); }
.pn-btn-danger-solid { background: var(--red); border-color: var(--red); color: #fff; }
.pn-btn-danger-solid:hover { background: var(--red-dk); }
.pn-btn-sm { padding: 6px 12px; font-size: .82rem; border-radius: 8px; }
.pn-btn-block { width: 100%; }

/* ─── MENSAGENS ──────────────────────────────────────── */
.pn-flash { padding: 12px 16px; margin-bottom: 16px; border-radius: 10px; font-size: .9rem; border: 1px solid; }
.pn-flash-ok { background: var(--ok-bg); border-color: #b9e3cb; color: #135c33; }
.pn-flash-erro { background: var(--err-bg); border-color: #f4c2c6; color: #8f1b23; }

/* ─── LISTA ──────────────────────────────────────────── */
.pn-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 16px; flex-wrap: wrap; }
.pn-tabs { display: flex; gap: 4px; padding: 4px; background: #e6eaf1; border-radius: 10px; overflow-x: auto; }
.pn-tabs a { display: flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: 8px; color: var(--muted); font-size: .86rem; font-weight: 600; white-space: nowrap; }
.pn-tabs a:hover { color: var(--text); text-decoration: none; }
.pn-tabs a.is-on { background: var(--card); color: var(--ink); box-shadow: var(--shadow); }
.pn-tabs a span { min-width: 20px; padding: 0 6px; border-radius: 999px; background: rgba(12, 60, 97, .1); font-size: .74rem; text-align: center; }
.pn-search { position: relative; flex: 0 1 280px; }
.pn-search svg { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--muted); width: 16px; height: 16px; }
.pn-search input { width: 100%; padding: 9px 12px 9px 36px; border: 1px solid var(--line-strong); border-radius: 10px; background: var(--card); }

.pn-list { list-style: none; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.pn-row { display: flex; align-items: center; gap: 16px; padding: 14px 18px; border-top: 1px solid var(--line); }
.pn-row:first-child { border-top: 0; }
.pn-row:hover { background: #fafbfd; }
.pn-thumb { flex-shrink: 0; width: 88px; height: 58px; border-radius: 8px; overflow: hidden; background: #e9eef5; }
.pn-thumb img { width: 100%; height: 100%; object-fit: cover; }
.pn-thumb-ph { display: grid; place-items: center; width: 100%; height: 100%; background: linear-gradient(135deg, var(--navy), var(--blue)); color: rgba(255, 255, 255, .85); font-weight: 700; font-size: 1.2rem; }
.pn-row-main { flex: 1; min-width: 0; }
.pn-row-title { display: block; color: var(--ink); font-weight: 600; font-size: .98rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pn-row-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 12px; margin-top: 4px; font-size: .8rem; color: var(--muted); }
.pn-cat { font-weight: 600; color: var(--navy); }
.pn-row-actions { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }
.pn-row-actions form { display: contents; }

.pn-pill { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: .74rem; font-weight: 600; }
.pn-pill-publicado { background: var(--ok-bg); color: var(--ok); }
.pn-pill-agendado { background: #e6efff; color: var(--blue); }
.pn-pill-rascunho { background: var(--warn-bg); color: var(--warn); }

.pn-empty { padding: 56px 24px; text-align: center; background: var(--card); border: 1px dashed var(--line-strong); border-radius: var(--radius); }
.pn-empty-icon { display: grid; place-items: center; width: 56px; height: 56px; margin: 0 auto 14px; border-radius: 14px; background: #eaf1fd; color: var(--blue); }
.pn-empty-icon svg { width: 26px; height: 26px; }
.pn-empty h2 { font-size: 1.15rem; color: var(--ink); }
.pn-empty p { margin: 6px 0 18px; color: var(--muted); }

/* ─── DIÁLOGO ────────────────────────────────────────── */
.pn-dialog { margin: auto; width: min(440px, calc(100% - 32px)); padding: 24px; border: 0; border-radius: 16px; box-shadow: 0 24px 64px rgba(5, 13, 26, .3); color: var(--text); }
.pn-dialog::backdrop { background: rgba(5, 13, 26, .55); }
.pn-dialog h2 { font-size: 1.15rem; margin-bottom: 8px; color: var(--ink); }
.pn-dialog p { color: var(--muted); font-size: .92rem; }
.pn-dialog-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 22px; }

/* ─── FORMULÁRIOS ────────────────────────────────────── */
.pn-form { display: flex; flex-direction: column; gap: 16px; }
.pn-field { display: flex; flex-direction: column; gap: 6px; position: relative; }
.pn-field > span:first-child, .pn-label { font-size: .84rem; font-weight: 600; color: var(--text); }
.pn-field small, .pn-hint { font-weight: 400; color: var(--muted); font-size: .78rem; }
.pn-field input[type="text"], .pn-field input[type="email"], .pn-field input[type="password"],
.pn-field input[type="datetime-local"], .pn-field select, .pn-field textarea {
  width: 100%; padding: 10px 12px; border: 1px solid var(--line-strong); border-radius: 10px; background: #fff;
  transition: border-color .15s, box-shadow .15s;
}
.pn-field input:focus, .pn-field select:focus, .pn-field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(21, 101, 224, .15); }
.pn-field textarea { resize: vertical; min-height: 80px; }
.pn-counter { position: absolute; right: 10px; bottom: 8px; font-size: .72rem; color: var(--muted); pointer-events: none; }
.pn-check { display: flex; align-items: center; gap: 8px; font-size: .85rem; color: var(--muted); margin: -4px 0 12px; cursor: pointer; }
.pn-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px; }
.pn-card h2 { font-size: .8rem; font-weight: 700; letter-spacing: .6px; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.pn-narrow { max-width: 520px; }

/* ─── EDITOR ─────────────────────────────────────────── */
.pn-editor-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 24px; align-items: start; }
.pn-editor-main { display: flex; flex-direction: column; gap: 20px; }
.pn-editor-side { display: flex; flex-direction: column; gap: 16px; position: sticky; top: 88px; }
.pn-editor-side .pn-field + .pn-field { margin-top: 14px; }
.pn-status-line { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; font-size: .88rem; color: var(--muted); }
.pn-side-actions { display: flex; flex-direction: column; gap: 8px; margin-top: 16px; }

.pn-cover { position: relative; aspect-ratio: 16 / 9; margin-bottom: 12px; border-radius: 10px; overflow: hidden; background: #f4f7fb; border: 1.5px dashed var(--line-strong); }
.pn-cover img { display: none; width: 100%; height: 100%; object-fit: cover; }
.pn-cover.has-img { border-style: solid; }
.pn-cover.has-img img { display: block; }
.pn-cover.is-removing img { opacity: .25; }
.pn-cover-drop { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; text-align: center; font-size: .85rem; font-weight: 600; color: var(--navy); cursor: pointer; }
.pn-cover-drop small { font-weight: 400; color: var(--muted); }
.pn-cover-drop svg { width: 26px; height: 26px; color: var(--blue); }
.pn-cover.has-img .pn-cover-drop { opacity: 0; background: rgba(5, 13, 26, .55); color: #fff; transition: opacity .15s; }
.pn-cover.has-img .pn-cover-drop small, .pn-cover.has-img .pn-cover-drop svg { color: #fff; }
.pn-cover.has-img .pn-cover-drop:hover, .pn-cover.has-img .pn-cover-drop:focus-within { opacity: 1; }
.pn-cover-drop input { position: absolute; width: 1px; height: 1px; opacity: 0; }

/* ─── BANNERS ────────────────────────────────────────── */
.pn-tip { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 18px; padding: 12px 16px; border-radius: 10px; background: #eaf1fd; color: var(--navy); font-size: .86rem; }
.pn-tip svg { margin-top: 1px; color: var(--blue); }
.pn-flash-aviso { background: var(--warn-bg); border-color: #f2d9a3; color: var(--warn); }

.pn-banners { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.pn-banner { display: flex; align-items: center; gap: 16px; padding: 14px 16px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.pn-banner.is-off .pn-banner-thumb img { opacity: .45; filter: grayscale(.6); }
.pn-banner-n { display: grid; place-items: center; flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%; background: var(--navy); color: #fff; font-size: .8rem; font-weight: 700; }
.pn-banner-thumb { position: relative; flex-shrink: 0; width: 264px; aspect-ratio: 1920 / 800; border-radius: 8px; overflow: hidden; background: #e9eef5; }
.pn-banner-thumb > img { width: 100%; height: 100%; object-fit: cover; }
.pn-banner-thumb .pn-banner-thumb-m { position: absolute; right: 6px; bottom: 6px; width: 30px; height: auto; aspect-ratio: 4 / 5; border: 2px solid #fff; border-radius: 4px; box-shadow: 0 2px 8px rgba(0, 0, 0, .3); }
.pn-banner-info { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.pn-banner-desc { font-weight: 600; color: var(--ink); font-size: .94rem; }
.pn-banner-desc em { font-weight: 400; color: var(--muted); }
.pn-banner-meta { font-size: .78rem; color: var(--muted); overflow-wrap: anywhere; }
.pn-order { display: flex; gap: 6px; }
.pn-btn-icon { padding: 6px 8px; }
.pn-btn:disabled { opacity: .35; cursor: default; }

.pn-req, .pn-opt { margin-left: 6px; padding: 1px 8px; border-radius: 999px; font-size: .66rem; letter-spacing: .3px; }
.pn-req { background: var(--err-bg); color: var(--red); }
.pn-opt { background: #eef1f6; color: var(--muted); }
.pn-banner-form .pn-card .pn-hint { margin-top: 8px; display: block; }
.pn-cover-desk { aspect-ratio: 1920 / 800; margin-bottom: 0; }
.pn-mobile-row { display: grid; grid-template-columns: 200px 1fr; gap: 20px; align-items: start; }
.pn-cover-mob { aspect-ratio: 4 / 5; margin-bottom: 0; }
.pn-mobile-help p { font-size: .86rem; color: var(--muted); margin-bottom: 10px; }
.pn-mobile-help .pn-check { margin: 4px 0 0; }

.pn-switch { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--ink); cursor: pointer; }
.pn-switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pn-switch-ui { position: relative; width: 42px; height: 24px; border-radius: 999px; background: #cdd5e1; transition: background .15s; }
.pn-switch-ui::after { content: ''; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .25); transition: transform .15s; }
.pn-switch input:checked + .pn-switch-ui { background: var(--ok); }
.pn-switch input:checked + .pn-switch-ui::after { transform: translateX(18px); }
.pn-switch input:focus-visible + .pn-switch-ui { outline: 2px solid var(--blue); outline-offset: 2px; }
code { padding: 1px 5px; border-radius: 4px; background: #eef1f6; font-size: .9em; }

/* ─── DOCUMENTOS ─────────────────────────────────────── */
.pn-docs { list-style: none; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.pn-doc { display: flex; align-items: center; gap: 16px; padding: 14px 18px; border-top: 1px solid var(--line); }
.pn-doc:first-child { border-top: 0; }
.pn-doc-icon, .pn-file-icon { display: grid; place-items: center; flex-shrink: 0; width: 40px; height: 48px; border-radius: 6px; background: var(--err-bg); color: var(--red); font-size: .66rem; font-weight: 700; letter-spacing: .5px; }
.pn-doc-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.pn-doc-title { color: var(--ink); font-weight: 600; }

.pn-doc-form { max-width: 640px; display: flex; flex-direction: column; gap: 20px; }
.pn-file { display: flex; align-items: center; gap: 14px; padding: 16px; border: 1.5px dashed var(--line-strong); border-radius: 10px; background: #f8fafd; cursor: pointer; transition: border-color .15s, background .15s; }
.pn-file:hover, .pn-file:focus-within { border-color: var(--blue); background: #f1f6ff; }
.pn-file.has-file { border-style: solid; border-color: var(--ok); background: var(--ok-bg); }
.pn-file.is-erro { border-style: solid; border-color: var(--red); background: var(--err-bg); }
.pn-file.is-erro .js-file-info { color: #8f1b23; }
.pn-file-text { display: flex; flex-direction: column; min-width: 0; }
.pn-file-text strong { color: var(--ink); font-size: .92rem; overflow-wrap: anywhere; }
.pn-file-text small { color: var(--muted); font-size: .8rem; }
.pn-file input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.pn-form-actions { display: flex; justify-content: flex-end; gap: 8px; padding-top: 4px; }

/* ─── LOGIN / PRIMEIRO ACESSO ────────────────────────── */
.pn-auth { min-height: 100vh; background: radial-gradient(ellipse at 20% 0%, rgba(21, 101, 224, .35), transparent 55%), radial-gradient(ellipse at 100% 100%, rgba(210, 43, 53, .22), transparent 50%), var(--ink); }
.pn-auth-main { display: grid; place-items: center; min-height: 100vh; padding: 32px 16px; }
.pn-auth-card { width: 100%; max-width: 400px; padding: 36px 32px; border-radius: 20px; background: rgba(10, 26, 46, .82); border: 1px solid rgba(255, 255, 255, .08); box-shadow: 0 24px 64px rgba(0, 0, 0, .45); color: #fff; backdrop-filter: blur(12px); }
.pn-auth-logo { width: 160px; height: auto; margin: 0 auto 24px; }
.pn-auth-card h1 { font-size: 1.3rem; text-align: center; }
.pn-auth-sub { margin: 6px 0 24px; text-align: center; font-size: .88rem; color: rgba(255, 255, 255, .6); }
.pn-auth-card .pn-field > span:first-child { color: rgba(255, 255, 255, .85); }
.pn-auth-card .pn-field small { color: rgba(255, 255, 255, .5); }
.pn-auth-card .pn-field input { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .14); color: #fff; }
.pn-auth-card .pn-field input:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(21, 101, 224, .3); }
.pn-auth-card .pn-btn-primary { margin-top: 6px; padding: 12px; }
.pn-auth-card .pn-flash-erro { background: rgba(210, 43, 53, .15); border-color: rgba(210, 43, 53, .4); color: #ffb3b8; }
.pn-auth-back { display: block; margin-top: 20px; text-align: center; font-size: .84rem; color: rgba(255, 255, 255, .55); }
.pn-auth-back:hover { color: #fff; }

/* ─── MEUBIT (painel) ────────────────────────────────── */
.pn-initial { display: grid; place-items: center; flex-shrink: 0; width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(135deg, var(--navy), var(--blue)); color: #fff; font-weight: 700; }
.pn-row.is-off .pn-initial { background: #b7c1cf; }
.pn-row.is-off .pn-row-title { color: var(--muted); }
.pn-card-gap { margin-top: 20px; }
.pn-card .pn-sub { margin: -6px 0 14px; }
.pn-actions-left { justify-content: flex-start; }
.pn-senha { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; padding: 16px 18px; border-radius: var(--radius); background: var(--warn-bg); border: 1px solid #f2d9a3; color: #5c3d00; }
.pn-senha > div { flex: 1 1 320px; }
.pn-senha p { font-size: .86rem; margin-top: 2px; }
.pn-senha-cod { padding: 8px 14px; border-radius: 8px; background: #fff; border: 1px solid #f2d9a3; font-size: 1.25rem; font-weight: 700; letter-spacing: 1.5px; color: var(--ink); }
.pn-mb-grid { display: grid; grid-template-columns: 360px minmax(0, 1fr); gap: 24px; align-items: start; }
.pn-mb-grid > form { position: sticky; top: 88px; }
.pn-mb-pastas { display: flex; flex-direction: column; gap: 16px; }
.pn-mb-pasta h2 { display: flex; align-items: center; gap: 8px; }
.pn-mb-pasta h2 span { min-width: 22px; padding: 0 7px; border-radius: 999px; background: rgba(12, 60, 97, .1); color: var(--navy); font-size: .72rem; text-align: center; letter-spacing: 0; }
.pn-mb-docs { list-style: none; }
.pn-mb-docs li { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-top: 1px solid var(--line); }
.pn-mb-docs li:first-child { border-top: 0; padding-top: 0; }
.pn-mb-docs li:last-child { padding-bottom: 0; }
.pn-visto { color: var(--ok); font-weight: 600; }

/* ─── MEUBIT (área do colaborador) ───────────────────── */
.mb-main { max-width: 960px; }
.mb-auth-help { margin-top: 18px; text-align: center; font-size: .8rem; color: rgba(255, 255, 255, .55); }
.mb-pastas { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 20px; }
.mb-pasta { display: flex; flex-direction: column; gap: 4px; padding: 18px; border-radius: var(--radius); background: var(--card); border: 1.5px solid var(--line); box-shadow: var(--shadow); color: var(--text); transition: border-color .15s, transform .15s; }
.mb-pasta:hover { text-decoration: none; border-color: var(--blue); transform: translateY(-2px); }
.mb-pasta.is-on { border-color: var(--navy); background: linear-gradient(150deg, var(--blue), var(--navy)); color: #fff; }
.mb-pasta-icon { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 8px; border-radius: 12px; background: #eaf1fd; color: var(--blue); }
.mb-pasta.is-on .mb-pasta-icon { background: rgba(255, 255, 255, .16); color: #fff; }
.mb-pasta-icon svg { width: 22px; height: 22px; }
.mb-pasta-nome { font-weight: 700; color: var(--ink); }
.mb-pasta.is-on .mb-pasta-nome { color: #fff; }
.mb-pasta-desc { font-size: .8rem; color: var(--muted); }
.mb-pasta.is-on .mb-pasta-desc { color: rgba(255, 255, 255, .75); }
.mb-novo { color: var(--red); text-transform: uppercase; font-size: .7rem; letter-spacing: .5px; }
.mb-app .pn-user .pn-link-btn { text-decoration: none; }

/* ─── RESPONSIVO ─────────────────────────────────────── */
@media (max-width: 960px) {
  .pn-editor-grid { grid-template-columns: 1fr; }
  .pn-editor-side { position: static; }
  .pn-mb-grid { grid-template-columns: 1fr; }
  .pn-mb-grid > form { position: static; }
  .mb-pastas { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .pn-top { gap: 12px; padding: 0 16px; }
  .pn-brand span, .pn-user-name, .pn-avatar { display: none; }
  .pn-nav a { padding: 8px 10px; font-size: .82rem; }
  .pn-nav a[target] { display: none; }
  .pn-main { padding: 24px 16px 64px; }
  .pn-head h1 { font-size: 1.35rem; }
  .pn-search { flex-basis: 100%; }
  .pn-row { flex-wrap: wrap; align-items: flex-start; gap: 12px; }
  .pn-thumb { width: 72px; height: 50px; }
  .pn-row-title { white-space: normal; }
  .pn-row-actions { width: 100%; flex-wrap: wrap; }
  .pn-doc { flex-wrap: wrap; }
  .pn-doc .pn-row-actions { width: 100%; flex-wrap: wrap; }
  .pn-banner { flex-wrap: wrap; }
  .pn-banner-thumb { width: calc(100% - 44px); }
  .pn-banner-info { flex-basis: 100%; }
  .pn-mobile-row { grid-template-columns: 1fr; }
  .pn-cover-mob { max-width: 200px; }
  .pn-mb-docs li { flex-wrap: wrap; }
  .pn-mb-docs .pn-doc-info { flex-basis: calc(100% - 54px); }
  .pn-mb-docs .pn-row-actions, .pn-mb-docs li > .pn-btn { margin-left: 54px; }
  .mb-pastas { gap: 10px; }
  .mb-pasta { padding: 14px; }
}
