/* ---------- tokens ---------- */
:root {
  --accent: #4f7cff;
  --bg: #eef1f7;
  --surface: #ffffff;
  --surface-2: #f2f5fa;
  --surface-3: #e7ecf5;
  --line: #dde3ee;
  --text: #131824;
  --muted: #6b7488;
  --green: #16a34a;
  --amber: #d9820b;
  --red: #dc2626;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(16, 24, 40, .05), 0 6px 18px rgba(16, 24, 40, .06);
  --safe-b: env(safe-area-inset-bottom, 0px);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0c0f16;
    --surface: #151a24;
    --surface-2: #1c2230;
    --surface-3: #252d3d;
    --line: #29313f;
    --text: #e8ecf4;
    --muted: #9aa3b5;
    --green: #22c55e;
    --amber: #f59e0b;
    --red: #ef4444;
    --shadow: 0 1px 2px rgba(0, 0, 0, .45), 0 6px 18px rgba(0, 0, 0, .35);
  }
}

html[data-theme="blue"]  { --accent: #4f7cff; }
html[data-theme="green"] { --accent: #159a68; --green: #159a68; }
html[data-theme="pink"]  { --accent: #db4f8a; }

html[data-theme="green"] body {
  background-image: radial-gradient(circle at 90% 0, rgba(21,154,104,.12), transparent 34%);
}
html[data-theme="pink"] body {
  background-image: radial-gradient(circle at 90% 0, rgba(219,79,138,.13), transparent 34%);
}

* { box-sizing: border-box; }

/* Class rules below set display:grid/flex, which would otherwise beat the
   browser's [hidden] rule and leave hidden panels on screen. */
[hidden] { display: none !important; }

html, body { height: 100%; margin: 0; }

body {
  background: var(--bg);
  color: var(--text);
  font: 14px/1.45 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-text-size-adjust: 100%;
  overscroll-behavior: none;
}

h1, h2, h3 { margin: 0; font-weight: 650; }
.muted { color: var(--muted); }
.error { color: var(--red); font-size: 13px; margin: 10px 0 0; }
.spacer { flex: 1; }

/* ---------- gate ---------- */
.gate { display: grid; place-items: center; min-height: 100dvh; padding: 24px; }

.gate-card {
  width: 100%;
  max-width: 330px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow);
  padding: 30px 24px 24px;
  text-align: center;
}

.gate-logo { font-size: 40px; line-height: 1; }
.gate-card h1 { font-size: 21px; margin: 8px 0 3px; }
.gate-card > .muted { font-size: 13px; margin: 0 0 18px; }
.gate-hint { font-size: 11.5px; margin: 14px 0 0; line-height: 1.4; }

#key-input {
  text-transform: uppercase;
  letter-spacing: .3em;
  text-align: center;
  font-size: 19px;
  font-weight: 600;
  padding: 12px;
}

/* ---------- controls ---------- */
input, select, textarea {
  width: 100%;
  font: inherit;
  color: var(--text);
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 9px 11px;
}

input:focus, select:focus, textarea:focus {
  outline: 2px solid var(--accent);
  outline-offset: -1px;
}

textarea { resize: vertical; min-height: 60px; }

.btn {
  font: inherit;
  font-weight: 600;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--surface-2);
  color: var(--text);
  padding: 8px 13px;
  cursor: pointer;
  white-space: nowrap;
}

.btn.primary { background: var(--accent); border-color: transparent; color: #fff; }
.btn.ghost { background: transparent; }
.btn.danger { color: var(--red); }
.btn.block { width: 100%; margin-top: 10px; padding: 11px; }
.btn.small { padding: 4px 9px; font-size: 12px; border-radius: 8px; }
.btn.tiny { padding: 2px 7px; font-size: 11px; border-radius: 7px; }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .55; cursor: wait; transform: none; }

.icon-btn {
  background: none;
  border: 0;
  color: var(--muted);
  font-size: 17px;
  cursor: pointer;
  padding: 6px 8px;
  border-radius: 8px;
}

.icon-btn:hover { background: var(--surface-2); color: var(--text); }

