/* ════════════════════════════════════════════════════════════════════
   Panel Fusion — design system
   Built from the real products: BasedPanel (orange, near-black, glassy) +
   LoumPanel (crimson, charcoal, Linear/Notion-clean). One restrained accent
   that ADAPTS per active platform (--accent set on .app-shell).
   ════════════════════════════════════════════════════════════════════ */
:root{
  /* layered near-black surfaces */
  --bg:#0c0c0e;            /* content */
  --bg-deep:#070708;       /* rail + sidebar (deepest) */
  --bg-elev:#151518;       /* cards */
  --bg-raise:#1c1c21;      /* raised / hover surface */
  --bg-input:#111114;
  --bg-overlay:rgba(0,0,0,.55);
  --hover:rgba(255,255,255,.045);
  --active:rgba(255,255,255,.07);

  /* hairlines (BasedPanel-style ultra-subtle white borders) */
  --line:rgba(255,255,255,.07);
  --line-2:rgba(255,255,255,.12);

  /* text */
  --text:#f3f3f5;
  --text-2:#9b9ba4;
  --text-3:#62626d;

  /* platform brands (real) */
  --based:#f97316;
  --loom:#e11d48;
  /* active accent — overridden on .app-shell per platform; default = Based */
  --accent:#f97316;
  --accent-soft:color-mix(in srgb, var(--accent) 13%, transparent);
  --accent-line:color-mix(in srgb, var(--accent) 32%, transparent);

  --green:#34d399; --green-soft:rgba(52,211,153,.12);
  --yellow:#fbbf24; --yellow-soft:rgba(251,191,36,.12);
  --red:#f87171;

  --r-xs:6px; --r-sm:8px; --r:11px; --r-lg:14px; --r-xl:18px;
  --ease:cubic-bezier(.16,1,.3,1);
  --rail-w:64px; --sidebar-w:238px; --topbar-h:54px; --pad:22px;
  --shadow:0 2px 8px rgba(0,0,0,.3), 0 12px 32px rgba(0,0,0,.28);
}

*,*::before,*::after{ box-sizing:border-box; margin:0; padding:0 }
html,body{ height:100% }
body{
  font-family:'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;
  background:var(--bg); color:var(--text);
  font-size:13px; line-height:1.5; letter-spacing:-.006em;
  font-feature-settings:'cv11','ss01'; font-variant-numeric:tabular-nums;
  -webkit-font-smoothing:antialiased; -moz-osx-font-smoothing:grayscale;
}
a{ color:inherit; text-decoration:none }
button{ font-family:inherit; cursor:pointer; background:none; border:0; color:inherit }
img{ display:block; max-width:100% }
h1,h2,h3,h4{ letter-spacing:-.02em; font-weight:600; line-height:1.25; color:var(--text) }
code{ font-family:'SF Mono',ui-monospace,Menlo,monospace; font-size:11.5px;
  background:var(--bg-input); color:var(--accent); padding:1.5px 6px; border-radius:5px;
  border:1px solid var(--line) }
