/* Neophron Drive styles: one file, in the order the browser applies them.
   Later sections override earlier ones. Icon shapes are generated into
   icon-map.css by scripts/icons.cjs; scripts/css_tool.py lists unused rules. */
/* ========== Base: page layout, forms and the original components ========== */
:root {
  color-scheme: light;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 15px/1.6 Inter,"Segoe UI",system-ui,-apple-system,sans-serif;
  -webkit-font-smoothing: antialiased;
}
button,
input,
select,
textarea {
  font: inherit;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
a,
input,
textarea,
select {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: not-allowed;
  opacity: .5;
}
svg {
  display: block;
  flex-shrink: 0;
}
[data-icon] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
[hidden] {
  display: none!important;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3 {
  line-height: 1.2;
  letter-spacing: -.04em;
}
a,
button {
  touch-action: manipulation;
}
button:focus-visible,
a:focus-visible,
[role=button]:focus-visible {
  outline: 3px solid #7c94ff;
  outline-offset: 4px;
}
input:focus,
select:focus,
textarea:focus {
  outline: 0;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px #3658f516;
}
.muted {
  color: var(--muted);
}
.eyebrow {
  color: #6c7c98;
  display: flex;
  align-items: center;
  gap: 8px;
}
.status-dot {
  width: 6px;
  height: 6px;
  display: inline-block;
  background: #25b78a;
  border-radius: 50%;
  flex-shrink: 0;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  line-height: 1;
  white-space: nowrap;
}
.brand-mark {
  width: 34px;
  height: 34px;
  color: #fff;
}
.brand-mark svg {
  width: 22px;
  height: 22px;
}
.brand-mark.small {
  width: 30px;
  height: 30px;
}
.beta-tag {
  color: #718097;
  font-size: 9px;
  font-weight: 750;
  letter-spacing: .11em;
  white-space: nowrap;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  border: 1px solid transparent;
  line-height: 1.3;
  font-weight: 650;
  transition: background .15s,box-shadow .15s,transform .15s;
  white-space: nowrap;
}
.button:hover {
  transform: translateY(-1px);
}
.button svg {
  width: 17px;
  height: 17px;
}
.button.primary {
  color: #fff;
}
.button.secondary {
  background: #fff;
  border-color: #dce1ed;
  color: #35425a;
}
.button.secondary:hover {
  background: #f7f9ff;
}
.button.subtle {
  background: transparent;
  color: #57657f;
}
.button.compact {
  padding: 11px 16px;
  font-size: 12px;
}
.text-link {
  color: var(--blue);
  font-size: 12px;
  font-weight: 650;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.text-link svg {
  width: 14px;
  height: 14px;
}
.small-button {
  border: 1px solid #dce1ed;
  border-radius: 7px;
  background: #fff;
  color: #475674;
  font-size: 12px;
  padding: 8px 12px;
}
.small-button:hover {
  background: #f4f6ff;
}
.danger {
  color: #b5454b;
}
.icon-button {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
  padding: 8px;
}
.skip-link {
  position: fixed;
  z-index: 100;
  left: 20px;
  top: -100px;
  background: var(--blue);
  color: white;
  padding: 12px;
  border-radius: 8px;
}
.skip-link:focus {
  top: 12px;
}
/* Public home */
.file-symbol {
  width: 34px;
  height: 39px;
  border-radius: 7px;
  background: #edf0ff;
  color: #5d72d8;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.file-symbol svg {
  width: 20px;
  height: 20px;
}
.preview-bottom .status-dot {
  width: 4px;
  height: 4px;
}
.preview-bottom>span:last-child {
  margin-left: auto;
}
.section {
  padding-block: 100px;
}
.section h2 {
  font-size: 39px;
  line-height: 1.2;
  letter-spacing: -.05em;
  margin-top: 12px;
}
.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  flex-shrink: 0;
}
.blue {
  background: #edf1ff;
  color: #506bed;
}
.green {
  background: #e7f5ef;
  color: #20957a;
}
.orange {
  background: #fff1df;
  color: #c08c3e;
}
.violet {
  background: #f0ecff;
  color: #8b73c7;
}
/* Login and signup */
.auth-page {
  display: grid;
  min-height: 100vh;
}
.light-brand .brand-mark {
  background: #486cf4;
  box-shadow: none;
}
.auth-story-footer .status-dot {
  width: 4px;
  height: 4px;
}
.auth-box {
  margin: auto;
}
.auth-description {
  margin: 12px 0 28px;
}
.field {
  margin-top: 19px;
}
.field label,
.field-label {
  display: block;
  font-weight: 650;
  color: #4c5b72;
  margin-bottom: 8px;
}
.field-label {
  margin-top: 24px;
}
.field-label>span {
  font-weight: 400;
  color: #99a3b4;
  margin-left: 4px;
}
input,
textarea,
select {
  width: 100%;
  border: 1px solid #dfe4ed;
  border-radius: 8px;
  background: #fff;
  color: #293b56;
  padding: 12px 14px;
  transition: border-color .15s,box-shadow .15s;
  min-width: 0;
}
textarea {
  resize: vertical;
  min-height: 110px;
}
select {
  min-height: 43px;
}
.password-wrap {
  position: relative;
}
.password-wrap input {
  padding-right: 48px;
}
.password-toggle {
  position: absolute;
  right: 7px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  border: 0;
  background: transparent;
  color: #9aa6ba;
  padding: 8px;
}
.password-toggle svg {
  width: 17px;
  height: 17px;
}
.field-hint {
  font-size: 10px;
  color: #96a1b4;
  line-height: 1.7;
  margin-top: 7px;
}
.auth-submit {
  width: 100%;
  justify-content: space-between;
  padding-inline: 19px;
}
.auth-switch {
  text-align: center;
}
.auth-switch a {
  color: var(--blue);
  font-weight: 650;
  margin-left: 4px;
}
.auth-assurance {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 25px;
}
.owner-link {
  display: block;
  text-align: center;
  margin-top: 17px;
}
.form-message {
  font-size: 12px;
  line-height: 1.6;
  padding: 12px 14px;
  margin-top: 20px;
}
.form-message.error {
  color: #a53b46;
  background: #fff1f2;
  border: 1px solid #f3d3d7;
}
/* Workspace */
.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  background: #fff;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  z-index: 30;
}
.sidebar>.brand {
  gap: 8px;
  margin-inline: 5px;
}
.sidebar .brand-mark {
  width: 31px;
  height: 31px;
  border-radius: 9px;
}
.workspace-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  letter-spacing: .1em;
  color: #a2acbd;
  font-weight: 700;
}
.tiny-beta {
  display: inline-flex;
  color: #7d8ba8;
  background: #f0f3fa;
  font-size: 7px;
  letter-spacing: .07em;
  font-weight: 700;
  padding: 2px 5px;
  border-radius: 3px;
}
.dash-nav {
  display: grid;
}
.tab-btn {
  display: flex;
  align-items: center;
  gap: 11px;
  font-weight: 500;
  transition: background .15s,color .15s;
}
.tab-btn>span[data-icon] svg {
  width: 17px;
  height: 17px;
}
.tab-btn:hover {
  color: #455a80;
}
.tab-btn.active {
  font-weight: 650;
}
.nav-plus {
  margin-left: auto;
  font-size: 19px;
  font-weight: 400;
  line-height: 1;
}
.nav-divider {
  height: 1px;
  background: #edf0f6;
}
.nav-count {
  margin-left: auto;
  background: #eff2f8;
  color: #8996ae;
  border-radius: 4px;
  min-width: 18px;
  text-align: center;
  font-size: 9px;
}
.sidebar-bottom {
  margin-top: auto;
}
.sidebar-tip {
  border: 1px solid #edf0f7;
  margin-bottom: 23px;
}
.sidebar-tip>span {
  color: #91a2cd;
  margin-bottom: 12px;
}
.sidebar-tip strong {
  font-weight: 600;
  display: block;
  color: #637496;
}
.sidebar-tip p {
  color: #9ba8be;
  line-height: 1.8;
  margin-top: 7px;
}
.profile-button {
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: left;
  width: 100%;
  border: 0;
  border-top: 1px solid #edf0f5;
  padding: 19px 4px 0;
  background: transparent;
  min-width: 0;
}
.avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: #e7ecff;
  color: #6378d7;
  font-size: 11px;
  font-weight: 650;
  flex-shrink: 0;
}
.profile-name {
  display: block;
  min-width: 0;
  flex: 1;
}
.profile-name strong {
  display: block;
  color: #566781;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.profile-button>span:last-child svg {
  width: 14px;
  height: 14px;
  color: #a8b2c5;
}
.dashboard-main {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.dashboard-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  border-bottom: 1px solid var(--line);
  gap: 15px;
}
.dashboard-topbar>div {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 15px;
  white-space: nowrap;
}
.breadcrumb>span {
  color: #b7c0ce;
}
.breadcrumb strong {
  font-weight: 500;
  color: #657693;
}
.topbar-account {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #8996ab;
  font-size: 9px;
  white-space: nowrap;
}
.small-avatar {
  width: 27px;
  height: 27px;
  border-radius: 8px;
  margin-left: 10px;
  font-size: 9px;
}
.menu-toggle {
  display: none;
}
.dashboard-content {
  width: 100%;
  flex: 1;
  min-width: 0;
}
.page-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
}
.page-heading .eyebrow {
  letter-spacing: .12em;
}
.page-heading h1 {
  margin-top: 10px;
  overflow-wrap: anywhere;
}
.page-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 9px;
  background: #fff;
  padding: 9px 13px;
  border: 1px solid #e4e9f2;
  border-radius: 7px;
  color: #8193b7;
  white-space: nowrap;
}
.page-badge svg {
  width: 13px;
  height: 13px;
}
.tab-panel {
  display: none;
}
.tab-panel.active {
  display: block;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  margin-top: 22px;
}
.stat-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: start;
  gap: 8px;
  padding: 22px 20px 18px;
  background: #fff;
  border: 1px solid var(--line);
  min-width: 0;
}
.stat-icon {
  position: absolute;
  right: 16px;
  top: 20px;
  width: 26px;
  height: 26px;
  border-radius: 7px;
}
.stat-icon svg {
  width: 13px;
  height: 13px;
}
.stat-card>span:not(.stat-icon) {
  color: #9ba7bb;
  margin: 3px 30px 4px 0;
}
.stat-card strong {
  font-size: 26px;
  white-space: nowrap;
}
.stats-caption {
  text-align: right;
  color: #a9b2c1;
  margin-top: 8px;
}
.overview-columns {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 22px;
  margin-top: 25px;
}
.card {
  background: #fff;
  min-width: 0;
}
.card-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 22px;
}
.card h2 {
  font-size: 15px;
}
.card-heading .text-link {
  font-size: 9px;
}
.card-heading>span {
  color: #a5b1c6;
}
.card-heading>span svg {
  width: 15px;
  height: 15px;
}
.cloud-summary {
  text-align: center;
}
.cloud-summary>.card-heading {
  text-align: left;
}
.cloud-orb {
  display: flex;
  width: 57px;
  height: 57px;
  margin: 22px auto 18px;
  border-radius: 18px;
  background: #f2f5fc;
  color: #9eafda;
  box-shadow: 0 0 0 9px #fafbfe;
}
.cloud-orb svg {
  width: 30px;
  height: 30px;
}
.cloud-summary h3 {
  font-size: 13px;
  letter-spacing: -.02em;
}
.cloud-summary p {
  font-size: 9px;
  color: #9ea9bc;
  max-width: 220px;
  margin: 10px auto 18px;
  line-height: 1.8;
}
.cloud-summary .button {
  font-size: 9px;
  padding: 9px 12px;
}
.empty-state {
  text-align: center;
  padding: 38px 15px 35px;
}
.empty-icon {
  width: 43px;
  height: 43px;
  border-radius: 13px;
  background: #f3f5fb;
  color: #a0afd0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}
.empty-state h3 {
  font-weight: 600;
  letter-spacing: -.02em;
}
.empty-state p {
  color: #a7b1c2;
  margin: 8px auto 18px;
  max-width: 250px;
  line-height: 1.8;
}
.empty-state .button {
  font-size: 10px;
}
.recent-row {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid #f0f2f7;
  padding: 17px 0;
}
.recent-row:first-child {
  border: 0;
}
.recent-row>.file-symbol {
  width: 31px;
  height: 35px;
  flex-shrink: 0;
}
.recent-copy {
  min-width: 0;
  flex: 1;
}
.recent-copy strong {
  display: block;
  font-size: 10px;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.recent-copy p {
  margin-top: 3px;
}
.status-pill {
  color: #6c83c2;
  background: #f0f4ff;
  border-radius: 4px;
  padding: 3px 7px;
  white-space: nowrap;
}
.status-pill.completed {
  color: #2a9274;
  background: #edf8f2;
}
.status-pill.failed,
.status-pill.partial {
  color: #bf7e3c;
  background: #fff5e6;
}
.form-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding-top: 24px;
  margin-top: 25px;
  border-top: 1px solid #edf0f6;
}
.form-actions .button {
  font-size: 11px;
  padding: 12px 16px;
}
.connection-help {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
  margin-top: 20px;
}
.connection-help svg {
  width: 14px;
  height: 14px;
}
.connection-help a {
  color: var(--blue);
}
.upload-card {
  max-width: 870px;
}
.dropzone {
  background: #fafbff;
  border: 1px dashed #cbd6ee;
  border-radius: 10px;
  padding: 48px 20px;
  text-align: center;
  cursor: pointer;
  transition: background .15s;
}
.dropzone.dragging,
.dropzone:hover {
  background: #f1f5ff;
  border-color: #6988ed;
}
.drop-icon {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: #edf1ff;
  color: #8a9cda;
  margin-bottom: 20px;
}
.drop-icon svg {
  width: 24px;
  height: 24px;
}
.dropzone h2 {
  font-size: 19px;
  color: #637698;
  font-weight: 600;
}
.dropzone p {
  font-size: 11px;
  color: #9aa7bd;
  margin-top: 10px;
}
.drop-hint {
  display: block;
  font-size: 9px;
  color: #adb7c9;
  margin-top: 18px;
}
.file-choice {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 20px;
}
.file-list {
  display: grid;
  gap: 8px;
  margin-top: 25px;
  max-height: 250px;
  overflow: auto;
}
.file-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 13px;
  background: #f9fafe;
  border: 1px solid #edf0f8;
  border-radius: 6px;
  font-size: 11px;
}
.file-row>span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.file-row small {
  color: #9caac0;
  flex-shrink: 0;
}
.upload-note {
  display: flex;
  align-items: start;
  gap: 8px;
  color: #9ba6bb;
  font-size: 10px;
  line-height: 1.8;
  background: #f8fafe;
  padding: 14px;
  border-radius: 8px;
  margin-top: 22px;
}
.upload-note svg {
  width: 15px;
  height: 15px;
  margin-top: 2px;
}
.summary {
  font-size: 11px;
  background: #edf3ff;
  color: #617fc4;
  border: 1px solid #dce5fb;
  border-radius: 8px;
  padding: 13px 16px;
  margin-bottom: 20px;
}
.status {
  display: none;
  font-size: 11px;
  padding: 13px 17px;
  border: 1px solid transparent;
  border-radius: 8px;
  margin-bottom: 22px;
  overflow-wrap: anywhere;
}
.status.show {
  display: block;
}
.status.info {
  background: #edf3ff;
  color: #5875b8;
  border-color: #dce6fc;
}
.status.success {
  background: #eef8f1;
  color: #37835a;
  border-color: #d8eede;
}
.status.error {
  background: #fff0f2;
  color: #b44958;
  border-color: #f3d8df;
}
.job {
  border-top: 1px solid #edf0f7;
  padding-block: 23px;
}
.job:first-child {
  border-top: 0;
  padding-top: 0;
}
.job:last-child {
  padding-bottom: 0;
}
.job h3 {
  font-size: 12px;
  letter-spacing: -.01em;
}
.note {
  color: #9aa7bc;
  font-size: 10px;
  margin-top: 6px;
}
.job progress {
  display: block;
  border: 0;
  border-radius: 5px;
  overflow: hidden;
}
.history-item {
  gap: 4px;
  background: #fafbfe;
  border: 1px solid #eff2f7;
  margin-top: 9px;
  overflow-wrap: anywhere;
}
.history-item strong {
  font-weight: 550;
}
.history-item>span {
  color: #9ba8bf;
}
.history-item>a {
  color: #7288c7;
  margin-top: 4px;
}
.item-error {
  font-size: 10px;
  color: #b77273;
}
.provider-heading {
  display: flex;
  gap: 15px;
  align-items: center;
}
.provider-icon {
  background: #f8faff;
  border: 1px solid #ebeff8;
  width: 58px;
  height: 58px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.provider-heading p {
  color: #a0acc0;
  margin-top: 6px;
}
.provider-status {
  margin-left: auto;
  background: #f4f6fb;
  padding: 5px 10px;
  border-radius: 5px;
  white-space: nowrap;
}
.provider-status.connected {
  background: #edf8f2;
  color: #309074;
}
.connection-card>.muted {
  font-size: 11px;
  color: #9aa7bf;
  border-top: 1px solid #eff2f8;
  margin-top: 22px;
  padding-top: 22px;
}
.provider-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 13px;
  margin-top: 23px;
}
.rollout-note {
  font-size: 10px;
  color: #9aa7bf;
  max-width: 450px;
  line-height: 1.8;
}
.provider-roadmap {
  padding: 30px 3px;
  max-width: 480px;
}
.provider-roadmap>.eyebrow {
  font-size: 8px;
  color: #a0aec6;
}
.planned-provider {
  padding: 22px 0;
}
.planned-provider strong {
  font-size: 12px;
  color: #91a1bb;
  font-weight: 500;
}
.planned-label {
  border: 1px solid #dfe5ee;
  border-radius: 4px;
  padding: 2px 6px;
  margin-left: auto;
}
.provider-roadmap>p {
  color: #abb5c6;
}
.account-card {
  max-width: 730px;
}
.account-card-top {
  display: flex;
  align-items: center;
  gap: 18px;
  padding-bottom: 25px;
  border-bottom: 1px solid #edf0f6;
}
.large-avatar {
  width: 55px;
  height: 55px;
  border-radius: 16px;
  font-size: 18px;
}
.account-card-top h2 {
  font-size: 19px;
  overflow-wrap: anywhere;
}
.account-badge {
  font-size: 9px;
  color: #8fa0bf;
  display: block;
  margin-top: 6px;
}
.account-details {
  margin: 0;
}
.account-details>div {
  display: grid;
  grid-template-columns: 150px 1fr;
  border-bottom: 1px solid #f1f3f8;
  padding: 20px 0;
  gap: 15px;
}
.account-details dt {
  color: #a0aec2;
}
.account-details dd {
  margin: 0;
}
.account-info {
  display: flex;
  gap: 13px;
  background: #f7f9fe;
  border-radius: 8px;
  padding: 18px;
  margin-top: 25px;
}
.account-info>span {
  color: #9baccd;
}
.account-info p {
  color: #9baac3;
}
.dashboard-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 40px;
  border-top: 1px solid var(--line);
  color: #a7b2c5;
}
.dashboard-footer .beta-tag {
  font-size: 7px;
}
@media(min-width:1600px) {
  .auth-box {
    max-width: 420px;
  }
  .auth-box h1 {
    font-size: 41px;
  }
}
@media(max-width:1150px) {
  .preview-bottom>span:last-child {
    display: none;
  }
  .dashboard-content {
    padding: 30px;
  }
  .dashboard-topbar {
    padding-inline: 30px;
  }
  .stat-card {
    padding: 19px 15px;
  }
  .stat-icon {
    right: 12px;
  }
  .stat-card>span:not(.stat-icon) {
    font-size: 8px;
  }
  .overview-columns {
    gap: 18px;
  }
  .card {
    padding: 22px;
  }
}
@media(max-width:960px) {
  .section {
    padding-block: 70px;
  }
  .sidebar {
    transform: translateX(-100%);
    transition: transform .2s;
    box-shadow: 20px 0 50px #172d4f0e;
  }
  .menu-open .sidebar {
    transform: translateX(0);
  }
  .menu-toggle {
    display: inline-flex;
  }
  .dashboard-topbar {
    height: 66px;
  }
  .dashboard-content {
    padding: 28px;
  }
  .dashboard-footer {
    padding-inline: 28px;
  }
}
@media(max-width:760px) {
  .brand {
    font-size: 18px;
  }
  .brand-mark {
    width: 30px;
    height: 30px;
  }
  .section h2 {
    font-size: 33px;
  }
  .auth-description {
    font-size: 12px;
  }
  .field {
    margin-top: 20px;
  }
  .page-heading {
    gap: 15px;
    align-items: start;
    margin-bottom: 23px;
  }
  .page-heading p {
    max-width: 330px;
  }
  .page-heading .eyebrow {
    font-size: 7px;
  }
  .stats-grid {
    gap: 12px;
  }
  .stat-card {
    padding: 16px 12px;
  }
  .stat-icon {
    display: none;
  }
  .stat-card strong {
    font-size: 23px;
  }
  .stat-card>span:not(.stat-icon) {
    margin-right: 0;
  }
  .overview-columns {
    grid-template-columns: 1fr;
  }
  .cloud-summary {
    display: none;
  }
  .page-badge {
    display: none;
  }
  .provider-heading {
    gap: 12px;
    flex-wrap: wrap;
  }
  .provider-icon {
    width: 45px;
    height: 45px;
    border-radius: 12px;
  }
  .provider-icon svg {
    width: 28px;
  }
  .provider-heading h2 {
    font-size: 15px;
  }
  .provider-heading p {
    font-size: 9px;
  }
  .provider-status {
    font-size: 8px;
  }
  .form-actions .button {
    font-size: 10px;
    padding: 12px;
  }
  .account-details>div {
    grid-template-columns: 100px 1fr;
  }
}
@media(max-width:480px) {
  .section h2 {
    font-size: 30px;
  }
  .topbar-account {
    font-size: 8px;
    gap: 5px;
  }
  .small-avatar {
    margin-left: 5px;
  }
  .breadcrumb {
    font-size: 9px;
    gap: 9px;
  }
  .dashboard-topbar>div {
    gap: 9px;
  }
  .dashboard-content {
    padding: 25px 16px 35px;
  }
  .page-heading {
    flex-wrap: wrap;
  }
  .page-heading>.button {
    font-size: 10px;
    padding: 10px 13px;
  }
  .stats-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 11px;
  }
  .stat-card {
    padding: 20px 16px;
  }
  .stat-icon {
    display: flex;
    right: 12px;
  }
  .stat-card>span:not(.stat-icon) {
    margin-right: 25px;
    font-size: 8px;
  }
  .stat-card strong {
    font-size: 25px;
  }
  .provider-status {
    margin-left: 0;
  }
  .provider-heading p {
    max-width: 200px;
  }
  .provider-actions .button {
    font-size: 10px;
  }
  .provider-roadmap {
    padding-top: 25px;
  }
  .account-card-top h2 {
    font-size: 17px;
  }
  .account-info {
    padding: 13px;
    gap: 9px;
  }
  .account-details>div {
    grid-template-columns: 80px 1fr;
    font-size: 10px;
  }
  .file-choice {
    gap: 8px;
  }
  .file-choice .button {
    font-size: 10px;
    padding: 10px 12px;
  }
  .dropzone {
    padding: 37px 12px;
  }
  .dropzone h2 {
    font-size: 17px;
  }
  .dropzone p {
    font-size: 10px;
  }
  .drop-hint {
    font-size: 8px;
  }
  .form-actions {
    flex-wrap: wrap;
    justify-content: flex-end;
  }
  .form-actions .button {
    font-size: 10px;
  }
  .connection-help {
    font-size: 9px;
  }
  .stats-caption {
    font-size: 7px;
  }
}
/* Keep supporting text readable, including at phone sizes. */
.tab-btn {
  min-height: 44px;
}
.page-heading p,
.stat-card>span:not(.stat-icon),
.stats-caption,
.note,
.history-item>span,
.field-hint,
.cloud-summary p,
.empty-state p,
.rollout-note,
.provider-heading p,
.provider-roadmap>p,
.account-info p,
.account-details dt,
.sidebar-tip p,
.drop-hint,
.upload-note,
.auth-description,
.auth-assurance,
.dashboard-footer {
  color: #64728b;
}
.field label,
.field-label {
  font-size: 12px;
}
.field-hint,
.auth-assurance,
.stats-caption,
.sidebar-tip p,
.cloud-summary p,
.empty-state p,
.note,
.history-item>span,
.provider-heading p,
.provider-roadmap>p,
.account-info p,
.upload-note {
  font-size: 11px;
}
.page-heading p,
.auth-description,
.rollout-note {
  font-size: 12px;
}
.workspace-label {
  color: #687a97;
}
.owner-link {
  font-size: 10px;
}
.profile-name small {
  color: #64728b;
}
.stat-card strong {
  margin-top: 5px;
}
.recent-copy p {
  font-size: 10px;
  color: #64728b;
}
.recent-copy strong,
.history-item strong {
  font-size: 12px;
}
.status-pill {
  font-size: 10px;
}
.connection-help {
  font-size: 11px;
  color: #64728b;
}
.empty-state h3 {
  color: #64728b;
}
.provider-status {
  color: #64728b;
}
.planned-label {
  color: #64728b;
  font-size: 10px;
}
input::placeholder,
textarea::placeholder {
  color: #73819a;
}
.account-details dd {
  color: #516984;
}
@media(max-width:760px) {
  .auth-box input,
  .dashboard-page input,
  .dashboard-page textarea,
  .dashboard-page select {
    font-size: 16px;
  }
  .stat-card>span:not(.stat-icon) {
    font-size: 10px;
  }
  .field-label>span {
    display: block;
    margin-left: 0;
    font-size: 10px;
  }
  .dashboard-topbar .topbar-account {
    font-size: 9px;
  }
}
/* Link-first workspace */
.dashboard-content {
  margin-inline: auto;
}
.sidebar .dash-nav {
  gap: 3px;
}
.sidebar-tip .text-link {
  margin-top: 9px;
  font-size: 11px;
}
.quick-start {
  background: #17264a;
  color: #fff;
  border-radius: 18px;
  padding: 36px;
  margin-bottom: 23px;
  position: relative;
  overflow: hidden;
}
.quick-start::after {
  content: "";
  position: absolute;
  width: 290px;
  height: 290px;
  border: 1px solid #ffffff12;
  border-radius: 50%;
  right: -70px;
  top: -110px;
  pointer-events: none;
}
.quick-copy {
  max-width: 610px;
}
.quick-start .eyebrow {
  color: #b5c7f9;
  font-size: 9px;
}
.quick-start h2 {
  font-size: 34px;
  line-height: 1.18;
  letter-spacing: -.045em;
  margin: 16px 0 12px;
}
.quick-start p {
  color: #c5d0e8;
  max-width: 590px;
  font-size: 14px;
}
.quick-link-form {
  position: relative;
  z-index: 1;
  margin-top: 26px;
}
.quick-link-form label {
  display: block;
  font-size: 12px;
  margin-bottom: 8px;
  color: #d6e0f5;
}
.quick-input-row {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  border-radius: 10px;
  padding: 7px 7px 7px 16px;
  color: #7687a7;
}
.quick-input-row input {
  min-width: 0;
  flex: 1;
  margin: 0;
  border: 0;
  box-shadow: none!important;
  padding: 12px 0;
  background: transparent;
  color: #19263c;
}
.quick-input-row .button {
  flex-shrink: 0;
  min-height: 45px;
}
.quick-caption {
  display: block;
  margin-top: 10px;
  font-size: 11px;
  color: #c5d0e8;
}
.mode-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 14px;
  margin-bottom: 28px;
}
.mode-card {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 13px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 19px;
  transition: border-color .15s,box-shadow .15s;
}
.mode-card:hover {
  border-color: #bcc9fa;
  box-shadow: var(--shadow);
}
.mode-card .feature-icon {
  width: 39px;
  height: 39px;
  border-radius: 10px;
  flex-shrink: 0;
}
.mode-card>span:last-child {
  margin-left: auto;
  color: var(--blue);
}
.mode-card h3 {
  font-size: 13px;
  letter-spacing: -.02em;
  margin-bottom: 5px;
}
.mode-card p {
  font-size: 11px;
  line-height: 1.55;
}
.link-input-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  margin-top: 9px;
}
.link-input-footer .field-hint {
  margin: 0;
}
.destination-label {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #f6f8fd;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px;
  font-size: 12px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}
