/* SalesMax report, the new layout — v2.1 styles (the owner's test page of 14-16 Nov 2026; on 16 Nov he said it can
   go to everyone; v2.1, 17 Nov: his phone remarks — the first screen on one centre line, the field's notes as a
   cell of the box, the plan tag on the row's edge, the order chips as one row that scrolls, no bottom bar).
   Every rule is scoped to html.v2 and to the report state, and uses the report's own tokens:
   --ink #26292c, --ink2 #5f6a72, --line #e9ecee, --line2 #f3f5f6, --green #00dd00, --green-line #276C27,
   --green-tint #e9fbe9; hero ground #1d1712, hero text #f6efe6 / #b3a493. */

/* v2.js moves nothing unless this sheet is in the page, and in its own version: it reads this property first (21 = v2.1;
   a script and a sheet of two different versions never work on one page, the report then stays as the shell drew it) */
html{--smx-v2css:21}

/* v2.6 (22 Nov 2026, owner: "кнопку давай чорну зробимо в хедері"): the green face of v2.3 is gone, so the header
   button on a report is the shell's own again (ink at rest, green under a pointer, as on every other page). v2.js still
   writes "Get started" in the page's language. The sheet's version mark above stays 21. */

/* the page stays blank-free: the old first screen is held back until the new one is in place */
html.v2:not(.v2-ready) body[data-st="report"] #scan-sec .dk-in{visibility:hidden}

/* ---------- what the test version drops ---------- */
html.v2 body[data-st="report"] .hs-more,
html.v2 body[data-st="report"] #rtool,
html.v2 body[data-st="report"] .loopb,
html.v2 body[data-st="report"] #report #c3,
html.v2 body[data-st="report"] #report .vmir-bar,
html.v2 body[data-st="report"] #report .fstrip-w{display:none!important}

/* outside the report state (a scan running in place) the layer shows nothing of its own */
html.v2 body:not([data-st="report"]) #v2-top,html.v2 body:not([data-st="report"]) #v2-ord,
html.v2 body:not([data-st="report"]) .v2-slot{display:none!important}

/* ---------- hero ---------- */
html.v2 body[data-st="report"] #scan-sec{min-height:0;height:auto}
/* on the page grid: 1312px between the same two lines the nav and the blocks below keep (owner, 16 Nov 2026:
   stretch it to the grid, and the captures smaller) */
html.v2 body[data-st="report"] #scan-sec .dk-in{max-width:1360px;width:auto;height:auto;min-height:0;margin:0 auto;
  padding:140px 24px 46px;text-align:left;display:block}   /* .wrap's own numbers: 1360 wide, 24 a side */
html.v2 .v2-hero{display:grid;grid-template-columns:minmax(0,11fr) minmax(0,9fr);gap:64px;align-items:center}
html.v2 .v2-hero.v2-solo{grid-template-columns:minmax(0,1fr)}
html.v2 .v2-hero.v2-solo .v2-hr{display:none}
html.v2 .v2-hl{min-width:0}
/* The column's gaps follow one rule (owner, 16 Nov 2026: the spacing as best practice has it): what belongs
   together stands close, what is a new step stands apart. The ring row, the name and the lead are one group
   (16px, then 12px: the lead is the name's own sentence); the scan field is the next step, and gets twice the
   room (32px). All on the 4px scale the page already uses. Phones: 14 / 10 / 24. */
/* one row: the grade ring, and beside it the scan date and what this page is */
html.v2 .v2-head{display:flex;align-items:center;gap:16px;margin:0 0 16px;min-width:0}
html.v2 .v2-hl .hchip-w{display:flex;align-items:center;gap:10px;flex:none;margin:0;width:auto;text-align:left}
html.v2 .v2-hl .hchip-w #grh{margin:0;zoom:.773}
html.v2 .v2-hl #rkick{text-align:left;margin:0;min-width:0}
html.v2 .v2-hl #rkick .rk-d{justify-content:flex-start}
html.v2 .v2-hl #h-h1{justify-content:flex-start;text-align:left;margin:0 0 12px;font-size:clamp(2rem,3.9vw,3.5rem)}
html.v2 .v2-hl #h-h1 #h-t{overflow-wrap:anywhere}
/* the page's own lead, as the shell writes it: the estimate sentence and the link to the report */
html.v2 .v2-hl #h-sub{margin:0;max-width:none;text-align:left}
html.v2 .v2-btn{display:inline-flex;align-items:center;gap:9px;min-height:52px;padding:0 22px;border-radius:10px;font-weight:700;font-size:1rem;
  text-decoration:none;cursor:pointer;border:1px solid transparent;transition:background .15s,border-color .15s,transform .15s;white-space:nowrap}
