/* 1471 illustrative virtual-phone demo. Tokens mirror theme/1471/assets/css/site.css. */
:root {
  --1471-navy: #0b2239;
  --1471-navy-2: #10314f;
  --1471-teal: #0b747a;
  --1471-teal-bright: #13a2a8;
  --1471-teal-dark: #075c61;
  --1471-ink: #13212e;
  --1471-muted: #536776;
  --1471-line: #d6e0e8;
  --1471-mist: #f4f8fa;
  --1471-mist-2: #eaf1f5;
  --1471-aqua: #dff7f6;
  --1471-white: #fff;
  --1471-gold: #b87a14;
  --1471-radius: 1rem;
  --1471-shadow: 0 6px 24px rgba(11, 34, 57, 0.1);
  --1471-shadow-lg: 0 20px 50px rgba(11, 34, 57, 0.17);
  --1471-gradient: linear-gradient(135deg, #0b2239 0%, #0e3350 56%, #0a5560 100%);
  --1471-grad-teal: linear-gradient(135deg, #13a2a8, #0b747a);
  --demo-grad-teal-text: linear-gradient(135deg, #10838a, #0b747a);
  --demo-red: #c24a3f;
  --demo-amber: #b87a14;
  --demo-green: #1e7a5c;
  --demo-sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --demo-serif: "Source Serif 4", Georgia, Cambria, "Times New Roman", serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html, body {
  margin: 0;
  min-height: 100%;
  background: #dfe7ec;
  color: var(--1471-ink);
  font-family: var(--demo-sans);
  -webkit-font-smoothing: antialiased;
}

body { overflow-x: hidden; }

.demo-skip {
  position: absolute;
  left: 0.75rem;
  top: 0.75rem;
  z-index: 200;
  padding: 0.6rem 0.9rem;
  border-radius: 0.5rem;
  background: var(--1471-white);
  color: var(--1471-navy);
  font-weight: 700;
  transform: translateY(-160%);
}
.demo-skip:focus { transform: translateY(0); }

.demo-root {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

.demo-banner {
  z-index: 40;
  padding: 0.55rem 1rem;
  background: #fff7e6;
  border-bottom: 1px solid #ead7a8;
  color: #6d4d0c;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-align: center;
}

.demo-chrome {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.65rem 0.85rem;
  padding: 0.65rem 1rem;
  background: var(--1471-navy);
  color: #cfe0ea;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.demo-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #fff;
  font-family: var(--demo-serif);
  font-weight: 700;
  font-size: 0.98rem;
}

.demo-mark {
  display: grid;
  place-items: center;
  width: 1.85rem;
  height: 1.85rem;
  border-radius: 0.5rem;
  background: var(--demo-grad-teal-text);
  color: #fff;
  font-family: var(--demo-sans);
  font-size: 0.62rem;
  font-weight: 800;
}

.demo-tag {
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: rgba(19, 162, 168, 0.2);
  color: #7fe3e8;
  font-size: 0.68rem;
  font-weight: 700;
}

.demo-seg,
.demo-lang {
  display: inline-flex;
  padding: 3px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
}

.demo-seg button,
.demo-lang button,
.demo-tourbtn {
  margin: 0;
  border: 0;
  background: none;
  color: #aebfcd;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
}

.demo-seg button,
.demo-lang button {
  padding: 0.45rem 0.7rem;
  border-radius: 8px;
  min-height: 2.4rem;
}

.demo-seg button.is-on,
.demo-lang button.is-on {
  background: var(--demo-grad-teal-text);
  color: #fff;
}

.demo-lang button.is-on {
  background: #fff;
  color: var(--1471-navy);
}

.demo-tourbtn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.8rem;
  border-radius: 9px;
  background: var(--demo-grad-teal-text);
  color: #fff;
  min-height: 2.4rem;
}

.demo-chrome-spacer { flex: 1; min-width: 0.5rem; }

.demo-lang-label {
  font-size: 0.7rem;
  color: #9fc4d2;
}

.demo-stage {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 1.4rem 1rem 2.6rem;
}

/* Realistic phone frame */
.demo-phone {
  width: 392px;
  max-width: 100%;
  padding: 11px;
  border-radius: 42px;
  background: #11161c;
  box-shadow:
    0 30px 70px rgba(11, 34, 57, 0.35),
    inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.demo-phone__screen {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 780px;
  max-height: min(780px, calc(100dvh - 10.5rem));
  overflow: hidden;
  border-radius: 32px;
  background: var(--1471-mist);
}

.demo-notch {
  position: absolute;
  top: 8px;
  left: 50%;
  z-index: 3;
  width: 108px;
  height: 22px;
  border-radius: 999px;
  background: #11161c;
  transform: translateX(-50%);
  pointer-events: none;
}

.demo-statusbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 36px;
  padding: 10px 22px 0;
  color: var(--1471-navy);
  font-size: 0.72rem;
  font-weight: 700;
}

.demo-appbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
  padding: 0.7rem 1rem 0.85rem;
  background: var(--1471-gradient);
  color: #fff;
}

.demo-appbar__brand {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  min-width: 0;
}

.demo-appbar__name {
  font-weight: 700;
  font-size: 0.98rem;
  line-height: 1.15;
}

.demo-appbar__sub {
  color: #9fc4d2;
  font-size: 0.62rem;
  font-weight: 500;
}

.demo-avatar {
  display: grid;
  place-items: center;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  font-size: 0.72rem;
  font-weight: 700;
}

.demo-body {
  flex: 1;
  overflow-y: auto;
  padding: 1rem;
  -webkit-overflow-scrolling: touch;
}
.demo-body::-webkit-scrollbar { width: 0; }

.demo-tabbar {
  display: flex;
  background: #fff;
  border-top: 1px solid var(--1471-line);
}

.demo-tabbar button {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
  min-height: 3.15rem;
  padding: 0.5rem 0.2rem 0.6rem;
  border: 0;
  background: none;
  color: var(--1471-muted);
  font: inherit;
  font-size: 0.64rem;
  font-weight: 700;
  cursor: pointer;
}

.demo-tabbar button.is-on { color: var(--1471-teal-dark); }
.demo-tabbar svg { width: 1.3rem; height: 1.3rem; }

.demo-h {
  margin: 0 0 0.15rem;
  color: var(--1471-navy);
  font-family: var(--demo-serif);
  font-size: 1.22rem;
  font-weight: 600;
  line-height: 1.2;
}

.demo-sub {
  margin: 0 0 0.9rem;
  color: var(--1471-muted);
  font-size: 0.84rem;
  line-height: 1.45;
}

.demo-chips {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.45rem;
  margin-bottom: 0.9rem;
}

.demo-chip {
  padding: 0.55rem 0.2rem;
  border: 1px solid var(--1471-line);
  border-radius: 12px;
  background: #fff;
  text-align: center;
}

.demo-chip b {
  display: block;
  font-size: 1.08rem;
  font-weight: 800;
  color: var(--1471-navy);
}

.demo-chip span {
  display: block;
  color: var(--1471-muted);
  font-size: 0.56rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.demo-chip.is-clear b { color: var(--demo-green); }
.demo-chip.is-soon b { color: var(--demo-red); }
.demo-chip.is-week b { color: #91651c; }
.demo-chip.is-look b { color: var(--1471-teal); }

.demo-card {
  margin-bottom: 0.7rem;
  padding: 0.9rem;
  border: 1px solid var(--1471-line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(11, 34, 57, 0.05);
}

.demo-sig__top {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.4rem;
}

.demo-dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  flex: none;
}
.demo-dot--soon { background: var(--demo-red); }
.demo-dot--week { background: var(--1471-gold); }
.demo-dot--look { background: var(--1471-teal-bright); }
.demo-dot--later { background: #9fb3c2; }

.demo-dom {
  color: var(--1471-muted);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.demo-rank {
  margin-left: auto;
  padding: 0.12rem 0.5rem;
  border-radius: 999px;
  background: var(--1471-mist-2);
  color: var(--1471-navy);
  font-size: 0.62rem;
  font-weight: 700;
}

.demo-sig h3 {
  margin: 0 0 0.3rem;
  color: var(--1471-navy);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.3;
}

.demo-sig p {
  margin: 0 0 0.75rem;
  color: var(--1471-muted);
  font-size: 0.82rem;
  line-height: 1.45;
}

.demo-acts {
  display: flex;
  gap: 0.4rem;
}

.demo-acts button {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  min-height: 2.55rem;
  padding: 0.45rem 0.2rem;
  border: 1px solid var(--1471-line);
  border-radius: 9px;
  background: #fff;
  color: var(--1471-ink);
  font: inherit;
  font-size: 0.74rem;
  font-weight: 700;
  cursor: pointer;
}

.demo-acts .is-done {
  background: var(--demo-green);
  border-color: var(--demo-green);
  color: #fff;
}

.demo-acts .is-help {
  background: var(--1471-navy);
  border-color: var(--1471-navy);
  color: #fff;
}

.demo-sig.is-closed { opacity: 0.62; }
.demo-sig.is-closed .demo-acts { display: none; }

.demo-resolved {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  font-weight: 700;
}
.demo-resolved.is-done { color: var(--demo-green); }
.demo-resolved.is-later { color: var(--1471-gold); }
.demo-resolved.is-help { color: var(--1471-navy); }

/* Keep resolved labels at 4.5:1 after the closed card's 0.62 opacity. */
.demo-sig.is-closed .demo-resolved.is-done { color: #0a2a20; }
.demo-sig.is-closed .demo-resolved.is-later { color: #332206; }

.demo-empty {
  padding: 2.4rem 1rem;
  color: var(--1471-muted);
  text-align: center;
}

.demo-empty__mark {
  display: grid;
  place-items: center;
  width: 3.8rem;
  height: 3.8rem;
  margin: 0 auto 0.8rem;
  border-radius: 50%;
  background: #daf3e9;
  color: var(--demo-green);
}

.demo-empty h3 {
  margin: 0 0 0.35rem;
  color: var(--1471-navy);
  font-family: var(--demo-serif);
}

.demo-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 2.8rem;
  padding: 0.75rem 1rem;
  border: 0;
  border-radius: 11px;
  background: var(--demo-grad-teal-text);
  color: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.demo-btn:disabled { opacity: 0.55; cursor: default; }

.demo-cal-group {
  margin: 0.85rem 0.1rem 0.45rem;
  color: var(--1471-muted);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.demo-cal {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.demo-cal__date {
  width: 2.7rem;
  flex: none;
  text-align: center;
}

.demo-cal__date b {
  display: block;
  color: var(--1471-navy);
  font-size: 1.1rem;
  line-height: 1;
}

.demo-cal__date span {
  color: var(--1471-muted);
  font-size: 0.6rem;
  text-transform: uppercase;
}

.demo-cal__info { flex: 1; min-width: 0; }
.demo-cal__info b { display: block; color: var(--1471-navy); font-size: 0.86rem; }
.demo-cal__info span { display: block; color: var(--1471-muted); font-size: 0.72rem; }

.demo-pill {
  flex: none;
  padding: 0.18rem 0.5rem;
  border-radius: 999px;
  font-size: 0.6rem;
  font-weight: 700;
}
.demo-pill--soon { background: #fbe7e5; color: #b6443a; }
.demo-pill--week { background: #fbf0da; color: #91651c; }
.demo-pill--look { background: #daf3e9; color: #197a57; }
.demo-pill--file { background: #eef2f5; color: #5c6f7e; }

.demo-drop {
  padding: 2rem 1rem;
  border: 2px dashed var(--1471-teal-bright);
  border-radius: 16px;
  background: rgba(19, 162, 168, 0.05);
  color: var(--1471-teal-dark);
  text-align: center;
  cursor: pointer;
}
.demo-drop svg { width: 2.2rem; height: 2.2rem; margin-bottom: 0.4rem; }
.demo-drop strong { display: block; }

.demo-classify {
  margin-top: 0.85rem;
  padding: 0.9rem;
  border: 1px solid var(--1471-line);
  border-radius: 14px;
  background: #fff;
}

.demo-classify__ok {
  margin-bottom: 0.45rem;
  color: var(--1471-teal-dark);
  font-weight: 700;
}

.demo-row {
  display: flex;
  justify-content: space-between;
  gap: 0.7rem;
  padding: 0.45rem 0;
  border-bottom: 1px solid var(--1471-line);
  font-size: 0.84rem;
}
.demo-row:last-child { border-bottom: 0; }
.demo-row span { color: var(--1471-muted); }
.demo-row b { color: var(--1471-navy); text-align: right; }

.demo-note {
  margin-top: 0.7rem;
  padding: 0.75rem;
  border: 1px solid var(--1471-line);
  border-radius: 10px;
  background: var(--1471-mist);
  color: var(--1471-muted);
  font-size: 0.78rem;
  line-height: 1.45;
}

.demo-chat {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 0.7rem;
}

.demo-msg {
  max-width: 86%;
  padding: 0.7rem 0.8rem;
  border-radius: 14px;
  font-size: 0.84rem;
  line-height: 1.45;
}

.demo-msg--in {
  align-self: flex-end;
  background: var(--demo-grad-teal-text);
  color: #fff;
  border-bottom-right-radius: 4px;
}

.demo-msg--out {
  align-self: flex-start;
  background: #fff;
  border: 1px solid var(--1471-line);
  border-bottom-left-radius: 4px;
}

.demo-cite {
  display: block;
  margin-top: 0.35rem;
  color: var(--1471-muted);
  font-size: 0.66rem;
}

.demo-deflect {
  align-self: flex-start;
  max-width: 92%;
  padding: 0.75rem;
  border: 1px solid #ead7a8;
  border-radius: 12px;
  background: #fffbf2;
  font-size: 0.82rem;
}

.demo-suggest {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0.15rem 0 0.7rem;
}

.demo-suggest button {
  padding: 0.45rem 0.7rem;
  border: 1px solid var(--1471-line);
  border-radius: 999px;
  background: #fff;
  color: var(--1471-navy);
  font: inherit;
  font-size: 0.74rem;
  cursor: pointer;
  min-height: 2.4rem;
}

.demo-composer {
  display: flex;
  gap: 0.45rem;
  padding: 0.15rem 0 0.2rem;
}

.demo-composer input {
  flex: 1;
  min-width: 0;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--1471-line);
  border-radius: 999px;
  font: inherit;
  font-size: 0.86rem;
}

.demo-composer button {
  width: 2.6rem;
  height: 2.6rem;
  border: 0;
  border-radius: 50%;
  background: var(--1471-grad-teal);
  color: #fff;
  cursor: pointer;
}

.demo-prog {
  height: 6px;
  margin-bottom: 1rem;
  border-radius: 4px;
  background: var(--1471-line);
  overflow: hidden;
}

.demo-prog i {
  display: block;
  height: 100%;
  border-radius: 4px;
  background: var(--1471-grad-teal);
}

.demo-opt {
  display: block;
  width: 100%;
  margin-bottom: 0.55rem;
  padding: 0.85rem;
  border: 1.5px solid var(--1471-line);
  border-radius: 12px;
  background: #fff;
  color: var(--1471-ink);
  font: inherit;
  font-size: 0.9rem;
  text-align: left;
  cursor: pointer;
  min-height: 2.8rem;
}

.demo-opt.is-sel {
  border-color: var(--1471-teal-bright);
  background: rgba(19, 162, 168, 0.06);
}

.demo-fld { margin-bottom: 0.85rem; }
.demo-fld label {
  display: block;
  margin-bottom: 0.3rem;
  color: var(--1471-navy);
  font-size: 0.8rem;
  font-weight: 700;
}
.demo-fld input {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--1471-line);
  border-radius: 10px;
  font: inherit;
}

.demo-track {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.5rem;
  padding: 0.7rem 0.8rem;
}

.demo-track svg { flex: none; color: var(--1471-teal); width: 1.15rem; height: 1.15rem; }
.demo-track b { display: block; color: var(--1471-navy); font-size: 0.86rem; }
.demo-track span { color: var(--1471-muted); font-size: 0.72rem; }

/* Office console */
.demo-console {
  width: min(1080px, 100%);
  overflow: hidden;
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--1471-shadow-lg);
}

.demo-cbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  padding: 0.9rem 1.2rem;
  background: var(--1471-gradient);
  color: #fff;
}

.demo-cwrap {
  display: grid;
  grid-template-columns: 200px 1fr;
  min-height: 560px;
}

.demo-cside {
  padding: 0.9rem 0.7rem;
  background: #0e2a45;
}

.demo-cside button {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  width: 100%;
  margin-bottom: 0.2rem;
  padding: 0.65rem 0.7rem;
  border: 0;
  border-radius: 9px;
  background: none;
  color: #9fb6c6;
  font: inherit;
  font-size: 0.84rem;
  text-align: left;
  cursor: pointer;
}

.demo-cside button.is-on {
  background: rgba(19, 162, 168, 0.18);
  color: #fff;
}

.demo-cside svg { width: 1.05rem; height: 1.05rem; }
.demo-cmain { padding: 1.2rem 1.3rem 1.5rem; }

.demo-kpis {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  margin-bottom: 1.1rem;
}

.demo-kpi {
  padding: 0.85rem;
  border: 1px solid var(--1471-line);
  border-radius: 13px;
  background: var(--1471-mist);
}

.demo-kpi b {
  display: block;
  color: var(--1471-navy);
  font-size: 1.55rem;
  font-weight: 800;
  line-height: 1;
}

.demo-kpi span {
  color: var(--1471-muted);
  font-size: 0.72rem;
}

.demo-kpi.is-teal b { color: var(--1471-teal); }
.demo-kpi.is-gold b { color: var(--1471-gold); }
.demo-kpi.is-navy b { color: var(--1471-navy); }

.demo-sect {
  margin: 0.2rem 0 0.7rem;
  color: var(--1471-muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.demo-table {
  width: 100%;
  border-collapse: collapse;
}

.demo-table th {
  padding: 0.5rem 0.6rem;
  border-bottom: 1px solid var(--1471-line);
  color: var(--1471-muted);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-align: left;
  text-transform: uppercase;
}

.demo-table td {
  padding: 0.7rem 0.6rem;
  border-bottom: 1px solid var(--1471-line);
  font-size: 0.84rem;
}

.demo-st {
  display: inline-block;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  font-size: 0.66rem;
  font-weight: 700;
}
.demo-st--open { background: #fbe7e5; color: #b6443a; }
.demo-st--prog { background: #fbf0da; color: #91651c; }
.demo-st--wait { background: #eef2f5; color: #5c6f7e; }
.demo-st--closed { background: #daf3e9; color: #197a57; }

.demo-hp {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.78rem;
  font-weight: 700;
}

.demo-hp i {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
}

.demo-fresh { animation: demo-flash 1.3s ease; }

@keyframes demo-flash {
  from { background: #fff7df; }
  to { background: transparent; }
}

.demo-toast {
  position: fixed;
  left: 50%;
  bottom: 5.5rem;
  z-index: 80;
  max-width: 20rem;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  background: var(--1471-navy);
  color: #fff;
  font-size: 0.84rem;
  font-weight: 700;
  text-align: center;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) translateY(1rem);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.demo-toast.is-on {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.demo-tour {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  pointer-events: none;
}

.demo-tour.is-on { display: block; }

.demo-tour__mask {
  position: absolute;
  inset: 0;
  background: rgba(8, 22, 38, 0.62);
}

.demo-tour__spot {
  position: fixed;
  display: none;
  border: 2px solid var(--1471-teal-bright);
  border-radius: 13px;
  box-shadow: 0 0 0 9999px rgba(8, 22, 38, 0.62);
}

.demo-tour__tip {
  position: fixed;
  width: 306px;
  max-width: 88vw;
  padding: 1rem 1.1rem;
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.4);
  pointer-events: auto;
}

.demo-tour__tip h4 {
  margin: 0 0 0.35rem;
  color: var(--1471-navy);
  font-family: var(--demo-serif);
  font-size: 1.02rem;
}

.demo-tour__tip p {
  margin: 0 0 0.85rem;
  color: var(--1471-muted);
  font-size: 0.86rem;
  line-height: 1.5;
}

.demo-tour__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.demo-tour__step {
  color: #60798c;
  font-size: 0.72rem;
  font-weight: 700;
}

.demo-tour__nav button {
  margin-left: 0.4rem;
  padding: 0.5rem 0.85rem;
  border: 0;
  border-radius: 8px;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  min-height: 2.4rem;
}

.demo-tour__next { background: var(--demo-grad-teal-text); color: #fff; }
.demo-tour__back { background: #eef2f5; color: var(--1471-navy); }
.demo-tour__skip {
  background: none;
  color: #60798c;
  font-weight: 600;
  font-size: 0.76rem;
}

:where(a, button, input):focus-visible {
  outline: 3px solid #e0a63c;
  outline-offset: 2px;
}

:where(a, button, input):focus:not(:focus-visible) { outline: 0; }

.demo-hidden { display: none !important; }

@media (max-width: 720px) {
  .demo-cwrap { grid-template-columns: 1fr; }
  .demo-cside {
    display: flex;
    gap: 0.25rem;
    overflow-x: auto;
  }
  .demo-cside button { width: auto; flex: none; }
  .demo-kpis { grid-template-columns: 1fr 1fr; }
  .demo-tag { display: none; }
}

@media (max-width: 560px) {
  .demo-chrome { padding: 0.55rem 0.7rem; }
  .demo-stage { padding: 0.85rem 0.6rem 1.6rem; }
  .demo-phone { padding: 8px; border-radius: 28px; }
  .demo-phone__screen {
    height: min(740px, calc(100dvh - 8.8rem));
    border-radius: 22px;
  }
  .demo-notch { width: 86px; height: 18px; }
  .demo-chips { gap: 0.3rem; }
  .demo-acts { flex-wrap: wrap; }
  .demo-acts button { min-width: calc(50% - 0.25rem); }
}

@media (prefers-reduced-motion: reduce) {
  .demo-toast,
  .demo-prog i,
  .demo-tour__spot { transition: none; }
  .demo-fresh { animation: none; }
}
