/* The billing site, in the look of dfwtechpros.com: black and white, square corners, heavy uppercase type, white buttons on black. The
   menu is black in both themes (like the website's header); the page behind it is black in the dark theme and white in the light one.
   Colour is used only to say that something is wrong (red) or needs a look (amber). No inline styles anywhere: the
   Content-Security-Policy forbids them. */

:root {
  --bg: #050505; --surface: #0b0b0b; --raised: #111111; --hover: #1b1b1b;
  --border: #2b2b2b; --border-strong: #4a4a4a;
  --text: #ffffff; --muted: #b8b8b8; --faint: #8a8a8a;
  --accent: #ffffff; --accent-hover: #dcdcdc; --accent-soft: rgba(255, 255, 255, 0.1); --on-accent: #050505;
  --down: #ff6f6f; --down-soft: rgba(255, 111, 111, 0.14);
  --warn: #f2b84b; --warn-soft: rgba(242, 184, 75, 0.14);
  --info: #d0d0d0; --info-soft: rgba(255, 255, 255, 0.07);
  --side-bg: #050505; --side-text: #ffffff; --side-muted: #b8b8b8; --side-hover: #1b1b1b; --side-line: #2b2b2b;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.55);
  --font: Inter, Arial, Helvetica, sans-serif;
  --mono: "SF Mono", ui-monospace, Consolas, monospace;
  --r-sm: 0; --r-md: 0; --r-lg: 0;
  color-scheme: dark;
}
:root[data-theme="light"] {
  --bg: #f5f5f5; --surface: #ffffff; --raised: #ffffff; --hover: #ececec;
  --border: #dedede; --border-strong: #b4b4b4;
  --text: #050505; --muted: #555555; --faint: #7a7a7a;
  --accent: #050505; --accent-hover: #2b2b2b; --accent-soft: rgba(5, 5, 5, 0.07); --on-accent: #ffffff;
  --down: #b3261e; --down-soft: rgba(179, 38, 30, 0.09);
  --warn: #8f5600; --warn-soft: rgba(143, 86, 0, 0.1);
  --info: #333333; --info-soft: rgba(5, 5, 5, 0.05);
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.16);
  color-scheme: light;
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 14px/1.55 var(--font); -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4 { margin: 0; font-weight: 900; text-transform: uppercase; }
h1 { font-size: 1.7rem; letter-spacing: -0.02em; line-height: 1.1; } h2 { font-size: 0.95rem; letter-spacing: 0.08em; } h3 { font-size: 0.9rem; letter-spacing: 0.06em; }
p { margin: 0 0 0.75rem; }
a { color: inherit; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--faint); } a:hover { text-decoration-color: currentColor; }
code, .mono { font-family: var(--mono); font-size: 0.92em; }
.muted { color: var(--muted); } .faint { color: var(--faint); } .nowrap { white-space: nowrap; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--text); outline-offset: 2px; }
[hidden] { display: none !important; }

/* ---- shell ---- */
.shell { display: grid; grid-template-columns: 240px minmax(0, 1fr); min-height: 100%; }
.sidebar { background: var(--side-bg); color: var(--side-text); border-right: 1px solid var(--side-line); padding: 0 0 38px; display: flex; flex-direction: column; gap: 4px; position: sticky; top: 0; height: 100vh; }
.brand-box { min-width: 0; }
.brand { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 0 0 14px; }
/* the logo is black artwork on white: it sits on a white block at the top of the menu, as it does in the website's header */
.brand-logo { width: 100%; max-width: 240px; height: auto; max-height: 130px; object-fit: contain; display: block; background: #ffffff; padding: 8px 12px; }
.brand-company { background: #ffffff; color: #050505; font-weight: 900; font-size: 1.15rem; line-height: 1.15; text-transform: uppercase; letter-spacing: -0.01em; padding: 14px; width: 100%; overflow-wrap: anywhere; }
.brand-name { font-weight: 900; font-size: 0.68rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--side-muted); padding: 0 16px; }
.nav { display: flex; flex-direction: column; gap: 2px; padding: 4px 12px; }
.nav a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; color: var(--side-muted); font-weight: 800; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.04em; text-decoration: none; }
.nav a:hover { background: var(--side-hover); color: var(--side-text); }
.nav a[aria-current="page"] { background: #ffffff; color: #050505; }
.sidebar .spacer { flex: 1; }
.sidebar .who { padding: 12px 16px 0; margin: 0 0 0; border-top: 1px solid var(--side-line); font-size: 0.82rem; color: var(--side-muted); display: flex; flex-direction: column; gap: 8px; }
.sidebar .who strong { color: var(--side-text); }
.sidebar .btn { background: transparent; color: var(--side-text); border-color: #555555; }
.sidebar .btn:hover { background: var(--side-hover); }
/* the version of the program: fixed in the bottom left corner (over the black menu on a wide screen) */
.version { position: fixed; left: 16px; bottom: 10px; font-size: 0.68rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--faint); pointer-events: none; z-index: 5; }
.version:empty { display: none; }
.main { padding: 28px 34px 60px; max-width: 1280px; width: 100%; }
.page-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 22px; flex-wrap: wrap; }
.page-head p { margin: 6px 0 0; color: var(--muted); }
.actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.crumbs { font-size: 0.72rem; color: var(--muted); margin-bottom: 8px; text-transform: uppercase; letter-spacing: 0.12em; font-weight: 800; }

