/* Approved white direction — shared across all six pages; load after page styles. */
:root{--bg:var(--shopiens-background);--paper:var(--shopiens-background)}
body,.products,.qtop,.faq,.foot,.pp-hero{background:var(--shopiens-background)}
/* One continuous white surface: no tinted header band or visible divider. */
.nav{background:var(--shopiens-background);border-bottom-color:transparent;box-shadow:none;backdrop-filter:none;-webkit-backdrop-filter:none}
/* V5 (November 9, 2026) · large panels on one grid.
   Every large panel (home hero, product frames, Live Store stage, AI panel, final call) shares the grid's edges,
   one radius (24px, 20px up to 800px, 18px up to 480px) and, when it holds text, the AI panel's inner margin
   (64px, 45px up to 1100px, 30px up to 800px, 25px up to 480px). The AI panel and the final call already follow it
   in ai-cta.css; the variables below carry the same steps for the rest. */
:root{--panel-r:var(--shopiens-panel-radius);--panel-in:64px}
@media(max-width:1100px){:root{--panel-in:45px}}
@media(max-width:800px){:root{--panel-r:20px;--panel-in:30px}}
@media(max-width:480px){:root{--panel-r:18px;--panel-in:25px}}

/* Home hero · one panel the colour of its picture's ground; header and page stay white (Benjamin chose "B · Plateau"). */
.hx{--bg:var(--shopiens-hero-background);width:calc(min(100%, var(--wrap)) - 2 * var(--gut));margin:12px auto 0;border-radius:var(--panel-r);background:var(--shopiens-hero-background);overflow:hidden}
.hx .wrap{max-width:none;padding-inline:var(--panel-in)}
/* the picture shows its own colours: its ground is the panel's colour (the multiply blend only served the old white page) */
.hx-art picture img{mix-blend-mode:normal}
@media(min-width:1001px){
  .hx{min-height:600px;padding:0}
  .hx-copy{padding-block:72px}
  .hx-art{right:0}
  .hx-fade{background:linear-gradient(90deg,var(--bg),transparent 28%)}
  /* the card sits in the picture as the product windows sit in their frames: 44px from the edges */
  .hx-card{right:44px;bottom:44px}
}
/* between 1001 and 1160px the picture slides 80px right (cropped by the panel) to leave the title its room; the card stays 44px from the edge */
@media(min-width:1001px) and (max-width:1160px){.hx-art{right:-80px}.hx-card{right:calc(80px + 44px)}}
@media(max-width:1000px){
  .hx{padding:48px 0 20px}
  .hx-art{width:calc(100% - 2 * (var(--panel-in) - 14px));max-width:520px}
  .hx-fade{background:linear-gradient(var(--bg),transparent 10%,transparent 92%,var(--bg)),linear-gradient(90deg,var(--bg),transparent 16%,transparent 84%,var(--bg))}
}
@media(max-width:800px){.hx{padding-top:38px}}
@media(max-width:480px){.hx{padding-top:34px}}
/* the quote reads as the hero's caption: closer to it than to the next section */
.hx + .qtop{padding-block:clamp(48px,6vw,72px) clamp(64px,8vw,96px)}

/* Product pages · the hero frame on the same grid and radius, phones included. */
.product-page .pp-shot.rv-stage{border-radius:var(--panel-r)}
@media(max-width:620px){.product-page .pp-shot.rv-stage{width:calc(100% - 2 * var(--gut))}}

/* Live Store · the store stands on a panel like the other product pages' frames, its card inside the panel. */
.live-store-page .ls-wow{width:calc(min(100%, var(--wrap)) - 2 * var(--gut));max-width:none;margin:45px auto 0;padding:64px 0 16px;border-radius:var(--panel-r);background:var(--shopiens-hero-background)}
/* narrower than before, so it stays left of the store's sign and above its left wing */
.live-store-page .ls-card{left:44px;top:44px;width:min(290px,28%)}
.live-store-page .ls-wow .detail{top:44px;right:44px}
/* up to 1100px the card would hide part of the store: it moves above it, inside the panel, as on phones */
@media(max-width:1100px){
  .live-store-page .ls-wow{display:flex;flex-direction:column;padding:var(--panel-in) 0 16px}
  .live-store-page .ls-card{position:static;order:-1;align-self:flex-start;width:auto;max-width:480px;margin:0 var(--panel-in) 8px}
}
@media(max-width:1000px){.live-store-page .ls-wow .detail{margin:12px var(--panel-in) 0}}
@media(max-width:760px){.live-store-page .ls-wow{margin-top:32px}.live-store-page .ls-card{align-self:stretch;max-width:none}}

