/* dphone-callouts-15Nov-4.css
   Annotated DIANE phone (Maya welcome screen) with live HTML callouts.
   v1.3 (Lumi, 15 Nov 2026 7:15 PM SGT): small revision of approved v1.2.
   Desktop (wide, container >= 960px) is unchanged from v1.2: no badges on
   the phone or at the line ends, plain typographic "1." indexes in Inter,
   #283d3d, same size as the headline, thin 1.5px teal leader lines ending
   at the UI element with a tiny neutral dot.
   Mobile and medium (container < 960px): numbered circle markers return on
   the phone screen, with matching circle numbers on the list. Colour is
   neutral 90% black #1a1a1a with white numerals (Diane, 7:15 PM SGT).
   Highlight rings stay off. Copy: Diane, 4:29 to 4:31 PM SGT, word for word.
   One self-contained component, class prefix .dphone-*. Layout follows the
   width of the component itself (container queries), so it works in any slot:
     narrow  (< 560px)     phone with numbered markers, numbered list under it
     medium  (560-959px)   phone left, numbered list right
     wide    (>= 960px)    callouts around the phone with connector lines (desktop)
   Markers, dots and lines are generated together by tools/dphone_build.py.
   Do not hand-edit the % positions or the svg paths. */

.dphone{container:dphone / inline-size;margin:0;width:100%;position:relative;background:transparent}
.dphone *{box-sizing:border-box}
.dphone-stage{position:relative}
.dphone-device{position:relative;width:min(64%,236px);margin:0 auto}
.dphone-device picture{display:block}
.r10 .dphone .dphone-device img,.dphone-device img{display:block;width:100%;height:auto;background:transparent}
.dphone-marks{position:absolute;inset:0;pointer-events:none}

/* Numbered markers on the UI, mobile and medium only: #1a1a1a, white numeral.
   Hidden in the wide layout so desktop stays exactly as v1.2. */
