/* Phones and iPads (2026-11-09): the Home sidebar slides in from the left, as
   in ChatGPT and Claude. A bar across the top holds the button that opens it;
   tapping outside, pressing Escape or opening a page closes it. Loaded after
   every other stylesheet. Every rule here is for the phone layout only
   (html[data-layout="phone"], set by start-app.js on phones and iPads), so a
   computer never sees any of it, at any window size. :where keeps each rule's
   specificity as it was. The only rules for everyone hide what this file adds
   to the page (drawer bar, scrim, Tutor back button, "Ask" label). */
.home-drawer-bar,
.home-drawer-scrim,
.chat-launcher-label {
  display: none;
}

@media (max-width: 1024px) {
  html:where([data-layout="phone"]) body#elthosApp.home-view {
    --drawer-bar: 56px;
    --drawer-top: calc(var(--drawer-bar) + env(safe-area-inset-top, 0px));
    --drawer-ease: cubic-bezier(.32, .72, 0, 1);
  }

  /* Top bar */
  html:where([data-layout="phone"]) body#elthosApp.home-view .home-drawer-bar {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 40;
    display: flex;
    align-items: center;
    gap: 4px;
    height: var(--drawer-top);
    padding: env(safe-area-inset-top, 0px) 12px 0 calc(8px + env(safe-area-inset-left, 0px));
    background: color-mix(in srgb, var(--home-bg) 86%, transparent);
    -webkit-backdrop-filter: saturate(1.5) blur(16px);
    backdrop-filter: saturate(1.5) blur(16px);
  }
  html:where([data-layout="phone"]) body#elthosApp.home-view .home-drawer-toggle {
    position: relative;
    display: inline-grid;
    place-items: center;
    width: 40px;
    height: 40px;
    min-width: 0;
    min-height: 0;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 10px;
    background: transparent;
    box-shadow: none;
    color: var(--home-ink);
    cursor: pointer;
    transform: none;
    -webkit-tap-highlight-color: transparent;
  }
  html:where([data-layout="phone"]) body#elthosApp.home-view .home-drawer-toggle:active {
    background: var(--home-chip);
  }
  html:where([data-layout="phone"]) body#elthosApp.home-view .home-drawer-toggle svg {
    width: 23px;
    height: 23px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
  }
  /* New notifications: a dot on the button, since the bell is in the sidebar. */
  html:where([data-layout="phone"]) body#elthosApp.home-view:has(#notificationBellButton:not([hidden]) #notificationBellDot:not([hidden])) .home-drawer-toggle::after {
    content: "";
    position: absolute;
    top: 7px;
    right: 6px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #d93a2e;
    box-shadow: 0 0 0 2px var(--home-bg);
  }
  html:where([data-layout="phone"]) body#elthosApp.home-view .home-drawer-brand {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    color: var(--home-ink);
  }
  html:where([data-layout="phone"]) body#elthosApp.home-view .home-drawer-brand img {
    width: 16px;
    height: auto;
  }
  html:where([data-layout="phone"]) body#elthosApp.home-view .home-drawer-brand strong {
    font-size: 17px;
    font-weight: 600;
    letter-spacing: -.2px;
  }

  /* The page takes the full width, under the bar. */
  html:where([data-layout="phone"]) body#elthosApp.home-view .workspace {
    margin: 0 !important;
    width: 100% !important;
    padding-top: calc(var(--drawer-top) + 16px) !important;
  }
  html:where([data-layout="phone"]) body#elthosApp.home-view:is(.home-calendar-view, .home-tutor-view) .workspace {
    padding-top: calc(var(--drawer-top) + 8px) !important;
  }

  /* The sidebar, off screen until opened. */
  html:where([data-layout="phone"]) body#elthosApp.home-view .sessions-panel {
    position: fixed !important;
    inset: 0 auto 0 0 !important;
    z-index: 60 !important;
    display: flex !important;
    flex-direction: column !important;
    align-self: auto !important;
    width: min(304px, 86vw) !important;
    max-width: none !important;
    height: 100dvh !important;
    max-height: none !important;
    margin: 0 !important;
    padding: calc(16px + env(safe-area-inset-top, 0px)) 10px calc(10px + env(safe-area-inset-bottom, 0px)) calc(10px + env(safe-area-inset-left, 0px)) !important;
    border: 0 !important;
    border-right: 1px solid var(--home-line) !important;
    border-radius: 0 !important;
    background: var(--home-side) !important;
    box-shadow: none !important;
    overflow: hidden !important;
    visibility: hidden;
    transform: translateX(-102%);
    transition: none;
  }
  html:where([data-layout="phone"]) body#elthosApp.home-view.home-drawer-animate .sessions-panel {
    transition: transform .34s var(--drawer-ease), box-shadow .34s var(--drawer-ease), visibility 0s linear .34s;
  }
  html:where([data-layout="phone"]) body#elthosApp.home-view.home-drawer-open .sessions-panel {
    visibility: visible;
    transform: none;
    box-shadow: 0 0 48px #0000002e !important;
  }
  html:where([data-layout="phone"]) body#elthosApp.home-view.home-drawer-animate.home-drawer-open .sessions-panel {
    transition: transform .34s var(--drawer-ease), box-shadow .34s var(--drawer-ease), visibility 0s;
  }

  html:where([data-layout="phone"]) body#elthosApp.home-view .home-drawer-scrim {
    position: fixed;
    inset: 0;
    z-index: 55;
    display: block;
    background: #1b1b1952;
    opacity: 0;
    pointer-events: none;
  }
  html:where([data-layout="phone"]) body#elthosApp.home-view.home-drawer-animate .home-drawer-scrim {
    transition: opacity .34s var(--drawer-ease);
  }
  html:where([data-layout="phone"]) body#elthosApp.home-view.home-drawer-open .home-drawer-scrim {
    opacity: 1;
    pointer-events: auto;
  }
  html:where([data-layout="phone"]) body#elthosApp.home-view.home-drawer-open {
    overflow: hidden !important;
  }

  /* Inside the sidebar: the laptop layout, with rows sized for a finger. */
  html:where([data-layout="phone"]) body#elthosApp.home-view .home-sidebar-brand {
    margin: 0 0 14px !important;
    padding: 0 6px 0 10px !important;
    min-height: 36px;
  }
  html:where([data-layout="phone"]) body#elthosApp.home-view .home-sidebar-nav {
    flex-direction: column !important;
    gap: 1px !important;
    margin: 0 !important;
  }
  html:where([data-layout="phone"]) body#elthosApp.home-view .home-sidebar-nav button {
    flex: none !important;
    justify-content: flex-start !important;
    gap: 12px !important;
    height: 42px !important;
    min-height: 0 !important;
    padding: 0 10px !important;
    font-size: 15.5px !important;
  }
  html:where([data-layout="phone"]) body#elthosApp.home-view :is(.home-mac-section, .home-mac-list, .home-account-row) {
    display: flex !important;
  }
  html:where([data-layout="phone"]) body#elthosApp.home-view .home-account-row .home-account-card {
    display: flex !important;
  }
  html:where([data-layout="phone"]) body#elthosApp.home-view .home-mac-section {
    height: 28px;
    margin: 20px 0 4px;
  }
  html:where([data-layout="phone"]) body#elthosApp.home-view .home-mac-section-label {
    font-size: 12px;
    line-height: 28px;
  }
  html:where([data-layout="phone"]) body#elthosApp.home-view .home-mac-section-add {
    width: 30px !important;
    height: 30px !important;
  }
  /* The same list rules as the laptop sidebar and the Mac app, with 41 px
     rows (40 px row + 1 px gap) in place of 31 px:
     Sessions: up to 10 rows, then it scrolls; a short screen takes rows away,
     never below 3 (fewer only when there are fewer sessions).
     Projects & classes: all the room left above the account, scrolling
     inside, never below 4 rows. */
  html:where([data-layout="phone"]) body#elthosApp.home-view .home-mac-sessions {
    flex: 0 1 auto !important;
    max-height: calc(41px * 10 - 1px) !important;
    min-height: calc(41px * var(--home-session-rows, 3) - 1px) !important;
  }
  html:where([data-layout="phone"]) body#elthosApp.home-view .home-mac-projects {
    flex: 1 1 0 !important;
    max-height: none !important;
    min-height: calc(41px * 4 - 1px) !important;
  }
  html:where([data-layout="phone"]) body#elthosApp.home-view .home-mac-list {
    overflow-y: auto !important;
    overscroll-behavior: contain;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  html:where([data-layout="phone"]) body#elthosApp.home-view .home-mac-list::-webkit-scrollbar {
    display: none;
  }
  html:where([data-layout="phone"]) body#elthosApp.home-view .home-mac-list .home-mac-item-open {
    height: 40px !important;
    line-height: 40px !important;
    font-size: 15.5px !important;
    gap: 12px;
  }
  html:where([data-layout="phone"]) body#elthosApp.home-view .home-mac-item-title {
    font-size: 15.5px;
  }
  html:where([data-layout="phone"]) body#elthosApp.home-view .home-mac-item-detail {
    font-size: 13px;
  }
  html:where([data-layout="phone"]) body#elthosApp.home-view .home-mac-empty {
    height: 40px;
    line-height: 40px;
    font-size: 14px;
  }
  html:where([data-layout="phone"]) body#elthosApp.home-view :is(.home-mac-disclosure, .home-mac-more) {
    top: 7px !important;
    width: 26px !important;
    height: 26px !important;
  }
  html:where([data-layout="phone"]) body#elthosApp.home-view .home-mac-list .home-mac-item.has-disclosure .home-mac-item-open {
    padding-right: 36px !important;
  }
  html:where([data-layout="phone"]) body#elthosApp.home-view .home-mac-list .home-mac-item.is-child .home-mac-item-open {
    padding-left: 42px !important;
  }
  /* Account: name and plan at the bottom, as on a laptop. Older phone rules
     turn it into an avatar on the top bar; undo that inside the sidebar. */
  html:where([data-layout="phone"]) body#elthosApp.home-view .sessions-panel .home-account-row {
    flex-shrink: 0;
    margin: auto -10px calc(-10px - env(safe-area-inset-bottom, 0px)) !important;
    padding: 8px 10px calc(10px + env(safe-area-inset-bottom, 0px)) !important;
    border-top: 1px solid var(--home-line);
    background: var(--home-side);
  }
  html:where([data-layout="phone"]) body#elthosApp.home-view .sessions-panel .home-account-row .home-account-card {
    position: static !important;
    flex: 1;
    min-width: 0;
    width: auto !important;
    min-height: 48px;
    padding: 6px 10px !important;
    gap: 12px !important;
    border-radius: 10px !important;
  }
  html:where([data-layout="phone"]) body#elthosApp.home-view .sessions-panel .home-account-row .home-account-card > span:nth-child(2) {
    display: flex !important;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
    padding: 0 !important;
    background: transparent !important;
    color: inherit !important;
  }
  html:where([data-layout="phone"]) body#elthosApp.home-view .sessions-panel .home-account-row .home-account-avatar {
    width: 30px !important;
    height: 30px !important;
    min-width: 30px !important;
    font-size: 14px !important;
  }
  /* Signed out: no placeholder "A" avatar; one black "Sign in" capsule across the row. */
  html:where([data-layout="phone"]) body#elthosApp.home-view .sessions-panel .home-account-row .home-account-card.is-signed-out .home-account-avatar,
  html:where([data-layout="phone"]) body#elthosApp.home-view .sessions-panel .home-account-row .home-account-card.is-signed-out .home-account-chevron {
    display: none !important;
  }
  html:where([data-layout="phone"]) body#elthosApp.home-view .sessions-panel .home-account-row .home-account-card.is-signed-out {
    padding: 0 !important;
    background: none !important;
  }
  html:where([data-layout="phone"]) body#elthosApp.home-view .sessions-panel .home-account-row .home-account-card.is-signed-out > span:nth-child(2) {
    flex: 1;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    border-radius: 999px;
    background: #000 !important;
    color: #fff !important;
  }
  html:where([data-layout="phone"]) body#elthosApp.home-view .sessions-panel .home-account-row .home-account-card.is-signed-out #homeAccountName {
    color: #fff !important;
    font-weight: 600 !important;
  }
  html:where([data-layout="phone"]) body#elthosApp.home-view .sessions-panel .home-account-row .home-account-card #homeAccountName {
    font-size: 15px !important;
    color: var(--home-ink) !important;
  }
  html:where([data-layout="phone"]) body#elthosApp.home-view .sessions-panel .home-account-row .home-account-plan {
    display: block;
    font-size: 13px !important;
  }
  html:where([data-layout="phone"]) body#elthosApp.home-view .sessions-panel .home-account-row .home-account-plan:empty {
    display: none;
  }
  html:where([data-layout="phone"]) body#elthosApp.home-view .home-account-settings svg {
    width: 19px !important;
    height: 19px !important;
  }
  html:where([data-layout="phone"]) body#elthosApp.home-view .home-sidebar-brand .notification-bell {
    margin-left: auto;
  }
  html:where([data-layout="phone"]) body#elthosApp.home-view .home-account-settings {
    width: 40px !important;
    height: 40px !important;
  }
}

/* Touch screens: rows stay clean; a long press opens the Pin / Delete menu
   (app.js), and the "..." shows only on that row while its menu is open. */
@media (max-width: 1024px) and (hover: none) {
  html:where([data-layout="phone"]) body#elthosApp.home-view .home-mac-item .home-mac-more {
    opacity: 0 !important;
    pointer-events: none !important;
  }
  html:where([data-layout="phone"]) body#elthosApp.home-view .home-mac-item.menu-open .home-mac-more {
    opacity: 1 !important;
  }
  html:where([data-layout="phone"]) body#elthosApp.home-view .home-mac-item.has-menu:not(.menu-open) .home-mac-item-detail {
    visibility: visible;
  }
  html:where([data-layout="phone"]) body#elthosApp.home-view .home-mac-list .home-mac-item.has-menu:not(.menu-open) .home-mac-item-open {
    padding-right: 10px !important;
  }
  html:where([data-layout="phone"]) body#elthosApp.home-view .home-mac-list .home-mac-item.has-menu.has-disclosure:not(.menu-open) .home-mac-item-open {
    padding-right: 36px !important;
  }
  html:where([data-layout="phone"]) body#elthosApp.home-view .home-mac-item-open {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
  }
  html:where([data-layout="phone"]) body#elthosApp.home-view .home-mac-list .home-mac-item-open:active {
    background: #e6e7de8c !important;
  }
}

/* Phones and iPads: the Tutor is the iPhone app's Tutor (tutor-embed.css, switched on by
   body.tutor-web-phone): it fills the screen, and the app's back chevron
   floats at the top left, level with the header row. */
.tutor-web-back {
  display: none;
}
@media (max-width: 1024px) {
  html:where([data-layout="phone"]) body#elthosApp.tutor-web-phone .tutor-shell {
    position: fixed !important;
    top: 0 !important;
    right: 0 !important;
    bottom: auto !important;
    left: 0 !important;
    height: var(--app-visible-height, 100dvh) !important;
    min-height: 0 !important;
    z-index: 70 !important;
    width: auto !important;
    max-width: none !important;
    margin: 0 !important;
    background: #fbfaf7;
  }
  html:where([data-layout="phone"]) body#elthosApp.tutor-web-phone .tutor-web-back {
    position: fixed;
    top: calc(max(env(safe-area-inset-top, 0px) - 6px, 0px) + 10px);
    left: calc(6px + env(safe-area-inset-left, 0px));
    z-index: 75;
    display: inline-grid;
    place-items: center;
    width: 38px;
    height: 44px;
    min-width: 0;
    min-height: 0;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 10px;
    background: transparent;
    box-shadow: none;
    color: #252525;
    cursor: pointer;
    transform: none;
    -webkit-tap-highlight-color: transparent;
  }
  html:where([data-layout="phone"]) body#elthosApp.tutor-web-phone .tutor-web-back svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
  }
  html:where([data-layout="phone"]) body#elthosApp.tutor-web-phone :is(.home-drawer-bar, .home-drawer-scrim) {
    display: none !important;
  }
}


/* Phones: a class page has its own "Ask Elthos" button, so the project page's
   floating Ask button (same panel) stays hidden there instead of sitting on it. */
@media (max-width: 1024px) {
  html:where([data-layout="phone"]) body#elthosApp.project-detail-view .project-shell.is-class-series:has(#classSeriesWorkspace .class-tutor-launcher) > #mobileProjectChatLauncher {
    display: none !important;
  }
}

/* Phones: Settings is a full page, as in the iPhone app, not a card floating
   on a grey backdrop. Its section tabs scroll sideways and fade at the edge. */
