:root {
  --bg: #f3f4f7; --card: #ffffff; --text: #1a1c20; --muted: #6f7480;
  --line: #e5e7ec; --field: #f3f4f7; --hover: rgba(20, 25, 40, .04);
  --accent: #3b5bdb; --accent-soft: #edf1ff; --on-accent: #ffffff; --danger: #d6336c;
  --shadow: 0 1px 2px rgba(20, 25, 40, .05), 0 4px 16px rgba(20, 25, 40, .04);
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #131417; --card: #1d1f24; --text: #eceef2; --muted: #9096a1;
    --line: #2b2e35; --field: #26292f; --hover: rgba(255, 255, 255, .04);
    --accent: #8b9dff; --accent-soft: #262b45; --on-accent: #10131f; --danger: #ff6b9a;
    --shadow: none;
  }
}
* { box-sizing: border-box; }
html { color-scheme: light dark; }
body {
  margin: 0; min-height: 100dvh; background: var(--bg); color: var(--text);
  font: 16px/1.4 "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, sans-serif;
  -webkit-tap-highlight-color: transparent;
}
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
input { font: inherit; color: inherit; background: none; border: 0; outline: 0; }
ul { list-style: none; margin: 0; padding: 0; }
svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; display: block; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
input:focus-visible, .txt[contenteditable]:focus-visible { outline: 0; }
::placeholder { color: var(--muted); }

