/* Styles of page-lorries.js: stop 3 "Indent" (Dispatch Indent, Brand Indent, Depot-wise, Pending). The Trucks page of stop 4
   wears these lists and panels too; what is its own (r2-…) is in page-road.css.
   Styles made at run time are forbidden by the Content-Security-Policy, so every rule lives here. The lists wear the
   Godown pages' styles (gs-… in page-godown.css); what this stop adds starts with gx-, its second design with g3-. */
.gx-g{display:grid;column-gap:16px;align-items:center}
.gx-line{min-height:38px;padding:0 8px;border-radius:9px}
.gx-c{min-width:0;font-size:14px;line-height:1.25;color:var(--ink-2);font-variant-numeric:tabular-nums}
.gx-c.r{text-align:right}
.gx-c.is-title{font:600 14.5px/1.25 var(--body);color:var(--ink)}
.gx-c.is-id{display:flex;align-items:center;gap:8px;font:700 14px/1.2 var(--display);letter-spacing:-.01em;color:var(--ink);white-space:nowrap}
.gx-c.is-main{font:700 15px/1.15 var(--display);letter-spacing:-.01em;color:var(--ink);white-space:nowrap}
.gx-c .badge{height:22px}
.gx-c .pill+.pill{margin-left:5px}
.gx-chev{color:var(--ink-3);transition:transform .25s cubic-bezier(.2,.7,.2,1)}
.is-open>.gx-line .gx-chev{transform:rotate(180deg)}
.gx-pw,.gx-brk,.gx-c.is-count .gx-chev{display:none}
.gx-c.is-chev{display:flex;justify-content:flex-end}
.gx-subs{padding:0 0 6px}
.gx-subs[hidden]{display:none}
.gx-sub{min-height:30px;padding:0 8px;border-radius:8px;font-size:13.5px;line-height:1.25;color:var(--ink-2);font-variant-numeric:tabular-nums}
.gx-sub .r{text-align:right}
.gx-n{display:flex;flex-wrap:wrap;align-items:center;gap:4px 10px;min-width:0;color:var(--ink)}
.gx-n small{font-size:13px;color:var(--ink-3)}
.gx-sub.has-kids{cursor:pointer}
.gx-sub.has-kids:hover{background:rgba(23,33,46,.05)}
.gx-sub.has-kids .gx-n b{font:700 13.5px/1.2 var(--display)}
.gx-sub.is-kid .gx-n{padding-left:18px}
.gx-sub.is-open .gx-chev{transform:rotate(180deg)}
.gx-tot{margin-top:6px;padding:11px 8px 4px;border-top:2px solid var(--ink);border-radius:0;min-height:0}
.gx-tot .gx-c{font-weight:600;color:var(--ink)}
.gx-tot .gx-c.is-title{font:800 17px/1 var(--display);letter-spacing:-.025em}
.gx-tot[hidden],.gx-hd[hidden]{display:none}
.gx-plate{display:inline-flex;align-items:center;height:24px;padding:0 7px;border-radius:6px;background:#fff;box-shadow:inset 0 0 0 1.5px var(--ink);font:700 13px/1 var(--display);letter-spacing:.03em;color:var(--ink);white-space:nowrap}
.gx-tools{display:flex;flex-wrap:wrap;align-items:center;gap:8px}
.gx-figs{display:flex;padding:16px 4px 18px}
.gx-figs>*{flex:1 1 0;min-width:0;padding:0 18px;border-left:1px solid var(--hair)}
.gx-figs>*:first-child{border-left:0}
.gx-tick{flex:none;display:grid;place-items:center;width:22px;height:22px;border-radius:7px;background:#fff;box-shadow:inset 0 0 0 1.5px rgba(23,33,46,.35);color:transparent}
.gx-tick svg{width:14px;height:14px}
.is-on>.gx-line .gx-tick{background:var(--ink);box-shadow:none;color:#fff}
.gx-find{display:flex;align-items:center;gap:8px;height:38px;min-width:230px;padding:0 12px;border-radius:13px;background:#fff;box-shadow:inset 0 0 0 1.5px rgba(23,33,46,.18)}
.gx-find input{flex:1;min-width:0;border:0;outline:0;background:transparent;font:500 14px/1 var(--body);color:var(--ink)}
.gx-find:focus-within{box-shadow:inset 0 0 0 2px var(--ink)}
.gx-cart{position:sticky;bottom:14px;z-index:5;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px 16px;margin:12px 4px 2px;padding:10px 12px 10px 18px;border-radius:18px;background:var(--ink);color:#fff;box-shadow:0 18px 30px -18px rgba(15,23,34,.8)}
.gx-cart[hidden]{display:none}
.gx-cart b{font:700 15px/1.2 var(--display)}
.gx-cart .btn.ghost{color:#fff;box-shadow:inset 0 0 0 1.5px rgba(255,255,255,.4);background:transparent}
.gx-cart>div{display:flex;gap:8px}
.gx-form{display:flex;flex-direction:column;gap:14px;padding:4px 2px 2px}
.gx-form label{display:flex;flex-direction:column;gap:6px;font:600 13px/1.2 var(--body);color:var(--ink-2)}
.gx-form input,.gx-form select{height:44px;padding:0 12px;border:0;border-radius:12px;background:#fff;box-shadow:inset 0 0 0 1.5px rgba(23,33,46,.22);font:600 15px/1 var(--body);color:var(--ink)}
.gx-form input:focus,.gx-form select:focus{outline:0;box-shadow:inset 0 0 0 2px var(--ink)}
.gx-form p{font-size:13px;line-height:1.3;color:var(--ink-3)}
.gx-acts{display:flex;flex-wrap:wrap;gap:8px;padding:6px 8px 8px}
/* ---------- the pictures: bars in the lists, splits and charts on top ---------- */
.gx-c.is-bar{min-width:0}
.gx-bar{position:relative;display:block;width:100%;height:14px}
.gx-segs{position:absolute;left:0;top:0;bottom:0;display:flex;gap:2px;width:0;border-radius:7px 4px 4px 7px;overflow:hidden;transition:width 1s cubic-bezier(.2,.7,.2,1)}
.gx-segs i{flex:1 1 0;min-width:0;transition:flex-grow 1s cubic-bezier(.2,.7,.2,1)}
.gx-hero{display:flex;align-items:stretch;padding:18px 4px 20px}
.gx-hero>*{flex:1 1 0;min-width:0;padding:0 18px;border-left:1px solid var(--hair)}
.gx-hero>*:first-child{border-left:0}
.gx-hero>.gx-mix{flex-grow:2.3}
.gx-mix>.stat-l{margin-bottom:8px}
.gx-mixs{display:flex;flex-wrap:wrap;gap:8px 26px}
.gx-mix1 span{display:flex;align-items:center;gap:6px;font-size:13px;line-height:1.2;color:var(--ink-2);white-space:nowrap}
.gx-mix1 span i{flex:none;width:10px;height:10px;border-radius:3px}
.gx-mix1 em{font-style:normal;color:var(--ink-3)}
.gx-mix1 b{display:block;margin-top:4px;font:800 24px/1 var(--display);letter-spacing:-.03em;font-variant-numeric:tabular-nums;white-space:nowrap}
.gx-split{display:flex;gap:2px;height:14px;margin-top:10px}
.gx-split i{flex:1 1 0;min-width:4px;border-radius:5px;transition:flex-grow 1s cubic-bezier(.2,.7,.2,1)}
.gx-split i[hidden],.gx-mix1[hidden]{display:none}
/* bottle sizes: one blue, light to dark (the same three as on Brand-wise) · urgency: late, today, in 1 to 3 days, later */
.gx-z1{background:#5598e7}.gx-z2{background:#256abf}.gx-z3{background:#0d366b}
.gx-u0{background:#8e1f1f}.gx-u1{background:#d03b3b}.gx-u2{background:#d98a00}.gx-u3{background:#2a78d6}
.gx-ld{background:var(--flow)}
.gx-gp{background:repeating-linear-gradient(115deg,#d98a00 0 7px,#eda100 7px 14px);background-size:200% 100%;animation:gx-move 2.4s linear infinite}
@keyframes gx-move{to{background-position:-28px 0}}
@media (prefers-reduced-motion:reduce){.gx-gp{animation:none}}

/* cases to ship, a column a ship-by day; a column is also the switch for the list under it */

@container gsl (max-width:900px){
  .gx-hd{display:none}
  .gx-c.is-bar{order:2;flex:1 1 100%;align-items:stretch}
  .gx-c.is-bar::before{content:none}
  .gx-line{display:flex;flex-wrap:wrap;align-items:flex-start;gap:8px 14px;min-height:0;padding:0}
  .gx-c{order:3;flex:1 1 27%;min-width:max-content;max-width:100%;display:flex;flex-direction:column;align-items:flex-start;gap:1px;color:var(--ink);text-align:left}
  .gx-c.r{text-align:left}
  .gx-c::before{content:attr(data-l);font:400 13px/1.2 var(--body);letter-spacing:0;color:var(--ink-3)}
  .gx-c.is-title{order:0;flex:1 1 50%;align-self:center;font-size:16px}
  .gx-c.is-title::before,.gx-c.is-main::before,.gx-c.is-count::before,.gx-c.is-tick::before,.gx-c.is-chev::before{content:none}
  .gx-c.is-chev{position:absolute;right:12px;top:13px}
  .gx-line.has-chev .gx-c.is-main{margin-right:24px}
  .gx-c.is-main{order:1;flex:0 0 auto;flex-direction:row;align-items:baseline;align-self:center;margin-left:auto;font-size:17px}
  .gx-c.is-main::after{content:attr(data-u);margin-left:5px;font:400 13px/1 var(--body);letter-spacing:0;color:var(--ink-3)}
  .gx-brk{display:block;order:2;flex:0 0 100%;height:0}
  .gx-c.is-id{flex-direction:column;align-items:flex-start;gap:1px;font:400 14px/1.25 var(--body);letter-spacing:0;white-space:normal}
  .gx-c.is-id .gx-chev{display:none}
  .gx-c.is-count{order:9;flex:1 1 100%;flex-direction:row;align-items:center;gap:5px;font-size:13px;color:var(--ink-2)}
  .gx-pw{display:inline}
  .gx-c.is-count .gx-chev{display:inline-flex}
  .gx-c.is-tick{order:0;flex:0 0 auto;align-self:center}
  .gx-c:empty{display:none}
  .gx-subs{margin-top:10px;padding:8px 0 0;border-top:1px solid var(--hair)}
  .gx-sub{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:32px;padding:0}
  .gx-sub>span:empty{display:none}
  .gx-sub.is-kid .gx-n{padding-left:12px}
  .gx-tot{display:flex;flex-wrap:wrap;gap:8px 14px;padding:12px 12px 6px}
  .gx-acts{padding:10px 0 0}
}
@media (max-width:1180px){
  .gx-hero{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));row-gap:18px}
  .gx-hero>.gx-mix{grid-column:1/-1;order:5;border-left:0}
  .gx-figs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));row-gap:16px}
  .gx-figs>*:nth-child(3n+1){border-left:0}
}
@media (max-width:760px){
  .gx-figs{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 0;padding:16px 14px 18px}
  .gx-figs>*{padding:0 0 0 14px}
  .gx-figs>*:nth-child(3n+1){border-left:1px solid var(--hair)}
  .gx-figs>*:nth-child(2n+1){border-left:0;padding-left:0}
  .gx-hero{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 0;padding:16px 14px 18px}
  .gx-hero>*{padding:0 0 0 14px}
  .gx-hero>*:nth-child(1){grid-column:1/-1;padding-left:0}
  .gx-hero>.gx-mix{padding-left:0}
  .gx-mix1 b{font-size:22px}
  .gx-find{flex:1;min-width:0;height:42px}
  .gx-tools{width:100%}
  .gx-cart{bottom:calc(86px + env(safe-area-inset-bottom))}
}

/* =====================================================================================================================
   Added for the real data (not in the approved design's block above)
   ===================================================================================================================== */
/* an indent without a ship-by date is its own part of "By ship-by day": it is not "later" */
.gx-un{background:#8d96a3}
/* more than three bottle sizes among the pending indents: the same blue, five steps from light to dark */
.gx-y1{background:#9cc3f3}.gx-y2{background:#5598e7}.gx-y3{background:#256abf}.gx-y4{background:#0d366b}.gx-y5{background:#06203f}
/* the depot chooser of the Trucks queue (the same look as the choosers of the Lines pages) */
.gx-pick{display:inline-flex;align-items:center;gap:8px;font-size:13px;color:var(--ink-2)}
.gx-pick select{height:36px;max-width:100%;padding:0 34px 0 12px;border:0;border-radius:11px;font-weight:600;font-size:13px;color:var(--ink);cursor:pointer;-webkit-appearance:none;appearance:none;box-shadow:inset 0 0 0 1.5px rgba(23,33,46,.18);
  background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='m1.5 1.5 4.500 4.500 4.500-4.500' fill='none' stroke='%2317212e' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 11px center}
.gx-pick[hidden]{display:none}
/* loading, failed and no-access blocks inside the cards of this stop keep the cards' own padding */
.gs-top>.gx-wait{padding:16px 22px 18px}
.gs-list>.gx-wait{padding:6px 6px 10px}
.gx-wait[hidden],.gx-body[hidden]{display:none}

/* real depot names are longer than the design's: the name and its count go on two lines rather than being cut */

/* On a phone the lines under an opened row: real names and real numbers are longer than the design's, so the figures at
   the right never break in two, the lines get air, and a line with three or more figures puts them under its name,
   each with its label (as the row above does). */
@container gsl (max-width:900px){
  .gx-c.is-title{min-width:0;overflow-wrap:anywhere}           /* a long brand or depot name goes on a second line instead of pushing the card wider than the phone */
  .gx-sub{align-items:flex-start;min-height:0;padding:6px 0}
  .gx-sub>span{flex:none;white-space:nowrap}
  .gx-sub>.gx-n{flex:1 1 0;white-space:normal}
  .gx-sub.is-wide{flex-wrap:wrap;justify-content:flex-start;gap:5px 18px}
  .gx-sub.is-wide>.gx-n{flex:1 1 100%}
  .gx-sub.is-wide>span:not(.gx-n){display:flex;flex-direction:column;gap:1px;text-align:left;color:var(--ink)}
  .gx-sub.is-wide>span:not(.gx-n)::before{content:attr(data-l);font:400 12.5px/1.2 var(--body);color:var(--ink-3)}
  .gx-sub.is-wide>span:empty{display:none}
}
@media (max-width:760px){
  .gx-pick{display:flex;width:100%}
  .gx-pick select{height:42px;flex:1;min-width:0;font-size:14px}
  .gs-top>.gx-wait{padding:14px 14px 16px}
}

/* =====================================================================================================================
   The second design of the Indent stop (2 Dec 2026). Class names start with g3-; the rows of the left panels are the
   Register's (g2-part in page-godown.css). The rules above stay for the Trucks page, the On the road pages (through
   Flow.ix) and the list pieces that were taken over.
   ===================================================================================================================== */
.g3-gp{background:repeating-linear-gradient(115deg,#d98a00 0 6px,#eda100 6px 12px)}
.g3-bay{background:var(--navy)}
/* the left panel */
.g3-rail{min-width:0;padding:18px 22px 14px;background:var(--b-lorries)}
.g3-rail .g2-big{font-size:46px}
.g3-rail .g2-rg-ph .g2-note{margin:0;font-size:14px}
.g3-rail>.gx-wait{padding:4px 0 8px}
.g3-cap{margin-top:18px}
.g3-rail .g2-parts{margin-top:8px}
.g3-foot{margin-top:10px;padding-top:10px;border-top:1px solid rgba(23,33,46,.1)}
.g3-foot:has(>.btn[hidden]){display:none}
.g3-foot>.btn{width:100%}
.g3-foot>.g2-part{width:calc(100% + 20px);margin:0 -10px}
.g3-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:14px;align-items:start}
.g3-pair .g2-big{font-size:38px}
.g2-part.is-plain{cursor:default}
.g2-part.is-plain:hover{background:transparent}
.g2-part>.g3-noic{grid-area:ic}
.g2-part[disabled]{cursor:default;opacity:.55}
.g2-part[disabled]:hover{background:transparent}
.g2-part[disabled]>.ic{visibility:hidden}
/* two panels side by side */
.g3-two{display:grid;grid-template-columns:minmax(300px,372px) minmax(0,1fr);gap:16px;align-items:start}
.g3-side{position:sticky;top:84px;border-radius:24px;box-shadow:0 0 0 1px var(--hair),0 22px 34px -28px rgba(23,33,46,.5);overflow:hidden}
.g3-side.is-tall{position:relative;top:auto}
/* Dispatch Indent: the card on top */
.g3-hero{display:grid;grid-template-columns:minmax(300px,.4fr) minmax(0,1fr);padding:0;overflow:hidden}
.g3-hero.is-bare{grid-template-columns:minmax(0,1fr)}
.g3-hero>.g3-rail{padding-bottom:12px}
.g3-charts{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:10px 32px;padding:18px 24px 10px;min-width:0}
.g3-charts.is-one{grid-template-columns:minmax(0,1fr)}
.g3-charts[hidden],.g3-ch[hidden]{display:none}
.g3-ch{min-width:0}
.g3-ch>.stat-l{margin-bottom:6px}
.g3-ch .chart-host{--chart-h:186px}
.g3-ch .gx-body>.chart-host>.legend{margin-top:0}
.g3-ch .hb-l{white-space:normal;overflow:visible;line-height:1.2;padding:3px 0}
.g3-ch .hb-l i{display:inline-block;white-space:nowrap}
/* the lists: a calmer row, an opened row is a raised card */
.g3-list{container:g3l/inline-size;padding:16px 14px 10px;min-width:0}
.g3-list.g3-wide{container:g3w/inline-size}
.g3-list .gs-head2{padding:0 8px}
.g3-list .gx-hd{padding:0 10px 6px}
.g3-list .gs-b{padding:0}
.g3-list .gx-line{min-height:44px;padding:0 10px;border-radius:10px}
.g3-list .gs-day:hover{background:transparent}
.g3-list .gs-day:hover>.gx-line{background:rgba(42,120,214,.07)}
.g3-list .gs-b.is-open{z-index:1;margin:5px 0;border-radius:16px;background:var(--card);box-shadow:0 0 0 1px var(--hair),0 18px 30px -26px rgba(23,33,46,.55)}
.g3-list .gs-b.is-open::before,.g3-list .gs-b.is-open+.gs-b::before{display:none}
.g3-list .gx-subs{padding:0 2px 6px}
.g3-list .gx-sub{min-height:34px;padding:0 8px;border-top:1px solid var(--hair);border-radius:0}
.g3-list .gx-tot{padding:13px 10px 6px}
.g3-list>.gx-wait{padding:6px 8px 10px}
.g3-thin .gx-bar{height:8px;border-radius:4px;background:rgba(23,33,46,.06)}
.g3-thin .gx-segs{border-radius:4px}
.g3-thin .gx-segs i{min-width:3px}
@container g3l (max-width:720px){
  .g3-list .gs-hd{display:none}
  .g3-list .gs-b{padding:13px 4px}
  .g3-list .gs-b.is-open{padding:13px 12px}
  .g3-list .gx-line{display:flex;flex-wrap:wrap;align-items:flex-start;gap:8px 14px;min-height:0;padding:0}
  .g3-list .gs-day:hover>.gx-line{background:transparent}
  .g3-list .gx-c{order:3;flex:1 1 27%;min-width:max-content;max-width:100%;display:flex;flex-direction:column;align-items:flex-start;gap:1px;color:var(--ink);text-align:left}
  .g3-list .gx-c::before{content:attr(data-l);font:400 13px/1.2 var(--body);letter-spacing:0;color:var(--ink-3)}
  .g3-list .gx-c.is-title{order:0;flex:1 1 50%;min-width:0;align-self:center;font-size:16px;overflow-wrap:anywhere}
  .g3-list .gx-c.is-title::before,.g3-list .gx-c.is-main::before,.g3-list .gx-c.is-count::before,.g3-list .gx-c.is-chev::before,.g3-list .gx-c.is-bar::before{content:none}
  .g3-list .gx-c.is-main{order:1;flex:0 0 auto;flex-direction:row;align-items:baseline;align-self:center;margin-left:auto;margin-right:26px;font-size:17px}
  .g3-list .gx-c.is-main::after{content:attr(data-u);margin-left:5px;font:400 13px/1 var(--body);letter-spacing:0;color:var(--ink-3)}
  .g3-list .gx-c.is-chev{position:absolute;right:4px;top:15px;flex:none;min-width:0}
  .g3-list .gs-b.is-open .gx-c.is-chev{right:12px}
  .g3-list .gx-brk{display:block;order:2;flex:0 0 100%;height:0}
  .g3-list .gx-c.is-bar{order:2;flex:1 1 100%;min-width:0;align-items:stretch}
  .g3-list .gx-c.is-count{order:9;flex:1 1 100%;flex-direction:row;align-items:center;gap:5px;font-size:13px;color:var(--ink-2)}
  .g3-list .gx-pw{display:inline}
  .g3-list .gx-c:empty{display:none}
  .g3-list .gx-subs{margin-top:10px;padding:6px 0 0;border-top:1px solid var(--hair)}
  .g3-list .gx-sub{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;min-height:0;padding:6px 0;border-top:0}
  .g3-list .gx-sub>span{flex:none;white-space:nowrap}
  .g3-list .gx-sub>span:empty{display:none}
  .g3-list .gx-sub>.gx-n{flex:1 1 0;white-space:normal}
  .g3-list .gx-sub.is-kid .gx-n{padding-left:12px}
  .g3-list .gx-sub.is-wide{flex-wrap:wrap;justify-content:flex-start;gap:5px 18px}
  .g3-list .gx-sub.is-wide>.gx-n{flex:1 1 100%}
  .g3-list .gx-sub.is-wide>span:not(.gx-n){display:flex;flex-direction:column;gap:1px;text-align:left;color:var(--ink)}
  .g3-list .gx-sub.is-wide>span:not(.gx-n)::before{content:attr(data-l);font:400 12.5px/1.2 var(--body);color:var(--ink-3)}
  .g3-list .gx-tot{display:flex;flex-wrap:wrap;gap:8px 14px;padding:12px 4px 6px}
}
@container g3w (max-width:1000px){
  .g3-list .gs-hd{display:none}
  .g3-list .gs-b{padding:13px 4px}
  .g3-list .gs-b.is-open{padding:13px 12px}
  .g3-list .gx-line{display:flex;flex-wrap:wrap;align-items:flex-start;gap:8px 14px;min-height:0;padding:0}
  .g3-list .gs-day:hover>.gx-line{background:transparent}
  .g3-list .gx-c{order:3;flex:1 1 27%;min-width:max-content;max-width:100%;display:flex;flex-direction:column;align-items:flex-start;gap:1px;color:var(--ink);text-align:left}
  .g3-list .gx-c::before{content:attr(data-l);font:400 13px/1.2 var(--body);letter-spacing:0;color:var(--ink-3)}
  .g3-list .gx-c.is-title{order:0;flex:1 1 50%;min-width:0;align-self:center;font-size:16px;overflow-wrap:anywhere}
  .g3-list .gx-c.is-title::before,.g3-list .gx-c.is-main::before,.g3-list .gx-c.is-count::before,.g3-list .gx-c.is-chev::before,.g3-list .gx-c.is-bar::before{content:none}
  .g3-list .gx-c.is-main{order:1;flex:0 0 auto;flex-direction:row;align-items:baseline;align-self:center;margin-left:auto;margin-right:26px;font-size:17px}
  .g3-list .gx-c.is-main::after{content:attr(data-u);margin-left:5px;font:400 13px/1 var(--body);letter-spacing:0;color:var(--ink-3)}
  .g3-list .gx-c.is-chev{position:absolute;right:4px;top:15px;flex:none;min-width:0}
  .g3-list .gs-b.is-open .gx-c.is-chev{right:12px}
  .g3-list .gx-brk{display:block;order:2;flex:0 0 100%;height:0}
  .g3-list .gx-c.is-bar{order:2;flex:1 1 100%;min-width:0;align-items:stretch}
  .g3-list .gx-c.is-count{order:9;flex:1 1 100%;flex-direction:row;align-items:center;gap:5px;font-size:13px;color:var(--ink-2)}
  .g3-list .gx-pw{display:inline}
  .g3-list .gx-c:empty{display:none}
  .g3-list .gx-subs{margin-top:10px;padding:6px 0 0;border-top:1px solid var(--hair)}
  .g3-list .gx-sub{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;min-height:0;padding:6px 0;border-top:0}
  .g3-list .gx-sub>span{flex:none;white-space:nowrap}
  .g3-list .gx-sub>span:empty{display:none}
  .g3-list .gx-sub>.gx-n{flex:1 1 0;white-space:normal}
  .g3-list .gx-sub.is-kid .gx-n{padding-left:12px}
  .g3-list .gx-sub.is-wide{flex-wrap:wrap;justify-content:flex-start;gap:5px 18px}
  .g3-list .gx-sub.is-wide>.gx-n{flex:1 1 100%}
  .g3-list .gx-sub.is-wide>span:not(.gx-n){display:flex;flex-direction:column;gap:1px;text-align:left;color:var(--ink)}
  .g3-list .gx-sub.is-wide>span:not(.gx-n)::before{content:attr(data-l);font:400 12.5px/1.2 var(--body);color:var(--ink-3)}
  .g3-list .gx-tot{display:flex;flex-wrap:wrap;gap:8px 14px;padding:12px 4px 6px}
}

@media (max-width:1180px){
  .g3-hero{grid-template-columns:minmax(0,1fr)}
  .g3-hero .g2-parts{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
}
@media (max-width:1000px){
  .g3-two{grid-template-columns:minmax(0,1fr)}
  .g3-side{position:relative;top:auto}
}
@media (max-width:760px){
  .g3-rail{padding:16px 16px 12px}
  .g3-rail .g2-big{font-size:40px}
  .g3-pair .g2-big{font-size:34px}
  .g3-rail .g2-parts{margin:8px -8px 0}
  .g3-foot>.g2-part{width:calc(100% + 16px);margin:0 -8px}
  .g3-hero .g2-parts{grid-template-columns:minmax(0,1fr);gap:4px}
  .g3-charts{grid-template-columns:minmax(0,1fr);padding:16px 16px 8px}
}

.g3-list .gx-tot{border-radius:0}
/* the rows of the three side panels: the name, its small line and the figure on ONE line, the bar under it */
.g3-slim .g2-part{grid-template-columns:auto minmax(0,1fr) auto 16px;grid-template-areas:"nm sm v ic" "tr tr tr tr";padding:9px 10px 10px 12px}
.g3-slim .g2-part>small{margin:0;padding-left:0;font-size:13px}
.g3-slim .g2-part>b{font-size:20px}
.g3-slim .g2-ptr{margin-top:8px}
.g3-slim .g2-part.is-plain{grid-template-columns:auto minmax(0,1fr) auto 0}
/* an opened row: the product's name gets the room of two columns (the second is always empty under an opened row) */
.g3-list .gx-sub>.gx-n{grid-column:1/3}
.g3-list .gx-sub>.gx-n+span{display:none}