@media (max-width: 700px) {
  html:where([data-layout="phone"]) body#elthosApp .account-shell {
    inset: 0 !important;
    width: 100% !important;
    max-width: none !important;
    height: 100dvh !important;
    max-height: none !important;
    margin: 0 !important;
    padding-top: env(safe-area-inset-top, 0px) !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    transform: none !important;
  }
  html:where([data-layout="phone"]) body#elthosApp .account-shell .account-settings-sidebar {
    scrollbar-width: none;
    -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 36px), transparent);
    mask-image: linear-gradient(to right, #000 calc(100% - 36px), transparent);
  }
  html:where([data-layout="phone"]) body#elthosApp .account-shell .account-settings-sidebar::-webkit-scrollbar {
    display: none;
  }
  html:where([data-layout="phone"]) body#elthosApp .account-shell .account-page-list {
    padding-right: 36px !important;
  }
}

/* Phones: the floating Ask buttons on a session and a project (2026-11-09) are
   a dark "Ask" pill like the class page's Ask Elthos, in place of the brain
   mark, and a finger can drag them anywhere (app.js saves where). */
html:where([data-layout="phone"]) body#elthosApp :is(.mobile-meeting-chat-launcher, .mobile-project-chat-launcher) {
  width: auto !important;
  min-width: 0 !important;
  height: 44px !important;
  min-height: 0 !important;
  /* No display here: the older rules decide when the button shows (phones
     only, never while the chat is open). Forcing display put the pill on
     computers, inside the chat panel and the project sidebar (v655). */
  grid-template-columns: none !important;
  grid-auto-flow: column !important;
  grid-auto-columns: auto !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 7px !important;
  padding: 0 16px 0 14px !important;
  border: 1px solid #ffffff1f !important;
  border-radius: 999px !important;
  background: #262626 !important;
  color: #fff !important;
  box-shadow: 0 6px 20px #00000029, 0 1px 3px #0000001f !important;
  font: 500 15px/1 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  letter-spacing: 0 !important;
  white-space: nowrap !important;
  touch-action: none !important;
  -webkit-user-select: none;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  cursor: grab !important;
}
/* Where it was dragged (app.js sets the variables from the saved spot); until
   then the lower right corner, 16 px in and 20 px up, at any screen size. Never
   off the screen. */
@media (max-width: 620px) {
  html:where([data-layout="phone"]) body#elthosApp .mobile-meeting-chat-launcher {
    left: clamp(12px, var(--meeting-chat-launcher-x, 100vw), calc(100vw - 102px - env(safe-area-inset-right, 0px))) !important;
    top: clamp(60px, var(--meeting-chat-launcher-y, 100dvh), calc(100dvh - 64px - env(safe-area-inset-bottom, 0px))) !important;
    right: auto !important;
    bottom: auto !important;
  }
  html:where([data-layout="phone"]) body#elthosApp.project-detail-view .mobile-project-chat-launcher {
    left: clamp(12px, var(--project-chat-launcher-x, 100vw), calc(100vw - 102px - env(safe-area-inset-right, 0px))) !important;
    top: clamp(60px, var(--project-chat-launcher-y, 100dvh), calc(100dvh - 64px - env(safe-area-inset-bottom, 0px))) !important;
    right: auto !important;
    bottom: auto !important;
  }
}
html:where([data-layout="phone"]) body#elthosApp :is(.mobile-meeting-chat-launcher, .mobile-project-chat-launcher)::after {
  content: none !important;
  display: none !important;
}
html:where([data-layout="phone"]) body#elthosApp :is(.mobile-meeting-chat-launcher, .mobile-project-chat-launcher).is-dragging {
  cursor: grabbing !important;
  transform: scale(1.04) !important;
  box-shadow: 0 12px 30px #00000038 !important;
}
html:where([data-layout="phone"]) body#elthosApp :is(.mobile-chat-launcher-icon, .mobile-project-chat-launcher-icon) {
  width: 18px !important;
  min-width: 18px !important;
  height: 18px !important;
  display: inline-grid !important;
  place-items: center !important;
  color: inherit !important;
}
html:where([data-layout="phone"]) body#elthosApp :is(.mobile-chat-launcher-icon, .mobile-project-chat-launcher-icon) svg {
  display: none !important;
}
html:where([data-layout="phone"]) body#elthosApp :is(.mobile-chat-launcher-icon, .mobile-project-chat-launcher-icon)::before {
  content: "";
  display: block;
  width: 18px;
  height: 18px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 11.5a8.5 8.5 0 0 1-8.5 8.5H4l-2 2v-10A8.5 8.5 0 0 1 10.5 3h2A8.5 8.5 0 0 1 21 11.5Z'/%3E%3Cpath d='M8 10h7M8 14h4'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 11.5a8.5 8.5 0 0 1-8.5 8.5H4l-2 2v-10A8.5 8.5 0 0 1 10.5 3h2A8.5 8.5 0 0 1 21 11.5Z'/%3E%3Cpath d='M8 10h7M8 14h4'/%3E%3C/svg%3E") center / contain no-repeat;
}
html:where([data-layout="phone"]) body#elthosApp .chat-launcher-label {
  display: inline;
  color: inherit;
}

/* Phones: "Add speaker names" stays on the right of the Transcript heading,
   as on a laptop, instead of wrapping under it. */
@media (max-width: 700px) {
  html:where([data-layout="phone"]) body#elthosApp.session-detail-view #transcriptPanel .session-section-heading {
    flex-wrap: nowrap !important;
    align-items: center !important;
    gap: 12px !important;
  }
  html:where([data-layout="phone"]) body#elthosApp.session-detail-view #transcriptPanel .session-section-heading > div {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    width: auto !important;
  }
  html:where([data-layout="phone"]) body#elthosApp.session-detail-view #transcriptSpeakerButton {
    flex: none !important;
    margin-left: auto !important;
    white-space: nowrap !important;
  }
}

/* Phones: the session's header buttons (Add to class series, details, Remove,
   Share) as the Mac app draws them (2026-11-09): plain, borderless glyphs and
   words, a soft fill only while pressed. Share is the share symbol with a
   count badge once it is shared (data-count, set in app.js). */
@media (max-width: 700px) {
  html:where([data-layout="phone"]) body#elthosApp.session-detail-view:not(.project-detail-view) .session-workspace-actions {
    gap: 2px !important;
    justify-content: flex-end !important;
    align-items: center !important;
  }
  /* Which buttons show stays with the existing rules (Add to class series on
     lectures only; the trash only where it was shown before); this only
     changes how they look. */
  html:where([data-layout="phone"]) body#elthosApp.session-detail-view:not(.project-detail-view) .session-workspace-actions > button {
    position: relative !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    width: auto !important;
    min-width: 38px !important;
    height: 38px !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 9px !important;
    border: 0 !important;
    border-radius: 10px !important;
    background: transparent !important;
    box-shadow: none !important;
    color: #252525 !important;
    font: 500 15px/1 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
    letter-spacing: 0 !important;
    white-space: nowrap !important;
    transform: none !important;
    -webkit-tap-highlight-color: transparent;
  }
  html:where([data-layout="phone"]) body#elthosApp.session-detail-view:not(.project-detail-view) .session-workspace-actions > button:active,
  html:where([data-layout="phone"]) body#elthosApp.session-detail-view:not(.project-detail-view) .session-workspace-actions > button[aria-expanded="true"] {
    background: #ecece8 !important;
  }
  html:where([data-layout="phone"]) body#elthosApp.session-detail-view:not(.project-detail-view) .session-workspace-actions > button:disabled {
    opacity: .4 !important;
  }
  /* Details: the outline info symbol. */
  html:where([data-layout="phone"]) body#elthosApp.session-detail-view:not(.project-detail-view) .session-workspace-actions > .session-info-button {
    width: 38px !important;
    padding: 0 !important;
  }
  html:where([data-layout="phone"]) body#elthosApp.session-detail-view:not(.project-detail-view) .session-workspace-actions > .session-info-button svg {
    display: none !important;
  }
  html:where([data-layout="phone"]) body#elthosApp.session-detail-view:not(.project-detail-view) .session-workspace-actions > :is(.session-info-button, .session-share-button)::before {
    content: "" !important;
    display: block !important;
    width: 21px !important;
    min-width: 21px !important;
    height: 21px !important;
    margin: 0 !important;
    opacity: 1 !important;
    background: currentColor !important;
    -webkit-mask: var(--mac-glyph) center / contain no-repeat !important;
    mask: var(--mac-glyph) center / contain no-repeat !important;
  }
  html:where([data-layout="phone"]) body#elthosApp.session-detail-view:not(.project-detail-view) .session-workspace-actions > .session-info-button::before {
    --mac-glyph: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='8.5'/%3E%3Cpath d='M12 11v5.2'/%3E%3Ccircle cx='12' cy='7.9' r='.4' fill='%23000'/%3E%3C/svg%3E");
  }
  /* Share: the symbol only; the words stay for screen readers via aria-label. */
  html:where([data-layout="phone"]) body#elthosApp.session-detail-view:not(.project-detail-view) .session-workspace-actions > .session-share-button {
    width: 38px !important;
    padding: 0 !important;
    font-size: 0 !important;
  }
  html:where([data-layout="phone"]) body#elthosApp.session-detail-view:not(.project-detail-view) .session-workspace-actions > .session-share-button::before {
    --mac-glyph: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3.5v11'/%3E%3Cpath d='m8 7.3 4-3.8 4 3.8'/%3E%3Cpath d='M8.5 10.5H7a1.5 1.5 0 0 0-1.5 1.5v7A1.5 1.5 0 0 0 7 20.5h10a1.5 1.5 0 0 0 1.5-1.5v-7a1.5 1.5 0 0 0-1.5-1.5h-1.5'/%3E%3C/svg%3E");
  }
  html:where([data-layout="phone"]) body#elthosApp.session-detail-view:not(.project-detail-view) .session-workspace-actions > .session-share-button:not([data-count=""])[data-count]::after {
    content: attr(data-count);
    position: absolute;
    top: 2px;
    right: 0;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    box-sizing: border-box;
    border-radius: 999px;
    background: #111;
    color: #fff;
    font: 600 10px/16px -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    text-align: center;
    font-variant-numeric: tabular-nums;
  }
  html:where([data-layout="phone"]) body#elthosApp.session-detail-view:not(.project-detail-view) .session-workspace-actions > .session-delete-button svg {
    width: 18px !important;
    height: 18px !important;
  }
}

/* Phones: Session details (the info button's panel) in the current look:
   a plain white bottom sheet, a quiet label, the date as a line of text, and
   neutral Rename / Delete buttons (Delete in red text), no blue pills or
   gradients. */
@media (max-width: 700px) {
  /* A bottom sheet, as iPhone apps show details: it never covers the page's
     title, and it doesn't repeat it. */
  html:where([data-layout="phone"]) body#elthosApp .session-info-popover {
    position: fixed !important;
    top: auto !important;
    right: 12px !important;
    bottom: calc(12px + env(safe-area-inset-bottom, 0px)) !important;
    left: 12px !important;
    width: auto !important;
    max-width: none !important;
    z-index: 90 !important;
    animation: sessionInfoPhoneSheetIn .22s cubic-bezier(.32, .72, 0, 1) both !important;
    padding: 16px !important;
    border: 1px solid #e6e6e1 !important;
    border-radius: 14px !important;
    background: #fff !important;
    box-shadow: 0 12px 32px #0000001f, 0 1px 3px #00000014 !important;
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
  }
  html:where([data-layout="phone"]) body#elthosApp .session-info-popover .session-info-card-top {
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: none !important;
  }
  html:where([data-layout="phone"]) body#elthosApp .session-info-popover .session-info-card-top::before {
    display: block !important;
    width: auto !important;
    margin: 0 0 6px !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: none !important;
    box-shadow: none !important;
    color: #6a6a6d !important;
    font: 500 12.5px/1.3 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
  }
  html:where([data-layout="phone"]) body#elthosApp .session-info-popover #sessionInfoTitle {
    display: none !important;
    color: #1d1d1b !important;
    font: 600 16px/1.35 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
    letter-spacing: -.1px !important;
  }
  html:where([data-layout="phone"]) body#elthosApp .session-info-popover #sessionInfoDate {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    min-height: 0 !important;
    margin: 10px 0 14px !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: none !important;
    box-shadow: none !important;
    color: #6a6a6d !important;
    font: 400 14px/1.3 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  }
  html:where([data-layout="phone"]) body#elthosApp .session-info-popover #sessionInfoDate::before {
    content: "" !important;
    flex: none !important;
    width: 16px !important;
    height: 16px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    background: currentColor !important;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='5.5' width='16' height='14.5' rx='2.5'/%3E%3Cpath d='M4 10h16M8.5 3.5v4M15.5 3.5v4'/%3E%3C/svg%3E") center / contain no-repeat !important;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='5.5' width='16' height='14.5' rx='2.5'/%3E%3Cpath d='M4 10h16M8.5 3.5v4M15.5 3.5v4'/%3E%3C/svg%3E") center / contain no-repeat !important;
  }
  html:where([data-layout="phone"]) body#elthosApp .session-info-popover .session-info-actions {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 8px !important;
    margin: 0 !important;
  }
  html:where([data-layout="phone"]) body#elthosApp .session-info-popover .session-info-actions button {
    height: 40px !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 12px !important;
    border: 1px solid #e2e3da !important;
    border-radius: 10px !important;
    background: #fff !important;
    box-shadow: none !important;
    color: #1d1d1b !important;
    font: 500 15px/1 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
    transform: none !important;
  }
  html:where([data-layout="phone"]) body#elthosApp .session-info-popover .session-info-actions .session-info-delete-button {
    color: #b42318 !important;
  }
  html:where([data-layout="phone"]) body#elthosApp .session-info-popover .session-info-actions button:active {
    background: #f3f4ee !important;
  }
  html:where([data-layout="phone"]) body#elthosApp .session-info-popover .session-info-actions button:disabled {
    opacity: .45 !important;
  }
  html:where([data-layout="phone"]) body#elthosApp .session-info-popover #sessionInfoDate {
    margin-top: 2px !important;
  }
  /* The header and the page section blur what is behind them, which would
     pin a fixed sheet inside the header; while the sheet is up they don't. */
  html:where([data-layout="phone"]) body#elthosApp:has(#sessionInfoPopover:not([hidden])) :is(.session-workspace-header, .session-workspace-shell) {
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
  }
  /* The floating Ask button steps aside while the sheet is up. */
  html:where([data-layout="phone"]) body#elthosApp:has(#sessionInfoPopover:not([hidden])) .mobile-meeting-chat-launcher {
    opacity: 0 !important;
    pointer-events: none !important;
  }
}
@keyframes sessionInfoPhoneSheetIn {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: none; }
}

/* Phones: the session header in two lines (2026-11-09). Line one is the way
   back and the title on one line; line two is the date and time with the
   buttons at its right (Add to / Open class series as a glyph there). */
