/* Center Notes — Interactive User Guide (EN + PT-BR)
   Calm, single-focus tabbed guide with high-contrast badges,
   custom animated motion previews for all 12 tools, and step-by-step directions. */

.guide-hero {
  text-align: center;
  padding: 2.4rem 1rem 1.25rem;
  max-width: 44rem;
  margin: 0 auto;
}
.guide-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4.2vw, 2.75rem);
  font-weight: 800;
  line-height: 1.12;
  color: var(--ink);
  margin: 0.55rem 0 0.7rem;
}
.guide-hero p {
  color: var(--ink-soft);
  font-size: 1.04rem;
  line-height: 1.6;
  margin: 0;
}

/* ── Top-level view tabs (replaces long overwhelming scroll) ── */
.guide-tabs-wrap {
  max-width: 1120px;
  margin: 1.25rem auto 0;
  padding: 0 clamp(1rem, 3vw, 2rem);
  display: flex;
  justify-content: center;
}
.guide-tabs {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.45rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.35rem;
  box-shadow: var(--shadow-xs);
}
.guide-tab {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--ink-soft);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.92rem;
  padding: 0.55rem 1.15rem;
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}
.guide-tab:hover {
  color: var(--ink);
  background: color-mix(in srgb, var(--clay) 8%, transparent);
}
.guide-tab[aria-selected="true"] {
  background: #b04a2c;
  color: #fff;
  box-shadow: 0 4px 12px rgba(176, 74, 44, 0.24);
}
html[data-theme="dark"] .guide-tab[aria-selected="true"] {
  background: #c45b3b;
  color: #fff;
}
.guide-tab-count {
  font-size: 0.74rem;
  font-weight: 800;
  padding: 0.08rem 0.45rem;
  border-radius: 999px;
  background: color-mix(in srgb, currentColor 14%, transparent);
}
.guide-tab[aria-selected="true"] .guide-tab-count {
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
}

/* ── Main container & tab panels ── */
.guide-main {
  max-width: 1120px;
  margin: 1.75rem auto 3rem;
  padding: 0 clamp(1rem, 3vw, 2rem);
}
.guide-panel[hidden] {
  display: none !important;
}

/* ── High-contrast category badges (overrides home.css white-text bug) ── */
.g-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.26rem 0.72rem;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  line-height: 1.25;
  border: 1px solid transparent;
}
.g-badge[data-cat="curriculum"] {
  background: #e4f1e8;
  color: #1d4d34;
  border-color: #c2decb;
}
.g-badge[data-cat="care"] {
  background: #f9e6df;
  color: #8c341b;
  border-color: #ebc9bc;
}
.g-badge[data-cat="communication"] {
  background: #f7e4ee;
  color: #7d2248;
  border-color: #e6c2d5;
}
.g-badge[data-cat="compliance"] {
  background: #fbf0d5;
  color: #784805;
  border-color: #ebd5a1;
}

html[data-theme="dark"] .g-badge[data-cat="curriculum"] {
  background: rgba(127, 169, 138, 0.22);
  color: #b7e2c4;
  border-color: rgba(127, 169, 138, 0.35);
}
html[data-theme="dark"] .g-badge[data-cat="care"] {
  background: rgba(175, 95, 74, 0.25);
  color: #f4b7a4;
  border-color: rgba(175, 95, 74, 0.4);
}
html[data-theme="dark"] .g-badge[data-cat="communication"] {
  background: rgba(232, 160, 184, 0.22);
  color: #f6bfd2;
  border-color: rgba(232, 160, 184, 0.36);
}
html[data-theme="dark"] .g-badge[data-cat="compliance"] {
  background: rgba(245, 201, 123, 0.2);
  color: #f7d996;
  border-color: rgba(245, 201, 123, 0.36);
}

