:root {
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: #192d2b;
  background: #f5f7f6;
  font-synthesis: none;
  --accent: #244e48;
  --muted: #647773;
  --border: #dce5e1;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
select,
textarea {
  font: inherit;
}
a {
  color: var(--accent);
}
button,
.button {
  cursor: pointer;
  border: 0;
  background: var(--accent);
  color: #fff;
  border-radius: 9px;
  padding: 11px 17px;
  font-weight: 650;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 7px;
  text-decoration: none;
  font-size: 14px;
}
button:hover,
.button:hover {
  filter: brightness(0.94);
}
button:disabled {
  opacity: 0.55;
  cursor: wait;
}
.secondary {
  background: white;
  color: var(--accent);
  border: 1px solid var(--border);
}
.danger {
  background: #fff0ed;
  color: #a83a29;
}
.quiet {
  background: transparent;
  color: var(--muted);
  padding: 8px;
}
.badge {
  display: inline-block;
  border-radius: 20px;
  padding: 5px 10px;
  font-size: 12px;
  font-weight: 650;
  background: #eaf1ef;
  color: #315c50;
}
.badge.expired,
.badge.suspended,
.badge.revoked {
  background: #fff0e6;
  color: #9b501b;
}
.badge.subscribed,
.badge.paid,
.badge.free {
  background: #e3f3e8;
  color: #2d6745;
}
.muted,
small {
  color: var(--muted);
}
small {
  font-size: 12px;
}
h1 {
  font-size: 32px;
  letter-spacing: -1px;
  margin: 10px 0;
}
h2 {
  font-size: 19px;
  letter-spacing: -0.4px;
  margin: 0 0 20px;
}
h3 {
  font-size: 16px;
  margin: 0 0 10px;
}
p {
  line-height: 1.65;
}
header {
  height: 76px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 36px;
  background: #fff;
}
.wordmark {
  font-weight: 750;
  text-decoration: none;
  letter-spacing: -0.5px;
  color: #203e38;
  display: flex;
  align-items: center;
  gap: 10px;
}
.mark {
  background: var(--accent);
  color: white;
  border-radius: 9px;
  width: 32px;
  height: 35px;
  display: grid;
  place-items: center;
  font-size: 20px;
}
.layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  min-height: calc(100vh - 76px);
}
aside {
  padding: 28px 18px;
  background: #fff;
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 9px;
}
aside .nav {
  justify-content: flex-start;
  background: transparent;
  color: var(--muted);
  font-weight: 550;
}
aside .nav.active {
  background: #eaf1ef;
  color: var(--accent);
}
aside select {
  width: 100%;
  margin-bottom: 16px;
}
aside small {
  margin-top: 28px;
  padding: 0 12px;
  overflow-wrap: anywhere;
}
.main {
  padding: 36px 42px;
  max-width: 1500px;
  width: 100%;
  margin: 0 auto;
}
.heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 28px;
}
.eyebrow {
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 1.8px;
  font-weight: 750;
  color: #607e72;
}
.card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 26px;
  margin: 20px 0;
  box-shadow: 0 4px 20px #1e3e3003;
}
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.stats .card {
  margin: 0;
}
.stats strong {
  font-size: 29px;
  display: block;
  margin: 8px 0;
}
.toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.toolbar h2 {
  margin: 0;
}
input,
select,
textarea {
  border: 1px solid #cbd8d1;
  border-radius: 8px;
  padding: 11px 12px;
  width: 100%;
  background: #fff;
  color: #263e35;
}
label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13px;
  font-weight: 650;
  margin: 16px 0;
}
input:focus,
select:focus,
textarea:focus {
  outline: 2px solid #9bc0ae;
  outline-offset: 1px;
}
.row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.check {
  flex-direction: row;
  align-items: center;
  font-weight: 450;
}
.check input {
  width: auto;
}
.actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}
.table-wrap {
  overflow: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 13px;
}
th {
  color: var(--muted);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  padding: 14px 10px;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}