@media (max-width: 700px) {
  html:where([data-layout="phone"]) body#elthosApp.session-detail-view:not(.project-detail-view) .session-workspace-header {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    grid-template-rows: auto auto !important;
    align-items: end !important;
    gap: 0 !important;
    min-height: 0 !important;
    padding: 10px 12px 8px 4px !important;
  }
  html:where([data-layout="phone"]) body#elthosApp.session-detail-view:not(.project-detail-view) .session-workspace-header > .session-workspace-title-row {
    grid-column: 1 / -1 !important;
    grid-row: 1 / span 2 !important;
    align-self: stretch !important;
    margin: 0 !important;
    min-width: 0 !important;
  }
  html:where([data-layout="phone"]) body#elthosApp.session-detail-view:not(.project-detail-view) .session-workspace-header > .session-workspace-actions {
    grid-column: 2 !important;
    grid-row: 2 !important;
    position: relative !important;
    z-index: 2 !important;
    margin: 0 !important;
    padding: 0 !important;
    width: auto !important;
  }
  html:where([data-layout="phone"]) body#elthosApp.session-detail-view:not(.project-detail-view) .session-workspace-header #sessionTitle {
    display: block !important;
    overflow: hidden !important;
    white-space: nowrap !important;
    text-overflow: ellipsis !important;
    -webkit-line-clamp: unset !important;
  }
  html:where([data-layout="phone"]) body#elthosApp.session-detail-view:not(.project-detail-view) .session-workspace-header .rename-row {
    min-width: 0 !important;
  }
  html:where([data-layout="phone"]) body#elthosApp.session-detail-view:not(.project-detail-view) .session-workspace-header .session-meta {
    flex-wrap: nowrap !important;
    overflow: hidden !important;
    white-space: nowrap !important;
    margin-top: 4px !important;
    max-width: calc(100% - var(--phone-header-actions, 84px)) !important;
    padding-right: 0 !important;
    min-height: 38px !important;
    align-items: center !important;
  }
  /* Room for the buttons beside the date: info and Share, plus the class
     glyph on a lecture. */
  html:where([data-layout="phone"]) body#elthosApp.session-detail-view.personal-lecture:not(.project-detail-view) .session-workspace-header {
    --phone-header-actions: 122px;
  }
  html:where([data-layout="phone"]) body#elthosApp.session-detail-view:not(.project-detail-view) .session-workspace-header .session-meta {
    gap: 10px !important;
  }
  html:where([data-layout="phone"]) body#elthosApp.session-detail-view:not(.project-detail-view) .session-workspace-header .session-meta > span {
    flex: none !important;
  }
  html:where([data-layout="phone"]) body#elthosApp.session-detail-view:not(.project-detail-view) .session-workspace-header .session-workspace-actions > button {
    min-width: 36px !important;
  }
  html:where([data-layout="phone"]) body#elthosApp.session-detail-view:not(.project-detail-view) .session-workspace-header .session-workspace-actions > :is(.session-info-button, .session-share-button, #addPersonalLectureToClass) {
    width: 36px !important;
  }
  html:where([data-layout="phone"]) body#elthosApp.session-detail-view:not(.project-detail-view) .session-workspace-header :is(#sessionSaved, #sessionStatusMessage) {
    display: block !important;
    flex: 0 1 auto !important;
    min-width: 0 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }
  /* A lecture's tabs: one row that scrolls sideways (as a meeting's do),
     not two rows with a wide gap. */
  html:where([data-layout="phone"]) body#elthosApp.session-detail-view.personal-lecture .personal-lecture-nav {
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    gap: 20px !important;
    scrollbar-width: none !important;
    -webkit-overflow-scrolling: touch;
  }
  html:where([data-layout="phone"]) body#elthosApp.session-detail-view.personal-lecture .personal-lecture-nav::-webkit-scrollbar {
    display: none !important;
  }
  html:where([data-layout="phone"]) body#elthosApp.session-detail-view.personal-lecture .personal-lecture-nav > button {
    flex: none !important;
    white-space: nowrap !important;
  }
  /* The passing note ("Session opened.") also shows in the app's message,
     so the phone's date line leaves it out. */
  html:where([data-layout="phone"]) body#elthosApp.session-detail-view:not(.project-detail-view) .session-workspace-header #sessionStatusMessage {
    display: none !important;
  }
  /* Add to / Open class series: the glyph; its words stay as the label. */
  html:where([data-layout="phone"]) body#elthosApp.session-detail-view:not(.project-detail-view) .session-workspace-actions > #addPersonalLectureToClass {
    width: 38px !important;
    padding: 0 !important;
    font-size: 0 !important;
  }
  html:where([data-layout="phone"]) body#elthosApp.session-detail-view:not(.project-detail-view) .session-workspace-actions > #addPersonalLectureToClass::before {
    content: "" !important;
    display: block !important;
    width: 21px !important;
    height: 21px !important;
    background: currentColor !important;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3.5' y='7.5' width='13' height='12' rx='2'/%3E%3Cpath d='M7 4.5h11A2.5 2.5 0 0 1 20.5 7v10'/%3E%3Cpath d='M10 11v5M7.5 13.5h5'/%3E%3C/svg%3E") center / contain no-repeat !important;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3.5' y='7.5' width='13' height='12' rx='2'/%3E%3Cpath d='M7 4.5h11A2.5 2.5 0 0 1 20.5 7v10'/%3E%3Cpath d='M10 11v5M7.5 13.5h5'/%3E%3C/svg%3E") center / contain no-repeat !important;
  }
}

@media (max-width: 1024px) and (prefers-reduced-motion: reduce) {
  html:where([data-layout="phone"]) body#elthosApp.home-view :is(.sessions-panel, .home-drawer-scrim) {
    transition: none !important;
  }
}

/* Home, measured against the iPhone's HomeView (2026-11-09): 24 sides, the
   title 28 semibold, buttons 17 semibold (radius 18, at most 340 wide), card
   rows 16, "Elthos" 21 semibold in the top bar. */
html:where([data-layout="phone"]) body#elthosApp.home-view .home-drawer-brand strong { font-size: 21px !important; font-weight: 600 !important; letter-spacing: -.5px !important; }
html:where([data-layout="phone"]) body#elthosApp.home-view .home-hero-panel { padding-left: 24px !important; padding-right: 24px !important; }
html:where([data-layout="phone"]) body#elthosApp.home-view .home-hero-panel .home-mac-title { font-size: 28px !important; font-weight: 600 !important; letter-spacing: -.7px !important; line-height: 34px !important; }
html:where([data-layout="phone"]) body#elthosApp.home-view .audio-picker { width: 100% !important; max-width: 340px !important; margin-left: auto !important; margin-right: auto !important; }
html:where([data-layout="phone"]) body#elthosApp.home-view #audioMenu { gap: 10px !important; }
html:where([data-layout="phone"]) body#elthosApp.home-view #audioMenu :is(#recordButton, #sharedAudioButton, .file-button, #homeTutorButton) {
  min-height: 0 !important;
  padding: 17px 16px !important;
  border-radius: 18px !important;
  font-size: 17px !important;
  font-weight: 600 !important;
  line-height: 20px !important;
  gap: 10px !important;
}
html:where([data-layout="phone"]) body#elthosApp.home-view #audioMenu :is(#recordButton, #sharedAudioButton, .file-button, #homeTutorButton) svg { width: 18px !important; height: 18px !important; }
html:where([data-layout="phone"]) body#elthosApp.home-view .home-mac-rows { max-width: 560px !important; margin-left: auto !important; margin-right: auto !important; }
html:where([data-layout="phone"]) body#elthosApp.home-view .home-mac-rows .home-mac-row { min-height: 50px !important; padding: 10px 14px !important; gap: 12px !important; }
html:where([data-layout="phone"]) body#elthosApp.home-view .home-mac-rows .home-mac-row :is(strong, .home-mac-row-copy > strong) { font-size: 16px !important; font-weight: 400 !important; }
html:where([data-layout="phone"]) body#elthosApp.home-view .home-mac-rows .home-mac-row small { font-size: 12px !important; }
html:where([data-layout="phone"]) body#elthosApp.home-view .home-focus-grid { padding-left: 8px !important; padding-right: 8px !important; }

/* Sessions list, as the iPhone's SessionsView (2026-11-09): "Sessions" 30 bold,
   rows on one stone card (radius 18), a 36 circle with the kind's glyph, the
   title 15.5 with its time on the right, "Lecture · 42 min" under it. */
html:where([data-layout="phone"]) body#elthosApp.sessions-detail-view .sessions-shell {
  padding: 0 24px 24px !important;
  background: #fafbf6 !important;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif !important;
}
html:where([data-layout="phone"]) body#elthosApp.sessions-detail-view .sessions-shell > .session-header {
  display: flex !important;
  align-items: center !important;
  gap: 4px !important;
  margin: 0 -12px !important;
  padding: 4px 0 16px !important;
  border: 0 !important;
  background: none !important;
}
html:where([data-layout="phone"]) body#elthosApp.sessions-detail-view .sessions-shell > .session-header h2 { margin: 0 !important; color: #000 !important; font-size: 30px !important; font-weight: 700 !important; letter-spacing: -.4px !important; }
html:where([data-layout="phone"]) body#elthosApp.sessions-detail-view .sessions-shell > .session-header .session-meta { display: none !important; }
html:where([data-layout="phone"]) body#elthosApp.sessions-detail-view .sessions-shell .deadline-detail-content { padding: 0 !important; }
html:where([data-layout="phone"]) body#elthosApp.sessions-detail-view #sessionDetailList {
  display: block !important;
  border: 0 !important;
  background: none !important;
}
html:where([data-layout="phone"]) body#elthosApp.sessions-detail-view #sessionDetailList > .phone-sessions-card {
  overflow: hidden;
  margin: 0 0 22px;
  border-radius: 18px;
  background: #eff0e8;
}
html:where([data-layout="phone"]) body#elthosApp.sessions-detail-view #sessionDetailList .phone-sessions-card > .session-row {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  margin: 0 !important;
  padding: 0 4px 0 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: none !important;
}
html:where([data-layout="phone"]) body#elthosApp.sessions-detail-view #sessionDetailList .phone-sessions-card > .session-row + .session-row::before {
  content: "";
  position: absolute;
  top: 0;
  left: 64px;
  right: 0;
  height: .5px;
  background: #e2e3da;
}
html:where([data-layout="phone"]) body#elthosApp.sessions-detail-view #sessionDetailList .session-open {
  flex: 1 1 auto !important;
  display: grid !important;
  grid-template-columns: 36px minmax(0, 1fr) auto !important;
  grid-template-rows: auto auto !important;
  column-gap: 12px !important;
  row-gap: 3px !important;
  align-items: center !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 13px 0 13px 16px !important;
  border: 0 !important;
  background: none !important;
  box-shadow: none !important;
  text-align: left !important;
}
html:where([data-layout="phone"]) body#elthosApp.sessions-detail-view #sessionDetailList .session-open::before {
  content: "";
  grid-column: 1;
  grid-row: 1 / span 2;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #e6e7de url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3.5' y='5' width='17' height='11.5' rx='2'/%3E%3Cpath d='M9 20h6M12 16.5V20'/%3E%3C/svg%3E") center / 16px no-repeat;
}
html:where([data-layout="phone"]) body#elthosApp.sessions-detail-view #sessionDetailList .session-row[data-kind="lecture"] .session-open::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 5.5c2.7-.9 5.4-.6 8 1.2 2.6-1.8 5.3-2.1 8-1.2v13c-2.7-.9-5.4-.6-8 1.2-2.6-1.8-5.3-2.1-8-1.2Z'/%3E%3Cpath d='M12 6.7v13'/%3E%3C/svg%3E");
}
html:where([data-layout="phone"]) body#elthosApp.sessions-detail-view #sessionDetailList .session-row[data-kind="shared"] .session-open::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='8.5' r='3.2'/%3E%3Cpath d='M3 19c.6-3.2 3-5 6-5s5.4 1.8 6 5'/%3E%3Cpath d='M15.5 5.6a3 3 0 0 1 0 5.8M17.5 14.4c1.9.6 3.1 2.2 3.5 4.6'/%3E%3C/svg%3E");
}
html:where([data-layout="phone"]) body#elthosApp.sessions-detail-view #sessionDetailList .session-row[data-kind="tutor"] .session-open::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 16c2-4 4-8 6-8s1 8 3 8 3-6 5-6 2 3 2 3'/%3E%3Cpath d='M4 20h16'/%3E%3C/svg%3E");
}
html:where([data-layout="phone"]) body#elthosApp.sessions-detail-view #sessionDetailList .session-row-title {
  grid-column: 2;
  grid-row: 1;
  overflow: hidden !important;
  color: #000 !important;
  font-size: 15.5px !important;
  font-weight: 400 !important;
  line-height: 20px !important;
  white-space: nowrap !important;
  text-overflow: ellipsis !important;
}
html:where([data-layout="phone"]) body#elthosApp.sessions-detail-view #sessionDetailList .session-row-when {
  grid-column: 3;
  grid-row: 1;
  color: #67676b;
  font-size: 12.5px;
  line-height: 16px;
  white-space: nowrap;
}
html:where([data-layout="phone"]) body#elthosApp.sessions-detail-view #sessionDetailList .session-row-kind {
  grid-column: 2 / span 2;
  grid-row: 2;
  overflow: hidden;
  color: #67676b;
  font-size: 14px;
  line-height: 18px;
  white-space: nowrap;
  text-overflow: ellipsis;
}
html:where([data-layout="phone"]) body#elthosApp.sessions-detail-view #sessionDetailList .session-row:has(.session-row-kind) :is(.session-row-date, .session-row-chevron) { display: none !important; }
html:where([data-layout="phone"]) body#elthosApp.sessions-detail-view #sessionDetailList .session-delete {
  flex: none !important;
  width: 40px !important;
  height: 44px !important;
  min-height: 0 !important;
  border: 0 !important;
  background: none !important;
  box-shadow: none !important;
  color: #67676b !important;
  opacity: .8 !important;
}
html:where([data-layout="phone"]) body#elthosApp.sessions-detail-view :is(.app-shell, .workspace) { background: #fafbf6 !important; }
/* Full width whatever the list holds: centred with width auto, the page shrank
   to its widest row, so one short title ("New lecture") made every filter narrow. */
html:where([data-layout="phone"]) body#elthosApp.sessions-detail-view .sessions-shell { justify-self: stretch !important; margin: 0 !important; width: auto !important; max-width: none !important; border-radius: 0 !important; }
html:where([data-layout="phone"]) body#elthosApp.sessions-detail-view #sessionDetailList { padding: 0 !important; margin-bottom: 96px !important; }
html:where([data-layout="phone"]) body#elthosApp.sessions-detail-view #sessionDetailList .session-row-kind { color: #67676b !important; font-weight: 400 !important; }
html:where([data-layout="phone"]) body#elthosApp.sessions-detail-view #sessionDetailList .session-row-when { color: #67676b !important; font-weight: 400 !important; }

/* Needs attention, as the iPhone's sheet: title 34 regular, 24 at the sides. */
html:where([data-layout="phone"]) body#elthosApp #needsAttentionSheet #needsAttentionSheetTitle { font-size: 34px !important; font-weight: 400 !important; letter-spacing: -.4px !important; line-height: 41px !important; }
html:where([data-layout="phone"]) body#elthosApp #needsAttentionSheet .na-sheet-scroll { padding-left: 24px !important; padding-right: 24px !important; }

/* Settings, as the iPhone's AccountView (2026-11-09): the profile centred
   (76 black avatar, name 22, email 15, plan chip), grey 13 section titles,
   stone cards (radius 18, no border), rows 52 tall with 16 text, buttons as
   soft chips. Every button is the page's own. */
html:where([data-layout="phone"]) body#elthosApp .st-page .st-identity {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 6px !important;
  margin: 8px 0 26px !important;
  padding: 0 !important;
  border: 0 !important;
  background: none !important;
  text-align: center !important;
}
html:where([data-layout="phone"]) body#elthosApp .st-page .st-identity > div { display: grid !important; gap: 4px !important; }
html:where([data-layout="phone"]) body#elthosApp .st-page .st-avatar {
  display: grid !important;
  place-items: center !important;
  width: 76px !important;
  height: 76px !important;
  margin: 0 0 8px !important;
  border-radius: 50% !important;
  background: #000 !important;
  color: #fafbf6 !important;
  font-size: 30px !important;
  font-weight: 600 !important;
}
html:where([data-layout="phone"]) body#elthosApp .st-page .st-identity strong { color: #000 !important; font-size: 22px !important; font-weight: 600 !important; }
html:where([data-layout="phone"]) body#elthosApp .st-page .st-identity small { color: #67676b !important; font-size: 15px !important; }
html:where([data-layout="phone"]) body#elthosApp .st-page .st-identity .st-chip {
  margin: 6px 0 0 !important;
  padding: 6px 12px !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: #e6e7de !important;
  color: #000 !important;
  font-size: 13px !important;
  font-weight: 600 !important;
}
html:where([data-layout="phone"]) body#elthosApp .st-page .st-section-head { margin: 0 0 8px !important; padding: 0 0 0 16px !important; }
html:where([data-layout="phone"]) body#elthosApp .st-page .st-section-head h3 { margin: 0 !important; color: #67676b !important; font-size: 13px !important; font-weight: 600 !important; }
html:where([data-layout="phone"]) body#elthosApp .st-page .st-group {
  margin: 0 0 26px !important;
  overflow: hidden !important;
  border: 0 !important;
  border-radius: 18px !important;
  background: #eff0e8 !important;
  box-shadow: none !important;
}
html:where([data-layout="phone"]) body#elthosApp .st-page .st-row {
  min-height: 52px !important;
  padding: 10px 16px !important;
  border-color: rgba(60, 60, 67, .18) !important;
  background: none !important;
}
html:where([data-layout="phone"]) body#elthosApp .st-page .st-row-title { color: #000 !important; font-size: 16px !important; font-weight: 400 !important; }
html:where([data-layout="phone"]) body#elthosApp .st-page .st-row-detail { color: #67676b !important; font-size: 13px !important; }
html:where([data-layout="phone"]) body#elthosApp .st-page .st-value { color: #67676b !important; font-size: 15px !important; }
html:where([data-layout="phone"]) body#elthosApp .st-page .st-button {
  min-height: 32px !important;
  padding: 0 14px !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: #e6e7de !important;
  box-shadow: none !important;
  color: #000 !important;
  font-size: 13.5px !important;
  font-weight: 600 !important;
}
html:where([data-layout="phone"]) body#elthosApp .st-page .st-button.is-danger,
html:where([data-layout="phone"]) body#elthosApp .st-page .st-button[data-st-action="signout"] { background: #fbe3e5 !important; color: #b00012 !important; }

