/* StudyHub in-phone prototype app */

.studyhub-app {
  --sh-pad-x: 1.25rem;
  /* Figma tokens from StudyAI file */
  --sh-purple: #32006e;
  --sh-purple-mid: #4b2e83;
  --sh-purple-light: #ede7f6;
  --sh-purple-card: #d8cce8;
  --sh-gold: #b7a57a;
  --sh-lavender: #e8dff5;
  --sh-text: #000000;
  --sh-muted: #5c5c6f;
  --sh-border: #000000;
  --sh-link: #0000ee;
  --sh-font-inter: "Inter", system-ui, sans-serif;
  --sh-font-encode: "Encode Sans", system-ui, sans-serif;
  --sh-nav-h: 64px;
  --sh-radius: 12px;
  --sh-radius-pill: 20px;

  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  font-family: var(--sh-font-inter);
  font-size: 14px;
  color: var(--sh-text);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  overflow: hidden;
  width: 100%;
  max-width: 100%;
}

.sh-screen-area {
  flex: 1;
  position: relative;
  overflow: hidden;
  min-width: 0;
}

.app-screen {
  position: absolute;
  inset: 0;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  background: #fff;
  padding-bottom: var(--space-md);
}

.app-screen.is-active {
  opacity: 1;
  pointer-events: auto;
}

.app-screen--purple {
  background: var(--sh-purple);
  color: #fff;
}

/* Start */
.sh-start {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100%;
  padding: 2.5rem 1.5rem;
  text-align: center;
  gap: 2.5rem;
}

.sh-start__logo {
  margin: 0;
  line-height: 1.05;
  font-family: var(--sh-font-inter);
  font-size: 3.125rem;
  font-weight: 400;
  text-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
}

.sh-start__logo span:first-child {
  color: #fff;
  display: block;
}

.sh-start__logo span:last-child {
  color: var(--sh-gold);
  display: block;
}

.sh-start__tagline {
  margin: 0;
  font-family: var(--sh-font-encode);
  font-size: 1.25rem;
  line-height: 1.35;
  max-width: 17rem;
  color: #fff;
}

/* Buttons */
.sh-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 500;
  border-radius: var(--sh-radius-pill);
  padding: 0.6rem 1.5rem;
  transition: transform 0.12s, opacity 0.12s;
  max-width: 100%;
  box-sizing: border-box;
}

.sh-btn:active {
  transform: scale(0.97);
}

.sh-btn--white {
  background: #fff;
  color: var(--sh-text);
  min-width: 8.7rem;
  height: 2.8rem;
  font-family: var(--sh-font-encode);
  font-size: 1.5625rem;
  font-weight: 400;
  padding: 0.35rem 1.5rem;
}

.sh-btn--purple {
  background: var(--sh-purple);
  color: #fff;
}

.sh-btn--outline {
  background: #fff;
  color: var(--sh-purple);
  border: 1.5px solid var(--sh-purple);
}

.sh-btn--pill-sm {
  font-size: 0.8rem;
  padding: 0.35rem 0.85rem;
  border-radius: 8px;
  background: var(--sh-lavender);
  color: var(--sh-purple);
}

.sh-btn--block {
  display: flex;
  width: 100%;
  max-width: 100%;
}

/* Sign in — matches Figma UW API Sign in (10:57) */
.sh-signin {
  padding: 1.3rem 1.5rem 2rem;
  min-height: 100%;
}

.sh-signin__logo {
  display: block;
  margin: 0 auto 1.75rem;
  width: 15.125rem;
  height: auto;
  object-fit: contain;
}

.sh-signin__heading {
  margin: 0 0 1.25rem;
  font-family: var(--sh-font-inter);
  font-size: 1.25rem;
  font-weight: 400;
  text-align: center;
}

.sh-signin__form {
  max-width: 10.875rem;
  margin: 0 auto 2.5rem;
}

.sh-field {
  margin-bottom: 1.5rem;
}

.sh-field label {
  display: block;
  font-family: var(--sh-font-encode);
  font-size: 1.25rem;
  font-weight: 400;
  margin-bottom: 0.5rem;
}