.destination-label>span:first-child {
  color: var(--blue);
}
.destination-label>span:last-child {
  color: var(--muted);
  margin-left: auto;
  overflow-wrap: anywhere;
  max-width: 100%;
}
.advanced-options {
  margin-top: 24px;
  border-top: 1px solid var(--line);
  padding-top: 17px;
}
.advanced-options summary {
  cursor: pointer;
  font-size: 12px;
  color: #4b5e7f;
}
.advanced-options summary:focus-visible {
  outline: 3px solid #7c94ff;
  outline-offset: 4px;
}
.advanced-options .small-button {
  margin-top: 15px;
}
.inline-help {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-top: 23px;
  padding: 0 3px;
}
.inline-help>span {
  margin-top: 2px;
  color: var(--muted);
}
.inline-help p {
  font-size: 12px;
  line-height: 1.8;
  max-width: 900px;
}
.link-guide>.text-link {
  white-space: normal;
  font-size: 12px;
  line-height: 1.6;
  margin-top: 18px;
}
.link-guide .small-note {
  font-size: 12px;
}
.connection-copy {
  font-size: 13px;
  margin: 12px 0 18px;
  overflow-wrap: anywhere;
}
.cloud-file-card>.card-heading {
  align-items: flex-start;
  gap: 14px;
}
.cloud-browser-nav {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 15px 0 5px;
}
.cloud-browser-nav strong {
  font-size: 13px;
  overflow-wrap: anywhere;
}
.source-file-row {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  min-width: 0;
  min-height: 52px;
}
.source-file-row input[type=checkbox] {
  width: 18px;
  height: 18px;
  margin: 0;
  flex-shrink: 0;
  accent-color: var(--blue);
}
.source-file-row label {
  display: flex;
  gap: 12px;
  align-items: center;
  flex: 1;
  min-width: 0;
  cursor: pointer;
}
.source-file-row .source-file-name {
  min-width: 0;
  flex: 1;
  font-size: 13px;
  overflow-wrap: anywhere;
}
.source-file-row small {
  font-size: 11px;
  color: var(--muted);
  white-space: nowrap;
}
.source-file-row .small-button {
  margin-left: auto;
  flex-shrink: 0;
}
.source-empty {
  padding: 28px 5px;
  font-size: 13px;
  text-align: center;
}
.cloud-file-card>#sourceMore {
  margin-top: 14px;
}
.cloud-link-alternative {
  margin-top: 25px;
}
.cloud-file-card>.form-actions {
  margin-top: 22px;
}
.source-connection-summary {
  margin-top: 21px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.source-connection-summary h2 {
  font-size: 19px;
  margin: 10px 0;
}
.source-connection-summary p {
  font-size: 13px;
}
.drive-text-icon {
  background: var(--blue-soft);
  color: var(--blue);
}
.extension-layout {
  display: grid;
  grid-template-columns: minmax(0,1.05fr) minmax(0,1fr);
  gap: 23px;
}
.extension-layout .card {
  margin: 0;
  min-width: 0;
}
.extension-intro>h2 {
  font-size: 26px;
  margin: 20px 0 15px;
}
.extension-intro>p {
  font-size: 13px;
}
.extension-intro>.button {
  margin-top: 24px;
}
.extension-intro>.field-hint {
  font-size: 11px;
  margin-top: 13px;
}
.phone-app {
  grid-column: 1 / -1;
}
.phone-app>.trust-list {
  font-size: 13px;
  margin: 14px 0 0;
}
.phone-app>.button[hidden] {
  display: none;
}
.extension-example {
  margin-top: 25px;
  border: 1px solid var(--line);
  background: #f8faff;
  border-radius: 11px;
  padding: 19px;
  transform: rotate(-1deg);
}
.extension-example>span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  margin-bottom: 14px;
}
.extension-example>div {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  box-shadow: 0 5px 20px #23345d12;
  border-radius: 7px;
  padding: 15px 11px;
  font-size: 12px;
  font-weight: 600;
  color: var(--blue);
}
.extension-example>div>span:last-child {
  margin-left: auto;
}
.extension-example small {
  display: block;
  margin-top: 12px;
  font-size: 10px;
  color: var(--muted);
}
.extension-steps h2 {
  font-size: 21px;
  margin-bottom: 23px;
}
.extension-steps ol {
  list-style: none;
  counter-reset: setup;
  padding: 0;
  margin: 0;
}
.extension-steps li {
  position: relative;
  counter-increment: setup;
  padding: 0 0 23px 37px;
}
.extension-steps li::before {
  content: counter(setup);
  position: absolute;
  left: 0;
  top: 0;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--blue-soft);
  color: var(--blue);
  font-size: 11px;
  font-weight: 700;
}
.extension-steps strong {
  font-size: 13px;
}
.extension-steps p {
  font-size: 12px;
  margin-top: 6px;
  overflow-wrap: anywhere;
}
.extension-steps code {
  font-size: 12px;
  background: #f0f3f9;
  border-radius: 4px;
  padding: 2px 4px;
}
.capture-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}
.capture-card {
  max-width: 500px;
  padding: 36px;
}
.capture-card h1 {
  font-size: 31px;
  margin: 30px 0 15px;
}
.capture-card .button {
  margin: 25px 0 12px;
}
.dashboard-page .field-label {
  font-size: 13px;
}
.dashboard-page .field-hint,
.dashboard-page .note,
.dashboard-page .upload-note {
  font-size: 12px;
}
.dashboard-page .page-heading p {
  font-size: 13px;
}
.dashboard-page .form-actions .button {
  font-size: 13px;
  min-height: 44px;
}
.dashboard-page .button.compact,
.dashboard-page .small-button {
  min-height: 40px;
}
.cloud-file-card .form-actions {
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 15px;
}
.provider-roadmap>p {
  font-size: 12px;
  max-width: 640px;
}
@media(max-width:1150px) {
  .mode-grid {
    grid-template-columns: 1fr;
  }
  .mode-card {
    padding: 16px 20px;
  }
  .mode-card p {
    font-size: 12px;
  }
  .mode-card h3 {
    font-size: 14px;
  }
  .extension-layout {
    grid-template-columns: 1fr;
  }
}
@media(max-width:760px) {
  .quick-start {
    padding: 26px;
  }
  .quick-start h2 {
    font-size: 29px;
  }
  .quick-start p {
    font-size: 13px;
  }
  .quick-start .eyebrow {
    font-size: 8px;
  }
  .quick-input-row {
    flex-wrap: wrap;
    gap: 5px;
    padding: 9px;
  }
  .quick-input-row>span {
    margin-left: 4px;
  }
  .quick-input-row input {
    font-size: 16px;
    padding: 10px 5px;
  }
  .quick-input-row .button {
    width: 100%;
    font-size: 13px;
  }
  .source-connection-summary {
    flex-direction: column;
    align-items: flex-start;
  }
  .dashboard-page .page-heading h1 {
    font-size: 29px;
  }
  .source-file-row {
    gap: 8px;
  }
  .source-file-row label {
    gap: 8px;
  }
  .source-file-row small {
    font-size: 10px;
  }
  .destination-label>span:last-child {
    margin-left: 0;
    width: 100%;
  }
  .extension-layout .card {
    padding: 24px;
  }
  .extension-example>div {
    font-size: 11px;
  }
  .mode-card .feature-icon {
    width: 35px;
    height: 35px;
  }
  .source-files .small-button {
    font-size: 11px;
  }
  .cloud-file-card .form-actions .button {
    width: 100%;
  }
}
@media(prefers-reduced-motion:reduce) {
  .mode-card {
    transition: none;
  }
}
/* Keep the complete navigation available on shorter screens. */
.sidebar>.brand {
  flex-shrink: 0;
}
.cloud-file-card .source-files {
  margin-top: 10px;
}
/* Identity, recovery and destination-first setup. */
.google-button {
  width: 100%;
  background: #fff;
  border: 1px solid #d6deec;
  color: #263855;
  justify-content: center;
  gap: 12px;
  font-size: 13px;
  padding: 14px;
}
.google-button svg {
  width: 19px;
  height: 19px;
}
.google-button:hover {
  background: #f5f7fc;
  border-color: #aebcd5;
}
.google-permission-note {
  color: #64728b;
  text-align: center;
  margin-top: 10px;
}
.auth-divider {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 24px 0 4px;
  color: #748198;
}
.auth-divider:before,
.auth-divider:after {
  content: "";
  height: 1px;
  background: #e4e9f2;
  flex: 1;
}
.field-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 9px;
}
.field-label-row label {
  margin: 0;
}
.field-label-row a {
  color: #315ed0;
}
.resend-button {
  border: 0;
  background: transparent;
  color: #315ed0;
  font: inherit;
  font-size: 12px;
  padding: 14px 0;
  cursor: pointer;
}
.resend-button:disabled {
  color: #64728b;
  cursor: default;
}
.code-input {
  font-variant-numeric: tabular-nums;
  letter-spacing: .45em;
  font-size: 22px!important;
  text-align: center;
}
.form-message.success {
  background: #edf8f2;
  color: #1b6248;
  border: 1px solid #cae6d7;
}
.auth-box #googleGroup {
  margin-top: 27px;
}
.auth-box #authStatus {
  margin-top: 18px;
}
.auth-box #verifyLogout {
  display: block;
  margin: auto;
}
.auth-box #verifyLogout[hidden] {
  display: none;
}
.setup-page {
  min-height: 100vh;
  color: #20314e;
}
.setup-header {
  max-width: 1240px;
  margin: auto;
  padding: 30px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.setup-header .text-link {
  font-size: 12px;
}
.setup-main {
  width: min(640px,calc(100% - 40px));
  margin: 30px auto 60px;
}
.setup-progress {
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 0;
  margin: 0 0 65px;
  color: #6c7890;
}
.setup-progress li {
  display: flex;
  align-items: center;
  gap: 8px;
}
.setup-progress li>span {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid #cbd5e5;
  font-size: 10px;
}
.setup-progress svg {
  width: 12px;
  height: 12px;
}
.setup-progress .done {
  color: #277757;
}
.setup-progress .done>span {
  background: #e6f3eb;
  border-color: #c6e4d2;
}
.setup-progress .current {
  color: #315ed0;
  font-weight: 650;
}
.setup-progress .current>span {
  background: #315ed0;
  border-color: #315ed0;
  color: white;
}
.setup-intro {
  text-align: center;
  margin-bottom: 35px;
}
.setup-intro h1 {
  line-height: 1.1;
  margin: 16px 0 20px;
}
.setup-intro>p {
  color: #62718b;
}
.setup-provider-heading {
  display: flex;
  align-items: center;
  gap: 16px;
}
.setup-provider-heading h2 {
  font-weight: 600;
  margin-bottom: 5px;
}
.setup-provider-heading p {
  font-size: 12px;
  color: #64728b;
}
.setup-provider-heading>.account-badge {
  margin-left: auto;
  font-size: 8px;
}
.setup-permissions {
  display: flex;
  gap: 13px;
  border: 1px solid #e7ecf4;
  border-radius: 10px;
  padding: 18px;
  margin: 26px 0;
}
.setup-permissions>span {
  flex-shrink: 0;
  color: #526eb6;
}
.setup-permissions strong {
  font-size: 12px;
  font-weight: 600;
}
.setup-permissions p {
  font-size: 11px;
  line-height: 1.8;
  color: #64728b;
  margin-top: 7px;
}
.setup-provider>.button {
  width: 100%;
  justify-content: center;
  gap: 10px;
  font-size: 13px;
}
.setup-small {
  color: #64728b;
  text-align: center;
  margin-top: 15px;
}
.setup-next {
  display: flex;
  gap: 14px;
  padding: 25px 15px;
  color: #315ed0;
}
.setup-next>span {
  flex-shrink: 0;
}
.setup-next strong {
  display: block;
  margin: 2px 0 7px;
  color: #314764;
}
.setup-next p>span {
  display: block;
  color: #64728b;
  line-height: 1.8;
}
.setup-footer {
  text-align: center;
  font-size: 10px;
  color: #64728b;
  line-height: 1.8;
}
.setup-main>.form-message {
  margin-bottom: 20px;
}
.account-layout {
  display: grid;
  grid-template-columns: minmax(0,1.1fr) minmax(0,1fr);
  gap: 24px;
  max-width: 1100px;
}
.account-layout .account-card {
  max-width: none;
}
.account-details dd {
  overflow-wrap: anywhere;
}
.profile-form {
  border-top: 1px solid var(--line);
  padding-top: 5px;
}
.profile-form .button {
  margin-top: 17px;
}
.optional-label {
  font-size: 10px;
  color: #64728b;
  font-weight: 400;
  margin-left: 5px;
}
.account-layout input {
  width: 100%;
  border: 1px solid #d7dfed;
  border-radius: 8px;
  padding: 12px 14px;
  font: inherit;
  color: #263855;
  background: white;
}
.account-security>h2 {
  font-size: 23px;
  margin: 12px 0 24px;
  font-weight: 600;
}
.security-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--line);
  padding: 20px 0;
}
.security-row strong {
  font-size: 12px;
  font-weight: 600;
}
.security-row p {
  font-size: 11px;
  color: #64728b;
  line-height: 1.8;
  margin-top: 6px;
}
.security-row .text-link {
  font-size: 10px;
  white-space: nowrap;
}
.security-footnote {
  border-top: 1px solid var(--line);
  padding-top: 20px;
  margin-top: 20px;
  line-height: 1.8;
}
.account-security form .button {
  margin-top: 16px;
}
.sessions-card {
  grid-column: 1/-1;
}
.section-card-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.section-card-heading h2 {
  font-size: 20px;
  font-weight: 600;
  margin: 10px 0;
}
.section-card-heading .button {
  font-size: 11px;
}
.session-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
}
.session-list {
  margin-top: 22px;
}
.session-row>div {
  flex: 1;
  min-width: 0;
}
.session-row strong {
  display: block;
  font-size: 11px;
  font-weight: 500;
  overflow-wrap: anywhere;
}
.session-row p {
  font-size: 10px;
  color: #64728b;
  margin-top: 7px;
  line-height: 1.7;
}
.session-row .button {
  font-size: 10px;
  padding: 9px 12px;
}
.session-row .account-badge {
  white-space: nowrap;
}
@media(max-width:1000px) {
  .account-layout {
    grid-template-columns: 1fr;
  }
}
@media(max-width:600px) {
  .setup-header {
    padding: 24px 20px;
  }
  .setup-header .brand {
    font-size: 17px;
  }
  .setup-main {
    margin-top: 24px;
  }
  .setup-progress {
    gap: 10px;
    font-size: 9px;
    margin-bottom: 44px;
  }
  .setup-progress li {
    gap: 5px;
    flex-direction: column;
    text-align: center;
  }
  .setup-provider {
    padding: 23px 20px;
  }
  .setup-provider-heading {
    gap: 10px;
  }
  .setup-provider-heading>.account-badge {
    display: none;
  }
  .section-card-heading {
    align-items: start;
    flex-direction: column;
  }
  .session-row {
    flex-wrap: wrap;
    gap: 10px;
  }
  .security-row {
    align-items: start;
    flex-direction: column;
    gap: 12px;
  }
  .setup-intro>p {
    font-size: 12px;
  }
}
/* ========== Components: cards, buttons, transfer and history screens ========== */
/* Shared product refresh: a quiet blue palette, clear hierarchy, fewer tiny labels. */
body {
  font-family: "Geist Variable","Inter Variable","Segoe UI",system-ui,-apple-system,sans-serif;
}
a,
button,
input,
summary {
  outline-offset: 4px;
}
.button {
  border-radius: 10px;
  min-height: 43px;
  font-size: 13px;
  padding: 13px 20px;
  letter-spacing: -.01em;
}
.button.primary {
  box-shadow: 0 3px 5px #263fa914;
  background: var(--blue);
}
.button.primary:hover {
  background: #294bd3;
  box-shadow: 0 6px 18px #3659e826;
}
.brand {
  letter-spacing: -.7px;
  font-weight: 750;
}
.brand-mark {
  border-radius: 10px;
  background: var(--blue);
  box-shadow: none;
}
.button[aria-disabled=true] {
  opacity: .55;
  cursor: default;
  pointer-events: none;
  box-shadow: none;
}
.button[aria-disabled=true]:hover {
  transform: none;
}
.form-message {
  border-radius: 9px;
}
.card {
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 4px 18px #1d385205;
}
/* Public website */
.release-pill {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  border: 1px solid #e0e7f2;
  background: #f8faff;
  padding: 7px 10px;
  border-radius: 6px;
  font-size: 10px;
  color: #5b6f8c;
  font-weight: 500;
}
.release-pill>span:last-child {
  border-left: 1px solid #dce4f0;
  padding-left: 9px;
  font-size: 7px;
  font-weight: 750;
  letter-spacing: .06em;
  color: #7b8ba3;
}
.release-pill .status-dot {
  width: 5px;
  height: 5px;
  background: #3659e8;
}
.product-scene {
  position: relative;
  min-width: 0;
  padding: 35px 0 45px;
}
.product-window {
  position: relative;
  z-index: 1;
  border-radius: 14px;
  border: 1px solid #d8e1f0;
  box-shadow: 0 30px 65px #243c7312,0 8px 16px #243c7308;
  background: #fff;
  overflow: hidden;
  transform: rotate(-1.25deg);
}
.product-topbar {
  height: 54px;
  border-bottom: 1px solid #e9edf6;
  display: flex;
  align-items: center;
  padding: 0 19px;
  gap: 12px;
}
.product-mini-brand {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: -.2px;
}
.product-mini-brand>span {
  color: var(--blue);
}
.product-mini-brand svg {
  width: 21px;
  height: 21px;
}
.preview-badge {
  font-size: 6px;
  letter-spacing: .07em;
  color: #8a98af;
  border-left: 1px solid #e5eaf2;
  padding-left: 12px;
}
.product-avatar {
  width: 23px;
  height: 23px;
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 8px;
  color: #7380ab;
  background: #f0f3fc;
  margin-left: auto;
}
.product-window-body {
  display: flex;
  min-height: 373px;
}
.product-eyebrow {
  font-size: 7px;
  font-weight: 700;
  letter-spacing: .12em;
  color: #6b80b0;
  margin-bottom: 10px;
}
.preview-connection {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #a6b9df;
  height: 40px;
}
.preview-connection svg {
  width: 14px;
  height: 14px;
  transform: rotate(90deg);
}
.preview-connection-line {
  height: 1px;
  width: 50px;
  background: #e1e8f5;
}
.preview-drive-icon {
  width: 31px;
  height: 31px;
  border-radius: 7px;
  color: #5e83c8;
  background: #eef3ff;
}
.preview-drive-icon svg {
  width: 22px;
  height: 22px;
}
.preview-connected {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
  font-size: 7px;
  color: #43866d;
}
.preview-connected .status-dot {
  width: 4px;
  height: 4px;
}
.preview-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  background: var(--blue);
  color: #fff;
  border-radius: 7px;
  padding: 12px;
  margin-top: 20px;
  font-size: 9px;
  font-weight: 600;
}
.preview-submit svg {
  height: 12px;
  width: 12px;
}
.preview-bottom {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 7px;
  color: #7f8fa9;
  margin-top: 13px;
}
.preview-bottom svg {
  height: 11px;
  width: 11px;
}
.question-list {
  border-top: 1px solid #e1e7f2;
}
.question-list details {
  padding: 21px 0;
  border-bottom: 1px solid #e1e7f2;
}
.question-list summary {
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-size: 13px;
  font-weight: 500;
  color: #3d526f;
  list-style: none;
}
.question-list summary::-webkit-details-marker {
  display: none;
}
.question-list summary>span {
  color: #8fa2c3;
  font-size: 19px;
  font-weight: 400;
  line-height: 1;
}
.question-list details[open] summary>span {
  transform: rotate(45deg);
}
.question-list p {
  font-size: 12px;
  line-height: 1.9;
  margin: 15px 30px 0 0;
  color: #78869d;
}
.landing-bottom-cta>.brand-mark {
  height: 45px;
  width: 45px;
  border-radius: 12px;
}
/* Authentication */
.auth-page {
  background: #f9fbff;
  grid-template-columns: minmax(390px,.95fr) minmax(490px,1.05fr);
}
.auth-story .brand-mark {
  background: #ffffff16;
  box-shadow: none;
  border: 1px solid #ffffff1c;
}
.auth-box {
  width: 100%;
  max-width: 390px;
  padding-block: 38px;
}
.auth-box h1 {
  font-size: 36px;
  line-height: 1.15;
  letter-spacing: -.045em;
  font-weight: 600;
  margin-top: 13px;
}
.auth-description {
  font-size: 12px;
  line-height: 1.85;
  margin-top: 13px;
  color: #74819a;
}
.auth-box .field {
  margin-top: 20px;
}
.auth-box label {
  font-size: 11px;
  color: #475976;
  font-weight: 600;
}
.auth-box input {
  background: #fff;
  border: 1px solid #d8e1ef;
  min-height: 46px;
  border-radius: 9px;
  font-size: 13px;
  color: #263b5b;
}
.auth-box input:focus {
  border-color: #7088e9;
  box-shadow: 0 0 0 3px #3659e810;
}
.auth-box .google-button {
  min-height: 46px;
  border-radius: 9px;
  font-size: 12px;
  border-color: #d9e2f1;
  box-shadow: 0 2px 4px #243a5c03;
  background: #fff;
  color: #324967;
}
.auth-box .google-button[aria-disabled=true] {
  opacity: .55;
}
.google-permission-note {
  font-size: 10px;
  line-height: 1.7;
}
.auth-divider {
  margin-block: 22px 2px;
  font-size: 9px;
}
.auth-stepper {
  list-style: none;
  display: flex;
  gap: 17px;
  margin: 25px 0 0;
  padding: 0;
  font-size: 9px;
  color: #8d9cb4;
}
.auth-stepper li[aria-current=step] {
  font-weight: 650;
  color: #4162ca;
}
.auth-stepper li.complete {
  color: #448b72;
}
.auth-availability {
  font-size: 11px;
  line-height: 1.8;
  padding: 14px 16px;
  border-radius: 9px;
  background: #f0f4fc;
  border: 1px solid #dfe7f5;
  margin-top: 21px;
  color: #607797;
}
.auth-submit {
  font-size: 12px;
  min-height: 46px;
  margin-top: 25px;
  border-radius: 9px;
}
.auth-assurance {
  border-top: 1px solid #e3e9f3;
  padding-top: 22px;
  font-size: 10px;
  line-height: 1.8;
  color: #8190a8;
  gap: 9px;
}
.auth-assurance svg {
  color: #93a4c0;
  width: 15px;
  height: 15px;
}
.auth-switch {
  font-size: 11px;
  line-height: 1.8;
  margin-top: 22px;
}
.owner-link {
  font-size: 9px;
  color: #91a0b7;
}
.auth-box .field-hint {
  font-size: 10px;
  line-height: 1.8;
}
.field-label-row a {
  font-size: 10px;
}
.auth-box .form-message {
  font-size: 11px;
  line-height: 1.8;
}
/* Application and onboarding */
.dashboard-page {
  font-size: 14px;
  background: #f6f8fc;
}
.sidebar {
  width: 244px;
  padding: 28px 18px 18px;
  border-color: #e3e9f3;
  overflow-y: auto;
}
.sidebar>.brand {
  font-size: 18px;
}
.dash-nav {
  gap: 5px;
}
.workspace-label {
  font-size: 8px;
  margin: 34px 13px 17px;
}
.tab-btn {
  font-size: 12px;
  padding: 12px 13px;
  border-radius: 8px;
  color: #7888a1;
}
.tab-btn.active {
  color: #3659df;
  background: #edf2ff;
}
.tab-btn:hover {
  background: #f3f6fd;
}
.nav-divider {
  margin: 13px 10px;
}
.sidebar-bottom {
  padding-top: 30px;
}
.sidebar-tip {
  background: #f7f9fe;
  border-color: #e7edf7;
  padding: 15px;
  border-radius: 10px;
}
.sidebar-tip p {
  font-size: 10px;
}
.sidebar-tip strong {
  font-size: 11px;
}
.profile-name strong {
  font-size: 11px;
}
.profile-name small {
  font-size: 9px;
}
.dashboard-main {
  margin-left: 244px;
}
.dashboard-topbar {
  background: #ffffffcc;
  border-color: #e3e9f2;
  height: 75px;
  padding-inline: 36px;
}
.breadcrumb {
  font-size: 11px;
  color: #6f819f;
}
.dashboard-content {
  padding: 36px 36px 48px;
  max-width: 1480px;
  margin: auto;
}
.page-heading {
  margin-bottom: 29px;
}
.page-heading h1 {
  font-weight: 600;
  letter-spacing: -.04em;
}
.page-heading p {
  font-size: 12px;
  color: #7c8aa2;
  line-height: 1.8;
  margin-top: 12px;
}
.page-heading .eyebrow {
  font-size: 8px;
  margin-bottom: 12px;
  color: #8b9bb6;
}
.card {
  padding: 26px;
}
.card h2 {
  font-weight: 600;
  letter-spacing: -.025em;
}
.stats-grid {
  gap: 18px;
}
.stat-card {
  border-radius: 12px;
  border-color: #e2e8f2;
  box-shadow: none;
}
.stat-card strong {
  font-weight: 550;
  letter-spacing: -.045em;
}
.stat-card>span:not(.stat-icon) {
  font-size: 10px;
}
.stats-caption {
  font-size: 10px;
}
.field-label {
  font-size: 12px;
}
.field-hint,
.note,
.connection-copy {
  font-size: 11px;
  line-height: 1.8;
}
.dashboard-page input,
.dashboard-page textarea,
.dashboard-page select {
  font-size: 12px;
  border-radius: 8px;
  border-color: #dce4f0;
}
.dashboard-footer {
  border-color: #e3e9f3;
  font-size: 9px;
  padding-inline: 36px;
}
.provider-heading h2 {
  font-size: 19px;
}
.provider-heading p {
  font-size: 11px;
  line-height: 1.8;
}
.provider-status {
  font-size: 10px;
}
.account-details>div {
  font-size: 12px;
}
.account-info p {
  font-size: 11px;
  line-height: 1.9;
}
.history-item {
  border-radius: 10px;
}
.setup-page {
  background: radial-gradient(ellipse at 50% 10%,#edf3ff,transparent 60%),#f7f9fd;
}
.setup-header {
  padding-block: 30px;
}
.setup-main {
  margin-top: 35px;
  max-width: 620px;
}
.setup-progress {
  font-size: 10px;
  margin-bottom: 55px;
}
.setup-intro h1 {
  font-size: 49px;
  font-weight: 550;
  letter-spacing: -.05em;
}
.setup-intro>p {
  font-size: 13px;
  line-height: 1.9;
}
.setup-provider {
  border-color: #dce5f3;
  box-shadow: 0 10px 30px #264d8307;
  padding: 29px;
  border-radius: 15px;
}
.setup-provider-heading h2 {
  font-size: 20px;
}
.setup-permissions {
  border-color: #e4ebf6;
  background: #f7faff;
}
.setup-small {
  font-size: 10px;
  line-height: 1.85;
}
.setup-next {
  padding-top: 27px;
}
.setup-next strong {
  font-size: 12px;
}
.setup-next p>span {
  font-size: 11px;
}
/* Customer allowance and account lifecycle */
.usage-card h2,
.account-events h2,
.deletion-card h2 {
  font-size: 19px;
  margin: 10px 0 14px;
}
.usage-card .eyebrow,
.account-events .eyebrow,
.deletion-card .eyebrow {
  color: #627796;
}
.usage-number {
  margin: 25px 0 18px;
  color: #687a96;
  font-size: 12px;
}
.usage-number strong {
  font-size: 32px;
  letter-spacing: -.04em;
  color: var(--ink);
  font-weight: 600;
}
.usage-card progress {
  display: block;
  width: 100%;
  height: 9px;
  accent-color: var(--blue);
  margin-bottom: 17px;
}
.usage-card>.field-hint {
  margin-bottom: 8px;
}
.usage-card>.button {
  margin-top: 18px;
}
.deletion-card {
  border-color: #eadde0;
}
.deletion-card>.field-hint {
  margin: 12px 0;
  color: #6d7484;
}
.deletion-card>.button {
  margin-top: 15px;
}
.deletion-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 22px;
}
.danger-button {
  background: #a72e42;
  color: #fff;
  border: 1px solid #a72e42;
}
.danger-button:hover {
  background: #8e2335;
}
.deletion-card input {
  width: 100%;
}
.account-events .session-row p {
  color: #6b7c97;
}
.usage-card .provider-status {
  margin-left: 0;
}
/* Owner-only connection setup */
.owner-setup-grid {
  display: grid;
  grid-template-columns: minmax(0,.85fr) minmax(0,1.15fr);
  gap: 24px;
  max-width: 1180px;
}
.owner-setup-grid .eyebrow {
  margin-bottom: 15px;
}
.owner-setup-grid h2 {
  font-size: 22px;
  margin-bottom: 13px;
}
.operator-checks {
  display: grid;
  margin-top: 24px;
}
.operator-check {
  display: flex;
  gap: 15px;
  align-items: center;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}