/* ---------- page ---------- */
body[data-layout="A"] { --w: 600px; }
body[data-layout="B"] { --w: 1320px; }
body[data-layout="C"] { --w: 480px; }
.top { max-width: var(--w); margin: 0 auto; padding: 28px 20px 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.top h1 { margin: 0; font-size: 28px; font-weight: 700; letter-spacing: -.02em; line-height: 1.15; }
.top p { margin: 2px 0 0; color: var(--muted); font-size: 14px; white-space: nowrap; }
main { max-width: var(--w); margin: 0 auto; padding: 0 16px 40px; display: grid; grid-template-columns: 1fr; gap: 16px; align-items: start; }

.tools { display: flex; align-items: center; gap: 6px; flex: none; }
#lockBtn { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; color: var(--muted); }
#lockBtn.on { color: var(--accent); }
#lockBtn.on .shackle { d: path("M8 11V7a4 4 0 0 1 8 0v4"); }
@media (hover: hover) { #lockBtn:hover { background: var(--line); color: var(--text); } }

/* layout switcher */
.layouts { display: inline-flex; flex: none; background: var(--line); padding: 3px; border-radius: 10px; }
.layouts button { padding: 7px 11px; border-radius: 7px; font-size: 12px; font-weight: 600; color: var(--muted); }
.layouts button[aria-pressed="true"] { background: var(--card); color: var(--text); box-shadow: 0 1px 2px rgba(0, 0, 0, .1); }

/* A and C show one list at a time; B shows both */
body:not([data-layout="B"])[data-tab="fixed"] .col:not([data-list="fixed"]),
body:not([data-layout="B"])[data-tab="todo"] .col:not([data-list="todo"]),
body:not([data-layout="B"])[data-tab="reminders"] .col:not([data-list="reminders"]) { display: none; }
@media (min-width: 720px) { body[data-layout="B"] main { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { body[data-layout="B"] main { grid-template-columns: 1fr 1fr 1fr; } }

/* ---------- list card ---------- */
.col { background: var(--card); border-radius: 16px; overflow: hidden; padding-bottom: 8px; box-shadow: var(--shadow); }
.head { display: flex; justify-content: space-between; align-items: baseline; padding: 16px 18px 9px; }
.head h2 { margin: 0; font-size: 12px; letter-spacing: .09em; text-transform: uppercase; color: var(--muted); }
body:not([data-layout="B"]) .head h2 { display: none; }  /* the tab already names the list */
.count { font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; min-height: 18px; }
.count.all { color: var(--accent); font-weight: 600; }
.is-empty .meter, .is-empty .count { display: none; }
body:not([data-layout="B"]) .is-empty .head { padding: 12px 0 0; }
body[data-layout="B"] .is-empty .head { padding-bottom: 12px; }
.meter { height: 4px; background: var(--line); margin: 0 18px 12px; border-radius: 2px; overflow: hidden; }
.meter i { display: block; height: 100%; width: 0; background: var(--accent); border-radius: 2px; transition: width .25s ease; }

/* ---------- add bar ---------- */
.add { display: flex; align-items: center; gap: 8px; margin: 0 12px 8px; padding: 0 6px 0 12px; height: 48px; background: var(--field); border-radius: 12px; }
.add:focus-within { box-shadow: 0 0 0 2px var(--accent); }
.add .plus { color: var(--accent); font-size: 22px; line-height: 1; width: 20px; text-align: center; }
.add input[name="text"] { flex: 1; min-width: 0; height: 100%; }
.add input[type="time"] { flex: none; color: var(--text); font-size: 14px; margin-right: 6px; }
.add .clock { flex: none; width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; color: var(--muted); }
.add .parsed { flex: none; font-size: 12px; font-weight: 600; color: var(--accent); background: var(--accent-soft); padding: 4px 8px; border-radius: 7px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.add .go { flex: none; height: 36px; padding: 0 14px; border-radius: 9px; background: var(--accent); color: var(--on-accent); font-size: 14px; font-weight: 600; }
.add input[name="text"]:placeholder-shown ~ .go { display: none; }   /* Add appears once you type */
.row.new { animation: flash 1.6s ease-out; }
@keyframes flash { 0%, 35% { background: var(--accent-soft); } 100% { background: transparent; } }

/* ---------- rows ---------- */
.row { display: flex; align-items: center; gap: 10px; padding: 0 8px 0 18px; min-height: 48px; }
.chk {
  position: relative; flex: none; width: 22px; height: 22px; border-radius: 50%;
  border: 1.5px solid var(--muted); background: var(--card); display: grid; place-items: center;
}
.chk::before { content: ""; position: absolute; inset: -11px; }                 /* bigger tap area */
.chk::after { content: ""; width: 5px; height: 10px; margin-top: -2px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); opacity: 0; }
.done .chk { background: var(--accent); border-color: var(--accent); }
.done .chk::after { opacity: 1; }
.txt { flex: 1; min-width: 0; padding: 12px 6px; margin-left: -2px; overflow-wrap: anywhere; border-radius: 8px; cursor: text; }
.txt[contenteditable] { background: var(--field); box-shadow: 0 0 0 2px var(--accent); }
.done .txt { color: var(--muted); text-decoration: line-through; }
.del { flex: none; width: 36px; height: 36px; border-radius: 9px; display: grid; place-items: center; color: var(--muted); opacity: .7; }
.del svg { width: 16px; height: 16px; }
.empty { padding: 26px 24px 30px; text-align: center; color: var(--muted); font-size: 14px; line-height: 1.55; }
.empty b { display: block; color: var(--text); font-size: 16px; margin-bottom: 4px; }
kbd { font: inherit; color: var(--text); background: var(--field); padding: 1px 6px; border-radius: 5px; white-space: nowrap; }

.done-bar { display: flex; justify-content: space-between; align-items: center; padding: 4px 10px 0 12px; margin-top: 4px; border-top: 1px solid var(--line); }
.done-toggle, .clear-done { color: var(--muted); font-size: 13px; padding: 11px 8px; border-radius: 8px; }

@media (hover: hover) {
  .row:hover { background: var(--hover); }
  .chk:hover { border-color: var(--accent); }
  .chk:hover::after { opacity: .9; border-color: var(--accent); }
  .done .chk:hover::after { border-color: #fff; }
  .del { opacity: .3; }
  .row:hover .del, .del:focus-visible { opacity: 1; }
  .del:hover { color: var(--danger); background: var(--accent-soft); }
  .add .clock:hover, .done-toggle:hover, .clear-done:hover { color: var(--text); background: var(--hover); }
  .layouts button:hover { color: var(--text); }
}

/* ---------- Fixed rows: time on the right (A, B) ---------- */
.timeline .row { align-items: stretch; }
.time, .time-edit { flex: none; align-self: center; order: 1; font-size: 13px; font-variant-numeric: tabular-nums; }
.time { min-width: 40px; height: 36px; padding: 0 6px; border-radius: 8px; color: var(--muted); display: grid; place-items: center end; white-space: nowrap; }
.time svg { width: 16px; height: 16px; }
.time.unset { opacity: .45; }
.time-edit { height: 36px; padding: 0 4px; border-radius: 8px; background: var(--field); box-shadow: 0 0 0 2px var(--accent); }
.next .time { color: var(--accent); font-weight: 600; }
.next .chk { border-color: var(--accent); }
.timeline .rail { position: relative; flex: none; width: 22px; display: grid; align-items: center; }
.timeline .del { align-self: center; order: 2; }
@media (hover: hover) {
  .time:hover { background: var(--hover); color: var(--text); opacity: 1; }
  body:not([data-layout="C"]) .time.unset { opacity: 0; }
  body:not([data-layout="C"]) .row:hover .time.unset, body:not([data-layout="C"]) .time.unset:focus-visible { opacity: .6; }
}

/* time-of-day group headings in Fixed */
.group { padding: 14px 18px 4px; font-size: 11px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--muted); }
.group:first-child { padding-top: 6px; }

/* tick reward (all layouts) */
.chk.pop { animation: pop .45s cubic-bezier(.2, 1.6, .4, 1); }
@keyframes pop {
  0% { transform: scale(.6); box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 60%, transparent); }
  60% { transform: scale(1.2); }
  100% { transform: scale(1); box-shadow: 0 0 0 14px transparent; }
}

/* ---------- Timeline (C): header with progress ring, next task and streak ---------- */
.hero, .now { display: none; }
body[data-layout="C"] .col[data-list="fixed"]:not(.is-empty) .hero { display: flex; align-items: center; gap: 14px; padding: 18px 18px 16px; }
body[data-layout="C"] .col[data-list="fixed"]:not(.is-empty) :is(.head, .meter) { display: none; }
.ring-wrap { position: relative; flex: none; width: 68px; height: 68px; }
.ring { width: 68px; height: 68px; transform: rotate(-90deg); stroke-width: 6; }
.ring .track { stroke: var(--line); }
.ring .bar { stroke: var(--accent); stroke-dasharray: 0 100; transition: stroke-dasharray .6s cubic-bezier(.2, .8, .2, 1); }
.hero.zero .ring .bar { stroke-opacity: 0; }
.hero.complete .ring { filter: drop-shadow(0 0 7px color-mix(in srgb, var(--accent) 70%, transparent)); }
.pct { position: absolute; inset: 0; display: grid; place-items: center; font-size: 15px; font-weight: 700; font-variant-numeric: tabular-nums; }
.hero-text { flex: 1; min-width: 0; display: grid; gap: 3px; }
.hero-count { font-size: 19px; font-weight: 700; letter-spacing: -.01em; }
.hero.complete .hero-count { color: var(--accent); }
.hero-next { font-size: 13px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.streak { flex: none; font-size: 14px; font-weight: 700; padding: 6px 11px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); font-variant-numeric: tabular-nums; }

/* ---------- Timeline (C): rows on a rail, time on the left ---------- */
body[data-layout="C"] .timeline { --rail-x: 106px; padding-bottom: 6px; }   /* 8 pad + 76 time + 10 gap + 12 */
body[data-layout="C"] .timeline .row { position: relative; padding-left: 8px; min-height: 56px; background: none; }
body[data-layout="C"] .timeline .row > * { position: relative; z-index: 1; }
body[data-layout="C"] .timeline :is(.time, .time-edit) { order: 0; }
body[data-layout="C"] .timeline .time { width: 76px; font-weight: 600; color: var(--text); }
body[data-layout="C"] .timeline .time.unset { color: var(--muted); }
body[data-layout="C"] .timeline .past .time { color: var(--muted); font-weight: 400; }
body[data-layout="C"] .timeline .rail { width: 26px; }
body[data-layout="C"] .timeline .chk { width: 26px; height: 26px; border-width: 2px; }
body[data-layout="C"] .timeline .chk::after { width: 6px; height: 11px; }
body[data-layout="C"] .timeline .txt { font-size: 17px; }
/* the rail: grey ahead, accent through finished tasks */
body[data-layout="C"] .timeline .rail::before { content: ""; position: absolute; left: 12px; top: 0; bottom: 0; width: 2px; background: var(--line); }
body[data-layout="C"] .timeline .done .rail::before { background: var(--accent); }
body[data-layout="C"] .timeline .row:first-child .rail::before,
body[data-layout="C"] .timeline .group + .row .rail::before { top: 50%; }
body[data-layout="C"] .timeline .row:last-child .rail::before,
body[data-layout="C"] .timeline .row:has(+ .group) .rail::before { bottom: 50%; }
body[data-layout="C"] .timeline .done .chk { box-shadow: 0 0 0 4px var(--accent-soft); }
body[data-layout="C"] .timeline .past:not(.done) .chk { border-style: dashed; }
/* next up: soft card behind the row and a pulsing node */
body[data-layout="C"] .timeline .next::before { content: ""; position: absolute; inset: 3px 6px; border-radius: 14px; background: var(--accent-soft); z-index: 0; }
body[data-layout="C"] .timeline .next .time { color: var(--accent); font-weight: 700; }
body[data-layout="C"] .timeline .next .txt { font-weight: 600; }
body[data-layout="C"] .timeline .next .chk { border-color: var(--accent); animation: pulse 2s ease-out infinite; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 55%, transparent); }
  100% { box-shadow: 0 0 0 12px transparent; }
}
/* "now" marker: current time, dot on the rail, line across */
body[data-layout="C"] .timeline .now { display: flex; align-items: center; gap: 10px; position: relative; height: 26px; padding-left: 8px; }
body[data-layout="C"] .timeline .now span { width: 76px; padding-right: 6px; text-align: right; font-size: 12px; font-weight: 700; color: var(--danger); font-variant-numeric: tabular-nums; white-space: nowrap; }
body[data-layout="C"] .timeline .now i { position: relative; z-index: 1; flex: none; width: 26px; height: 10px; display: grid; place-items: center; }
body[data-layout="C"] .timeline .now i::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--danger); box-shadow: 0 0 0 4px color-mix(in srgb, var(--danger) 22%, transparent); }
body[data-layout="C"] .timeline .now::after { content: ""; flex: 1; height: 2px; margin: 0 16px 0 -14px; border-radius: 1px; background: linear-gradient(90deg, var(--danger), transparent); }
body[data-layout="C"] .timeline .now::before { content: ""; position: absolute; left: var(--rail-x); top: 0; height: 50%; width: 2px; background: var(--line); }
body[data-layout="C"] .timeline .now.mid::before { height: 100%; }
body[data-layout="C"] .timeline .now:first-child::before { display: none; }
@media (prefers-reduced-motion: reduce) { .chk.pop, .row.new, body[data-layout="C"] .timeline .next .chk { animation: none; } }

