/* Pucca — one page. Tokens first; everything else reads from them. */

:root {
  --bg: #f6f5f1;
  --surface: #ffffff;
  --surface-2: #f0efe9;
  --ink: #1b2230;
  --ink-2: #4a5263;
  --muted: #6b7384;
  --rule: #e2e0d8;
  --rule-strong: #cfccc1;
  --accent: #0f5f4a;
  --accent-ink: #ffffff;
  --accent-soft: #e3f0eb;
  --ok: #1f7a4d;
  --ok-soft: #e4f3ea;
  --warn: #8a5a00;
  --warn-soft: #fff3d6;
  --bad: #a3302a;
  --bad-soft: #fbe7e5;
  --info: #2b5aa8;
  --info-soft: #e7eefb;
  --shadow: 0 1px 2px rgba(27, 34, 48, .06), 0 4px 16px rgba(27, 34, 48, .05);
  --radius: 10px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: ui-monospace, "SFMono-Regular", "Cascadia Mono", Menlo, monospace;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #12161d;
    --surface: #1a1f28;
    --surface-2: #222833;
    --ink: #e8ebf0;
    --ink-2: #c3c8d2;
    --muted: #8e96a6;
    --rule: #2c3340;
    --rule-strong: #3a4352;
    --accent: #4fbf98;
    --accent-ink: #0c1a15;
    --accent-soft: #183a30;
    --ok: #5cc98f;
    --ok-soft: #173426;
    --warn: #f0b84a;
    --warn-soft: #3a2e12;
    --bad: #f08a80;
    --bad-soft: #3d1f1d;
    --info: #8ab2f2;
    --info-soft: #1c2a44;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 4px 16px rgba(0, 0, 0, .25);
    color-scheme: dark;
  }
}

:root[data-theme="dark"] {
  --bg: #12161d;
  --surface: #1a1f28;
  --surface-2: #222833;
  --ink: #e8ebf0;
  --ink-2: #c3c8d2;
  --muted: #8e96a6;
  --rule: #2c3340;
  --rule-strong: #3a4352;
  --accent: #4fbf98;
  --accent-ink: #0c1a15;
  --accent-soft: #183a30;
  --ok: #5cc98f;
  --ok-soft: #173426;
  --warn: #f0b84a;
  --warn-soft: #3a2e12;
  --bad: #f08a80;
  --bad-soft: #3d1f1d;
  --info: #8ab2f2;
  --info-soft: #1c2a44;
  --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 4px 16px rgba(0, 0, 0, .25);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--sticky-h, 0px) + 12px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 14px/1.5 var(--font);
  font-feature-settings: "tnum" 1, "cv11" 1;
}
h1, h2, h3 { margin: 0; letter-spacing: -0.01em; }
code { font-family: var(--mono); font-size: .92em; }
[hidden] { display: none !important; }

.wrap { max-width: 1280px; margin: 0 auto; padding: 0 24px; }

/* -- masthead ---------------------------------------------------------- */
.masthead { background: var(--surface); border-bottom: 1px solid var(--rule); }
.masthead-row { display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding-top: 18px; padding-bottom: 18px; }
.brand { display: flex; align-items: center; gap: 14px; min-width: 0; }
.mark { flex: none; width: 38px; height: 38px; border-radius: 9px; display: grid;
  place-items: center; background: var(--accent); color: var(--accent-ink);
  font-weight: 700; font-size: 20px; }
.brand h1 { font-size: 20px; font-weight: 700; }
.tagline { margin: 0; color: var(--muted); font-size: 13px; }

.badge { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px;
  border-radius: 999px; font-size: 12px; font-weight: 600; white-space: nowrap; }
.badge-sample { background: var(--warn-soft); color: var(--warn);
  border: 1px solid color-mix(in srgb, var(--warn) 35%, transparent); }

/* -- controls ---------------------------------------------------------- */
.controls { position: sticky; top: 0; z-index: 5; background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(8px); border-bottom: 1px solid var(--rule); }
.controls-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 12px 24px; padding-top: 12px; padding-bottom: 12px; }
.docs, .toggles { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; }
.doc-summary { color: var(--muted); font-size: 12.5px; }
/* The receipt for "Reset to sample", beside what is loaded. It fades
   rather than vanishing, so a glance away does not miss it happening. */
.doc-note { display: inline-block; margin-left: 8px; padding: 1px 9px; border-radius: 999px;
  background: var(--accent-soft); color: var(--accent); font-weight: 600;
  transition: opacity .5s ease; }
.doc-note.going { opacity: 0; }
@media (prefers-reduced-motion: reduce) { .doc-note { transition: none; } }

