/* Phone mockups. Screens are drawn at the app's real size (390 x 841) and scaled down into a frame. */
.phone {
  position: relative;
  width: 280px; height: 588px;
  padding: 7px;
  border-radius: 44px;
  background: #fff;
  box-shadow: 0 30px 60px -30px rgba(35, 37, 58, .5);
  --scale: .682;
}
.phone-clip { position: relative; width: 100%; height: 100%; border-radius: 37px; overflow: hidden; }
.screen {
  position: absolute; top: 0; left: 0;
  width: 390px; height: 841px;
  transform: scale(var(--scale)); transform-origin: 0 0;
  display: flex; flex-direction: column;
  background: #EEF0FA; color: var(--ink);
}
.phone-front { width: 288px; height: 604px; border-radius: 46px; --scale: .703; box-shadow: 0 40px 80px -30px rgba(41, 59, 199, .55); }
.phone-front .phone-clip { border-radius: 39px; }
.phone-tour { box-shadow: 0 40px 80px -30px rgba(41, 59, 199, .55); }

/* Pieces shared by the screens */
.m-col { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.m-status { display: flex; justify-content: space-between; padding: 20px 30px 8px; font-weight: 700; font-size: 16px; }
.m-signal { letter-spacing: 2px; }
.m-bar { display: flex; justify-content: space-between; align-items: center; padding: 14px 24px; }
.m-bar-big { padding: 16px 24px 6px; }
.m-title { font-weight: 600; font-size: 17px; }
.m-h1 { font-size: 28px; font-weight: 800; }
.m-pink { color: var(--pink); }
.m-filled { fill: var(--pink); }
.m-grey { color: var(--subtle); }
.m-brand-c { color: var(--brand); }
.m-brand { display: flex; gap: 10px; align-items: center; font-weight: 800; font-size: 21px; }
.m-brand img { border-radius: 9px; }
.m-brand b { color: var(--pink); font-weight: inherit; }
.m-icons { display: flex; gap: 16px; color: var(--brand); }
.m-greet { padding: 8px 24px 0; display: flex; flex-direction: column; gap: 2px; }
.m-greet b { font-size: 28px; font-weight: 800; }
.m-greet span { font-size: 17px; font-weight: 500; color: var(--muted); }
.m-search { margin: 16px 22px 0; background: #fff; border-radius: 14px; padding: 8px 8px 8px 16px; display: flex; align-items: center; gap: 10px; }
.m-search span { flex: 1; font-size: 15px; font-weight: 500; color: var(--subtle); }
.m-search i, .m-find i { width: 40px; height: 40px; border-radius: 10px; background: var(--brand); color: #fff; display: grid; place-items: center; }
.m-ask { margin: 14px 22px 0; background: var(--brand); color: #fff; border-radius: 16px; padding: 16px; display: flex; gap: 12px; align-items: center; }
.m-ask img { width: 46px; height: 46px; border-radius: 12px; background: #E6EAFB; padding: 4px; }
.m-ask .m-col { flex: 1; }
.m-ask b { font-size: 17px; font-weight: 700; }
.m-ask span { font-size: 13px; line-height: 1.4; color: #D7DBFA; }
.m-row { margin: 10px 22px 0; background: #fff; border-radius: 16px; padding: 14px 16px; display: flex; gap: 12px; align-items: center; }
.m-row .m-col { flex: 1; }
.m-row b { font-size: 16px; font-weight: 700; }
.m-row span, .m-checks span, .m-card-top span { font-size: 13px; font-weight: 500; color: #6B6F86; }

.m-ico { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; flex: none; font-style: normal; }
.m-ico-brand { background: var(--brand-soft); color: var(--brand); }
.m-ico-green { background: var(--green-soft); color: var(--green); }
.m-ico-amber { background: var(--amber-soft); color: #C98A12; }
.m-ico-pink { background: var(--pink-soft); color: var(--pink-dark); }
.m-ico-text { font-weight: 800; font-size: 16px; }
.m-chip { border-radius: 999px; padding: 4px 10px; font-size: 13px; font-weight: 700; display: flex; gap: 4px; align-items: center; }
.m-chip-amber { background: var(--amber-soft); color: var(--amber-text); }
.m-chip-pink { background: var(--pink-soft); color: var(--pink-dark); }
.m-chip-lg { padding: 6px 12px; font-size: 14px; }
.m-section { padding: 20px 24px 10px; display: flex; justify-content: space-between; align-items: baseline; }
.m-section b { font-size: 18px; font-weight: 700; }
.m-section span { font-size: 14px; color: var(--subtle); }
.m-exams { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; padding: 0 18px; }
.m-exams div { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.m-exams .m-ico { width: 56px; height: 56px; border-radius: 16px; }
.m-exams span { font-size: 13px; font-weight: 700; }

/* Bottom tab bar */
.m-tabs { margin-top: auto; background: #fff; border-top: 1px solid var(--line); display: flex; justify-content: space-around; padding: 10px 0 24px; font-size: 12px; font-weight: 600; color: var(--subtle); }
.m-tabs span { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.m-tabs i { font-style: normal; }
.m-tabs .on, .m-tabs .is-on { color: var(--brand); }

/* Job details */
.m-job-head { margin: 6px 22px; background: var(--brand); color: #fff; border-radius: 20px; padding: 20px; display: flex; flex-direction: column; gap: 12px; }
.m-job-top { display: flex; gap: 12px; align-items: center; }
.m-logo-box { width: 52px; height: 52px; border-radius: 12px; background: #fff; color: var(--brand); display: grid; place-items: center; font-size: 13px; font-weight: 800; flex: none; }
.m-job-name { font-size: 20px; line-height: 1.2; font-weight: 700; }
.m-job-org { font-size: 14px; font-weight: 500; color: #D7DBFA; }
.m-badges { display: flex; gap: 6px; flex-wrap: wrap; }
.m-badge { border-radius: 6px; padding: 4px 8px; font-size: 12px; font-weight: 600; }
.m-badge-white { background: #fff; color: var(--green-dark); }
.m-badge-amber { background: var(--amber); color: var(--ink); font-weight: 700; }
.m-badge-soft { background: #4F5FD6; }
.m-facts { display: flex; border-top: 1px solid #4F5FD6; padding-top: 12px; }
.m-facts div { flex: 1; display: flex; flex-direction: column; }
.m-facts div + div { border-left: 1px solid #4F5FD6; padding-left: 12px; }
.m-facts small { font-size: 12px; font-weight: 500; color: #D7DBFA; }
.m-facts b { font-size: 18px; font-weight: 800; }
.m-checks { list-style: none; margin: 18px 22px 0; padding: 6px 16px; background: #fff; border-radius: 18px; }
.m-checks-flush { margin-top: 0; padding-block: 4px; }
.m-checks li { display: flex; gap: 12px; padding: 14px 0; }
.m-checks li + li { border-top: 1px solid #EEF0F6; }
.m-checks b { font-size: 16px; font-weight: 600; }
.m-checks span { font-size: 14px; }
.m-dot { width: 22px; height: 22px; border-radius: 50%; color: #fff; display: grid; place-items: center; font-size: 13px; font-weight: 800; font-style: normal; flex: none; }
.m-dot-warn { background: #E8A23A; }
.m-dot-ok { background: var(--green); }
.m-split { display: flex; justify-content: space-between; align-items: center; padding: 16px 24px 10px; }
.m-split b { font-size: 17px; font-weight: 700; }
.m-split-flat { padding: 0; }
.m-btn-soft { background: var(--brand-wash); color: var(--brand); border-radius: 10px; padding: 8px 12px; font-size: 13px; font-weight: 700; }
.m-apply { margin-top: auto; background: #fff; padding: 16px 22px 30px; display: flex; gap: 12px; }
.m-apply-bell { width: 56px; height: 52px; border: 1.5px solid #D5D9F2; border-radius: 14px; color: var(--brand); display: grid; place-items: center; }
.m-apply-btn { flex: 1; background: var(--brand); color: #fff; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 16px; font-weight: 700; }

/* Explore and My Jobs */
.m-pill { border: 1.5px solid #D5D9F2; background: #fff; border-radius: 999px; padding: 8px 14px; font-size: 14px; font-weight: 600; display: flex; gap: 6px; align-items: center; }
.m-find { margin: 12px 22px 0; display: flex; gap: 10px; }
.m-find div { flex: 1; background: #fff; border-radius: 14px; padding: 14px 16px; font-size: 15px; font-weight: 500; color: var(--subtle); display: flex; gap: 8px; align-items: center; }
.m-find i { width: 50px; height: auto; border-radius: 14px; }
.m-filters { display: flex; gap: 8px; padding: 14px 22px 0; font-size: 14px; font-weight: 600; white-space: nowrap; }
.m-filters span { background: var(--brand-soft); border-radius: 10px; padding: 9px 14px; }
.m-filters .on { background: var(--pink); color: #fff; }
.m-count { display: flex; justify-content: space-between; padding: 16px 24px 4px; font-size: 14px; font-weight: 500; color: #6B6F86; }
.m-count b { color: var(--brand); }
.m-card { margin: 10px 22px 0; background: #fff; border-radius: 18px; padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.m-card + .m-card { margin-top: 12px; }
.m-card-tall { gap: 12px; }
.m-card-top { display: flex; gap: 12px; align-items: center; }
.m-card-top .m-col { flex: 1; gap: 0; }
.m-card-top b { font-size: 16px; font-weight: 700; }
.m-org { width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); display: grid; place-items: center; font-size: 11px; font-weight: 800; flex: none; }
.m-org-brand { color: var(--brand); }
.m-org-pink { color: var(--pink); }
.m-org-amber { color: #C98A12; }
.m-meta { display: flex; gap: 6px; flex-wrap: wrap; font-size: 12px; font-weight: 500; }
.m-meta span { background: #EEF0F6; border-radius: 6px; padding: 5px 8px; color: var(--ink); }
.m-foot { display: flex; justify-content: space-between; align-items: center; font-size: 13px; font-weight: 500; color: #6B6F86; }
.m-tag { border-radius: 6px; padding: 4px 8px; font-size: 12px; font-weight: 700; }
.m-tag-warn { background: #FFE6CF; color: #9A4E00; }
.m-tag-brand { background: var(--brand-soft); color: var(--brand); }
.m-tag-ok { background: var(--green-soft); color: var(--green-dark); }
.m-tag-pink { background: var(--pink-soft); color: var(--pink-dark); }
.m-view { background: #E9ECFA; color: var(--brand); border-radius: 12px; padding: 12px 14px; font-size: 14px; font-weight: 700; }
.m-square { width: 44px; height: 44px; border-radius: 12px; background: #fff; color: var(--brand); display: grid; place-items: center; }
.m-stats { margin: 12px 22px 0; background: var(--brand); color: #fff; border-radius: 18px; padding: 18px; display: flex; }
.m-stats div { flex: 1; display: flex; flex-direction: column; }
.m-stats div + div { border-left: 1px solid #4F5FD6; padding-left: 14px; }
.m-stats b { font-size: 24px; font-weight: 800; }
.m-stats span { font-size: 13px; color: #D7DBFA; }
.m-next { background: var(--surface); border-radius: 12px; padding: 12px; display: flex; justify-content: space-between; align-items: center; }
.m-next small { font-size: 12px; color: #6B6F86; }
.m-next b { font-size: 14px; font-weight: 600; }
.m-actions { display: flex; gap: 10px; }
.m-select { flex: 1; border: 1.5px solid #D5D9F2; border-radius: 12px; padding: 10px 12px; font-size: 14px; font-weight: 600; display: flex; justify-content: space-between; align-items: center; }
.m-site { background: var(--brand); color: #fff; border-radius: 12px; padding: 10px 14px; font-size: 14px; font-weight: 700; }

/* Daily quiz */
.m-quiz-title { display: flex; gap: 14px; align-items: center; }
.m-quiz-title b { font-size: 19px; font-weight: 700; }
.m-quiz-title span { font-size: 13px; color: #6B6F86; }
.m-quiz-hero { margin: 6px 22px; background: var(--brand); color: #fff; border-radius: 22px; padding: 22px; display: flex; flex-direction: column; gap: 14px; }
.m-quiz-hero > b { font-size: 24px; line-height: 1.2; font-weight: 800; }
.m-soft-text { font-size: 14px; font-weight: 500; color: #D7DBFA; }
.m-topics { display: flex; gap: 6px; flex-wrap: wrap; font-size: 12px; font-weight: 600; }
.m-topics span { background: #4F5FD6; border-radius: 6px; padding: 5px 9px; }
.m-start { background: #fff; color: var(--brand); border-radius: 14px; padding: 15px; text-align: center; font-size: 16px; font-weight: 700; }
.m-panel { margin: 12px 22px 0; background: #fff; border-radius: 18px; padding: 18px; display: flex; flex-direction: column; gap: 14px; }
.m-panel > b, .m-panel .m-split b { font-size: 16px; font-weight: 700; }
.m-panel .m-split span { font-size: 14px; font-weight: 700; }
.m-note { font-size: 13px; color: #6B6F86; }
.m-days, .m-badges-row { display: flex; justify-content: space-between; }
.m-days i { width: 36px; height: 36px; border-radius: 50%; background: #EEF0F6; }
.m-days .full { background: var(--brand); }
.m-days .today { background: transparent; border: 2px solid var(--brand); }
.m-badges-row i { width: 52px; height: 52px; border-radius: 50%; border: 4px solid var(--brand); background: var(--brand-soft); }
.m-badges-row .gold { border-color: #7B4BA8; background: #F1E6F8; }
.m-row-ca { padding: 16px 18px; }
.m-row-ca .m-ico { width: 44px; height: 44px; }

/* Screen switching in the feature tour */
.tour-screen { display: flex; flex-direction: column; flex: 1; min-height: 0; }
.tour-screen[hidden] { display: none; }
