/* Revision 325 — the second phone pass. Loaded by rev325.js after rev324. */

/* ---------- Live captions: words, not keystrokes ----------
   The whole line is laid out from the first frame; each word fades in when it
   is spoken. Nothing reflows, the caption panel never changes height, and a
   word never jumps to the next line half-typed. No caret: captions have none. */
.as-typed .r13-w{opacity:0;transition:opacity .26s ease-out}
.as-typed .r13-w.on{opacity:1}
.as-typed .as-caret{display:none!important}
.r13-done .nx-lvl i{animation-play-state:paused!important;transform:scaleY(.33)!important;opacity:.5}

/* ---------- Phone screens ----------
   Hidden screens used to stay blurred with their level bars and carets still
   animating: two phone-sized blurred layers repainted every frame. They now
   leave the render tree once faded, and nothing inside them runs. */
.nx-hana-screen>.as-screen{visibility:hidden;transition:opacity .45s var(--ease),filter .45s var(--ease),visibility 0s linear .45s}
.nx-hana-screen>.as-screen.on{visibility:visible;transition:opacity .45s var(--ease),filter .45s var(--ease),visibility 0s}
.nx-hana-screen>.as-screen:not(.on) *{animation-play-state:paused!important}
@media (hover:none),(max-width:760px){.nx-hana-screen>.as-screen{filter:none!important}}

/* ---------- "Ask it like a colleague": the cards are not links ---------- */
.r8-tile-foot{justify-content:flex-start}