.operator-check>div {
  flex: 1;
  min-width: 0;
}
.operator-check strong {
  font-size: 12px;
  font-weight: 600;
  display: block;
}
.operator-check code {
  font-size: 10px;
  color: #7e8fa9;
  overflow-wrap: anywhere;
  display: block;
  margin-top: 5px;
}
.check-state {
  padding: 4px 7px;
  font-size: 8px;
  white-space: nowrap;
  border: 1px solid #e5d7c1;
  color: #a18154;
  background: #fff9f0;
  border-radius: 5px;
}
.check-state.ready {
  border-color: #d1e9dc;
  background: #eff9f3;
  color: #4c8a70;
}
.operator-guide ol {
  padding-left: 20px;
  margin: 23px 0;
}
.operator-guide li {
  padding-left: 5px;
  margin-bottom: 22px;
  color: #526c96;
  font-size: 12px;
}
.operator-guide li strong {
  display: block;
  color: #455b78;
  font-weight: 600;
  margin-bottom: 8px;
}
.operator-guide li p,
.operator-email>p {
  font-size: 11px;
  line-height: 1.9;
  color: #7788a1;
  overflow-wrap: anywhere;
}
.operator-guide code,
.operator-email code {
  font-size: 10px;
  color: #526d96;
}
.copy-value {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #f5f8fd;
  border: 1px solid #e1e8f4;
  border-radius: 8px;
  padding: 13px;
  margin-block: 12px;
}
.copy-value code {
  flex: 1;
  min-width: 0;
  overflow-wrap: anywhere;
  font-size: 10px;
  line-height: 1.8;
}
.copy-value .small-button {
  font-size: 10px;
}
.operator-guide>.field-hint {
  margin-top: 20px;
}
.operator-email {
  grid-column: 1/-1;
}
.operator-email>.field-hint {
  margin-top: 14px;
}
@media(max-width:1100px) {
  .owner-setup-grid {
    grid-template-columns: 1fr;
  }
  .dashboard-content {
    padding: 30px 27px 40px;
  }
  .dashboard-topbar {
    padding-inline: 27px;
  }
}
@media(max-width:980px) {
  .auth-page {
    grid-template-columns: minmax(300px,.85fr) minmax(400px,1.15fr);
  }
  .sidebar {
    width: 215px;
  }
  .dashboard-main {
    margin-left: 215px;
  }
  .sidebar>.brand {
    font-size: 16px;
  }
  .tab-btn {
    font-size: 11px;
    padding: 11px;
  }
  .account-layout {
    gap: 20px;
  }
}
@media(max-width:760px) {
  .landing-header .brand-mark {
    width: 31px;
    height: 31px;
  }
  .product-scene {
    width: 100%;
    max-width: 540px;
    justify-self: center;
    padding-inline: 10px;
    padding-top: 30px;
  }
  .product-window {
    transform: rotate(-.8deg);
  }
  .product-window-body {
    min-height: 370px;
  }
  .question-list summary {
    font-size: 12px;
  }
  .question-list p {
    font-size: 12px;
  }
  .landing-bottom-cta>.brand-mark {
    display: none;
  }
  .auth-page {
    display: block;
  }
  .auth-box {
    max-width: 410px;
    padding-block: 40px;
  }
  .auth-box h1 {
    font-size: 36px;
  }
  .auth-box input {
    font-size: 16px;
  }
  .sidebar {
    width: 235px;
  }
  .dashboard-main {
    margin-left: 0;
  }
  .dashboard-topbar {
    height: 68px;
    padding-inline: 22px;
  }
  .dashboard-content {
    padding: 28px 22px 38px;
  }
  .page-heading h1 {
    font-size: 28px;
  }
  .dashboard-page input,
  .dashboard-page textarea,
  .dashboard-page select {
    font-size: 16px;
  }
  .card {
    padding: 23px;
  }
  .dashboard-footer {
    padding-inline: 22px;
  }
  .setup-main {
    margin-top: 20px;
  }
  .setup-intro h1 {
    font-size: 43px;
  }
  .setup-provider {
    padding: 25px;
  }
  .setup-header {
    padding: 25px 20px;
  }
  .owner-setup-grid {
    gap: 20px;
  }
}
@media(max-width:480px) {
  .release-pill {
    font-size: 8px;
    padding: 6px 8px;
  }
  .release-pill>span:last-child {
    font-size: 6px;
  }
  .product-scene {
    padding-inline: 0;
  }
  .product-topbar {
    height: 47px;
    padding-inline: 14px;
  }
  .product-mini-brand {
    font-size: 10px;
  }
  .preview-badge {
    font-size: 5px;
    padding-left: 7px;
  }
  .preview-connected {
    font-size: 6px;
  }
  .product-window-body {
    min-height: 355px;
  }
  .auth-box h1 {
    font-size: 33px;
  }
  .auth-description {
    font-size: 11px;
  }
  .auth-stepper {
    font-size: 8px;
    gap: 14px;
  }
  .dashboard-content {
    padding-inline: 17px;
  }
  .dashboard-topbar {
    padding-inline: 17px;
  }
  .dashboard-footer {
    padding-inline: 17px;
    font-size: 8px;
  }
  .page-heading h1 {
    font-size: 26px;
  }
  .card {
    padding: 22px 19px;
  }
  .setup-intro h1 {
    font-size: 39px;
  }
  .setup-intro>p {
    font-size: 12px;
  }
  .setup-provider {
    padding: 23px 20px;
  }
  .setup-progress {
    font-size: 9px;
    margin-bottom: 40px;
  }
  .operator-guide h2,
  .setup-checklist-card h2 {
    font-size: 21px;
  }
}
@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior: auto;
  }
  .button:hover {
    transform: none;
  }
}
@media(max-width:960px) {
  .dashboard-main {
    margin-left: 0;
  }
  .sidebar {
    width: 235px;
  }
}
/* ========== Public pages: pricing, legal and support ========== */
.trust-main {
  max-width: 1040px;
  margin: 36px auto 80px;
  padding: 0 24px;
}
.trust-intro {
  max-width: 750px;
  margin: 45px 0 34px;
}
.trust-intro h1 {
  font-size: clamp(2.1rem,4.6vw,3.5rem);
  line-height: 1.12;
  letter-spacing: -.045em;
  margin: 16px 0;
}
.trust-intro>p {
  font-size: 1.1rem;
  color: #626c81;
  line-height: 1.7;
  max-width: 660px;
}
.trust-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.trust-main .card {
  padding: 30px;
  line-height: 1.75;
}
.trust-main h2 {
  font-size: 1.2rem;
  margin: 14px 0;
}
.trust-main p {
  color: #556077;
}
.trust-main .feature-icon {
  width: 44px;
  height: 44px;
}
.trust-list {
  padding-left: 22px;
  color: #556077;
}
.trust-decision,
.trust-section {
  margin-top: 22px;
}
.trust-decision>.text-link {
  display: inline-block;
  margin-top: 22px;
}
.trust-table-wrap {
  overflow: auto;
}
.trust-main table {
  border-collapse: collapse;
  width: 100%;
  font-size: .92rem;
  text-align: left;
}
.trust-main th,
.trust-main td {
  padding: 16px;
  border-bottom: 1px solid #e6eaf3;
  vertical-align: top;
}
.trust-main th {
  color: #263451;
  background: #f8faff;
}
.trust-main td {
  color: #556077;
}
.trust-main td:first-child {
  width: 32%;
  font-weight: 600;
  color: #33415b;
}
.trust-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 34px;
  font-size: .85rem;
  color: #6c7688;
}
.saved-cloud {
  border: 1px solid #e5eaf4;
  border-radius: 14px;
  padding: 20px;
  margin: 16px 0;
}
.saved-cloud h3 {
  margin: 0 0 6px;
}
.saved-cloud .provider-actions {
  flex-wrap: wrap;
}
.saved-cloud input {
  max-width: 260px;
}
.cloud-choice {
  margin: 14px 0 20px;
}
.cloud-choice select {
  width: 100%;
}
.saved-cloud .field-hint {
  overflow-wrap: anywhere;
}
.saved-cloud form {
  display: flex;
  gap: 10px;
  align-items: end;
  flex-wrap: wrap;
}
.trust-callout {
  background: #edf5ff;
  border: 1px solid #d8e7fb;
  border-radius: 14px;
  padding: 18px 22px;
  margin: 20px 0;
  line-height: 1.65;
}
.trust-callout p {
  margin: 5px 0;
  color: #556077;
}
@media(max-width:680px) {
  .trust-main {
    padding: 0 18px;
    margin-top: 24px;
  }
  .trust-grid {
    grid-template-columns: 1fr;
  }
  .trust-main .card {
    padding: 23px;
  }
  .trust-intro {
    margin-top: 30px;
  }
  .trust-footer {
    flex-direction: column;
  }
  .trust-main td,
  .trust-main th {
    padding: 12px 8px;
  }
  .trust-main td:first-child {
    width: 36%;
  }
}
/* ========== Workspace: dashboard shell and panels ========== */
@font-face {
  font-family: "Geist Variable";
  src: url("/static/fonts/GeistVariable.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Geist Mono Variable";
  src: url("/static/fonts/GeistMonoVariable.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Bricolage Grotesque Variable";
  src: url("/static/fonts/BricolageGrotesqueVariable.woff2") format("woff2");
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
}
@font-face {
  font-family: "Cinzel";
  src: url("/static/fonts/Cinzel-600.woff2") format("woff2");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "Inter Variable";
  src: url("/static/fonts/InterVariable.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}
:root {
  --font-ui: "Geist Variable","Inter Variable",system-ui,-apple-system,"Segoe UI",sans-serif;
}
body,
button,
input,
textarea,
select {
  font-family: var(--font-ui);
  font-optical-sizing: auto;
}
body {
  font-size: 15px;
  line-height: 1.65;
  letter-spacing: -.012em;
}
h1,
h2,
h3,
.brand {
  font-weight: 650;
  letter-spacing: -.035em;
}
.page-heading h1 {
  font-size: clamp(28px,3vw,38px);
  line-height: 1.2;
}
.page-heading p,
.connection-copy,
.account-details,
.trust-callout p {
  font-size: 14px;
  line-height: 1.7;
}
.eyebrow {
  font-size: 10px;
  font-weight: 650;
  letter-spacing: .09em;
}
.sidebar .dash-nav a {
  font-size: 13px;
  font-weight: 500;
  min-height: 45px;
}
.sidebar .dash-nav a.active {
  font-weight: 650;
}
.button,
.small-button,
.field-label,
.advanced-options summary {
  font-size: 13px;
  font-weight: 550;
}
.field-hint,
.note,
.inline-help p,
.upload-note,
.security-row p,
.account-info p {
  font-size: 12px;
  line-height: 1.65;
}
input,
textarea,
select {
  font-size: 14px;
}
.workspace-allowance {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 16px 20px;
  border: 1px solid #dce5f5;
  border-radius: 12px;
  background: #fff;
  margin-bottom: 26px;
  min-width: 0;
}
.allowance-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  border-radius: 10px;
  background: #eef2ff;
  color: var(--blue);
}
.allowance-copy {
  min-width: 0;
  flex: 1;
}
.allowance-copy strong {
  font-size: 13px;
  font-weight: 600;
  display: block;
}
.allowance-copy p {
  font-size: 11px;
  margin-top: 2px;
}
.allowance-meter {
  width: 180px;
  max-width: 22%;
  height: 5px;
}
.workspace-allowance .text-link {
  white-space: nowrap;
}
.workspace-allowance[data-level="warning"] {
  background: #fffaf0;
  border-color: #f0dbb2;
}
.workspace-allowance[data-level="empty"] {
  background: #fff5f4;
  border-color: #eccbc9;
}
.batch-review {
  margin-top: 20px;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
}
.review-heading {
  padding: 16px 18px;
  background: #f6f8fd;
  border-bottom: 1px solid var(--line);
}
.review-heading strong {
  font-size: 14px;
}
.review-heading p {
  font-size: 12px;
  margin-top: 3px;
}
.review-file {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 15px 18px;
  border-bottom: 1px solid #edf0f6;
  min-width: 0;
}
.review-file:last-child {
  border-bottom: 0;
}
.review-file-icon {
  width: 32px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 7px;
  background: #edf2ff;
  color: var(--blue);
  flex-shrink: 0;
}
.review-file-copy {
  flex: 1;
  min-width: 0;
}
.review-file strong {
  display: block;
  font-size: 13px;
  font-weight: 600;
  overflow-wrap: anywhere;
}
.review-file p {
  font-size: 11px;
  margin-top: 3px;
  overflow-wrap: anywhere;
}
.review-file .item-error {
  color: #a13f3f;
}
.review-file .small-button {
  font-size: 11px;
  padding: 6px 9px;
}
.review-status {
  font-size: 10px;
  font-weight: 600;
  color: #2b7c5f;
  background: #eef9f3;
  padding: 3px 7px;
  border-radius: 5px;
  white-space: nowrap;
}
.review-status.failed {
  color: #a13f3f;
  background: #fff1f0;
}
.review-status.checking {
  color: #626f88;
  background: #f0f3f9;
}
.review-summary {
  padding: 17px 18px;
  background: #f8faff;
  border: 1px solid #dce5f4;
  border-radius: 10px;
  margin-top: 22px;
}
.review-summary strong {
  font-size: 13px;
  display: block;
}
.review-summary p {
  font-size: 12px;
  margin-top: 5px;
}
.review-summary[data-blocked="true"] {
  border-color: #edccca;
  background: #fff7f6;
}
.review-summary[data-blocked="true"] strong {
  color: #a13f3f;
}
.destination-label strong {
  white-space: nowrap;
}
.history-toolbar {
  display: flex;
  gap: 14px;
  align-items: end;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.history-search {
  flex: 1;
  min-width: 180px;
}
.history-filter {
  min-width: 170px;
}
.history-toolbar label {
  display: block;
  font-size: 12px;
  font-weight: 550;
  margin-bottom: 6px;
}
.history-toolbar input,
.history-toolbar select {
  margin: 0;
  min-height: 43px;
  background: #fff;
}
.history-count {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 14px;
}
.history-card {
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}
.history-card .job {
  padding: 24px;
  margin-bottom: 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
}
.job-heading {
  display: flex;
  align-items: start;
  gap: 12px;
  justify-content: space-between;
}
.job-heading h3 {
  font-size: 15px;
  line-height: 1.5;
  font-weight: 600;
  letter-spacing: -.02em;
  overflow-wrap: anywhere;
}
.job .note {
  margin-top: 5px;
}
.job-heading .status-pill {
  flex-shrink: 0;
}
.job-telemetry {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  font-size: 12px;
  margin: 14px 0;
  color: #435773;
  font-variant-numeric: tabular-nums;
}
.job-telemetry strong {
  font-weight: 550;
}
.job progress {
  height: 5px;
  margin: 5px 0 15px;
  width: 100%;
  accent-color: var(--blue);
}
.history-item {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  column-gap: 16px;
  row-gap: 5px;
  padding: 15px 0;
}
.history-item strong {
  font-size: 13px;
  overflow-wrap: anywhere;
  flex: 1;
  min-width: 160px;
}
.history-item>span {
  font-size: 12px;
}
.history-item>a {
  font-size: 12px;
}
.history-item .item-error {
  flex-basis: 100%;
  font-size: 12px;
}
.job-recovery {
  padding: 12px 14px;
  background: #fff9ee;
  border: 1px solid #f0e4ca;
  border-radius: 8px;
  margin-top: 10px;
}
.job-recovery p {
  font-size: 12px;
  color: #7b6033;
}
.job-recovery a {
  font-size: 12px;
  display: inline-block;
  margin-top: 4px;
  color: var(--blue);
  font-weight: 600;
}
.job-controls {
  gap: 9px;
  margin-top: 17px;
  display: flex;
  flex-wrap: wrap;
}
.history-more {
  display: flex;
  justify-content: center;
  margin: 24px 0;
}
.usage-number,
.stats-grid strong,
.review-summary strong {
  font-variant-numeric: tabular-nums;
}
.empty-state h3 {
  font-size: 18px;
}
.empty-state p {
  font-size: 13px;
}
@media(max-width:760px) {
  .workspace-allowance {
    gap: 10px;
    padding: 13px 14px;
    flex-wrap: wrap;
  }
  .allowance-meter {
    display: none;
  }
  .allowance-copy p {
    font-size: 10px;
  }
  .workspace-allowance .text-link {
    font-size: 11px;
  }
  .allowance-icon {
    width: 30px;
    height: 30px;
  }
  .review-file {
    padding: 12px;
    gap: 9px;
    flex-wrap: wrap;
  }
  .review-file-copy {
    min-width: 130px;
  }
  .review-status {
    margin-left: 41px;
  }
  .review-file .small-button {
    margin-left: auto;
  }
  .job-heading {
    flex-wrap: wrap;
  }
  .history-card .job {
    padding: 18px;
  }
  .history-filter {
    min-width: 130px;
  }
  .history-toolbar {
    gap: 10px;
  }
  .page-heading p {
    font-size: 13px;
  }
  .history-item {
    align-items: start;
    flex-direction: column;
  }
}
@media(prefers-reduced-motion:reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto!important;
    transition: none!important;
    animation: none!important;
  }
}
/* Transfer review and account totals use the existing workspace tokens. */
.conflict-field {
  margin: 20px 0;
}
.conflict-field select {
  width: 100%;
}
.cloud-file-card .review-summary {
  margin-top: 22px;
}
.cloud-file-card .review-summary p {
  overflow-wrap: anywhere;
}
.usage-breakdown {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 20px 0;
}
.usage-breakdown>div {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #f8faff;
}
.usage-breakdown span {
  display: block;
  font-size: 12px;
  color: #52657f;
  margin-bottom: 7px;
}
.usage-breakdown strong {
  font-size: 22px;
  font-variant-numeric: tabular-nums;
}
.usage-exact {
  font-size: 12px;
  color: #52657f;
  margin: 16px 0;
}
.usage-exact summary {
  cursor: pointer;
}
.usage-exact p {
  line-height: 1.8;
  margin: 10px 0;
  overflow-wrap: anywhere;
}
.plan-options {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 14px;
  margin: 22px 0;
}
.plan-option {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 20px;
}
.plan-option>strong {
  font-size: 16px;
}
.plan-option p {
  margin: 9px 0;
  font-size: 13px;
}
.plan-option .button {
  margin-top: 10px;
}
.notification-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 4px;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  color: #52657f;
  text-decoration: none;
}
.notification-row.unread {
  color: #1e3761;
  font-weight: 550;
}
.notification-row [data-icon] {
  width: 19px;
  height: 19px;
  color: var(--blue);
  flex-shrink: 0;
}
.notification-card .account-badge {
  font-size: 11px;
  vertical-align: middle;
  margin-left: 6px;
}
.source-file-row>input[type=checkbox] {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  accent-color: var(--blue);
}
@media(max-width:560px) {
  .usage-breakdown,
  .plan-options {
    grid-template-columns: 1fr;
  }
  .notification-card .section-card-heading {
    align-items: flex-start;
    gap: 14px;
    flex-direction: column;
  }
}
/* ========== Icons: mask-based icons; the shapes live in icon-map.css ========== */
[data-icon]::before,
[data-control-icon]::before {
  content: "";
  display: inline-block;
  width: var(--icon-size,21px);
  height: var(--icon-size,21px);
  flex: 0 0 var(--icon-size,21px);
  background-color: currentColor;
  -webkit-mask: var(--cc-icon) center/contain no-repeat;
  mask: var(--cc-icon) center/contain no-repeat;
  pointer-events: none;
}
[data-icon] {
  min-width: var(--icon-size,21px);
  min-height: var(--icon-size,21px);
  vertical-align: middle;
  opacity: 1;
}
[data-icon]>svg {
  display: none;
}
/* Navigation visibility belongs to the responsive layout, not the icon layer. */
:where([data-control-icon]:not(.menu-toggle)) {
  display: inline-flex;
}
[data-control-icon] {
  align-items: center;
  justify-content: center;
  gap: 9px;
}
[data-control-icon]>[data-icon],
[data-control-icon]>svg {
  display: none;
}
button[data-control-icon]::before,
.button[data-control-icon]::before {
  --icon-size: 19px;
}
.small-button[data-control-icon]::before,
.text-link[data-control-icon]::before {
  --icon-size: 17px;
}
.tab-btn>[data-icon] {
  color: #526584;
  --icon-size: 21px;
}
.tab-btn.active>[data-icon] {
  color: #3156db;
}
.sidebar .tab-btn {
  gap: 13px;
}
.sidebar .profile-button>[data-icon] {
  color: #526584;
}
.cc-icon {
  display: block;
  flex-shrink: 0;
  stroke-width: 2;
}
.brand-mark {
  --icon-size: 22px;
}
.drop-icon,
.cloud-orb,
.provider-icon {
  --icon-size: 28px;
}
.stat-icon,
.auth-assurance {
  --icon-size: 16px;
}
.destination-label>[data-icon],
.feature-icon>[data-icon],
.review-file-icon {
  color: #3156db;
}
[data-icon="drive"]::before {
  background: var(--cc-icon) center/contain no-repeat;
  -webkit-mask: none;
  mask: none;
}
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.status-pill::before {
  --icon-size: 13px;
}
.job-controls a[data-control-icon],
.history-item>a[data-control-icon] {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.page-heading .page-badge {
  gap: 7px;
}
.history-toolbar label[data-control-icon] {
  justify-content: flex-start;
  --icon-size: 16px;
}
@media(max-width:760px) {
  .tab-btn>[data-icon] {
    --icon-size: 22px;
  }
  .button[data-control-icon]::before {
    --icon-size: 20px;
  }
}
/* ========== Plans, passkeys and account pages ========== */
.public-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.public-nav a {
  font-size: .9rem;
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(205px,1fr));
  gap: 18px;
  margin: 24px 0;
}
.pricing-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}
.pricing-card h2,
.pricing-card p {
  margin: 0;
}
.pricing-card p {
  color: var(--muted,#5e687b);
  font-size: .9rem;
  line-height: 1.6;
}
.pricing-allowance {
  font-size: 1.55rem;
  letter-spacing: -.05em;
  color: var(--ink,#1c2840);
}
.pricing-card .button {
  margin-top: auto;
  justify-content: center;
}
.plan-change-dialog {
  max-width: 540px;
  width: calc(100% - 32px);
  border: 1px solid #dce2ef;
  border-radius: 20px;
  padding: 28px;
  color: #17233b;
  box-shadow: 0 24px 100px #17233b30;
}
.plan-change-dialog::backdrop {
  background: #14234366;
}
.plan-change-dialog p {
  line-height: 1.7;
  color: #52617a;
}
.passkeys-card .security-row {
  align-items: center;
  gap: 12px;
}
.passkeys-card input {
  width: 100%;
  box-sizing: border-box;
  margin: 8px 0;
}
#passkeySignin {
  margin-bottom: 10px;
}
#securityChallenge {
  margin-top: 14px;
}
#publicSalesStatus {
  display: block;
  margin-bottom: 24px;
}
.trust-section p {
  line-height: 1.8;
}
.trust-list li {
  margin: 12px 0;
}
.setup-header {
  gap: 20px;
}
.trust-footer .public-nav {
  gap: 14px;
}
.passkeys-card .usage-exact {
  margin-top: 20px;
}
#billingReceipts .security-row {
  gap: 12px;
  flex-wrap: wrap;
}
@media(max-width:600px) {
  /* Only headers with a full menu stack; a single link stays beside the logo. */
  .setup-header:has(.public-nav) {
    align-items: flex-start;
    flex-direction: column;
  }
  .public-nav {
    gap: 14px;
  }
  .pricing-grid {
    grid-template-columns: 1fr;
  }
  .trust-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
  }
  .plan-change-dialog {
    padding: 22px;
  }
  .pricing-card {
    padding: 24px;
  }
}
/* ========== Theme: colours, dark navigation, the FROM/TO board and final overrides ========== */
/* Neophron Drive theme: dark navigation, calm light work surfaces, one mint
   accent. Loaded last on every page; it restyles existing components without
   changing their markup or behaviour. Self-contained: no remote assets. */
