:root {
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: #272a2e;
  background: #fafaf9;
  font-size: 14px;
  line-height: 1.5;
  --orange: #e25d2d;
  --border: #e7e7e3;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input {
  font: inherit;
}
button,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #df5e31;
  border: 1px solid #d85124;
  border-radius: 7px;
  color: white;
  padding: 10px 16px;
  cursor: pointer;
  font-weight: 600;
  white-space: nowrap;
}
button:hover,
.button:hover {
  filter: brightness(0.96);
}
.secondary {
  background: white;
  color: #464b50;
  border-color: #dcdedb;
}
.danger {
  color: #c33e35;
}
input {
  display: block;
  width: 100%;
  border: 1px solid #d9dcd8;
  border-radius: 6px;
  padding: 10px 12px;
  background: white;
  color: #272a2e;
  margin-top: 7px;
}
input:focus {
  outline: 2px solid #f2bfa8;
  outline-offset: 1px;
}
label {
  display: block;
  font-weight: 500;
}
aside {
  position: fixed;
  inset: 0 auto 0 0;
  width: 238px;
  background: #f3f3f0;
  border-right: 1px solid var(--border);
  padding: 30px 20px;
  display: flex;
  flex-direction: column;
}
.brand {
  font-size: 17px;
  font-weight: 750;
  letter-spacing: -0.6px;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 43px;
}
.logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: var(--orange);
  color: #fff;
  font-size: 21px;
  width: 31px;
  height: 34px;
}
.eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.6px;
  color: #858a85;
  margin-bottom: 16px;
}
.nav {
  padding: 11px 12px;
  border-radius: 6px;
  display: block;
  color: #535b55;
  margin: 2px 0;
}
.nav:hover {
  background: #e9eae5;
}
.divider {
  border-top: 1px solid #dedfd9;
  margin: 22px 0;
}
.aside-bottom {
  margin-top: auto;
  color: #7d827c;
  font-size: 11px;
  line-height: 2;
}
.dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #7b9c76;
  margin-right: 5px;
}
.link {
  background: none;
  border: 0;
  color: #737b75;
  font-size: 12px;
  padding: 10px 0;
}
main {
  margin-left: 238px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
header {
  height: 76px;
  padding: 0 45px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
  background: #fff;
  font-size: 12px;
}
header .muted {
  margin: 0 14px;
}
.badge {
  font-size: 9px;
  letter-spacing: 1.2px;
  background: #f3f1eb;
  border: 1px solid #e6e3d8;
  border-radius: 4px;
  padding: 4px 7px;
  color: #8a8065;
}
.content {
  padding: 44px 45px 70px;
  max-width: 1440px;
  width: 100%;
  margin: auto;
  flex: 1;
}
.orange {
  color: #bd623f;
}
h1 {
  font-size: 32px;
  line-height: 1.2;
  letter-spacing: -1.1px;
  font-weight: 650;
  margin: 10px 0 13px;
}
h2 {
  font-size: 16px;
  line-height: 1.4;
  font-weight: 600;
  margin: 0 0 10px;
}
p {
  margin-top: 0;
}
.description {
  color: #858a87;
  margin-bottom: 38px;
  max-width: 650px;
}
.section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 26px 0 18px;
  gap: 20px;
}
.section-title h2 {
  margin: 0;
}
.count {
  display: inline-block;
  background: #eaece7;
  border-radius: 4px;
  font-size: 11px;
  padding: 1px 7px;
  margin-left: 7px;
  color: #737a73;
}
.projects {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(265px, 1fr));
  gap: 20px;
  margin-bottom: 36px;
}
.project-card {
  border: 1px solid var(--border);
  border-radius: 10px;
  background: white;
  padding: 24px;
  transition: border-color 0.15s;
}
.project-card:hover {
  border-color: #d2ae96;
}
.project-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  background: #f7eee7;
  color: #bf744a;
  font-weight: 650;
  border: 1px solid #f0e0d1;
  border-radius: 9px;
  margin-bottom: 22px;
  font-size: 19px;
}
.project-card p {
  color: #8a8f89;
  font-size: 12px;
}
.card-bottom {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid #eeefeb;
  font-size: 10px;
  color: #848b80;
  display: flex;
  align-items: center;
  gap: 2px;
}
.card-bottom span:last-child {
  margin-left: auto;
  color: #6a726a;
}
.panel {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 9px;
  padding: 25px;
  margin-bottom: 24px;
}
.stack {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 17px;
}
.stack h2,
.stack p {
  margin: 0;
}
.stack form,
.stack label {
  width: 100%;
}
.stack input {
  max-width: 560px;
}
.inline-form {
  display: flex;
  align-items: flex-end;
  gap: 14px;
  max-width: 650px;
}
.inline-form label {
  flex: 1;
}
.muted {
  color: #8a908a;
  font-size: 12px;
}
.empty {
  padding: 64px 20px;
  text-align: center;
  color: #92958d;
}
.empty-icon {
  font-size: 30px;
  color: #c29d84;
  margin-bottom: 18px;
}
.empty h2 {
  color: #5a635a;
}
.empty p {
  max-width: 380px;
  margin: 0 auto;
}
.notice {
  padding: 16px 18px;
  border: 1px solid #ead9bb;
  background: #fffbf1;
  border-radius: 6px;
  color: #8a6b3e;
  font-size: 13px;
  margin-bottom: 20px;
}
.toolbar {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
  align-items: center;
}
.search {
  display: flex;
  flex: 1;
  gap: 8px;
}
.search input {
  margin: 0;
  max-width: 440px;
}
.toolbar form {
  margin: 0;
}
.inbox {
  padding: 0;
  overflow: hidden;
}
.inbox > .section-title {
  padding: 0 24px;
}
.table-scroll {
  overflow-x: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 12px;
}
th {
  padding: 12px 22px;
  background: #f7f8f5;
  color: #878f85;
  font-size: 10px;
  letter-spacing: 0.7px;
  text-transform: uppercase;
  font-weight: 500;
}
td {
  padding: 20px 22px;
  border-top: 1px solid #efefea;
  max-width: 300px;
  overflow-wrap: anywhere;
}
tr:hover td {
  background: #fdfcf9;
}
.subject {
  display: block;
  font-weight: 600;
  font-size: 13px;
  margin-bottom: 5px;
  color: #3d453f;
}
.subject:hover {
  color: var(--orange);
}
small {
  color: #92978e;
}
.nowrap {
  white-space: nowrap;
}
.pagination {
  display: flex;
  justify-content: space-between;
  padding: 16px 24px;
  color: #a26641;
}
.back {
  font-size: 12px;
  color: #8b8f85;
}
.message-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 20px 0;
}
.message-heading h1 {
  overflow-wrap: anywhere;
}
.metadata dl {
  display: grid;
  grid-template-columns: 155px 1fr;
  gap: 12px;
  font-size: 12px;
  margin: 0;
}
.metadata dt {
  color: #8a9187;
}
.metadata dd {
  margin: 0;
  overflow-wrap: anywhere;
}
.message {
  padding: 0;
  overflow: hidden;
}
.tabs {
  display: flex;
  gap: 30px;
  border-bottom: 1px solid var(--border);
  padding: 0 24px;
}
.tabs a {
  padding: 15px 0;
  color: #93998e;
  font-size: 12px;
}
.tabs .active {
  color: #b56942;
  border-bottom: 2px solid #dc8959;
}
.preview-note {
  font-size: 10px;
  color: #9c9f95;
  padding: 12px 24px;
  margin: 0;
  background: #fafbf8;
}
iframe {
  border: 0;
  width: 100%;
  min-height: 460px;
  background: #fff;
}
.mail-text {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  padding: 24px;
  min-height: 280px;
}
code,
pre {
  font-family: ui-monospace, SFMono-Regular, monospace;
  font-size: 12px;
}
code {
  background: #f5f5f0;
  border: 1px solid #e9e9e1;
  padding: 8px 10px;
  border-radius: 5px;
  overflow-wrap: anywhere;
  max-width: 100%;
}
pre {
  max-width: 100%;
  overflow-x: auto;
  background: #f8f8f4;
  border-radius: 5px;
  padding: 20px;
}
footer {
  border-top: 1px solid var(--border);
  padding: 22px 45px;
  color: #959b91;
  font-size: 10px;
  display: flex;
  justify-content: space-between;
}
.login {
  max-width: 470px;
  margin: 40px auto;
}
.login .panel {
  padding: 28px;
}
.login label {
  width: 100%;
}
:focus-visible {
  outline: 2px solid #c07748;
  outline-offset: 3px;
}
@media (max-width: 1050px) {
  aside {
    width: 205px;
  }
  main {
    margin-left: 205px;
  }
  .content {
    padding: 32px 24px;
  }
  header {
    padding: 0 24px;
  }
  .toolbar {
    flex-wrap: wrap;
  }
  .search {
    flex-basis: 100%;
  }
  .message-heading {
    flex-wrap: wrap;
  }
}
@media (max-width: 650px) {
  aside {
    position: static;
    width: 100%;
    padding: 14px 20px;
    display: block;
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }
  .brand {
    margin: 0 0 10px;
  }
  .nav {
    display: inline-block;
    padding: 5px 10px;
  }
  aside .eyebrow,
  aside .divider,
  .aside-bottom {
    display: none;
  }
  main {
    margin: 0;
  }
  header {
    height: 52px;
    padding: 0 20px;
  }
  .content {
    padding: 28px 20px 45px;
  }
  h1 {
    font-size: 27px;
  }
  .description {
    margin-bottom: 26px;
  }
  .inline-form {
    display: block;
  }
  .inline-form button {
    margin-top: 14px;
  }
  .toolbar .button,
  .toolbar button {
    font-size: 12px;
  }
  .metadata dl {
    grid-template-columns: 1fr;
    gap: 5px;
  }
  .metadata dd {
    margin-bottom: 12px;
  }
  footer {
    padding: 18px 20px;
  }
  footer span {
    display: none;
  }
  .tabs {
    gap: 20px;
  }
  .projects {
    grid-template-columns: 1fr;
  }
  .panel {
    padding: 20px;
  }
  .inbox,
  .message {
    padding: 0;
  }
}