.dphone-mk{position:absolute;z-index:3;width:18px;height:18px;margin:-9px 0 0 -9px;border-radius:50%;
  background:#1a1a1a;color:#fff;font:600 11px/18px Poppins,Arial,sans-serif;text-align:center;
  box-shadow:0 0 0 2px #fff,0 2px 6px rgba(40,61,61,.32)}
.dphone-spot{display:none !important}
.dphone-mk--menu{left:11.0%;top:13.5%}
.dphone-dot--menu{left:11.0%;top:13.5%}
.dphone-mk--profile{left:89.0%;top:13.5%}
.dphone-dot--profile{left:89.0%;top:13.5%}
.dphone-mk--planner{left:31.8%;top:81.6%}
.dphone-dot--planner{left:39.3%;top:84.15%}
.dphone-mk--dashboard{left:24.7%;top:89.2%}
.dphone-dot--dashboard{left:24.9%;top:84.15%}
.dphone-mk--agents{left:52.6%;top:81.6%}
.dphone-dot--agents{left:60.2%;top:84.15%}

/* Tiny neutral end dots, shown only in the wide layout (where the lines are) */
.dphone-dot{display:none;position:absolute;z-index:3;width:5px;height:5px;margin:-2.5px 0 0 -2.5px;border-radius:50%;background:#283d3d}

.r10 .dphone{overflow:visible;border-radius:0;box-shadow:none}
.dphone-fn{position:absolute;right:-6px;bottom:2%;z-index:4;line-height:1;font-size:12px}
.r10 .dphone .dphone-fn a{color:#188c8f}

/* Connector lines exist only in the wide layout */
.dphone-lines{display:none}

/* Numbered list (narrow and medium): matching #1a1a1a circle, white numeral.
   alt text is empty so the ol is heard once. */
.dphone-list{list-style:none;margin:16px 0 0;padding:0;display:grid;gap:12px;counter-reset:dphone}
.dphone-co{counter-increment:dphone;display:grid;grid-template-columns:auto minmax(0,1fr);column-gap:10px;align-items:start;position:relative;margin:0;padding:0}
.dphone-co::before{content:counter(dphone) / "";width:22px;height:22px;border-radius:50%;background:#1a1a1a;color:#fff;font:600 12px/22px Poppins,Arial,sans-serif;text-align:center}
.dphone .dphone-h{display:block;grid-column:2;font-family:Poppins,Arial,sans-serif;font-weight:600;font-size:16px;line-height:22px;color:#283d3d;letter-spacing:-.005em}
.dphone .dphone-p{display:block;grid-column:2;margin-top:2px;font-family:Inter,Arial,sans-serif;font-weight:500;font-size:14px;line-height:1.45;color:#283d3d}

/* Light card wrapper, for dark (night) sections such as the Solutions DIANE block */
.dphone-card{background:#fff;border-radius:20px;padding:20px 16px 22px;box-shadow:0 18px 50px rgba(0,0,0,.18)}
@media (min-width:761px){.dphone-card{padding:44px 48px}}

/* Medium: phone left, list right */
@container dphone (min-width:560px){
  .dphone-stage{display:grid;grid-template-columns:minmax(0,38%) minmax(0,1fr);gap:36px;align-items:center}
  .dphone-mk{width:22px;height:22px;margin:-11px 0 0 -11px;font-size:12px;line-height:22px}
  .dphone-device{width:100%;max-width:300px}
  .dphone-list{margin:0;gap:18px}
  .dphone .dphone-h{font-size:17px;line-height:24px}
  .dphone .dphone-p{font-size:15px}
  .dphone-co::before{width:24px;height:24px;font-size:13px;line-height:24px}
}

/* Wide: identical to approved v1.2. Markers off. Plain typographic index.
   Thin connector lines ending at the UI with a tiny neutral dot. */
@container dphone (min-width:960px){
  .dphone-mk{display:none !important}
  .dphone-stage{display:block;aspect-ratio:1.5;margin-bottom:24px}
  .dphone-device{position:absolute;left:34.69%;top:2.0%;width:30.62%;max-width:none;margin:0}
  .dphone-dot{display:block}
  .dphone-lines{display:block;position:absolute;inset:0;width:100%;height:100%;z-index:1;overflow:visible;pointer-events:none}
  .dphone-lines path{fill:none;stroke:#179b9e;stroke-width:1.5;vector-effect:non-scaling-stroke;stroke-linejoin:round;stroke-linecap:round}
  .dphone-list{position:absolute;inset:0;margin:0;display:block}
  .dphone-co{display:grid;grid-template-columns:auto minmax(0,1fr);column-gap:.35em;align-items:start;position:absolute;width:27.5%;transform:translateY(-13px)}
  .dphone-co::before{content:counter(dphone) "." / "";display:block;width:auto;height:auto;border-radius:0;background:none;color:#283d3d;box-shadow:none;text-align:left;font-family:Inter,Arial,sans-serif;font-weight:500;font-size:clamp(17px,1.62cqi,20px);line-height:26px}
  .dphone .dphone-h,.dphone .dphone-p{grid-column:2}
  .dphone-co--l{left:0;padding:0 12px 0 0;text-align:left}
  .dphone-co--r{right:0;padding:0 0 0 12px;text-align:left}
  .dphone .dphone-h{font-size:clamp(17px,1.62cqi,20px);line-height:26px}
  .dphone .dphone-p{margin-top:6px;font-size:clamp(15px,1.36cqi,16px);line-height:1.5}
  .dphone-co--menu{top:14.15%}
  .dphone-co--profile{top:14.15%}
  .dphone-co--planner{top:50.0%}
  .dphone-co--dashboard{top:82.28%}
  .dphone-co--agents{top:72.0%}
}

/* DIANE page, Commander section: intro row above the component */
.dphone-intro{display:block}
.dphone-intro .lead{max-width:none}
@media (min-width:761px){
  .dphone-intro{display:grid;grid-template-columns:minmax(0,7fr) minmax(0,5fr);gap:72px;align-items:end;margin-bottom:28px}
  .dphone-intro .lead{margin:0}
}
@media (max-width:760px){
  .r10 .dphone-intro .disp{font-size:21px !important;line-height:1.28 !important}
  .dphone-intro{margin-bottom:14px}
  .dphone-intro .lead{margin-top:10px}
  .r10 .dphone-solutions{margin-top:28px}
}
@media (min-width:761px){.r10 .dphone-solutions{margin-top:64px}}

/* Guard for the new Solutions template slot (div.sol-media.sol-media--dphone): its generic
   .sol-media / .sol-media img frame rules must not reach the component. */
.r10 .sol-media.sol-media--dphone{aspect-ratio:auto;height:auto;min-height:0;overflow:visible;border:0;border-radius:0;background:none}
.r10 .sol-media--dphone .dphone-device img{position:static;inset:auto;width:100%;height:auto;max-width:100%;object-fit:fill;border-radius:0;background:transparent}
.r10 .sol-media--dphone .dphone-fn{position:absolute;right:-6px;bottom:2%;left:auto;background:none;padding:0}
