/* Bali demo readability layer. Loaded after bundled styles. */
@media screen {
  .hi-install { font-size: 18px; line-height: 1.6; }
  .hi-install .install-card { width: min(480px, 100%); }
  .hi-install h1 { font-size: clamp(30px, 6vw, 37px); line-height: 1.17; }
  .hi-install .eyebrow { font-size: 13px; letter-spacing: .1em; }
  .hi-install .lead { font-size: 17px; line-height: 1.6; max-width: 390px; }
  .hi-install .primary { font-size: 17px; min-height: 56px; }
  .hi-install .status { font-size: 15px; line-height: 1.55; }
  .hi-install .instructions h2 { font-size: 18px; }
  .hi-install .instructions li { font-size: 16px; line-height: 1.55; }
  .hi-install .plain { font-size: 15px; }
  .hi-install .small { font-size: 14px; line-height: 1.55; }

  .hi-playbook { font-size: 17px; line-height: 1.6; }
  .hi-playbook :is(.hero p, .app-heading p, .page-title p, .circle-hero p, .circle-join p, .empty p) { font-size: 16px; line-height: 1.6; }
  .hi-playbook :is(.small, .meta, .item-info, .match-note, .notice, .form-help, .route-warning, .budget-foot, .offline-state, .booked-link) { font-size: 14px; line-height: 1.6; }
  .hi-playbook :is(.tiny, .data-note, .source-link, .footer-note, .side-note) { font-size: 13px; line-height: 1.55; }
  .hi-playbook :is(.eyebrow, .tag, .side-label, .prototype-bar, .wizard-summary) { font-size: 12px; line-height: 1.5; }
  .hi-playbook :is(.btn, .nav button, .chip, .segmented button, .tool-tile, .day-button, .bottom-nav button, .select-compact) { font-size: 15px; line-height: 1.4; }
  .hi-playbook .btn.sm { font-size: 14px; min-height: 40px; }
  .hi-playbook .chip { min-height: 42px; }
  .hi-playbook :is(.crumb, .profile-strip, .owner-chip, .day-label, .results-caption p) { font-size: 14px; }
  .hi-playbook :is(.entry-grid h3, .spot h3, .time-block h3, .setting-row h3, .route-option strong) { font-size: 17px; line-height: 1.4; }
  .hi-playbook :is(.plan-title h3, .item-body h3, .transport-head h3) { font-size: 18px; line-height: 1.4; }
  .hi-playbook :is(.entry-grid p, .spot p, .plan-card p, .time-block p, .route-step p, .setting-row p, .owned-ready p, .phrase-card p, .side-pack p, .invite-placeholder p, .qr-box p) { font-size: 14px; line-height: 1.55; }
  .hi-playbook .item-body p { font-size: 15px; line-height: 1.6; }
  .hi-playbook :is(.item-info, .item-body .match-note, .plan-card .tiny, .spot .tiny) { font-size: 13px; }
  .hi-playbook :is(.price, .item-body .price, .plan-footer .price) { font-size: 16px; }
  .hi-playbook .section-head h2 { font-size: 28px; }
  .hi-playbook .modal-head h2 { font-size: 27px; }
  .hi-playbook .modal-head p { font-size: 15px; }
  .hi-playbook :is(.field label, .field-label, .check, .check-pill, .filter-panel label) { font-size: 15px; }
  .hi-playbook :is(input:not([type=checkbox]):not([type=radio]), select.form-control, textarea, .search input) { font-size: 16px; min-height: 44px; }
  .hi-playbook :is(.table, .table td, .disclosure summary, .disclosure > div, .detail-facts > div, .route-step p) { font-size: 14px; }
  .hi-playbook :is(.table th, .detail-facts strong, .detail-labels strong) { font-size: 12px; }
  .hi-playbook .detail-labels div { font-size: 14px; line-height: 1.55; }
  .hi-playbook .stat p { font-size: 13px; }
  .hi-playbook .stat .eyebrow { font-size: 11px; }
  .hi-playbook .stat .number { font-size: 25px; }
  .hi-playbook .day-button strong { font-size: 16px; }
  .hi-playbook .route-option small { font-size: 13px; }
  .hi-playbook .phrase-grid .entry h3 { font-size: 16px; }
  .hi-playbook .phrase-grid .entry p { font-size: 14px; }
}