:root {
  --cc-ink: #0e1116;
  --cc-ink-soft: #2b313b;
  --cc-muted: #5d6673;
  --cc-faint: #8a93a0;
  --cc-line: #e7e9ed;
  --cc-line-strong: #d7dbe1;
  --cc-bg: #f6f7f9;
  --cc-paper: #fff;
  --cc-accent: #f5b700;
  --cc-accent-hover: #e0a700;
  --cc-accent-ink: #141100;
  --cc-accent-strong: #8a5a00;
  --cc-accent-soft: #fff6da;
  --cc-night: #0b0c0e;
  --cc-night-2: #131518;
  --cc-night-3: #1c1f24;
  --cc-night-line: #25292f;
  --cc-night-text: #d3d8df;
  --cc-radius: 14px;
  --cc-radius-md: 11px;
  --cc-radius-sm: 8px;
  --cc-shadow-sm: 0 1px 2px rgb(14 17 22 / .06);
  --cc-shadow: 0 1px 2px rgb(14 17 22 / .04),0 10px 28px -8px rgb(14 17 22 / .10);
  --cc-shadow-lg: 0 24px 60px -18px rgb(14 17 22 / .35);
  --cc-ring: 0 0 0 3px rgb(245 183 0 / .30);
  --cc-ease: cubic-bezier(.2,.8,.2,1);
  /* Existing component tokens follow the theme. */
  --bg: var(--cc-bg);
  --paper: var(--cc-paper);
  --ink: var(--cc-ink);
  --muted: var(--cc-muted);
  --line: var(--cc-line);
  --blue: var(--cc-accent-strong);
  --blue-soft: var(--cc-accent-soft);
  --green: var(--cc-accent-strong);
  --shadow: var(--cc-shadow);
  accent-color: var(--cc-accent-strong);
}
html body {
  color: var(--cc-ink);
  background: var(--cc-bg);
  font-feature-settings: "cv11","ss01";
  text-rendering: optimizeLegibility;
}
::selection {
  background: #ffe9a8;
  color: #3d2a00;
}
h1,
h2,
h3 {
  color: var(--cc-ink);
}
p {
  color: var(--cc-muted);
}
body :is(button,a,[role=button]):focus-visible {
  outline: 2px solid var(--cc-accent-strong);
  outline-offset: 3px;
  box-shadow: var(--cc-ring);
}
/* :where keeps element-level specificity so component inputs keep their own look. */
body :where(input,select,textarea):focus {
  border-color: var(--cc-accent-strong);
  box-shadow: var(--cc-ring);
  outline: 0;
}
progress {
  accent-color: var(--cc-accent-strong);
}
/* ---------- Buttons, links and controls ---------- */
body .button {
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -.01em;
  transition: background-color .18s var(--cc-ease),border-color .18s var(--cc-ease),box-shadow .18s var(--cc-ease),transform .18s var(--cc-ease),color .18s;
}
body .button.compact {
  font-size: 13px;
  padding: 10px 15px;
}
body .button.primary {
  background: var(--cc-accent);
  color: var(--cc-accent-ink);
  border-color: transparent;
  box-shadow: 0 1px 0 rgb(255 255 255 / .25) inset,0 6px 18px -8px rgb(184 134 0 / .7);
}
body .button.primary:hover {
  background: var(--cc-accent-hover);
  box-shadow: 0 1px 0 rgb(255 255 255 / .25) inset,0 10px 24px -10px rgb(184 134 0 / .8);
}
body .button.primary:active {
  transform: translateY(0) scale(.99);
}
body .button.secondary {
  background: var(--cc-paper);
  border-color: var(--cc-line-strong);
  color: var(--cc-ink);
  box-shadow: var(--cc-shadow-sm);
}
body .button.secondary:hover {
  background: #f9fafb;
  border-color: #c5cad2;
}
body .button.subtle {
  color: var(--cc-muted);
}
body .button[aria-disabled=true] {
  opacity: .55;
  pointer-events: none;
}
body .small-button {
  border: 1px solid var(--cc-line-strong);
  border-radius: 8px;
  background: var(--cc-paper);
  color: var(--cc-ink-soft);
  font-size: 13px;
  font-weight: 550;
  padding: 8px 12px;
  transition: background-color .15s,border-color .15s;
}
body .small-button:hover:not(:disabled) {
  background: #f6f7f9;
  border-color: #c5cad2;
}
body .small-button.danger,
body .danger-button {
  color: #b42335;
}
body .text-link {
  color: var(--cc-accent-strong);
  font-size: 13px;
  font-weight: 600;
}
body .text-link:hover {
  color: #6e4800;
}
body .icon-button {
  border-color: var(--cc-line-strong);
  border-radius: 9px;
  background: var(--cc-paper);
  color: var(--cc-ink-soft);
}
body :where(input,select,textarea):where(:not([type=checkbox],[type=radio],[type=file],[type=range])) {
  border: 1px solid var(--cc-line-strong);
  border-radius: 10px;
  background: var(--cc-paper);
  color: var(--cc-ink);
  transition: border-color .15s,box-shadow .15s;
}
body :where(input,textarea)::placeholder {
  color: #9aa2ad;
}
body .quick-input-row input {
  border: 0;
  background: transparent;
  box-shadow: none;
}
body .field-label {
  color: var(--cc-ink-soft);
  font-size: 13px;
  font-weight: 600;
}
body .field-hint {
  color: var(--cc-muted);
  font-size: 12.5px;
  line-height: 1.6;
}
body .eyebrow {
  color: var(--cc-faint);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: .12em;
}
body .status {
  border-radius: 11px;
  font-size: 13.5px;
  padding: 12px 16px;
}
body .status.info {
  background: #f2f4f7;
  color: var(--cc-ink-soft);
  border-color: var(--cc-line);
}
body .status.success {
  background: #e7faf2;
  color: #00613f;
  border-color: #bfeedb;
}
body .status.error {
  background: #fff3f4;
  color: #a32133;
  border-color: #f6d0d6;
}
body .status.show {
  animation: cc-rise .28s var(--cc-ease);
}
/* ---------- Brand ---------- */
body .brand {
  color: var(--cc-ink);
  font-weight: 700;
  letter-spacing: -.03em;
}
body .brand-mark {
  background: var(--cc-night);
  color: var(--cc-accent);
  border-radius: 10px;
  box-shadow: 0 0 0 1px rgb(245 183 0 / .25),0 8px 20px -10px rgb(245 183 0 / .9);
}
/* ---------- Cards and surfaces ---------- */
body .card {
  background: var(--cc-paper);
  border: 1px solid var(--cc-line);
  border-radius: var(--cc-radius);
  box-shadow: var(--cc-shadow-sm);
}
body .card h2 {
  font-size: 17px;
  font-weight: 650;
  letter-spacing: -.02em;
}
body .feature-icon {
  border-radius: 11px;
}
body .feature-icon.blue {
  background: #eef1f5;
  color: var(--cc-ink-soft);
}
body .feature-icon.green {
  background: var(--cc-accent-soft);
  color: var(--cc-accent-strong);
}
body .feature-icon.orange {
  background: #fff5e8;
  color: #b5650d;
}
body .trust-callout {
  background: #f8f9fa;
  border: 1px solid var(--cc-line);
  border-radius: var(--cc-radius);
}
/* ---------- Dashboard shell: dark navigation ---------- */
body.dashboard-page {
  background: var(--cc-bg);
}
body.dashboard-page .sidebar {
  background: var(--cc-night);
  border-right: 1px solid var(--cc-night-line);
  color: var(--cc-night-text);
  box-shadow: none;
}
body.dashboard-page .sidebar>.brand {
  color: #f5f6f7;
}
body.dashboard-page .sidebar .brand-mark {
  background: var(--cc-accent);
  color: var(--cc-accent-ink);
  box-shadow: 0 0 22px -4px rgb(245 183 0 / .55);
}
body.dashboard-page .workspace-label {
  color: #98a1ad;
  font-size: 11px;
  letter-spacing: .14em;
  font-weight: 700;
}
body.dashboard-page .tiny-beta {
  background: var(--cc-night-3);
  color: var(--cc-accent);
  font-size: 9px;
  border: 1px solid var(--cc-night-line);
}
body.dashboard-page .sidebar .dash-nav {
  gap: 2px;
}
body.dashboard-page .sidebar .dash-nav a.tab-btn {
  color: var(--cc-night-text);
  font-size: 14.5px;
  font-weight: 550;
  padding: 10px 12px;
  min-height: 42px;
  border-radius: 10px;
  transition: background-color .16s var(--cc-ease),color .16s;
}
body.dashboard-page .sidebar .tab-btn>[data-icon] {
  color: #aab2bd;
  --icon-size: 19px;
  transition: color .16s;
}
body.dashboard-page .sidebar .tab-btn:hover {
  background: var(--cc-night-2);
  color: #fff;
}
body.dashboard-page .sidebar .tab-btn:hover>[data-icon] {
  color: #e3e7ec;
}
body.dashboard-page .sidebar .dash-nav a.tab-btn.active {
  background: var(--cc-night-3);
  color: #fff;
  font-weight: 600;
  box-shadow: inset 0 0 0 1px var(--cc-night-line);
}
body.dashboard-page .sidebar .tab-btn.active>[data-icon] {
  color: var(--cc-accent);
}
body.dashboard-page .nav-count {
  background: var(--cc-night-3);
  color: #c5cad1;
  font-size: 11px;
  border-radius: 6px;
  padding: 1px 6px;
}
body.dashboard-page .nav-plus {
  color: var(--cc-accent);
}
body.dashboard-page .nav-divider {
  background: var(--cc-night-line);
}
body.dashboard-page .sidebar-tip {
  background: var(--cc-night-2);
  border: 1px solid var(--cc-night-line);
  border-radius: 12px;
}
body.dashboard-page .sidebar-tip>span {
  color: var(--cc-accent);
}
body.dashboard-page .sidebar-tip strong {
  color: #eceef1;
  font-size: 13px;
}
body.dashboard-page .sidebar-tip p {
  color: #8c939d;
  font-size: 12px;
  line-height: 1.6;
}
body.dashboard-page .sidebar-tip .text-link {
  color: var(--cc-accent);
  font-size: 12.5px;
}
body.dashboard-page .profile-button {
  border-top-color: var(--cc-night-line);
  color: #eceef1;
}
body.dashboard-page .profile-name small {
  color: #8c939d;
}
body.dashboard-page .sidebar .profile-button>[data-icon] {
  color: #7b838e;
}
body.dashboard-page .avatar {
  background: var(--cc-accent);
  color: var(--cc-accent-ink);
  border-radius: 9px;
  font-weight: 700;
}
body.dashboard-page .dashboard-topbar {
  background: rgb(255 255 255 / .82);
  border-bottom: 1px solid var(--cc-line);
  backdrop-filter: saturate(1.6) blur(14px);
  -webkit-backdrop-filter: saturate(1.6) blur(14px);
  position: sticky;
  top: 0;
  z-index: 20;
  height: 64px;
}
body.dashboard-page .breadcrumb {
  color: var(--cc-faint);
  font-size: 13.5px;
}
body.dashboard-page .breadcrumb>span {
  color: #c3c8cf;
}
body.dashboard-page .breadcrumb strong {
  color: var(--cc-ink);
  font-weight: 600;
}
body.dashboard-page .dashboard-topbar .topbar-account {
  color: var(--cc-muted);
  font-size: 13px;
}
body.dashboard-page .dashboard-footer {
  color: var(--cc-faint);
  font-size: 12.5px;
  border-top: 1px solid var(--cc-line);
}
body.dashboard-page .page-heading .eyebrow {
  font-size: 11px;
  color: var(--cc-faint);
}
body.dashboard-page .page-heading h1 {
  color: var(--cc-ink);
  font-weight: 680;
  letter-spacing: -.035em;
}
body.dashboard-page .page-heading p {
  color: var(--cc-muted);
  font-size: 14.5px;
  line-height: 1.65;
}
body.dashboard-page .page-badge {
  background: var(--cc-paper);
  border-color: var(--cc-line);
  color: var(--cc-ink-soft);
  font-size: 12px;
  border-radius: 999px;
  padding: 7px 12px;
}
body.dashboard-page .tab-panel.active {
  animation: cc-rise .32s var(--cc-ease);
}
body.dashboard-page .workspace-allowance {
  border-color: var(--cc-line);
  border-radius: var(--cc-radius);
  box-shadow: var(--cc-shadow-sm);
}
body.dashboard-page .allowance-icon {
  color: var(--cc-accent-strong);
}
body.dashboard-page .allowance-copy strong {
  color: var(--cc-ink);
}
/* The link hero becomes the Neon-style command surface. */
body.dashboard-page .quick-start {
  background: radial-gradient(120% 140% at 100% 0,rgb(245 183 0 / .22),transparent 55%),radial-gradient(90% 120% at 0 100%,rgb(242 140 40 / .12),transparent 60%),var(--cc-night);
  border: 1px solid var(--cc-night-line);
  border-radius: 20px;
  box-shadow: var(--cc-shadow-lg);
}
body.dashboard-page .quick-start::after {
  border-color: rgb(245 183 0 / .12);
}
body.dashboard-page .quick-start .eyebrow {
  color: var(--cc-accent);
}
body.dashboard-page .quick-start h2 {
  color: #fff;
  letter-spacing: -.04em;
}
body.dashboard-page .quick-start p {
  color: #a8afb9;
}
body.dashboard-page .quick-input-row {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 0 0 1px rgb(255 255 255 / .08),0 12px 30px -12px rgb(0 0 0 / .6);
}
body.dashboard-page .quick-input-row input {
  color: var(--cc-ink);
}
body.dashboard-page .quick-caption {
  color: #8c939d;
}
body.dashboard-page .mode-card {
  border-color: var(--cc-line);
  border-radius: var(--cc-radius);
  transition: border-color .18s,box-shadow .18s,transform .18s var(--cc-ease);
}
body.dashboard-page .mode-card:hover {
  border-color: #9ee6c9;
  box-shadow: var(--cc-shadow);
  transform: translateY(-2px);
}
body.dashboard-page .mode-card>span:last-child {
  color: var(--cc-accent-strong);
}
body.dashboard-page .stat-card {
  border-color: var(--cc-line);
  border-radius: var(--cc-radius);
  box-shadow: var(--cc-shadow-sm);
}
body.dashboard-page .stat-card>span:not(.stat-icon) {
  color: var(--cc-muted);
  font-size: 12.5px;
}
body.dashboard-page .stat-card strong {
  color: var(--cc-ink);
  font-weight: 650;
}
body.dashboard-page .stat-icon {
  background: var(--cc-accent-soft);
  color: var(--cc-accent-strong);
}
body.dashboard-page .cloud-orb {
  background: var(--cc-accent-soft);
  color: var(--cc-accent-strong);
}
body.dashboard-page .provider-status {
  background: #f2f4f7;
  color: var(--cc-muted);
  font-size: 12px;
  border-radius: 999px;
}
body.dashboard-page .provider-status.connected {
  background: #e7faf2;
  color: #00613f;
}
body.dashboard-page .dropzone {
  border-color: #cfd4db;
  border-radius: 16px;
  background: #fbfbfc;
  transition: border-color .18s,background-color .18s;
}
body.dashboard-page .dropzone:hover,
body.dashboard-page .dropzone.dragging {
  border-color: var(--cc-accent-strong);
  background: var(--cc-accent-soft);
}
body.dashboard-page .review-summary {
  background: #f8f9fa;
  border-color: var(--cc-line);
  border-radius: 12px;
}
body.dashboard-page .review-summary[data-blocked="true"] {
  border-color: #f6d0d6;
  background: #fff6f7;
}
body.dashboard-page .review-heading {
  background: #f8f9fa;
}
body.dashboard-page .batch-review {
  border-radius: 14px;
}
body.dashboard-page .destination-label {
  background: #f8f9fa;
  border-radius: 12px;
}
/* The chips already show the chosen account. */
body.dashboard-page .route-to:has(.cloud-choice.has-chips) .destination-label {
  display: none;
}
body.dashboard-page .provider-roadmap {
  max-width: 640px;
}
body.dashboard-page .provider-roadmap .planned-provider {
  padding: 12px 0;
  border-bottom: 1px solid var(--cc-line);
}
body.dashboard-page .planned-provider strong {
  color: var(--cc-ink-soft);
  font-size: 14px;
}
body.dashboard-page .planned-label {
  font-size: 12px;
  border-radius: 999px;
  padding: 3px 10px;
  color: var(--cc-muted);
  border-color: var(--cc-line);
}
/* ---------- Provider logos, cloud chips and the connect sheet ---------- */
.provider-logo {
  display: inline-block;
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  background: center/contain no-repeat;
  vertical-align: middle;
}
.provider-logo.gdrive {
  background-image: url("/static/brand/gdrive.svg");
}
.provider-logo.onedrive {
  background-image: url("/static/brand/onedrive.svg");
}
.provider-logo.dropbox {
  background-image: url("/static/brand/dropbox.svg");
}
.saved-cloud h3 {
  display: flex;
  align-items: center;
  gap: 10px;
}
.saved-cloud h3 .provider-logo {
  width: 20px;
  height: 20px;
  flex-basis: 20px;
}
.cloud-choice.has-chips select {
  display: none;
}
.cloud-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 2px 0 6px;
}
.cloud-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  max-width: 100%;
  padding: 8px 14px 8px 11px;
  border: 1px solid var(--cc-line-strong);
  border-radius: 12px;
  background: var(--cc-paper);
  color: var(--cc-ink);
  text-align: left;
  transition: border-color .16s,box-shadow .16s,background-color .16s,transform .16s var(--cc-ease);
}
.cloud-chip:hover {
  border-color: #b8bec7;
  transform: translateY(-1px);
}
.cloud-chip[aria-checked=true] {
  border-color: var(--cc-accent-strong);
  background: var(--cc-accent-soft);
  box-shadow: 0 0 0 1px var(--cc-accent-strong) inset;
}
.cloud-chip-copy {
  display: grid;
  min-width: 0;
  line-height: 1.25;
}
.cloud-chip-copy strong {
  font-size: 13.5px;
  font-weight: 620;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.cloud-chip-copy small {
  font-size: 12px;
  color: var(--cc-muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 220px;
}
.cloud-chip.add {
  border-style: dashed;
  color: var(--cc-ink-soft);
  font-weight: 600;
  font-size: 13.5px;
  background: transparent;
}
.cloud-chip.add:hover {
  border-color: var(--cc-accent-strong);
  color: var(--cc-accent-strong);
  background: var(--cc-accent-soft);
}
.connect-dialog {
  width: min(540px,calc(100% - 32px));
  border: 0;
  border-radius: 20px;
  padding: 26px;
  background: var(--cc-paper);
  color: var(--cc-ink);
  box-shadow: 0 40px 90px -20px rgb(11 12 14 / .55);
}
.connect-dialog[open] {
  animation: cc-pop .26s var(--cc-ease);
}
.connect-dialog::backdrop {
  background: rgb(11 12 14 / .55);
  backdrop-filter: blur(4px);
}
.connect-dialog-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.connect-dialog-heading h2 {
  font-size: 21px;
  letter-spacing: -.03em;
}
.connect-dialog-intro {
  margin: 8px 0 18px;
  font-size: 14px;
  line-height: 1.6;
}
.connect-options {
  display: grid;
  gap: 10px;
}
.connect-option {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border: 1px solid var(--cc-line-strong);
  border-radius: 14px;
  background: var(--cc-paper);
  color: var(--cc-ink);
  transition: border-color .16s,box-shadow .16s,transform .16s var(--cc-ease);
}
.connect-option .provider-logo {
  width: 30px;
  height: 30px;
  flex-basis: 30px;
}
a.connect-option:hover {
  border-color: var(--cc-accent-strong);
  box-shadow: var(--cc-shadow);
  transform: translateY(-1px);
}
.connect-option.unavailable {
  opacity: .55;
  cursor: not-allowed;
}
.connect-option-copy {
  display: grid;
  gap: 2px;
  min-width: 0;
}
.connect-option-copy strong {
  font-size: 15px;
  font-weight: 650;
}
.connect-option-copy small {
  font-size: 12.5px;
  color: var(--cc-muted);
  line-height: 1.45;
}
.connect-option-state {
  margin-left: auto;
  font-size: 12.5px;
  font-weight: 650;
  color: var(--cc-accent-strong);
  white-space: nowrap;
}
.connect-option.unavailable .connect-option-state {
  color: var(--cc-faint);
}
.connect-dialog-footer {
  margin-top: 16px;
  font-size: 12.5px;
}
.planned-provider {
  display: flex;
  align-items: center;
  gap: 10px;
}
.planned-label.ready {
  background: #e7faf2;
  color: #00613f;
}
/* ---------- Transfer board: FROM on the left, TO on the right ---------- */
.route-board {
  display: grid;
  grid-template-columns: minmax(0,1fr) 64px minmax(0,1fr);
  align-items: stretch;
  margin: 0 0 20px;
}
body.dashboard-page .route-pane {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  padding: 24px;
  margin: 0;
  border-radius: 18px;
}
body.dashboard-page .route-from {
  border-top: 4px solid var(--cc-night);
}
body.dashboard-page .route-to {
  border-top: 4px solid var(--cc-accent);
}
.route-label {
  align-self: flex-start;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: .14em;
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--cc-night);
  color: #fff;
  margin-bottom: 14px;
}
.route-to .route-label {
  background: var(--cc-accent);
  color: var(--cc-accent-ink);
}
.route-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
}
.route-arrow>span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--cc-night);
  color: var(--cc-accent);
  --icon-size: 22px;
  box-shadow: 0 10px 24px -10px rgb(11 12 14 / .6);
  animation: cc-nudge 2.4s var(--cc-ease) infinite;
}
@keyframes cc-nudge {
  0%,
  100% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(4px);
  }
}
body.dashboard-page .route-to .form-actions {
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
  margin-top: auto;
  padding-top: 16px;
}
body.dashboard-page .route-to .form-actions .button.primary {
  width: 100%;
  min-height: 52px;
  font-size: 15px;
}
body.dashboard-page .route-to .form-actions .field-hint {
  max-width: none;
  text-align: center;
}
.route-note {
  margin-top: auto;
  padding-top: 14px;
  font-size: 12.5px;
  color: var(--cc-muted);
}
.source-choice {
  display: none;
}
/* Tiles and chips already name the chosen accounts. */
.route-from:has(.from-tile[data-source-id]:not([data-source-id=""])) :is(#sourceProviderTitle,#sourceState) {
  display: none;
}
.route-to:has(.cloud-choice.has-chips) :is(#cloudDestinationProvider,#cloudDestinationState) {
  display: none;
}
body.dashboard-page .route-from #disconnectSource {
  align-self: flex-start;
  border: 0;
  padding: 4px 0;
  background: none;
  font-size: 12.5px;
}
body.dashboard-page .route-pane .cloud-choice {
  margin-top: 0;
}
body.dashboard-page .route-from h2 {
  font-size: 18px;
  margin: 6px 0 2px;
}
body.dashboard-page .route-from .source-heading {
  margin-top: 16px;
}
body.dashboard-page .route-from .source-heading h3 {
  font-size: 15px;
}
.route-help {
  margin: 0 0 18px;
  padding: 16px 20px;
}
.route-help summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--cc-ink);
}
.route-help p {
  margin-top: 10px;
  font-size: 13.5px;
}
.from-strip {
  display: grid;
  grid-template-columns: repeat(auto-fill,minmax(160px,1fr));
  gap: 10px;
  margin: 0 0 18px;
}
.from-tile {
  display: flex;
  align-items: center;
  gap: 11px;
  min-height: 62px;
  padding: 10px 14px 10px 12px;
  border: 1px solid var(--cc-line-strong);
  border-radius: 14px;
  background: var(--cc-paper);
  color: var(--cc-ink);
  text-align: left;
  cursor: pointer;
  transition: border-color .16s,background-color .16s,box-shadow .16s,transform .16s var(--cc-ease);
}
.from-tile:hover {
  border-color: #b8bec7;
  transform: translateY(-1px);
}
.from-tile[aria-pressed=true] {
  background: var(--cc-night);
  border-color: var(--cc-night);
  color: #fff;
  box-shadow: 0 12px 26px -14px rgb(11 12 14 / .75);
}
.from-tile .provider-logo {
  width: 28px;
  height: 28px;
  flex-basis: 28px;
}
.from-tile-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  border-radius: 10px;
  background: var(--cc-bg);
  color: var(--cc-ink);
  --icon-size: 18px;
}
.from-tile[aria-pressed=true] .from-tile-icon {
  background: var(--cc-night-3);
  color: var(--cc-accent);
}
.from-tile-copy {
  display: grid;
  min-width: 0;
  line-height: 1.25;
}
.from-tile-copy strong {
  font-size: 14.5px;
  font-weight: 700;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.from-tile-copy small {
  font-size: 12.5px;
  color: var(--cc-ink-soft);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.from-tile[aria-pressed=true] small {
  color: #d3d8df;
}
.from-tile.add {
  border-style: dashed;
  background: transparent;
}
.from-tile.add:hover {
  border-color: var(--cc-accent-strong);
  background: var(--cc-accent-soft);
}
@media (max-width:1100px) {
  .route-board {
    grid-template-columns: 1fr;
  }
  .route-arrow {
    padding: 10px 0;
  }
  .route-arrow>span {
    transform: rotate(90deg);
    animation: none;
  }
}
/* ---------- Compact send window (opened by the browser extension) ---------- */
.compact-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: var(--cc-night);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 25;
}
.compact-bar .brand {
  color: #fff;
  font-size: 16px;
}
.compact-bar .brand-mark {
  width: 28px;
  height: 28px;
  background: var(--cc-accent);
  color: var(--cc-accent-ink);
}
.compact-title {
  color: #a2a9b3;
  font-size: 13px;
  white-space: nowrap;
}
.compact-bar .text-link {
  margin-left: auto;
  color: var(--cc-accent);
  white-space: nowrap;
}
@media (max-width:480px) {
  .compact-title {
    display: none;
  }
}
.compact-bar .icon-button {
  background: transparent;
  border-color: var(--cc-night-line);
  color: #d3d7dc;
}
body.compact-mode .sidebar,
body.compact-mode .dashboard-topbar,
body.compact-mode .workspace-allowance,
body.compact-mode .dashboard-footer,
body.compact-mode #tab-links .page-heading,
body.compact-mode .link-guide,
body.compact-mode .inline-help {
  display: none!important;
}
body.compact-mode .dashboard-main {
  margin-left: 0;
}
body.compact-mode .dashboard-content {
  padding: 16px 16px 28px;
}
body.compact-mode .route-board {
  display: block;
}
body.compact-mode :is(.from-strip,.route-arrow,.route-label,.route-help) {
  display: none!important;
}
body.compact-mode .route-pane+.route-pane {
  margin-top: 14px;
}
/* ---------- Public website: dark hero, light story ---------- */
body.landing-page .landing-header .brand-mark {
  background: var(--cc-accent);
  color: var(--cc-accent-ink);
}
/* Full-bleed dark band behind the width-limited hero. */
body.landing-page .release-pill {
  background: rgb(255 255 255 / .04);
  border-color: var(--cc-night-line);
  color: #c9ced5;
}
body.landing-page .release-pill .status-dot {
  background: var(--cc-accent);
  box-shadow: 0 0 10px var(--cc-accent);
}
body.landing-page .release-pill>span:last-child {
  border-color: var(--cc-night-line);
  color: var(--cc-accent);
}
body.landing-page .product-window {
  border-color: rgb(255 255 255 / .12);
  box-shadow: 0 50px 100px -30px rgb(0 0 0 / .8),0 0 0 1px rgb(255 255 255 / .04);
}
body.landing-page .preview-submit {
  background: var(--cc-accent);
  color: var(--cc-accent-ink);
}
/* ---------- Sign-in, setup and trust pages ---------- */
body.auth-page {
  background: var(--cc-bg);
}
body .auth-story .brand-mark {
  background: var(--cc-accent);
  color: var(--cc-accent-ink);
}
body.setup-page {
  background: var(--cc-bg);
}
body .setup-header {
  background: rgb(255 255 255 / .85);
  border-bottom: 1px solid var(--cc-line);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
body .setup-progress li.done>span {
  background: var(--cc-accent);
  color: var(--cc-accent-ink);
}
body .setup-progress li.current>span {
  background: var(--cc-night);
  color: var(--cc-accent);
}
body .setup-provider {
  border-radius: 18px;
}
/* ---------- Link capture hand-off ---------- */
body.capture-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  background: radial-gradient(60% 50% at 50% 0,rgb(245 183 0 / .18),transparent 70%),var(--cc-night);
  padding: 16px;
}
body.capture-page .capture-card {
  display: grid;
  justify-items: center;
  gap: 14px;
  text-align: center;
  max-width: 420px;
  width: 100%;
  border-radius: 20px;
  box-shadow: var(--cc-shadow-lg);
}
.capture-spinner {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 3px solid #dfe3e8;
  border-top-color: var(--cc-accent-strong);
  animation: cc-spin .8s linear infinite;
}
/* ---------- Motion ---------- */
@keyframes cc-rise {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes cc-pop {
  from {
    opacity: 0;
    transform: translateY(8px) scale(.98);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes cc-spin {
  to {
    transform: rotate(360deg);
  }
}
@media (prefers-reduced-motion:reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .01ms!important;
    animation-iteration-count: 1!important;
    transition-duration: .01ms!important;
    scroll-behavior: auto!important;
  }
}
@media (max-width:900px) {
  body.dashboard-page .sidebar {
    box-shadow: none;
  }
  body.dashboard-page.menu-open .sidebar {
    box-shadow: 30px 0 60px -20px rgb(0 0 0 / .6);
  }
  .cloud-chip {
    flex: 1 1 220px;
  }
}
@media (max-width:560px) {
  .from-strip {
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 8px;
  }
  .from-tile {
    min-height: 56px;
    padding: 8px 10px;
    gap: 8px;
  }
  .from-tile-copy small {
    display: none;
  }
  body.dashboard-page .route-pane {
    padding: 18px;
  }
  body.dashboard-page .dashboard-topbar .topbar-account {
    font-size: 0;
    gap: 0;
  }
  .connect-dialog {
    padding: 20px;
    border-radius: 18px;
  }
  .connect-option {
    padding: 12px;
  }
  .connect-option-state {
    display: none;
  }
}
/* ---------- Plans ---------- */
body .pricing-card {
  position: relative;
  gap: 12px;
}
body .pricing-card.featured {
  border-color: var(--cc-accent-strong);
  box-shadow: 0 0 0 1px var(--cc-accent-strong),var(--cc-shadow);
}
body .pricing-badge {
  position: absolute;
  top: -11px;
  left: 22px;
  background: var(--cc-accent);
  color: var(--cc-accent-ink);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 4px 10px;
}
body .pricing-price {
  margin: 0;
  color: var(--cc-muted);
}
body .pricing-price strong {
  font-size: 2.1rem;
  font-weight: 700;
  letter-spacing: -.04em;
  color: var(--cc-ink);
}
body .pricing-card .pricing-allowance {
  font-size: 1.05rem;
  letter-spacing: -.01em;
}
/* Sidebar helper text and the usage hints beside the tiles stay readable. */
body.dashboard-page .sidebar :is(p,small,.field-hint) {
  color: #c3cad3;
}
body.dashboard-page .route-from .field-hint {
  color: var(--cc-ink-soft);
}
body.dashboard-page .route-from :is(textarea,input)::placeholder {
  color: #6b7480;
  opacity: 1;
}
body.dashboard-page .route-from :is(label,.field-label) {
  color: var(--cc-ink);
}
body.dashboard-page .route-from details>summary {
  color: var(--cc-ink-soft);
  font-weight: 600;
}
/* Sign-in and connection error page: the two follow-up links sit side by side. */
.auth-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 22px;
}
/* Account: the "email me when a big transfer finishes" switch. */
.email-toggle {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 14px 0 6px;
  padding: 14px 16px;
  border: 1px solid var(--cc-line);
  border-radius: 12px;
  cursor: pointer;
}
.email-toggle input {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  flex: 0 0 18px;
  accent-color: var(--cc-accent-strong);
}
.email-toggle span {
  display: grid;
  gap: 3px;
}
.email-toggle small {
  color: var(--cc-muted);
  font-size: 13px;
  line-height: 1.45;
}
/* Owner: service health on the setup page. */
.service-health {
  margin-bottom: 24px;
}
.service-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
  margin: 16px 0 12px;
}
.service-stat {
  display: grid;
  gap: 4px;
  padding: 14px 16px;
  border: 1px solid var(--cc-line);
  border-radius: 12px;
  background: var(--cc-paper);
}
.service-stat span {
  color: var(--cc-muted);
  font-size: 12.5px;
  font-weight: 600;
}
.service-stat strong {
  font-size: 22px;
  letter-spacing: -.02em;
}
.service-stat small {
  color: var(--cc-muted);
  font-size: 12.5px;
}
.service-alerts {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}
.service-alert,
.service-ok {
  margin: 0;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 14px;
}
.service-alert {
  background: #fff6e5;
  color: #7a4b00;
}
.service-ok {
  background: var(--cc-accent-soft);
  color: var(--cc-accent-ink);
}
/* ========== Public site: homepage, pricing, log in and sign up ========== */
/* Basalt, saffron and limestone, after the Egyptian vulture. Saffron marks the one
   main action per screen; amber ink is the readable link colour on white. */
:root {
  --nd-basalt: #0e0e0c;
  --nd-ink: #141412;
  --nd-ink-2: #3a3934;
  --nd-text: #4a4943;
  --nd-muted: #5c5a53;
  --nd-line: #e4e2dc;
  --nd-line-2: #ecebe6;
  --nd-stone: #f5f4f0;
  --nd-paper: #ffffff;
  --nd-saffron: #f5b700;
  --nd-saffron-hover: #e0a700;
  --nd-amber: #7a5200;
  --nd-amber-soft: #fdf3d6;
  --nd-night-2: #151412;
  --nd-night-3: #1c1b18;
  --nd-night-line: #2c2b27;
  --nd-night-line-2: #22211e;
  --nd-dim: #a19e94;
  --nd-soft: #d6d3ca;
  --nd-ok: #3ccf7f;
  --nd-display: "Bricolage Grotesque Variable","Geist Variable",system-ui,sans-serif;
  --nd-sans: "Geist Variable",system-ui,-apple-system,"Segoe UI",sans-serif;
  --nd-mono: "Geist Mono Variable",ui-monospace,SFMono-Regular,Menlo,monospace;
}
.brand-logo {
  display: block;
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 8px;
}
.brand-sub {
  font-weight: 500;
  opacity: .62;
  margin-left: .25em;
}
body .brand-logo + * {
  margin-left: 0;
}
.sidebar .brand-logo {
  box-shadow: 0 0 0 1px #3a3934;
}
body.nd {
  margin: 0;
  background: var(--nd-paper);
  color: var(--nd-ink);
  font: 16px/1.6 var(--nd-sans);
}
.nd-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding-left: max(24px, env(safe-area-inset-left, 0px));
  padding-right: max(24px, env(safe-area-inset-right, 0px));
}
.nd a.nd-link {
  color: var(--nd-amber);
  font-weight: 600;
}
.nd a.nd-link:hover {
  color: #4d3400;
}
.nd h1,
.nd h2 {
  font-family: var(--nd-display);
  font-weight: 800;
  text-wrap: balance;
}
.nd-h2 {
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.02;
  letter-spacing: -.04em;
  max-width: 760px;
}
.nd-lead {
  font-size: 18px;
  line-height: 1.6;
  color: var(--nd-text);
  max-width: 640px;
  margin-top: 14px;
}
.nd-mono {
  font-family: var(--nd-mono);
  font-variant-numeric: tabular-nums;
}
.nd-eyebrow {
  font: 500 12.5px/1 var(--nd-mono);
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--nd-muted);
}
.nd :focus-visible {
  outline: 2px solid var(--nd-saffron);
  outline-offset: 3px;
}
.nd-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 11px;
  padding: 14px 20px;
  font: 600 15.5px/1.2 var(--nd-sans);
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
}
.nd-button svg {
  width: 16px;
  height: 16px;
}
.nd-button.primary {
  background: var(--nd-saffron);
  color: var(--nd-ink);
  box-shadow: 0 1px 0 rgb(20 20 18 / .08), 0 10px 24px -14px rgb(196 138 0 / .8);
}
.nd-button.primary:hover {
  background: var(--nd-saffron-hover);
}
.nd-button.dark {
  background: var(--nd-ink);
  color: #fff;
}
.nd-button.outline {
  border-color: var(--nd-ink);
  color: var(--nd-ink);
  background: transparent;
}
.nd-button.ghost-dark {
  border-color: #3a3934;
  color: #fff;
  background: transparent;
}
.nd-button[aria-disabled=true] {
  opacity: .55;
  pointer-events: none;
}
/* Header */
.nd-header {
  border-bottom: 1px solid var(--nd-line-2);
  background: var(--nd-paper);
}
.nd-header.dark {
  background: var(--nd-basalt);
  border-color: var(--nd-night-line-2);
  color: #fff;
}
.nd-header .nd-wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 32px;
  padding-top: 18px;
  padding-bottom: 18px;
}
.nd-brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font: 800 20px/1 var(--nd-display);
  letter-spacing: -.03em;
  color: inherit;
}
.nd-brand img {
  width: 36px;
  height: 36px;
  border-radius: 9px;
}
.nd-header.dark .nd-brand img {
  box-shadow: 0 0 0 1px #3a3934;
}
.nd-brand span {
  font-weight: 500;
  opacity: .62;
}
.nd-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 26px;
  flex: 1 1 360px;
  font-size: 15px;
}
.nd-nav a {
  color: var(--nd-ink-2);
}
.nd-header.dark .nd-nav a {
  color: var(--nd-soft);
}
.nd-nav a:hover,
.nd-nav a[aria-current=page] {
  color: inherit;
  font-weight: 600;
}
.nd-header-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nd-header-actions .nd-login {
  padding: 11px 14px;
  font-weight: 500;
  font-size: 15px;
  color: inherit;
}
.nd-header-actions .nd-button {
  padding: 11px 18px;
  font-size: 15px;
}
/* Dark hero with the live transfer */
.nd-night {
  background: var(--nd-basalt);
  color: #f4f3ef;
}
.nd-hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 500px), 1fr));
  gap: 64px;
  align-items: center;
  padding-top: 80px;
  padding-bottom: 72px;
}
.nd-hero > * {
  min-width: 0;
}
.nd-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 30px;
  padding: 7px 14px 7px 8px;
  border: 1px solid var(--nd-night-line);
  border-radius: 999px;
  background: var(--nd-night-2);
  color: var(--nd-soft);
  font-size: 13.5px;
}
.nd-pill b {
  padding: 3px 8px;
  border-radius: 99px;
  background: var(--nd-saffron);
  color: var(--nd-ink);
  font-size: 11.5px;
  font-weight: 600;
}
.nd-hero h1 {
  font-size: clamp(52px, 6.8vw, 98px);
  line-height: .93;
  letter-spacing: -.05em;
  margin-bottom: 28px;
}
.nd-hero h1 span {
  color: #8d8a80;
}
.nd-hero h1 i {
  font-style: normal;
  color: var(--nd-saffron);
}
.nd-hero-sub {
  font-size: 19px;
  line-height: 1.6;
  color: #c9c6bc;
  max-width: 540px;
  margin-bottom: 36px;
}
.nd-paste {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  max-width: 590px;
  padding: 8px;
  border: 1px solid #3a3934;
  border-radius: 16px;
  background: #171613;
  box-shadow: 0 0 0 6px rgb(245 183 0 / .05);
}
.nd-paste input {
  flex: 1 1 260px;
  min-width: 0;
  border: 0;
  outline: 0;
  padding: 15px 12px;
  background: transparent;
  color: #fff;
  font: 15px var(--nd-mono);
  box-shadow: none;
}
.nd-paste input::placeholder {
  color: #8a877e;
}
.nd-paste:focus-within {
  border-color: var(--nd-saffron);
}
.nd-form-status {
  min-height: 1.5em;
  margin-top: 12px;
  font-size: 14px;
  color: #f1c35a;
}
.nd-clouds {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 24px;
  margin-top: 14px;
  font-size: 14px;
  color: var(--nd-dim);
}
.nd-clouds span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #f4f3ef;
  font-weight: 500;
}
.nd-clouds img {
  width: 18px;
  height: 18px;
}
.nd-availability {
  margin-top: 14px;
  font-size: 13.5px;
  color: var(--nd-dim);
}
.nd-live {
  background: var(--nd-night-2);
  border: 1px solid var(--nd-night-line);
  border-radius: 24px;
  padding: 8px;
  box-shadow: 0 50px 100px -50px rgb(0 0 0 / .9);
}
.nd-live-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 12px 16px 14px;
  font-size: 13px;
  color: var(--nd-dim);
}
.nd-live-top b {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #f4f3ef;
  font-weight: 500;
}
.nd-live-top b::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--nd-ok);
  box-shadow: 0 0 0 4px rgb(60 207 127 / .15);
}
.nd-live-card {
  background: var(--nd-night-3);
  border: 1px solid #2a2925;
  border-radius: 18px;
  padding: 24px;
}
.nd-route {
  display: grid;
  grid-template-columns: auto 1fr auto 1fr auto;
  align-items: center;
  gap: 12px;
  margin-bottom: 26px;
}
.nd-node {
  display: grid;
  justify-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--nd-dim);
}
.nd-node > span,
.nd-node > img {
  width: 44px;
  height: 44px;
  border-radius: 12px;
}
.nd-node > span {
  display: grid;
  place-items: center;
  background: #262520;
  border: 1px solid #34332e;
}
.nd-node > span.light {
  background: #fff;
  border-color: #fff;
}
.nd-node svg,
.nd-node img.small {
  width: 22px;
  height: 22px;
}
.nd-route-line {
  position: relative;
  height: 2px;
  background: repeating-linear-gradient(90deg, #3a3934 0 6px, transparent 6px 12px);
}
.nd-route-line::after {
  content: "";
  position: absolute;
  top: -3px;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--nd-saffron);
  box-shadow: 0 0 0 4px rgb(245 183 0 / .18);
  animation: nd-route 2.4s linear infinite;
}
.nd-route-line.late::after {
  animation-delay: 1.2s;
}
@keyframes nd-route {
  from {
    left: 0;
  }
  to {
    left: calc(100% - 8px);
  }
}
.nd-file {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}
.nd-file strong {
  display: block;
  color: #fff;
  font-size: 18px;
  letter-spacing: -.01em;
}
.nd-file small {
  display: block;
  margin-top: 3px;
  color: var(--nd-dim);
  font-size: 14px;
}
.nd-file .nd-mono {
  color: #fff;
  font-size: 22px;
}
.nd-bar {
  height: 8px;
  margin-top: 18px;
  border-radius: 99px;
  background: var(--nd-night-line);
  overflow: hidden;
}
.nd-bar span {
  display: block;
  height: 100%;
  width: 62%;
  border-radius: 99px;
  background: var(--nd-saffron);
  transition: width .16s linear;
}
.nd-live-nums {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 12px;
  font-size: 13px;
  color: var(--nd-soft);
}
.nd-tiles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px;
  margin-top: 22px;
}
.nd-tiles div {
  background: var(--nd-night-2);
  border: 1px solid #2a2925;
  border-radius: 12px;
  padding: 14px 16px;
  font-size: 12.5px;
  color: var(--nd-dim);
}
.nd-tiles b {
  display: block;
  margin-top: 4px;
  color: #fff;
  font: 400 20px var(--nd-mono);
}
.nd-tiles b.text {
  font: 500 15px var(--nd-sans);
  margin-top: 6px;
}
.nd-live-list {
  display: grid;
  padding: 10px 8px 4px;
  font-size: 13.5px;
}
.nd-live-list div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px;
  color: var(--nd-soft);
}
.nd-live-list div + div {
  border-top: 1px solid var(--nd-night-line-2);
}
.nd-live-list span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.nd-live-list svg {
  width: 16px;
  height: 16px;
}
.nd-live-list .nd-mono {
  color: var(--nd-dim);
}
.nd-facts {
  border-top: 1px solid var(--nd-night-line-2);
}
.nd-facts .nd-wrap {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 24px;
  padding-top: 28px;
  padding-bottom: 36px;
}
.nd-facts b {
  display: block;
  color: #fff;
  font: 400 22px var(--nd-mono);
}
.nd-facts span {
  display: block;
  margin-top: 4px;
  color: var(--nd-dim);
  font-size: 14px;
}
/* Light sections */
.nd-section {
  padding-top: 96px;
  padding-bottom: 96px;
}
.nd-band {
  background: var(--nd-stone);
  border-block: 1px solid var(--nd-line-2);
}
.nd-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: 20px;
  margin-top: 44px;
}
.nd-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-width: 0;
  padding: 26px;
  border: 1px solid var(--nd-line);
  border-radius: 18px;
  background: var(--nd-paper);
}
.nd-card h3 {
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -.01em;
  line-height: 1.3;
  margin-bottom: 6px;
}
.nd-card p {
  font-size: 15.5px;
  line-height: 1.55;
  color: var(--nd-text);
}
.nd-mini {
  border: 1px solid var(--nd-line-2);
  border-radius: 12px;
  font-size: 13.5px;
}
.nd-mini-row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
}
.nd-mini-row + .nd-mini-row {
  border-top: 1px solid #f0efea;
}
.nd-mini-row span:first-child {
  font-family: var(--nd-mono);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.nd-mini-row span:last-child {
  font-family: var(--nd-mono);
  color: var(--nd-muted);
}
.nd-mini-prompt {
  padding: 16px;
}
.nd-mini-prompt p {
  color: var(--nd-muted);
  margin-bottom: 12px;
  font-size: 13.5px;
}
.nd-choice {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.nd-choice span {
  flex: 1 1 120px;
  text-align: center;
  padding: 10px 12px;
  border-radius: 8px;
  font-weight: 500;
  border: 1px solid #d8d6cf;
}
.nd-choice span.on {
  background: var(--nd-ink);
  border-color: var(--nd-ink);
  color: #fff;
  font-weight: 600;
}
.nd-share {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  font-size: 12.5px;
}
.nd-share span {
  display: grid;
  justify-items: center;
  gap: 6px;
  color: var(--nd-muted);
}
.nd-share span:first-child {
  color: var(--nd-ink);
  font-weight: 600;
}
.nd-share i {
  display: block;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--nd-line-2);
}
.nd-share img {
  width: 44px;
  height: 44px;
  border-radius: 11px;
}
.nd-compare {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr));
  gap: 20px;
  margin-top: 44px;
}
.nd-compare > div {
  min-width: 0;
  padding: 30px;
  border: 1px solid var(--nd-line);
  border-radius: 18px;
}
.nd-compare > div.dark {
  background: var(--nd-ink);
  border-color: var(--nd-ink);
  color: #f4f3ef;
}
.nd-compare .nd-eyebrow {
  margin-bottom: 22px;
}
.nd-compare .dark .nd-eyebrow {
  color: var(--nd-saffron);
}
.nd-step + .nd-step {
  margin-top: 16px;
}
.nd-step div:first-child {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
  font-size: 15px;
}
.nd-track {
  height: 12px;
  border-radius: 99px;
  background: #f0efea;
}
.dark .nd-track {
  background: var(--nd-night-line);
}
.nd-track span {
  display: block;
  height: 100%;
  border-radius: 99px;
  background: #8a877e;
}
.dark .nd-track span {
  background: var(--nd-saffron);
}
.nd-total {
  margin-top: 26px;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -.02em;
}
.nd-total span {
  font-size: 17px;
  font-weight: 400;
  color: var(--nd-muted);
}
.dark .nd-total span {
  color: var(--nd-dim);
}
.nd-split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  gap: 48px;
}
.nd-split > * {
  min-width: 0;
}
.nd-features {
  display: grid;
  gap: 30px;
}
.nd-feature {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 18px;
}
.nd-feature > span {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--nd-amber-soft);
  color: var(--nd-amber);
}
.nd-feature svg {
  width: 22px;
  height: 22px;
}
.nd-feature h3 {
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -.01em;
  margin-bottom: 6px;
}
.nd-feature p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--nd-text);
}
.nd-plans-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px 40px;
  margin-bottom: 36px;
}
.nd-plan-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
  gap: 14px;
}
.nd-plan-strip div {
  padding: 24px;
  border: 1px solid var(--nd-line);
  border-radius: 16px;
  background: var(--nd-paper);
}
.nd-plan-strip div.dark {
  background: var(--nd-ink);
  border-color: var(--nd-ink);
  color: #fff;
}
.nd-plan-strip b {
  display: block;
  margin: 10px 0 2px;
  font: 800 40px/1.1 var(--nd-display);
  letter-spacing: -.04em;
}
.nd-plan-strip small {
  font-size: 15px;
  color: var(--nd-text);
}
.nd-plan-strip .dark small {
  color: var(--nd-soft);
}
.nd-note {
  margin-top: 18px;
  font-size: 14.5px;
  color: var(--nd-muted);
}
.nd-badge {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 6px;
  background: var(--nd-saffron);
  color: var(--nd-ink);
  font-size: 12.5px;
  font-weight: 600;
}
.nd .question-list details {
  border-top: 1px solid var(--nd-line);
  padding: 22px 0;
}
.nd .question-list details:last-child {
  border-bottom: 1px solid var(--nd-line);
}
.nd .question-list summary {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}
.nd .question-list summary::-webkit-details-marker {
  display: none;
}
.nd .question-list summary::after {
  content: "+";
  font-weight: 400;
}
.nd .question-list details[open] summary::after {
  content: "\2212";
}
.nd .question-list p {
  margin-top: 12px;
  max-width: 600px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--nd-text);
}
.nd-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: clamp(36px, 6vw, 72px);
  border-radius: 26px;
  background: var(--nd-ink);
  color: #fff;
}
.nd-cta h2 {
  font-size: clamp(36px, 4.4vw, 58px);
  line-height: 1;
  letter-spacing: -.045em;
  margin-bottom: 16px;
}
.nd-cta p {
  font-size: 18px;
  color: var(--nd-soft);
}
.nd-cta div:last-child {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
/* Footer */
.nd-footer {
  border-top: 1px solid var(--nd-line-2);
}
.nd-footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 32px;
  padding-top: 48px;
  padding-bottom: 40px;
  font-size: 14.5px;
}
.nd-footer-grid > div {
  display: grid;
  gap: 10px;
  align-content: start;
}
.nd-footer-grid > div:first-child {
  grid-column: span 2;
  min-width: 0;
}
.nd-footer-grid a {
  color: var(--nd-text);
}
.nd-footer-grid a:hover {
  color: var(--nd-ink);
}
.nd-footer-grid p {
  color: var(--nd-muted);
  max-width: 340px;
}
.nd-footer-grid .nd-brand {
  font-size: 18px;
}
.nd-footer-grid .nd-brand img {
  width: 30px;
  height: 30px;
}
.nd-copyright {
  padding-top: 18px;
  padding-bottom: 36px;
  border-top: 1px solid #f0efea;
  font-size: 13.5px;
  color: var(--nd-muted);
}
/* Pricing page */
.nd-price-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 28px 48px;
  padding-top: 72px;
  padding-bottom: 28px;
}
.nd-price-head h1 {
  font-size: clamp(44px, 5.6vw, 76px);
  line-height: .98;
  letter-spacing: -.045em;
  margin-bottom: 20px;
}
.nd-price-head p {
  font-size: 19px;
  line-height: 1.6;
  color: var(--nd-text);
  max-width: 660px;
}
.nd-sales {
  margin-bottom: 20px;
  font-size: 15px;
  color: var(--nd-muted);
}
.nd .pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 16px;
  padding-bottom: 72px;
}
.nd .pricing-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-width: 0;
  margin: 0;
  padding: 28px;
  border: 1px solid var(--nd-line);
  border-radius: 20px;
  background: var(--nd-paper);
  box-shadow: none;
}
.nd .pricing-card.featured {
  background: var(--nd-basalt);
  border-color: var(--nd-basalt);
  color: #fff;
  box-shadow: 0 30px 60px -36px rgb(20 20 18 / .6);
}
.nd .pricing-card h2 {
  font: 600 18px/1.3 var(--nd-sans);
  letter-spacing: 0;
}
.nd .pricing-card .pricing-note {
  font-size: 15px;
  color: var(--nd-text);
}
.nd .pricing-card.featured .pricing-note {
  color: var(--nd-soft);
}
.nd .pricing-price strong {
  font: 800 52px/1 var(--nd-display);
  letter-spacing: -.045em;
}
.nd .pricing-price span {
  font-size: 15px;
  color: var(--nd-muted);
}
.nd .pricing-card.featured .pricing-price span {
  color: var(--nd-dim);
}
.nd .pricing-allowance {
  display: block;
  padding: 12px 14px;
  border-radius: 10px;
  background: var(--nd-stone);
  font: 500 15px var(--nd-mono);
}
.nd .pricing-card.featured .pricing-allowance {
  background: var(--nd-night-3);
}
.nd .pricing-badge {
  position: absolute;
  top: 26px;
  right: 24px;
  padding: 4px 9px;
  border-radius: 6px;
  background: var(--nd-saffron);
  color: var(--nd-ink);
  font-size: 12.5px;
  font-weight: 600;
}
.nd .pricing-card .nd-button {
  margin-top: auto;
}
.nd .pricing-card.featured .nd-button.outline {
  border-color: var(--nd-saffron);
  background: var(--nd-saffron);
}
.nd-includes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
  gap: 14px 32px;
  margin-top: 26px;
  padding: 0;
  list-style: none;
  font-size: 15.5px;
}
.nd-includes li {
  display: flex;
  gap: 10px;
}
.nd-includes li::before {
  content: "";
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 3px;
  border-radius: 50%;
  background: var(--nd-amber-soft) center/11px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237a5200' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E");
}
.nd-faq-grid {
  display: grid;
  gap: 22px;
}
.nd-faq-grid h3 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 6px;
}
.nd-faq-grid p,
.nd-faq-grid li {
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--nd-text);
}
.nd-small-print {
  margin-top: 8px;
  padding-left: 18px;
}
.nd-small-print li + li {
  margin-top: 6px;
}
/* Log in, sign up, verify and recovery */
body.nd-auth {
  display: flex;
  flex-wrap: wrap;
  min-height: 100vh;
}
.nd-auth-story {
  position: relative;
  display: flex;
  flex: 1 1 440px;
  flex-direction: column;
  gap: 36px;
  padding: 44px clamp(24px, 4vw, 64px);
  background: var(--nd-basalt);
  color: #f4f3ef;
  overflow: hidden;
}
.nd-auth-story-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: center;
  gap: 30px;
  max-width: 480px;
}
.nd-auth-story h2 {
  font-size: clamp(38px, 3.8vw, 56px);
  line-height: .98;
  letter-spacing: -.05em;
}
.nd-auth-story h2 span {
  color: #8d8a80;
}
.nd-seal {
  width: 132px;
  height: 132px;
}
.nd-seal text {
  font-family: "Cinzel", Georgia, serif;
}
.nd-receipts {
  padding: 8px;
  border: 1px solid #2a2925;
  border-radius: 18px;
  background: var(--nd-night-2);
}
.nd-receipts > p {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px 12px;
  font-size: 12.5px;
  color: var(--nd-dim);
}
.nd-receipts > div {
  border: 1px solid #2a2925;
  border-radius: 12px;
  background: var(--nd-night-3);
}
.nd-receipt {
  display: grid;
  grid-template-columns: 22px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 13px 14px;
}
.nd-receipt + .nd-receipt {
  border-top: 1px solid #2a2925;
}
.nd-receipt svg {
  width: 18px;
  height: 18px;
}
.nd-receipt strong {
  display: block;
  color: #fff;
  font-size: 14.5px;
}
.nd-receipt small {
  display: block;
  margin-top: 2px;
  color: var(--nd-dim);
  font-size: 12.5px;
}
.nd-receipt .nd-mono {
  color: var(--nd-soft);
  font-size: 12.5px;
}
.nd-trust {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 16px;
  font-size: 13px;
  color: var(--nd-dim);
}
.nd-trust span {
  display: flex;
  gap: 9px;
  align-items: flex-start;
}
.nd-trust svg {
  flex: none;
  width: 16px;
  height: 16px;
  margin-top: 1px;
  color: var(--nd-saffron);
}
.nd-auth-main {
  display: flex;
  flex: 999 1 520px;
  flex-direction: column;
  min-width: 0;
  padding: 36px clamp(24px, 5vw, 80px);
  background: var(--nd-paper);
}
.nd-auth-top {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 14.5px;
}
.nd-auth-top a {
  color: var(--nd-text);
}
.nd-auth-center {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  padding-block: 36px;
}
.nd-auth-box {
  width: 100%;
  max-width: 440px;
}
.nd-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-bottom: 34px;
  padding: 4px;
  border: 1px solid var(--nd-line);
  border-radius: 13px;
  background: var(--nd-stone);
}
.nd-tabs a {
  padding: 11px;
  border-radius: 10px;
  text-align: center;
  font-size: 15px;
  font-weight: 600;
  color: var(--nd-muted);
}
.nd-tabs a[aria-current=page] {
  background: var(--nd-paper);
  color: var(--nd-ink);
  box-shadow: 0 1px 2px rgb(20 20 18 / .14);
}
.nd-auth-box h1 {
  font-size: 46px;
  line-height: 1;
  letter-spacing: -.05em;
  margin-bottom: 10px;
}
.nd-auth-box .nd-auth-kicker {
  display: block;
  margin-bottom: 14px;
}
.nd-auth-box .auth-description {
  margin-bottom: 26px;
  font-size: 16.5px;
  color: var(--nd-text);
}
.nd-perks {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: -8px 0 24px;
  padding: 0;
  list-style: none;
  font-size: 13.5px;
}
.nd-perks li {
  padding: 6px 11px;
  border-radius: 99px;
  background: var(--nd-amber-soft);
  color: #4d3400;
}
.nd-auth .auth-stepper {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 0 0 26px;
  padding: 0;
  list-style: none;
  font-size: 13px;
  color: var(--nd-muted);
}
.nd-auth .auth-stepper li {
  padding-top: 12px;
  border-top: 4px solid var(--nd-line);
  border-radius: 2px;
  background: none;
}
.nd-auth .auth-stepper li[aria-current=step],
.nd-auth .auth-stepper li.complete {
  border-top-color: var(--nd-ink);
  color: var(--nd-ink);
  font-weight: 600;
}
.nd-social {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 10px;
}
.nd-auth .google-button,
.nd-auth #passkeySignin {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  margin: 0;
  padding: 13px;
  border: 1px solid #d8d6cf;
  border-radius: 12px;
  background: var(--nd-paper);
  color: var(--nd-ink);
  font: 500 15.5px var(--nd-sans);
  box-shadow: none;
}
.nd-auth .google-button svg,
.nd-auth #passkeySignin svg {
  width: 18px;
  height: 18px;
}
.nd-auth .google-button[aria-disabled=true] {
  opacity: .55;
}
.nd-auth .google-permission-note,
.nd-auth #passkeyHint {
  margin-top: 10px;
  font-size: 13px;
  color: var(--nd-muted);
}
.nd-auth .auth-divider {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 24px 0;
  font-size: 13.5px;
  color: var(--nd-muted);
}
.nd-auth .auth-divider::before,
.nd-auth .auth-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--nd-line);
}
.nd-auth #authForm {
  display: grid;
  gap: 18px;
}
.nd-auth .field {
  display: grid;
  gap: 8px;
  margin: 0;
}
.nd-auth .field label {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--nd-ink);
}
.nd-auth .field-label-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
}
.nd-auth .field-label-row a {
  color: var(--nd-amber);
  font-size: 14px;
  font-weight: 500;
}
.nd-auth .field input {
  width: 100%;
  height: auto;
  padding: 14px 16px;
  border: 1px solid #d8d6cf;
  border-radius: 12px;
  background: var(--nd-paper);
  color: var(--nd-ink);
  font: 16px var(--nd-sans);
  box-shadow: none;
}
.nd-auth .field input:focus {
  border-color: var(--nd-ink);
  box-shadow: 0 0 0 3px rgb(245 183 0 / .35);
}
.nd-auth .password-wrap {
  position: relative;
}
.nd-auth .password-wrap input {
  padding-right: 52px;
}
.nd-auth .password-toggle {
  position: absolute;
  top: 50%;
  right: 6px;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--nd-muted);
  transform: translateY(-50%);
}
.nd-auth .code-input {
  font-family: var(--nd-mono);
  font-size: 22px;
  letter-spacing: .35em;
  text-align: center;
}
.nd-auth .field-hint {
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--nd-muted);
}
.nd-strength {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  margin-top: 2px;
}
.nd-strength span {
  height: 4px;
  border-radius: 99px;
  background: var(--nd-line);
}
.nd-strength[data-level="1"] span:nth-child(-n+1) {
  background: #c2410c;
}
.nd-strength[data-level="2"] span:nth-child(-n+2) {
  background: #c48a00;
}
.nd-strength[data-level="3"] span:nth-child(-n+3),
.nd-strength[data-level="4"] span {
  background: #1e7f4f;
}
.nd-auth .auth-submit {
  width: 100%;
  margin-top: 4px;
  padding: 15px;
  border-radius: 12px;
  font-size: 16.5px;
}
.nd-auth .form-message {
  margin-bottom: 18px;
}
.nd-auth .auth-availability {
  margin-bottom: 18px;
  padding: 12px 14px;
  border: 1px solid #f2d68a;
  border-radius: 12px;
  background: #fff8e6;
  color: #4d3400;
  font-size: 14px;
}
.nd-auth .resend-button {
  margin-top: 12px;
  border: 0;
  background: none;
  color: var(--nd-amber);
  font-weight: 600;
}
.nd-auth .auth-switch {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--nd-line-2);
  text-align: center;
  font-size: 15px;
  color: var(--nd-text);
}
.nd-auth .auth-switch a {
  color: var(--nd-amber);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.nd-auth .nd-terms {
  margin-top: 16px;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--nd-muted);
}
.nd-auth .nd-terms a {
  color: var(--nd-amber);
}
.nd-auth .auth-assurance {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 18px;
  font-size: 13px;
  color: var(--nd-muted);
}
.nd-auth .owner-link {
  display: block;
  margin-top: 10px;
  text-align: center;
  font-size: 13px;
  color: var(--nd-muted);
}
.nd-auth-foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 22px;
  font-size: 13.5px;
}
.nd-auth-foot a {
  color: var(--nd-muted);
}
@media (prefers-reduced-motion: reduce) {
  .nd-route-line::after {
    animation: none;
    left: 45%;
  }
  .nd-bar span {
    transition: none;
  }
}
@media (max-width: 640px) {
  .nd-hero {
    padding-top: 48px;
    gap: 44px;
  }
  .nd-section {
    padding-top: 64px;
    padding-bottom: 64px;
  }
  .nd-footer-grid > div:first-child {
    grid-column: auto;
  }
  .nd-auth-story {
    flex-basis: 100%;
    gap: 24px;
    padding-top: 28px;
    padding-bottom: 28px;
  }
  .nd-auth-story-body,
  .nd-trust {
    display: none;
  }
  .nd-auth-main {
    padding-top: 24px;
  }
  .nd-auth-box h1 {
    font-size: 38px;
  }
  .nd-route {
    gap: 8px;
  }
  .nd-header .nd-wrap {
    gap: 12px 20px;
  }
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.nd-divider {
  border-top: 1px solid var(--nd-line-2);
}
/* Text in the public design takes its section's colour. :where() keeps this at element
   strength, so it beats the older global h1/p colours but never a component class. */
:where(.nd) :is(h1, h2, h3, p, summary, strong, li) {
  color: inherit;
}
.nd .question-list summary {
  color: var(--nd-ink);
}
.nd .pricing-card.featured .pricing-price strong,
.nd .pricing-card.featured .pricing-allowance,
.nd .pricing-card.featured h2 {
  color: #fff;
}
.nd .pricing-price strong {
  color: var(--nd-ink);
}
.nd .pricing-badge {
  left: auto;
  width: auto;
  text-transform: none;
  letter-spacing: 0;
}
.nd-auth-story .nd-brand img {
  box-shadow: 0 0 0 1px #3a3934;
}
.nd-auth #passkeyHint {
  display: none;
}
.nd-live-nums span {
  white-space: nowrap;
}
@media (max-width: 640px) {
  .nd-header .nd-nav {
    display: none;
  }
  .nd-header .nd-wrap {
    justify-content: space-between;
  }
  .nd-paste .nd-button {
    flex: 1 1 100%;
  }
  .nd-live-nums {
    flex-wrap: wrap;
    font-size: 12px;
  }
  .nd-live-card {
    padding: 18px;
  }
}
@media (max-width: 420px) {
  .nd-header .nd-brand span {
    display: none;
  }
  .nd-header-actions .nd-login {
    padding-inline: 10px;
  }
}
