@font-face {
  font-family: Geist;
  src: url("/assets/geist-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Geist;
  src: url("/assets/geist-latin-600-normal.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: Geist;
  src: url("/assets/geist-latin-700-normal.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: Merriweather;
  src: url("/assets/merriweather-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
:root {
  --navy: #07090f;
  --paper: #fff;
  --canvas: #f5f4f0;
  --cream: #efede6;
  --ink: #141823;
  --muted: #59616d;
  --line: #dedfdc;
  --blue: #2b5bad;
  --soft-blue: #e8eef9;
  --green: #226b47;
  --soft-green: #eaf2ed;
  --amber: #806017;
  --soft-amber: #f6efd9;
  --danger: #a13f36;
  --sans: Geist, system-ui, -apple-system, sans-serif;
  --serif: Merriweather, Georgia, serif;
  --radius: 7px;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font: 15px/1.6 var(--sans);
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  background: var(--navy);
  color: var(--cream);
  padding: 10px 17px;
  border: 1px solid var(--navy);
  border-radius: 5px;
  cursor: pointer;
  text-decoration: none;
  font-weight: 600;
  line-height: 1.4;
}
button:hover,
.button:hover {
  background: #242938;
}
button.secondary,
.button.secondary {
  background: transparent;
  border-color: #c9ccd2;
  color: var(--ink);
}
button.secondary:hover,
.button.secondary:hover {
  background: #edeeeb;
}
button.quiet {
  background: transparent;
  border-color: transparent;
  color: var(--muted);
  padding: 7px 10px;
}
button.danger {
  background: #faeae6;
  color: var(--danger);
  border-color: #e5bfb9;
}
button:disabled {
  opacity: 0.5;
  cursor: wait;
}
button.small,
.button.small {
  font-size: 12px;
  padding: 7px 11px;
}
button.active {
  background: var(--navy) !important;
  color: var(--cream) !important;
}
a {
  color: var(--blue);
  text-underline-offset: 3px;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1 {
  font: 400 clamp(29px, 3.3vw, 45px)/1.25 var(--serif);
  letter-spacing: -0.035em;
  margin-bottom: 17px;
}
h2 {
  font-size: 23px;
  line-height: 1.3;
  letter-spacing: -0.025em;
}
h3 {
  font-size: 16px;
  line-height: 1.4;
}
p {
  margin-bottom: 13px;
}
small,
.muted {
  color: var(--muted);
}
small {
  font-size: 12px;
}
.eyebrow {
  font-size: 11px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 13px;
}
.label {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 8px;
}
.copy {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.actions {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}
.stack {
  display: grid;
  gap: 16px;
}
.two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
}
.three {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
[hidden] {
  display: none !important;
}
:focus-visible {
  outline: 3px solid #5b9eff;
  outline-offset: 3px;
}
.skip {
  position: fixed;
  top: -80px;
  left: 15px;
  z-index: 100;
  padding: 12px;
  background: white;
}
.skip:focus {
  top: 10px;
}
.loading {
  min-height: 65vh;
  display: grid;
  place-content: center;
  text-align: center;
  justify-items: center;
  gap: 20px;
}
.brand {
  display: flex;
  gap: 12px;
  align-items: center;
  color: inherit;
  text-decoration: none;
}
.brand img {
  width: 43px;
  height: 43px;
}
.brand strong {
  display: block;
  font-size: 18px;
  letter-spacing: 0.12em;
  line-height: 1.3;
}
.brand small {
  display: block;
  font-size: 11px;
  letter-spacing: 0.03em;
  color: inherit;
  opacity: 0.7;
}
.top-brand {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 25px 40px;
  border-bottom: 1px solid var(--line);
}
.auth-wrap {
  max-width: 1120px;
  margin: 72px auto;
  padding: 0 30px;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 90px;
  align-items: start;
}
.auth-story {
  padding-top: 20px;
}
.auth-story h1 {
  font-size: 47px;
  max-width: 490px;
}
.auth-story p {
  color: var(--muted);
  max-width: 470px;
  font-size: 17px;
}
.auth-feature {
  border-top: 1px solid var(--line);
  padding: 18px 0;
  display: flex;
  gap: 17px;
}
.auth-feature span {
  color: var(--blue);
  font-size: 12px;
}
.auth-feature h3 {
  margin: 0 0 4px;
}
.auth-feature p {
  font-size: 14px;
  margin: 0;
}
.auth-card {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 34px;
  border-radius: var(--radius);
}
.auth-card h2 {
  margin-bottom: 8px;
}
.auth-card .button,
.auth-card button[type="submit"] {
  width: 100%;
  margin-top: 8px;
}
.auth-note {
  font-size: 12px;
  color: var(--muted);
  margin-top: 22px;
}
.field {
  display: grid;
  gap: 6px;
  margin: 16px 0;
  font-size: 13px;
  font-weight: 600;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  background: #fff;
  border: 1px solid #c8ccd1;
  border-radius: 4px;
  padding: 10px 12px;
  font-weight: 400;
  color: var(--ink);
}
.field textarea {
  min-height: 110px;
  resize: vertical;
}
.field small {
  font-weight: 400;
}
.check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 17px 0;
  font-size: 13px;
}
.check input {
  margin-top: 5px;
  flex-shrink: 0;
  accent-color: var(--blue);
}
.error {
  padding: 12px;
  background: #faeae6;
  border-left: 3px solid var(--danger);
  color: #7d2824;
  border-radius: 3px;
  margin: 15px 0;
  font-size: 13px;
}
.notice {
  background: var(--soft-blue);
  color: #29416c;
  border: 1px solid #d1ddee;
  padding: 15px 18px;
  border-radius: 5px;
  font-size: 13px;
  margin-bottom: 24px;
}
.notice.sample {
  background: var(--soft-amber);
  border-color: #e6d8ad;
  color: #6b5015;
}
.notice p:last-child {
  margin-bottom: 0;
}
.shell {
  display: grid;
  grid-template-columns: 244px minmax(0, 1fr);
  min-height: 100vh;
}
.sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
  background: var(--navy);
  color: var(--cream);
  padding: 29px 21px;
  display: flex;
  flex-direction: column;
}
.sidebar .brand {
  margin: 0 3px 35px;
}
.sidebar .nav-label {
  font-size: 10px;
  letter-spacing: 0.14em;
  color: #8f96a6;
  text-transform: uppercase;
  margin: 22px 10px 11px;
}
.nav {
  display: grid;
  gap: 4px;
}
.nav button {
  background: transparent;
  border: 0;
  color: #bec2cf;
  justify-content: flex-start;
  text-align: left;
  font-weight: 400;
  font-size: 13px;
  padding: 11px 12px;
}
.nav button[aria-current="page"] {
  background: var(--cream);
  color: var(--navy);
  font-weight: 600;
}
.nav button:hover {
  background: #202533;
  color: white;
}
.nav button[aria-current="page"]:hover {
  background: white;
  color: var(--navy);
}
.nav-num {
  font-size: 10px;
  opacity: 0.6;
  width: 18px;
}
.sidebar-foot {
  margin-top: auto;
  padding: 25px 9px 0;
  font-size: 11px;
  color: #989ead;
}
.sidebar-foot p {
  margin: 0 0 6px;
}
.workspace {
  min-width: 0;
}
.topbar {
  padding: 17px 38px;
  min-height: 74px;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  background: #faf9f6;
}
.topbar .context {
  color: var(--muted);
  font-size: 12px;
}
.topbar .context b {
  color: var(--ink);
  font-weight: 600;
}
.topbar .user {
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 13px;
}
.main {
  max-width: 1420px;
  margin: auto;
  padding: 42px 38px 85px;
  min-width: 0;
}
.page-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 29px;
}
.page-head p {
  color: var(--muted);
  max-width: 700px;
  margin: 0;
}
.page-head h1 {
  max-width: 780px;
}
.project-cover {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 270px;
  gap: 50px;
  padding: 10px 0 35px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 30px;
}
.project-cover .intro {
  font-size: 16px;
  color: #444d59;
  max-width: 760px;
}
.cover-meta {
  align-self: center;
  border-left: 1px solid var(--line);
  padding-left: 25px;
  display: grid;
  gap: 19px;
}
.cover-meta p {
  margin: 0;
  font-size: 13px;
}
.cover-meta strong {
  display: block;
  font-size: 17px;
  font-weight: 600;
}
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  margin: 0 0 32px;
}
.stat {
  padding: 22px 0;
  border-bottom: 2px solid var(--line);
}
.stat .number {
  font: 400 35px/1.2 var(--serif);
  margin: 8px 0;
}
.stat small {
  display: block;
}
.panel {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 25px;
  min-width: 0;
  margin-bottom: 25px;
}
.panel-head {
  display: flex;
  gap: 15px;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 18px;
}
.panel-head h2,
.panel-head h3 {
  margin-bottom: 5px;
}
.panel-head p {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
}
.panel > p:last-child {
  margin-bottom: 0;
}
.record {
  padding: 19px 0;
  border-bottom: 1px solid var(--line);
}
.record:first-child {
  padding-top: 0;
}
.record:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}
.record-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}
.record h3 {
  margin: 7px 0 9px;
}
.record p {
  font-size: 14px;
}
.record .actions {
  flex-shrink: 0;
}
.meta {
  display: flex;
  gap: 9px;
  align-items: center;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 11px;
}
.badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 8px;
  border-radius: 3px;
  background: #edf0f3;
  color: #4c5764;
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
}
.badge.green {
  background: var(--soft-green);
  color: var(--green);
}
.badge.amber {
  background: var(--soft-amber);
  color: var(--amber);
}
.badge.red {
  background: #fae8e4;
  color: var(--danger);
}
.badge.blue {
  background: var(--soft-blue);
  color: var(--blue);
}
.definition {
  display: grid;
  grid-template-columns: 155px 1fr;
  gap: 10px 18px;
  font-size: 13px;
}
.definition dt {
  color: var(--muted);
}
.definition dd {
  margin: 0;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.empty {
  padding: 32px 15px;
  text-align: center;
  color: var(--muted);
  border: 1px dashed #ccd0d4;
  border-radius: 5px;
}
.empty h3 {
  color: var(--ink);
  font-size: 16px;
}
.empty p {
  max-width: 480px;
  margin: 8px auto 20px;
  font-size: 14px;
}
.searchbar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.searchbar input {
  flex: 1;
  min-width: 200px;
  padding: 10px 13px;
  border: 1px solid #c9cdd3;
  border-radius: 5px;
  background: white;
}
.filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.filters button {
  background: transparent;
  color: var(--muted);
  border-color: var(--line);
  font-size: 12px;
  padding: 7px 12px;
}
.timeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.horizon {
  background: var(--paper);
  border-top: 3px solid var(--blue);
  padding: 22px;
  border-radius: 0 0 6px 6px;
}
.horizon h2 {
  font: 400 28px var(--serif);
}
.horizon .record {
  padding: 17px 0;
}
.horizon .record h3 {
  font-size: 15px;
}
.horizon .record p {
  font-size: 12px;
}
.file-row {
  display: flex;
  align-items: center;
  gap: 17px;
  padding: 19px 0;
  border-bottom: 1px solid var(--line);
}
.file-row:last-child {
  border-bottom: 0;
}
.file-type {
  width: 43px;
  height: 52px;
  border: 1px solid #c7cfdb;
  border-radius: 4px;
  display: grid;
  place-items: center;
  color: var(--blue);
  font-size: 10px;
  font-weight: 700;
  flex-shrink: 0;
  background: #f7f9fc;
}
.file-detail {
  min-width: 0;
  flex: 1;
}
.file-detail h3 {
  font-size: 14px;
  margin: 0 0 4px;
  overflow-wrap: anywhere;
}
.file-detail small {
  display: block;
  line-height: 1.4;
}
.file-row .actions {
  flex-shrink: 0;
}
.comment {
  border-left: 2px solid #d1dae7;
  padding: 4px 0 5px 18px;
  margin: 20px 0;
}
.comment p {
  margin: 8px 0;
  font-size: 14px;
}
.activity-row {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}
.activity-row small {
  display: block;
}
.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: step;
}
.steps li {
  counter-increment: step;
  display: flex;
  gap: 15px;
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
}
.steps li::before {
  content: counter(step, decimal-leading-zero);
  color: var(--blue);
  font-size: 12px;
  min-width: 20px;
  padding-top: 2px;
}
.steps li:last-child {
  border: 0;
}
.steps strong {
  display: block;
  margin-bottom: 4px;
}
.steps p {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
}
details {
  border-top: 1px solid var(--line);
  padding-top: 13px;
  margin-top: 15px;
}
summary {
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  color: var(--blue);
}
details .definition {
  margin-top: 18px;
}
.table-wrap {
  overflow: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
th {
  text-align: left;
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
th,
td {
  padding: 14px 12px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
th:first-child,
td:first-child {
  padding-left: 0;
}
.document-preview {
  height: 68vh;
  width: 100%;
  border: 1px solid var(--line);
  background: white;
}
.account-menu {
  display: flex;
  gap: 5px;
  align-items: center;
}
.link-text {
  overflow-wrap: anywhere;
  white-space: pre-wrap;
  padding: 14px;
  background: #f0f2f6;
  font-size: 12px;
}
.demo-footer {
  border-top: 1px solid var(--line);
  padding: 25px 0 0;
  color: var(--muted);
  font-size: 12px;
}
dialog {
  border: 1px solid #d4d8df;
  border-radius: 9px;
  max-width: 720px;
  width: calc(100% - 32px);
  max-height: 90vh;
  padding: 0;
  color: var(--ink);
  background: var(--paper);
}
dialog::backdrop {
  background: rgba(7, 9, 15, 0.52);
}
.modal-inner {
  padding: 30px;
}
.modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 22px;
}
.modal-head h2 {
  margin: 0 0 9px;
  font-size: 25px;
}
.modal-head p {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
}
.modal-head button {
  background: transparent;
  color: var(--muted);
  border: 0;
  font-size: 21px;
  padding: 0 5px;
}
.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
#message {
  position: fixed;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  padding: 13px 20px;
  background: var(--navy);
  color: white;
  font-size: 13px;
  border-radius: 6px;
  z-index: 100;
  max-width: calc(100% - 30px);
}
.section-anchor {
  scroll-margin-top: 25px;
}
.upload-note {
  font-size: 12px;
  color: var(--muted);
  margin: 15px 0;
}
.summary-text {
  white-space: pre-wrap;
  font-size: 16px;
  line-height: 1.75;
}
.project-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}
.project-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 26px;
}
.project-card h2 {
  font: 400 24px/1.4 var(--serif);
  margin: 17px 0 12px;
}
.project-card .actions {
  margin-top: 23px;
}
.project-card p {
  font-size: 13px;
  color: var(--muted);
}
.pending {
  border-left: 3px solid var(--amber);
  padding: 15px 20px;
  background: #faf5e7;
  font-size: 13px;
}
.inline-form {
  display: flex;
  gap: 10px;
  align-items: end;
}
.inline-form .field {
  flex: 1;
}
.progress-track {
  height: 5px;
  background: #e6e9e8;
  border-radius: 2px;
  overflow: hidden;
}
.progress-track span {
  display: block;
  height: 100%;
  background: var(--green);
}
@media (max-width: 1100px) {
  .shell {
    grid-template-columns: 214px minmax(0, 1fr);
  }
  .sidebar {
    padding: 24px 15px;
  }
  .main {
    padding: 32px 26px 70px;
  }
  .topbar {
    padding: 16px 26px;
  }
  .project-cover {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .cover-meta {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding: 20px 0 0;
    grid-template-columns: repeat(3, 1fr);
  }
  .timeline {
    grid-template-columns: 1fr;
  }
  .horizon {
    border-top-width: 2px;
  }
  .two {
    gap: 18px;
  }
  .auth-wrap {
    gap: 45px;
  }
  .auth-story h1 {
    font-size: 37px;
  }
}
@media (max-width: 760px) {
  .shell {
    display: block;
  }
  .sidebar {
    position: static;
    height: auto;
    padding: 17px 20px;
  }
  .sidebar .brand {
    margin: 0 0 18px;
  }
  .sidebar .nav-label,
  .sidebar-foot {
    display: none;
  }
  .nav {
    display: flex;
    overflow-x: auto;
    gap: 5px;
    padding-bottom: 4px;
  }
  .nav button {
    white-space: nowrap;
    flex-shrink: 0;
    padding: 9px 12px;
  }
  .nav-num {
    display: none;
  }
  .topbar {
    padding: 13px 20px;
    flex-wrap: wrap;
    gap: 8px;
  }
  .topbar .user {
    gap: 7px;
  }
  .main {
    padding: 27px 20px 60px;
  }
  .two,
  .three,
  .project-list {
    grid-template-columns: 1fr;
  }
  .stats {
    gap: 15px;
  }
  .stat .number {
    font-size: 28px;
  }
  .page-head {
    display: block;
  }
  .page-head > .actions {
    margin-top: 20px;
  }
  .cover-meta {
    grid-template-columns: 1fr 1fr;
    gap: 13px;
  }
  .auth-wrap {
    display: block;
    margin: 30px auto;
    padding: 0 20px;
  }
  .auth-story {
    margin-bottom: 30px;
  }
  .auth-story h1 {
    font-size: 34px;
  }
  .auth-features {
    display: none;
  }
  .auth-card {
    padding: 24px;
  }
  .top-brand {
    padding: 20px;
  }
  .record-head {
    flex-wrap: wrap;
  }
  .definition {
    grid-template-columns: 1fr;
    gap: 4px;
  }
  .definition dd {
    margin-bottom: 12px;
  }
  .file-row {
    gap: 12px;
    flex-wrap: wrap;
  }
  .file-row .actions {
    margin-left: 55px;
  }
  .panel {
    padding: 20px;
  }
  .modal-inner {
    padding: 22px;
  }
  .modal-actions {
    flex-wrap: wrap;
  }
  .project-cover {
    padding-bottom: 22px;
  }
  .summary-text {
    font-size: 15px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
  }
}

.eyebrow.compact {
  margin: 0;
}

.record-actions {
  margin-top: 15px;
}

/* Customer workspace: a document library with a small collaboration surface. */
.customer-shell {
  max-width: 1440px;
  margin: auto;
  min-height: 100vh;
}
.customer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 27px 56px;
  border-bottom: 1px solid var(--line);
}
.customer-header .brand {
  color: var(--ink);
}
.customer-account {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 12px;
  flex-wrap: wrap;
}
.customer-account a {
  color: var(--muted);
}
.customer-context {
  padding: 28px 56px 23px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.customer-context .eyebrow {
  display: block;
  margin-bottom: 4px;
}
.customer-context strong {
  font-size: 17px;
  font-weight: 600;
}
.customer-tabs {
  display: flex;
  gap: 30px;
  padding: 0 56px;
  border-bottom: 1px solid var(--line);
}
.customer-tabs button {
  position: relative;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--muted);
  padding: 13px 0 16px;
  gap: 10px;
}
.customer-tabs button[aria-current="page"] {
  color: var(--ink);
}
.customer-tabs button[aria-current="page"]::after {
  content: "";
  height: 3px;
  background: var(--ink);
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
}
.tab-count {
  border-radius: 20px;
  padding: 1px 7px;
  font-size: 11px;
  background: var(--soft-blue);
  color: var(--blue);
}
.customer-main {
  padding: 36px 56px 24px;
}
.customer-main .page-head {
  margin-bottom: 27px;
}
.customer-main .page-head h1 {
  max-width: 680px;
  font-size: clamp(30px, 3vw, 41px);
}
.delivery-meta {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 28px;
}
.delivery-meta strong {
  margin-left: 5px;
  font-weight: 600;
  color: var(--ink);
}
.document-library {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.document-card {
  background: var(--paper);
  padding: 28px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.document-heading {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 30px;
  align-items: center;
}
.document-number {
  color: var(--muted);
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}
.document-format {
  font-size: 11px;
  color: var(--muted);
}
.document-description {
  flex: 1;
  margin-bottom: 20px;
}
.document-description .eyebrow {
  display: block;
  margin-bottom: 8px;
}
.document-card h2 {
  font-size: 21px;
  margin-bottom: 12px;
}
.document-card p {
  font-size: 14px;
  color: var(--muted);
  max-width: 32em;
}
.document-featured {
  background: var(--navy);
  color: var(--cream);
}
.document-featured .document-number,
.document-featured .document-format,
.document-featured .eyebrow,
.document-featured p {
  color: #c8cbd3;
}
.document-featured button:not(.quiet) {
  background: var(--cream);
  border-color: var(--cream);
  color: var(--navy);
}
.document-featured button.quiet {
  color: var(--cream);
}
.document-featured button:hover {
  opacity: 0.85;
}
.other-documents {
  margin-top: 28px;
  border-bottom: 1px solid var(--line);
}
.other-documents summary {
  padding: 16px 0;
  cursor: pointer;
  font-weight: 600;
}
.other-documents summary span {
  margin-left: 10px;
  font-size: 12px;
  color: var(--muted);
  font-weight: 400;
}
.document-help {
  display: flex;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
  padding: 28px 0 8px;
}
.document-help p {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
  max-width: 680px;
}
.document-help strong {
  color: var(--ink);
}
.delivery-status {
  color: var(--ink);
  font-weight: 600;
}
.demo-next-step {
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  max-width: 760px;
}
.demo-next-step p {
  color: var(--muted);
  font-size: 14px;
  margin: 0 0 12px;
}
.demo-next-step a {
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  text-underline-offset: 4px;
}
.customer-footer {
  padding: 28px 56px 36px;
  color: var(--muted);
  font-size: 11px;
  max-width: 920px;
}
.comment-context {
  color: var(--blue);
  font-size: 12px;
  margin-bottom: 12px;
}
.comment .actions {
  margin-top: 16px;
}
.comment-history-note {
  color: var(--muted);
  font-size: 12px;
  margin: 12px 0 0;
}
.dialog-filters {
  display: flex;
  align-items: flex-end;
  gap: 20px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 24px;
}
.dialog-filters label {
  display: grid;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  flex: 0 1 460px;
  min-width: 0;
}
.dialog-filters select {
  width: 100%;
  min-width: 0;
}
.dialog-filters p {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 12px;
  white-space: nowrap;
}
.reply-reference {
  margin: 0 0 24px;
  padding: 12px 16px;
  border-left: 2px solid var(--line);
}
.reply-reference span {
  color: var(--muted);
  font-size: 12px;
}
.reply-reference p {
  margin: 8px 0 0;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font-size: 13px;
}
.request-card {
  border-top: 1px solid var(--line);
  padding: 23px 0;
}
.request-card:first-child {
  border-top: 0;
  padding-top: 0;
}
.request-card:last-child {
  padding-bottom: 0;
}
.request-card .actions {
  margin-top: 18px;
}
.request-history {
  border-top: 1px solid var(--line);
  margin-top: 24px;
}
.request-history > summary {
  padding: 20px 0;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
}
.request-history > summary span {
  margin-left: 12px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 400;
  white-space: nowrap;
}
.request-history .request-card:first-of-type {
  padding-top: 4px;
  border-top: 0;
}
.request-history .request-card:last-child {
  padding-bottom: 12px;
}
.attachment-record {
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.attachment-record .file-row {
  border: 0;
}
.attachment-record > p,
.attachment-record > small {
  margin-left: 60px;
}
@media (max-width: 1100px) {
  .customer-header,
  .customer-context,
  .customer-tabs,
  .customer-main,
  .customer-footer {
    padding-left: 30px;
    padding-right: 30px;
  }
  .document-library {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 640px) {
  .customer-header,
  .customer-context,
  .customer-tabs,
  .customer-main,
  .customer-footer {
    padding-left: 20px;
    padding-right: 20px;
  }
  .customer-header {
    align-items: flex-start;
    padding-top: 20px;
    padding-bottom: 20px;
  }
  .customer-account {
    justify-content: flex-end;
    gap: 10px;
    max-width: 45%;
  }
  .customer-account > span:not(.badge) {
    display: none;
  }
  .customer-context {
    align-items: flex-start;
  }
  .customer-context .actions {
    justify-content: flex-end;
  }
  .customer-main {
    padding-top: 30px;
  }
  .document-library {
    grid-template-columns: 1fr;
  }
  .document-card {
    padding: 24px;
  }
  .document-heading {
    margin-bottom: 24px;
  }
  .delivery-meta {
    gap: 12px 20px;
  }
  .document-help {
    align-items: flex-start;
    flex-direction: column;
  }
  .other-documents summary span {
    display: block;
    margin-left: 0;
  }
  .dialog-filters {
    align-items: stretch;
    flex-direction: column;
    gap: 10px;
  }
  .dialog-filters label {
    flex-basis: auto;
  }
  .dialog-filters p {
    margin-bottom: 0;
  }
}

.demo-notice {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 24px;
  margin: 0 0 28px;
  background: var(--paper);
  border-left: 2px solid var(--blue);
  font-size: 13px;
}
.demo-notice p {
  max-width: 720px;
  margin: 6px 0 0;
  color: var(--muted);
  line-height: 1.6;
}
.demo-notice button {
  flex-shrink: 0;
}
@media (max-width: 640px) {
  .demo-notice {
    flex-direction: column;
    gap: 12px;
    padding: 18px;
  }
}
