/* Inline SVG icon system (replaces emoji) */
.ico,
.nav-ico,
.stat-ico,
.kid-app-ico,
.action-ico,
.brand-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  line-height: 0;
  vertical-align: middle;
}
.ico svg,
.nav-ico svg,
.stat-ico svg,
.kid-app-ico svg,
.action-ico svg,
.brand-logo svg,
.kid-bubble svg {
  width: 100%;
  height: 100%;
  display: block;
}

.nav-ico {
  width: 20px;
  height: 20px;
  color: currentColor;
  opacity: 0.85;
}
.side-nav a.on .nav-ico {
  opacity: 1;
  color: var(--primary-deep);
}

.stat-ico {
  width: 28px;
  height: 28px;
  margin-bottom: 6px;
  color: var(--primary-deep);
  background: var(--primary-soft);
  border-radius: 8px;
  padding: 5px;
  box-sizing: border-box;
}

.action-ico {
  width: 18px;
  height: 18px;
  margin-right: 8px;
  color: var(--primary-deep);
}

.brand-logo {
  width: 28px;
  height: 28px;
  margin-right: 8px;
}
.brand-logo.lg {
  width: 40px;
  height: 40px;
  margin: 0 auto 10px;
}
.side-nav .brand {
  display: flex;
  align-items: center;
  gap: 8px;
}
.side-nav .brand .brand-logo {
  margin-right: 0;
}
.brand-text {
  display: inline;
  white-space: nowrap;
  letter-spacing: -0.01em;
}
.auth-card .logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.auth-card .logo .brand-text {
  font-weight: 700;
  font-size: 22px;
  color: var(--primary-deep);
}
.hub-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.hub-brand .brand-logo {
  width: 36px;
  height: 36px;
  margin: 0;
}
.hub-brand .brand-text {
  font-weight: 700;
  font-size: 28px;
  color: var(--primary-deep);
}

.kid-bubble svg {
  width: 22px;
  height: 22px;
}
.kid-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
  color: var(--primary-deep);
}
.kid-badge svg {
  width: 16px;
  height: 16px;
}
.kid-app-ico {
  width: 36px;
  height: 36px;
  margin: 0 auto 6px;
  color: var(--primary-deep);
  background: var(--primary-soft);
  border-radius: 12px;
  padding: 7px;
  box-sizing: border-box;
}
.mic-btn svg {
  width: 22px;
  height: 22px;
}
.tab-rail .brand-mark {
  padding: 0;
  overflow: hidden;
}
.tab-rail .brand-mark img,
.tab-rail .brand-mark svg {
  width: 100%;
  height: 100%;
  display: block;
}

.list-row .action-ico,
.quick-action .action-ico {
  flex-shrink: 0;
}

.cms-quick {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}
.cms-quick a {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: inherit;
  text-decoration: none;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.cms-quick a:hover {
  border-color: rgba(50, 239, 126, 0.55);
  background: rgba(50, 239, 126, 0.06);
}
.cms-quick a strong {
  display: block;
  font-size: 13px;
  font-weight: 700;
}
.cms-quick a span {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin-top: 2px;
}
.cms-quick .action-ico {
  margin-top: 2px;
  margin-right: 0;
}