/* ---------- tabs: segmented control on top (A) ---------- */
.tabs {
  display: flex; gap: 4px; width: calc(100% - 32px); max-width: calc(var(--w) - 32px); margin: 0 auto 14px;
  background: var(--line); padding: 4px; border-radius: 12px;
}
.tabs button { flex: 1; display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 40px; border-radius: 9px; color: var(--muted); font-size: 14px; font-weight: 600; }
.tabs button svg { display: none; }
.tabs .badge { font-weight: 400; font-variant-numeric: tabular-nums; }
.tabs button[aria-current="true"] { background: var(--card); color: var(--text); box-shadow: 0 1px 2px rgba(0, 0, 0, .1); }

/* ---------- tabs: hidden (B) ---------- */
body[data-layout="B"] .tabs { display: none; }

/* ---------- tabs: bottom bar (C) ---------- */
body[data-layout="C"] main { padding-bottom: calc(92px + env(safe-area-inset-bottom)); }
body[data-layout="C"] .tabs {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 5; gap: 0;
  width: 100%; max-width: none; margin: 0; border-radius: 0;
  background: var(--card); border-top: 1px solid var(--line);
  padding: 0 0 env(safe-area-inset-bottom);
}
body[data-layout="C"] .tabs button {
  display: grid; grid-template-columns: auto auto; justify-content: center; column-gap: 4px; row-gap: 3px;
  min-height: 58px; padding: 9px 0; font-size: 12px; border-radius: 0; background: none; box-shadow: none; color: var(--muted);
}
body[data-layout="C"] .tabs button svg { display: block; grid-column: 1 / -1; justify-self: center; width: 22px; height: 22px; }
body[data-layout="C"] .tabs button[aria-current="true"] { color: var(--accent); }
body[data-layout="C"] #toast { bottom: calc(74px + env(safe-area-inset-bottom)); }

