/* PA25 Business Hub focused-category hierarchy v5. This file only styles #more and the owner administration surface. */
#more.pa25-business-hub-view,
.pa25-administration-view {
  --hub-navy: var(--pa25-navy, #0a2545);
  --hub-lime: var(--pa25-green, #00d084);
  --hub-line: var(--pa25-line, #dce5ec);
  --hub-copy: var(--pa25-copy, #526174);
  min-width: 0;
  overflow-x: clip;
}

#more [hidden],
#more.pa25-business-hub-view > .grid.pa25-business-hub > .card[hidden],
.pa25-administration-view[hidden],
.pa25-administration-view [hidden] {
  display: none !important;
}

#more > .pa25-workspace-banner.pa25-hub-legacy-banner {
  display: none !important;
}

#more > .pa25-hub-anchors {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
  margin: 0 0 24px;
}

.pa25-hub-anchor {
  display: grid;
  min-width: 0;
  min-height: 78px;
  grid-template-columns: 38px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  padding: 11px;
  border: 1px solid var(--hub-line);
  border-radius: 15px;
  background: #fff;
  color: var(--hub-navy);
  text-align: left;
  box-shadow: 0 4px 14px rgba(8, 31, 59, 0.05);
  cursor: pointer;
  transition: border-color 140ms ease, box-shadow 140ms ease, transform 140ms ease, background 140ms ease;
}

.pa25-hub-anchor:hover,
.pa25-hub-anchor:focus-visible {
  border-color: rgba(0, 208, 132, 0.75);
  box-shadow: 0 8px 20px rgba(8, 31, 59, 0.1);
  outline: 3px solid rgba(0, 208, 132, 0.16);
  outline-offset: 2px;
  transform: translateY(-1px);
}

.pa25-hub-anchor:active { transform: scale(0.985); }

.pa25-hub-anchor.is-active,
.pa25-hub-anchor[aria-selected="true"] {
  border-color: var(--hub-navy);
  background: var(--hub-navy);
  color: #fff;
  box-shadow: 0 10px 24px rgba(8, 31, 59, 0.16);
}

.pa25-hub-anchor-icon,
.pa25-hub-group-icon,
.pa25-admin-entry-icon {
  display: grid;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 12px;
  background: rgba(0, 208, 132, 0.12);
  color: #07855a;
}

.pa25-hub-anchor.is-active .pa25-hub-anchor-icon,
.pa25-hub-anchor[aria-selected="true"] .pa25-hub-anchor-icon {
  background: var(--hub-lime);
  color: var(--hub-navy);
}

.pa25-hub-anchor svg,
.pa25-hub-group-icon svg,
.pa25-admin-entry-icon svg {
  width: 21px;
  height: 21px;
}

.pa25-hub-anchor-copy { display: block; min-width: 0; }
.pa25-hub-anchor strong,
.pa25-hub-anchor small { display: block; }
.pa25-hub-anchor strong { font-size: 12px; line-height: 1.2; letter-spacing: 0.015em; }
.pa25-hub-anchor small { margin-top: 4px; color: var(--hub-copy); font-size: 11px; line-height: 1.3; }
.pa25-hub-anchor.is-active small,
.pa25-hub-anchor[aria-selected="true"] small { color: rgba(255, 255, 255, 0.74); }

#more > .grid.pa25-business-hub { display: block !important; min-width: 0; }

.pa25-hub-group {
  --hub-category: #07855a;
  --hub-category-soft: #eaf7f1;
  --hub-category-line: rgba(7, 133, 90, 0.22);
  min-width: 0;
  margin: 0 0 26px;
  outline: none;
}

.pa25-hub-group-money {
  --hub-category: #1769b4;
  --hub-category-soft: #edf5fd;
  --hub-category-line: rgba(23, 105, 180, 0.22);
}

.pa25-hub-group-grow {
  --hub-category: #397d68;
  --hub-category-soft: #ebf6f2;
  --hub-category-line: rgba(57, 125, 104, 0.22);
}

.pa25-hub-group-tools {
  --hub-category: #665985;
  --hub-category-soft: #f3f0f8;
  --hub-category-line: rgba(102, 89, 133, 0.22);
}

.pa25-hub-group-head {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  margin: 0 0 12px;
  padding: 11px 14px 11px 12px;
  border: 1px solid var(--hub-category-line);
  border-left: 4px solid var(--hub-category);
  border-radius: 13px;
  background: linear-gradient(90deg, var(--hub-category-soft), rgba(255, 255, 255, 0.78));
}

.pa25-hub-group-head h3 { margin: 0; color: var(--hub-navy); font-size: 15px; font-weight: 900; line-height: 1.15; letter-spacing: 0.025em; }
.pa25-hub-group-head p { margin: 3px 0 0; color: var(--hub-copy); font-size: 12px; line-height: 1.35; }
.pa25-hub-group .pa25-hub-group-icon {
  width: 38px;
  height: 38px;
  border: 1px solid var(--hub-category-line);
  background: #fff;
  color: var(--hub-category);
  box-shadow: 0 3px 10px rgba(8, 31, 59, 0.05);
}

.pa25-hub-tool-grid {
  display: grid;
  min-width: 0;
  grid-template-columns: 1fr;
  gap: 9px;
}

#more .pa25-hub-tool-grid > .card,
.pa25-admin-grid > .card {
  display: grid !important;
  min-width: 0;
  min-height: 76px !important;
  grid-template-columns: 40px minmax(0, 1fr) 18px;
  grid-template-rows: auto auto;
  align-content: center;
  align-items: center;
  column-gap: 11px;
  row-gap: 2px;
  padding: 12px 13px !important;
  border: 1px solid var(--hub-line) !important;
  border-radius: 14px !important;
  background: #fff;
  color: var(--hub-navy);
  text-align: left;
  text-decoration: none;
  box-shadow: 0 3px 12px rgba(8, 31, 59, 0.045);
}

#more .pa25-hub-tool-grid > .card::before,
.pa25-admin-grid > .card::before { display: none !important; content: none !important; }

#more .pa25-hub-tool-grid > .card::after,
.pa25-admin-grid > .card::after {
  display: block !important;
  grid-column: 3;
  grid-row: 1 / 3;
  align-self: center;
  content: "›" !important;
  color: #8795a5;
  font-size: 22px;
  font-weight: 500;
}

#more .pa25-hub-tool-grid > .card > .ic,
.pa25-admin-grid > .card > .ic { grid-row: 1 / 3; align-self: center; margin: 0 !important; }
#more .pa25-hub-group .pa25-hub-tool-grid > .card > .ic {
  display: grid !important;
  width: 38px !important;
  height: 38px !important;
  place-items: center;
  margin: 0 !important;
  border-radius: 11px !important;
  background: var(--hub-category-soft) !important;
  color: var(--hub-category) !important;
}
#more .pa25-hub-group .pa25-hub-tool-grid > .card > .ic svg { width: 20px; height: 20px; }
#more .pa25-hub-tool-grid > .card > b,
#more .pa25-hub-tool-grid > .card > strong,
.pa25-admin-grid > .card > b,
.pa25-admin-grid > .card > strong { align-self: end; margin: 0 !important; font-size: 14px; line-height: 1.25; }
#more .pa25-hub-tool-grid > .card > span:not(.ic),
.pa25-admin-grid > .card > span:not(.ic) { align-self: start; margin: 0 !important; color: var(--hub-copy); font-size: 12px; line-height: 1.35; }

#more .pa25-hub-tool-grid > .pa25-hub-primary-tool { min-height: 88px !important; background: #f5f9fb; }
#more .pa25-hub-tool-grid > .pa25-hub-featured-tool { border-color: var(--hub-navy) !important; background: var(--hub-navy); color: #fff; box-shadow: 0 9px 22px rgba(8, 31, 59, 0.14); }
#more .pa25-hub-group .pa25-hub-tool-grid > .pa25-hub-featured-tool > .ic { background: var(--hub-category-soft) !important; color: var(--hub-category) !important; }
#more .pa25-hub-tool-grid > .pa25-hub-featured-tool > span:not(.ic) { color: rgba(255, 255, 255, 0.72); }
#more .pa25-hub-group .pa25-hub-tool-grid > .card::after { color: var(--hub-category); }
#more .pa25-hub-tool-grid > .pa25-hub-featured-tool::after { color: var(--hub-lime); }
#more .pa25-hub-tool-grid > .pa25-hub-utility-tool { min-height: 62px !important; border-color: transparent !important; background: #f3f6f8; box-shadow: none; }

.pa25-admin-entry {
  display: grid;
  width: 100%;
  min-width: 0;
  grid-template-columns: 42px minmax(0, 1fr) 18px;
  align-items: center;
  gap: 12px;
  margin: 8px 0 0;
  padding: 13px 14px;
  border: 1px solid rgba(10, 37, 69, 0.18);
  border-radius: 15px;
  background: #eef3f6;
  color: var(--hub-navy);
  text-align: left;
  cursor: pointer;
}

.pa25-admin-entry:hover,
.pa25-admin-entry:focus-visible { border-color: var(--hub-navy); outline: 3px solid rgba(0, 208, 132, 0.16); outline-offset: 2px; }
.pa25-admin-entry > span:nth-child(2) { min-width: 0; }
.pa25-admin-entry strong,
.pa25-admin-entry small { display: block; }
.pa25-admin-entry strong { font-size: 13px; line-height: 1.2; letter-spacing: 0.025em; }
.pa25-admin-entry small { margin-top: 3px; color: var(--hub-copy); font-size: 12px; line-height: 1.3; }
.pa25-admin-entry > i { color: #6f7d8c; font-size: 22px; font-style: normal; }

.pa25-admin-intro {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  align-items: center;
  gap: 13px;
  margin-bottom: 16px;
  padding: 15px;
  border-radius: 16px;
  background: var(--hub-navy);
  color: #fff;
}
.pa25-admin-intro > span { display: grid; width: 48px; height: 48px; place-items: center; border-radius: 14px; background: var(--hub-lime); color: var(--hub-navy); }
.pa25-admin-intro svg { width: 25px; height: 25px; }
.pa25-admin-intro b { display: block; font-size: 13px; letter-spacing: 0.025em; }
.pa25-admin-intro p { margin: 3px 0 0; color: rgba(255, 255, 255, 0.74); font-size: 13px; line-height: 1.35; }
.pa25-admin-grid { display: grid; min-width: 0; grid-template-columns: 1fr; gap: 9px; }

@media (min-width: 700px) {
  #more > .pa25-hub-anchors { gap: 11px; }
  .pa25-hub-anchor { min-height: 84px; padding: 13px; }
  .pa25-hub-tool-grid,
  .pa25-admin-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
}

@media (min-width: 1080px) {
  #more > .pa25-hub-anchors { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-bottom: 30px; }
  .pa25-hub-tool-grid,
  .pa25-admin-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 11px; }
  #more .pa25-hub-tool-grid > .card,
  .pa25-admin-grid > .card { min-height: 80px !important; padding: 14px !important; }
  #more .pa25-hub-tool-grid > .pa25-hub-primary-tool { min-height: 94px !important; }
}

@media (max-width: 420px) {
  #more > .pa25-hub-anchors { gap: 7px; }
  .pa25-hub-anchor { min-height: 76px; grid-template-columns: 32px minmax(0, 1fr); gap: 8px; padding: 9px; border-radius: 13px; }
  .pa25-hub-anchor-icon { width: 32px; height: 32px; border-radius: 10px; }
  .pa25-hub-anchor strong { font-size: 10.5px; }
  .pa25-hub-anchor small { font-size: 9.5px; line-height: 1.25; }
  .pa25-hub-group-head { grid-template-columns: 36px minmax(0, 1fr); gap: 9px; padding: 10px 11px 10px 9px; }
  .pa25-hub-group .pa25-hub-group-icon { width: 34px; height: 34px; border-radius: 10px; }
}

@media (prefers-reduced-motion: reduce) { .pa25-hub-anchor { transition: none; } }
