/* Scoped to the local marketing sample, never the signed-in Kyte app. */
.phone-screen.phone-demo-ready { min-width: 0; }
.phone-demo-ready .phone-status,
.phone-demo-ready .phone-brand,
.phone-demo-ready .phone-home { flex-shrink: 0; }
.phone-demo-ready .phone-brand { padding-top: 10px; padding-bottom: 11px; }
.phone-demo-app { display: flex; flex: 1; flex-direction: column; min-height: 0; min-width: 0; overflow: hidden; }
.phone-demo-tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); flex: 0 0 auto; padding: 3px 5px 0; border-bottom: 1px solid #e9e2f1; background: #fff; }
.phone-demo-tab { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; min-width: 0; min-height: 48px; padding: 4px 1px 9px; border: 0; border-radius: 7px 7px 0 0; background: transparent; color: #766a83; font-size: 9px; font-weight: 600; line-height: 1.15; }
.phone-demo-tab-icon { height: 16px; font-size: 18px; font-weight: 500; line-height: 16px; }
.phone-demo-tab[aria-selected="true"] { color: #6500ff; background: #f6f0ff; }
.phone-demo-tab[aria-selected="true"]::after { content: ""; position: absolute; left: 9px; right: 9px; bottom: 0; height: 2px; border-radius: 2px; background: #6500ff; }
.phone-demo-tab:hover { background: #f7f3fc; color: #6500ff; }
.phone-demo-panels { display: flex; flex: 1; min-height: 0; min-width: 0; overflow: hidden; }
.phone-demo-panel { display: flex; flex: 1; flex-direction: column; min-width: 0; min-height: 0; overflow: hidden; }
.phone-demo-panel[hidden] { display: none !important; }
.phone-demo-heading { flex: 0 0 auto; padding: 12px 13px 11px; background: #fff; border-bottom: 1px solid #eee7f4; }
.phone-demo-heading h3 { margin: 0; color: #26074a; font-size: 12px; font-weight: 700; line-height: 1.3; letter-spacing: -.15px; }
.phone-demo-heading p { margin: 4px 0 0; color: #81728e; font-size: 8px; line-height: 1.4; }
.phone-demo-scroll { flex: 1; min-height: 0; min-width: 0; overflow: auto; padding: 12px; scrollbar-width: thin; scrollbar-color: #d6c4ec transparent; }
.phone-demo-ready .phone-messages { min-height: 0; min-width: 0; overflow: auto; padding: 0 11px 8px; scrollbar-width: thin; scrollbar-color: #d6c4ec transparent; }
.phone-demo-ready .phone-date { padding: 10px 0 9px; font-size: 7px; }
.phone-demo-ready .phone-message { gap: 6px; margin-bottom: 11px; }
.phone-demo-ready .phone-message .phone-avatar { width: 24px; height: 24px; flex-basis: 24px; }
.phone-demo-ready .phone-message > div { min-width: 0; max-width: calc(100% - 30px); }
.phone-demo-ready .phone-message b { font-size: 8px; line-height: 1.3; }
.phone-demo-ready .phone-message p { padding: 8px 9px; margin: 4px 0; font-size: 10px; line-height: 1.45; overflow-wrap: anywhere; white-space: pre-wrap; }
.phone-demo-ready .phone-message small { font-size: 7px; line-height: 1.3; }
.phone-demo-ready .phone-reaction { margin-bottom: 3px; font-size: 8px; }
.phone-demo-composer { display: flex; flex-shrink: 0; align-items: center; gap: 6px; margin: 0; padding: 9px 10px 7px; background: #fff; border-top: 1px solid #eee7f4; }
.phone-demo-input { width: 100%; min-width: 0; min-height: 34px; flex: 1; padding: 7px 9px; color: #26074a; background: #f7f3fb; border: 1px solid #e7dcf2; border-radius: 8px; font-size: 12px; line-height: 1.3; }
.phone-demo-input::placeholder { color: #8a7c97; opacity: 1; }
.phone-demo-send { display: grid; flex: 0 0 34px; place-items: center; width: 34px; min-height: 34px; border: 0; border-radius: 9px; color: #fff; background: #6500ff; font-size: 20px; line-height: 1; }
.phone-demo-send:hover { background: #5100ce; }
.phone-demo-footer { display: flex; flex: 0 0 auto; align-items: center; gap: 4px; min-height: 33px; padding: 2px 10px 0; background: #fff; border-top: 1px solid #f1ebf6; }
.phone-demo-status { flex: 1; margin: 0; color: #796986; font-size: 8px; line-height: 1.4; }
.phone-demo-reset { flex: 0 0 auto; min-height: 28px; padding: 5px 4px; color: #6500ff; background: none; border: 0; border-radius: 5px; font-size: 9px; font-weight: 650; }
.phone-demo-ready .phone-home { margin: 7px 0 8px; }
.phone-demo-days { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; margin-bottom: 16px; }
.phone-demo-day { display: flex; flex-direction: column; gap: 5px; min-height: 53px; justify-content: center; align-items: center; padding: 7px; border: 1px solid #e6dbf1; border-radius: 10px; background: #fff; color: #82728e; font-size: 9px; }
.phone-demo-day b { color: #26074a; font-size: 16px; font-weight: 600; }
.phone-demo-day[aria-pressed="true"] { border-color: #6500ff; background: #6500ff; color: #eadcff; box-shadow: 0 4px 12px #6500ff14; }
.phone-demo-day[aria-pressed="true"] b { color: #fff; }
.phone-demo-kicker { margin: 0 0 9px; color: #8a7a97; font-size: 7px; font-weight: 650; letter-spacing: .7px; line-height: 1.5; }
.phone-demo-shift { display: flex; align-items: center; gap: 9px; padding: 13px 11px; margin: 0 0 9px; border: 1px solid #e7dcf3; border-left: 3px solid #a16af4; border-radius: 10px; background: #fff; }
.phone-demo-shift:nth-child(3) { border-left-color: #00b49d; }
.phone-demo-shift > div { min-width: 0; }
.phone-demo-shift b { display: block; margin-bottom: 5px; font-size: 10px; }
.phone-demo-shift span:not(.phone-avatar) { display: block; color: #81718d; font-size: 9px; }
.phone-demo-note { margin: 12px 2px 3px; color: #867592; font-size: 9px; line-height: 1.6; }
.phone-demo-shoutout { padding: 14px 13px 13px; text-align: center; border: 1px solid #f1e5bb; border-radius: 12px; background: linear-gradient(140deg, #fff8e3, #fffdf7); }
.phone-demo-big-star { display: block; margin-bottom: 7px; color: #dca619; font-size: 33px; line-height: 1; }
.phone-demo-shoutout .phone-demo-kicker { margin-bottom: 8px; color: #9d7c37; font-size: 6px; }
.phone-demo-quote { margin: 0 0 12px; color: #634923; font-size: 11px; line-height: 1.6; }
.phone-demo-person { display: flex; justify-content: center; align-items: center; gap: 7px; color: #6c542b; font-size: 9px; }
.phone-demo-person .phone-avatar { width: 21px; height: 21px; flex-basis: 21px; }
.phone-demo-star-button { display: block; width: 100%; min-height: 36px; margin: 9px 0 16px; padding: 7px 10px; background: #6500ff; border: 1px solid #6500ff; border-radius: 8px; color: #fff; font-size: 10px; font-weight: 650; }
.phone-demo-star-button[aria-pressed="true"] { background: #f2eaff; color: #6500ff; border-color: #dfcafb; }
.phone-demo-standing { display: flex; align-items: center; gap: 8px; padding: 9px 0; border-top: 1px solid #ede5f3; }
.phone-demo-standing b { font-size: 9px; font-weight: 600; }
.phone-demo-standing .phone-avatar { width: 22px; height: 22px; flex-basis: 22px; }
.phone-demo-star-count { margin-left: auto; color: #a37617; font-size: 10px; font-weight: 600; white-space: nowrap; }
.phone-demo-filters { display: grid; grid-template-columns: .8fr 1.2fr; gap: 8px; }
.phone-demo-filters > div { min-width: 0; padding: 10px; border: 1px solid #e5daf0; border-radius: 9px; background: #fff; }
.phone-demo-filters small { display: block; margin-bottom: 6px; color: #8e7b9e; font-size: 6px; font-weight: 650; letter-spacing: .5px; }
.phone-demo-filters b { display: block; color: #4f3666; font-size: 10px; font-weight: 650; }
.phone-demo-candidate-note { margin: 10px 1px; font-size: 8px; }
.phone-demo-candidate { padding: 11px; margin-bottom: 10px; border: 1px solid #e6dcf1; border-radius: 11px; background: #fff; }
.phone-demo-candidate-summary { display: flex; align-items: flex-start; gap: 8px; }
.phone-demo-candidate-summary > div { min-width: 0; }
.phone-demo-candidate-avatar { display: grid; flex: 0 0 29px; width: 29px; height: 29px; place-items: center; border-radius: 9px; background: #e1f8f1; color: #197766; font-size: 9px; font-weight: 650; }
.phone-demo-candidate:nth-of-type(2) .phone-demo-candidate-avatar { background: #efe5fd; color: #7946ab; }
.phone-demo-candidate h4 { margin: 1px 0 5px; font-size: 11px; font-weight: 650; }
.phone-demo-candidate-summary p { margin: 0 0 4px; color: #7d6b8b; font-size: 9px; }
.phone-demo-candidate small { display: block; color: #94829f; font-size: 7px; line-height: 1.5; }
.phone-demo-profile-toggle { width: 100%; min-height: 32px; margin-top: 9px; padding: 7px 3px; text-align: left; color: #6500ff; background: transparent; border: 0; border-top: 1px solid #efe7f6; border-radius: 3px; font-size: 9px; font-weight: 650; }
.phone-demo-profile-toggle::after { content: "+"; float: right; font-size: 13px; line-height: 1; }
.phone-demo-profile-toggle[aria-expanded="true"]::after { content: "−"; }
.phone-demo-profile-detail { padding-top: 7px; border-top: 1px solid #f0e9f6; color: #806e8e; font-size: 9px; line-height: 1.6; }
.phone-demo-profile-detail b { color: #59416e; font-size: 8px; font-weight: 600; }
.phone-demo-profile-detail p { margin: 6px 0 2px; }
.phone-demo-ready button:focus-visible,
.phone-demo-ready input:focus-visible,
.phone-demo-ready [tabindex]:focus-visible { outline: 2px solid #008e7d; outline-offset: -2px; }
.phone-demo-sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
@media (max-width: 760px) {
  .phone-demo-ready .phone-brand { padding-top: 8px; padding-bottom: 9px; }
  .phone-demo-tab { font-size: 8px; min-height: 44px; }
  .phone-demo-heading { padding: 10px 11px; }
  .phone-demo-heading h3 { font-size: 11px; }
  .phone-demo-heading p { font-size: 7px; }
  .phone-demo-scroll { padding: 10px; }
  .phone-demo-ready .phone-message p { padding: 7px 8px; font-size: 9px; }
  .phone-demo-ready .phone-message b { font-size: 7px; }
  .phone-demo-ready .phone-message small { font-size: 6px; }
  .phone-demo-ready .phone-message { margin-bottom: 9px; }
  .phone-demo-ready .phone-message .phone-avatar { width: 22px; height: 22px; flex-basis: 22px; }
  .phone-demo-footer { padding-inline: 9px; }
  .phone-demo-status { font-size: 7px; }
  .phone-demo-ready .phone-home { height: 3px; margin-top: 5px; margin-bottom: 7px; }
  .phone-demo-quote { font-size: 10px; }
}
@media (pointer: coarse) {
  /* Avoid mobile browsers zooming the page when a sample message receives focus. */
  .phone-demo-input { font-size: 16px; }
  .phone-demo-send { min-height: 36px; }
  .phone-demo-reset { min-height: 32px; }
}
