/* GroupBuyAITool portal — brand green (#00a858) palette */
:root {
  --gb-green-900: #064e2f;
  --gb-green-800: #0a6b3f;
  --gb-green-700: #0d834d;
  --gb-green-500: #00a858;
  --gb-green-400: #1fbf6a;
  --gb-green-100: #d8f5e6;
  --gb-mint: #c0e8d8;
  --gb-coral: #ff6b4a;
  --gb-coral-dark: #e85334;
  --gb-ink: #0c1f18;
  --gb-muted: #4d6b5d;
  --gb-line: #cfe8da;
  --gb-card: #ffffff;
  --gb-bg: #f3faf6;
  --gb-sidebar: #063821;
  --gb-radius: 14px;
  --gb-shadow: 0 10px 30px rgba(6, 56, 33, 0.08);
  --gb-sidebar-w: 260px;
}

.gb-app {
  display: grid;
  grid-template-columns: var(--gb-sidebar-w) 1fr;
  min-height: 100vh;
  background: var(--gb-bg);
  color: var(--gb-ink);
  font-family: var(--gb-font, Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif);
}

.gb-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  background: linear-gradient(180deg, var(--gb-sidebar), #042616 90%);
  color: #e8f7f5;
  display: flex;
  flex-direction: column;
  padding: 18px 14px 16px;
  z-index: 40;
}

.gb-brand {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 6px 8px 18px;
}
.gb-brand { text-decoration: none; color: inherit; }
.gb-brand-logo {
  width: 42px; height: 42px; border-radius: 12px; object-fit: cover;
  box-shadow: 0 6px 14px rgba(0,168,88,0.28); background: #00a858;
}
.gb-brand-mark {
  width: 42px; height: 42px; border-radius: 12px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--gb-green-500), var(--gb-green-700));
  color: #fff; font-weight: 800; font-size: 14px;
  box-shadow: 0 8px 18px rgba(255, 107, 74, 0.25);
}
.gb-brand strong { display: block; font-size: 15px; letter-spacing: 0.01em; }
.gb-brand small { color: #9ec9c3; font-size: 11px; }

.gb-menu-label {
  font-size: 11px; letter-spacing: 0.12em; color: #7fb3ad;
  padding: 4px 10px 8px; font-weight: 700;
}

.gb-nav { display: flex; flex-direction: column; gap: 4px; flex: 1; overflow: auto; }
.gb-nav a {
  color: #d7efeb; text-decoration: none; padding: 10px 12px;
  border-radius: 10px; font-weight: 600; font-size: 14px;
}
.gb-nav a:hover { background: rgba(255,255,255,0.08); }
.gb-nav a.is-active {
  background: rgba(255,107,74,0.18);
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255,107,74,0.35);
}
.gb-nav-sep { height: 1px; background: rgba(255,255,255,0.1); margin: 10px 6px; }