td {
  padding: 16px 10px;
  border-bottom: 1px solid #edf1ef;
}
td strong,
td small {
  display: block;
}
td small {
  margin-top: 5px;
}
.empty {
  padding: 45px 15px;
  text-align: center;
  color: var(--muted);
}
.notice {
  padding: 14px 18px;
  border: 1px solid #bcd5c4;
  background: #edf7ef;
  border-radius: 9px;
  margin-bottom: 20px;
  overflow-wrap: anywhere;
}
.notice.error {
  border-color: #efc6ba;
  background: #fff2ee;
  color: #9a3b29;
}
.split {
  display: grid;
  grid-template-columns: minmax(260px, 400px) 1fr;
  gap: 25px;
}
.split > .card {
  margin-top: 0;
}
.public {
  max-width: 620px;
  margin: 70px auto;
  padding: 0 20px;
}
.public.wide {
  max-width: 1000px;
}
.public h1 {
  font-size: 36px;
}
.public .card {
  padding: 34px;
}
.public .button {
  width: 100%;
  margin-top: 14px;
}
.public .brand-logo {
  height: var(--logo-size, 40px);
  max-width: 240px;
  object-fit: contain;
}
.public .subtitle {
  font-size: 17px;
  color: var(--muted);
}
.public .secure {
  font-size: 12px;
  color: var(--muted);
  text-align: center;
}
.file-row {
  padding: 15px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
}
.file-row strong {
  display: block;
  overflow-wrap: anywhere;
}
.file-row .button {
  width: auto;
  margin: 0;
  flex-shrink: 0;
}
.file-row small {
  display: block;
  margin: 6px 0;
}
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: #112d2570;
  display: grid;
  place-items: center;
  padding: 20px;
  z-index: 5;
}
.modal {
  background: white;
  border-radius: 16px;
  width: min(690px, 100%);
  max-height: 94vh;
  overflow: auto;
  padding: 30px;
}
.modal .toolbar {
  position: sticky;
  top: -30px;
  background: white;
  padding: 15px 0;
}
.file-editor {
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 10px;
  margin-top: 10px;
}
.file-editor .check {
  margin: 5px 0;
}
.trial-card {
  background: linear-gradient(130deg, #edf4ef, #fff);
  border-color: #bdd4c3;
}
.plan-price {
  font-size: 40px;
  font-weight: 750;
  letter-spacing: -1px;
}
.loading {
  padding: 100px;
  text-align: center;
  color: var(--muted);
}
.search {
  max-width: 280px;
}
code {
  background: #edf2ef;
  padding: 4px 7px;
  border-radius: 5px;
  font-size: 12px;
  overflow-wrap: anywhere;
}
footer {
  font-size: 12px;
  color: var(--muted);
  margin: 40px 0;
  text-align: center;
}
dialog::backdrop {
  background: #112d2570;
}
@media (max-width: 1000px) {
  .layout {
    grid-template-columns: 190px 1fr;
  }
  .main {
    padding: 28px 22px;
  }
  .split {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 700px) {
  header {
    padding: 0 18px;
  }
  .layout {
    display: block;
  }
  aside {
    border-right: 0;
    flex-direction: row;
    flex-wrap: wrap;
    padding: 16px;
    gap: 5px;
  }
  aside select {
    width: 100%;
    margin: 0 0 5px;
  }
  aside small {
    display: none;
  }
  .main {
    padding: 24px 16px;
  }
  .heading {
    align-items: flex-start;
    flex-direction: column;
  }
  .stats {
    grid-template-columns: 1fr;
  }
  .row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .card {
    padding: 20px;
  }
  .public {
    margin: 30px auto;
  }
  .file-row {
    align-items: stretch;
    flex-direction: column;
  }
  .file-row .button {
    width: 100%;
  }
  .modal {
    padding: 22px;
  }
  .public .card {
    padding: 24px;
  }
  .wordmark {
    font-size: 15px;
  }
}

.setup-progress {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding: 0;
  margin: 0 0 28px;
}
.setup-progress li {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--muted);
  font-size: 14px;
  padding: 12px 0;
  border-bottom: 3px solid var(--border);
}
.setup-progress li.current {
  color: var(--accent);
  border-color: var(--accent);
  font-weight: 700;
}
.setup-progress li.complete {
  color: var(--accent);
}
.setup-progress span {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 1px solid var(--border);
  border-radius: 50%;
  flex-shrink: 0;
}
.setup-checks {
  list-style: none;
  padding: 0;
}
.setup-checks li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}
.setup-facts {
  padding: 12px 0 20px;
}
.setup-instructions li {
  padding: 8px 0;
  line-height: 1.6;
}
.onboarding .card {
  padding: 36px;
}
.setup-checks code {
  overflow-wrap: anywhere;
}
@media (max-width: 600px) {
  .setup-progress {
    gap: 6px;
  }
  .setup-progress li {
    font-size: 12px;
    flex-direction: column;
    align-items: flex-start;
  }
  .onboarding .card {
    padding: 24px;
  }
  .onboarding h1 {
    font-size: 30px;
  }
}

