/* vespertin.io v2 — phones first (Marc, 12 Nov: « sur mobile, la majorité du site est illisible … corriger urgemment et
   profondément »). Loaded last on every page; desktop is untouched above 820 px. Remove its <link> to go back.
   Measured before: leads and headings at 1.04–1.08 line-height; console screens drawn at 860 px and shrunk to 42 %
   (text at 4–5 px); labels at 12 px in the dimmest grey. */
@media (max-width:819px){
  /* reading sizes: body 17/1.6, secondary 15/1.55, labels 13, never under 12 */
  main p,main li,main dd,main td,main th,main label,main summary,main blockquote{font-size:17px!important;line-height:1.6!important;letter-spacing:0!important}
  .vh-lead,.v1-hero-lead,.lead,main .lead{font-size:19px!important;line-height:1.45!important}
  main h1{font-size:32px!important;line-height:1.15!important}
  main h2{font-size:28px!important;line-height:1.18!important}
  main h3,main h4{font-size:21px!important;line-height:1.3!important}
  main .sk-card > span:last-child,main .sk-card span,main .hm-why-c li span,main .hm-rb-facts span,main .hm-sy-facts span{font-size:16px!important;line-height:1.55!important}
  main .lbl,main .k,main .cd,main .tbl-h,main .grp-h,main .note,main .sub,main .cap,main .hm-cap,main .sk-card-k,main .mut,main small,
  main [class*="kicker"],main [class*="eyebrow"]{font-size:13px!important;line-height:1.45!important;color:var(--c-text-2)!important}
  main .fine,main .hm-fine,main .hm-note{font-size:15px!important;line-height:1.55!important}
  .vx-ft,.vx-ft-c a,.vx-ft-b,.vx-ft-a{font-size:15px!important;line-height:1.55!important}
  .vx-ft-l{font-size:13px!important;line-height:1.5!important}
  /* room: one column, more air between blocks */
  main .sk-cards{grid-template-columns:minmax(0,1fr)!important}
  main .sk-card{padding-block:18px 28px!important}
  main section{scroll-margin-top:72px}

  /* console screens: no more shrunken pictures. The window reflows to the width of the phone (the console's own
     narrow layout: no side rail, panes stacked); a wide table scrolls sideways inside its card */
  body.v1 .hbg .hbg-shot.hbg-sch,body.v1 .hbg-sch,.hm-console{height:auto!important;overflow:visible!important;cursor:auto!important}
  body.v1 .hbg-sch > .af-wrap,.hm-console > .af-wrap{width:auto!important;transform:none!important}
  .hbg-sch .sch-zoom,.hm-console .sch-zoom{display:none!important}
  .af-wrap{font-size:13px}
  .af-wrap .afd-t,.af-wrap .af-mx,.af-wrap .afd-led{overflow-x:auto;-webkit-overflow-scrolling:touch}
  .af-wrap .afd-led .afd-tr{min-width:560px}
  .hm-cx .af-mx-r{min-width:560px}
  .af-wrap .af-con-top{flex-wrap:wrap;height:auto;padding-block:6px}

  /* status chips and pills stay small marks, not words in the text */
  main .st,main .tp,main .af-pill,main .lpill,main .sc-st,main .ws{font-size:12px!important;line-height:1.3!important}
  /* the cobalt bands of figures: the figure large, its caption a readable line */
  body.v1 main .sk-band-n dt{font-size:44px!important;line-height:1!important}
  body.v1 main .sk-band-n dd{font-size:14px!important;line-height:1.5!important;letter-spacing:.04em!important}
  /* card grids of two narrow columns read as one column on a phone */
  main .wgrid{grid-template-columns:minmax(0,1fr)!important}

  /* the top of every page (Marc, 12 Nov: « les espaces énormes et inutiles de tous les hero de pages secondaires »).
     Measured: the text began 70 to 100 px under the news strip, with 40 to 120 px between label, title, lead and
     buttons. Now the label sits 20 px under the strip and each block follows at 14 to 20 px. */
  body.v1 .v1-hero,body.v1 .sk-phero,body.v1 .page-hero,body.v1 .rh-hero{padding-top:20px!important;padding-bottom:32px!important}
  body.v1 .v1-hero-t{gap:16px!important}
  body.v1 .v1-hero-g{gap:24px!important}
  body.v1 main .k,body.v1 main .lbl,body.v1 main .dn-crumb{margin-bottom:8px!important}
  body.v1 main .lead,body.v1 main .v1-hero-lead,body.v1 main .dn-lead{margin-top:14px!important}
  body.v1 main h1 + .btns,body.v1 main .lead + .btns,body.v1 main .v1-hero-lead + .btns{margin-top:20px!important}
  .col,.wide,.memo{padding-block:20px 48px!important}
  .wide > section.two,.col > section.two{margin-bottom:40px!important}
  main h1.pg{margin-bottom:16px!important}
  main .draft{margin-bottom:12px!important}
  main section.grp{margin-bottom:32px!important}
  /* every other section: 48 px of air above and below instead of 56 to 96 */
  body.v1 .s{padding-block:48px!important}
  body.v1 .sk-final{padding-block:48px!important}
  /* docs: the space switch, the search and « All pages » closer together, the tabs closer to the title */
  body.v1 .dn-side{padding-block:12px 12px!important}
  body.v1 .dn-search{margin:8px 0 4px!important}
  body.v1 .dn-mid{padding-top:12px!important}
  body.v1 .dn-tabs{margin-bottom:20px!important}
  body.v1 .dn-lead{margin-bottom:20px!important}

  /* the old site reserved room for its fixed header (main{padding-top:var(--top)}, 48 to 64 px); the new header is in
     the flow, so that room was pure empty space at the top of every page */
  main{padding-top:0!important}
  body.v1 .s.rh-hero{padding-top:20px!important}
  .wide > section.two,.col > section.two{gap:16px!important}
}

