/* ==========================================================================
   Larström Client Portal — portal.larstrom.com
   Self-contained: no CDN, no webfonts, no third-party requests.
   Palette from the brand shield (same tokens as larstrom.com):
     navy #0B0F4F (17.6:1 on white) · cyan #01C8EF (2.0:1 on white — graphics
     and dark backgrounds ONLY, never small text on light) · lime/green chevron.
   Bump ASSET_VERSION in app/views/layout.php when this file changes.
   ========================================================================== */

:root {
  --navy: #0B0F4F;
  --navy-800: #141A63;
  --navy-700: #1E2678;
  --cyan: #01C8EF;
  --cyan-dim: #0FA6C6;
  --lime: #8DDA50;
  --green: #21A559;

  --ink: #10132E;
  --body: #3F455E;
  --muted: #646A80;
  --line: #E2E5EF;
  --line-strong: #CDD2E0;
  --tint: #F4F6FB;
  --bg: #F6F7FB;
  --white: #FFFFFF;

  --ok: #177A43;       --ok-bg: #E6F5EC;
  --warn: #8A5A00;     --warn-bg: #FFF4DB;
  --danger: #B42318;   --danger-bg: #FDECEA;
  --info: #1E2678;     --info-bg: #EAF0FF;

  --radius: 12px;
  --radius-sm: 8px;
  --wrap: 1180px;
  --shadow-sm: 0 1px 2px rgba(11, 15, 79, .06), 0 2px 8px rgba(11, 15, 79, .04);
  --shadow-md: 0 10px 30px rgba(11, 15, 79, .10), 0 2px 6px rgba(11, 15, 79, .06);

  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI Variable Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "Cascadia Mono", "SF Mono", Consolas, "Liberation Mono", monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100vh; display: flex; flex-direction: column;
  font-family: var(--font); font-size: 15px; line-height: 1.55;
  color: var(--body); background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { color: var(--ink); line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: 1.65rem; font-weight: 750; }
h2, .h3 { font-size: 1.12rem; font-weight: 700; }
h3 { font-size: 1rem; font-weight: 650; }
.card > * + h3 { margin-top: 1.4rem; }
p { margin: 0 0 .9em; }
a { color: var(--navy-700); text-underline-offset: 3px; text-decoration-color: rgba(30, 38, 120, .35); }
a:hover { text-decoration-color: currentColor; }
img, svg { max-width: 100%; }
code, .mono { font-family: var(--mono); font-size: .9em; }
code { background: var(--tint); border: 1px solid var(--line); border-radius: 5px; padding: .05em .35em; }
:focus-visible { outline: 3px solid var(--cyan-dim); outline-offset: 2px; border-radius: 4px; }
[hidden] { display: none !important; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: -9999px; top: 0; z-index: 200; background: var(--navy); color: #fff; padding: .7rem 1rem; }
.skip:focus { left: 0; }
.wrap { width: min(100% - 2rem, var(--wrap)); margin-inline: auto; }
.muted { color: var(--muted); }
.small { font-size: .85rem; }
.nowrap { white-space: nowrap; }
.num { text-align: right; font-variant-numeric: tabular-nums; }
.text-danger { color: var(--danger); }
.text-warning { color: var(--warn); }
.eyebrow { font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 0 0 .4rem; }

/* ── top bar ─────────────────────────────────────────────────────────── */
.topbar { background: var(--navy); color: #fff; position: sticky; top: 0; z-index: 50; box-shadow: 0 1px 0 rgba(255, 255, 255, .06); }
.topbar-inner { width: min(100% - 2rem, var(--wrap)); margin-inline: auto; display: flex; align-items: center; gap: 1.25rem; min-height: 64px; }
.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; color: #fff; flex: 0 0 auto; }
/* The shield's body is the same navy as the bar: it sits on a white chip or it dissolves. */
.brand img { width: 36px; height: 36px; background: #fff; border-radius: 9px; padding: 3px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text strong { font-size: 1.05rem; font-weight: 800; letter-spacing: -.01em; }
.brand-text em { font-style: normal; font-size: .62rem; font-weight: 650; letter-spacing: .2em; text-transform: uppercase; color: var(--cyan); }

.nav { margin-left: auto; display: flex; align-items: center; gap: .25rem; }
.nav > a { color: rgba(255, 255, 255, .82); text-decoration: none; font-weight: 600; font-size: .92rem; padding: .45rem .7rem; border-radius: 8px; }
.nav > a:hover { color: #fff; background: rgba(255, 255, 255, .08); }
.nav > a[aria-current="page"] { color: #fff; background: rgba(1, 200, 239, .16); box-shadow: inset 0 -2px 0 var(--cyan); }
.nav-ext::after { content: " ↗"; font-size: .8em; opacity: .7; }
.nav-user { display: flex; align-items: center; gap: .5rem; margin-left: .6rem; padding-left: .8rem; border-left: 1px solid rgba(255, 255, 255, .15); }
.nav-user a { display: flex; align-items: center; gap: .45rem; color: #fff; text-decoration: none; font-weight: 600; font-size: .9rem; }
.nav-user form { margin: 0; }
.nav-user .link-btn { color: rgba(255, 255, 255, .75); }
.nav-user .link-btn:hover { color: #fff; }
.avatar { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: linear-gradient(135deg, var(--cyan), var(--lime)); color: var(--navy); font-size: .75rem; font-weight: 800; }
.nav-toggle { display: none; margin-left: auto; background: none; border: 1px solid rgba(255, 255, 255, .3); border-radius: 8px; width: 42px; height: 38px; color: #fff; cursor: pointer; }
.nav-toggle .bars, .nav-toggle .bars::before, .nav-toggle .bars::after { display: block; width: 18px; height: 2px; background: #fff; margin: 0 auto; position: relative; content: ""; }
.nav-toggle .bars::before { position: absolute; top: -6px; }
.nav-toggle .bars::after { position: absolute; top: 6px; }

.banner { padding: .6rem 0; font-weight: 600; font-size: .9rem; }
.banner-warning { background: var(--warn-bg); color: var(--warn); border-bottom: 1px solid #F1D48A; }

/* ── layout ──────────────────────────────────────────────────────────── */
.main { flex: 1; padding: 1.75rem 0 3rem; }
.main-bare { flex: 1; }
.page-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.25rem; }
.page-head h1 { margin: 0; }
.page-head p { margin: .25rem 0 0; }
.page-actions { display: flex; gap: .5rem; flex-wrap: wrap; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .9rem 1.1rem; }
.grid-2 > .card, .grid-2 > section { margin-bottom: 0; }
.grid-2 { margin-bottom: 1.25rem; }
.grid-2 > label:not(.check), .grid-3 > label:not(.check) { justify-content: flex-end; }

.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 1.3rem 1.4rem; margin-bottom: 1.25rem; }
.card-soft { background: var(--tint); box-shadow: none; }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: .8rem; }
.card-head h2 { margin: 0; }
.card-head form { margin: 0; }
.card.narrow { max-width: 560px; margin: 3rem auto; }
.center { text-align: center; }
.danger-zone { border-color: #F3C4BF; }
form.danger-zone { margin-top: 1rem; padding-top: 1rem; border-top: 1px dashed #F3C4BF; }

.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 1rem; margin-bottom: 1.25rem; }
.stat { display: flex; flex-direction: column; gap: .15rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.15rem; text-decoration: none; color: inherit; box-shadow: var(--shadow-sm); position: relative; overflow: hidden; }
.stat::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 4px; background: linear-gradient(180deg, var(--cyan), var(--lime)); }
a.stat:hover { border-color: var(--line-strong); box-shadow: var(--shadow-md); }
.stat-label { font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.stat-value { font-size: 1.6rem; font-weight: 750; color: var(--ink); font-variant-numeric: tabular-nums; line-height: 1.2; }
.stat-sub { font-size: .85rem; color: var(--muted); }
.stat-alert::before { background: var(--danger); }
.stat-alert .stat-value { color: var(--danger); }

.list { margin: 0; padding: 0; list-style: none; }
.list li { display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; padding: .6rem 0; border-top: 1px solid var(--line); }
.list li:first-child { border-top: 0; }
.list-end { margin-left: auto; text-align: right; }
.empty { padding: 1.4rem; text-align: center; color: var(--muted); background: var(--tint); border: 1px dashed var(--line-strong); border-radius: var(--radius-sm); }
.note { margin-top: .35rem; padding: .4rem .6rem; background: var(--tint); border-left: 3px solid var(--cyan-dim); border-radius: 0 6px 6px 0; }

.facts { display: grid; grid-template-columns: max-content 1fr; gap: .4rem 1.2rem; margin: 0 0 1rem; }
.facts dt { color: var(--muted); font-size: .88rem; }
.facts dd { margin: 0; color: var(--ink); }
.facts-wide { grid-template-columns: 200px 1fr; }

.tabs { display: flex; gap: .25rem; flex-wrap: wrap; margin: 0 0 1rem; border-bottom: 1px solid var(--line); }
.tabs a { padding: .5rem .85rem; text-decoration: none; color: var(--muted); font-weight: 600; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.tabs a:hover { color: var(--ink); }
.tabs a[aria-current="page"] { color: var(--navy); border-bottom-color: var(--navy); }

/* ── tables ──────────────────────────────────────────────────────────── */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.table th, .table td { padding: .65rem .7rem; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.table th { font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 700; background: var(--tint); }
.table thead th:first-child { border-top-left-radius: 8px; }
.table thead th:last-child { border-top-right-radius: 8px; }
.table tbody tr:hover { background: #FAFBFE; }
.table th.num, .table td.num { text-align: right; }
.table tfoot th, .table tfoot td { background: none; font-size: .92rem; text-transform: none; letter-spacing: 0; color: var(--body); border-bottom: 0; padding: .35rem .7rem; }
.table tfoot .total th, .table tfoot .total td { font-weight: 750; color: var(--ink); border-top: 2px solid var(--line-strong); padding-top: .6rem; }
.table-dense th, .table-dense td { padding: .4rem .55rem; }
tr.is-muted td { color: var(--muted); }
tr.is-muted td strong { color: var(--muted); }

/* ── forms ───────────────────────────────────────────────────────────── */
.form { display: flex; flex-direction: column; gap: .9rem; }
.form:not(.form-inline) > .btn:not(.btn-block) { align-self: flex-start; }
.form label { display: flex; flex-direction: column; gap: .3rem; font-weight: 600; font-size: .9rem; color: var(--ink); }
.form label .muted { font-weight: 400; }
.form-inline { display: flex; flex-direction: row; flex-wrap: wrap; align-items: flex-end; gap: .75rem; margin: 0; }
.form-inline label { flex-direction: column; }
.form-inline label.check { min-height: 40px; }
.form-tight { gap: .6rem; margin-top: .7rem; }
.form-inline + p { margin-top: .8rem; }
input[type="file"] {
  font: inherit; font-size: .9rem; color: var(--muted); background: var(--tint);
  border: 1px dashed var(--line-strong); border-radius: var(--radius-sm); padding: .4rem .5rem; min-height: 40px;
}
input[type="file"]::file-selector-button {
  font: inherit; font-weight: 650; color: var(--ink); background: #fff; cursor: pointer;
  border: 1px solid var(--line-strong); border-radius: var(--radius-sm); padding: .3rem .8rem; margin-right: .7rem;
}
input[type="file"]::file-selector-button:hover { border-color: var(--navy-700); }
input[type="text"], input[type="email"], input[type="password"], input[type="search"], input[type="number"], input[type="date"], select, textarea {
  font: inherit; font-weight: 400; color: var(--ink); background: #fff;
  border: 1px solid var(--line-strong); border-radius: var(--radius-sm);
  padding: .55rem .7rem; width: 100%; min-height: 40px;
}
textarea { resize: vertical; min-height: 70px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--navy-700); box-shadow: 0 0 0 3px rgba(15, 166, 198, .25); }
.form-inline input, .form-inline select { width: auto; min-width: 180px; }
.form-inline input[type="email"], .form-inline input[type="text"]:not(.input-num) { min-width: 240px; }
.input-num { text-align: right; max-width: 130px; }
.input-code { font-family: var(--mono); font-size: 1.3rem; letter-spacing: .25em; text-align: center; }
label.check { display: flex; flex-direction: row !important; align-items: center; gap: .5rem !important; font-weight: 500 !important; }
label.check input { width: 18px; height: 18px; accent-color: var(--navy); }
.filters { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; margin-bottom: 1rem; }
.filters input[type="search"] { max-width: 320px; }
.filters select { width: auto; }
.filters .btn { min-height: 40px; }
.lines-edit input[type="text"] { min-width: 90px; }
.lines-edit td:first-child input { min-width: 260px; }
details.add { margin-top: 1rem; }
details > summary { list-style: none; cursor: pointer; display: inline-flex; }
details > summary::-webkit-details-marker { display: none; }
details[open] > summary { margin-bottom: .6rem; }

/* ── buttons ─────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .45rem;
  font: inherit; font-weight: 650; font-size: .9rem; line-height: 1.2;
  padding: .6rem 1rem; border-radius: var(--radius-sm); cursor: pointer; text-decoration: none;
  background: #fff; color: var(--ink); border: 1px solid var(--line-strong);
  transition: background .15s, border-color .15s, box-shadow .15s;
}
.btn:hover { border-color: var(--navy-700); }
/* Primary is solid navy on light surfaces — cyan text/fill would fail contrast here. */
.btn-primary { background: var(--navy); border-color: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--navy-700); border-color: var(--navy-700); }
.btn-danger { background: #fff; color: var(--danger); border-color: #F0B8B2; }
.btn-danger:hover { background: var(--danger-bg); border-color: var(--danger); }
.btn-small { padding: .35rem .7rem; font-size: .82rem; }
.btn-block { width: 100%; }
.btn-ms { width: 100%; background: #fff; color: #1B1B1B; border: 1px solid #8C8C8C; font-weight: 600; min-height: 44px; }
.btn-ms:hover { background: #F3F3F3; }
.link-btn { background: none; border: 0; padding: 0; font: inherit; font-size: .88rem; color: var(--navy-700); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.button-row { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; margin-top: .75rem; }
.button-row form { margin: 0; }

/* ── badges + alerts ─────────────────────────────────────────────────── */
.badge { display: inline-block; padding: .12rem .55rem; border-radius: 999px; font-size: .74rem; font-weight: 700; letter-spacing: .02em; background: var(--tint); color: var(--muted); border: 1px solid var(--line); white-space: nowrap; vertical-align: middle; }
.badge-active, .badge-paid, .badge-completed, .badge-succeeded { background: var(--ok-bg); color: var(--ok); border-color: #BFE3CC; }
.badge-open, .badge-new, .badge-in_progress { background: var(--info-bg); color: var(--info); border-color: #C9D5FB; }
.badge-pending, .badge-spare, .badge-suspended { background: var(--warn-bg); color: var(--warn); border-color: #F1D48A; }
.badge-overdue, .badge-failed, .badge-declined { background: var(--danger-bg); color: var(--danger); border-color: #F3C4BF; }
.badge-void, .badge-cancelled, .badge-retired, .badge-former, .badge-disabled, .badge-inactive, .badge-draft { background: #EEF0F4; color: #5B6070; border-color: #DADDE5; }

.alert { padding: .75rem 1rem; border-radius: var(--radius-sm); margin-bottom: 1rem; border: 1px solid; font-size: .92rem; }
.alert-success { background: var(--ok-bg); color: var(--ok); border-color: #BFE3CC; }
.alert-error { background: var(--danger-bg); color: var(--danger); border-color: #F3C4BF; }
.alert-warning { background: var(--warn-bg); color: var(--warn); border-color: #F1D48A; }
.alert-info { background: var(--info-bg); color: var(--info); border-color: #C9D5FB; }

/* ── sign-in pages ───────────────────────────────────────────────────── */
body.is-bare { background: radial-gradient(1200px 600px at 10% -10%, rgba(1, 200, 239, .18), transparent 60%), radial-gradient(900px 500px at 110% 110%, rgba(141, 218, 80, .16), transparent 60%), var(--navy); }
body.is-bare .topbar { background: transparent; box-shadow: none; position: static; }
body.is-bare .footer { background: transparent; border-top-color: rgba(255, 255, 255, .1); color: rgba(255, 255, 255, .6); }
body.is-bare .footer a { color: rgba(255, 255, 255, .8); }
.auth { display: flex; flex-direction: column; align-items: center; padding: 2rem 1rem 3rem; }
.auth-card { width: 100%; max-width: 420px; background: #fff; border-radius: 18px; box-shadow: 0 30px 60px rgba(0, 0, 0, .3); padding: 2rem 1.8rem; }
.auth-card h1 { font-size: 1.45rem; margin: .6rem 0 .3rem; text-align: center; }
.auth-card > .muted { text-align: center; }
.auth-logo { display: block; margin: 0 auto; }
.auth-links { text-align: center; margin: 1rem 0 0; font-size: .9rem; }
.auth-foot { color: rgba(255, 255, 255, .75); font-size: .9rem; margin-top: 1.25rem; text-align: center; }
.auth-foot a { color: #fff; }
body.is-bare .alert-success, body.is-bare .alert-error, body.is-bare .alert-info, body.is-bare .alert-warning { max-width: 420px; margin: 1rem auto 0; }
.divider { display: flex; align-items: center; gap: .75rem; color: var(--muted); font-size: .82rem; margin: 1.1rem 0; }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.auth-card .form { margin-top: 1rem; }
.divider + .form { margin-top: 0; }

/* ── account / MFA ───────────────────────────────────────────────────── */
.qr-wrap { display: flex; gap: 1.5rem; align-items: flex-start; flex-wrap: wrap; }
.qr { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: .5rem; line-height: 0; }
.secret { font-size: 1rem; letter-spacing: .08em; word-break: break-all; }
.codes { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: .5rem; list-style: none; padding: 0; margin: 0 0 1rem; }
.codes code { display: block; text-align: center; font-size: 1rem; padding: .4rem; }
.steps { padding-left: 1.2rem; }

/* ── options catalog ─────────────────────────────────────────────────── */
.catalog { margin-bottom: 1.5rem; }
.catalog > h2 { margin-bottom: .8rem; }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1rem; }
.option { margin: 0; display: flex; flex-direction: column; }
.option.is-open { border-color: var(--navy-700); }
.option h3 { margin-bottom: .25rem; }
.price { font-size: 1.2rem; font-weight: 750; color: var(--ink); margin-bottom: .5rem; }
.option details { margin-top: auto; }

/* ── invoice ─────────────────────────────────────────────────────────── */
.invoice { padding: 2rem; }
.invoice-head { display: flex; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; border-bottom: 2px solid var(--navy); padding-bottom: 1.2rem; margin-bottom: 1.2rem; }
.invoice-head img { margin-bottom: .5rem; }
.invoice-meta .facts { margin: 0; }
.invoice-status { text-align: right; margin-bottom: .5rem; }
.invoice-to { margin-bottom: 1.2rem; }
.invoice-memo { margin-top: 1.2rem; padding: .9rem 1rem; background: var(--tint); border-radius: var(--radius-sm); }
.pay-box { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-top: 1.5rem; padding: 1.1rem 1.2rem; border-radius: var(--radius); background: linear-gradient(135deg, rgba(1, 200, 239, .10), rgba(141, 218, 80, .12)); border: 1px solid #BFE6EF; }
.pay-box form { margin: 0; }

.pager { display: flex; align-items: center; justify-content: center; gap: 1rem; margin-top: 1rem; }

/* ── footer ──────────────────────────────────────────────────────────── */
.footer { border-top: 1px solid var(--line); background: #fff; color: var(--muted); font-size: .85rem; }
.footer-inner { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding: 1rem 0; }

/* ── responsive ──────────────────────────────────────────────────────── */
@media (max-width: 960px) {
  .nav-toggle { display: inline-block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; background: var(--navy-800); padding: .5rem 1rem 1rem; box-shadow: var(--shadow-md); }
  .nav.is-open { display: flex; }
  .nav > a { padding: .75rem .5rem; }
  .nav-user { margin: .5rem 0 0; padding: .75rem .5rem 0; border-left: 0; border-top: 1px solid rgba(255, 255, 255, .15); justify-content: space-between; }
  .topbar-inner { position: relative; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  body { font-size: 15px; }
  .card { padding: 1.05rem; }
  .invoice { padding: 1.1rem; }
  .facts, .facts-wide { grid-template-columns: 1fr; gap: .1rem; }
  .facts dd { margin-bottom: .5rem; }
  .form-inline input, .form-inline select { min-width: 0; width: 100%; }
  .form-inline input[type="email"], .form-inline input[type="text"]:not(.input-num) { min-width: 0; }
  .form-inline label { width: 100%; }
  .stat-value { font-size: 1.35rem; }
  .nav-user-name { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}

/* ── print: invoices and backup codes ────────────────────────────────── */
@media print {
  body { background: #fff; font-size: 11pt; }
  .topbar, .footer, .page-actions, .no-print, .skip, .banner, .alert, .tabs, nav, form, .btn { display: none !important; }
  .main { padding: 0; }
  .card { box-shadow: none; border: 0; padding: 0; }
  .invoice-head { border-bottom-color: #000; }
  .table th { background: none; }
  a { color: inherit; text-decoration: none; }
}
