/* ═══════════════════════════════════════════════════════════════════
   Posteiro Design System — Bootstrap 5 customization layer
   Loaded after bootstrap.min.css
   ═══════════════════════════════════════════════════════════════════ */

/* ── Override Bootstrap defaults ────────────────────────────────── */
:root {
  --bs-body-font-family: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
  --bs-body-bg:          #f4f5f7;
  --bs-body-color:       #171717;
  --bs-border-color:     #e5e7eb;
  --bs-border-radius:    0.75rem;
  --bs-border-radius-sm: 0.5rem;
  --bs-border-radius-lg: 1rem;
  --bs-box-shadow:       0 14px 40px rgba(15, 23, 42, 0.08);
  --bs-link-color:       #171717;
  --bs-link-hover-color: #000;

  /* Custom tokens */
  --po-bg:          #f4f5f7;
  --po-surface:     #ffffff;
  --po-surface-soft:#f8fafc;
  --po-border:      #e5e7eb;
  --po-text:        #171717;
  --po-muted:       #71717a;
  --po-accent:      #111827;
  --po-shadow:      0 10px 30px rgba(15, 23, 42, 0.08);
}

body {
  font-family: var(--bs-body-font-family);
  background-color: #f8f9fb;
  background-image:
    radial-gradient(ellipse at 0% 0%, rgba(59,130,246,0.04) 0%, transparent 50%),
    radial-gradient(ellipse at 100% 100%, rgba(99,102,241,0.04) 0%, transparent 50%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  color: #171717;
  min-height: 100vh;
}

/* ── Accessibility ───────────────────────────────────────────────── */
.skip-link {
  position: absolute; left: .75rem; top: .75rem; z-index: 10000;
  transform: translateY(-140%); transition: transform .2s;
  background: var(--po-accent); color: #fff;
  padding: .5rem .75rem; border-radius: .5rem;
  font-size: .75rem; font-weight: 700;
}
.skip-link:focus { transform: translateY(0); }

/* ── Panel (generic card container) ─────────────────────────────── */
.panel {
  background: #fff;
  border: 1px solid var(--po-border);
  border-radius: var(--bs-border-radius);
  box-shadow: var(--po-shadow);
}

/* ── Button primary (standalone, without .btn base) ─────────────── */
.btn-primary {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .45rem 1rem; font-size: .875rem; font-weight: 600; font-family: inherit;
  color: #fff; background: #111827; border: 1px solid #111827;
  border-radius: .5rem; cursor: pointer; text-decoration: none;
  transition: background .15s, box-shadow .15s;
}
.btn-primary:hover { background: #000; box-shadow: 0 4px 12px rgba(0,0,0,.15); }
.btn-primary:active { transform: scale(0.98); }

/* ── Cards ───────────────────────────────────────────────────────── */
.po-card {
  background: #fff;
  border: 1px solid var(--po-border);
  border-radius: var(--bs-border-radius);
  box-shadow: var(--po-shadow);
  transition: border-color .2s, box-shadow .2s;
}
.po-card:hover {
  border-color: rgba(17,24,39,0.22);
  box-shadow: 0 16px 44px rgba(15,23,42,0.1);
}

/* ── Dashboard cards ─────────────────────────────────────────────── */
.dashboard-card {
  position: relative; overflow: hidden;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: var(--bs-border-radius);
  box-shadow: var(--po-shadow);
  padding: 1rem;
}
.dashboard-card::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(17,24,39,0.18), transparent);
}

