.tv-demo-page {
  --tv-ink: #172b3a;
  --tv-muted: #56646a;
  --tv-paper: #f8f5ed;
  --tv-rule: #d9d7cd;
  --tv-amber: #d8a64c;
  margin: 0;
  min-width: 280px;
  min-height: 100vh;
  background: var(--tv-paper);
  color: var(--tv-ink);
  font: 15px/1.6 'Trebuchet MS', 'Segoe UI', sans-serif;
  -webkit-font-smoothing: antialiased;
}

.tv-demo-page *,
.tv-demo-banner,
.tv-demo-banner * {
  box-sizing: border-box;
}

.tv-demo-page [hidden],
.tv-demo-banner [hidden] {
  display: none !important;
}

.tv-demo-page button,
.tv-demo-page a {
  -webkit-tap-highlight-color: transparent;
}

.tv-demo-page button {
  font: inherit;
}

.tv-demo-page a:focus-visible,
.tv-demo-page button:focus-visible,
.tv-demo-banner a:focus-visible {
  outline: 3px solid #956416;
  outline-offset: 4px;
}

.tv-demo-skip {
  position: fixed;
  z-index: 5;
  top: 10px;
  left: 16px;
  padding: 12px 18px;
  transform: translateY(-180%);
  background: var(--tv-ink);
  color: var(--tv-paper);
}

.tv-demo-skip:focus {
  transform: translateY(0);
}

.tv-demo-prospectus {
  max-width: 1232px;
  margin: 0 auto;
  padding: 0 48px;
}

.tv-demo-masthead {
  min-height: 118px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--tv-rule);
}

.tv-demo-brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  color: var(--tv-ink);
  text-decoration: none;
  font: 32px/1.1 Georgia, 'Times New Roman', serif;
  letter-spacing: -1px;
}

.tv-demo-mark {
  width: 38px;
  height: 44px;
  color: #9a6a22;
}

.tv-demo-brand-caption {
  display: block;
  margin-top: 6px;
  font: 11px/1.4 'Trebuchet MS', 'Segoe UI', sans-serif;
  letter-spacing: .05em;
}

.tv-demo-edition {
  display: flex;
  flex-direction: column;
  gap: 5px;
  text-align: right;
  font-size: 12px;
  color: var(--tv-muted);
}

.tv-demo-edition span:first-child {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .2em;
  color: var(--tv-ink);
}

.tv-demo-main {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  gap: 64px;
  padding: 48px 0 36px;
}

.tv-demo-eyebrow {
  display: block;
  margin: 0;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.tv-demo-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 7px;
  border-radius: 50%;
  background: #ad7729;
}

.tv-demo-intro h1 {
  margin: 21px 0 22px;
  font: 400 clamp(40px, 4.7vw, 60px)/1.09 Georgia, 'Times New Roman', serif;
  letter-spacing: -.055em;
}

.tv-demo-intro h1 em {
  color: #946421;
  font-weight: 400;
}

.tv-demo-lead {
  max-width: 380px;
  margin: 0 0 27px;
  font-size: 15px;
  color: var(--tv-muted);
}

.tv-demo-lead strong {
  color: var(--tv-ink);
  font-weight: 400;
}

.tv-demo-notice {
  padding: 16px 18px;
  border-left: 3px solid var(--tv-amber);
  background: #eee9dc;
}

.tv-demo-notice h2 {
  margin: 0 0 6px;
  font-size: 13px;
  line-height: 1.5;
}

.tv-demo-notice p {
  margin: 0;
  font-size: 12px;
  line-height: 1.65;
}

.tv-demo-notice p + p {
  margin-top: 9px;
  color: #515953;
}

.tv-demo-reset {
  margin-top: 24px;
}

.tv-demo-reset > p {
  margin: 5px 0 0;
  font-size: 12px;
  color: var(--tv-muted);
}

.tv-demo-reset .tv-demo-reset-count {
  margin-top: 8px;
  font: 24px/1.4 Georgia, 'Times New Roman', serif;
  font-variant-numeric: tabular-nums;
  color: var(--tv-ink);
}

.tv-demo-reset .tv-demo-reset-date {
  font-size: 11px;
}

.tv-demo-access {
  min-width: 0;
}

.tv-demo-access-heading {
  position: relative;
  padding-top: 13px;
  border-top: 2px solid var(--tv-ink);
}

.tv-demo-section-number {
  position: absolute;
  right: 0;
  top: 18px;
  font: 10px/1.5 'Courier New', monospace;
  color: var(--tv-muted);
}