.gb-sidebar-foot { margin-top: auto; display: grid; gap: 10px; }
.gb-user-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px; padding: 12px;
}
.gb-user-card strong { display: block; margin-bottom: 8px; }
.gb-badges { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.gb-badge {
  display: inline-flex; align-items: center;
  background: rgba(31,154,141,0.25); color: #b7efe7;
  border: 1px solid rgba(31,154,141,0.45);
  border-radius: 999px; padding: 2px 8px; font-size: 11px; font-weight: 700;
}
.gb-badge-muted { background: rgba(255,255,255,0.06); color: #9ec9c3; border-color: transparent; }
.gb-logout { color: #ffb4a3; font-size: 13px; font-weight: 700; text-decoration: none; }

.gb-main { padding: 22px 24px 40px; min-width: 0; }
.gb-panel {
  background: transparent;
}
.gb-panel > h1 { margin: 0 0 16px; font-size: 28px; }

.gb-btn {
  display: inline-flex; align-items: center; justify-content: center;
  border: 0; border-radius: 10px; padding: 10px 14px;
  font-weight: 700; font-size: 13px; text-decoration: none; cursor: pointer;
  transition: transform .12s ease, background .12s ease;
}
.gb-btn:hover { transform: translateY(-1px); }
.gb-btn-access { background: var(--gb-green-500); color: #fff; }
.gb-btn-access:hover { background: var(--gb-green-700); }
.gb-btn-buy { background: var(--gb-coral); color: #fff; }
.gb-btn-buy:hover { background: var(--gb-coral-dark); }
.gb-btn-wa { background: #25d366; color: #073b1d; width: 100%; }
.gb-btn-muted { background: #c9d6d3; color: #445; cursor: not-allowed; }

.gb-ticker {
  overflow: hidden; border-radius: 12px; margin-bottom: 16px;
  background: linear-gradient(90deg, #064e2f, #00a858);
  color: #fff; border: 1px solid rgba(255,255,255,0.12);
}
.gb-ticker-track {
  display: flex; gap: 48px; white-space: nowrap;
  animation: gb-marquee 28s linear infinite; padding: 10px 0;
  width: max-content;
}
.gb-ticker-track span { padding: 0 24px; font-weight: 600; font-size: 13px; }
@keyframes gb-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.gb-support-card {
  display: flex; justify-content: space-between; gap: 16px; align-items: center;
  background: var(--gb-card); border: 1px solid var(--gb-line);
  border-radius: var(--gb-radius); padding: 18px 20px; margin-bottom: 18px;
  box-shadow: var(--gb-shadow);
}
.gb-support-card h2 { margin: 0 0 6px; font-size: 18px; }
.gb-support-card p { margin: 0; color: var(--gb-muted); font-size: 14px; max-width: 560px; }
.gb-support-card .gb-btn-wa { width: auto; }

.gb-package-boxes {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
}
.gb-pkg-box {
  background: var(--gb-card); border: 1px solid var(--gb-line);
  border-radius: var(--gb-radius); box-shadow: var(--gb-shadow); overflow: hidden;
}
.gb-pkg-box header {
  padding: 16px 18px 10px; border-bottom: 1px solid var(--gb-line);
  background: linear-gradient(180deg, #f7fcfb, #fff);
}
.gb-pkg-box header h2 { margin: 0 0 4px; font-size: 18px; }
.gb-pkg-box header p { margin: 0; color: var(--gb-muted); font-size: 13px; }
.gb-pkg-list { padding: 10px; display: grid; gap: 8px; }
.gb-pkg-row {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 12px 12px; border-radius: 12px; border: 1px solid var(--gb-line);
  background: #fbfefe;
}
.gb-pkg-row strong { display: block; font-size: 14px; }
.gb-pkg-row small { color: var(--gb-muted); font-size: 12px; }
.gb-pkg-row.is-locked { opacity: 0.78; background: #f5f8f7; }
.gb-pkg-row .gb-btn { min-width: 110px; }

.gb-help-cards {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 16px 0 20px;
}
.gb-help-card {
  background: var(--gb-card); border: 1px solid var(--gb-line);
  border-radius: 12px; padding: 14px; text-decoration: none; color: inherit;
  box-shadow: var(--gb-shadow); display: grid; gap: 4px;
}
.gb-help-card:hover { border-color: var(--gb-green-500); }
.gb-help-icon { font-size: 20px; }
.gb-help-card strong { font-size: 14px; }
.gb-help-card small { color: var(--gb-muted); font-size: 12px; }

.gb-pkg-head h1 { margin: 8px 0 4px; font-size: 28px; }
.gb-back { color: var(--gb-green-700); text-decoration: none; font-weight: 700; font-size: 13px; }
.gb-lede { color: var(--gb-muted); margin: 0 0 10px; }
.gb-lock-banner {
  background: #fff1ed; border: 1px solid #ffc7b8; color: #8a2d1a;
  border-radius: 10px; padding: 10px 12px; margin: 10px 0 0; font-size: 13px; font-weight: 600;
}

.gb-tools-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px;
}
.gb-tool-card {
  background: var(--gb-card); border: 1px solid var(--gb-line);
  border-radius: var(--gb-radius); padding: 16px; box-shadow: var(--gb-shadow);
  display: grid; gap: 8px; align-content: start;
}
.gb-tool-logo-wrap {
  width: 64px; height: 64px; border-radius: 14px; overflow: hidden;
  background: var(--gb-green-100); display: grid; place-items: center;
}
.gb-tool-logo-wrap img { width: 100%; height: 100%; object-fit: contain; }
.gb-tool-fallback {
  font-weight: 800; color: var(--gb-green-700); font-size: 18px;
}
.gb-tool-card h3 { margin: 0; font-size: 16px; }
.gb-tool-sub { margin: 0; color: var(--gb-muted); font-size: 12px; }
.gb-tool-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.gb-access-wrap { display: grid; gap: 4px; }
.gb-access-status { margin: 0; font-size: 12px; color: var(--gb-muted); }
.gb-access-status.is-error { color: var(--gb-coral-dark); }
.gb-access-status.is-ok { color: var(--gb-green-700); }

.gb-table {
  width: 100%; border-collapse: collapse; background: var(--gb-card);
  border-radius: var(--gb-radius); overflow: hidden; box-shadow: var(--gb-shadow);
}
.gb-table th, .gb-table td {
  padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--gb-line); font-size: 14px;
}
.gb-table th { background: #f3faf8; color: var(--gb-muted); font-size: 12px; text-transform: uppercase; letter-spacing: .04em; }
.gb-status {
  display: inline-flex; border-radius: 999px; padding: 3px 10px; font-size: 12px; font-weight: 800;
}
.gb-status.is-active { background: #d8f5e6; color: #0a6b3f; }
.gb-status.is-expired { background: #ffe4de; color: #8a2d1a; }

.gb-guide-hero {
  background: linear-gradient(135deg, #064e2f, #00a858 55%, #1fbf6a);
  color: #fff; border-radius: 18px; padding: 28px 24px; margin-bottom: 20px;
  box-shadow: var(--gb-shadow);
}
.gb-eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: 11px; opacity: .85; margin: 0 0 8px; font-weight: 800; }
.gb-guide-hero h1 { margin: 0 0 8px; font-size: 30px; }
.gb-guide-hero .gb-lede { color: rgba(255,255,255,.88); }
.gb-guide-hero .gb-btn-access { background: #fff; color: var(--gb-green-800); margin-top: 8px; }

.gb-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.gb-steps li {
  display: grid; grid-template-columns: 36px 1fr; gap: 12px; align-items: start;
  background: var(--gb-card); border: 1px solid var(--gb-line); border-radius: 12px;
  padding: 14px; box-shadow: var(--gb-shadow);
}
.gb-step-num {
  width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center;
  background: var(--gb-green-100); color: var(--gb-green-800); font-weight: 800;
}
.gb-steps p { margin: 6px 0 0; color: var(--gb-ink); font-size: 14px; line-height: 1.45; }
.gb-videos { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 18px; }
.gb-embed { position: relative; padding-top: 56.25%; border-radius: 12px; overflow: hidden; background: #000; }
.gb-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.gb-policies {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 24px;
}
.gb-policy {
  background: var(--gb-card); border: 1px solid var(--gb-line); border-radius: 12px;
  padding: 14px; box-shadow: var(--gb-shadow);
}
.gb-policy h4 { margin: 0 0 6px; font-size: 14px; }
.gb-policy p { margin: 0; color: var(--gb-muted); font-size: 12px; line-height: 1.45; }
.gb-policy-services { border-top: 3px solid var(--gb-green-500); }
.gb-policy-refunds { border-top: 3px solid var(--gb-coral); }
.gb-policy-rules { border-top: 3px solid #f0b429; }

.gb-float-chat {
  position: fixed; right: 18px; bottom: 18px; z-index: 50;
  background: #25d366; color: #073b1d; text-decoration: none;
  border-radius: 999px; padding: 12px 16px; font-weight: 800; font-size: 13px;
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.35);
}
.gb-muted { color: var(--gb-muted); }
.gb-error { color: var(--gb-coral-dark); }

.gb-mobile-toggle {
  display: none; position: fixed; top: 12px; left: 12px; z-index: 60;
  background: var(--gb-green-800); color: #fff; border: 0; border-radius: 10px;
  padding: 10px 12px; font-weight: 700;
}
.gb-backdrop {
  position: fixed; inset: 0; background: rgba(8, 28, 26, 0.45); z-index: 35;
}

@media (max-width: 1100px) {
  .gb-tools-grid { grid-template-columns: repeat(2, 1fr); }
  .gb-help-cards { grid-template-columns: repeat(2, 1fr); }
  .gb-package-boxes { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
  .gb-app { display: block; }
  .gb-mobile-toggle { display: inline-flex; }
  .gb-sidebar {
    position: fixed; left: 0; top: 0; transform: translateX(-105%);
    transition: transform .2s ease; width: min(86vw, 300px);
  }
  .gb-app.is-drawer-open .gb-sidebar { transform: translateX(0); }
  .gb-main { padding: 60px 14px 80px; }
  .gb-tools-grid, .gb-help-cards, .gb-policies, .gb-videos, .gb-package-boxes { grid-template-columns: 1fr; }
  .gb-support-card { flex-direction: column; align-items: flex-start; }
}

/* Sit below WP admin bar when present */
body.admin-bar .gb-mobile-toggle { top: 58px; }
body.admin-bar .gb-sidebar { top: 32px; height: calc(100vh - 32px); }
@media (max-width: 782px) {
  body.admin-bar .gb-mobile-toggle { top: 58px; }
  body.admin-bar .gb-sidebar { top: 46px; height: calc(100vh - 46px); }
}

.gb-tool-hero {
  display: grid; grid-template-columns: 88px 1fr; gap: 16px; align-items: start;
  background: var(--gb-card); border: 1px solid var(--gb-line); border-radius: var(--gb-radius);
  padding: 18px; margin: 12px 0 16px; box-shadow: var(--gb-shadow);
}
.gb-tool-hero-logo img, .gb-tool-fallback.lg {
  width: 72px; height: 72px; border-radius: 16px; object-fit: contain;
}
.gb-tool-fallback.lg {
  display: grid; place-items: center; background: var(--gb-green-100);
  color: var(--gb-green-800); font-weight: 800; font-size: 22px;
}
.gb-tool-status-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.gb-tool-status-row h1 { margin: 0; font-size: 28px; }
.gb-tool-desc { margin: 8px 0 0; color: var(--gb-muted); font-size: 14px; line-height: 1.5; }
.gb-ext-banner {
  background: linear-gradient(90deg, #e8faf0, #fff);
  border: 1px solid var(--gb-line); border-left: 4px solid var(--gb-green-500);
  border-radius: 12px; padding: 14px 16px; margin-bottom: 16px;
}
.gb-ext-banner p { margin: 4px 0 10px; color: var(--gb-muted); font-size: 13px; }
.gb-ext-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.gb-btn-ghost {
  background: #fff; color: var(--gb-green-800); border: 1px solid var(--gb-line);
}
.gb-btn-lg { padding: 12px 20px; font-size: 15px; min-width: 140px; }
.gb-tool-launch, .gb-tool-howto {
  background: var(--gb-card); border: 1px solid var(--gb-line); border-radius: var(--gb-radius);
  padding: 16px 18px; margin-bottom: 14px; box-shadow: var(--gb-shadow);
}
.gb-tool-launch h2, .gb-tool-howto h2 { margin: 0 0 12px; font-size: 18px; }
.gb-tool-actions-lg { display: flex; flex-wrap: wrap; gap: 10px; }
.gb-notes { font-size: 14px; line-height: 1.55; color: var(--gb-ink); }
.gb-notes p { margin: 0 0 8px; }
.gb-lock-banner .gb-btn { margin-left: 10px; vertical-align: middle; }
.gb-tool-page.is-locked .gb-tool-hero { opacity: 0.95; }
@media (max-width: 820px) {
  .gb-tool-hero { grid-template-columns: 1fr; }
}

/* Logo boxes (2.2.0) */
.gb-logo-box {
  display: inline-grid; place-items: center; flex: none;
  background: #fff; border: 1px solid var(--gb-line); border-radius: 14px;
  box-shadow: 0 2px 8px rgba(6,56,33,.06); overflow: hidden;
}
.gb-logo-box img { width: 100%; height: 100%; object-fit: contain; display: block; }
.gb-logo-md { width: 64px; height: 64px; padding: 10px; }
.gb-logo-lg { width: 84px; height: 84px; padding: 12px; border-radius: 18px; }
.gb-logo-sm { width: 28px; height: 28px; padding: 4px; border-radius: 8px; }
.gb-logo-box.is-initials { background: var(--gb-green-100); color: var(--gb-green-800); font-weight: 800; }
.gb-logo-md.is-initials { font-size: 18px; } .gb-logo-lg.is-initials { font-size: 24px; } .gb-logo-sm.is-initials { font-size: 10px; }
.gb-logo-strip { display: flex; gap: 6px; margin-top: 8px; flex-wrap: wrap; }
.gb-tool-hero { grid-template-columns: 100px 1fr; }

/* ===== 2.3.0 server cards ===== */
.gb-launch-head { display:flex; justify-content:space-between; align-items:baseline; gap:10px; flex-wrap:wrap; margin-bottom:12px; }
.gb-launch-head h2 { margin:0; }
.gb-launch-hint { color:var(--gb-muted); font-size:12px; }
.gb-server-grid { display:grid; grid-template-columns:repeat(2, minmax(0,1fr)); gap:14px; align-items:start; }
.gb-server { display:grid; gap:8px; }
.gb-server-btn {
  appearance:none; width:100%; min-height:76px; display:grid; grid-template-columns:auto 1fr auto; align-items:center; gap:14px;
  padding:14px 16px; border:0; border-radius:16px; cursor:pointer; text-align:left; font:inherit; color:#fff;
  background:linear-gradient(135deg,#00b862 0%,#00a858 45%,#078a4a 100%);
  box-shadow:0 8px 20px rgba(0,168,88,.28), inset 0 1px 0 rgba(255,255,255,.25);
  transition:transform .15s ease, box-shadow .15s ease, filter .15s ease;
}
.gb-server-btn:hover:not(:disabled), .gb-server-btn.is-hover { transform:translateY(-2px); box-shadow:0 14px 30px rgba(0,168,88,.36), inset 0 1px 0 rgba(255,255,255,.3); filter:saturate(1.08); }
.gb-server-btn:active:not(:disabled) { transform:translateY(0); }
.gb-server-btn:focus-visible { outline:3px solid #fff; box-shadow:0 0 0 6px #063821, 0 10px 24px rgba(0,168,88,.35); }
.gb-server-logo .gb-logo-box { width:44px; height:44px; padding:7px; border-radius:12px; border:0; }
.gb-server-text { display:grid; gap:3px; min-width:0; }
.gb-server-label { font-size:17px; font-weight:800; letter-spacing:.01em; }
.gb-server-meta { display:flex; align-items:center; gap:6px; font-size:12.5px; color:rgba(255,255,255,.92); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.gb-dot { width:8px; height:8px; border-radius:50%; flex:none; }
.gb-dot.is-online { background:#b6ffd6; box-shadow:0 0 0 3px rgba(182,255,214,.3); animation:gb-pulse 2s infinite; }
.gb-dot.is-maint { background:#ffc857; }
@keyframes gb-pulse { 50% { box-shadow:0 0 0 6px rgba(182,255,214,0); } }
.gb-server-icon { width:42px; height:42px; border-radius:50%; display:grid; place-items:center; background:rgba(255,255,255,.18); }
.gb-server-icon > * { grid-area:1/1; }
.gb-server-icon .i-ok, .gb-server-icon .gb-spinner { display:none; }
.gb-spinner { width:20px; height:20px; border-radius:50%; border:3px solid rgba(255,255,255,.35); border-top-color:#fff; animation:gb-spin .8s linear infinite; }
@keyframes gb-spin { to { transform:rotate(360deg); } }
.gb-server[data-state="loading"] .gb-server-btn { cursor:progress; filter:saturate(.9); }
.gb-server[data-state="loading"] .i-go { display:none; }
.gb-server[data-state="loading"] .gb-spinner { display:block; }
.gb-server[data-state="success"] .gb-server-btn { background:linear-gradient(135deg,#0a6b3f,#064e2f); }
.gb-server[data-state="success"] .i-go { display:none; }
.gb-server[data-state="success"] .i-ok { display:block; }
.gb-server[data-state="error"] .gb-server-btn { box-shadow:0 0 0 2px #ff6b4a, 0 8px 20px rgba(255,107,74,.2); }
.gb-server-btn:disabled { cursor:not-allowed; background:linear-gradient(135deg,#a7b8b0,#8fa39a); box-shadow:none; color:#f4f7f5; }
.gb-server-msg { font-size:13px; font-weight:600; padding:8px 12px; border-radius:10px; background:#e8faf0; color:#0a6b3f; }
.gb-server-msg.is-error { background:#fff1ed; color:#9a2f18; }
.gb-server-cta { justify-self:start; font-size:13px; font-weight:800; color:#fff; background:#063821; padding:9px 14px; border-radius:10px; text-decoration:none; }
.gb-server-cta:focus-visible { outline:3px solid #00a858; outline-offset:2px; }
.gb-pill-go {
  display:inline-flex; align-items:center; gap:8px; padding:10px 16px; min-height:42px; border-radius:999px; text-decoration:none; font-weight:800; font-size:13px; color:#fff;
  background:linear-gradient(135deg,#00b862,#00a858 50%,#078a4a); box-shadow:0 6px 14px rgba(0,168,88,.25); transition:transform .15s, box-shadow .15s;
}
.gb-pill-go:hover { transform:translateY(-2px); box-shadow:0 10px 22px rgba(0,168,88,.33); color:#fff; }
.gb-pill-go:focus-visible { outline:3px solid #063821; outline-offset:2px; }
.gb-pill-go svg { transition:transform .15s; } .gb-pill-go:hover svg { transform:translateX(3px); }
@media (max-width: 820px) { .gb-server-grid { grid-template-columns:1fr; } .gb-server-btn { min-height:80px; } }
@media (prefers-reduced-motion: reduce) { .gb-server-btn, .gb-pill-go, .gb-dot, .gb-spinner { transition:none; animation:none; } }

.gb-own { display:inline-flex; margin-left:6px; padding:2px 8px; border-radius:999px; font-size:11px; font-weight:800; vertical-align:middle; }
.gb-own.is-owned { background:#d8f5e6; color:#0a6b3f; }
.gb-own.is-locked { background:#eef1f0; color:#5d6b65; }

/* 2.4.1: always-visible logo box even if image is slow/blocked */
.gb-logo-box { position:relative; min-width:0; }
.gb-logo-box:not(.is-initials) { background:#fff; }
.gb-logo-box img[src=""] { display:none; }

/* 2.5.0 */
.gb-tools-search{width:100%;max-width:420px;padding:11px 14px;border:1px solid var(--gb-line);border-radius:12px;font:inherit;margin:6px 0 16px;background:#fff}
.gb-tools-search:focus{outline:3px solid rgba(0,168,88,.35);border-color:#00a858}
.gb-tool-card[hidden]{display:none}
.gb-tool-card h3 .gb-own{margin-left:4px}
.gb-info-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-bottom:14px}
.gb-info-box{background:var(--gb-card);border:1px solid var(--gb-line);border-radius:var(--gb-radius);padding:16px 18px;box-shadow:var(--gb-shadow)}
.gb-info-box h2{margin:0 0 10px;font-size:17px;display:flex;gap:8px;align-items:center}
.gb-note-box{border-top:4px solid #00a858}
.gb-policy-box{border-top:4px solid #f0b429;background:linear-gradient(180deg,#fffbeb,#fff 40%)}
.gb-policy-box ul{margin:0;padding-left:18px;display:grid;gap:6px;font-size:14px;line-height:1.45}
.gb-note-box .gb-embed{margin-top:10px}
@media (max-width:820px){.gb-info-grid{grid-template-columns:1fr}}

/* ===== 2.5.1 unified tool card + CTA ===== */
.gb-tools-grid { align-items: stretch; }
.gb-tool-card { display:flex; flex-direction:column; gap:0; padding:16px; height:100%; min-width:0; }
.gb-card-head { display:flex; justify-content:space-between; align-items:flex-start; gap:8px; margin-bottom:12px; }
.gb-card-head .gb-own { margin:0; white-space:nowrap; }
.gb-own.is-maint { background:#fff4dc; color:#8a5a00; }
.gb-card-title { margin:0 0 4px; font-size:16px; font-weight:800; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.gb-tool-card .gb-tool-sub { margin:0; font-size:12.5px; line-height:1.4; color:var(--gb-muted); display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.gb-card-cta {
  margin-top:auto; position:relative; display:flex; align-items:center; justify-content:center; gap:10px;
  width:100%; min-height:46px; padding:0 52px 0 16px; border-radius:12px; text-decoration:none;
  font-weight:700; font-size:14px; letter-spacing:.01em; white-space:nowrap;
  transition:transform .15s ease, box-shadow .15s ease, background-color .15s ease, border-color .15s ease;
}
.gb-tool-card .gb-tool-sub + .gb-card-cta, .gb-card-title + .gb-card-cta { margin-top:auto; }
.gb-tool-card > .gb-card-cta { margin-top:auto; }
.gb-tool-card > :nth-last-child(2) { margin-bottom:14px; }
.gb-cta-label { overflow:hidden; text-overflow:ellipsis; }
.gb-cta-arrow {
  position:absolute; right:7px; top:50%; transform:translateY(-50%);
  width:32px; height:32px; border-radius:50%; display:grid; place-items:center; transition:transform .18s ease, background-color .15s;
}
.gb-card-cta:hover .gb-cta-arrow { transform:translate(4px,-50%); }
.gb-card-cta:hover { transform:translateY(-2px); }
.gb-card-cta:active { transform:translateY(0) scale(.985); }
.gb-card-cta:focus-visible { outline:3px solid #063821; outline-offset:2px; }
/* In plan */
.gb-card-cta.is-owned {
  color:#fff; background:linear-gradient(180deg,#14bb6a 0%,#00a858 55%,#039150 100%);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.28), 0 6px 14px rgba(0,168,88,.25);
}
.gb-card-cta.is-owned .gb-cta-arrow { background:rgba(255,255,255,.2); }
.gb-card-cta.is-owned:hover { color:#fff; box-shadow:inset 0 1px 0 rgba(255,255,255,.3), 0 12px 24px rgba(0,168,88,.32); }
/* Locked */
.gb-card-cta.is-locked { color:#33433c; background:#fff; border:1.5px solid #cdd8d3; box-shadow:0 1px 2px rgba(6,56,33,.05); }
.gb-card-cta.is-locked .gb-cta-arrow { background:#eef3f1; color:#33433c; }
.gb-card-cta.is-locked:hover { border-color:#00a858; color:#0a6b3f; box-shadow:0 8px 18px rgba(6,56,33,.10); }
.gb-card-cta.is-locked:hover .gb-cta-arrow { background:#d8f5e6; color:#0a6b3f; }
/* Maintenance */
.gb-card-cta.is-maint { color:#8a5a00; background:#fffaf0; border:1.5px solid #f1d39a; }
.gb-card-cta.is-maint .gb-cta-arrow { background:#fff0cf; }
.gb-card-cta.is-maint:hover { border-color:#e2ac3f; box-shadow:0 8px 18px rgba(176,120,0,.12); color:#7a4f00; }
.gb-tool-card.is-maint .gb-logo-box img { filter:saturate(.7); }
@media (max-width:820px){ .gb-card-cta { min-height:48px; } }
@media (prefers-reduced-motion: reduce){ .gb-card-cta, .gb-cta-arrow { transition:none; } }
.gb-app, .gb-app *, .gb-app *::before, .gb-app *::after { box-sizing: border-box; }
.gb-tool-card { height: auto; }

/* v2.7 tools filter + pager */
.gb-tools-filter{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin:12px 0 16px}
.gb-tools-filter .gb-tools-search{flex:1 1 220px;margin:0}
.gb-tools-filter select,.gb-filter-btn{height:42px;border:1px solid #d6dde3;border-radius:10px;padding:0 12px;background:#fff;font:inherit}
.gb-filter-btn{background:#00a858;color:#fff;border-color:#00a858;font-weight:600;cursor:pointer}
.gb-filter-clear{color:#00a858;font-weight:600}
.gb-filter-count{color:#6b7785;font-size:13px;margin-left:auto}
.gb-pager{display:flex;flex-wrap:wrap;gap:6px;justify-content:center;margin:24px 0 8px}
.gb-pg{min-width:40px;height:40px;padding:0 12px;display:inline-flex;align-items:center;justify-content:center;border:1px solid #d6dde3;border-radius:10px;background:#fff;color:#1d2733;text-decoration:none;font-weight:600}
a.gb-pg:hover{border-color:#00a858;color:#00a858}
.gb-pg.is-cur{background:#00a858;border-color:#00a858;color:#fff}
.gb-pg.is-off{opacity:.4}

/* [gb_login_panel] */
.gb-login-panel{display:flex;justify-content:center;padding:32px 16px;box-sizing:border-box}
.gb-lp-card{width:100%;max-width:420px;background:#fff;border-radius:16px;box-shadow:0 8px 30px rgba(0,60,30,.10);padding:28px 24px;text-align:center;box-sizing:border-box}
.gb-lp-logo{display:block;margin:0 auto 12px;border-radius:12px}
.gb-lp-title{margin:0 0 6px;font-size:22px;font-weight:800;color:#0b2e1d}
.gb-lp-sub{margin:0 0 18px;color:#557;font-size:14px}
.gb-login-panel form{text-align:left;margin:0}
.gb-login-panel form p{margin:0 0 12px}
.gb-login-panel label{display:block;font-size:13px;font-weight:600;margin-bottom:4px;color:#234}
.gb-login-panel input[type=text],.gb-login-panel input[type=password]{width:100%;box-sizing:border-box;padding:12px;border:1px solid #cfe0d8;border-radius:10px;font-size:16px}
.gb-login-panel .login-remember label{display:inline;font-weight:400}
.gb-login-panel input[type=submit]{width:100%;padding:13px;border:0;border-radius:10px;background:#00a858;color:#fff;font-weight:700;font-size:16px;cursor:pointer}
.gb-lp-links{display:flex;justify-content:space-between;gap:8px;flex-wrap:wrap;margin:6px 0 16px}
.gb-lp-link{color:#00a858;font-size:14px;text-decoration:none;font-weight:600}
.gb-lp-actions{display:flex;flex-direction:column;gap:10px}
.gb-lp-actions .gb-btn,.gb-lp-store{width:100%;box-sizing:border-box;text-align:center;display:block}
