/* ═══════════════════════════════════════════════════════════════════
   CENTRO DE PARTNERS (admin) — portal-admin-partners.js
   ═══════════════════════════════════════════════════════════════════ */
.adm-partner-hub-root { display: flex; flex-direction: column; gap: 14px; }
.aph-tabs { display: flex; gap: 6px; border-bottom: 1px solid rgba(255,255,255,.1); flex-wrap: wrap; }
.aph-tab { font: inherit; font-weight: 700; font-size: .85rem; color: rgba(255,255,255,.55); background: transparent; border: 0; border-bottom: 2px solid transparent; padding: 10px 14px; cursor: pointer; display: flex; align-items: center; gap: 8px; }
.aph-tab.on { color: #fff; border-bottom-color: #0095ff; }
.aph-cnt { font-size: .66rem; font-weight: 800; background: rgba(255,255,255,.08); border-radius: 999px; padding: 2px 7px; color: rgba(255,255,255,.8); }
.aph-tab.on .aph-cnt { background: linear-gradient(135deg,#0095ff,#00d4ff); color: #04121f; }

.aph-empty { color: rgba(255,255,255,.45); font-size: .88rem; padding: 16px 0; }
.aph-note { color: rgba(255,255,255,.4); font-size: .76rem; margin-top: 10px; }

.aph-tablewrap { overflow-x: auto; }
.aph-table { width: 100%; border-collapse: collapse; font-size: .85rem; }
.aph-table th { text-align: left; color: rgba(255,255,255,.45); font-size: .66rem; letter-spacing: .06em; text-transform: uppercase; font-weight: 600; padding: 10px 12px; border-bottom: 1px solid rgba(255,255,255,.1); white-space: nowrap; }
.aph-table td { padding: 12px; border-bottom: 1px solid rgba(255,255,255,.07); color: rgba(255,255,255,.8); vertical-align: top; }
.aph-table td.r, .aph-table th.r { text-align: right; }
.aph-table .mono { font-family: 'JetBrains Mono', ui-monospace, monospace; }
.aph-link { color: #4db5ff; text-decoration: none; font-weight: 700; }

.aph-badge { font-size: .62rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; padding: 3px 8px; border-radius: 999px; white-space: nowrap; }
.aph-badge.b-pend { color: #fbbf24; background: rgba(251,191,36,.10); border: 1px solid rgba(251,191,36,.25); }
.aph-badge.b-rev  { color: #60c8ff; background: rgba(96,200,255,.10); border: 1px solid rgba(96,200,255,.25); }
.aph-badge.b-obs  { color: #f87171; background: rgba(248,113,113,.10); border: 1px solid rgba(248,113,113,.25); }
.aph-badge.b-ok   { color: #34d399; background: rgba(52,211,153,.10); border: 1px solid rgba(52,211,153,.25); }
.aph-badge.b-sent { color: #60c8ff; background: rgba(96,200,255,.10); border: 1px solid rgba(96,200,255,.25); }
.aph-badge.b-seen { color: #fbbf24; background: rgba(251,191,36,.10); border: 1px solid rgba(251,191,36,.25); }
.aph-badge.b-acc  { color: #34d399; background: rgba(52,211,153,.10); border: 1px solid rgba(52,211,153,.25); }

/* planos */
.aph-plan { border: 1px solid rgba(255,255,255,.1); border-radius: 14px; padding: 16px; margin-top: 12px; background: rgba(255,255,255,.02); }
.aph-plan-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.aph-plan-sub { color: rgba(255,255,255,.45); font-size: .76rem; margin-top: 3px; }
.aph-files { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0; }
.aph-file { font-size: .78rem; color: #cdd6e0; text-decoration: none; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.12); border-radius: 9px; padding: 8px 12px; }
.aph-file:hover { border-color: rgba(0,149,255,.4); }
.aph-checks { display: flex; flex-direction: column; gap: 6px; margin: 10px 0; }
.aph-chk { font-size: .84rem; color: rgba(255,255,255,.75); display: flex; align-items: center; gap: 8px; cursor: pointer; }
.aph-obs { width: 100%; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.14); border-radius: 10px; color: #f4f6fb; font: inherit; font-size: .86rem; padding: 11px; min-height: 70px; outline: none; resize: vertical; }
.aph-plan-actions { display: flex; gap: 10px; align-items: center; margin-top: 12px; flex-wrap: wrap; }
.aph-sel { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.14); border-radius: 9px; color: #f4f6fb; font: inherit; font-size: .84rem; padding: 9px 12px; }
.aph-thread { margin-top: 14px; border-top: 1px solid rgba(255,255,255,.08); padding-top: 12px; display: flex; flex-direction: column; gap: 8px; }
.aph-msg { display: flex; gap: 10px; }
.aph-av { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: .66rem; flex: 0 0 auto; }
.aph-av.ls { background: linear-gradient(135deg,#0095ff,#00d4ff); color: #04121f; }
.aph-av.es { background: #b88a4a; color: #1a1205; }
.aph-mc { font-size: .82rem; color: rgba(255,255,255,.8); }