.tv-demo-access-heading h2 {
  margin: 0 64px 4px 0;
  font: 400 25px/1.3 Georgia, 'Times New Roman', serif;
  letter-spacing: -.025em;
}

.tv-demo-access-heading p {
  margin: 0 0 23px;
  font-size: 12px;
  color: var(--tv-muted);
}

.tv-demo-roles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.tv-demo-role {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  min-width: 0;
  min-height: 223px;
  padding: 19px;
  border: 1px solid var(--tv-rule);
  border-radius: 3px;
  background: #fffcf5;
  color: var(--tv-ink);
  text-align: left;
  cursor: pointer;
  transition: background .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.tv-demo-role-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 15px;
}

.tv-demo-role-number {
  font: 12px/1.4 'Courier New', monospace;
  color: #8d682b;
}

.tv-demo-role-tag {
  font-size: 10px;
  color: var(--tv-muted);
}

.tv-demo-role-title {
  display: block;
  margin-bottom: 9px;
  font: 400 27px/1.15 Georgia, 'Times New Roman', serif;
  letter-spacing: -.035em;
}

.tv-demo-role-description {
  display: block;
  margin-bottom: 21px;
  font-size: 12px;
  line-height: 1.65;
  color: var(--tv-muted);
}

.tv-demo-role-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--tv-rule);
  font-size: 11px;
  font-weight: 700;
}

.tv-demo-arrow {
  font: 22px/1 Georgia, 'Times New Roman', serif;
  color: #8d682b;
}

.tv-demo-role:hover:not(:disabled),
.tv-demo-role:focus-visible,
.tv-demo-role.is-entering {
  border-color: var(--tv-ink);
  background: var(--tv-ink);
  color: var(--tv-paper);
  box-shadow: 0 5px 0 #d8a64c;
}

.tv-demo-role:hover:not(:disabled) .tv-demo-role-description,
.tv-demo-role:hover:not(:disabled) .tv-demo-role-tag,
.tv-demo-role:focus-visible .tv-demo-role-description,
.tv-demo-role:focus-visible .tv-demo-role-tag,
.tv-demo-role.is-entering .tv-demo-role-description,
.tv-demo-role.is-entering .tv-demo-role-tag {
  color: #d3d9d8;
}

.tv-demo-role:hover:not(:disabled) .tv-demo-arrow,
.tv-demo-role:hover:not(:disabled) .tv-demo-role-number,
.tv-demo-role:focus-visible .tv-demo-arrow,
.tv-demo-role:focus-visible .tv-demo-role-number,
.tv-demo-role.is-entering .tv-demo-arrow,
.tv-demo-role.is-entering .tv-demo-role-number {
  color: #edc57e;
}

.tv-demo-role:disabled {
  cursor: wait;
}

.tv-demo-roles[aria-busy="true"] .tv-demo-role:not(.is-entering) {
  opacity: .6;
}

.tv-demo-availability {
  padding: 24px;
  border: 1px solid var(--tv-rule);
  background: #eee9dc;
}

.tv-demo-availability p {
  margin: 0;
}

.tv-demo-small-button {
  min-height: 44px;
  margin-top: 13px;
  padding: 9px 17px;
  border: 1px solid var(--tv-ink);
  border-radius: 2px;
  background: var(--tv-ink);
  color: var(--tv-paper);
  cursor: pointer;
  font-size: 13px;
}

.tv-demo-small-button:hover {
  background: #2b4659;
}

.tv-demo-small-button:disabled {
  opacity: .6;
  cursor: wait;
}

.tv-demo-login-status {
  margin: 12px 0 0;
  font-size: 13px;
}

.tv-demo-login-status:empty {
  display: none;
}

.tv-demo-feedback {
  margin: 15px 0 0;
  padding: 14px 16px;
  border-left: 3px solid #a1472e;
  background: #f4e7df;
  color: #74331f;
  font-size: 13px;
  overflow-wrap: anywhere;
}

.tv-demo-feedback p {
  margin: 0;
}

.tv-demo-access-note {
  margin: 19px 0 0;
  font-size: 11px;
  color: var(--tv-muted);
}

.tv-demo-plans-link {
  align-self: flex-end;
  padding: 8px 0;
  color: var(--tv-ink);
  font-weight: 700;
  text-underline-offset: 4px;
}

.tv-demo-plans {
  grid-column: 1 / -1;
  padding-top: 32px;
  border-top: 2px solid var(--tv-ink);
  scroll-margin-top: 24px;
}

