/* Brewie design system showcase. Scoped under .finestro-case so the case styles do not override it. */
.finestro-case .bw-ds :where(p,b,strong,span,em,small,li,code,i){color:inherit;font-family:inherit;letter-spacing:normal;text-transform:none;margin:0}
.finestro-case .bw-ds{font-family:var(--font-ui);line-height:1.4}
.finestro-case .bw-ds{--bw-bg:#141314;--bw-card:#1B1A1A;--bw-sec:#242324;--bw-muted:#343333;--bw-border:#3D3C3E;--bw-fg:#F2F1F2;--bw-dim:#A3A1A3;--bw-coffee:#EB8E4B;--bw-coffee-dark:#5A3624;--bw-ok:#9ED7AD;--bw-err:#CD7573;--bw-side:#100F10;
 margin-top:var(--gap-visual,40px);padding:32px;border-radius:var(--radius-card,24px);background:var(--bw-bg);color:var(--bw-fg);display:grid;gap:16px}
.finestro-case .bw-ds *{box-sizing:border-box}
.finestro-case .bw-card{background:var(--bw-card);border:1px solid #2A292A;border-radius:16px;padding:24px;min-width:0}
.finestro-case .bw-card>.bw-k{margin:0 0 4px;font-size:13px;letter-spacing:.04em;color:var(--bw-coffee)}
.finestro-case .bw-card>.bw-note{margin:0 0 20px;font-size:14px;line-height:1.5;color:var(--bw-dim)}
.finestro-case .bw-row{display:grid;gap:16px;grid-template-columns:repeat(2,minmax(0,1fr))}
.finestro-case .bw-swatches{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px;list-style:none;margin:0;padding:0}
.finestro-case .bw-swatches li{border-radius:12px;overflow:hidden;border:1px solid #2A292A;background:var(--bw-card)}
.finestro-case .bw-swatches i{display:block;height:64px;background:var(--c)}
.finestro-case .bw-swatches b{display:block;padding:10px 12px 0;font-size:14px;font-weight:600}
.finestro-case .bw-swatches code{display:block;padding:2px 12px 12px;font:12px/1.4 ui-monospace,SFMono-Regular,Menlo,monospace;color:var(--bw-dim)}
.finestro-case .bw-type{list-style:none;margin:0;padding:0}
.finestro-case .bw-type li{display:flex;align-items:baseline;justify-content:space-between;gap:16px;padding:12px 0;border-top:1px solid #2A292A}
.finestro-case .bw-type li:first-child{border-top:0;padding-top:0}
.finestro-case .bw-type span{min-width:0;line-height:1.2}
.finestro-case .bw-type em{flex:none;text-align:right;font:12px/1.4 ui-monospace,SFMono-Regular,Menlo,monospace;font-style:normal;color:var(--bw-dim)}
.finestro-case .bw-t1{font-size:30px;font-weight:700;letter-spacing:-.02em}
.finestro-case .bw-t2{font-size:22px;font-weight:600}
.finestro-case .bw-t3{font-size:18px;font-weight:600}
.finestro-case .bw-t4{font-size:16px}
.finestro-case .bw-t5{font-size:14px;color:var(--bw-dim)}
.finestro-case .bw-t6{font-size:12px;letter-spacing:.08em;text-transform:uppercase;color:var(--bw-dim)}
.finestro-case .bw-space{list-style:none;margin:0;padding:0;display:grid;gap:10px}
.finestro-case .bw-space li{display:grid;grid-template-columns:44px minmax(0,1fr);align-items:center;font:12px ui-monospace,SFMono-Regular,Menlo,monospace;color:var(--bw-dim)}
.finestro-case .bw-space i{display:block;height:10px;width:calc(var(--s) * 4px);max-width:100%;border-radius:4px;background:#B06C3C}
.finestro-case .bw-btns{display:flex;flex-wrap:wrap;gap:10px;align-items:center}
.finestro-case .bw-btn{display:inline-flex;align-items:center;gap:8px;height:40px;padding:0 16px;border-radius:8px;font-size:14px;font-weight:600;line-height:1;border:1px solid transparent;white-space:nowrap}
.finestro-case .bw-btn svg{width:16px;height:16px}
.finestro-case .bw-btn--coffee{background:var(--bw-coffee);color:#1B120C}
.finestro-case .bw-btn--primary{background:var(--bw-fg);color:#141314}
.finestro-case .bw-btn--sec{background:var(--bw-sec);color:var(--bw-fg)}
.finestro-case .bw-btn--outline{background:#111;border-color:#2A292A;color:var(--bw-fg)}
.finestro-case .bw-btn--ghost{background:none;color:var(--bw-fg)}
.finestro-case .bw-btn--danger{background:var(--bw-err);color:#2A1414}
.finestro-case .bw-btn--off{background:#7C7B7C;color:#3A393A}
.finestro-case .bw-badges{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:20px}
.finestro-case .bw-badge{display:inline-flex;align-items:center;gap:6px;height:28px;padding:0 12px;border-radius:999px;font-size:13px;font-weight:600}
.finestro-case .bw-badge::before{content:"";width:8px;height:8px;border-radius:50%;background:currentColor}
.finestro-case .bw-badge--ok{background:#2B3A30;color:var(--bw-ok)}
.finestro-case .bw-badge--warn{background:#392B21;color:var(--bw-coffee)}
.finestro-case .bw-badge--err{background:#3A2626;color:var(--bw-err)}
.finestro-case .bw-badge--plain{background:var(--bw-sec);color:var(--bw-fg)}
.finestro-case .bw-badge--plain::before,.finestro-case .bw-badge--line::before{display:none}
.finestro-case .bw-badge--line{border:1px solid var(--bw-border);color:var(--bw-fg)}
.finestro-case .bw-bar-h{display:flex;justify-content:space-between;font-size:14px;margin-bottom:8px}
.finestro-case .bw-bar-h span:last-child{color:var(--bw-dim)}
.finestro-case .bw-bar{height:10px;border-radius:999px;background:var(--bw-sec);overflow:hidden}
.finestro-case .bw-bar i{display:block;height:100%;width:72%;border-radius:inherit;background:var(--bw-fg)}
.finestro-case .bw-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.finestro-case .bw-kpi{background:var(--bw-card);border:1px solid #2A292A;border-radius:14px;padding:18px}
.finestro-case .bw-kpi-top{display:flex;justify-content:space-between;align-items:center;font-size:14px;color:var(--bw-dim)}
.finestro-case .bw-kpi-ico{display:grid;place-items:center;width:32px;height:32px;border-radius:8px;background:var(--bw-sec);color:var(--bw-coffee)}
.finestro-case .bw-kpi-ico svg{width:16px;height:16px}
.finestro-case .bw-kpi strong{display:block;margin:14px 0 4px;font-size:28px;font-weight:700;letter-spacing:-.01em}
.finestro-case .bw-kpi small{font-size:13px;color:var(--bw-ok)}
.finestro-case .bw-kpi small.is-down{color:var(--bw-err)}
.finestro-case .bw-alerts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.finestro-case .bw-alert{display:grid;grid-template-columns:20px 1fr;gap:12px;padding:16px;border-radius:12px;border:1px solid #2E2D2E;background:#1C1C1C}
.finestro-case .bw-alert svg{width:20px;height:20px;margin-top:1px}
.finestro-case .bw-alert b{display:block;font-size:15px;font-weight:600}
.finestro-case .bw-alert span{display:block;margin-top:2px;font-size:14px;color:var(--bw-dim)}
.finestro-case .bw-alert--ok{background:#1A1E1C;border-color:#2C3A31;color:var(--bw-ok)}
.finestro-case .bw-alert--warn{background:#1F1A17;border-color:#4A3424;color:var(--bw-coffee)}
.finestro-case .bw-alert--err{background:#1D1919;border-color:#4A2C2C;color:var(--bw-err)}
.finestro-case .bw-alert--info b{color:var(--bw-fg)}
.finestro-case .bw-icons{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px;list-style:none;margin:0;padding:0}
.finestro-case .bw-icons li{display:grid;place-items:center;height:64px;border-radius:10px;background:var(--bw-sec)}
.finestro-case .bw-icons svg{width:22px;height:22px}
.finestro-case .bw-nav{list-style:none;margin:0;padding:8px;border-radius:12px;background:var(--bw-side)}
.finestro-case .bw-nav li{display:flex;align-items:center;gap:12px;padding:10px 12px;border-radius:8px;font-size:15px;color:#D6D4D6}
.finestro-case .bw-nav li.is-on{background:#1A1919;color:#F0C877}
.finestro-case .bw-nav svg{width:20px;height:20px}
.finestro-case .bw-tabs{display:inline-flex;padding:4px;border-radius:10px;background:var(--bw-muted);font-size:14px;margin-bottom:16px}
.finestro-case .bw-tabs span{padding:8px 14px;border-radius:7px;color:#C9C7C9}
.finestro-case .bw-tabs span.is-on{background:var(--bw-bg);color:var(--bw-fg);font-weight:600}
.finestro-case .bw-svg{fill:none;stroke:currentColor;stroke-width:1.75;stroke-linecap:round;stroke-linejoin:round}
@media(max-width:900px){.finestro-case .bw-ds{padding:20px}.finestro-case .bw-swatches{grid-template-columns:repeat(3,minmax(0,1fr))}.finestro-case .bw-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.finestro-case .bw-row,.finestro-case .bw-alerts{grid-template-columns:1fr}.finestro-case .bw-icons{grid-template-columns:repeat(4,minmax(0,1fr))}.finestro-case .bw-t1{font-size:26px}.finestro-case .bw-type li{flex-direction:column;align-items:flex-start;gap:4px}.finestro-case .bw-type em{text-align:left}}
@media(max-width:480px){.finestro-case .bw-swatches{grid-template-columns:repeat(2,minmax(0,1fr))}.finestro-case .bw-card{padding:18px}.finestro-case .bw-kpi strong{font-size:22px}}

/* Brewie product structure diagram: the case's coffee accent on the shared flow style */
.finestro-case .bw-map .v5-map2-lines path{stroke:#E6C7AA}
.finestro-case .bw-map .v5-map2-node.is-main{fill:#1B1A1A}