/* ── Tool-by-Tool Explorer layout ── */
.guide-cat-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 1.15rem;
}
.guide-cat-btn {
  appearance: none;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink-soft);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.84rem;
  padding: 0.42rem 0.9rem;
  border-radius: 999px;
  cursor: pointer;
  transition: all 150ms ease;
}
.guide-cat-btn:hover {
  border-color: var(--clay);
  color: var(--ink);
}
.guide-cat-btn[aria-pressed="true"] {
  background: var(--ink);
  color: var(--surface);
  border-color: var(--ink);
}

.guide-explorer {
  display: grid;
  grid-template-columns: 290px minmax(0, 1fr);
  gap: 1.35rem;
  align-items: start;
}

/* Sidebar tool list */
.guide-sidebar {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg, 18px);
  padding: 0.65rem;
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.28rem;
}
.guide-nav-item {
  appearance: none;
  border: 1px solid transparent;
  background: transparent;
  width: 100%;
  text-align: left;
  padding: 0.68rem 0.8rem;
  border-radius: 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--ink);
  transition: background 140ms ease, border-color 140ms ease, transform 140ms ease;
}
.guide-nav-item:hover {
  background: color-mix(in srgb, var(--clay) 7%, transparent);
}
.guide-nav-item[aria-current="true"] {
  background: color-mix(in srgb, var(--clay) 12%, var(--surface));
  border-color: color-mix(in srgb, var(--clay) 38%, transparent);
}
.guide-nav-ico {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  font-size: 1rem;
  background: var(--bg-deep, #f0eae0);
  color: var(--ink);
}
.guide-nav-item[data-cat="curriculum"] .guide-nav-ico { background: #e4f1e8; color: #1d4d34; }
.guide-nav-item[data-cat="care"] .guide-nav-ico { background: #f9e6df; color: #8c341b; }
.guide-nav-item[data-cat="communication"] .guide-nav-ico { background: #f7e4ee; color: #7d2248; }
.guide-nav-item[data-cat="compliance"] .guide-nav-ico { background: #fbf0d5; color: #784805; }
html[data-theme="dark"] .guide-nav-item[data-cat="curriculum"] .guide-nav-ico { background: rgba(127, 169, 138, 0.22); color: #b7e2c4; }
html[data-theme="dark"] .guide-nav-item[data-cat="care"] .guide-nav-ico { background: rgba(175, 95, 74, 0.25); color: #f4b7a4; }
html[data-theme="dark"] .guide-nav-item[data-cat="communication"] .guide-nav-ico { background: rgba(232, 160, 184, 0.22); color: #f6bfd2; }
html[data-theme="dark"] .guide-nav-item[data-cat="compliance"] .guide-nav-ico { background: rgba(245, 201, 123, 0.2); color: #f7d996; }

.guide-nav-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.guide-nav-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.92rem;
  line-height: 1.25;
  color: var(--ink);
}
.guide-nav-meta {
  font-size: 0.76rem;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Detail panel */
.guide-detail {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg, 20px);
  padding: clamp(1.25rem, 3vw, 2rem);
  box-shadow: var(--shadow-sm);
}
.guide-detail-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.guide-detail-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.45rem;
}
.guide-when-pill {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--ink-soft);
  background: var(--bg-deep, #f0eae0);
  padding: 0.24rem 0.65rem;
  border-radius: 999px;
}
html[data-theme="dark"] .guide-when-pill {
  background: rgba(255, 255, 255, 0.08);
  color: var(--ink-soft);
}
.guide-detail h2 {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2.8vw, 1.95rem);
  font-weight: 800;
  margin: 0 0 0.35rem;
  color: var(--ink);
  line-height: 1.15;
}
.guide-detail-lead {
  color: var(--ink-soft);
  font-size: 0.98rem;
  line-height: 1.55;
  margin: 0;
  max-width: 40rem;
}

/* ── Animated Motion Illustration Stage ── */
.gm-stage-box {
  background: var(--bg, #f7f3ec);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 1.5rem;
}
.gm-chrome {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.55rem 0.9rem;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  font-size: 0.76rem;
  color: var(--muted);
}
.gm-dots {
  display: inline-flex;
  gap: 0.35rem;
  align-items: center;
}
.gm-dots i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  display: block;
}
.gm-dots i:nth-child(1) { background: #e8846b; }
.gm-dots i:nth-child(2) { background: #f2c36b; }
.gm-dots i:nth-child(3) { background: #7eb88c; }
.gm-url {
  font-family: var(--font-body);
  font-weight: 700;
  color: var(--ink-soft);
  font-size: 0.76rem;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.gm-replay {
  flex-shrink: 0;
  appearance: none;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink-soft);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.74rem;
  padding: 0.22rem 0.65rem;
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}
.gm-replay:hover {
  border-color: var(--clay);
  color: var(--clay-deep);
}

.gm-canvas {
  padding: 1.15rem 1.2rem 1.25rem;
  min-height: 218px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.7rem;
}

/* Shared animated elements inside motion previews */
@keyframes gmFadeUp {
  0% { opacity: 0; transform: translateY(8px); }
  100% { opacity: 1; transform: translateY(0); }
}
@keyframes gmPop {
  0% { opacity: 0; transform: scale(0.92); }
  65% { transform: scale(1.03); }
  100% { opacity: 1; transform: scale(1); }
}
@keyframes gmPulseGlow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(45, 90, 67, 0.22); }
  50% { box-shadow: 0 0 0 6px rgba(45, 90, 67, 0); }
}
@keyframes gmBarGrow {
  0% { width: 12%; }
  100% { width: var(--gm-w, 82%); }
}
@keyframes gmShimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

.gm-anim {
  opacity: 0;
  animation: gmFadeUp 0.45s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: var(--d, 0s);
}
.gm-pop {
  opacity: 0;
  animation: gmPop 0.42s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: var(--d, 0s);
}
.gm-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}
.gm-chip-head {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.25rem 0.7rem;
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--ink);
}
.gm-pill-ok {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: #e4f1e8;
  color: #1d4d34;
  border: 1px solid #c2decb;
  border-radius: 999px;
  padding: 0.24rem 0.7rem;
  font-size: 0.78rem;
  font-weight: 800;
  animation: gmPop 0.4s ease forwards, gmPulseGlow 2.4s ease-in-out 1.4s infinite;
  animation-delay: var(--d, 0.8s), 1.6s;
  opacity: 0;
}
html[data-theme="dark"] .gm-pill-ok {
  background: rgba(127, 169, 138, 0.25);
  color: #b7e2c4;
  border-color: rgba(127, 169, 138, 0.4);
}
.gm-pill-warn {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: #fbf0d5;
  color: #784805;
  border: 1px solid #ebd5a1;
  border-radius: 999px;
  padding: 0.22rem 0.65rem;
  font-size: 0.76rem;
  font-weight: 800;
}
html[data-theme="dark"] .gm-pill-warn {
  background: rgba(245, 201, 123, 0.22);
  color: #f7d996;
  border-color: rgba(245, 201, 123, 0.38);
}

.gm-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.75rem 0.9rem;
  font-size: 0.87rem;
  color: var(--ink);
  line-height: 1.5;
}
.gm-card-label {
  display: block;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--clay-deep);
  margin-bottom: 0.22rem;
}
.gm-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
}
.gm-mini-tile {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 11px;
  padding: 0.55rem 0.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 0.82rem;
}
.gm-mini-tile strong { color: var(--ink); }
.gm-mini-tile span { color: var(--ink-soft); }
.gm-check {
  color: #1d6b43;
  font-weight: 800;
}
html[data-theme="dark"] .gm-check { color: #8ad6a7; }

.gm-days {
  display: inline-flex;
  gap: 0.28rem;
}
.gm-days span {
  width: 24px;
  height: 24px;
  border-radius: 7px;
  display: grid;
  place-items: center;
  font-size: 0.74rem;
  font-weight: 800;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--ink-soft);
}
.gm-days span.is-on {
  background: #b04a2c;
  color: #fff;
  border-color: #b04a2c;
}

.gm-bar-row {
  display: grid;
  grid-template-columns: 128px 1fr auto;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--ink);
}
.gm-bar-track {
  height: 9px;
  border-radius: 999px;
  background: var(--bg-deep, #e8e0d4);
  overflow: hidden;
}
.gm-bar-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--clay), #d9825b);
  width: var(--gm-w, 80%);
  animation: gmBarGrow 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: var(--d, 0.2s);
}
.gm-bar-fill.sage {
  background: linear-gradient(90deg, #2d5a43, #6ca384);
}

.gm-pipe {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.45rem;
}
.gm-pipe-col {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.55rem 0.6rem;
  text-align: center;
  font-size: 0.76rem;
}
.gm-pipe-col.active {
  border-color: #2d5a43;
  background: #e4f1e8;
  color: #1d4d34;
}
html[data-theme="dark"] .gm-pipe-col.active {
  background: rgba(127, 169, 138, 0.22);
  color: #b7e2c4;
  border-color: rgba(127, 169, 138, 0.45);
}
.gm-pipe-col b { display: block; font-family: var(--font-display); font-size: 0.82rem; }

.gm-ai-spark {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.26rem 0.75rem;
  border-radius: 999px;
  background: linear-gradient(90deg, #b04a2c, #cc6c4c, #b04a2c);
  background-size: 200% 100%;
  animation: gmShimmer 2.6s linear infinite;
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 800;
}

.gm-footer-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.55rem 0.85rem;
  border-radius: 10px;
  background: color-mix(in srgb, #2d5a43 10%, var(--surface));
  border: 1px solid color-mix(in srgb, #2d5a43 26%, var(--line));
  font-size: 0.81rem;
  font-weight: 700;
  color: #1d4d34;
}
html[data-theme="dark"] .gm-footer-bar {
  color: #b7e2c4;
}

/* ── Real Step-by-Step Directions ── */
.guide-steps-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--ink);
  margin: 0 0 0.85rem;
}
.guide-step-list {
  list-style: none;
  counter-reset: stepnum;
  margin: 0 0 1.4rem;
  padding: 0;
  display: grid;
  gap: 0.7rem;
}
.guide-step-list li {
  counter-increment: stepnum;
  position: relative;
  padding: 0.9rem 1rem 0.9rem 3.25rem;
  background: var(--bg, #f7f3ec);
  border: 1px solid var(--line);
  border-radius: 14px;
}
.guide-step-list li::before {
  content: counter(stepnum);
  position: absolute;
  left: 0.95rem;
  top: 0.92rem;
  width: 1.65rem;
  height: 1.65rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #b04a2c;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.86rem;
}
.guide-step-list h4 {
  font-family: var(--font-display);
  font-size: 0.96rem;
  font-weight: 800;
  margin: 0 0 0.2rem;
  color: var(--ink);
}
.guide-step-list p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--ink-soft);
  line-height: 1.52;
}