.sh-input {
  width: 100%;
  height: 2.6875rem;
  padding: 0.5rem 0.85rem;
  border: 1px solid #000;
  border-radius: 0;
  background: #fff;
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
  font-family: var(--sh-font-inter);
  font-size: 1rem;
  box-sizing: border-box;
}

.sh-input--netid {
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.sh-input:focus {
  outline: 2px solid var(--sh-purple-light);
}

.sh-link {
  display: block;
  background: none;
  border: none;
  padding: 0;
  margin-top: 0.75rem;
  font-family: var(--sh-font-encode);
  font-size: 1.0625rem;
  color: var(--sh-link);
  cursor: pointer;
  text-decoration: underline;
  text-align: left;
}

.sh-btn--signin {
  display: block;
  margin: 0 auto;
  min-width: 7.3rem;
  height: 2.5rem;
  padding: 0.55rem 2rem;
  background: #fff;
  color: #000;
  border: 1px solid #000;
  border-radius: var(--sh-radius-pill);
  box-shadow: 0 4px 2px rgba(0, 0, 0, 0.25);
  font-family: var(--sh-font-inter);
  font-size: 1.25rem;
  font-weight: 400;
}

/* Screen headers */
.sh-screen-header {
  padding: 0.85rem 1.25rem 0.5rem;
  font-family: var(--sh-font-encode);
  font-size: 1.65rem;
  font-weight: 400;
  margin: 0;
}

.sh-screen-header--bar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr) minmax(0, 1fr);
  align-items: center;
  gap: 0.25rem;
  font-size: 1rem;
  padding: 0.75rem 0.5rem;
  border-bottom: 1px solid var(--sh-border);
}

.sh-screen-header--bar .sh-btn--pill-sm {
  justify-self: center;
  font-size: 0.62rem;
  padding: 0.28rem 0.4rem;
  white-space: nowrap;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sh-screen-header--bar .sh-btn--pill-sm:first-child {
  justify-self: start;
}

.sh-screen-header--bar .sh-btn--pill-sm:last-child {
  justify-self: end;
}

.sh-screen-header--bar h2 {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 600;
  min-width: 0;
  text-align: center;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sh-screen-body {
  padding: 0 1.25rem 1rem;
}

/* Profile */
.sh-profile-top {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--sh-border);
}

.sh-avatar {
  width: 72px;
  height: 72px;
  border-radius: 12px;
  background: var(--sh-lavender);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 1.25rem;
  color: var(--sh-purple);
  flex-shrink: 0;
}

.sh-avatar--sm {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 0.75rem;
}

.sh-profile-name {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 600;
}

.sh-profile-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding: 1rem var(--sh-pad-x);
  border-bottom: 1px solid var(--sh-border);
}

.sh-profile-col {
  flex: 1 1 8.5rem;
  min-width: 0;
}

.sh-profile-col h3 {
  margin: 0 0 0.5rem;
  font-size: 0.9rem;
  font-weight: 600;
}

.sh-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.sh-chip-row .sh-btn--pill-sm {
  flex: 0 1 auto;
  white-space: nowrap;
}

.sh-section-label {
  margin: 1rem 1.25rem 0.5rem;
  font-size: 0.95rem;
  font-weight: 600;
}

.sh-availability-grid {
  margin: 0 var(--sh-pad-x);
  width: calc(100% - 2 * var(--sh-pad-x));
  max-width: calc(100% - 2 * var(--sh-pad-x));
  box-sizing: border-box;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
  font-size: 0.7rem;
  text-align: center;
  border: 1px solid var(--sh-border);
  border-radius: 8px;
  overflow: hidden;
}

.sh-availability-grid span {
  padding: 0.35rem 0;
  background: var(--sh-lavender);
  font-weight: 600;
}

.sh-availability-grid .sh-slot {
  height: 2rem;
  background: #fff;
  border-top: 1px solid var(--sh-border);
  cursor: pointer;
}

.sh-availability-grid .sh-slot.is-selected {
  background: var(--sh-purple-light);
}

.sh-checkbox-list {
  margin: 0.5rem 0 1rem;
  padding: 0 var(--sh-pad-x);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.sh-checkbox-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--sh-border);
  border-radius: 8px;
  cursor: pointer;
  background: #fff;
  max-width: 100%;
  box-sizing: border-box;
}