.theme-wrap { position: relative; }
.theme-toggle {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  background: var(--surface-2);
  color: var(--accent);
  font-size: 18px;
  cursor: pointer;
}
.theme-menu {
  position: absolute;
  z-index: 30;
  top: 41px;
  right: 0;
  display: flex;
  gap: 8px;
  padding: 9px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: var(--shadow);
}
.theme-dot { width: 24px; height: 24px; border: 2px solid var(--surface); border-radius: 50%; cursor: pointer; box-shadow: 0 0 0 1px var(--line); }
.theme-dot.green { background: #159a68; }
.theme-dot.pink { background: #db4f8a; }
.theme-dot.blue { background: #4f7cff; }

/* ---------- shell ---------- */
.app {
  display: grid;
  grid-template-rows: auto 1fr;
  height: 100dvh;
}

.topbar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.brand { font-size: 19px; line-height: 1; }

.tabs { display: flex; gap: 4px; }

.tabs button {
  background: none;
  border: 0;
  color: var(--muted);
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  padding: 6px 11px;
  border-radius: 9px;
  cursor: pointer;
  white-space: nowrap;
}

.tabs button[aria-selected="true"] { background: var(--accent); color: #fff; }

.who {
  display: flex;
  align-items: center;
  gap: 7px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 3px 11px 3px 3px;
  cursor: pointer;
  font: inherit;
  color: var(--text);
  max-width: 190px;
}

.who-name {
  font-size: 12.5px;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--surface-3) center/cover no-repeat;
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
  flex: none;
}

.avatar.lg { width: 64px; height: 64px; font-size: 22px; }

.screen { min-height: 0; overflow: hidden; }

/* ---------- week window ---------- */
.week-wrap {
  height: 100%;
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 10px;
  padding: 10px 12px 12px;
  min-height: 0;
}

.week-head { display: grid; gap: 8px; }

.notice, .noscript {
  background: color-mix(in srgb, var(--amber) 12%, var(--surface));
  border: 1px solid color-mix(in srgb, var(--amber) 45%, var(--line));
  border-radius: 10px;
  color: var(--text);
  padding: 8px 11px;
  font-size: 12px;
}

.noscript { margin: 16px; }

.weeknav {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
}

.weeknav .range { font-weight: 650; }

/* ---------- 3-month timeline ---------- */
.timeline {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 9px 12px 10px;
}

.tl-months {
  position: relative;
  height: 15px;
  font-size: 10.5px;
  color: var(--muted);
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.tl-months span {
  position: absolute;
  top: 0;
  transform: translateX(2px);
}

.tl-track {
  position: relative;
  height: 34px;
  border-radius: 8px;
  background: var(--surface-2);
  overflow: hidden;
  cursor: pointer;
}

/* Month boundaries, so the three months are readable as blocks. */
.tl-div {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--line);
}

/* One lane per event type: colours never hide each other. */
.tl-span {
  position: absolute;
  height: 8px;
  min-width: 3px;
  border-radius: 4px;
  opacity: .92;
}

.tl-span.event    { top: 3px;  background: var(--green); }
.tl-span.deadline { top: 13px; background: var(--amber); }
.tl-span.exam     { top: 23px; background: var(--red); }

.tl-week {
  position: absolute;
  top: 0;
  bottom: 0;
  background: rgba(79, 124, 255, .15);
  border-left: 1px solid var(--accent);
  border-right: 1px solid var(--accent);
  pointer-events: none;
}

.tl-today {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--text);
  pointer-events: none;
}

.tl-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 7px;
  font-size: 11px;
  color: var(--muted);
}

.tl-legend b { font-weight: 600; color: var(--text); }

.key {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 3px;
  margin-right: 4px;
}

.key.event { background: var(--green); }
.key.deadline { background: var(--amber); }
.key.exam { background: var(--red); }

/* ---------- totals strip ---------- */
.totals { display: flex; gap: 8px; flex-wrap: wrap; }

.totals .chip {
  flex: 1 1 150px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 11px;
  padding: 7px 11px;
  box-shadow: var(--shadow);
}

.chip-top {
  display: flex;
  align-items: baseline;
  gap: 6px;
  font-size: 11.5px;
  color: var(--muted);
  margin-bottom: 5px;
}

.chip-top b { font-size: 13px; color: var(--text); margin-left: auto; font-variant-numeric: tabular-nums; }

.bar { height: 6px; border-radius: 999px; background: var(--surface-3); overflow: hidden; }
.bar > span { display: block; height: 100%; border-radius: 999px; background: var(--accent); transition: width .35s ease; }
.bar > span.green { background: var(--green); }
.bar > span.amber { background: var(--amber); }

/* ---------- the seven days ---------- */
.days {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
  min-height: 0;
}

.day {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: grid;
  grid-template-rows: auto 1fr;
  min-height: 0;
  overflow: hidden;
}

.day.is-today { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), var(--shadow); }
.day.is-past { opacity: .72; }