/* 18 Nov 2026 — phone width (390 px). */
@media (max-width:640px){
  .lmeta .lpill{white-space:normal}                       /* legal pages: the status pill ran past the edge */
  .af-mx-l{flex-wrap:wrap;row-gap:4px}                    /* product: the legend of the matrix */
  .afd-card-h,.afd-card-h > span{flex-wrap:wrap;min-width:0}
  /* the console demo (product, product/record, product/verifier): the ink layer of 14 Nov (h15/v2-ink.css) forces
     its desktop columns with !important, after this file, so the older phone rules no longer applied and the text
     sat in a strip 43 px wide. Same selectors, one class heavier: one column, smaller padding, and the chain
     scrolls sideways. */
  html body.v1 main .af-wrap.af-wrap .af-con{grid-template-columns:minmax(0,1fr)!important}
  html body.v1 main .af-wrap.af-wrap .af-con-main{padding:16px!important;min-width:0}
  html body.v1 main .af-wrap.af-wrap .afd-cols{grid-template-columns:minmax(0,1fr)!important;gap:20px!important}
  .afd-card{min-width:0}
  .af-chain{overflow-x:auto;-webkit-overflow-scrolling:touch;max-width:100%}

  /* --- recette mobile du 17 nov : les bloquants ---------------------------------------------------------------
     Tables (legal pages, partners): they sat at a fixed 620-640 px inside a box that scrolls, with nothing to say
     so, and read as cut mid-word. Up to three columns: the table takes the screen width and its text wraps.
     Four columns or more: it still scrolls, and a line under it says so. */
  .ltable table:not(:has(tr > :nth-child(4))),.pt-tbl table:not(:has(tr > :nth-child(4))){min-width:0!important;width:100%!important;table-layout:auto}
  .ltable table:not(:has(tr > :nth-child(4))) :is(th,td),.pt-tbl table:not(:has(tr > :nth-child(4))) :is(th,td){overflow-wrap:break-word;word-break:normal;white-space:normal}   /* a word is never cut unless it cannot fit at all */
  .ltable:has(tr > :nth-child(4))::after,.pt-tbl:has(tr > :nth-child(4))::after,.lp-fig::after,.pt-viz:has(svg.pt-chart)::after,.pt-art::after{
    content:'Swipe sideways to see the rest \2192';display:block;position:sticky;left:0;width:max-content;max-width:100%;
    padding-top:8px;font:400 11px/1.4 var(--c-mono,ui-monospace,monospace);letter-spacing:.04em;text-transform:uppercase}
  /* partners, "Nine questions for our first call": three columns left the question 70 px wide. Each row becomes a
     block: the area, the question under it, the answer box under that. */
  .pt-tbl table:not(:has(tr > :nth-child(4))) thead{display:none}
  .pt-tbl table:not(:has(tr > :nth-child(4))),.pt-tbl table:not(:has(tr > :nth-child(4))) :is(tbody,tr,td){display:block;width:100%!important;box-sizing:border-box}
  .pt-tbl table:not(:has(tr > :nth-child(4))) td{border:0;padding-top:6px;padding-bottom:6px}
  .pt-tbl table:not(:has(tr > :nth-child(4))) tr{padding:12px 0;border-bottom:1px solid currentColor}
  .pt-tbl table:not(:has(tr > :nth-child(4))) :is(textarea,input){width:100%;box-sizing:border-box}
  /* partners: the three drawings of the zig-zag were shown at two thirds of their size, labels near 7 px.
     Kept at their drawn size (440 px), they scroll sideways, like the wide tables. */
  body.v1 .pt .pt-art{display:block!important;overflow-x:auto;-webkit-overflow-scrolling:touch;padding:20px 16px!important;min-height:0!important}
  body.v1 .pt .pt-art svg{width:440px!important;max-width:none!important;height:auto!important}
  /* partners, "The boundary": too wide to shrink and stay readable. Kept at its drawn size, it scrolls sideways. */
  .pt-viz{display:block!important;overflow-x:auto;-webkit-overflow-scrolling:touch}
  .pt-viz svg.pt-chart{width:520px!important;max-width:none!important;height:auto!important}

  /* --- recette mobile du 17 nov : les défauts visibles --------------------------------------------------------- */
  /* partners, "The stack it sits in": three columns of 118 px, a logo ran over its neighbour. Two columns. */
  body.v1 .ic-grid.ic-grid3{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .ic-card{min-width:0}
  .ic-card :is(b,.ic-cat){max-width:100%;overflow-wrap:break-word}
  .ic-card :is(img,svg){max-width:100%;height:auto}
  /* console demos: rows of four or five tiles 60-76 px wide, their labels ran into the next tile. Two per row. */
  html body.v1 main .af-wrap.af-wrap .afd-tiles{grid-template-columns:repeat(2,minmax(0,1fr))!important;row-gap:10px}
  /* the authority matrix (product): the row label was wider than its column and sat on the first square. The rows
     keep a readable width and the matrix scrolls sideways. */
  html body.v1 main .af-wrap.af-wrap .af-mx > .af-mx-r{min-width:500px}
  .af-mx::after,.afd-t.afd-led::after,.afd-t.afd-q::after,.af-table:has(.af-tr4)::after{
    content:'Swipe sideways to see the rest \2192';display:block;position:sticky;left:0;width:max-content;max-width:100%;
    padding-top:8px;font:400 11px/1.4 var(--c-mono,ui-monospace,monospace);letter-spacing:.04em;text-transform:uppercase}
  /* the settle queue of the gate page: six columns in 326 px, its tiers read "GRE…", "NEV…". It scrolls. */
  html body.v1 main .af-wrap.af-wrap .afd-t.afd-q .afd-tr{min-width:470px}
  /* the constitution table of the deploy pages: four columns in 274 px, nearly every cell ended in an ellipsis. */
  body.v1 .af-table:has(.af-tr4){overflow-x:auto;-webkit-overflow-scrolling:touch}
  body.v1 .af-table :is(.af-tr4,.af-th4){min-width:460px}
  /* the "Waiting on your name" note sat on top of the Refuse button. It takes its own line under the buttons. */
  html body.v1 main .af-wrap.af-wrap .af-toast{position:static!important;width:auto!important;margin:12px 16px 0!important}
  body.v1 .af-has-toast .af-stage{padding-bottom:16px!important}
  /* trust pages: "CERTIFICATIONS CLAIMED YET" was wider than its cell. */
  html body.v1 main .ic-sum dl dd{font-size:13px!important;overflow-wrap:normal!important;word-break:normal!important}
  /* trust pages: the row of tabs ran off the right edge with nothing to say it scrolled. It wraps. */
  body.v1 .dn-tabs{flex-wrap:wrap!important;overflow-x:visible!important}
  /* memo, "Three questions": justified text in a narrow column left wide gaps between words. */
  .memo .qs,.memo .qs *{text-align:left!important}
  /* cookie banner: Manage sat at the right of an otherwise empty frame. It starts the row. */
  .ck .ck-btns .lk{margin-right:auto;padding-left:14px;text-align:left}

  /* --- recette mobile du 17 nov : les défauts mineurs (18 Nov) ------------------------------------------------ */
  /* seat: the "CONNECTING" badge was wider than its column and touched the text beside it. */
  html body.v1 main .af-wrap.af-wrap .afd-st-r{grid-template-columns:96px minmax(0,1fr)!important;column-gap:10px}
  /* seat: the "Escalations lane" label was nearly the colour of its ground. */
  html body.v1 main .af-wrap.af-wrap .afd-card p.afd-k{color:inherit!important;opacity:1!important}
  /* record, verifier: the fifth tab of the audit spine was cut at the right edge. The tabs wrap. */
  html body.v1 main .af-wrap.af-wrap .af-chain.afd-spine{flex-wrap:wrap;row-gap:8px;overflow-x:visible}
  /* memo: justified body text with hyphenation left gaps and broken words. Left-aligned. */
  .memo .part p,.memo .part li{text-align:left!important;hyphens:manual!important;-webkit-hyphens:manual!important}
  /* legal pages: the draft banner sat on two tight lines. */
  .lmeta .lpill{line-height:1.5;padding-top:6px;padding-bottom:6px}
  /* forms: the second line of the consent label started under the box; boxes of 13 px were small for a finger. */
  .qc-form label.qc-consent{display:block!important;position:relative;padding-left:32px;min-height:24px}
  .qc-form label.qc-consent input[type=checkbox]{position:absolute;left:0;top:1px;width:20px;height:20px;margin:0}
  label.chk input[type=checkbox]{width:20px;height:20px;flex:none;margin:1px 0 0}
  /* legal and writing lists: the date sat higher than the title beside it. */
  section.tbl li a{align-items:center}

  /* 1. "On this page" button: closed, its label made it 128 px wide and it covered text at the bottom right.
     Closed, it is a 44 px icon-only square; the label stays readable by screen readers and comes back when open. */
  html body.vx-has-tb .vx-tb:not(.open) .vx-tb-btn{width:44px;height:44px;padding:0;justify-content:center}
  html body.vx-has-tb .vx-tb:not(.open) .vx-tb-btn span{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
  /* 1. the last line of the footer stayed under that button: room for it (44 px button + 16 px offset + 16 px). */
  html body.vx-has-tb .vx-ft{padding-bottom:calc(76px + env(safe-area-inset-bottom,0px))}

  /* 2. integrations: the seven filter buttons wrapped on three rows of uneven width. Two equal columns,
     "All" across the top, a rule between rows. */
  html body.v1 .ic-chips{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%}
  html body.v1 .ic-chips button{border-bottom:1px solid var(--c-line)}
  html body.v1 .ic-chips button:first-child{grid-column:1 / -1;border-right:0}
  html body.v1 .ic-chips button:nth-child(odd){border-right:0}
  html body.v1 .ic-chips button:nth-last-child(-n+2){border-bottom:0}
  /* 2. integrations: the Splunk logo is a wordmark drawn 8 px high inside the square 28 px box of the other logos.
     Enlarged from its left edge, to the cap height of the neighbouring marks. */
  html body.v1 .ic-logo svg.bi[aria-label="Splunk"]{transform:scale(2.4);transform-origin:0 50%}

  /* 3. seat: on two columns the third tile ("Unverified") kept the left rule meant for a four-column row,
     and its label sat against it. No left rule on the first tile of a row. */
  html body.v1 main .af-wrap.af-wrap .afd-tiles > div:nth-child(odd){border-left:0}

  /* 4. gate, pilot: in the red lane the "Seat" box is 69 px high among 29 px boxes; centred, it rose above
     the dashed line of its row. The boxes of that lane now hang from the same top, under the line
     (the box grows downwards when its text changes during the animation). */
  html body .fl .fl-lane.fl-lane-r{align-items:start}
  html body .fl .fl-lane.fl-lane-r::after{top:8px}
  html body .fl .fl-lane.fl-lane-r > .fl-pill{margin-top:5px}
  html body .fl .fl-lane.fl-lane-r > .fl-tally{margin-top:1px}

  /* 5. trust, "Our reading": three figures on two columns left an empty fourth cell. The odd last figure takes the row. */
  html body.v1 .ic-sum dl > div:last-child:nth-child(odd){grid-column:1 / -1}
  /* 5. trust, comparison cards: the frame of the desktop table stayed as a stray rule above the first card and under the last. */
  html body.v1 main .hm-cmp.hm-cmp{border-block:0!important}

  /* 6. legal pages: a bracketed placeholder is an inline-block; once wider than the line it took the full width
     and pushed the full stop after it alone onto the next line. It now wraps like the text around it. */
  html body main :is(p,li,td) > span.ph{display:inline;-webkit-box-decoration-break:clone;box-decoration-break:clone}

  /* 7. writing: the labels of the cover illustrations were 10 px. 12 px; the three icons keep one top line when a label wraps. */
  html body .art-cover .cov em{font-size:12px}
  html body .art-cover .cov-q{align-items:start;align-content:center;padding:0 2%}
  html body .art-cover .cov-q em{letter-spacing:.04em}

  /* 8. contact: the small label above "Talk to the people who build it" kept a 21 px left padding that the other
     pages cancel (body.v1 .k); it stood about 20 px right of the heading under it. */
  html body main .v1-hero-t .k{padding-left:0}
}
