:root {
  color-scheme: dark;
  --bg: #0b0e13;
  --card: #141a23;
  --border: #232b38;
  --text: #e8edf4;
  --muted: #8b95a6;
  --accent: #f5b83d;
  --accent-ink: #1a1200;
  --bright: #ffffff;
  --danger: #e5534b;
  --warn: #f0883e;
  --results-bg: #10161f;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
}

* { box-sizing: border-box; }

/* author display rules must never resurrect an element the JS hid */
[hidden] { display: none !important; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.5 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

main { max-width: 780px; margin: 0 auto; padding: 12px 16px 32px; }

/* ---- page bar: the page buttons, kept at the top of the screen; the
   active button is the page's heading ---- */
.page-bar {
  position: sticky; top: 0; z-index: 40;
  background: var(--card);
  border-bottom: 1px solid var(--border);
}
.page-bar-inner { display: flex; max-width: 780px; margin: 0 auto; }
.page-bar button {
  flex: 1 1 0; min-width: 0;
  border: none; border-bottom: 2px solid transparent; border-radius: 0;
  background: transparent;
  color: var(--muted);
  font-size: 0.95rem;
  padding: 16px 4px 12px;
  white-space: nowrap;
}
.page-bar button:hover { color: var(--text); border-color: transparent; }
.page-bar button.active { color: var(--accent); border-bottom-color: var(--accent); cursor: default; }

/* Frag page: how the takeoff date and time are entered, one line each,
   the buttons lined up under each other */
.entry-modes {
  display: grid; grid-template-columns: auto 1fr; gap: 10px 12px;
  align-items: center; margin: 4px 4px 2px;
}
.entry-mode-label { color: var(--text); font-size: 0.9rem; white-space: nowrap; }
.entry-mode-btns { display: flex; gap: 8px; flex-wrap: wrap; }
.entry-mode-btns button {
  border: 1px solid var(--border);
  background: #0f141c;
  color: var(--text);
  font-size: 0.9rem;
  padding: 8px 16px;
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
}
.entry-mode-btns button:hover { border-color: var(--accent); color: var(--text); }
/* Local can't be chosen with a Julian day, which is always a Zulu day */
.entry-mode-btns button:disabled { border-color: var(--border); color: var(--muted); cursor: not-allowed; }
.entry-mode-btns button.active {
  color: var(--accent);
  border-color: var(--accent);
  background: #1c2432;
  cursor: default;
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px;
  margin-top: 16px;
}
.card h2 {
  margin: 0 0 12px;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text);
}
/* the flight duration box is the width of one takeoff box */
.input-group.duration-group { flex: 0 1 calc(50% - 6px); }

.hint { color: var(--muted); font-size: 0.85rem; margin: 12px 0 0; }
.hint code { font-family: var(--mono); }

/* ---- results card: visually distinct from the input cards above it ---- */
.card.results { background: var(--results-bg); }
.card.results h2 { color: var(--bright); }

input, button {
  font: inherit;
  color: inherit;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: #0f141c;
}
/* user input is amber; calculated output is bright white */
input { padding: 10px 12px; color: var(--accent); }
input::placeholder { color: var(--muted); opacity: 1; }
input:focus { outline: none; border-color: var(--accent); }
input.invalid { border-color: var(--danger); }

.inputs-row { display: flex; gap: 12px; flex-wrap: wrap; }
.input-group {
  display: flex; flex-direction: column; gap: 6px;
  flex: 1; min-width: 150px;
}
.input-top {
  display: flex; align-items: center; min-height: 30px;
  font-size: 0.85rem; color: var(--text);
}
.input-group > input {
  font-family: var(--mono);
  font-size: 1.5rem;
  letter-spacing: 0.06em;
  width: 100%;
}
.input-group > input[type="date"] { font-size: 1.15rem; letter-spacing: 0.02em; }
input[type="date"]::-webkit-calendar-picker-indicator { filter: invert(0.7); cursor: pointer; }

.resolved {
  font-family: var(--mono);
  font-size: 1.05rem;
  margin: 0 0 12px;
  color: var(--bright);
}
.resolved.warn { color: var(--warn); }
.resolved.empty { color: var(--muted); font-family: inherit; font-size: 0.95rem; }
/* under the entry boxes on the Frag page; the Julian day's calendar day
   is a quiet aside unless it is a warning */
.inputs-row + .resolved { margin: 12px 0 0; font-size: 0.9rem; }
#resolved:not(.warn) { color: var(--muted); }