.sh-checkbox-item input {
  accent-color: var(--sh-purple);
}

.sh-checkbox-item.is-checked {
  background: var(--sh-purple-light);
  border-color: var(--sh-purple);
}

.sh-profile-actions {
  padding: 0 var(--sh-pad-x);
  margin-bottom: 0.75rem;
}

.sh-profile-actions .sh-btn--pill-sm {
  margin-bottom: 0.5rem;
}

.sh-profile-finish {
  display: flex;
  width: 100%;
  max-width: 100%;
  margin: 1rem 0 0;
}

/* Personalization */
.sh-personal-intro {
  padding: 1.25rem;
  min-height: 100%;
}

.sh-personal-intro h2 {
  text-align: center;
  font-family: var(--sh-font-encode);
  font-size: 1.25rem;
  font-weight: 400;
  margin: 0 0 1.5rem;
}

.sh-personal-intro p {
  font-family: var(--sh-font-encode);
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--sh-muted);
  margin: 0 0 2rem;
}

.sh-personal-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.sh-question h3 {
  margin: 0 0 1rem;
  font-size: 1rem;
  line-height: 1.4;
  padding: 0 1.25rem;
}

.sh-question p {
  margin: 0 0 0.75rem;
  padding: 0 1.25rem;
  color: var(--sh-muted);
  font-size: 0.9rem;
}

.sh-radio-group {
  padding: 0 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.sh-radio-row {
  display: flex;
  gap: 1.5rem;
  padding: 0 1.25rem 0.75rem;
}

.sh-radio-opt {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  cursor: pointer;
  font-size: 0.9rem;
}

.sh-radio-opt input {
  accent-color: var(--sh-purple);
}

.sh-next-link {
  display: block;
  margin: 2rem 1.25rem 1rem auto;
  background: none;
  border: none;
  font: inherit;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--sh-purple);
  cursor: pointer;
}

/* Dashboard */
.sh-dash-hero {
  background: var(--sh-purple);
  color: #fff;
  padding: 1.25rem;
  margin-bottom: 0.5rem;
}

.sh-dash-hero h2 {
  margin: 0 0 0.35rem;
  font-size: 1.15rem;
  font-weight: 600;
}

.sh-dash-hero p {
  margin: 0;
  font-size: 0.8rem;
  line-height: 1.45;
  opacity: 0.92;
}

.sh-dash-hero hr {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  margin: 0.65rem 0 0;
}

.sh-group-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0.5rem var(--sh-pad-x);
  padding: 0.65rem 0.75rem;
  background: var(--sh-lavender);
  border-radius: var(--sh-radius);
  border: none;
  width: calc(100% - 2 * var(--sh-pad-x));
  max-width: calc(100% - 2 * var(--sh-pad-x));
  text-align: left;
  cursor: pointer;
  font: inherit;
  color: inherit;
  box-sizing: border-box;
}

.sh-group-card > div:last-child {
  min-width: 0;
  flex: 1;
}

.sh-group-card__icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: var(--sh-purple-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.sh-group-card__title {
  margin: 0;
  font-weight: 600;
  font-size: 0.9rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sh-group-card__meta {
  margin: 0.15rem 0 0;
  font-size: 0.75rem;
  color: var(--sh-muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sh-quick-actions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.65rem;
  padding: 1rem 1.25rem;
}

.sh-quick-action {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  padding: 0.85rem 0.5rem;
  background: var(--sh-lavender);
  border: none;
  border-radius: var(--sh-radius);
  cursor: pointer;
  font: inherit;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--sh-text);
}

.sh-quick-action__icon {
  width: 36px;
  height: 36px;
  color: var(--sh-purple);
}

.sh-upcoming {
  margin: 0 1.25rem;
  padding: 0.75rem;
  background: var(--sh-lavender);
  border-radius: var(--sh-radius);
}

.sh-upcoming h3 {
  margin: 0 0 0.5rem;
  font-size: 0.85rem;
}

.sh-list-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--sh-border);
  font-size: 0.85rem;
}

.sh-list-item:last-child {
  border-bottom: none;
}

