/* diane-mobile-16Nov-2.css
   16 Nov 2026 SGT. Phone only (max-width 760px), plus a desktop-only
   hide for the restored workflow film. Load last on diane.html, in
   place of diane-mobile-16Nov-1.css. Desktop stays on the approved
   9:00 AM v3 layout; the inbox-to-actions film is display:none there.

   Phone hero reorder (Diane):
   1. Smaller 7:30 AM, kept on the left.
   2. The three H1 lines sit to the right of the clock, top-aligned,
      in a compact row, at a reduced size.
   3. Yoga image next.
   4. Hero subline "I'm DIANE... my agents..." below the yoga image.
   5. Restored inbox-to-actions workflow film, 93% inset
      (diane-workflow-inset-16Nov-2.css), plays twice and rests on
      the last frame, with the (i) chip.
   6. Then "Research shows where AI pays off."
   7. The 25.1% block without the "That's exactly the work..." line
      (hidden on phone only).
   8. The 16Nov-m1 tighten for the annotated phone, Commander, cards
      and type is unchanged.
*/

/* Desktop: do not show the restored film. The duo stays two children
   (yoga + copy), so the approved v3 desktop layout is unchanged. */
@media (min-width:761px){
  .dm-diane .r10 .dr-hero figure.film.scr[data-film="inbox"]{display:none !important}
}

@media (max-width:760px){
  /* ---- Hero reorder ---- */
  .dm-diane .r10 .dr-hero .dr-hero-duo{
    display:grid !important;
    grid-template-columns:auto minmax(0,1fr) !important;
    grid-template-areas:
      "time headline"
      "yoga yoga"
      "sub sub";
    gap:12px 12px !important;
    align-items:start;
  }
  .dm-diane .r10 .dr-hero .dr-hero-duo .txt{
    display:contents !important;
    margin:0 !important;
    padding:0 !important;
  }
  .dm-diane .r10 .dr-hero .dr-hero-duo .time{
    grid-area:time;
    font-size:22px !important;
    line-height:1.1 !important;
    margin:0 !important;
    white-space:nowrap;
    align-self:start;
  }
  .dm-diane .r10 .dr-hero .dr-hero-duo h1.kin{
    grid-area:headline;
    font-size:18px !important;
    line-height:1.2 !important;
    margin:0 !important;
  }
  .dm-diane .r10 .dr-hero .dr-hero-duo .ph{
    grid-area:yoga;
    width:100%;
    margin:0;
  }
  .dm-diane .r10 .dr-hero .dr-hero-duo .dr-sub{
    grid-area:sub;
    margin:0 !important;
    font-size:14.5px !important;
    line-height:1.45 !important;
  }

  /* Workflow film: visible on phone; 93% width comes from
     diane-workflow-inset-16Nov-2.css. Cancel the full-bleed
     .scr side pull so 93% is of the content column. */
  .dm-diane .r10 .dr-hero figure.film.scr[data-film="inbox"]{
    display:block;
    width:100% !important;
    max-width:100% !important;
    margin:8px 0 0 !important;
  }
  .dm-diane .r10 .dr-hero figure.film.scr[data-film="inbox"] > video.wf-beams{
    width:93%;
    max-width:93%;
    margin-left:auto;
    margin-right:auto;
  }

  /* 25.1% block: hide the second paragraph on phone only. */
  .dm-diane .r10 .dr-exactly{display:none !important}

  /* ---- 16Nov-m1 tighten, unchanged ---- */
  /* 1. Annotated phone image */
  .dm-diane .r10 .dr-commander .dphone-device{width:min(55%,194px)}

  /* 2. Callouts 1 to 6 */
  .dm-diane .r10 .dr-commander .dphone-list{gap:9px;margin-top:12px}
  .dm-diane .r10 .dr-commander .dphone .dphone-h{font-size:14px;line-height:19px}
  .dm-diane .r10 .dr-commander .dphone .dphone-p{font-size:12.5px;line-height:1.42;margin-top:1px}
  .dm-diane .r10 .dr-commander .dphone-co{column-gap:8px}
  .dm-diane .r10 .dr-commander .dphone-co::before{width:19px;height:19px;font-size:11px;line-height:19px}
  .dm-diane .r10 .dr-commander .dphone-mk{width:19px;height:19px;margin:-9.5px 0 0 -9.5px;font-size:11px;line-height:19px}

  /* 3. Commander = Coffee Girl box on phone */
  .dm-diane .r10 .dr-mission .vidfig{width:100%;max-width:100%;margin:0 auto}

  /* 4-5. Retail Ops and Calendar & Tasks cards follow the trio still */
  .dm-diane .r10 .dr-collab .fullshot figure,
  .dm-diane .r10 .dr-events .film.scr{
    width:min(78%,320px) !important;
    margin-left:auto !important;
    margin-right:auto !important;
  }
  .dm-diane .r10 .dr-collab .fullshot figure>video,
  .dm-diane .r10 .dr-events .film.scr>video{border-radius:12px}
  .dm-diane .r10 .dr-collab .fullshot{margin-bottom:0 !important}

  /* 6. Vertical rhythm and type */
  .dm-diane .r10 .beat.dr-hero{padding-top:22px !important;padding-bottom:24px !important}
  .dm-diane .r10 .beat.dr-reason{padding-top:16px !important;padding-bottom:18px !important}
  .dm-diane .r10 .dr-commander,
  .dm-diane .r10 .dr-mission,
  .dm-diane .r10 .dr-collab,
  .dm-diane .r10 .dr-events{padding-top:20px !important;padding-bottom:22px !important}
  .dm-diane .r10 .cta-band{padding:26px 20px 22px !important}

  .dm-diane .r10 .time,
  .dm-diane .r10 .dr-hero .time,
  .dm-diane .r10 .dr-mission .time,
  .dm-diane .r10 .dr-collab .time,
  .dm-diane .r10 .dr-events .time{font-size:30px !important}
  .dm-diane .r10 .dr-hero .dr-hero-duo .time{font-size:22px !important}
  .dm-diane .r10 .dr-mission .time{margin-bottom:12px}
  .dm-diane .r10 .dr-hero h1.kin{font-size:23px !important;line-height:1.18 !important}
  .dm-diane .r10 .dr-hero .dr-hero-duo h1.kin{font-size:18px !important;line-height:1.2 !important;margin:0 !important}
  .dm-diane .r10 .dr-mission h2,
  .dm-diane .r10 .dr-collab h2,
  .dm-diane .r10 .dr-events h2,
  .dm-diane .r10 .cta-band h2{font-size:21px !important;line-height:1.24 !important}
  .dm-diane .r10 .stat b{font-size:44px !important}
  .dm-diane .r10 .stat p{font-size:14px !important}
  .dm-diane .r10 .dphone-intro .disp{font-size:19px !important}
  .dm-diane .r10 .w p:not(.disp,.payoff,.payoff2,.loopline,.closeline,.quote2,.homehero-subline){font-size:14.5px !important}
}
