@font-face {
  font-family: "Bricolage Grotesque";
  src: url("/fonts/bricolage-grotesque.ttf") format("truetype");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Sans";
  src: url("/fonts/ibm-plex-sans.ttf") format("truetype");
  font-weight: 100 700;
  font-style: normal;
  font-display: swap;
}
:root {
  font-family:
    "IBM Plex Sans",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: #242621;
  background: #f2f3ef;
  font-synthesis: none;
  --yellow: #f4d44b;
  --muted: #74786f;
  --line: #e0e3db;
  --ink: #22251f;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  outline-offset: 4px;
}
button {
  cursor: pointer;
  border: 1px solid var(--line);
  background: white;
  border-radius: 8px;
  padding: 11px 16px;
  font-weight: 600;
  color: var(--ink);
}
button:hover {
  background: #f4f4ed;
}
button.primary {
  background: var(--yellow);
  border-color: var(--yellow);
}
button.dark {
  background: var(--ink);
  color: white;
  border-color: var(--ink);
}
button:disabled {
  opacity: 0.5;
  cursor: wait;
}
a {
  color: inherit;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1 {
  font-size: 38px;
  letter-spacing: -1.4px;
  font-weight: 650;
  margin-bottom: 12px;
}
h2 {
  font-size: 23px;
  letter-spacing: -0.5px;
}
h3 {
  font-size: 16px;
}
p {
  line-height: 1.6;
}
.muted,
small {
  color: var(--muted);
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 11px;
  font-weight: 750;
}
.skip {
  position: fixed;
  top: -100px;
}
.skip:focus {
  top: 0;
  z-index: 10;
  background: white;
}
.sidebar {
  position: fixed;
  width: 236px;
  inset: 0 auto 0 0;
  background: #20231e;
  color: #e8ebe1;
  padding: 32px 20px;
  display: flex;
  flex-direction: column;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 23px;
  font-weight: 700;
  letter-spacing: -1px;
  text-decoration: none;
  padding: 0 12px;
}
.brand img {
  width: 34px;
}
.sidebar .eyebrow {
  color: #8d9684;
  margin: 38px 14px 15px;
}
.sidebar nav a {
  display: flex;
  gap: 13px;
  align-items: center;
  padding: 14px;
  border-radius: 8px;
  text-decoration: none;
  color: #abb3a3;
  margin: 4px 0;
  font-size: 14px;
}
.sidebar nav a.active {
  background: #35392d;
  color: #f7dc61;
}
.nav-icon {
  width: 20px;
  opacity: 0.8;
  font-size: 17px;
}
.company {
  margin-top: auto;
  border-top: 1px solid #414638;
  padding: 22px 12px 0;
  font-size: 13px;
}
.company strong {
  display: block;
  margin-bottom: 7px;
}
.company button {
  padding: 6px 0;
  background: transparent;
  color: #aab1a2;
  border: 0;
  font-size: 12px;
}
.workspace {
  margin-left: 236px;
}
.topbar {
  height: 78px;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 44px;
  background: #fafbf7;
  font-size: 12px;
  color: #73796c;
}
.topbar strong {
  color: #353b2f;
  font-weight: 550;
}
.local {
  display: flex;
  align-items: center;
  gap: 8px;
}
.local:before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #849c62;
}
main.content {
  max-width: 1450px;
  margin: auto;
  padding: 44px;
}
.pagehead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 30px;
}
.pagehead p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}
.hero {
  background: var(--yellow);
  border-radius: 14px;
  padding: 34px;
  display: grid;
  grid-template-columns: 1fr 210px;
  gap: 24px;
  position: relative;
  overflow: hidden;
  margin-bottom: 26px;
}
.hero h2 {
  font-size: 32px;
  max-width: 500px;
  margin: 15px 0;
  letter-spacing: -1px;
}
.hero p {
  font-size: 14px;
  max-width: 470px;
}
.hero .graphic {
  border: 1px solid #b69b29;
  border-radius: 50%;
  width: 180px;
  height: 180px;
  display: grid;
  place-content: center;
  transform: rotate(-15deg);
  box-shadow:
    0 0 0 25px #e4c342,
    0 0 0 26px #c7ac33;
  align-self: center;
}
.graphic span {
  font-size: 58px;
  font-weight: 750;
  letter-spacing: -5px;
}
.graphic small {
  text-align: center;
  color: #615719;
  letter-spacing: 2px;
  font-size: 9px;
}
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 30px;
}
.stat {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fbfcf8;
  padding: 24px;
}
.stat .value {
  font-size: 31px;
  font-weight: 600;
  letter-spacing: -1px;
  margin-top: 14px;
}
.stat small {
  font-size: 12px;
}
.panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  margin-bottom: 22px;
  overflow: hidden;
}
.panelhead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 24px;
  border-bottom: 1px solid var(--line);
}
.panelhead h2 {
  font-size: 17px;
  margin: 0;
}
.panelbody {
  padding: 24px;
}
.empty {
  padding: 48px 24px;
  text-align: center;
}
.empty h3 {
  font-size: 20px;
}
.empty p {
  color: var(--muted);
  font-size: 14px;
  max-width: 400px;
  margin: 0 auto 22px;
}
.row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 24px;
  border-bottom: 1px solid #eef0e9;
}
.row:last-child {
  border-bottom: 0;
}
.row strong {
  display: block;
  font-size: 14px;
  margin-bottom: 6px;
}
.row small {
  font-size: 12px;
}
.row .right {
  text-align: right;
  display: flex;
  gap: 14px;
  align-items: center;
}
.badge {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.7px;
  font-weight: 700;
  padding: 6px 9px;
  background: #f0f1eb;
  border-radius: 5px;
  white-space: nowrap;
}
.badge.accepted,
.badge.completed {
  background: #e8efde;
  color: #4e6834;
}
.badge.issued,
.badge.scheduled {
  background: #fff3c5;
  color: #79651d;
}
.grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.card {
  background: #fff;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.card h3 {
  margin-bottom: 9px;
}
.card p {
  font-size: 13px;
  color: var(--muted);
}
.actions {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}
.small {
  font-size: 12px;
  padding: 8px 11px;
}
.details {
  white-space: pre-wrap;
  line-height: 1.6;
  font-size: 14px;
}
dialog {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 0;
  width: min(760px, calc(100% - 32px));
  max-height: 90vh;
  box-shadow: 0 30px 100px #0003;
}
dialog::backdrop {
  background: #11170f80;
  backdrop-filter: blur(4px);
}
.modalhead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 28px;
  border-bottom: 1px solid var(--line);
}
.modalhead h2 {
  margin: 0;
}
.modalbody {
  padding: 26px 28px;
}
.modalfoot {
  border-top: 1px solid var(--line);
  padding: 20px 28px;
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  background: #fafbf8;
}
label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 18px;
}
input,
select,
textarea {
  width: 100%;
  border: 1px solid #d5dace;
  border-radius: 7px;
  padding: 12px;
  background: #fff;
  color: #252b21;
  margin-top: 7px;
  min-width: 0;
}
textarea {
  min-height: 90px;
  resize: vertical;
}
input:focus,
select:focus,
textarea:focus {
  outline: 2px solid #c0a32c;
  border-color: transparent;
}
.formgrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 18px;
}
.full {
  grid-column: 1/-1;
}
.hint {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
}
.error {
  color: #a12f24;
  background: #fff1ed;
  padding: 12px;
  border-radius: 6px;
  font-size: 13px;
}
.error:empty {
  display: none;
}
.lineitem {
  background: #f6f7f2;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 16px;
  margin-bottom: 14px;
}
.linegrid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 12px;
}
.check {
  display: flex;
  align-items: center;
  gap: 10px;
  line-height: 1.5;
}
.check input {
  width: 17px;
  margin: 0;
}
.total {
  display: flex;
  justify-content: space-between;
  font-size: 24px;
  font-weight: 650;
  border-top: 1px solid var(--line);
  padding-top: 18px;
  margin-top: 18px;
}
.auth {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.authstory {
  background: #22261e;
  color: #f4f5ed;
  padding: 65px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.authstory h1 {
  font-size: 65px;
  line-height: 1.07;
  max-width: 570px;
  letter-spacing: -3px;
}
.authstory h1 em {
  font-style: normal;
  color: var(--yellow);
}
.authstory p {
  color: #aeb6a4;
  max-width: 370px;
}
.authform {
  max-width: 480px;
  width: 100%;
  margin: auto;
  padding: 40px;
}
.authform h2 {
  font-size: 30px;
}
.authform .primary {
  width: 100%;
}
.textbutton {
  border: 0;
  background: none;
  padding: 12px 0;
  text-decoration: underline;
  font-size: 12px;
}
.review {
  max-width: 800px;
  margin: 45px auto;
  padding: 0 22px;
}
.review .brand {
  padding: 0;
  margin-bottom: 35px;
}
.review .panelbody {
  padding: 32px;
}
.review h1 {
  margin-top: 25px;
}
.loading {
  padding: 80px;
  text-align: center;
}
#notice {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 20;
  background: #252c20;
  color: white;
  padding: 15px 22px;
  border-radius: 10px;
  box-shadow: 0 5px 30px #0002;
}
#notice:empty {
  display: none;
}
.coststrip {
  padding: 16px;
  border-radius: 8px;
  background: #f5f2e4;
  font-size: 12px;
  line-height: 1.6;
  margin: 18px 0;
}
.search {
  max-width: 320px;
  margin: 0 0 20px;
}
.linkbox {
  word-break: break-all;
  background: #f3f5ee;
  padding: 16px;
  border-radius: 8px;
  font-size: 13px;
}
.step {
  width: 30px;
  height: 30px;
  border-radius: 7px;
  background: #f4d44b;
  display: grid;
  place-items: center;
  font-weight: 650;
  margin-bottom: 15px;
}
@media (min-width: 1500px) {
  main.content {
    padding: 50px 60px;
  }
}
@media (max-width: 1000px) {
  .sidebar {
    width: 190px;
    padding: 28px 12px;
  }
  .workspace {
    margin-left: 190px;
  }
  main.content {
    padding: 28px;
  }
  .topbar {
    padding: 0 28px;
  }
  .hero {
    grid-template-columns: 1fr;
  }
  .graphic {
    display: none !important;
  }
  .authstory {
    padding: 40px;
  }
  .authstory h1 {
    font-size: 48px;
  }
}
@media (max-width: 700px) {
  .sidebar {
    position: static;
    width: 100%;
    padding: 16px;
  }
  .sidebar .brand {
    font-size: 20px;
  }
  .sidebar .eyebrow,
  .company {
    display: none;
  }
  .sidebar nav {
    display: flex;
    overflow-x: auto;
    margin-top: 14px;
  }
  .sidebar nav a {
    padding: 10px;
    font-size: 12px;
    white-space: nowrap;
    gap: 5px;
  }
  .nav-icon {
    display: none;
  }
  .workspace {
    margin: 0;
  }
  .topbar {
    height: 48px;
    padding: 0 20px;
    font-size: 10px;
  }
  main.content {
    padding: 25px 18px;
  }
  h1 {
    font-size: 29px;
  }
  .pagehead {
    align-items: flex-start;
    gap: 12px;
  }
  .pagehead > button {
    font-size: 12px;
    padding: 11px;
    flex-shrink: 0;
  }
  .hero {
    padding: 24px;
  }
  .hero h2 {
    font-size: 28px;
  }
  .stats {
    gap: 8px;
  }
  .stat {
    padding: 14px 10px;
  }
  .stat .value {
    font-size: 23px;
  }
  .stat small {
    font-size: 10px;
  }
  .grid {
    grid-template-columns: 1fr;
  }
  .row {
    padding: 18px;
    gap: 10px;
  }
  .row .right {
    gap: 7px;
    flex-wrap: wrap;
    justify-content: flex-end;
  }
  .row strong {
    font-size: 13px;
  }
  .formgrid {
    grid-template-columns: 1fr;
  }
  .full {
    grid-column: auto;
  }
  .linegrid {
    grid-template-columns: 1fr 1fr;
  }
  .modalhead,
  .modalbody,
  .modalfoot {
    padding: 20px;
  }
  .auth {
    grid-template-columns: 1fr;
  }
  .authstory {
    padding: 30px;
  }
  .authstory h1 {
    font-size: 37px;
    letter-spacing: -1px;
    margin-top: 40px;
  }
  .authstory p,
  .authstory > small {
    display: none;
  }
  .authform {
    padding: 30px;
  }
  .review {
    margin: 25px auto;
  }
  .review .panelbody {
    padding: 22px;
  }
}
.nav-icon svg {
  width: 20px;
  height: 20px;
  display: block;
}
.mobile-only {
  display: none;
}
@media (max-width: 700px) {
  .mobile-only {
    display: inline-block;
    padding: 7px;
    font-size: 10px;
  }
  .actions .small {
    min-height: 42px;
  }
  .topbar strong {
    max-width: 45%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}
@media (prefers-reduced-motion: no-preference) {
  button {
    transition: background-color 120ms ease;
  }
  dialog[open] {
    animation: enter 150ms ease-out;
  }
  @keyframes enter {
    from {
      opacity: 0;
      transform: translateY(5px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}

/* Distinctive display type; quiet, highly legible operational text. */
h1,
h2,
h3,
.brand,
.graphic span,
.stat .value,
.total {
  font-family: "Bricolage Grotesque", sans-serif;
  font-optical-sizing: auto;
}
h1 {
  font-weight: 650;
  letter-spacing: -1.3px;
  line-height: 1.13;
}
h2 {
  font-weight: 650;
  line-height: 1.2;
}
.brand {
  font-weight: 750;
  letter-spacing: -0.9px;
}
.hero h2 {
  font-size: 36px;
  font-weight: 650;
  letter-spacing: -1.1px;
}
.graphic span {
  font-weight: 800;
  letter-spacing: -4px;
}
.stat .value,
.total,
.row .right strong {
  font-variant-numeric: tabular-nums;
}
button {
  font-weight: 600;
  letter-spacing: -0.15px;
}
.eyebrow {
  font-weight: 600;
  letter-spacing: 1.7px;
}
@media (max-width: 700px) {
  .hero h2 {
    font-size: 31px;
  }
  h1 {
    font-size: 32px;
    letter-spacing: -0.8px;
  }
  .brand {
    font-size: 23px;
  }
}
.schedule-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 25px;
}
.crew-select {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  margin: 0 0 20px;
}
.crew-select legend {
  font-size: 13px;
  font-weight: 600;
}
.crew-select .check {
  margin: 12px 0;
}
.badge.paid {
  background: #e8efde;
  color: #4e6834;
}
.badge.overdue {
  background: #fff1e2;
  color: #875019;
}
.badge.partial {
  background: #fff3c5;
  color: #79651d;
}
.sidebar nav a {
  padding: 11px 14px;
}
.review form {
  margin-top: 25px;
}
@media (max-width: 700px) {
  .schedule-summary {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .schedule-summary .stat {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
  }
  .schedule-summary .value {
    margin: 0;
  }
  .sidebar nav a {
    padding: 10px;
  }
  .crew-select .check {
    min-height: 36px;
  }
}
@media print {
  body {
    background: white;
  }
  .review {
    margin: 0;
    max-width: none;
  }
  .review .brand {
    margin-bottom: 15px;
  }
  .review .panel {
    border: 0;
  }
  .review button,
  .review > .hint,
  .review .coststrip,
  .skip {
    display: none;
  }
  .review .row {
    break-inside: avoid;
  }
}
.week-strip {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 9px;
  padding: 20px;
}
.week-strip button {
  padding: 15px 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  background: #f7f8f2;
}
.week-strip button[aria-pressed="true"] {
  background: var(--yellow);
  border-color: var(--yellow);
}
.week-strip strong {
  font-family: "Bricolage Grotesque";
  font-size: 20px;
  white-space: nowrap;
}
.week-strip span {
  font-size: 11px;
  color: #666e60;
}
@media (max-width: 700px) {
  .week-strip {
    display: flex;
    overflow-x: auto;
    padding: 15px;
    gap: 8px;
  }
  .week-strip button {
    min-width: 85px;
  }
  .week-strip strong {
    font-size: 17px;
  }
}

.email-preview {
  width: 100%;
  height: 480px;
  border: 1px solid var(--line, #d9ddd4);
  border-radius: 12px;
  background: #f2f3ef;
  margin: 16px 0;
}
@media (max-width: 600px) {
  .email-preview {
    height: 420px;
  }
}