html.v2 .v2-btn span{font-weight:500;opacity:.82}
html.v2 .v2-g{background:var(--green,#00dd00);color:#07330e;box-shadow:0 8px 26px -10px rgba(0,221,0,.55)}
html.v2 .v2-g:hover{background:#00c400}
html.v2 .v2-btn:focus-visible,html.v2 .v2-chip:focus-visible,html.v2 .v2-m:focus-visible,html.v2 .v2-ba:focus-visible,
html.v2 .v2-arr:focus-visible{outline:2px solid #57e857;outline-offset:3px}
/* the scan field: the shell's own form, drawn as an AI composer (owner, 16 Nov 2026: "not an input, like in ChatGPT"):
   a tall dark box with a hairline round it, the address line at its top, a row under it with the scan page's notes
   and the one green button. Plain on purpose: no glow, no moving light (owner, the same day: "just minimal") */
html.v2 .v2-ai{position:relative;cursor:text}
/* The notes are a cell of the box's own grid (row two, beside the button), so the grid decides how much room they
   get. A note that does not fit whole wraps onto a second line that is never shown (the zero-width first item lets
   even the first one wrap): none is ever cut or run under the button, in any language, at any width, and the row
   stands on the button's own centre line (owner, 17 Nov 2026: on a phone the second note ran into the button). */
html.v2 .v2-ait{grid-column:1;grid-row:2;align-self:center;min-width:0;height:28px;margin:0 0 0 -8px;display:flex;flex-wrap:wrap;align-items:center;gap:8px;
  overflow:hidden;pointer-events:none}
html.v2 .v2-ait::before{content:"";flex:none;width:0;height:28px}
html.v2 .v2-ait .sn-chip{flex:none;box-sizing:border-box;height:28px;display:inline-flex;align-items:center;gap:6px;margin:0;padding:0 10px;border-radius:999px;
  border:1px solid rgba(246,239,230,.16);background:rgba(246,239,230,.04);font-size:.76rem;font-weight:600;line-height:1;color:#cdbfae;white-space:nowrap}
html.v2 .v2-ait .sn-chip:nth-child(n+3){display:none}   /* two notes are enough (owner, 16 Nov 2026: hide "Public pages only") */
html.v2 .v2-ait .sn-chip svg{flex:none;stroke:#f6efe6}   /* white, not the scan page's green (owner, 16 Nov 2026) */
html.v2 .v2-scan{margin:32px 0 0;max-width:560px}
html.v2 body[data-st="report"] .v2-scan .scan-form{position:relative;display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:auto auto;align-items:end;
  margin:0;max-width:none;gap:14px 8px;padding:16px 12px 12px 20px;border-radius:26px;
  background:rgba(246,239,230,.07);box-shadow:0 0 0 1px rgba(246,239,230,.16);transition:box-shadow .15s}
html.v2 body[data-st="report"] .v2-scan .scan-form:focus-within{box-shadow:0 0 0 1px rgba(246,239,230,.42)}   /* the hairline brightens, nothing more */
html.v2 body[data-st="report"] .v2-scan .scan-form input{grid-column:1 / -1;grid-row:1;width:100%;color:#f6efe6;caret-color:#57e857;padding:2px 8px 2px 0;font-size:1.06rem;line-height:1.5}
html.v2 body[data-st="report"] .v2-scan .scan-form input::placeholder{color:#a3968a;opacity:1}
html.v2 body[data-st="report"] .v2-scan .scan-form button,
html.v2 body[data-st="report"] .v2-scan .scan-form button:hover,
html.v2 body[data-st="report"] .v2-scan .scan-form input:not(:placeholder-shown)~button{grid-column:2;grid-row:2;justify-self:end;min-height:40px;padding:10px 18px;
  background:var(--green,#00dd00);color:#07330e;border-radius:999px;box-shadow:none}
/* under a pointer it turns white with dark text, as on the scan page and the homepage (owner, 16 Nov 2026: the
   hover could not be seen); on a touch screen, where a tap leaves :hover on, it stays green */
@media (hover:hover){
  html.v2 body[data-st="report"] .v2-scan .scan-form button:hover,
  html.v2 body[data-st="report"] .v2-scan .scan-form input:not(:placeholder-shown)~button:hover{background:#fff;color:#1d1712}
}
html.v2 body[data-st="report"] .v2-scan .scan-form.err{box-shadow:0 0 0 2px #e0685e}
html.v2 .v2-scan .scan-err{margin:10px 0 0}
html.v2 .v2-scan .smx-cons{margin-left:0;margin-right:0;text-align:left}
/* the ticket's arrows point at the full check: down from the upper place, up (the shell's own) from the lower one */
html.v2 body[data-st="report"] #v2-slot-a #smx-rows .smx-arr{display:inline-block;transform:rotate(180deg)}

/* the store itself: the large capture (home page first) and the pages SalesMax walked right under it */
html.v2 .v2-hr{min-width:0}
html.v2 .v2-frame{border-radius:14px;overflow:hidden;background:#fff;box-shadow:0 30px 70px -30px rgba(0,0,0,.8),0 0 0 1px rgba(246,239,230,.14)}
html.v2 .v2-fbar{display:flex;align-items:center;gap:6px;height:34px;padding:0 12px;background:#f3f5f6;border-bottom:1px solid #e9ecee}
html.v2 .v2-fbar i{width:9px;height:9px;border-radius:50%;background:#d5dadd}
html.v2 .v2-fbar span{margin-left:10px;font-size:.74rem;color:#5f6a72;background:#fff;border:1px solid #e9ecee;border-radius:6px;padding:3px 10px;
  max-width:60%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
html.v2 .v2-shot{position:relative;aspect-ratio:1200 / 850;background:#f3f5f6;overflow:hidden}
html.v2 .v2-shot img{position:absolute;inset:0;width:100%;height:100%;max-height:none;object-fit:cover;object-position:left top;display:block;transition:opacity .18s}
html.v2 .v2-thumbs{margin:14px 0 0}
html.v2 .v2-thumbs[hidden]{display:none}
html.v2 .v2-thumbs .fstrip{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}
html.v2 .v2-thumbs .fthumb{margin:0;min-width:0;cursor:pointer}
html.v2 .v2-thumbs .fthumb img{width:100%;height:auto;aspect-ratio:1200 / 850;object-fit:cover;object-position:left top;display:block;border:0;border-radius:8px;
  background:#2a221b;opacity:.5;box-shadow:0 0 0 1px rgba(246,239,230,.18)}   /* the pages not on show stand well back (owner, 16 Nov 2026) */
html.v2 .v2-thumbs .fthumb:hover img{opacity:.85}
/* the one on show: a ring that stands 3px off the picture */
html.v2 .v2-thumbs .fthumb.on img{opacity:1;border:0;box-shadow:none;outline:2px solid #f6efe6;outline-offset:3px}
html.v2 .v2-thumbs .fthumb figcaption{margin-top:8px;font-size:.68rem;font-weight:600;letter-spacing:.09em;text-transform:uppercase;text-align:center;color:#8f8272;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html.v2 .v2-thumbs .fthumb.on figcaption{color:#f6efe6;font-weight:700}

/* ---------- the report band: what SalesMax read about the store, where the store ranks, what is on the table ----------
   Two columns that stand level: the store facts over the ranking on the left, the projection chart in a card of
   its own on the right (owner, 16 Nov 2026: this place looked untidy; later: bring the chart back). The grade
   card is not repeated here: the grade is on the first screen and on the ticket. */
html.v2 body[data-st="report"] #report{margin-top:34px;align-items:stretch}
html.v2 body[data-st="report"] #report .left{display:flex;flex-direction:column;gap:12px;min-width:0}
html.v2 body[data-st="report"] #report .vmir{flex:1 1 auto;display:flex;flex-direction:column;justify-content:center}
html.v2 body[data-st="report"] #report .vmir .vstack{border-top:0}
html.v2 body[data-st="report"] #report .cards{display:none!important}
html.v2 body[data-st="report"] #report #bench{flex:0 0 auto;margin-top:0}
html.v2 body[data-st="report"] #report .right{display:flex;flex-direction:column;min-width:0;background:#fff;border:1px solid var(--line,#e9ecee);border-radius:8px;padding:16px 16px 14px}
html.v2 body[data-st="report"] #report .right>.rt-h{margin-top:0}
html.v2 body[data-st="report"] #report .right>#chartbox{flex:1 1 auto}
html.v2 body[data-st="report"] #report .right>.cap{margin-bottom:0}

/* ---------- "Start with these 3": one row that scrolls sideways ---------- */
html.v2 .v2-top{max-width:1312px;margin:56px auto 0}
html.v2 .v2-top-h{display:flex;align-items:baseline;gap:6px 16px;flex-wrap:wrap;margin:0 0 18px}
html.v2 .v2-top-h h2{margin:0;font-size:1.7rem;line-height:1.2;font-weight:800;letter-spacing:-.02em;color:var(--ink,#26292c)}
html.v2 .v2-top-h p{margin:0;color:var(--ink2,#5f6a72);font-size:.95rem}
/* z 46: under the sticky nav (50), over the back-to-top disc (45), which stands at the same right edge */
/* the arrows ride on the row's own sides, each shown only while there is more that way; the row's edge
   dissolves on the side where it goes on (a mask, so it works over any ground) */
html.v2 .v2-railw{position:relative}
html.v2 .v2-arr{appearance:none;position:absolute;top:50%;z-index:46;width:48px;height:48px;margin-top:-24px;padding:0;border-radius:50%;
  border:1px solid var(--line,#e9ecee);background:#fff;color:var(--ink,#26292c);display:grid;place-items:center;cursor:pointer;
  box-shadow:0 8px 22px -8px rgba(29,23,18,.4);transition:border-color .15s,transform .15s}
html.v2 .v2-arr-l{left:-14px}
html.v2 .v2-arr-r{right:-14px}
html.v2 .v2-arr:hover:not(:disabled){border-color:var(--ink2,#5f6a72);transform:scale(1.06)}
html.v2 .v2-arr:disabled{opacity:0;pointer-events:none}
html.v2 .v2-cards{display:flex;gap:20px;overflow-x:auto;overflow-y:hidden;overscroll-behavior-x:contain;scroll-snap-type:x proximity;scroll-padding-left:3px;
  scrollbar-width:none;-webkit-overflow-scrolling:touch;padding:3px;margin:-3px;--v2-fl:0px;--v2-fr:0px;
  -webkit-mask-image:linear-gradient(to right,transparent 0,#000 var(--v2-fl),#000 calc(100% - var(--v2-fr)),transparent 100%);
  mask-image:linear-gradient(to right,transparent 0,#000 var(--v2-fl),#000 calc(100% - var(--v2-fr)),transparent 100%)}
html.v2 .v2-top.v2-more-l .v2-cards{--v2-fl:120px}
html.v2 .v2-top.v2-more-r .v2-cards{--v2-fr:120px}
html.v2 .v2-cards::-webkit-scrollbar{display:none;height:0}
html.v2 .v2-cards:focus-visible{outline:2px solid var(--green-line,#276C27);outline-offset:-2px;border-radius:16px}
html.v2 .v2-top.v2-fits .v2-cards{justify-content:center}
html.v2 .v2-top.v2-fits .v2-arr,html.v2 .v2-top.v2-fits .v2-rbar{display:none}
html.v2 .v2-card{flex:0 0 calc((100% - 40px) / 2.3);scroll-snap-align:start;display:flex;flex-direction:column;min-width:0;background:#fff;
  border:1px solid var(--line,#e9ecee);border-radius:14px;padding:18px 18px 14px}
html.v2 .v2-card header{display:flex;gap:12px;align-items:center;margin:0 0 10px}
html.v2 .v2-n{flex:none;width:30px;height:30px;border-radius:50%;display:grid;place-items:center;background:var(--ink,#26292c);color:#fff;font-weight:800;font-size:.9rem}   /* every number dark, the same as 1-2-3 (owner, 16 Nov 2026) */
html.v2 .v2-card header b{display:block;font-size:1.02rem;line-height:1.25;color:var(--ink,#26292c)}
html.v2 .v2-card header span:not(.v2-n){display:block;font-size:.74rem;color:var(--ink2,#5f6a72);letter-spacing:.02em}
html.v2 .v2-p{margin:0 0 12px;font-size:.95rem;line-height:1.45;color:#8a3d12;font-weight:600;min-height:2.9em}
html.v2 .v2-m{flex:1;display:flex;align-items:center;justify-content:center;border-radius:10px;background:var(--line2,#f3f5f6);padding:12px;cursor:zoom-in;min-width:0;
  transition:box-shadow .15s}
html.v2 .v2-m:hover{box-shadow:0 0 0 2px var(--green-line,#276C27)}
html.v2 .v2-m .bx-with{width:100%;max-width:470px;border:0;box-shadow:none;border-radius:8px;min-height:0;cursor:inherit;pointer-events:none}
html.v2 .v2-m .bx-with::before,html.v2 .v2-m .bx-with::after{display:none!important}
html.v2 .v2-card footer{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:12px}
html.v2 .v2-fix{display:inline-flex;align-items:center;gap:7px;color:var(--green-line,#276C27);font-weight:600;font-size:.9rem}
html.v2 .v2-fix .bx-ci{width:15px;height:15px;flex:none}
html.v2 .v2-ba{appearance:none;border:1px solid var(--line,#e9ecee);background:#fff;border-radius:8px;padding:8px 12px;font:600 .82rem/1 var(--body,"Public Sans",sans-serif);
  color:var(--ink,#26292c);cursor:pointer;white-space:nowrap}
html.v2 .v2-ba:hover{border-color:var(--ink2,#5f6a72)}
/* the drawn bar under the row: the same idiom as the report gallery's */
html.v2 .v2-rbar{position:relative;height:4px;border-radius:2px;background:var(--line2,#f3f5f6);margin:18px 0 0;overflow:hidden}
html.v2 .v2-rbar i{position:absolute;top:0;bottom:0;left:0;width:50%;border-radius:2px;background:var(--ink2,#5f6a72)}
/* on a desktop the three stand side by side, all in view: no scroll, no arrows, no fade, no bar (owner, 16 Nov 2026).
   Below 1001px three do not fit, and the row above keeps scrolling. */
@media (min-width:1001px){
  html.v2 .v2-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));overflow:visible;scroll-snap-type:none;padding:0;margin:0;-webkit-mask-image:none;mask-image:none}
  html.v2 .v2-cards[data-n="2"]{grid-template-columns:repeat(2,minmax(0,430px));justify-content:center}
  html.v2 .v2-cards[data-n="1"]{grid-template-columns:minmax(0,430px);justify-content:center}
  html.v2 .v2-arr,html.v2 .v2-rbar{display:none}
}
/* the way on to all the checks: a button with a border, plain to see (owner, 16 Nov 2026) */
html.v2 .v2-more{margin:22px 0 0;text-align:center}
html.v2 .v2-seeall{display:inline-flex;align-items:center;gap:9px;min-height:48px;padding:0 26px;border:2px solid var(--ink,#26292c);border-radius:10px;background:#fff;
  color:var(--ink,#26292c);font-weight:700;font-size:.98rem;text-decoration:none;transition:background .15s,color .15s}
html.v2 .v2-seeall:hover{background:var(--ink,#26292c);color:#fff}
html.v2 .v2-seeall:focus-visible{outline:2px solid var(--green-line,#276C27);outline-offset:3px}

/* ---------- plans come right after ---------- */
/* its two places: after the three fixes, and again after the full check (one real block, see buildSlots) */
html.v2 .v2-slot{margin-top:44px}
html.v2 #v2-slot-b{margin-top:52px}
html.v2 .v2-slot.v2-off{display:none}
html.v2 body[data-st="report"] .v2-slot>#match{margin-top:0}
html.v2 .v2-ord{margin:14px 0 18px;padding:14px 14px 12px;border:1px solid var(--line,#e9ecee);border-radius:12px;background:var(--line2,#f3f5f6)}
html.v2 .v2-oq{margin:0 0 10px;font-weight:700;color:var(--ink,#26292c);font-size:.95rem}
html.v2 .v2-chips{display:flex;flex-wrap:wrap;gap:6px}
html.v2 .v2-chip{appearance:none;-webkit-appearance:none;border:1px solid var(--line,#e9ecee);background:#fff;border-radius:999px;padding:8px 13px;min-width:48px;
  font:600 .86rem/1 var(--body,"Public Sans",sans-serif);color:var(--ink,#26292c);cursor:pointer;font-variant-numeric:tabular-nums}
html.v2 .v2-chip:hover{border-color:var(--ink2,#5f6a72)}
html.v2 .v2-chip[aria-pressed="true"]{background:var(--ink,#26292c);border-color:var(--ink,#26292c);color:#fff}
html.v2 .v2-po{margin:10px 0 0;font-size:.84rem;line-height:1.45;color:var(--ink2,#5f6a72)}
html.v2 .v2-po b{color:var(--ink,#26292c)}

/* ---------- the full check, after the plans ---------- */
html.v2 body[data-st="report"] #audit{margin-top:56px}

/* ---------- tablets and phones ---------- */
@media (max-width:1000px){
  html.v2 body[data-st="report"] #scan-sec .dk-in{padding:128px 20px 40px}
  html.v2 .v2-hero{grid-template-columns:minmax(0,1fr);gap:32px}
  html.v2 .v2-mir{max-width:680px}
  html.v2 .v2-card{flex-basis:min(520px,74%)}
}
@media (max-width:560px){
  /* The first screen stands on one centre line (owner, 17 Nov 2026: centre it on a phone, and better gaps): the
     ring, under it what the page is, then the name and its sentence, then the field across the full width. The
     gaps keep the desktop's rule on the page's 4px scale: 12 inside the ring's group, 20 down to the name, 12 to
     its sentence, 28 to the field (a new step), 32 to the store's picture. */
  html.v2 body[data-st="report"] #scan-sec .dk-in{padding:112px 16px 32px}
  html.v2 .v2-head{flex-direction:column;gap:12px;margin-bottom:20px}
  html.v2 .v2-hl #rkick{text-align:center}
  html.v2 .v2-hl #rkick .rk-d{justify-content:center;text-align:center}
  html.v2 .v2-hl #rkick b{font-size:.72rem;letter-spacing:.1em}
  html.v2 .v2-hl #h-h1{justify-content:center;text-align:center;margin-bottom:12px}
  html.v2 .v2-hl #h-sub{text-align:center;text-wrap:balance}   /* centred lines of one length, where the browser can */
  html.v2 .v2-scan{margin-top:28px;max-width:none}
  html.v2 .v2-scan .scan-err,html.v2 .v2-scan .smx-cons{text-align:center}
  /* the field's notes and button as on the scan page's phone field: a little tighter, so two notes fit from 375px up */
  html.v2 .v2-ait{gap:6px;margin-left:-6px;height:27px}
  html.v2 .v2-ait::before{height:27px}
  html.v2 .v2-ait .sn-chip{height:27px;gap:5px;padding:0 8px;font-size:.72rem}
  html.v2 body[data-st="report"] .v2-scan .scan-form{padding:14px 10px 10px 16px}
  html.v2 body[data-st="report"] .v2-scan .scan-form button,
  html.v2 body[data-st="report"] .v2-scan .scan-form button:hover,
  html.v2 body[data-st="report"] .v2-scan .scan-form input:not(:placeholder-shown)~button{padding:10px 14px}
  /* the captured pages: one line that scrolls, each picture large enough to recognise */
  html.v2 .v2-thumbs{margin-top:12px}
  html.v2 .v2-thumbs .fstrip{display:flex;gap:10px;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:none;scroll-snap-type:x proximity;
    scroll-padding-left:16px;margin:0 -16px;padding:6px 16px}   /* room for the ring */
  html.v2 .v2-thumbs .fstrip::-webkit-scrollbar{display:none;height:0}
  html.v2 .v2-thumbs .fthumb{flex:0 0 30%;scroll-snap-align:start}
  /* the order counts: one row that scrolls sideways (owner, 17 Nov 2026). It runs to the box's own edges, and its
     edge dissolves on the side where the row goes on; 6px above and below leave room for the focus ring. */
  html.v2 .v2-chips{flex-wrap:nowrap;gap:8px;overflow-x:auto;overflow-y:hidden;overscroll-behavior-x:contain;scrollbar-width:none;-webkit-overflow-scrolling:touch;
    margin:-6px -14px;padding:6px 14px;scroll-padding:0 14px;--v2-cl:0px;--v2-cr:0px;
    -webkit-mask-image:linear-gradient(to right,transparent 0,#000 var(--v2-cl),#000 calc(100% - var(--v2-cr)),transparent 100%);
    mask-image:linear-gradient(to right,transparent 0,#000 var(--v2-cl),#000 calc(100% - var(--v2-cr)),transparent 100%)}
  html.v2 .v2-chips::-webkit-scrollbar{display:none;height:0}
  html.v2 .v2-chips.v2-more-l{--v2-cl:36px}
  html.v2 .v2-chips.v2-more-r{--v2-cr:36px}
  html.v2 .v2-chip{flex:none;min-width:72px;min-height:44px;padding:0 16px}
  html.v2 body[data-st="report"] #audit .ab-fold #audit-sub{max-height:none!important;-webkit-mask-image:none!important;mask-image:none!important;overflow:visible!important}
  html.v2 body[data-st="report"] #audit .ab-fold>.ab-more{display:none!important}
  html.v2 body.v2-band-low[data-st="report"] #report{margin-top:36px;gap:12px}
  html.v2 body[data-st="report"] #match .lifts{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;overflow:visible!important}
  html.v2 body[data-st="report"] #match .lifts .lbtn{flex:none!important;min-width:0!important;width:auto!important;min-height:40px;padding:10px 4px!important;font-size:.76rem;white-space:nowrap}
  html.v2 .v2-top{margin-top:40px}
  html.v2 .v2-slot{margin-top:36px}
  html.v2 .v2-top-h h2{font-size:1.4rem}
  /* the fixes: one card and the edge of the next, swiped sideways */
  html.v2 .v2-arr{display:none}
  html.v2 .v2-cards{gap:12px;margin:-3px -16px;padding:3px 16px;scroll-padding-left:16px;scroll-snap-type:x mandatory;-webkit-mask-image:none;mask-image:none}
  html.v2 .v2-card{flex-basis:86%;padding:14px 14px 12px}
  html.v2 .v2-m{padding:10px}
  /* no "Before / after" button on a phone (owner, 17 Nov 2026): the fix line has the card's foot to itself; the
     picture itself still opens the comparison */
  html.v2 .v2-card .v2-ba{display:none}
  /* all three plans on screen: a list, one per line */
  html.v2 body[data-st="report"] #match .smx-plans{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:12px;overflow:visible!important;
    padding:0!important;margin-inline:0!important;scroll-snap-type:none!important;-webkit-mask-image:none!important;mask-image:none!important}
  html.v2 body[data-st="report"] #match .smx-plans::before,html.v2 body[data-st="report"] #match .smx-plans::after{display:none!important}
  html.v2 body[data-st="report"] #match .smx-plan{width:auto!important;min-width:0!important;max-width:none!important;flex:none!important;display:grid!important;
    grid-template-columns:auto 1fr auto;grid-template-areas:"dot name price" "dot stores price";column-gap:12px;align-items:center;text-align:left;padding:12px 14px!important}
  html.v2 body[data-st="report"] #match .smx-plan .smx-dot{grid-area:dot;position:static!important}
  html.v2 body[data-st="report"] #match .smx-plan .smx-name{grid-area:name}
  html.v2 body[data-st="report"] #match .smx-plan .smx-stores{grid-area:stores}
  html.v2 body[data-st="report"] #match .smx-plan .smx-price{grid-area:price;justify-self:end;margin-top:0}   /* on the row's own middle line, with the dot */
  /* The "Most popular" tag rides on the row's top edge, level with the plan's name: the shell's own place for it
     on the desktop cards. There it costs the row no height and competes with neither the name nor the price for
     room, whatever the language (owner, 17 Nov 2026: it hung between the two, level with nothing). The rows stand
     12px apart so the tag clears the row above. */
  html.v2 body[data-st="report"] #match .smx-plan .smx-badge{left:42px}
  /* a fix card's demo plays while the card is on screen (owner, 17 Nov 2026). The shell's own player looks for
     panels named .bx.built.open, so on a phone the card's picture wears those names; what the shell's rules for
     them would change here is put back */
  html.v2 .v2-m.bx{display:flex;margin:0;scroll-margin-top:0}
}
@media (prefers-reduced-motion:reduce){
  html.v2 .v2-shot img,html.v2 .v2-arr,html.v2 .v2-btn{transition:none}
}
/* on paper (the report's own "Print / save as PDF"): the plan block's second place is an empty box there, and
   the controls that only work on a screen have nothing to do */
@media print{
  html.v2 .v2-slot{min-height:0!important}
  html.v2 .v2-slot:empty,html.v2 .v2-more,html.v2 .v2-ba,html.v2 .v2-arr,html.v2 .v2-rbar{display:none!important}
}

/* v2.8 (23 Nov 2026, owner: "на моб нижній бар ... не чорним а білим, більш охайним, так як на флешмакс, і кнопку
   чорну"): on a report this layer drives, the shell's phone offer bar (#rbar, v2.5) is drawn the way FlashMax draws its
   phone dock: a white bar (frosted where the browser can blur what scrolls under it) with a hairline on top and a
   soft shadow, the two lines in the report's ink and grey, and the button in the house ink with white text (green
   under a pointer, as every ink button on the site). Size, place and when it shows are unchanged; ?v2=0 keeps the
   shell's own dark bar. No `display` here: the shell's rbar-on rule decides that. */
@media (max-width:680px){
  html.v2 body[data-st="report"] #rbar{background:#fff;color:var(--ink,#26292c);border-top:1px solid rgba(29,23,18,.08);
    box-shadow:0 -8px 24px rgba(29,23,18,.07);padding:8px 12px calc(8px + env(safe-area-inset-bottom))}
  html.v2 body[data-st="report"] #rbar .g{flex:1 1 auto;padding-left:4px;color:var(--ink2,#5f6a72);font-size:12.5px;line-height:1.3}
  html.v2 body[data-st="report"] #rbar .g b{color:#1d1712;font-size:15px;font-weight:800;letter-spacing:-.01em;line-height:1.25}
  html.v2 body[data-st="report"] #rbar a.rb-go{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:0 20px;
    border-radius:11px;background:#1d1712;background-image:none;color:#fff;font-size:15px;font-weight:700;opacity:1}
  html.v2 body[data-st="report"] #rbar a.rb-go:hover{opacity:1}
  html.v2 body[data-st="report"] #rbar a.rb-go:focus-visible{outline:2px solid #1d1712;outline-offset:2px}
}
@media (max-width:680px) and (hover:hover){
  html.v2 body[data-st="report"] #rbar a.rb-go:hover{background:var(--green,#00dd00);color:#07330e}
}
@supports ((-webkit-backdrop-filter:blur(1px)) or (backdrop-filter:blur(1px))){
  @media (max-width:680px){
    html.v2 body[data-st="report"] #rbar{background:rgba(255,255,255,.88);-webkit-backdrop-filter:saturate(180%) blur(18px);backdrop-filter:saturate(180%) blur(18px)}
  }
}
@media (max-width:359px){
  html.v2 body[data-st="report"] #rbar a.rb-go{padding:0 14px;font-size:14px}
  html.v2 body[data-st="report"] #rbar .g b{font-size:14px}
}

/* v2.9 (owner, 23 Nov 2026: "not SalesMax on the left, something that lifts the click rate, not long"): the first line
   now carries this store's own figure, so the bar's type is one step smaller and the button narrower; on 360-390 px
   phones the first line stays on one line in all 7 languages for a typical figure. */
@media (max-width:680px){
  html.v2 body[data-st="report"] #rbar .g{font-size:12px}
  html.v2 body[data-st="report"] #rbar .g b{font-size:14px}
  html.v2 body[data-st="report"] #rbar a.rb-go{padding:0 16px;font-size:14px}
}
@media (max-width:359px){
  html.v2 body[data-st="report"] #rbar a.rb-go{padding:0 12px}
  html.v2 body[data-st="report"] #rbar .g b{font-size:13.5px}
}
