:root {
  font-family: Inter, system-ui, sans-serif;
  color: #18232b;
  background: #f4f3ef;
  font-size: 16px;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  display: flex;
}
a {
  color: #355e77;
}
button,
input,
select,
textarea {
  font: inherit;
}
button {
  cursor: pointer;
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid #73848c;
  border-radius: 5px;
  background: white;
  color: #18232b;
}
button:disabled {
  opacity: 0.65;
  cursor: wait;
}
.primary {
  background: #355e77;
  color: white;
  border-color: #355e77;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid #2080b5;
  outline-offset: 3px;
}
.sidebar {
  width: 248px;
  flex-shrink: 0;
  background: #172026;
  color: #e9e5e2;
  padding: 44px 28px;
  min-height: 100vh;
  position: sticky;
  top: 0;
  height: 100vh;
}
.brand {
  font-size: 34px;
  letter-spacing: 8px;
  color: #e9e5e2;
  text-decoration: none;
}
.brand span {
  font-size: 12px;
  display: block;
  letter-spacing: 5px;
  color: #91b7cf;
  margin-top: 8px;
}
.strap {
  font-size: 13px;
  line-height: 1.7;
  color: #b6c4cd;
  margin-top: 30px;
}
nav {
  display: grid;
  gap: 12px;
  margin-top: 64px;
}
nav a {
  padding: 14px 10px;
  color: #e9e5e2;
  text-decoration: none;
  border-left: 2px solid #6388a2;
}
.sidebar-foot {
  font-size: 9px;
  letter-spacing: 2px;
  position: absolute;
  bottom: 25px;
}
main {
  padding: 48px 5vw;
  max-width: 1500px;
  width: 100%;
  min-width: 0;
}
header,
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
h1 {
  font-size: 42px;
  line-height: 1.15;
  margin: 10px 0 28px;
  letter-spacing: -1.5px;
}
h2 {
  font-size: 26px;
  margin: 6px 0 20px;
}
h3 {
  font-size: 19px;
  margin: 8px 0 14px;
}
.eyebrow {
  font-size: 11px;
  letter-spacing: 2px;
  color: #526570;
  font-weight: 600;
}
.panel,
.engagement {
  padding: 30px;
  background: white;
  border: 1px solid #d6dddf;
  border-radius: 6px;
  margin: 24px 0;
}
.panel {
  max-width: 580px;
}
.section {
  margin-top: 44px;
}
.muted {
  color: #586873;
  font-size: 14px;
  line-height: 1.65;
}
.badge {
  display: inline-block;
  border: 1px solid #a5bac5;
  background: #ecf3f7;
  color: #355e77;
  border-radius: 4px;
  padding: 5px 10px;
  font-size: 12px;
}
.meta {
  display: flex;
  gap: 15px;
  align-items: center;
  margin-bottom: 18px;
  flex-wrap: wrap;
}
p {
  line-height: 1.7;
  overflow-wrap: anywhere;
}
.details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  border-top: 1px solid #dee4e6;
  padding-top: 24px;
  margin-top: 24px;
}
ul {
  padding-left: 20px;
}
li {
  margin: 10px 0;
  line-height: 1.55;
  overflow-wrap: anywhere;
}
label {
  display: block;
  margin: 18px 0;
  font-size: 14px;
  font-weight: 600;
}
input,
textarea,
select {
  display: block;
  width: 100%;
  padding: 12px;
  border: 1px solid #82959e;
  border-radius: 4px;
  margin-top: 8px;
  background: white;
  color: #18232b;
}
textarea {
  min-height: 100px;
  resize: vertical;
}
label.check {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 400;
}
input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin: 0;
}
.invoice {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0;
  border-bottom: 1px solid #cbd4d9;
  flex-wrap: wrap;
}
.invoice a {
  display: inline-block;
  border: 1px solid #355e77;
  border-radius: 4px;
  padding: 12px;
  text-decoration: none;
}
.empty {
  border: 1px dashed #879ca7;
  padding: 24px;
  border-radius: 4px;
}
.skip {
  position: absolute;
  top: -60px;
  left: 20px;
  background: white;
  padding: 12px;
  z-index: 5;
}
.skip:focus {
  top: 10px;
}
dialog {
  width: min(740px, 95vw);
  max-height: 90vh;
  border: 1px solid #8b9ca4;
  border-radius: 8px;
  padding: 30px;
}
dialog::backdrop {
  background: #10192099;
}
.edit-row {
  border-top: 1px solid #ddd;
  padding: 15px 0;
}
footer {
  margin-top: 64px;
  font-size: 12px;
  color: #65757e;
}
[hidden] {
  display: none !important;
}
#message {
  color: #355e77;
}
#save-message {
  color: #8a2b20;
}
@media (max-width: 900px) {
  .sidebar {
    width: 190px;
    padding: 30px 18px;
  }
  main {
    padding: 30px;
  }
  h1 {
    font-size: 34px;
  }
  .details {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 600px) {
  body {
    display: block;
  }
  .sidebar {
    position: static;
    width: 100%;
    height: auto;
    min-height: 0;
    padding: 20px;
  }
  .brand {
    font-size: 26px;
  }
  .strap,
  .sidebar-foot {
    display: none;
  }
  nav {
    display: flex;
    margin-top: 22px;
    gap: 20px;
  }
  nav a {
    padding: 8px;
  }
  main {
    padding: 24px 20px;
  }
  .panel,
  .engagement {
    padding: 22px;
  }
  header,
  .section-heading {
    align-items: flex-start;
    flex-wrap: wrap;
  }
  h1 {
    font-size: 32px;
  }
  dialog {
    padding: 20px;
  }
}