.day-head {
  display: flex;
  align-items: baseline;
  gap: 6px;
  padding: 8px 10px 7px;
  border-bottom: 1px solid var(--line);
  background: var(--surface-2);
}

.day-head b { font-size: 12.5px; letter-spacing: .03em; }
.day-head .dnum { font-size: 11px; color: var(--muted); margin-left: auto; }
.day.is-today .day-head b { color: var(--accent); }

.day-body {
  overflow-y: auto;
  min-height: 0;
  padding: 8px;
  display: grid;
  gap: 8px;
  align-content: start;
}

.block { display: grid; gap: 5px; }

.block-title {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 5px;
}

.block-title .btn { margin-left: auto; }

.block + .block { border-top: 1px dashed var(--line); padding-top: 8px; }

/* lesson card */
.lesson {
  border-left: 3px solid var(--accent);
  background: var(--surface-2);
  border-radius: 8px;
  padding: 6px 8px;
}

.lesson .lname { font-weight: 650; font-size: 12.5px; }
.lesson .lmeta { font-size: 11px; color: var(--muted); font-variant-numeric: tabular-nums; }
.lesson .lprog { font-size: 11.5px; margin-top: 3px; }
.lesson-actions { display: flex; gap: 4px; margin-top: 5px; flex-wrap: wrap; }

/* task / chapter row */
.item {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  background: var(--surface-2);
  border-radius: 8px;
  padding: 5px 7px;
  font-size: 12px;
}

