/* /solutions/phishing-resistant-authentication v2 (2026-10-04) · use-case-solution on usecase.css + solution.css (both shared; never edited
   here). This file holds the page's crimson field (build/solutions-v2/PAGES.md row 3) and its own scenes only, every class prefixed phr-.
   Cast: Fernhill Insurance; Mei Lin (claims adjuster); Peter Lund (service desk). Fernhill's own screens and third-party tools are light;
   Hawcx surfaces are dark (#161618, outcome colours from solution.css .sol-dk). Passwordless only: the green dot. */

/* ---------- the crimson field ---------- */
body.elv.pg-phr{
  --sol-field:url(/assets/grain-tile.png) 0 0/128px 128px repeat,radial-gradient(60% 70% at 88% 6%,rgba(255,170,185,.28),rgba(255,170,185,0) 70%),linear-gradient(32deg,#1c0408 0%,#5c0f1d 42%,#a51d36 78%,#d23a55 100%);
  --sol-field-base:#7a1426;
  --sol-card-field:url(/assets/grain-tile.png) 0 0/128px 128px repeat,radial-gradient(70% 90% at 92% 0%,rgba(255,170,185,.18),rgba(255,170,185,0) 70%),linear-gradient(32deg,#1c0408 0%,#5c0f1d 55%,#7f1528 100%);
  --sol-soft:linear-gradient(160deg,#fbeef0 0%,#f4dadf 100%);
  --sol-soft-base:#f7e3e7;
  --phr-brand:#1f3a5f;
}
body.elv .phr-nw{white-space:nowrap;font-weight:inherit}
body.elv .phr-note{max-width:440px;margin:18px 0 0;font-size:13px;line-height:20px;color:rgba(255,255,255,.55)}

/* ---------- shared bits of the scenes ---------- */
body.elv .phr-chrome{flex:none;display:flex;align-items:center;gap:12px;height:40px;padding:0 14px;background:#f4f3f1;border-bottom:1px solid rgba(0,0,0,.06);font-size:12.5px;color:rgba(28,27,24,.64);white-space:nowrap}
body.elv .phr-dots{display:flex;gap:6px;flex:none}
body.elv .phr-dots i{width:10px;height:10px;border-radius:50%;background:#dcdad6}
body.elv .phr-url{display:flex;align-items:center;gap:6px;min-width:0;padding:2px 12px;border-radius:999px;background:#fff;font-size:11.5px;color:rgba(28,27,24,.66);box-shadow:inset 0 0 0 1px rgba(0,0,0,.06);overflow:hidden;text-overflow:ellipsis}
body.elv .phr-lock{position:relative;flex:none;width:8px;height:7px;margin-top:3px;border-radius:1.5px;background:rgba(28,27,24,.5)}
body.elv .phr-lock::before{content:"";position:absolute;left:1px;top:-4px;width:4px;height:4px;border:1.2px solid rgba(28,27,24,.5);border-bottom:0;border-radius:3px 3px 0 0}
body.elv .phr-o-deny{font-style:normal;font-weight:500;color:#ff7d7a}
/* a tool's window on the painted stage: anchored top-left, cropped by the right and bottom edges */
body.elv .phr-app{position:absolute;left:36px;top:36px;right:-1px;bottom:-1px;display:flex;flex-direction:column;border-radius:12px 0 0 0;overflow:hidden;background:#fff;color:#1c1b18;font-size:13px;line-height:19px;
  box-shadow:0 0 0 1px rgba(0,0,0,.08),0 40px 80px -30px rgba(0,0,0,.6)}
body.elv .phr-app p,body.elv .phr-mail p,body.elv .phr-lock-scr p{margin:0}
/* Hawcx's notice on the person's own device (dark), lower right over the tool */
body.elv :is(.phr-ntf,.phr-hx){position:absolute;right:22px;bottom:26px;z-index:2;width:322px;display:flex;gap:12px;padding:13px 15px;border-radius:16px;background:rgba(22,22,24,.97);color:rgba(255,255,255,.78);font-size:12.5px;line-height:18px;
  box-shadow:0 0 0 1px rgba(255,255,255,.08),0 30px 60px -20px rgba(0,0,0,.75)}
body.elv .phr-ntf-ic{display:grid;place-items:center;flex:none;width:32px;height:32px;border-radius:9px;background:#0f0f11;box-shadow:inset 0 0 0 1px rgba(255,255,255,.1)}
body.elv .phr-ntf-ic .sol-mk{width:20px}
body.elv .phr-ntf-tx{min-width:0}
body.elv .phr-ntf-tx>*{display:block}
body.elv .phr-ntf-tx b{font-weight:600;color:#fff}
body.elv .phr-ntf-tx b em{margin-left:6px;font-style:normal;font-weight:400;color:rgba(255,255,255,.5)}
body.elv .phr-ntf-tx strong{margin-top:3px;font-weight:500;font-size:14px;line-height:20px;color:#ff7d7a}
body.elv .phr-ntf-tx>span{margin-top:2px}
/* a small Hawcx view (dark), lower right over the tool */
body.elv .phr-hxw{position:absolute;left:18px;bottom:22px;z-index:2;width:300px;margin:0;padding:12px 16px 12px;border-radius:14px;background:#161618;color:rgba(255,255,255,.88);font-size:12.5px;line-height:18px;
  box-shadow:0 0 0 1px rgba(255,255,255,.09),0 30px 60px -20px rgba(0,0,0,.8)}
body.elv .phr-hxw p{margin:0}
body.elv :is(.phr-hxw-hd,.phr-adm-hd){display:flex;align-items:center;gap:8px;padding-bottom:10px;margin-bottom:2px!important;border-bottom:1px solid rgba(255,255,255,.07);font-size:12px;color:rgba(255,255,255,.62);white-space:nowrap}
body.elv :is(.phr-hxw-hd,.phr-adm-hd) .sol-mk{width:18px}
body.elv :is(.phr-hxw-hd,.phr-adm-hd) b{font-weight:500;color:#fff}
body.elv :is(.phr-hxw-hd,.phr-adm-hd) i{font-style:normal;color:rgba(255,255,255,.5)}
body.elv .phr-hxw-r{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:8px 0;border-bottom:1px solid rgba(255,255,255,.06)}
body.elv .phr-hxw-r span{color:rgba(255,255,255,.62)}
body.elv .phr-hxw-r b{font-weight:500;color:#fff;white-space:nowrap}
body.elv .phr-hxw-r b.phr-o-deny{color:#ff7d7a}
body.elv .phr-hxw-ft{padding-top:9px;font-size:12px;color:rgba(255,255,255,.62)}

/* ---------- hero: Mei's inbox with the lure, then Hawcx's refusal ---------- */
body.elv .phr-tray{box-shadow:inset 0 0 0 1px rgba(255,255,255,.08)}
body.elv .phr-mail{position:absolute;left:28px;top:64px;right:-1px;bottom:-1px;display:flex;flex-direction:column;border-radius:12px 0 0 0;overflow:hidden;background:#fff;color:#1c1b18;font-size:13px;line-height:19px;
  box-shadow:0 0 0 1px rgba(0,0,0,.08),0 50px 100px -40px rgba(0,0,0,.85)}
body.elv .phr-mtitle{color:#1c1b18}
body.elv .phr-mwho{margin-left:auto;overflow:hidden;text-overflow:ellipsis}
body.elv .phr-mbody{flex:1;min-height:0;display:grid;grid-template-columns:196px minmax(0,1fr)}
body.elv .phr-mlist{display:flex;flex-direction:column;gap:2px;min-width:0;padding:12px 8px;background:#fafaf9;border-right:1px solid rgba(0,0,0,.06)}
body.elv .phr-mfold{display:flex;justify-content:space-between;padding:2px 10px 10px;font-size:12px;color:rgba(28,27,24,.64)}
body.elv .phr-mfold b{font-weight:500;color:#1c1b18}
body.elv .phr-mi{position:relative;display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:8px;padding:9px 10px 10px 18px;border-radius:9px;font-size:12.5px;line-height:18px}
body.elv .phr-mi b{min-width:0;font-weight:400;color:#1c1b18;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.elv .phr-mi em{font-style:normal;font-size:11.5px;color:rgba(28,27,24,.7)}
body.elv .phr-mi span{grid-column:1 / -1;font-size:12px;color:rgba(28,27,24,.64);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.elv .phr-mi.is-on{background:#ebeae6}
body.elv .phr-mi.is-on b{font-weight:500}
body.elv .phr-unread{position:absolute;left:7px;top:15px;width:6px;height:6px;border-radius:50%;background:#2a6fdb}
body.elv .phr-mread{min-width:0;padding:22px 28px}
body.elv .phr-msubj{font-size:17px;line-height:24px;letter-spacing:-.01em}
body.elv .phr-mfrom{display:flex;align-items:center;gap:10px;margin-top:14px;padding-bottom:14px;border-bottom:1px solid rgba(0,0,0,.06)}
body.elv .phr-mav{display:grid;place-items:center;flex:none;width:32px;height:32px;border-radius:50%;background:#e7ecf4;color:#2c4a7a;font-size:11.5px;font-weight:500}
body.elv .phr-mfrom>span:last-child{min-width:0}
body.elv .phr-mfrom b{display:block;font-weight:500;font-size:13px}
body.elv .phr-mfrom em{display:block;font-style:normal;font-size:12px;color:rgba(28,27,24,.64);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.elv .phr-mtext{margin-top:16px!important;max-width:380px;font-size:13.5px;line-height:21px;color:rgba(28,27,24,.82)}
body.elv .phr-mbtn{display:inline-flex;align-items:center;height:36px;margin-top:16px!important;padding:0 16px;border-radius:8px;background:var(--phr-brand);color:#fff;font-size:13px}
/* the tray's one beat before Hawcx answers: the lure's button is pressed (plays once with the tray; reduced motion and ?sim never add .is-play) */
.js .phr-tray.is-play .phr-mbtn{animation:phrPress .6s var(--ease) 1.1s both}
@keyframes phrPress{0%,100%{transform:none;filter:none}45%{transform:scale(.97);filter:brightness(.82)}}
body.elv .phr-mlink{margin-top:8px!important;font:11.5px/16px var(--mono);color:rgba(28,27,24,.6)}

/* ---------- the four ways: the crimson stage ---------- */
body.elv .uc-many .cl-stage.phr-stage{background:var(--sol-card-field);background-color:var(--sol-field-base)}
body.elv .uc-many .cl-stage.phr-stage>[data-panel]{display:block;padding:0}
/* 1 · the relay kit's copy of Fernhill's sign-in */
body.elv .phr-web{flex:1;display:flex;flex-direction:column;align-items:center;padding:44px 20px 0;text-align:center}
body.elv .phr-brand{display:flex;align-items:center;gap:8px;font-size:15px;font-weight:500;letter-spacing:-.01em;color:var(--phr-brand)}
body.elv .phr-brand i{width:16px;height:16px;border-radius:50% 0 50% 0;background:var(--phr-brand)}
body.elv .phr-web-h{margin-top:18px!important;font-size:20px;line-height:28px;letter-spacing:-.015em}
body.elv .phr-field{display:flex;align-items:center;width:300px;max-width:100%;height:40px;margin-top:20px!important;padding:0 12px;border-radius:8px;box-shadow:inset 0 0 0 1px rgba(0,0,0,.14);font-size:13.5px;text-align:left}
body.elv .phr-cta{display:grid;place-items:center;width:300px;max-width:100%;height:40px;margin-top:10px!important;border-radius:8px;background:var(--phr-brand);color:#fff;font-size:13.5px}
body.elv .phr-wait{display:flex;align-items:center;gap:8px;margin-top:16px!important;font-size:12.5px;color:rgba(28,27,24,.64)}
body.elv .phr-spin{width:12px;height:12px;border-radius:50%;border:1.5px solid rgba(28,27,24,.16);border-top-color:rgba(28,27,24,.6)}
/* 2 · the messages app */
body.elv .phr-sms{flex:1;display:flex;flex-direction:column;align-items:flex-start;padding:16px 22px}
body.elv .phr-sms-who{align-self:stretch;display:flex;align-items:center;gap:10px;margin-bottom:16px!important;padding-bottom:14px;border-bottom:1px solid rgba(0,0,0,.06)}
body.elv .phr-sms-av{display:grid;place-items:center;flex:none;width:32px;height:32px;border-radius:50%;background:#e4e4e8;color:rgba(28,27,24,.7);font-size:14px}
body.elv .phr-sms-who b{display:block;font-weight:500;font-size:13px}
body.elv .phr-sms-who em{display:block;font-style:normal;font-size:11.5px;color:rgba(28,27,24,.62)}
body.elv .phr-b{max-width:72%;margin:0 0 6px!important;padding:9px 13px;border-radius:18px;font-size:13.5px;line-height:19px}
body.elv .phr-b--in{background:#e9e9eb;color:#1c1b18;border-bottom-left-radius:6px}
body.elv .phr-b--out{align-self:flex-end;margin-top:8px!important;background:#2a6fdb;color:#fff;border-bottom-right-radius:6px}
/* 3 · Mei's lock screen, cropped by the stage's bottom edge */
body.elv .phr-lock-scr{position:absolute;left:44px;top:36px;bottom:-1px;width:296px;padding:30px 14px 0;border-radius:38px 38px 0 0;background:linear-gradient(172deg,#3a3f52 0%,#23263a 48%,#16161f 100%);color:#fff;text-align:center;
  box-shadow:0 0 0 1px rgba(255,255,255,.08),0 40px 80px -30px rgba(0,0,0,.6)}
body.elv .phr-time{font-size:62px;line-height:66px;font-weight:300;letter-spacing:-.03em}
body.elv .phr-date{margin-top:2px!important;font-size:14px;line-height:20px;color:rgba(255,255,255,.8)}
body.elv .phr-push{margin-top:34px;text-align:left}
body.elv .phr-push--open{position:relative;z-index:1;padding:11px 13px 12px;border-radius:20px;background:rgba(246,246,248,.94);color:#1c1b18}
body.elv .phr-push-hd{display:flex;align-items:center;gap:8px;font-size:12px;line-height:16px}
body.elv .phr-push-hd b{font-weight:500}
body.elv .phr-push-hd em{margin-left:auto;font-style:normal;color:rgba(28,27,24,.7)}
body.elv .phr-push-ic{display:grid;place-items:center;width:20px;height:20px;border-radius:6px;background:var(--phr-brand)}
body.elv .phr-push-ic i{width:9px;height:9px;border-radius:50% 0 50% 0;background:#fff}
body.elv .phr-push-t{margin-top:7px!important;font-size:13.5px;line-height:19px;font-weight:500}
body.elv .phr-push-s{margin-top:2px!important;font-size:12.5px;line-height:18px;color:rgba(28,27,24,.66)}
body.elv .phr-push-btns{display:flex;gap:6px;margin-top:10px!important}
body.elv .phr-push-btns span{flex:1;display:grid;place-items:center;height:30px;border-radius:999px;background:rgba(0,0,0,.07);font-size:12.5px}
body.elv .phr-push-btns .is-no{background:#1c1b18;color:#fff}
body.elv .phr-push--stack,body.elv .phr-push--stack2{height:12px;margin:-6px 9px 0;border-radius:0 0 16px 16px;background:rgba(246,246,248,.6)}
body.elv .phr-push--stack2{margin:0 20px;height:10px;background:rgba(246,246,248,.36)}
/* 4 · the service desk */
body.elv .phr-desk{flex:1;padding:18px 24px}
body.elv .phr-desk-hd{display:flex;align-items:center;gap:10px;margin-bottom:6px!important;padding-bottom:14px;border-bottom:1px solid rgba(0,0,0,.07)}
body.elv .phr-desk-id{flex:none;padding:2px 8px;border-radius:6px;background:#f2f1ef;font:11.5px/16px var(--mono);color:rgba(28,27,24,.66)}
body.elv .phr-desk-hd b{min-width:0;font-weight:500;font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.elv .phr-desk-st{flex:none;margin-left:auto;padding:2px 10px;border-radius:999px;background:#fbeaea;color:#a8282b;font-size:12px;line-height:18px}
body.elv .phr-desk-r{display:grid;grid-template-columns:108px minmax(0,1fr);column-gap:12px;padding:11px 0;border-bottom:1px solid rgba(0,0,0,.06)}
body.elv .phr-desk-r span{color:rgba(28,27,24,.64)}
body.elv .phr-desk-r b{font-weight:400}

/* ---------- rollout: two stone stages, captions under ---------- */
body.elv .phr-roll{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:56px 0 0;padding:0;list-style:none}
body.elv .phr-roll-st{position:relative;height:400px;border-radius:20px;overflow:hidden}
body.elv .phr-roll-st--soft{background:var(--sol-soft);background-color:var(--sol-soft-base)}
body.elv .phr-roll-st--field{background:var(--sol-card-field);background-color:var(--sol-field-base)}
body.elv .phr-roll-i>h3{margin:20px 0 0;font-size:18px;line-height:26px;letter-spacing:-.005em;color:var(--ink)}
body.elv .phr-roll-i>p{max-width:460px;margin:6px 0 0;font-size:15px;line-height:23px;color:var(--ink-60)}
body.elv .phr-app--sso{box-shadow:0 0 0 1px rgba(0,0,0,.06),0 30px 60px -30px rgba(90,20,35,.35)}
body.elv .phr-web--sso{padding-top:36px}
body.elv .phr-who{display:flex;align-items:center;gap:10px;width:300px;max-width:100%;margin-top:20px!important;padding:10px 14px;border-radius:10px;box-shadow:inset 0 0 0 1px rgba(0,0,0,.1);text-align:left}
body.elv .phr-who-av{display:grid;place-items:center;flex:none;width:30px;height:30px;border-radius:50%;background:#efe6e8;color:#7a1426;font-size:11.5px;font-weight:500}
body.elv .phr-who b{display:block;font-weight:500;font-size:13px}
body.elv .phr-who em{display:block;font-style:normal;font-size:12px;color:rgba(28,27,24,.64)}
body.elv .phr-ok{display:flex;align-items:center;gap:8px;margin-top:16px!important;font-size:13px;color:#177a43}
body.elv .phr-none{margin-top:4px!important;font-size:12px;color:rgba(28,27,24,.62)}
/* IT's view of Mei's devices, in Hawcx (dark) */
body.elv .phr-adm{position:absolute;left:36px;top:36px;right:-1px;bottom:-1px;margin:0;padding:16px 24px;border-radius:12px 0 0 0;background:#161618;color:rgba(255,255,255,.88);font-size:13px;line-height:19px;
  box-shadow:0 0 0 1px rgba(255,255,255,.08),0 40px 80px -30px rgba(0,0,0,.7)}
body.elv .phr-adm p{margin:0}
body.elv .phr-adm-hd{margin-bottom:6px!important}
body.elv .phr-adm-r{display:grid;grid-template-columns:32px minmax(0,1fr) auto;align-items:center;column-gap:12px;padding:12px 0;border-bottom:1px solid rgba(255,255,255,.06)}
body.elv .phr-adm-ic{display:grid;place-items:center;width:32px;height:32px;border-radius:8px;background:#1f1f22;box-shadow:inset 0 0 0 1px rgba(255,255,255,.08);color:rgba(255,255,255,.72)}
body.elv .phr-adm-ic svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
body.elv .phr-adm-r>span:nth-child(2){min-width:0}
body.elv .phr-adm-r b{display:block;font-weight:400;color:#fff}
body.elv .phr-adm-r em{display:block;font-style:normal;font-size:12px;line-height:17px;color:rgba(255,255,255,.58);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.elv .phr-adm .sol-o{font:500 12px/18px var(--sans,Inter,system-ui,sans-serif);letter-spacing:0;text-transform:none}
body.elv .phr-adm-r.is-off b{color:rgba(255,255,255,.62)}
body.elv .phr-adm-x{font-size:12px;color:rgba(255,255,255,.55)}
body.elv .phr-adm-ft{display:flex;justify-content:space-between;padding-top:12px;font-size:12.5px}
body.elv .phr-adm-ft span{color:rgba(255,255,255,.62)}
body.elv .phr-adm-ft b{font-weight:500;color:#4cc488}

/* ---------- breakpoints ---------- */
@media (max-width:1279px){
  body.elv .phr-mbody{grid-template-columns:176px minmax(0,1fr)}
  body.elv .phr-mread{padding:20px 22px}
}
@media (min-width:1101px) and (max-width:1199px){
  body.elv .phr-mbody{grid-template-columns:minmax(0,1fr)}
  body.elv .phr-mlist{display:none}
}
@media (max-width:1100px){
  body.elv .phr-mbody{grid-template-columns:220px minmax(0,1fr)}
  body.elv .phr-tray .phr-ntf{right:28px}
}
@media (max-width:919px){
  body.elv .phr-tray .phr-mail{position:relative;left:auto;top:auto;right:auto;bottom:auto;height:400px;border-radius:12px}
  body.elv .phr-tray .phr-ntf{position:relative;right:auto;bottom:auto;width:auto;max-width:340px;margin:-72px 10px 0 auto}
  body.elv .phr-roll{grid-template-columns:minmax(0,1fr);gap:40px}
}
@media (max-width:760px){
  body.elv .phr-nw{white-space:nowrap;font-weight:inherit}
body.elv .phr-note{font-size:12.5px}
  body.elv .phr-tray .phr-mail{height:372px}
  body.elv .phr-mbody{grid-template-columns:minmax(0,1fr)}
  body.elv .phr-mlist{display:none}
  body.elv .phr-mwho{display:none}
  body.elv .phr-mread{padding:18px 16px}
  body.elv .phr-tray .phr-ntf{max-width:none;margin:-64px 8px 0}
  body.elv .uc-many .cl-stage.phr-stage{height:440px;display:block}
  body.elv .uc-many .cl-stage.phr-stage>[data-panel]{position:absolute;inset:0;padding:0}
  body.elv .phr-app{left:14px;top:16px}
  body.elv .phr-web{padding-top:26px}
  body.elv .phr-web-h{font-size:18px;line-height:25px}
  body.elv .phr-field,body.elv .phr-cta,body.elv .phr-who{width:100%}
  body.elv .phr-sms{padding:14px 14px}
  body.elv .phr-sms-who{display:none}
  body.elv .phr-hxw-ft{display:none}
  body.elv .phr-adm-r em{white-space:normal}
  body.elv .phr-b{max-width:86%}
  body.elv .phr-lock-scr{left:50%;width:262px;margin-left:-131px;top:18px;padding-top:24px}
  body.elv .phr-time{font-size:52px;line-height:56px}
  body.elv .phr-push{margin-top:24px}
  body.elv .phr-desk{padding:14px 14px}
  body.elv .phr-desk-id{display:none}
  body.elv .phr-desk-r{grid-template-columns:86px minmax(0,1fr)}
  body.elv :is(.phr-hx,.phr-hxw){left:10px;right:10px;bottom:12px;width:auto}
  body.elv .phr-roll-st{height:360px}
  body.elv .phr-app--sso,body.elv .phr-adm{left:16px;top:18px}
  body.elv .phr-adm{padding:14px 16px}
}