/* Output + Classroom tip strip */
.guide-callouts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
  margin-bottom: 1.45rem;
}
.guide-callout {
  padding: 0.9rem 1rem;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--surface);
}
.guide-callout.tip {
  background: color-mix(in srgb, #2d5a43 8%, var(--surface));
  border-color: color-mix(in srgb, #2d5a43 24%, var(--line));
}
.guide-callout-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--clay-deep);
  margin-bottom: 0.25rem;
}
.guide-callout.tip .guide-callout-label {
  color: #1d4d34;
}
html[data-theme="dark"] .guide-callout.tip .guide-callout-label {
  color: #b7e2c4;
}
.guide-callout p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--ink-soft);
  line-height: 1.5;
}

/* Detail footer prev/next nav */
.guide-detail-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-top: 1.15rem;
  border-top: 1px solid var(--line);
}
.guide-pager {
  display: inline-flex;
  gap: 0.5rem;
}
.guide-pager-btn {
  appearance: none;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.48rem 0.9rem;
  border-radius: 999px;
  cursor: pointer;
}
.guide-pager-btn:hover {
  border-color: var(--clay);
  color: var(--clay-deep);
}

/* ── Other Tabs: Quick Start, Weekly Rhythm, Sync & Sharing ── */
.guide-narrow {
  max-width: 50rem;
  margin: 0 auto;
}
.guide-panel-head {
  text-align: center;
  margin-bottom: 1.5rem;
}
.guide-panel-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 3vw, 2rem);
  font-weight: 800;
  margin: 0 0 0.4rem;
  color: var(--ink);
}
.guide-panel-head p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.98rem;
}

