/* =============================================
   KiddoShield Landing — Help Center & Guide sub-pages
   Shared styles for /help, /guide-setup, /guide-ctv, and future guides.
   Reuses global tokens from style.css (--primary, --text-*, --border, …).
   All new classes are namespaced g- / help- to avoid clashing with the
   existing app User-Guide styles in guide.css.
   ============================================= */

/* ---- Page shell ---- */
.gpage {
  max-width: 84rem;
  margin: 0 auto;
  padding: 3.2rem 2rem 9.6rem;
}

.g-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 1.4rem;
  color: var(--text-light);
  margin-bottom: 2.4rem;
}
.g-breadcrumb a { color: var(--text-med); }
.g-breadcrumb a:hover { color: var(--primary); }
.g-breadcrumb .sep { color: var(--text-light); }

/* ---- Hero ---- */
.g-hero {
  background: linear-gradient(135deg, var(--primary-light), var(--bg-subtle));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 4rem 3.2rem;
  margin-bottom: 4rem;
}
.g-eyebrow {
  display: inline-block;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 99px;
  padding: 0.4rem 1.2rem;
  margin-bottom: 1.6rem;
}
.g-hero h1 {
  font-size: clamp(2.8rem, 5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text-dark);
  margin-bottom: 1.4rem;
  text-wrap: balance;
}
.g-hero .g-lede {
  font-size: 1.7rem;
  line-height: 1.65;
  color: var(--text-med);
  max-width: 62ch;
}
.g-hero .g-lede strong { color: var(--text-dark); }
.g-hero-note {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  margin-top: 2rem;
  font-size: 1.4rem;
  color: var(--text-med);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 99px;
  padding: 0.8rem 1.4rem;
}
.g-hero-note .ionicon { font-size: 1.7rem; color: var(--primary); }

/* ---- Prep strip ---- */
.g-prep {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  margin-top: 2.4rem;
}
.g-prep .g-p {
  display: flex;
  gap: 1.2rem;
  align-items: center;
  padding: 1.4rem 1.6rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}
.g-prep .g-p .ionicon { font-size: 2.2rem; color: var(--primary); flex-shrink: 0; }
.g-prep .g-p b { display: block; font-size: 1.5rem; color: var(--text-dark); }
.g-prep .g-p span { font-size: 1.3rem; color: var(--text-med); }

/* ---- Section + numbered step head ---- */
.g-section { margin-top: 5.6rem; }
.g-step-head {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  margin-bottom: 2rem;
}
.g-badge {
  flex-shrink: 0;
  width: 4.8rem;
  height: 4.8rem;
  border-radius: var(--radius-md);
  background: var(--primary);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 2rem;
  font-weight: 800;
  box-shadow: var(--shadow-md);
}
.g-badge.g-badge-soft {
  background: var(--primary-light);
  color: var(--primary);
  box-shadow: none;
  border: 1px solid var(--border);
}
.g-badge .ionicon { font-size: 2.2rem; }
.g-step-head .g-k {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
}
.g-step-head h2 {
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--text-dark);
  margin-top: 0.2rem;
  text-wrap: balance;
}

/* ---- Card ---- */
.g-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

/* ---- Numbered step list ---- */
.g-list { list-style: none; margin: 0; padding: 0; }
.g-list li {
  display: flex;
  gap: 1.4rem;
  padding: 1.6rem 1.8rem;
  font-size: 1.55rem;
  line-height: 1.6;
  color: var(--text-med);
}
.g-list li + li { border-top: 1px solid var(--border); }
.g-list .g-n {
  flex-shrink: 0;
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary);
  font-weight: 700;
  font-size: 1.4rem;
  display: grid;
  place-items: center;
}
.g-list li b, .g-list li strong { color: var(--text-dark); font-weight: 600; }

/* ---- Free / info tag ---- */
.g-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  margin-top: 1.6rem;
  font-size: 1.35rem;
  font-weight: 600;
  padding: 0.8rem 1.4rem;
  border-radius: 99px;
  background: var(--green-light);
  color: var(--green);
}
.g-tag .ionicon { font-size: 1.6rem; }

/* ---- Download block ---- */
.g-dl {
  display: flex;
  gap: 2rem;
  align-items: center;
  flex-wrap: wrap;
  padding: 2rem 1.8rem;
}
.g-dl-main { flex: 1; min-width: 22rem; }
.g-dl .btn .ionicon { font-size: 1.8rem; }
.g-url {
  display: block;
  margin-top: 1rem;
  font-size: 1.35rem;
  color: var(--text-med);
  word-break: break-all;
}
.g-url b { color: var(--primary); font-weight: 600; }
.g-stores { margin-top: 1rem; font-size: 1.4rem; color: var(--text-med); }
.g-stores b { color: var(--text-dark); }
.g-qr { flex-shrink: 0; text-align: center; }
.g-qr img {
  width: 12rem;
  height: 12rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: #fff;
  padding: 0.7rem;
}
.g-qr span { display: block; margin-top: 0.8rem; font-size: 1.2rem; color: var(--text-light); }