/* Calendar: the month card fills the width, as the iPhone's calendar does. */
/* Calendar: the iPhone's week strip above the day list — the month (16
   semibold) with arrows, then seven days: a letter (11) over the date (18) in
   a 36 circle; today in red, the picked day filled black. */
html:where([data-layout="phone"]) body#elthosApp #meetingDetailList:has(.cal-month.is-phone-week) { display: flex !important; flex-direction: column !important; gap: 8px !important; }
html:where([data-layout="phone"]) body#elthosApp #meetingDetailList .cal-month.is-phone-week { order: -1; width: auto !important; max-width: none !important; margin: 0 -8px !important; padding: 4px 0 !important; border: 0 !important; border-radius: 0 !important; background: none !important; box-shadow: none !important; }
html:where([data-layout="phone"]) body#elthosApp #meetingDetailList .cal-month.is-phone-week .cal-month-head { display: flex !important; align-items: center !important; gap: 0 !important; margin: 0 0 8px !important; padding: 0 12px !important; }
html:where([data-layout="phone"]) body#elthosApp #meetingDetailList .cal-month.is-phone-week .cal-month-head strong { flex: 1 !important; color: #000 !important; font-size: 16px !important; font-weight: 600 !important; }
html:where([data-layout="phone"]) body#elthosApp #meetingDetailList .cal-month.is-phone-week .cal-month-nav { width: 36px !important; height: 30px !important; min-height: 0 !important; padding: 0 !important; border: 0 !important; background: none !important; box-shadow: none !important; color: #67676b !important; }
html:where([data-layout="phone"]) body#elthosApp #meetingDetailList .cal-month.is-phone-week .cal-month-today { min-height: 0 !important; padding: 4px 8px !important; border: 0 !important; background: none !important; box-shadow: none !important; color: #000 !important; font-size: 15px !important; font-weight: 500 !important; }
html:where([data-layout="phone"]) body#elthosApp #meetingDetailList .cal-month.is-phone-week :is(.cal-weekdays, .cal-grid) { display: grid !important; grid-template-columns: repeat(7, minmax(0, 1fr)) !important; gap: 0 !important; padding: 0 !important; }
html:where([data-layout="phone"]) body#elthosApp #meetingDetailList .cal-month.is-phone-week .cal-weekdays span { color: #67676b !important; font-size: 11px !important; font-weight: 600 !important; text-align: center !important; }
html:where([data-layout="phone"]) body#elthosApp #meetingDetailList .cal-month.is-phone-week .cal-grid { margin-top: 5px !important; }
html:where([data-layout="phone"]) body#elthosApp #meetingDetailList .cal-month.is-phone-week .cal-cell { position: relative !important; display: grid !important; justify-items: center !important; min-height: 0 !important; height: 44px !important; padding: 0 !important; border: 0 !important; background: none !important; box-shadow: none !important; }
html:where([data-layout="phone"]) body#elthosApp #meetingDetailList .cal-month.is-phone-week .cal-cell > span { display: grid !important; place-items: center !important; width: 36px !important; height: 36px !important; border-radius: 50% !important; background: none !important; color: #000 !important; font-size: 18px !important; font-weight: 400 !important; }
html:where([data-layout="phone"]) body#elthosApp #meetingDetailList .cal-month.is-phone-week .cal-cell.is-today > span { color: #c4261b !important; font-weight: 600 !important; }
html:where([data-layout="phone"]) body#elthosApp #meetingDetailList .cal-month.is-phone-week .cal-cell.is-selected > span { background: #000 !important; color: #fafbf6 !important; font-weight: 600 !important; }
html:where([data-layout="phone"]) body#elthosApp #meetingDetailList .cal-month.is-phone-week .cal-cell.is-today.is-selected > span { background: #c4261b !important; color: #fff !important; }
html:where([data-layout="phone"]) body#elthosApp #meetingDetailList .cal-month.is-phone-week .cal-cell > i { position: absolute !important; bottom: 0 !important; left: 50% !important; width: 5px !important; height: 5px !important; margin-left: -2.5px !important; border-radius: 50% !important; background: transparent !important; }
html:where([data-layout="phone"]) body#elthosApp #meetingDetailList .cal-month.is-phone-week .cal-cell.has-events > i { background: #67676b !important; }

/* Search (stone capsule, 44), the All / Lectures / Meetings chips (34), and
   "Today" / "Earlier" over their cards, as on iPhone. */
html:where([data-layout="phone"]) body#elthosApp.sessions-detail-view .phone-sessions-controls { display: grid; gap: 12px; margin: 0 0 14px; }
html:where([data-layout="phone"]) body#elthosApp.sessions-detail-view .phone-sessions-search {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  background: #eff0e8;
}
html:where([data-layout="phone"]) body#elthosApp.sessions-detail-view .phone-sessions-search::before {
  content: "";
  flex: none;
  width: 17px;
  height: 17px;
  background: #67676b;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='10.5' cy='10.5' r='6.5'/%3E%3Cpath d='m15.5 15.5 5 5'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='10.5' cy='10.5' r='6.5'/%3E%3Cpath d='m15.5 15.5 5 5'/%3E%3C/svg%3E") center / contain no-repeat;
}
html:where([data-layout="phone"]) body#elthosApp.sessions-detail-view .phone-sessions-search input {
  flex: 1;
  min-width: 0;
  height: 44px;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: none !important;
  box-shadow: none !important;
  color: #000;
  font-size: 15.5px !important;
  outline: none;
}
html:where([data-layout="phone"]) body#elthosApp.sessions-detail-view .phone-sessions-chips { display: flex; gap: 6px; }
html:where([data-layout="phone"]) body#elthosApp.sessions-detail-view .phone-sessions-chips > button {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 34px;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 14px !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #67676b !important;
  font-size: 14px !important;
  font-weight: 500 !important;
}
html:where([data-layout="phone"]) body#elthosApp.sessions-detail-view .phone-sessions-chips > button[aria-selected="true"] { background: #e6e7de !important; color: #000 !important; }
html:where([data-layout="phone"]) body#elthosApp.sessions-detail-view .phone-sessions-chips > button small { color: #67676b; font-size: 12.5px; font-weight: 400; }
html:where([data-layout="phone"]) body#elthosApp.sessions-detail-view .phone-sessions-chips > button small:empty { display: none; }
html:where([data-layout="phone"]) body#elthosApp.sessions-detail-view .phone-sessions-group-label { padding: 0 0 8px 4px; color: #67676b; font-size: 13.5px; font-weight: 500; }
html:where([data-layout="phone"]) body#elthosApp.sessions-detail-view #sessionDetailList > .session-empty { padding: 16px; border-radius: 18px; background: #eff0e8; color: #000; font-size: 16px; font-weight: 600; }
html:where([data-layout="phone"]) body#elthosApp #meetingDetailList .cal-month.is-phone-week { align-self: stretch !important; box-sizing: border-box !important; width: calc(100% + 16px) !important; }
html:where([data-layout="phone"]) body#elthosApp #meetingDetailList .cal-month.is-phone-week .cal-month-head > .cal-month-today { order: 3; }
html:where([data-layout="phone"]) body#elthosApp #meetingDetailList .cal-month.is-phone-week .cal-month-head > .cal-month-nav[data-cal-week="1"] { order: 4; }
/* An older rule held every session row at 52 px, which cut the second line; iPhone rows grow with their two lines. */
html:where([data-layout="phone"]) body#elthosApp.sessions-detail-view #sessionDetailList .phone-sessions-card > .session-row { height: auto !important; min-height: 0 !important; }
html:where([data-layout="phone"]) body#elthosApp.sessions-detail-view #sessionDetailList .phone-sessions-card .session-open { height: auto !important; }

/* Phone (2026-11-10): one paper colour behind every page, so Safari's top and
   bottom bars match the app instead of showing white or the desktop's blue fade. */
html[data-layout="phone"],
html[data-layout="phone"] body#elthosApp { background: #fafbf6 !important; background-attachment: scroll !important; }
/* No focus box on a touch screen: Safari drew one on the button a sheet opened
   with (Close, Cancel…) and on tapped fields. The iPhone app shows none. */
html[data-layout="phone"] body#elthosApp :is(button, a, [role="button"], [role="tab"], [tabindex], summary, dialog, select, input, textarea, [contenteditable]):is(:focus, :focus-visible) { outline: none !important; }
/* Calendar with nothing ahead: the iPhone's empty view (calendar glyph, "No
   Upcoming Meetings"), centred under the week strip. */
html[data-layout="phone"] body#elthosApp .cal-page .cal-empty {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 10px !important;
  margin: 96px 0 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: none !important;
  color: #000 !important;
  font: 700 22px/28px -apple-system, BlinkMacSystemFont, "SF Pro Display", sans-serif !important;
  text-align: center !important;
}
html[data-layout="phone"] body#elthosApp .cal-page .cal-empty::before {
  content: "";
  width: 48px;
  height: 48px;
  background: #67676b;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3.5' y='5' width='17' height='15.5' rx='2.5'/%3E%3Cpath d='M3.5 9.5h17M8 3v4M16 3v4'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3.5' y='5' width='17' height='15.5' rx='2.5'/%3E%3Cpath d='M3.5 9.5h17M8 3v4M16 3v4'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* No paper strip behind the floating Ask pill (meeting, lecture, project,
   class): in Safari it stopped at the toolbar and read as a second bar. The
   pill floats on its own shadow. */
html[data-layout="phone"] body#elthosApp.session-detail-view:not(.project-detail-view) .session-detail-layout::after,
html[data-layout="phone"] body#elthosApp.project-detail-view .project-shell:not(.is-class-series)::after,
html[data-layout="phone"] body#elthosApp .project-shell.is-class-series #classSeriesWorkspace .class-main::after { content: none !important; display: none !important; }

/* Fixed layout (2026-11-10): no double-tap zoom (two quick taps on a button
   zoomed the page), no text inflation on rotating, no sideways slide or
   rubber-band of the whole page. Pages scroll inside their own frames. */
html[data-layout="phone"] {
  touch-action: manipulation;
  -webkit-text-size-adjust: 100% !important;
  text-size-adjust: 100% !important;
  overscroll-behavior: none;
}
html[data-layout="phone"],
html[data-layout="phone"] body#elthosApp { overflow-x: clip !important; }

/* Record / Upload: "What are you recording?" as the iPhone's sheet
   (CapturePurposeSheet): grabber, Cancel, a 30 heading, Meeting and Lecture
   cards (stone, radius 22) with their glyph and a chevron. */
html[data-layout="phone"] body#elthosApp #capturePurposeDialog.is-phone-sheet[open] {
  position: fixed !important; inset: auto 0 0 0 !important;
  width: auto !important; max-width: none !important; min-height: 52dvh !important; max-height: 92dvh !important;
  margin: 0 !important; padding: 0 24px calc(24px + env(safe-area-inset-bottom, 0px)) !important;
  overflow-y: auto !important; box-sizing: border-box !important;
  border: 0 !important; border-radius: 20px 20px 0 0 !important;
  background: #fafbf6 !important; color: #000 !important; box-shadow: none !important;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif !important;
  animation: phoneSheetUp .28s cubic-bezier(.2, .8, .2, 1) both;
}
html[data-layout="phone"] body#elthosApp #capturePurposeDialog.is-phone-sheet::backdrop { background: rgba(0, 0, 0, .25) !important; backdrop-filter: none !important; -webkit-backdrop-filter: none !important; }
html[data-layout="phone"] body#elthosApp #capturePurposeDialog.is-phone-sheet[open]::before { content: ""; position: absolute; top: 6px; left: 50%; width: 36px; height: 5px; margin-left: -18px; border-radius: 3px; background: rgba(60, 60, 67, .3); }
html[data-layout="phone"] body#elthosApp #capturePurposeDialog.is-phone-sheet .capture-purpose-bar { display: flex !important; align-items: center !important; min-height: 52px !important; margin: 0 -8px !important; padding-top: 10px !important; }
html[data-layout="phone"] body#elthosApp #capturePurposeDialog.is-phone-sheet .capture-purpose-cancel {
  width: auto !important; min-height: 44px !important; margin: 0 !important; padding: 0 8px !important;
  border: 0 !important; border-radius: 0 !important; background: none !important; box-shadow: none !important;
  color: #000 !important; font: 400 17px/22px -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif !important;
}
html[data-layout="phone"] body#elthosApp #capturePurposeDialog.is-phone-sheet h2 { margin: 6px 0 18px !important; color: #000 !important; font: 400 30px/36px -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif !important; letter-spacing: -.5px !important; }
html[data-layout="phone"] body#elthosApp #capturePurposeDialog.is-phone-sheet .capture-purpose-choices { display: grid !important; gap: 18px !important; }
html[data-layout="phone"] body#elthosApp #capturePurposeDialog.is-phone-sheet .capture-purpose-choices > button {
  display: flex !important; align-items: center !important; gap: 16px !important; width: 100% !important;
  margin: 0 !important; padding: 20px !important; border: 0 !important; border-radius: 22px !important;
  background: #eff0e8 !important; box-shadow: none !important; color: #000 !important; text-align: left !important;
}
html[data-layout="phone"] body#elthosApp #capturePurposeDialog.is-phone-sheet .capture-purpose-choices > button::before { content: ""; flex: none; width: 26px; height: 26px; margin: 0 5px; background: #000; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4.5' width='18' height='12' rx='2'/%3E%3Cpath d='M8.5 20h7M12 16.5V20'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4.5' width='18' height='12' rx='2'/%3E%3Cpath d='M8.5 20h7M12 16.5V20'/%3E%3C/svg%3E") center / contain no-repeat; }
html[data-layout="phone"] body#elthosApp #capturePurposeDialog.is-phone-sheet .capture-purpose-choices > button[data-purpose="lecture"]::before { -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 5.5c2.7-.9 5.4-.6 8 1.2 2.6-1.8 5.3-2.1 8-1.2v13c-2.7-.9-5.4-.6-8 1.2-2.6-1.8-5.3-2.1-8-1.2Z'/%3E%3Cpath d='M12 6.7v13'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 5.5c2.7-.9 5.4-.6 8 1.2 2.6-1.8 5.3-2.1 8-1.2v13c-2.7-.9-5.4-.6-8 1.2-2.6-1.8-5.3-2.1-8-1.2Z'/%3E%3Cpath d='M12 6.7v13'/%3E%3C/svg%3E") center / contain no-repeat; }
html[data-layout="phone"] body#elthosApp #capturePurposeDialog.is-phone-sheet .capture-purpose-choices > button::after { content: ""; flex: none; width: 12px; height: 12px; margin-left: auto; background: #000; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat; }
html[data-layout="phone"] body#elthosApp #capturePurposeDialog.is-phone-sheet .capture-purpose-copy { display: grid !important; gap: 6px !important; min-width: 0 !important; }
html[data-layout="phone"] body#elthosApp #capturePurposeDialog.is-phone-sheet .capture-purpose-copy strong { color: #000 !important; font: 600 17px/22px -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif !important; }
html[data-layout="phone"] body#elthosApp #capturePurposeDialog.is-phone-sheet .capture-purpose-copy span { color: #67676b !important; font: 400 15px/20px -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif !important; }
html[data-layout="phone"][data-tab-audio="none"] body#elthosApp #audioMenu > #sharedAudioButton:not(#phoneNone) { display: none !important; }

/* Audit fixes (2026-11-10). */
/* Transcript words read as plain text, as on iPhone: each word's 1px side
   padding (kept for the playback highlight) widened every gap. */