/* ---- controls ---- */
.btn { font: inherit; font-weight: 900; font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.05em; padding: 10px 16px; border-radius: var(--r-sm); border: 1px solid var(--text); background: transparent; color: var(--text); cursor: pointer; display: inline-flex; align-items: center; gap: 6px; text-decoration: none; }
.btn:hover { background: var(--accent-soft); text-decoration: none; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }
.btn--primary { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.btn--primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
.btn--danger { color: var(--down); border-color: var(--down); background: transparent; }
.btn--danger:hover { background: var(--down-soft); }
.btn--ghost { border-color: var(--border-strong); }
.btn--sm { padding: 5px 10px; font-size: 0.68rem; }
.btn--block { width: 100%; justify-content: center; }
input, select, textarea { font: inherit; color: var(--text); background: var(--bg); border: 1px solid var(--border-strong); border-radius: var(--r-sm); padding: 9px 11px; width: 100%; }
:root[data-theme="light"] input, :root[data-theme="light"] select, :root[data-theme="light"] textarea { background: #ffffff; }
textarea { resize: vertical; min-height: 70px; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--text); outline-offset: 0; border-color: var(--text); }
input[type="checkbox"], input[type="radio"] { width: auto; accent-color: var(--text); }
label { display: block; font-weight: 900; font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 5px; color: var(--muted); }
.field { margin-bottom: 14px; } .field .hint { font-size: 0.78rem; color: var(--faint); margin-top: 4px; }
.check { display: flex; gap: 8px; align-items: center; font-size: 0.9rem; color: var(--text); font-weight: 600; text-transform: none; letter-spacing: 0; }
.check input { margin: 0; }
details summary { cursor: pointer; margin-top: 6px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 16px; }
.chips { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 6px; }
.chip { font: inherit; font-size: 0.68rem; font-weight: 900; text-transform: uppercase; letter-spacing: 0.08em; padding: 5px 11px; border-radius: var(--r-sm); border: 1px solid var(--border-strong); background: transparent; color: var(--muted); cursor: pointer; }
.chip:hover { background: var(--hover); color: var(--text); }
.chip[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.toolbar { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-bottom: 14px; }
.toolbar input[type="search"] { max-width: 300px; } .toolbar select { width: auto; }

/* ---- surfaces ---- */
.panel { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-md); padding: 20px; margin-bottom: 18px; }
.panel > header { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.panel > header h2 { margin: 0; }
.panel > header a { font-size: 0.72rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; }
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; margin-bottom: 18px; }
.tile { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-md); padding: 16px 18px; text-decoration: none; color: var(--text); display: block; }
a.tile:hover { border-color: var(--text); background: var(--raised); text-decoration: none; }
.tile .num { font-size: 1.9rem; font-weight: 900; letter-spacing: -0.03em; line-height: 1.15; }
.tile .lbl { color: var(--muted); font-size: 0.68rem; font-weight: 900; text-transform: uppercase; letter-spacing: 0.12em; margin-top: 4px; }
.tile--warn .num { color: var(--warn); } .tile--down .num { color: var(--down); }
.two { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 18px; align-items: start; }
.kv { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 8px 14px; margin: 0; }
.kv dt { color: var(--muted); font-size: 0.68rem; font-weight: 900; text-transform: uppercase; letter-spacing: 0.1em; padding-top: 3px; } .kv dd { margin: 0; word-break: break-word; }
.notice { border: 1px solid var(--border-strong); border-left: 4px solid var(--text); background: var(--info-soft); border-radius: var(--r-sm); padding: 11px 15px; margin-bottom: 14px; font-size: 0.9rem; }
.notice--warn { border-left-color: var(--warn); background: var(--warn-soft); }
.notice--down { border-left-color: var(--down); background: var(--down-soft); }
.empty { text-align: center; color: var(--muted); padding: 28px 12px; }