/* Shared workspace geometry follows the ATi document portal. */
:root {
  color: #19243b;
  background: #f5f7fc;
  --muted: #748099;
  --border: #e0e6f0;
}
body {
  font-size: 14px;
}
h1 {
  font-size: 30px;
  line-height: 1.2;
  letter-spacing: -1px;
}
h2 {
  font-size: 20px;
  line-height: 1.3;
}
input,
select,
textarea {
  color: #263550;
  border-color: #d6deeb;
  min-height: 42px;
}
input:focus,
select:focus,
textarea:focus {
  outline-color: var(--accent);
}
button:focus-visible,
a:focus-visible {
  outline: 3px solid #8ba7e8;
  outline-offset: 3px;
}
input[type="color"] {
  width: 62px;
  padding: 5px;
}
input[type="range"] {
  padding: 0;
  accent-color: var(--accent);
}
.card {
  border-radius: 10px;
  box-shadow: none;
  padding: 26px;
}
.eyebrow {
  color: var(--accent);
  font-weight: 650;
}
.heading {
  margin-bottom: 28px;
}
.heading p {
  margin: 12px 0 0;
}
.layout {
  grid-template-columns: 240px minmax(0, 1fr);
  min-height: 100vh;
  align-items: start;
}
.workspace-sidebar {
  position: sticky;
  top: 0;
  min-height: 100vh;
  height: 100dvh;
  background: #16223b;
  border: 0;
  padding: 28px 16px 18px;
  gap: 0;
  color: #c0ccdf;
  overflow: auto;
}
.sidebar-brand {
  text-decoration: none;
  color: #fff;
  display: block;
  padding: 0 8px 34px;
  overflow-wrap: anywhere;
}
.brand-identity {
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 750;
  font-size: 18px;
  line-height: 1.35;
}
.brand-logo {
  display: block;
  height: var(--logo-size, 40px);
  width: auto;
  max-width: 240px;
  object-fit: contain;
  flex-shrink: 0;
}
.sidebar-brand .brand-identity {
  align-items: flex-start;
  flex-direction: column;
  gap: 12px;
}
.sidebar-brand .brand-logo {
  max-width: 192px;
  object-position: left center;
}
.sidebar-tagline {
  display: block;
  font-size: 13px;
  line-height: 1.5;
  margin-top: 8px;
  color: #a4b3cc;
}
.nav-caption {
  font-size: 11px;
  letter-spacing: 1.3px;
  padding: 12px 10px;
  color: #92a4c2;
}
.workspace-sidebar nav {
  display: grid;
  gap: 7px;
}
.workspace-sidebar .nav {
  width: 100%;
  color: #c0ccdf;
  gap: 13px;
  min-height: 47px;
  padding: 12px 14px;
  border-radius: 7px;
}
.workspace-sidebar .nav.active {
  background: #233655;
  color: #fff;
}
.nav-icon {
  font-size: 20px;
  line-height: 1;
  width: 20px;
  color: #98adf1;
}
.sidebar-bottom {
  margin-top: auto;
  padding-top: 50px;
}
.portal-link {
  display: block;
  padding: 14px 10px 25px;
  color: #c0ccdf;
  text-decoration: none;
}
.sidebar-account {
  border-top: 1px solid #2c3951;
  padding: 20px 8px 0;
  overflow-wrap: anywhere;
  font-size: 12px;
}
.sidebar-account strong,
.sidebar-account small {
  display: block;
  color: #fff;
  font-weight: 550;
  padding: 0;
  margin: 0 0 6px;
}
.sidebar-account small {
  color: #9cacc6;
  font-weight: 400;
}
.sidebar-account .quiet {
  color: #b7c5da;
  padding: 7px 0;
  font-size: 12px;
}
.workspace-body {
  min-width: 0;
}
.workspace-topbar {
  height: 72px;
  padding: 0 40px;
  font-size: 13px;
}
.main {
  padding: 40px;
  max-width: 1600px;
  width: 100%;
  min-width: 0;
  margin: 0 auto;
}
.split {
  grid-template-columns: minmax(280px, 0.85fr) minmax(0, 1.3fr);
  gap: 28px;
  align-items: start;
}
.split > * {
  min-width: 0;
}
.split > .card {
  margin: 0;
}
.stats {
  margin-bottom: 24px;
}
.stats .card {
  padding: 26px;
}
.stats strong {
  font-size: 32px;
}
th {
  background: #f7f9fd;
  padding: 15px 12px;
  font-size: 11px;
}
td {
  padding: 20px 12px;
}
table {
  min-width: 650px;
}
.badge {
  border-radius: 5px;
  font-weight: 500;
}
.branding-grid {
  max-width: 1100px;
  grid-template-columns: minmax(280px, 1.1fr) minmax(0, 1fr);
}
.logo-controls {
  display: flex;
  align-items: center;
  gap: 12px;
}
.logo-controls input[type="number"] {
  width: 75px;
}
.branding-preview .eyebrow {
  display: block;
  margin: 2px 0 20px;
}
.preview-card {
  margin: 0;
  text-align: center;
  padding: 30px;
}
.preview-card .brand-identity {
  text-align: left;
  flex-wrap: wrap;
}
.preview-card .brand-logo {
  max-width: 180px;
}
.preview-card .status-icon {
  margin: 36px auto 22px;
}
.preview-button {
  pointer-events: none;
}
.branding-preview > p {
  font-size: 12px;
}
.public-header {
  height: auto;
  min-height: 100px;
  padding: 24px 4.5%;
  gap: 24px;
  background: transparent;
  border: 0;
}
.public-header .wordmark {
  max-width: 75%;
}
.public-header .brand-identity {
  flex-wrap: wrap;
  color: #19243b;
}
.header-caption {
  font-size: 13px;
  white-space: nowrap;
}
.public {
  margin: 50px auto;
  max-width: 660px;
}
.public.wide {
  max-width: 960px;
}
.public .card {
  padding: 36px;
}
.public .brand-logo {
  height: var(--logo-size, 40px);
}
.lookup-layout {
  max-width: 1250px;
  margin: 55px auto 70px;
  padding: 0 40px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 85px;
  align-items: center;
}
.lookup-intro h1 {
  font-size: 48px;
  line-height: 1.15;
  margin: 30px 0;
}
.lookup-intro h1 span {
  color: var(--accent);
}
.subtitle {
  font-size: 17px;
  color: var(--muted);
  line-height: 1.7;
}
.lookup-card {
  margin: 0;
  padding: 36px;
}
.lookup-card h2 {
  font-size: 25px;
  margin: 22px 0 8px;
}
.lookup-card .subtitle {
  margin: 0 0 28px;
}
.lookup-card button {
  width: 100%;
  margin-top: 18px;
}
.lookup-card .secure {
  text-align: center;
  font-size: 12px;
  color: var(--muted);
  margin: 24px 0 0;
}
.status-icon {
  display: grid;
  place-items: center;
  width: 66px;
  height: 66px;
  border-radius: 50%;
  background: #eef2ff;
  color: var(--accent);
  font-size: 30px;
  margin-bottom: 24px;
}
.status-icon.success {
  background: #eaf7f0;
  color: #24835d;
}
.delivery-steps {
  list-style: none;
  counter-reset: steps;
  padding: 22px 0 0;
  border-top: 1px solid var(--border);
  margin-top: 40px;
}
.delivery-steps li {
  counter-increment: steps;
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 18px 0;
  color: var(--muted);
}
.delivery-steps li:before {
  content: "0" counter(steps);
  border: 1px solid #d7e0fb;
  border-radius: 50%;
  height: 32px;
  width: 32px;
  display: grid;
  place-items: center;
  font-size: 12px;
  color: #7386c5;
}
.download-code {
  letter-spacing: 6px;
  font-family: monospace;
  text-transform: uppercase;
}
.public-footer {
  max-width: 1250px;
  margin: 40px auto;
  padding: 25px 20px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  text-align: left;
}
.document-public {
  max-width: 800px;
  margin: 50px auto 80px;
}
.document-public .document-card {
  padding: 42px;
}
.document-heading {
  text-align: center;
}
.document-heading h1 {
  font-size: 30px;
}
.document-heading .status-icon {
  margin: 28px auto;
}
.order-summary {
  margin: 30px 0;
  background: #f7f9fd;
  border: 1px solid var(--border);
  border-radius: 9px;
  padding: 0 24px;
}
.order-summary > div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
}
.order-summary > div:last-child {
  border: 0;
}
.order-summary dt {
  color: var(--muted);
}
.order-summary dd {
  margin: 0;
  text-align: right;
  overflow-wrap: anywhere;
  font-weight: 550;
}
.summary-price {
  font-size: 28px;
}
.summary-price small {
  font-size: 12px;
}
.document-files .file-row {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 18px;
  margin: 12px 0;
}
.document-actions {
  text-align: center;
  margin: 24px 0;
}
.document-actions > .button,
.document-actions > button {
  width: 100%;
  padding: 15px;
}
.document-actions p {
  font-size: 13px;
  margin: 20px 0;
}
hr {
  border: 0;
  border-top: 1px solid var(--border);
  margin: 25px 0;
}
@media (max-width: 1100px) {
  .main {
    padding: 30px;
  }
  .split {
    grid-template-columns: 1fr;
  }
  .branding-grid {
    grid-template-columns: 1fr 1fr;
  }
  .workspace-topbar {
    padding: 0 30px;
  }
  .lookup-layout {
    gap: 40px;
  }
  .lookup-intro h1 {
    font-size: 38px;
  }
}
@media (max-width: 760px) {
  .layout {
    display: block;
  }
  .workspace-sidebar {
    position: static;
    height: auto;
    min-height: 0;
    padding: 18px;
    display: block;
  }
  .sidebar-brand {
    padding: 0 0 15px;
  }
  .sidebar-brand .brand-identity {
    flex-direction: row;
    align-items: center;
    font-size: 16px;
  }
  .sidebar-brand .brand-logo {
    max-width: 120px;
    max-height: 50px;
  }
  .sidebar-tagline,
  .nav-caption {
    display: none;
  }
  .workspace-sidebar nav {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
  }
  .workspace-sidebar .nav {
    width: auto;
    min-height: 40px;
    padding: 9px 12px;
    font-size: 12px;
  }
  .nav-icon {
    font-size: 16px;
    width: 16px;
  }
  .sidebar-bottom {
    padding: 12px 0 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
  }
  .portal-link {
    padding: 5px;
    font-size: 12px;
  }
  .sidebar-account {
    border: 0;
    padding: 0;
    display: flex;
    gap: 8px;
    align-items: center;
  }
  .sidebar-account strong {
    font-size: 11px;
  }
  .sidebar-account small {
    display: none;
  }
  .workspace-topbar {
    height: 56px;
    padding: 0 20px;
    font-size: 12px;
  }
  .main {
    padding: 26px 20px;
  }
  .heading {
    gap: 16px;
  }
  .branding-grid,
  .lookup-layout {
    grid-template-columns: 1fr;
  }
  .lookup-layout {
    padding: 0 22px;
    margin: 25px auto 40px;
    gap: 24px;
    max-width: 620px;
  }
  .lookup-intro h1 {
    font-size: 36px;
    margin: 20px 0;
  }
  .delivery-steps {
    display: none;
  }
  .lookup-card {
    padding: 26px;
  }
  .public-header {
    padding: 20px 22px;
    min-height: 80px;
  }
  .public-header .brand-identity {
    font-size: 16px;
    gap: 10px;
  }
  .public-header .brand-logo {
    max-width: 125px;
    max-height: 65px;
  }
  .header-caption {
    display: none;
  }
  .public-footer {
    margin: 25px 22px;
    flex-direction: column;
  }
  .public {
    margin: 30px auto;
  }
  .public .card,
  .document-public .document-card {
    padding: 24px;
  }
  .document-heading h1 {
    font-size: 26px;
  }
  .order-summary {
    padding: 0 16px;
  }
  .order-summary > div {
    gap: 16px;
    font-size: 13px;
  }
  .summary-price {
    font-size: 23px;
  }
  .document-files .file-row {
    align-items: stretch;
    flex-direction: column;
  }
  .document-files .button {
    width: 100%;
  }
  .branding-preview .brand-logo {
    max-width: 180px;
  }
}
.icon {
  width: 20px;
  height: 20px;
  vertical-align: middle;
  flex-shrink: 0;
}
.mark .icon {
  width: 21px;
  height: 21px;
}
.nav-icon .icon {
  display: block;
}
.status-icon .icon {
  width: 30px;
  height: 30px;
}
.workspace-topbar > span:last-child {
  display: flex;
  align-items: center;
  gap: 7px;
}
.workspace-topbar > span:last-child .icon {
  width: 15px;
  height: 15px;
}