/* ── KPI ─────────────────────────────────────────────────────────── */
.kpi-label {
  font-size: 11px; text-transform: uppercase;
  letter-spacing: .06em; color: var(--po-muted);
}
.kpi-value {
  margin-top: .5rem; font-size: 1.875rem; font-weight: 600;
  font-variant-numeric: tabular-nums; line-height: 1.2;
}
.kpi-meta { font-size: .75rem; color: var(--po-muted); margin-top: .25rem; }
.kpi-meter {
  height: 6px; background: #e5e7eb;
  border-radius: 9999px; overflow: hidden; margin-top: .75rem;
}
.kpi-meter > span { display: block; height: 100%; border-radius: 9999px; }
.kpi-chip {
  display: inline-flex; align-items: center; gap: .25rem;
  border-radius: 9999px; padding: .125rem .5rem;
  font-size: 11px; font-weight: 500;
}
.kpi-chip-ok   { background: rgba(34,197,94,.12);  color: #166534; border: 1px solid rgba(34,197,94,.26); }
.kpi-chip-warn { background: rgba(245,158,11,.12); color: #854d0e; border: 1px solid rgba(245,158,11,.3); }
.kpi-chip-risk { background: rgba(244,63,94,.1);   color: #9f1239; border: 1px solid rgba(244,63,94,.26); }

/* ── Form controls ───────────────────────────────────────────────── */
.field-control {
  width: 100%; border-radius: .75rem; border: 1px solid var(--po-border);
  padding: .5rem .75rem; font-size: .875rem; background: var(--po-surface-soft);
  color: var(--po-text); transition: border-color .2s, box-shadow .2s;
  font-family: inherit;
}
.field-control::placeholder { color: #a1a1aa; }
.field-control:focus {
  outline: none; border-color: rgba(17,24,39,.55);
  box-shadow: 0 0 0 3px rgba(17,24,39,.12); background: #fff;
}

/* ── Tables ──────────────────────────────────────────────────────── */
.po-table-wrap {
  overflow-x: auto; border-radius: var(--bs-border-radius);
  border: 1px solid var(--po-border); background: #fff;
}
.data-table { width: 100%; min-width: 680px; font-size: .875rem; border-collapse: collapse; }
.data-table th {
  padding: .75rem 1rem; text-align: left; font-size: .75rem;
  font-weight: 600; text-transform: uppercase; letter-spacing: .06em;
  color: var(--po-muted); border-bottom: 1px solid var(--po-border);
  background: rgba(250,250,250,.9); white-space: nowrap;
}
.data-table td { padding: .75rem 1rem; vertical-align: middle; border-bottom: 1px solid rgba(229,231,235,.8); }
.data-table tbody tr:hover { background: rgba(244,244,245,.85); }
.table-row { transition: background-color .15s; }
.table-row:hover { background: rgba(244,244,245,.85); }
.table-shell { overflow-x: auto; scrollbar-color: rgba(161,161,170,.7) transparent; }
.cell-muted { color: var(--po-muted); }
.cell-mono  { font-family: ui-monospace, monospace; font-size: .75rem; }
.action-link { border-radius: .5rem; padding: .25rem .5rem; font-size: .75rem; font-weight: 600; transition: all .15s; }
.action-link-primary { color: #0f172a; }
.action-link-primary:hover { background: rgba(17,24,39,.06); }
.action-link-danger  { color: #b91c1c; }
.action-link-danger:hover  { background: rgba(220,38,38,.08); }

/* ── Status badges ───────────────────────────────────────────────── */
.status-badge {
  display: inline-flex; align-items: center;
  border-radius: 9999px; border: 1px solid transparent;
  padding: .188rem .625rem; font-size: 11px; font-weight: 600;
}
.status-badge-success { background: rgba(34,197,94,.1);  color: #166534; border-color: rgba(34,197,94,.3); }
.status-badge-warning { background: rgba(245,158,11,.1); color: #854d0e; border-color: rgba(245,158,11,.3); }
.status-badge-danger  { background: rgba(220,38,38,.1);  color: #991b1b; border-color: rgba(220,38,38,.3); }
.status-badge-info    { background: rgba(59,130,246,.1); color: #1d4ed8; border-color: rgba(59,130,246,.3); }
.status-badge-neutral { background: rgba(113,113,122,.1);color: #52525b; border-color: rgba(113,113,122,.2); }

/* ── Page headers ────────────────────────────────────────────────── */
.saas-page-header {
  border-radius: var(--bs-border-radius); border: 1px solid rgba(17,24,39,.14);
  padding: 1.25rem;
  background: radial-gradient(circle at 86% 18%, rgba(17,24,39,.07), transparent 55%),
              linear-gradient(180deg, rgba(255,255,255,.98), rgba(249,250,251,.98));
  box-shadow: 0 18px 46px rgba(15,23,42,.08);
}
.command-header {
  border-radius: var(--bs-border-radius); border: 1px solid rgba(17,24,39,.14);
  padding: 1rem;
  background: linear-gradient(135deg, rgba(255,255,255,.96), rgba(249,250,251,.96)),
              radial-gradient(circle at 100% 0%, rgba(17,24,39,.06), transparent 50%);
  box-shadow: 0 16px 42px rgba(15,23,42,.08);
}
.command-stat {
  padding: .625rem .75rem; border-radius: .5rem;
  border: 1px solid var(--po-border); background: #fff;
  transition: border-color .15s, box-shadow .15s;
  overflow: hidden; min-width: 0;
}
.command-stat:hover {
  border-color: rgba(17,24,39,.15);
  box-shadow: 0 2px 8px rgba(15,23,42,.06);
}
.command-stat-label {
  font-size: 10px; font-weight: 600; text-transform: uppercase;
  letter-spacing: .06em; color: #a1a1aa; margin: 0 0 2px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.command-stat-value {
  font-size: 13px; font-weight: 600; color: #171717; margin: 0;
  font-variant-numeric: tabular-nums;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.command-stat-dot {
  width: 6px; height: 6px; border-radius: 50%; display: inline-block;
  margin-right: 6px; flex-shrink: 0;
}
.command-eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  border-radius: 9999px; border: 1px solid rgba(17,24,39,.12);
  padding: .25rem .625rem; font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .06em;
  background: rgba(244,244,245,.9); color: #52525b;
}
.status-dot { display: inline-block; width: .5rem; height: .5rem; border-radius: 9999px; }

/* ── Empty state ─────────────────────────────────────────────────── */
.empty-state {
  text-align: center; padding: 3rem 1.5rem; color: var(--po-muted);
  background: rgba(255,255,255,.92); border: 1px dashed rgba(17,24,39,.18);
  border-radius: var(--bs-border-radius);
}

/* ── Progress / meters ───────────────────────────────────────────── */
.kpi-icon {
  display: flex; align-items: center; justify-content: center;
  width: 2.25rem; height: 2.25rem; background: rgba(244,244,245,.9);
  border: 1px solid var(--po-border); border-radius: .75rem;
}
.metric-card, .insight-panel, .saas-action-card {
  border: 1px solid var(--po-border); background: rgba(255,255,255,.92);
  border-radius: .75rem; padding: 1rem;
}
.metric-label { font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--po-muted); }
.metric-value { margin-top: .5rem; font-size: 1.5rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.metric-meta  { font-size: .75rem; color: var(--po-muted); margin-top: .25rem; }
.usage-track  { height: .5rem; border-radius: 9999px; overflow: hidden; background: #e5e7eb; }
.usage-fill   { height: 100%; border-radius: 9999px; transition: width .5s; }
.usage-fill-success { background: linear-gradient(90deg,#16a34a,#22c55e); }
.usage-fill-warning { background: linear-gradient(90deg,#f59e0b,#facc15); }
.usage-fill-danger  { background: linear-gradient(90deg,#dc2626,#fb7185); }

/* ── Sidebar ─────────────────────────────────────────────────────── */
#app-sidebar {
  position: fixed; top: 0; left: 0; bottom: 0; width: 260px;
  z-index: 50; overflow-y: auto; display: flex; flex-direction: column;
  background: #fff; border-right: 1px solid var(--po-border);
  transition: transform .2s ease;
}
#main-wrapper {
  margin-left: 260px; min-height: 100vh; flex: 1;
  display: flex; flex-direction: column; min-width: 0;
}
.nav-divider { height: 1px; background: var(--po-border); margin: 6px 12px; }
.sidebar-nav-link {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 12px; border-radius: 10px; font-size: 14px;
  color: #52525b; text-decoration: none; transition: all .15s;
}
.sidebar-nav-link:hover  { background: #f4f4f5; color: #171717; }
.sidebar-nav-link.active { background: rgba(17,24,39,.07); color: #111827; font-weight: 600; }

/* ── App overlay (mobile) ────────────────────────────────────────── */
.app-overlay {
  position: fixed; inset: 0; z-index: 40; opacity: 0;
  pointer-events: none; transition: opacity .2s;
  background: rgba(241,242,244,.85); backdrop-filter: blur(4px);
}

/* ── App header ──────────────────────────────────────────────────── */
.app-header {
  display: flex; align-items: center; justify-content: space-between;
  height: 56px; padding: 0 1.5rem; position: sticky; top: 0; z-index: 30;
  background: rgba(255,255,255,.88); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--po-border); box-shadow: 0 1px 0 rgba(17,24,39,.04);
}
.app-header-left  { display: flex; align-items: center; gap: .75rem; flex: 1; min-width: 0; }
.app-header-right { display: flex; align-items: center; gap: .25rem; }
.header-icon-btn  {
  display: flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: .625rem; border: none;
  background: transparent; color: var(--po-muted); cursor: pointer; transition: all .15s;
}
.header-icon-btn:hover { background: #f4f4f5; color: #171717; }
.header-icon-btn .icon { width: 20px; height: 20px; }
.header-user-btn  {
  display: flex; align-items: center; gap: 8px; padding: 4px 8px 4px 4px;
  border-radius: .625rem; border: none; background: transparent;
  color: var(--po-muted); cursor: pointer; transition: all .15s; font-family: inherit; font-size: 13px;
}
.header-user-btn:hover { background: #f4f4f5; }
.header-dropdown-wrapper { position: relative; }
.header-dropdown {
  position: absolute; right: 0; top: calc(100% + 8px); min-width: 200px;
  background: #fff; border: 1px solid var(--po-border);
  border-radius: var(--bs-border-radius-lg); box-shadow: 0 20px 50px rgba(15,23,42,.12);
  padding: 6px; z-index: 100;
}
.header-dropdown-item {
  display: flex; align-items: center; gap: 10px; padding: 10px 12px;
  border-radius: .625rem; color: #52525b; font-size: 13px;
  text-decoration: none; transition: all .1s; cursor: pointer;
  border: none; background: none; width: 100%; font-family: inherit; text-align: left;
}
.header-dropdown-item:hover { background: #f4f4f5; color: #171717; }
.header-dropdown-item .icon { width: 16px; height: 16px; opacity: .6; flex-shrink: 0; }
.header-dropdown-divider { height: 1px; background: var(--po-border); margin: 4px 0; }
.breadcrumb-current { font-size: 15px; font-weight: 600; color: #171717; }
.avatar {
  width: 32px; height: 32px; border-radius: 8px;
  background: linear-gradient(135deg,#111827,#4b5563); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700; flex-shrink: 0;
}
.sidebar-toggle { display: none; }

/* ── Modals ──────────────────────────────────────────────────────── */
.po-modal-overlay {
  position: fixed; inset: 0; z-index: 1050;
  background: rgba(15,23,42,.45); backdrop-filter: blur(6px);
  display: flex; padding: 1rem;
}
.po-modal-overlay--center { align-items: flex-start; justify-content: center; padding-top: 4vh; }
.po-modal-overlay--right  { align-items: flex-start; justify-content: flex-end; padding-top: 4vh; }
.po-modal {
  width: min(760px, 100%); background: #fff;
  border: 1px solid var(--po-border); border-radius: 1rem;
  box-shadow: 0 25px 60px rgba(0,0,0,.2); overflow: hidden;
  display: flex; flex-direction: column;
  max-height: 90vh; animation: modalIn .15s ease;
}
@keyframes modalIn { from { opacity:0; transform:translateY(-8px) scale(.98); } to { opacity:1; transform:translateY(0) scale(1); } }
.po-modal--sm  { width: min(480px,  100%); }
.po-modal--md  { width: min(640px,  100%); }
.po-modal--lg  { width: min(900px,  100%); }
.po-modal--side{ width: min(480px,  100%); height: 90vh; }
.po-modal-header {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 14px 18px; border-bottom: 1px solid var(--po-border);
  background: #fff; flex-shrink: 0;
}
.po-modal-title  { font-size: 14px; font-weight: 700; color: #171717; margin: 0; }
.po-modal-body   { padding: 18px; overflow-y: auto; flex: 1; min-height: 0; }
.po-modal-footer {
  padding: 14px 18px; border-top: 1px solid var(--po-border);
  background: #fff; display: flex; justify-content: flex-end; gap: 10px; flex-shrink: 0;
}

/* ── HTMX states ─────────────────────────────────────────────────── */
.htmx-indicator { opacity: 0; transition: opacity .2s; }
.htmx-request .htmx-indicator,
.htmx-request.htmx-indicator { opacity: 1; }
.htmx-request { opacity: .6; pointer-events: none; }

/* ── Animations ──────────────────────────────────────────────────── */
@keyframes fadeIn { from { opacity:0; transform:translateY(6px); } to { opacity:1; transform:translateY(0); } }
@keyframes spin    { to { transform: rotate(360deg); } }
.animate-fade-in { animation: fadeIn .25s ease forwards; }
.animate-spin    { animation: spin 1s linear infinite; }
[x-cloak]        { display: none !important; }

/* ── Search overlay ──────────────────────────────────────────────── */
.search-overlay {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(15,23,42,.5); backdrop-filter: blur(8px);
  display: flex; align-items: flex-start; justify-content: center; padding-top: 12vh;
}
.search-panel {
  width: min(580px,92vw); background: #fff;
  border: 1px solid var(--po-border); border-radius: 1rem;
  box-shadow: 0 25px 60px rgba(0,0,0,.25); overflow: hidden;
  animation: searchIn .15s ease;
}
@keyframes searchIn { from { opacity:0; transform:translateY(-8px) scale(.98); } to { opacity:1; transform:translateY(0) scale(1); } }
.search-input-wrap {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 18px; border-bottom: 1px solid var(--po-border);
}
.search-input-wrap input::placeholder { color: #a1a1aa; }
.search-kbd {
  font-size: 10px; color: #a1a1aa; padding: 2px 6px;
  border: 1px solid #e5e7eb; border-radius: 4px; cursor: pointer;
  background: #fafafa; font-family: inherit; line-height: 1.4;
}
.search-kbd:hover { background: #f4f4f5; color: #71717a; }
.search-results { max-height: 380px; overflow-y: auto; }
.search-results:empty { display: none; }
.search-empty {
  padding: 40px 20px; text-align: center; color: #a1a1aa;
}
.search-result-item{
  display: flex; align-items: center; gap: 12px;
  padding: 10px 18px; text-decoration: none; color: #171717; transition: background .08s;
  border-bottom: 1px solid #f4f4f5; cursor: pointer;
}
.search-result-item:last-child { border-bottom: none; }
.search-result-item:hover { background: #f4f4f5; }
.search-result-item .icon { width: 16px; height: 16px; color: #a1a1aa; flex-shrink: 0; }
.search-result-item .result-text { flex: 1; min-width: 0; }
.search-result-item .result-label { font-size: 13px; font-weight: 500; color: #171717; }
.search-result-item .result-meta { font-size: 11px; color: #a1a1aa; margin-top: 1px; }
.search-section-label {
  padding: 8px 18px 4px; font-size: 10px; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.06em; color: #a1a1aa; background: #fafafa;
}

/* ── Mobile ──────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  #app-sidebar    { transform: translateX(-100%); }
  #app-sidebar.is-open { transform: translateX(0); }
  #main-wrapper   { margin-left: 0 !important; }
  .sidebar-toggle { display: flex !important; }
}

/* ── Focus ───────────────────────────────────────────────────────── */
:focus-visible { outline: 2px solid rgba(17,24,39,.55); outline-offset: 2px; border-radius: 6px; }

/* ── Onboarding step cards ──────────────────────────────────────── */
.onb-step {
  border-radius: var(--bs-border-radius);
  padding: 1.25rem;
  transition: border-color .2s, background .2s;
}
.onb-step--done {
  border: 1px solid rgba(34,197,94,.25);
  background: rgba(34,197,94,.04);
}
.onb-step--pending {
  border: 1px solid var(--po-border);
  background: var(--po-surface);
}
.onb-badge {
  width: 32px; height: 32px;
  border-radius: 9999px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.onb-badge--done {
  background: rgba(34,197,94,.15);
  border: 1px solid rgba(34,197,94,.4);
}
.onb-badge--pending {
  background: var(--po-surface-soft);
  border: 1px solid var(--po-border);
}
.onb-badge--info {
  background: rgba(17,24,39,.06);
  border: 1px solid rgba(17,24,39,.12);
}
.onb-dns-record {
  background: var(--po-surface);
  border-radius: var(--bs-border-radius);
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  border: 1px solid var(--po-border);
}
.onb-copy-btn {
  border: none;
  background: none;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.75rem;
  color: var(--po-muted);
  cursor: pointer;
  transition: background .15s, color .15s;
}
.onb-copy-btn:hover { background: var(--po-surface-soft); color: var(--po-text); }
.onb-progress-bar {
  height: 6px;
  border-radius: 9999px;
  overflow: hidden;
  background: #e5e7eb;
}
.onb-progress-fill {
  height: 100%;
  border-radius: 9999px;
  background: linear-gradient(90deg, var(--po-accent), var(--po-muted));
  transition: width 500ms;
}

/* ── Utility classes (formerly Tailwind) ─────────────────────────── */
.ls-wide        { letter-spacing: 0.05em; }
.transition-all { transition: all 0.2s ease; }
.user-select-all { user-select: all; -webkit-user-select: all; }
.resize-y       { resize: vertical; }

/* ── Extended tokens (dashboard.css + templates) ────────────────── */
:root {
  --po-shadow-sm:  0 1px 3px rgba(15, 23, 42, 0.06);
  --po-shadow-md:  0 10px 30px rgba(15, 23, 42, 0.08);
  --po-text-muted: #71717a;
  --po-text-light: #9ca3af;
  --po-accent-light: #eef2ff;
  --po-success:    #166534;
  --po-success-bg: #ecfdf5;
  --po-warning:    #b45309;
  --po-warning-bg: #fffbeb;
  --po-danger:     #9f1239;
  --po-danger-bg:  #fff1f2;
  --po-accent-hover: #374151;

  --text-primary:  var(--po-text);
  --text-muted:    var(--po-muted);
  --accent:        var(--po-accent);
  --accent-hover:  var(--po-accent-hover);
  --border:        var(--po-border);
  --shadow-elevated: var(--po-shadow);
  --bs-body-tertiary: var(--po-surface-soft);
}

/* ── Utility classes (Tailwind leftovers nos templates) ─────────── */
.text-sm    { font-size: 0.875rem; line-height: 1.25rem; }
.text-lg    { font-size: 1.125rem; line-height: 1.75rem; }
.gap-1\.5   { gap: 0.375rem !important; }
.min-w-0    { min-width: 0 !important; }
.min-h-0    { min-height: 0 !important; }
.w-3        { width: 0.75rem !important; }
.w-8        { width: 2rem !important; }
.w-10       { width: 2.5rem !important; }
.h-3        { height: 0.75rem !important; }
.px-6       { padding-left: 1.5rem !important; padding-right: 1.5rem !important; }
.py-16      { padding-top: 4rem !important; padding-bottom: 4rem !important; }
.mt-n1      { margin-top: -0.25rem !important; }
.lh-tight   { line-height: 1.25 !important; }
.list-none  { list-style: none !important; }
.tabular-nums { font-variant-numeric: tabular-nums !important; }
.resize-none { resize: none !important; }
.transition-colors { transition: color 0.15s ease, background-color 0.15s ease, border-color 0.15s ease !important; }
.hover-dark:hover { color: #111827 !important; }
.underline  { text-decoration: underline !important; }
.w-fit      { width: fit-content !important; }
.cursor-pointer { cursor: pointer !important; }
.border-dashed { border-style: dashed !important; }
.border-opacity-20 { --bs-border-opacity: 0.2; }
.border-opacity-30 { --bs-border-opacity: 0.3; }
.border-opacity-40 { --bs-border-opacity: 0.4; }
.bg-opacity-5 { opacity: 0.05; }
.mono       { font-family: ui-monospace, SFMono-Regular, Menlo, monospace !important; }

/* ── Linhas interativas ─────────────────────────────────────────────── */
.bounce-row,
.suppression-row {
  cursor: pointer;
  transition: background 0.15s ease;
}
.bounce-row:hover,
.suppression-row:hover {
  background: var(--po-surface-soft);
}

/* ── Tailwind spacing/display utilities still used by templates ─────── */
.p-1\.5   { padding: 0.375rem !important; }
.px-1\.5  { padding-left: 0.375rem !important; padding-right: 0.375rem !important; }
.py-1\.5  { padding-top: 0.375rem !important; padding-bottom: 0.375rem !important; }
.py-0\.5  { padding-top: 0.125rem !important; padding-bottom: 0.125rem !important; }
.mt-0\.5  { margin-top: 0.125rem !important; }
.h-10     { height: 2.5rem !important; }
.inline   { display: inline !important; }
@media (min-width: 992px) {
  .lg-d-flex            { display: flex !important; }
  .lg-align-items-center{ align-items: center !important; }
}
