/* Phone layout: a project, as the iPhone app shows it (2026-11-09).
   Only for html[data-layout="phone"] (phones and iPads), and not for class
   pages (.is-class-series), so the desktop layout never reads these rules.
   Values from ios-native ProjectDetailView.swift, NativeProjectContributions
   .swift and DesignSystem.swift, checked against iPhone screenshots (440 pt).
   The faint grey is #6a6a6f (the iPhone's #8e8e93 fails the contrast test). */

html[data-layout="phone"] body#elthosApp.project-detail-view:has(.project-shell:not(.is-class-series)) {
  --pj-paper: #fafbf6;
  --pj-stone: #eff0e8;
  --pj-chip: #e6e7de;
  --pj-line: #e2e3da;
  --pj-secondary: #67676b;
  --pj-faint: #6a6a6f;
  --pj-separator: rgba(60, 60, 67, .29);
  --pj-font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Segoe UI", sans-serif;
  background: var(--pj-paper) !important;
}
html[data-layout="phone"]:has(> body#elthosApp.project-detail-view .project-shell:not(.is-class-series)),
html[data-layout="phone"] body#elthosApp.project-detail-view:has(.project-shell:not(.is-class-series)) :is(.app-shell, .workspace) {
  background: #fafbf6 !important;
}
html[data-layout="phone"] body#elthosApp.project-detail-view .project-shell:not(.is-class-series) {
  background: var(--pj-paper) !important;
  font-family: var(--pj-font) !important;
  color: #000 !important;
}
/* Class pages keep their own layout: the moved tab strip stays out of them. */
html[data-layout="phone"] body#elthosApp .project-shell.is-class-series > nav.project-detail-tabs {
  display: none !important;
}

/* ---------- Top bar: back, the project name, Share and "⋯" (44 tall) ---------- */
html[data-layout="phone"] body#elthosApp.project-detail-view .project-shell:not(.is-class-series) > header.session-header {
  position: sticky !important;
  top: 0 !important;
  z-index: 30 !important;
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  gap: 0 !important;
  height: 44px !important;
  min-height: 44px !important;
  margin: 0 !important;
  padding: 0 12px !important;
  border: 0 !important;
  background: var(--pj-paper) !important;
  box-shadow: none !important;
}
html[data-layout="phone"] body#elthosApp.project-detail-view .project-shell:not(.is-class-series) > header.session-header::before {
  content: attr(data-phone-title);
  position: absolute;
  left: 110px;
  right: 110px;
  top: 0;
  height: 44px;
  display: block;
  overflow: hidden;
  color: #000;
  font: 600 15px/44px var(--pj-font);
  text-align: center;
  white-space: nowrap;
  text-overflow: ellipsis;
  pointer-events: none;
}
html[data-layout="phone"] body#elthosApp.project-detail-view .project-shell:not(.is-class-series) > header.session-header > :is(#researchMenu, div:not(.session-meta):not(#projectInfoPopover)),
html[data-layout="phone"] body#elthosApp.project-detail-view .project-shell:not(.is-class-series) > header.session-header :is(#projectHeaderMembers, #projectHeaderAdd, #projectAskButton) {
  display: none !important;
}
html[data-layout="phone"] body#elthosApp.project-detail-view .project-shell:not(.is-class-series) > header.session-header :is(#projectBackButton, #projectHeaderInvite, #projectInfoButton) {
  position: relative !important;
  flex: none !important;
  display: grid !important;
  place-items: center !important;
  width: 44px !important;
  height: 44px !important;
  min-width: 44px !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: none !important;
  box-shadow: none !important;
  color: #000 !important;
  font-size: 0 !important;
}
html[data-layout="phone"] body#elthosApp.project-detail-view .project-shell:not(.is-class-series) > header.session-header :is(#projectBackButton, #projectHeaderInvite, #projectInfoButton) > * {
  display: none !important;
}
html[data-layout="phone"] body#elthosApp.project-detail-view .project-shell:not(.is-class-series) > header.session-header :is(#projectBackButton, #projectHeaderInvite, #projectInfoButton)::before {
  content: "";
  width: 22px;
  height: 22px;
  background: currentColor;
}
html[data-layout="phone"] body#elthosApp.project-detail-view .project-shell:not(.is-class-series) > header.session-header #projectBackButton { order: 1; }
html[data-layout="phone"] body#elthosApp.project-detail-view .project-shell:not(.is-class-series) > header.session-header #projectBackButton::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.3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m15 4.5-7.5 7.5 7.5 7.5'/%3E%3C/svg%3E") center / 22px 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.3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m15 4.5-7.5 7.5 7.5 7.5'/%3E%3C/svg%3E") center / 22px no-repeat;
}
html[data-layout="phone"] body#elthosApp.project-detail-view .project-shell:not(.is-class-series) > header.session-header .session-meta {
  order: 2;
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  margin: 0 0 0 auto !important;
  padding: 0 !important;
}
html[data-layout="phone"] body#elthosApp.project-detail-view .project-shell:not(.is-class-series) > header.session-header .project-member-controls {
  display: flex !important;
  gap: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: none !important;
}
html[data-layout="phone"] body#elthosApp.project-detail-view .project-shell:not(.is-class-series) > header.session-header #projectHeaderInvite::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.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3.5v11M8 7.5l4-4 4 4M7.5 10.5H6.8A1.8 1.8 0 0 0 5 12.3v6.4a1.8 1.8 0 0 0 1.8 1.8h10.4a1.8 1.8 0 0 0 1.8-1.8v-6.4a1.8 1.8 0 0 0-1.8-1.8h-.7'/%3E%3C/svg%3E") center / 22px 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.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3.5v11M8 7.5l4-4 4 4M7.5 10.5H6.8A1.8 1.8 0 0 0 5 12.3v6.4a1.8 1.8 0 0 0 1.8 1.8h10.4a1.8 1.8 0 0 0 1.8-1.8v-6.4a1.8 1.8 0 0 0-1.8-1.8h-.7'/%3E%3C/svg%3E") center / 22px no-repeat;
}
html[data-layout="phone"] body#elthosApp.project-detail-view .project-shell:not(.is-class-series) > header.session-header #projectInfoButton { order: 3; margin-left: 8px !important; }
html[data-layout="phone"] body#elthosApp.project-detail-view .project-shell:not(.is-class-series) > header.session-header #projectInfoButton::before {
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='5' cy='12' r='2'/%3E%3Ccircle cx='12' cy='12' r='2'/%3E%3Ccircle cx='19' cy='12' r='2'/%3E%3C/svg%3E") center / 22px no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='5' cy='12' r='2'/%3E%3Ccircle cx='12' cy='12' r='2'/%3E%3Ccircle cx='19' cy='12' r='2'/%3E%3C/svg%3E") center / 22px no-repeat;
}

/* ---------- Tabs: underlined, 24 apart, inset 24, 15 pt ---------- */
html[data-layout="phone"] body#elthosApp.project-detail-view .project-shell:not(.is-class-series) > nav.project-detail-tabs {
  position: sticky !important;
  top: 44px !important;
  z-index: 29 !important;
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: flex-end !important;
  gap: 24px !important;
  width: auto !important;
  height: 43px !important;
  margin: 0 24px !important;
  padding: 0 !important;
  border: 0 !important;
  box-shadow: inset 0 -.5px 0 rgba(226, 227, 218, .9) !important;
  background: var(--pj-paper) !important;
  visibility: visible !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  scrollbar-width: none !important;
}
html[data-layout="phone"] body#elthosApp.project-detail-view .project-shell:not(.is-class-series) > nav.project-detail-tabs::-webkit-scrollbar { display: none !important; }
html[data-layout="phone"] body#elthosApp.project-detail-view .project-shell:not(.is-class-series) > nav.project-detail-tabs > .project-detail-tab {
  flex: none !important;
  display: block !important;
  width: auto !important;
  height: auto !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 12px 0 9px !important;
  border: 0 !important;
  border-bottom: 2px solid transparent !important;
  border-radius: 0 !important;
  background: none !important;
  box-shadow: none !important;
  color: var(--pj-secondary) !important;
  font: 400 15px/20px var(--pj-font) !important;
  white-space: nowrap !important;
  visibility: visible !important;
}
html[data-layout="phone"] body#elthosApp.project-detail-view .project-shell:not(.is-class-series) > nav.project-detail-tabs > .project-detail-tab[hidden] { display: none !important; }
html[data-layout="phone"] body#elthosApp.project-detail-view .project-shell:not(.is-class-series) > nav.project-detail-tabs > .project-detail-tab :is(svg, .tab-icon) { display: none !important; }
html[data-layout="phone"] body#elthosApp.project-detail-view .project-shell:not(.is-class-series) > nav.project-detail-tabs > .project-detail-tab::before,
html[data-layout="phone"] body#elthosApp.project-detail-view .project-shell:not(.is-class-series) > nav.project-detail-tabs > .project-detail-tab::after { content: none !important; }
html[data-layout="phone"] body#elthosApp.project-detail-view .project-shell:not(.is-class-series) > nav.project-detail-tabs > .project-detail-tab.active {
  border-bottom-color: #000 !important;
  color: #000 !important;
  font-weight: 600 !important;
}

/* ---------- Page: 20 in, 18 under the tabs; the icon tile and name ---------- */
html[data-layout="phone"] body#elthosApp.project-detail-view .project-shell:not(.is-class-series) > .project-detail-content {
  margin: 0 !important;
  padding: 18px 20px 120px !important;
  border: 0 !important;
  background: var(--pj-paper) !important;
  box-shadow: none !important;
}
/* Cards lose their web boxes: the iPhone draws these on the page itself. */
html[data-layout="phone"] body#elthosApp.project-detail-view .project-shell:not(.is-class-series) .project-detail-pane :is(.insight-card, .project-activity-card, .wp-page, .project-activity-layout) {
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: none !important;
  box-shadow: none !important;
}

/* ---------- Overview: Weekly progress ---------- */
html[data-layout="phone"] body#elthosApp.project-detail-view .project-shell:not(.is-class-series) .wp-page > .card-title-row {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 8px !important;
  margin: 0 0 12px !important;
  padding: 0 !important;
}
html[data-layout="phone"] body#elthosApp.project-detail-view .project-shell:not(.is-class-series) .wp-page > .card-title-row h3 {
  margin: 0 !important;
  color: #000 !important;
  font: 600 20px/25px var(--pj-font) !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}
html[data-layout="phone"] body#elthosApp.project-detail-view .project-shell:not(.is-class-series) .phone-add-meeting {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 7px 12px;
  border: .8px solid var(--pj-line);
  border-radius: 8px;
  background: none;
  box-shadow: none;
  color: #000;
  font: 500 13px/18px var(--pj-font);
  -webkit-tap-highlight-color: transparent;
}
html[data-layout="phone"] body#elthosApp.project-detail-view .project-shell:not(.is-class-series) .phone-add-meeting svg,
html[data-layout="phone"] body#elthosApp.project-detail-view .project-shell:not(.is-class-series) .phone-step-contribution svg {
  width: 13px;
  height: 13px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}
html[data-layout="phone"] body#elthosApp.project-detail-view .project-shell:not(.is-class-series) .wp-week {
  margin: 0 0 24px !important;
  padding: 0 !important;
  border: 0 !important;
  background: none !important;
  box-shadow: none !important;
}
html[data-layout="phone"] body#elthosApp.project-detail-view .project-shell:not(.is-class-series) .wp-week > summary {
  display: grid !important;
  grid-template-columns: 11px minmax(0, 1fr) !important;
  column-gap: 10px !important;
  row-gap: 3px !important;
  align-items: baseline !important;
  margin: 0 !important;
  padding: 8px 0 !important;
  border: 0 !important;
  background: none !important;
  list-style: none !important;
  cursor: pointer;
}
html[data-layout="phone"] body#elthosApp.project-detail-view .project-shell:not(.is-class-series) .wp-week > summary::-webkit-details-marker { display: none !important; }
html[data-layout="phone"] body#elthosApp.project-detail-view .project-shell:not(.is-class-series) .wp-week > summary::before {
  content: "" !important;
  grid-row: 1;
  align-self: center;
  width: 11px;
  height: 11px;
  margin: 0;
  border: 0;
  background: var(--pj-faint);
  -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='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 5 7 7-7 7'/%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='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 5 7 7-7 7'/%3E%3C/svg%3E") center / contain no-repeat;
  transform: none;
  transition: transform .15s ease-in-out;
}
html[data-layout="phone"] body#elthosApp.project-detail-view .project-shell:not(.is-class-series) .wp-week[open] > summary::before { transform: rotate(90deg); }
html[data-layout="phone"] body#elthosApp.project-detail-view .project-shell:not(.is-class-series) .wp-week-title {
  grid-column: 2;
  color: #000 !important;
  font: 600 16px/21px var(--pj-font) !important;
}
html[data-layout="phone"] body#elthosApp.project-detail-view .project-shell:not(.is-class-series) .wp-week-meta {
  grid-column: 2;
  color: var(--pj-faint) !important;
  font: 400 12px/16px var(--pj-font) !important;
}
html[data-layout="phone"] body#elthosApp.project-detail-view .project-shell:not(.is-class-series) .wp-week-body {
  display: grid !important;
  gap: 20px !important;
  margin: 0 !important;
  padding: 8px 0 4px !important;
  border: 0 !important;
}
html[data-layout="phone"] body#elthosApp.project-detail-view .project-shell:not(.is-class-series) .wp-section {
  display: grid !important;
  gap: 4px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
}
html[data-layout="phone"] body#elthosApp.project-detail-view .project-shell:not(.is-class-series) .wp-section > h4 {
  margin: 0 !important;
  color: var(--pj-secondary) !important;
  font: 600 13px/18px var(--pj-font) !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}
html[data-layout="phone"] body#elthosApp.project-detail-view .project-shell:not(.is-class-series) .wp-section > h4 .wp-count {
  margin-left: 6px !important;
  padding: 0 !important;
  background: none !important;
  color: var(--pj-faint) !important;
  font: 400 12px/16px var(--pj-font) !important;
}
html[data-layout="phone"] body#elthosApp.project-detail-view .project-shell:not(.is-class-series) .wp-list {
  display: grid !important;
  gap: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}
html[data-layout="phone"] body#elthosApp.project-detail-view .project-shell:not(.is-class-series) .wp-point {
  position: relative !important;
  margin: 0 !important;
  padding: 7px 56px 7px 0 !important;
  border: 0 !important;
  color: #000 !important;
  font: 400 15px/20px var(--pj-font) !important;
  list-style: none !important;
}
html[data-layout="phone"] body#elthosApp.project-detail-view .project-shell:not(.is-class-series) .wp-point::before,
html[data-layout="phone"] body#elthosApp.project-detail-view .project-shell:not(.is-class-series) .wp-point::marker { content: none !important; }
html[data-layout="phone"] body#elthosApp.project-detail-view .project-shell:not(.is-class-series) :is(.wp-point, .wp-step) .wp-text {
  margin: 0 !important;
  color: #000 !important;
  font: 400 15px/20px var(--pj-font) !important;
}
html[data-layout="phone"] body#elthosApp.project-detail-view .project-shell:not(.is-class-series) .wp-tag {
  display: inline !important;
  margin: 0 7px 0 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: none !important;
  color: #000 !important;
  font: 600 15px/20px var(--pj-font) !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}
