/* =========================================================
   Pannello di controllo Ermes – stesso tema scuro del sito
   ========================================================= */
:root {
  --bg: #121012;
  --bg-2: #1b171a;
  --card: #221d21;
  --line: #3a3238;
  --grid: rgba(255, 255, 255, .07);
  --text: #f6efe6;
  --muted: #b9ada6;
  --faint: #8d817b;
  --red: #d7261e;
  --bar: #e5483e;          /* barre dei grafici (una sola serie) */
  --bar-hover: #ff6a5f;
  --gold: #f0b44c;
  --ok: #7fd9a0;
  --radius: 14px;
  --head: "Oswald", "Arial Narrow", sans-serif;
  --body: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 15px/1.5 var(--body); }
[hidden] { display: none !important; }
h1, h2, h3 { font-family: var(--head); font-weight: 600; line-height: 1.15; margin: 0; letter-spacing: .01em; }
a { color: var(--gold); }
button, input, select { font: inherit; color: inherit; }
code { font-size: .85em; background: rgba(255, 255, 255, .08); padding: 1px 5px; border-radius: 5px; }
.muted { color: var(--muted); }
.small { font-size: .8rem; }
.num { font-variant-numeric: tabular-nums; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 44px; padding: 0 18px;
  border-radius: 999px; border: 1px solid transparent; font-weight: 700; font-size: .9rem; cursor: pointer; text-decoration: none;
}
.btn--primary { background: var(--red); color: #fff; }
.btn--primary:hover { background: #e53a2f; }
.btn--ghost { background: transparent; border-color: var(--line); color: var(--text); }
.btn--ghost:hover { border-color: var(--text); }
.btn--sm { min-height: 36px; padding: 0 14px; font-size: .82rem; }

/* ---------- Accesso ---------- */
.login { min-height: 100vh; min-height: 100svh; display: grid; place-items: center; padding: 24px 16px; }
.login__box {
  width: 100%; max-width: 380px; display: grid; gap: 14px; padding: 26px 22px;
  background: var(--card); border: 1px solid var(--line); border-radius: 20px; text-align: center;
}
.login__logo { width: 100%; max-width: 260px; margin: 0 auto 4px; border-radius: 12px; background: #fff; padding: 10px 14px; }
.login h1 { font-size: 1.6rem; text-transform: uppercase; }
.login p { margin: -6px 0 4px; font-size: .88rem; }
.field { display: grid; gap: 5px; text-align: left; }
.field span { font-size: .8rem; font-weight: 600; color: var(--muted); }
.field input, .search input, .price input {
  width: 100%; min-height: 46px; padding: 8px 12px; font-size: 16px;
  background: var(--bg); border: 1px solid var(--line); border-radius: 10px; outline: none;
}
.field input:focus, .search input:focus, .price input:focus { border-color: var(--red); }
.error { margin: 0; padding: 9px 12px; border-radius: 10px; background: rgba(215, 38, 30, .15); border: 1px solid var(--red); color: #ffd6d3; font-size: .86rem; }

/* ---------- Struttura ---------- */
.bar {
  position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 12px 18px; flex-wrap: wrap;
  padding: 10px 16px; background: rgba(18, 16, 18, .94); border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.bar__brand { display: flex; align-items: baseline; gap: 8px; }
.bar__brand b { font-family: var(--head); font-size: 1.35rem; letter-spacing: .12em; color: var(--red); }
.bar__brand span { font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.bar__user { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.role { font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; background: rgba(240, 180, 76, .14); color: var(--gold); border: 1px solid rgba(240, 180, 76, .4); }
.tabs { order: 3; width: 100%; display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tabs button {
  flex: none; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--bg-2);
  font-size: .85rem; font-weight: 600; cursor: pointer;
}
.tabs button.is-on { background: var(--red); border-color: var(--red); color: #fff; }
.demo { max-width: 1208px; margin: 14px 16px 0; padding: 10px 14px; border-radius: 12px; font-size: .82rem; line-height: 1.45;
  background: rgba(240, 180, 76, .08); border: 1px solid rgba(240, 180, 76, .35); color: #eadcc6; }
.demo b { color: var(--gold); }
.content { padding: 18px 16px 60px; max-width: 1240px; margin: 0 auto; }
.view__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.view__head h2 { font-size: 1.9rem; text-transform: uppercase; }
.label { margin: 18px 0 8px; font-family: var(--body); font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--faint); }

.seg { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; border-radius: 999px; background: var(--bg-2); border: 1px solid var(--line); }
.seg button { border: 0; background: none; padding: 6px 12px; border-radius: 999px; font-size: .82rem; font-weight: 600; cursor: pointer; color: var(--muted); }
.seg button.is-on { background: var(--text); color: var(--bg); }

/* ---------- Numeri (KPI) ---------- */
.kpis { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.kpi { padding: 14px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); min-width: 0; }
.kpi__label { display: block; font-size: .78rem; font-weight: 600; color: var(--muted); }
.kpi__value { display: block; margin-top: 4px; font-family: var(--head); font-size: 2rem; line-height: 1.05; font-variant-numeric: tabular-nums; }
.kpi__sub { display: block; margin-top: 4px; font-size: .74rem; color: var(--faint); }

/* ---------- Riquadri ---------- */
.grid2 { display: grid; gap: 12px; margin-top: 14px; }
.panel { padding: 16px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); min-width: 0; }
.panel--flush { padding: 0; overflow: hidden; }
.panel__head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-bottom: 12px; }
.panel__head h3 { font-size: 1.1rem; text-transform: uppercase; }

/* grafico a barre verticali (una serie) */
.chart { position: relative; height: 220px; }
.chart svg { display: block; width: 100%; height: 100%; overflow: visible; }
.chart .grid line { stroke: var(--grid); }
.chart .axis text { fill: var(--faint); font-size: 11px; font-family: var(--body); }
.chart .bar { fill: var(--bar); }
.chart .hit { fill: transparent; cursor: default; }
.chart .hit:hover + .bar, .chart g.is-hover .bar { fill: var(--bar-hover); }
.table-view { margin-top: 10px; font-size: .82rem; }
.table-view summary { cursor: pointer; color: var(--muted); }
.table-view table { width: 100%; margin-top: 8px; border-collapse: collapse; }
.table-view td, .table-view th { padding: 4px 6px; border-bottom: 1px solid var(--grid); text-align: left; }
.table-view td:last-child { text-align: right; }

/* barre orizzontali: classifiche */
.hbars { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.hbars li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 10px; font-size: .86rem; }
.hbars .hb__name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hbars .hb__val { font-weight: 700; font-variant-numeric: tabular-nums; }
.hbars .hb__track { grid-column: 1 / -1; height: 8px; border-radius: 4px; background: rgba(255, 255, 255, .05); }
.hbars .hb__fill { display: block; height: 100%; border-radius: 4px; background: var(--bar); min-width: 4px; }
.empty { color: var(--faint); font-size: .86rem; margin: 6px 0; }

.list { list-style: none; margin: 0; padding: 0; }
.list li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--grid); font-size: .88rem; }
.list li b { font-variant-numeric: tabular-nums; }
.list small { display: block; color: var(--faint); font-size: .74rem; }

/* ---------- Tabelle ---------- */
.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: .84rem; }
.table th { text-align: left; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); font-weight: 700; padding: 10px 12px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.table td { padding: 10px 12px; border-bottom: 1px solid var(--grid); vertical-align: top; }
.table tr.is-demo td { color: var(--muted); }
.table .r { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.table .items { color: var(--muted); font-size: .78rem; }
.tag { display: inline-block; padding: 1px 7px; border-radius: 999px; font-size: .68rem; font-weight: 700; letter-spacing: .04em; border: 1px solid var(--line); color: var(--muted); white-space: nowrap; }
.tag--gold { border-color: rgba(240, 180, 76, .5); color: var(--gold); }
.tag--ok { border-color: rgba(127, 217, 160, .5); color: var(--ok); }
.table--perm td:not(:first-child), .table--perm th:not(:first-child) { text-align: center; }

/* ---------- Prezzi ---------- */
.search input { min-height: 40px; width: min(260px, 70vw); }
.pcat { margin-top: 18px; }
.pcat h3 { font-size: 1.1rem; text-transform: uppercase; padding-bottom: 6px; border-bottom: 2px solid var(--red); margin-bottom: 4px; }
.price { display: grid; grid-template-columns: minmax(0, 1fr) 96px 30px; align-items: center; gap: 10px; padding: 7px 0; border-bottom: 1px solid var(--grid); }
.price b { display: block; font-size: .9rem; }
.price small { display: block; color: var(--faint); font-size: .74rem; }
.price input { min-height: 38px; padding: 6px 10px; text-align: right; font-variant-numeric: tabular-nums; }
.price.is-changed input { border-color: var(--gold); color: var(--gold); }
/* il cerchietto vale solo per il pulsante "riporta al prezzo del menu" (↺), non per "Modifica" */
.price [data-reset] { width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line); background: none; cursor: pointer; color: var(--muted); }
.price [data-reset]:hover { color: var(--text); border-color: var(--text); }

/* ---------- Errori ---------- */
.errors { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.errors li { padding: 12px 14px; border-radius: 12px; background: var(--card); border: 1px solid var(--line); font-size: .84rem; }
.errors .e__head { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; color: var(--muted); font-size: .76rem; }
.errors .e__msg { margin: 6px 0 0; font-weight: 600; word-break: break-word; }
.errors details { margin-top: 6px; color: var(--faint); font-size: .74rem; }
.errors pre { white-space: pre-wrap; word-break: break-word; margin: 6px 0 0; }

.actions { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }

/* ---------- Tooltip e toast ---------- */
.tip {
  position: fixed; z-index: 50; pointer-events: none; padding: 7px 10px; border-radius: 8px;
  background: var(--text); color: var(--bg); font-size: .8rem; font-weight: 600; box-shadow: 0 6px 20px rgba(0, 0, 0, .4);
  transform: translate(-50%, calc(-100% - 10px)); white-space: nowrap;
}
.tip small { display: block; font-weight: 500; opacity: .75; }
.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 60; transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  background: var(--text); color: var(--bg); font-weight: 600; font-size: .88rem; padding: 11px 18px; border-radius: 999px; transition: .25s;
}
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* =========================================================
   v2.14 – pannello più completo
   ========================================================= */
.seg--sm button { padding: 5px 10px; font-size: .76rem; }
.kpi__delta { display: inline-block; margin-top: 4px; font-size: .72rem; font-weight: 700; color: var(--muted); }
.kpi__delta.is-up::before { content: "▲ "; color: var(--ok); }
.kpi__delta.is-down::before { content: "▼ "; color: #ff8f86; }
.panel__head .seg { flex: none; }
.sub { margin: 16px 0 8px; font-family: var(--body); font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); }

/* mappa di calore: giorno × orario (una sola tinta, dal chiaro al pieno) */
.heat { display: grid; grid-template-columns: 38px repeat(var(--cols), minmax(0, 1fr)); gap: 3px; font-size: .7rem; }
.heat span { color: var(--faint); display: flex; align-items: center; }
.heat .h-col { justify-content: center; }
.heat i { height: 26px; border-radius: 4px; background: rgba(229, 72, 62, var(--a)); outline: 1px solid rgba(255, 255, 255, .04); }
.heat i:hover { outline: 2px solid var(--text); }
.heat-legend { display: flex; align-items: center; gap: 8px; margin-top: 10px; font-size: .72rem; color: var(--faint); }
.heat-legend i { width: 120px; height: 8px; border-radius: 4px; background: linear-gradient(90deg, rgba(229, 72, 62, .06), rgba(229, 72, 62, 1)); }

/* ritiro / consegna: parte del tutto */
.split__bar { display: flex; gap: 2px; height: 14px; border-radius: 7px; overflow: hidden; margin: 4px 0 10px; }
.split__bar b { background: var(--bar); }
.split__bar b + b { background: #6d6268; }
.split__legend { display: flex; justify-content: space-between; gap: 10px; font-size: .86rem; }
.split__legend em { font-style: normal; color: var(--muted); font-size: .78rem; }
.dot-key { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; background: var(--bar); vertical-align: 0; }
.dot-key--alt { background: #6d6268; }

/* percorso dei clienti */
.funnel { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.funnel li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 10px; font-size: .86rem; }
.funnel b { font-variant-numeric: tabular-nums; }
.funnel .f__track { grid-column: 1 / -1; height: 22px; border-radius: 6px; background: rgba(255, 255, 255, .04); }
.funnel .f__fill { display: flex; align-items: center; height: 100%; padding-left: 8px; border-radius: 6px; background: var(--bar); color: #fff; font-size: .72rem; font-weight: 700; min-width: 36px; }

.hbars--low .hb__fill { background: #6d6268; }

/* barre di strumenti, riepiloghi, tabelle cliccabili */
.toolbar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 10px; }
.toolbar input[type="search"], .toolbar select {
  min-height: 40px; padding: 6px 12px; font-size: 15px; background: var(--bg-2); border: 1px solid var(--line); border-radius: 10px; outline: none;
}
.toolbar input[type="search"] { flex: 1 1 220px; min-width: 0; }
.toolbar input:focus, .toolbar select:focus { border-color: var(--red); }
.check { display: inline-flex; align-items: center; gap: 6px; font-size: .84rem; color: var(--muted); cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--red); }
.summary { margin: 0 0 10px; font-size: .86rem; color: var(--muted); }
.summary b { color: var(--text); }
.table--click tbody tr, .table--click tr[data-id] { cursor: pointer; }
.table--click tr[data-id]:hover td { background: rgba(255, 255, 255, .03); }
.more { display: block; margin: 12px auto 0; }

/* finestra dettagli */
.modal { width: calc(100% - 24px); max-width: 640px; padding: 0; border: 1px solid var(--line); border-radius: 18px; background: var(--card); color: var(--text); box-shadow: 0 20px 60px rgba(0, 0, 0, .6); }
.modal::backdrop { background: rgba(0, 0, 0, .65); }
.modal__inner { position: relative; max-height: 88vh; max-height: 88dvh; overflow-y: auto; padding: 20px 18px; }
.modal__close { position: absolute; top: 10px; right: 10px; width: 38px; height: 38px; border-radius: 50%; border: 0; background: var(--bg); font-size: 1.4rem; cursor: pointer; }
.modal h3 { font-size: 1.5rem; text-transform: uppercase; padding-right: 44px; }
.modal h4 { margin: 18px 0 8px; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 12px; }
.facts div { padding: 10px; border-radius: 10px; background: var(--bg); border: 1px solid var(--grid); min-width: 0; }
.facts dt { font-size: .72rem; color: var(--faint); }
.facts dd { margin: 2px 0 0; font-weight: 700; font-size: .9rem; word-break: break-word; }
.lines { width: 100%; border-collapse: collapse; font-size: .84rem; }
.lines td { padding: 7px 4px; border-bottom: 1px solid var(--grid); vertical-align: top; }
.lines td small { display: block; color: var(--muted); font-size: .74rem; }
.lines .r { text-align: right; white-space: nowrap; }
.lines tfoot td { font-weight: 700; border-bottom: 0; }
.adjust { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 8px; }
.adjust input { min-height: 38px; padding: 6px 10px; font-size: 15px; background: var(--bg); border: 1px solid var(--line); border-radius: 10px; }
.adjust input[type="number"] { width: 90px; }
.adjust input[type="text"] { flex: 1 1 180px; }
.danger { color: #ff8f86; border-color: rgba(255, 143, 134, .5) !important; }

/* menu: prezzo + disponibilità */
.price { grid-template-columns: minmax(0, 1fr) 90px auto 30px; }
.price.is-soldout b, .price.is-soldout small { opacity: .55; }
.switch { position: relative; display: inline-flex; align-items: center; gap: 6px; font-size: .74rem; font-weight: 700; color: var(--muted); cursor: pointer; white-space: nowrap; }
.switch input { position: absolute; opacity: 0; }
.switch span { min-width: 68px; }
.switch i { width: 34px; height: 20px; border-radius: 999px; background: var(--ok); position: relative; transition: background .2s; }
.switch i::after { content: ""; position: absolute; top: 3px; left: 17px; width: 14px; height: 14px; border-radius: 50%; background: #fff; transition: left .2s; }
.switch input:not(:checked) + i { background: #5a4f55; }
.switch input:not(:checked) + i::after { left: 3px; }
.switch input:focus-visible + i { outline: 2px solid var(--gold); outline-offset: 2px; }

/* registro */
.audit { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.audit li { display: grid; grid-template-columns: auto 1fr; gap: 2px 12px; padding: 10px 12px; border-radius: 10px; background: var(--card); border: 1px solid var(--line); font-size: .84rem; }
.audit time { color: var(--faint); font-size: .76rem; white-space: nowrap; font-variant-numeric: tabular-nums; }
.audit b { font-weight: 700; }
.audit small { grid-column: 2; color: var(--muted); }

.errors .e__count { margin-left: auto; font-weight: 700; color: var(--text); }

/* =========================================================
   v2.15 – gestione menu: prodotti, aggiunte, ingredienti
   ========================================================= */
.price { grid-template-columns: minmax(0, 1fr) 90px auto auto 30px; }
.price .btn--sm { min-height: 32px; padding: 0 12px; font-size: .76rem; }
.price.addon { grid-template-columns: minmax(0, 1fr) 90px auto auto; }
.pcat h3 small { font-family: var(--body); font-size: .72rem; }
.price .tag { vertical-align: 1px; }
.editor { display: grid; gap: 4px; margin-top: 10px; }
.form-grid { display: grid; gap: 10px; grid-template-columns: 1fr; margin-bottom: 8px; }
.editor .field input, .editor .field select, .editor textarea, .ingr-tool .field input, .ingr-tool .field select {
  width: 100%; min-height: 44px; padding: 8px 12px; font-size: 16px; background: var(--bg); border: 1px solid var(--line); border-radius: 10px; outline: none;
}
.editor textarea { resize: vertical; line-height: 1.4; font: inherit; font-size: 15px; color: var(--text); }
.price { column-gap: 14px; }
.editor .field input:disabled, .editor select:disabled { opacity: .55; }
.editor .field input:focus, .editor select:focus, .editor textarea:focus, .ingr-tool .field input:focus { border-color: var(--red); }
.field-title { margin: 10px 0 6px; font-size: .8rem; font-weight: 700; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 6px; }
.chip { padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line); background: var(--bg); font-size: .78rem; font-weight: 600; }
.switch--field { margin: 8px 0; }
.checks { display: flex; flex-wrap: wrap; gap: 8px 16px; margin: 10px 0; }
.editor .actions { margin-top: 12px; }
#edBase, #adType { margin-bottom: 4px; }

/* elenco a spunta dei prodotti */
.picker { max-height: 340px; overflow-y: auto; padding: 8px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg); margin-bottom: 10px; }
.picker__cat { border: 0; margin: 0 0 10px; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 2px 10px; }
.picker__cat legend { grid-column: 1 / -1; padding: 4px 0; font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); }
.picker__cat legend label, .picker__item { display: flex; align-items: center; gap: 6px; cursor: pointer; }
.picker__item { font-size: .84rem; padding: 3px 0; }
.picker input { width: 17px; height: 17px; accent-color: var(--red); flex: none; }
.ingr-tool h3 { font-size: 1.1rem; text-transform: uppercase; margin-bottom: 12px; }
.ingr-tool .btn--primary { margin-top: 4px; }
.ingr-tool .error { margin-bottom: 10px; }

@media (min-width: 720px) {
  .form-grid { grid-template-columns: 1fr 1fr; align-items: end; }
}
/* riga di un prodotto: nome | prezzo | disponibile | Modifica | ↺ */
.price .btn--sm { width: auto; white-space: nowrap; border-color: var(--line); }
.price .btn--sm:hover { border-color: var(--text); }
.price .switch { min-width: 118px; }
/* telefono: sopra nome e prezzo, sotto disponibilità e pulsanti */
@media (max-width: 560px) {
  .price, .price.addon { grid-template-columns: minmax(0, 1fr) 84px; row-gap: 8px; }
  .price > div:first-child { grid-column: 1; }
  .price .switch { grid-column: 1; order: 5; min-width: 0; }
  .price .btn--sm { grid-column: 2; order: 6; justify-self: end; }
  .price [data-reset] { grid-column: 2; order: 7; justify-self: end; }
}

@media (min-width: 720px) {
  .panel--wide { grid-column: 1 / -1; }
  .facts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (min-width: 720px) {
  .kpis { grid-template-columns: repeat(3, 1fr); }
  .kpis--4 { grid-template-columns: repeat(4, 1fr); }
  .grid2 { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1000px) {
  .tabs { order: 0; width: auto; }
  .kpis { grid-template-columns: repeat(4, 1fr); }
  .content { padding: 24px 28px 60px; }
  .demo { margin: 16px auto 0; width: calc(100% - 56px); max-width: 1184px; }
  .chart { height: 300px; }
}
