@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Outfit:wght@400;500;600;700&display=swap");
:root {
  font-family: "DM Sans", sans-serif;
  color: #253043;
  background: #f8f9fb;
  font-synthesis: none;
  --blue: #3157df;
  --muted: #6c7686;
  --line: #e3e7ed;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
textarea,
select {
  font: inherit;
}
button,
a,
input,
textarea,
select {
  outline-offset: 4px;
}
button:focus-visible,
a:focus-visible {
  outline: 3px solid #7190ef;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}
a {
  color: var(--blue);
  text-decoration: none;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1,
h2,
h3 {
  font-family: "Outfit", sans-serif;
  letter-spacing: -0.035em;
}
h1 {
  font-size: 44px;
  line-height: 1.1;
  margin-bottom: 12px;
  font-weight: 500;
}
h2 {
  font-size: 25px;
  font-weight: 500;
}
h3 {
  font-size: 19px;
  font-weight: 500;
}
p {
  line-height: 1.65;
}
.workspace {
  display: grid;
  grid-template-columns: 235px minmax(0, 1fr);
  min-height: 100vh;
}
.sidebar {
  background: #fff;
  border-right: 1px solid var(--line);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 0;
  height: 100vh;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font:
    bold 26px "Outfit",
    sans-serif;
  color: white;
}
.brand:first-letter {
  background: var(--blue);
}
.brand {
  color: var(--blue);
}
.brand span {
  color: #253043;
  letter-spacing: -1px;
}
.workspace-label {
  font-size: 9px;
  letter-spacing: 1.5px;
  color: #8a93a1;
  margin: 55px 0 18px;
}
.sidebar nav {
  display: grid;
  gap: 7px;
}
.sidebar nav button {
  display: flex;
  gap: 13px;
  text-align: left;
  padding: 13px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: #6c7686;
  font-size: 14px;
}
.sidebar nav button.active {
  background: #edf1fd;
  color: var(--blue);
  font-weight: 600;
}
.sidebar-bottom {
  margin-top: auto;
  padding-top: 50px;
  display: grid;
  gap: 15px;
  font-size: 12px;
}
.account {
  overflow-wrap: anywhere;
  color: var(--muted);
}
.workspace-main {
  max-width: 1400px;
  width: 100%;
  padding: 50px 55px 90px;
  margin: auto;
}
.page-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  margin-bottom: 38px;
}
.page-heading p {
  color: var(--muted);
  font-size: 14px;
  margin: 0;
}
.overline {
  font-size: 9px;
  letter-spacing: 1.8px;
  font-weight: 700;
  color: #809080;
  margin-bottom: 15px;
}
.primary,
.secondary {
  display: inline-flex;
  gap: 18px;
  align-items: center;
  justify-content: center;
  padding: 13px 19px;
  border-radius: 8px;
  border: 1px solid var(--blue);
  background: var(--blue);
  color: white;
  font-weight: 600;
  font-size: 13px;
  line-height: 1.4;
  text-align: center;
}
.secondary {
  background: white;
  border-color: #d6dce5;
  color: #344054;
}
.quiet,
.back-link {
  border: 0;
  background: transparent;
  color: var(--blue);
  font-size: 13px;
  padding: 0;
  text-align: left;
}
.back-link {
  margin-bottom: 22px;
}
.full {
  width: 100%;
}
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 35px;
}
.stats > div {
  background: white;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.stats span {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--muted);
}
.stats strong {
  font:
    500 38px "Outfit",
    sans-serif;
  display: block;
  margin-top: 15px;
}
.stats small {
  font-size: 18px;
  color: #a3aab7;
}
.section-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin: 26px 0 18px;
}
.section-label h2 {
  margin: 0;
  font-size: 23px;
}
.section-label > span {
  font-size: 12px;
  color: var(--muted);
}
.test-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}
.test-tile {
  background: white;
  padding: 25px;
  border: 1px solid var(--line);
  border-radius: 12px;
  text-align: left;
  color: inherit;
}
.test-tile:hover {
  border-color: #9eb0e9;
  box-shadow: 0 6px 24px #3157df09;
}
.tile-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
}
.app-icon {
  display: grid;
  place-items: center;
  width: 43px;
  height: 43px;
  border-radius: 12px;
  background: #edf0d9;
  font:
    600 24px "Outfit",
    sans-serif;
  color: #526446;
}
.test-tile h3 {
  font-size: 25px;
  margin-bottom: 8px;
}
.test-tile p {
  font-size: 13px;
  color: var(--muted);
}
.tile-bottom {
  border-top: 1px solid var(--line);
  padding-top: 18px;
  margin-top: 25px;
  display: flex;
  justify-content: space-between;
  font-size: 12px;
}
.badge {
  display: inline-block;
  font-size: 10px;
  padding: 6px 10px;
  border-radius: 5px;
  background: #f0f2f6;
  color: #657084;
  text-transform: capitalize;
  white-space: nowrap;
}
.badge.in_progress,
.badge.accepted,
.badge.submitted {
  background: #edf1ff;
  color: #3157df;
}
.badge.approved,
.badge.completed {
  background: #e9f3ea;
  color: #37764c;
}
.badge.pending,
.badge.queued,
.badge.invited {
  background: #fbf3d9;
  color: #947126;
}
.badge.revision_requested,
.badge.refunded,
.badge.rejected {
  background: #ffefeb;
  color: #a3523e;
}
.panel {
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 28px;
  margin-bottom: 24px;
}
.panel h2 {
  margin-bottom: 18px;
}
.panel p:last-child {
  margin-bottom: 0;
}
.panel-number {
  font-size: 10px;
  color: #8a93a1;
  letter-spacing: 1.5px;
  margin-bottom: 18px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 22px;
}
label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  margin: 20px 0;
}
input,
textarea,
select {
  display: block;
  width: 100%;
  margin-top: 9px;
  padding: 12px 13px;
  border: 1px solid #cfd6e1;
  border-radius: 7px;
  color: #253043;
  background: white;
  font-size: 14px;
  line-height: 1.5;
}
textarea {
  resize: vertical;
}
input:focus,
textarea:focus,
select:focus {
  outline: 2px solid #94abf5;
  border-color: var(--blue);
}
.check {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  line-height: 1.7;
  font-weight: 400;
}
.check input {
  width: 18px;
  height: 18px;
  margin: 2px 0;
  flex-shrink: 0;
  accent-color: var(--blue);
}
.muted {
  color: var(--muted);
  font-size: 13px;
}
.error {
  color: #ad362b;
  font-size: 13px;
  line-height: 1.6;
  overflow-wrap: anywhere;
}
.error:empty {
  display: none;
}
.notice {
  padding: 16px 18px;
  border-radius: 8px;
  background: #fff7df;
  color: #746031;
  font-size: 13px;
  line-height: 1.7;
  margin-bottom: 22px;
}
.notice p {
  margin: 8px 0 0;
}
.empty {
  padding: 65px 30px;
  border: 1px dashed #cdd5e0;
  border-radius: 12px;
  text-align: center;
  background: #fff;
}
.empty > span {
  font-size: 40px;
  color: var(--blue);
}
.empty h2 {
  margin: 20px 0 10px;
}
.empty p {
  font-size: 14px;
  max-width: 440px;
  margin: 0 auto 22px;
  color: var(--muted);
}
.empty.compact {
  padding: 25px;
  background: #f9fafb;
  border: 0;
}
.empty.compact p {
  margin-bottom: 0;
}
.sticky-actions {
  position: sticky;
  bottom: 0;
  display: flex;
  justify-content: flex-end;
  gap: 15px;
  padding: 18px;
  background: #f8f9fbef;
  border-top: 1px solid var(--line);
  backdrop-filter: blur(8px);
}
.sticky-actions .error {
  margin-right: auto;
}
.test-summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.test-summary h2 {
  font-size: 35px;
  margin: 10px 0;
}
.test-summary p {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 0;
}
.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin: 35px 0 42px;
}
.timeline > div {
  border-top: 2px solid #dfe4ee;
  padding-top: 15px;
  font-size: 12px;
  color: #8b94a3;
  display: flex;
  align-items: center;
  gap: 8px;
}
.timeline > div.done {
  border-color: var(--blue);
  color: var(--blue);
}
.timeline span {
  display: inline-grid;
  place-items: center;
  width: 23px;
  height: 23px;
  border-radius: 50%;
  background: #eef1f7;
  font-size: 11px;
}
.brief-summary {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  font-size: 14px;
  line-height: 1.8;
  gap: 20px;
}
.brief-summary dt {
  color: #8a93a1;
  font-size: 12px;
}
.brief-summary dd {
  margin: 0;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.button-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.checkout-card .button-row {
  margin: 22px 0;
}
.session-row,
.queue-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
}
.session-row p,
.queue-row p {
  font-size: 12px;
  color: var(--muted);
  margin: 6px 0;
}
.session-row h3 {
  margin-bottom: 8px;
}
.preserve {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font-size: 14px;
  line-height: 1.8;
}
.two-column {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 24px;
}
.two-column .brief-summary {
  display: block;
}
.two-column dt {
  margin-top: 20px;
}
.checklist {
  padding-left: 20px;
  font-size: 14px;
  line-height: 1.8;
}
.checklist li {
  margin-bottom: 15px;
}
.upload-box {
  background: #f6f8fe;
  border: 1px dashed #a8b9e9;
  padding: 25px;
  border-radius: 9px;
}
.upload-box span {
  font-size: 11px;
  display: block;
  margin-top: 12px;
  color: var(--muted);
}
.upload-box input {
  background: white;
  font-size: 12px;
}
progress {
  width: 100%;
  accent-color: var(--blue);
}
.integration-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 28px;
}
.application-review {
  padding: 22px 0;
  border-top: 1px solid var(--line);
}
.application-review .section-label {
  margin: 0 0 12px;
}
.application-review h3 {
  margin: 0;
}
.application-review p {
  font-size: 13px;
}
.review-session {
  flex-wrap: wrap;
}
.review-form {
  width: 100%;
  background: #f8f9fb;
  padding: 15px;
  border-radius: 8px;
}
.analysis-draft {
  padding: 18px 0;
  border-top: 1px solid var(--line);
}
details summary {
  cursor: pointer;
  font-size: 13px;
  color: var(--blue);
  line-height: 1.6;
}
details[open] summary {
  margin-bottom: 20px;
}
.update-item {
  padding: 25px 0;
  border-bottom: 1px solid var(--line);
}
.update-item p {
  font-size: 14px;
  color: var(--muted);
}
.auth-page {
  max-width: 1280px;
  margin: auto;
  padding: 40px 45px;
}
.auth-layout {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 90px;
  align-items: center;
  min-height: 80vh;
}
.auth-layout > section > h1 {
  font-size: 60px;
  line-height: 1.1;
}
.auth-layout em {
  font-family: Georgia, serif;
  color: var(--blue);
}
.auth-layout > section > p {
  font-size: 16px;
  color: var(--muted);
  max-width: 410px;
}
.auth-proof {
  display: flex;
  gap: 35px;
  margin-top: 50px;
  font-size: 12px;
  color: #9a8c56;
  line-height: 2.6;
}
.auth-proof strong {
  color: #495468;
  font-weight: 500;
}
.auth-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 15px;
  padding: 35px;
}
.auth-card > p {
  font-size: 14px;
  color: var(--muted);
}
.auth-links {
  display: grid;
  gap: 15px;
  margin: 25px 0;
}
.auth-links button {
  border: 0;
  background: none;
  padding: 0;
  text-align: left;
  color: var(--blue);
  font-size: 12px;
}
.verification {
  max-width: 580px;
  margin: 100px auto;
}
.verification .quiet {
  display: block;
  margin-top: 20px;
}
.demo-banner {
  background: #fff0b9;
  color: #75612d;
  font-size: 11px;
  text-align: center;
  padding: 10px;
  line-height: 1.6;
}
.loading {
  padding: 60px;
  text-align: center;
  color: var(--muted);
}
#toast {
  position: fixed;
  bottom: 25px;
  left: 50%;
  transform: translate(-50%, 20px);
  background: #253043;
  color: white;
  padding: 14px 20px;
  border-radius: 9px;
  font-size: 13px;
  max-width: 90%;
  opacity: 0;
  pointer-events: none;
  transition: 0.2s;
  z-index: 100;
}
#toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}
#media-dialog {
  width: min(1000px, 94vw);
  border: 0;
  border-radius: 14px;
  padding: 28px;
  max-height: 92vh;
}
#media-dialog::backdrop {
  background: #182233aa;
  backdrop-filter: blur(4px);
}
#media-dialog video {
  width: 100%;
  max-height: 65vh;
  background: #101827;
}
#media-dialog > button {
  position: absolute;
  right: 20px;
  top: 16px;
  background: none;
  border: 0;
  font-size: 28px;
}
#media-dialog p {
  font-size: 12px;
  color: var(--muted);
  margin-top: 15px;
}
[hidden] {
  display: none !important;
}
@media (min-width: 1500px) {
  .test-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 1100px) {
  .workspace {
    grid-template-columns: 190px minmax(0, 1fr);
  }
  .sidebar {
    padding: 25px 16px;
  }
  .workspace-main {
    padding: 35px 28px 70px;
  }
  .two-column {
    grid-template-columns: 1fr;
  }
  .auth-layout {
    gap: 40px;
  }
  .auth-layout > section > h1 {
    font-size: 48px;
  }
  .page-heading {
    align-items: flex-start;
  }
  .page-heading h1 {
    font-size: 36px;
  }
}
@media (max-width: 760px) {
  .workspace {
    display: block;
  }
  .sidebar {
    position: static;
    height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 18px;
  }
  .brand {
    font-size: 24px;
  }
  .workspace-label,
  .sidebar-bottom .account {
    display: none;
  }
  .sidebar nav {
    display: flex;
    margin-top: 20px;
    gap: 3px;
    overflow: auto;
  }
  .sidebar nav button {
    white-space: nowrap;
    padding: 10px;
    font-size: 12px;
    gap: 7px;
  }
  .sidebar-bottom {
    display: flex;
    justify-content: space-between;
    margin: 15px 0 0;
    padding: 0;
    font-size: 11px;
  }
  .workspace-main {
    padding: 28px 18px 60px;
  }
  .page-heading {
    display: block;
    margin-bottom: 25px;
  }
  .page-heading .primary {
    margin-top: 20px;
  }
  .page-heading h1 {
    font-size: 35px;
  }
  .stats {
    gap: 8px;
    margin-bottom: 25px;
  }
  .stats > div {
    padding: 15px 12px;
  }
  .stats strong {
    font-size: 29px;
  }
  .stats span {
    font-size: 8px;
    letter-spacing: 0.6px;
  }
  .test-grid {
    grid-template-columns: 1fr;
  }
  .panel {
    padding: 22px 18px;
  }
  .form-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .brief-summary {
    grid-template-columns: 1fr;
    gap: 5px;
  }
  .brief-summary dt {
    margin-top: 15px;
  }
  .timeline {
    gap: 8px;
  }
  .timeline > div {
    display: block;
    font-size: 10px;
    line-height: 1.7;
  }
  .timeline span {
    display: block;
    text-align: center;
    margin-bottom: 8px;
  }
  .session-row,
  .queue-row {
    flex-wrap: wrap;
  }
  .queue-row > div {
    width: 100%;
  }
  .test-summary h2 {
    font-size: 30px;
  }
  .test-summary {
    align-items: flex-start;
  }
  .auth-page {
    padding: 25px 20px;
  }
  .auth-layout {
    display: block;
    min-height: 0;
  }
  .auth-layout > section:first-child {
    margin: 50px 0 35px;
  }
  .auth-layout > section > h1 {
    font-size: 43px;
  }
  .auth-proof {
    display: none;
  }
  .auth-card {
    padding: 25px 20px;
  }
  .verification {
    margin: 50px 0;
  }
  .sticky-actions {
    padding: 15px 0;
    flex-wrap: wrap;
  }
  .sticky-actions .error {
    width: 100%;
  }
  .overline {
    font-size: 8px;
    line-height: 1.7;
  }
  .demo-banner {
    font-size: 9px;
  }
  .two-column {
    gap: 0;
  }
}