html[data-layout="phone"] body#elthosApp.project-detail-view .project-shell:not(.is-class-series) .wp-tag.is-finding { color: #1659c7 !important; }
html[data-layout="phone"] body#elthosApp.project-detail-view .project-shell:not(.is-class-series) .wp-tag.is-blocker { color: #c0352b !important; }
html[data-layout="phone"] body#elthosApp.project-detail-view .project-shell:not(.is-class-series) .wp-tag:is(.is-done, .is-resolved) { color: #17733c !important; }
html[data-layout="phone"] body#elthosApp.project-detail-view .project-shell:not(.is-class-series) .wp-tag:is(.is-unresolved, .is-open, .is-question) { color: #8a4f00 !important; }
html[data-layout="phone"] body#elthosApp.project-detail-view .project-shell:not(.is-class-series) .wp-tag.is-explore { color: #6741c9 !important; }
/* The meeting date sits at the right of each point. */
html[data-layout="phone"] body#elthosApp.project-detail-view .project-shell:not(.is-class-series) .wp-point .wp-refs {
  position: absolute !important;
  top: 9px !important;
  right: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-end !important;
  gap: 2px !important;
  margin: 0 !important;
}
html[data-layout="phone"] body#elthosApp.project-detail-view .project-shell:not(.is-class-series) .wp-ref {
  display: inline-flex !important;
  align-items: center !important;
  min-height: 0 !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: none !important;
  box-shadow: none !important;
  color: var(--pj-faint) !important;
  font: 400 12px/16px var(--pj-font) !important;
  font-variant-numeric: tabular-nums;
  text-decoration: none !important;
}
html[data-layout="phone"] body#elthosApp.project-detail-view .project-shell:not(.is-class-series) .wp-ref::before { content: none !important; }
html[data-layout="phone"] body#elthosApp.project-detail-view .project-shell:not(.is-class-series) .wp-ref.is-mark:empty::after {
  content: "";
  width: 10px;
  height: 10px;
  background: var(--pj-faint);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M14 6h5v6c0 3-1.5 5-4.5 6l-.8-1.6c1.6-.7 2.4-1.8 2.5-3.4H14Zm-9 0h5v6c0 3-1.5 5-4.5 6l-.8-1.6C6.3 15.7 7.1 14.6 7.2 13H5Z'/%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'%3E%3Cpath d='M14 6h5v6c0 3-1.5 5-4.5 6l-.8-1.6c1.6-.7 2.4-1.8 2.5-3.4H14Zm-9 0h5v6c0 3-1.5 5-4.5 6l-.8-1.6C6.3 15.7 7.1 14.6 7.2 13H5Z'/%3E%3C/svg%3E") center / contain no-repeat;
}
html[data-layout="phone"] body#elthosApp.project-detail-view .project-shell:not(.is-class-series) .wp-link {
  justify-self: start !important;
  margin: 0 !important;
  padding: 6px 0 0 !important;
  border: 0 !important;
  background: none !important;
  box-shadow: none !important;
  color: #0a66d8 !important;
  font: 500 13px/18px var(--pj-font) !important;
  text-decoration: none !important;
}
/* "What changed": a card at #fafafb, radius 12, padding 14; Before / After. */
html[data-layout="phone"] body#elthosApp.project-detail-view .project-shell:not(.is-class-series) .wp-changes {
  display: grid !important;
  gap: 10px !important;
  margin: 4px 0 0 !important;
}
html[data-layout="phone"] body#elthosApp.project-detail-view .project-shell:not(.is-class-series) .wp-change {
  display: grid !important;
  gap: 8px !important;
  margin: 0 !important;
  padding: 14px !important;
  border: 0 !important;
  border-radius: 12px !important;
  background: #fafafb !important;
  box-shadow: none !important;
}
html[data-layout="phone"] body#elthosApp.project-detail-view .project-shell:not(.is-class-series) .wp-change-top {
  display: flex !important;
  justify-content: flex-end !important;
  margin: 0 !important;
}
html[data-layout="phone"] body#elthosApp.project-detail-view .project-shell:not(.is-class-series) .wp-change-top .wp-refs {
  position: static !important;
  display: flex !important;
  gap: 6px !important;
}
html[data-layout="phone"] body#elthosApp.project-detail-view .project-shell:not(.is-class-series) .wp-change :is(.wp-before, .wp-after, .wp-why) {
  display: grid !important;
  grid-template-columns: 44px minmax(0, 1fr) !important;
  column-gap: 10px !important;
  margin: 0 !important;
  color: #000 !important;
  font: 400 15px/20px var(--pj-font) !important;
}
html[data-layout="phone"] body#elthosApp.project-detail-view .project-shell:not(.is-class-series) .wp-change .wp-field {
  padding-top: 2px !important;
  color: var(--pj-faint) !important;
  font: 400 12px/16px var(--pj-font) !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
}
html[data-layout="phone"] body#elthosApp.project-detail-view .project-shell:not(.is-class-series) .wp-change .wp-after > .wp-field { font-size: 0 !important; }
html[data-layout="phone"] body#elthosApp.project-detail-view .project-shell:not(.is-class-series) .wp-change .wp-after > .wp-field::after { content: "After"; font-size: 12px; }
/* "What's next": a 12 pt grey ring, the text, then "Contribution ↗". */
html[data-layout="phone"] body#elthosApp.project-detail-view .project-shell:not(.is-class-series) .wp-steps {
  display: grid !important;
  gap: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}
html[data-layout="phone"] body#elthosApp.project-detail-view .project-shell:not(.is-class-series) .wp-step {
  display: grid !important;
  grid-template-columns: 12px minmax(0, 1fr) !important;
  column-gap: 10px !important;
  align-items: start !important;
  margin: 0 !important;
  padding: 7px 0 0 !important;
  border: 0 !important;
  list-style: none !important;
}
html[data-layout="phone"] body#elthosApp.project-detail-view .project-shell:not(.is-class-series) .wp-step::marker { content: none !important; }
html[data-layout="phone"] body#elthosApp.project-detail-view .project-shell:not(.is-class-series) .wp-step > .wp-num {
  box-sizing: border-box !important;
  width: 12px !important;
  height: 12px !important;
  margin: 4px 0 0 !important;
  padding: 0 !important;
  border: 1.5px solid #b8b8b8 !important;
  border-radius: 50% !important;
  background: none !important;
  font-size: 0 !important;
}
html[data-layout="phone"] body#elthosApp.project-detail-view .project-shell:not(.is-class-series) .wp-step-body {
  display: block !important;
  min-width: 0 !important;
}
html[data-layout="phone"] body#elthosApp.project-detail-view .project-shell:not(.is-class-series) .wp-step-body > .wp-tag { float: left; }
html[data-layout="phone"] body#elthosApp.project-detail-view .project-shell:not(.is-class-series) .wp-step-meta {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 4px 8px !important;
  margin: 4px 0 0 !important;
  color: var(--pj-faint) !important;
  font: 400 12px/16px var(--pj-font) !important;
}
html[data-layout="phone"] body#elthosApp.project-detail-view .project-shell:not(.is-class-series) .wp-step-meta:empty { display: none !important; }
html[data-layout="phone"] body#elthosApp.project-detail-view .project-shell:not(.is-class-series) .wp-step-meta .wp-meta { color: var(--pj-faint) !important; font: inherit !important; }
html[data-layout="phone"] body#elthosApp.project-detail-view .project-shell:not(.is-class-series) .phone-step-contribution {
  grid-column: 2;
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 6px 0 12px;
  border: 0;
  background: none;
  color: #000;
  font: 500 12px/16px var(--pj-font);
  -webkit-tap-highlight-color: transparent;
}

/* ---------- Contribution ---------- */
html[data-layout="phone"] body#elthosApp.project-detail-view .project-shell:not(.is-class-series) #project-pane-tasks .card-title-row {
  display: flex !important;
  align-items: flex-start !important;
  justify-content: space-between !important;
  gap: 12px !important;
  margin: 0 0 26px !important;
  padding: 0 !important;
}
html[data-layout="phone"] body#elthosApp.project-detail-view .project-shell:not(.is-class-series) #projectTasksCount {
  display: grid !important;
  gap: 7px !important;
  margin: 0 !important;
  font-size: 0 !important;
}
html[data-layout="phone"] body#elthosApp.project-detail-view .project-shell:not(.is-class-series) #projectTasksCount::before {
  content: "Contribution";
  color: #000;
  font: 600 22px/28px var(--pj-font);
}
html[data-layout="phone"] body#elthosApp.project-detail-view .project-shell:not(.is-class-series) #projectTasksCount::after {
  content: "The work moving your project forward.";
  color: var(--pj-secondary);
  font: 400 15px/20px var(--pj-font);
}
html[data-layout="phone"] body#elthosApp.project-detail-view .project-shell:not(.is-class-series) #addMemberTaskButton {
  flex: 0 0 44px !important;
  display: grid !important;
  place-items: center !important;
  width: 44px !important;
  height: 44px !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 50% !important;
  background: var(--pj-chip) !important;
  box-shadow: none !important;
  color: #000 !important;
  font-size: 0 !important;
}
html[data-layout="phone"] body#elthosApp.project-detail-view .project-shell:not(.is-class-series) #addMemberTaskButton > * { display: none !important; }
html[data-layout="phone"] body#elthosApp.project-detail-view .project-shell:not(.is-class-series) #addMemberTaskButton::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='1.9' stroke-linecap='round'%3E%3Cpath d='M12 4v16M4 12h16'/%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.9' stroke-linecap='round'%3E%3Cpath d='M12 4v16M4 12h16'/%3E%3C/svg%3E") center / contain no-repeat;
}
html[data-layout="phone"] body#elthosApp.project-detail-view .project-shell:not(.is-class-series) #memberTaskList {
  display: grid !important;
  gap: 26px !important;
  margin: 0 !important;
  padding: 0 !important;
}
html[data-layout="phone"] body#elthosApp.project-detail-view .project-shell:not(.is-class-series) #memberTaskList > .contribution-intro { display: none !important; }
html[data-layout="phone"] body#elthosApp.project-detail-view .project-shell:not(.is-class-series) .contribution-section {
  display: grid !important;
  gap: 10px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: none !important;
}
html[data-layout="phone"] body#elthosApp.project-detail-view .project-shell:not(.is-class-series) .contribution-section-heading {
  display: grid !important;
  gap: 4px !important;
  margin: 0 !important;
}
html[data-layout="phone"] body#elthosApp.project-detail-view .project-shell:not(.is-class-series) .contribution-section-heading h3 {
  margin: 0 !important;
  color: #000 !important;
  font: 600 17px/22px var(--pj-font) !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}
html[data-layout="phone"] body#elthosApp.project-detail-view .project-shell:not(.is-class-series) .contribution-section-heading h3 > span {
  margin-left: 8px !important;
  padding: 0 !important;
  background: none !important;
  color: var(--pj-secondary) !important;
  font: 400 15px/20px var(--pj-font) !important;
}
html[data-layout="phone"] body#elthosApp.project-detail-view .project-shell:not(.is-class-series) .contribution-section-heading :is(p, small) {
  margin: 0 !important;
  color: var(--pj-secondary) !important;
  font: 400 12px/16px var(--pj-font) !important;
}
html[data-layout="phone"] body#elthosApp.project-detail-view .project-shell:not(.is-class-series) .contribution-needs-row {
  display: flex !important;
  align-items: flex-start !important;
  gap: 12px !important;
  margin: 0 !important;
  padding: 10px 0 !important;
  border: 0 !important;
  border-bottom: .5px solid var(--pj-separator) !important;
  border-radius: 0 !important;
  background: none !important;
}
html[data-layout="phone"] body#elthosApp.project-detail-view .project-shell:not(.is-class-series) .contribution-needs-row > div {
  display: grid !important;
  flex: 1 1 auto !important;
  gap: 5px !important;
  min-width: 0 !important;
}
html[data-layout="phone"] body#elthosApp.project-detail-view .project-shell:not(.is-class-series) .contribution-needs-row strong {
  color: #000 !important;
  font: 500 15px/20px var(--pj-font) !important;
}
html[data-layout="phone"] body#elthosApp.project-detail-view .project-shell:not(.is-class-series) .contribution-needs-row > div > span {
  color: var(--pj-secondary) !important;
  font: 400 12px/16px var(--pj-font) !important;
}
html[data-layout="phone"] body#elthosApp.project-detail-view .project-shell:not(.is-class-series) .contribution-needs-row > div > p { display: none !important; }
html[data-layout="phone"] body#elthosApp.project-detail-view .project-shell:not(.is-class-series) .contribution-reply {
  flex: none !important;
  height: auto !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 8px 16px !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: #000 !important;
  box-shadow: none !important;
  color: var(--pj-paper) !important;
  font: 600 15px/20px var(--pj-font) !important;
}
/* Task and ask rows: a 44 column for the ring or the ask icon, text beside. */
html[data-layout="phone"] body#elthosApp.project-detail-view .project-shell:not(.is-class-series) .contribution-task {
  position: relative !important;
  display: grid !important;
  grid-template-columns: 44px minmax(0, 1fr) !important;
  column-gap: 12px !important;
  align-items: start !important;
  margin: 0 !important;
  padding: 4px 0 !important;
  border: 0 !important;
  border-bottom: .5px solid var(--pj-separator) !important;
  border-radius: 0 !important;
  background: none !important;
  box-shadow: none !important;
}
html[data-layout="phone"] body#elthosApp.project-detail-view .project-shell:not(.is-class-series) .contribution-task > div {
  grid-column: 2 !important;
  grid-row: 1 !important;
  display: grid !important;
  gap: 6px !important;
  min-width: 0 !important;
  padding: 8px 0 !important;
}
html[data-layout="phone"] body#elthosApp.project-detail-view .project-shell:not(.is-class-series) .contribution-task strong {
  color: #000 !important;
  font: 500 15px/20px var(--pj-font) !important;
}
html[data-layout="phone"] body#elthosApp.project-detail-view .project-shell:not(.is-class-series) .contribution-task > div > :is(span, small, .contribution-source) {
  justify-self: start !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: none !important;
  box-shadow: none !important;
  color: var(--pj-secondary) !important;
  font: 400 12px/16px var(--pj-font) !important;
  text-align: left !important;
  text-decoration: none !important;
}
html[data-layout="phone"] body#elthosApp.project-detail-view .project-shell:not(.is-class-series) .contribution-task > button:last-child {
  grid-column: 2 !important;
  grid-row: 2 !important;
  justify-self: start !important;
  height: auto !important;
  min-height: 0 !important;
  margin: -6px 0 8px !important;
  padding: 4px 0 !important;
  border: 0 !important;
  background: none !important;
  box-shadow: none !important;
  color: #000 !important;
  font: 500 12px/16px var(--pj-font) !important;
  text-decoration: none !important;
}
html[data-layout="phone"] body#elthosApp.project-detail-view .project-shell:not(.is-class-series) .contribution-task.is-ask > button:last-child { display: none !important; }
html[data-layout="phone"] body#elthosApp.project-detail-view .project-shell:not(.is-class-series) .contribution-task.is-ask { cursor: pointer; }
html[data-layout="phone"] body#elthosApp.project-detail-view .project-shell:not(.is-class-series) .contribution-task > input[type="checkbox"] {
  -webkit-appearance: none !important;
  appearance: none !important;
  grid-column: 1 !important;
  grid-row: 1 !important;
  justify-self: center !important;
  box-sizing: border-box !important;
  width: 23px !important;
  height: 23px !important;
  min-height: 0 !important;
  margin: 10px 0 0 !important;
  padding: 0 !important;
  border: 1.7px solid #000 !important;
  border-radius: 50% !important;
  background: transparent !important;
  cursor: pointer;
}
html[data-layout="phone"] body#elthosApp.project-detail-view .project-shell:not(.is-class-series) .contribution-task > input[type="checkbox"]:checked {
  background: #000 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center / 14px no-repeat !important;
}
html[data-layout="phone"] body#elthosApp.project-detail-view .project-shell:not(.is-class-series) .contribution-task > .contribution-ask-mark {
  grid-column: 1 !important;
  grid-row: 1 !important;
  display: grid !important;
  place-items: center !important;
  width: 44px !important;
  height: 44px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: none !important;
  font-size: 0 !important;
}
html[data-layout="phone"] body#elthosApp.project-detail-view .project-shell:not(.is-class-series) .contribution-task > .contribution-ask-mark::before {
  content: "";
  width: 26px;
  height: 26px;
  background: #000;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2.5a9.5 9.5 0 0 1 9.4 10.8 6 6 0 0 0-1.8-.9A7.8 7.8 0 1 0 6.2 17.6C7.6 16 9.7 15 12 15c.6 0 1.1.1 1.7.2a6 6 0 0 0-.9 1.6l-.8-.1c-1.9 0-3.6.8-4.6 2A7.8 7.8 0 0 0 12 19.8c.4 0 .8 0 1.2-.1.2.6.5 1.2.9 1.7-.7.1-1.4.2-2.1.2a9.5 9.5 0 1 1 0-19.1Zm0 4a3.6 3.6 0 1 1 0 7.2 3.6 3.6 0 0 1 0-7.2Zm6.3 8.6a4.4 4.4 0 1 1 0 8.8 4.4 4.4 0 0 1 0-8.8Zm-.1 5.9a.65.65 0 1 0 0 1.3.65.65 0 0 0 0-1.3Zm.1-4.3c-.9 0-1.6.6-1.7 1.4h1c.1-.4.4-.6.7-.6.4 0 .7.3.7.6 0 .3-.2.5-.5.7-.5.3-.7.6-.7 1.1v.2h1v-.1c0-.3.1-.4.5-.7.5-.3.8-.7.8-1.2 0-.8-.8-1.4-1.8-1.4Z'/%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'%3E%3Cpath d='M12 2.5a9.5 9.5 0 0 1 9.4 10.8 6 6 0 0 0-1.8-.9A7.8 7.8 0 1 0 6.2 17.6C7.6 16 9.7 15 12 15c.6 0 1.1.1 1.7.2a6 6 0 0 0-.9 1.6l-.8-.1c-1.9 0-3.6.8-4.6 2A7.8 7.8 0 0 0 12 19.8c.4 0 .8 0 1.2-.1.2.6.5 1.2.9 1.7-.7.1-1.4.2-2.1.2a9.5 9.5 0 1 1 0-19.1Zm0 4a3.6 3.6 0 1 1 0 7.2 3.6 3.6 0 0 1 0-7.2Zm6.3 8.6a4.4 4.4 0 1 1 0 8.8 4.4 4.4 0 0 1 0-8.8Zm-.1 5.9a.65.65 0 1 0 0 1.3.65.65 0 0 0 0-1.3Zm.1-4.3c-.9 0-1.6.6-1.7 1.4h1c.1-.4.4-.6.7-.6.4 0 .7.3.7.6 0 .3-.2.5-.5.7-.5.3-.7.6-.7 1.1v.2h1v-.1c0-.3.1-.4.5-.7.5-.3.8-.7.8-1.2 0-.8-.8-1.4-1.8-1.4Z'/%3E%3C/svg%3E") center / contain no-repeat;
}
html[data-layout="phone"] body#elthosApp.project-detail-view .project-shell:not(.is-class-series) .contribution-empty {
  margin: 0 !important;
  padding: 12px 0 !important;
  color: var(--pj-secondary) !important;
  font: 400 15px/20px var(--pj-font) !important;
}
html[data-layout="phone"] body#elthosApp.project-detail-view .project-shell:not(.is-class-series) .contribution-footnote {
  margin: 0 !important;
  color: var(--pj-secondary) !important;
  font: 400 12px/16px var(--pj-font) !important;
}
html[data-layout="phone"] body#elthosApp.project-detail-view .project-shell:not(.is-class-series) .contribution-history :is(select, .contribution-week-picker) {
  -webkit-appearance: none;
  appearance: none;
  margin: 0 !important;
  padding: 0 26px 0 0 !important;
  border: 0 !important;
  background: transparent 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='m6 9 6 6 6-6'/%3E%3C/svg%3E") right center / 16px no-repeat !important;
  box-shadow: none !important;
  color: #000 !important;
  font: 400 15px/20px var(--pj-font) !important;
}
html[data-layout="phone"] body#elthosApp.project-detail-view .project-shell:not(.is-class-series) .contribution-archive {
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: none !important;
}
html[data-layout="phone"] body#elthosApp.project-detail-view .project-shell:not(.is-class-series) .contribution-archive > summary {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  min-height: 44px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: none !important;
  color: #000 !important;
  font: 400 15px/20px var(--pj-font) !important;
  list-style: none !important;
  cursor: pointer;
}
html[data-layout="phone"] body#elthosApp.project-detail-view .project-shell:not(.is-class-series) .contribution-archive > summary::-webkit-details-marker { display: none !important; }
html[data-layout="phone"] body#elthosApp.project-detail-view .project-shell:not(.is-class-series) .contribution-archive > summary::after {
  content: "";
  width: 14px;
  height: 14px;
  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.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 5 7 7-7 7'/%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.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 5 7 7-7 7'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform .15s ease;
}
html[data-layout="phone"] body#elthosApp.project-detail-view .project-shell:not(.is-class-series) .contribution-archive[open] > summary::after { transform: rotate(90deg); }

