/* v115 — one calm mobile product language for Plan, Goals, Together and Review. */
@media (max-width: 760px) {
  :is(#mapView,#goalsView,#coupleView,#reviewView) {
    --product-ink: #102a23;
    --product-muted: #64756f;
    --product-line: #dce7e2;
    --product-soft: #f1f7f4;
    --product-green: #087a5b;
    background: linear-gradient(180deg, #fbfcfb 0%, #f6f8f7 100%);
    color: var(--product-ink);
  }

  :is(#mapView,#goalsView,#coupleView,#reviewView) h2,
  :is(#mapView,#goalsView,#coupleView,#reviewView) h3,
  :is(#mapView,#goalsView,#coupleView,#reviewView) strong,
  :is(#mapView,#goalsView,#coupleView,#reviewView) button,
  :is(#mapView,#goalsView,#coupleView,#reviewView) input,
  :is(#mapView,#goalsView,#coupleView,#reviewView) textarea {
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif !important;
  }

  :is(#mapView,#goalsView,#coupleView,#reviewView) :is(.panel,.plan-clarity-card,.year-finish-card,.goal-focus-panel,.review-summary,.vision-board) {
    border-color: var(--product-line) !important;
    border-radius: 20px !important;
    box-shadow: 0 8px 26px rgba(21,55,45,.055) !important;
  }

  :is(#mapView,#goalsView,#coupleView,#reviewView) :is(.screen-page-header,.final-plan-header,.review-page-header) h2 {
    margin: 0 !important;
    color: var(--product-ink) !important;
    font-size: 34px !important;
    font-weight: 760 !important;
    letter-spacing: -.035em !important;
    line-height: 1.05 !important;
  }

  :is(#mapView,#goalsView,#coupleView,#reviewView) :is(.screen-page-header,.final-plan-header,.review-page-header) small {
    color: var(--product-green) !important;
    font-size: 11px !important;
    font-weight: 820 !important;
    letter-spacing: .11em;
    text-transform: uppercase;
  }

  /* Plan: capture → confirm → schedule, with no competing planner chrome. */
  .final-plan-layout { gap: 14px !important; padding-inline: 15px !important; }
  .final-plan-header { align-items: end !important; padding: 2px 3px 0 !important; }
  .final-plan-header .screen-title { gap: 5px !important; }
  .plan-date-nav { gap: 7px !important; }
  .plan-date-nav button {
    width: 40px !important; height: 40px !important; border: 1px solid var(--product-line) !important;
    border-radius: 13px !important; background: white !important; color: var(--product-ink) !important;
  }
  #planTodayDate, #planDate { display: none !important; }
  .plan-clarity-card { padding: 18px !important; background: #fff !important; }
  .plan-clarity-card > div:first-child small { color: var(--product-green) !important; font-size: 10px !important; font-weight: 850; letter-spacing: .12em; }
  .plan-clarity-card h3 { margin: 5px 0 4px !important; font-size: 22px !important; font-weight: 740 !important; letter-spacing: -.025em; }
  .plan-clarity-card p { color: var(--product-muted) !important; font-size: 12px !important; line-height: 1.45; }
  .plan-clarity-input textarea {
    min-height: 104px !important; border: 1px solid #cadbd4 !important; border-radius: 16px !important;
    background: #fbfdfc !important; padding: 14px !important; font-size: 16px !important; line-height: 1.45;
  }
  #planBuildPlan { min-height: 50px !important; border-radius: 14px !important; font-size: 15px !important; }
  .plan-confirmation { border-radius: 16px !important; background: #f2f8f5 !important; }
  .plan-draft-row { border-radius: 14px !important; background: white !important; }
  .plan-draft-row dl { grid-template-columns: repeat(3,minmax(0,1fr)) !important; gap: 12px !important; }
  .plan-draft-row dd { overflow: visible !important; text-overflow: clip !important; }
  .final-day-board { background: transparent !important; border: 0 !important; box-shadow: none !important; padding: 2px 0 0 !important; }
  .final-day-board > .section-head h3 { font-size: 19px !important; font-weight: 740 !important; }
  .mobile-plan-route { gap: 8px !important; }
  .mobile-plan-route .route-row { border-radius: 16px !important; background: #fff !important; }
  .unscheduled-task { min-height: 62px !important; border-radius: 14px !important; background: white !important; padding: 10px 11px !important; }
  .unscheduled-task button { border-radius: 12px !important; }

  /* Goals: make progress legible; advanced details remain secondary. */
  .goals-2026-layout { gap: 14px !important; padding-inline: 15px !important; }
  #goalsView .screen-page-header { padding: 2px 3px 0 !important; }
  .header-add-button { width: 42px !important; height: 42px !important; border-radius: 14px !important; box-shadow: none !important; }
  .year-finish-card {
    display: grid !important; grid-template-columns: 1fr 120px !important; align-items: center !important;
    min-height: 92px !important; padding: 16px 18px !important; background: #f0f7f4 !important;
  }
  .year-finish-copy small, .year-finish-copy span { display: none !important; }
  .year-finish-copy strong { font-size: 27px !important; color: var(--product-ink) !important; letter-spacing: -.03em; }
  .year-finish-progress small { font-size: 10px !important; line-height: 1.25; }
  .goals-list-panel .section-head { padding-inline: 3px !important; }
  .goals-list-panel .section-head h3 { margin-top: 3px !important; font-size: 18px !important; font-weight: 720 !important; }
  .goals-grid { gap: 8px !important; padding-bottom: 2px !important; }
  .goal-card { min-width: 135px !important; min-height: 62px !important; border-radius: 16px !important; }
  .goal-focus-panel { padding: 20px !important; background: #fff !important; }
  .goal-focus-head { grid-template-columns: minmax(0,1fr) 36px !important; }
  .goal-focus-head > .primary-goal-hero-icon { display: none !important; }
  .goal-focus-head h2 { font-size: 30px !important; font-weight: 760 !important; letter-spacing: -.035em; }
  .goal-focus-head p { margin-top: 6px !important; font-size: 14px !important; line-height: 1.45; }
  .goal-focus-meta { margin-top: 16px !important; padding-top: 14px !important; }
  .goal-focus-meta {
    top: 118px !important;
    left: 20px !important;
    right: 20px !important;
    margin: 0 !important;
    gap: 12px !important;
  }
  .goal-focus-meta strong,
  .goal-focus-meta span {
    min-width: 0;
    max-width: 48%;
    font-size: 10px !important;
    line-height: 1.25;
    white-space: normal;
    overflow-wrap: anywhere;
  }
  .goal-execution-ladder { gap: 0 !important; margin-top: 10px !important; border: 1px solid var(--product-line); border-radius: 16px; overflow: hidden; }
  .goal-execution-card {
    min-height: 82px !important; margin: 0 !important; border: 0 !important; border-bottom: 1px solid var(--product-line) !important;
    border-radius: 0 !important; background: #fff !important; padding: 13px 14px !important;
  }
  .goal-execution-card:last-child { border-bottom: 0 !important; }
  .goal-execution-card strong { font-size: 15px !important; line-height: 1.35; }
  .goal-execution-card button { min-width: 32px !important; font-size: 0 !important; }
  .goal-execution-card button::after { content: "›"; font-size: 23px; font-weight: 500; }
  .goal-weekly-head { margin-top: 18px !important; }
  .goal-weekly-head strong { font-size: 18px !important; }
  .vision-secondary { margin-bottom: 4px !important; }

  /* Together: a relationship surface, not an administration console. */
  .couple-layout { gap: 14px !important; padding-inline: 15px !important; }
  #coupleView .screen-page-header { padding: 2px 3px 0 !important; }
  #coupleView .screen-page-header h2 { font-size: 34px !important; }
  .couple-hero { padding: 22px !important; border-radius: 22px !important; }
  .couple-hero-copy h3 { max-width: 330px !important; font-size: 27px !important; font-weight: 750 !important; letter-spacing: -.035em; }
  .couple-hero-copy p { font-size: 13px !important; }
  .couple-connected-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
  .couple-connected-head h3 { margin-right: auto !important; }
  .couple-people { display: flex; padding-left: 8px; }
  .couple-people span {
    display: grid; place-items: center; width: 36px; height: 36px; margin-left: -8px;
    border: 2px solid #f2f8f5; border-radius: 50%; background: #087a5b; color: white; font-size: 13px; font-weight: 850;
  }
  .couple-signin-action { width: 100%; min-height: 50px; margin-top: 18px; border-radius: 14px !important; }
  .couple-onboarding-form { grid-template-columns: minmax(0,1fr) !important; }
  .couple-onboarding-form button { width: 100%; }
  .couple-plan-panel { padding: 17px !important; }
  .couple-plan-panel .section-head { align-items: center !important; }
  .couple-plan-panel .section-head h3 { font-size: 19px !important; font-weight: 730 !important; }
  .couple-shared-block { border: 1px solid #e1dcef !important; border-radius: 16px !important; }
  .couple-side > .panel { padding: 17px !important; }

  /* Review: decision first, reflection second, reporting last. */
  .review-grid { gap: 14px !important; padding-inline: 15px !important; }
  .review-page-header { padding: 2px 3px 0 !important; }
  .review-page-header p { margin: 5px 0 0 !important; color: var(--product-muted) !important; font-size: 13px !important; }
  .review-summary { min-height: 86px !important; padding: 12px 8px !important; background: #fff !important; }
  .review-summary strong { font-size: 27px !important; font-weight: 720 !important; }
  .review-summary span { font-size: 10px !important; }
  .review-unfinished-panel, .review-completed-panel, .review-reflection-panel { padding: 17px !important; }
  .review-grid .section-head h3 { font-size: 20px !important; font-weight: 740 !important; }
  .review-task-card { border-radius: 16px !important; box-shadow: none !important; }
  .review-decision-actions button { min-height: 46px !important; font-size: 11px !important; }
  .review-completed-panel { background: #f7fbf9 !important; }
  .review-reflection-panel textarea { border-radius: 14px !important; background: #fbfdfc !important; font-size: 16px !important; }
  #saveReview { min-height: 52px !important; border-radius: 15px !important; }
  .review-week-panel { opacity: .92; }

  /* Account is for identity and privacy, not developer launch controls. */
  #accountView .sync-status-row em { display: none !important; }
}