/* ---------- toast ---------- */
#toast {
  position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%);
  display: flex; align-items: center; gap: 10px; padding: 6px 6px 6px 16px;
  background: #16181d; color: #fff; border-radius: 12px; font-size: 14px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, .35); max-width: calc(100vw - 32px); z-index: 10;
}
#toast span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#toast button { flex: none; color: #a8b7ff; font-weight: 600; padding: 9px 12px; border-radius: 8px; }
#toast button:hover { background: rgba(255, 255, 255, .1); }

#toast.plain { padding: 12px 16px; }

/* ---------- PIN: lock screen and dialog ---------- */
body[data-locked] > :not(#lock) { display: none !important; }
#lock { position: fixed; inset: 0; z-index: 20; display: grid; place-items: center; padding: 24px; background: var(--bg); }
.lock-card { width: min(320px, 100%); display: grid; gap: 12px; text-align: center; justify-items: stretch; }
.lock-card img { justify-self: center; border-radius: 16px; margin-bottom: 4px; }
.lock-card h2 { margin: 0; font-size: 22px; letter-spacing: -.01em; }
.lock-card p { margin: 0; color: var(--muted); font-size: 14px; }
.lock-card input, #pinDialog input {
  height: 48px; border-radius: 12px; padding: 0 14px; background: var(--card); border: 1.5px solid var(--line);
  font-size: 20px; letter-spacing: .3em; width: 100%;
}
.lock-card input { text-align: center; margin-top: 8px; }
.lock-card input::placeholder { letter-spacing: normal; font-size: 16px; }
.lock-card input:focus, dialog input:focus { border-color: var(--accent); }
.primary { height: 46px; padding: 0 16px; border-radius: 12px; background: var(--accent); color: var(--on-accent); font-weight: 600; }
.primary:disabled, .secondary:disabled { opacity: .6; cursor: default; }
.secondary { height: 46px; padding: 0 16px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--card); color: var(--text); font-weight: 600; }
.link { justify-self: center; color: var(--muted); font-size: 13px; padding: 8px 12px; border-radius: 8px; text-decoration: underline; text-underline-offset: 3px; }
.err { margin: 0; min-height: 20px; color: var(--danger) !important; font-size: 13px; }