/* ---------- Sessions: the timeline list ---------- */
html[data-layout="phone"] body#elthosApp.project-detail-view .project-shell:not(.is-class-series) #project-pane-meetings .card-title-row { display: none !important; }
html[data-layout="phone"] body#elthosApp.project-detail-view .project-shell:not(.is-class-series) #projectDetailSessionsList {
  position: relative !important;
  display: grid !important;
  gap: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}
html[data-layout="phone"] body#elthosApp.project-detail-view .project-shell:not(.is-class-series) #projectDetailSessionsList:has(.session-row)::before {
  content: "";
  position: absolute;
  top: 20px;
  bottom: 20px;
  left: 18.5px;
  width: 1px;
  background: rgba(226, 227, 218, .7);
}
html[data-layout="phone"] body#elthosApp.project-detail-view .project-shell:not(.is-class-series) #projectDetailSessionsList .session-row {
  position: relative !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  column-gap: 10px !important;
  align-items: start !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: none !important;
  box-shadow: none !important;
}
html[data-layout="phone"] body#elthosApp.project-detail-view .project-shell:not(.is-class-series) #projectDetailSessionsList .session-row::after {
  content: "";
  position: absolute;
  left: 51px;
  right: 0;
  bottom: 0;
  height: .5px;
  background: #d4d5cf;
}
html[data-layout="phone"] body#elthosApp.project-detail-view .project-shell:not(.is-class-series) #projectDetailSessionsList .session-open {
  display: grid !important;
  grid-template-columns: 38px minmax(0, 1fr) auto !important;
  column-gap: 13px !important;
  row-gap: 5px !important;
  align-items: start !important;
  width: 100% !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 15px 0 !important;
  border: 0 !important;
  background: none !important;
  box-shadow: none !important;
  color: #000 !important;
  text-align: left !important;
}
html[data-layout="phone"] body#elthosApp.project-detail-view .project-shell:not(.is-class-series) #projectDetailSessionsList .session-open::before {
  content: "M";
  grid-column: 1;
  grid-row: 1 / span 3;
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #e6e7e2;
  color: #000;
  font: 600 14px/1 var(--pj-font);
}
html[data-layout="phone"] body#elthosApp.project-detail-view .project-shell:not(.is-class-series) #projectDetailSessionsList .session-row-title {
  grid-column: 2;
  display: -webkit-box !important;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: #000 !important;
  font: 600 16.5px/21px var(--pj-font) !important;
}
html[data-layout="phone"] body#elthosApp.project-detail-view .project-shell:not(.is-class-series) #projectDetailSessionsList .session-row-date {
  grid-column: 2;
  display: -webkit-box !important;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: var(--pj-secondary) !important;
  font: 400 13.8px/18px var(--pj-font) !important;
}
html[data-layout="phone"] body#elthosApp.project-detail-view .project-shell:not(.is-class-series) #projectDetailSessionsList .session-row-chevron {
  grid-column: 3;
  grid-row: 1;
  width: 18px;
  height: 22px;
  margin-top: 8px;
  font-size: 0 !important;
  background: rgba(60, 60, 67, .5);
  -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='m9 4.5 7.5 7.5L9 19.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%3Cpath d='m9 4.5 7.5 7.5L9 19.5'/%3E%3C/svg%3E") center / contain no-repeat;
}
html[data-layout="phone"] body#elthosApp.project-detail-view .project-shell:not(.is-class-series) #projectDetailSessionsList .remove-button {
  display: grid !important;
  place-items: center !important;
  box-sizing: border-box !important;
  width: 30px !important;
  height: 30px !important;
  min-width: 30px !important;
  min-height: 0 !important;
  margin: 15px 0 0 !important;
  padding: 0 !important;
  border: .85px solid rgba(226, 227, 218, .78) !important;
  border-radius: 50% !important;
  background: var(--pj-stone) !important;
  box-shadow: none !important;
  color: var(--pj-secondary) !important;
  opacity: 1 !important;
}
html[data-layout="phone"] body#elthosApp.project-detail-view .project-shell:not(.is-class-series) #projectDetailSessionsList .remove-button > * { display: none !important; }
html[data-layout="phone"] body#elthosApp.project-detail-view .project-shell:not(.is-class-series) #projectDetailSessionsList .remove-button::before {
  content: "";
  width: 12px;
  height: 2px;
  border-radius: 1px;
  background: currentColor;
}

/* ---------- Files: "+ Upload file" in lime, no box ---------- */
html[data-layout="phone"] body#elthosApp.project-detail-view .project-shell:not(.is-class-series) #project-pane-files .card-title-row {
  display: flex !important;
  margin: 0 !important;
  padding: 0 !important;
}
html[data-layout="phone"] body#elthosApp.project-detail-view .project-shell:not(.is-class-series) #projectFilesCount { display: none !important; }
html[data-layout="phone"] body#elthosApp.project-detail-view .project-shell:not(.is-class-series) #projectUploadButton {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  height: auto !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 14px 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: none !important;
  box-shadow: none !important;
  color: #4f600b !important;
  font: 500 15px/20px var(--pj-font) !important;
}
html[data-layout="phone"] body#elthosApp.project-detail-view .project-shell:not(.is-class-series) #projectFileList .timeline-empty {
  margin: 0 !important;
  padding: 10px 0 !important;
  border: 0 !important;
  background: none !important;
  color: var(--pj-secondary) !important;
  font: 400 15.5px/22px var(--pj-font) !important;
  text-align: left !important;
}

/* ---------- "Ask about this project": the centred stone pill ---------- */
html[data-layout="phone"] body#elthosApp.project-detail-view .project-shell:not(.is-class-series) > #mobileProjectChatLauncher.mobile-project-chat-launcher {
  position: fixed !important;
  left: 50% !important;
  right: auto !important;
  top: auto !important;
  bottom: calc(10px + env(safe-area-inset-bottom, 0px)) !important;
  z-index: 40 !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  width: auto !important;
  height: 48px !important;
  min-height: 0 !important;
  padding: 0 22px !important;
  border: .5px solid rgba(226, 227, 218, .9) !important;
  border-radius: 999px !important;
  background: rgba(239, 240, 232, .92) !important;
  -webkit-backdrop-filter: blur(20px) saturate(1.4) !important;
  backdrop-filter: blur(20px) saturate(1.4) !important;
  box-shadow: 0 8px 36px rgba(0, 0, 0, .1), 0 1px 4px rgba(0, 0, 0, .05) !important;
  color: #000 !important;
  transform: translateX(-50%) !important;
  cursor: pointer !important;
  touch-action: manipulation !important;
}
html[data-layout="phone"] body#elthosApp.project-detail-view .project-shell:not(.is-class-series) > #mobileProjectChatLauncher .mobile-project-chat-launcher-icon::before {
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M10 3.5 11.7 8.3 16.5 10 11.7 11.7 10 16.5 8.3 11.7 3.5 10 8.3 8.3Z'/%3E%3Cpath d='M18 13.5 18.9 15.6 21 16.5 18.9 17.4 18 19.5 17.1 17.4 15 16.5 17.1 15.6Z'/%3E%3Cpath d='M17.5 2.5 18.1 4 19.5 4.5 18.1 5 17.5 6.5 16.9 5 15.5 4.5 16.9 4Z'/%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'%3E%3Cpath d='M10 3.5 11.7 8.3 16.5 10 11.7 11.7 10 16.5 8.3 11.7 3.5 10 8.3 8.3Z'/%3E%3Cpath d='M18 13.5 18.9 15.6 21 16.5 18.9 17.4 18 19.5 17.1 17.4 15 16.5 17.1 15.6Z'/%3E%3Cpath d='M17.5 2.5 18.1 4 19.5 4.5 18.1 5 17.5 6.5 16.9 5 15.5 4.5 16.9 4Z'/%3E%3C/svg%3E") center / contain no-repeat !important;
  width: 15px !important;
  height: 15px !important;
}
html[data-layout="phone"] body#elthosApp.project-detail-view .project-shell:not(.is-class-series) > #mobileProjectChatLauncher .mobile-project-chat-launcher-icon {
  width: 15px !important;
  min-width: 15px !important;
  height: 15px !important;
}
html[data-layout="phone"] body#elthosApp.project-detail-view .project-shell:not(.is-class-series) > #mobileProjectChatLauncher .chat-launcher-label { font-size: 0 !important; }
html[data-layout="phone"] body#elthosApp.project-detail-view .project-shell:not(.is-class-series) > #mobileProjectChatLauncher .chat-launcher-label::after {
  content: "Ask about this project";
  font: 500 15.5px/1 var(--pj-font);
}
/* The fade behind the pill. */
html[data-layout="phone"] body#elthosApp.project-detail-view .project-shell:not(.is-class-series)::after {
  content: "";
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 39;
  height: calc(86px + env(safe-area-inset-bottom, 0px));
  background: linear-gradient(to bottom, rgba(250, 251, 246, 0), rgba(250, 251, 246, .92) 55%, #fafbf6);
  pointer-events: none;
}
html[data-layout="phone"] body#elthosApp.project-detail-view:is(.project-chat-open, .discussion-open) .project-shell:not(.is-class-series)::after,
html[data-layout="phone"] body#elthosApp.project-detail-view:is(.project-chat-open, .discussion-open) .project-shell:not(.is-class-series) > #mobileProjectChatLauncher {
  opacity: 0 !important;
  pointer-events: none !important;
}
/* Fixes measured on the page: the back chevron centred, "Sessions" level
   with the other tabs, one date per point (the iPhone shows the first). */
html[data-layout="phone"] body#elthosApp.project-detail-view .project-shell:not(.is-class-series) > header.session-header #projectBackButton::before {
  position: static !important;
  inset: auto !important;
  display: block !important;
  margin: 0 !important;
  transform: none !important;
  border: 0 !important;
}
html[data-layout="phone"] body#elthosApp.project-detail-view .project-shell:not(.is-class-series) .wp-point .wp-refs > .wp-ref ~ .wp-ref { display: none !important; }
html[data-layout="phone"] body#elthosApp.project-detail-view .project-shell:not(.is-class-series) #projectMutationStatus.is-phone-quiet { display: none !important; }
/* The desktop page heading ("Contribution", "Meetings"...) is not on iPhone;
   the tab's own header carries the title. */
html[data-layout="phone"] body#elthosApp.project-detail-view .project-shell:not(.is-class-series) .research-page-header { display: none !important; }
/* Header icons pinned to the centre of their 44 pt square (the hidden text
   would otherwise push them up). */
html[data-layout="phone"] body#elthosApp.project-detail-view .project-shell:not(.is-class-series) > header.session-header :is(#projectBackButton, #projectHeaderInvite, #projectInfoButton)::before {
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  margin: -11px 0 0 -11px !important;
  transform: none !important;
}
html[data-layout="phone"] body#elthosApp.project-detail-view .project-shell:not(.is-class-series) #projectTasksCount::before { display: block !important; width: auto !important; height: auto !important; background: none !important; -webkit-mask: none !important; mask: none !important; }
html[data-layout="phone"] body#elthosApp.project-detail-view .project-shell:not(.is-class-series) #addMemberTaskButton::before { display: block !important; background: #000 !important; }
html[data-layout="phone"] body#elthosApp.project-detail-view .project-shell:not(.is-class-series) #projectTasksCount::before { padding: 0 !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important; }
html[data-layout="phone"] body#elthosApp.project-detail-view .project-shell:not(.is-class-series) .contribution-task > div > .contribution-source { height: auto !important; min-height: 0 !important; line-height: 16px !important; }
html[data-layout="phone"] body#elthosApp.project-detail-view .project-shell:not(.is-class-series) #projectDetailSessionsList .session-open { grid-template-rows: auto auto !important; align-content: start !important; }
html[data-layout="phone"] body#elthosApp.project-detail-view .project-shell:not(.is-class-series) #projectDetailSessionsList .session-open::before { grid-row: 1 / span 2 !important; align-self: start !important; }
/* No blur on the page frame: it made the browser pin the Ask pill and its
   fade to the frame instead of the screen. */
html[data-layout="phone"] body#elthosApp.project-detail-view .project-shell:not(.is-class-series) {
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
  transform: none !important;
  filter: none !important;
}
html[data-layout="phone"] body#elthosApp.project-detail-view .project-shell:not(.is-class-series) .wp-change :is(.wp-before, .wp-after, .wp-why) > .wp-field { display: block !important; grid-column: 1 !important; }
html[data-layout="phone"] body#elthosApp.project-detail-view .project-shell:not(.is-class-series) .wp-change :is(.wp-before, .wp-after, .wp-why) > .wp-field {
  position: static !important;
  width: auto !important;
  height: auto !important;
  margin: 0 !important;
  overflow: visible !important;
  clip: auto !important;
  clip-path: none !important;
  white-space: normal !important;
}
/* Discussion: no Ask pill on iPhone; the message box
   (stone, radius 24) sits at the bottom. */