.tv-demo-plans-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px 40px;
  margin-bottom: 32px;
}

.tv-demo-plans-heading h2 {
  margin: 8px 0 0;
  font: 400 clamp(30px, 3.5vw, 42px)/1.15 Georgia, 'Times New Roman', serif;
  letter-spacing: -.04em;
}

.tv-demo-plans-heading > p {
  max-width: 370px;
  margin: 0;
  color: var(--tv-muted);
  font-size: 13px;
}

.tv-demo-plan-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.tv-demo-plan {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 28px 20px 20px;
  border: 1px solid var(--tv-rule);
  border-radius: 3px;
  background: #fffcf5;
}

.tv-demo-plan-period {
  margin: 0 0 8px;
  color: var(--tv-muted);
  font-size: 11px;
  letter-spacing: .04em;
}

.tv-demo-plan h3 {
  margin: 0 0 26px;
  font: 400 25px/1.2 Georgia, 'Times New Roman', serif;
  letter-spacing: -.03em;
}

.tv-demo-plan-price {
  margin: 0;
  font: 400 37px/1.2 Georgia, 'Times New Roman', serif;
  font-variant-numeric: lining-nums tabular-nums;
  white-space: nowrap;
}

.tv-demo-plan-price > span {
  font: 14px/1.4 'Trebuchet MS', 'Segoe UI', sans-serif;
}

.tv-demo-plan-billing {
  margin: 7px 0 28px;
  color: var(--tv-muted);
  font-size: 11px;
}

.tv-demo-subscribe {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 48px;
  margin-top: auto;
  padding: 12px 0 0;
  border-top: 1px solid var(--tv-rule);
  color: var(--tv-ink);
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}

.tv-demo-subscribe:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.tv-demo-subscribe > span {
  font: 22px/1 Georgia, 'Times New Roman', serif;
}

.tv-demo-plan-featured {
  border-color: var(--tv-ink);
  background: var(--tv-ink);
  color: var(--tv-paper);
  box-shadow: 0 4px 0 var(--tv-amber);
}

.tv-demo-plan-featured .tv-demo-plan-period,
.tv-demo-plan-featured .tv-demo-plan-billing {
  color: #d3d9d8;
}

.tv-demo-plan-featured .tv-demo-subscribe {
  border-color: #586772;
  color: #edc57e;
}

.tv-demo-plan-featured .tv-demo-subscribe:focus-visible {
  outline-color: #edc57e;
}

.tv-demo-plan-badge {
  position: absolute;
  top: -12px;
  right: 16px;
  padding: 3px 9px;
  background: var(--tv-amber);
  color: var(--tv-ink);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.tv-demo-plans-note {
  margin-top: 24px;
  color: var(--tv-muted);
  font-size: 12px;
}

.tv-demo-plans-note p {
  margin: 5px 0 0;
}

.tv-demo-plans-note strong {
  color: var(--tv-ink);
  white-space: nowrap;
}

.tv-demo-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  padding: 19px 0 24px;
  border-top: 1px solid var(--tv-rule);
  font-size: 11px;
  color: var(--tv-muted);
}

.tv-demo-footer > span:first-child {
  font: italic 14px/1.5 Georgia, 'Times New Roman', serif;
}

.tv-demo-banner {
  position: sticky;
  top: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 10px 22px;
  width: 100%;
  padding: 10px max(16px, env(safe-area-inset-right)) 10px max(16px, env(safe-area-inset-left));
  border-bottom: 2px solid #d8a64c;
  background: #f6f0df;
  color: #172b3a;
  font: 12px/1.5 'Trebuchet MS', 'Segoe UI', sans-serif;
  text-align: left;
  isolation: isolate;
}

.tv-demo-banner p {
  margin: 0;
}

.tv-demo-banner-label {
  display: inline-block;
  margin-right: 8px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #73501b;
}

.tv-demo-banner-detail {
  display: block;
  font-size: 11px;
  color: #545b53;
}

.tv-demo-banner-reset {
  font-size: 11px;
  font-variant-numeric: tabular-nums;
}

.tv-demo-banner-reset time {
  display: block;
}

.tv-demo-banner-reset [role="timer"] {
  color: #73501b;
}

.tv-demo-banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tv-demo-banner .tv-demo-switch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 9px 14px;
  border: 1px solid #172b3a;
  border-radius: 3px;
  color: #172b3a;
  font-size: 12px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  white-space: nowrap;
}

.tv-demo-banner .tv-demo-switch:hover {
  background: #172b3a;
  color: #f8f5ed;
}