/* ---- Installer mock ---- */
.g-mock {
  margin: 0 1.8rem 1.6rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--bg);
}
.g-mock-bar {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1rem 1.4rem;
  background: #fff;
  border-bottom: 1px solid var(--border);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--text-dark);
}
.g-mock-bar .g-dots { display: flex; gap: 0.5rem; }
.g-mock-bar .g-dots i { width: 0.9rem; height: 0.9rem; border-radius: 50%; background: var(--border); }
.g-mock-body { padding: 1.6rem; }
.g-mock-row { margin-bottom: 1.4rem; }
.g-mock-row .g-lbl {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 0.8rem;
}
.g-opts { display: flex; gap: 1rem; flex-wrap: wrap; }
.g-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.9rem 1.4rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: #fff;
  font-size: 1.45rem;
  color: var(--text-med);
}
.g-chip.sel { border-color: var(--primary); background: var(--primary-light); color: var(--primary); font-weight: 600; }
.g-chip .g-rd { width: 1.4rem; height: 1.4rem; border-radius: 50%; border: 2px solid var(--text-light); }
.g-chip.sel .g-rd { border-color: var(--primary); background: radial-gradient(circle, var(--primary) 40%, transparent 45%); }
.g-mock-cta { display: flex; justify-content: flex-end; }
.g-mock-cta .g-go { background: var(--primary); color: #fff; font-weight: 700; font-size: 1.4rem; padding: 0.9rem 1.8rem; border-radius: var(--radius-sm); }
.g-mock-note { font-size: 1.4rem; color: var(--text-med); padding: 0 1.8rem 1.6rem; line-height: 1.6; }
.g-mock-note b { color: var(--text-dark); }

/* ---- Linking methods (2-up, direction badges) ---- */
.g-methods { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem; }
.g-method {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.g-method-head { padding: 1.8rem 1.8rem 1.4rem; border-bottom: 1px solid var(--border); }
.g-method-head .g-way { font-size: 1.1rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--primary); }
.g-method-head h3 { margin: 0.4rem 0 1rem; font-size: 1.8rem; font-weight: 700; color: var(--text-dark); }
.g-dir {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-med);
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 0.5rem 1rem;
  border-radius: 99px;
}
.g-dir .ionicon { font-size: 1.4rem; }
.g-method-body { padding: 0.8rem 1rem 1.4rem; display: flex; flex-direction: column; gap: 0.4rem; flex: 1; }
.g-place { padding: 1.2rem 1.2rem; }
.g-place .g-ph { display: flex; align-items: center; gap: 0.9rem; font-weight: 700; font-size: 1.4rem; margin-bottom: 0.8rem; }
.g-place.phone .g-ph { color: var(--cyan); }
.g-place.pc .g-ph { color: var(--primary); }
.g-place .g-ph .g-ic { width: 2.6rem; height: 2.6rem; border-radius: var(--radius-sm); display: grid; place-items: center; }
.g-place.phone .g-ph .g-ic { background: var(--cyan-light); color: var(--cyan); }
.g-place.pc .g-ph .g-ic { background: var(--primary-light); color: var(--primary); }
.g-place .g-ph .g-ic .ionicon { font-size: 1.5rem; }
.g-place ol { margin: 0; padding-left: 3.2rem; font-size: 1.45rem; line-height: 1.55; color: var(--text-med); }
.g-place ol li { margin: 0.5rem 0; }
.g-place ol li b { color: var(--text-dark); font-weight: 600; }
.g-flow-arrow {
  display: flex; align-items: center; justify-content: center; gap: 0.8rem;
  color: var(--text-light); font-size: 1.2rem; font-weight: 600; padding: 0.3rem 0;
}
.g-flow-arrow .ionicon { font-size: 1.6rem; }
.g-code-demo { display: inline-flex; gap: 0.5rem; margin-top: 0.8rem; }
.g-code-demo span {
  width: 2.8rem; height: 3.4rem; border-radius: var(--radius-sm);
  border: 1px solid var(--border); background: var(--bg);
  display: grid; place-items: center; font-weight: 700; font-size: 1.7rem; color: var(--primary);
}