html[data-layout="phone"] body#elthosApp.project-detail-view .project-shell:not(.is-class-series):has(#project-pane-discussion.active) > #mobileProjectChatLauncher {
  display: none !important;
}
html[data-layout="phone"] body#elthosApp.project-detail-view .project-shell:not(.is-class-series):has(#project-pane-discussion.active)::after {
  content: none !important;
}
html[data-layout="phone"] body#elthosApp .project-shell.is-class-series .phone-add-meeting,
html[data-layout="phone"] body#elthosApp .project-shell.is-class-series .phone-step-contribution { display: none !important; }
/* Measured at 440 against the iPhone. */
html[data-layout="phone"] body#elthosApp.project-detail-view .project-shell:not(.is-class-series) > nav.project-detail-tabs { height: 41px !important; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
html[data-layout="phone"] body#elthosApp.project-detail-view .project-shell:not(.is-class-series) > nav.project-detail-tabs > .project-detail-tab { padding-top: 10px !important; }
html[data-layout="phone"] body#elthosApp.project-detail-view .project-shell:not(.is-class-series) .phone-add-meeting { padding: 6px 12px !important; }
html[data-layout="phone"] body#elthosApp.project-detail-view .project-shell:not(.is-class-series) .wp-section { gap: 2px !important; }
html[data-layout="phone"] body#elthosApp.project-detail-view .project-shell:not(.is-class-series) .wp-point { padding-top: 6px !important; padding-bottom: 6px !important; }
/* Contribution measured at 440 against the iPhone. */
html[data-layout="phone"] body#elthosApp.project-detail-view .project-shell:not(.is-class-series) #project-pane-tasks .card-title-row { margin-bottom: 17px !important; }
html[data-layout="phone"] body#elthosApp.project-detail-view .project-shell:not(.is-class-series) .contribution-task > div { gap: 4px !important; }
html[data-layout="phone"] body#elthosApp.project-detail-view .project-shell:not(.is-class-series) .contribution-needs-row > div { gap: 2px !important; }
html[data-layout="phone"] body#elthosApp.project-detail-view .project-shell:not(.is-class-series) .contribution-reply { padding: 6.5px 16px !important; }
/* Long lists scroll inside after their set number of rows; the heading stays. */
html[data-layout="phone"] body#elthosApp.project-detail-view .project-shell:not(.is-class-series) :is(.contribution-section, .contribution-archive).is-phone-scroll {
  overflow-y: auto !important;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}
html[data-layout="phone"] body#elthosApp.project-detail-view .project-shell:not(.is-class-series) :is(.contribution-section, .contribution-archive).is-phone-scroll > :is(.contribution-section-heading, summary) {
  position: sticky !important;
  top: 0 !important;
  z-index: 2 !important;
  padding-bottom: 6px !important;
  background: var(--pj-paper) !important;
}

/* ---------- Ask about this project: the iPhone's Ask screen ---------- */
html[data-layout="phone"] body#elthosApp.project-detail-view.project-ai-open .project-shell:not(.is-class-series) > #mobileProjectChatLauncher,
html[data-layout="phone"] body#elthosApp.project-detail-view.project-ai-open .project-shell:not(.is-class-series)::after { display: none !important; }
html[data-layout="phone"] body#elthosApp.project-detail-view:is(.project-ai-open, .project-ai-closing):has(.project-shell:not(.is-class-series)) .project-chat-card {
  display: flex !important;
  flex-direction: column !important;
  gap: 0 !important;
  min-height: calc(100dvh - 44px) !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: #fafbf6 !important;
  box-shadow: none !important;
}
html[data-layout="phone"] body#elthosApp.project-detail-view:is(.project-ai-open, .project-ai-closing):has(.project-shell:not(.is-class-series)) .project-ai-sheet-header {
  order: 0;
  position: sticky !important;
  top: 0 !important;
  z-index: 5 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 10px !important;
  margin: 0 !important;
  padding: 2px 14px 16px !important;
  border: 0 !important;
  background: #fafbf6 !important;
}
html[data-layout="phone"] body#elthosApp.project-detail-view:is(.project-ai-open, .project-ai-closing):has(.project-shell:not(.is-class-series)) .project-ai-sheet-header > strong,
html[data-layout="phone"] body#elthosApp.project-detail-view:is(.project-ai-open, .project-ai-closing):has(.project-shell:not(.is-class-series)) .project-chat-top { display: none !important; }
html[data-layout="phone"] body#elthosApp.project-detail-view:is(.project-ai-open, .project-ai-closing):has(.project-shell:not(.is-class-series)) .project-chat-head-actions { display: flex !important; gap: 10px !important; margin: 0 0 0 auto !important; }
html[data-layout="phone"] body#elthosApp.project-detail-view:is(.project-ai-open, .project-ai-closing):has(.project-shell:not(.is-class-series)) :is(#projectChatCloseButton, #projectChatPinsButton, #projectChatClearButton) {
  position: relative !important;
  flex: none !important;
  display: grid !important;
  place-items: center !important;
  width: 44px !important;
  height: 44px !important;
  min-width: 44px !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 50% !important;
  background: rgba(255, 255, 255, .92) !important;
  box-shadow: 0 2px 16px rgba(0, 0, 0, .08) !important;
  color: #000 !important;
  font-size: 0 !important;
}
html[data-layout="phone"] body#elthosApp.project-detail-view:is(.project-ai-open, .project-ai-closing):has(.project-shell:not(.is-class-series)) :is(#projectChatCloseButton, #projectChatPinsButton, #projectChatClearButton) > * { display: none !important; }
html[data-layout="phone"] body#elthosApp.project-detail-view:is(.project-ai-open, .project-ai-closing):has(.project-shell:not(.is-class-series)) :is(#projectChatCloseButton, #projectChatPinsButton, #projectChatClearButton)::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 18px;
  height: 18px;
  margin: -9px 0 0 -9px;
  background: currentColor;
}
html[data-layout="phone"] body#elthosApp.project-detail-view:is(.project-ai-open, .project-ai-closing):has(.project-shell:not(.is-class-series)) #projectChatCloseButton::before {
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 17 17' fill='none' stroke='%23000' stroke-width='1.9' stroke-linecap='round'%3E%3Cpath d='M3.5 3.5l10 10M13.5 3.5l-10 10'/%3E%3C/svg%3E") center / 17px no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 17 17' fill='none' stroke='%23000' stroke-width='1.9' stroke-linecap='round'%3E%3Cpath d='M3.5 3.5l10 10M13.5 3.5l-10 10'/%3E%3C/svg%3E") center / 17px no-repeat;
}
html[data-layout="phone"] body#elthosApp.project-detail-view:is(.project-ai-open, .project-ai-closing):has(.project-shell:not(.is-class-series)) #projectChatPinsButton::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.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 3.5h6l-1 5.5 3.5 3.5h-11L10 9Z'/%3E%3Cpath d='M12 12.5v8'/%3E%3C/svg%3E") center / 18px 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='M9 3.5h6l-1 5.5 3.5 3.5h-11L10 9Z'/%3E%3Cpath d='M12 12.5v8'/%3E%3C/svg%3E") center / 18px no-repeat;
}
html[data-layout="phone"] body#elthosApp.project-detail-view:is(.project-ai-open, .project-ai-closing):has(.project-shell:not(.is-class-series)) #projectChatClearButton::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.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4.5 6.5h15M9.5 6.5V4.8c0-.7.6-1.3 1.3-1.3h2.4c.7 0 1.3.6 1.3 1.3v1.7M6.5 6.5l.9 12.4c.1 1 .9 1.6 1.8 1.6h5.6c1 0 1.7-.7 1.8-1.6l.9-12.4'/%3E%3C/svg%3E") center / 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.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4.5 6.5h15M9.5 6.5V4.8c0-.7.6-1.3 1.3-1.3h2.4c.7 0 1.3.6 1.3 1.3v1.7M6.5 6.5l.9 12.4c.1 1 .9 1.6 1.8 1.6h5.6c1 0 1.7-.7 1.8-1.6l.9-12.4'/%3E%3C/svg%3E") center / 17px no-repeat;
}
html[data-layout="phone"] body#elthosApp.project-detail-view:is(.project-ai-open, .project-ai-closing):has(.project-shell:not(.is-class-series)) #projectChatClearButton:disabled,
html[data-layout="phone"] body#elthosApp.project-detail-view:is(.project-ai-open, .project-ai-closing):has(.project-shell:not(.is-class-series)) #projectChatClearButton[hidden] { visibility: hidden !important; }
html[data-layout="phone"] body#elthosApp.project-detail-view:is(.project-ai-open, .project-ai-closing):has(.project-shell:not(.is-class-series)) #projectAnswer {
  order: 1;
  flex: 1 1 auto !important;
  margin: 0 !important;
  padding: 0 22px 16px !important;
  border: 0 !important;
  background: none !important;
  overflow: visible !important;
  max-height: none !important;
}
html[data-layout="phone"] body#elthosApp.project-detail-view:is(.project-ai-open, .project-ai-closing):has(.project-shell:not(.is-class-series)) #projectAnswer .chat-message.user {
  max-width: 82% !important;
  margin: 16px 0 16px auto !important;
  padding: 14px !important;
  border: 0 !important;
  border-radius: 20px !important;
  background: #eff0e8 !important;
  color: #000 !important;
  font: 400 16px/22px var(--pj-font) !important;
}
html[data-layout="phone"] body#elthosApp.project-detail-view:is(.project-ai-open, .project-ai-closing):has(.project-shell:not(.is-class-series)) #projectAnswer .chat-message.assistant {
  margin: 0 0 16px !important;
  padding: 0 !important;
  border: 0 !important;
  background: none !important;
  color: #000 !important;
  font: 400 16px/24px var(--pj-font) !important;
}
html[data-layout="phone"] body#elthosApp.project-detail-view:is(.project-ai-open, .project-ai-closing):has(.project-shell:not(.is-class-series)) #projectAnswer .chat-message.assistant .chat-content { font: inherit !important; color: #000 !important; }
html[data-layout="phone"] body#elthosApp.project-detail-view:is(.project-ai-open, .project-ai-closing):has(.project-shell:not(.is-class-series)) #projectAnswer .tutor-sources > summary { color: #67676b !important; font: 400 13px/18px var(--pj-font) !important; }
html[data-layout="phone"] body#elthosApp.project-detail-view:is(.project-ai-open, .project-ai-closing):has(.project-shell:not(.is-class-series)) #projectSuggestionRow {
  order: 2;
  position: sticky !important;
  bottom: calc(76px + env(safe-area-inset-bottom, 0px)) !important;
  z-index: 4 !important;
  display: flex !important;
  flex-wrap: nowrap !important;
  gap: 8px !important;
  margin: 0 !important;
  padding: 8px 22px !important;
  border: 0 !important;
  background: #fafbf6 !important;
  overflow-x: auto !important;
  scrollbar-width: none !important;
}
html[data-layout="phone"] body#elthosApp.project-detail-view:is(.project-ai-open, .project-ai-closing):has(.project-shell:not(.is-class-series)) #projectSuggestionRow::-webkit-scrollbar { display: none !important; }
html[data-layout="phone"] body#elthosApp.project-detail-view:is(.project-ai-open, .project-ai-closing):has(.project-shell:not(.is-class-series)) #projectSuggestionRow > button {
  flex: none !important;
  height: 42px !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 15px !important;
  border: .85px solid rgba(226, 227, 218, .78) !important;
  border-radius: 999px !important;
  background: #eff0e8 !important;
  box-shadow: none !important;
  color: #000 !important;
  font: 400 16px/20px var(--pj-font) !important;
  white-space: nowrap !important;
}
html[data-layout="phone"] body#elthosApp.project-detail-view:is(.project-ai-open, .project-ai-closing):has(.project-shell:not(.is-class-series)) #projectChatForm {
  order: 3;
  position: sticky !important;
  bottom: 0 !important;
  z-index: 4 !important;
  display: flex !important;
  align-items: flex-end !important;
  gap: 6px !important;
  margin: 0 !important;
  padding: 8px 22px calc(8px + env(safe-area-inset-bottom, 0px)) !important;
  border: 0 !important;
  background: #fafbf6 !important;
  box-shadow: none !important;
}
html[data-layout="phone"] body#elthosApp.project-detail-view:is(.project-ai-open, .project-ai-closing):has(.project-shell:not(.is-class-series)) #projectChatForm::before {
  content: "";
  position: absolute;
  inset: 8px 22px calc(8px + env(safe-area-inset-bottom, 0px));
  z-index: -1;
  border: .8px solid rgba(226, 227, 218, .6);
  border-radius: 28px;
  background: #eff0e8;
  box-shadow: 0 2px 16px rgba(0, 0, 0, .025);
}
html[data-layout="phone"] body#elthosApp.project-detail-view:is(.project-ai-open, .project-ai-closing):has(.project-shell:not(.is-class-series)) #projectChatForm .chat-file-button {
  flex: none !important;
  display: grid !important;
  place-items: center !important;
  width: 40px !important;
  height: 40px !important;
  margin: 8px 0 8px 8px !important;
  padding: 0 !important;
  border: 0 !important;
  background: none !important;
  color: #000 !important;
  font: 300 26px/1 var(--pj-font) !important;
}
html[data-layout="phone"] body#elthosApp.project-detail-view:is(.project-ai-open, .project-ai-closing):has(.project-shell:not(.is-class-series)) #projectChatInput {
  flex: 1 1 auto !important;
  min-height: 40px !important;
  max-height: 140px !important;
  margin: 8px 0 !important;
  padding: 9px 4px !important;
  border: 0 !important;
  outline: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #000 !important;
  font: 400 17px/22px var(--pj-font) !important;
  resize: none !important;
}
html[data-layout="phone"] body#elthosApp.project-detail-view:is(.project-ai-open, .project-ai-closing):has(.project-shell:not(.is-class-series)) #projectChatButton {
  flex: none !important;
  display: grid !important;
  place-items: center !important;
  width: 38px !important;
  height: 38px !important;
  min-height: 0 !important;
  margin: 9px 9px 9px 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 50% !important;
  background: #000 !important;
  color: #fafbf6 !important;
  font: 600 20px/1 var(--pj-font) !important;
}
/* Layout as on iPhone: buttons on top, the conversation in between, the chips
   and the composer pinned at the bottom (the panel itself is fixed). */
html[data-layout="phone"] body#elthosApp.project-detail-view:is(.project-ai-open, .project-ai-closing):has(.project-shell:not(.is-class-series)) .project-chat-card > .project-ai-sheet-header {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  padding-top: calc(env(safe-area-inset-top, 0px) + 2px) !important;
}
html[data-layout="phone"] body#elthosApp.project-detail-view:is(.project-ai-open, .project-ai-closing):has(.project-shell:not(.is-class-series)) #projectAnswer {
  position: absolute !important;
  top: calc(env(safe-area-inset-top, 0px) + 62px) !important;
  bottom: calc(140px + env(safe-area-inset-bottom, 0px)) !important;
  left: 0 !important;
  right: 0 !important;
  height: auto !important;
  max-height: none !important;
  padding: 0 22px 12px !important;
  overflow-y: auto !important;
  overscroll-behavior: contain;
  -webkit-mask-image: none !important;
  mask-image: none !important;
  opacity: 1 !important;
}
html[data-layout="phone"] body#elthosApp.project-detail-view:is(.project-ai-open, .project-ai-closing):has(.project-shell:not(.is-class-series)) #projectSuggestionRow {
  position: absolute !important;
  left: 0 !important;
  right: 0 !important;
  top: auto !important;
  bottom: calc(80px + env(safe-area-inset-bottom, 0px)) !important;
}
html[data-layout="phone"] body#elthosApp.project-detail-view:is(.project-ai-open, .project-ai-closing):has(.project-shell:not(.is-class-series)) #projectChatForm {
  position: absolute !important;
  left: 0 !important;
  right: 0 !important;
  top: auto !important;
  bottom: 0 !important;
}
html[data-layout="phone"] body#elthosApp.project-detail-view:is(.project-ai-open, .project-ai-closing):has(.project-shell:not(.is-class-series)) .project-chat-card > .study-tutor-intro {
  position: absolute !important;
  top: calc(env(safe-area-inset-top, 0px) + 62px) !important;
  left: 24px !important;
  right: 24px !important;
  display: grid !important;
  place-items: center !important;
  /* A third of the screen, but never more than the room left above the keyboard
     (it pushed the text box under the keyboard). */
  min-height: max(0px, min(max(170px, 33vh), calc(var(--app-visible-height, 100dvh) - 260px))) !important;
  overflow: hidden !important;
  margin: 0 !important;
  padding: 0 !important;
  background: none !important;
  pointer-events: none !important;
}
html[data-layout="phone"] body#elthosApp.project-detail-view:is(.project-ai-open, .project-ai-closing):has(.project-shell:not(.is-class-series)) .project-chat-card.has-chat-history > .study-tutor-intro { display: none !important; }
html[data-layout="phone"] body#elthosApp.project-detail-view:is(.project-ai-open, .project-ai-closing):has(.project-shell:not(.is-class-series)) .project-chat-card > .study-tutor-intro :is(h3, h2, p:first-child) {
  margin: 0 !important;
  color: #000 !important;
  font: 400 32px/1.15 "New York", "Iowan Old Style", Georgia, serif !important;
  text-align: center !important;
}
html[data-layout="phone"] body#elthosApp.project-detail-view:is(.project-ai-open, .project-ai-closing):has(.project-shell:not(.is-class-series)) .project-chat-card > .project-chat-top,
html[data-layout="phone"] body#elthosApp.project-detail-view:is(.project-ai-open, .project-ai-closing):has(.project-shell:not(.is-class-series)) .project-chat-card > .project-chat-top::before,
html[data-layout="phone"] body#elthosApp.project-detail-view:is(.project-ai-open, .project-ai-closing):has(.project-shell:not(.is-class-series)) .project-chat-card > .project-chat-top::after { display: none !important; }
html[data-layout="phone"] body#elthosApp.project-detail-view:is(.project-ai-open, .project-ai-closing):has(.project-shell:not(.is-class-series)) #projectChatInput { height: 40px; overflow: hidden !important; white-space: nowrap; }
html[data-layout="phone"] body#elthosApp.project-detail-view:is(.project-ai-open, .project-ai-closing):has(.project-shell:not(.is-class-series)) #projectChatInput:not(:placeholder-shown) { height: auto; overflow: auto !important; white-space: pre-wrap; }
html[data-layout="phone"] body#elthosApp.project-detail-view:is(.project-ai-open, .project-ai-closing):has(.project-shell:not(.is-class-series)) #projectChatInput::placeholder { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: rgba(60, 60, 67, .3); }
/* Room under the last line so it scrolls clear of the Ask pill (the pane is
   what scrolls on some tabs, the page frame on others). */