html[data-layout="phone"] body#elthosApp .transcript-word { padding-left: 0 !important; padding-right: 0 !important; }
/* Deadline tick circles keep their 18px look but take a 44px touch. */
html[data-layout="phone"] body#elthosApp .deadline-check-button { position: relative !important; }
html[data-layout="phone"] body#elthosApp .deadline-check-button::after { content: ""; position: absolute; inset: -13px; }
/* Source quote marks (Overview) and "From …" links (Contribution): a 44px-tall touch. */
html[data-layout="phone"] body#elthosApp .project-shell :is(.wp-ref, .contribution-source) { padding-top: 14px !important; padding-bottom: 14px !important; margin-top: -14px !important; margin-bottom: -14px !important; background-clip: content-box !important; }
/* Answer boxes: no desktop resize grip. */
html[data-layout="phone"] body#elthosApp textarea { resize: none !important; }
/* Plans: the price chips fill the row; "Other" sits inside its box. */
html[data-layout="phone"] body#elthosApp .interest-quick { width: 100% !important; box-sizing: border-box !important; }
html[data-layout="phone"] body#elthosApp .interest-quick > * { flex: 1 1 0 !important; }
html[data-layout="phone"] body#elthosApp .interest-money { display: inline-flex !important; align-items: center !important; min-height: 44px !important; box-sizing: border-box !important; }
html[data-layout="phone"] body#elthosApp .interest-money #interestPrice { height: auto !important; min-height: 0 !important; align-self: stretch !important; }
html[data-layout="phone"] body#elthosApp #capturePurposeDialog.is-phone-sheet .capture-purpose-choices > button { flex-direction: row !important; justify-content: flex-start !important; justify-items: start !important; min-height: 0 !important; }
html[data-layout="phone"] body#elthosApp #capturePurposeDialog.is-phone-sheet .capture-purpose-copy { justify-items: start !important; text-align: left !important; }
html[data-layout="phone"] body#elthosApp #meetingDetailList.cal-page .cal-agenda > .session-empty.cal-empty { color: #000 !important; font-size: 22px !important; font-weight: 700 !important; line-height: 28px !important; }


/* ---------- iPhone tab bar, Home top bar, Recent, Projects (2026-11-10) ----------
   As HomeView: Home / Sessions / Projects at the foot (paper, hairline above,
   20pt glyphs, 11pt labels; black when chosen, grey otherwise). The drawer is
   gone on phones; Calendar gets a back chevron. Sign-in covers the whole
   screen, as on iPhone, so the bar is not drawn over it (2026-11-11). */
html[data-layout="phone"] #phoneTabBar { display: none; }
html[data-layout="phone"] body#elthosApp:is(.home-view:not(.home-calendar-view):not(.home-tutor-view), .sessions-detail-view):not(.account-modal-open):not(.auth-modal-open):not(.needs-attention-sheet-open):not(:has(#notificationPanel:not([hidden]))) #phoneTabBar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
  display: flex; align-items: stretch;
  padding: 10px calc(20px + env(safe-area-inset-right, 0px)) calc(4px + env(safe-area-inset-bottom, 0px)) calc(20px + env(safe-area-inset-left, 0px));
  border-top: .5px solid #e2e3da; background: #fafbf6;
}
html[data-layout="phone"] body#elthosApp #phoneTabBar > button {
  flex: 1 1 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
  min-height: 48px; margin: 0; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none;
  color: #67676b; font: 500 11px/13px -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif; -webkit-tap-highlight-color: transparent;
}
html[data-layout="phone"] body#elthosApp #phoneTabBar > button.is-selected { color: #000; font-weight: 600; }
html[data-layout="phone"] body#elthosApp #phoneTabBar .phone-tab-icon { width: 24px; height: 24px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 10.5 12 4l8 6.5V19.5a1 1 0 0 1-1 1h-4.5v-6h-5v6H5a1 1 0 0 1-1-1Z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 10.5 12 4l8 6.5V19.5a1 1 0 0 1-1 1h-4.5v-6h-5v6H5a1 1 0 0 1-1-1Z'/%3E%3C/svg%3E") center / contain no-repeat; -webkit-mask-size: 22px; mask-size: 22px; }
html[data-layout="phone"] body#elthosApp #phoneTabBar [data-phone-tab="home"].is-selected .phone-tab-icon { -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23000'%3E%3Cpath d='M4 10.5 12 4l8 6.5V19.5a1 1 0 0 1-1 1h-4.5v-6h-5v6H5a1 1 0 0 1-1-1Z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23000'%3E%3Cpath d='M4 10.5 12 4l8 6.5V19.5a1 1 0 0 1-1 1h-4.5v-6h-5v6H5a1 1 0 0 1-1-1Z'/%3E%3C/svg%3E") center / contain no-repeat; -webkit-mask-size: 22px; mask-size: 22px; }
html[data-layout="phone"] body#elthosApp #phoneTabBar [data-phone-tab="sessions"] .phone-tab-icon { -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 3h7l5 5v12a1 1 0 0 1-1 1H7a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1Z'/%3E%3Cpath d='M14 3v5h5M9 13h7M9 17h7'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 3h7l5 5v12a1 1 0 0 1-1 1H7a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1Z'/%3E%3Cpath d='M14 3v5h5M9 13h7M9 17h7'/%3E%3C/svg%3E") center / contain no-repeat; -webkit-mask-size: 22px; mask-size: 22px; }
html[data-layout="phone"] body#elthosApp #phoneTabBar [data-phone-tab="sessions"].is-selected .phone-tab-icon { -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23000'%3E%3Cpath fill-rule='evenodd' d='M7 3h7l5 5v12a1 1 0 0 1-1 1H7a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1Zm2 9.25v1.5h7v-1.5Zm0 4v1.5h7v-1.5Z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23000'%3E%3Cpath fill-rule='evenodd' d='M7 3h7l5 5v12a1 1 0 0 1-1 1H7a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1Zm2 9.25v1.5h7v-1.5Zm0 4v1.5h7v-1.5Z'/%3E%3C/svg%3E") center / contain no-repeat; -webkit-mask-size: 22px; mask-size: 22px; }
html[data-layout="phone"] body#elthosApp #phoneTabBar [data-phone-tab="projects"] .phone-tab-icon { -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.5 7A1.5 1.5 0 0 1 5 5.5h4.2l2 2H19A1.5 1.5 0 0 1 20.5 9v9a1.5 1.5 0 0 1-1.5 1.5H5A1.5 1.5 0 0 1 3.5 18Z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.5 7A1.5 1.5 0 0 1 5 5.5h4.2l2 2H19A1.5 1.5 0 0 1 20.5 9v9a1.5 1.5 0 0 1-1.5 1.5H5A1.5 1.5 0 0 1 3.5 18Z'/%3E%3C/svg%3E") center / contain no-repeat; -webkit-mask-size: 22px; mask-size: 22px; }
html[data-layout="phone"] body#elthosApp #phoneTabBar [data-phone-tab="projects"].is-selected .phone-tab-icon { -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23000'%3E%3Cpath d='M3.5 7A1.5 1.5 0 0 1 5 5.5h4.2l2 2H19A1.5 1.5 0 0 1 20.5 9v9a1.5 1.5 0 0 1-1.5 1.5H5A1.5 1.5 0 0 1 3.5 18Z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23000'%3E%3Cpath d='M3.5 7A1.5 1.5 0 0 1 5 5.5h4.2l2 2H19A1.5 1.5 0 0 1 20.5 9v9a1.5 1.5 0 0 1-1.5 1.5H5A1.5 1.5 0 0 1 3.5 18Z'/%3E%3C/svg%3E") center / contain no-repeat; -webkit-mask-size: 22px; mask-size: 22px; }
/* Room for the bar under each tab's own content. */
html[data-layout="phone"] body#elthosApp.home-view:not(.home-calendar-view):not(.home-tutor-view) .workspace { padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px)) !important; }
html[data-layout="phone"] body#elthosApp.sessions-detail-view #sessionDetailList { margin-bottom: calc(90px + env(safe-area-inset-bottom, 0px)) !important; }
/* Sessions is a tab: no back arrow. */
html[data-layout="phone"] body#elthosApp.sessions-detail-view #sessionsBackButton { display: none !important; }
html[data-layout="phone"] body#elthosApp.sessions-detail-view .sessions-shell > .session-header { margin-left: 0 !important; margin-right: 0 !important; padding-top: 14px !important; }

/* Home top bar: the Elthos mark and name, then globe, bell, account circle. */
html[data-layout="phone"] body#elthosApp.home-view #homeDrawerToggle, html[data-layout="phone"] body#elthosApp.home-view .home-drawer-scrim { display: none !important; }
html[data-layout="phone"] body#elthosApp.home-view .home-drawer-bar { padding-left: calc(20px + env(safe-area-inset-left, 0px)) !important; padding-right: calc(14px + env(safe-area-inset-right, 0px)) !important; }
html[data-layout="phone"] body#elthosApp.home-view .home-drawer-brand img { height: 22px !important; width: auto !important; }
html[data-layout="phone"] body#elthosApp .phone-home-actions { display: flex; align-items: center; gap: 0; margin-left: auto; }
html[data-layout="phone"] body#elthosApp .phone-home-actions > button, html[data-layout="phone"] body#elthosApp .phone-home-back {
  display: grid; place-items: center; width: 44px; height: 44px; min-width: 0; min-height: 0; margin: 0; padding: 0;
  border: 0; border-radius: 0; background: none; box-shadow: none; color: #000; -webkit-tap-highlight-color: transparent;
}
html[data-layout="phone"] body#elthosApp .phone-home-actions:not(.is-signed-in) :is(.phone-home-language, .phone-home-bell) { display: none; }
html[data-layout="phone"] body#elthosApp :is(.phone-home-language, .phone-home-bell, .phone-home-back)::before { content: ""; width: 22px; height: 22px; background: currentColor; }
html[data-layout="phone"] body#elthosApp .phone-home-language::before { -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='8.5'/%3E%3Cpath d='M3.5 12h17M12 3.5c2.4 2.4 3.5 5.3 3.5 8.5s-1.1 6.1-3.5 8.5c-2.4-2.4-3.5-5.3-3.5-8.5S9.6 5.9 12 3.5Z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='8.5'/%3E%3Cpath d='M3.5 12h17M12 3.5c2.4 2.4 3.5 5.3 3.5 8.5s-1.1 6.1-3.5 8.5c-2.4-2.4-3.5-5.3-3.5-8.5S9.6 5.9 12 3.5Z'/%3E%3C/svg%3E") center / contain no-repeat; }
html[data-layout="phone"] body#elthosApp .phone-home-bell { position: relative; }
html[data-layout="phone"] body#elthosApp .phone-home-bell::before { -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 16.5V11a6 6 0 0 1 12 0v5.5l1.5 1.6h-15Z'/%3E%3Cpath d='M10 20.5a2 2 0 0 0 4 0'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 16.5V11a6 6 0 0 1 12 0v5.5l1.5 1.6h-15Z'/%3E%3Cpath d='M10 20.5a2 2 0 0 0 4 0'/%3E%3C/svg%3E") center / contain no-repeat; }
html[data-layout="phone"] body#elthosApp .phone-home-bell.has-unread::after { content: ""; position: absolute; top: 10px; right: 10px; width: 9px; height: 9px; border: 1.5px solid #fafbf6; border-radius: 50%; background: #ff3b30; box-sizing: border-box; }
html[data-layout="phone"] body#elthosApp .phone-home-avatar { font: 600 14px/1 -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif !important; }
html[data-layout="phone"] body#elthosApp .phone-home-avatar::before { content: ""; position: absolute; }
html[data-layout="phone"] body#elthosApp .phone-home-actions > .phone-home-avatar { width: 44px; background: radial-gradient(circle, #e6e7de 15.5px, transparent 16px) !important; }
html[data-layout="phone"] body#elthosApp .phone-home-actions > .phone-home-avatar.is-signed-out { width: auto; height: 34px; margin-right: 4px; padding: 0 16px; border-radius: 999px; background: #000 !important; color: #fff; font: 600 15px/1 -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif !important; white-space: nowrap; }
html[data-layout="phone"] body#elthosApp .phone-home-back { display: none; }
html[data-layout="phone"] body#elthosApp .phone-home-back::before { -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 5.5 8.5 12l6.5 6.5'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 5.5 8.5 12l6.5 6.5'/%3E%3C/svg%3E") center / contain no-repeat; }
html[data-layout="phone"] body#elthosApp.home-calendar-view .phone-home-back { display: grid !important; margin-left: -12px; }
html[data-layout="phone"] body#elthosApp.home-calendar-view :is(.home-drawer-brand, .phone-home-actions) { display: none !important; }

/* Home: the mark, line and buttons sit together in the upper part of the
   screen (the iPhone centres them in its top 57%), not right under the bar. */
html[data-layout="phone"] body#elthosApp.home-view:not(.home-calendar-view):not(.home-tutor-view) .home-hero-panel {
  padding-top: clamp(24px, calc((var(--app-visible-height, 100dvh) - 150px) * .285 - 147px), 140px) !important;
}
/* Record audio: the iPhone's waveform glyph instead of the microphone. */
html[data-layout="phone"] body#elthosApp.home-view #recordButton:not(.recording) #recordIcon { display: none !important; }
html[data-layout="phone"] body#elthosApp.home-view #audioMenu > #recordButton:not(.recording)::before { content: "" !important; display: block !important; flex: none; width: 20px; height: 20px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 10v4M6.5 7v10M10 4v16M13.5 7v10M17 9.5v5M20.5 11v2'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 10v4M6.5 7v10M10 4v16M13.5 7v10M17 9.5v5M20.5 11v2'/%3E%3C/svg%3E") center / contain no-repeat; }

/* Recent: today's last session and project (34 tiles: lavender page, lime brain). */
html[data-layout="phone"] body#elthosApp .phone-home-recent[hidden], html[data-layout="phone"] body#elthosApp:not(.home-view) .phone-home-recent, html[data-layout="phone"] body#elthosApp.home-calendar-view .phone-home-recent { display: none !important; }
html[data-layout="phone"] body#elthosApp .phone-home-recent { display: grid; gap: 8px; max-width: 560px; margin: 28px auto 0; padding: 0 24px; box-sizing: border-box; }
html[data-layout="phone"] body#elthosApp .phone-home-recent > h2 { margin: 0 0 4px; color: #67676b; font: 600 15px/20px -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif; letter-spacing: 0; }
html[data-layout="phone"] body#elthosApp .phone-recent-row {
  position: relative; display: flex; align-items: center; gap: 16px; width: 100%; height: 55px; margin: 0; padding: 0;
  border: 0; border-radius: 0; background: none; box-shadow: none; color: #000; text-align: left; -webkit-tap-highlight-color: transparent;
}
html[data-layout="phone"] body#elthosApp .phone-recent-row + .phone-recent-row::before { content: ""; position: absolute; top: -4px; left: 50px; right: 0; height: .5px; background: #e2e3da; }
html[data-layout="phone"] body#elthosApp .phone-recent-row::after { content: ""; flex: none; width: 16px; height: 16px; margin-left: auto; background: rgba(0, 0, 0, .82); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 5.5 15.5 12 9 18.5'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 5.5 15.5 12 9 18.5'/%3E%3C/svg%3E") center / contain no-repeat; }
html[data-layout="phone"] body#elthosApp .phone-recent-icon { flex: none; width: 34px; height: 34px; border-radius: 13px; background: #e6d7f9; box-shadow: inset 0 0 0 .65px rgba(255, 255, 255, .58); position: relative; }
html[data-layout="phone"] body#elthosApp .phone-recent-row[data-phone-recent="project"] .phone-recent-icon { background: #eff7c1; }
html[data-layout="phone"] body#elthosApp .phone-recent-icon::before { content: ""; position: absolute; inset: 7px; background: rgba(0, 0, 0, .72); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 3h7l5 5v12a1 1 0 0 1-1 1H7a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1Z'/%3E%3Cpath d='M14 3v5h5M9 13h7M9 17h7'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 3h7l5 5v12a1 1 0 0 1-1 1H7a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1Z'/%3E%3Cpath d='M14 3v5h5M9 13h7M9 17h7'/%3E%3C/svg%3E") center / contain no-repeat; }
html[data-layout="phone"] body#elthosApp .phone-recent-row[data-phone-recent="project"] .phone-recent-icon::before { -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 4.5a3 3 0 0 0-3 3 3 3 0 0 0-1.5 5.3A3 3 0 0 0 7.5 18 2.5 2.5 0 0 0 12 19V6a2 2 0 0 0-3-1.5ZM15 4.5a3 3 0 0 1 3 3 3 3 0 0 1 1.5 5.3 3 3 0 0 1-3 5.2A2.5 2.5 0 0 1 12 19'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 4.5a3 3 0 0 0-3 3 3 3 0 0 0-1.5 5.3A3 3 0 0 0 7.5 18 2.5 2.5 0 0 0 12 19V6a2 2 0 0 0-3-1.5ZM15 4.5a3 3 0 0 1 3 3 3 3 0 0 1 1.5 5.3 3 3 0 0 1-3 5.2A2.5 2.5 0 0 1 12 19'/%3E%3C/svg%3E") center / contain no-repeat; }
html[data-layout="phone"] body#elthosApp .phone-recent-copy { display: grid; gap: 4px; min-width: 0; }
html[data-layout="phone"] body#elthosApp .phone-recent-copy strong { overflow: hidden; color: #000; font: 600 15.8px/19px -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif; white-space: nowrap; text-overflow: ellipsis; }
html[data-layout="phone"] body#elthosApp .phone-recent-copy small { color: #67676b; font: 400 13px/16px -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif; }