/* Approved small product illustrations: a soft surface, no visible outline. */
.product-page .great .q6 > article > .ui{border:1px solid transparent;box-shadow:none;background:var(--shopiens-illustration-background);border-radius:var(--shopiens-illustration-radius)}

/* V6 (November 26, 2026) · the Brief, in the site's look.
   Anthony's Brief model (v13) made universal on the demo store: a recap card (one sentence, a short text, numbers
   against the average of the 4 previous weeks), then "What I noticed this week", point by point.
   Colours stay in the site palette: positive sage, negative red, terracotta of text for the week's own bar and icons. */
.bf{position:relative;z-index:1;background:#f7f4ef;border:1px solid #e4e3da;border-radius:15px;box-shadow:0 25px 50px -24px #37332945,0 3px 10px #37332908;overflow:hidden;text-align:left;color:var(--shopiens-ink);font-family:inherit}
.bf p{margin:0}
.bf-bar{display:flex;align-items:center;gap:10px;padding:12px 18px;border-bottom:1px solid #eee8e0}
.bf-logo{height:15px;width:auto}
.bf-who{font-size:13px;color:var(--shopiens-text-secondary)}
.bf-who::before{content:"·";margin-right:8px}
.bf-wk{margin-left:auto;font-size:12.5px;color:var(--shopiens-muted);white-space:nowrap}
.bf-ask{margin-left:auto;background:var(--shopiens-ink);color:#fff;border-radius:99px;padding:8px 14px;font-size:12px;font-weight:500;white-space:nowrap}
.bf-body{padding:16px 22px 22px}
.bf-week{display:flex;align-items:center;gap:8px}
.bf-pill{display:inline-flex;align-items:center;gap:8px;background:#efeae2;border-radius:99px;padding:8px 13px;font-size:13px;font-weight:500;white-space:nowrap}
.bf-pill svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
.bf-arrows{margin-left:auto;display:flex;gap:6px}
.bf-arrows span{width:30px;height:30px;border-radius:8px;background:#fff;display:grid;place-items:center;font-size:15px;color:var(--shopiens-text-secondary)}
.bf-card{background:#fff;border-radius:14px}
.bf-recap{margin-top:14px;overflow:hidden}
.bf-in{padding:20px 22px 18px}
.bf-by{display:flex;flex-wrap:wrap;align-items:center;gap:4px 8px;font-size:12.5px;color:var(--shopiens-muted)}
.bf-by b{font-weight:500;color:var(--shopiens-ink)}
.bf-s{width:20px;height:20px;border-radius:6px;background:var(--shopiens-accent-ink);color:#fff;font-size:11px;font-weight:600;display:grid;place-items:center}
.bf .bf-head{margin-top:12px;font-size:21px;font-weight:500;line-height:1.35;letter-spacing:-.02em;color:var(--shopiens-ink);max-width:46em;text-wrap:pretty}
.bf .bf-par{margin-top:10px;font-size:14px;line-height:1.6;color:var(--shopiens-text-secondary);max-width:62em}
.bf-kpis{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:1px;background:#eee8e0;border-top:1px solid #eee8e0}
.bf-kpi{background:#fff;padding:14px 18px 16px;display:grid;gap:4px;align-content:start}
.bf-kpi .t{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:12px;color:var(--shopiens-muted)}
.bf-kpi .v{font-size:21px;font-weight:500;letter-spacing:-.02em;font-variant-numeric:tabular-nums;color:var(--shopiens-ink)}
.bf-kpi .d{font-size:12px;color:var(--shopiens-muted)}
.bf-kpi .d b{font-weight:500}
.bf .up{color:var(--shopiens-positive)}
.bf .down{color:var(--shopiens-negative)}
.bf-bars{display:flex;align-items:flex-end;gap:2px;height:18px}
.bf-bars i{display:block;width:4px;background:#cfc8bd;border-radius:1px}
.bf-bars i:last-child{background:var(--shopiens-accent-ink)}
.bf .bf-sec{margin:22px 0 10px;font-size:15px;font-weight:500;color:var(--shopiens-ink)}
.bf-row{display:grid;grid-template-columns:24px 96px minmax(0,1fr) 150px 12px;gap:14px;align-items:center;padding:14px 18px}
.bf-row + .bf-row{border-top:1px solid #eee8e0}
.bf-n{width:20px;height:20px;border-radius:50%;background:var(--shopiens-ink);color:#fff;font-size:11px;font-weight:600;display:grid;place-items:center}
.bf-th{display:flex;gap:5px}
.bf-th img{height:56px;width:45px;object-fit:cover;border-radius:7px}
.bf-ic{width:56px;height:56px;border-radius:10px;background:#f8ece6;display:grid;place-items:center}
.bf-ic svg{width:26px;height:26px;fill:#f3d6c9;stroke:var(--shopiens-accent-ink);stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
.bf .bf-m{font-size:11.5px;color:var(--shopiens-muted)}
.bf .bf-ti{margin-top:3px;font-size:15px;font-weight:500;line-height:1.35;letter-spacing:-.01em;color:var(--shopiens-ink)}
.bf .bf-de{margin-top:3px;font-size:13px;line-height:1.5;color:var(--shopiens-text-secondary)}
.bf-de b{font-weight:600;color:var(--shopiens-ink)}
.bf .bf-fig{text-align:right}
.bf-fig b{display:block;font-size:22px;font-weight:500;letter-spacing:-.03em;font-variant-numeric:tabular-nums;color:var(--shopiens-ink)}
.bf-fig span{display:block;margin-top:2px;font-size:11px;line-height:1.35;color:var(--shopiens-muted)}
.bf-chev{font-size:17px;color:#b5aea2}
/* the Analyst page frame holds the Brief like it held the review */
.analyst-page .pp-shot.rv-stage .bf{max-width:1064px;margin-inline:auto}
@media(max-width:900px){
  .bf:not(.bf--mini) .bf-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}
  .bf:not(.bf--mini) .bf-kpi.k-aov,.bf:not(.bf--mini) .bf-kpi.k-ses{display:none}
  .bf:not(.bf--mini) .bf-row{grid-template-columns:24px 82px minmax(0,1fr) 116px}
  .bf:not(.bf--mini) .bf-chev{display:none}
  .bf:not(.bf--mini) .bf-th img{height:50px;width:39px}
  .bf:not(.bf--mini) .bf-ic{width:50px;height:50px}
}
@media(max-width:620px){
  .bf:not(.bf--mini) .bf-bar{padding:10px 12px}
  .bf:not(.bf--mini) .bf-ask{display:none}
  .bf:not(.bf--mini) .bf-body{padding:12px 12px 14px}
  .bf:not(.bf--mini) .bf-arrows{display:none}
  .bf:not(.bf--mini) .bf-pill{font-size:11.5px;padding:7px 11px}
  .bf:not(.bf--mini) .bf-in{padding:14px}
  .bf:not(.bf--mini) .bf-by,.bf:not(.bf--mini) .bf-par,.bf:not(.bf--mini) .bf-de{display:none}
  .bf:not(.bf--mini) .bf-head{margin-top:0;font-size:16.5px}
  .bf:not(.bf--mini) .bf-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}
  .bf:not(.bf--mini) .bf-kpi.k-ses{display:grid}
  .bf:not(.bf--mini) .bf-kpi{padding:10px 14px}
  .bf:not(.bf--mini) .bf-kpi .v{font-size:17px}
  .bf:not(.bf--mini) .bf-bars{display:none}
  .bf:not(.bf--mini) .bf-sec{margin:14px 0 8px;font-size:13px}
  .bf:not(.bf--mini) .bf-row{grid-template-columns:20px minmax(0,1fr);gap:8px 10px;padding:12px}
  .bf:not(.bf--mini) .bf-row > :not(.bf-n){grid-column:2}
  .bf:not(.bf--mini) .bf-fig{text-align:left;display:flex;align-items:baseline;gap:8px}
  .bf:not(.bf--mini) .bf-fig b{font-size:18px}
  .bf:not(.bf--mini) .bf-fig span br{display:none}
  .bf:not(.bf--mini) .bf-th img{height:46px;width:37px}
  .bf:not(.bf--mini) .bf-ic{width:46px;height:46px}
  .bf:not(.bf--mini) .bf-ic svg{width:22px;height:22px}
}
/* home: the compact Brief fills the Analyst card's window */
.pc3 .sf.doc > .bf--mini{flex:1 1 auto;border:0;border-radius:0;box-shadow:none}
.bf--mini .bf-body{padding:14px 16px}
.bf--mini .bf-in{padding:16px 18px}
.bf--mini .bf-head{margin-top:0;font-size:19px}
.bf--mini .bf-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}
.bf--mini .bf-kpi{padding:11px 16px 13px}
.bf--mini .bf-kpi .v{font-size:19px}
.bf--mini .bf-sec{margin:16px 0 8px;font-size:14px}
.bf--mini .bf-row{grid-template-columns:20px 44px minmax(0,1fr) auto;gap:12px;padding:10px 14px}
.bf--mini .bf-th img{height:48px;width:38px}
.bf--mini .bf-ic{width:44px;height:44px}
.bf--mini .bf-ic svg{width:22px;height:22px}
.bf--mini .bf-ti{margin:0;font-size:14px}
.bf--mini .bf-fig b{font-size:19px}

/* V6 · Live Store on phones: the store opens the page, full width and about twice as large; swipe to walk it.
   The live count rides on the store; Shopiens' card comes under the title (moved by the page's script). */
.ls-chip{display:none;align-items:center;gap:7px;position:absolute;z-index:6;left:var(--gut);top:16px;background:#fff;border-radius:99px;padding:8px 13px;font-size:12px;color:var(--shopiens-muted);box-shadow:0 8px 20px -12px rgba(40,30,20,.5)}
.ls-chip b{font-size:15px;font-weight:600;color:var(--shopiens-ink);font-variant-numeric:tabular-nums}
.ls-chip i{width:7px;height:7px;border-radius:50%;background:#7bc043;box-shadow:0 0 0 3px #e3f4d4}
.ls-swipe{display:none;position:absolute;z-index:6;left:50%;bottom:18px;transform:translateX(-50%);background:rgba(39,35,30,.86);color:#fff;border-radius:99px;padding:9px 15px;font-size:12px;white-space:nowrap;pointer-events:none;transition:opacity .4s ease}
.ls-swipe.gone{opacity:0}
@media(max-width:760px){
  .live-store-page .pp-hero{display:flex;flex-direction:column;padding-top:0}
  .live-store-page .pp-hero > .wrap{order:1;padding-top:30px}
  .live-store-page .ls-wow{order:0;width:100%;max-width:none;margin:0;padding:0;border-radius:0;background:var(--shopiens-hero-background)}
  .live-store-page .ls-view{margin-top:0}
  .live-store-page .ls-view .stage{height:480px;overflow-y:hidden}
  .live-store-page .pp-hero > .ls-card{order:2;position:static;width:auto;max-width:none;align-self:stretch;margin:28px var(--gut) 0}
  .live-store-page .ls-chip{display:inline-flex}
  .live-store-page .ls-swipe{display:block}
}
@media(max-width:600px){
  #live-store .pv{position:relative;overflow:hidden;background:var(--shopiens-hero-background)}
  #live-store .sf.lsw{position:absolute;inset:0!important;width:100%!important;height:100%!important;transform:none!important;margin:0!important;border:0;border-radius:0;box-shadow:none;background:transparent}
  #live-store .sf.lsw .vg-h{display:none}
  #live-store .sf.lsw .ls-img{position:absolute;inset:0;height:auto}
  #live-store .ls-chip{display:inline-flex;left:14px;top:14px}
}