html[data-layout="phone"] body#elthosApp.project-detail-view .project-shell:not(.is-class-series) .project-detail-pane.active::after {
  content: "";
  display: block;
  height: calc(110px + env(safe-area-inset-bottom, 0px));
}
html[data-layout="phone"] body#elthosApp.project-detail-view .project-shell:not(.is-class-series) .project-detail-pane#project-pane-discussion.active::after { content: none; }
/* The page frame is a column: bar, tabs, then the content, which fills the
   rest and scrolls (it was a full screen tall below the tabs, so its last
   85 pt sat under the screen's edge, behind the Ask pill). */
html[data-layout="phone"] body#elthosApp.project-detail-view .project-shell:not(.is-class-series) {
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
  overflow: hidden !important;
}
html[data-layout="phone"] body#elthosApp.project-detail-view .project-shell:not(.is-class-series) > :is(header.session-header, nav.project-detail-tabs) { flex: none !important; }
html[data-layout="phone"] body#elthosApp.project-detail-view .project-shell:not(.is-class-series) > .project-detail-content {
  flex: 1 1 auto !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  overflow-y: auto !important;
}
html[data-layout="phone"] body#elthosApp.project-detail-view .project-shell:not(.is-class-series) > .project-detail-content:has(#project-pane-discussion.active) { padding-bottom: 0 !important; }

/* ---------- "⋯" → Project info: the web's panel as an iPhone sheet ---------- */
html[data-layout="phone"] body#elthosApp.project-detail-view .project-shell > header.session-header > #projectInfoPopover:not([hidden]) {
  position: fixed !important;
  top: auto !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  z-index: 60 !important;
  display: grid !important;
  gap: 14px !important;
  width: auto !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 26px 24px calc(28px + env(safe-area-inset-bottom, 0px)) !important;
  border: 0 !important;
  border-radius: 20px 20px 0 0 !important;
  background: #fafbf6 !important;
  box-shadow: 0 0 0 100vmax rgba(0, 0, 0, .25) !important;
  transform: none !important;
  animation: phoneSheetUp .28s cubic-bezier(.2, .8, .2, 1) both;
}
html[data-layout="phone"] body#elthosApp.project-detail-view .project-shell > header.session-header > #projectInfoPopover::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.project-detail-view .project-shell #projectInfoPopover #projectInfoTitle { color: #000 !important; font: 700 20px/25px var(--pj-font) !important; }
html[data-layout="phone"] body#elthosApp.project-detail-view .project-shell #projectInfoPopover #projectInfoDate { margin: -8px 0 0 !important; color: var(--pj-secondary) !important; font: 400 12px/16px var(--pj-font) !important; }
html[data-layout="phone"] body#elthosApp.project-detail-view .project-shell #projectInfoPopover .project-info-counts {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 0 !important;
  padding: 8px 0 !important;
  border-radius: 20px !important;
  background: var(--pj-stone) !important;
}
html[data-layout="phone"] body#elthosApp.project-detail-view .project-shell #projectInfoPopover .project-info-counts > span {
  display: grid !important;
  justify-items: center !important;
  gap: 2px !important;
  padding: 6px 0 !important;
  color: var(--pj-secondary) !important;
  font: 400 12px/16px var(--pj-font) !important;
}
html[data-layout="phone"] body#elthosApp.project-detail-view .project-shell #projectInfoPopover .project-info-counts strong { color: #000 !important; font: 600 17px/22px var(--pj-font) !important; }
html[data-layout="phone"] body#elthosApp.project-detail-view .project-shell #projectInfoPopover .project-info-language {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  min-height: 48px !important;
  margin: 0 !important;
  padding: 0 16px !important;
  border: 0 !important;
  border-radius: 20px !important;
  background: var(--pj-stone) !important;
  color: #000 !important;
  font: 500 15.5px/20px var(--pj-font) !important;
}
html[data-layout="phone"] body#elthosApp.project-detail-view .project-shell #projectInfoPopover .project-info-language-value { color: var(--pj-secondary) !important; font: 400 15px/20px var(--pj-font) !important; }
html[data-layout="phone"] body#elthosApp.project-detail-view .project-shell #projectInfoPopover .project-info-actions { display: flex !important; gap: 10px !important; }
html[data-layout="phone"] body#elthosApp.project-detail-view .project-shell #projectInfoPopover #projectInfoDeleteButton { display: none !important; }
html[data-layout="phone"] body#elthosApp.project-detail-view .project-shell #projectInfoPopover #projectInfoAddMeetingButton {
  height: 44px !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 18px !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: #000 !important;
  color: #fafbf6 !important;
  font: 600 15px/20px var(--pj-font) !important;
}
html[data-layout="phone"] body#elthosApp.project-detail-view .project-shell:not(.is-class-series) > header.session-header { -webkit-backdrop-filter: none !important; backdrop-filter: none !important; filter: none !important; transform: none !important; contain: none !important; will-change: auto !important; }
html[data-layout="phone"] body#elthosApp.project-detail-view .project-shell:has(#projectInfoPopover:not([hidden])) > header.session-header { z-index: 70 !important; }
html[data-layout="phone"] body#elthosApp.project-detail-view .project-shell:has(#projectInfoPopover:not([hidden])) > #mobileProjectChatLauncher,
html[data-layout="phone"] body#elthosApp.project-detail-view .project-shell:has(#projectInfoPopover:not([hidden]))::after { display: none !important; }
html[data-layout="phone"] body#elthosApp.project-detail-view .project-shell > header.session-header > #projectInfoPopover { -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
html[data-layout="phone"] body#elthosApp.project-detail-view .project-shell > header.session-header > #projectInfoPopover::before { transform: none !important; border: 0 !important; box-shadow: none !important; right: auto !important; bottom: auto !important; }
html[data-layout="phone"] body#elthosApp.project-detail-view .project-shell > header.session-header > #projectInfoPopover::after { content: none !important; }
html[data-layout="phone"] body#elthosApp.project-detail-view .project-shell #projectInfoPopover #projectInfoDate { padding: 0 !important; border: 0 !important; border-radius: 0 !important; background: none !important; box-shadow: none !important; }
html[data-layout="phone"] body#elthosApp.project-detail-view .project-shell #projectInfoPopover .project-info-counts > span { border: 0 !important; border-radius: 0 !important; background: none !important; box-shadow: none !important; }

/* ---------- Share (project members): the iPhone's Share sheet ---------- */
html[data-layout="phone"] body#elthosApp.project-detail-view:has(.project-shell:not(.is-class-series)) #projectMembersDialog[open] {
  position: fixed !important;
  top: calc(env(safe-area-inset-top, 0px) + 12px) !important;
  right: 0 !important;
  bottom: 0 !important;
  left: 0 !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  align-content: start !important;
  gap: 12px !important;
  width: auto !important;
  max-width: none !important;
  height: auto !important;
  max-height: none !important;
  margin: 0 !important;
  padding: 0 20px calc(28px + env(safe-area-inset-bottom, 0px)) !important;
  border: 0 !important;
  border-radius: 20px 20px 0 0 !important;
  background: #fafbf6 !important;
  box-shadow: none !important;
  overflow-y: auto !important;
  font-family: var(--pj-font, -apple-system, sans-serif) !important;
  animation: phoneSheetUp .28s cubic-bezier(.2, .8, .2, 1) both;
}
html[data-layout="phone"] body#elthosApp.project-detail-view:has(.project-shell:not(.is-class-series)) #projectMembersDialog::backdrop { background: rgba(0, 0, 0, .25); }
html[data-layout="phone"] body#elthosApp.project-detail-view:has(.project-shell:not(.is-class-series)) #projectMembersDialog[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.project-detail-view:has(.project-shell:not(.is-class-series)) #projectMembersDialog .project-members-dialog-header {
  position: relative !important;
  display: grid !important;
  place-items: center !important;
  min-height: 44px !important;
  margin: 0 -10px !important;
  grid-template-columns: minmax(0, 1fr) !important;
  padding: 14px 84px 4px !important;
  border: 0 !important;
  background: none !important;
}
html[data-layout="phone"] body#elthosApp.project-detail-view:has(.project-shell:not(.is-class-series)) #projectMembersDialog .project-members-dialog-header > div { display: grid !important; gap: 2px !important; justify-items: center !important; min-width: 0 !important; }
html[data-layout="phone"] body#elthosApp.project-detail-view:has(.project-shell:not(.is-class-series)) #projectMembersDialog #projectMembersDialogTitle { margin: 0 !important; font-size: 0 !important; }
html[data-layout="phone"] body#elthosApp.project-detail-view:has(.project-shell:not(.is-class-series)) #projectMembersDialog #projectMembersDialogTitle::after { content: "Share"; color: #000; font: 600 15px/20px -apple-system, BlinkMacSystemFont, sans-serif; }
html[data-layout="phone"] body#elthosApp.project-detail-view:has(.project-shell:not(.is-class-series)) #projectMembersDialog #projectMembersDialogDescription {
  max-width: 100%;
  margin: 0 !important;
  overflow: hidden;
  color: #67676b !important;
  font: 400 12px/16px -apple-system, BlinkMacSystemFont, sans-serif !important;
  white-space: nowrap;
  text-overflow: ellipsis;
}
html[data-layout="phone"] body#elthosApp.project-detail-view:has(.project-shell:not(.is-class-series)) #projectMembersDialog .project-members-dialog-header > button {
  position: absolute !important;
  top: 8px !important;
  right: 10px !important;
  width: auto !important;
  min-width: 44px !important;
  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-size: 0 !important;
}
html[data-layout="phone"] body#elthosApp.project-detail-view:has(.project-shell:not(.is-class-series)) #projectMembersDialog .project-members-dialog-header > button::after { content: "Done"; font: 600 15px/20px -apple-system, BlinkMacSystemFont, sans-serif; }
html[data-layout="phone"] body#elthosApp.project-detail-view:has(.project-shell:not(.is-class-series)) #projectMembersDialog .project-members-toolbar { display: grid !important; grid-template-columns: minmax(0, 1fr) !important; gap: 12px !important; margin: 10px 0 0 !important; padding: 0 !important; }
html[data-layout="phone"] body#elthosApp.project-detail-view:has(.project-shell:not(.is-class-series)) #projectMembersDialog #projectAddMemberButton {
  order: -1;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  justify-self: stretch !important;
  width: 100% !important;
  height: 48px !important;
  min-height: 48px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: #000 !important;
  box-shadow: none !important;
  color: #fafbf6 !important;
  font-size: 0 !important;
}
html[data-layout="phone"] body#elthosApp.project-detail-view:has(.project-shell:not(.is-class-series)) #projectMembersDialog #projectAddMemberButton > * { display: none !important; }
html[data-layout="phone"] body#elthosApp.project-detail-view:has(.project-shell:not(.is-class-series)) #projectMembersDialog #projectAddMemberButton::after { content: "Invite" !important; display: block !important; color: #fafbf6 !important; font: 600 15px/20px -apple-system, BlinkMacSystemFont, sans-serif !important; }
html[data-layout="phone"] body#elthosApp.project-detail-view:has(.project-shell:not(.is-class-series)) #projectMembersDialog #projectAddMemberButton::before { content: none !important; display: none !important; }
html[data-layout="phone"] body#elthosApp.project-detail-view:has(.project-shell:not(.is-class-series)) #projectMembersDialog #projectAddMemberButton[hidden] { display: none !important; }
html[data-layout="phone"] body#elthosApp.project-detail-view:has(.project-shell:not(.is-class-series)) #projectMembersDialog #projectMembersCount { margin: 12px 0 0 !important; font-size: 0 !important; }
html[data-layout="phone"] body#elthosApp.project-detail-view:has(.project-shell:not(.is-class-series)) #projectMembersDialog #projectMembersCount[data-phone-count]::after { content: "People with access · " attr(data-phone-count); color: #000; font: 600 15px/20px -apple-system, BlinkMacSystemFont, sans-serif; }
html[data-layout="phone"] body#elthosApp.project-detail-view:has(.project-shell:not(.is-class-series)) #projectMembersDialog #projectMembersStatus.is-phone-quiet { display: none !important; }
html[data-layout="phone"] body#elthosApp.project-detail-view:has(.project-shell:not(.is-class-series)) #projectMembersDialog #projectMemberList {
  display: grid !important;
  gap: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 16px !important;
  background: #eff0e8 !important;
  overflow: hidden !important;
}
html[data-layout="phone"] body#elthosApp.project-detail-view:has(.project-shell:not(.is-class-series)) #projectMembersDialog .project-member-row {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  min-height: 60px !important;
  margin: 0 !important;
  padding: 0 6px 0 14px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: none !important;
}
html[data-layout="phone"] body#elthosApp.project-detail-view:has(.project-shell:not(.is-class-series)) #projectMembersDialog .project-member-row + .project-member-row::before {
  content: "";
  position: absolute;
  top: 0;
  left: 58px;
  right: 0;
  height: .5px;
  background: rgba(60, 60, 67, .29);
}
html[data-layout="phone"] body#elthosApp.project-detail-view:has(.project-shell:not(.is-class-series)) #projectMembersDialog .project-member-avatar {
  flex: none !important;
  display: grid !important;
  place-items: center !important;
  width: 32px !important;
  height: 32px !important;
  border: 0 !important;
  border-radius: 50% !important;
  background: #e6e7de !important;
  color: #000 !important;
  font: 600 12px/1 -apple-system, BlinkMacSystemFont, sans-serif !important;
}
html[data-layout="phone"] body#elthosApp.project-detail-view:has(.project-shell:not(.is-class-series)) #projectMembersDialog .project-member-identity { flex: 1 !important; display: grid !important; gap: 2px !important; min-width: 0 !important; }
html[data-layout="phone"] body#elthosApp.project-detail-view:has(.project-shell:not(.is-class-series)) #projectMembersDialog .project-member-identity strong { color: #000 !important; font: 400 15px/20px -apple-system, BlinkMacSystemFont, sans-serif !important; }
html[data-layout="phone"] body#elthosApp.project-detail-view:has(.project-shell:not(.is-class-series)) #projectMembersDialog .project-member-identity strong > :is(span, small, em) {
  margin-left: 6px !important;
  padding: 0 !important;
  border: 0 !important;
  background: none !important;
  color: #67676b !important;
  font: 400 12px/16px -apple-system, BlinkMacSystemFont, sans-serif !important;
}
html[data-layout="phone"] body#elthosApp.project-detail-view:has(.project-shell:not(.is-class-series)) #projectMembersDialog .project-member-identity > span {
  overflow: hidden !important;
  color: #67676b !important;
  font: 400 12px/16px -apple-system, BlinkMacSystemFont, sans-serif !important;
  white-space: nowrap !important;
  text-overflow: ellipsis !important;
}
html[data-layout="phone"] body#elthosApp.project-detail-view:has(.project-shell:not(.is-class-series)) #projectMembersDialog .project-member-menu > summary {
  display: grid !important;
  place-items: center !important;
  width: 36px !important;
  height: 36px !important;
  color: #67676b !important;
  font: 600 15px/1 -apple-system, BlinkMacSystemFont, sans-serif !important;
  list-style: none !important;
}


/* ---------- Invite (share prompt): an iPhone sheet with Cancel, a stone Email field and a black capsule ---------- */
html[data-layout="phone"] body#elthosApp #promptModal.share-prompt-modal:not([hidden]) {
  place-items: end stretch !important;
  padding: 0 !important;
  background: rgba(0, 0, 0, .25) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}