.zone-row { display: flex; gap: 8px; flex-wrap: wrap; }
.zone-row button { flex-shrink: 0; }
/* min-width forces the button to wrap below on narrow screens, keeping the
   zone + offset value readable at full size instead of truncating */
.zone-input-wrap { position: relative; flex: 1; min-width: 220px; }
#zone-input { width: 100%; font-family: var(--mono); }

.zone-suggest {
  position: absolute; top: calc(100% + 4px); left: 0; right: 0;
  background: #161d28; border: 1px solid var(--border); border-radius: 10px;
  z-index: 20; max-height: 320px; overflow-y: auto;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.55);
}
.zone-suggest button {
  display: block; width: 100%; text-align: left;
  background: transparent; border: none; border-radius: 0;
  border-bottom: 1px solid var(--border);
  padding: 10px 12px; cursor: pointer;
}
.zone-suggest button:last-child { border-bottom: none; }
.zone-suggest button:hover { background: #1c2432; border-color: var(--border); }
.zs-id { display: block; font-family: var(--mono); font-size: 0.95rem; }
.zs-meta { display: block; color: var(--muted); font-size: 0.8rem; }
.zone-suggest button.active .zs-id { color: var(--accent); }

button { cursor: pointer; padding: 10px 14px; background: #1c2432; }
button:hover { border-color: var(--accent); }
button.ghost { background: transparent; }
button.primary {
  background: var(--accent); color: var(--accent-ink);
  border-color: var(--accent); font-weight: 600;
}
button.primary:disabled { opacity: 0.4; cursor: not-allowed; }
button:disabled { opacity: 0.4; cursor: not-allowed; }

/* ---- template selector (app-themed dropdown, not the native select) ---- */
.tpl-row { display: flex; align-items: center; gap: 8px; margin: 0 0 10px; }
.tpl-label { font-size: 0.85rem; color: var(--text); }
.tpl-select-wrap { position: relative; flex: 1; min-width: 0; }
#tpl-select-btn {
  width: 100%;
  text-align: left;
  background-color: #0f141c;
  color: var(--accent);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 9px 34px 9px 12px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='12'%20height='8'%3E%3Cpath%20d='M1%201l5%205%205-5'%20fill='none'%20stroke='%238b95a6'%20stroke-width='2'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
}
#tpl-select-btn:disabled { color: var(--muted); cursor: default; }
.tpl-select-menu {
  position: absolute; top: calc(100% + 4px); left: 0; right: 0;
  background: #161d28;
  border: 1px solid var(--border);
  border-radius: 10px;
  z-index: 30;
  max-height: 280px; overflow-y: auto;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.55);
}
.tpl-select-menu button {
  display: block; width: 100%; text-align: left;
  background: transparent; border: none; border-radius: 0;
  border-bottom: 1px solid var(--border);
  padding: 10px 12px;
  color: var(--text);
}
.tpl-select-menu button:last-child { border-bottom: none; }
.tpl-select-menu button:hover { background: #1c2432; border-color: var(--border); }
.tpl-select-menu button.active { color: var(--accent); }

/* ---- template editor overlay ---- */
.overlay {
  position: fixed; inset: 0; z-index: 50;
  background: rgba(4, 6, 10, 0.72);
  display: flex; align-items: flex-start; justify-content: center;
  padding: 24px 16px; overflow-y: auto;
}
.overlay-panel {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  width: 100%; max-width: 560px;
  padding: 16px;
}
.overlay-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 14px;
}
.overlay-head h2 {
  margin: 0; font-size: 0.8rem;
  text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--bright);
}
body.no-scroll { overflow: hidden; }

.overlay-head.editor-head { justify-content: space-between; gap: 12px; }
.overlay-head.editor-head h2 { margin-right: auto; }