.item .txt { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.item .ttl, .item .sub, .row .main .ttl, .row .main .sub { display: block; }
.item .sub { font-size: 10.5px; color: var(--muted); }
.item.done .txt > .ttl { text-decoration: line-through; color: var(--muted); }

.item input[type="checkbox"] { width: 16px; height: 16px; margin-top: 1px; accent-color: var(--accent); flex: none; }

.score {
  width: 46px;
  padding: 2px 4px;
  font-size: 11px;
  text-align: center;
  border-radius: 6px;
  flex: none;
}

/* event pill */
.ev {
  display: flex;
  align-items: center;
  gap: 6px;
  border-radius: 8px;
  padding: 5px 7px;
  font-size: 12px;
  background: var(--surface-2);
  border-left: 3px solid var(--muted);
  cursor: default;
}

.ev.event    { border-left-color: var(--green); }
.ev.deadline { border-left-color: var(--amber); }
.ev.exam     { border-left-color: var(--red); }
.ev .txt { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.ev.clickable { cursor: pointer; }

.tiny-empty { font-size: 11px; color: var(--muted); padding: 2px 1px; }

/* ---------- panels (stats / manage / settings) ---------- */
.panel {
  height: 100%;
  overflow-y: auto;
  padding: 12px;
  display: grid;
  gap: 10px;
  align-content: start;
  max-width: 980px;
  margin: 0 auto;
  width: 100%;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 13px;
}

.card > h2 {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--muted);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.card > h2 .btn { margin-left: auto; text-transform: none; letter-spacing: 0; }

.list { display: grid; gap: 6px; }

.row {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 9px;
  border-radius: 10px;
  background: var(--surface-2);
  font-size: 13px;
}

.row .main { flex: 1; min-width: 0; }
.row .main .ttl { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.row .main .sub { font-size: 11px; color: var(--muted); }

.code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
  letter-spacing: .1em;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 2px 6px;
  white-space: nowrap;
}

.pill {
  font-size: 11px;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--muted);
  white-space: nowrap;
}

.pill.good { color: var(--green); border-color: currentColor; }
.pill.warn { color: var(--amber); border-color: currentColor; }
.pill.bad  { color: var(--red);   border-color: currentColor; }

.empty { text-align: center; color: var(--muted); font-size: 13px; padding: 16px 10px; }

details.acc { background: var(--surface-2); border-radius: 10px; overflow: hidden; }
details.acc > summary { list-style: none; cursor: pointer; padding: 8px 9px; }
details.acc > summary::-webkit-details-marker { display: none; }
details.acc .acc-body { padding: 0 9px 9px; display: grid; gap: 7px; }

.mini-bars { display: grid; gap: 6px; margin-top: 6px; }

/* student vertical progress chart */
.privacy-note { font-size: 12px; margin: 0 0 12px; }
.vertical-chart {
  display: flex;
  align-items: end;
  gap: 14px;
  min-height: 300px;
  overflow-x: auto;
  padding: 10px 4px 4px;
}
.vbar-item { flex: 0 0 94px; display: grid; justify-items: center; gap: 5px; text-align: center; }
.vbar-value { font-size: 12px; font-weight: 700; color: var(--text); }
.vbar-track {
  width: 42px;
  height: 185px;
  display: flex;
  align-items: end;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 11px 11px 6px 6px;
  background: var(--surface-2);
}
.vbar-track span { width: 100%; background: linear-gradient(180deg, var(--accent), color-mix(in srgb, var(--accent) 72%, #111)); border-radius: 9px 9px 0 0; }
.vbar-label { width: 94px; font-size: 11.5px; font-weight: 650; overflow-wrap: anywhere; }
.vbar-meta, .relative { font-size: 10px; color: var(--muted); }
.relative { color: var(--accent); font-weight: 650; }

/* private notebook */
.notebook-panel { max-width: 1100px; }
.notes-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 10px; }
.note-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 13px; }
.note-card header { display: flex; align-items: start; gap: 8px; border-bottom: 1px solid var(--line); padding-bottom: 8px; margin-bottom: 9px; }
.note-card header > div { flex: 1; min-width: 0; }
.note-card h3 { font-size: 14px; overflow-wrap: anywhere; }
.note-card header span { display: block; color: var(--muted); font-size: 10.5px; margin-top: 2px; }
.note-body { min-height: 70px; overflow-wrap: anywhere; }
.note-body mark, .note-editor mark { background: #fff19b; color: #221d00; padding: 0 .08em; }
.note-small { font-size: 11px; }
.note-medium { font-size: 14px; }
.note-large { font-size: 19px; }
.note-toolbar { display: flex; gap: 5px; flex-wrap: wrap; }
.note-toolbar button, .note-toolbar select { width: auto; min-width: 34px; padding: 5px 8px; border: 1px solid var(--line); border-radius: 7px; background: var(--surface-2); color: var(--text); cursor: pointer; }
.note-editor { min-height: 190px; max-height: 42vh; overflow-y: auto; border: 1px solid var(--line); border-radius: 10px; padding: 10px; background: var(--surface-2); color: var(--text); }
.note-editor:focus { outline: 2px solid var(--accent); outline-offset: -1px; }

/* attendance, grading, and operations */
.attendance-list, .grade-list { display: grid; gap: 6px; max-height: 44vh; overflow-y: auto; }
.attendance-row { display: grid; grid-template-columns: minmax(120px, 1fr) 105px minmax(95px, 1fr); gap: 7px; align-items: center; }
.attendance-row > span { font-size: 12px; font-weight: 600; }
.attendance-row input, .attendance-row select { padding: 6px 7px; }
.grade-list label { display: grid; grid-template-columns: 1fr 90px; gap: 8px; align-items: center; color: var(--text); }
.grade-list input { padding: 6px 7px; text-align: center; }
.month-picker { display: grid; grid-template-columns: minmax(100px, 170px); gap: 4px; color: var(--muted); font-size: 12px; font-weight: 600; margin-bottom: 10px; }
.operations-list { margin-top: 10px; }
.finance-summary { display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--muted); font-size: 12px; }
.finance-summary b { color: var(--text); margin-left: 4px; }
.row-actions { display: flex; gap: 7px; flex-wrap: wrap; }
.payment-list { display: grid; gap: 5px; border-top: 1px solid var(--line); padding-top: 7px; }
.payment-row { display: grid; grid-template-columns: minmax(120px, 1fr) auto auto; gap: 8px; align-items: center; font-size: 12px; }

/* performance comparison */
.performance-picker {
  display: grid;
  gap: 5px;
  max-width: 520px;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
}

.performance-chart { display: grid; gap: 10px; }

.chart-row {
  display: grid;
  grid-template-columns: minmax(110px, 190px) minmax(120px, 1fr) 105px;
  align-items: center;
  gap: 10px;
}

.chart-label {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 12px;
  font-weight: 600;
}

.chart-track {
  height: 17px;
  overflow: hidden;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 999px;
}

.chart-track span { display: block; height: 100%; border-radius: inherit; background: var(--accent); }
.chart-track span.good { background: var(--green); }
.chart-track span.warn { background: var(--amber); }
.chart-track span.bad { background: var(--red); }
.chart-track span.ungraded { background: var(--muted); }
.chart-value { color: var(--muted); font-size: 11px; text-align: right; white-space: nowrap; }

/* settings */
.setting-form { display: grid; gap: 12px; max-width: 420px; }
.setting-form label { display: grid; gap: 4px; font-size: 12px; font-weight: 600; color: var(--muted); }
.photo-row { display: flex; align-items: center; gap: 12px; }

.schedule-picker {
  display: flex;
  align-items: end;
  gap: 10px;
  padding: 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.schedule-picker label {
  display: grid;
  gap: 4px;
  width: min(100%, 360px);
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
}

/* ---------- modal ---------- */
.modal {
  border: 0;
  border-radius: 16px;
  padding: 0;
  width: min(93vw, 520px);
  background: var(--surface);
  color: var(--text);
  box-shadow: var(--shadow);
}

.modal::backdrop { background: rgba(6, 10, 20, .55); }
.modal form { padding: 17px; }
.modal h2 { font-size: 16px; margin-bottom: 12px; }

.modal-body { display: grid; gap: 10px; max-height: 62vh; overflow-y: auto; }
.modal-body label { display: grid; gap: 4px; font-size: 12px; font-weight: 600; color: var(--muted); }
.modal-body .picklist {
  display: grid;
  gap: 4px;
  max-height: 168px;
  overflow-y: auto;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 8px;
}

.modal-body .picklist label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text);
}

.modal-body .picklist input { width: auto; }

.modal-actions { display: flex; align-items: center; gap: 8px; margin-top: 15px; }

/* ---------- toast ---------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: calc(18px + var(--safe-b));
  transform: translateX(-50%);
  background: #131824;
  color: #fff;
  font-size: 13px;
  padding: 9px 14px;
  border-radius: 999px;
  box-shadow: var(--shadow);
  z-index: 50;
  max-width: 88vw;
  text-align: center;
}

.toast.bad { background: var(--red); }

/* ---------- narrow screens ---------- */
@media (max-width: 900px) {
  /* Seven columns cannot fit a phone, so the row scrolls sideways one day
     at a time and opens on today. */
  .days {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 8px;
  }

  .day {
    flex: 0 0 min(78vw, 300px);
    scroll-snap-align: start;
  }

  .topbar { flex-wrap: wrap; }
  .who { max-width: 140px; }
  .tabs button { padding: 5px 9px; font-size: 12px; }
}

@media (max-width: 560px) {
  .who-name { display: none; }
  .who { padding: 3px; }
  .totals .chip { flex-basis: 100%; }
  .row { flex-wrap: wrap; }
  .row .main { flex-basis: calc(100% - 40px); }
  .chart-row { grid-template-columns: 92px minmax(75px, 1fr) 82px; gap: 6px; }
  .chart-value { font-size: 10px; }
  .attendance-row { grid-template-columns: 1fr 100px; }
  .attendance-row input { grid-column: 1 / -1; }
  .vertical-chart { min-height: 270px; }
}
