/* Shared fixes for the design arms in /hd (gate 11-11). Each arm keeps its own identity; this only sizes taps, fits the hero
   on short and narrow screens, and keeps kicker labels on one line. Loaded after the arm's own <style>. Selectors only: the
   arm files are never edited here (lp103d, 2026-11-11). */

/* taps: logo and sign-in reach 44px on touch and phone-size screens, without bigger visuals */
@media (pointer:coarse),(max-width:1000px){
  a.mark,a.brand{min-height:44px!important;display:inline-flex!important;align-items:center;box-sizing:border-box}
}
a.signin,.hdr .signin,.top .signin,header .signin{min-height:44px!important;min-width:44px;display:inline-flex!important;align-items:center;box-sizing:border-box}
/* text links (header Sign in, the small print's Terms / Privacy / company-account links, the email door) get a 44px tall
   hit area at every pointer through an unpainted ::after, so the lines they sit in stay as tight as the arm drew them */
a.signin,.hdr .signin,.top .signin,header .signin,.consent a,.price a,.alt a,a.alt{position:relative}
a.signin::after,.hdr .signin::after,.top .signin::after,header .signin::after,.consent a::after,.price a::after,.alt a::after,a.alt::after{content:"";position:absolute;left:-4px;right:-4px;top:50%;height:44px;margin-top:-22px}