::-webkit-scrollbar{ width:10px; height:10px }
::-webkit-scrollbar-thumb{ background:#26262c; border-radius:6px; border:3px solid var(--bg) }
::-webkit-scrollbar-thumb:hover{ background:#33333a }
@keyframes fade{ from{opacity:0} to{opacity:1} }
@keyframes fadeIn{ from{opacity:0} to{opacity:1} }
@keyframes rise{ from{opacity:0;transform:translateY(6px)} to{opacity:1;transform:none} }
@keyframes pulse{ 0%,100%{opacity:1} 50%{opacity:.45} }

.app-shell{ display:flex; min-height:100vh }

/* ══════════ Platform-Rail ══════════ */
.prail{
  width:var(--rail-w); flex-shrink:0; height:100vh; position:sticky; top:0; z-index:101;
  background:var(--bg-deep); border-right:1px solid var(--line);
  display:flex; flex-direction:column; align-items:center; padding:11px 0; gap:10px;
}
.prail-logo{
  width:38px; height:38px; border-radius:11px; flex-shrink:0; position:relative;
  display:flex; align-items:center; justify-content:center;
  background:conic-gradient(from 210deg at 50% 50%, var(--based), var(--loom), var(--based));
  color:#fff; font-size:15px;
}
.prail-logo::after{ content:""; position:absolute; inset:1.5px; border-radius:9px;
  background:var(--bg-deep); }
.prail-logo span{ position:relative; z-index:1;
  background:linear-gradient(135deg,var(--based),var(--loom));
  -webkit-background-clip:text; background-clip:text; -webkit-text-fill-color:transparent;
  font-weight:800; }
.prail-home{ position:relative; width:42px; height:42px; border-radius:12px; flex-shrink:0;
  display:flex; align-items:center; justify-content:center; color:var(--text-3); font-size:18px;
  transition:.16s var(--ease); }
.prail-home:hover{ background:var(--hover); color:var(--text-2) }
.prail-home.active{ color:#fff; background:linear-gradient(135deg,var(--based),var(--loom));
  box-shadow:0 2px 10px -3px var(--based) }
.prail-scroll{ flex:1; width:100%; display:flex; flex-direction:column; align-items:center;
  gap:3px; overflow-y:auto; scrollbar-width:none; }
.prail-scroll::-webkit-scrollbar{ display:none }
.pgroup{ width:100%; display:flex; flex-direction:column; align-items:center; gap:7px;
  padding:9px 0; }
.pgroup + .pgroup{ border-top:1px solid var(--line) }
.pgroup-head{ position:relative; width:42px; height:42px; border-radius:12px;
  display:flex; align-items:center; justify-content:center; transition:.18s var(--ease);
  outline:1.5px solid transparent; outline-offset:2px; }
.pgroup-head:hover{ background:var(--hover) }
.pgroup.open .pgroup-head{ outline-color:var(--line-2) }
.pgroup-logo{ width:100%; height:100%; object-fit:cover; border-radius:inherit; display:block;
  filter:saturate(1.02); }
.pgroup-count{ position:absolute; bottom:-4px; right:-4px; min-width:17px; height:17px; padding:0 4px;
  background:var(--pc); color:#fff; font-size:9.5px; font-weight:700; border-radius:9px;
  display:flex; align-items:center; justify-content:center; box-shadow:0 0 0 2.5px var(--bg-deep);
  font-variant-numeric:tabular-nums; }
.prail-tip,.crav-tip{ position:absolute; left:calc(100% + 13px); top:50%; transform:translateY(-50%);
  background:#1c1c21; color:var(--text); padding:5px 10px; border-radius:7px; font-size:11.5px;
  font-weight:500; white-space:nowrap; opacity:0; pointer-events:none; transition:opacity .12s;
  z-index:200; box-shadow:var(--shadow); border:1px solid var(--line-2); }
.prail-tip::before,.crav-tip::before{ content:""; position:absolute; right:100%; top:50%;
  transform:translateY(-50%); border:5px solid transparent; border-right-color:#1c1c21 }
.pgroup-head:hover .prail-tip, .crav:hover .crav-tip, .prail-home:hover .prail-tip{ opacity:1 }
.pgroup-body{ display:none; flex-direction:column; align-items:center; gap:5px }
.pgroup.open .pgroup-body{ display:flex; animation:fade .18s var(--ease) }
.crav{ position:relative; width:36px; height:36px; border-radius:50%; font-size:12.5px; font-weight:600;
  color:var(--text-2); background:var(--bg-input);
  display:flex; align-items:center; justify-content:center;
  transition:border-radius .18s var(--ease), background .12s; }
.crav img{ width:100%; height:100%; border-radius:inherit; object-fit:cover }
.crav:hover{ border-radius:12px; background:var(--bg-raise); color:var(--text) }
.crav.active{ border-radius:12px; color:var(--text); background:var(--bg-raise) }
.crav.active::before{ content:""; position:absolute; left:-11px; top:7px; bottom:7px; width:3px;
  border-radius:0 3px 3px 0; background:var(--pc); }
.crav.off{ opacity:.5 }
.crav.off::after{ content:""; position:absolute; bottom:-1px; right:-1px; width:9px; height:9px;
  border-radius:50%; background:var(--yellow); box-shadow:0 0 0 2px var(--bg-deep) }
.crav-badge{ position:absolute; top:-4px; right:-4px; min-width:17px; height:17px; padding:0 4px;
  background:var(--pc); color:#fff; font-size:9.5px; font-weight:700; border-radius:9px;
  display:flex; align-items:center; justify-content:center; box-shadow:0 0 0 2px var(--bg-deep) }
.crav.add{ background:transparent; border:1px dashed var(--line-2); color:var(--text-3); font-size:13px }
.crav.add:hover{ color:var(--text-2); border-color:var(--text-3); border-radius:12px }

/* ══════════ Sidebar ══════════ */
.sidebar{ width:var(--sidebar-w); flex-shrink:0; height:100vh; position:sticky; top:0; z-index:100;
  background:var(--bg-deep); border-right:1px solid var(--line); display:flex; flex-direction:column }
.sidebar-brand{ display:flex; align-items:center; gap:10px; padding:15px 16px;
  border-bottom:1px solid var(--line) }
.brand-mark{ width:26px; height:26px; border-radius:8px; flex-shrink:0; position:relative;
  display:flex; align-items:center; justify-content:center; font-size:12px; font-weight:800;
  background:conic-gradient(from 210deg, var(--based), var(--loom), var(--based)); color:#fff }
.brand-mark::after{ content:""; position:absolute; inset:1.5px; border-radius:6px; background:var(--bg-deep) }
.brand-mark span{ position:relative; z-index:1;
  background:linear-gradient(135deg,var(--based),var(--loom)); -webkit-background-clip:text;
  background-clip:text; -webkit-text-fill-color:transparent }
.brand-name{ font-size:14px; font-weight:650; letter-spacing:-.02em }
.brand-name b{ font-weight:750 }
.sidebar-nav{ padding:9px; display:flex; flex-direction:column; gap:1px; overflow-y:auto; flex:1 }
.nav-link{ display:flex; align-items:center; gap:10px; padding:7px 9px; border-radius:8px;
  color:var(--text-2); font-size:12.5px; font-weight:500; transition:.12s; position:relative }
.nav-link i{ font-size:14.5px; width:17px; text-align:center; color:var(--text-3); transition:.12s }
.nav-link:hover{ background:var(--hover); color:var(--text) }
.nav-link:hover i{ color:var(--text-2) }
.nav-link.active{ background:var(--active); color:var(--text); font-weight:600 }
.nav-link.active i{ color:var(--accent) }
.nav-tag{ margin-left:auto; font-size:9px; font-weight:700; text-transform:uppercase;
  letter-spacing:.05em; color:var(--text-3); background:var(--bg-input); padding:2px 6px;
  border-radius:5px; border:1px solid var(--line) }
.nav-sec{ display:flex; align-items:center; gap:8px; margin:12px 4px 5px; padding:9px 8px;
  border-radius:9px; background:var(--bg-input); border:1px solid var(--line) }
.nav-sec-logo{ width:22px; height:22px; border-radius:6px; object-fit:cover; flex-shrink:0; background:#fff }
.nav-sec-body{ min-width:0; line-height:1.25 }
.nav-sec-name{ font-size:12px; font-weight:650; color:var(--text); overflow:hidden;
  text-overflow:ellipsis; white-space:nowrap }
.nav-sec-plat{ font-size:10px; font-weight:600; color:var(--pc); text-transform:uppercase; letter-spacing:.04em }
.sidebar-hint{ margin:10px 4px; padding:13px; border-radius:10px; background:var(--bg-input);
  border:1px solid var(--line); color:var(--text-3); font-size:11.5px; line-height:1.55 }
.sidebar-hint i{ color:var(--accent) }
.sidebar-foot{ padding:9px; border-top:1px solid var(--line) }
.sidebar-user{ display:flex; align-items:center; gap:9px; padding:6px; border-radius:9px;
  transition:.12s } .sidebar-user:hover{ background:var(--hover) }
.sidebar-user-avatar{ width:28px; height:28px; border-radius:8px; background:var(--bg-raise);
  display:flex; align-items:center; justify-content:center; color:var(--text); font-weight:650;
  font-size:11px; flex-shrink:0 }
.sidebar-user-info{ flex:1; min-width:0; line-height:1.25 }
.sidebar-user-name{ font-size:12px; font-weight:600; overflow:hidden; text-overflow:ellipsis; white-space:nowrap }
.sidebar-user-role{ font-size:10.5px; color:var(--text-3); text-transform:capitalize }

/* ══════════ Main / Topbar ══════════ */
.main{ flex:1; display:flex; flex-direction:column; min-width:0 }
.topbar{ height:var(--topbar-h); flex-shrink:0; background:rgba(12,12,14,.8);
  backdrop-filter:saturate(1.4) blur(12px); border-bottom:1px solid var(--line);
  display:flex; align-items:center; gap:12px; padding:0 var(--pad); position:sticky; top:0; z-index:20 }
.topbar h1{ font-size:13.5px; font-weight:600 }
.topbar-spacer{ flex:1 }
.content{ flex:1; padding:var(--pad); animation:rise .22s var(--ease); min-width:0 }
.tb-acc{ display:inline-flex; align-items:center; gap:8px; padding:4px 11px 4px 5px; border-radius:9px;
  background:var(--bg-elev); border:1px solid var(--line); font-size:12px }
.tb-acc-logo{ width:20px; height:20px; border-radius:6px; object-fit:cover; background:#fff }
.tb-acc-name{ font-weight:600; color:var(--text) }
.tb-acc-plat{ display:inline-flex; align-items:center; gap:4px; color:var(--pc); font-weight:600;
  font-size:11px; padding-left:8px; border-left:1px solid var(--line) }

/* ══════════ Cards / KPI / grid ══════════ */
.grid{ display:grid; gap:13px }
.g-2{ grid-template-columns:repeat(2,1fr) } .g-3{ grid-template-columns:repeat(3,1fr) }
@media (max-width:960px){ .g-3{ grid-template-columns:1fr } .g-2{ grid-template-columns:1fr } }
.card{ background:var(--bg-elev); border:1px solid var(--line); border-radius:var(--r-lg) }
.card:not(.card-flush){ padding:18px }
.card-head{ display:flex; align-items:center; justify-content:space-between; padding:14px 18px;
  border-bottom:1px solid var(--line); font-size:12.5px; font-weight:600 }
.card-head > span i{ color:var(--text-3); margin-right:8px }
.section-title{ font-size:11px; font-weight:600; text-transform:uppercase; letter-spacing:.07em;
  color:var(--text-3); margin-bottom:11px }

.kpi{ position:relative; background:var(--bg-elev); border:1px solid var(--line);
  border-radius:var(--r-lg); padding:17px 18px 16px; overflow:hidden; transition:.15s }
.kpi:hover{ border-color:var(--line-2) }
.kpi::before{ content:""; position:absolute; top:0; left:0; right:0; height:2px;
  background:var(--pc, var(--accent)) }
.kpi-combined::before{ background:linear-gradient(90deg, var(--based), var(--loom)) }
.kpi-label{ display:flex; align-items:center; gap:7px; color:var(--text-3); font-size:11px;
  font-weight:600; text-transform:uppercase; letter-spacing:.04em; margin-bottom:11px }
.kpi-logo{ width:15px; height:15px; border-radius:4px; object-fit:cover; background:#fff }
.kpi-value{ font-size:27px; font-weight:680; letter-spacing:-.03em; line-height:1.05 }
.kpi-sub{ color:var(--text-3); font-size:11.5px; margin-top:6px }
.kpi-sub b{ color:var(--text-2); font-weight:600 }

/* ══════════ Segmented control ══════════ */
.seg{ display:inline-flex; background:var(--bg-input); border:1px solid var(--line);
  border-radius:9px; padding:3px; gap:2px }
.seg-btn{ display:inline-flex; align-items:center; gap:6px; padding:4px 11px; border-radius:6px;
  font-size:11.5px; font-weight:600; color:var(--text-3); transition:.12s }
.seg-btn:hover{ color:var(--text-2) }
.seg-btn.active{ background:var(--bg-raise); color:var(--text); box-shadow:0 1px 2px rgba(0,0,0,.3) }
.seg-logo{ width:13px; height:13px; border-radius:3px; object-fit:cover; background:#fff }

/* ══════════ Table ══════════ */
.tbl{ width:100%; border-collapse:collapse; font-size:12.5px }
.tbl th{ text-align:left; padding:10px 18px; color:var(--text-3); font-size:10.5px; font-weight:600;
  text-transform:uppercase; letter-spacing:.05em; border-bottom:1px solid var(--line) }
.tbl td{ padding:12px 18px; border-bottom:1px solid var(--line) }
.tbl tbody tr{ transition:background .1s }
.tbl tbody tr:hover td{ background:var(--hover) }
.tbl tr:last-child td{ border-bottom:0 }
.crow-name{ display:flex; align-items:center; gap:11px }
.crow-av{ width:32px; height:32px; border-radius:9px; background:var(--bg-raise); color:var(--text-2);
  display:flex; align-items:center; justify-content:center; font-weight:650; font-size:12px; flex-shrink:0 }
.pbadge{ display:inline-flex; align-items:center; gap:5px; padding:3px 8px 3px 4px; border-radius:7px;
  font-size:11px; font-weight:600; color:var(--text-2); background:var(--bg-input);
  border:1px solid var(--line); margin-right:5px }
.pbadge-logo{ width:14px; height:14px; border-radius:4px; object-fit:cover; background:#fff }
.pbadge.both{ color:var(--green); background:var(--green-soft); border-color:transparent; padding:3px 9px }
.open-pill{ display:inline-flex; align-items:center; justify-content:center; width:30px; height:30px;
  border-radius:8px; background:var(--bg-input); border:1px solid var(--line); margin-left:5px;
  transition:.12s; overflow:hidden }
.open-pill img{ width:16px; height:16px; border-radius:4px; object-fit:cover }
.open-pill:hover{ border-color:var(--pc); transform:translateY(-1px) }

/* ══════════ Atoms ══════════ */
.btn{ display:inline-flex; align-items:center; gap:7px; padding:8px 13px; border-radius:9px;
  font-size:12.5px; font-weight:550; line-height:1; border:1px solid var(--line);
  background:var(--bg-raise); color:var(--text); transition:.12s; white-space:nowrap }
.btn:hover{ background:#23232a; border-color:var(--line-2) }
.btn i{ font-size:13px }
.btn-primary{ background:var(--accent); border-color:transparent; color:#fff; font-weight:600 }
.btn-primary:hover{ filter:brightness(1.08); background:var(--accent) }
.btn-ghost{ background:transparent; border-color:transparent }
.btn-ghost:hover{ background:var(--hover) }
.btn-danger{ color:var(--red); background:transparent; border-color:var(--line) }
.btn-danger:hover{ background:rgba(248,113,113,.1); border-color:rgba(248,113,113,.35) }
.btn-block{ width:100%; justify-content:center; padding:10px }
.btn-sm{ padding:5px 10px; font-size:11.5px; border-radius:7px }
.btn-icon{ padding:6px 8px }
.form-group{ margin-bottom:14px }
.form-label{ display:block; font-size:11.5px; font-weight:550; color:var(--text-2); margin-bottom:7px }
.form-input{ width:100%; padding:0 12px; height:38px; background:var(--bg-input);
  border:1px solid var(--line); border-radius:9px; color:var(--text); font-size:13px;
  font-family:inherit; transition:.12s }
.form-input:focus{ outline:none; border-color:var(--accent-line);
  box-shadow:0 0 0 3px var(--accent-soft) }
.form-input::placeholder{ color:var(--text-3) }
.badge{ display:inline-flex; align-items:center; gap:5px; padding:3px 8px; border-radius:7px;
  font-size:10.5px; font-weight:600; background:var(--bg-input); color:var(--text-2); border:1px solid var(--line) }
.badge-green{ background:var(--green-soft); color:var(--green); border-color:transparent }
.badge-yellow{ background:var(--yellow-soft); color:var(--yellow); border-color:transparent }
.badge-brand{ background:var(--accent-soft); color:var(--accent); border-color:transparent }
.dot{ width:6px; height:6px; border-radius:50%; display:inline-block }
.dot-green{ background:var(--green) } .dot-yellow{ background:var(--yellow) } .dot-muted{ background:var(--text-3) }
.flash{ display:flex; align-items:center; gap:9px; padding:11px 14px; border-radius:10px;
  margin-bottom:14px; font-size:12.5px; border:1px solid var(--line) }
.flash-ok{ background:var(--green-soft); color:var(--green); border-color:transparent }
.flash-error{ background:rgba(248,113,113,.1); color:var(--red); border-color:transparent }
.empty{ padding:46px 24px; text-align:center }
.empty-icon{ width:46px; height:46px; margin:0 auto 14px; border-radius:13px; background:var(--bg-input);
  border:1px solid var(--line); display:flex; align-items:center; justify-content:center;
  color:var(--text-3); font-size:18px }
.empty-title{ font-size:13.5px; font-weight:600; margin-bottom:5px }
.empty-sub{ font-size:12px; color:var(--text-3); max-width:380px; margin:0 auto }
.empty .btn{ margin-top:14px }

/* ══════════ Sidebar section label (per-platform feature groups) ══════════ */
.nav-group-label{ font-size:9.5px; font-weight:700; text-transform:uppercase;
  letter-spacing:.07em; color:var(--text-3); padding:11px 10px 4px }
/* divider between sidebar feature groups (mirrors the real panels) */
.nav-div{ height:1px; background:var(--line); margin:9px 10px }
/* Home-mode section label + the "← Home" back-link in creator mode */
.nav-label{ font-size:10px; font-weight:700; text-transform:uppercase; letter-spacing:.06em;
  color:var(--text-3); padding:9px 11px 5px }
.nav-back{ color:var(--text-3) }
.nav-back i{ font-size:15px }
.nav-back:hover{ color:var(--text-2) }

/* ══════════ Modal ══════════ */
.modal{ position:fixed; inset:0; z-index:1000; background:var(--bg-overlay);
  backdrop-filter:blur(4px); display:flex; align-items:center; justify-content:center;
  padding:24px; animation:fadeIn .12s var(--ease) }
.modal-card{ background:var(--bg-elev); border:1px solid var(--line);
  border-radius:var(--r-lg); padding:22px; width:100%; max-width:520px;
  max-height:85vh; overflow:auto; box-shadow:0 12px 38px rgba(0,0,0,.55) }

/* ══════════ Search bar ══════════ */
.search-bar{ display:flex; align-items:center; gap:10px; background:var(--bg-elev);
  border:1px solid var(--line); border-radius:var(--r); padding:0 14px; height:40px;
  margin-bottom:14px }
.search-bar i{ color:var(--text-3); font-size:13px }
.search-bar input{ flex:1; background:transparent; border:0; outline:none; height:100%;
  color:var(--text); font-size:13px; font-family:inherit }
.search-bar input::placeholder{ color:var(--text-3) }
.search-bar .count{ color:var(--text-3); font-size:11.5px; white-space:nowrap }

/* ══════════ Entity card (Scripts, Creators, Team…) ══════════ */
.ent-grid{ display:grid; gap:12px; grid-template-columns:repeat(auto-fill,minmax(360px,1fr)) }
.ent-card{ background:var(--bg-elev); border:1px solid var(--line); border-radius:var(--r-lg);
  padding:18px; display:flex; flex-direction:column; gap:14px }
.ent-card:hover{ border-color:var(--line-2) }
.ent-head{ display:flex; align-items:center; gap:12px }
.ent-info{ flex:1; min-width:0 }
.ent-name{ font-weight:600; font-size:14px; color:var(--text);
  overflow:hidden; text-overflow:ellipsis; white-space:nowrap }
.ent-sub{ font-size:12px; color:var(--text-3); margin-top:2px;
  overflow:hidden; text-overflow:ellipsis; white-space:nowrap }
.stat-row{ display:grid; grid-template-columns:repeat(4,1fr); gap:6px }
.stat-tile{ background:var(--bg); border:1px solid var(--line); border-radius:var(--r-sm);
  padding:9px 8px; text-align:center }
.stat-tile-val{ font-size:15px; font-weight:700; letter-spacing:-.015em; color:var(--text); line-height:1.1 }
.stat-tile-lbl{ font-size:9.5px; color:var(--text-3); margin-top:3px;
  text-transform:uppercase; letter-spacing:.05em; font-weight:600 }
.ent-foot{ display:flex; align-items:center; justify-content:space-between; gap:10px;
  flex-wrap:wrap; padding-top:12px; border-top:1px solid var(--line) }
.ent-date{ display:flex; align-items:center; gap:6px; color:var(--text-3); font-size:12px }
.ent-actions{ display:flex; gap:5px; flex-wrap:wrap }
.ent-actions .btn{ padding:5px 9px; font-size:11.5px }
.ent-add{ border:1.5px dashed var(--line-2); border-radius:var(--r-lg); cursor:pointer;
  display:flex; flex-direction:column; align-items:center; justify-content:center;
  min-height:200px; gap:10px; color:var(--text-3); transition:all .15s; background:transparent }
.ent-add:hover{ border-color:var(--accent); color:var(--accent); background:var(--accent-soft) }
.ent-add-icon{ width:40px; height:40px; border-radius:50%; background:var(--bg-input);
  display:flex; align-items:center; justify-content:center; font-size:20px }
.ent-add:hover .ent-add-icon{ background:var(--accent); color:#fff }

/* "(optional)" hint inside form labels */
.form-label .opt{ color:var(--text-3); font-weight:400; margin-left:4px }

/* ══════════ Logo mark (SVG) — replaces the old CSS "PF" tile ══════════ */
.prail-logo{ background:none }
.prail-logo::after{ display:none }
.prail-logo img{ width:100%; height:100%; border-radius:11px; display:block }
.brand-mark{ background:none }
.brand-mark::after{ display:none }
.brand-mark img{ width:100%; height:100%; border-radius:8px; display:block }