/* The Projects tab (ProjectsView). */
html[data-layout="phone"] #phoneProjectsPage { display: none; }
html[data-layout="phone"] body#elthosApp.home-view.phone-projects-open:not(.home-calendar-view):not(.home-tutor-view) #phoneProjectsPage {
  position: fixed; inset: 0 0 auto 0; z-index: 41; display: block; box-sizing: border-box;
  height: var(--app-visible-height, 100dvh); overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch;
  padding: calc(14px + env(safe-area-inset-top, 0px)) 24px calc(96px + env(safe-area-inset-bottom, 0px));
  background: #fafbf6; color: #000; font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
}
html[data-layout="phone"] body#elthosApp #phoneProjectsPage > header { display: flex; align-items: center; justify-content: space-between; min-height: 44px; margin: 0 0 16px; }
html[data-layout="phone"] body#elthosApp #phoneProjectsPage h1 { margin: 0; color: #000; font: 700 30px/36px -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif; letter-spacing: -.4px; }
html[data-layout="phone"] body#elthosApp .phone-projects-add { display: grid; place-items: center; width: 38px; height: 38px; min-width: 0; min-height: 0; margin: 0; padding: 0; border: 0; border-radius: 50%; background: #eff0e8; box-shadow: none; color: #000; }
html[data-layout="phone"] body#elthosApp .phone-projects-add::before { content: ""; width: 18px; height: 18px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / contain no-repeat; }
html[data-layout="phone"] body#elthosApp .phone-projects-search { position: relative; display: block; margin: 0 0 14px; }
html[data-layout="phone"] body#elthosApp .phone-projects-search::before { content: ""; position: absolute; left: 16px; top: 50%; width: 18px; height: 18px; margin-top: -9px; background: #8a8a8e; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='10.5' cy='10.5' r='6.5'/%3E%3Cpath d='m15.5 15.5 4.5 4.5'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='10.5' cy='10.5' r='6.5'/%3E%3Cpath d='m15.5 15.5 4.5 4.5'/%3E%3C/svg%3E") center / contain no-repeat; pointer-events: none; }
html[data-layout="phone"] body#elthosApp .phone-projects-search input {
  width: 100%; height: 44px; box-sizing: border-box; margin: 0; padding: 0 16px 0 44px; border: 0; border-radius: 22px;
  background: #eff0e8; color: #000; font: 400 17px/22px -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif; -webkit-appearance: none; appearance: none; outline: none;
}
html[data-layout="phone"] body#elthosApp .phone-projects-search input::placeholder { color: rgba(60, 60, 67, .35); }
html[data-layout="phone"] body#elthosApp .phone-projects-chips { display: flex; gap: 6px; margin: 0 0 16px; }
html[data-layout="phone"] body#elthosApp .phone-projects-chips > button { min-height: 34px; margin: 0; padding: 0 16px; border: 0; border-radius: 17px; background: none; box-shadow: none; color: #67676b; font: 500 15px/20px -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif; }
html[data-layout="phone"] body#elthosApp .phone-projects-chips > button.is-selected { background: #eff0e8; color: #000; }
html[data-layout="phone"] body#elthosApp .phone-projects-card { overflow: hidden; border-radius: 18px; background: #eff0e8; }
html[data-layout="phone"] body#elthosApp .phone-project-row {
  position: relative; display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; grid-template-rows: auto auto; column-gap: 12px; row-gap: 3px; align-items: center;
  width: 100%; margin: 0; padding: 13px 16px; border: 0; border-radius: 0; background: none; box-shadow: none; color: #000; text-align: left; -webkit-tap-highlight-color: transparent;
}
html[data-layout="phone"] body#elthosApp .phone-project-row + .phone-project-row::after { content: ""; position: absolute; top: 0; left: 64px; right: 0; height: .5px; background: #e2e3da; }
html[data-layout="phone"] body#elthosApp .phone-project-row::before {
  content: ""; grid-column: 1; grid-row: 1 / span 2; width: 36px; height: 36px; border-radius: 50%;
  background: #e6e7de url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.5 7A1.5 1.5 0 0 1 5 5.5h4.2l2 2H19A1.5 1.5 0 0 1 20.5 9v9a1.5 1.5 0 0 1-1.5 1.5H5A1.5 1.5 0 0 1 3.5 18Z'/%3E%3C/svg%3E") center / 16px no-repeat;
}
html[data-layout="phone"] body#elthosApp .phone-project-row[data-kind="class"]::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 5.5c2.7-.9 5.4-.6 8 1.2 2.6-1.8 5.3-2.1 8-1.2v13c-2.7-.9-5.4-.6-8 1.2-2.6-1.8-5.3-2.1-8-1.2Z'/%3E%3Cpath d='M12 6.7v13'/%3E%3C/svg%3E");
}
html[data-layout="phone"] body#elthosApp .phone-project-name { grid-column: 2; grid-row: 1; overflow: hidden; color: #000; font: 400 15.5px/20px -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif; white-space: nowrap; text-overflow: ellipsis; }
html[data-layout="phone"] body#elthosApp .phone-project-when { grid-column: 3; grid-row: 1; color: #67676b; font: 400 12.5px/16px -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif; white-space: nowrap; }
html[data-layout="phone"] body#elthosApp .phone-project-detail { grid-column: 2 / span 2; grid-row: 2; overflow: hidden; color: #67676b; font: 400 14px/18px -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif; white-space: nowrap; text-overflow: ellipsis; }
html[data-layout="phone"] body#elthosApp .phone-projects-empty { margin: 48px 0 0; color: #67676b; font: 400 15px/20px -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif; text-align: center; }

/* Notifications: a full page on phones (the iPhone's NotificationsView), not a
   dropdown hanging off the screen edge. Its own buttons stay. */
html[data-layout="phone"] body#elthosApp #notificationPanel:not([hidden]) {
  inset: 0 0 auto 0 !important; top: 0 !important; left: 0 !important;
  width: auto !important; max-width: none !important; height: var(--app-visible-height, 100dvh) !important; max-height: none !important;
  padding-top: env(safe-area-inset-top, 0px) !important;
  border: 0 !important; border-radius: 0 !important; box-shadow: none !important; background: #fafbf6 !important;
  animation: phoneSheetUp .28s cubic-bezier(.2, .8, .2, 1) both;
}
html[data-layout="phone"] body#elthosApp #notificationPanel .notification-panel-head { min-height: 56px; padding: 6px 8px 6px 20px !important; border-bottom: .5px solid #e2e3da !important; }
html[data-layout="phone"] body#elthosApp #notificationPanel .notification-panel-head h2 { font: 700 22px/28px -apple-system, BlinkMacSystemFont, "SF Pro Display", sans-serif !important; }
html[data-layout="phone"] body#elthosApp #notificationPanel .notification-panel-head button { min-height: 44px; font-size: 15px !important; color: #000 !important; }
html[data-layout="phone"] body#elthosApp #notificationPanel .notification-panel-head .notification-icon-button { width: 44px !important; height: 44px !important; }
html[data-layout="phone"] body#elthosApp #notificationPanel .notification-list { flex: 1 1 auto; padding: 4px 8px calc(24px + env(safe-area-inset-bottom, 0px)) !important; }
/* Home scrolls inside its frame now that Recent can run past the screen; Recent
   lines up with the card above it (24 at the sides). */
html[data-layout="phone"] body#elthosApp.home-view:not(.home-calendar-view):not(.home-tutor-view) .app-shell { overflow-y: auto !important; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
html[data-layout="phone"] body#elthosApp .phone-home-recent { align-self: stretch !important; width: auto !important; max-width: none !important; margin: 28px 0 0 !important; padding: 0 8px !important; }


/* ---------- Settings as the iPhone's AccountView (2026-11-10) ----------
   No desktop tab strip: a back chevron in a 38 circle, the page title centred
   (17 semibold), and the Settings list's rows open each page. */
html[data-layout="phone"] body#elthosApp .account-shell .account-settings-sidebar,
html[data-layout="phone"] body#elthosApp .account-shell .account-page-list { display: none !important; }
html[data-layout="phone"] body#elthosApp .account-shell > .session-header {
  display: grid !important; grid-template-columns: 52px minmax(0, 1fr) 52px !important; align-items: center !important;
  min-height: 56px !important; margin: 0 !important; padding: 6px 4px !important; border: 0 !important; background: #fafbf6 !important;
}
html[data-layout="phone"] body#elthosApp .account-shell > .session-header .session-title-block { grid-column: 2 !important; grid-row: 1 !important; min-width: 0 !important; text-align: center !important; }
html[data-layout="phone"] body#elthosApp .account-shell > .session-header .rename-row { justify-content: center !important; }
html[data-layout="phone"] body#elthosApp .account-shell #accountPageTitle { overflow: hidden !important; margin: 0 !important; color: #000 !important; font: 600 17px/22px -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif !important; letter-spacing: 0 !important; white-space: nowrap !important; text-overflow: ellipsis !important; }
html[data-layout="phone"] body#elthosApp .account-shell #accountCloseButton {
  grid-column: 1 !important; grid-row: 1 !important; justify-self: center !important; position: static !important;
  display: grid !important; place-items: center !important; width: 38px !important; height: 38px !important; min-width: 0 !important; min-height: 0 !important;
  margin: 0 !important; padding: 0 !important; border: 0 !important; border-radius: 50% !important; background: #e6e7de !important; box-shadow: none !important;
  color: transparent !important; font-size: 0 !important;
}
html[data-layout="phone"] body#elthosApp .account-shell #accountCloseButton::before { content: ""; width: 16px; height: 16px; background: #000; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 5.5 8.5 12l6.5 6.5'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 5.5 8.5 12l6.5 6.5'/%3E%3C/svg%3E") center / contain no-repeat; }
html[data-layout="phone"] body#elthosApp .account-shell #accountCloseButton > * { display: none !important; }

/* Rows: glyph (22 wide), title 16, value 15 grey, chevron. */
html[data-layout="phone"] body#elthosApp .st-page .st-group > .st-phone-row {
  display: flex !important; align-items: center !important; gap: 14px !important; width: 100% !important; box-sizing: border-box !important;
  min-height: 52px !important; margin: 0 !important; padding: 0 16px !important; border: 0 !important; border-radius: 0 !important;
  background: none !important; box-shadow: none !important; color: #000 !important; font: inherit !important; text-align: left !important; text-decoration: none !important;
  position: relative !important; -webkit-tap-highlight-color: transparent;
}
html[data-layout="phone"] body#elthosApp .st-page .st-group > .st-phone-row:active { background: rgba(0, 0, 0, .04) !important; }
html[data-layout="phone"] body#elthosApp .st-page .st-group > * + .st-phone-row::before,
html[data-layout="phone"] body#elthosApp .st-page .st-group > .st-phone-row + *::before { content: ""; position: absolute; top: 0; left: 52px; right: 0; height: .5px; background: rgba(60, 60, 67, .18); }
html[data-layout="phone"] body#elthosApp .st-page .st-group > .st-row { position: relative !important; }
html[data-layout="phone"] body#elthosApp .st-page .st-group > .st-row + .st-row { border-top: 0 !important; }
html[data-layout="phone"] body#elthosApp .st-page .st-group > .st-row:not(.st-phone-row) + .st-row:not(.st-phone-row)::before { content: ""; position: absolute; top: 0; left: 16px; right: 0; height: .5px; background: rgba(60, 60, 67, .18); }
html[data-layout="phone"] body#elthosApp .st-phone-row .st-phone-icon { flex: none; width: 22px; height: 20px; background: currentColor; }
html[data-layout="phone"] body#elthosApp .st-phone-row .st-row-title { flex: 1 1 auto; min-width: 0; color: inherit !important; font: 400 16px/21px -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif !important; }
html[data-layout="phone"] body#elthosApp .st-phone-row .st-value { flex: 0 1 auto; min-width: 0; max-width: 58%; overflow: hidden; color: #67676b !important; font: 400 15px/20px -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif !important; white-space: nowrap; text-overflow: ellipsis; }
html[data-layout="phone"] body#elthosApp .st-phone-row .st-phone-chevron { flex: none; width: 13px; height: 13px; background: #8a8a8e; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 5.5 15.5 12 9 18.5'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 5.5 15.5 12 9 18.5'/%3E%3C/svg%3E") center / contain no-repeat; }
html[data-layout="phone"] body#elthosApp .st-phone-row.is-danger { color: #c4261b !important; }
html[data-layout="phone"] body#elthosApp .st-phone-row .st-phone-icon[data-icon="person"] { -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='3.6'/%3E%3Cpath d='M5 20c.8-3.6 3.5-5.5 7-5.5s6.2 1.9 7 5.5'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='3.6'/%3E%3Cpath d='M5 20c.8-3.6 3.5-5.5 7-5.5s6.2 1.9 7 5.5'/%3E%3C/svg%3E") center / contain no-repeat; }
html[data-layout="phone"] body#elthosApp .st-phone-row .st-phone-icon[data-icon="envelope"] { -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3.5' y='5.5' width='17' height='13' rx='2'/%3E%3Cpath d='m4 7 8 6 8-6'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3.5' y='5.5' width='17' height='13' rx='2'/%3E%3Cpath d='m4 7 8 6 8-6'/%3E%3C/svg%3E") center / contain no-repeat; }
html[data-layout="phone"] body#elthosApp .st-phone-row .st-phone-icon[data-icon="creditcard"] { -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5.5' width='18' height='13' rx='2'/%3E%3Cpath d='M3 10h18M7 15h3'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5.5' width='18' height='13' rx='2'/%3E%3Cpath d='M3 10h18M7 15h3'/%3E%3C/svg%3E") center / contain no-repeat; }
html[data-layout="phone"] body#elthosApp .st-phone-row .st-phone-icon[data-icon="chart"] { -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 20V12M10 20V6M15 20v-9M20 20V9'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 20V12M10 20V6M15 20v-9M20 20V9'/%3E%3C/svg%3E") center / contain no-repeat; }
html[data-layout="phone"] body#elthosApp .st-phone-row .st-phone-icon[data-icon="key"] { -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='8' cy='12' r='3.5'/%3E%3Cpath d='M11.5 12H20M17 12v3M20 12v2.5'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='8' cy='12' r='3.5'/%3E%3Cpath d='M11.5 12H20M17 12v3M20 12v2.5'/%3E%3C/svg%3E") center / contain no-repeat; }
html[data-layout="phone"] body#elthosApp .st-phone-row .st-phone-icon[data-icon="hand"] { -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 12V6.5a1.5 1.5 0 0 1 3 0V11M11 10V5a1.5 1.5 0 0 1 3 0v6M14 10.5V6.5a1.5 1.5 0 0 1 3 0V14c0 3.5-2.5 6-6 6-2.6 0-4.3-1.3-5.6-3.6L4 13.5a1.4 1.4 0 0 1 2.4-1.5L8 14'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 12V6.5a1.5 1.5 0 0 1 3 0V11M11 10V5a1.5 1.5 0 0 1 3 0v6M14 10.5V6.5a1.5 1.5 0 0 1 3 0V14c0 3.5-2.5 6-6 6-2.6 0-4.3-1.3-5.6-3.6L4 13.5a1.4 1.4 0 0 1 2.4-1.5L8 14'/%3E%3C/svg%3E") center / contain no-repeat; }
html[data-layout="phone"] body#elthosApp .st-phone-row .st-phone-icon[data-icon="globe"] { -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='8.5'/%3E%3Cpath d='M3.5 12h17M12 3.5c2.4 2.4 3.5 5.3 3.5 8.5s-1.1 6.1-3.5 8.5c-2.4-2.4-3.5-5.3-3.5-8.5S9.6 5.9 12 3.5Z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='8.5'/%3E%3Cpath d='M3.5 12h17M12 3.5c2.4 2.4 3.5 5.3 3.5 8.5s-1.1 6.1-3.5 8.5c-2.4-2.4-3.5-5.3-3.5-8.5S9.6 5.9 12 3.5Z'/%3E%3C/svg%3E") center / contain no-repeat; }
html[data-layout="phone"] body#elthosApp .st-phone-row .st-phone-icon[data-icon="bell"] { -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 16.5V11a6 6 0 0 1 12 0v5.5l1.5 1.6h-15Z'/%3E%3Cpath d='M10 20.5a2 2 0 0 0 4 0'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 16.5V11a6 6 0 0 1 12 0v5.5l1.5 1.6h-15Z'/%3E%3Cpath d='M10 20.5a2 2 0 0 0 4 0'/%3E%3C/svg%3E") center / contain no-repeat; }
html[data-layout="phone"] body#elthosApp .st-phone-row .st-phone-icon[data-icon="calendar"] { -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3.5' y='5' width='17' height='15.5' rx='2.5'/%3E%3Cpath d='M3.5 9.5h17M8 3v4M16 3v4'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3.5' y='5' width='17' height='15.5' rx='2.5'/%3E%3Cpath d='M3.5 9.5h17M8 3v4M16 3v4'/%3E%3C/svg%3E") center / contain no-repeat; }
html[data-layout="phone"] body#elthosApp .st-phone-row .st-phone-icon[data-icon="share"] { -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 14V3.5M8 7l4-3.5L16 7'/%3E%3Cpath d='M6 11H5v9.5h14V11h-1'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 14V3.5M8 7l4-3.5L16 7'/%3E%3Cpath d='M6 11H5v9.5h14V11h-1'/%3E%3C/svg%3E") center / contain no-repeat; }
html[data-layout="phone"] body#elthosApp .st-phone-row .st-phone-icon[data-icon="question"] { -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='8.5'/%3E%3Cpath d='M9.5 9.5a2.5 2.5 0 1 1 3.5 2.3c-.7.3-1 .9-1 1.7M12 16.8v.2'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='8.5'/%3E%3Cpath d='M9.5 9.5a2.5 2.5 0 1 1 3.5 2.3c-.7.3-1 .9-1 1.7M12 16.8v.2'/%3E%3C/svg%3E") center / contain no-repeat; }
html[data-layout="phone"] body#elthosApp .st-phone-row .st-phone-icon[data-icon="doc"] { -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 3h7l5 5v12a1 1 0 0 1-1 1H7a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1Z'/%3E%3Cpath d='M14 3v5h5M9 13h7M9 17h7'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 3h7l5 5v12a1 1 0 0 1-1 1H7a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1Z'/%3E%3Cpath d='M14 3v5h5M9 13h7M9 17h7'/%3E%3C/svg%3E") center / contain no-repeat; }
html[data-layout="phone"] body#elthosApp .st-phone-row .st-phone-icon[data-icon="signout"] { -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 4H6.5A1.5 1.5 0 0 0 5 5.5v13A1.5 1.5 0 0 0 6.5 20H14M10 12h10M17 8.5l3.5 3.5-3.5 3.5'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 4H6.5A1.5 1.5 0 0 0 5 5.5v13A1.5 1.5 0 0 0 6.5 20H14M10 12h10M17 8.5l3.5 3.5-3.5 3.5'/%3E%3C/svg%3E") center / contain no-repeat; }
html[data-layout="phone"] body#elthosApp .st-phone-row .st-phone-icon[data-icon="trash"] { -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4.5 7h15M9.5 7V4.5h5V7M6.5 7l1 13h9l1-13M10 11v6M14 11v6'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4.5 7h15M9.5 7V4.5h5V7M6.5 7l1 13h9l1-13M10 11v6M14 11v6'/%3E%3C/svg%3E") center / contain no-repeat; }
html[data-layout="phone"] body#elthosApp .account-shell #accountCloseButton:not(#phoneNone) { background: #e6e7de !important; box-shadow: none !important; }
html[data-layout="phone"] body#elthosApp .account-shell #accountCloseButton:not(#phoneNone)::after { content: none !important; display: none !important; }
html[data-layout="phone"] body#elthosApp .account-shell #accountCloseButton:not(#phoneNone)::before { content: "" !important; position: static !important; display: block !important; width: 16px !important; height: 16px !important; transform: none !important; background: #000 !important; }
html[data-layout="phone"] body#elthosApp .account-shell,
html[data-layout="phone"] body#elthosApp .account-shell .account-settings-main,
html[data-layout="phone"] body#elthosApp .account-shell #accountDetailList { background: #fafbf6 !important; }
html[data-layout="phone"] body#elthosApp .account-shell #accountCloseButton:not(#phoneNone) { display: grid !important; place-items: center !important; width: 38px !important; height: 38px !important; padding: 0 !important; line-height: 0 !important; }
html[data-layout="phone"] body#elthosApp .account-shell #accountCloseButton:not(#phoneNone)::before { margin: 0 !important; inset: auto !important; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 5.5 8.5 12l6.5 6.5'/%3E%3C/svg%3E") center / 16px 16px no-repeat !important; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 5.5 8.5 12l6.5 6.5'/%3E%3C/svg%3E") center / 16px 16px no-repeat !important; }
html[data-layout="phone"] body#elthosApp .account-shell #accountCloseButton:not(#phoneNone) {
  background: #e6e7de url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 5.5 8.5 12l6.5 6.5'/%3E%3C/svg%3E") center / 16px 16px no-repeat !important;
  width: 38px !important; height: 38px !important; align-self: center !important;
}
html[data-layout="phone"] body#elthosApp .account-shell #accountCloseButton:not(#phoneNone)::before { content: none !important; display: none !important; }