.btn { font: inherit; font-weight: 600; font-size: 13px; padding: 7px 14px; border-radius: 8px;
  border: 1px solid var(--accent); background: var(--accent); color: var(--accent-ink);
  cursor: pointer; line-height: 1.2; white-space: nowrap; }
.btn:hover { filter: brightness(1.06); }
.btn-quiet { background: var(--surface); color: var(--ink); border-color: var(--rule-strong); }
.btn-quiet:hover { border-color: var(--accent); filter: none; }
.btn-small { padding: 4px 10px; font-size: 12px; }
.btn:focus-visible, .input:focus-visible, .tabs button:focus-visible,
.switch input:focus-visible + .track, .segmented input:focus-visible + span {
  outline: 2px solid var(--accent); outline-offset: 2px; }
.file { position: relative; overflow: hidden; }
.file input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }

.input { font: inherit; font-size: 13px; padding: 6px 10px; border-radius: 8px;
  border: 1px solid var(--rule-strong); background: var(--surface); color: var(--ink); }
.gstin { width: 170px; font-family: var(--mono); font-size: 12.5px; text-transform: uppercase; }
.gstin:disabled { background: var(--surface-2); color: var(--muted); border-style: dashed;
  cursor: not-allowed; opacity: .6; }
.num { width: 130px; text-align: right; }
.search { width: 180px; }
.as-of { display: inline-flex; align-items: center; gap: 6px; color: var(--ink-2); font-size: 13px; }

.switch { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; font-weight: 600;
  font-size: 13px; }
.switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.track { width: 36px; height: 20px; border-radius: 999px; background: var(--rule-strong);
  position: relative; transition: background .15s; }
.thumb { position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%;
  background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.25); transition: transform .15s; }
.switch input:checked + .track { background: var(--accent); }
.switch input:checked + .track .thumb { transform: translateX(16px); }

.segmented { display: inline-flex; border: 1px solid var(--rule-strong); border-radius: 8px;
  padding: 2px; margin: 0; background: var(--surface); }