/* Search */
.sh-search-bar {
  margin: 0.5rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  background: var(--sh-lavender);
  border-radius: var(--sh-radius);
  border: 1px solid var(--sh-border);
}

.sh-search-bar input {
  flex: 1;
  border: none;
  background: transparent;
  font: inherit;
  outline: none;
}

.sh-subheading {
  margin: 1rem 1.25rem 0.5rem;
  font-size: 1rem;
  font-weight: 600;
}

.sh-person-row,
.sh-group-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem var(--sh-pad-x);
  border-bottom: 1px solid var(--sh-border);
  cursor: pointer;
  background: none;
  border-left: none;
  border-right: none;
  border-top: none;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  text-align: left;
  font: inherit;
}

.sh-person-row > div:last-child,
.sh-group-row > div:last-child {
  min-width: 0;
  flex: 1;
}

.sh-person-row:hover,
.sh-group-row:hover {
  background: var(--sh-purple-light);
}

.sh-person-row__name {
  margin: 0;
  font-weight: 600;
  font-size: 0.9rem;
}

.sh-person-row__meta {
  margin: 0.1rem 0 0;
  font-size: 0.75rem;
  color: var(--sh-muted);
}

/* Matches */
.sh-filters {
  display: flex;
  gap: 0.5rem;
  padding: 0 1.25rem 0.75rem;
}

.sh-filter-chip {
  flex: 1;
  padding: 0.5rem;
  text-align: center;
  background: var(--sh-lavender);
  border: 1px solid var(--sh-border);
  border-radius: 8px;
  font: inherit;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
}

.sh-matches-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
  padding: 0 1.25rem;
  margin-bottom: 0.75rem;
}

.sh-match-card {
  background: var(--sh-lavender);
  border-radius: var(--sh-radius);
  padding: 0.75rem;
  border: 2px solid transparent;
  cursor: pointer;
  font: inherit;
  text-align: left;
  color: inherit;
}

.sh-match-card.is-selected {
  border-color: var(--sh-purple);
  background: var(--sh-purple-light);
}

.sh-match-card__name {
  margin: 0 0 0.35rem;
  font-weight: 600;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.sh-match-card__tags {
  font-size: 0.65rem;
  color: var(--sh-muted);
  line-height: 1.4;
}

.sh-connect-btn {
  display: block;
  margin: 0 auto 0.5rem;
  padding: 0.5rem 1.25rem;
  background: var(--sh-purple);
  color: #fff;
  border: none;
  border-radius: var(--sh-radius-pill);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.sh-connect-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.sh-hint {
  text-align: center;
  font-size: 0.7rem;
  color: var(--sh-muted);
  padding: 0 1.5rem;
  margin: 0;
}

/* Create */
.sh-form-group {
  margin-bottom: 1rem;
}

.sh-form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.35rem;
  font-size: 0.9rem;
}

.sh-form-group select,
.sh-form-group textarea {
  width: 100%;
  max-width: 100%;
  padding: 0.5rem 0.65rem;
  border: 1px solid var(--sh-border);
  border-radius: 8px;
  font: inherit;
  box-sizing: border-box;
  background: #fff;
}

.sh-screen-body .sh-btn--block {
  width: 100%;
  max-width: 100%;
}

.sh-form-row {
  display: flex;
  gap: 0.75rem;
}

.sh-form-row .sh-form-group {
  flex: 1;
}

.sh-toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.sh-toggle {
  width: 44px;
  height: 24px;
  background: var(--sh-border);
  border-radius: 12px;
  border: none;
  position: relative;
  cursor: pointer;
  padding: 0;
}

.sh-toggle::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.15s;
}

.sh-toggle.is-on {
  background: var(--sh-purple);
}

.sh-toggle.is-on::after {
  transform: translateX(20px);
}

.sh-range-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
}

.sh-range-row input[type="range"] {
  flex: 1;
  accent-color: var(--sh-purple);
}

/* Groups */
.sh-sort-bar {
  margin: 0.5rem auto;
  display: block;
  padding: 0.45rem 1.25rem;
  background: var(--sh-lavender);
  border: 1px solid var(--sh-border);
  border-radius: 8px;
  font: inherit;
  font-size: 0.8rem;
  cursor: pointer;
}