/* small print: the consent sentence is one block (the arm's own size and colour, line-height 1.4) */
.consent{line-height:1.4;text-wrap:balance}   /* two sentences: each line is one sentence (Fable batch 4) */
.nb{white-space:nowrap}   /* the price line's second sentence never breaks (lib/hd1.js priceHtml) */
/* other ways in: one grouped set of rows under the small print (layout-alternate-paths-screen-other) */
.consent .mc-help,.consent + :is(.more,.alts) > a,.consent + a.alt{display:flex!important;align-items:center;gap:10px;box-sizing:border-box;width:100%!important;max-width:400px;min-height:46px!important;margin:-1px 0 0!important;padding:0 12px!important;border:1px solid color-mix(in srgb,currentColor 26%,transparent);border-radius:0;background:color-mix(in srgb,currentColor 4%,transparent);font-size:13.5px!important;font-weight:600!important;line-height:1.3;text-align:left;text-decoration:none!important}
.consent + :is(.more,.alts) > a,.consent + a.alt{color:color-mix(in srgb,currentColor 76%,transparent)!important}
.consent + :is(.more,.alts){display:block!important;box-sizing:border-box;width:100%!important;max-width:400px;margin:0!important;padding:0!important}
.consent + :is(.more,.alts) > a{max-width:none}
.consent .mc-help{margin-top:12px!important;border-radius:12px 12px 0 0}
.consent + :is(.more,.alts) > a:last-child,.consent + a.alt{border-radius:0 0 12px 12px}
.consent .mc-help::before,.consent + :is(.more,.alts) > a::before,.consent + a.alt::before{content:"";flex:none;width:18px;height:18px;background:currentColor;opacity:.85;-webkit-mask:var(--ic) center/contain no-repeat;mask:var(--ic) center/contain no-repeat}
.consent .mc-help{--ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='3' width='16' height='18' rx='2'/%3E%3Cpath d='M9 8h1M14 8h1M9 12h1M14 12h1M10 21v-4h4v4'/%3E%3C/svg%3E")}
.consent + :is(.more,.alts) > a,.consent + a.alt{--ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='M3 7l9 6 9-6'/%3E%3C/svg%3E")}
.consent + :is(.more,.alts) > a[href*="check"]{--ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l7 3v5c0 4.5-3 8.3-7 10-4-1.7-7-5.5-7-10V6z'/%3E%3Cpath d='M8.5 12l2.5 2.5 4.5-5'/%3E%3C/svg%3E")}
.consent .mc-help::after,.consent + :is(.more,.alts) > a::after,.consent + a.alt::after{content:""!important;position:static!important;flex:none;width:7px;height:7px;margin:0 3px 0 auto!important;border:solid currentColor;border-width:2px 2px 0 0;transform:rotate(45deg);opacity:.5}
body:is([data-hv="hv2"],[data-hv="hv4"],[data-hv="hv21"],[data-hv="hv23"]) :is(.consent .mc-help,.consent + :is(.more,.alts),.consent + a.alt){margin-left:auto!important;margin-right:auto!important}

/* arms whose small print fell under 4.5:1 in one theme: the arm's own caption colour pulled a quarter of the way towards
   its text colour (same hue, both themes, no fixed hex) */
[data-hd="hd1"] .consent{color:color-mix(in srgb,var(--ink-3) 72%,var(--ink))}
[data-hd="hd12"] .consent{color:color-mix(in srgb,var(--faint) 72%,var(--fg))}
[data-hd="hd13"] .consent,[data-hd="hd13"] .consent a{color:color-mix(in srgb,var(--faint) 72%,var(--ink))}
[data-hd="hd3"] .consent,[data-hd="hd9"] .consent{color:color-mix(in srgb,var(--dim) 72%,var(--fg))}

/* the "By sender" table (hv13): the sender cell may shrink and its tag wraps under the name, so neither clips against the
   bar and count columns on a folded Duo or a phone */
.tb li{height:auto!important;min-height:23px}
@media (min-width:900px){.tb li{min-height:30px}}
.tb .nm{display:flex;flex-wrap:wrap;align-items:baseline;column-gap:6px;row-gap:0;min-width:0;white-space:normal;overflow:visible;text-overflow:clip;line-height:1.15}
.tb .nm small{margin-left:0!important;white-space:nowrap}

/* short landscape (phone on its side): the hero's first screen holds the headline, intro, button and price line */
@media (max-height:450px) and (orientation:landscape){
  h1 br{display:none}   /* hv23's three-line headline runs as one line sideways (Fable batch 3) */
  .top .wrap,.hdr .wrap,.hdr .in,header .wrap,header{min-height:0!important;padding-top:4px!important;padding-bottom:4px!important}
  .hero{padding-top:8px!important;padding-bottom:16px!important;min-height:0!important}
  .hero .wrap,.hero .in{gap:16px!important}
  h1{font-size:26px!important;line-height:1.15!important;margin-bottom:6px!important;max-width:none!important}
  .sub,.lede,.hero p.sub{font-size:14px!important;line-height:1.35!important;margin-bottom:8px!important}
  .sub,.lede,.hero p.sub{max-width:64ch!important}   /* the intro uses the width it has (Fable batch 4) */
  .eyebrow,.kicker,.pill{margin-bottom:6px!important}
  .stk.kicker,.kicker.tilt-l,.kicker.tilt-r{margin-bottom:14px!important}   /* a tilted sticker's shadow needs room above the headline */
  .cta,.actions,.act{margin-top:8px!important;gap:6px!important}
  .btn,.cta a{min-height:44px!important;height:auto!important;font-size:15px!important;padding-top:0!important;padding-bottom:0!important}
  .price{font-size:13px!important;margin:4px 0 0!important}
  .consent{margin-top:4px!important}
}
@media (min-width:700px) and (max-height:720px) and (min-height:451px){
  .hero{padding-top:min(28px,3vh)!important;padding-bottom:28px!important}
}

/* narrow phones: the kicker labels stay on one line (same words, tighter tracking) */
@media (max-width:420px){
  .kicker,.eyebrow{font-size:12px!important;letter-spacing:.02em!important}
  .console .bar .mono,.hero .top .mono,.bar .mono{font-size:12px!important;letter-spacing:.03em!important;white-space:nowrap}
}

/* email-first block (efb.css): arms whose accent is too faint or too loud for a focus ring get one that reads at 3:1 or
   better against their page in both themes (hd12 its own --focus token; hv11 and hv10 their text colour) */
[data-hd="hd12"] .efb-root{--efb-focus:var(--focus)}
[data-hv="hv11"] .efb-root{--efb-focus:var(--ink)}
[data-hv="hv10"] .efb-root{--efb-focus:var(--fg)}

/* hd12: the orb's glow (.orbwrap::before, inset -32%) reached past the right edge at desktop widths and gave the page a
   sideways scroll; main clips it at the page edge (clip, not hidden, so nothing becomes a scroll box) */
[data-hd="hd12"] main{overflow-x:clip}

/* figure-first arms on a phone held sideways (MB 11-11: "a button hidden under the consent bar is a bug, not part of the
   arm"): each arm keeps its content, copy and DOM order and uses its OWN wide (900px+) arrangement, figure beside the
   copy and button, sized to the short screen, so the button and price line clear the consent bar (body padding from
   lib/meta.js --ih-mc-h reserves the bar). Pattern from e575e57 (Fable). */
@media (max-height:450px) and (orientation:landscape) and (min-width:600px){
  [data-hv="hv13"] .hero,[data-hv="hv11"] .hero{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,42%);grid-template-rows:auto 1fr;grid-template-areas:"copy viz" "act viz";column-gap:28px;row-gap:10px;align-items:start}
  [data-hv="hv13"] .hero > .copy,[data-hv="hv11"] .hero > .copy{grid-area:copy;padding-top:0!important}
  [data-hv="hv13"] .hero > .viz,[data-hv="hv11"] .hero > .viz{grid-area:viz;margin:0!important;align-self:start}
  [data-hv="hv13"] .hero > .act,[data-hv="hv11"] .hero > .act{grid-area:act;margin-top:0!important}
  [data-hv="hv11"] .phone{min-height:0}
  [data-hv="hv20"] .hero{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);grid-template-areas:"t f" "a f";grid-template-rows:auto 1fr;column-gap:28px;row-gap:10px;align-items:start}
  [data-hv="hv20"] .hero > .t{grid-area:t}
  [data-hv="hv20"] .hero > .a{grid-area:a}
  [data-hv="hv20"] .hero > figure{grid-area:f;margin:0!important}
  [data-hv="hv10"] .hero{display:grid;grid-template-columns:minmax(0,7fr) minmax(0,5fr);column-gap:28px;row-gap:12px;align-items:start}
  [data-hv="hv10"] .hero > .say{grid-column:1;grid-row:1}
  [data-hv="hv10"] .hero > .act{grid-column:2;grid-row:1;align-self:end;margin-top:0!important}
  [data-hv="hv10"] .hero > .split{grid-column:1/-1;grid-row:2}
  [data-hd="hd12"] .hero{display:grid;grid-template-columns:auto minmax(0,1fr);column-gap:24px;align-items:start}
  [data-hd="hd12"] .orbwrap{--s:112px!important;margin-top:0!important}
  /* the email-first block (lib/efb.js) at the 44px tap minimum, tighter gaps, so the price line clears the bar too */
  [data-hv] .efb-root,[data-hd] .efb-root{--efb-h:44px;--efb-gap:6px}
  [data-hv] .efb-root[data-efb-step="email"] .efb-step-email,[data-hd] .efb-root[data-efb-step="email"] .efb-step-email{grid-template-columns:minmax(0,1fr) auto;align-items:end;column-gap:8px}
  [data-hv] .efb-step-email .efb-btn,[data-hd] .efb-step-email .efb-btn{width:auto;white-space:nowrap}
  [data-hv] .hero .price,[data-hd] .hero .price{margin-top:4px!important}
}
/* folded Duo: hd12's decorative orb a little smaller so the email-first button clears the bar */
@media (max-width:520px) and (max-height:700px){[data-hd="hd12"] .orbwrap{--s:140px!important}}
/* shorter still (iPhone SE/8 sideways, 375px tall): give the copy column more of the width and step the type down a size, so the email-first row, the "or" link and the price line all clear the bar. Sizing only, same content and order. */
@media (max-height:400px) and (orientation:landscape) and (min-width:600px){
  [data-hv="hv13"] .hero,[data-hv="hv11"] .hero{grid-template-columns:minmax(0,1fr) minmax(0,32%);column-gap:20px}
  [data-hv="hv20"] .hero{grid-template-columns:minmax(0,1.45fr) minmax(0,.55fr);column-gap:20px}
  [data-hd="hd12"] .orbwrap{--s:84px!important}
  [data-hv] .hero h1,[data-hd] .hero h1{font-size:22px!important}
  [data-hv] .hero .sub,[data-hd] .hero .sub{font-size:13px!important;margin-top:4px!important;margin-bottom:4px!important}
  [data-hv] .efb-root,[data-hd] .efb-root{--efb-gap:4px}
  [data-hv] .efb-root .efb-label,[data-hd] .efb-root .efb-label{font-size:13px}
  [data-hd="hd12"] .hero .cta{margin-top:2px!important}
  [data-hv] .hero .price,[data-hd] .hero .price{margin-top:2px!important}
}
/* demo draft actions are a picture of buttons: dashed outline, no fill, body weight (Fable batch 4), so Continue with Google is the one filled control; hv23 stat tiles match at 360 (Fable batch 3, 11-15) */
figure .btns span,figure .btns span.ok,figure .btns span.ed{height:28px!important;padding:0 10px!important;font-weight:500!important;background:transparent!important;color:color-mix(in srgb,currentColor 72%,transparent)!important;border:1px dashed color-mix(in srgb,currentColor 36%,transparent)!important;box-shadow:none!important;cursor:default}
@media (max-width:380px){[data-hv="hv23"] .nums li{padding-left:5px;padding-right:5px}[data-hv="hv23"] .nums span{min-height:3.9em}}