.week-day-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.45rem;
  margin-bottom: 1.25rem;
}
.week-day-btn {
  appearance: none;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink-soft);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.88rem;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  cursor: pointer;
}
.week-day-btn[aria-selected="true"] {
  background: #b04a2c;
  color: #fff;
  border-color: #b04a2c;
}
.week-day-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}
.week-day-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin: 0.4rem 0 0.5rem;
  color: var(--ink);
}
.week-day-card p {
  color: var(--ink-soft);
  font-size: 0.96rem;
  line-height: 1.6;
  margin: 0 0 1rem;
}
.week-day-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.week-tool-jump {
  appearance: none;
  border: 1px solid color-mix(in srgb, var(--clay) 35%, var(--line));
  background: color-mix(in srgb, var(--clay) 8%, var(--surface));
  color: var(--clay-deep);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.84rem;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  cursor: pointer;
}
.week-tool-jump:hover {
  background: #b04a2c;
  color: #fff;
}

.sync-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 1.75rem;
}
.sync-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.35rem;
  box-shadow: var(--shadow-xs);
}
.sync-card h3 {
  font-family: var(--font-display);
  font-size: 1.08rem;
  margin: 0.55rem 0 0.4rem;
  color: var(--ink);
}
.sync-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--ink-soft);
  line-height: 1.55;
}
.sync-ico {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: #e4f1e8;
  color: #1d4d34;
  font-size: 1.2rem;
}
html[data-theme="dark"] .sync-ico {
  background: rgba(127, 169, 138, 0.22);
  color: #b7e2c4;
}