.sh-group-tile {
  margin: 0.75rem var(--sh-pad-x);
  padding: 1rem;
  background: var(--sh-lavender);
  border-radius: var(--sh-radius);
  border: none;
  width: calc(100% - 2 * var(--sh-pad-x));
  max-width: calc(100% - 2 * var(--sh-pad-x));
  box-sizing: border-box;
  text-align: left;
  cursor: pointer;
  font: inherit;
}

.sh-group-tile h4 {
  margin: 0 0 0.35rem;
  font-size: 1rem;
  color: var(--sh-purple);
}

.sh-group-tile p {
  margin: 0.15rem 0;
  font-size: 0.8rem;
}

/* Messages */
.sh-thread {
  display: block;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  padding: 0.85rem var(--sh-pad-x);
  border: none;
  border-bottom: 1px solid var(--sh-border);
  background: none;
  text-align: left;
  cursor: pointer;
  font: inherit;
}

.sh-thread:hover {
  background: var(--sh-purple-light);
}

.sh-thread__name {
  margin: 0;
  font-weight: 600;
  font-size: 0.9rem;
}

.sh-thread__preview {
  margin: 0.25rem 0 0;
  font-size: 0.75rem;
  color: var(--sh-muted);
}

/* Chat detail */
.sh-chat-header {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--sh-border);
  background: var(--sh-lavender);
}

.sh-chat-header button {
  background: none;
  border: none;
  padding: 0.25rem;
  cursor: pointer;
  color: var(--sh-purple);
  display: flex;
}

.sh-chat-messages {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  min-height: 200px;
}

.sh-bubble {
  max-width: 80%;
  padding: 0.55rem 0.75rem;
  border-radius: 14px;
  font-size: 0.85rem;
  line-height: 1.4;
}

.sh-bubble--them {
  background: var(--sh-lavender);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}

.sh-bubble--me {
  background: var(--sh-purple);
  color: #fff;
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}

/* Calendar */
.sh-cal-widget {
  margin: 0.75rem 1.25rem;
  padding: 1rem;
  background: var(--sh-purple);
  color: #fff;
  border-radius: var(--sh-radius);
  text-align: center;
}

.sh-cal-widget h3 {
  margin: 0 0 0.75rem;
  font-size: 1rem;
}

.sh-cal-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  font-size: 0.7rem;
}

.sh-cal-days span {
  padding: 0.35rem 0;
  border-radius: 4px;
}

.sh-cal-days .is-today {
  background: var(--sh-gold);
  color: var(--sh-text);
  font-weight: 700;
}

.sh-week-grid {
  margin: 1rem 1.25rem;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
  font-size: 0.65rem;
  text-align: center;
}

.sh-week-grid .sh-day-label {
  font-weight: 700;
  padding: 0.25rem;
  background: var(--sh-lavender);
}

.sh-week-grid .sh-time-block {
  height: 2.5rem;
  background: #fff;
  border: 1px solid var(--sh-border);
}

.sh-week-grid .sh-time-block.is-busy {
  background: var(--sh-purple-light);
}

/* Bottom nav */
.sh-nav {
  display: none;
  flex-shrink: 0;
  height: var(--sh-nav-h);
  background: var(--sh-purple);
  align-items: center;
  justify-content: space-around;
  padding: 0 0.5rem;
}

.sh-nav.is-visible {
  display: flex;
}

.sh-nav__btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.65);
  cursor: pointer;
  padding: 0.35rem 0.5rem;
  border-radius: 8px;
  transition: color 0.15s, background 0.15s;
}

.sh-nav__btn svg {
  width: 22px;
  height: 22px;
}

.sh-nav__btn.is-active {
  color: #fff;
}

.sh-nav__btn:active {
  background: rgba(255, 255, 255, 0.12);
}

/* Toast */
.sh-toast {
  position: absolute;
  bottom: calc(var(--sh-nav-h) + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--sh-text);
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: var(--sh-radius-pill);
  font-size: 0.8rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s, transform 0.2s;
  z-index: 100;
  white-space: nowrap;
}

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

/* Screen has bottom nav */
.app-screen.has-nav {
  padding-bottom: 0;
}

.app-screen.has-nav .sh-screen-scroll {
  padding-bottom: 0.5rem;
}