dialog { border: 0; border-radius: 18px; padding: 22px; width: min(380px, calc(100vw - 32px)); background: var(--card); color: var(--text); box-shadow: 0 20px 60px rgba(0, 0, 0, .35); }
dialog::backdrop { background: rgba(10, 12, 18, .55); }
dialog h2 { margin: 0 0 6px; font-size: 19px; }
dialog p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.5; }
dialog label { display: grid; gap: 6px; margin-top: 14px; font-size: 13px; color: var(--muted); }
dialog input { background: var(--field); }
dialog .warn { margin-top: 14px; font-size: 13px; padding: 10px 12px; border-radius: 10px; background: var(--field); }
dialog .err { margin-top: 10px; }
.actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 12px; }
.actions button { height: 42px; padding: 0 16px; border-radius: 10px; font-weight: 600; }
.actions button:not(.primary) { color: var(--muted); }
.menu { display: grid; gap: 8px; margin-top: 16px; }
.menu button { height: 46px; padding: 0 14px; border-radius: 10px; background: var(--field); text-align: left; font-weight: 600; }
@media (hover: hover) { .menu button:hover, .actions button:not(.primary):hover { background: var(--line); color: var(--text); } }

/* ---------- reminders ---------- */
.rem .txt { display: grid; gap: 1px; padding: 9px 6px; cursor: pointer; }
.rem .txt b { font-weight: 400; }
.rem .txt small { font-size: 12.5px; color: var(--muted); text-decoration: none; }
.rem.done .txt b { color: var(--muted); text-decoration: line-through; }
.rem.done .txt { text-decoration: none; }
.prog { flex: none; font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.rem:not(.done) .prog { color: var(--accent); font-weight: 600; }
.undo-tick { flex: none; width: 32px; height: 32px; border-radius: 8px; color: var(--muted); font-size: 20px; line-height: 1; }
.notice { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 10px 12px 6px; padding: 10px 12px; border-radius: 12px; background: var(--field); font-size: 13px; color: var(--muted); line-height: 1.45; }
.notice span { flex: 1 1 180px; }
.notice button { flex: none; height: 34px; padding: 0 12px; border-radius: 9px; font-weight: 600; color: var(--accent); background: var(--card); }
@media (hover: hover) { .undo-tick:hover { background: var(--hover); color: var(--text); } .notice button:hover { background: var(--accent-soft); } }

#remDialog input:not([type="radio"]), #remDialog select {
  height: 44px; width: 100%; min-width: 0; padding: 0 12px; border-radius: 10px; background: var(--field); border: 1.5px solid var(--line);
  font: inherit; color: var(--text);
}
#remDialog input:focus, #remDialog select:focus { border-color: var(--accent); outline: 0; }
#remDialog .seg { display: flex; gap: 4px; margin-top: 16px; padding: 4px; border-radius: 12px; background: var(--line); }
#remDialog .seg label { flex: 1; margin: 0; display: block; }
#remDialog .seg input { position: absolute; opacity: 0; pointer-events: none; }
#remDialog .seg span { display: grid; place-items: center; height: 38px; border-radius: 9px; font-size: 14px; font-weight: 600; color: var(--muted); cursor: pointer; }
#remDialog .seg input:checked + span { background: var(--card); color: var(--text); box-shadow: 0 1px 2px rgba(0, 0, 0, .1); }
#remDialog .seg input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
#remDialog .fields { display: grid; grid-template-columns: 1fr 1fr; gap: 0 10px; }
#remDialog .fields .wide { grid-column: 1 / -1; }
#remDialog .pair { display: grid; grid-template-columns: 1fr 1.4fr; gap: 8px; }
#remDialog form[data-kind="at"] .k-every, #remDialog form[data-kind="every"] .k-at { display: none; }
#remDialog .preview { margin-top: 14px; min-height: 21px; color: var(--accent); }
#remDialog .grow { flex: 1; }
#remDialog .danger { color: var(--danger); }

/* ---------- phone ---------- */
@media (max-width: 719px) {
  .top { padding: 20px 16px 14px; }
  main { padding-left: 10px; padding-right: 10px; }
  .tabs { width: calc(100% - 20px); }
  .row { padding-left: 14px; }
  .head { padding-left: 14px; padding-right: 14px; }
  .meter { margin-left: 14px; margin-right: 14px; }
  .add { margin-left: 8px; margin-right: 8px; }
}