html[data-layout="phone"] body#elthosApp #promptModal.share-prompt-modal .share-prompt-card {
  position: relative !important;
  width: 100% !important;
  max-width: none !important;
  gap: 14px !important;
  margin: 0 !important;
  padding: 18px 20px calc(24px + env(safe-area-inset-bottom, 0px)) !important;
  border: 0 !important;
  border-radius: 20px 20px 0 0 !important;
  background: #fafbf6 !important;
  box-shadow: none !important;
  animation: phoneSheetUp .28s cubic-bezier(.2, .8, .2, 1) both;
}
html[data-layout="phone"] body#elthosApp #promptModal.share-prompt-modal .share-prompt-card::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 #promptModal.share-prompt-modal .share-prompt-card .prompt-header { display: block !important; min-height: 26px !important; padding: 0 76px !important; text-align: center !important; }
html[data-layout="phone"] body#elthosApp #promptModal.share-prompt-modal .share-prompt-card .prompt-header::before { content: none !important; display: none !important; }
html[data-layout="phone"] body#elthosApp #promptModal.share-prompt-modal .share-prompt-card #promptTitle {
  margin: 0 !important;
  overflow: hidden !important;
  color: #000 !important;
  font: 600 15px/20px -apple-system, BlinkMacSystemFont, sans-serif !important;
  letter-spacing: 0 !important;
  white-space: nowrap !important;
  text-overflow: ellipsis !important;
}
html[data-layout="phone"] body#elthosApp #promptModal.share-prompt-modal .share-prompt-card #promptHelp { margin: 0 !important; color: #67676b !important; font: 400 13px/18px -apple-system, BlinkMacSystemFont, sans-serif !important; }
html[data-layout="phone"] body#elthosApp #promptModal.share-prompt-modal .share-prompt-card .prompt-input-shell::before { content: none !important; display: none !important; }
html[data-layout="phone"] body#elthosApp #promptModal.share-prompt-modal .share-prompt-card .prompt-input-shell textarea {
  min-height: 46px !important;
  max-height: 46px !important;
  padding: 13px 14px !important;
  border: 0 !important;
  border-radius: 14px !important;
  background: #eff0e8 !important;
  box-shadow: none !important;
  color: #000 !important;
  font: 400 17px/20px -apple-system, BlinkMacSystemFont, sans-serif !important;
}
html[data-layout="phone"] body#elthosApp #promptModal.share-prompt-modal .share-prompt-card .prompt-actions { display: block !important; }
html[data-layout="phone"] body#elthosApp #promptModal.share-prompt-modal .share-prompt-card #promptCancelButton {
  position: absolute !important;
  top: 12px !important;
  left: 10px !important;
  width: auto !important;
  min-width: 44px !important;
  min-height: 0 !important;
  height: 36px !important;
  padding: 0 10px !important;
  border: 0 !important;
  background: none !important;
  box-shadow: none !important;
  color: #000 !important;
  font: 400 15px/20px -apple-system, BlinkMacSystemFont, sans-serif !important;
}
html[data-layout="phone"] body#elthosApp #promptModal.share-prompt-modal .share-prompt-card #promptSubmitButton {
  width: 100% !important;
  height: 48px !important;
  min-height: 48px !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: #000 !important;
  box-shadow: none !important;
  color: #fafbf6 !important;
  font: 600 15px/20px -apple-system, BlinkMacSystemFont, sans-serif !important;
}
html[data-layout="phone"] body#elthosApp #promptModal.share-prompt-modal .share-prompt-card #promptSubmitButton:disabled { opacity: .35 !important; }


/* ---------- Add to project, Assign work, Reply: iPhone bottom sheets ---------- */
html[data-layout="phone"] body#elthosApp.project-detail-view :is(#projectWorkDialog, dialog.handoff-dialog)[open] {
  position: fixed !important;
  top: auto !important;
  right: 0 !important;
  bottom: 0 !important;
  left: 0 !important;
  width: auto !important;
  max-width: none !important;
  max-height: 85dvh !important;
  margin: 0 !important;
  padding: 14px 0 calc(24px + env(safe-area-inset-bottom, 0px)) !important;
  border: 0 !important;
  border-radius: 20px 20px 0 0 !important;
  background: #fafbf6 !important;
  box-shadow: none !important;
  animation: phoneSheetUp .28s cubic-bezier(.2, .8, .2, 1) both;
}
html[data-layout="phone"] body#elthosApp.project-detail-view :is(#projectWorkDialog, dialog.handoff-dialog)::backdrop { background: rgba(0, 0, 0, .25) !important; backdrop-filter: none !important; -webkit-backdrop-filter: none !important; }
html[data-layout="phone"] body#elthosApp.project-detail-view :is(#projectWorkDialog, dialog.handoff-dialog)[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.project-detail-view #projectWorkDialog:has(.project-add-sheet) .project-add-sheet { padding: 0 8px 12px !important; }

/* The desktop avatar's eye marks were left over the text in the project Ask overlay. */
html[data-layout="phone"] body#elthosApp:is(.project-ai-open, .project-ai-closing):has(.project-shell:not(.is-class-series)) #projectAnswer .chat-message.assistant::after { display: none !important; }
html[data-layout="phone"] body#elthosApp.project-detail-view dialog.handoff-dialog[open]:not(#phoneNone) { padding-right: 20px !important; padding-left: 20px !important; }
html[data-layout="phone"] body#elthosApp.project-detail-view dialog.handoff-dialog header { background: #fafbf6 !important; }
html[data-layout="phone"] body#elthosApp.project-detail-view dialog.handoff-dialog header > button { width: 30px !important; height: 30px !important; background: #eff0e8 !important; color: #67676b !important; }

/* Sessions: the meeting's place in the timeline (with its date) and a short summary, as on iPhone. */
html[data-layout="phone"] body#elthosApp.project-detail-view .project-shell:not(.is-class-series) #projectDetailSessionsList .session-open:has(.session-row-context) .session-row-date { display: none !important; }
html[data-layout="phone"] body#elthosApp.project-detail-view .project-shell:not(.is-class-series) #projectDetailSessionsList .session-open { grid-template-rows: none !important; grid-auto-rows: auto !important; }
html[data-layout="phone"] body#elthosApp.project-detail-view .project-shell:not(.is-class-series) #projectDetailSessionsList .session-row-context {
  grid-column: 2;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: var(--pj-secondary);
  font: 400 13.8px/18px var(--pj-font);
}
html[data-layout="phone"] body#elthosApp.project-detail-view .project-shell:not(.is-class-series) #projectDetailSessionsList .session-row-summary {
  grid-column: 2;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-top: 2px;
  color: var(--pj-secondary);
  font: 400 13.8px/20px var(--pj-font);
}

/* Contribution, measured against the iPhone: headings with a note sit 10 above it,
   Needs you's line sits 10 under its row, Working on's first row starts sooner. */
html[data-layout="phone"] body#elthosApp.project-detail-view .project-shell:not(.is-class-series) .contribution-section-heading:has(p),
html[data-layout="phone"] body#elthosApp.project-detail-view .project-shell:not(.is-class-series) .contribution-section:not(.contribution-history) > .contribution-section-heading > div:has(> p) { display: grid !important; gap: 8px !important; }
html[data-layout="phone"] body#elthosApp.project-detail-view .project-shell:not(.is-class-series) .contribution-needs-row { padding-bottom: 20px !important; }
html[data-layout="phone"] body#elthosApp.project-detail-view .project-shell:not(.is-class-series) .contribution-section.is-phone-scroll > .contribution-section-heading { padding-bottom: 0 !important; margin-bottom: -4px !important; }
/* Finished work shows the filled tick, not the ask mark. */
html[data-layout="phone"] body#elthosApp.project-detail-view .project-shell:not(.is-class-series) .contribution-task.is-done > .contribution-ask-mark::before {
  width: 23px;
  height: 23px;
  border-radius: 50%;
  background: #000 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center / 14px no-repeat;
  -webkit-mask: none;
  mask: none;
}
/* This week's contributions in the iPhone's order: title, week menu (chevron
   right after it), the count line, the list or empty note, the footnote. */
html[data-layout="phone"] body#elthosApp.project-detail-view .project-shell:not(.is-class-series) #memberTaskList .contribution-history { display: flex !important; flex-direction: column !important; align-items: stretch !important; gap: 14px !important; }
html[data-layout="phone"] body#elthosApp.project-detail-view .project-shell:not(.is-class-series) #memberTaskList .contribution-history > .contribution-section-heading,
html[data-layout="phone"] body#elthosApp.project-detail-view .project-shell:not(.is-class-series) #memberTaskList .contribution-history > .contribution-section-heading > div { display: contents !important; }
html[data-layout="phone"] body#elthosApp.project-detail-view .project-shell:not(.is-class-series) #memberTaskList .contribution-history > * { order: 3; }
html[data-layout="phone"] body#elthosApp.project-detail-view .project-shell:not(.is-class-series) #memberTaskList .contribution-history > .contribution-section-heading h3 { order: 0; }
html[data-layout="phone"] body#elthosApp.project-detail-view .project-shell:not(.is-class-series) #memberTaskList .contribution-history .contribution-week-label { order: 1; display: block !important; align-self: flex-start !important; margin: -2px 0 !important; padding: 0 !important; font-size: 0 !important; }
html[data-layout="phone"] body#elthosApp.project-detail-view .project-shell:not(.is-class-series) #memberTaskList .contribution-history > .contribution-section-heading p { order: 2; }
html[data-layout="phone"] body#elthosApp.project-detail-view .project-shell:not(.is-class-series) #memberTaskList .contribution-history > .contribution-footnote { order: 4; }
html[data-layout="phone"] body#elthosApp.project-detail-view .project-shell:not(.is-class-series) #memberTaskList .contribution-history > .contribution-archive { order: 5; }
html[data-layout="phone"] body#elthosApp.project-detail-view .project-shell:not(.is-class-series) #memberTaskList .contribution-history .contribution-week-label select { width: auto !important; min-width: 0 !important; height: 24px !important; min-height: 0 !important; padding-right: 22px !important; background-size: 14px !important; }
html[data-layout="phone"] body#elthosApp.project-detail-view .project-shell:not(.is-class-series) #memberTaskList .contribution-history > .contribution-empty { padding: 12px 0 !important; }

/* Files: a drawn plus (17, lime) before "Upload file", 42 above "No files yet", as on iPhone. */
html[data-layout="phone"] body#elthosApp.project-detail-view .project-shell:not(.is-class-series) #projectUploadButton { gap: 9px !important; padding: 12px 0 8px !important; }
html[data-layout="phone"] body#elthosApp.project-detail-view .project-shell:not(.is-class-series) #projectUploadButton::before {
  content: "" !important;
  display: block !important;
  flex: none !important;
  width: 16px !important;
  height: 16px !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: #4f600b !important;
  box-shadow: none !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'%3E%3Cpath d='M12 3v18M3 12h18'/%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='2.4' stroke-linecap='round'%3E%3Cpath d='M12 3v18M3 12h18'/%3E%3C/svg%3E") center / contain no-repeat !important;
}

/* Ask: the top bar's soft shadow drew a grey band across the messages
   scrolling under it. Plain paper bar, then a short full-width fade. */
html[data-layout="phone"] body#elthosApp.project-detail-view:is(.project-ai-open, .project-ai-closing):has(.project-shell:not(.is-class-series)) .project-ai-sheet-header { box-shadow: none !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
html[data-layout="phone"] body#elthosApp.project-detail-view:is(.project-ai-open, .project-ai-closing):has(.project-shell:not(.is-class-series)) .project-ai-sheet-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 18px;
  background: linear-gradient(#fafbf6, rgba(250, 251, 246, 0));
  pointer-events: none;
}

/* Overview, measured against the iPhone: the week's dates line up under "Week 2". */
html[data-layout="phone"] body#elthosApp.project-detail-view .project-shell:not(.is-class-series) .wp-week-meta { margin: 0 !important; }
html[data-layout="phone"] body#elthosApp.project-detail-view .project-shell:not(.is-class-series) .wp-week > summary { row-gap: 1px !important; }
html[data-layout="phone"] body#elthosApp.project-detail-view .project-shell:not(.is-class-series) .wp-week-body { padding-top: 6px !important; }

/* What changed: the date on its own line at the top right; Before/After use the full width. */
html[data-layout="phone"] body#elthosApp.project-detail-view .project-shell:not(.is-class-series) .wp-change > .wp-change-top { position: static !important; inset: auto !important; }
html[data-layout="phone"] body#elthosApp.project-detail-view .project-shell:not(.is-class-series) .wp-change :is(.wp-before, .wp-after, .wp-why) { padding-right: 0 !important; }
/* What's next: the date sits at the right of the first line, as for Progress. */
html[data-layout="phone"] body#elthosApp.project-detail-view .project-shell:not(.is-class-series) .wp-step { position: relative !important; }
html[data-layout="phone"] body#elthosApp.project-detail-view .project-shell:not(.is-class-series) .wp-step-body { padding-right: 52px !important; }
html[data-layout="phone"] body#elthosApp.project-detail-view .project-shell:not(.is-class-series) .wp-step-meta > .wp-ref { position: absolute !important; top: 7px !important; right: 0 !important; margin: 0 !important; }

/* iPad (phone layout, wide screen): Ask is full screen as on iPhone, not the
   desktop's 420 px right-hand column, and the page is never squeezed for it. */
html[data-layout="phone"] body#elthosApp.project-detail-view:has(.project-shell:not(.is-class-series)) > [data-project-detail-pane="chat"] { left: 0 !important; right: 0 !important; width: auto !important; max-width: none !important; }
html[data-layout="phone"] body#elthosApp.project-detail-view:has(.project-shell:not(.is-class-series)) > [data-project-detail-pane="chat"] > .project-ask-resize { display: none !important; }
html[data-layout="phone"] body#elthosApp.project-detail-view:has(.project-shell:not(.is-class-series)):is(.project-ai-open, .project-ai-closing) .project-shell:not(.is-class-series) { width: auto !important; }
html[data-layout="phone"] body#elthosApp.project-detail-view:is(.project-ai-open, .project-ai-closing):has(.project-shell:not(.is-class-series)) #projectChatCloseButton { order: -1 !important; }
/* Wide screens (iPad): the conversation stays a 680 pt column in the middle, as in the iPhone app. */
html[data-layout="phone"] body#elthosApp.project-detail-view:is(.project-ai-open, .project-ai-closing):has(.project-shell:not(.is-class-series)) :is(#projectAnswer, #projectSuggestionRow) { padding-left: max(22px, calc((100% - 680px) / 2)) !important; padding-right: max(22px, calc((100% - 680px) / 2)) !important; }
html[data-layout="phone"] body#elthosApp.project-detail-view:is(.project-ai-open, .project-ai-closing):has(.project-shell:not(.is-class-series)) #projectChatForm { padding-left: max(22px, calc((100% - 680px) / 2)) !important; padding-right: max(22px, calc((100% - 680px) / 2)) !important; }
html[data-layout="phone"] body#elthosApp.project-detail-view:is(.project-ai-open, .project-ai-closing):has(.project-shell:not(.is-class-series)) #projectChatForm::before { left: max(22px, calc((100% - 680px) / 2)) !important; right: max(22px, calc((100% - 680px) / 2)) !important; }