@media(max-width:760px){
  /* ---------- The channel showcase on a phone ----------
     Heading and lede, then one centred stage: the control, the phone or
     window it drives, and the detail underneath. */
  :is(#page-associate,#page-home) .cv-showcase .cv-panel{gap:0!important;justify-content:flex-start}
  :is(#page-associate,#page-home) .cv-showcase :is(.as-phone-copy,.cv-copy){display:contents}
  :is(#page-associate,#page-home) .cv-showcase :is(.as-phone-copy>.as-h2,.cv-copy>h2){order:0;align-self:stretch;text-align:left}
  :is(#page-associate,#page-home) .cv-showcase :is(.as-phone-copy>.as-lede,.cv-copy>.cv-lede){order:1;align-self:stretch;text-align:left;margin-top:16px!important}
  :is(#page-associate,#page-home) .cv-showcase :is(.as-phone-copy>.as-seg,.cv-copy>.cv-direction){order:2;align-self:center;margin:26px auto 0!important}
  :is(#page-associate,#page-home) .cv-showcase :is(.as-phone-ui,.cv-visual){order:3;margin-top:24px!important;align-self:stretch}
  :is(#page-associate,#page-home) .cv-showcase :is(.as-phone-copy>.as-phone-caption,.cv-copy>.cv-detail){order:4;align-self:center;text-align:center;max-width:34ch;margin:22px auto 0!important}
  :is(#page-associate,#page-home) .cv-showcase .cv-copy>.cv-disclosure{order:5;align-self:center;text-align:center;margin:12px auto 0!important}
  :is(#page-associate,#page-home) .cv-showcase .as-phone-ui{justify-content:center!important}
  :is(#page-associate,#page-home) .cv-showcase .as-phone-ui .as-device{margin:0 auto!important}
  :is(#page-associate,#page-home) .cv-showcase .as-phone-caption>p{left:0;right:0}

  /* ---------- Any matter. Any practice. ----------
     The nine areas become a chip rail directly above the card they change,
     so the list and the instruction are on screen together. */
  #page-home .r9-area-list{display:flex;gap:8px;margin:28px -23px 0 0;padding:2px 23px 4px 0;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x proximity;scrollbar-width:none;-webkit-mask-image:linear-gradient(90deg,#000 calc(100% - 36px),transparent);mask-image:linear-gradient(90deg,#000 calc(100% - 36px),transparent)}
  #page-home .r9-area-list::-webkit-scrollbar{display:none}
  #page-home .r9-area-list li{flex:none;scroll-snap-align:start}
  #page-home .r9-area-list button{width:auto;gap:0;padding:9px 15px;border:1px solid rgba(255,255,255,.18);border-radius:999px;font-size:13.5px;line-height:1.2;white-space:nowrap;overflow:hidden;color:#c7c7cc;transition:color .3s,background .3s,border-color .3s}
  #page-home .r9-area-list button i{display:none}
  #page-home .r9-area-list button.is-on{background:#f5f5f7;border-color:#f5f5f7;color:#0b0b0c}
  #page-home .r9-area-list button::after{top:auto;bottom:0;height:2px;background:rgba(11,11,12,.28)}
  #page-home .r9-areas-stage{margin-top:18px}
  #page-home .r9-areas{padding:84px 0 72px}
}

@media(max-width:760px){
  /* ---------- Capabilities · Live documents ----------
     Six columns at 608px were being cropped to a 359px window. On a phone the
     sheet hides # , Visa and Date the way Excel hides columns (the letters
     skip), so Applicant, Status and Next step read in full. The status line
     stays on the tab bar instead of wrapping over it. */
  #page-cap-associate .r10-ch .r8-xl table{table-layout:fixed;width:100%}
  #page-cap-associate .r10-ch .r8-xl :is(col.a,col.c,col.f){display:none}
  #page-cap-associate .r10-ch .r8-xl tr>:is(:nth-child(2),:nth-child(4),:nth-child(7)){display:none}
  #page-cap-associate .r10-ch .r8-xl col.n{width:28px}
  #page-cap-associate .r10-ch .r8-xl col.b{width:31%}
  #page-cap-associate .r10-ch .r8-xl col.d{width:25%}
  #page-cap-associate .r10-ch .r8-xl td{min-width:0!important;overflow:hidden;text-overflow:ellipsis;padding:0 6px}
  #page-cap-associate .r10-ch .r8-xl-grid{overflow:hidden}
  #page-cap-associate .r10-ch .r8-xl-tabs span:not(.on){display:none}
  #page-cap-associate .r10-ch .r8-xl-tabs em{min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;padding-left:12px}
  #page-cap-associate .r10-ch .r8-xl-fx code{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
}

/* Touch: the practice cards cross-fade on a solid ground. Switching the blur
   on as each card arrived was the flash. */
@media (hover:none){
  #page-home .r9-area-card{-webkit-backdrop-filter:none!important;backdrop-filter:none!important;background:rgba(26,26,28,.94);transform:none!important;transition:opacity .5s ease}
}

@media(max-width:760px){
  /* ---------- Knowledge / Verification · read logs ----------
     Each entry is the file or event, then its status on the line beneath,
     instead of wrapping mid-phrase. The terminal fits its lines. */
  :is(#page-ecosystem,#page-knowledge,#page-verification) :is(.readlog,.term){padding:22px 22px;font-size:12px;line-height:1.55;min-height:0}
  :is(#page-ecosystem,#page-knowledge,#page-verification) :is(.readlog,.term) .tl{padding:7px 0;border-top:1px solid rgba(255,255,255,.06)}
  :is(#page-ecosystem,#page-knowledge,#page-verification) :is(.readlog,.term) .tl:first-child{border-top:0;padding-top:0}
  :is(#page-ecosystem,#page-knowledge,#page-verification) .readlog .tl>i{display:block}
  :is(#page-ecosystem,#page-knowledge,#page-verification) .term .tl>i{margin-right:8px}
  :is(#page-ecosystem,#page-knowledge,#page-verification) .term .tl>em{display:block}

  /* ---------- ROI · sliders you can hold with a thumb ---------- */
  #page-roi .ro-ctrl input[type=range]{height:44px}
  #page-roi .ro-ctrl input[type=range]::-webkit-slider-thumb{width:30px;height:30px;margin-top:-12.5px}
  #page-roi .ro-ctrl input[type=range]::-moz-range-thumb{width:28px;height:28px}
}

/* ---------- Paralegal capabilities · the instruction ticker fades at the
   edges, so a pill leaving the screen reads as moving, not cut. ---------- */
#page-cap-paralegal .instream{-webkit-mask-image:linear-gradient(90deg,transparent,#000 9%,#000 91%,transparent);mask-image:linear-gradient(90deg,transparent,#000 9%,#000 91%,transparent)}