/* ---- Choose table ---- */
.g-choose { margin-top: 1.6rem; border: 1px solid var(--border); border-radius: var(--radius-md); overflow: hidden; }
.g-choose .g-cr { display: flex; gap: 1.2rem; padding: 1.3rem 1.6rem; font-size: 1.5rem; align-items: center; }
.g-choose .g-cr + .g-cr { border-top: 1px solid var(--border); }
.g-choose .g-cr .g-sit { flex: 1; color: var(--text-med); }
.g-choose .g-cr .g-pick { flex-shrink: 0; font-weight: 700; font-size: 1.3rem; color: var(--primary); background: var(--primary-light); padding: 0.5rem 1.2rem; border-radius: 99px; white-space: nowrap; }

/* ---- Callout (warning) ---- */
.g-callout {
  margin-top: 1.6rem;
  padding: 1.6rem 1.8rem;
  border-radius: var(--radius-md);
  background: var(--red-light);
  border: 1px solid #f3c9c9;
  display: flex;
  gap: 1.2rem;
  align-items: flex-start;
  font-size: 1.45rem;
  color: var(--text-med);
  line-height: 1.6;
}
.g-callout .ionicon { font-size: 2rem; color: var(--red); flex-shrink: 0; }
.g-callout b { color: var(--text-dark); }

/* ---- FAQ / accordion ---- */
.g-faq { padding: 0.6rem 0.4rem; }
.g-faq details { border-top: 1px solid var(--border); }
.g-faq details:first-child { border-top: none; }
.g-faq summary {
  cursor: pointer;
  list-style: none;
  padding: 1.6rem 1.4rem;
  font-weight: 600;
  font-size: 1.55rem;
  color: var(--text-dark);
  display: flex;
  justify-content: space-between;
  gap: 1.2rem;
  align-items: center;
}
.g-faq summary::-webkit-details-marker { display: none; }
.g-faq summary .g-plus { flex-shrink: 0; font-size: 2rem; color: var(--primary); transition: transform 0.2s; line-height: 1; }
.g-faq details[open] summary .g-plus { transform: rotate(45deg); }
.g-faq .g-ans { padding: 0 1.4rem 1.6rem; color: var(--text-med); font-size: 1.5rem; line-height: 1.7; margin: 0; }
.g-faq .g-ans b { color: var(--text-dark); }

/* =============================================
   CTV / reseller guide specific
   ============================================= */
.g-menu-card { padding: 0.6rem; }
.g-menu-label { font-size: 1.15rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-light); padding: 1.4rem 1.4rem 0.8rem; }
.g-row { display: flex; align-items: center; gap: 1.4rem; padding: 1.3rem 1.2rem; }
.g-row + .g-row { border-top: 1px solid var(--border); }
.g-row .g-ic { flex-shrink: 0; width: 3.8rem; height: 3.8rem; border-radius: var(--radius-sm); background: var(--primary-light); color: var(--primary); display: grid; place-items: center; }
.g-row .g-ic .ionicon { font-size: 2rem; }
.g-row .g-body { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.g-row .g-name { display: block; font-weight: 600; color: var(--text-dark); font-size: 1.55rem; }
.g-row .g-desc { display: block; font-size: 1.35rem; color: var(--text-med); margin-top: 0.2rem; }
.g-row .g-chev { flex-shrink: 0; color: var(--text-light); }
.g-row .g-chev .ionicon { font-size: 1.6rem; }

.g-privacy { display: flex; gap: 1.1rem; align-items: flex-start; margin-top: 1.6rem; padding: 1.4rem 1.6rem; background: var(--primary-light); border-radius: var(--radius-md); font-size: 1.45rem; color: var(--text-med); }
.g-privacy .ionicon { flex-shrink: 0; font-size: 2rem; color: var(--primary); }
.g-privacy b { color: var(--text-dark); }

.g-opt-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; margin-bottom: 1.6rem; }
.g-opt { padding: 1.6rem; background: var(--bg-white); border: 1px solid var(--border); border-radius: var(--radius-md); }
.g-opt .g-h { display: flex; align-items: center; gap: 0.9rem; font-weight: 700; font-size: 1.5rem; color: var(--text-dark); margin-bottom: 0.6rem; }
.g-opt .g-h .ionicon { font-size: 1.8rem; color: var(--primary); }
.g-opt p { margin: 0; font-size: 1.4rem; color: var(--text-med); line-height: 1.55; }