.segmented legend { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.segmented label { position: relative; }
.segmented input { position: absolute; opacity: 0; }
.segmented span { display: block; padding: 4px 12px; border-radius: 6px; font-size: 13px;
  font-weight: 600; color: var(--ink-2); cursor: pointer; }
.segmented input:checked + span { background: var(--accent); color: var(--accent-ink); }
.segmented::before { content: "Basis"; align-self: center; padding: 0 8px 0 6px; color: var(--muted);
  font-size: 12px; font-weight: 500; }

/* -- notes, errors, balance -------------------------------------------- */
main { padding-top: 20px; padding-bottom: 32px; }
.notes { display: flex; flex-wrap: wrap; gap: 6px 18px; padding: 10px 14px; margin-bottom: 16px;
  border-radius: var(--radius); background: var(--warn-soft); color: var(--warn); font-size: 12.5px;
  border: 1px solid color-mix(in srgb, var(--warn) 25%, transparent); }
.error { padding: 10px 14px; margin-bottom: 16px; border-radius: var(--radius);
  background: var(--bad-soft); color: var(--bad); font-weight: 600; }

.balance { background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 16px 20px; margin-bottom: 18px; }
.balance-eq { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 10px 22px; }
.balance-eq .k { display: block; color: var(--muted); font-size: 12px; font-weight: 500; }
.balance-eq .v { display: block; font-size: 22px; font-weight: 700; letter-spacing: -0.02em; }
.balance-eq .op { color: var(--muted); font-size: 22px; padding-bottom: 2px; }
.verdict { margin: 10px 0 0; font-size: 13px; font-weight: 600; }
.verdict.ok { color: var(--ok); }
.verdict.warn { color: var(--warn); }

/* -- tabs and panels --------------------------------------------------- */
.tabs { scroll-margin-top: calc(var(--sticky-h, 0px) + 12px); display: flex; gap: 2px; border-bottom: 1px solid var(--rule); margin-bottom: 0;
  overflow-x: auto; scrollbar-width: none; }
/* At phone width the strip scrolls sideways, and a tab scrolled out of sight
   looked like a tab that did not exist: Income tax and Ask were simply
   missing. A fade on whichever edge has more behind it says they are there.
   The classes are set from JS, so the fade is never shown over nothing. */
.tabs { position: relative; -webkit-mask-image: var(--tab-fade); mask-image: var(--tab-fade); }
.tabs.more-right { --tab-fade: linear-gradient(to right, #000 calc(100% - 28px), transparent); }
.tabs.more-left { --tab-fade: linear-gradient(to left, #000 calc(100% - 28px), transparent); }
.tabs.more-left.more-right { --tab-fade: linear-gradient(to right, transparent, #000 28px,
  #000 calc(100% - 28px), transparent); }
.tabs button { font: inherit; font-weight: 600; font-size: 14px; padding: 10px 16px; border: 0;
  background: none; color: var(--muted); cursor: pointer; border-bottom: 2px solid transparent;
  margin-bottom: -1px; white-space: nowrap; }
.tabs button[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--accent); }
.tabs .count { display: inline-block; margin-left: 6px; padding: 0 7px; border-radius: 999px;
  background: var(--bad-soft); color: var(--bad); font-size: 11.5px; line-height: 18px; }

.panel { background: var(--surface); border: 1px solid var(--rule); border-top: 0;
  border-radius: 0 0 var(--radius) var(--radius); box-shadow: var(--shadow); padding: 18px 20px 20px; }
.panel-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between;
  gap: 12px 20px; margin-bottom: 14px; }
.panel-head h2 { font-size: 16px; font-weight: 700; }
.lede { margin: 2px 0 0; color: var(--muted); font-size: 13px; }
.panel-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.tax-inputs label { display: inline-flex; align-items: center; gap: 8px; color: var(--ink-2);
  font-size: 12.5px; }
.empty { padding: 28px; text-align: center; color: var(--muted); border: 1px dashed var(--rule-strong);
  border-radius: var(--radius); }

/* -- grids ------------------------------------------------------------- */
.grid { width: 100%; }
.ag-theme-quartz, .ag-theme-quartz-dark {
  --ag-font-family: var(--font);
  --ag-font-size: 13px;
  --ag-foreground-color: var(--ink);
  --ag-secondary-foreground-color: var(--muted);
  --ag-background-color: var(--surface);
  --ag-header-background-color: var(--surface-2);
  --ag-odd-row-background-color: var(--surface);
  --ag-row-hover-color: color-mix(in srgb, var(--accent) 6%, transparent);
  --ag-border-color: var(--rule);
  --ag-row-border-color: var(--rule);
  --ag-header-foreground-color: var(--ink-2);
  --ag-active-color: var(--accent);
  --ag-value-change-value-highlight-background-color: color-mix(in srgb, var(--accent) 28%, transparent);
  --ag-wrapper-border-radius: 8px;
  --ag-cell-horizontal-padding: 12px;
  --ag-grid-size: 7px;
}
.ag-theme-quartz .ag-header-cell-label, .ag-theme-quartz-dark .ag-header-cell-label { font-weight: 600; }
.ag-header-group-cell-label { font-weight: 700; color: var(--ink); }
.num-cell { font-variant-numeric: tabular-nums; }
.row-unmatched { --ag-background-color: var(--bad-soft); background: var(--bad-soft) !important; }
.row-attention { background: var(--warn-soft) !important; }
.row-quiet { color: var(--muted); }
/* A rule whose commencement Pucca could not verify: the cell says so under
   the pill, and the tooltip gives both readings. Set a shade smaller so
   "Rule 96A - unsettled" fits the Deadline column without being cut. */
.cell-stack small.flag { color: var(--warn); font-size: 10.5px; letter-spacing: -.1px; }
.ag-row-pinned { font-weight: 700; }

.pill { display: inline-block; padding: 1px 8px; border-radius: 999px; font-size: 11.5px;
  font-weight: 600; line-height: 18px; white-space: nowrap; }
.pill-ok { background: var(--ok-soft); color: var(--ok); }
.pill-warn { background: var(--warn-soft); color: var(--warn); }
.pill-bad { background: var(--bad-soft); color: var(--bad); }
.pill-info { background: var(--info-soft); color: var(--info); }
.pill-muted { background: var(--surface-2); color: var(--muted); }
.cell-stack { display: flex; flex-direction: column; line-height: 1.3; justify-content: center;
  height: 100%; }
.cell-stack small { color: var(--muted); font-size: 11.5px; overflow: hidden; text-overflow: ellipsis;
  white-space: nowrap; }
/* The main line of a stacked cell stays on one line. An id column is sized
   to its content in app.js, so there is nothing to cut there; this is for
   the cells whose first line is prose and whose tooltip carries the rest. */
.cell-stack > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cell-stack > .pill { align-self: flex-start; }
/* A PayPal invoice id is read off the screen and typed back into a
   sandbox lookup, so it is set in the monospace face. */
.cell-stack small.mono { font-family: var(--mono); font-size: 10.5px; letter-spacing: -.1px; }
.grid .ag-cell { display: flex; align-items: center; }
.grid .ag-right-aligned-cell { justify-content: flex-end; }
.grid .ag-cell.cell-wrap { line-height: 1.4; padding-top: 8px; padding-bottom: 8px; }
.cell-wrap .cell-stack { height: auto; gap: 3px; }
/* In a wrapping cell the first line wraps too, so a statement period or a
   bank narration turns onto a second line instead of being cut. Not the
   pill: a pill is a label, and a label broken in two is not one. */
.cell-wrap .cell-stack small, .cell-wrap .cell-stack > span:not(.pill) {
  white-space: normal; overflow: visible; text-overflow: clip; line-height: 1.4; }
.cell-actions { display: flex; gap: 6px; align-items: center; height: 100%; }

.bank-extra { margin-top: 16px; display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.bank-extra section { border: 1px solid var(--rule); border-radius: var(--radius); padding: 12px 14px; }
.bank-extra h3 { font-size: 13px; margin-bottom: 6px; }
.bank-extra ul { margin: 0; padding-left: 18px; color: var(--ink-2); font-size: 12.5px; }

/* -- income tax -------------------------------------------------------- */
.cards { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  margin-bottom: 16px; }
.card { border: 1px solid var(--rule); border-radius: var(--radius); padding: 16px 16px 14px;
  background: var(--surface); display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.card .label { color: var(--muted); font-size: 12px; font-weight: 600; text-transform: uppercase;
  letter-spacing: .04em; }
.card .figure { font-size: 26px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; }
.card .sub { color: var(--ink-2); font-size: 12.5px; }
.card .cite { color: var(--muted); font-size: 11.5px; }
.card.attention { border-color: color-mix(in srgb, var(--warn) 55%, transparent); background: var(--warn-soft); }
.card.attention .figure, .card.attention .action { color: var(--warn); }
.card .action { font-weight: 700; font-size: 13px; }
.card.quiet .figure { color: var(--muted); font-size: 18px; }
.warning { padding: 10px 14px; margin-bottom: 14px; border-radius: var(--radius);
  background: var(--warn-soft); color: var(--warn); font-size: 13px; }
.assumptions { border: 1px solid var(--rule); border-radius: var(--radius); padding: 12px 16px; }
.assumptions summary { cursor: pointer; font-weight: 700; }
.assumptions ol { margin: 10px 0 0; padding-left: 22px; color: var(--ink-2); font-size: 13px; }
.assumptions li + li { margin-top: 6px; }

/* -- reminder dialog --------------------------------------------------- */
.modal { border: 1px solid var(--rule); border-radius: 14px; padding: 0; width: min(620px, calc(100vw - 32px));
  background: var(--surface); color: var(--ink); box-shadow: 0 20px 60px rgba(0,0,0,.25); }
.modal::backdrop { background: rgba(15, 20, 28, .45); }
.modal form { padding: 22px 24px; }
.modal h2 { font-size: 17px; }
.r-meta { display: grid; grid-template-columns: max-content 1fr; gap: 4px 16px; margin: 14px 0;
  font-size: 13px; }
.r-meta dt { color: var(--muted); }
.r-meta dd { margin: 0; }
.r-mail { border: 1px solid var(--rule); border-radius: var(--radius); background: var(--surface-2);
  padding: 12px 14px; }
.r-subject { margin: 0 0 8px; font-weight: 700; }
.r-note, .r-cmd { margin: 0; white-space: pre-wrap; font-family: var(--font); font-size: 13px; }
.r-send { margin: 14px 0 6px; color: var(--muted); font-size: 12.5px; }
.r-cmd { font-family: var(--mono); font-size: 12px; padding: 10px 12px; border-radius: 8px;
  background: var(--surface-2); border: 1px solid var(--rule); overflow-x: auto; white-space: pre; }
.coverage { margin: 0 0 12px; font-size: 13px; color: var(--ink-2); }
.coverage summary { cursor: pointer; font-weight: 600; }
.coverage .cov-flag { color: var(--warn); }
.cov-periods { margin: 8px 0; padding-left: 20px; color: var(--muted); font-size: 12.5px; }
.cov-finding { border: 1px solid var(--rule); border-left: 3px solid var(--warn); border-radius: var(--radius);
  background: var(--surface-2); padding: 8px 12px; margin: 8px 0; }
.cov-finding p { margin: 0 0 4px; color: var(--ink); }
.cov-finding ul { margin: 0; padding-left: 18px; color: var(--muted); font-size: 12.5px; }
.cov-note { margin: 8px 0 0; color: var(--muted); font-size: 12.5px; }
.modal-wide { width: min(900px, calc(100vw - 32px)); }
.x-checks { list-style: none; margin: 10px 0; padding: 0; font-size: 13px; }
.x-checks li { padding: 2px 0; }
.x-checks .ok::before { content: "\2713  "; color: var(--ok, #0f5f4a); font-weight: 700; }
.x-checks .bad::before { content: "\2717  "; color: var(--bad, #a4262c); font-weight: 700; }
.x-refused { white-space: pre-wrap; color: var(--bad, #a4262c); }
.x-rows-wrap { max-height: 40vh; overflow: auto; border: 1px solid var(--rule); border-radius: var(--radius); }
.x-rows { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.x-rows th, .x-rows td { text-align: left; padding: 6px 10px; border-bottom: 1px solid var(--rule); vertical-align: top; }
.x-rows td:first-child { font-family: var(--mono); font-size: 11.5px; background: var(--surface-2); }
.x-rows td.x-whole { white-space: nowrap; }
.modal-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 18px; }

/* -- footer ------------------------------------------------------------ */
/* -- Ask your books ---------------------------------------------------- */
.ask-mode { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: 0 0 10px;
  color: var(--ink-2); font-size: 13px; }
.ask-notice { padding: 10px 14px; margin-bottom: 12px; border-radius: var(--radius); font-size: 12.5px;
  background: var(--info-soft); color: var(--ink);
  border: 1px solid color-mix(in srgb, var(--info) 25%, transparent); }
.ask-form { display: flex; gap: 8px; }
.ask-q { flex: 1; min-width: 0; font-size: 14px; padding: 8px 12px; }
.ask-examples { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 16px; }
.chip { font: inherit; font-size: 12.5px; padding: 4px 11px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--rule-strong); background: var(--surface); color: var(--ink-2); }
.chip:hover { border-color: var(--accent); color: var(--accent); }
.chip:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.ask-answer { border: 1px solid var(--rule); border-radius: var(--radius); background: var(--surface);
  box-shadow: var(--shadow); padding: 16px 18px; }
/* A refusal is a designed state, in the same voice as unmatched money. */
.ask-answer.refused { background: var(--bad-soft);
  border-color: color-mix(in srgb, var(--bad) 40%, transparent); }
.ask-answer.pending { opacity: .7; }
.ask-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 8px; margin-bottom: 10px; }
.ask-q-echo { font-weight: 600; overflow-wrap: anywhere; }
.ask-text { margin: 0; white-space: pre-wrap; line-height: 1.65; overflow-wrap: anywhere; }
.fact { text-decoration: underline dotted var(--accent); text-decoration-thickness: 1.5px;
  text-underline-offset: 3px; cursor: help; font-variant-numeric: tabular-nums; }
.fact sup { margin-left: 1px; color: var(--muted); font-size: 10px; }
.fact:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 2px; }
.ask-k { margin: 14px 0 4px; color: var(--muted); font-size: 11.5px; font-weight: 600;
  letter-spacing: .04em; text-transform: uppercase; }
.ask-sources { margin: 0; padding-left: 24px; color: var(--ink-2); font-family: var(--mono);
  font-size: 12px; overflow-wrap: anywhere; }
.ask-foot { margin: 12px 0 0; color: var(--muted); font-size: 12px; overflow-wrap: anywhere; }

.footer { color: var(--muted); font-size: 12.5px; padding-bottom: 36px; }
.footer p { margin: 4px 0; }

@media (max-width: 720px) {
  .wrap { padding: 0 16px; }
  .controls { position: static; }
  .controls-row, .docs, .toggles { justify-content: flex-start; }
  .balance-eq .v { font-size: 18px; }
  .panel { padding: 14px 12px 16px; }
  .search, .num { width: 100%; }
  .tax-inputs, .tax-inputs label { width: 100%; justify-content: space-between; }
  /* Five tabs do not fit on a phone however tight they are, so they scroll;
     tighter padding puts three and a half on screen instead of two and a
     half, and the fade above says the rest are there. */
  /* On a phone the tagline was squeezed into the column left over beside
     the badge and wrapped to four lines, taking a quarter of the first
     screen. Let the badge sit on its own row and the words have the width. */
  .masthead-row { flex-wrap: wrap; gap: 6px 12px; }
  .brand { flex: 1 1 100%; gap: 12px; }
  .tagline { font-size: 12.5px; }
  .tabs button { font-size: 13px; padding: 10px 10px; }
  .tabs .count { margin-left: 4px; padding: 0 5px; font-size: 11px; }
}