@media screen and (max-width: 740px) {
  .hi-playbook .app-heading h1,
  .hi-playbook .page-title h1 { font-size: 32px; line-height: 1.18; }
  .hi-playbook .section-head h2 { font-size: 25px; }
  .hi-playbook .modal-head h2 { font-size: 24px; }
  .hi-playbook .entry-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hi-playbook .entry-grid .entry { padding: 15px; }
  .hi-playbook .bottom-nav button { font-size: 13px; min-height: 52px; }
  .hi-playbook .topcontrols .btn { font-size: 13px; min-height: 40px; }
  .hi-playbook .topcontrols .select-compact { font-size: 13px; }
  .hi-playbook .prototype-bar { font-size: 12px; }
  .hi-playbook .spot .btn,
  .hi-playbook .plan-footer .btn,
  .hi-playbook .item-body .btn,
  .hi-playbook .time-block .buttonbar .btn { font-size: 14px; min-height: 40px; }
  .hi-playbook .stats .number { font-size: 23px; }
  .hi-playbook .stat p { font-size: 13px; }
  .hi-playbook .main { padding-bottom: 125px; }
}

@media screen and (max-width: 500px) {
  .hi-playbook .entry-grid { grid-template-columns: 1fr; }
  .hi-playbook .entry-grid .entry { flex-direction: row; align-items: center; gap: 14px; }
  .hi-playbook .entry-grid .entry-icon { width: 42px; height: 42px; }
  .hi-playbook .photo-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hi-playbook .photo-strip .spot:last-child { grid-column: 1 / -1; }
  .hi-playbook .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hi-playbook .stats .stat:last-child { grid-column: 1 / -1; }
  .hi-playbook .plan-footer { flex-wrap: wrap; }
  .hi-playbook .circle-layout { grid-template-columns: 1fr; }
  .hi-playbook .mobile-brand img { width: 112px; }
  .hi-playbook .topcontrols { gap: 5px; }
  .hi-playbook .topcontrols .btn { padding: 7px; }
  .hi-playbook .topcontrols .select-compact { max-width: 64px; padding: 6px 3px; }
}

@media screen and (max-width: 360px) {
  .hi-playbook .photo-strip { grid-template-columns: 1fr; }
  .hi-playbook .photo-strip .spot:last-child { grid-column: auto; }
  .hi-playbook .mobile-brand img { width: 96px; }
  .hi-playbook .topcontrols .btn { font-size: 12px; }
}

/* v3.2 controls and photo cards keep the larger production type scale. */
.hi-playbook .v4-lang select { font-size: 14px; min-height: 42px; }
.hi-playbook .v4-float-button { font-size: 14px; min-height: 46px; }
.hi-playbook .v4-float-row label, .hi-playbook .v4-float-row select { font-size: 14px; }
.hi-playbook .v4-float-note, .hi-playbook .v4-provider small { font-size: 13px; }
.hi-playbook .v4-rate-refresh, .hi-playbook .v4-provider a { font-size: 14px; }
.hi-playbook .v4-detail-route p, .hi-playbook .v4-transport-intro p, .hi-playbook .v4-route-help { font-size: 14px; }
.hi-playbook .v4-mode strong, .hi-playbook .v4-provider strong, .hi-playbook .v4-route-origin > label { font-size: 15px; }
.hi-playbook .v4-mode small { font-size: 13px; }
.hi-playbook .v4-route-summary small, .hi-playbook .v4-translated-phrase small { font-size: 12px; }
.hi-playbook .v4-route-summary strong { font-size: 17px; }
.hi-playbook .v4-converted { font-size: 14px; }
.hi-playbook .plan-card p, .hi-playbook .premium-experience-copy p { font-size: 15px; }
.hi-playbook .plan-card .data-note { font-size: 13px; }
.hi-playbook .item-art .art-label { font-size: 12px; }
.hi-playbook .bali-update-banner strong { font-size: 15px; }
.hi-playbook .bali-update-banner small { font-size: 13px; }
.hi-playbook .bali-update-banner button { font-size: 14px; }
@media screen and (max-width: 540px) {
  .hi-playbook .v4-lang select { font-size: 13px; max-width: 110px; }
  .hi-playbook .item-body p { font-size: 15px; }
}