.tv-demo-enabled #app-screen {
  min-height: calc(100vh - var(--tv-demo-banner-height, 0px));
}

.tv-demo-enabled #app-screen > .topbar,
.tv-demo-enabled #screen-portal > .topbar {
  top: var(--tv-demo-banner-height, 0px);
}

.tv-demo-enabled #app-screen .sidebar {
  top: calc(var(--tv-demo-banner-height, 0px) + var(--tv-demo-header-height, 60px));
  height: calc(100vh - var(--tv-demo-banner-height, 0px) - var(--tv-demo-header-height, 60px));
}

.tv-demo-enabled #notification-panel {
  top: calc(var(--tv-demo-banner-height, 0px) + var(--tv-demo-header-height, 60px)) !important;
  max-height: calc(100vh - var(--tv-demo-banner-height, 0px) - var(--tv-demo-header-height, 60px) - 16px) !important;
}

.tv-demo-enabled #screen-portal > .tabs {
  top: calc(var(--tv-demo-banner-height, 0px) + var(--tv-demo-header-height, 0px));
}

.tv-demo-enabled #marketing-screen,
.tv-demo-enabled #nav-users,
.tv-demo-enabled #nav-settings,
.tv-demo-enabled #nav-promotion,
.tv-demo-enabled [onclick="generateAttendance();"],
.tv-demo-enabled [onclick="sendAbsenceAlerts();"],
.tv-demo-enabled #att-alert-date,
.tv-demo-enabled #nav-sms-log,
.tv-demo-enabled #nav-parent-access,
.tv-demo-enabled #nav-online-payments,
.tv-demo-enabled #nav-acct-settings,
.tv-demo-enabled #nav-section-superadmin,
.tv-demo-enabled [id^="nav-superadmin-"],
.tv-demo-enabled #btn-pin,
.tv-demo-enabled #pin-offer,
.tv-demo-enabled #btn-pay-now {
  display: none !important;
}

@media (min-width: 1025px) {
  .tv-demo-enabled #app-screen .sidebar {
    align-self: flex-start;
  }
}

@media (max-width: 1000px) {
  .tv-demo-prospectus {
    padding: 0 28px;
  }

  .tv-demo-main {
    gap: 32px;
  }

  .tv-demo-role {
    padding: 16px;
  }

  .tv-demo-role-title {
    font-size: 24px;
  }

  .tv-demo-plan-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 14px;
  }

  .tv-demo-banner {
    gap: 8px 14px;
  }
}

@media (max-width: 760px) {
  .tv-demo-masthead {
    min-height: 96px;
  }

  .tv-demo-main {
    grid-template-columns: 1fr;
    gap: 30px;
    padding-top: 30px;
  }

  .tv-demo-intro h1 {
    font-size: clamp(43px, 8vw, 58px);
  }

  .tv-demo-lead {
    max-width: 540px;
  }

  .tv-demo-reset {
    margin-top: 18px;
  }

  .tv-demo-banner {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .tv-demo-plans-heading {
    flex-direction: column;
    align-items: flex-start;
  }

  .tv-demo-banner-copy,
  .tv-demo-banner-reset,
  .tv-demo-banner-actions {
    grid-column: 1 / -1;
  }

  .tv-demo-banner-reset time {
    display: inline;
  }
}

@media (max-width: 420px) {
  .tv-demo-prospectus {
    padding: 0 20px;
  }

  .tv-demo-edition {
    max-width: 118px;
    font-size: 10px;
  }

  .tv-demo-edition span:first-child {
    font-size: 9px;
    letter-spacing: .1em;
  }

  .tv-demo-brand {
    font-size: 27px;
    gap: 9px;
  }

  .tv-demo-mark {
    width: 29px;
  }

  .tv-demo-brand-caption {
    font-size: 9px;
  }

  .tv-demo-roles,
  .tv-demo-plan-grid {
    grid-template-columns: 1fr;
  }

  .tv-demo-role {
    min-height: 0;
    padding: 20px;
  }

  .tv-demo-role-top {
    margin-bottom: 12px;
  }

  .tv-demo-role-description {
    margin-bottom: 15px;
  }

  .tv-demo-access-heading h2 {
    font-size: 24px;
  }

  .tv-demo-banner {
    padding-top: 8px;
    padding-bottom: 8px;
    gap: 6px 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tv-demo-role {
    transition: none;
  }
}

@media print {
  .tv-demo-banner {
    position: static;
    break-inside: avoid;
  }

  .tv-demo-banner .tv-demo-switch {
    display: none;
  }
}
