:root {
  /* employmagic brand (Brand Guidelines, April 2026) */
  --cyan: #52fffc; --mid: #94a8fd; --purple: #cf5bff;
  --grad: linear-gradient(135deg, #52fffc, #94a8fd, #cf5bff);
  --grad-line: linear-gradient(90deg, #52fffc, #94a8fd, #cf5bff);
  --grad-wash: linear-gradient(135deg, rgba(82, 255, 252, .22), rgba(148, 168, 253, .22), rgba(207, 91, 255, .22));
  --bg: #f8f9fa; --card: #ffffff; --ink: #1a1a1a; --muted: #4b4b4b; --line: #e5e7eb;
  --dark: #0a0a14; --dark-alt: #111122; --dark-line: #2a2a3a; --on-dark: #b9bccb;
  /* text-safe accent from the brand purple (5.6:1 on white; the brand colors themselves are decorative) */
  --accent: #8b3fd6; --accent-ink: #1a1a1a; --ok: #1f8a4c; --err: #b42318;
  /* activity, light to dark, one hue from the brand's mid-gradient */
  --a0: #eef0fe; --a1: #cdd5fe; --a2: #94a8fd; --a3: #6276ea; --a4: #3d4cc4;
  --radius: 10px;
}
* { box-sizing: border-box; }
html { font-size: 15px; }
@font-face { font-family: "Nunito"; src: url("fonts/nunito-latin.woff") format("woff"); font-weight: 200 1000;
  font-style: normal; font-display: swap; }
body { margin: 0; background: var(--bg); color: var(--ink);
  font-family: "Nunito", Calibri, Arial, Helvetica, sans-serif; line-height: 1.55; }
/* gradient text, as in the wordmark: for brand marks and emphasis, never for small body text */
.gtext { color: var(--purple); }
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .gtext { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
    -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}
.wordmark { font-weight: 700; letter-spacing: -.01em; white-space: nowrap; }
.wordmark .employ { color: #4b4b4b; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
h1 { font-size: 1.6rem; margin: 0 0 .2rem; font-weight: 800; letter-spacing: -.015em; }
h2 { font-size: 1.08rem; margin: 0 0 .8rem; font-weight: 700; }
code, .mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .92em; }
.muted { color: var(--muted); }
.strong { font-weight: 700; }

header.top { display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: .7rem 1.5rem; background: var(--dark); position: sticky; top: 0; z-index: 2; }
header.top::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--grad-line); }
.brand { font-weight: 800; color: #ffffff; font-size: 1.12rem; letter-spacing: -.01em; }
.brand:hover { text-decoration: none; }
.brand .powered { display: block; font-size: .7rem; font-weight: 600; color: var(--on-dark); letter-spacing: .01em; margin-top: -.1rem; }
.brand .powered .wordmark .employ, header.top .wordmark .employ { color: #ffffff; }
nav { display: flex; align-items: center; gap: .2rem; flex-wrap: wrap; }
nav a { color: var(--on-dark); padding: .4rem .7rem; border-radius: 8px; font-weight: 600; }
nav a.on, nav a:hover { color: #ffffff; background: var(--dark-alt); text-decoration: none; box-shadow: inset 0 0 0 1px var(--dark-line); }
nav .muted, header.top .muted { color: var(--on-dark); }

main { max-width: 1180px; margin: 0 auto; padding: 1.5rem; }
main.narrow { max-width: 520px; padding-top: 3rem; }

.pagehead { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.2rem; }
.pagehead p { margin: .1rem 0 0; }
.crumb { margin: 0 0 .2rem !important; font-size: .9rem; }
.controls { display: flex; gap: .4rem; align-items: center; flex-wrap: wrap; }

.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem 1.3rem; margin-bottom: 1.1rem; }
.cardhead { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; flex-wrap: wrap; margin-bottom: .6rem; }
.cardhead h2 { margin: 0; }

.btn, button { font: inherit; font-weight: 600; border: 1px solid var(--line); background: var(--card); color: var(--ink);
  padding: .42rem .85rem; border-radius: 8px; cursor: pointer; display: inline-block; line-height: 1.3; }
.btn:hover, button:hover { border-color: var(--mid); text-decoration: none; }
.btn.small, button.small { padding: .25rem .55rem; font-size: .88rem; }
.primary, button.primary, .btn.primary { background: var(--grad); color: var(--accent-ink); border-color: transparent; font-weight: 700; }
.primary:hover, button.primary:hover, .btn.primary:hover { border-color: transparent; filter: saturate(1.15) brightness(1.03);
  box-shadow: 0 3px 12px rgba(148, 168, 253, .45); }
.wide { width: 100%; padding: .6rem; margin-top: .4rem; }
button.linkish { border: 0; background: none; color: var(--on-dark); padding: .4rem .7rem; font-weight: 600; }
button.linkish:hover { color: #ffffff; }
form.inline { display: inline; }

.seg { display: inline-flex; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.seg a { padding: .42rem .8rem; color: var(--muted); background: var(--card); }
.seg a.on { background: var(--dark); color: #fff; }
.seg a:hover { text-decoration: none; }

input { font: inherit; padding: .45rem .6rem; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--ink); min-width: 0; }
input:focus, select:focus { outline: 2px solid rgba(148, 168, 253, .55); border-color: var(--mid); }
label { display: block; font-size: .9rem; color: var(--ink); }
label input { display: block; width: 100%; margin-top: .25rem; }
form.stack label { margin-bottom: 1rem; max-width: 520px; }
.help { display: block; color: var(--muted); font-size: .85rem; margin-top: .3rem; }
form.row { display: flex; gap: .7rem; align-items: flex-end; flex-wrap: wrap; margin-top: .6rem; }
form.row label { flex: 1 1 180px; }
form.row.tight { margin: 0; gap: .4rem; flex-wrap: nowrap; }
form.row.tight input { width: auto; flex: 1 1 140px; }
.login label { margin-bottom: .8rem; }

.byline { color: var(--muted); margin: -.1rem 0 .8rem; font-size: .9rem; }

.flash { padding: .6rem .8rem; border-radius: 8px; margin-bottom: 1rem; font-size: .93rem; }
.flash.ok { background: #e7f6ec; color: #14532d; }
.flash.error { background: #fdecea; color: var(--err); }

.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: .9rem; margin-bottom: 1.1rem; }
.kpi { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: .9rem 1.1rem; }
.kpi .label { color: var(--muted); font-size: .85rem; }
.kpi .value { font-size: 1.7rem; font-weight: 800; margin-top: .15rem; font-variant-numeric: tabular-nums; }
.kpi .sub { color: var(--muted); font-size: .8rem; }

table.grid { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
table.grid th { text-align: left; font-weight: 700; color: var(--muted); font-size: .78rem; text-transform: uppercase; letter-spacing: .06em;
  padding: .5rem .6rem; border-bottom: 1px solid var(--line); }
table.grid td { padding: .6rem; border-bottom: 1px solid var(--line); vertical-align: middle; }
table.grid tr:last-child td { border-bottom: 0; }
table.grid .num { text-align: right; white-space: nowrap; }
tr.dim td { opacity: .55; }
td.actions { text-align: right; white-space: nowrap; }

.dot { display: inline-block; width: .55rem; height: .55rem; border-radius: 50%; background: #c5ccd6; margin-right: .45rem; vertical-align: middle; }
.dot.live { background: var(--ok); box-shadow: 0 0 0 3px #d4f0de; }
.pill { font-size: .75rem; padding: .1rem .45rem; border-radius: 99px; background: var(--bg); color: var(--muted); margin-left: .4rem; vertical-align: middle; font-weight: 500; }

.week { display: grid; grid-template-columns: repeat(8, 1fr); gap: .5rem; margin-bottom: 1.1rem; }
.week .day { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: .6rem .7rem; color: var(--ink); }
.week .day:hover { text-decoration: none; border-color: var(--mid); }
.week .day.on { border-color: var(--mid); box-shadow: 0 0 0 1px var(--mid), 0 2px 10px rgba(148, 168, 253, .25); }
.week .day.empty { color: var(--muted); }
.week .day.total { background: var(--bg); }
.dname { font-size: .8rem; color: var(--muted); }
.dhours { font-size: 1.15rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.dact { font-size: .85rem; color: var(--muted); min-height: 1.2em; }

.daysum { display: flex; gap: 1.2rem; flex-wrap: wrap; font-size: .95rem; }

.hours td.mono { white-space: nowrap; }
.stripcol { width: 46%; }
.strip { display: grid; grid-template-columns: repeat(60, 1fr); gap: 1px; height: 18px; }
.strip i, .legend i { display: block; border-radius: 1.5px; }
.legend { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: .9rem; font-size: .82rem; color: var(--muted); }
.legend span { display: inline-flex; align-items: center; gap: .35rem; }
.legend i { width: 12px; height: 12px; }
i.off { background: transparent; box-shadow: inset 0 0 0 1px var(--line); }
i.a0 { background: var(--a0); }
i.a1 { background: var(--a1); }
i.a2 { background: var(--a2); }
i.a3 { background: var(--a3); }
i.a4 { background: var(--a4); }
i.man { background: repeating-linear-gradient(45deg, #12a594 0 2px, #b7ebe4 2px 4px); }
i.del { background: #fde2e1; box-shadow: inset 0 0 0 1px #f3a6a2; }
.man-t { color: #0b7a6d; }
.brk-t { color: #6b4fd8; }
.del-t { color: #b42318; }
.edited { color: var(--muted); font-size: .8rem; margin-left: .3rem; font-weight: 400; }
form.editform label { flex: 0 1 140px; }
form.editform label.grow { flex: 1 1 260px; }
select { font: inherit; padding: .45rem .5rem; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--ink); display: block; width: 100%; margin-top: .25rem; }
.editlist { margin-top: .8rem; }
.editlist tr.voided td { color: var(--muted); }
.editlist tr.voided td:not(.actions) { text-decoration: line-through; }
.tag { font-size: .78rem; font-weight: 600; padding: .12rem .5rem; border-radius: 99px; }
.tag.add { background: #e0f5f2; color: #0b7a6d; }
.tag.remove { background: #fdecea; color: #b42318; }

.copyrow { display: flex; gap: .4rem; margin-top: .25rem; margin-bottom: .9rem; }
.copyrow input { flex: 1; margin: 0; }
.scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.pill.ot { background: var(--grad-wash); color: var(--ink); font-weight: 600; }
.over { color: #b54708; font-size: .78rem; font-weight: 500; white-space: normal; }
.small { font-size: .78rem; }
.nowrap { white-space: nowrap; }
.kpis.five { grid-template-columns: repeat(5, 1fr); }
.chartgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.chartcard h2 { margin-bottom: .2rem; }
.chartcard p.small { margin: 0 0 .6rem; }
svg.chart { width: 100%; height: auto; display: block; overflow: visible; }
svg.chart .tick { font-size: 11px; fill: #4b4b4b; font-family: inherit; }
svg.chart .val { font-size: 12px; font-weight: 700; fill: #1a1a1a; font-family: inherit; }
svg.chart .col:hover .bar, svg.chart .col:focus .bar { opacity: .82; }
svg.chart .dot:hover circle, svg.chart .dot:focus circle { r: 5; }
svg.chart [tabindex]:focus { outline: none; }
svg.chart .col:focus .hit, svg.chart .dot:focus .hit { fill: rgba(148, 168, 253, .12); }
.chartlegend { display: flex; gap: 1rem; font-size: .82rem; color: var(--muted); margin-bottom: .4rem; }
.chartlegend span { display: inline-flex; align-items: center; gap: .35rem; }
.chartlegend i { width: 10px; height: 10px; border-radius: 2px; display: inline-block; }
.chartlegend i.sw-1 { background: #5468e0; }
.chartlegend i.sw-2 { background: #eb6834; }
.charttip { position: absolute; z-index: 10; pointer-events: none; background: var(--dark); color: #fff; font-size: .8rem;
  padding: .45rem .6rem; border-radius: 6px; box-shadow: 0 4px 14px rgba(0,0,0,.18); max-width: 260px; line-height: 1.35; }
.charttip .tiphead { color: #c9d1db; font-size: .75rem; }
.charttip div:nth-child(2) { font-weight: 600; }
details.card summary { cursor: pointer; }
details.card[open] summary { margin-bottom: .8rem; }
form.exportrange { border-top: 1px solid var(--line); padding-top: .9rem; margin-top: .8rem; align-items: center; }
form.exportrange label { flex: 0 1 170px; display: flex; align-items: center; gap: .4rem; }
form.exportrange label input { margin: 0; }
.exportlabel { flex: 0 0 auto; }
.paygrid { display: grid; grid-template-columns: repeat(5, 1fr); gap: .8rem; margin-bottom: 1rem; }
.paygrid .label { color: var(--muted); font-size: .82rem; }
.paygrid .value { font-size: 1.35rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.paygrid .value.overv { color: #b54708; }
.paygrid .sub { color: var(--muted); font-size: .78rem; min-height: 1em; }
form.terms { border-top: 1px solid var(--line); padding-top: .9rem; }
form.terms label { flex: 0 1 220px; }
label.check { display: inline-flex; align-items: center; gap: .4rem; white-space: nowrap; flex: 0 0 auto !important; }
label.check input { width: auto; margin: 0; display: inline; }
input.rate { flex: 0 0 90px !important; width: 90px !important; }
.empty { color: var(--muted); padding: .6rem 0; margin: 0; }
.note { color: var(--muted); font-size: .85rem; max-width: 760px; }

/* roles, clients, payroll, downloads */
h3 { font-size: .95rem; margin: 1.2rem 0 .2rem; font-weight: 650; }
.pill.paid { background: #e7f6ec; color: #14532d; font-weight: 600; }
a.pill.paid:hover { text-decoration: none; background: #d4f0de; }
.pill.lead { background: rgba(207, 91, 255, .16); color: var(--ink); font-weight: 600; }
table.narrowtable { max-width: 560px; }
fieldset.checks { border: 0; margin: 0; padding: 0; display: flex; gap: .3rem 1rem; flex-wrap: wrap; align-items: center; flex: 1 1 100%; }
fieldset.checks legend { font-size: .9rem; padding: 0; margin-bottom: .3rem; float: left; width: 100%; }
fieldset.stackset { margin-bottom: 1rem; max-width: 520px; }
fieldset.stackset .help { flex: 1 1 100%; }
.checkgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: .45rem 1rem; margin-bottom: 1rem; }
.checkgrid label.check { white-space: normal; }
label.dim { opacity: .55; }
.userlist { border-top: 1px solid var(--line); margin: .8rem 0 .4rem; }
details.user { border-bottom: 1px solid var(--line); padding: .6rem 0; }
details.user summary { cursor: pointer; }
details.user summary .pill { margin-left: .5rem; }
details.user[open] { padding-bottom: 1rem; }
form.userform { margin: .9rem 0 .5rem; }
form.userform select { max-width: 240px; }
button.danger, .btn.danger { color: var(--err); }
.clientpick select { width: auto; margin: 0; display: inline-block; max-width: 220px; }
form.row select { margin-top: .25rem; }
i.trk { background: var(--a3); }
.brandline { font-weight: 800; font-size: 1.15rem; margin: 0 0 1rem; letter-spacing: -.01em; }
.brandline .powered { display: block; font-size: .72rem; font-weight: 600; color: var(--muted); letter-spacing: .01em; }
.dlbuttons { display: flex; gap: .6rem; flex-wrap: wrap; margin: 1.2rem 0 .4rem; }
.btn.dl { padding: .7rem 1.1rem; font-weight: 600; text-align: left; }
.btn.dl small { display: block; font-weight: 400; font-size: .78rem; opacity: .85; }
ol.steps { padding-left: 1.2rem; margin: .4rem 0 1rem; }
ol.steps li { margin-bottom: .6rem; }
ol.steps .copyrow { margin: .4rem 0 0; max-width: 420px; }
.card.download h2 { margin-top: 1.4rem; }

@media (max-width: 800px) {
  .kpis { grid-template-columns: repeat(2, 1fr); }
  .week { grid-template-columns: repeat(4, 1fr); }
  .stripcol, .hide-sm { display: none; }
  .chartgrid { grid-template-columns: 1fr; }
  .kpis.five { grid-template-columns: repeat(2, 1fr); }
  .paygrid { grid-template-columns: repeat(2, 1fr); }
  header.top { padding: .6rem 1rem; flex-wrap: wrap; }
  .pagehead h1 { font-size: 1.3rem; }
  table.grid td, table.grid th { padding: .5rem .4rem; }
  main { padding: 1rem; }
  form.row.tight { flex-wrap: wrap; }
}
.otline { flex: 1 1 100%; margin: 0; font-size: .9rem; color: var(--accent); }

/* billing */
.h1sub { font-size: 1rem; font-weight: 500; }
tr.totalrow td { font-weight: 650; border-top: 2px solid var(--line); }
.ratelabel { flex: 0 1 260px !important; }
.ratetable { margin: .6rem 0 1rem; }
.ratetable input.rate { width: 120px !important; }
/* invoices */
main.invoicemain { max-width: 1180px; }
.invlayout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 1.1rem; align-items: start; }
.invoicepaper { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem 2.2rem; margin-bottom: 1.1rem; }
.invhead { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; margin-bottom: 1.6rem; }
.invhead h1 { font-size: 1.7rem; margin: 0; }
.invfrom { text-align: right; }
.invfrom b { font-size: 1.05rem; }
.invparties { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; margin-bottom: 1.4rem; }
.invlabel { font-size: .72rem; font-weight: 700; letter-spacing: .05em; color: var(--accent); text-transform: uppercase; margin-bottom: .2rem; }
.prewrap { white-space: pre-line; }
table.invmeta { width: 100%; border-collapse: collapse; }
table.invmeta td { padding: .12rem 0; font-size: .92rem; }
table.invmeta td:last-child { text-align: right; font-weight: 600; }
tr.invtotal td { font-weight: 700; border-top: 2px solid var(--accent); }
.invnotes { margin-top: 1rem; }
.invpay { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: .8rem 1rem; margin-top: 1.2rem; }
.invside .card h2 { font-size: 1rem; }
.invside form.stack label { margin-bottom: .7rem; }
.status.issued { background: #eef0ff; color: #3b3fa8; }
.status.overdue { background: #fdecea; color: #b42318; }
.status.paid { background: #e7f6ec; color: #14532d; }
.status.void { background: var(--bg); color: var(--muted); text-decoration: line-through; }
textarea { font: inherit; padding: .45rem .6rem; border: 1px solid var(--line); border-radius: 8px; background: #fff;
  color: var(--ink); width: 100%; margin-top: .25rem; display: block; resize: vertical; min-height: 4.5rem; }
textarea:focus { outline: 2px solid rgba(148, 168, 253, .55); border-color: var(--mid); }
@media (max-width: 900px) { .invlayout, .invparties { grid-template-columns: 1fr; } .invfrom { text-align: left; } }

/* Talent page and requests */
.badge { display: inline-block; min-width: 1.2rem; padding: 0 .35rem; border-radius: 99px; background: var(--grad); color: var(--ink); font-size: .72rem; font-weight: 700; text-align: center; line-height: 1.2rem; }
.flash.info { background: var(--grad-wash); }
.flash.info a { color: var(--accent); }
.status { font-size: .8rem; font-weight: 600; padding: .1rem .5rem; border-radius: 99px; background: var(--bg); color: var(--muted); }
.status.pending { background: #fff4e5; color: #b54708; }
.status.approved { background: #e7f6ec; color: #14532d; }
.status.rejected { background: #fdecea; color: #b42318; }
form.rejectform input { width: 150px; padding: .25rem .45rem; font-size: .85rem; }
button[disabled] { opacity: .5; cursor: not-allowed; }
.controls select { width: auto; display: inline-block; margin: 0; max-width: 240px; }
form.editform label.kindlabel { flex: 0 1 230px; }

/* brand accents: the thin gradient bar, cyan to purple */
.card.download, .login, .invoicepaper { position: relative; overflow: hidden; }
.card.download::before, .login::before, .invoicepaper::before { content: ""; position: absolute; left: 0; right: 0; top: 0;
  height: 4px; background: var(--grad-line); -webkit-print-color-adjust: exact; print-color-adjust: exact; }
.tag.add { background: rgba(82, 255, 252, .28); color: #0b5e5c; }

/* the Admin tab */
nav.subnav { display: flex; align-items: center; gap: .15rem; flex-wrap: wrap; margin: -.3rem 0 1.3rem; padding: .35rem;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
nav.subnav .subnav-title { font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted);
  padding: 0 .7rem 0 .5rem; border-right: 1px solid var(--line); margin-right: .3rem; }
nav.subnav a { color: var(--muted); padding: .35rem .65rem; border-radius: 7px; font-weight: 600; font-size: .92rem; }
nav.subnav a:hover { color: var(--ink); background: var(--bg); text-decoration: none; box-shadow: none; }
nav.subnav a.on { color: var(--ink); background: var(--grad-wash); box-shadow: none; }
ul.todo { list-style: none; margin: 0; padding: 0; }
ul.todo li { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .7rem 0; border-top: 1px solid var(--line); }
ul.todo li:first-child { border-top: 0; padding-top: .2rem; }
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: .9rem; margin-bottom: 1.1rem; }
a.tile { display: block; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.1rem;
  color: var(--ink); position: relative; overflow: hidden; }
a.tile:hover { text-decoration: none; border-color: var(--mid); box-shadow: 0 2px 12px rgba(148, 168, 253, .25); }
a.tile::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--grad); opacity: 0; }
a.tile:hover::before { opacity: 1; }
.tiletitle { font-weight: 800; font-size: 1.02rem; }
.tiledesc { color: var(--muted); font-size: .85rem; margin: .2rem 0 .6rem; min-height: 2.5em; }
.tilestat { font-size: .82rem; font-weight: 700; color: var(--accent); }
form.quickedit label.grow2 { flex: 1 1 200px; }
.loginlist { display: flex; flex-wrap: wrap; gap: .5rem 1.2rem; }
.loginchip { font-size: .92rem; }
@media (max-width: 800px) { .tiles { grid-template-columns: repeat(2, 1fr); } nav.subnav .subnav-title { display: none; } }
@media print { nav.subnav { display: none !important; } }
.offtag { font-size: .75rem; font-weight: 700; padding: .05rem .4rem; border-radius: 99px; background: rgba(82, 255, 252, .3); color: #0b5e5c; }
.pill.off-pill { background: rgba(82, 255, 252, .3); color: #0b5e5c; font-weight: 600; }
.balance { display: grid; grid-template-columns: repeat(3, minmax(0, 180px)); gap: .8rem; margin-bottom: .6rem; }
.balance .label { color: var(--muted); font-size: .82rem; }
.balance .value { font-size: 1.6rem; font-weight: 800; }
.balance .sub { color: var(--muted); font-size: .78rem; }
form.row label.narrowfield { flex: 0 1 260px; }

/* apps used (person page, admins only) */
table.apps td:first-child { max-width: 22rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.appbarcell { width: 40%; }
progress.appbar { width: 100%; height: 8px; border: 0; border-radius: 4px; background: var(--line, #e5e7eb); accent-color: var(--accent); vertical-align: middle; }
progress.appbar::-webkit-progress-bar { background: #e5e7eb; border-radius: 4px; }
progress.appbar::-webkit-progress-value { background: var(--accent); border-radius: 4px; }
progress.appbar::-moz-progress-bar { background: var(--accent); border-radius: 4px; }
