/* BGP Crew application shell — global, plugin-owned presentation.
   Page-specific content CSS lives in the WordPress page editor. */
:root {
  color-scheme: light;
  --bgpc-side: #18252e;
  --bgpc-side-line: #34414a;
  --bgpc-side-text: #acbcc7;
  --bgpc-side-active: #d0f5e7;
  --bgpc-accent: #197b62;
  --bgpc-accent-dark: #105b48;
  --bgpc-bg: #f5f7f9;
  --bgpc-surface: #ffffff;
  --bgpc-ink: #1c2d38;
  --bgpc-muted: #657685;
  --bgpc-border: #e0e7eb;
  --bgpc-radius: 13px;
}
html { margin: 0 !important; }
html, body.bgp-crew-screen { min-height: 100%; }
body.bgp-crew-screen {
  margin: 0; background: var(--bgpc-bg); color: var(--bgpc-ink);
  font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Inter,Roboto,Arial,sans-serif;
  font-size: 14px; line-height: 1.5; -webkit-font-smoothing: antialiased;
}
.bgp-crew-screen *, .bgp-crew-screen *::before, .bgp-crew-screen *::after { box-sizing: border-box; }
.bgp-crew-screen a { color: inherit; }
.bgp-crew-screen button, .bgp-crew-screen input, .bgp-crew-screen select { font: inherit; }
.bgp-crew-screen [hidden] { display: none !important; }
.bgp-crew-screen .bgpc-sprite { position:absolute; width:0; height:0; overflow:hidden; }
.bgp-crew-screen .bgpc-icon { width:19px; height:19px; fill:none; stroke:currentColor; stroke-width:1.75; stroke-linejoin:round; stroke-linecap:round; flex-shrink:0; }
.bgp-crew-screen .bgpc-layout { display:flex; min-height:100vh; }
.bgp-crew-screen .bgpc-sidebar {
  position:sticky; top:0; align-self:flex-start; display:flex; flex-direction:column;
  width:244px; flex:0 0 244px; height:100vh; min-height:500px;
  background:var(--bgpc-side); color:var(--bgpc-side-text); z-index:50;
}
.bgp-crew-screen .bgpc-brand { display:flex; gap:12px; align-items:center; padding:28px 20px 25px; color:#fff; }
.bgp-crew-screen .bgpc-brand-icon { display:grid; place-items:center; flex:0 0 37px; width:37px; height:37px; border-radius:12px; background:#75d9b2; color:#123d35; font-family:Georgia,serif; font-size:22px; font-weight:bold; }
.bgp-crew-screen .bgpc-brand-copy { display:grid; gap:1px; white-space:nowrap; }
.bgp-crew-screen .bgpc-brand-copy strong { font-size:17px; line-height:1.2; letter-spacing:-.025em; }
.bgp-crew-screen .bgpc-brand-copy small { font-size:9px; font-weight:700; color:#9cafbb; letter-spacing:.105em; }
.bgp-crew-screen .bgpc-navigation { padding:0 11px 20px; overflow:auto; flex:1; scrollbar-width:thin; }
.bgp-crew-screen .bgpc-nav-heading { display:block; font-size:10px; font-weight:800; letter-spacing:.12em; color:#77909d; padding:24px 12px 10px; }
.bgp-crew-screen .bgpc-nav-item { min-height:41px; padding:10px 12px; display:flex; align-items:center; gap:12px; border-radius:9px; font-size:13px; font-weight:550; color:#b8c6ce; text-decoration:none; }
.bgp-crew-screen .bgpc-nav-item .bgpc-icon { width:18px; height:18px; }
.bgp-crew-screen .bgpc-nav-item.is-active { background:#29463f; color:var(--bgpc-side-active); font-weight:700; }
.bgp-crew-screen .bgpc-active-marker { width:5px; height:5px; border-radius:50%; background:#75d9b2; margin-left:auto; }
.bgp-crew-screen .bgpc-sidebar-bottom { padding:18px 15px; border-top:1px solid var(--bgpc-side-line); }
.bgp-crew-screen .bgpc-site-link { display:flex; align-items:center; gap:8px; color:#b7c8d2; text-decoration:none; font-size:12px; padding:4px 7px 15px; }
.bgp-crew-screen .bgpc-site-link:hover { color:#fff; }
.bgp-crew-screen .bgpc-site-link .bgpc-icon { width:15px; height:15px; }
.bgp-crew-screen .bgpc-sidebar-profile { display:flex; align-items:center; gap:10px; border-top:1px solid var(--bgpc-side-line); padding:16px 5px 0; }
.bgp-crew-screen .bgpc-avatar,.bgp-crew-screen .bgpc-topbar-avatar { display:grid; place-items:center; border-radius:50%; background:#d6ede5; color:#23624f; width:34px; height:34px; font-weight:800; flex-shrink:0; }
.bgp-crew-screen .bgpc-sidebar-profile-copy { min-width:0; display:grid; gap:1px; }
.bgp-crew-screen .bgpc-sidebar-profile-copy strong { color:#e9f1f3; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-size:12px; }
.bgp-crew-screen .bgpc-sidebar-profile-copy small { color:#9db0bc; font-size:11px; }
.bgp-crew-screen .bgpc-main-wrapper { flex:1; min-width:0; display:flex; flex-direction:column; }
.bgp-crew-screen .bgpc-topbar { height:68px; flex:0 0 68px; display:flex; align-items:center; justify-content:space-between; padding:0 clamp(20px,4vw,56px); background:#fff; border-bottom:1px solid var(--bgpc-border); }
.bgp-crew-screen .bgpc-topbar-start,.bgp-crew-screen .bgpc-topbar-end { display:flex; align-items:center; gap:18px; min-width:0; }
.bgp-crew-screen .bgpc-breadcrumb { display:flex; align-items:center; gap:8px; color:#8795a0; font-size:12px; white-space:nowrap; }
.bgp-crew-screen .bgpc-breadcrumb .bgpc-icon { width:12px; height:12px; }
.bgp-crew-screen .bgpc-breadcrumb strong { color:#344958; font-weight:700; }
.bgp-crew-screen .bgpc-preview-tag { color:#647c79; font-size:11px; padding:5px 10px; border-radius:100px; background:#ebf6f0; white-space:nowrap; }
.bgp-crew-screen .bgpc-preview-dot { display:inline-block; width:6px; height:6px; margin-right:5px; border-radius:50%; background:#51b98e; vertical-align:middle; }
.bgp-crew-screen .bgpc-topbar-wp { text-decoration:none; font-size:12px; font-weight:650; color:#506574; display:flex; gap:6px; align-items:center; }
.bgp-crew-screen .bgpc-topbar-wp .bgpc-icon { width:13px; height:13px; }
.bgp-crew-screen .bgpc-topbar-avatar { width:32px; height:32px; background:#e5eaf3; color:#3c5274; }
.bgp-crew-screen .bgpc-main { flex:1; width:100%; max-width:1480px; padding:34px clamp(20px,4vw,56px) 48px; margin:0 auto; }
.bgp-crew-screen .bgpc-bottom-note { padding:18px 30px; color:#93a1ab; font-size:11px; text-align:center; }
.bgp-crew-screen .bgpc-icon-button { cursor:pointer; display:grid; place-items:center; border:0; color:inherit; background:transparent; width:36px; height:36px; border-radius:8px; }
.bgp-crew-screen .bgpc-icon-button:hover { background:rgba(255,255,255,.10); }
.bgp-crew-screen .bgpc-menu-toggle,.bgp-crew-screen .bgpc-sidebar-close { display:none; }
.bgp-crew-screen .bgpc-nav-backdrop { display:none; }
.bgp-crew-screen #bgp-leaves { display:none !important; }
.bgp-crew-screen .bgpc-gate { max-width:520px; margin:75px auto; padding:42px; background:#fff; border:1px solid var(--bgpc-border); border-radius:var(--bgpc-radius); text-align:center; }
.bgp-crew-screen .bgpc-gate h1 { font-size:25px; letter-spacing:-.03em; }
.bgp-crew-screen .bgpc-gate p { color:var(--bgpc-muted); }
.bgp-crew-screen .bgpc-gate a { display:inline-block; padding:10px 20px; background:var(--bgpc-accent); color:#fff; border-radius:8px; text-decoration:none; font-weight:700; }
@media(max-width:900px) {
  .bgp-crew-screen .bgpc-sidebar { position:fixed; top:0; bottom:0; left:0; height:100dvh; transform:translateX(-102%); transition:transform .19s ease; box-shadow:12px 0 32px rgba(0,0,0,.16); }
  .bgp-crew-screen .bgpc-sidebar.is-open { transform:translateX(0); }
  .bgp-crew-screen .bgpc-nav-backdrop:not([hidden]) { display:block; position:fixed; inset:0; background:rgba(17,35,44,.55); z-index:49; }
  .bgp-crew-screen .bgpc-sidebar-close,.bgp-crew-screen .bgpc-menu-toggle { display:grid; }
  .bgp-crew-screen .bgpc-sidebar-close { margin-left:auto; }
  .bgp-crew-screen .bgpc-topbar { padding:0 20px; }
  .bgp-crew-screen .bgpc-topbar-start { gap:10px; }
  .bgp-crew-screen.bgpc-nav-open { overflow:hidden; }
}
@media(max-width:590px) {
  .bgp-crew-screen .bgpc-topbar { height:60px; flex-basis:60px; }
  .bgp-crew-screen .bgpc-main { padding:22px 14px 35px; }
  .bgp-crew-screen .bgpc-preview-tag,.bgp-crew-screen .bgpc-topbar-wp { display:none; }
  .bgp-crew-screen .bgpc-breadcrumb { font-size:11px; }
}
@media(prefers-reduced-motion:reduce) {
  .bgp-crew-screen .bgpc-sidebar { transition:none; }
}

/* BGP Identity 0.3.15 — profile link and secure account popover */
.bgp-crew-screen .bgpc-profile-link { text-decoration:none; color:inherit; }
.bgp-crew-screen .bgpc-profile-link:hover .bgpc-sidebar-profile-copy strong { color:#75d9b2; }
.bgp-crew-screen .bgpc-profile-chevron { width:15px; height:15px; margin-left:auto; opacity:.6; }
.bgp-crew-screen .bgpc-account-menu-wrap { position:relative; }
.bgp-crew-screen .bgpc-account-toggle { display:grid;place-items:center;padding:0;border:0;border-radius:50%;background:none;cursor:pointer; }
.bgp-crew-screen .bgpc-account-toggle:focus-visible { outline:3px solid #197b62;outline-offset:3px; }
.bgp-crew-screen .bgpc-account-menu { position:absolute;right:0;top:calc(100% + 12px);width:244px;padding:7px;
  background:#fff;border:1px solid #dce7eb;border-radius:12px;box-shadow:0 16px 38px rgba(19,40,51,.18);z-index:90; }
.bgp-crew-screen .bgpc-account-menu-person { display:grid;padding:10px 12px 12px;gap:3px;border-bottom:1px solid #e5edef;margin-bottom:5px; }
.bgp-crew-screen .bgpc-account-menu-person strong {font-size:13px;color:#284455;overflow-wrap:anywhere}
.bgp-crew-screen .bgpc-account-menu-person span {font-size:11px;color:#78909b}
.bgp-crew-screen .bgpc-account-menu a,.bgp-crew-screen .bgpc-account-menu button {
 display:block;width:100%;padding:10px 12px;border:0;border-radius:7px;text-align:left;text-decoration:none;
 font:inherit;font-weight:650;color:#294653;background:transparent;cursor:pointer;
}
.bgp-crew-screen .bgpc-account-menu a:hover,.bgp-crew-screen .bgpc-account-menu button:hover {background:#eff8f4;color:#116653}
.bgp-crew-screen .bgpc-account-menu button:disabled{opacity:.55;cursor:wait}
.bgp-crew-screen .bgpc-account-error {margin:7px 8px;padding:8px;color:#9a302d;font-size:12px}

/* 0.3.16: real profile link, separate small actions menu, and photo avatars. */
.bgp-crew-screen .bgpc-account-menu-wrap { display:flex; align-items:center; gap:5px; }
.bgp-crew-screen .bgpc-account-avatar-link { display:inline-flex; border-radius:50%; text-decoration:none; }
.bgp-crew-screen .bgpc-account-avatar-link:focus-visible { outline:3px solid #197b62; outline-offset:3px; }
.bgp-crew-screen [data-bgpc-avatar] { overflow:hidden; }
.bgp-crew-screen [data-bgpc-avatar] img { display:block; width:100%; height:100%; object-fit:cover; border-radius:50%; }
.bgp-crew-screen .bgpc-account-toggle { width:25px; height:30px; border-radius:6px; color:#637885; }
.bgp-crew-screen .bgpc-account-toggle .bgpc-icon { width:14px; height:14px; }
.bgp-crew-screen .bgpc-account-toggle:hover { background:#eff4f5; }