.guide-cta-box {
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.75rem 1.25rem;
  box-shadow: var(--shadow-sm);
}
.guide-cta-box h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin: 0 0 0.45rem;
  color: var(--ink);
}
.guide-cta-box p {
  color: var(--ink-soft);
  margin: 0 auto 1.2rem;
  max-width: 36rem;
  font-size: 0.95rem;
}
.guide-cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

/* ── Reduced motion ── */
@media (prefers-reduced-motion: reduce) {
  .gm-anim, .gm-pop, .gm-pill-ok, .gm-bar-fill, .gm-ai-spark {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .guide-explorer {
    grid-template-columns: minmax(0, 1fr);
  }
  .guide-sidebar,
  .guide-detail {
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
  }
  .guide-sidebar {
    position: static;
    flex-direction: row;
    overflow-x: auto;
    gap: 0.45rem;
    padding: 0.55rem;
    -webkit-overflow-scrolling: touch;
  }
  .guide-nav-item {
    width: auto;
    flex: 0 0 auto;
    padding: 0.5rem 0.75rem;
  }
  .guide-nav-meta {
    display: none;
  }
  .guide-callouts,
  .sync-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 560px) {
  .guide-tabs {
    border-radius: 18px;
    width: 100%;
  }
  .guide-tab {
    flex: 1 1 44%;
    justify-content: center;
    padding: 0.5rem 0.65rem;
    font-size: 0.84rem;
  }
  .gm-grid-2,
  .gm-pipe {
    grid-template-columns: 1fr;
  }
  .gm-bar-row {
    grid-template-columns: 98px 1fr auto;
  }
}