/* No scrollbars in the phone layout (the iPhone app hides its scroll
   indicators); a desktop browser previewing the phone layout drew a grey bar. */
html[data-layout="phone"],
html[data-layout="phone"] * { scrollbar-width: none; }
html[data-layout="phone"] ::-webkit-scrollbar { display: none; width: 0; height: 0; }


/* Notifications as the iPhone's NotificationsView (2026-11-10): back circle and
   "Mark all read" pill on top, "Notifications" 30 bold, then one stone card of
   rows (36 glyph circle with a blue dot when unread, title 15.5, "11h ago",
   detail 14). */
html[data-layout="phone"] body#elthosApp #notificationPanel:not(#phoneNone):not([hidden]) { display: block !important; overflow-y: auto !important; padding: calc(6px + env(safe-area-inset-top, 0px)) 20px calc(24px + env(safe-area-inset-bottom, 0px)) !important; }
html[data-layout="phone"] body#elthosApp #notificationPanel:not(#phoneNone) .notification-panel-head {
  display: grid !important; grid-template-columns: auto minmax(0, 1fr) auto !important; grid-template-rows: 52px auto !important; align-items: center !important;
  min-height: 0 !important; margin: 0 !important; padding: 0 !important; border: 0 !important; background: none !important;
}
html[data-layout="phone"] body#elthosApp #notificationPanel:not(#phoneNone) .notification-panel-head > div { display: contents !important; }
html[data-layout="phone"] body#elthosApp #notificationPanel:not(#phoneNone) .notification-panel-head h2 { grid-column: 1 / -1 !important; grid-row: 2 !important; margin: 6px 0 16px !important; color: #000 !important; font: 700 30px/36px -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif !important; letter-spacing: -.4px !important; }
html[data-layout="phone"] body#elthosApp #notificationPanel:not(#phoneNone) .notification-panel-head [data-notification-settings] { display: none !important; }
html[data-layout="phone"] body#elthosApp #notificationPanel:not(#phoneNone) .notification-panel-head [data-notification-close] {
  grid-column: 1 !important; grid-row: 1 !important; width: 38px !important; height: 38px !important; min-height: 0 !important; padding: 0 !important;
  border: 0 !important; border-radius: 50% !important; color: transparent !important; font-size: 0 !important;
  background: #e6e7de url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 5.5 8.5 12l6.5 6.5'/%3E%3C/svg%3E") center / 16px 16px no-repeat !important;
}
html[data-layout="phone"] body#elthosApp #notificationPanel:not(#phoneNone) .notification-panel-head [data-notification-read-all] {
  grid-column: 3 !important; grid-row: 1 !important; height: 38px !important; min-height: 0 !important; padding: 0 14px !important;
  border: 0 !important; border-radius: 19px !important; background: #e6e7de !important; color: #000 !important; font: 500 14px/1 -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif !important;
}
html[data-layout="phone"] body#elthosApp #notificationPanel:not(#phoneNone) .notification-list { overflow: hidden !important; margin: 0 !important; padding: 0 !important; border-radius: 18px !important; background: #eff0e8 !important; }
html[data-layout="phone"] body#elthosApp #notificationPanel:not(#phoneNone) .notification-row {
  position: relative !important; display: grid !important; grid-template-columns: 36px minmax(0, 1fr) auto !important; column-gap: 12px !important; align-items: start !important;
  width: 100% !important; margin: 0 !important; padding: 13px 16px !important; border: 0 !important; border-radius: 0 !important; background: none !important; text-align: left !important; color: #000 !important;
}
html[data-layout="phone"] body#elthosApp #notificationPanel:not(#phoneNone) .notification-row + .notification-row { background: linear-gradient(#e2e3da, #e2e3da) 64px 0 / calc(100% - 64px) .5px no-repeat !important; }
html[data-layout="phone"] body#elthosApp #notificationPanel:not(#phoneNone) .notification-row-dot { display: none !important; }
html[data-layout="phone"] body#elthosApp #notificationPanel:not(#phoneNone) .notification-row::before { content: ""; grid-column: 1; grid-row: 1; width: 36px; height: 36px; border-radius: 50%; background: #e6e7de; }
html[data-layout="phone"] body#elthosApp #notificationPanel:not(#phoneNone) .notification-row::after { content: ""; position: absolute; left: 16px; top: 13px; width: 36px; height: 36px; background: #000; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 16.5V11a6 6 0 0 1 12 0v5.5l1.5 1.6h-15Z'/%3E%3Cpath d='M10 20.5a2 2 0 0 0 4 0'/%3E%3C/svg%3E") center / 17px 17px no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 16.5V11a6 6 0 0 1 12 0v5.5l1.5 1.6h-15Z'/%3E%3Cpath d='M10 20.5a2 2 0 0 0 4 0'/%3E%3C/svg%3E") center / 17px 17px no-repeat; pointer-events: none; }
html[data-layout="phone"] body#elthosApp #notificationPanel:not(#phoneNone) .notification-row.is-unread .notification-row-copy::before { content: ""; position: absolute; left: 43px; top: 12px; width: 10px; height: 10px; box-sizing: border-box; border: 2px solid #eff0e8; border-radius: 50%; background: #0a7aff; }
html[data-layout="phone"] body#elthosApp #notificationPanel:not(#phoneNone) .notification-row-copy { grid-column: 2 !important; display: grid !important; gap: 3px !important; min-width: 0 !important; padding-top: 1px !important; }
html[data-layout="phone"] body#elthosApp #notificationPanel:not(#phoneNone) .notification-row-copy strong { overflow: hidden; color: #000 !important; font: 400 15.5px/20px -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif !important; white-space: nowrap; text-overflow: ellipsis; }
html[data-layout="phone"] body#elthosApp #notificationPanel:not(#phoneNone) .notification-row.is-unread .notification-row-copy strong { font-weight: 600 !important; }
html[data-layout="phone"] body#elthosApp #notificationPanel:not(#phoneNone) .notification-row-copy span { display: -webkit-box !important; overflow: hidden; -webkit-line-clamp: 2; -webkit-box-orient: vertical; color: #67676b !important; font: 400 14px/18px -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif !important; }
html[data-layout="phone"] body#elthosApp #notificationPanel:not(#phoneNone) .notification-row time { grid-column: 3 !important; padding-top: 3px; color: #67676b !important; font: 400 12.5px/16px -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif !important; white-space: nowrap; }
html[data-layout="phone"] body#elthosApp #notificationPanel:not(#phoneNone) .notification-empty { margin: 120px 0 0 !important; color: #67676b !important; font: 400 15px/20px -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif !important; text-align: center !important; }
html[data-layout="phone"] body#elthosApp #notificationPanel:not(#phoneNone) .notification-row[data-kind="share"]::after { -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='10' cy='8' r='3.4'/%3E%3Cpath d='M4 19.5c.7-3.3 3-5 6-5 1.3 0 2.5.3 3.4.9'/%3E%3Ccircle cx='17.5' cy='17' r='3.6'/%3E%3Cpath d='M17.5 15.4v3.2M15.9 17h3.2'/%3E%3C/svg%3E") center / 17px 17px no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='10' cy='8' r='3.4'/%3E%3Cpath d='M4 19.5c.7-3.3 3-5 6-5 1.3 0 2.5.3 3.4.9'/%3E%3Ccircle cx='17.5' cy='17' r='3.6'/%3E%3Cpath d='M17.5 15.4v3.2M15.9 17h3.2'/%3E%3C/svg%3E") center / 17px 17px no-repeat; }
html[data-layout="phone"] body#elthosApp #notificationPanel:not(#phoneNone) .notification-row[data-kind="ask"]::after { -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 5.5h14a1.5 1.5 0 0 1 1.5 1.5v8a1.5 1.5 0 0 1-1.5 1.5h-7l-4.5 3.5v-3.5H5A1.5 1.5 0 0 1 3.5 15V7A1.5 1.5 0 0 1 5 5.5Z'/%3E%3Cpath d='M10.2 9.4a1.9 1.9 0 1 1 2.6 1.8c-.5.2-.8.6-.8 1.1M12 13.8v.1'/%3E%3C/svg%3E") center / 17px 17px no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 5.5h14a1.5 1.5 0 0 1 1.5 1.5v8a1.5 1.5 0 0 1-1.5 1.5h-7l-4.5 3.5v-3.5H5A1.5 1.5 0 0 1 3.5 15V7A1.5 1.5 0 0 1 5 5.5Z'/%3E%3Cpath d='M10.2 9.4a1.9 1.9 0 1 1 2.6 1.8c-.5.2-.8.6-.8 1.1M12 13.8v.1'/%3E%3C/svg%3E") center / 17px 17px no-repeat; }
html[data-layout="phone"] body#elthosApp #notificationPanel:not(#phoneNone) .notification-row[data-kind="answer"]::after { -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10 6 4 12l6 6v-3.6c4.4 0 7.4 1.3 10 4.6-.8-5-3.6-8.9-10-9.6Z'/%3E%3C/svg%3E") center / 17px 17px no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10 6 4 12l6 6v-3.6c4.4 0 7.4 1.3 10 4.6-.8-5-3.6-8.9-10-9.6Z'/%3E%3C/svg%3E") center / 17px 17px no-repeat; }
html[data-layout="phone"] body#elthosApp #notificationPanel:not(#phoneNone) .notification-row[data-kind="task-assigned"]::after { -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='8.5'/%3E%3Cpath d='m8.3 12.2 2.5 2.5 5-5.2'/%3E%3C/svg%3E") center / 17px 17px no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='8.5'/%3E%3Cpath d='m8.3 12.2 2.5 2.5 5-5.2'/%3E%3C/svg%3E") center / 17px 17px no-repeat; }
html[data-layout="phone"] body#elthosApp #notificationPanel:not(#phoneNone) .notification-row[data-kind="task-due"]::after { -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='8.5'/%3E%3Cpath d='m8.3 12.2 2.5 2.5 5-5.2'/%3E%3C/svg%3E") center / 17px 17px no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='8.5'/%3E%3Cpath d='m8.3 12.2 2.5 2.5 5-5.2'/%3E%3C/svg%3E") center / 17px 17px no-repeat; }
html[data-layout="phone"] body#elthosApp #notificationPanel:not(#phoneNone) .notification-row[data-kind="notes-ready"]::after { -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 3h7l5 5v12a1 1 0 0 1-1 1H7a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1Z'/%3E%3Cpath d='M14 3v5h5M9 13h7M9 17h7'/%3E%3C/svg%3E") center / 17px 17px no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 3h7l5 5v12a1 1 0 0 1-1 1H7a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1Z'/%3E%3Cpath d='M14 3v5h5M9 13h7M9 17h7'/%3E%3C/svg%3E") center / 17px 17px no-repeat; }
html[data-layout="phone"] body#elthosApp #notificationPanel:not(#phoneNone) .notification-row[data-kind="notes-failed"]::after { -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 4 3 19.5h18Z'/%3E%3Cpath d='M12 10v4.5M12 17.2v.1'/%3E%3C/svg%3E") center / 17px 17px no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 4 3 19.5h18Z'/%3E%3Cpath d='M12 10v4.5M12 17.2v.1'/%3E%3C/svg%3E") center / 17px 17px no-repeat; }
html[data-layout="phone"] body#elthosApp #notificationPanel:not(#phoneNone) .notification-row[data-kind="meeting-soon"]::after { -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3.5' y='5' width='17' height='15.5' rx='2.5'/%3E%3Cpath d='M3.5 9.5h17M8 3v4M16 3v4'/%3E%3C/svg%3E") center / 17px 17px no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3.5' y='5' width='17' height='15.5' rx='2.5'/%3E%3Cpath d='M3.5 9.5h17M8 3v4M16 3v4'/%3E%3C/svg%3E") center / 17px 17px no-repeat; }
html[data-layout="phone"] body#elthosApp #notificationPanel:not(#phoneNone) .notification-row[data-kind="usage"]::after { -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 20V12M10 20V6M15 20v-9M20 20V9'/%3E%3C/svg%3E") center / 17px 17px no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 20V12M10 20V6M15 20v-9M20 20V9'/%3E%3C/svg%3E") center / 17px 17px no-repeat; }
html[data-layout="phone"] body#elthosApp #notificationPanel:not(#phoneNone) .notification-list:has(.notification-empty) { background: none !important; }