.g-rules { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 1.1rem; }
.g-rules li { display: flex; gap: 1.1rem; font-size: 1.5rem; align-items: flex-start; color: var(--text-med); line-height: 1.55; }
.g-rules .g-bt { flex-shrink: 0; width: 2.2rem; height: 2.2rem; border-radius: var(--radius-sm); background: var(--primary-light); color: var(--primary); display: grid; place-items: center; }
.g-rules .g-bt .ionicon { font-size: 1.4rem; }
.g-rules b { color: var(--text-dark); }
.g-credit { font-weight: 700; color: var(--primary); }
.g-subhead { display: flex; align-items: center; gap: 0.9rem; font-weight: 700; font-size: 1.55rem; color: var(--text-dark); margin-bottom: 1.2rem; }
.g-subhead .ionicon { font-size: 1.9rem; color: var(--primary); }

.g-lic { padding: 0.8rem; }
.g-lic-row { display: flex; align-items: center; justify-content: space-between; gap: 1.2rem; padding: 1.3rem 1.2rem; }
.g-lic-row + .g-lic-row { border-top: 1px solid var(--border); }
.g-lic-row .g-who { min-width: 0; display: flex; flex-direction: column; }
.g-lic-row .g-who .g-key { font-weight: 600; color: var(--text-dark); font-size: 1.5rem; }
.g-lic-row .g-who .g-sub { font-size: 1.3rem; color: var(--text-med); }
.g-pill { flex-shrink: 0; display: inline-flex; align-items: center; gap: 0.6rem; font-size: 1.3rem; font-weight: 600; padding: 0.5rem 1.1rem; border-radius: 99px; white-space: nowrap; }
.g-pill.on { background: var(--green-light); color: var(--green); }
.g-pill.off { background: var(--yellow-light, #FEF3E2); color: var(--yellow); }
.g-pill .g-dot { width: 0.7rem; height: 0.7rem; border-radius: 50%; background: currentColor; }
.g-lic-note { padding: 0.2rem 1.4rem 1.4rem; font-size: 1.35rem; color: var(--text-med); }

.g-two { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.g-mini { padding: 1.6rem; background: var(--bg-white); border: 1px solid var(--border); border-radius: var(--radius-md); }
.g-mini .g-h { display: flex; align-items: center; gap: 0.9rem; font-weight: 700; font-size: 1.5rem; color: var(--text-dark); margin-bottom: 0.5rem; }
.g-mini .g-h .ionicon { font-size: 1.8rem; color: var(--primary); }
.g-mini p { margin: 0; font-size: 1.4rem; color: var(--text-med); line-height: 1.5; }

.g-benefits { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.g-ben { display: flex; gap: 1.1rem; align-items: flex-start; padding: 1.5rem 1.6rem; background: var(--bg-white); border: 1px solid var(--border); border-radius: var(--radius-md); }
.g-ben .ionicon { flex-shrink: 0; font-size: 2rem; color: var(--primary); }
.g-ben b { color: var(--text-dark); display: block; font-size: 1.5rem; }
.g-ben span { font-size: 1.35rem; color: var(--text-med); }

/* =============================================
   Help hub (/help)
   ============================================= */
.help-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.help-card {
  display: flex;
  gap: 1.6rem;
  align-items: flex-start;
  padding: 2.4rem;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
.help-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: var(--primary); }
.help-card .help-ic {
  flex-shrink: 0;
  width: 5.2rem;
  height: 5.2rem;
  border-radius: var(--radius-md);
  background: var(--primary-light);
  color: var(--primary);
  display: grid;
  place-items: center;
}
.help-card .help-ic .ionicon { font-size: 2.6rem; }
.help-card h3 { font-size: 1.9rem; font-weight: 700; color: var(--text-dark); margin-bottom: 0.6rem; }
.help-card p { font-size: 1.45rem; color: var(--text-med); line-height: 1.55; margin-bottom: 1rem; }
.help-card .help-go { display: inline-flex; align-items: center; gap: 0.6rem; font-size: 1.45rem; font-weight: 600; color: var(--primary); }
.help-card .help-go .ionicon { font-size: 1.5rem; }

/* =============================================
   Web Filter guide extras (/guide-web-filter)
   ============================================= */
.g-opt-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; margin-bottom: 1.6rem; }
.g-three { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.g-pill.blocked { background: var(--red-light); color: var(--red); }
.g-pill.allowed { background: var(--green-light); color: var(--green); }
.g-cats { display: flex; flex-wrap: wrap; gap: 0.8rem; }
.g-cat {
  display: inline-flex; align-items: center;
  padding: 0.6rem 1.2rem; border-radius: 99px;
  border: 1px solid var(--border); background: #fff;
  font-size: 1.4rem; color: var(--text-med);
}
.g-cat.blocked { background: var(--red-light); border-color: transparent; color: var(--red); font-weight: 600; }
.g-cat.allowed { background: var(--purple-light); border-color: transparent; color: var(--purple); font-weight: 600; }
.g-legend { display: flex; flex-wrap: wrap; gap: 1.6rem; margin-top: 1.2rem; font-size: 1.35rem; color: var(--text-med); }
.g-legend span { display: inline-flex; align-items: center; gap: 0.6rem; }
.g-legend i { width: 1.1rem; height: 1.1rem; border-radius: 50%; display: inline-block; }
.g-legend .lg-block { background: var(--red); }
.g-legend .lg-allow { background: var(--purple); }

/* ---- Protection feature toggles mock (/guide-protection) ---- */
.pf-mock { border: 1px solid var(--border); border-radius: var(--radius-md); overflow: hidden; background: var(--bg-white); box-shadow: var(--shadow-sm); }
.pf-mock-label { font-size: 1.15rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-light); padding: 1.4rem 1.6rem 0.4rem; }
.pf-row { display: flex; align-items: center; gap: 1.2rem; padding: 1.4rem 1.6rem; cursor: pointer; transition: background 0.12s; }
.pf-row + .pf-row { border-top: 1px solid var(--border); }
.pf-row:hover { background: var(--bg-subtle); }
.pf-ic { flex: none; width: 2.4rem; height: 2.4rem; border-radius: 50%; display: grid; place-items: center; font-size: 1.5rem; line-height: 1; color: #fff; font-weight: 700; }
.pf-ic.on { background: var(--green); }
.pf-ic.off { background: var(--text-light); }
.pf-name { flex: 1; font-size: 1.55rem; color: var(--text-dark); }
.pf-name.off { color: var(--text-light); }
.pf-state { flex: none; font-size: 1.4rem; font-weight: 600; }
.pf-state.on { color: var(--green); }
.pf-state.off { color: var(--text-light); }
.pf-taphint { display: flex; align-items: center; justify-content: center; gap: 0.6rem; margin-top: 1.2rem; font-size: 1.4rem; color: var(--text-med); }
.pf-taphint .ionicon { font-size: 1.7rem; color: var(--primary); }

/* ---- Action explainer cards (/guide-lock): What / How long / How to undo ---- */
.act-card { border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--bg-white); box-shadow: var(--shadow-sm); overflow: hidden; }
.act-card + .act-card { margin-top: 1.4rem; }
.act-head { display: flex; align-items: center; gap: 1.2rem; padding: 1.5rem 1.8rem; border-bottom: 1px solid var(--border); }
.act-ic { flex: none; width: 3.6rem; height: 3.6rem; border-radius: 11px; display: grid; place-items: center; }
.act-ic svg { width: 2rem; height: 2rem; }
.act-head h3 { flex: 1; font-size: 1.6rem; font-weight: 700; color: var(--text-dark); margin: 0; }
.act-tag { flex: none; font-size: 1.2rem; font-weight: 700; padding: 0.4rem 1.1rem; border-radius: 99px; white-space: nowrap; }
.act-red .act-ic, .act-red .act-tag { background: var(--red-light); color: var(--red); }
.act-amber .act-ic, .act-amber .act-tag { background: #FFF7E6; color: #B4740A; }
.act-grey .act-ic, .act-grey .act-tag { background: var(--bg-subtle); color: var(--text-med); }
.act-green .act-ic, .act-green .act-tag { background: var(--green-light); color: var(--green); }
.act-primary .act-ic, .act-primary .act-tag { background: var(--primary-light); color: var(--primary); }
.act-rows { margin: 0; padding: 0.4rem 1.8rem 1.2rem; }
.act-rows > div { display: flex; gap: 1.4rem; padding: 1.1rem 0; }
.act-rows > div + div { border-top: 1px solid var(--border); }
.act-rows dt { flex: none; width: 10rem; font-size: 1.15rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--text-light); padding-top: 0.3rem; }
.act-rows dd { flex: 1; margin: 0; font-size: 1.5rem; line-height: 1.55; color: var(--text-med); }
.act-rows dd b { color: var(--text-dark); font-weight: 600; }

/* ---- Emergency-state banner mock ---- */
.bn-mock { border-radius: var(--radius-md); padding: 1.4rem 1.6rem; }
.bn-mock.lock { background: #FDECEA; border: 1px solid #F3C6C3; }
.bn-mock.unlock { background: #FFF7E6; border: 1px solid #F3D99A; }
.bn-mock .bn-title { font-weight: 700; font-size: 1.5rem; }
.bn-mock.lock .bn-title { color: #A3241E; }
.bn-mock.unlock .bn-title { color: #8A5A08; }
.bn-mock .bn-reset { display: inline-block; margin-top: 0.9rem; background: #fff; font-weight: 600; font-size: 1.3rem; padding: 0.5rem 1.1rem; border-radius: 8px; }
.bn-mock.lock .bn-reset { border: 1px solid #F3C6C3; color: #A3241E; }
.bn-mock.unlock .bn-reset { border: 1px solid #F3D99A; color: #8A5A08; }

@media (max-width: 600px) {
  .act-rows > div { flex-direction: column; gap: 0.3rem; }
  .act-rows dt { width: auto; padding-top: 0; }
}

/* ---- Weekly schedule mock (/guide-schedule): green = allowed hours ---- */
.sch-mock { border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--bg-white); box-shadow: var(--shadow-sm); overflow: hidden; }
.sch-mock-label { font-size: 1.15rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-light); padding: 1.4rem 1.6rem 0.8rem; }
.sch-row { display: flex; align-items: center; gap: 1.2rem; padding: 0.7rem 1.6rem; }
.sch-day { flex: none; width: 5.4rem; font-size: 1.4rem; font-weight: 600; color: var(--text-dark); }
.sch-bar { flex: 1; height: 2.4rem; border-radius: 6px; background: var(--bg-subtle); position: relative; }
.sch-seg { position: absolute; top: 0.3rem; bottom: 0.3rem; background: var(--green); border-radius: 4px; }
.sch-scale { display: flex; justify-content: space-between; padding: 0.4rem 1.6rem 1.4rem; margin-left: 6.6rem; font-size: 1.1rem; color: var(--text-light); font-variant-numeric: tabular-nums; }
.sch-legend { display: flex; align-items: center; gap: 0.7rem; margin-top: 1.2rem; font-size: 1.35rem; color: var(--text-med); }
.sch-legend i { width: 1.4rem; height: 1.4rem; border-radius: 4px; background: var(--green); display: inline-block; }

/* ---- Hour grid mock (schedule editor): one square per hour, tap to allow ---- */
.hg-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 0.4rem; }
.hg-cell { aspect-ratio: 1; border-radius: 5px; border: 1px solid var(--border); background: var(--bg-white); display: grid; place-items: center; font-size: 1.15rem; color: var(--text-light); font-variant-numeric: tabular-nums; }
.hg-cell.on { background: var(--green); border-color: transparent; color: #fff; font-weight: 700; }
@media (max-width: 480px) { .hg-cell { font-size: 1rem; border-radius: 4px; } }

/* ---- Screenshot placeholders (swap the .g-ph div for a real <img> later; keeps exact w×h) ---- */
.g-shot { display: flex; flex-direction: column; align-items: center; margin: 1.8rem 0 0; }
.g-shots { display: flex; flex-wrap: wrap; gap: 1.6rem; justify-content: center; margin: 1.8rem 0 0; }
.g-shots .g-shot { margin: 0; }
.g-ph {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 0.9rem; padding: 1.4rem; box-sizing: border-box; max-width: 100%;
  border: 2px dashed var(--border); border-radius: var(--radius-md);
  background: var(--bg-subtle); color: var(--text-light); text-align: center;
}
.g-ph svg { width: 3rem; height: 3rem; color: var(--text-light); }
.g-ph .g-ph-txt { font-size: 1.3rem; font-weight: 600; color: var(--text-med); line-height: 1.4; }
.g-ph .g-ph-dim { font-size: 1.1rem; color: var(--text-light); font-variant-numeric: tabular-nums; }
.g-shot figcaption { margin-top: 0.8rem; font-size: 1.3rem; color: var(--text-med); }
/* real screenshot (thay <div class="g-ph"> bằng <img>): giữ w×h qua width + aspect-ratio inline */
.g-shot img { display: block; max-width: 100%; height: auto; border-radius: var(--radius-md); box-shadow: var(--shadow-md); }

/* ---- Onboarding mock screens (gso.html) — mô phỏng sát màn hình thật ---- */
.g-shot .ob-logo { box-shadow: none; border-radius: 0; }        /* logo bên trong mock: bỏ style .g-shot img */
.ob-phone {
  width: 250px; max-width: 100%; box-sizing: border-box; background: #fff;
  border: 1px solid var(--border); border-radius: 18px; box-shadow: var(--shadow-md);
  padding: 2.2rem 1.8rem 2rem; display: flex; flex-direction: column; align-items: center; text-align: center;
}
.ob-phone .ob-logo { width: 46px; height: 46px; margin-bottom: 1rem; }
.ob-phone .ob-brand { font-size: 2.4rem; font-weight: 800; color: #1f2937; letter-spacing: -0.01em; }
.ob-phone .ob-sub { font-size: 1.15rem; font-weight: 600; letter-spacing: 0.1em; color: var(--text-med); margin: 0.4rem 0 1.8rem; }
.ob-field {
  width: 100%; box-sizing: border-box; background: #ededed; border-radius: 10px;
  padding: 1.15rem 1.3rem; margin-bottom: 1.1rem; text-align: left; font-size: 1.55rem; color: #1f2937;
  display: flex; align-items: center; justify-content: space-between; gap: 0.8rem;
}
.ob-field .ob-val { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ob-field .ob-hint { color: var(--text-light); }
.ob-field svg { width: 2rem; height: 2rem; color: var(--text-light); flex: none; }
.ob-btn-login {
  width: 100%; box-sizing: border-box; border: 1.5px solid var(--primary); color: var(--primary);
  background: #fff; border-radius: 10px; padding: 1.2rem; font-size: 1.65rem; font-weight: 700; margin-top: 0.4rem;
}
.ob-forgot { align-self: flex-end; color: var(--primary); font-weight: 700; font-size: 1.35rem; margin: 1.1rem 0 1.6rem; }
.ob-noacct { font-size: 1.35rem; color: var(--text-med); }
.ob-noacct b { color: #e8930c; }
.ob-noacct b.ob-hl { display: inline-block; outline: 2px dashed var(--primary); outline-offset: 3px; border-radius: 6px; }

.ob-win {
  width: 380px; max-width: 100%; box-sizing: border-box; background: #fff;
  border: 1px solid var(--border); border-radius: 10px; overflow: hidden; box-shadow: var(--shadow-lg);
}
.ob-win-bar {
  display: flex; align-items: center; gap: 0.8rem; padding: 0.9rem 1.2rem;
  background: #f5f6f8; border-bottom: 1px solid var(--border);
  font-size: 1.35rem; font-weight: 600; color: var(--text-dark);
}
.ob-win-bar .ob-win-ic { width: 1.8rem; height: 1.8rem; color: var(--primary); flex: none; }
.ob-win-bar .ob-win-btns { margin-left: auto; display: flex; gap: 1.3rem; color: var(--text-light); font-size: 1.4rem; }
.ob-win-body { padding: 2rem 1.8rem; text-align: left; }
.ob-win-body .ob-w-h { font-size: 1.7rem; font-weight: 700; color: var(--text-dark); }
.ob-win-body .ob-w-d { font-size: 1.35rem; color: var(--text-med); margin: 0.5rem 0 1.6rem; line-height: 1.5; }
.ob-w-lbl { font-size: 1.3rem; font-weight: 600; color: var(--text-med); margin-bottom: 0.7rem; }
.ob-code { display: flex; gap: 0.7rem; margin-bottom: 1.8rem; }
.ob-code .ob-cd {
  flex: 1; text-align: center; padding: 1.1rem 0; background: var(--bg-subtle);
  border: 1px solid var(--border); border-radius: 8px; font-size: 2rem; font-weight: 800;
  font-variant-numeric: tabular-nums; color: var(--primary); letter-spacing: 0.05em;
}
.ob-w-btn { background: var(--primary); color: #fff; font-weight: 700; font-size: 1.5rem; padding: 1.15rem; border-radius: 8px; text-align: center; }
.ob-w-back { font-size: 1.35rem; color: var(--text-light); margin-bottom: 1.1rem; }
.ob-opt { border: 1px solid var(--border); border-radius: 8px; padding: 1.1rem 1.3rem; margin-bottom: 1rem; background: #fff; }
.ob-opt:last-child { margin-bottom: 0; }
.ob-opt.sel { border-color: var(--primary); background: var(--primary-light); box-shadow: 0 0 0 1px var(--primary); }
.ob-opt-t { font-size: 1.5rem; font-weight: 700; color: var(--text-dark); }
.ob-opt.sel .ob-opt-t { color: var(--primary); }
.ob-opt-d { font-size: 1.25rem; color: var(--text-med); margin-top: 0.3rem; line-height: 1.45; }

/* phone mock — extra screens (guide-setup): register button, empty state, account rows, form, code */
.ob-btn-fill { width: 100%; box-sizing: border-box; background: var(--primary); color: #fff; border-radius: 10px; padding: 1.2rem; font-size: 1.65rem; font-weight: 700; text-align: center; margin-top: 0.4rem; }
.ob-phone-top { align-items: stretch; text-align: left; }
.ob-empty-ic { width: 60px; height: 60px; margin: 1.2rem auto 1.4rem; color: var(--text-light); }
.ob-empty-ic svg { width: 100%; height: 100%; }
.ob-empty-t { font-size: 1.7rem; font-weight: 700; color: var(--text-dark); margin-bottom: 0.6rem; }
.ob-empty-d { font-size: 1.35rem; color: var(--text-med); line-height: 1.5; margin-bottom: 1.8rem; }
.ob-nav { font-size: 1.7rem; font-weight: 800; color: var(--text-dark); margin-bottom: 1.4rem; }
.ob-row { display: flex; align-items: center; justify-content: space-between; padding: 1.15rem 1.2rem; border: 1px solid var(--border); border-radius: 10px; margin-bottom: 1rem; font-size: 1.5rem; color: var(--text-dark); background: #fff; }
.ob-row:last-of-type { margin-bottom: 0; }
.ob-row.sel { border-color: var(--primary); background: var(--primary-light); color: var(--primary); font-weight: 700; box-shadow: 0 0 0 1px var(--primary); }
.ob-row-x { color: var(--text-light); font-size: 1.6rem; }
.ob-row.sel .ob-row-x { color: var(--primary); }
.ob-flabel { font-size: 1.25rem; font-weight: 600; color: var(--text-med); margin: 0 0 0.6rem; }
.ob-select, .ob-input { display: flex; align-items: center; justify-content: space-between; background: #ededed; border-radius: 10px; padding: 1.1rem 1.3rem; margin-bottom: 1.3rem; font-size: 1.5rem; color: var(--text-dark); }
.ob-code-h { font-size: 1.3rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--primary); margin: 1.2rem 0 1.2rem; text-align: center; }
.ob-bigcode { font-size: 3.4rem; font-weight: 800; letter-spacing: 0.35rem; color: var(--text-dark); font-variant-numeric: tabular-nums; text-align: center; }
.ob-code-note { font-size: 1.3rem; color: var(--text-med); margin-top: 1.2rem; line-height: 1.5; text-align: center; }

/* add-device flow mock — "Thiết bị liên kết" bottom sheet (device picker + plus, numbered steps) */
.ob-adddev { width: 264px; max-width: 100%; box-sizing: border-box; background: #fff; border: 1px solid var(--border); border-radius: 18px; box-shadow: var(--shadow-md); overflow: hidden; }
.ob-adddev-bar { display: flex; align-items: center; gap: 0.5rem; padding: 1.1rem 1.2rem; background: #eef0f3; }
.ob-avs { display: flex; align-items: center; }
.ob-av { width: 2.1rem; height: 2.1rem; border-radius: 50%; display: grid; place-items: center; font-size: 1.15rem; font-weight: 700; color: #fff; }
.ob-av.o { background: #22a35a; }
.ob-av.t { background: #c7ccd3; margin-left: -0.5rem; }
.ob-icn { width: 1.9rem; height: 1.9rem; color: var(--text-med); flex: none; }
.ob-pill { flex: 1; text-align: center; font-size: 1.4rem; font-weight: 600; color: var(--text-dark); }
.ob-bar-ics { display: flex; align-items: center; gap: 0.5rem; }
.ob-sheet { padding: 1rem 1.3rem 1.8rem; }
.ob-grip { width: 4rem; height: 0.5rem; border-radius: 3px; background: var(--border); margin: 0 auto 1.4rem; }
.ob-sheet-head { display: flex; align-items: center; gap: 0.7rem; }
.ob-sheet-title { flex: 1; font-size: 1.65rem; font-weight: 800; color: var(--text-dark); }
.ob-sheet-ics { display: flex; align-items: center; gap: 0.7rem; }
.ob-hi { display: inline-flex; align-items: center; justify-content: center; }
.ob-hi.ring { outline: 2px dashed var(--primary); outline-offset: 3px; border-radius: 8px; }
.ob-hi.ring .ob-icn { color: var(--primary); }
.ob-num { display: inline-grid; place-items: center; width: 1.8rem; height: 1.8rem; border-radius: 50%; background: var(--primary); color: #fff; font-size: 1.15rem; font-weight: 800; margin-left: 0.7rem; flex: none; }
/* equal-height pair (connect-now vs add-device) — stretch to the taller within the flex row */
.g-shot > .ob-eqh { flex: 1 1 auto; }
.ob-adddev.ob-eqh { display: flex; flex-direction: column; background: #f4f5f7; }
.ob-adddev.ob-eqh .ob-sheet { margin-top: auto; background: #fff; border-radius: 16px 16px 0 0; box-shadow: 0 -3px 10px rgba(0,0,0,0.05); }

/* ---- Responsive ---- */
@media (max-width: 768px) {
  .gpage { padding: 2rem 1.6rem 6.4rem; }
  .g-hero { padding: 2.8rem 2rem; }
  .g-prep { grid-template-columns: 1fr; }
  .g-methods { grid-template-columns: 1fr; }
  .g-opt-2, .g-opt-3, .g-three, .g-two, .g-benefits, .help-grid { grid-template-columns: 1fr; }
}