.tpl-list { display: flex; flex-direction: column; gap: 8px; }
.tpl-item {
  display: flex; flex-direction: column; gap: 10px;
  background: #0f141c;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px;
}
.tpl-item-head { display: flex; flex-direction: column; gap: 2px; }
.tpl-item-name {
  color: var(--text);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.tpl-item-meta { color: var(--muted); font-size: 0.8rem; }
.tpl-item-actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.tpl-item-actions button { font-size: 0.8rem; padding: 5px 12px; }
.tpl-confirm-label { color: var(--warn); font-size: 0.85rem; }

button.danger { color: var(--danger); background: transparent; }
button.danger:hover { border-color: var(--danger); }

.tpl-name-row { margin-bottom: 14px; }
.tpl-name-row label {
  display: flex; flex-direction: column; gap: 6px;
  font-size: 0.85rem; color: var(--text);
}

.tpl-section {
  margin: 18px 0 8px;
  font-size: 0.75rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--text);
}
.tpl-events { display: flex; flex-direction: column; gap: 6px; }
/* one event: a line to tap in the list, or, when open, its fields */
.ev-item {
  background: #0f141c;
  border: 1px solid var(--border);
  border-radius: 10px;
}
.ev-summary {
  display: flex; align-items: center; gap: 10px;
  width: 100%; padding: 9px 12px;
  text-align: left;
}
.ev-sum-text { flex: 1; min-width: 0; }
.ev-sum-name {
  display: block; color: var(--text);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.ev-sum-name.unnamed { color: var(--muted); font-style: italic; }
.ev-sum-from { display: block; font-family: var(--mono); font-size: 0.8rem; color: var(--muted); }
.ev-sum-from.invalid { color: var(--danger); }
.ev-sum-cd { display: inline-flex; color: var(--accent); flex-shrink: 0; }
.ev-chev { display: inline-flex; color: var(--muted); flex-shrink: 0; }
.ev-chev.up { transform: rotate(180deg); }
.ev-item.open {
  border-color: var(--accent);
  padding: 10px;
  display: flex; flex-direction: column; gap: 8px;
}
.ev-line { display: flex; gap: 8px; align-items: center; }
.ev-line .ev-name { flex: 1; min-width: 0; }
/* the takeoff's name is not for editing */
.ev-fixed-name { flex: 1; min-width: 0; padding: 0 2px; color: var(--text); }
.ev-close {
  width: 36px; height: 36px; flex-shrink: 0; padding: 0;
  display: inline-flex; align-items: center; justify-content: center;
  background: transparent; border: none;
}
/* reads as a sentence: 3:15 before Takeoff */
.ev-offset { width: 76px; font-family: var(--mono); flex-shrink: 0; }
.ev-when {
  flex-shrink: 0; min-width: 70px; padding: 10px 8px;
  color: var(--accent); background: #0f141c;
}
.ev-source {
  flex: 1; min-width: 0;
  font: inherit; color: var(--accent);
  background-color: #0f141c;
  border: 1px solid var(--border); border-radius: 8px;
  padding: 10px 8px;
}
.ev-source:focus { outline: none; border-color: var(--accent); }
.ev-foot { justify-content: space-between; }
.ev-foot button { font-size: 0.85rem; padding: 6px 12px; }
.ev-foot-group { display: inline-flex; gap: 8px; }
.ev-wide-toggle {
  display: inline-flex; align-items: center; gap: 6px;
  background: transparent; color: var(--muted);
}
.ev-wide-toggle[aria-pressed="true"] { color: var(--accent); border-color: var(--accent); background: #1c2432; }

/* stopwatch countdown toggle: amber = on (a user choice), grey = off */
.ev-cd {
  width: 36px; height: 36px; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0; border-radius: 8px; cursor: pointer;
  border: 1px solid var(--border); background: transparent; color: var(--muted);
}
.ev-cd:hover { border-color: var(--accent); color: var(--text); }
.ev-cd[aria-pressed="true"] { color: var(--accent); border-color: var(--accent); background: #1c2432; }

.row-x {
  border: none; background: transparent; color: var(--muted);
  cursor: pointer; font-size: 1rem; line-height: 1;
  width: 28px; padding: 4px 0; text-align: center; flex-shrink: 0;
  border-radius: 999px;
}
.row-x:hover { color: var(--danger); }

/* the landing: whether it is listed, and whether to count down to it */
.tpl-takeoff-row {
  display: flex; gap: 8px; align-items: center;
  margin-top: 16px; color: var(--text); font-size: 0.9rem;
}
.tpl-takeoff-row .tpl-takeoff-text {
  flex: 1; min-width: 0; padding: 8px 12px;
  border: 1px dashed var(--border); border-radius: 8px;
}
.tpl-takeoff-row .tpl-takeoff-cd { display: inline-flex; flex-shrink: 0; }
.tpl-landing-text { display: flex; align-items: center; gap: 10px; cursor: pointer; }
.tpl-landing-text input { accent-color: var(--accent); width: 18px; height: 18px; margin: 0; flex-shrink: 0; }

.row-actions { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; }

/* ---- sequence of events: one row per event, the name over where its
   time comes from on the left, local / Zulu on the right ---- */
.soe-row { padding: 10px 2px; border-bottom: 1px solid var(--border); }
.soe-row:last-child { border-bottom: none; }
.soe-main { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.soe-left { min-width: 0; }
.soe-name { color: var(--bright); font-size: 1.05rem; font-weight: 600; overflow-wrap: anywhere; }
.soe-off { font-family: var(--mono); font-size: 0.8rem; color: var(--muted); margin-top: 1px; }
/* three columns so each day sits under its own time */
.soe-times {
  display: grid; grid-template-columns: auto auto auto; column-gap: 0.8ch;
  flex-shrink: 0; justify-items: center;
  font-family: var(--mono); color: var(--bright); white-space: nowrap;
}
.soe-time { font-size: 1.15rem; }
.soe-sep { color: var(--muted); font-size: 1.15rem; }
.soe-day { font-size: 0.75rem; color: var(--muted); margin-top: 1px; }
/* an event whose time can't be worked out yet */
.soe-row.pending .soe-name { color: var(--muted); font-weight: 400; }
.soe-needs { flex-shrink: 0; align-self: center; font-size: 0.85rem; color: var(--muted); }
/* live "time until", beside the name of the event it belongs to */
.soe-countdown { font-size: 0.85rem; font-weight: 400; color: var(--accent); white-space: nowrap; }

/* copy popup: its options (a sliding switch, amber when on), then the
   text exactly as it will be copied */
.copy-opts { display: flex; align-items: center; gap: 10px; margin: 0 0 12px; }
/* each line of the text beside the checkbox that keeps it in */
.copy-inc-label {
  text-align: right; padding-right: 2px; margin-bottom: 4px;
  font-size: 0.75rem; color: var(--text);
}
.copy-preview {
  background: #0f141c; border: 1px solid var(--border); border-radius: 8px;
  padding: 4px 10px;
}
.copy-line {
  display: flex; align-items: center; gap: 10px;
  padding: 5px 0; cursor: pointer;
}
/* a line too long for the row is cut short with … so the box stays on it */
.copy-line-text {
  flex: 1; min-width: 0;
  font-family: var(--mono); font-size: 0.75rem; color: var(--bright);
  white-space: pre; overflow: hidden; text-overflow: ellipsis;
}
.copy-line input {
  accent-color: var(--accent); width: 20px; height: 20px; margin: 0; padding: 0; flex-shrink: 0;
}
.copy-line.left-out .copy-line-text { color: var(--muted); text-decoration: line-through; }
.copy-opt-label { color: var(--text); font-size: 0.9rem; }
.copy-opt-state { color: var(--bright); font-size: 0.9rem; min-width: 2.5ch; }
.switch {
  position: relative; width: 48px; height: 28px; padding: 0;
  border-radius: 999px; border: 1px solid var(--border); background: #0f141c;
  transition: background 0.15s, border-color 0.15s;
}
.switch-knob {
  position: absolute; top: 3px; left: 3px; width: 20px; height: 20px;
  border-radius: 50%; background: var(--muted);
  transition: transform 0.15s, background 0.15s;
}
.switch[aria-checked="true"] { background: #3a2c0f; border-color: var(--accent); }
.switch[aria-checked="true"] .switch-knob { transform: translateX(20px); background: var(--accent); }

.actions { display: flex; gap: 12px; margin-top: 16px; }
.actions button { flex: 1; padding: 14px; font-size: 1.05rem; }

/* ---- slider page ---- */
.slider-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}
.slider-jump { display: flex; gap: 6px; }
.slider-jump button { padding: 8px 10px; }
.slider-controls .step { font-family: var(--mono); min-width: 52px; }
.slider-jump button.active {
  color: var(--accent); border-color: var(--accent); background: #1c2432;
}
.slider-stage {
  position: relative;
  padding: 26px 0 4px;
  touch-action: pan-y;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
}
.slider-stage.dragging { cursor: grabbing; }
.slider-line {
  position: absolute; left: 50%; top: 0; bottom: 0;
  width: 2px; margin-left: -1px;
  background: var(--accent);
  z-index: 5;
  pointer-events: none;
}
.slider-line::before {
  content: '';
  position: absolute; top: -2px; left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: var(--accent);
}
/* faint dashed cursor pinned to the current time; "Currently" sits left of
   its top, the local time right of it, above the Zulu row's readout. The
   two labels are equal flex halves around a gap, so the gap's center (and
   the line) is the container's center; baselines are shared. Parked at a
   screen edge, both labels turn inward. */
.slider-now-line {
  position: absolute; top: 0; bottom: 0; width: 0;
  border-left: 1px dashed rgba(245, 184, 61, 0.55);
  z-index: 4; pointer-events: none;
}
.slider-now-line .snl-top {
  position: absolute; top: 0; left: -100px; width: 200px;
  display: flex; align-items: baseline; gap: 12px;
  font-size: 0.72rem; line-height: 1; color: var(--accent); opacity: 0.85;
}
.slider-now-line .snl-left { flex: 1 1 0; min-width: 0; text-align: right; }
.slider-now-line .snl-right { flex: 1 1 0; min-width: 0; text-align: left; font-family: var(--mono); }
.slider-now-line.at-left .snl-top,
.slider-now-line.at-right .snl-top { width: auto; gap: 6px; }
.slider-now-line.at-left .snl-top { left: 6px; }
.slider-now-line.at-right .snl-top { left: auto; right: 6px; }
.slider-now-line.at-left .snl-left, .slider-now-line.at-left .snl-right,
.slider-now-line.at-right .snl-left, .slider-now-line.at-right .snl-right { flex: none; }
.sl-row { margin-bottom: 18px; }
.sl-row:last-child { margin-bottom: 6px; }
.sl-info { display: flex; align-items: center; }
.sl-label { flex: 1 1 0; min-width: 0; text-align: right; padding-right: 12px; }
.sl-name {
  display: block; color: var(--text); font-size: 0.95rem;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.sl-sub { display: block; color: var(--muted); font-size: 0.75rem; font-family: var(--mono); }
.sl-time {
  flex: 1 1 0; min-width: 0; padding-left: 12px;
  font-family: var(--mono); font-size: 1.5rem; color: var(--bright);
}
.sl-track {
  position: relative; height: 30px; margin-top: 6px;
  overflow: hidden; border-radius: 6px;
}
.sl-strip { position: absolute; inset: 0; will-change: transform; }
/* The sequence of events above the Zulu bar: a tick at each event's time,
   its name rising to the right at 45° so events close together still
   read. The band's height caps a name's length; longer ones end in …. */
.sl-events { position: relative; height: 46px; margin-top: 4px; overflow: hidden; }
.sl-ev-strip { position: absolute; inset: 0; will-change: transform; }
.sl-ev { position: absolute; bottom: 0; width: 0; height: 7px; border-left: 1px solid var(--muted); }
.sl-ev-label {
  position: absolute; left: 3px; bottom: 6px;
  transform-origin: 0 100%; transform: rotate(-45deg);
  max-width: 56px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  font-size: 0.65rem; line-height: 1; color: var(--muted);
}
.sl-ev.on { border-left-color: var(--bright); }
.sl-ev.on .sl-ev-label { color: var(--bright); }
.sl-seg {
  position: absolute; top: 0; bottom: 0;
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
}
/* faint hour ticks over the day/night fill; the 32px period must match
   PX_PER_HOUR in slider.js */
.sl-seg::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image: repeating-linear-gradient(90deg,
    transparent 0, transparent 31px,
    rgba(139, 149, 166, 0.16) 31px, rgba(139, 149, 166, 0.16) 32px);
}
/* days cycle faded red / green / blue; night hours a shade darker */
.sl-night { position: absolute; top: 0; bottom: 0; }
.sl-seg.c0 { background-color: #3d2326; }
.sl-seg.c0 .sl-night { background-color: #281618; }
.sl-seg.c1 { background-color: #1f3826; }
.sl-seg.c1 .sl-night { background-color: #132419; }
.sl-seg.c2 { background-color: #1f2b45; }
.sl-seg.c2 .sl-night { background-color: #131b2d; }
.sl-seg-label {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 1;
  font-size: 0.75rem; color: var(--text); white-space: nowrap;
}

.sz-list { display: flex; flex-direction: column; gap: 8px; margin-bottom: 12px; }
.sz-item {
  display: flex; align-items: center; gap: 8px;
  background: #0f141c;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 8px 12px;
}
.sz-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.sz-name { color: var(--text); font-size: 0.95rem; }
.sz-sub {
  color: var(--muted); font-size: 0.75rem; font-family: var(--mono);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.sz-lock { color: var(--muted); font-size: 0.75rem; flex-shrink: 0; }

/* ---- about page ---- */
.about-line { margin: 0; color: var(--bright); }
.about-line.warn { color: var(--warn); }
.about-muted { color: var(--muted); }
.about-warn { color: var(--warn); }
.about-check { align-items: center; }
.about-result { color: var(--bright); font-size: 0.9rem; }
.about-result.warn { color: var(--warn); }
.about-links { display: flex; gap: 20px; flex-wrap: wrap; }
.about-links a { color: var(--accent); }

/* tighter side margins on phones, where width is short */
@media (max-width: 480px) {
  main { padding-left: 6px; padding-right: 6px; }
  .card { padding-left: 10px; padding-right: 10px; }
}