/* Content language: a bottom sheet on phones (the iPhone's language sheet),
   not a dropdown under the top bar. Same buttons and choices. */
html[data-layout="phone"] body#elthosApp .language-menu:not(#phoneNone) {
  position: fixed !important; inset: auto 0 0 0 !important; left: 0 !important; top: auto !important; z-index: 1300 !important;
  width: auto !important; max-width: none !important; max-height: 72dvh !important; overflow-y: auto !important; box-sizing: border-box !important;
  margin: 0 !important; padding: 22px 16px calc(20px + env(safe-area-inset-bottom, 0px)) !important;
  border: 0 !important; border-radius: 20px 20px 0 0 !important; background: #fafbf6 !important;
  box-shadow: 0 -8px 40px rgba(0, 0, 0, .16) !important; opacity: 1 !important; transform: none !important;
  animation: phoneSheetUp .28s cubic-bezier(.2, .8, .2, 1) both;
}
html[data-layout="phone"] body#elthosApp .language-menu:not(#phoneNone)::before { content: ""; position: absolute; top: 6px; left: 50%; width: 36px; height: 5px; margin-left: -18px; border-radius: 3px; background: rgba(60, 60, 67, .3); }
html[data-layout="phone"] body#elthosApp .language-menu:not(#phoneNone) .language-menu-title { margin: 4px 4px 10px !important; color: #000 !important; font: 600 17px/22px -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif !important; text-align: center !important; }
html[data-layout="phone"] body#elthosApp .language-menu:not(#phoneNone) > button { min-height: 44px !important; padding: 0 12px !important; border-radius: 12px !important; font-size: 17px !important; color: #000 !important; }
html[data-layout="phone"] body#elthosApp .language-menu:not(#phoneNone) > button[aria-checked="true"] { background: #eff0e8 !important; }


/* Calendar rows as the iPhone's AccountCalendarRow: the Google / Microsoft
   mark, title 16, status 13 (green when connected), "Disconnect" as a small
   link under it when a reconnect is needed, one button on the right (black for
   Connect / Reconnect, grey for Disconnect). Same buttons, laid out again. */
html[data-layout="phone"] body#elthosApp .st-page .st-group > .st-calendar-row:not(#phoneNone) {
  display: grid !important; grid-template-columns: 22px minmax(0, 1fr) auto !important; column-gap: 14px !important; row-gap: 2px !important;
  align-items: center !important; min-height: 60px !important; padding: 10px 16px !important;
}
html[data-layout="phone"] body#elthosApp .st-page .st-group > .st-calendar-row:not(#phoneNone) .st-calendar-icon { grid-column: 1 !important; grid-row: 1 / span 3 !important; width: 22px !important; height: 22px !important; margin: 0 !important; padding: 0 !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important; color: transparent !important; font-size: 0 !important; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Cpath fill='%23FFC107' d='M43.6 20.5H42V20H24v8h11.3C33.7 32.7 29.2 36 24 36c-6.6 0-12-5.4-12-12s5.4-12 12-12c3.1 0 5.8 1.2 7.9 3.1l5.7-5.7C34 6.1 29.3 4 24 4 12.9 4 4 12.9 4 24s8.9 20 20 20 20-8.9 20-20c0-1.3-.1-2.4-.4-3.5z'/%3E%3Cpath fill='%23FF3D00' d='m6.3 14.7 6.6 4.8C14.7 15.1 19 12 24 12c3.1 0 5.8 1.2 7.9 3.1l5.7-5.7C34 6.1 29.3 4 24 4 16.3 4 9.7 8.3 6.3 14.7z'/%3E%3Cpath fill='%234CAF50' d='M24 44c5.2 0 9.9-2 13.4-5.2l-6.2-5.2C29.2 35.1 26.7 36 24 36c-5.2 0-9.6-3.3-11.3-8l-6.5 5C9.5 39.6 16.2 44 24 44z'/%3E%3Cpath fill='%231976D2' d='M43.6 20.5H42V20H24v8h11.3c-.8 2.2-2.2 4.2-4.1 5.6l6.2 5.2C37 39.2 44 34 44 24c0-1.3-.1-2.4-.4-3.5z'/%3E%3C/svg%3E") center / 18px 18px no-repeat !important; }
html[data-layout="phone"] body#elthosApp .st-page .st-group > .st-calendar-row:not(#phoneNone) .st-calendar-icon[data-provider="outlook"], html[data-layout="phone"] body#elthosApp .st-page .st-group > .st-calendar-row:not(#phoneNone) .st-calendar-icon[data-provider="microsoft"] { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%23F25022' d='M0 0h7.5v7.5H0z'/%3E%3Cpath fill='%237FBA00' d='M8.5 0H16v7.5H8.5z'/%3E%3Cpath fill='%2300A4EF' d='M0 8.5h7.5V16H0z'/%3E%3Cpath fill='%23FFB900' d='M8.5 8.5H16V16H8.5z'/%3E%3C/svg%3E") center / 16px 16px no-repeat !important; }
html[data-layout="phone"] body#elthosApp .st-page .st-group > .st-calendar-row:not(#phoneNone) .st-row-copy { grid-column: 2 !important; grid-row: 1 !important; display: grid !important; gap: 2px !important; min-width: 0 !important; }
html[data-layout="phone"] body#elthosApp .st-page .st-group > .st-calendar-row:not(#phoneNone) .st-row-copy .st-row-title { font: 400 16px/21px -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif !important; color: #000 !important; }
html[data-layout="phone"] body#elthosApp .st-page .st-group > .st-calendar-row:not(#phoneNone) .st-row-copy .st-row-detail { overflow: hidden !important; font: 400 13px/17px -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif !important; color: #67676b !important; white-space: nowrap !important; text-overflow: ellipsis !important; }
html[data-layout="phone"] body#elthosApp .st-page .st-group > .st-calendar-row:not(#phoneNone) .st-row-copy .st-row-detail.is-good { color: #1d6b33 !important; }
html[data-layout="phone"] body#elthosApp .st-page .st-group > .st-calendar-row:not(#phoneNone) .st-row-control { display: contents !important; }
html[data-layout="phone"] body#elthosApp .st-page .st-group > .st-calendar-row:not(#phoneNone) [data-st-calendar-disconnect] { grid-column: 2 !important; grid-row: 2 !important; justify-self: start !important; min-height: 0 !important; height: auto !important; margin: 2px 0 0 !important; padding: 0 !important; border: 0 !important; background: none !important; color: #000 !important; font: 600 13px/17px -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif !important; }
html[data-layout="phone"] body#elthosApp .st-page .st-group > .st-calendar-row:not(#phoneNone) [data-calendar-provider] { grid-column: 3 !important; grid-row: 1 / span 3 !important; display: inline-flex !important; align-items: center !important; height: 32px !important; min-height: 0 !important; padding: 0 14px !important; border: 0 !important; border-radius: 16px !important; background: #e6e7de !important; color: #000 !important; font: 600 13.5px/1 -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif !important; text-decoration: none !important; white-space: nowrap !important; }
html[data-layout="phone"] body#elthosApp .st-page .st-group > .st-calendar-row:not(#phoneNone) [data-calendar-provider].is-primary, html[data-layout="phone"] body#elthosApp .st-page .st-group > .st-calendar-row:not(#phoneNone) .st-row-control:has([data-st-calendar-disconnect]) [data-calendar-provider] { background: #000 !important; color: #fff !important; }


/* Tab bar, closer to the iPhone (2026-11-10): the system glyphs at their size
   (house with door and chimney, page with lines, folder; filled when chosen),
   labels 11, and a light press, over a soft paper blur. */
html[data-layout="phone"] body#elthosApp #phoneTabBar { padding-top: 8px !important; background: rgba(250, 251, 246, .94) !important; -webkit-backdrop-filter: saturate(1.4) blur(18px); backdrop-filter: saturate(1.4) blur(18px); }
html[data-layout="phone"] body#elthosApp #phoneTabBar > button { gap: 3px !important; min-height: 50px !important; font: 500 11px/13px -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif !important; letter-spacing: .1px !important; transition: transform .12s ease, opacity .12s ease; }
html[data-layout="phone"] body#elthosApp #phoneTabBar > button:active { transform: scale(.94); opacity: .7; }
html[data-layout="phone"] body#elthosApp #phoneTabBar > button.is-selected { font-weight: 600 !important; }
html[data-layout="phone"] body#elthosApp #phoneTabBar .phone-tab-icon { width: 28px !important; height: 26px !important; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.3 10.9 12 3.6l8.7 7.3M5.2 9.3V20h4.6v-5.6h4.4V20h4.6V9.3M16.6 5.9V4.4h1.8v3'/%3E%3C/svg%3E") center / 25px 25px no-repeat !important; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.3 10.9 12 3.6l8.7 7.3M5.2 9.3V20h4.6v-5.6h4.4V20h4.6V9.3M16.6 5.9V4.4h1.8v3'/%3E%3C/svg%3E") center / 25px 25px no-repeat !important; }
html[data-layout="phone"] body#elthosApp #phoneTabBar [data-phone-tab="home"].is-selected .phone-tab-icon { -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M12 3 2.9 10.6a.9.9 0 0 0 1.2 1.4l.6-.5v8.7c0 .6.4 1 1 1h4.1v-6h4.4v6h4.1c.6 0 1-.4 1-1v-8.7l.6.5a.9.9 0 0 0 1.2-1.4l-2.8-2.3V4.6a.6.6 0 0 0-.6-.6h-1.3a.6.6 0 0 0-.6.6v1.9Z'/%3E%3C/svg%3E") center / 25px 25px no-repeat !important; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M12 3 2.9 10.6a.9.9 0 0 0 1.2 1.4l.6-.5v8.7c0 .6.4 1 1 1h4.1v-6h4.4v6h4.1c.6 0 1-.4 1-1v-8.7l.6.5a.9.9 0 0 0 1.2-1.4l-2.8-2.3V4.6a.6.6 0 0 0-.6-.6h-1.3a.6.6 0 0 0-.6.6v1.9Z'/%3E%3C/svg%3E") center / 25px 25px no-repeat !important; }
html[data-layout="phone"] body#elthosApp #phoneTabBar [data-phone-tab="sessions"] .phone-tab-icon { -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6.6 3h7l5.4 5.4v11A1.6 1.6 0 0 1 17.4 21H6.6A1.6 1.6 0 0 1 5 19.4V4.6A1.6 1.6 0 0 1 6.6 3Z'/%3E%3Cpath d='M13.4 3.2v4.3c0 .6.4 1 1 1h4.4M8.6 12.6h6.8M8.6 15.6h6.8M8.6 18.4h4.2'/%3E%3C/svg%3E") center / 25px 25px no-repeat !important; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6.6 3h7l5.4 5.4v11A1.6 1.6 0 0 1 17.4 21H6.6A1.6 1.6 0 0 1 5 19.4V4.6A1.6 1.6 0 0 1 6.6 3Z'/%3E%3Cpath d='M13.4 3.2v4.3c0 .6.4 1 1 1h4.4M8.6 12.6h6.8M8.6 15.6h6.8M8.6 18.4h4.2'/%3E%3C/svg%3E") center / 25px 25px no-repeat !important; }
html[data-layout="phone"] body#elthosApp #phoneTabBar [data-phone-tab="sessions"].is-selected .phone-tab-icon { -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' fill-rule='evenodd' d='M6.6 2.4h6.3v5.1c0 .9.7 1.6 1.6 1.6h5.1v10.3c0 1.2-1 2.2-2.2 2.2H6.6c-1.2 0-2.2-1-2.2-2.2V4.6c0-1.2 1-2.2 2.2-2.2Zm7.5.4 5.4 5.3h-4.5a.9.9 0 0 1-.9-.9ZM8.6 11.8a.8.8 0 0 0 0 1.6h6.8a.8.8 0 0 0 0-1.6Zm0 3a.8.8 0 0 0 0 1.6h6.8a.8.8 0 0 0 0-1.6Zm0 2.8a.8.8 0 0 0 0 1.6h4.2a.8.8 0 0 0 0-1.6Z'/%3E%3C/svg%3E") center / 25px 25px no-repeat !important; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' fill-rule='evenodd' d='M6.6 2.4h6.3v5.1c0 .9.7 1.6 1.6 1.6h5.1v10.3c0 1.2-1 2.2-2.2 2.2H6.6c-1.2 0-2.2-1-2.2-2.2V4.6c0-1.2 1-2.2 2.2-2.2Zm7.5.4 5.4 5.3h-4.5a.9.9 0 0 1-.9-.9ZM8.6 11.8a.8.8 0 0 0 0 1.6h6.8a.8.8 0 0 0 0-1.6Zm0 3a.8.8 0 0 0 0 1.6h6.8a.8.8 0 0 0 0-1.6Zm0 2.8a.8.8 0 0 0 0 1.6h4.2a.8.8 0 0 0 0-1.6Z'/%3E%3C/svg%3E") center / 25px 25px no-repeat !important; }
html[data-layout="phone"] body#elthosApp #phoneTabBar [data-phone-tab="projects"] .phone-tab-icon { -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 7.2c0-1.1.9-2 2-2h4.2c.5 0 1 .2 1.3.6l1.4 1.6H19c1.1 0 2 .9 2 2v8.8c0 1.1-.9 2-2 2H5c-1.1 0-2-.9-2-2Z'/%3E%3C/svg%3E") center / 25px 25px no-repeat !important; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 7.2c0-1.1.9-2 2-2h4.2c.5 0 1 .2 1.3.6l1.4 1.6H19c1.1 0 2 .9 2 2v8.8c0 1.1-.9 2-2 2H5c-1.1 0-2-.9-2-2Z'/%3E%3C/svg%3E") center / 25px 25px no-repeat !important; }
html[data-layout="phone"] body#elthosApp #phoneTabBar [data-phone-tab="projects"].is-selected .phone-tab-icon { -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M2.4 7.2c0-1.4 1.2-2.6 2.6-2.6h4.2c.7 0 1.4.3 1.8.8l1.2 1.4H19c1.4 0 2.6 1.2 2.6 2.6v8.8c0 1.4-1.2 2.6-2.6 2.6H5c-1.4 0-2.6-1.2-2.6-2.6Z'/%3E%3C/svg%3E") center / 25px 25px no-repeat !important; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M2.4 7.2c0-1.4 1.2-2.6 2.6-2.6h4.2c.7 0 1.4.3 1.8.8l1.2 1.4H19c1.4 0 2.6 1.2 2.6 2.6v8.8c0 1.4-1.2 2.6-2.6 2.6H5c-1.4 0-2.6-1.2-2.6-2.6Z'/%3E%3C/svg%3E") center / 25px 25px no-repeat !important; }

/* Text boxes that sit inside a rounded composer (Tutor, Discussion) show no
   focus ring of their own: the base input:focus glow drew a blue box inside
   the pill while typing. Phones only. */
html[data-layout="phone"] body#elthosApp :is(.tutor-form, .discussion-composer) textarea:is(:focus, :focus-visible) {
  border-color: transparent !important;
  background: transparent !important;
  box-shadow: none !important;
}

/* Keyboard (2026-11-10): sheets with a text box (invite to a project or class,
   rename, share, speaker names, a teammate's ask, Find a meeting, members)
   sit above the iPhone keyboard. They were pinned to the bottom of the whole
   screen, so the keyboard covered the box and the button. Their bottom is the
   bottom of the visible space (the screen less --app-visible-height), which
   holds whether Safari shrinks the screen or only covers it. Phones only. */
html[data-layout="phone"] body#elthosApp #promptModal:not([hidden]),
html[data-layout="phone"] .share-dialog-backdrop:not(#phoneNone) {
  bottom: max(0px, calc(100% - var(--app-visible-height, 100%))) !important;
}
html[data-layout="phone"] body#elthosApp :is(#projectMembersDialog, #projectWorkDialog, dialog.handoff-dialog, dialog.weekly-dialog.phone-meeting-picker):not(#phoneNone)[open] {
  bottom: max(0px, calc(100% - var(--app-visible-height, 100%))) !important;
  max-height: calc(var(--app-visible-height, 100dvh) - env(safe-area-inset-top, 0px) - 12px) !important;
}
