.wst {
--wst-bg: #f5ede6; --wst-soft: #fbf8f5; --wst-card: #fff; --wst-ink: #2e1d17; --wst-ink-2: #6f5f57; --wst-ink-3: #a3958d; --wst-line: #eadfd6;
--wst-accent: #cf6d47; --wst-accent-ink: #b4542f; --wst-accent-soft: #f8e1d5; --wst-dark: #2b2522; --wst-muted-bar: #cdc4bd; --wst-grid: #efe7e0;
--wst-red-soft: #f8dcd8;
--wst-shadow-s: 0 4px 14px -6px rgba(66, 24, 18, .2);
container-type: inline-size; container-name: wst;
font-family: 'Nunito', 'WppmNunito', system-ui, -apple-system, 'Segoe UI', sans-serif; font-size: 15px; line-height: 1.45; color: var(--wst-ink);
}
:where(.wst) *, :where(.wst) *::before, :where(.wst) *::after { box-sizing: border-box; }
:where(.wst) :where(button, input, select) { font: inherit; color: inherit; }
:where(.wst) button { cursor: pointer; border: 0; background: none; padding: 0; margin: 0; }
.wst button:disabled { cursor: default; opacity: .45; }
.wst button:focus-visible, .wst a:focus-visible, .wst select:focus-visible, .wst input:focus-visible, .wst-col:focus-visible { outline: 3px solid rgba(207, 109, 71, .5); outline-offset: 1px; }
.wst a { color: var(--wst-accent-ink); text-decoration: none; }
.wst a:hover { text-decoration: underline; }
.wst h2, .wst h3 { margin: 0; color: var(--wst-ink); line-height: 1.25; }
.wst h2 { font-size: 18px; font-weight: 800; }
.wst h3 { font-size: 14px; font-weight: 800; margin: 16px 0 8px; }
.wst p { margin: 0; } .wst-filter { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.wst-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.wst-chip { min-height: 38px; padding: 0 14px; border-radius: 12px; background: var(--wst-card); border: 1.5px solid var(--wst-line); font-weight: 800; font-size: 14px; color: var(--wst-ink-2); }
.wst-chip.is-active { background: var(--wst-dark); border-color: var(--wst-dark); color: #fff; }
.wst-select { appearance: auto; padding: 0 8px; }
.wst-btn { min-height: 40px; padding: 0 14px; border-radius: 12px; background: #ece2d9; color: var(--wst-ink); font-weight: 800; font-size: 14px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; white-space: nowrap; }
.wst a.wst-btn:hover { text-decoration: none; }
.wst-btn--dark { background: var(--wst-dark); color: #fff !important; }
.wst-link { color: var(--wst-accent-ink); font-weight: 800; font-size: 13px; margin-top: 8px; }
.wst-link:hover { text-decoration: underline; }
.wst-body { display: flex; flex-direction: column; gap: 14px; transition: opacity .2s; }
.wst-body.is-loading { opacity: .55; pointer-events: none; }
.wst-grid { display: grid; grid-template-columns: 1fr; gap: 14px; }
@container wst (min-width: 880px) {
.wst-grid { grid-template-columns: 1fr 1fr; }
}
.wst-card { background: var(--wst-card); border-radius: 20px; box-shadow: var(--wst-shadow-s); padding: 16px; min-width: 0; }
.wst-card__head { margin-bottom: 12px; }
.wst-card__head p { color: var(--wst-ink-2); font-size: 13px; margin-top: 3px; }
.wst-empty { padding: 24px 10px; text-align: center; color: var(--wst-ink-2); font-weight: 700; }
.wst-empty--small { padding: 10px 2px; text-align: left; font-weight: 600; font-size: 14px; }
.wst-note { color: var(--wst-ink-2); font-size: 13px; margin: 8px 0 0; } .wst-msg { border-radius: 14px; padding: 10px 12px; margin-bottom: 10px; font-weight: 700; font-size: 14px; }
.wst-msg--error { background: var(--wst-red-soft); color: #7c241c; }
.wst-msg .wst-link { margin: 0 0 0 8px; } .wst-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-bottom: 4px; }
@container wst (min-width: 600px) { .wst-tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@container wst (min-width: 1000px) { .wst-tiles--kpi { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.wst-tile { background: var(--wst-card); border-radius: 16px; padding: 10px 12px; min-width: 0; box-shadow: var(--wst-shadow-s); }
.wst-tile span { display: block; font-size: 12px; font-weight: 800; color: var(--wst-ink-2); }
.wst-tile b { display: block; font-size: 24px; font-weight: 800; line-height: 1.2; color: var(--wst-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wst-tile small { display: block; font-size: 12px; color: var(--wst-ink-2); }
.wst-hero { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; margin: 2px 0 4px; }
.wst-hero b { font-size: 34px; font-weight: 800; line-height: 1.1; }
.wst-hero span { color: var(--wst-ink-2); font-size: 14px; }
.wst-mini { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 8px; }
.wst-mini div { background: var(--wst-soft); border-radius: 12px; padding: 8px 10px; }
.wst-mini b { display: block; font-size: 20px; font-weight: 800; }
.wst-mini span { font-size: 12px; color: var(--wst-ink-2); font-weight: 700; } .wst-seg { display: inline-flex; background: #ece2d9; border-radius: 12px; padding: 3px; gap: 2px; margin: 10px 0 8px; }
.wst-seg button { min-height: 32px; padding: 0 12px; border-radius: 9px; font-weight: 800; font-size: 13px; color: var(--wst-ink-2); }
.wst-seg button.is-active { background: var(--wst-card); color: var(--wst-ink); box-shadow: var(--wst-shadow-s); } .wst-chart { position: relative; width: 100%; min-height: 60px; }
.wst-chart svg { display: block; overflow: visible; }
.wst-axis line { stroke: var(--wst-grid); stroke-width: 1; shape-rendering: crispEdges; }
.wst-axis text, .wst-col__label { font-size: 11px; fill: var(--wst-ink-2); font-variant-numeric: tabular-nums; }
.wst-col { outline: none; cursor: default; }
.wst-hit { fill: transparent; }
.wst-col__bar { fill: var(--wst-accent); transition: opacity .15s; }
.wst-col.is-active .wst-col__bar { fill: #b85a36; }
.wst-col__value { font-size: 12px; font-weight: 800; fill: var(--wst-ink); }
.wst-tip { position: absolute; top: 0; transform: translateX(-50%); background: var(--wst-dark); color: #fff; border-radius: 10px; padding: 5px 9px; font-size: 12px; pointer-events: none; white-space: nowrap; z-index: 2; }
.wst-tip b { font-size: 14px; }
.wst-tip span { display: block; color: #d8cec7; } .wst-bars { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.wst-bars li { display: grid; grid-template-columns: minmax(90px, 34%) 1fr; align-items: center; gap: 10px; min-height: 22px; }
.wst-bars__label { font-size: 13px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wst-bars__track { display: flex; align-items: center; gap: 8px; min-width: 0; } .wst-bars__bar { height: 14px; border-radius: 0 4px 4px 0; background: var(--wst-accent); flex: none; }
.wst-bars li.is-muted .wst-bars__bar { background: var(--wst-muted-bar); }
.wst-bars li.is-muted .wst-bars__label { color: var(--wst-ink-2); font-weight: 600; }
.wst-bars__text { font-size: 12px; color: var(--wst-ink-2); font-variant-numeric: tabular-nums; min-width: 0; line-height: 1.25; } @container wst (max-width: 520px) {
.wst-bars { gap: 9px; }
.wst-bars li { grid-template-columns: 1fr; gap: 2px; }
} .wst-list { list-style: none; margin: 8px 0 0; padding: 0; border-top: 1px solid var(--wst-line); }
.wst-list li { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; padding: 7px 2px; border-bottom: 1px solid var(--wst-line); font-size: 14px; }
.wst-list li > span { min-width: 0; }
.wst-list li > b { white-space: nowrap; text-align: right; }
.wst-list small { color: var(--wst-ink-2); font-weight: 600; font-size: 12px; }
.wst-list li > b small { display: block; }
.wst-list__sub { display: block; }