/* ---- tables ---- */
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 0.88rem; }
th { text-align: left; font-size: 0.66rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--muted); font-weight: 900; padding: 8px 10px; border-bottom: 2px solid var(--text); white-space: nowrap; }
td { padding: 11px 10px; border-bottom: 1px solid var(--border); vertical-align: middle; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr.clickable { cursor: pointer; } tbody tr.clickable:hover { background: var(--hover); }
td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; }
td .sub, .kv .sub { display: block; color: var(--faint); font-size: 0.78rem; }

/* ---- pills ---- */
.pill { display: inline-block; font-size: 0.64rem; font-weight: 900; text-transform: uppercase; letter-spacing: 0.1em; padding: 3px 8px; border-radius: var(--r-sm); white-space: nowrap; border: 1px solid var(--border-strong); color: var(--muted); }
.pill--ok { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.pill--warn { background: var(--warn-soft); border-color: var(--warn); color: var(--warn); }
.pill--down { background: var(--down-soft); border-color: var(--down); color: var(--down); }
.pill--info { color: var(--text); border-color: var(--text); }

/* ---- modal / toast ---- */
.backdrop { position: fixed; inset: 0; background: rgba(0, 0, 0, 0.7); display: flex; align-items: flex-start; justify-content: center; padding: 6vh 16px; overflow-y: auto; z-index: 50; }
.dialog { background: var(--surface); border: 1px solid var(--text); border-radius: var(--r-lg); box-shadow: var(--shadow); width: 100%; max-width: 560px; padding: 24px; }
.dialog--wide { max-width: 720px; }
.dialog h2 { margin-bottom: 16px; }
.dialog .foot { display: flex; justify-content: flex-end; gap: 8px; margin-top: 18px; }
.toasts { position: fixed; right: 18px; bottom: 18px; display: flex; flex-direction: column; gap: 8px; z-index: 60; }
.toast { background: var(--raised); border: 1px solid var(--border-strong); border-left: 4px solid var(--text); border-radius: var(--r-sm); padding: 11px 15px; box-shadow: var(--shadow); max-width: 360px; }
.toast--error { border-left-color: var(--down); }
.secret { font-family: var(--mono); font-size: 1.15rem; letter-spacing: 0.04em; background: var(--bg); border: 1px dashed var(--text); border-radius: var(--r-sm); padding: 14px; text-align: center; word-break: break-all; user-select: all; margin: 10px 0; }

/* ---- sign-in ---- */
.auth { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 20px; background: var(--bg); }
.auth .card { width: 100%; max-width: 420px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 0 0 28px; box-shadow: var(--shadow); overflow: hidden; }
.auth .card > :not(.brand) { margin-left: 28px; margin-right: 28px; }
.auth .brand { align-items: stretch; padding: 0; gap: 0; }
.auth .brand-logo { max-width: none; max-height: 150px; padding: 14px 20px; }
.auth .brand-name { padding: 12px 28px 0; text-align: center; }
.auth h1 { font-size: 1.2rem; margin-top: 18px; margin-bottom: 6px; text-align: center; }
.auth .lead { text-align: center; color: var(--muted); margin-bottom: 18px; font-size: 0.88rem; }
.qr { display: flex; justify-content: center; margin: 12px 0; } .qr canvas, .qr svg, .qr img { background: #fff; padding: 10px; width: 200px; height: 200px; image-rendering: pixelated; }
.error { color: var(--down); font-size: 0.85rem; margin: 8px 0 0; min-height: 1.2em; }
.code-input { text-align: center; font-family: var(--mono); font-size: 1.4rem; letter-spacing: 0.3em; }

/* ---- bits ---- */
.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li { display: grid; grid-template-columns: 138px minmax(0, 1fr); gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--border); font-size: 0.85rem; }
.timeline li:last-child { border-bottom: 0; } .timeline time { color: var(--faint); }
.theme-toggle { align-self: flex-start; }

/* ---- quotes and invoices ---- */
.preline { white-space: pre-line; }
.link-row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.test-row { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--border); } .test-row .actions input { flex: 1 1 220px; width: auto; }
.lines-editor { display: flex; flex-direction: column; gap: 8px; margin-bottom: 10px; }
.line-head, .line-row { display: grid; grid-template-columns: minmax(0, 1fr) 84px 124px 124px 40px; gap: 8px; align-items: start; }
.line-head { font-size: 0.66rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--muted); font-weight: 900; padding: 0 2px 4px; }
.line-cell { margin: 0; font-weight: 400; font-size: inherit; color: inherit; min-width: 0; text-transform: none; letter-spacing: 0; }
.line-lbl { display: none; font-size: 0.66rem; font-weight: 900; text-transform: uppercase; letter-spacing: 0.12em; color: var(--muted); margin-bottom: 2px; }
.line-amount { display: block; padding: 9px 2px; text-align: right; font-variant-numeric: tabular-nums; }
.line-cell--qty input, .line-cell--price input { text-align: right; }
.line-head span:nth-child(n+2):nth-child(-n+4) { text-align: right; }
.break { display: block; word-break: break-all; }
.sendlog { list-style: none; margin: 0; padding: 0; }
.sendlog li { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: 10px 0; border-bottom: 1px solid var(--border); font-size: 0.88rem; }
.sendlog li:first-child { padding-top: 0; } .sendlog li:last-child { border-bottom: 0; padding-bottom: 0; }
.totals-inputs { margin-top: 14px; }
.doc-totals { margin: 12px 0 0 auto; max-width: 340px; transition: opacity 0.15s; }
.doc-totals.is-stale { opacity: 0.55; }
.doc-totals .hint { font-size: 0.78rem; color: var(--faint); margin: 6px 0 0; }
.totals-dl { display: grid; grid-template-columns: 1fr auto; gap: 4px 18px; margin: 0; }
.totals-dl dd { margin: 0; text-align: right; font-variant-numeric: tabular-nums; }
.totals-dl .grand { font-weight: 900; font-size: 1.1rem; border-top: 2px solid var(--text); padding-top: 6px; }
/* the document as the customer gets it: white paper on either theme, like the PDF (black and white, no accent) */
.doc-paper { background: #ffffff; color: #111111; border: 1px solid #dedede; border-radius: var(--r-md); padding: 28px; margin-bottom: 18px; font-size: 0.88rem; box-shadow: var(--shadow); overflow-wrap: anywhere; }
.doc-paper header { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; border-bottom: 3px solid #050505; padding-bottom: 14px; margin-bottom: 16px; }
.doc-paper img { width: auto; height: auto; max-width: 190px; max-height: 90px; display: block; }
.doc-paper p { margin: 0; white-space: pre-line; }
.doc-paper h2, .doc-paper h3, .doc-paper h4 { color: #050505; }
.paper-company { font-weight: 900; font-size: 1.05rem; text-transform: uppercase; color: #050505; max-width: 220px; }
.paper-title { text-align: right; } .paper-title h2 { margin: 0; font-size: 1.6rem; letter-spacing: 0.02em; }
.paper-number { color: #666666; font-weight: 800; }
.paper-stamp { font-weight: 900; letter-spacing: 0.1em; font-size: 0.8rem; color: #666666; }
.paper-stamp--paid, .paper-stamp--accepted { color: #050505; } .paper-stamp--void, .paper-stamp--declined, .paper-stamp--overdue { color: #b3372d; }
.paper-parties { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-bottom: 10px; }
.paper-parties h4, .paper-block h4 { margin: 0 0 3px; font-size: 0.64rem; letter-spacing: 0.14em; color: #666666; }
.paper-meta { display: flex; flex-wrap: wrap; gap: 4px 22px; padding: 7px 0; margin-bottom: 8px; border-top: 1px solid #dedede; border-bottom: 1px solid #dedede; }
.paper-meta em { font-style: normal; color: #666666; font-size: 0.8rem; }
.paper-doctitle { margin: 6px 0 10px; font-size: 1rem; }
.doc-paper table { color: inherit; }
.paper-lines th { background: #050505; color: #ffffff; font-size: 0.64rem; padding: 8px 9px; border: 0; }
.paper-lines td { padding: 8px 9px; border-bottom: 1px solid #dedede; vertical-align: top; white-space: pre-line; }
.paper-lines tbody tr:nth-child(even) td { background: #f5f5f5; }
.paper-lines td.num, .paper-lines th.num, .paper-totals td.num { white-space: nowrap; }   /* an amount never breaks across lines */
.paper-lines td.empty { color: #666666; text-align: left; }
.paper-totals { width: 290px; max-width: 100%; margin: 12px 0 0 auto; }
.paper-totals td { padding: 3px 9px; border: 0; } .paper-totals tr.grand td { font-weight: 900; background: #f5f5f5; border-top: 2px solid #050505; padding-top: 7px; padding-bottom: 7px; }
.paper-block { margin-top: 16px; }

/* ---- settings: logo choices and number sequences ---- */
.logo-choices { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 12px; margin-bottom: 14px; }
.logo-choice { display: flex; flex-direction: column; gap: 8px; border: 1px solid var(--border-strong); border-radius: var(--r-md); padding: 10px; cursor: pointer; margin: 0; }
.logo-choice:has(input:checked) { border-color: var(--text); outline: 1px solid var(--text); }
.logo-choice.is-disabled { opacity: 0.55; cursor: not-allowed; }
.logo-choice input { width: auto; margin: 0; }
.logo-choice__label { font-weight: 800; font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text); }
.logo-choice__preview { display: flex; align-items: center; justify-content: center; min-height: 84px; background: #ffffff; padding: 8px; }
.logo-choice__preview img { max-width: 100%; max-height: 70px; width: auto; height: auto; }
.logo-none { color: #050505; font-weight: 900; text-transform: uppercase; text-align: center; overflow-wrap: anywhere; }
.numbering-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 10px 0; border-top: 1px solid var(--border); }
.numbering-row input { width: 120px; }

@media (max-width: 960px) {
  .shell { grid-template-columns: minmax(0, 1fr); }
  .sidebar { position: static; height: auto; flex-direction: row; align-items: center; flex-wrap: wrap; padding: 0 0 8px; gap: 6px; }
  .version { position: static; padding: 0 14px 18px; }   /* the menu is a top bar on a phone: the version closes the page instead */
  .brand { padding: 0; } .brand-name { display: none; } .brand-logo { max-width: 150px; max-height: 64px; padding: 4px 8px; }
  .brand-company { padding: 10px 12px; font-size: 0.95rem; width: auto; }
  .nav { order: 3; flex: 1 1 100%; min-width: 0; flex-direction: row; flex-wrap: wrap; gap: 2px; padding: 0 8px; } .nav a { padding: 8px 10px; }
  .sidebar .spacer { display: none; }
  .sidebar .who { border: 0; padding: 0 12px 0 0; flex-direction: row; align-items: center; margin-left: auto; gap: 6px; }
  .sidebar .who > span { display: none; }
  .main { padding: 18px 14px 50px; min-width: 0; }
  .page-head { flex-direction: column; }
  .toolbar input[type="search"] { max-width: none; flex: 1 1 100%; }
  .dialog { padding: 16px; } .backdrop { padding: 3vh 10px; }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .two, .grid2, .grid3 { grid-template-columns: minmax(0, 1fr); }   /* minmax(0, ...) so a wide child (a table) scrolls inside itself instead of widening the page */
  .kv { grid-template-columns: 1fr; gap: 2px 0; } .kv dd { margin-bottom: 8px; }
  .timeline li { grid-template-columns: 1fr; gap: 0; }
  .line-head { display: none; }
  .line-row { grid-template-columns: 1fr 1fr; padding: 10px; border: 1px solid var(--border); background: var(--bg); }
  .line-cell--desc { grid-column: 1 / -1; } .line-lbl { display: block; }
  .line-cell--amount, .line-cell--amount .line-amount { text-align: left; } .line-cell--x { text-align: right; align-self: end; }
  .doc-paper { padding: 16px; } .doc-paper header { flex-direction: column; } .paper-title { text-align: left; }
  .paper-parties { grid-template-columns: 1fr; gap: 10px; }
  .auth .card > :not(.brand) { margin-left: 18px; margin-right: 18px; }
}
@media (max-width: 640px) { .narrow-hide { display: none; } }