/* ---------- Discussion, as the iPhone's ProjectDiscussionView ---------- */
html[data-layout="phone"] body#elthosApp.project-detail-view .project-shell:not(.is-class-series) #project-pane-discussion.active { display: flex !important; flex-direction: column !important; box-sizing: border-box !important; width: calc(100% + 40px) !important; max-width: none !important; min-height: 100% !important; margin: 0 -20px !important; }
html[data-layout="phone"] body#elthosApp.project-detail-view .project-shell:not(.is-class-series) #project-pane-discussion .discussion-thread { flex: 1 1 auto !important; padding: 12px 18px !important; }
html[data-layout="phone"] body#elthosApp.project-detail-view .project-shell:not(.is-class-series) #project-pane-discussion .discussion-empty { margin: 0 !important; padding: 80px 0 0 !important; color: #67676b !important; font: 400 14px/18px var(--pj-font) !important; text-align: center !important; }
html[data-layout="phone"] body#elthosApp.project-detail-view .project-shell:not(.is-class-series) #project-pane-discussion .discussion-day { margin: 0 !important; padding: 20px 0 4px !important; color: #67676b !important; font: 500 12px/16px var(--pj-font) !important; white-space: nowrap !important; }
html[data-layout="phone"] body#elthosApp.project-detail-view .project-shell:not(.is-class-series) #project-pane-discussion .discussion-day::before, html[data-layout="phone"] body#elthosApp.project-detail-view .project-shell:not(.is-class-series) #project-pane-discussion .discussion-day::after { height: .5px !important; background: #e2e3da !important; }
html[data-layout="phone"] body#elthosApp.project-detail-view .project-shell:not(.is-class-series) #project-pane-discussion .discussion-message { margin-top: 14px !important; align-items: flex-start !important; }
html[data-layout="phone"] body#elthosApp.project-detail-view .project-shell:not(.is-class-series) #project-pane-discussion .discussion-message.is-grouped { margin-top: 3px !important; }
html[data-layout="phone"] body#elthosApp.project-detail-view .project-shell:not(.is-class-series) #project-pane-discussion .discussion-message:not(.is-mine) { padding-right: 40px !important; }
html[data-layout="phone"] body#elthosApp.project-detail-view .project-shell:not(.is-class-series) #project-pane-discussion .discussion-message.is-mine { padding-left: 48px !important; }
html[data-layout="phone"] body#elthosApp.project-detail-view .project-shell:not(.is-class-series) #project-pane-discussion .discussion-body { max-width: 100% !important; gap: 4px !important; }
html[data-layout="phone"] body#elthosApp.project-detail-view .project-shell:not(.is-class-series) #project-pane-discussion .discussion-meta { margin: 0 !important; gap: 8px !important; }
html[data-layout="phone"] body#elthosApp.project-detail-view .project-shell:not(.is-class-series) #project-pane-discussion .discussion-meta strong { color: #000 !important; font: 600 13px/16px var(--pj-font) !important; }
html[data-layout="phone"] body#elthosApp.project-detail-view .project-shell:not(.is-class-series) #project-pane-discussion :is(.discussion-meta time, .discussion-mine-time) { margin: 0 !important; color: #67676b !important; font: 400 11.5px/14px var(--pj-font) !important; }
/* Avatars: the iPhone's colours from the same hue (HSB 18/96 behind, 45/36 text). */
html[data-layout="phone"] body#elthosApp.project-detail-view .project-shell:not(.is-class-series) #project-pane-discussion .discussion-avatar { background: hsl(var(--avatar-hue, 220) 68% 87%) !important; color: hsl(var(--avatar-hue, 220) 29% 28%) !important; font: 600 12px/1 var(--pj-font) !important; letter-spacing: 0 !important; }
html[data-layout="phone"] body#elthosApp.project-detail-view .project-shell:not(.is-class-series) #project-pane-discussion .discussion-bubble { padding: 9px 14px !important; background: #f1f1ee !important; color: #000 !important; font: 400 15px/20px var(--pj-font) !important; }
html[data-layout="phone"] body#elthosApp.project-detail-view .project-shell:not(.is-class-series) #project-pane-discussion .discussion-message.is-mine .discussion-bubble { background: #000 !important; color: #fff !important; }
/* The message box: one stone pill (radius 24) with a 36 send circle, 16 from the sides. */
html[data-layout="phone"] body#elthosApp.project-detail-view .project-shell:not(.is-class-series) #project-pane-discussion .discussion-composer-wrap { position: sticky !important; bottom: 0 !important; z-index: 3 !important; margin: auto 0 0 !important; padding: 6px 16px calc(10px + env(safe-area-inset-bottom, 0px)) !important; background: linear-gradient(rgba(250, 251, 246, 0), #fafbf6 14px) !important; }
html[data-layout="phone"] body#elthosApp.project-detail-view .project-shell:not(.is-class-series) #project-pane-discussion .discussion-composer { position: relative !important; align-items: flex-end !important; gap: 8px !important; min-height: 44px !important; margin: 0 !important; padding: 0 4px 0 0 !important; border: .8px solid rgba(226, 227, 218, .8) !important; border-radius: 24px !important; background: #eff0e8 !important; box-shadow: none !important; }
html[data-layout="phone"] body#elthosApp.project-detail-view .project-shell:not(.is-class-series) #project-pane-discussion .discussion-composer textarea { min-height: 0 !important; max-height: 110px !important; margin: 0 !important; padding: 11px 0 11px 16px !important; color: #000 !important; font: 400 15.5px/21px var(--pj-font) !important; }
html[data-layout="phone"] body#elthosApp.project-detail-view .project-shell:not(.is-class-series) #project-pane-discussion .discussion-composer textarea::placeholder { color: rgba(60, 60, 67, .45) !important; }
html[data-layout="phone"] body#elthosApp.project-detail-view .project-shell:not(.is-class-series) #project-pane-discussion .discussion-composer button { flex: 0 0 36px !important; width: 36px !important; height: 36px !important; min-height: 36px !important; margin: 4px 0 !important; background: #000 !important; color: #fff !important; }
html[data-layout="phone"] body#elthosApp.project-detail-view .project-shell:not(.is-class-series) #project-pane-discussion .discussion-composer button:disabled { background: #d6d6d6 !important; }
html[data-layout="phone"] body#elthosApp.project-detail-view .project-shell:not(.is-class-series) #project-pane-discussion .discussion-composer button svg { width: 16px !important; height: 16px !important; stroke-width: 2.6 !important; }
html[data-layout="phone"] body#elthosApp.project-detail-view .project-shell:not(.is-class-series) #project-pane-discussion .discussion-status { margin: 0 !important; padding: 0 22px 6px !important; color: #d70015 !important; font: 500 12.5px/16px var(--pj-font) !important; }
/* The @ list: a stone card over the box. */
html[data-layout="phone"] body#elthosApp.project-detail-view .project-shell:not(.is-class-series) #project-pane-discussion .discussion-mentions { bottom: calc(100% + 4px) !important; padding: 0 0 6px !important; gap: 0 !important; border: .8px solid rgba(226, 227, 218, .8) !important; border-radius: 16px !important; background: #eff0e8 !important; box-shadow: none !important; }
html[data-layout="phone"] body#elthosApp.project-detail-view .project-shell:not(.is-class-series) #project-pane-discussion .discussion-mention-group { padding: 10px 14px 2px !important; color: #67676b !important; font: 600 11px/14px var(--pj-font) !important; }
html[data-layout="phone"] body#elthosApp.project-detail-view .project-shell:not(.is-class-series) #project-pane-discussion .discussion-mention-option { min-height: 44px !important; padding: 0 14px !important; border-radius: 0 !important; align-items: center !important; }
html[data-layout="phone"] body#elthosApp.project-detail-view .project-shell:not(.is-class-series) #project-pane-discussion .discussion-mention-option strong { color: #000 !important; font: 500 14.5px/18px var(--pj-font) !important; }
html[data-layout="phone"] body#elthosApp.project-detail-view .project-shell:not(.is-class-series) #project-pane-discussion .discussion-mention-option small { color: #67676b !important; font: 400 12px/16px var(--pj-font) !important; }
html[data-layout="phone"] body#elthosApp.project-detail-view .project-shell:not(.is-class-series) #project-pane-discussion .discussion-mention-empty { padding: 14px !important; color: #67676b !important; font: 400 13px/18px var(--pj-font) !important; }

/* ---------- Add meetings / Add lectures: the iPhone sheet (2026-11-10) ----------
   Tall sheet on paper; "Add meetings" 28 bold; a stone "Find a meeting" field;
   the meetings on one stone card (radius 18) with a 26 grey ring, the title 17
   semibold and its local time 15 grey; Cancel (stone) and Add (black; grey until
   one is picked) side by side at the bottom. */
html[data-layout="phone"] body#elthosApp dialog.weekly-dialog.phone-meeting-picker[open] {
  position: fixed !important;
  inset: calc(env(safe-area-inset-top, 0px) + 12px) 0 0 0 !important;
  width: auto !important;
  max-width: none !important;
  height: auto !important;
  max-height: none !important;
  margin: 0 !important;
  padding: 26px 20px calc(16px + env(safe-area-inset-bottom, 0px)) !important;
  border: 0 !important;
  border-radius: 20px 20px 0 0 !important;
  background: #fafbf6 !important;
  box-shadow: none !important;
  overflow: hidden !important;
  animation: phoneSheetUp .28s cubic-bezier(.2, .8, .2, 1) both;
}
html[data-layout="phone"] body#elthosApp dialog.weekly-dialog.phone-meeting-picker::backdrop { background: rgba(0, 0, 0, .25) !important; backdrop-filter: none !important; }
html[data-layout="phone"] body#elthosApp dialog.weekly-dialog.phone-meeting-picker[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 .phone-meeting-picker > h3 { margin: 0 0 14px !important; color: #000 !important; font: 700 28px/34px -apple-system, BlinkMacSystemFont, sans-serif !important; letter-spacing: -.4px !important; }
html[data-layout="phone"] body#elthosApp .phone-meeting-picker #projectMeetingPicker { display: flex !important; flex-direction: column !important; height: calc(100% - 48px) !important; min-height: 0 !important; gap: 14px !important; }
html[data-layout="phone"] body#elthosApp .phone-meeting-picker .phone-meeting-find { display: flex; align-items: center; gap: 10px; flex: none; min-height: 48px; padding: 0 16px; border: .8px solid rgba(226, 227, 218, .8); border-radius: 18px; background: #eff0e8; }
html[data-layout="phone"] body#elthosApp .phone-meeting-picker .phone-meeting-find::before { content: ""; flex: none; width: 18px; height: 18px; 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[data-layout="phone"] body#elthosApp .phone-meeting-picker .phone-meeting-find input { flex: 1; min-width: 0; height: 46px; min-height: 0 !important; margin: 0 !important; padding: 0 !important; border: 0 !important; background: none !important; box-shadow: none !important; color: #000; font: 400 17px/22px -apple-system, BlinkMacSystemFont, sans-serif !important; outline: none; }
html[data-layout="phone"] body#elthosApp .phone-meeting-picker .project-meeting-options {
  flex: 1 1 auto !important;
  display: block !important;
  min-height: 0 !important;
  max-height: none !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow-y: auto !important;
  border: .8px solid rgba(226, 227, 218, .8) !important;
  border-radius: 18px !important;
  background: #eff0e8 !important;
}
html[data-layout="phone"] body#elthosApp .phone-meeting-picker .project-meeting-options > label {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  gap: 16px !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 14px 16px 14px 28px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: none !important;
  box-shadow: none !important;
  cursor: pointer;
}
html[data-layout="phone"] body#elthosApp .phone-meeting-picker .project-meeting-options > label[hidden] { display: none !important; }
html[data-layout="phone"] body#elthosApp .phone-meeting-picker .project-meeting-options > label + label::before { content: ""; position: absolute; top: 0; left: 70px; right: 0; height: .5px; background: #d6d7cf; }
html[data-layout="phone"] body#elthosApp .phone-meeting-picker .project-meeting-options input[type="checkbox"] {
  -webkit-appearance: none;
  appearance: none;
  flex: none !important;
  width: 26px !important;
  min-width: 26px !important;
  max-width: 26px !important;
  height: 26px !important;
  margin: 0 !important;
  border: 2px solid #c7c7c2 !important;
  border-radius: 50% !important;
  background: transparent !important;
  box-shadow: none !important;
}
html[data-layout="phone"] body#elthosApp .phone-meeting-picker .project-meeting-options input[type="checkbox"]:checked {
  border-color: #000 !important;
  background: #000 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center / 15px no-repeat !important;
}
html[data-layout="phone"] body#elthosApp .phone-meeting-picker .project-meeting-options > label > span { display: grid !important; gap: 3px !important; min-width: 0 !important; }
html[data-layout="phone"] body#elthosApp .phone-meeting-picker .project-meeting-options strong { overflow: hidden; color: #000 !important; font: 600 17px/22px -apple-system, BlinkMacSystemFont, sans-serif !important; white-space: nowrap; text-overflow: ellipsis; }
html[data-layout="phone"] body#elthosApp .phone-meeting-picker .project-meeting-options small { color: #67676b !important; font: 400 15px/20px -apple-system, BlinkMacSystemFont, sans-serif !important; }
html[data-layout="phone"] body#elthosApp .phone-meeting-picker .weekly-form-actions { display: grid !important; grid-template-columns: 1fr 1fr !important; gap: 22px !important; flex: none !important; margin: 0 !important; padding: 0 !important; border: 0 !important; }
html[data-layout="phone"] body#elthosApp .phone-meeting-picker .weekly-form-actions > button { height: 56px !important; min-height: 0 !important; margin: 0 !important; border: .8px solid rgba(226, 227, 218, .8) !important; border-radius: 18px !important; background: #eff0e8 !important; box-shadow: none !important; color: #000 !important; font: 600 17px/22px -apple-system, BlinkMacSystemFont, sans-serif !important; }
html[data-layout="phone"] body#elthosApp .phone-meeting-picker .weekly-form-actions > button[type="submit"] { border-color: #000 !important; background: #000 !important; color: #fafbf6 !important; }
html[data-layout="phone"] body#elthosApp .phone-meeting-picker .weekly-form-actions > button[type="submit"]:disabled { border-color: #b7b8b2 !important; background: #b7b8b2 !important; color: #e7e8e2 !important; }
html[data-layout="phone"] body#elthosApp .phone-meeting-picker .project-meeting-options input[type="checkbox"] { box-sizing: border-box !important; height: 26px !important; min-height: 26px !important; max-height: 26px !important; padding: 0 !important; }
/* Sessions rows, measured against the iPhone: the chevron beside the circle no
   longer makes the title row taller; the place line on 17 pt lines, 3 pt above
   the summary, 13 pt under the last line. */
html[data-layout="phone"] body#elthosApp.project-detail-view .project-shell:not(.is-class-series) #projectDetailSessionsList .session-row-chevron { grid-row: 1 / span 2 !important; align-self: start !important; margin-top: 8px !important; }
html[data-layout="phone"] body#elthosApp.project-detail-view .project-shell:not(.is-class-series) #projectDetailSessionsList .session-row-context { line-height: 17px !important; }
html[data-layout="phone"] body#elthosApp.project-detail-view .project-shell:not(.is-class-series) #projectDetailSessionsList .session-row-summary { margin-top: -2px !important; }
html[data-layout="phone"] body#elthosApp.project-detail-view .project-shell:not(.is-class-series) #projectDetailSessionsList .session-open { padding-bottom: 13px !important; }
/* Needs you, measured against the iPhone: 8 pt under the heading, the ask and "… asked" 2 pt apart. */
html[data-layout="phone"] body#elthosApp.project-detail-view .project-shell:not(.is-class-series) .contribution-section.contribution-needs-you { row-gap: 8px !important; gap: 8px !important; }
html[data-layout="phone"] body#elthosApp.project-detail-view .project-shell:not(.is-class-series) .contribution-needs-row > div { display: grid !important; gap: 2px !important; }
html[data-layout="phone"] body#elthosApp.project-detail-view .project-shell:not(.is-class-series) .contribution-needs-row > div > span { margin-top: 0 !important; }
html[data-layout="phone"] body#elthosApp.project-detail-view .project-shell:not(.is-class-series) .contribution-needs-row { padding-top: 8px !important; }

/* Closing Ask keeps the phone look and slides down, like the iPhone sheet. */
html[data-layout="phone"] body#elthosApp.project-detail-view.project-ai-closing > [data-project-detail-pane="chat"] {
  animation: phoneAskDismiss 260ms cubic-bezier(0.3, 0, 0.8, 0.15) both !important;
  pointer-events: none !important;
}
@keyframes phoneAskDismiss {
  from { transform: translateY(0); opacity: 1; }
  to { transform: translateY(100%); opacity: 0; }
}

/* ---------- Reply to an ask: the iPhone's form (ProjectAskReplySheet) in the app's colours, paper with stone cards ---------- */
html[data-layout="phone"] body#elthosApp dialog.handoff-dialog:not(.handoff-edit):not(#phoneNone)[open] {
  position: fixed !important; top: auto !important; right: 0 !important; bottom: 0 !important; left: 0 !important;
  width: auto !important; max-width: none !important; height: calc(100dvh - env(safe-area-inset-top, 0px) - 12px) !important; max-height: none !important;
  margin: 0 !important; padding: 0 20px calc(28px + env(safe-area-inset-bottom, 0px)) !important;
  overflow-y: auto !important; overscroll-behavior: contain;
  border: 0 !important; border-radius: 20px 20px 0 0 !important;
  background: #fafbf6 !important; color: #000 !important; box-shadow: none !important;
  font: 400 17px/22px -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 dialog.handoff-dialog:not(.handoff-edit):not(#phoneNone)[open]::before { content: none !important; display: none !important; }
html[data-layout="phone"] body#elthosApp dialog.handoff-dialog:not(.handoff-edit):not(#phoneNone)::backdrop { background: rgba(0, 0, 0, .25) !important; backdrop-filter: none !important; -webkit-backdrop-filter: none !important; }
html[data-layout="phone"] body#elthosApp dialog.handoff-dialog:not(.handoff-edit):not(#phoneNone) > header {
  position: sticky !important; top: 0 !important; z-index: 2 !important;
  display: grid !important; grid-template-columns: 84px minmax(0, 1fr) 84px !important; align-items: center !important; gap: 0 !important;
  min-height: 60px !important; margin: 0 -20px 0 !important; padding: 8px 16px 6px !important;
  background: #fafbf6 !important;
}
html[data-layout="phone"] body#elthosApp dialog.handoff-dialog:not(.handoff-edit):not(#phoneNone) > header > .handoff-pill { display: none !important; }
html[data-layout="phone"] body#elthosApp dialog.handoff-dialog:not(.handoff-edit):not(#phoneNone) > header::after {
  content: attr(data-phone-title); grid-column: 2; grid-row: 1;
  overflow: hidden; color: #000; font: 600 17px/22px -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif; text-align: center; white-space: nowrap; text-overflow: ellipsis;
}
html[data-layout="phone"] body#elthosApp dialog.handoff-dialog:not(.handoff-edit):not(#phoneNone) > header > button[data-handoff-close] {
  grid-column: 1; grid-row: 1; justify-self: start !important;
  width: auto !important; min-width: 44px !important; height: 44px !important; margin: 0 !important; padding: 0 4px !important;
  border: 0 !important; border-radius: 0 !important; background: none !important; color: #000 !important; font-size: 0 !important;
}
html[data-layout="phone"] body#elthosApp dialog.handoff-dialog:not(.handoff-edit):not(#phoneNone) > header > button[data-handoff-close]::before { content: "Close"; color: #000; font: 400 17px/22px -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif; }
html[data-layout="phone"] body#elthosApp dialog.handoff-dialog:not(.handoff-edit):not(#phoneNone) > header > .handoff-status { grid-column: 1 / -1; grid-row: 2; margin: 2px 0 0 !important; color: #67676b !important; font: 400 13px/18px -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif !important; text-align: center !important; }
html[data-layout="phone"] body#elthosApp dialog.handoff-dialog:not(.handoff-edit):not(#phoneNone) > header > .handoff-status:empty { display: none !important; }

