/* site-worker/shared/web/day-chart.css */
.daychart {
  margin: 1.1rem 0 0;
}
.daychart figcaption {
  font-weight: 800;
  margin: 0 0 .5rem;
}
.daychart-plot {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: .45rem;
}
.daychart-y {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  margin: -.4em 0;
  font-size: .75rem;
  line-height: 1;
  color: var(--muted);
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.daychart svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
  touch-action: pan-y;
  cursor: crosshair;
  border-radius: 2px;
}
.daychart svg:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 4px;
}
.daychart .bar {
  fill: var(--blue);
}
.daychart .bar.on {
  fill: #0b1a73;
}
.daychart .grid,
.daychart .base {
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}
.daychart .grid {
  stroke: #e4e4ea;
}
.daychart .base {
  stroke: #8d8d99;
}
.daychart .cross {
  fill: var(--blue);
  opacity: 0;
}
.daychart .cross.on {
  opacity: .1;
}
.daychart-x {
  display: flex;
  justify-content: space-between;
  margin: .35rem 0 0;
  font-size: .75rem;
  color: var(--muted);
}
.daychart-readout {
  margin: .5rem 0 0;
  min-height: 1.5em;
  font-weight: 700;
}
.daychart-table {
  margin: .7rem 0 0;
}
.daychart-table table {
  font-variant-numeric: tabular-nums;
  margin-top: .4rem;
}

/* site-worker/portal/web/styles/index.css */
@font-face {
  font-family: "Archivo";
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url(/fonts/Archivo.woff2) format("woff2");
}
:root {
  --blue:#1d3bff;
  --yellow:#ffd23f;
  --black:#0e0e10;
  --ink:#111;
  --muted:#55555f;
  --line:#dcdce3;
  --bg:#f3f3f6;
  --red:#b3261e;
  --green:#0b6b43;
  --font:"Archivo",system-ui,sans-serif;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
[hidden] {
  display: none !important;
}
html {
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 450 1rem/1.5 var(--font);
}
a {
  color: var(--blue);
}
button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}
:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 2px;
}
h1 {
  font-size: 1.55rem;
  font-stretch: 115%;
  font-weight: 900;
  line-height: 1.15;
  margin: 0 0 .6rem;
}
h2 {
  font-size: 1.15rem;
  margin: 0 0 .5rem;
}
p {
  margin: .5rem 0;
}
.muted {
  color: var(--muted);
}
.error {
  color: var(--red);
  font-weight: 700;
  min-height: 1.2em;
  margin: 0;
}
.ok {
  color: var(--green);
  font-weight: 700;
  min-height: 1.2em;
  margin: 0;
}
.top {
  background: var(--blue);
  color: #fff;
  border-bottom: 3px solid #000;
}
.top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: 820px;
  margin: 0 auto;
  padding: .7rem 1rem;
}
.brand img {
  display: block;
  height: 34px;
  width: auto;
}
.top-tools {
  display: flex;
  gap: .4rem;
}
.top .link-btn {
  color: #fff;
  border: 2px solid #fff;
  border-radius: 8px;
  padding: .3rem .65rem;
  font-weight: 800;
  text-decoration: none;
}
#nav {
  display: flex;
  flex-wrap: wrap;
  gap: .3rem;
  max-width: 820px;
  margin: 0 auto;
  padding: 0 1rem .7rem;
}
#nav a {
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  padding: .4rem .8rem;
  border-radius: 9px;
}
#nav a[aria-current=page] {
  background: #fff;
  color: var(--blue);
}
main {
  max-width: 820px;
  margin: 0 auto;
  padding: 1.2rem 1rem 4rem;
}
.card {
  background: #fff;
  border: 2px solid #000;
  border-radius: 14px;
  padding: 1.1rem;
  margin: 0 0 1rem;
  box-shadow: 4px 4px 0 #000;
}
.card.narrow {
  max-width: 440px;
  margin: 1.5rem auto;
}
.row {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  align-items: center;
}
.spread {
  justify-content: space-between;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .35rem;
  padding: .55rem .95rem;
  border: 2px solid #000;
  border-radius: 10px;
  background: #fff;
  color: #000;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 3px 3px 0 #000;
}
.btn:active {
  translate: 2px 2px;
  box-shadow: 1px 1px 0 #000;
}
.btn.primary {
  background: var(--blue);
  color: #fff;
}
.btn[disabled] {
  opacity: .5;
  cursor: not-allowed;
  box-shadow: none;
}
.link-btn {
  border: 0;
  background: none;
  padding: 0;
  color: var(--blue);
  font-weight: 700;
  text-decoration: underline;
  cursor: pointer;
}
.stack {
  display: grid;
  gap: .8rem;
}
label {
  display: grid;
  gap: .25rem;
  font-weight: 700;
}
input,
select,
textarea {
  width: 100%;
  border: 2px solid #000;
  border-radius: 9px;
  padding: .55rem .65rem;
  background: #fff;
  font-weight: 450;
  font-size: 1rem;
}
textarea {
  resize: vertical;
  min-height: 7rem;
}
.stats {
  list-style: none;
  margin: .6rem 0 .2rem;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .6rem;
}
@media (min-width: 640px) {
  .stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
.stats li {
  display: grid;
  align-content: start;
  gap: .1rem;
  background: var(--bg);
  border-radius: 10px;
  padding: .75rem .85rem;
}
.stats span {
  font-weight: 700;
  font-size: .92rem;
}
.stats b {
  font-size: 1.9rem;
  font-weight: 900;
  font-stretch: 115%;
  line-height: 1.1;
}
.stats small {
  font-weight: 800;
  color: var(--muted);
}
.stats small.up {
  color: var(--green);
}
.stats small.down {
  color: var(--red);
}
.list {
  list-style: none;
  margin: 0;
  padding-left: 0;
}
.card.list {
  padding: 1.1rem;
}
.list > li {
  padding: .8rem 0;
  border-bottom: 1px solid var(--line);
}
.list > li:first-child {
  padding-top: 0;
}
.list > li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}
.invoice {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: .4rem .8rem;
  align-items: center;
}
.invoice small {
  display: block;
  color: var(--muted);
}
.invoice .amount {
  font-size: 1.15rem;
}
.invoice .btn {
  grid-column: 1/-1;
  justify-self: start;
}
@media (min-width: 640px) {
  .invoice {
    grid-template-columns: minmax(0, 1fr) auto auto;
  }
  .invoice .btn {
    grid-column: auto;
  }
}
.requests p {
  margin: 0 0 .3rem;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.requests small {
  color: var(--muted);
}
.tag {
  display: inline-block;
  font-size: .75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .03em;
  padding: .05em .5em;
  border: 1.5px solid #000;
  border-radius: 6px;
  background: var(--bg);
  color: #000;
}
.tag.paid,
.tag.done {
  background: #c9f2dc;
}
.tag.late {
  background: #ffd9d6;
}
.tag.due,
.tag.open,
.tag.in_progress {
  background: var(--yellow);
}
.price {
  font-size: 1.25rem;
}
.checks {
  list-style: none;
  margin: .3rem 0 .8rem;
  padding: 0;
  display: grid;
  gap: .35rem;
}
.checks li {
  position: relative;
  padding-left: 1.5rem;
}
.checks li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  font-weight: 900;
  color: var(--green);
}
.facts {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: .5rem;
}
.facts li {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .2rem 1rem;
}
.facts span {
  color: var(--muted);
}
.facts a,
.facts b {
  overflow-wrap: anywhere;
}