/* Section headers and footers. */
html[data-layout="phone"] body#elthosApp dialog.handoff-dialog:not(.handoff-edit):not(#phoneNone) > .handoff-from,
html[data-layout="phone"] body#elthosApp dialog.handoff-dialog:not(.handoff-edit):not(#phoneNone) > label,
html[data-layout="phone"] body#elthosApp dialog.handoff-dialog:not(.handoff-edit):not(#phoneNone) > h3,
html[data-layout="phone"] body#elthosApp dialog.handoff-dialog:not(.handoff-edit):not(#phoneNone) .handoff-files > span:first-child,
html[data-layout="phone"] body#elthosApp dialog.handoff-dialog:not(.handoff-edit):not(#phoneNone) .handoff-pass > label {
  display: block !important; width: auto !important; margin: 18px 16px 7px !important; padding: 0 !important;
  color: #67676b !important; font: 400 13px/18px -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif !important; letter-spacing: 0 !important;
}
html[data-layout="phone"] body#elthosApp dialog.handoff-dialog:not(.handoff-edit):not(#phoneNone) > label, html[data-layout="phone"] body#elthosApp dialog.handoff-dialog:not(.handoff-edit):not(#phoneNone) .handoff-files > span:first-child, html[data-layout="phone"] body#elthosApp dialog.handoff-dialog:not(.handoff-edit):not(#phoneNone) .handoff-pass > label { text-transform: uppercase !important; margin-top: 30px !important; }
html[data-layout="phone"] body#elthosApp dialog.handoff-dialog:not(.handoff-edit):not(#phoneNone) > .handoff-from { margin-top: 12px !important; }
html[data-layout="phone"] body#elthosApp dialog.handoff-dialog:not(.handoff-edit):not(#phoneNone) > h2 { display: none !important; }
html[data-layout="phone"] body#elthosApp dialog.handoff-dialog:not(.handoff-edit):not(#phoneNone) > .handoff-muted,
html[data-layout="phone"] body#elthosApp dialog.handoff-dialog:not(.handoff-edit):not(#phoneNone) .handoff-files > .handoff-muted {
  display: block !important; width: auto !important; margin: 7px 16px 0 !important; color: #67676b !important; font: 400 13px/18px -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif !important;
}

/* Ask card: the request, then "Please share …". */
html[data-layout="phone"] body#elthosApp dialog.handoff-dialog:not(.handoff-edit):not(#phoneNone) > .handoff-request {
  margin: 0 !important; padding: 11px 16px !important; border: 0 !important; border-radius: 10px !important;
  background: #eff0e8 !important; color: #000 !important; font: 400 17px/22px -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif !important; overflow-wrap: anywhere;
}
html[data-layout="phone"] body#elthosApp dialog.handoff-dialog:not(.handoff-edit):not(#phoneNone) > .handoff-request:has(+ .handoff-deliverable) { border-radius: 10px 10px 0 0 !important; }
html[data-layout="phone"] body#elthosApp dialog.handoff-dialog:not(.handoff-edit):not(#phoneNone) > .handoff-deliverable {
  margin: 0 !important; padding: 11px 16px !important; border-radius: 0 0 10px 10px !important;
  background: linear-gradient(#e2e3da, #e2e3da) 16px 0 / calc(100% - 16px) .5px no-repeat, #eff0e8 !important; color: #000 !important; font: 400 15px/20px -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif !important; overflow-wrap: anywhere;
}
html[data-layout="phone"] body#elthosApp dialog.handoff-dialog:not(.handoff-edit):not(#phoneNone) > .handoff-deliverable strong { margin-right: 0 !important; font-weight: 600 !important; }

/* Notes and Links: one white field each. */
html[data-layout="phone"] body#elthosApp dialog.handoff-dialog:not(.handoff-edit):not(#phoneNone) textarea {
  display: block !important; width: 100% !important; box-sizing: border-box !important; max-height: none !important;
  margin: 0 !important; padding: 11px 16px !important; border: 0 !important; border-radius: 10px !important;
  background: #eff0e8 !important; color: #000 !important; box-shadow: none !important; resize: none !important;
  font: 400 17px/22px -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif !important; outline: none !important;
}
html[data-layout="phone"] body#elthosApp dialog.handoff-dialog:not(.handoff-edit):not(#phoneNone) textarea::placeholder { color: rgba(60, 60, 67, .3) !important; opacity: 1 !important; }
html[data-layout="phone"] body#elthosApp dialog.handoff-dialog:not(.handoff-edit):not(#phoneNone) #handoffNotes { min-height: 110px !important; }
html[data-layout="phone"] body#elthosApp dialog.handoff-dialog:not(.handoff-edit):not(#phoneNone) #handoffLinks { min-height: 44px !important; height: 44px !important; }
html[data-layout="phone"] body#elthosApp dialog.handoff-dialog:not(.handoff-edit):not(#phoneNone) textarea:focus-visible { outline: none !important; }

/* Files: picked files, then "Add file" with a paperclip. */
html[data-layout="phone"] body#elthosApp dialog.handoff-dialog:not(.handoff-edit):not(#phoneNone) .handoff-files { display: block !important; margin: 0 !important; font-size: 17px !important; }
html[data-layout="phone"] body#elthosApp dialog.handoff-dialog:not(.handoff-edit):not(#phoneNone) .handoff-files ul { width: auto !important; margin: 0 !important; padding: 0 !important; list-style: none !important; border-radius: 10px 10px 0 0 !important; overflow: hidden !important; background: #eff0e8 !important; }
html[data-layout="phone"] body#elthosApp dialog.handoff-dialog:not(.handoff-edit):not(#phoneNone) .handoff-files ul:not(:has(+ .handoff-link)) { border-radius: 10px !important; }
html[data-layout="phone"] body#elthosApp dialog.handoff-dialog:not(.handoff-edit):not(#phoneNone) .handoff-files li {
  display: flex !important; align-items: center !important; gap: 12px !important; min-height: 44px !important; margin: 0 !important; padding: 0 16px !important;
  color: #000 !important; font: 400 17px/22px -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif !important; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
html[data-layout="phone"] body#elthosApp dialog.handoff-dialog:not(.handoff-edit):not(#phoneNone) .handoff-files li + li { background: linear-gradient(#e2e3da, #e2e3da) 16px 0 / calc(100% - 16px) .5px no-repeat, #eff0e8 !important; }
html[data-layout="phone"] body#elthosApp dialog.handoff-dialog:not(.handoff-edit):not(#phoneNone) .handoff-files li .handoff-link {
  flex: none !important; width: 22px !important; height: 22px !important; margin: 0 0 0 auto !important; padding: 0 !important;
  border-radius: 50% !important; background: #8e8e93 !important; color: transparent !important; font-size: 0 !important; text-decoration: none !important; position: relative;
}
html[data-layout="phone"] body#elthosApp dialog.handoff-dialog:not(.handoff-edit):not(#phoneNone) .handoff-files li .handoff-link::before {
  content: ""; position: absolute; inset: 0; background: #fff;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Cpath d='M7.5 7.5l7 7M14.5 7.5l-7 7' stroke='%23000' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") center / 22px 22px no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Cpath d='M7.5 7.5l7 7M14.5 7.5l-7 7' stroke='%23000' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") center / 22px 22px no-repeat;
}
html[data-layout="phone"] body#elthosApp dialog.handoff-dialog:not(.handoff-edit):not(#phoneNone) .handoff-files > .handoff-link[data-handoff-add-file] {
  display: flex !important; align-items: center !important; gap: 10px !important; width: 100% !important; min-height: 44px !important;
  margin: 0 !important; padding: 0 16px !important; border: 0 !important; border-radius: 10px !important; background: #eff0e8 !important;
  color: #000 !important; font: 400 17px/22px -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif !important; text-decoration: none !important; text-align: left !important;
}
html[data-layout="phone"] body#elthosApp dialog.handoff-dialog:not(.handoff-edit):not(#phoneNone) .handoff-files ul + .handoff-link[data-handoff-add-file] { border-radius: 0 0 10px 10px !important; background: linear-gradient(#e2e3da, #e2e3da) 16px 0 / calc(100% - 16px) .5px no-repeat, #eff0e8 !important; }
html[data-layout="phone"] body#elthosApp dialog.handoff-dialog:not(.handoff-edit):not(#phoneNone) .handoff-files > .handoff-link[data-handoff-add-file]::before {
  content: ""; flex: none; width: 20px; height: 20px; 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.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21.4 11.1l-8.5 8.5a5.5 5.5 0 0 1-7.8-7.8l8.5-8.5a3.7 3.7 0 0 1 5.2 5.2l-8.5 8.5a1.8 1.8 0 0 1-2.6-2.6l7.8-7.8'/%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.4 11.1l-8.5 8.5a5.5 5.5 0 0 1-7.8-7.8l8.5-8.5a3.7 3.7 0 0 1 5.2 5.2l-8.5 8.5a1.8 1.8 0 0 1-2.6-2.6l7.8-7.8'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* Send reply and Not me: rows in one card. */
html[data-layout="phone"] body#elthosApp dialog.handoff-dialog:not(.handoff-edit):not(#phoneNone) > .handoff-actions { display: block !important; margin: 30px 0 0 !important; padding: 0 !important; border-radius: 10px !important; overflow: hidden !important; background: #eff0e8 !important; }
html[data-layout="phone"] body#elthosApp dialog.handoff-dialog:not(.handoff-edit):not(#phoneNone) > .handoff-actions > button {
  display: flex !important; align-items: center !important; width: 100% !important; min-height: 44px !important; margin: 0 !important; padding: 0 16px !important;
  border: 0 !important; border-radius: 0 !important; background: transparent !important; color: #000 !important;
  font: 400 17px/22px -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif !important; text-align: left !important;
}
html[data-layout="phone"] body#elthosApp dialog.handoff-dialog:not(.handoff-edit):not(#phoneNone) > .handoff-actions > .handoff-primary { font-weight: 600 !important; }
html[data-layout="phone"] body#elthosApp dialog.handoff-dialog:not(.handoff-edit):not(#phoneNone) > .handoff-actions > button + button { background: linear-gradient(#e2e3da, #e2e3da) 16px 0 / calc(100% - 16px) .5px no-repeat, #eff0e8 !important; }
html[data-layout="phone"] body#elthosApp dialog.handoff-dialog:not(.handoff-edit):not(#phoneNone) > .handoff-actions > button:disabled { opacity: 1 !important; color: rgba(60, 60, 67, .3) !important; }
html[data-layout="phone"] body#elthosApp dialog.handoff-dialog:not(.handoff-edit):not(#phoneNone) > .handoff-pass { margin: 0 !important; padding: 0 !important; border: 0 !important; }
html[data-layout="phone"] body#elthosApp dialog.handoff-dialog:not(.handoff-edit):not(#phoneNone) .handoff-pass-row { display: flex !important; align-items: center !important; gap: 12px !important; min-height: 44px !important; padding: 0 16px !important; border-radius: 10px !important; background: #eff0e8 !important; }
html[data-layout="phone"] body#elthosApp dialog.handoff-dialog:not(.handoff-edit):not(#phoneNone) .handoff-pass-row select { flex: 1 !important; min-height: 44px !important; padding: 0 !important; border: 0 !important; border-radius: 0 !important; background: transparent !important; color: #000 !important; font: 400 17px/22px -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif !important; }
html[data-layout="phone"] body#elthosApp dialog.handoff-dialog:not(.handoff-edit):not(#phoneNone) .handoff-pass-row button { min-height: 44px !important; padding: 0 !important; border: 0 !important; background: none !important; color: #000 !important; font: 600 17px/22px -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif !important; }
html[data-layout="phone"] body#elthosApp dialog.handoff-dialog:not(.handoff-edit):not(#phoneNone) :is(.handoff-files > .handoff-link[data-handoff-add-file], .handoff-actions > button) { justify-content: flex-start !important; }
html[data-layout="phone"] body#elthosApp dialog.handoff-dialog:not(.handoff-edit):not(#phoneNone) .handoff-pass-row { flex-direction: row !important; flex-wrap: nowrap !important; }
html[data-layout="phone"] body#elthosApp dialog.handoff-dialog:not(.handoff-edit):not(#phoneNone) .handoff-pass-row select { flex: 1 1 auto !important; width: auto !important; min-width: 0 !important; }
html[data-layout="phone"] body#elthosApp dialog.handoff-dialog:not(.handoff-edit):not(#phoneNone) .handoff-pass-row button { flex: none !important; width: auto !important; }
/* Like the iPhone, Send reply stays grey until there is a note, a link or a file. */
html[data-layout="phone"] body#elthosApp dialog.handoff-dialog:not(.handoff-edit):not(#phoneNone):has(#handoffNotes:placeholder-shown):has(#handoffLinks:placeholder-shown):not(:has(.handoff-files li)) .handoff-actions > .handoff-primary { color: rgba(60, 60, 67, .3) !important; pointer-events: none !important; }

/* Keyboard (2026-11-10): the project and class Ask take only the height above the
   iPhone keyboard, so the text box sits right on it (as the Tutor). */
html[data-layout="phone"] body#elthosApp.project-detail-view:is(.project-ai-open, .project-ai-closing) > [data-project-detail-pane="chat"]:not(#phoneNone) {
  top: 0 !important;
  bottom: auto !important;
  height: var(--app-visible-height, 100dvh) !important;
}
html[data-layout="phone"] body#elthosApp.project-detail-view:is(.project-ai-open, .project-ai-closing) > [data-project-detail-pane="chat"]:not(#phoneNone) .project-chat-card {
  height: 100% !important;
  min-height: 0 !important;
  max-height: none !important;
}
/* The project page's frame also stops at the keyboard, so Discussion's message
   box sits right on it instead of under it. */
html[data-layout="phone"] body#elthosApp.project-detail-view:not(#phoneNone) :is(.app-shell, .workspace) {
  top: 0 !important;
  bottom: auto !important;
  height: var(--app-visible-height, 100dvh) !important;
}

/* Add meetings / Add lectures, measured again on the iPhone (2026-11-10): rows
   56 tall, a 22 circle 16 in, title 16.5 medium, date 14.5; dividers from the text. */
html[data-layout="phone"] body#elthosApp .phone-meeting-picker .project-meeting-options > label { gap: 14px !important; padding: 7px 16px !important; min-height: 56px !important; box-sizing: border-box !important; }
html[data-layout="phone"] body#elthosApp .phone-meeting-picker .project-meeting-options > label + label::before { left: 52px !important; }
html[data-layout="phone"] body#elthosApp .phone-meeting-picker .project-meeting-options input[type="checkbox"] { width: 22px !important; min-width: 22px !important; max-width: 22px !important; height: 22px !important; min-height: 22px !important; max-height: 22px !important; border-width: 1.6px !important; }
html[data-layout="phone"] body#elthosApp .phone-meeting-picker .project-meeting-options input[type="checkbox"]:checked { background-size: 13px !important; }
html[data-layout="phone"] body#elthosApp .phone-meeting-picker .project-meeting-options > label > span { gap: 2px !important; }
html[data-layout="phone"] body#elthosApp .phone-meeting-picker .project-meeting-options strong { font: 500 16.5px/21px -apple-system, BlinkMacSystemFont, sans-serif !important; }
html[data-layout="phone"] body#elthosApp .phone-meeting-picker .project-meeting-options small { font: 400 14.5px/19px -apple-system, BlinkMacSystemFont, sans-serif !important; }
html[data-layout="phone"] body#elthosApp .phone-meeting-picker .project-meeting-options > label > span > small { margin: 0 !important; }
